css-zero 4.2.3 → 4.3.0
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 +18 -0
- data/app/assets/stylesheets/css-zero/utilities.css +2 -2
- data/lib/css_zero/version.rb +1 -1
- data/lib/generators/css_zero/add/templates/app/assets/stylesheets/avatar.css +0 -1
- data/lib/generators/css_zero/add/templates/app/assets/stylesheets/card.css +1 -1
- data/lib/generators/css_zero/add/templates/app/assets/stylesheets/combobox.css +2 -2
- data/lib/generators/css_zero/add/templates/app/assets/stylesheets/command.css +1 -1
- data/lib/generators/css_zero/add/templates/app/assets/stylesheets/dialog.css +0 -4
- data/lib/generators/css_zero/add/templates/app/assets/stylesheets/dropzone.css +1 -1
- data/lib/generators/css_zero/add/templates/app/assets/stylesheets/group.css +0 -2
- data/lib/generators/css_zero/add/templates/app/assets/stylesheets/input_otp.css +1 -1
- data/lib/generators/css_zero/add/templates/app/assets/stylesheets/layouts.css +1 -1
- data/lib/generators/css_zero/add/templates/app/assets/stylesheets/lexxy.css +1 -1
- data/lib/generators/css_zero/add/templates/app/assets/stylesheets/popover.css +0 -4
- data/lib/generators/css_zero/add/templates/app/assets/stylesheets/sheet.css +0 -4
- data/lib/generators/css_zero/add/templates/app/assets/stylesheets/sidebar_menu.css +0 -4
- data/lib/generators/css_zero/add/templates/app/assets/stylesheets/switch.css +0 -1
- data/lib/generators/css_zero/add/templates/app/assets/stylesheets/toggle.css +1 -1
- data/lib/generators/css_zero/add/templates/app/javascript/controllers/combobox_controller.js +1 -1
- data/lib/generators/css_zero/add/templates/app/javascript/controllers/command_controller.js +10 -2
- data/lib/generators/css_zero/add/templates/app/javascript/controllers/dropzone_controller.js +2 -2
- data/lib/generators/css_zero/add/templates/app/javascript/controllers/inputmask_controller.js +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a53c87ec617153d3c974fb2efdbd0c957cc8cc16d96d3cab89de42bbc3a0b285
|
|
4
|
+
data.tar.gz: b4e6faacece7a73849e72afc821679bf13db9bd8fdf6765b20fd7454c9568441
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ef07f360edf5fd8ea89cb3c576ab46bb181eae6b12bfda9b299a414e6676b47ac9f253f82000e1e029cea5b038fb7f6f2962157e601272a2b96edefe1faa728d
|
|
7
|
+
data.tar.gz: 1ba0cee5571959c133711ecf2988ddb502684c4b5bb98e7b296c5a23b2a0ca928b0f07ee2ad7285df90e2ef1df1b11645b683bdde9ee051782c5a3a147a587b5
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## 4.3.0 - 2026-09-20
|
|
2
|
+
- Rename .overflow-x-auto and .overflow-y-auto to .overflow-i-auto and .overflow-b-auto
|
|
3
|
+
- Remove scroll snap from overflow utilities
|
|
4
|
+
- Use logical overflow properties in command and sidebar
|
|
5
|
+
- Refactor command
|
|
6
|
+
- Remove Safari exit animation guard from dialog, popover and sheet
|
|
7
|
+
- Remove obsolete ::-webkit-details-marker rule from sidebar menu
|
|
8
|
+
- Replace deprecated clip with clip-path in combobox and toggle
|
|
9
|
+
- Remove redundant padding fallback from card
|
|
10
|
+
- Remove redundant default declarations from avatar, group and switch
|
|
11
|
+
- Update activestorage to 8.1.301
|
|
12
|
+
- Update combobox-nav to 3.0.2
|
|
13
|
+
- Update dropzone to 7.4.4
|
|
14
|
+
- Update input-otp-zero to 0.0.4
|
|
15
|
+
- Update lexxy to 0.9.32
|
|
16
|
+
- Update maska to 3.2.1
|
|
17
|
+
- Update tom-select to 2.6.2
|
|
18
|
+
|
|
1
19
|
## 4.2.3 - 2026-09-07
|
|
2
20
|
- Prevent month header from wrapping in datepicker
|
|
3
21
|
- Refactor autosave
|
|
@@ -151,8 +151,8 @@
|
|
|
151
151
|
.i-min { inline-size: min-content; }
|
|
152
152
|
.i-fit { inline-size: fit-content; }
|
|
153
153
|
|
|
154
|
-
.overflow-
|
|
155
|
-
.overflow-
|
|
154
|
+
.overflow-i-auto { overflow-inline: auto; }
|
|
155
|
+
.overflow-b-auto { overflow-block: auto; }
|
|
156
156
|
.overflow-hidden { overflow: hidden; }
|
|
157
157
|
|
|
158
158
|
.object-contain { object-fit: contain; }
|
data/lib/css_zero/version.rb
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@import url("https://esm.sh/tom-select@2.6.
|
|
1
|
+
@import url("https://esm.sh/tom-select@2.6.2/dist/css/tom-select.min.css");
|
|
2
2
|
|
|
3
3
|
.ts-control {
|
|
4
4
|
align-items: center;
|
|
@@ -135,5 +135,5 @@
|
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
[data-controller~="combobox"] {
|
|
138
|
-
clip:
|
|
138
|
+
clip-path: inset(50%); position: absolute;
|
|
139
139
|
}
|
data/lib/generators/css_zero/add/templates/app/javascript/controllers/combobox_controller.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Controller } from "@hotwired/stimulus"
|
|
2
2
|
import { get } from "https://esm.sh/@rails/request.js@0.0.13?standalone"
|
|
3
|
-
import TomSelect from "https://esm.sh/tom-select@2.6.
|
|
3
|
+
import TomSelect from "https://esm.sh/tom-select@2.6.2/base?standalone"
|
|
4
4
|
|
|
5
5
|
export default class extends Controller {
|
|
6
6
|
static values = { url: String, optionCreate: { type: String, default: "Add" }, noResults: { type: String, default: "No results found" } }
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Controller } from "@hotwired/stimulus"
|
|
2
|
-
import Combobox from "https://esm.sh/@github/combobox-nav@3.0.
|
|
2
|
+
import Combobox from "https://esm.sh/@github/combobox-nav@3.0.2?standalone"
|
|
3
3
|
import debounce from "https://esm.sh/just-debounce-it@3.2.0?standalone"
|
|
4
4
|
|
|
5
5
|
export default class extends Controller {
|
|
@@ -19,7 +19,7 @@ export default class extends Controller {
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
filter({ target }) {
|
|
22
|
-
this.itemTargets.forEach(it => this.#matches(it.dataset.value, target.value) ? it
|
|
22
|
+
this.itemTargets.forEach(it => this.#matches(it.dataset.value, target.value) ? this.#show(it) : this.#hide(it))
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
commit({ target }) {
|
|
@@ -29,4 +29,12 @@ export default class extends Controller {
|
|
|
29
29
|
#matches(text, potentialMatch) {
|
|
30
30
|
return text.toLowerCase().includes(potentialMatch.toLowerCase())
|
|
31
31
|
}
|
|
32
|
+
|
|
33
|
+
#show(element) {
|
|
34
|
+
element.toggleAttribute("hidden", false)
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
#hide(element) {
|
|
38
|
+
element.toggleAttribute("hidden", true)
|
|
39
|
+
}
|
|
32
40
|
}
|
data/lib/generators/css_zero/add/templates/app/javascript/controllers/dropzone_controller.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Controller } from "@hotwired/stimulus"
|
|
2
|
-
import { DirectUpload } from "https://esm.sh/@rails/activestorage@8.1.
|
|
3
|
-
import Dropzone from "https://esm.sh/@deltablot/dropzone@7.4.
|
|
2
|
+
import { DirectUpload } from "https://esm.sh/@rails/activestorage@8.1.301?standalone"
|
|
3
|
+
import Dropzone from "https://esm.sh/@deltablot/dropzone@7.4.4?standalone"
|
|
4
4
|
|
|
5
5
|
export default class extends Controller {
|
|
6
6
|
static values = {
|