@una-ui/preset 1.0.0-alpha.1 → 1.0.0-alpha.10
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/dist/index.mjs +1 -1
- package/dist/prefixes.mjs +16 -0
- package/dist/shared/{preset.CWR84hRp.mjs → preset.21f-DOMW.mjs} +98 -23
- package/dist/shortcuts.mjs +1 -1
- package/package.json +6 -5
- package/una.css +1 -2
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { fonts } from '@unocss/preset-mini/rules';
|
|
2
2
|
import { handler, parseColor } from '@unocss/preset-mini/utils';
|
|
3
3
|
import { colors } from '@unocss/preset-wind4/colors';
|
|
4
|
-
import { s as shortcuts } from './shared/preset.
|
|
4
|
+
import { s as shortcuts } from './shared/preset.21f-DOMW.mjs';
|
|
5
5
|
import '@unocss/preset-mini';
|
|
6
6
|
|
|
7
7
|
function presetUna(options = {
|
package/dist/prefixes.mjs
CHANGED
|
@@ -127,6 +127,10 @@ const prefixes = [
|
|
|
127
127
|
"pagination-list-item",
|
|
128
128
|
"pagination-next",
|
|
129
129
|
"pagination-prev",
|
|
130
|
+
"pin-input",
|
|
131
|
+
"pin-input-group",
|
|
132
|
+
"pin-input-separator",
|
|
133
|
+
"pin-input-slot",
|
|
130
134
|
"popover",
|
|
131
135
|
"popover-content",
|
|
132
136
|
"progress",
|
|
@@ -189,6 +193,16 @@ const prefixes = [
|
|
|
189
193
|
"skeleton",
|
|
190
194
|
"slider",
|
|
191
195
|
"square",
|
|
196
|
+
"stepper",
|
|
197
|
+
"stepper-container",
|
|
198
|
+
"stepper-description",
|
|
199
|
+
"stepper-header",
|
|
200
|
+
"stepper-indicator",
|
|
201
|
+
"stepper-item",
|
|
202
|
+
"stepper-separator",
|
|
203
|
+
"stepper-title",
|
|
204
|
+
"stepper-trigger",
|
|
205
|
+
"stepper-wrapper",
|
|
192
206
|
"switch",
|
|
193
207
|
"switch-checked",
|
|
194
208
|
"switch-unchecked",
|
|
@@ -221,6 +235,8 @@ const prefixes = [
|
|
|
221
235
|
"toggle",
|
|
222
236
|
"toggle-off",
|
|
223
237
|
"toggle-on",
|
|
238
|
+
"toggle-group",
|
|
239
|
+
"toggle-group-item",
|
|
224
240
|
"tooltip",
|
|
225
241
|
"tooltip-content",
|
|
226
242
|
"tooltip-provider",
|
|
@@ -232,7 +232,7 @@ const staticBtn = {
|
|
|
232
232
|
"btn-text": "btn-text-primary",
|
|
233
233
|
"btn-text-gray": "hover:text-secondary-foreground text-secondary-foreground/90 btn-focus",
|
|
234
234
|
"btn-text-black": "hover:text-foreground text-foreground/90 btn-focus",
|
|
235
|
-
"btn-text-muted": "hover:text-foreground text-foreground/90 btn-focus",
|
|
235
|
+
"btn-text-muted": "hover:text-muted-foreground text-muted-foreground/90 btn-focus",
|
|
236
236
|
"btn-text-accent": "hover:text-accent-foreground text-accent-foreground/90 btn-focus",
|
|
237
237
|
"btn-soft-primary": "bg-primary/10 text-primary shadow-xs hover:bg-primary/15 btn-focus",
|
|
238
238
|
"btn-soft": "btn-soft-primary",
|
|
@@ -323,7 +323,7 @@ const checkbox = [
|
|
|
323
323
|
];
|
|
324
324
|
|
|
325
325
|
const staticCollapsible = {
|
|
326
|
-
"collapsible-content": "overflow-hidden transition-all
|
|
326
|
+
"collapsible-content": "overflow-hidden transition-all"
|
|
327
327
|
};
|
|
328
328
|
const dynamicCollapsible = [
|
|
329
329
|
// dynamic preset
|
|
@@ -353,7 +353,7 @@ const staticCombobox = {
|
|
|
353
353
|
"combobox-empty": "py-1.7142857142857142em text-center text-1em leading-1.4285714285714286em",
|
|
354
354
|
"combobox-group": "overflow-hidden p-0.2857142857142857em text-foreground",
|
|
355
355
|
"combobox-label": "px-0.6666666666666666em py-0.5em text-0.8571428571428571em leading-1.1428571428571428em text-muted-foreground font-medium",
|
|
356
|
-
"combobox-list": "z-50 w-[--reka-popper-anchor-width] rounded-md border bg-popover text-popover-foreground overflow-hidden shadow-md outline-none data-[
|
|
356
|
+
"combobox-list": "z-50 w-[--reka-popper-anchor-width] rounded-md border bg-popover text-popover-foreground overflow-hidden shadow-md outline-none data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
357
357
|
"combobox-separator": "bg-border -mx-1 h-px",
|
|
358
358
|
"combobox-viewport": "max-h-300px scroll-py-1 overflow-x-hidden overflow-y-auto"
|
|
359
359
|
};
|
|
@@ -369,7 +369,7 @@ const staticDialog = {
|
|
|
369
369
|
// base
|
|
370
370
|
"dialog": "",
|
|
371
371
|
// sub-components
|
|
372
|
-
"dialog-overlay": "
|
|
372
|
+
"dialog-overlay": "fixed inset-0 z-50 bg-black/80",
|
|
373
373
|
"dialog-content": "bg-background fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",
|
|
374
374
|
"dialog-scroll-overlay": "fixed inset-0 z-50 grid place-items-center overflow-y-auto bg-black/80",
|
|
375
375
|
"dialog-scroll-content": "relative z-50 grid w-full max-w-lg my-8 gap-4 border border-border bg-background p-6 shadow-lg duration-200 sm:rounded-lg md:w-full",
|
|
@@ -390,7 +390,7 @@ const dialog = [
|
|
|
390
390
|
const staticDrawer = {
|
|
391
391
|
// base
|
|
392
392
|
"drawer": "",
|
|
393
|
-
"drawer-overlay": "
|
|
393
|
+
"drawer-overlay": "fixed inset-0 z-50 bg-black/80",
|
|
394
394
|
"drawer-content": "bg-background fixed z-50 flex h-auto flex-col",
|
|
395
395
|
"drawer-content-top": "data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=top]:rounded-b-lg",
|
|
396
396
|
"drawer-content-bottom": "data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:rounded-t-lg",
|
|
@@ -501,13 +501,13 @@ const formGroup = [
|
|
|
501
501
|
];
|
|
502
502
|
|
|
503
503
|
const staticIcons = {
|
|
504
|
-
"i-
|
|
505
|
-
"i-
|
|
506
|
-
"i-
|
|
507
|
-
"i-
|
|
508
|
-
"i-
|
|
509
|
-
"i-close": "i-
|
|
510
|
-
"i-check": "i-
|
|
504
|
+
"i-warning": "i-lucide-triangle-alert",
|
|
505
|
+
"i-error": "i-lucide-circle-alert",
|
|
506
|
+
"i-success": "i-lucide-circle-check-big",
|
|
507
|
+
"i-info": "i-lucide-info",
|
|
508
|
+
"i-loading": "i-lucide-loader",
|
|
509
|
+
"i-close": "i-lucide-x",
|
|
510
|
+
"i-check": "i-lucide-check",
|
|
511
511
|
"i-dot": "i-tabler-circle-filled"
|
|
512
512
|
};
|
|
513
513
|
|
|
@@ -544,7 +544,7 @@ const staticHoverCard = {
|
|
|
544
544
|
"hover-card-default-variant": "outline-gray",
|
|
545
545
|
// components
|
|
546
546
|
"hover-card-trigger": "",
|
|
547
|
-
"hover-card-content": "bg-background text-popover-foreground animate-in fade-in-0 zoom-in-95 data-[
|
|
547
|
+
"hover-card-content": "bg-background text-popover-foreground animate-in fade-in-0 zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-64 rounded-md border p-4 shadow-md outline-none",
|
|
548
548
|
"hover-card-arrow": "!bg-transparent !border-none -mt-1px fill-background stroke-border",
|
|
549
549
|
// static variants
|
|
550
550
|
"hover-card-soft-gray": "bg-muted border border-border",
|
|
@@ -607,7 +607,7 @@ const staticInput = {
|
|
|
607
607
|
"input-leading-padding": "pl-2.5714285714285716em",
|
|
608
608
|
"input-trailing-padding": "pr-2.5714285714285716em",
|
|
609
609
|
// base
|
|
610
|
-
"input": "text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground text-0.875em leading-1.4285714285714286em px-0.8571428571428571em bg-transparent w-full focus-visible:outline-none input-disabled
|
|
610
|
+
"input": "text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground text-0.875em leading-1.4285714285714286em px-0.8571428571428571em bg-transparent w-full focus-visible:outline-none input-disabled block rounded-md transition-colors file:text-foreground file:border-0 file:bg-transparent file:text-0.875em file:font-medium",
|
|
611
611
|
"input-input": "h-2.5714285714285716em py-0.2857142857142857em",
|
|
612
612
|
// role='input'
|
|
613
613
|
"input-textarea": "min-h-4.285714285714286em py-0.5714285714em",
|
|
@@ -632,7 +632,7 @@ const staticInput = {
|
|
|
632
632
|
};
|
|
633
633
|
const dynamicInput = [
|
|
634
634
|
// config
|
|
635
|
-
[/^input-focus(-(\S+))?$/, ([, , c = "primary"]) => `focus-visible:ring-3px focus-visible:border-${c}-400 dark:focus-visible:border-${c}-
|
|
635
|
+
[/^input-focus(-(\S+))?$/, ([, , c = "primary"]) => `focus-visible:ring-3px focus-visible:border-${c}-400 dark:focus-visible:border-${c}-500 focus-visible:ring-${c}-400/50 dark:focus-visible:ring-${c}-500/50`],
|
|
636
636
|
[/^input-status(-(\S+))?$/, ([, , c = "info"]) => `text-${c}-700 dark:text-${c}-200 placeholder:text-${c}-500 dark:placeholder:text-${c}-400`],
|
|
637
637
|
// variants
|
|
638
638
|
[/^input-outline(-(\S+))?$/, ([, , c = "primary"]) => `shadow-xs border bg-transparent dark:bg-input/30 border-input input-focus-${c}`],
|
|
@@ -690,7 +690,7 @@ const staticNavigationMenu = {
|
|
|
690
690
|
"navigation-menu": "relative z-10 flex max-w-max flex-1 items-center justify-center",
|
|
691
691
|
"navigation-menu-disabled": "n-disabled",
|
|
692
692
|
// components
|
|
693
|
-
"navigation-menu-indicator": "absolute
|
|
693
|
+
"navigation-menu-indicator": "absolute duration-200 top-full w-[--reka-navigation-menu-indicator-size] translate-x-[--reka-navigation-menu-indicator-position] mt--3px z-100 flex h-10px items-end justify-center overflow-hidden transition-all",
|
|
694
694
|
"navigation-menu-indicator-arrow": "relative top-70% h-12px w-12px rotate-45deg border bg-background",
|
|
695
695
|
"navigation-menu-content": "left-0 top-0 w-full md:absolute md:w-auto",
|
|
696
696
|
"navigation-menu-viewport": "origin-top-center relative mt-1.5 h-[--reka-navigation-menu-viewport-height] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow md:w-[--reka-navigation-menu-viewport-width]",
|
|
@@ -773,8 +773,32 @@ const pagination = [
|
|
|
773
773
|
staticPagination
|
|
774
774
|
];
|
|
775
775
|
|
|
776
|
+
const staticPinInput = {
|
|
777
|
+
// configurations
|
|
778
|
+
"pin-input": "flex items-center gap-2 has-disabled:opacity-50 disabled:cursor-not-allowed",
|
|
779
|
+
"pin-input-separator-icon": "i-lucide-minus",
|
|
780
|
+
// components
|
|
781
|
+
"pin-input-slot": "relative flex square-2.5714285714285716em items-center justify-center shadow-xs border-y border-r first:rounded-l-md first:border-l last:rounded-r-md text-0.875em leading-1.4285714285714286em transition-all outline-none text-center",
|
|
782
|
+
"pin-input-group": "flex items-center",
|
|
783
|
+
"pin-input-separator": "grid",
|
|
784
|
+
"pin-input-solid-primary": "shadow-xs bg-transparent dark:bg-input/30 border border-ring pin-input-focus",
|
|
785
|
+
"pin-input-solid": "pin-input-solid-primary",
|
|
786
|
+
"pin-input-focus-primary": "focus:ring-3px focus:border focus:border-ring focus:ring-ring/50",
|
|
787
|
+
"pin-input-focus": "pin-input-focus-primary"
|
|
788
|
+
};
|
|
789
|
+
const dynamicPinInput = [
|
|
790
|
+
[/^pin-input-focus(-(\S+))?$/, ([, , c = "primary"]) => `focus:ring-3px focus:border focus:border-${c}-400 dark:focus:border-${c}-500 focus:ring-${c}-400/50 dark:focus:ring-${c}-500/50 focus:z-10`],
|
|
791
|
+
// dynamic preset
|
|
792
|
+
[/^pin-input-outline(-(\S+))?$/, ([, , c = "primary"]) => `bg-transparent dark:bg-input/30 border-input pin-input-focus-${c}`],
|
|
793
|
+
[/^pin-input-solid(-(\S+))?$/, ([, , c = "primary"]) => `bg-transparent dark:bg-input/30 border-${c}-500 dark:border-${c}-400 pin-input-focus-${c}`]
|
|
794
|
+
];
|
|
795
|
+
const pinInput = [
|
|
796
|
+
...dynamicPinInput,
|
|
797
|
+
staticPinInput
|
|
798
|
+
];
|
|
799
|
+
|
|
776
800
|
const staticPopover = {
|
|
777
|
-
"popover-content": "z-50 w-72 rounded-md border border-border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[
|
|
801
|
+
"popover-content": "z-50 w-72 rounded-md border border-border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2"
|
|
778
802
|
};
|
|
779
803
|
const dynamicPopover = [
|
|
780
804
|
// dynamic preset
|
|
@@ -909,7 +933,7 @@ const staticSelect = {
|
|
|
909
933
|
"select-trigger-trailing": "size-1.1428571428571428em data-[status=error]:text-error data-[status=success]:text-success data-[status=warning]:text-warning data-[status=info]:text-info data-[status=default]:(n-disabled) rtl:mr-auto ltr:ml-auto",
|
|
910
934
|
"select-trigger-leading": "size-1.1428571428571428em",
|
|
911
935
|
"select-value": "text-1em data-[status=error]:text-error-active data-[status=success]:text-success-active data-[status=warning]:text-warning-active data-[status=info]:text-info-active data-[placeholder]:n-disabled",
|
|
912
|
-
"select-content": "relative z-50 max-h-96 min-w-32 overflow-hidden rounded-md border border-border bg-popover text-popover-foreground shadow-md data-[
|
|
936
|
+
"select-content": "relative z-50 max-h-96 min-w-32 overflow-hidden rounded-md border border-border bg-popover text-popover-foreground shadow-md data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
913
937
|
"select-content-popper": "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
|
|
914
938
|
"select-group": "w-full",
|
|
915
939
|
"select-separator": "-mx-1 my-1 h-px bg-muted",
|
|
@@ -980,9 +1004,9 @@ const staticSheet = {
|
|
|
980
1004
|
// base
|
|
981
1005
|
"sheet": "",
|
|
982
1006
|
// sub components
|
|
983
|
-
"sheet-content": "bg-background
|
|
1007
|
+
"sheet-content": "bg-background fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out",
|
|
984
1008
|
"sheet-portal": "",
|
|
985
|
-
"sheet-overlay": "fixed inset-0 z-50
|
|
1009
|
+
"sheet-overlay": "fixed inset-0 z-50 bg-black/80",
|
|
986
1010
|
"sheet-close": "absolute right-4 top-4",
|
|
987
1011
|
"sheet-description": "text-sm text-muted-foreground",
|
|
988
1012
|
"sheet-footer": "mt-auto flex flex-col gap-2 p-4",
|
|
@@ -1097,6 +1121,38 @@ const slider = [
|
|
|
1097
1121
|
staticSlider
|
|
1098
1122
|
];
|
|
1099
1123
|
|
|
1124
|
+
const staticStepper = {
|
|
1125
|
+
// configurations
|
|
1126
|
+
"stepper": "flex gap-4",
|
|
1127
|
+
"stepper-horizontal": "flex-col",
|
|
1128
|
+
// components
|
|
1129
|
+
"stepper-wrapper": "flex",
|
|
1130
|
+
"stepper-wrapper-vertical": "flex-col gap-6",
|
|
1131
|
+
"stepper-item": "text-center relative w-full data-[disabled]:pointer-events-none",
|
|
1132
|
+
"stepper-item-vertical": "flex text-start gap-2.5",
|
|
1133
|
+
"stepper-trigger": "rounded-full font-medium text-center align-middle flex items-center justify-center font-semibold text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-offset-background",
|
|
1134
|
+
"stepper-header": "flex flex-col",
|
|
1135
|
+
"stepper-header-horizontal": "mt-2.5",
|
|
1136
|
+
"stepper-indicator": "inline-flex items-center justify-center rounded-full square-2.25em text-foreground/50 bg-muted group-data-[state=active]:text-foreground group-data-[state=completed]:text-foreground",
|
|
1137
|
+
"stepper-separator": "bg-muted group-data-[disabled]:bg-muted group-data-[state=active]:!bg-muted group-data-[disabled]:opacity-50 absolute rounded-full group-data-[disabled]:opacity-75",
|
|
1138
|
+
"stepper-separator-horizontal": "top-[calc(50%-2px)] h-0.5 start-[calc(50%+1.5em)] end-[calc(-50%+1.5em)]",
|
|
1139
|
+
"stepper-separator-vertical": "start-[calc(50%-1px)] bottom-[calc(50%-2.8em)] w-0.5 top-[calc(50%+1em)]",
|
|
1140
|
+
"stepper-title": "text-md font-semibold whitespace-nowrap",
|
|
1141
|
+
"stepper-description": "text-muted-foreground text-wrap text-sm",
|
|
1142
|
+
"stepper-container": "relative",
|
|
1143
|
+
"stepper-container-horizontal": "flex justify-center",
|
|
1144
|
+
// static variants
|
|
1145
|
+
"stepper-solid-black": "group-data-[state=active]:bg-foreground group-data-[state=completed]:bg-foreground focus-visible:ring-foreground"
|
|
1146
|
+
};
|
|
1147
|
+
const dynamicStepper = [
|
|
1148
|
+
// dynamic presets
|
|
1149
|
+
[/^stepper-solid(-(\S+))?$/, ([, , c = "primary"]) => `group-data-[state=completed]:bg-${c}-600 group-data-[state=active]:bg-${c}-600 focus-visible:ring-${c}-600 dark:(group-data-[state=completed]:bg-${c}-500 group-data-[state=active]:bg-${c}-500 focus-visible:ring-${c}-500)`]
|
|
1150
|
+
];
|
|
1151
|
+
const stepper = [
|
|
1152
|
+
...dynamicStepper,
|
|
1153
|
+
staticStepper
|
|
1154
|
+
];
|
|
1155
|
+
|
|
1100
1156
|
const staticSwitch = {
|
|
1101
1157
|
// base
|
|
1102
1158
|
"switch": "h-1.25em w-2.25em switch-disabled inline-flex shrink-0 cursor-pointer items-center border-2 border-transparent rounded-full shadow-xs transition-colors",
|
|
@@ -1154,7 +1210,9 @@ const staticTable = {
|
|
|
1154
1210
|
// table-empty
|
|
1155
1211
|
"table-empty-row": "",
|
|
1156
1212
|
"table-empty-cell": "p-4 whitespace-nowrap align-middle text-sm text-muted-foreground bg-background",
|
|
1157
|
-
"table-empty": "flex items-center justify-center py-10",
|
|
1213
|
+
"table-empty": "flex items-center flex-col justify-center py-10 gap-4",
|
|
1214
|
+
"table-empty-text": "text-center text-wrap",
|
|
1215
|
+
"table-empty-icon-name": "i-tabler-database-x size-2xl",
|
|
1158
1216
|
// table-loading
|
|
1159
1217
|
"table-loading-icon": "animate-spin text-lg",
|
|
1160
1218
|
// TODO: to add
|
|
@@ -1236,8 +1294,22 @@ const toggle = [
|
|
|
1236
1294
|
staticToggle
|
|
1237
1295
|
];
|
|
1238
1296
|
|
|
1297
|
+
const staticToggleGroup = {
|
|
1298
|
+
// configurations
|
|
1299
|
+
"toggle-group": "flex gap-1 flex-wrap w-fit rounded-md",
|
|
1300
|
+
"toggle-group-horizontal": "flex-row items-center",
|
|
1301
|
+
"toggle-group-vertical": "flex-col items-start",
|
|
1302
|
+
// components
|
|
1303
|
+
"toggle-group-item": ""
|
|
1304
|
+
};
|
|
1305
|
+
const dynamicToggleGroup = [];
|
|
1306
|
+
const toggleGroup = [
|
|
1307
|
+
staticToggleGroup,
|
|
1308
|
+
...dynamicToggleGroup
|
|
1309
|
+
];
|
|
1310
|
+
|
|
1239
1311
|
const staticTooltip = {
|
|
1240
|
-
"tooltip-content": "z-50 overflow-hidden rounded-md px-0.75em py-0.375em text-xs shadow-md
|
|
1312
|
+
"tooltip-content": "z-50 overflow-hidden rounded-md px-0.75em py-0.375em text-xs shadow-md data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
1241
1313
|
"tooltip-white": "border border-border bg-popover text-popover-foreground",
|
|
1242
1314
|
"tooltip-black": "border border-foreground bg-popover-foreground text-popover"
|
|
1243
1315
|
};
|
|
@@ -1284,6 +1356,7 @@ const shortcuts = [
|
|
|
1284
1356
|
...popover,
|
|
1285
1357
|
...tooltip,
|
|
1286
1358
|
...pagination,
|
|
1359
|
+
...pinInput,
|
|
1287
1360
|
...toast,
|
|
1288
1361
|
...toggle,
|
|
1289
1362
|
...collapsible,
|
|
@@ -1299,7 +1372,9 @@ const shortcuts = [
|
|
|
1299
1372
|
...alertDialog,
|
|
1300
1373
|
...combobox,
|
|
1301
1374
|
...drawer,
|
|
1302
|
-
...hoverCard
|
|
1375
|
+
...hoverCard,
|
|
1376
|
+
...stepper,
|
|
1377
|
+
...toggleGroup
|
|
1303
1378
|
];
|
|
1304
1379
|
|
|
1305
1380
|
export { shortcuts as s };
|
package/dist/shortcuts.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@una-ui/preset",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.10",
|
|
4
4
|
"description": "The default preset for @una-ui",
|
|
5
5
|
"author": "Phojie Rengel <phojrengel@gmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -45,10 +45,11 @@
|
|
|
45
45
|
"access": "public"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@unocss/core": "^66.
|
|
49
|
-
"@unocss/preset-mini": "^66.
|
|
50
|
-
"@unocss/preset-
|
|
51
|
-
"unocss": "^66.2
|
|
48
|
+
"@unocss/core": "^66.5.1",
|
|
49
|
+
"@unocss/preset-mini": "^66.5.1",
|
|
50
|
+
"@unocss/preset-uno": "^66.5.1",
|
|
51
|
+
"@unocss/preset-wind4": "^66.4.2",
|
|
52
|
+
"unocss": "^66.5.1"
|
|
52
53
|
},
|
|
53
54
|
"scripts": {
|
|
54
55
|
"build": "unbuild",
|