@szum-tech/design-system 3.21.2 → 3.21.4
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-23A6WFUV.js +1 -0
- package/dist/chunk-2AH7SOV6.js +1 -0
- package/dist/chunk-2C332B6Y.js +1 -0
- package/dist/chunk-2JMM4NLZ.js +1 -0
- package/dist/chunk-2N7WPWTQ.cjs +1 -0
- package/dist/chunk-3DN4QAKT.js +1 -0
- package/dist/chunk-3HJVMA3Y.js +1 -0
- package/dist/chunk-4HJVF7MU.js +1 -0
- package/dist/chunk-4P7FA4TE.js +1 -0
- package/dist/chunk-4UKYFAUY.js +1 -0
- package/dist/chunk-5VGX66EU.cjs +1 -0
- package/dist/chunk-62XFAU6W.js +1 -0
- package/dist/chunk-67GWWN7I.js +1 -0
- package/dist/chunk-6WS6H4C4.js +1 -0
- package/dist/chunk-7BQ6EL6M.js +1 -0
- package/dist/chunk-7H6FG3WK.js +1 -0
- package/dist/chunk-7R2T3GNS.cjs +1 -0
- package/dist/chunk-7Y7RKESQ.cjs +1 -0
- package/dist/chunk-A6LUHJMH.cjs +1 -0
- package/dist/chunk-ACNSHHAQ.cjs +1 -0
- package/dist/chunk-AICUVCRQ.cjs +1 -0
- package/dist/chunk-AKN26JEV.js +1 -0
- package/dist/chunk-AVJKAASP.js +1 -0
- package/dist/chunk-B2ZOXJNN.js +1 -0
- package/dist/chunk-BKY5LQPI.cjs +1 -0
- package/dist/chunk-BRJDOXUG.cjs +1 -0
- package/dist/chunk-BW4UM36V.cjs +1 -0
- package/dist/chunk-DGPWM6UM.cjs +1 -0
- package/dist/chunk-DPQJSMYF.js +1 -0
- package/dist/chunk-DZ7DT62T.cjs +1 -0
- package/dist/chunk-EF3PDEN7.cjs +1 -0
- package/dist/chunk-ENTQSC4A.cjs +1 -0
- package/dist/chunk-ERFTRXVE.cjs +1 -0
- package/dist/chunk-ES2TETW4.js +1 -0
- package/dist/chunk-F3K5ZFQ6.cjs +1 -0
- package/dist/chunk-FC6LMBMW.cjs +1 -0
- package/dist/chunk-FLOFQPVA.js +1 -0
- package/dist/chunk-FQARF7UI.cjs +1 -0
- package/dist/chunk-FS2PQIQR.cjs +1 -0
- package/dist/chunk-G3YTZWUP.cjs +1 -0
- package/dist/chunk-G7AVPKVK.js +1 -0
- package/dist/chunk-GY6X4JNZ.cjs +1 -0
- package/dist/chunk-I34YETHP.js +1 -0
- package/dist/chunk-ICTWPCCZ.js +1 -0
- package/dist/chunk-IL2G4IA6.cjs +1 -0
- package/dist/chunk-IPNUUONG.cjs +1 -0
- package/dist/chunk-ISJX4DHQ.cjs +1 -0
- package/dist/chunk-J56ALTTI.cjs +1 -0
- package/dist/chunk-JDTFVC5U.cjs +1 -0
- package/dist/chunk-JJSNMSDN.js +1 -0
- package/dist/chunk-JQ6RITJD.js +1 -0
- package/dist/chunk-JRHO3R2D.cjs +1 -0
- package/dist/chunk-JSNRCKEQ.cjs +1 -0
- package/dist/chunk-K7HD7TTL.js +1 -0
- package/dist/chunk-KJ2NS3A4.cjs +1 -0
- package/dist/chunk-KK77ZUTM.js +3 -0
- package/dist/chunk-KKNWNP5K.cjs +1 -0
- package/dist/chunk-KSOL4P3N.cjs +1 -0
- package/dist/chunk-KXDY6F4D.cjs +1 -0
- package/dist/chunk-L3KN3OD6.cjs +1 -0
- package/dist/chunk-LFLKBQME.js +1 -0
- package/dist/chunk-LINRYPF6.js +1 -0
- package/dist/chunk-LKLBA46K.js +1 -0
- package/dist/chunk-M7WD2A7J.js +1 -0
- package/dist/chunk-MGZN4ZZO.js +1 -0
- package/dist/chunk-MYAWR6XV.js +1 -0
- package/dist/chunk-MYUGJK5W.cjs +1 -0
- package/dist/chunk-MZSK7XYX.cjs +1 -0
- package/dist/chunk-NCYJMBQ4.js +1 -0
- package/dist/chunk-NDNN5OPT.cjs +1 -0
- package/dist/chunk-NIEMIU4R.js +1 -0
- package/dist/chunk-NLG2SYHK.js +1 -0
- package/dist/chunk-NY7ACKFG.js +1 -0
- package/dist/chunk-OGXLOWOW.cjs +1 -0
- package/dist/chunk-ORBKSP3P.cjs +1 -0
- package/dist/chunk-OSZ23462.cjs +1 -0
- package/dist/chunk-OZOU5VIJ.cjs +1 -0
- package/dist/chunk-P6UGMTHQ.cjs +1 -0
- package/dist/chunk-PCXW63TU.cjs +1 -0
- package/dist/chunk-PM47QWBS.cjs +1 -0
- package/dist/chunk-PRZYYO6K.cjs +1 -0
- package/dist/chunk-PWLEYC64.cjs +1 -0
- package/dist/chunk-PX2ODQJ5.js +1 -0
- package/dist/chunk-QEOKSP3L.js +1 -0
- package/dist/chunk-QG3K5AP4.cjs +1 -0
- package/dist/chunk-R34KUOGG.cjs +1 -0
- package/dist/chunk-RGM4EGHK.js +1 -0
- package/dist/chunk-RHSJDTHB.js +1 -0
- package/dist/chunk-RLIRZKVF.js +1 -0
- package/dist/chunk-RLQVCUZA.js +1 -0
- package/dist/chunk-RX2UDFWI.js +1 -0
- package/dist/chunk-RX7KJRET.cjs +1 -0
- package/dist/chunk-T5OEYINH.cjs +1 -0
- package/dist/chunk-TGXACNQG.js +1 -0
- package/dist/chunk-TKQZPNBC.js +1 -0
- package/dist/chunk-UDPDQIUS.js +1 -0
- package/dist/chunk-UR3YFSC4.js +1 -0
- package/dist/chunk-VJOV24EO.cjs +1 -0
- package/dist/chunk-W5V46XEQ.js +1 -0
- package/dist/chunk-W5VNXRV6.js +1 -0
- package/dist/chunk-WIJQKN43.js +1 -0
- package/dist/chunk-WNOZNJNR.cjs +1 -0
- package/dist/chunk-WOP2SCMO.cjs +1 -0
- package/dist/chunk-WOZD6EGQ.cjs +1 -0
- package/dist/chunk-X3G5BCY6.js +1 -0
- package/dist/chunk-X3NAZA44.js +1 -0
- package/dist/chunk-XFGLKGTI.cjs +1 -0
- package/dist/chunk-XFXHNSWP.cjs +1 -0
- package/dist/chunk-XKHU627O.js +1 -0
- package/dist/chunk-Y4B5ELOS.js +1 -0
- package/dist/chunk-YN55O3IX.cjs +1 -0
- package/dist/chunk-Z3EMAPPK.js +1 -0
- package/dist/chunk-ZGDGO7ES.cjs +3 -0
- package/dist/chunk-ZGZS5I45.js +1 -0
- package/dist/components/accordion/index.cjs +3 -0
- package/dist/components/accordion/index.d.cts +17 -0
- package/dist/components/accordion/index.d.ts +17 -0
- package/dist/components/accordion/index.js +3 -0
- package/dist/components/alert/index.cjs +3 -0
- package/dist/components/alert/index.d.cts +24 -0
- package/dist/components/alert/index.d.ts +24 -0
- package/dist/components/alert/index.js +3 -0
- package/dist/components/alert-dialog/index.cjs +3 -0
- package/dist/components/alert-dialog/index.d.cts +47 -0
- package/dist/components/alert-dialog/index.d.ts +47 -0
- package/dist/components/alert-dialog/index.js +3 -0
- package/dist/components/avatar/index.cjs +3 -0
- package/dist/components/avatar/index.d.cts +14 -0
- package/dist/components/avatar/index.d.ts +14 -0
- package/dist/components/avatar/index.js +3 -0
- package/dist/components/badge/index.cjs +3 -0
- package/dist/components/badge/index.d.cts +28 -0
- package/dist/components/badge/index.d.ts +28 -0
- package/dist/components/badge/index.js +3 -0
- package/dist/components/badge-overflow/index.cjs +3 -0
- package/dist/components/badge-overflow/index.d.cts +21 -0
- package/dist/components/badge-overflow/index.d.ts +21 -0
- package/dist/components/badge-overflow/index.js +3 -0
- package/dist/components/breadcrump/index.cjs +3 -0
- package/dist/components/breadcrump/index.d.cts +21 -0
- package/dist/components/breadcrump/index.d.ts +21 -0
- package/dist/components/breadcrump/index.js +3 -0
- package/dist/components/button/index.cjs +3 -0
- package/dist/components/button/index.d.cts +53 -0
- package/dist/components/button/index.d.ts +53 -0
- package/dist/components/button/index.js +3 -0
- package/dist/components/button-group/index.cjs +3 -0
- package/dist/components/button-group/index.d.cts +28 -0
- package/dist/components/button-group/index.d.ts +28 -0
- package/dist/components/button-group/index.js +3 -0
- package/dist/components/card/index.cjs +3 -0
- package/dist/components/card/index.d.cts +25 -0
- package/dist/components/card/index.d.ts +25 -0
- package/dist/components/card/index.js +3 -0
- package/dist/components/carousel/index.cjs +3 -0
- package/dist/components/carousel/index.d.cts +47 -0
- package/dist/components/carousel/index.d.ts +47 -0
- package/dist/components/carousel/index.js +3 -0
- package/dist/components/checkbox/index.cjs +3 -0
- package/dist/components/checkbox/index.d.cts +8 -0
- package/dist/components/checkbox/index.d.ts +8 -0
- package/dist/components/checkbox/index.js +3 -0
- package/dist/components/collapsible/index.cjs +3 -0
- package/dist/components/collapsible/index.d.cts +12 -0
- package/dist/components/collapsible/index.d.ts +12 -0
- package/dist/components/collapsible/index.js +3 -0
- package/dist/components/color-picker/index.cjs +3 -0
- package/dist/components/color-picker/index.d.cts +110 -0
- package/dist/components/color-picker/index.d.ts +110 -0
- package/dist/components/color-picker/index.js +3 -0
- package/dist/components/color-swatch/index.cjs +3 -0
- package/dist/components/color-swatch/index.d.cts +22 -0
- package/dist/components/color-swatch/index.d.ts +22 -0
- package/dist/components/color-swatch/index.js +3 -0
- package/dist/components/combobox/index.cjs +3 -0
- package/dist/components/combobox/index.d.cts +59 -0
- package/dist/components/combobox/index.d.ts +59 -0
- package/dist/components/combobox/index.js +3 -0
- package/dist/components/counting-number/index.cjs +3 -0
- package/dist/components/counting-number/index.d.cts +57 -0
- package/dist/components/counting-number/index.d.ts +57 -0
- package/dist/components/counting-number/index.js +3 -0
- package/dist/components/dialog/index.cjs +3 -0
- package/dist/components/dialog/index.d.cts +41 -0
- package/dist/components/dialog/index.d.ts +41 -0
- package/dist/components/dialog/index.js +3 -0
- package/dist/components/dropdown-menu/index.cjs +3 -0
- package/dist/components/dropdown-menu/index.d.cts +67 -0
- package/dist/components/dropdown-menu/index.d.ts +67 -0
- package/dist/components/dropdown-menu/index.js +3 -0
- package/dist/components/empty/index.cjs +3 -0
- package/dist/components/empty/index.d.cts +29 -0
- package/dist/components/empty/index.d.ts +29 -0
- package/dist/components/empty/index.js +3 -0
- package/dist/components/field/index.cjs +3 -0
- package/dist/components/field/index.d.cts +50 -0
- package/dist/components/field/index.d.ts +50 -0
- package/dist/components/field/index.js +3 -0
- package/dist/components/file-upload/index.cjs +3 -0
- package/dist/components/file-upload/index.d.cts +131 -0
- package/dist/components/file-upload/index.d.ts +131 -0
- package/dist/components/file-upload/index.js +3 -0
- package/dist/components/header/index.cjs +3 -0
- package/dist/components/header/index.d.cts +18 -0
- package/dist/components/header/index.d.ts +18 -0
- package/dist/components/header/index.js +3 -0
- package/dist/components/index.cjs +1 -1
- package/dist/components/index.d.cts +66 -1785
- package/dist/components/index.d.ts +66 -1785
- package/dist/components/index.js +1 -1
- package/dist/components/input/index.cjs +3 -0
- package/dist/components/input/index.d.cts +9 -0
- package/dist/components/input/index.d.ts +9 -0
- package/dist/components/input/index.js +3 -0
- package/dist/components/input-group/index.cjs +3 -0
- package/dist/components/input-group/index.d.cts +46 -0
- package/dist/components/input-group/index.d.ts +46 -0
- package/dist/components/input-group/index.js +3 -0
- package/dist/components/item/index.cjs +3 -0
- package/dist/components/item/index.d.cts +60 -0
- package/dist/components/item/index.d.ts +60 -0
- package/dist/components/item/index.js +3 -0
- package/dist/components/kbd/index.cjs +3 -0
- package/dist/components/kbd/index.d.cts +10 -0
- package/dist/components/kbd/index.d.ts +10 -0
- package/dist/components/kbd/index.js +3 -0
- package/dist/components/label/index.cjs +3 -0
- package/dist/components/label/index.d.cts +8 -0
- package/dist/components/label/index.d.ts +8 -0
- package/dist/components/label/index.js +3 -0
- package/dist/components/marquee/index.cjs +3 -0
- package/dist/components/marquee/index.d.cts +48 -0
- package/dist/components/marquee/index.d.ts +48 -0
- package/dist/components/marquee/index.js +3 -0
- package/dist/components/masonry/index.cjs +3 -0
- package/dist/components/masonry/index.d.cts +181 -0
- package/dist/components/masonry/index.d.ts +181 -0
- package/dist/components/masonry/index.js +3 -0
- package/dist/components/pagination/index.cjs +3 -0
- package/dist/components/pagination/index.d.cts +35 -0
- package/dist/components/pagination/index.d.ts +35 -0
- package/dist/components/pagination/index.js +3 -0
- package/dist/components/popover/index.cjs +3 -0
- package/dist/components/popover/index.d.cts +18 -0
- package/dist/components/popover/index.d.ts +18 -0
- package/dist/components/popover/index.js +3 -0
- package/dist/components/progress/index.cjs +3 -0
- package/dist/components/progress/index.d.cts +8 -0
- package/dist/components/progress/index.d.ts +8 -0
- package/dist/components/progress/index.js +3 -0
- package/dist/components/radio-group/index.cjs +3 -0
- package/dist/components/radio-group/index.d.cts +22 -0
- package/dist/components/radio-group/index.d.ts +22 -0
- package/dist/components/radio-group/index.js +3 -0
- package/dist/components/scroll-area/index.cjs +3 -0
- package/dist/components/scroll-area/index.d.cts +11 -0
- package/dist/components/scroll-area/index.d.ts +11 -0
- package/dist/components/scroll-area/index.js +3 -0
- package/dist/components/select/index.cjs +3 -0
- package/dist/components/select/index.d.cts +22 -0
- package/dist/components/select/index.d.ts +22 -0
- package/dist/components/select/index.js +3 -0
- package/dist/components/separator/index.cjs +3 -0
- package/dist/components/separator/index.d.cts +8 -0
- package/dist/components/separator/index.d.ts +8 -0
- package/dist/components/separator/index.js +3 -0
- package/dist/components/sheet/index.cjs +3 -0
- package/dist/components/sheet/index.d.cts +41 -0
- package/dist/components/sheet/index.d.ts +41 -0
- package/dist/components/sheet/index.js +3 -0
- package/dist/components/sidebar/index.cjs +3 -0
- package/dist/components/sidebar/index.d.cts +134 -0
- package/dist/components/sidebar/index.d.ts +134 -0
- package/dist/components/sidebar/index.js +3 -0
- package/dist/components/skeleton/index.cjs +3 -0
- package/dist/components/skeleton/index.d.cts +7 -0
- package/dist/components/skeleton/index.d.ts +7 -0
- package/dist/components/skeleton/index.js +3 -0
- package/dist/components/sortable/index.cjs +3 -0
- package/dist/components/sortable/index.d.cts +50 -0
- package/dist/components/sortable/index.d.ts +50 -0
- package/dist/components/sortable/index.js +3 -0
- package/dist/components/spinner/index.cjs +3 -0
- package/dist/components/spinner/index.d.cts +7 -0
- package/dist/components/spinner/index.d.ts +7 -0
- package/dist/components/spinner/index.js +3 -0
- package/dist/components/status/index.cjs +3 -0
- package/dist/components/status/index.d.cts +25 -0
- package/dist/components/status/index.d.ts +25 -0
- package/dist/components/status/index.js +3 -0
- package/dist/components/stepper/index.cjs +3 -0
- package/dist/components/stepper/index.d.cts +163 -0
- package/dist/components/stepper/index.d.ts +163 -0
- package/dist/components/stepper/index.js +3 -0
- package/dist/components/switch/index.cjs +3 -0
- package/dist/components/switch/index.d.cts +19 -0
- package/dist/components/switch/index.d.ts +19 -0
- package/dist/components/switch/index.js +3 -0
- package/dist/components/table/index.cjs +3 -0
- package/dist/components/table/index.d.cts +28 -0
- package/dist/components/table/index.d.ts +28 -0
- package/dist/components/table/index.js +3 -0
- package/dist/components/tabs/index.cjs +3 -0
- package/dist/components/tabs/index.d.cts +28 -0
- package/dist/components/tabs/index.d.ts +28 -0
- package/dist/components/tabs/index.js +3 -0
- package/dist/components/textarea/index.cjs +3 -0
- package/dist/components/textarea/index.d.cts +9 -0
- package/dist/components/textarea/index.d.ts +9 -0
- package/dist/components/textarea/index.js +3 -0
- package/dist/components/timeline/index.cjs +3 -0
- package/dist/components/timeline/index.d.cts +62 -0
- package/dist/components/timeline/index.d.ts +62 -0
- package/dist/components/timeline/index.js +3 -0
- package/dist/components/toaster/index.cjs +3 -0
- package/dist/components/toaster/index.d.cts +8 -0
- package/dist/components/toaster/index.d.ts +8 -0
- package/dist/components/toaster/index.js +3 -0
- package/dist/components/toggle/index.cjs +3 -0
- package/dist/components/toggle/index.d.cts +14 -0
- package/dist/components/toggle/index.d.ts +14 -0
- package/dist/components/toggle/index.js +3 -0
- package/dist/components/toggle-group/index.cjs +3 -0
- package/dist/components/toggle-group/index.d.cts +26 -0
- package/dist/components/toggle-group/index.d.ts +26 -0
- package/dist/components/toggle-group/index.js +3 -0
- package/dist/components/tooltip/index.cjs +3 -0
- package/dist/components/tooltip/index.d.cts +12 -0
- package/dist/components/tooltip/index.d.ts +12 -0
- package/dist/components/tooltip/index.js +3 -0
- package/dist/components/typing-text/index.cjs +3 -0
- package/dist/components/typing-text/index.d.cts +40 -0
- package/dist/components/typing-text/index.d.ts +40 -0
- package/dist/components/typing-text/index.js +3 -0
- package/dist/components/word-rotate/index.cjs +3 -0
- package/dist/components/word-rotate/index.d.cts +29 -0
- package/dist/components/word-rotate/index.d.ts +29 -0
- package/dist/components/word-rotate/index.js +3 -0
- package/dist/direction-CUOPDLCj.d.cts +7 -0
- package/dist/direction-CUOPDLCj.d.ts +7 -0
- package/dist/hooks/index.cjs +1 -1
- package/dist/hooks/index.js +1 -1
- package/dist/popover-trigger-Cf4PPj0z.d.cts +14 -0
- package/dist/popover-trigger-Cf4PPj0z.d.ts +14 -0
- package/dist/select-Bf6XQtt-.d.cts +12 -0
- package/dist/select-Bf6XQtt-.d.ts +12 -0
- package/dist/toggle.types-D3M8ZN2a.d.cts +13 -0
- package/dist/toggle.types-D3M8ZN2a.d.ts +13 -0
- package/dist/tooltip-content-DqtogPBq.d.cts +8 -0
- package/dist/tooltip-content-DqtogPBq.d.ts +8 -0
- package/package.json +13 -2
- package/dist/chunk-P7BFOJLM.cjs +0 -3
- package/dist/chunk-ZYG2KYKK.js +0 -3
|
@@ -0,0 +1,110 @@
|
|
|
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 { Slider } from 'radix-ui';
|
|
5
|
+
import { Button } from '../button/index.js';
|
|
6
|
+
import { S as Select } from '../../select-Bf6XQtt-.js';
|
|
7
|
+
import { Input } from '../input/index.js';
|
|
8
|
+
import 'class-variance-authority';
|
|
9
|
+
import 'class-variance-authority/types';
|
|
10
|
+
|
|
11
|
+
declare const COLOR_FORMATS: readonly ["hex", "rgb", "hsl", "hsb"];
|
|
12
|
+
|
|
13
|
+
type ColorFormat = (typeof COLOR_FORMATS)[number];
|
|
14
|
+
type Direction = "ltr" | "rtl";
|
|
15
|
+
type ColorValue = {
|
|
16
|
+
r: number;
|
|
17
|
+
g: number;
|
|
18
|
+
b: number;
|
|
19
|
+
a: number;
|
|
20
|
+
};
|
|
21
|
+
type HSVColorValue = {
|
|
22
|
+
h: number;
|
|
23
|
+
s: number;
|
|
24
|
+
v: number;
|
|
25
|
+
a: number;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* @see https://gist.github.com/bkrmendy/f4582173f50fab209ddfef1377ab31e3
|
|
29
|
+
*/
|
|
30
|
+
type EyeDropper = {
|
|
31
|
+
open: (options?: {
|
|
32
|
+
signal?: AbortSignal;
|
|
33
|
+
}) => Promise<{
|
|
34
|
+
sRGBHex: string;
|
|
35
|
+
}>;
|
|
36
|
+
};
|
|
37
|
+
declare global {
|
|
38
|
+
interface Window {
|
|
39
|
+
EyeDropper?: {
|
|
40
|
+
new (): EyeDropper;
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
type ColorPickerContextValue = {
|
|
45
|
+
dir: Direction;
|
|
46
|
+
disabled?: boolean;
|
|
47
|
+
inline?: boolean;
|
|
48
|
+
readOnly?: boolean;
|
|
49
|
+
required?: boolean;
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
type ColorPickerProps = Omit<React.ComponentProps<"div">, "onValueChange"> & Pick<React.ComponentProps<typeof Popover>, "defaultOpen" | "open" | "onOpenChange" | "modal"> & {
|
|
53
|
+
value?: string;
|
|
54
|
+
defaultValue?: string;
|
|
55
|
+
onValueChange?: (value: string) => void;
|
|
56
|
+
dir?: Direction;
|
|
57
|
+
format?: ColorFormat;
|
|
58
|
+
defaultFormat?: ColorFormat;
|
|
59
|
+
onFormatChange?: (format: ColorFormat) => void;
|
|
60
|
+
name?: string;
|
|
61
|
+
asChild?: boolean;
|
|
62
|
+
disabled?: boolean;
|
|
63
|
+
inline?: boolean;
|
|
64
|
+
readOnly?: boolean;
|
|
65
|
+
required?: boolean;
|
|
66
|
+
};
|
|
67
|
+
declare function ColorPicker(props: ColorPickerProps): react_jsx_runtime.JSX.Element;
|
|
68
|
+
|
|
69
|
+
type ColorPickerTriggerProps = React.ComponentProps<typeof PopoverTrigger>;
|
|
70
|
+
declare function ColorPickerTrigger(props: ColorPickerTriggerProps): react_jsx_runtime.JSX.Element;
|
|
71
|
+
|
|
72
|
+
type ColorPickerContentProps = React.ComponentProps<typeof PopoverContent>;
|
|
73
|
+
declare function ColorPickerContent(props: ColorPickerContentProps): react_jsx_runtime.JSX.Element;
|
|
74
|
+
|
|
75
|
+
type ColorPickerAreaProps = React.ComponentProps<"div"> & {
|
|
76
|
+
asChild?: boolean;
|
|
77
|
+
};
|
|
78
|
+
declare function ColorPickerArea(props: ColorPickerAreaProps): react_jsx_runtime.JSX.Element;
|
|
79
|
+
|
|
80
|
+
type ColorPickerHueSliderProps = React.ComponentProps<typeof Slider.Root>;
|
|
81
|
+
declare function ColorPickerHueSlider(props: ColorPickerHueSliderProps): react_jsx_runtime.JSX.Element;
|
|
82
|
+
|
|
83
|
+
type ColorPickerAlphaSliderProps = React.ComponentProps<typeof Slider.Root>;
|
|
84
|
+
declare function ColorPickerAlphaSlider(props: ColorPickerAlphaSliderProps): react_jsx_runtime.JSX.Element;
|
|
85
|
+
|
|
86
|
+
type ColorPickerSwatchProps = React.ComponentProps<"div"> & {
|
|
87
|
+
asChild?: boolean;
|
|
88
|
+
};
|
|
89
|
+
declare function ColorPickerSwatch(props: ColorPickerSwatchProps): react_jsx_runtime.JSX.Element;
|
|
90
|
+
|
|
91
|
+
type ColorPickerEyeDropperProps = React.ComponentProps<typeof Button>;
|
|
92
|
+
declare function ColorPickerEyeDropper(props: ColorPickerEyeDropperProps): react_jsx_runtime.JSX.Element;
|
|
93
|
+
|
|
94
|
+
type ColorPickerFormatSelectProps = Omit<React.ComponentProps<typeof Select>, "value" | "onValueChange">;
|
|
95
|
+
declare function ColorPickerFormatSelect(props: ColorPickerFormatSelectProps): react_jsx_runtime.JSX.Element;
|
|
96
|
+
|
|
97
|
+
type ColorPickerInputProps = Omit<React.ComponentProps<typeof Input>, "value" | "onChange" | "color"> & {
|
|
98
|
+
withoutAlpha?: boolean;
|
|
99
|
+
};
|
|
100
|
+
declare function ColorPickerInput(props: ColorPickerInputProps): react_jsx_runtime.JSX.Element;
|
|
101
|
+
|
|
102
|
+
type ColorPickerStoreState = {
|
|
103
|
+
color: ColorValue;
|
|
104
|
+
hsv: HSVColorValue;
|
|
105
|
+
open: boolean;
|
|
106
|
+
format: ColorFormat;
|
|
107
|
+
};
|
|
108
|
+
declare function useColorPickerStore<U>(selector: (state: ColorPickerStoreState) => U): U;
|
|
109
|
+
|
|
110
|
+
export { type ColorFormat, ColorPicker, ColorPickerAlphaSlider, type ColorPickerAlphaSliderProps, ColorPickerArea, type ColorPickerAreaProps, ColorPickerContent, type ColorPickerContentProps, type ColorPickerContextValue, ColorPickerEyeDropper, type ColorPickerEyeDropperProps, ColorPickerFormatSelect, type ColorPickerFormatSelectProps, ColorPickerHueSlider, type ColorPickerHueSliderProps, ColorPickerInput, type ColorPickerInputProps, type ColorPickerProps, ColorPickerSwatch, type ColorPickerSwatchProps, ColorPickerTrigger, type ColorPickerTriggerProps, type ColorValue, type Direction, type EyeDropper, type HSVColorValue, useColorPickerStore };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
export{b as ColorPicker,g as ColorPickerAlphaSlider,e as ColorPickerArea,d as ColorPickerContent,i as ColorPickerEyeDropper,j as ColorPickerFormatSelect,f as ColorPickerHueSlider,k as ColorPickerInput,h as ColorPickerSwatch,c as ColorPickerTrigger,a as useColorPickerStore}from'../../chunk-K7HD7TTL.js';import'../../chunk-Z3EMAPPK.js';import'../../chunk-RGM4EGHK.js';import'../../chunk-X3G5BCY6.js';import'../../chunk-KK77ZUTM.js';import'../../chunk-4HJVF7MU.js';import'../../chunk-M7WD2A7J.js';import'../../chunk-RLQVCUZA.js';import'../../chunk-FLOFQPVA.js';import'../../chunk-JUNHRB4B.js';
|
|
@@ -0,0 +1,22 @@
|
|
|
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 };
|
|
@@ -0,0 +1,22 @@
|
|
|
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 };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
'use strict';var chunkWNOZNJNR_cjs=require('../../chunk-WNOZNJNR.cjs');require('../../chunk-OZOU5VIJ.cjs'),require('../../chunk-KJ2NS3A4.cjs'),require('../../chunk-IL2G4IA6.cjs'),require('../../chunk-VJOV24EO.cjs'),require('../../chunk-FC6LMBMW.cjs'),require('../../chunk-MZSK7XYX.cjs'),require('../../chunk-D5PAWOAZ.cjs');Object.defineProperty(exports,"Combobox",{enumerable:true,get:function(){return chunkWNOZNJNR_cjs.a}});Object.defineProperty(exports,"ComboboxChip",{enumerable:true,get:function(){return chunkWNOZNJNR_cjs.p}});Object.defineProperty(exports,"ComboboxChips",{enumerable:true,get:function(){return chunkWNOZNJNR_cjs.o}});Object.defineProperty(exports,"ComboboxChipsInput",{enumerable:true,get:function(){return chunkWNOZNJNR_cjs.q}});Object.defineProperty(exports,"ComboboxClear",{enumerable:true,get:function(){return chunkWNOZNJNR_cjs.e}});Object.defineProperty(exports,"ComboboxCollection",{enumerable:true,get:function(){return chunkWNOZNJNR_cjs.l}});Object.defineProperty(exports,"ComboboxContent",{enumerable:true,get:function(){return chunkWNOZNJNR_cjs.g}});Object.defineProperty(exports,"ComboboxEmpty",{enumerable:true,get:function(){return chunkWNOZNJNR_cjs.m}});Object.defineProperty(exports,"ComboboxGroup",{enumerable:true,get:function(){return chunkWNOZNJNR_cjs.j}});Object.defineProperty(exports,"ComboboxInput",{enumerable:true,get:function(){return chunkWNOZNJNR_cjs.f}});Object.defineProperty(exports,"ComboboxItem",{enumerable:true,get:function(){return chunkWNOZNJNR_cjs.i}});Object.defineProperty(exports,"ComboboxLabel",{enumerable:true,get:function(){return chunkWNOZNJNR_cjs.k}});Object.defineProperty(exports,"ComboboxList",{enumerable:true,get:function(){return chunkWNOZNJNR_cjs.h}});Object.defineProperty(exports,"ComboboxSeparator",{enumerable:true,get:function(){return chunkWNOZNJNR_cjs.n}});Object.defineProperty(exports,"ComboboxTrigger",{enumerable:true,get:function(){return chunkWNOZNJNR_cjs.d}});Object.defineProperty(exports,"ComboboxValue",{enumerable:true,get:function(){return chunkWNOZNJNR_cjs.c}});Object.defineProperty(exports,"useComboboxAnchor",{enumerable:true,get:function(){return chunkWNOZNJNR_cjs.b}});
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Combobox as Combobox$1 } from '@base-ui/react';
|
|
3
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
|
+
|
|
5
|
+
type ComboboxProps = React.ComponentProps<typeof Combobox$1.Root>;
|
|
6
|
+
declare const Combobox: typeof Combobox$1.Root;
|
|
7
|
+
declare function useComboboxAnchor(): React.RefObject<HTMLDivElement>;
|
|
8
|
+
|
|
9
|
+
type ComboboxValueProps = Combobox$1.Value.Props;
|
|
10
|
+
declare function ComboboxValue({ ...props }: ComboboxValueProps): react_jsx_runtime.JSX.Element;
|
|
11
|
+
|
|
12
|
+
type ComboboxTriggerProps = Combobox$1.Trigger.Props;
|
|
13
|
+
declare function ComboboxTrigger({ className, children, ...props }: ComboboxTriggerProps): react_jsx_runtime.JSX.Element;
|
|
14
|
+
|
|
15
|
+
type ComboboxClearProps = Combobox$1.Clear.Props;
|
|
16
|
+
declare function ComboboxClear({ className, ...props }: ComboboxClearProps): react_jsx_runtime.JSX.Element;
|
|
17
|
+
|
|
18
|
+
type ComboboxInputProps = Combobox$1.Input.Props & {
|
|
19
|
+
showTrigger?: boolean;
|
|
20
|
+
showClear?: boolean;
|
|
21
|
+
};
|
|
22
|
+
declare function ComboboxInput({ className, children, disabled, showTrigger, showClear, ...props }: ComboboxInputProps): react_jsx_runtime.JSX.Element;
|
|
23
|
+
|
|
24
|
+
type ComboboxContentProps = Combobox$1.Popup.Props & Pick<Combobox$1.Positioner.Props, "side" | "align" | "sideOffset" | "alignOffset" | "anchor">;
|
|
25
|
+
declare function ComboboxContent({ className, side, sideOffset, align, alignOffset, anchor, ...props }: ComboboxContentProps): react_jsx_runtime.JSX.Element;
|
|
26
|
+
|
|
27
|
+
type ComboboxListProps = Combobox$1.List.Props;
|
|
28
|
+
declare function ComboboxList({ className, ...props }: ComboboxListProps): react_jsx_runtime.JSX.Element;
|
|
29
|
+
|
|
30
|
+
type ComboboxItemProps = Combobox$1.Item.Props;
|
|
31
|
+
declare function ComboboxItem({ className, children, ...props }: ComboboxItemProps): react_jsx_runtime.JSX.Element;
|
|
32
|
+
|
|
33
|
+
type ComboboxGroupProps = Combobox$1.Group.Props;
|
|
34
|
+
declare function ComboboxGroup({ className, ...props }: ComboboxGroupProps): react_jsx_runtime.JSX.Element;
|
|
35
|
+
|
|
36
|
+
type ComboboxLabelProps = Combobox$1.GroupLabel.Props;
|
|
37
|
+
declare function ComboboxLabel({ className, ...props }: ComboboxLabelProps): react_jsx_runtime.JSX.Element;
|
|
38
|
+
|
|
39
|
+
type ComboboxCollectionProps = Combobox$1.Collection.Props;
|
|
40
|
+
declare function ComboboxCollection({ ...props }: ComboboxCollectionProps): react_jsx_runtime.JSX.Element;
|
|
41
|
+
|
|
42
|
+
type ComboboxEmptyProps = Combobox$1.Empty.Props;
|
|
43
|
+
declare function ComboboxEmpty({ className, ...props }: ComboboxEmptyProps): react_jsx_runtime.JSX.Element;
|
|
44
|
+
|
|
45
|
+
type ComboboxSeparatorProps = Combobox$1.Separator.Props;
|
|
46
|
+
declare function ComboboxSeparator({ className, ...props }: ComboboxSeparatorProps): react_jsx_runtime.JSX.Element;
|
|
47
|
+
|
|
48
|
+
type ComboboxChipsProps = React.ComponentPropsWithRef<typeof Combobox$1.Chips> & Combobox$1.Chips.Props;
|
|
49
|
+
declare function ComboboxChips({ className, ...props }: ComboboxChipsProps): react_jsx_runtime.JSX.Element;
|
|
50
|
+
|
|
51
|
+
type ComboboxChipProps = Combobox$1.Chip.Props & {
|
|
52
|
+
showRemove?: boolean;
|
|
53
|
+
};
|
|
54
|
+
declare function ComboboxChip({ className, children, showRemove, ...props }: ComboboxChipProps): react_jsx_runtime.JSX.Element;
|
|
55
|
+
|
|
56
|
+
type ComboboxChipsInputProps = Combobox$1.Input.Props;
|
|
57
|
+
declare function ComboboxChipsInput({ className, ...props }: ComboboxChipsInputProps): react_jsx_runtime.JSX.Element;
|
|
58
|
+
|
|
59
|
+
export { Combobox, ComboboxChip, type ComboboxChipProps, ComboboxChips, ComboboxChipsInput, type ComboboxChipsInputProps, type ComboboxChipsProps, ComboboxClear, type ComboboxClearProps, ComboboxCollection, type ComboboxCollectionProps, ComboboxContent, type ComboboxContentProps, ComboboxEmpty, type ComboboxEmptyProps, ComboboxGroup, type ComboboxGroupProps, ComboboxInput, type ComboboxInputProps, ComboboxItem, type ComboboxItemProps, ComboboxLabel, type ComboboxLabelProps, ComboboxList, type ComboboxListProps, type ComboboxProps, ComboboxSeparator, type ComboboxSeparatorProps, ComboboxTrigger, type ComboboxTriggerProps, ComboboxValue, type ComboboxValueProps, useComboboxAnchor };
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Combobox as Combobox$1 } from '@base-ui/react';
|
|
3
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
|
+
|
|
5
|
+
type ComboboxProps = React.ComponentProps<typeof Combobox$1.Root>;
|
|
6
|
+
declare const Combobox: typeof Combobox$1.Root;
|
|
7
|
+
declare function useComboboxAnchor(): React.RefObject<HTMLDivElement>;
|
|
8
|
+
|
|
9
|
+
type ComboboxValueProps = Combobox$1.Value.Props;
|
|
10
|
+
declare function ComboboxValue({ ...props }: ComboboxValueProps): react_jsx_runtime.JSX.Element;
|
|
11
|
+
|
|
12
|
+
type ComboboxTriggerProps = Combobox$1.Trigger.Props;
|
|
13
|
+
declare function ComboboxTrigger({ className, children, ...props }: ComboboxTriggerProps): react_jsx_runtime.JSX.Element;
|
|
14
|
+
|
|
15
|
+
type ComboboxClearProps = Combobox$1.Clear.Props;
|
|
16
|
+
declare function ComboboxClear({ className, ...props }: ComboboxClearProps): react_jsx_runtime.JSX.Element;
|
|
17
|
+
|
|
18
|
+
type ComboboxInputProps = Combobox$1.Input.Props & {
|
|
19
|
+
showTrigger?: boolean;
|
|
20
|
+
showClear?: boolean;
|
|
21
|
+
};
|
|
22
|
+
declare function ComboboxInput({ className, children, disabled, showTrigger, showClear, ...props }: ComboboxInputProps): react_jsx_runtime.JSX.Element;
|
|
23
|
+
|
|
24
|
+
type ComboboxContentProps = Combobox$1.Popup.Props & Pick<Combobox$1.Positioner.Props, "side" | "align" | "sideOffset" | "alignOffset" | "anchor">;
|
|
25
|
+
declare function ComboboxContent({ className, side, sideOffset, align, alignOffset, anchor, ...props }: ComboboxContentProps): react_jsx_runtime.JSX.Element;
|
|
26
|
+
|
|
27
|
+
type ComboboxListProps = Combobox$1.List.Props;
|
|
28
|
+
declare function ComboboxList({ className, ...props }: ComboboxListProps): react_jsx_runtime.JSX.Element;
|
|
29
|
+
|
|
30
|
+
type ComboboxItemProps = Combobox$1.Item.Props;
|
|
31
|
+
declare function ComboboxItem({ className, children, ...props }: ComboboxItemProps): react_jsx_runtime.JSX.Element;
|
|
32
|
+
|
|
33
|
+
type ComboboxGroupProps = Combobox$1.Group.Props;
|
|
34
|
+
declare function ComboboxGroup({ className, ...props }: ComboboxGroupProps): react_jsx_runtime.JSX.Element;
|
|
35
|
+
|
|
36
|
+
type ComboboxLabelProps = Combobox$1.GroupLabel.Props;
|
|
37
|
+
declare function ComboboxLabel({ className, ...props }: ComboboxLabelProps): react_jsx_runtime.JSX.Element;
|
|
38
|
+
|
|
39
|
+
type ComboboxCollectionProps = Combobox$1.Collection.Props;
|
|
40
|
+
declare function ComboboxCollection({ ...props }: ComboboxCollectionProps): react_jsx_runtime.JSX.Element;
|
|
41
|
+
|
|
42
|
+
type ComboboxEmptyProps = Combobox$1.Empty.Props;
|
|
43
|
+
declare function ComboboxEmpty({ className, ...props }: ComboboxEmptyProps): react_jsx_runtime.JSX.Element;
|
|
44
|
+
|
|
45
|
+
type ComboboxSeparatorProps = Combobox$1.Separator.Props;
|
|
46
|
+
declare function ComboboxSeparator({ className, ...props }: ComboboxSeparatorProps): react_jsx_runtime.JSX.Element;
|
|
47
|
+
|
|
48
|
+
type ComboboxChipsProps = React.ComponentPropsWithRef<typeof Combobox$1.Chips> & Combobox$1.Chips.Props;
|
|
49
|
+
declare function ComboboxChips({ className, ...props }: ComboboxChipsProps): react_jsx_runtime.JSX.Element;
|
|
50
|
+
|
|
51
|
+
type ComboboxChipProps = Combobox$1.Chip.Props & {
|
|
52
|
+
showRemove?: boolean;
|
|
53
|
+
};
|
|
54
|
+
declare function ComboboxChip({ className, children, showRemove, ...props }: ComboboxChipProps): react_jsx_runtime.JSX.Element;
|
|
55
|
+
|
|
56
|
+
type ComboboxChipsInputProps = Combobox$1.Input.Props;
|
|
57
|
+
declare function ComboboxChipsInput({ className, ...props }: ComboboxChipsInputProps): react_jsx_runtime.JSX.Element;
|
|
58
|
+
|
|
59
|
+
export { Combobox, ComboboxChip, type ComboboxChipProps, ComboboxChips, ComboboxChipsInput, type ComboboxChipsInputProps, type ComboboxChipsProps, ComboboxClear, type ComboboxClearProps, ComboboxCollection, type ComboboxCollectionProps, ComboboxContent, type ComboboxContentProps, ComboboxEmpty, type ComboboxEmptyProps, ComboboxGroup, type ComboboxGroupProps, ComboboxInput, type ComboboxInputProps, ComboboxItem, type ComboboxItemProps, ComboboxLabel, type ComboboxLabelProps, ComboboxList, type ComboboxListProps, type ComboboxProps, ComboboxSeparator, type ComboboxSeparatorProps, ComboboxTrigger, type ComboboxTriggerProps, ComboboxValue, type ComboboxValueProps, useComboboxAnchor };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
export{a as Combobox,p as ComboboxChip,o as ComboboxChips,q as ComboboxChipsInput,e as ComboboxClear,l as ComboboxCollection,g as ComboboxContent,m as ComboboxEmpty,j as ComboboxGroup,f as ComboboxInput,i as ComboboxItem,k as ComboboxLabel,h as ComboboxList,n as ComboboxSeparator,d as ComboboxTrigger,c as ComboboxValue,b as useComboboxAnchor}from'../../chunk-W5VNXRV6.js';import'../../chunk-NY7ACKFG.js';import'../../chunk-X3NAZA44.js';import'../../chunk-X3G5BCY6.js';import'../../chunk-M7WD2A7J.js';import'../../chunk-RLQVCUZA.js';import'../../chunk-FLOFQPVA.js';import'../../chunk-JUNHRB4B.js';
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { UseInViewOptions } from 'motion/react';
|
|
3
|
+
|
|
4
|
+
type CountingNumberProps = {
|
|
5
|
+
/**
|
|
6
|
+
* Starting number for the animation
|
|
7
|
+
* @default 0
|
|
8
|
+
*/
|
|
9
|
+
from?: number;
|
|
10
|
+
/**
|
|
11
|
+
* Target number to animate to
|
|
12
|
+
* @default 100
|
|
13
|
+
*/
|
|
14
|
+
to?: number;
|
|
15
|
+
/**
|
|
16
|
+
* Animation duration in seconds
|
|
17
|
+
* @default 2
|
|
18
|
+
*/
|
|
19
|
+
duration?: number;
|
|
20
|
+
/**
|
|
21
|
+
* Delay before starting animation in milliseconds
|
|
22
|
+
* @default 0
|
|
23
|
+
*/
|
|
24
|
+
delay?: number;
|
|
25
|
+
/**
|
|
26
|
+
* Custom className for styling
|
|
27
|
+
*/
|
|
28
|
+
className?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Whether to start animation when component enters viewport
|
|
31
|
+
* @default true
|
|
32
|
+
*/
|
|
33
|
+
startOnView?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Whether to animate only once when entering viewport
|
|
36
|
+
* @default false
|
|
37
|
+
*/
|
|
38
|
+
once?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Margin for in-view detection (rootMargin)
|
|
41
|
+
*/
|
|
42
|
+
inViewMargin?: UseInViewOptions["margin"];
|
|
43
|
+
/**
|
|
44
|
+
* Callback fired when animation completes
|
|
45
|
+
*/
|
|
46
|
+
onComplete?: () => void;
|
|
47
|
+
/**
|
|
48
|
+
* Custom formatter function for the displayed value.
|
|
49
|
+
* If not provided, the value is rounded to the nearest integer.
|
|
50
|
+
* @example (value) => value.toFixed(2)
|
|
51
|
+
* @example (value) => `$${value.toLocaleString()}`
|
|
52
|
+
*/
|
|
53
|
+
format?: (value: number) => string;
|
|
54
|
+
};
|
|
55
|
+
declare function CountingNumber({ from, to, duration, delay, className, startOnView, once, inViewMargin, onComplete, format, ...props }: CountingNumberProps): react_jsx_runtime.JSX.Element;
|
|
56
|
+
|
|
57
|
+
export { CountingNumber, type CountingNumberProps };
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { UseInViewOptions } from 'motion/react';
|
|
3
|
+
|
|
4
|
+
type CountingNumberProps = {
|
|
5
|
+
/**
|
|
6
|
+
* Starting number for the animation
|
|
7
|
+
* @default 0
|
|
8
|
+
*/
|
|
9
|
+
from?: number;
|
|
10
|
+
/**
|
|
11
|
+
* Target number to animate to
|
|
12
|
+
* @default 100
|
|
13
|
+
*/
|
|
14
|
+
to?: number;
|
|
15
|
+
/**
|
|
16
|
+
* Animation duration in seconds
|
|
17
|
+
* @default 2
|
|
18
|
+
*/
|
|
19
|
+
duration?: number;
|
|
20
|
+
/**
|
|
21
|
+
* Delay before starting animation in milliseconds
|
|
22
|
+
* @default 0
|
|
23
|
+
*/
|
|
24
|
+
delay?: number;
|
|
25
|
+
/**
|
|
26
|
+
* Custom className for styling
|
|
27
|
+
*/
|
|
28
|
+
className?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Whether to start animation when component enters viewport
|
|
31
|
+
* @default true
|
|
32
|
+
*/
|
|
33
|
+
startOnView?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Whether to animate only once when entering viewport
|
|
36
|
+
* @default false
|
|
37
|
+
*/
|
|
38
|
+
once?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Margin for in-view detection (rootMargin)
|
|
41
|
+
*/
|
|
42
|
+
inViewMargin?: UseInViewOptions["margin"];
|
|
43
|
+
/**
|
|
44
|
+
* Callback fired when animation completes
|
|
45
|
+
*/
|
|
46
|
+
onComplete?: () => void;
|
|
47
|
+
/**
|
|
48
|
+
* Custom formatter function for the displayed value.
|
|
49
|
+
* If not provided, the value is rounded to the nearest integer.
|
|
50
|
+
* @example (value) => value.toFixed(2)
|
|
51
|
+
* @example (value) => `$${value.toLocaleString()}`
|
|
52
|
+
*/
|
|
53
|
+
format?: (value: number) => string;
|
|
54
|
+
};
|
|
55
|
+
declare function CountingNumber({ from, to, duration, delay, className, startOnView, once, inViewMargin, onComplete, format, ...props }: CountingNumberProps): react_jsx_runtime.JSX.Element;
|
|
56
|
+
|
|
57
|
+
export { CountingNumber, type CountingNumberProps };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
'use strict';var chunkL3KN3OD6_cjs=require('../../chunk-L3KN3OD6.cjs');require('../../chunk-D5PAWOAZ.cjs');Object.defineProperty(exports,"Dialog",{enumerable:true,get:function(){return chunkL3KN3OD6_cjs.a}});Object.defineProperty(exports,"DialogClose",{enumerable:true,get:function(){return chunkL3KN3OD6_cjs.b}});Object.defineProperty(exports,"DialogContent",{enumerable:true,get:function(){return chunkL3KN3OD6_cjs.c}});Object.defineProperty(exports,"DialogDescription",{enumerable:true,get:function(){return chunkL3KN3OD6_cjs.h}});Object.defineProperty(exports,"DialogFooter",{enumerable:true,get:function(){return chunkL3KN3OD6_cjs.f}});Object.defineProperty(exports,"DialogHeader",{enumerable:true,get:function(){return chunkL3KN3OD6_cjs.e}});Object.defineProperty(exports,"DialogTitle",{enumerable:true,get:function(){return chunkL3KN3OD6_cjs.g}});Object.defineProperty(exports,"DialogTrigger",{enumerable:true,get:function(){return chunkL3KN3OD6_cjs.d}});
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { Dialog as Dialog$1 } from 'radix-ui';
|
|
4
|
+
import { VariantProps } from 'class-variance-authority';
|
|
5
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
6
|
+
|
|
7
|
+
type DialogProps = React.ComponentProps<typeof Dialog$1.Root>;
|
|
8
|
+
declare function Dialog(props: DialogProps): react_jsx_runtime.JSX.Element;
|
|
9
|
+
|
|
10
|
+
type DialogCloseProps = React.ComponentProps<typeof Dialog$1.Close>;
|
|
11
|
+
declare function DialogClose(props: DialogCloseProps): react_jsx_runtime.JSX.Element;
|
|
12
|
+
|
|
13
|
+
declare const dialogContentVariants: (props?: {
|
|
14
|
+
width?: "sm" | "xs" | "lg" | "md" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "full";
|
|
15
|
+
} & class_variance_authority_types.ClassProp) => string;
|
|
16
|
+
|
|
17
|
+
type DialogContentCvaProps = VariantProps<typeof dialogContentVariants>;
|
|
18
|
+
type DialogContentWidth = NonNullable<DialogContentCvaProps["width"]>;
|
|
19
|
+
|
|
20
|
+
type DialogContentProps = React.ComponentProps<typeof Dialog$1.Content> & {
|
|
21
|
+
width?: DialogContentWidth;
|
|
22
|
+
showCloseButton?: boolean;
|
|
23
|
+
};
|
|
24
|
+
declare function DialogContent({ className, children, width, showCloseButton, ...props }: DialogContentProps): react_jsx_runtime.JSX.Element;
|
|
25
|
+
|
|
26
|
+
type DialogTriggerProps = React.ComponentProps<typeof Dialog$1.Trigger>;
|
|
27
|
+
declare function DialogTrigger({ ...props }: DialogTriggerProps): react_jsx_runtime.JSX.Element;
|
|
28
|
+
|
|
29
|
+
type DialogHeaderProps = React.ComponentProps<"div">;
|
|
30
|
+
declare function DialogHeader({ className, ...props }: DialogHeaderProps): react_jsx_runtime.JSX.Element;
|
|
31
|
+
|
|
32
|
+
type DialogFooterProps = React.ComponentProps<"div">;
|
|
33
|
+
declare function DialogFooter({ className, ...props }: DialogFooterProps): react_jsx_runtime.JSX.Element;
|
|
34
|
+
|
|
35
|
+
type DialogTitleProps = React.ComponentProps<typeof Dialog$1.Title>;
|
|
36
|
+
declare function DialogTitle({ className, ...props }: DialogTitleProps): react_jsx_runtime.JSX.Element;
|
|
37
|
+
|
|
38
|
+
type DialogDescriptionProps = React.ComponentProps<typeof Dialog$1.Description>;
|
|
39
|
+
declare function DialogDescription({ className, ...props }: DialogDescriptionProps): react_jsx_runtime.JSX.Element;
|
|
40
|
+
|
|
41
|
+
export { Dialog, DialogClose, type DialogCloseProps, DialogContent, type DialogContentProps, type DialogContentWidth, DialogDescription, type DialogDescriptionProps, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, type DialogProps, DialogTitle, type DialogTitleProps, DialogTrigger, type DialogTriggerProps };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { Dialog as Dialog$1 } from 'radix-ui';
|
|
4
|
+
import { VariantProps } from 'class-variance-authority';
|
|
5
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
6
|
+
|
|
7
|
+
type DialogProps = React.ComponentProps<typeof Dialog$1.Root>;
|
|
8
|
+
declare function Dialog(props: DialogProps): react_jsx_runtime.JSX.Element;
|
|
9
|
+
|
|
10
|
+
type DialogCloseProps = React.ComponentProps<typeof Dialog$1.Close>;
|
|
11
|
+
declare function DialogClose(props: DialogCloseProps): react_jsx_runtime.JSX.Element;
|
|
12
|
+
|
|
13
|
+
declare const dialogContentVariants: (props?: {
|
|
14
|
+
width?: "sm" | "xs" | "lg" | "md" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "full";
|
|
15
|
+
} & class_variance_authority_types.ClassProp) => string;
|
|
16
|
+
|
|
17
|
+
type DialogContentCvaProps = VariantProps<typeof dialogContentVariants>;
|
|
18
|
+
type DialogContentWidth = NonNullable<DialogContentCvaProps["width"]>;
|
|
19
|
+
|
|
20
|
+
type DialogContentProps = React.ComponentProps<typeof Dialog$1.Content> & {
|
|
21
|
+
width?: DialogContentWidth;
|
|
22
|
+
showCloseButton?: boolean;
|
|
23
|
+
};
|
|
24
|
+
declare function DialogContent({ className, children, width, showCloseButton, ...props }: DialogContentProps): react_jsx_runtime.JSX.Element;
|
|
25
|
+
|
|
26
|
+
type DialogTriggerProps = React.ComponentProps<typeof Dialog$1.Trigger>;
|
|
27
|
+
declare function DialogTrigger({ ...props }: DialogTriggerProps): react_jsx_runtime.JSX.Element;
|
|
28
|
+
|
|
29
|
+
type DialogHeaderProps = React.ComponentProps<"div">;
|
|
30
|
+
declare function DialogHeader({ className, ...props }: DialogHeaderProps): react_jsx_runtime.JSX.Element;
|
|
31
|
+
|
|
32
|
+
type DialogFooterProps = React.ComponentProps<"div">;
|
|
33
|
+
declare function DialogFooter({ className, ...props }: DialogFooterProps): react_jsx_runtime.JSX.Element;
|
|
34
|
+
|
|
35
|
+
type DialogTitleProps = React.ComponentProps<typeof Dialog$1.Title>;
|
|
36
|
+
declare function DialogTitle({ className, ...props }: DialogTitleProps): react_jsx_runtime.JSX.Element;
|
|
37
|
+
|
|
38
|
+
type DialogDescriptionProps = React.ComponentProps<typeof Dialog$1.Description>;
|
|
39
|
+
declare function DialogDescription({ className, ...props }: DialogDescriptionProps): react_jsx_runtime.JSX.Element;
|
|
40
|
+
|
|
41
|
+
export { Dialog, DialogClose, type DialogCloseProps, DialogContent, type DialogContentProps, type DialogContentWidth, DialogDescription, type DialogDescriptionProps, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, type DialogProps, DialogTitle, type DialogTitleProps, DialogTrigger, type DialogTriggerProps };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
'use strict';var chunkIPNUUONG_cjs=require('../../chunk-IPNUUONG.cjs');require('../../chunk-D5PAWOAZ.cjs');Object.defineProperty(exports,"DropdownMenu",{enumerable:true,get:function(){return chunkIPNUUONG_cjs.a}});Object.defineProperty(exports,"DropdownMenuCheckboxItem",{enumerable:true,get:function(){return chunkIPNUUONG_cjs.g}});Object.defineProperty(exports,"DropdownMenuContent",{enumerable:true,get:function(){return chunkIPNUUONG_cjs.d}});Object.defineProperty(exports,"DropdownMenuGroup",{enumerable:true,get:function(){return chunkIPNUUONG_cjs.e}});Object.defineProperty(exports,"DropdownMenuItem",{enumerable:true,get:function(){return chunkIPNUUONG_cjs.f}});Object.defineProperty(exports,"DropdownMenuItemVariant",{enumerable:true,get:function(){return chunkIPNUUONG_cjs.p}});Object.defineProperty(exports,"DropdownMenuLabel",{enumerable:true,get:function(){return chunkIPNUUONG_cjs.j}});Object.defineProperty(exports,"DropdownMenuPortal",{enumerable:true,get:function(){return chunkIPNUUONG_cjs.b}});Object.defineProperty(exports,"DropdownMenuRadioGroup",{enumerable:true,get:function(){return chunkIPNUUONG_cjs.h}});Object.defineProperty(exports,"DropdownMenuRadioItem",{enumerable:true,get:function(){return chunkIPNUUONG_cjs.i}});Object.defineProperty(exports,"DropdownMenuSeparator",{enumerable:true,get:function(){return chunkIPNUUONG_cjs.k}});Object.defineProperty(exports,"DropdownMenuShortcut",{enumerable:true,get:function(){return chunkIPNUUONG_cjs.l}});Object.defineProperty(exports,"DropdownMenuSub",{enumerable:true,get:function(){return chunkIPNUUONG_cjs.m}});Object.defineProperty(exports,"DropdownMenuSubContent",{enumerable:true,get:function(){return chunkIPNUUONG_cjs.o}});Object.defineProperty(exports,"DropdownMenuSubTrigger",{enumerable:true,get:function(){return chunkIPNUUONG_cjs.n}});Object.defineProperty(exports,"DropdownMenuTrigger",{enumerable:true,get:function(){return chunkIPNUUONG_cjs.c}});
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { DropdownMenu as DropdownMenu$1 } from 'radix-ui';
|
|
4
|
+
|
|
5
|
+
type DropdownMenuProps = React.ComponentProps<typeof DropdownMenu$1.Root>;
|
|
6
|
+
declare function DropdownMenu(props: DropdownMenuProps): react_jsx_runtime.JSX.Element;
|
|
7
|
+
|
|
8
|
+
type DropdownMenuPortalProps = React.ComponentProps<typeof DropdownMenu$1.Portal>;
|
|
9
|
+
declare function DropdownMenuPortal(props: DropdownMenuPortalProps): react_jsx_runtime.JSX.Element;
|
|
10
|
+
|
|
11
|
+
type DropdownMenuTriggerProps = React.ComponentProps<typeof DropdownMenu$1.Trigger>;
|
|
12
|
+
declare function DropdownMenuTrigger(props: DropdownMenuTriggerProps): react_jsx_runtime.JSX.Element;
|
|
13
|
+
|
|
14
|
+
type DropdownMenuContentProps = React.ComponentProps<typeof DropdownMenu$1.Content>;
|
|
15
|
+
declare function DropdownMenuContent({ className, align, sideOffset, ...props }: DropdownMenuContentProps): react_jsx_runtime.JSX.Element;
|
|
16
|
+
|
|
17
|
+
type DropdownMenuGroupProps = React.ComponentProps<typeof DropdownMenu$1.Group>;
|
|
18
|
+
declare function DropdownMenuGroup(props: DropdownMenuGroupProps): react_jsx_runtime.JSX.Element;
|
|
19
|
+
|
|
20
|
+
declare const DropdownMenuItemVariant: {
|
|
21
|
+
readonly DEFAULT: "default";
|
|
22
|
+
readonly ERROR: "error";
|
|
23
|
+
};
|
|
24
|
+
type DropdownMenuItemVariantType = (typeof DropdownMenuItemVariant)[keyof typeof DropdownMenuItemVariant];
|
|
25
|
+
|
|
26
|
+
type DropdownMenuItemProps = React.ComponentProps<typeof DropdownMenu$1.Item> & {
|
|
27
|
+
inset?: boolean;
|
|
28
|
+
variant?: DropdownMenuItemVariantType;
|
|
29
|
+
};
|
|
30
|
+
declare function DropdownMenuItem({ className, inset, variant, ...props }: DropdownMenuItemProps): react_jsx_runtime.JSX.Element;
|
|
31
|
+
|
|
32
|
+
type DropdownMenuCheckboxItemProps = React.ComponentProps<typeof DropdownMenu$1.CheckboxItem> & {
|
|
33
|
+
inset?: boolean;
|
|
34
|
+
};
|
|
35
|
+
declare function DropdownMenuCheckboxItem({ className, children, checked, inset, ...props }: DropdownMenuCheckboxItemProps): react_jsx_runtime.JSX.Element;
|
|
36
|
+
|
|
37
|
+
type DropdownMenuRadioGroupProps = React.ComponentProps<typeof DropdownMenu$1.RadioGroup>;
|
|
38
|
+
declare function DropdownMenuRadioGroup(props: DropdownMenuRadioGroupProps): react_jsx_runtime.JSX.Element;
|
|
39
|
+
|
|
40
|
+
type DropdownMenuRadioItemProps = React.ComponentProps<typeof DropdownMenu$1.RadioItem> & {
|
|
41
|
+
inset?: boolean;
|
|
42
|
+
};
|
|
43
|
+
declare function DropdownMenuRadioItem({ className, children, inset, ...props }: DropdownMenuRadioItemProps): react_jsx_runtime.JSX.Element;
|
|
44
|
+
|
|
45
|
+
type DropdownMenuLabelProps = React.ComponentProps<typeof DropdownMenu$1.Label> & {
|
|
46
|
+
inset?: boolean;
|
|
47
|
+
};
|
|
48
|
+
declare function DropdownMenuLabel({ className, inset, ...props }: DropdownMenuLabelProps): react_jsx_runtime.JSX.Element;
|
|
49
|
+
|
|
50
|
+
type DropdownMenuSeparatorProps = React.ComponentProps<typeof DropdownMenu$1.Separator>;
|
|
51
|
+
declare function DropdownMenuSeparator({ className, ...props }: DropdownMenuSeparatorProps): react_jsx_runtime.JSX.Element;
|
|
52
|
+
|
|
53
|
+
type DropdownMenuShortcutProps = React.ComponentProps<"span">;
|
|
54
|
+
declare function DropdownMenuShortcut({ className, ...props }: DropdownMenuShortcutProps): react_jsx_runtime.JSX.Element;
|
|
55
|
+
|
|
56
|
+
type DropdownMenuSubProps = React.ComponentProps<typeof DropdownMenu$1.Sub>;
|
|
57
|
+
declare function DropdownMenuSub(props: DropdownMenuSubProps): react_jsx_runtime.JSX.Element;
|
|
58
|
+
|
|
59
|
+
type DropdownMenuSubTriggerProps = React.ComponentProps<typeof DropdownMenu$1.SubTrigger> & {
|
|
60
|
+
inset?: boolean;
|
|
61
|
+
};
|
|
62
|
+
declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: DropdownMenuSubTriggerProps): react_jsx_runtime.JSX.Element;
|
|
63
|
+
|
|
64
|
+
type DropdownMenuSubContentProps = React.ComponentProps<typeof DropdownMenu$1.SubContent>;
|
|
65
|
+
declare function DropdownMenuSubContent({ className, ...props }: DropdownMenuSubContentProps): react_jsx_runtime.JSX.Element;
|
|
66
|
+
|
|
67
|
+
export { DropdownMenu, DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemProps, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, type DropdownMenuGroupProps, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuItemVariant, type DropdownMenuItemVariantType, DropdownMenuLabel, type DropdownMenuLabelProps, DropdownMenuPortal, type DropdownMenuPortalProps, type DropdownMenuProps, DropdownMenuRadioGroup, type DropdownMenuRadioGroupProps, DropdownMenuRadioItem, type DropdownMenuRadioItemProps, DropdownMenuSeparator, type DropdownMenuSeparatorProps, DropdownMenuShortcut, type DropdownMenuShortcutProps, DropdownMenuSub, DropdownMenuSubContent, type DropdownMenuSubContentProps, type DropdownMenuSubProps, DropdownMenuSubTrigger, type DropdownMenuSubTriggerProps, DropdownMenuTrigger, type DropdownMenuTriggerProps };
|