Current section

13 Versions

Jump to

Compare versions

7 files changed
+17 additions
-21 deletions
  @@ -5,29 +5,31 @@ All notable changes to this project will be documented in this file.
5 5 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6 6 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7 7
8 - ## [unreleased]
8 + ## [0.3.2]
9 9
10 10 ### Added
11 11
12 12 ### Changed
13 13
14 + - Relaxed `live_view_native` constraint
15 +
14 16 ### Fixed
15 17
16 - * fix live reload pattern for the sheet file https://github.com/liveview-native/live_view_native_stylesheet/pull/83
18 + - fix live reload pattern for the sheet file https://github.com/liveview-native/live_view_native_stylesheet/pull/83
17 19
18 20 ## [0.3.0] 2024-08-21
19 21
20 22 ### Added
21 23
22 - * capture and log raises within `class/1` call when compiling stylesheet
23 - * removed `_interface` argument from the `class/2` now it is `class/1`
24 - * added parsing of `style` attribute from all templates (single template files and withing ~LVN templates) to be passed into the respective format's RulesParser
24 + - capture and log raises within `class/1` call when compiling stylesheet
25 + - removed `_interface` argument from the `class/2` now it is `class/1`
26 + - added parsing of `style` attribute from all templates (single template files and withing ~LVN templates) to be passed into the respective format's RulesParser
25 27
26 28 ### Changed
27 29
28 - * fixed line numbers for `~SHEET`
29 - * refactor `lvn.stylsheet.setup.config` to use `live_view_native`'s updated codegen api
30 + - fixed line numbers for `~SHEET`
31 + - refactor `lvn.stylsheet.setup.config` to use `live_view_native`'s updated codegen api
30 32
31 33 ### Fixed
32 34
33 - * resolved issue where pattern matched class names were matching `nil` and `""`
35 + - resolved issue where pattern matched class names were matching `nil` and `""`
  @@ -12,7 +12,7 @@ by adding `live_view_native_stylesheet` to your list of dependencies in `mix.exs
12 12 ```elixir
13 13 def deps do
14 14 [
15 - {:live_view_native_stylesheet, "~> 0.3.0"}
15 + {:live_view_native_stylesheet, "~> 0.3.2"}
16 16 ]
17 17 end
18 18 ```
  @@ -4,7 +4,7 @@
4 4 {<<"GitHub">>,
5 5 <<"https://github.com/liveview-native/live_view_native_stylesheet">>}]}.
6 6 {<<"name">>,<<"live_view_native_stylesheet">>}.
7 - {<<"version">>,<<"0.3.1">>}.
7 + {<<"version">>,<<"0.3.2">>}.
8 8 {<<"description">>,<<"Stylesheet primitives for LiveView Native clients">>}.
9 9 {<<"elixir">>,<<"~> 1.15">>}.
10 10 {<<"app">>,<<"live_view_native_stylesheet">>}.
  @@ -13,7 +13,7 @@
13 13 [[{<<"name">>,<<"live_view_native">>},
14 14 {<<"app">>,<<"live_view_native">>},
15 15 {<<"optional">>,false},
16 - {<<"requirement">>,<<"~> 0.3.1">>},
16 + {<<"requirement">>,<<"~> 0.3">>},
17 17 {<<"repository">>,<<"hexpm">>}],
18 18 [{<<"name">>,<<"nimble_parsec">>},
19 19 {<<"app">>,<<"nimble_parsec">>},
  @@ -43,10 +43,7 @@
43 43 <<"lib/mix/live_view_native">>,<<"lib/mix/live_view_native/stylesheet">>,
44 44 <<"lib/mix/live_view_native/stylesheet/codegen">>,
45 45 <<"lib/mix/live_view_native/stylesheet/codegen/patch.ex">>,<<"priv">>,
46 - <<"priv/static">>,<<"priv/static/assets">>,
47 - <<"priv/static/assets/empty_sheet.styles">>,
48 - <<"priv/static/assets/mock_sheet.styles">>,
49 - <<"priv/static/assets/parent_sheet.styles">>,<<"priv/templates">>,
46 + <<"priv/static">>,<<"priv/templates">>,
50 47 <<"priv/templates/lvn.gen.stylesheet">>,
51 48 <<"priv/templates/lvn.gen.stylesheet/sheet.ex">>,<<".formatter.exs">>,
52 49 <<"mix.exs">>,<<"README.md">>,<<"LICENSE.md">>,<<"CHANGELOG.md">>]}.
  @@ -1,7 +1,7 @@
1 1 defmodule LiveViewNative.Stylesheet.MixProject do
2 2 use Mix.Project
3 3
4 - @version "0.3.1"
4 + @version "0.3.2"
5 5 @source_url "https://github.com/liveview-native/live_view_native_stylesheet"
6 6
7 7 def project do
  @@ -29,7 +29,7 @@ defmodule LiveViewNative.Stylesheet.MixProject do
29 29
30 30 defp deps do
31 31 [
32 - {:live_view_native, "~> 0.3.1"},
32 + {:live_view_native, "~> 0.3"},
33 33 {:nimble_parsec, "~> 1.3"},
34 34 {:floki, ">= 0.30.0", only: :test},
35 35 {:ex_doc, ">= 0.0.0", only: :dev, runtime: false}
  @@ -41,7 +41,7 @@ defmodule LiveViewNative.Stylesheet.MixProject do
41 41 extras: ["README.md"],
42 42 main: "readme",
43 43 source_url: @source_url,
44 - source_ref: "v#{@version}"
44 + source_ref: @version
45 45 ]
46 46 end
  @@ -1 +0,0 @@
1 - %{"c-bracket-\"2\"" => ["c-bracket-\"2\""], "c-bracket-1" => ["c-bracket-1"], "c-bracket-3" => ["c-bracket-3"], "c-bracket-4" => ["c-bracket-4"], "c-local-component-string-1" => ["c-local-component-string-1"], "c-slot-string-1" => ["c-slot-string-1"], "c-string-1" => ["c-string-1"], "c-string-2" => ["c-string-2"], "c-string-3" => ["c-string-3"], "c-style-1" => ["c-style-1"], "h" => ["h"], "t-bracket-\"2\"" => ["t-bracket-\"2\""], "t-bracket-1" => ["t-bracket-1"], "t-bracket-3" => ["t-bracket-3"], "t-bracket-4" => ["t-bracket-4"], "t-bracket-5" => ["t-bracket-5"], "t-bracket-6" => ["t-bracket-6"], "t-local-component-string-1" => ["t-local-component-string-1"], "t-other-1" => ["t-other-1"], "t-slot-string-1" => ["t-slot-string-1"], "t-string-1" => ["t-string-1"], "t-string-2" => ["t-string-2"], "t-string-3" => ["t-string-3"], "t-style-1" => ["t-style-1"]}
\ No newline at end of file
Loading more files…