stimulus_plumbers 0.4.9 → 0.4.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +34 -0
- data/README.md +2 -2
- data/app/assets/javascripts/stimulus-plumbers/controllers.manifest.json +36 -3
- data/app/assets/javascripts/stimulus-plumbers/index.es.js +351 -173
- data/app/assets/javascripts/stimulus-plumbers/index.es.js.map +1 -1
- data/app/assets/javascripts/stimulus-plumbers/index.umd.js +1 -1
- data/app/assets/javascripts/stimulus-plumbers/index.umd.js.map +1 -1
- data/docs/component/form.md +27 -5
- data/docs/guide.md +9 -0
- data/lib/generators/stimulus_plumbers/install/install_generator.rb +7 -1
- data/lib/stimulus_plumbers/engine.rb +0 -4
- data/lib/stimulus_plumbers/form/builder.rb +4 -0
- data/lib/stimulus_plumbers/form/field.rb +1 -1
- data/lib/stimulus_plumbers/form/fields/inputs/code.rb +86 -0
- data/lib/stimulus_plumbers/form/fields/inputs/credit_card.rb +98 -0
- data/lib/stimulus_plumbers/form/fields/renderer.rb +2 -0
- data/lib/stimulus_plumbers/generators/css_entrypoint.rb +53 -0
- data/lib/stimulus_plumbers/generators/tokens_directive.rb +5 -5
- data/lib/stimulus_plumbers/themes/schema.rb +43 -22
- data/lib/stimulus_plumbers/version.rb +1 -1
- data/vendor/ARIA.md +7 -0
- data/vendor/component/manifest.json +3 -0
- data/vendor/controller/docs/input-formatter.md +87 -21
- data/vendor/controller/manifest.json +36 -3
- metadata +3 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d5e0d3bcf8e99d854f9ec64f1831c969a83f0e658f8b0bb7704e51129e24743a
|
|
4
|
+
data.tar.gz: '01789f5f50ccfa6cf83acde5ff4d4f61fb15552f49212742c39fe3540600b487'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5f16ccf7913cc4122ce9eb12c50d8e39470007ac60bfafc211cd7fb3bba2b22d20ffaaf50ecc1ac31889c0cb85df35dc17b7f649cbc4c72d49b826c62d6797a3
|
|
7
|
+
data.tar.gz: af073d3c389b348b2b312d2616e55f4d921fd09a949684e5517b37483d33f9d707f893a3f1e5019e5a2265f21b346d7fbdd2c06d67978391bd54a904929bba77
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,40 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [conventional commits](https://www.conventionalcommits.org/) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
---
|
|
6
|
+
## [0.4.10](https://github.com/ryancyq/stimulus-plumbers/compare/stimulus-plumbers-rails/v0.4.9..stimulus-plumbers-rails/v0.4.10) - 2026-07-19
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- install generator will copy css file from gem dir into app assets folder ([#179](https://github.com/ryancyq/stimulus-plumbers/issues/179)) - ([2e497f2](https://github.com/ryancyq/stimulus-plumbers/commit/2e497f2119b1c9aa22115c695d48ea4cdbeff9c2)) - Ryan Chang
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
- form field, code + credit card ([#177](https://github.com/ryancyq/stimulus-plumbers/issues/177)) - ([d3adbab](https://github.com/ryancyq/stimulus-plumbers/commit/d3adbaba5ec345807162b03305d22a67ca3846dd)) - Ryan Chang
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
## [0.4.9](https://github.com/ryancyq/stimulus-plumbers/compare/stimulus-plumbers-rails/v0.4.8..stimulus-plumbers-rails/v0.4.9) - 2026-07-18
|
|
18
|
+
|
|
19
|
+
### Bug Fixes
|
|
20
|
+
|
|
21
|
+
- css source + token in generator ([#163](https://github.com/ryancyq/stimulus-plumbers/issues/163)) - ([69165f5](https://github.com/ryancyq/stimulus-plumbers/commit/69165f523242e27cae5075f635c7e66c40a862ab)) - Ryan Chang
|
|
22
|
+
- update default color palette - ([0d6199a](https://github.com/ryancyq/stimulus-plumbers/commit/0d6199a9748e9f9221079689034e94940a7de7fc)) - Ryan Chang
|
|
23
|
+
|
|
24
|
+
### Documentation
|
|
25
|
+
|
|
26
|
+
- update missing documentation ([#164](https://github.com/ryancyq/stimulus-plumbers/issues/164)) - ([edcd79d](https://github.com/ryancyq/stimulus-plumbers/commit/edcd79df3dd1739521641274863a50a32b5fcb36)) - Ryan Chang
|
|
27
|
+
- align code example/instructions in doc and remove stale reference ([#167](https://github.com/ryancyq/stimulus-plumbers/issues/167)) - ([b1ace4d](https://github.com/ryancyq/stimulus-plumbers/commit/b1ace4da5117b70f4f22403f727655c1586606e1)) - Ryan Chang
|
|
28
|
+
- update component documentation ([#173](https://github.com/ryancyq/stimulus-plumbers/issues/173)) - ([27240bc](https://github.com/ryancyq/stimulus-plumbers/commit/27240bc85265b249adba5186fd34b9c26423daa3)) - Ryan Chang
|
|
29
|
+
|
|
30
|
+
### Features
|
|
31
|
+
|
|
32
|
+
- reorderable ([#165](https://github.com/ryancyq/stimulus-plumbers/issues/165)) - ([53277c5](https://github.com/ryancyq/stimulus-plumbers/commit/53277c584bc6f54581315028d401c64761ee8474)) - Ryan Chang
|
|
33
|
+
- ordered list ([#166](https://github.com/ryancyq/stimulus-plumbers/issues/166)) - ([cda05b5](https://github.com/ryancyq/stimulus-plumbers/commit/cda05b589e2f99ba992785fdb672b0ecef026046)) - Ryan Chang
|
|
34
|
+
- progress ring/bar/meter ([#170](https://github.com/ryancyq/stimulus-plumbers/issues/170)) - ([b43087c](https://github.com/ryancyq/stimulus-plumbers/commit/b43087cec2b40fd8b3dced65215afdbbdfc2c435)) - Ryan Chang
|
|
35
|
+
- status indicator ([#171](https://github.com/ryancyq/stimulus-plumbers/issues/171)) - ([ad3f330](https://github.com/ryancyq/stimulus-plumbers/commit/ad3f330bc8d999b4977f8aeaafc8c4763229a448)) - Ryan Chang
|
|
36
|
+
- horizontal grouped timeline ([#172](https://github.com/ryancyq/stimulus-plumbers/issues/172)) - ([fe9b9ab](https://github.com/ryancyq/stimulus-plumbers/commit/fe9b9abfb8c3c211fe9a7282d2940326678328dc)) - Ryan Chang
|
|
37
|
+
- checklist ([#174](https://github.com/ryancyq/stimulus-plumbers/issues/174)) - ([35dca2a](https://github.com/ryancyq/stimulus-plumbers/commit/35dca2af29955f6f2c85fffc4efc39711ed5bb99)) - Ryan Chang
|
|
38
|
+
|
|
5
39
|
---
|
|
6
40
|
## [0.4.8](https://github.com/ryancyq/stimulus-plumbers/compare/stimulus-plumbers-rails/v0.4.5..stimulus-plumbers-rails/v0.4.8) - 2026-07-03
|
|
7
41
|
|
data/README.md
CHANGED
|
@@ -42,13 +42,13 @@ Or use the form builder globally:
|
|
|
42
42
|
config.action_view.default_form_builder = StimulusPlumbers::Form::Builder
|
|
43
43
|
```
|
|
44
44
|
|
|
45
|
-
Run the install generator once to
|
|
45
|
+
Run the install generator once to copy `tokens.css` to `app/assets/stylesheets/stimulus_plumbers/tokens.css` and inject its relative import into your CSS entry file — see [docs/guide.md#css-entry-file-detection](docs/guide.md#css-entry-file-detection) for how the entry file is found/overridden:
|
|
46
46
|
|
|
47
47
|
```bash
|
|
48
48
|
bin/rails generate stimulus_plumbers:install
|
|
49
49
|
```
|
|
50
50
|
|
|
51
|
-
The
|
|
51
|
+
The engine re-runs the installer before `assets:precompile` to restore a missing copy and migrate legacy gem-path imports. Existing app-owned CSS is preserved, so update it intentionally when you want newer token defaults.
|
|
52
52
|
|
|
53
53
|
## Components
|
|
54
54
|
|
|
@@ -464,21 +464,49 @@
|
|
|
464
464
|
"identifier": "input-formatter",
|
|
465
465
|
"targets": [
|
|
466
466
|
"input",
|
|
467
|
-
"toggle"
|
|
467
|
+
"toggle",
|
|
468
|
+
"cell"
|
|
468
469
|
],
|
|
469
|
-
"values": {
|
|
470
|
+
"values": {
|
|
471
|
+
"format": {
|
|
472
|
+
"type": "String",
|
|
473
|
+
"default": "plain"
|
|
474
|
+
},
|
|
475
|
+
"options": {
|
|
476
|
+
"type": "Object",
|
|
477
|
+
"default": {}
|
|
478
|
+
},
|
|
479
|
+
"revealed": {
|
|
480
|
+
"type": "Boolean",
|
|
481
|
+
"default": false
|
|
482
|
+
},
|
|
483
|
+
"groups": {
|
|
484
|
+
"type": "Array",
|
|
485
|
+
"default": []
|
|
486
|
+
}
|
|
487
|
+
},
|
|
470
488
|
"outlets": [],
|
|
471
489
|
"classes": [],
|
|
472
490
|
"actions": [
|
|
491
|
+
"attachCells",
|
|
492
|
+
"cellsValue",
|
|
493
|
+
"detachCells",
|
|
494
|
+
"drawCells",
|
|
473
495
|
"drawToggle",
|
|
474
496
|
"format",
|
|
497
|
+
"isFull",
|
|
498
|
+
"onBlur",
|
|
475
499
|
"onChange",
|
|
500
|
+
"onFocus",
|
|
476
501
|
"onFormatting",
|
|
502
|
+
"onInput",
|
|
477
503
|
"onPaste",
|
|
504
|
+
"primeFilledState",
|
|
478
505
|
"readValue",
|
|
479
506
|
"toggle"
|
|
480
507
|
],
|
|
481
508
|
"dispatches": [
|
|
509
|
+
"filled",
|
|
482
510
|
"formatted"
|
|
483
511
|
]
|
|
484
512
|
},
|
|
@@ -660,7 +688,12 @@
|
|
|
660
688
|
"detail",
|
|
661
689
|
"time"
|
|
662
690
|
],
|
|
663
|
-
"values": {
|
|
691
|
+
"values": {
|
|
692
|
+
"dateFormat": {
|
|
693
|
+
"type": "Object",
|
|
694
|
+
"default": {}
|
|
695
|
+
}
|
|
696
|
+
},
|
|
664
697
|
"outlets": [],
|
|
665
698
|
"classes": [],
|
|
666
699
|
"actions": [
|