@godxjp/ui 32.0.4 → 32.1.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.
- package/README.md +2 -2
- package/agent/START-HERE.md +7 -7
- package/agent/components/Checkbox.json +1 -1
- package/agent/components/CheckboxGroup.json +6 -0
- package/agent/components/CommandPalette.json +6 -0
- package/agent/components/DatePicker.json +6 -0
- package/agent/components/DropdownMenu.json +5 -0
- package/agent/components/PasswordStrength.json +3 -3
- package/agent/components/SearchInput.json +6 -0
- package/agent/components/Select.json +6 -0
- package/agent/components/Toaster.json +15 -4
- package/agent/components-index.json +1 -1
- package/agent/components.json +54 -8
- package/agent/index.json +6 -6
- package/agent/llms.txt +6 -6
- package/agent/patterns/card-grid-selection.json +21 -0
- package/agent/patterns/dependent-selects.json +20 -0
- package/agent/patterns-index.json +39 -0
- package/agent/patterns.json +41 -0
- package/agent/tokens.json +18 -0
- package/dist/components/data-entry/checkbox-group.d.ts +1 -1
- package/dist/components/data-entry/checkbox-group.js +58 -19
- package/dist/components/data-entry/command-palette.d.ts +21 -1
- package/dist/components/data-entry/command-palette.js +34 -34
- package/dist/components/data-entry/date-picker.js +21 -1
- package/dist/components/data-entry/index.d.ts +1 -1
- package/dist/components/data-entry/password-strength.d.ts +2 -0
- package/dist/components/data-entry/password-strength.js +8 -7
- package/dist/components/data-entry/search-input.d.ts +1 -1
- package/dist/components/data-entry/search-input.js +22 -2
- package/dist/components/data-entry/search-select.js +63 -11
- package/dist/components/feedback/sonner.d.ts +7 -1
- package/dist/components/feedback/sonner.js +22 -2
- package/dist/components/feedback/use-toast.d.ts +3 -1
- package/dist/components/feedback/use-toast.js +10 -1
- package/dist/components/navigation/dropdown-menu.d.ts +7 -1
- package/dist/components/navigation/dropdown-menu.js +18 -2
- package/dist/contracts/measurement.json +1 -1
- package/dist/i18n/messages/en.json +19 -1
- package/dist/i18n/messages/ja.json +18 -1
- package/dist/i18n/messages/vi.json +18 -1
- package/dist/lib/shortcut.d.ts +17 -0
- package/dist/lib/shortcut.js +37 -0
- package/dist/props/components/data-entry.prop.d.ts +36 -0
- package/dist/styles/control.css +23 -0
- package/dist/styles/dialog-layout.css +4 -1
- package/dist/styles/layers.json +6 -1
- package/dist/styles/navigation-layout.css +26 -0
- package/dist/styles/table-layout.css +14 -0
- package/dist/styles.css +1 -1
- package/dist/tokens/components/navigation.css +6 -0
- package/dist/tokens/foundation.css +2 -0
- package/package.json +2 -2
package/dist/styles/control.css
CHANGED
|
@@ -527,6 +527,17 @@
|
|
|
527
527
|
border: var(--checkbox-border-width, var(--stroke-hairline)) solid hsl(var(--primary));
|
|
528
528
|
color: hsl(var(--text-brand, var(--primary)));
|
|
529
529
|
background: transparent;
|
|
530
|
+
|
|
531
|
+
transition-property: background-color, border-color, color;
|
|
532
|
+
transition-duration: var(--duration-fast);
|
|
533
|
+
transition-timing-function: var(--ease-standard);
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
@media (prefers-reduced-motion: reduce) {
|
|
537
|
+
.ui-checkbox,
|
|
538
|
+
.ui-radio {
|
|
539
|
+
transition: none;
|
|
540
|
+
}
|
|
530
541
|
}
|
|
531
542
|
|
|
532
543
|
.ui-checkbox {
|
|
@@ -1137,6 +1148,10 @@
|
|
|
1137
1148
|
font-size: var(--font-size-xs, calc(var(--font-size-base) / var(--font-size-ratio)));
|
|
1138
1149
|
}
|
|
1139
1150
|
|
|
1151
|
+
.ui-command-palette-recent-clear:not([aria-selected="true"]) {
|
|
1152
|
+
color: hsl(var(--muted-foreground));
|
|
1153
|
+
}
|
|
1154
|
+
|
|
1140
1155
|
.ui-command-palette-state {
|
|
1141
1156
|
padding-block: var(--space-6);
|
|
1142
1157
|
padding-inline: var(--space-4);
|
|
@@ -1199,6 +1214,14 @@
|
|
|
1199
1214
|
transform: translateY(-50%);
|
|
1200
1215
|
}
|
|
1201
1216
|
|
|
1217
|
+
.ui-search-input-shortcut {
|
|
1218
|
+
position: absolute;
|
|
1219
|
+
inset-inline-end: var(--search-input-edge-inset);
|
|
1220
|
+
top: 50%;
|
|
1221
|
+
pointer-events: none;
|
|
1222
|
+
transform: translateY(-50%);
|
|
1223
|
+
}
|
|
1224
|
+
|
|
1202
1225
|
.ui-search-input-clear:hover {
|
|
1203
1226
|
color: hsl(var(--foreground));
|
|
1204
1227
|
}
|
|
@@ -56,7 +56,10 @@
|
|
|
56
56
|
inset-inline-start: 50%;
|
|
57
57
|
top: 50%;
|
|
58
58
|
z-index: var(--overlay-z-index);
|
|
59
|
-
|
|
59
|
+
|
|
60
|
+
display: flex;
|
|
61
|
+
flex-direction: column;
|
|
62
|
+
max-height: calc(100dvh - var(--dialog-viewport-inset));
|
|
60
63
|
width: min(
|
|
61
64
|
var(--dialog-width, var(--dialog-width-default)),
|
|
62
65
|
calc(100% - var(--dialog-viewport-inset))
|
package/dist/styles/layers.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "32.0
|
|
2
|
+
"version": "32.1.0",
|
|
3
3
|
"generatedBy": "scripts/gen-style-layers.mjs — do not edit by hand; run `pnpm gen:style-layers`",
|
|
4
4
|
"base": "base.css",
|
|
5
5
|
"fonts": "fonts.css",
|
|
@@ -105,6 +105,7 @@
|
|
|
105
105
|
"AppSettingPicker": {
|
|
106
106
|
"layers": [
|
|
107
107
|
"shell-layout.css",
|
|
108
|
+
"layout.css",
|
|
108
109
|
"control.css",
|
|
109
110
|
"dialog-layout.css",
|
|
110
111
|
"navigation-layout.css"
|
|
@@ -330,12 +331,14 @@
|
|
|
330
331
|
},
|
|
331
332
|
"Checkbox": {
|
|
332
333
|
"layers": [
|
|
334
|
+
"layout.css",
|
|
333
335
|
"control.css",
|
|
334
336
|
"form-layout.css"
|
|
335
337
|
]
|
|
336
338
|
},
|
|
337
339
|
"CheckboxGroup": {
|
|
338
340
|
"layers": [
|
|
341
|
+
"layout.css",
|
|
339
342
|
"control.css",
|
|
340
343
|
"form-layout.css"
|
|
341
344
|
]
|
|
@@ -424,6 +427,7 @@
|
|
|
424
427
|
"layers": [
|
|
425
428
|
"layout.css",
|
|
426
429
|
"control.css",
|
|
430
|
+
"text-layout.css",
|
|
427
431
|
"dialog-layout.css"
|
|
428
432
|
],
|
|
429
433
|
"vendor": [
|
|
@@ -854,6 +858,7 @@
|
|
|
854
858
|
},
|
|
855
859
|
"Select": {
|
|
856
860
|
"layers": [
|
|
861
|
+
"layout.css",
|
|
857
862
|
"control.css",
|
|
858
863
|
"dialog-layout.css",
|
|
859
864
|
"navigation-layout.css"
|
|
@@ -627,6 +627,32 @@
|
|
|
627
627
|
font-weight: var(--font-weight-medium);
|
|
628
628
|
}
|
|
629
629
|
|
|
630
|
+
.ui-dropdown-menu-item[data-description] {
|
|
631
|
+
height: auto;
|
|
632
|
+
min-height: var(--menu-item-height);
|
|
633
|
+
padding-block: var(--menu-item-description-space-block);
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
.ui-dropdown-menu-item-text {
|
|
637
|
+
display: flex;
|
|
638
|
+
flex: 1 1 auto;
|
|
639
|
+
flex-direction: column;
|
|
640
|
+
min-inline-size: 0;
|
|
641
|
+
overflow-wrap: anywhere;
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
.ui-dropdown-menu-item-label {
|
|
645
|
+
display: flex;
|
|
646
|
+
align-items: center;
|
|
647
|
+
gap: var(--menu-item-space-gap);
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
.ui-dropdown-menu-item-description {
|
|
651
|
+
color: hsl(var(--muted-foreground));
|
|
652
|
+
font-size: var(--menu-item-description-font-size);
|
|
653
|
+
font-weight: var(--font-weight-normal);
|
|
654
|
+
}
|
|
655
|
+
|
|
630
656
|
.ui-dropdown-menu-shortcut {
|
|
631
657
|
margin-inline-start: auto;
|
|
632
658
|
text-align: end;
|
|
@@ -235,6 +235,20 @@
|
|
|
235
235
|
align-items: center;
|
|
236
236
|
gap: var(--space-inline-sm);
|
|
237
237
|
font-size: var(--font-size-base);
|
|
238
|
+
|
|
239
|
+
transition: opacity var(--duration-fast) var(--ease-standard);
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
@starting-style {
|
|
243
|
+
.ui-data-table-bulk {
|
|
244
|
+
opacity: 0;
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
@media (prefers-reduced-motion: reduce) {
|
|
249
|
+
.ui-data-table-bulk {
|
|
250
|
+
transition: none;
|
|
251
|
+
}
|
|
238
252
|
}
|
|
239
253
|
|
|
240
254
|
.ui-data-table-bulk-actions {
|