@axis-ds/ui-react 1.2.0 → 1.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.
- package/dist/accordion/index.js +9 -1
- package/dist/accordion/index.mjs +2 -2
- package/dist/alert/index.js +17 -6
- package/dist/alert/index.mjs +2 -2
- package/dist/avatar/index.d.mts +1 -1
- package/dist/avatar/index.d.ts +1 -1
- package/dist/avatar/index.js +9 -1
- package/dist/avatar/index.mjs +2 -2
- package/dist/badge/index.js +10 -2
- package/dist/badge/index.mjs +2 -2
- package/dist/breadcrumb/index.js +9 -1
- package/dist/breadcrumb/index.mjs +2 -2
- package/dist/button/index.d.mts +2 -2
- package/dist/button/index.d.ts +2 -2
- package/dist/button/index.js +9 -1
- package/dist/button/index.mjs +2 -2
- package/dist/card/index.js +10 -2
- package/dist/card/index.mjs +2 -2
- package/dist/checkbox/index.js +11 -3
- package/dist/checkbox/index.mjs +2 -2
- package/dist/{chunk-WVWKKHBP.mjs → chunk-22MWNPDF.mjs} +2 -2
- package/dist/{chunk-6TRDXC4W.mjs → chunk-2OEPKE4D.mjs} +1 -1
- package/dist/{chunk-ECF2JRI5.mjs → chunk-2XNUJNTG.mjs} +1 -1
- package/dist/{chunk-XHILRI24.mjs → chunk-4I2F2NLP.mjs} +1 -1
- package/dist/{chunk-ZU6FMFB5.mjs → chunk-4PT43LON.mjs} +2 -2
- package/dist/{chunk-SLQ756Q7.mjs → chunk-5NWFAQBM.mjs} +1 -1
- package/dist/{chunk-HQB5TO4N.mjs → chunk-5Z2R3IHJ.mjs} +4 -4
- package/dist/{chunk-YKZAU3UV.mjs → chunk-AY4B3RRN.mjs} +1 -1
- package/dist/{chunk-O5SM54HW.mjs → chunk-C5O47K7L.mjs} +2 -2
- package/dist/{chunk-S7LWOK76.mjs → chunk-CNU6645Y.mjs} +2 -2
- package/dist/{chunk-IXLVGZWU.mjs → chunk-CY72AGI2.mjs} +2 -2
- package/dist/{chunk-FMXB7UCT.mjs → chunk-DRFCNDVQ.mjs} +1 -1
- package/dist/{chunk-3H7DF7QZ.mjs → chunk-F2WSIT7F.mjs} +3 -3
- package/dist/{chunk-5PIG7LWJ.mjs → chunk-FZFREHAE.mjs} +3 -3
- package/dist/{chunk-YVJ7BL4T.mjs → chunk-HKYKDQ6C.mjs} +5 -5
- package/dist/{chunk-SCH6SFLB.mjs → chunk-IS7NER3O.mjs} +1 -1
- package/dist/{chunk-AJERK2UH.mjs → chunk-MOBW7BKD.mjs} +3 -3
- package/dist/{chunk-4AWNSTZH.mjs → chunk-OQGMQL2A.mjs} +1 -1
- package/dist/{chunk-4JQWQF3H.mjs → chunk-PJX5UF3Y.mjs} +1 -1
- package/dist/{chunk-MARIIZN7.mjs → chunk-QXQWVRXN.mjs} +1 -1
- package/dist/{chunk-E2C7WDLA.mjs → chunk-RFB4IABR.mjs} +1 -1
- package/dist/{chunk-NEZK6NO5.mjs → chunk-SO2QSRGV.mjs} +1 -1
- package/dist/{chunk-Q3KALTWT.mjs → chunk-TA62Q7YX.mjs} +2 -2
- package/dist/{chunk-JM45JPSK.mjs → chunk-TB33GTWS.mjs} +2 -2
- package/dist/{chunk-KAIB45YN.mjs → chunk-YI5OZRUB.mjs} +1 -1
- package/dist/{chunk-SR3JZW6T.mjs → chunk-YZDRNV46.mjs} +3 -3
- package/dist/{chunk-TD5OLTUB.mjs → chunk-Z4P43F5J.mjs} +9 -6
- package/dist/{chunk-XW4HTSUY.mjs → chunk-Z65ZMFDH.mjs} +2 -2
- package/dist/chunk-ZIF4PLK3.mjs +18 -0
- package/dist/{chunk-AEBHTW7E.mjs → chunk-ZW6GY5PO.mjs} +1 -1
- package/dist/command/index.d.mts +7 -7
- package/dist/command/index.d.ts +7 -7
- package/dist/command/index.js +10 -2
- package/dist/command/index.mjs +2 -2
- package/dist/dialog/index.js +10 -2
- package/dist/dialog/index.mjs +2 -2
- package/dist/dropdown-menu/index.js +11 -3
- package/dist/dropdown-menu/index.mjs +2 -2
- package/dist/index.js +40 -29
- package/dist/index.mjs +30 -30
- package/dist/input/index.js +9 -1
- package/dist/input/index.mjs +2 -2
- package/dist/label/index.js +9 -1
- package/dist/label/index.mjs +2 -2
- package/dist/popover/index.js +10 -2
- package/dist/popover/index.mjs +2 -2
- package/dist/progress/index.d.mts +1 -1
- package/dist/progress/index.d.ts +1 -1
- package/dist/progress/index.js +13 -5
- package/dist/progress/index.mjs +2 -2
- package/dist/radio-group/index.js +11 -3
- package/dist/radio-group/index.mjs +2 -2
- package/dist/scroll-area/index.js +9 -1
- package/dist/scroll-area/index.mjs +2 -2
- package/dist/select/index.js +9 -1
- package/dist/select/index.mjs +2 -2
- package/dist/separator/index.js +9 -1
- package/dist/separator/index.mjs +2 -2
- package/dist/sheet/index.d.mts +1 -1
- package/dist/sheet/index.d.ts +1 -1
- package/dist/sheet/index.js +11 -3
- package/dist/sheet/index.mjs +2 -2
- package/dist/skeleton/index.js +9 -1
- package/dist/skeleton/index.mjs +2 -2
- package/dist/slider/index.js +10 -2
- package/dist/slider/index.mjs +2 -2
- package/dist/switch/index.js +10 -2
- package/dist/switch/index.mjs +2 -2
- package/dist/table/index.js +9 -1
- package/dist/table/index.mjs +2 -2
- package/dist/tabs/index.js +9 -1
- package/dist/tabs/index.mjs +2 -2
- package/dist/textarea/index.js +12 -4
- package/dist/textarea/index.mjs +2 -2
- package/dist/toast/index.js +9 -1
- package/dist/toast/index.mjs +2 -2
- package/dist/toggle/index.d.mts +2 -2
- package/dist/toggle/index.d.ts +2 -2
- package/dist/toggle/index.js +10 -2
- package/dist/toggle/index.mjs +2 -2
- package/dist/tooltip/index.js +9 -1
- package/dist/tooltip/index.mjs +2 -2
- package/package.json +4 -3
- package/dist/chunk-PJO7WJ4G.mjs +0 -10
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Switch
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TA62Q7YX.mjs";
|
|
4
4
|
import {
|
|
5
5
|
Table,
|
|
6
6
|
TableBody,
|
|
@@ -10,16 +10,16 @@ import {
|
|
|
10
10
|
TableHead,
|
|
11
11
|
TableHeader,
|
|
12
12
|
TableRow
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-4I2F2NLP.mjs";
|
|
14
14
|
import {
|
|
15
15
|
Tabs,
|
|
16
16
|
TabsContent,
|
|
17
17
|
TabsList,
|
|
18
18
|
TabsTrigger
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-SO2QSRGV.mjs";
|
|
20
20
|
import {
|
|
21
21
|
Textarea
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-5Z2R3IHJ.mjs";
|
|
23
23
|
import {
|
|
24
24
|
Toast,
|
|
25
25
|
ToastAction,
|
|
@@ -28,30 +28,30 @@ import {
|
|
|
28
28
|
ToastProvider,
|
|
29
29
|
ToastTitle,
|
|
30
30
|
ToastViewport
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-RFB4IABR.mjs";
|
|
32
32
|
import {
|
|
33
33
|
Toggle,
|
|
34
34
|
toggleVariants
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-TB33GTWS.mjs";
|
|
36
36
|
import {
|
|
37
37
|
Tooltip,
|
|
38
38
|
TooltipContent,
|
|
39
39
|
TooltipProvider,
|
|
40
40
|
TooltipTrigger
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-IS7NER3O.mjs";
|
|
42
42
|
import {
|
|
43
43
|
Progress,
|
|
44
44
|
progressIndicatorVariants,
|
|
45
45
|
progressVariants
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-HKYKDQ6C.mjs";
|
|
47
47
|
import {
|
|
48
48
|
RadioGroup,
|
|
49
49
|
RadioGroupItem
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-F2WSIT7F.mjs";
|
|
51
51
|
import {
|
|
52
52
|
ScrollArea,
|
|
53
53
|
ScrollBar
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-2XNUJNTG.mjs";
|
|
55
55
|
import {
|
|
56
56
|
Select,
|
|
57
57
|
SelectContent,
|
|
@@ -61,10 +61,10 @@ import {
|
|
|
61
61
|
SelectSeparator,
|
|
62
62
|
SelectTrigger,
|
|
63
63
|
SelectValue
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-AY4B3RRN.mjs";
|
|
65
65
|
import {
|
|
66
66
|
Separator
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-ZW6GY5PO.mjs";
|
|
68
68
|
import {
|
|
69
69
|
Sheet,
|
|
70
70
|
SheetClose,
|
|
@@ -76,16 +76,16 @@ import {
|
|
|
76
76
|
SheetPortal,
|
|
77
77
|
SheetTitle,
|
|
78
78
|
SheetTrigger
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-FZFREHAE.mjs";
|
|
80
80
|
import {
|
|
81
81
|
Skeleton
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-DRFCNDVQ.mjs";
|
|
83
83
|
import {
|
|
84
84
|
Slider
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-CNU6645Y.mjs";
|
|
86
86
|
import {
|
|
87
87
|
Checkbox
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-MOBW7BKD.mjs";
|
|
89
89
|
import {
|
|
90
90
|
Collapsible,
|
|
91
91
|
CollapsibleContent,
|
|
@@ -99,7 +99,7 @@ import {
|
|
|
99
99
|
CommandItem,
|
|
100
100
|
CommandList,
|
|
101
101
|
CommandSeparator
|
|
102
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-Z65ZMFDH.mjs";
|
|
103
103
|
import {
|
|
104
104
|
Dialog,
|
|
105
105
|
DialogClose,
|
|
@@ -109,7 +109,7 @@ import {
|
|
|
109
109
|
DialogHeader,
|
|
110
110
|
DialogTitle,
|
|
111
111
|
DialogTrigger
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-CY72AGI2.mjs";
|
|
113
113
|
import {
|
|
114
114
|
DropdownMenu,
|
|
115
115
|
DropdownMenuCheckboxItem,
|
|
@@ -126,38 +126,38 @@ import {
|
|
|
126
126
|
DropdownMenuSubContent,
|
|
127
127
|
DropdownMenuSubTrigger,
|
|
128
128
|
DropdownMenuTrigger
|
|
129
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-YZDRNV46.mjs";
|
|
130
130
|
import {
|
|
131
131
|
Input
|
|
132
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-5NWFAQBM.mjs";
|
|
133
133
|
import {
|
|
134
134
|
Label
|
|
135
|
-
} from "./chunk-
|
|
135
|
+
} from "./chunk-PJX5UF3Y.mjs";
|
|
136
136
|
import {
|
|
137
137
|
Popover,
|
|
138
138
|
PopoverContent,
|
|
139
139
|
PopoverTrigger
|
|
140
|
-
} from "./chunk-
|
|
140
|
+
} from "./chunk-4PT43LON.mjs";
|
|
141
141
|
import {
|
|
142
142
|
Accordion,
|
|
143
143
|
AccordionContent,
|
|
144
144
|
AccordionItem,
|
|
145
145
|
AccordionTrigger
|
|
146
|
-
} from "./chunk-
|
|
146
|
+
} from "./chunk-2OEPKE4D.mjs";
|
|
147
147
|
import {
|
|
148
148
|
Alert,
|
|
149
149
|
AlertDescription,
|
|
150
150
|
AlertTitle,
|
|
151
151
|
alertVariants
|
|
152
|
-
} from "./chunk-
|
|
152
|
+
} from "./chunk-Z4P43F5J.mjs";
|
|
153
153
|
import {
|
|
154
154
|
Avatar,
|
|
155
155
|
avatarVariants
|
|
156
|
-
} from "./chunk-
|
|
156
|
+
} from "./chunk-OQGMQL2A.mjs";
|
|
157
157
|
import {
|
|
158
158
|
Badge,
|
|
159
159
|
badgeVariants
|
|
160
|
-
} from "./chunk-
|
|
160
|
+
} from "./chunk-22MWNPDF.mjs";
|
|
161
161
|
import {
|
|
162
162
|
Breadcrumb,
|
|
163
163
|
BreadcrumbEllipsis,
|
|
@@ -166,11 +166,11 @@ import {
|
|
|
166
166
|
BreadcrumbList,
|
|
167
167
|
BreadcrumbPage,
|
|
168
168
|
BreadcrumbSeparator
|
|
169
|
-
} from "./chunk-
|
|
169
|
+
} from "./chunk-YI5OZRUB.mjs";
|
|
170
170
|
import {
|
|
171
171
|
Button,
|
|
172
172
|
buttonVariants
|
|
173
|
-
} from "./chunk-
|
|
173
|
+
} from "./chunk-QXQWVRXN.mjs";
|
|
174
174
|
import {
|
|
175
175
|
Card,
|
|
176
176
|
CardContent,
|
|
@@ -178,10 +178,10 @@ import {
|
|
|
178
178
|
CardFooter,
|
|
179
179
|
CardHeader,
|
|
180
180
|
CardTitle
|
|
181
|
-
} from "./chunk-
|
|
181
|
+
} from "./chunk-C5O47K7L.mjs";
|
|
182
182
|
import {
|
|
183
183
|
cn
|
|
184
|
-
} from "./chunk-
|
|
184
|
+
} from "./chunk-ZIF4PLK3.mjs";
|
|
185
185
|
export {
|
|
186
186
|
Accordion,
|
|
187
187
|
AccordionContent,
|
package/dist/input/index.js
CHANGED
|
@@ -38,8 +38,16 @@ var React = __toESM(require("react"));
|
|
|
38
38
|
// src/utils.ts
|
|
39
39
|
var import_clsx = require("clsx");
|
|
40
40
|
var import_tailwind_merge = require("tailwind-merge");
|
|
41
|
+
var isArbitraryShadowWithHint = (value) => /^\[shadow:.+\]$/.test(value);
|
|
42
|
+
var twMerge = (0, import_tailwind_merge.extendTailwindMerge)({
|
|
43
|
+
extend: {
|
|
44
|
+
classGroups: {
|
|
45
|
+
shadow: [{ shadow: [isArbitraryShadowWithHint] }]
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
});
|
|
41
49
|
function cn(...inputs) {
|
|
42
|
-
return
|
|
50
|
+
return twMerge((0, import_clsx.clsx)(inputs));
|
|
43
51
|
}
|
|
44
52
|
|
|
45
53
|
// src/input/index.tsx
|
package/dist/input/index.mjs
CHANGED
package/dist/label/index.js
CHANGED
|
@@ -40,8 +40,16 @@ var import_class_variance_authority = require("class-variance-authority");
|
|
|
40
40
|
// src/utils.ts
|
|
41
41
|
var import_clsx = require("clsx");
|
|
42
42
|
var import_tailwind_merge = require("tailwind-merge");
|
|
43
|
+
var isArbitraryShadowWithHint = (value) => /^\[shadow:.+\]$/.test(value);
|
|
44
|
+
var twMerge = (0, import_tailwind_merge.extendTailwindMerge)({
|
|
45
|
+
extend: {
|
|
46
|
+
classGroups: {
|
|
47
|
+
shadow: [{ shadow: [isArbitraryShadowWithHint] }]
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
});
|
|
43
51
|
function cn(...inputs) {
|
|
44
|
-
return
|
|
52
|
+
return twMerge((0, import_clsx.clsx)(inputs));
|
|
45
53
|
}
|
|
46
54
|
|
|
47
55
|
// src/label/index.tsx
|
package/dist/label/index.mjs
CHANGED
package/dist/popover/index.js
CHANGED
|
@@ -41,8 +41,16 @@ var PopoverPrimitive = __toESM(require("@radix-ui/react-popover"));
|
|
|
41
41
|
// src/utils.ts
|
|
42
42
|
var import_clsx = require("clsx");
|
|
43
43
|
var import_tailwind_merge = require("tailwind-merge");
|
|
44
|
+
var isArbitraryShadowWithHint = (value) => /^\[shadow:.+\]$/.test(value);
|
|
45
|
+
var twMerge = (0, import_tailwind_merge.extendTailwindMerge)({
|
|
46
|
+
extend: {
|
|
47
|
+
classGroups: {
|
|
48
|
+
shadow: [{ shadow: [isArbitraryShadowWithHint] }]
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
});
|
|
44
52
|
function cn(...inputs) {
|
|
45
|
-
return
|
|
53
|
+
return twMerge((0, import_clsx.clsx)(inputs));
|
|
46
54
|
}
|
|
47
55
|
|
|
48
56
|
// src/popover/index.tsx
|
|
@@ -56,7 +64,7 @@ var PopoverContent = React.forwardRef(({ className, align = "center", sideOffset
|
|
|
56
64
|
align,
|
|
57
65
|
sideOffset,
|
|
58
66
|
className: cn(
|
|
59
|
-
"z-50 w-72 rounded-md border border-[var(--axis-border-default)] bg-[var(--axis-surface-
|
|
67
|
+
"z-50 w-72 rounded-md border border-[var(--axis-border-default)] bg-[var(--axis-surface-default)] p-4 text-[var(--axis-text-primary)] shadow-md outline-none",
|
|
60
68
|
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]: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",
|
|
61
69
|
className
|
|
62
70
|
),
|
package/dist/popover/index.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import * as React from 'react';
|
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
|
|
5
5
|
declare const progressVariants: (props?: ({
|
|
6
|
-
size?: "
|
|
6
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
7
7
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8
8
|
declare const progressIndicatorVariants: (props?: ({
|
|
9
9
|
variant?: "default" | "destructive" | "success" | "warning" | null | undefined;
|
package/dist/progress/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import * as React from 'react';
|
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
|
|
5
5
|
declare const progressVariants: (props?: ({
|
|
6
|
-
size?: "
|
|
6
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
7
7
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8
8
|
declare const progressIndicatorVariants: (props?: ({
|
|
9
9
|
variant?: "default" | "destructive" | "success" | "warning" | null | undefined;
|
package/dist/progress/index.js
CHANGED
|
@@ -41,8 +41,16 @@ var import_class_variance_authority = require("class-variance-authority");
|
|
|
41
41
|
// src/utils.ts
|
|
42
42
|
var import_clsx = require("clsx");
|
|
43
43
|
var import_tailwind_merge = require("tailwind-merge");
|
|
44
|
+
var isArbitraryShadowWithHint = (value) => /^\[shadow:.+\]$/.test(value);
|
|
45
|
+
var twMerge = (0, import_tailwind_merge.extendTailwindMerge)({
|
|
46
|
+
extend: {
|
|
47
|
+
classGroups: {
|
|
48
|
+
shadow: [{ shadow: [isArbitraryShadowWithHint] }]
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
});
|
|
44
52
|
function cn(...inputs) {
|
|
45
|
-
return
|
|
53
|
+
return twMerge((0, import_clsx.clsx)(inputs));
|
|
46
54
|
}
|
|
47
55
|
|
|
48
56
|
// src/progress/index.tsx
|
|
@@ -67,10 +75,10 @@ var progressIndicatorVariants = (0, import_class_variance_authority.cva)(
|
|
|
67
75
|
{
|
|
68
76
|
variants: {
|
|
69
77
|
variant: {
|
|
70
|
-
default: "bg-[var(--axis-brand
|
|
71
|
-
success: "bg-[var(--axis-green-500)]",
|
|
72
|
-
warning: "bg-[var(--axis-yellow-500)]",
|
|
73
|
-
destructive: "bg-[var(--axis-red-500)]"
|
|
78
|
+
default: "bg-[var(--axis-surface-brand)]",
|
|
79
|
+
success: "bg-[var(--axis-color-green-500)]",
|
|
80
|
+
warning: "bg-[var(--axis-color-yellow-500)]",
|
|
81
|
+
destructive: "bg-[var(--axis-color-red-500)]"
|
|
74
82
|
}
|
|
75
83
|
},
|
|
76
84
|
defaultVariants: {
|
package/dist/progress/index.mjs
CHANGED
|
@@ -40,8 +40,16 @@ var RadioGroupPrimitive = __toESM(require("@radix-ui/react-radio-group"));
|
|
|
40
40
|
// src/utils.ts
|
|
41
41
|
var import_clsx = require("clsx");
|
|
42
42
|
var import_tailwind_merge = require("tailwind-merge");
|
|
43
|
+
var isArbitraryShadowWithHint = (value) => /^\[shadow:.+\]$/.test(value);
|
|
44
|
+
var twMerge = (0, import_tailwind_merge.extendTailwindMerge)({
|
|
45
|
+
extend: {
|
|
46
|
+
classGroups: {
|
|
47
|
+
shadow: [{ shadow: [isArbitraryShadowWithHint] }]
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
});
|
|
43
51
|
function cn(...inputs) {
|
|
44
|
-
return
|
|
52
|
+
return twMerge((0, import_clsx.clsx)(inputs));
|
|
45
53
|
}
|
|
46
54
|
|
|
47
55
|
// src/radio-group/index.tsx
|
|
@@ -61,8 +69,8 @@ var RadioGroupItem = React.forwardRef(({ className, ...props }, ref) => /* @__PU
|
|
|
61
69
|
ref,
|
|
62
70
|
className: cn(
|
|
63
71
|
"aspect-square h-4 w-4 rounded-full border border-[var(--axis-border-default)]",
|
|
64
|
-
"ring-offset-[var(--axis-surface-
|
|
65
|
-
"focus:outline-none focus-visible:ring-2 focus-visible:ring-[var(--axis-
|
|
72
|
+
"ring-offset-[var(--axis-surface-default)]",
|
|
73
|
+
"focus:outline-none focus-visible:ring-2 focus-visible:ring-[var(--axis-border-focus)] focus-visible:ring-offset-2",
|
|
66
74
|
"disabled:cursor-not-allowed disabled:opacity-50",
|
|
67
75
|
"data-[state=checked]:border-[var(--axis-interactive-primary)] data-[state=checked]:text-[var(--axis-interactive-primary)]",
|
|
68
76
|
className
|
|
@@ -40,8 +40,16 @@ var ScrollAreaPrimitive = __toESM(require("@radix-ui/react-scroll-area"));
|
|
|
40
40
|
// src/utils.ts
|
|
41
41
|
var import_clsx = require("clsx");
|
|
42
42
|
var import_tailwind_merge = require("tailwind-merge");
|
|
43
|
+
var isArbitraryShadowWithHint = (value) => /^\[shadow:.+\]$/.test(value);
|
|
44
|
+
var twMerge = (0, import_tailwind_merge.extendTailwindMerge)({
|
|
45
|
+
extend: {
|
|
46
|
+
classGroups: {
|
|
47
|
+
shadow: [{ shadow: [isArbitraryShadowWithHint] }]
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
});
|
|
43
51
|
function cn(...inputs) {
|
|
44
|
-
return
|
|
52
|
+
return twMerge((0, import_clsx.clsx)(inputs));
|
|
45
53
|
}
|
|
46
54
|
|
|
47
55
|
// src/scroll-area/index.tsx
|
package/dist/select/index.js
CHANGED
|
@@ -46,8 +46,16 @@ var SelectPrimitive = __toESM(require("@radix-ui/react-select"));
|
|
|
46
46
|
// src/utils.ts
|
|
47
47
|
var import_clsx = require("clsx");
|
|
48
48
|
var import_tailwind_merge = require("tailwind-merge");
|
|
49
|
+
var isArbitraryShadowWithHint = (value) => /^\[shadow:.+\]$/.test(value);
|
|
50
|
+
var twMerge = (0, import_tailwind_merge.extendTailwindMerge)({
|
|
51
|
+
extend: {
|
|
52
|
+
classGroups: {
|
|
53
|
+
shadow: [{ shadow: [isArbitraryShadowWithHint] }]
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
});
|
|
49
57
|
function cn(...inputs) {
|
|
50
|
-
return
|
|
58
|
+
return twMerge((0, import_clsx.clsx)(inputs));
|
|
51
59
|
}
|
|
52
60
|
|
|
53
61
|
// src/select/index.tsx
|
package/dist/select/index.mjs
CHANGED
package/dist/separator/index.js
CHANGED
|
@@ -39,8 +39,16 @@ var SeparatorPrimitive = __toESM(require("@radix-ui/react-separator"));
|
|
|
39
39
|
// src/utils.ts
|
|
40
40
|
var import_clsx = require("clsx");
|
|
41
41
|
var import_tailwind_merge = require("tailwind-merge");
|
|
42
|
+
var isArbitraryShadowWithHint = (value) => /^\[shadow:.+\]$/.test(value);
|
|
43
|
+
var twMerge = (0, import_tailwind_merge.extendTailwindMerge)({
|
|
44
|
+
extend: {
|
|
45
|
+
classGroups: {
|
|
46
|
+
shadow: [{ shadow: [isArbitraryShadowWithHint] }]
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
});
|
|
42
50
|
function cn(...inputs) {
|
|
43
|
-
return
|
|
51
|
+
return twMerge((0, import_clsx.clsx)(inputs));
|
|
44
52
|
}
|
|
45
53
|
|
|
46
54
|
// src/separator/index.tsx
|
package/dist/separator/index.mjs
CHANGED
package/dist/sheet/index.d.mts
CHANGED
|
@@ -15,7 +15,7 @@ declare const SheetPortal: React.FC<DialogPrimitive.DialogPortalProps>;
|
|
|
15
15
|
/** 시트가 열렸을 때 배경을 덮는 오버레이 컴포넌트. 페이드 인/아웃 애니메이션을 포함한다. */
|
|
16
16
|
declare const SheetOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
17
17
|
declare const sheetVariants: (props?: ({
|
|
18
|
-
side?: "
|
|
18
|
+
side?: "bottom" | "left" | "right" | "top" | null | undefined;
|
|
19
19
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
20
20
|
/**
|
|
21
21
|
* SheetContent 컴포넌트의 Props 인터페이스
|
package/dist/sheet/index.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ declare const SheetPortal: React.FC<DialogPrimitive.DialogPortalProps>;
|
|
|
15
15
|
/** 시트가 열렸을 때 배경을 덮는 오버레이 컴포넌트. 페이드 인/아웃 애니메이션을 포함한다. */
|
|
16
16
|
declare const SheetOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
17
17
|
declare const sheetVariants: (props?: ({
|
|
18
|
-
side?: "
|
|
18
|
+
side?: "bottom" | "left" | "right" | "top" | null | undefined;
|
|
19
19
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
20
20
|
/**
|
|
21
21
|
* SheetContent 컴포넌트의 Props 인터페이스
|
package/dist/sheet/index.js
CHANGED
|
@@ -49,8 +49,16 @@ var import_class_variance_authority = require("class-variance-authority");
|
|
|
49
49
|
// src/utils.ts
|
|
50
50
|
var import_clsx = require("clsx");
|
|
51
51
|
var import_tailwind_merge = require("tailwind-merge");
|
|
52
|
+
var isArbitraryShadowWithHint = (value) => /^\[shadow:.+\]$/.test(value);
|
|
53
|
+
var twMerge = (0, import_tailwind_merge.extendTailwindMerge)({
|
|
54
|
+
extend: {
|
|
55
|
+
classGroups: {
|
|
56
|
+
shadow: [{ shadow: [isArbitraryShadowWithHint] }]
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
});
|
|
52
60
|
function cn(...inputs) {
|
|
53
|
-
return
|
|
61
|
+
return twMerge((0, import_clsx.clsx)(inputs));
|
|
54
62
|
}
|
|
55
63
|
|
|
56
64
|
// src/sheet/index.tsx
|
|
@@ -72,7 +80,7 @@ var SheetOverlay = React.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
72
80
|
));
|
|
73
81
|
SheetOverlay.displayName = "SheetOverlay";
|
|
74
82
|
var sheetVariants = (0, import_class_variance_authority.cva)(
|
|
75
|
-
"fixed z-50 gap-4 bg-[var(--axis-surface-
|
|
83
|
+
"fixed z-50 gap-4 bg-[var(--axis-surface-default)] border-[var(--axis-border-default)] p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",
|
|
76
84
|
{
|
|
77
85
|
variants: {
|
|
78
86
|
side: {
|
|
@@ -96,7 +104,7 @@ var SheetContent = React.forwardRef(({ side = "right", className, children, ...p
|
|
|
96
104
|
className: cn(sheetVariants({ side }), className),
|
|
97
105
|
...props,
|
|
98
106
|
children: [
|
|
99
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(SheetPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-[var(--axis-surface-
|
|
107
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(SheetPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-[var(--axis-surface-default)] transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-[var(--axis-border-focus)] focus:ring-offset-2 disabled:pointer-events-none", children: [
|
|
100
108
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
101
109
|
"svg",
|
|
102
110
|
{
|
package/dist/sheet/index.mjs
CHANGED
package/dist/skeleton/index.js
CHANGED
|
@@ -38,8 +38,16 @@ var React = __toESM(require("react"));
|
|
|
38
38
|
// src/utils.ts
|
|
39
39
|
var import_clsx = require("clsx");
|
|
40
40
|
var import_tailwind_merge = require("tailwind-merge");
|
|
41
|
+
var isArbitraryShadowWithHint = (value) => /^\[shadow:.+\]$/.test(value);
|
|
42
|
+
var twMerge = (0, import_tailwind_merge.extendTailwindMerge)({
|
|
43
|
+
extend: {
|
|
44
|
+
classGroups: {
|
|
45
|
+
shadow: [{ shadow: [isArbitraryShadowWithHint] }]
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
});
|
|
41
49
|
function cn(...inputs) {
|
|
42
|
-
return
|
|
50
|
+
return twMerge((0, import_clsx.clsx)(inputs));
|
|
43
51
|
}
|
|
44
52
|
|
|
45
53
|
// src/skeleton/index.tsx
|
package/dist/skeleton/index.mjs
CHANGED
package/dist/slider/index.js
CHANGED
|
@@ -39,8 +39,16 @@ var SliderPrimitive = __toESM(require("@radix-ui/react-slider"));
|
|
|
39
39
|
// src/utils.ts
|
|
40
40
|
var import_clsx = require("clsx");
|
|
41
41
|
var import_tailwind_merge = require("tailwind-merge");
|
|
42
|
+
var isArbitraryShadowWithHint = (value) => /^\[shadow:.+\]$/.test(value);
|
|
43
|
+
var twMerge = (0, import_tailwind_merge.extendTailwindMerge)({
|
|
44
|
+
extend: {
|
|
45
|
+
classGroups: {
|
|
46
|
+
shadow: [{ shadow: [isArbitraryShadowWithHint] }]
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
});
|
|
42
50
|
function cn(...inputs) {
|
|
43
|
-
return
|
|
51
|
+
return twMerge((0, import_clsx.clsx)(inputs));
|
|
44
52
|
}
|
|
45
53
|
|
|
46
54
|
// src/slider/index.tsx
|
|
@@ -67,7 +75,7 @@ var Slider = React.forwardRef(
|
|
|
67
75
|
{
|
|
68
76
|
"aria-label": ariaLabel,
|
|
69
77
|
"aria-labelledby": ariaLabelledby,
|
|
70
|
-
className: "block h-5 w-5 rounded-full border-2 border-[var(--axis-interactive-primary)] bg-[var(--axis-surface-
|
|
78
|
+
className: "block h-5 w-5 rounded-full border-2 border-[var(--axis-interactive-primary)] bg-[var(--axis-surface-default)] ring-offset-[var(--axis-surface-default)] transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--axis-border-focus)] focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50"
|
|
71
79
|
}
|
|
72
80
|
)
|
|
73
81
|
]
|
package/dist/slider/index.mjs
CHANGED
package/dist/switch/index.js
CHANGED
|
@@ -39,8 +39,16 @@ var SwitchPrimitive = __toESM(require("@radix-ui/react-switch"));
|
|
|
39
39
|
// src/utils.ts
|
|
40
40
|
var import_clsx = require("clsx");
|
|
41
41
|
var import_tailwind_merge = require("tailwind-merge");
|
|
42
|
+
var isArbitraryShadowWithHint = (value) => /^\[shadow:.+\]$/.test(value);
|
|
43
|
+
var twMerge = (0, import_tailwind_merge.extendTailwindMerge)({
|
|
44
|
+
extend: {
|
|
45
|
+
classGroups: {
|
|
46
|
+
shadow: [{ shadow: [isArbitraryShadowWithHint] }]
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
});
|
|
42
50
|
function cn(...inputs) {
|
|
43
|
-
return
|
|
51
|
+
return twMerge((0, import_clsx.clsx)(inputs));
|
|
44
52
|
}
|
|
45
53
|
|
|
46
54
|
// src/switch/index.tsx
|
|
@@ -50,7 +58,7 @@ var Switch = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
|
50
58
|
{
|
|
51
59
|
className: cn(
|
|
52
60
|
"peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors",
|
|
53
|
-
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--axis-
|
|
61
|
+
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--axis-border-focus)] focus-visible:ring-offset-2 focus-visible:ring-offset-[var(--axis-surface-default)]",
|
|
54
62
|
"disabled:cursor-not-allowed disabled:opacity-50",
|
|
55
63
|
"data-[state=checked]:bg-[var(--axis-interactive-primary)]",
|
|
56
64
|
"data-[state=unchecked]:bg-[var(--axis-surface-tertiary)]",
|