Current section
48 Versions
Jump to
Current section
48 Versions
Compare versions
8
files changed
+12
additions
-4
deletions
| @@ -1,5 +1,12 @@ | |
| 1 1 | # Changelog |
| 2 2 | |
| 3 | + ## 0.2.2 |
| 4 | + |
| 5 | + Updated component: |
| 6 | + - `text_input`: |
| 7 | + - Moved attr `is_trailing_action_divider` to slot `trailing_action` as `is_divider` |
| 8 | + - Added attr `is_visible_with_value` to slot `trailing_action` to only show the trailing action when the input has a value. Use this cor example to show a clear button only when the input has a value to clear. |
| 9 | + |
| 3 10 | ## 0.2.1 |
| 4 11 | |
| 5 12 | ### Rework of form controls |
| @@ -43,4 +43,4 @@ | |
| 43 43 | {<<"optional">>,false}, |
| 44 44 | {<<"repository">>,<<"hexpm">>}, |
| 45 45 | {<<"requirement">>,<<"~> 1.0">>}]]}. |
| 46 | - {<<"version">>,<<"0.2.1">>}. |
| 46 | + {<<"version">>,<<"0.2.2">>}. |
unknownlib/component.ex
File is too large to be displayed (100 KB limit).
| @@ -28,7 +28,7 @@ defmodule PrimerLive do | |
| 28 28 | Add PrimerLive as a dependency in your Phoenix application's `mix.exs` |
| 29 29 | |
| 30 30 | ``` |
| 31 | - {:primer_live, "~> 0.2.1"} |
| 31 | + {:primer_live, "~> 0.2.2"} |
| 32 32 | ``` |
| 33 33 | |
| 34 34 | Run `mix.deps get` |
| @@ -4,7 +4,7 @@ defmodule PrimerLive.MixProject do | |
| 4 4 | def project do |
| 5 5 | [ |
| 6 6 | app: :primer_live, |
| 7 | - version: "0.2.1", |
| 7 | + version: "0.2.2", |
| 8 8 | homepage_url: "https://github.com/ArthurClemens/primer_live", |
| 9 9 | description: description(), |
| 10 10 | package: package(), |
| @@ -96,6 +96,7 @@ defmodule PrimerLive.MixProject do | |
| 96 96 | [ |
| 97 97 | setup: ["deps.get", "cmd --cd assets npm install"], |
| 98 98 | "assets.build": [ |
| 99 | + "cmd npm --prefix assets run build:clear -- ../priv/static/*", |
| 99 100 | "cmd npm --prefix assets run build -- --format=esm --sourcemap --outfile=../priv/static/primer-live.esm.js", |
| 100 101 | "cmd npm --prefix assets run build -- --format=cjs --sourcemap --outfile=../priv/static/primer-live.cjs.js", |
| 101 102 | "cmd npm --prefix assets run build -- --format=iife --target=es2016 --outfile=../priv/static/primer-live.js", |
Loading more files…