@szum-tech/design-system 3.16.0 → 3.18.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/dist/chunk-D5PAWOAZ.cjs +1 -0
- package/dist/chunk-JUNHRB4B.js +1 -0
- package/dist/chunk-P7BFOJLM.cjs +3 -0
- package/dist/chunk-ZYG2KYKK.js +3 -0
- package/dist/components/index.cjs +1 -924
- package/dist/components/index.d.cts +1650 -56
- package/dist/components/index.d.ts +1650 -56
- package/dist/components/index.js +1 -43
- package/dist/hooks/index.cjs +1 -35
- package/dist/hooks/index.js +1 -2
- package/dist/icons/index.cjs +2 -93
- package/dist/icons/index.js +2 -88
- package/dist/utils/index.cjs +1 -10
- package/dist/utils/index.js +1 -1
- package/package.json +30 -38
- package/dist/chunk-2WQJ36RD.cjs +0 -78
- package/dist/chunk-2Y2ZCPNV.cjs +0 -61
- package/dist/chunk-375QAB65.cjs +0 -145
- package/dist/chunk-3DP3VMPN.js +0 -173
- package/dist/chunk-3GNVQFCK.cjs +0 -50
- package/dist/chunk-3RK5PCIC.js +0 -86
- package/dist/chunk-3WSQRFUY.cjs +0 -11
- package/dist/chunk-4LNGZHF2.cjs +0 -33
- package/dist/chunk-4TRADSTP.js +0 -34
- package/dist/chunk-5F2Y65JH.js +0 -32
- package/dist/chunk-5MJPZUTO.js +0 -38
- package/dist/chunk-5MV54MWS.js +0 -46
- package/dist/chunk-6BSR3O2J.js +0 -53
- package/dist/chunk-6HX7ETL3.cjs +0 -183
- package/dist/chunk-6X26XC6P.cjs +0 -17
- package/dist/chunk-7OD2NBSV.cjs +0 -50
- package/dist/chunk-A72LE53B.js +0 -21
- package/dist/chunk-A7SBXO2Y.cjs +0 -40
- package/dist/chunk-B4M7Q5KX.cjs +0 -25
- package/dist/chunk-B7RHEMZH.js +0 -48
- package/dist/chunk-BTSHACKG.js +0 -123
- package/dist/chunk-BUJO4FB6.js +0 -252
- package/dist/chunk-CL2C6STG.cjs +0 -278
- package/dist/chunk-CXHDWIGF.cjs +0 -89
- package/dist/chunk-DGWBE2Y3.cjs +0 -205
- package/dist/chunk-DUAM4RTP.cjs +0 -23
- package/dist/chunk-EOTQVIA5.js +0 -993
- package/dist/chunk-EUH466AL.cjs +0 -179
- package/dist/chunk-F7NFSDOD.cjs +0 -91
- package/dist/chunk-G24PWQKG.js +0 -20
- package/dist/chunk-GEDBA3JU.cjs +0 -49
- package/dist/chunk-GYXQUTWZ.cjs +0 -59
- package/dist/chunk-H2BWO3SI.cjs +0 -11
- package/dist/chunk-H5NHGMSQ.js +0 -136
- package/dist/chunk-HCHVDUI6.cjs +0 -34
- package/dist/chunk-HNRVLRMN.js +0 -82
- package/dist/chunk-HPICKLBZ.cjs +0 -204
- package/dist/chunk-I3RSTJP6.js +0 -20
- package/dist/chunk-IWF52DDE.js +0 -55
- package/dist/chunk-IZU3KULT.js +0 -41
- package/dist/chunk-K5AURCK5.js +0 -183
- package/dist/chunk-KTAIBRTH.cjs +0 -10
- package/dist/chunk-L2TRMQNN.js +0 -130
- package/dist/chunk-M7NIRB3U.js +0 -43
- package/dist/chunk-MFTNHVPZ.cjs +0 -2906
- package/dist/chunk-MNDQXDV4.cjs +0 -607
- package/dist/chunk-N4TYSZSU.cjs +0 -44
- package/dist/chunk-NU5UQPBX.cjs +0 -25
- package/dist/chunk-NXEZE7LG.js +0 -15
- package/dist/chunk-OCOCENE6.js +0 -42
- package/dist/chunk-OIM2X2NK.js +0 -2825
- package/dist/chunk-OQCNPNPS.js +0 -23
- package/dist/chunk-OXZQGDTR.js +0 -208
- package/dist/chunk-OZSNSRLV.cjs +0 -1027
- package/dist/chunk-P4IL77YC.js +0 -66
- package/dist/chunk-P4JIMFSL.js +0 -51
- package/dist/chunk-P5IUC7HJ.js +0 -9
- package/dist/chunk-PBEZZMAB.js +0 -25
- package/dist/chunk-RKFU4DS3.cjs +0 -1064
- package/dist/chunk-S3ANEJJ7.cjs +0 -22
- package/dist/chunk-S3ZUFD6U.js +0 -23
- package/dist/chunk-SHPJGB2L.cjs +0 -19
- package/dist/chunk-TH44JYXB.cjs +0 -27
- package/dist/chunk-TMXVL5CV.cjs +0 -48
- package/dist/chunk-U3QKV7I4.js +0 -54
- package/dist/chunk-U7XZJQ4O.js +0 -36
- package/dist/chunk-UJX74PFK.cjs +0 -46
- package/dist/chunk-ULEEQ723.cjs +0 -108
- package/dist/chunk-UNOMGKAZ.cjs +0 -141
- package/dist/chunk-USIW3VT5.cjs +0 -73
- package/dist/chunk-VK2FJ65F.js +0 -575
- package/dist/chunk-VK5EX3OG.cjs +0 -132
- package/dist/chunk-VT5GDGZJ.js +0 -15
- package/dist/chunk-WCQ5WKCQ.js +0 -1042
- package/dist/chunk-WMGJCB7O.js +0 -157
- package/dist/chunk-X3ZT3KGX.cjs +0 -53
- package/dist/chunk-X5O7GP4S.js +0 -48
- package/dist/chunk-X7WREEFD.js +0 -8
- package/dist/chunk-XENOUBSI.cjs +0 -37
- package/dist/chunk-XKCLVPUC.js +0 -176
- package/dist/chunk-XTKD76O5.js +0 -29
- package/dist/chunk-YBFG2IRJ.cjs +0 -225
- package/dist/chunk-YEFLGE3L.cjs +0 -47
- package/dist/chunk-YUMKV5TH.js +0 -56
- package/dist/chunk-ZD2QRAOX.js +0 -9
- package/dist/chunk-ZVF7J4EI.cjs +0 -58
- package/dist/color-picker.types-GI7dq2Ig.d.cts +0 -42
- package/dist/color-picker.types-GI7dq2Ig.d.ts +0 -42
- package/dist/components/accordion/index.cjs +0 -23
- package/dist/components/accordion/index.d.cts +0 -17
- package/dist/components/accordion/index.d.ts +0 -17
- package/dist/components/accordion/index.js +0 -2
- package/dist/components/alert/index.cjs +0 -19
- package/dist/components/alert/index.d.cts +0 -24
- package/dist/components/alert/index.d.ts +0 -24
- package/dist/components/alert/index.js +0 -2
- package/dist/components/alert-dialog/index.cjs +0 -43
- package/dist/components/alert-dialog/index.d.cts +0 -32
- package/dist/components/alert-dialog/index.d.ts +0 -32
- package/dist/components/alert-dialog/index.js +0 -2
- package/dist/components/avatar/index.cjs +0 -19
- package/dist/components/avatar/index.d.cts +0 -14
- package/dist/components/avatar/index.d.ts +0 -14
- package/dist/components/avatar/index.js +0 -2
- package/dist/components/badge/index.cjs +0 -19
- package/dist/components/badge/index.d.cts +0 -28
- package/dist/components/badge/index.d.ts +0 -28
- package/dist/components/badge/index.js +0 -2
- package/dist/components/badge-overflow/index.cjs +0 -183
- package/dist/components/badge-overflow/index.d.cts +0 -21
- package/dist/components/badge-overflow/index.d.ts +0 -21
- package/dist/components/badge-overflow/index.js +0 -161
- package/dist/components/button/index.cjs +0 -52
- package/dist/components/button/index.d.cts +0 -58
- package/dist/components/button/index.d.ts +0 -58
- package/dist/components/button/index.js +0 -43
- package/dist/components/card/index.cjs +0 -35
- package/dist/components/card/index.d.cts +0 -25
- package/dist/components/card/index.d.ts +0 -25
- package/dist/components/card/index.js +0 -2
- package/dist/components/carousel/index.cjs +0 -269
- package/dist/components/carousel/index.d.cts +0 -48
- package/dist/components/carousel/index.d.ts +0 -48
- package/dist/components/carousel/index.js +0 -238
- package/dist/components/checkbox/index.cjs +0 -11
- package/dist/components/checkbox/index.d.cts +0 -8
- package/dist/components/checkbox/index.d.ts +0 -8
- package/dist/components/checkbox/index.js +0 -2
- package/dist/components/collapsible/index.cjs +0 -18
- package/dist/components/collapsible/index.d.cts +0 -12
- package/dist/components/collapsible/index.d.ts +0 -12
- package/dist/components/collapsible/index.js +0 -1
- package/dist/components/color-picker/index.cjs +0 -92
- package/dist/components/color-picker/index.d.cts +0 -71
- package/dist/components/color-picker/index.d.ts +0 -71
- package/dist/components/color-picker/index.js +0 -43
- package/dist/components/color-swatch/index.cjs +0 -11
- package/dist/components/color-swatch/index.d.cts +0 -22
- package/dist/components/color-swatch/index.d.ts +0 -22
- package/dist/components/color-swatch/index.js +0 -2
- package/dist/components/counting-number/index.cjs +0 -11
- package/dist/components/counting-number/index.d.cts +0 -57
- package/dist/components/counting-number/index.d.ts +0 -57
- package/dist/components/counting-number/index.js +0 -2
- package/dist/components/dialog/index.cjs +0 -39
- package/dist/components/dialog/index.d.cts +0 -42
- package/dist/components/dialog/index.d.ts +0 -42
- package/dist/components/dialog/index.js +0 -2
- package/dist/components/dropdown-menu/index.cjs +0 -71
- package/dist/components/dropdown-menu/index.d.cts +0 -67
- package/dist/components/dropdown-menu/index.d.ts +0 -67
- package/dist/components/dropdown-menu/index.js +0 -2
- package/dist/components/empty/index.cjs +0 -31
- package/dist/components/empty/index.d.cts +0 -29
- package/dist/components/empty/index.d.ts +0 -29
- package/dist/components/empty/index.js +0 -2
- package/dist/components/field/index.cjs +0 -49
- package/dist/components/field/index.d.cts +0 -50
- package/dist/components/field/index.d.ts +0 -50
- package/dist/components/field/index.js +0 -4
- package/dist/components/file-upload/index.cjs +0 -60
- package/dist/components/file-upload/index.d.cts +0 -131
- package/dist/components/file-upload/index.d.ts +0 -131
- package/dist/components/file-upload/index.js +0 -3
- package/dist/components/header/index.cjs +0 -10
- package/dist/components/header/index.d.cts +0 -9
- package/dist/components/header/index.d.ts +0 -9
- package/dist/components/header/index.js +0 -1
- package/dist/components/input/index.cjs +0 -11
- package/dist/components/input/index.d.cts +0 -9
- package/dist/components/input/index.d.ts +0 -9
- package/dist/components/input/index.js +0 -2
- package/dist/components/item/index.cjs +0 -48
- package/dist/components/item/index.d.cts +0 -61
- package/dist/components/item/index.d.ts +0 -61
- package/dist/components/item/index.js +0 -3
- package/dist/components/label/index.cjs +0 -11
- package/dist/components/label/index.d.cts +0 -8
- package/dist/components/label/index.d.ts +0 -8
- package/dist/components/label/index.js +0 -2
- package/dist/components/marquee/index.cjs +0 -11
- package/dist/components/marquee/index.d.cts +0 -48
- package/dist/components/marquee/index.d.ts +0 -48
- package/dist/components/marquee/index.js +0 -2
- package/dist/components/masonry/index.cjs +0 -16
- package/dist/components/masonry/index.d.cts +0 -181
- package/dist/components/masonry/index.d.ts +0 -181
- package/dist/components/masonry/index.js +0 -3
- package/dist/components/popover/index.cjs +0 -35
- package/dist/components/popover/index.d.cts +0 -18
- package/dist/components/popover/index.d.ts +0 -18
- package/dist/components/popover/index.js +0 -2
- package/dist/components/progress/index.cjs +0 -11
- package/dist/components/progress/index.d.cts +0 -8
- package/dist/components/progress/index.d.ts +0 -8
- package/dist/components/progress/index.js +0 -2
- package/dist/components/radio-group/index.cjs +0 -15
- package/dist/components/radio-group/index.d.cts +0 -22
- package/dist/components/radio-group/index.d.ts +0 -22
- package/dist/components/radio-group/index.js +0 -2
- package/dist/components/scroll-area/index.cjs +0 -15
- package/dist/components/scroll-area/index.d.cts +0 -11
- package/dist/components/scroll-area/index.d.ts +0 -11
- package/dist/components/scroll-area/index.js +0 -2
- package/dist/components/select/index.cjs +0 -31
- package/dist/components/select/index.d.cts +0 -22
- package/dist/components/select/index.d.ts +0 -22
- package/dist/components/select/index.js +0 -2
- package/dist/components/separator/index.cjs +0 -11
- package/dist/components/separator/index.d.cts +0 -8
- package/dist/components/separator/index.d.ts +0 -8
- package/dist/components/separator/index.js +0 -2
- package/dist/components/sheet/index.cjs +0 -39
- package/dist/components/sheet/index.d.cts +0 -42
- package/dist/components/sheet/index.d.ts +0 -42
- package/dist/components/sheet/index.js +0 -2
- package/dist/components/sidebar/index.cjs +0 -148
- package/dist/components/sidebar/index.d.cts +0 -135
- package/dist/components/sidebar/index.d.ts +0 -135
- package/dist/components/sidebar/index.js +0 -43
- package/dist/components/skeleton/index.cjs +0 -11
- package/dist/components/skeleton/index.d.cts +0 -7
- package/dist/components/skeleton/index.d.ts +0 -7
- package/dist/components/skeleton/index.js +0 -2
- package/dist/components/sortable/index.cjs +0 -27
- package/dist/components/sortable/index.d.cts +0 -50
- package/dist/components/sortable/index.d.ts +0 -50
- package/dist/components/sortable/index.js +0 -2
- package/dist/components/spinner/index.cjs +0 -11
- package/dist/components/spinner/index.d.cts +0 -7
- package/dist/components/spinner/index.d.ts +0 -7
- package/dist/components/spinner/index.js +0 -2
- package/dist/components/status/index.cjs +0 -19
- package/dist/components/status/index.d.cts +0 -25
- package/dist/components/status/index.d.ts +0 -25
- package/dist/components/status/index.js +0 -2
- package/dist/components/stepper/index.cjs +0 -124
- package/dist/components/stepper/index.d.cts +0 -164
- package/dist/components/stepper/index.d.ts +0 -164
- package/dist/components/stepper/index.js +0 -43
- package/dist/components/switch/index.cjs +0 -11
- package/dist/components/switch/index.d.cts +0 -19
- package/dist/components/switch/index.d.ts +0 -19
- package/dist/components/switch/index.js +0 -2
- package/dist/components/tabs/index.cjs +0 -23
- package/dist/components/tabs/index.d.cts +0 -17
- package/dist/components/tabs/index.d.ts +0 -17
- package/dist/components/tabs/index.js +0 -2
- package/dist/components/textarea/index.cjs +0 -11
- package/dist/components/textarea/index.d.cts +0 -9
- package/dist/components/textarea/index.d.ts +0 -9
- package/dist/components/textarea/index.js +0 -2
- package/dist/components/timeline/index.cjs +0 -45
- package/dist/components/timeline/index.d.cts +0 -63
- package/dist/components/timeline/index.d.ts +0 -63
- package/dist/components/timeline/index.js +0 -4
- package/dist/components/toaster/index.cjs +0 -56
- package/dist/components/toaster/index.d.cts +0 -8
- package/dist/components/toaster/index.d.ts +0 -8
- package/dist/components/toaster/index.js +0 -43
- package/dist/components/tooltip/index.cjs +0 -19
- package/dist/components/tooltip/index.d.cts +0 -12
- package/dist/components/tooltip/index.d.ts +0 -12
- package/dist/components/tooltip/index.js +0 -2
- package/dist/components/typing-text/index.cjs +0 -11
- package/dist/components/typing-text/index.d.cts +0 -41
- package/dist/components/typing-text/index.d.ts +0 -41
- package/dist/components/typing-text/index.js +0 -2
- package/dist/components/word-rotate/index.cjs +0 -11
- package/dist/components/word-rotate/index.d.cts +0 -30
- package/dist/components/word-rotate/index.d.ts +0 -30
- package/dist/components/word-rotate/index.js +0 -2
- package/dist/direction-CUOPDLCj.d.cts +0 -7
- package/dist/direction-CUOPDLCj.d.ts +0 -7
- package/dist/popover-trigger-Cf4PPj0z.d.cts +0 -14
- package/dist/popover-trigger-Cf4PPj0z.d.ts +0 -14
- package/dist/select-Bf6XQtt-.d.cts +0 -12
- package/dist/select-Bf6XQtt-.d.ts +0 -12
- package/dist/tooltip-content-DqtogPBq.d.cts +0 -8
- package/dist/tooltip-content-DqtogPBq.d.ts +0 -8
|
@@ -1,238 +0,0 @@
|
|
|
1
|
-
import { Button } from '../../chunk-OIM2X2NK.js';
|
|
2
|
-
import '../../chunk-WMGJCB7O.js';
|
|
3
|
-
import '../../chunk-K5AURCK5.js';
|
|
4
|
-
import '../../chunk-IWF52DDE.js';
|
|
5
|
-
import '../../chunk-X5O7GP4S.js';
|
|
6
|
-
import '../../chunk-OCOCENE6.js';
|
|
7
|
-
import '../../chunk-OQCNPNPS.js';
|
|
8
|
-
import '../../chunk-VK2FJ65F.js';
|
|
9
|
-
import '../../chunk-U7XZJQ4O.js';
|
|
10
|
-
import '../../chunk-M7NIRB3U.js';
|
|
11
|
-
import '../../chunk-XKCLVPUC.js';
|
|
12
|
-
import '../../chunk-H5NHGMSQ.js';
|
|
13
|
-
import '../../chunk-X7WREEFD.js';
|
|
14
|
-
import '../../chunk-BUJO4FB6.js';
|
|
15
|
-
import '../../chunk-P5IUC7HJ.js';
|
|
16
|
-
import '../../chunk-S3ZUFD6U.js';
|
|
17
|
-
import '../../chunk-L2TRMQNN.js';
|
|
18
|
-
import '../../chunk-YUMKV5TH.js';
|
|
19
|
-
import '../../chunk-WCQ5WKCQ.js';
|
|
20
|
-
import '../../chunk-IZU3KULT.js';
|
|
21
|
-
import '../../chunk-PBEZZMAB.js';
|
|
22
|
-
import '../../chunk-4TRADSTP.js';
|
|
23
|
-
import '../../chunk-P4JIMFSL.js';
|
|
24
|
-
import '../../chunk-BTSHACKG.js';
|
|
25
|
-
import '../../chunk-OXZQGDTR.js';
|
|
26
|
-
import '../../chunk-HNRVLRMN.js';
|
|
27
|
-
import '../../chunk-3DP3VMPN.js';
|
|
28
|
-
import '../../chunk-A72LE53B.js';
|
|
29
|
-
import '../../chunk-I3RSTJP6.js';
|
|
30
|
-
import '../../chunk-VT5GDGZJ.js';
|
|
31
|
-
import '../../chunk-EOTQVIA5.js';
|
|
32
|
-
import '../../chunk-U3QKV7I4.js';
|
|
33
|
-
import '../../chunk-6BSR3O2J.js';
|
|
34
|
-
import '../../chunk-5F2Y65JH.js';
|
|
35
|
-
import '../../chunk-NXEZE7LG.js';
|
|
36
|
-
import '../../chunk-3RK5PCIC.js';
|
|
37
|
-
import '../../chunk-P4IL77YC.js';
|
|
38
|
-
import '../../chunk-G24PWQKG.js';
|
|
39
|
-
import '../../chunk-B7RHEMZH.js';
|
|
40
|
-
import '../../chunk-5MV54MWS.js';
|
|
41
|
-
import '../../chunk-5MJPZUTO.js';
|
|
42
|
-
import '../../chunk-XTKD76O5.js';
|
|
43
|
-
import { cn } from '../../chunk-ZD2QRAOX.js';
|
|
44
|
-
import * as React2 from 'react';
|
|
45
|
-
import useEmblaCarousel from 'embla-carousel-react';
|
|
46
|
-
import { cva } from 'class-variance-authority';
|
|
47
|
-
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
48
|
-
import { ArrowLeft, ArrowRight } from 'lucide-react';
|
|
49
|
-
|
|
50
|
-
var CarouselContext = React2.createContext(null);
|
|
51
|
-
function useCarousel() {
|
|
52
|
-
const context = React2.useContext(CarouselContext);
|
|
53
|
-
if (!context) {
|
|
54
|
-
throw new Error("useCarousel must be used within a <Carousel />");
|
|
55
|
-
}
|
|
56
|
-
return context;
|
|
57
|
-
}
|
|
58
|
-
var carouselVariants = cva("relative", {
|
|
59
|
-
variants: {
|
|
60
|
-
orientation: {
|
|
61
|
-
horizontal: "",
|
|
62
|
-
vertical: ""
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
defaultVariants: {
|
|
66
|
-
orientation: "horizontal"
|
|
67
|
-
}
|
|
68
|
-
});
|
|
69
|
-
var carouselContentVariants = cva("flex", {
|
|
70
|
-
variants: {
|
|
71
|
-
orientation: {
|
|
72
|
-
horizontal: "-ml-4",
|
|
73
|
-
vertical: "-mt-4 flex-col"
|
|
74
|
-
}
|
|
75
|
-
},
|
|
76
|
-
defaultVariants: {
|
|
77
|
-
orientation: "horizontal"
|
|
78
|
-
}
|
|
79
|
-
});
|
|
80
|
-
var carouselItemVariants = cva("min-w-0 shrink-0 grow-0 basis-full", {
|
|
81
|
-
variants: {
|
|
82
|
-
orientation: {
|
|
83
|
-
horizontal: "pl-4",
|
|
84
|
-
vertical: "pt-4"
|
|
85
|
-
}
|
|
86
|
-
},
|
|
87
|
-
defaultVariants: {
|
|
88
|
-
orientation: "horizontal"
|
|
89
|
-
}
|
|
90
|
-
});
|
|
91
|
-
function Carousel({
|
|
92
|
-
orientation = "horizontal",
|
|
93
|
-
opts,
|
|
94
|
-
setApi,
|
|
95
|
-
plugins,
|
|
96
|
-
className,
|
|
97
|
-
children,
|
|
98
|
-
...props
|
|
99
|
-
}) {
|
|
100
|
-
const [carouselRef, api] = useEmblaCarousel(
|
|
101
|
-
{
|
|
102
|
-
...opts,
|
|
103
|
-
axis: orientation === "horizontal" ? "x" : "y"
|
|
104
|
-
},
|
|
105
|
-
plugins
|
|
106
|
-
);
|
|
107
|
-
const [canScrollPrev, setCanScrollPrev] = React2.useState(false);
|
|
108
|
-
const [canScrollNext, setCanScrollNext] = React2.useState(false);
|
|
109
|
-
const onSelect = React2.useCallback((api2) => {
|
|
110
|
-
if (!api2) return;
|
|
111
|
-
setCanScrollPrev(api2.canScrollPrev());
|
|
112
|
-
setCanScrollNext(api2.canScrollNext());
|
|
113
|
-
}, []);
|
|
114
|
-
const scrollPrev = React2.useCallback(() => {
|
|
115
|
-
api?.scrollPrev();
|
|
116
|
-
}, [api]);
|
|
117
|
-
const scrollNext = React2.useCallback(() => {
|
|
118
|
-
api?.scrollNext();
|
|
119
|
-
}, [api]);
|
|
120
|
-
const handleKeyDown = React2.useCallback(
|
|
121
|
-
(event) => {
|
|
122
|
-
if (event.key === "ArrowLeft") {
|
|
123
|
-
event.preventDefault();
|
|
124
|
-
scrollPrev();
|
|
125
|
-
} else if (event.key === "ArrowRight") {
|
|
126
|
-
event.preventDefault();
|
|
127
|
-
scrollNext();
|
|
128
|
-
}
|
|
129
|
-
},
|
|
130
|
-
[scrollPrev, scrollNext]
|
|
131
|
-
);
|
|
132
|
-
React2.useEffect(() => {
|
|
133
|
-
if (!api || !setApi) return;
|
|
134
|
-
setApi(api);
|
|
135
|
-
}, [api, setApi]);
|
|
136
|
-
React2.useEffect(() => {
|
|
137
|
-
if (!api) return;
|
|
138
|
-
onSelect(api);
|
|
139
|
-
api.on("reInit", onSelect);
|
|
140
|
-
api.on("select", onSelect);
|
|
141
|
-
return () => {
|
|
142
|
-
api?.off("reInit", onSelect);
|
|
143
|
-
api?.off("select", onSelect);
|
|
144
|
-
};
|
|
145
|
-
}, [api, onSelect]);
|
|
146
|
-
return /* @__PURE__ */ jsx(
|
|
147
|
-
CarouselContext.Provider,
|
|
148
|
-
{
|
|
149
|
-
value: {
|
|
150
|
-
carouselRef,
|
|
151
|
-
api,
|
|
152
|
-
opts,
|
|
153
|
-
orientation: orientation || (opts?.axis === "y" ? "vertical" : "horizontal"),
|
|
154
|
-
scrollPrev,
|
|
155
|
-
scrollNext,
|
|
156
|
-
canScrollPrev,
|
|
157
|
-
canScrollNext
|
|
158
|
-
},
|
|
159
|
-
children: /* @__PURE__ */ jsx(
|
|
160
|
-
"div",
|
|
161
|
-
{
|
|
162
|
-
onKeyDownCapture: handleKeyDown,
|
|
163
|
-
className: carouselVariants({ orientation, className }),
|
|
164
|
-
role: "region",
|
|
165
|
-
"aria-roledescription": "carousel",
|
|
166
|
-
"data-slot": "carousel",
|
|
167
|
-
...props,
|
|
168
|
-
children
|
|
169
|
-
}
|
|
170
|
-
)
|
|
171
|
-
}
|
|
172
|
-
);
|
|
173
|
-
}
|
|
174
|
-
function CarouselContent({ className, ...props }) {
|
|
175
|
-
const { carouselRef, orientation } = useCarousel();
|
|
176
|
-
return /* @__PURE__ */ jsx("div", { ref: carouselRef, className: "overflow-hidden", "data-slot": "carousel-content", children: /* @__PURE__ */ jsx("div", { className: carouselContentVariants({ orientation, className }), ...props }) });
|
|
177
|
-
}
|
|
178
|
-
function CarouselItem({ className, ...props }) {
|
|
179
|
-
const { orientation } = useCarousel();
|
|
180
|
-
return /* @__PURE__ */ jsx(
|
|
181
|
-
"div",
|
|
182
|
-
{
|
|
183
|
-
role: "group",
|
|
184
|
-
"aria-roledescription": "slide",
|
|
185
|
-
"data-slot": "carousel-item",
|
|
186
|
-
className: carouselItemVariants({ orientation, className }),
|
|
187
|
-
...props
|
|
188
|
-
}
|
|
189
|
-
);
|
|
190
|
-
}
|
|
191
|
-
function CarouselPrevious({ className, variant = "outline", size = "icon", ...props }) {
|
|
192
|
-
const { orientation, scrollPrev, canScrollPrev } = useCarousel();
|
|
193
|
-
return /* @__PURE__ */ jsxs(
|
|
194
|
-
Button,
|
|
195
|
-
{
|
|
196
|
-
"data-slot": "carousel-previous",
|
|
197
|
-
variant,
|
|
198
|
-
size,
|
|
199
|
-
className: cn(
|
|
200
|
-
"absolute size-8 rounded-full",
|
|
201
|
-
orientation === "horizontal" ? "top-1/2 -left-12 -translate-y-1/2" : "-top-12 left-1/2 -translate-x-1/2 rotate-90",
|
|
202
|
-
className
|
|
203
|
-
),
|
|
204
|
-
disabled: !canScrollPrev,
|
|
205
|
-
onClick: scrollPrev,
|
|
206
|
-
...props,
|
|
207
|
-
children: [
|
|
208
|
-
/* @__PURE__ */ jsx(ArrowLeft, {}),
|
|
209
|
-
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Previous slide" })
|
|
210
|
-
]
|
|
211
|
-
}
|
|
212
|
-
);
|
|
213
|
-
}
|
|
214
|
-
function CarouselNext({ className, variant = "outline", size = "icon", ...props }) {
|
|
215
|
-
const { orientation, scrollNext, canScrollNext } = useCarousel();
|
|
216
|
-
return /* @__PURE__ */ jsxs(
|
|
217
|
-
Button,
|
|
218
|
-
{
|
|
219
|
-
"data-slot": "carousel-next",
|
|
220
|
-
variant,
|
|
221
|
-
size,
|
|
222
|
-
className: cn(
|
|
223
|
-
"absolute size-8 rounded-full",
|
|
224
|
-
orientation === "horizontal" ? "top-1/2 -right-12 -translate-y-1/2" : "-bottom-12 left-1/2 -translate-x-1/2 rotate-90",
|
|
225
|
-
className
|
|
226
|
-
),
|
|
227
|
-
disabled: !canScrollNext,
|
|
228
|
-
onClick: scrollNext,
|
|
229
|
-
...props,
|
|
230
|
-
children: [
|
|
231
|
-
/* @__PURE__ */ jsx(ArrowRight, {}),
|
|
232
|
-
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Next slide" })
|
|
233
|
-
]
|
|
234
|
-
}
|
|
235
|
-
);
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
export { Carousel, CarouselContent, CarouselContext, CarouselItem, CarouselNext, CarouselPrevious, useCarousel };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { Checkbox as Checkbox$1 } from 'radix-ui';
|
|
4
|
-
|
|
5
|
-
type CheckboxProps = React.ComponentProps<typeof Checkbox$1.Root>;
|
|
6
|
-
declare function Checkbox({ className, ...props }: CheckboxProps): react_jsx_runtime.JSX.Element;
|
|
7
|
-
|
|
8
|
-
export { Checkbox, type CheckboxProps };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { Checkbox as Checkbox$1 } from 'radix-ui';
|
|
4
|
-
|
|
5
|
-
type CheckboxProps = React.ComponentProps<typeof Checkbox$1.Root>;
|
|
6
|
-
declare function Checkbox({ className, ...props }: CheckboxProps): react_jsx_runtime.JSX.Element;
|
|
7
|
-
|
|
8
|
-
export { Checkbox, type CheckboxProps };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkSHPJGB2L_cjs = require('../../chunk-SHPJGB2L.cjs');
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Object.defineProperty(exports, "Collapsible", {
|
|
8
|
-
enumerable: true,
|
|
9
|
-
get: function () { return chunkSHPJGB2L_cjs.Collapsible; }
|
|
10
|
-
});
|
|
11
|
-
Object.defineProperty(exports, "CollapsibleContent", {
|
|
12
|
-
enumerable: true,
|
|
13
|
-
get: function () { return chunkSHPJGB2L_cjs.CollapsibleContent; }
|
|
14
|
-
});
|
|
15
|
-
Object.defineProperty(exports, "CollapsibleTrigger", {
|
|
16
|
-
enumerable: true,
|
|
17
|
-
get: function () { return chunkSHPJGB2L_cjs.CollapsibleTrigger; }
|
|
18
|
-
});
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { Collapsible as Collapsible$1 } from 'radix-ui';
|
|
4
|
-
|
|
5
|
-
type CollapsibleProps = React.ComponentProps<typeof Collapsible$1.Root>;
|
|
6
|
-
declare function Collapsible({ ...props }: CollapsibleProps): react_jsx_runtime.JSX.Element;
|
|
7
|
-
type CollapsibleTriggerProps = React.ComponentProps<typeof Collapsible$1.CollapsibleTrigger>;
|
|
8
|
-
declare function CollapsibleTrigger({ ...props }: CollapsibleTriggerProps): react_jsx_runtime.JSX.Element;
|
|
9
|
-
type CollapsibleContentProps = React.ComponentProps<typeof Collapsible$1.CollapsibleContent>;
|
|
10
|
-
declare function CollapsibleContent({ ...props }: CollapsibleContentProps): react_jsx_runtime.JSX.Element;
|
|
11
|
-
|
|
12
|
-
export { Collapsible, CollapsibleContent, type CollapsibleContentProps, type CollapsibleProps, CollapsibleTrigger, type CollapsibleTriggerProps };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { Collapsible as Collapsible$1 } from 'radix-ui';
|
|
4
|
-
|
|
5
|
-
type CollapsibleProps = React.ComponentProps<typeof Collapsible$1.Root>;
|
|
6
|
-
declare function Collapsible({ ...props }: CollapsibleProps): react_jsx_runtime.JSX.Element;
|
|
7
|
-
type CollapsibleTriggerProps = React.ComponentProps<typeof Collapsible$1.CollapsibleTrigger>;
|
|
8
|
-
declare function CollapsibleTrigger({ ...props }: CollapsibleTriggerProps): react_jsx_runtime.JSX.Element;
|
|
9
|
-
type CollapsibleContentProps = React.ComponentProps<typeof Collapsible$1.CollapsibleContent>;
|
|
10
|
-
declare function CollapsibleContent({ ...props }: CollapsibleContentProps): react_jsx_runtime.JSX.Element;
|
|
11
|
-
|
|
12
|
-
export { Collapsible, CollapsibleContent, type CollapsibleContentProps, type CollapsibleProps, CollapsibleTrigger, type CollapsibleTriggerProps };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Collapsible, CollapsibleContent, CollapsibleTrigger } from '../../chunk-NXEZE7LG.js';
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkMFTNHVPZ_cjs = require('../../chunk-MFTNHVPZ.cjs');
|
|
4
|
-
require('../../chunk-EUH466AL.cjs');
|
|
5
|
-
require('../../chunk-DGWBE2Y3.cjs');
|
|
6
|
-
require('../../chunk-GYXQUTWZ.cjs');
|
|
7
|
-
require('../../chunk-7OD2NBSV.cjs');
|
|
8
|
-
require('../../chunk-YEFLGE3L.cjs');
|
|
9
|
-
require('../../chunk-NU5UQPBX.cjs');
|
|
10
|
-
require('../../chunk-MNDQXDV4.cjs');
|
|
11
|
-
require('../../chunk-A7SBXO2Y.cjs');
|
|
12
|
-
require('../../chunk-UJX74PFK.cjs');
|
|
13
|
-
require('../../chunk-6HX7ETL3.cjs');
|
|
14
|
-
require('../../chunk-375QAB65.cjs');
|
|
15
|
-
require('../../chunk-KTAIBRTH.cjs');
|
|
16
|
-
require('../../chunk-CL2C6STG.cjs');
|
|
17
|
-
require('../../chunk-3WSQRFUY.cjs');
|
|
18
|
-
require('../../chunk-B4M7Q5KX.cjs');
|
|
19
|
-
require('../../chunk-UNOMGKAZ.cjs');
|
|
20
|
-
require('../../chunk-2WQJ36RD.cjs');
|
|
21
|
-
require('../../chunk-RKFU4DS3.cjs');
|
|
22
|
-
require('../../chunk-GEDBA3JU.cjs');
|
|
23
|
-
require('../../chunk-TH44JYXB.cjs');
|
|
24
|
-
require('../../chunk-XENOUBSI.cjs');
|
|
25
|
-
require('../../chunk-USIW3VT5.cjs');
|
|
26
|
-
require('../../chunk-VK5EX3OG.cjs');
|
|
27
|
-
require('../../chunk-YBFG2IRJ.cjs');
|
|
28
|
-
require('../../chunk-CXHDWIGF.cjs');
|
|
29
|
-
require('../../chunk-HPICKLBZ.cjs');
|
|
30
|
-
require('../../chunk-DUAM4RTP.cjs');
|
|
31
|
-
require('../../chunk-S3ANEJJ7.cjs');
|
|
32
|
-
require('../../chunk-6X26XC6P.cjs');
|
|
33
|
-
require('../../chunk-OZSNSRLV.cjs');
|
|
34
|
-
require('../../chunk-ZVF7J4EI.cjs');
|
|
35
|
-
require('../../chunk-2Y2ZCPNV.cjs');
|
|
36
|
-
require('../../chunk-HCHVDUI6.cjs');
|
|
37
|
-
require('../../chunk-SHPJGB2L.cjs');
|
|
38
|
-
require('../../chunk-ULEEQ723.cjs');
|
|
39
|
-
require('../../chunk-F7NFSDOD.cjs');
|
|
40
|
-
require('../../chunk-N4TYSZSU.cjs');
|
|
41
|
-
require('../../chunk-X3ZT3KGX.cjs');
|
|
42
|
-
require('../../chunk-3GNVQFCK.cjs');
|
|
43
|
-
require('../../chunk-TMXVL5CV.cjs');
|
|
44
|
-
require('../../chunk-4LNGZHF2.cjs');
|
|
45
|
-
require('../../chunk-H2BWO3SI.cjs');
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
Object.defineProperty(exports, "ColorPicker", {
|
|
50
|
-
enumerable: true,
|
|
51
|
-
get: function () { return chunkMFTNHVPZ_cjs.ColorPicker; }
|
|
52
|
-
});
|
|
53
|
-
Object.defineProperty(exports, "ColorPickerAlphaSlider", {
|
|
54
|
-
enumerable: true,
|
|
55
|
-
get: function () { return chunkMFTNHVPZ_cjs.ColorPickerAlphaSlider; }
|
|
56
|
-
});
|
|
57
|
-
Object.defineProperty(exports, "ColorPickerArea", {
|
|
58
|
-
enumerable: true,
|
|
59
|
-
get: function () { return chunkMFTNHVPZ_cjs.ColorPickerArea; }
|
|
60
|
-
});
|
|
61
|
-
Object.defineProperty(exports, "ColorPickerContent", {
|
|
62
|
-
enumerable: true,
|
|
63
|
-
get: function () { return chunkMFTNHVPZ_cjs.ColorPickerContent; }
|
|
64
|
-
});
|
|
65
|
-
Object.defineProperty(exports, "ColorPickerEyeDropper", {
|
|
66
|
-
enumerable: true,
|
|
67
|
-
get: function () { return chunkMFTNHVPZ_cjs.ColorPickerEyeDropper; }
|
|
68
|
-
});
|
|
69
|
-
Object.defineProperty(exports, "ColorPickerFormatSelect", {
|
|
70
|
-
enumerable: true,
|
|
71
|
-
get: function () { return chunkMFTNHVPZ_cjs.ColorPickerFormatSelect; }
|
|
72
|
-
});
|
|
73
|
-
Object.defineProperty(exports, "ColorPickerHueSlider", {
|
|
74
|
-
enumerable: true,
|
|
75
|
-
get: function () { return chunkMFTNHVPZ_cjs.ColorPickerHueSlider; }
|
|
76
|
-
});
|
|
77
|
-
Object.defineProperty(exports, "ColorPickerInput", {
|
|
78
|
-
enumerable: true,
|
|
79
|
-
get: function () { return chunkMFTNHVPZ_cjs.ColorPickerInput; }
|
|
80
|
-
});
|
|
81
|
-
Object.defineProperty(exports, "ColorPickerSwatch", {
|
|
82
|
-
enumerable: true,
|
|
83
|
-
get: function () { return chunkMFTNHVPZ_cjs.ColorPickerSwatch; }
|
|
84
|
-
});
|
|
85
|
-
Object.defineProperty(exports, "ColorPickerTrigger", {
|
|
86
|
-
enumerable: true,
|
|
87
|
-
get: function () { return chunkMFTNHVPZ_cjs.ColorPickerTrigger; }
|
|
88
|
-
});
|
|
89
|
-
Object.defineProperty(exports, "useColorPickerStore", {
|
|
90
|
-
enumerable: true,
|
|
91
|
-
get: function () { return chunkMFTNHVPZ_cjs.useColorPickerStore; }
|
|
92
|
-
});
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { P as Popover, d as PopoverTrigger, a as PopoverContent } from '../../popover-trigger-Cf4PPj0z.cjs';
|
|
4
|
-
import { D as Direction, C as ColorFormat, b as ColorValue, H as HSVColorValue } from '../../color-picker.types-GI7dq2Ig.cjs';
|
|
5
|
-
export { a as ColorPickerContextValue, E as EyeDropper } from '../../color-picker.types-GI7dq2Ig.cjs';
|
|
6
|
-
import { Slider } from 'radix-ui';
|
|
7
|
-
import { Button } from '../button/index.cjs';
|
|
8
|
-
import { S as Select } from '../../select-Bf6XQtt-.cjs';
|
|
9
|
-
import { Input } from '../input/index.cjs';
|
|
10
|
-
import 'class-variance-authority';
|
|
11
|
-
import 'class-variance-authority/types';
|
|
12
|
-
|
|
13
|
-
type ColorPickerProps = Omit<React.ComponentProps<"div">, "onValueChange"> & Pick<React.ComponentProps<typeof Popover>, "defaultOpen" | "open" | "onOpenChange" | "modal"> & {
|
|
14
|
-
value?: string;
|
|
15
|
-
defaultValue?: string;
|
|
16
|
-
onValueChange?: (value: string) => void;
|
|
17
|
-
dir?: Direction;
|
|
18
|
-
format?: ColorFormat;
|
|
19
|
-
defaultFormat?: ColorFormat;
|
|
20
|
-
onFormatChange?: (format: ColorFormat) => void;
|
|
21
|
-
name?: string;
|
|
22
|
-
asChild?: boolean;
|
|
23
|
-
disabled?: boolean;
|
|
24
|
-
inline?: boolean;
|
|
25
|
-
readOnly?: boolean;
|
|
26
|
-
required?: boolean;
|
|
27
|
-
};
|
|
28
|
-
declare function ColorPicker(props: ColorPickerProps): react_jsx_runtime.JSX.Element;
|
|
29
|
-
|
|
30
|
-
type ColorPickerTriggerProps = React.ComponentProps<typeof PopoverTrigger>;
|
|
31
|
-
declare function ColorPickerTrigger(props: ColorPickerTriggerProps): react_jsx_runtime.JSX.Element;
|
|
32
|
-
|
|
33
|
-
type ColorPickerContentProps = React.ComponentProps<typeof PopoverContent>;
|
|
34
|
-
declare function ColorPickerContent(props: ColorPickerContentProps): react_jsx_runtime.JSX.Element;
|
|
35
|
-
|
|
36
|
-
type ColorPickerAreaProps = React.ComponentProps<"div"> & {
|
|
37
|
-
asChild?: boolean;
|
|
38
|
-
};
|
|
39
|
-
declare function ColorPickerArea(props: ColorPickerAreaProps): react_jsx_runtime.JSX.Element;
|
|
40
|
-
|
|
41
|
-
type ColorPickerHueSliderProps = React.ComponentProps<typeof Slider.Root>;
|
|
42
|
-
declare function ColorPickerHueSlider(props: ColorPickerHueSliderProps): react_jsx_runtime.JSX.Element;
|
|
43
|
-
|
|
44
|
-
type ColorPickerAlphaSliderProps = React.ComponentProps<typeof Slider.Root>;
|
|
45
|
-
declare function ColorPickerAlphaSlider(props: ColorPickerAlphaSliderProps): react_jsx_runtime.JSX.Element;
|
|
46
|
-
|
|
47
|
-
type ColorPickerSwatchProps = React.ComponentProps<"div"> & {
|
|
48
|
-
asChild?: boolean;
|
|
49
|
-
};
|
|
50
|
-
declare function ColorPickerSwatch(props: ColorPickerSwatchProps): react_jsx_runtime.JSX.Element;
|
|
51
|
-
|
|
52
|
-
type ColorPickerEyeDropperProps = React.ComponentProps<typeof Button>;
|
|
53
|
-
declare function ColorPickerEyeDropper(props: ColorPickerEyeDropperProps): react_jsx_runtime.JSX.Element;
|
|
54
|
-
|
|
55
|
-
type ColorPickerFormatSelectProps = Omit<React.ComponentProps<typeof Select>, "value" | "onValueChange">;
|
|
56
|
-
declare function ColorPickerFormatSelect(props: ColorPickerFormatSelectProps): react_jsx_runtime.JSX.Element;
|
|
57
|
-
|
|
58
|
-
type ColorPickerInputProps = Omit<React.ComponentProps<typeof Input>, "value" | "onChange" | "color"> & {
|
|
59
|
-
withoutAlpha?: boolean;
|
|
60
|
-
};
|
|
61
|
-
declare function ColorPickerInput(props: ColorPickerInputProps): react_jsx_runtime.JSX.Element;
|
|
62
|
-
|
|
63
|
-
type ColorPickerStoreState = {
|
|
64
|
-
color: ColorValue;
|
|
65
|
-
hsv: HSVColorValue;
|
|
66
|
-
open: boolean;
|
|
67
|
-
format: ColorFormat;
|
|
68
|
-
};
|
|
69
|
-
declare function useColorPickerStore<U>(selector: (state: ColorPickerStoreState) => U): U;
|
|
70
|
-
|
|
71
|
-
export { ColorFormat, ColorPicker, ColorPickerAlphaSlider, type ColorPickerAlphaSliderProps, ColorPickerArea, type ColorPickerAreaProps, ColorPickerContent, type ColorPickerContentProps, ColorPickerEyeDropper, type ColorPickerEyeDropperProps, ColorPickerFormatSelect, type ColorPickerFormatSelectProps, ColorPickerHueSlider, type ColorPickerHueSliderProps, ColorPickerInput, type ColorPickerInputProps, type ColorPickerProps, ColorPickerSwatch, type ColorPickerSwatchProps, ColorPickerTrigger, type ColorPickerTriggerProps, ColorValue, Direction, HSVColorValue, useColorPickerStore };
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { P as Popover, d as PopoverTrigger, a as PopoverContent } from '../../popover-trigger-Cf4PPj0z.js';
|
|
4
|
-
import { D as Direction, C as ColorFormat, b as ColorValue, H as HSVColorValue } from '../../color-picker.types-GI7dq2Ig.js';
|
|
5
|
-
export { a as ColorPickerContextValue, E as EyeDropper } from '../../color-picker.types-GI7dq2Ig.js';
|
|
6
|
-
import { Slider } from 'radix-ui';
|
|
7
|
-
import { Button } from '../button/index.js';
|
|
8
|
-
import { S as Select } from '../../select-Bf6XQtt-.js';
|
|
9
|
-
import { Input } from '../input/index.js';
|
|
10
|
-
import 'class-variance-authority';
|
|
11
|
-
import 'class-variance-authority/types';
|
|
12
|
-
|
|
13
|
-
type ColorPickerProps = Omit<React.ComponentProps<"div">, "onValueChange"> & Pick<React.ComponentProps<typeof Popover>, "defaultOpen" | "open" | "onOpenChange" | "modal"> & {
|
|
14
|
-
value?: string;
|
|
15
|
-
defaultValue?: string;
|
|
16
|
-
onValueChange?: (value: string) => void;
|
|
17
|
-
dir?: Direction;
|
|
18
|
-
format?: ColorFormat;
|
|
19
|
-
defaultFormat?: ColorFormat;
|
|
20
|
-
onFormatChange?: (format: ColorFormat) => void;
|
|
21
|
-
name?: string;
|
|
22
|
-
asChild?: boolean;
|
|
23
|
-
disabled?: boolean;
|
|
24
|
-
inline?: boolean;
|
|
25
|
-
readOnly?: boolean;
|
|
26
|
-
required?: boolean;
|
|
27
|
-
};
|
|
28
|
-
declare function ColorPicker(props: ColorPickerProps): react_jsx_runtime.JSX.Element;
|
|
29
|
-
|
|
30
|
-
type ColorPickerTriggerProps = React.ComponentProps<typeof PopoverTrigger>;
|
|
31
|
-
declare function ColorPickerTrigger(props: ColorPickerTriggerProps): react_jsx_runtime.JSX.Element;
|
|
32
|
-
|
|
33
|
-
type ColorPickerContentProps = React.ComponentProps<typeof PopoverContent>;
|
|
34
|
-
declare function ColorPickerContent(props: ColorPickerContentProps): react_jsx_runtime.JSX.Element;
|
|
35
|
-
|
|
36
|
-
type ColorPickerAreaProps = React.ComponentProps<"div"> & {
|
|
37
|
-
asChild?: boolean;
|
|
38
|
-
};
|
|
39
|
-
declare function ColorPickerArea(props: ColorPickerAreaProps): react_jsx_runtime.JSX.Element;
|
|
40
|
-
|
|
41
|
-
type ColorPickerHueSliderProps = React.ComponentProps<typeof Slider.Root>;
|
|
42
|
-
declare function ColorPickerHueSlider(props: ColorPickerHueSliderProps): react_jsx_runtime.JSX.Element;
|
|
43
|
-
|
|
44
|
-
type ColorPickerAlphaSliderProps = React.ComponentProps<typeof Slider.Root>;
|
|
45
|
-
declare function ColorPickerAlphaSlider(props: ColorPickerAlphaSliderProps): react_jsx_runtime.JSX.Element;
|
|
46
|
-
|
|
47
|
-
type ColorPickerSwatchProps = React.ComponentProps<"div"> & {
|
|
48
|
-
asChild?: boolean;
|
|
49
|
-
};
|
|
50
|
-
declare function ColorPickerSwatch(props: ColorPickerSwatchProps): react_jsx_runtime.JSX.Element;
|
|
51
|
-
|
|
52
|
-
type ColorPickerEyeDropperProps = React.ComponentProps<typeof Button>;
|
|
53
|
-
declare function ColorPickerEyeDropper(props: ColorPickerEyeDropperProps): react_jsx_runtime.JSX.Element;
|
|
54
|
-
|
|
55
|
-
type ColorPickerFormatSelectProps = Omit<React.ComponentProps<typeof Select>, "value" | "onValueChange">;
|
|
56
|
-
declare function ColorPickerFormatSelect(props: ColorPickerFormatSelectProps): react_jsx_runtime.JSX.Element;
|
|
57
|
-
|
|
58
|
-
type ColorPickerInputProps = Omit<React.ComponentProps<typeof Input>, "value" | "onChange" | "color"> & {
|
|
59
|
-
withoutAlpha?: boolean;
|
|
60
|
-
};
|
|
61
|
-
declare function ColorPickerInput(props: ColorPickerInputProps): react_jsx_runtime.JSX.Element;
|
|
62
|
-
|
|
63
|
-
type ColorPickerStoreState = {
|
|
64
|
-
color: ColorValue;
|
|
65
|
-
hsv: HSVColorValue;
|
|
66
|
-
open: boolean;
|
|
67
|
-
format: ColorFormat;
|
|
68
|
-
};
|
|
69
|
-
declare function useColorPickerStore<U>(selector: (state: ColorPickerStoreState) => U): U;
|
|
70
|
-
|
|
71
|
-
export { ColorFormat, ColorPicker, ColorPickerAlphaSlider, type ColorPickerAlphaSliderProps, ColorPickerArea, type ColorPickerAreaProps, ColorPickerContent, type ColorPickerContentProps, ColorPickerEyeDropper, type ColorPickerEyeDropperProps, ColorPickerFormatSelect, type ColorPickerFormatSelectProps, ColorPickerHueSlider, type ColorPickerHueSliderProps, ColorPickerInput, type ColorPickerInputProps, type ColorPickerProps, ColorPickerSwatch, type ColorPickerSwatchProps, ColorPickerTrigger, type ColorPickerTriggerProps, ColorValue, Direction, HSVColorValue, useColorPickerStore };
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
export { ColorPicker, ColorPickerAlphaSlider, ColorPickerArea, ColorPickerContent, ColorPickerEyeDropper, ColorPickerFormatSelect, ColorPickerHueSlider, ColorPickerInput, ColorPickerSwatch, ColorPickerTrigger, useColorPickerStore } from '../../chunk-OIM2X2NK.js';
|
|
2
|
-
import '../../chunk-WMGJCB7O.js';
|
|
3
|
-
import '../../chunk-K5AURCK5.js';
|
|
4
|
-
import '../../chunk-IWF52DDE.js';
|
|
5
|
-
import '../../chunk-X5O7GP4S.js';
|
|
6
|
-
import '../../chunk-OCOCENE6.js';
|
|
7
|
-
import '../../chunk-OQCNPNPS.js';
|
|
8
|
-
import '../../chunk-VK2FJ65F.js';
|
|
9
|
-
import '../../chunk-U7XZJQ4O.js';
|
|
10
|
-
import '../../chunk-M7NIRB3U.js';
|
|
11
|
-
import '../../chunk-XKCLVPUC.js';
|
|
12
|
-
import '../../chunk-H5NHGMSQ.js';
|
|
13
|
-
import '../../chunk-X7WREEFD.js';
|
|
14
|
-
import '../../chunk-BUJO4FB6.js';
|
|
15
|
-
import '../../chunk-P5IUC7HJ.js';
|
|
16
|
-
import '../../chunk-S3ZUFD6U.js';
|
|
17
|
-
import '../../chunk-L2TRMQNN.js';
|
|
18
|
-
import '../../chunk-YUMKV5TH.js';
|
|
19
|
-
import '../../chunk-WCQ5WKCQ.js';
|
|
20
|
-
import '../../chunk-IZU3KULT.js';
|
|
21
|
-
import '../../chunk-PBEZZMAB.js';
|
|
22
|
-
import '../../chunk-4TRADSTP.js';
|
|
23
|
-
import '../../chunk-P4JIMFSL.js';
|
|
24
|
-
import '../../chunk-BTSHACKG.js';
|
|
25
|
-
import '../../chunk-OXZQGDTR.js';
|
|
26
|
-
import '../../chunk-HNRVLRMN.js';
|
|
27
|
-
import '../../chunk-3DP3VMPN.js';
|
|
28
|
-
import '../../chunk-A72LE53B.js';
|
|
29
|
-
import '../../chunk-I3RSTJP6.js';
|
|
30
|
-
import '../../chunk-VT5GDGZJ.js';
|
|
31
|
-
import '../../chunk-EOTQVIA5.js';
|
|
32
|
-
import '../../chunk-U3QKV7I4.js';
|
|
33
|
-
import '../../chunk-6BSR3O2J.js';
|
|
34
|
-
import '../../chunk-5F2Y65JH.js';
|
|
35
|
-
import '../../chunk-NXEZE7LG.js';
|
|
36
|
-
import '../../chunk-3RK5PCIC.js';
|
|
37
|
-
import '../../chunk-P4IL77YC.js';
|
|
38
|
-
import '../../chunk-G24PWQKG.js';
|
|
39
|
-
import '../../chunk-B7RHEMZH.js';
|
|
40
|
-
import '../../chunk-5MV54MWS.js';
|
|
41
|
-
import '../../chunk-5MJPZUTO.js';
|
|
42
|
-
import '../../chunk-XTKD76O5.js';
|
|
43
|
-
import '../../chunk-ZD2QRAOX.js';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkULEEQ723_cjs = require('../../chunk-ULEEQ723.cjs');
|
|
4
|
-
require('../../chunk-H2BWO3SI.cjs');
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Object.defineProperty(exports, "ColorSwatch", {
|
|
9
|
-
enumerable: true,
|
|
10
|
-
get: function () { return chunkULEEQ723_cjs.ColorSwatch; }
|
|
11
|
-
});
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { VariantProps } from 'class-variance-authority';
|
|
4
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
5
|
-
|
|
6
|
-
declare const colorSwatchVariants: (props?: {
|
|
7
|
-
size?: "default" | "sm" | "lg";
|
|
8
|
-
} & class_variance_authority_types.ClassProp) => string;
|
|
9
|
-
|
|
10
|
-
type ColorSwatchVariantsProps = VariantProps<typeof colorSwatchVariants>;
|
|
11
|
-
type ColorSwatchSize = NonNullable<ColorSwatchVariantsProps["size"]>;
|
|
12
|
-
|
|
13
|
-
type ColorSwatchProps = React.ComponentProps<"div"> & {
|
|
14
|
-
size?: ColorSwatchSize;
|
|
15
|
-
color?: string;
|
|
16
|
-
asChild?: boolean;
|
|
17
|
-
disabled?: boolean;
|
|
18
|
-
withoutTransparency?: boolean;
|
|
19
|
-
};
|
|
20
|
-
declare function ColorSwatch({ color, size, asChild, disabled, withoutTransparency, className, style, ...props }: ColorSwatchProps): react_jsx_runtime.JSX.Element;
|
|
21
|
-
|
|
22
|
-
export { ColorSwatch, type ColorSwatchProps, type ColorSwatchSize };
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { VariantProps } from 'class-variance-authority';
|
|
4
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
5
|
-
|
|
6
|
-
declare const colorSwatchVariants: (props?: {
|
|
7
|
-
size?: "default" | "sm" | "lg";
|
|
8
|
-
} & class_variance_authority_types.ClassProp) => string;
|
|
9
|
-
|
|
10
|
-
type ColorSwatchVariantsProps = VariantProps<typeof colorSwatchVariants>;
|
|
11
|
-
type ColorSwatchSize = NonNullable<ColorSwatchVariantsProps["size"]>;
|
|
12
|
-
|
|
13
|
-
type ColorSwatchProps = React.ComponentProps<"div"> & {
|
|
14
|
-
size?: ColorSwatchSize;
|
|
15
|
-
color?: string;
|
|
16
|
-
asChild?: boolean;
|
|
17
|
-
disabled?: boolean;
|
|
18
|
-
withoutTransparency?: boolean;
|
|
19
|
-
};
|
|
20
|
-
declare function ColorSwatch({ color, size, asChild, disabled, withoutTransparency, className, style, ...props }: ColorSwatchProps): react_jsx_runtime.JSX.Element;
|
|
21
|
-
|
|
22
|
-
export { ColorSwatch, type ColorSwatchProps, type ColorSwatchSize };
|