@axis-ds/ui-react 1.2.1 → 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 +9 -1
- package/dist/alert/index.mjs +2 -2
- package/dist/avatar/index.js +9 -1
- package/dist/avatar/index.mjs +2 -2
- package/dist/badge/index.js +9 -1
- 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.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 +9 -1
- package/dist/checkbox/index.mjs +2 -2
- package/dist/{chunk-3X4D5BY3.mjs → chunk-22MWNPDF.mjs} +1 -1
- 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-WZKK4HZL.mjs → chunk-4PT43LON.mjs} +1 -1
- package/dist/{chunk-SLQ756Q7.mjs → chunk-5NWFAQBM.mjs} +1 -1
- package/dist/{chunk-EDGX5DCD.mjs → chunk-5Z2R3IHJ.mjs} +1 -1
- package/dist/{chunk-YKZAU3UV.mjs → chunk-AY4B3RRN.mjs} +1 -1
- package/dist/{chunk-O5SM54HW.mjs → chunk-C5O47K7L.mjs} +2 -2
- package/dist/{chunk-HQJBSI2B.mjs → chunk-CNU6645Y.mjs} +1 -1
- package/dist/{chunk-IXLVGZWU.mjs → chunk-CY72AGI2.mjs} +2 -2
- package/dist/{chunk-FMXB7UCT.mjs → chunk-DRFCNDVQ.mjs} +1 -1
- package/dist/{chunk-AIZOU3L5.mjs → chunk-F2WSIT7F.mjs} +1 -1
- package/dist/{chunk-DMN6TZ5P.mjs → chunk-FZFREHAE.mjs} +1 -1
- package/dist/{chunk-WD72RERV.mjs → chunk-HKYKDQ6C.mjs} +1 -1
- package/dist/{chunk-SCH6SFLB.mjs → chunk-IS7NER3O.mjs} +1 -1
- package/dist/{chunk-MCAHPQTZ.mjs → chunk-MOBW7BKD.mjs} +1 -1
- 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-5363AGDM.mjs → chunk-TA62Q7YX.mjs} +1 -1
- package/dist/{chunk-ZPMR6JNE.mjs → chunk-TB33GTWS.mjs} +1 -1
- package/dist/{chunk-KAIB45YN.mjs → chunk-YI5OZRUB.mjs} +1 -1
- package/dist/{chunk-QGLMN7PH.mjs → chunk-YZDRNV46.mjs} +1 -1
- package/dist/{chunk-WN4YFVP6.mjs → chunk-Z4P43F5J.mjs} +1 -1
- package/dist/{chunk-IVINZBZH.mjs → chunk-Z65ZMFDH.mjs} +1 -1
- package/dist/chunk-ZIF4PLK3.mjs +18 -0
- package/dist/{chunk-AEBHTW7E.mjs → chunk-ZW6GY5PO.mjs} +1 -1
- package/dist/command/index.js +9 -1
- 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 +9 -1
- package/dist/dropdown-menu/index.mjs +2 -2
- package/dist/index.js +11 -3
- package/dist/index.mjs +33 -33
- 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 +9 -1
- package/dist/popover/index.mjs +2 -2
- package/dist/progress/index.js +9 -1
- package/dist/progress/index.mjs +2 -2
- package/dist/radio-group/index.js +9 -1
- 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 +9 -1
- 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 +9 -1
- package/dist/slider/index.mjs +2 -2
- package/dist/switch/index.js +9 -1
- 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 +9 -1
- 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.js +9 -1
- package/dist/toggle/index.mjs +2 -2
- package/dist/tooltip/index.js +9 -1
- package/dist/tooltip/index.mjs +2 -2
- package/package.json +3 -2
- package/dist/chunk-PJO7WJ4G.mjs +0 -10
|
@@ -14,8 +14,8 @@ import {
|
|
|
14
14
|
DropdownMenuSubContent,
|
|
15
15
|
DropdownMenuSubTrigger,
|
|
16
16
|
DropdownMenuTrigger
|
|
17
|
-
} from "../chunk-
|
|
18
|
-
import "../chunk-
|
|
17
|
+
} from "../chunk-YZDRNV46.mjs";
|
|
18
|
+
import "../chunk-ZIF4PLK3.mjs";
|
|
19
19
|
export {
|
|
20
20
|
DropdownMenu,
|
|
21
21
|
DropdownMenuCheckboxItem,
|
package/dist/index.js
CHANGED
|
@@ -158,8 +158,16 @@ module.exports = __toCommonJS(index_exports);
|
|
|
158
158
|
// src/utils.ts
|
|
159
159
|
var import_clsx = require("clsx");
|
|
160
160
|
var import_tailwind_merge = require("tailwind-merge");
|
|
161
|
+
var isArbitraryShadowWithHint = (value) => /^\[shadow:.+\]$/.test(value);
|
|
162
|
+
var twMerge = (0, import_tailwind_merge.extendTailwindMerge)({
|
|
163
|
+
extend: {
|
|
164
|
+
classGroups: {
|
|
165
|
+
shadow: [{ shadow: [isArbitraryShadowWithHint] }]
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
});
|
|
161
169
|
function cn(...inputs) {
|
|
162
|
-
return
|
|
170
|
+
return twMerge((0, import_clsx.clsx)(inputs));
|
|
163
171
|
}
|
|
164
172
|
|
|
165
173
|
// src/button/index.tsx
|
|
@@ -656,7 +664,7 @@ var Card = React12.forwardRef(
|
|
|
656
664
|
{
|
|
657
665
|
ref,
|
|
658
666
|
className: cn(
|
|
659
|
-
"rounded-lg border bg-[var(--axis-card-bg-default)] border-[var(--axis-card-border-default)] shadow-
|
|
667
|
+
"rounded-lg border bg-[var(--axis-card-bg-default)] border-[var(--axis-card-border-default)] shadow-[shadow:var(--axis-card-shadow)]",
|
|
660
668
|
className
|
|
661
669
|
),
|
|
662
670
|
...props
|
|
@@ -1025,7 +1033,7 @@ var DialogContent = React17.forwardRef(({ className, children, ...props }, ref)
|
|
|
1025
1033
|
{
|
|
1026
1034
|
ref,
|
|
1027
1035
|
className: cn(
|
|
1028
|
-
"fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border p-6 shadow-lg duration-200",
|
|
1036
|
+
"fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border p-6 shadow-[shadow:var(--axis-shadow-lg)] duration-200",
|
|
1029
1037
|
"bg-[var(--axis-dialog-content-bg)] border-[var(--axis-dialog-content-border)]",
|
|
1030
1038
|
"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-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%]",
|
|
1031
1039
|
"sm:rounded-lg",
|
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,20 +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-
|
|
23
|
-
import {
|
|
24
|
-
Toggle,
|
|
25
|
-
toggleVariants
|
|
26
|
-
} from "./chunk-ZPMR6JNE.mjs";
|
|
22
|
+
} from "./chunk-5Z2R3IHJ.mjs";
|
|
27
23
|
import {
|
|
28
24
|
Toast,
|
|
29
25
|
ToastAction,
|
|
@@ -32,26 +28,30 @@ import {
|
|
|
32
28
|
ToastProvider,
|
|
33
29
|
ToastTitle,
|
|
34
30
|
ToastViewport
|
|
35
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-RFB4IABR.mjs";
|
|
32
|
+
import {
|
|
33
|
+
Toggle,
|
|
34
|
+
toggleVariants
|
|
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
|
package/dist/popover/index.mjs
CHANGED
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
|
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
|
|
@@ -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
|
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
|
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
|
package/dist/switch/index.mjs
CHANGED
package/dist/table/index.js
CHANGED
|
@@ -45,8 +45,16 @@ var React = __toESM(require("react"));
|
|
|
45
45
|
// src/utils.ts
|
|
46
46
|
var import_clsx = require("clsx");
|
|
47
47
|
var import_tailwind_merge = require("tailwind-merge");
|
|
48
|
+
var isArbitraryShadowWithHint = (value) => /^\[shadow:.+\]$/.test(value);
|
|
49
|
+
var twMerge = (0, import_tailwind_merge.extendTailwindMerge)({
|
|
50
|
+
extend: {
|
|
51
|
+
classGroups: {
|
|
52
|
+
shadow: [{ shadow: [isArbitraryShadowWithHint] }]
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
});
|
|
48
56
|
function cn(...inputs) {
|
|
49
|
-
return
|
|
57
|
+
return twMerge((0, import_clsx.clsx)(inputs));
|
|
50
58
|
}
|
|
51
59
|
|
|
52
60
|
// src/table/index.tsx
|