@godxjp/ui 32.1.0 → 32.1.1
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.
- package/README.md +2 -2
- package/agent/START-HERE.md +4 -4
- package/agent/components/Calendar.json +1 -1
- package/agent/components/ListRow.json +2 -1
- package/agent/components/Select.json +2 -2
- package/agent/components/Toggle.json +3 -2
- package/agent/components/ToggleGroup.json +1 -1
- package/agent/components.json +9 -7
- package/agent/index.json +4 -4
- package/agent/llms.txt +5 -5
- package/agent/tokens.json +42 -0
- package/dist/components/data-entry/search-select.js +5 -2
- package/dist/components/data-entry/toggle.d.ts +2 -2
- package/dist/components/data-entry/toggle.js +5 -1
- package/dist/contracts/measurement.json +1 -1
- package/dist/styles/control.css +12 -3
- package/dist/styles/data-display-layout.css +7 -0
- package/dist/styles/layers.json +1 -1
- package/dist/styles/toggle.css +14 -0
- package/dist/styles.css +1 -1
- package/dist/tokens/components/control.css +10 -0
- package/package.json +2 -2
- package/scripts/ui-audit.mjs +4 -1
|
@@ -147,6 +147,13 @@
|
|
|
147
147
|
--checkbox-checked-background: initial;
|
|
148
148
|
--switch-checked-background: initial;
|
|
149
149
|
--toggle-on-background: initial;
|
|
150
|
+
|
|
151
|
+
--toggle-on-color: initial;
|
|
152
|
+
|
|
153
|
+
--toggle-quiet-on-background: initial;
|
|
154
|
+
--toggle-quiet-on-color: initial;
|
|
155
|
+
--toggle-quiet-on-count-background: initial;
|
|
156
|
+
--toggle-quiet-on-count-color: initial;
|
|
150
157
|
--slider-track-background: initial;
|
|
151
158
|
--slider-range-background: initial;
|
|
152
159
|
|
|
@@ -366,6 +373,9 @@
|
|
|
366
373
|
|
|
367
374
|
--calendar-bordered-weekday-padding-block: var(--space-1);
|
|
368
375
|
|
|
376
|
+
--calendar-full-day-padding-inline: initial;
|
|
377
|
+
--calendar-full-day-padding-block: initial;
|
|
378
|
+
|
|
369
379
|
--calendar-grid-border-color: initial;
|
|
370
380
|
|
|
371
381
|
--transfer-pane-min-height: 14rem;
|
package/package.json
CHANGED
package/scripts/ui-audit.mjs
CHANGED
|
@@ -1305,8 +1305,11 @@ function lucideLocalNames(source) {
|
|
|
1305
1305
|
*/
|
|
1306
1306
|
function iconSizingRanges(source) {
|
|
1307
1307
|
const ranges = [];
|
|
1308
|
+
// Each of these sizes a glyph it holds directly: Button through its svg utility ladder, the menu
|
|
1309
|
+
// items and TopbarItem through their own rules, Toggle/ToggleGroupItem through `.ui-toggle > svg`
|
|
1310
|
+
// in control.css (a bare star inside a Toggle was a false positive, gh#1257).
|
|
1308
1311
|
for (const m of source.matchAll(
|
|
1309
|
-
/<(Button|DropdownMenuItem|DropdownMenuCheckboxItem|DropdownMenuRadioItem|TopbarItem)\b[\s\S]*?<\/\1>/g,
|
|
1312
|
+
/<(Button|DropdownMenuItem|DropdownMenuCheckboxItem|DropdownMenuRadioItem|TopbarItem|Toggle|ToggleGroupItem)\b[\s\S]*?<\/\1>/g,
|
|
1310
1313
|
)) {
|
|
1311
1314
|
ranges.push([m.index, m.index + m[0].length]);
|
|
1312
1315
|
}
|