@szum-tech/design-system 3.13.0 → 3.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-4IGU5SVP.js +54 -0
- package/dist/{chunk-XJZOANXX.cjs → chunk-6HX7ETL3.cjs} +1 -1
- package/dist/chunk-B4M7Q5KX.cjs +25 -0
- package/dist/chunk-BUJO4FB6.js +252 -0
- package/dist/{chunk-S2BCU6WG.cjs → chunk-CAIAZGSW.cjs} +5 -4
- package/dist/chunk-CL2C6STG.cjs +278 -0
- package/dist/chunk-EOTQVIA5.js +993 -0
- package/dist/chunk-G24PWQKG.js +20 -0
- package/dist/chunk-GEDBA3JU.cjs +49 -0
- package/dist/chunk-IZU3KULT.js +41 -0
- package/dist/{chunk-KQ6QE7BT.cjs → chunk-MNDQXDV4.cjs} +4 -4
- package/dist/chunk-N4TYSZSU.cjs +44 -0
- package/dist/chunk-OH323B3O.js +2299 -0
- package/dist/chunk-OZSNSRLV.cjs +1027 -0
- package/dist/chunk-PTZVUZNQ.cjs +2355 -0
- package/dist/{chunk-DL54DIMD.js → chunk-Q2MJKFIE.js} +2 -1
- package/dist/chunk-S3ZUFD6U.js +23 -0
- package/dist/{chunk-WXZE35FK.js → chunk-VK2FJ65F.js} +1 -1
- package/dist/{chunk-E5TYGWGE.js → chunk-XKCLVPUC.js} +1 -1
- package/dist/{chunk-XIQUR62A.cjs → chunk-XY3ZNUWR.cjs} +32 -20
- package/dist/color-picker.types-GI7dq2Ig.d.cts +42 -0
- package/dist/color-picker.types-GI7dq2Ig.d.ts +42 -0
- package/dist/components/badge-overflow/index.cjs +3 -2
- package/dist/components/badge-overflow/index.js +2 -1
- package/dist/components/button/index.cjs +21 -17
- package/dist/components/button/index.d.cts +1 -0
- package/dist/components/button/index.d.ts +1 -0
- package/dist/components/button/index.js +20 -16
- package/dist/components/carousel/index.cjs +22 -18
- package/dist/components/carousel/index.d.cts +1 -0
- package/dist/components/carousel/index.d.ts +1 -0
- package/dist/components/carousel/index.js +20 -16
- package/dist/components/color-picker/index.cjs +89 -0
- package/dist/components/color-picker/index.d.cts +71 -0
- package/dist/components/color-picker/index.d.ts +71 -0
- package/dist/components/color-picker/index.js +40 -0
- package/dist/components/dialog/index.d.cts +1 -0
- package/dist/components/dialog/index.d.ts +1 -0
- package/dist/components/file-upload/index.cjs +60 -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/index.cjs +294 -146
- package/dist/components/index.d.cts +9 -1
- package/dist/components/index.d.ts +9 -1
- package/dist/components/index.js +20 -16
- package/dist/components/input/index.cjs +2 -2
- package/dist/components/input/index.js +1 -1
- package/dist/components/item/index.d.cts +1 -0
- package/dist/components/item/index.d.ts +1 -0
- package/dist/components/masonry/index.cjs +5 -4
- package/dist/components/masonry/index.js +3 -2
- package/dist/components/popover/index.cjs +35 -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 +2 -0
- package/dist/components/select/index.cjs +7 -7
- package/dist/components/select/index.d.cts +8 -14
- package/dist/components/select/index.d.ts +8 -14
- package/dist/components/select/index.js +1 -1
- package/dist/components/sheet/index.d.cts +2 -1
- package/dist/components/sheet/index.d.ts +2 -1
- package/dist/components/sortable/index.cjs +27 -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 +2 -0
- package/dist/components/stepper/index.cjs +39 -35
- package/dist/components/stepper/index.d.cts +1 -0
- package/dist/components/stepper/index.d.ts +1 -0
- package/dist/components/stepper/index.js +20 -16
- package/dist/components/timeline/index.cjs +12 -11
- package/dist/components/timeline/index.d.cts +1 -0
- package/dist/components/timeline/index.d.ts +1 -0
- package/dist/components/timeline/index.js +3 -2
- package/dist/components/toaster/index.cjs +22 -18
- package/dist/components/toaster/index.js +20 -16
- package/dist/components/typing-text/index.d.cts +1 -0
- package/dist/components/typing-text/index.d.ts +1 -0
- package/dist/components/word-rotate/index.d.cts +1 -0
- package/dist/components/word-rotate/index.d.ts +1 -0
- package/dist/hooks/index.cjs +17 -8
- package/dist/hooks/index.d.cts +15 -4
- package/dist/hooks/index.d.ts +15 -4
- package/dist/hooks/index.js +2 -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/package.json +4 -1
- package/dist/chunk-5AA4IE2T.cjs +0 -27
- package/dist/chunk-IDOJLUDL.cjs +0 -1065
- package/dist/chunk-SB5UG7OC.js +0 -41
- package/dist/chunk-U2HEQZMY.js +0 -1020
- package/dist/chunk-UGSNASZM.js +0 -25
|
@@ -3,6 +3,8 @@ export { Avatar, AvatarFallback, AvatarFallbackProps, AvatarImage, AvatarImagePr
|
|
|
3
3
|
export { Badge, BadgeButton, BadgeButtonProps, BadgeDot, BadgeDotProps, BadgeProps, BadgeVariant } from './badge/index.cjs';
|
|
4
4
|
export { Button, ButtonProps, ButtonSizeType, ButtonVariantType } from './button/index.cjs';
|
|
5
5
|
export { Card, CardAction, CardActionProps, CardContent, CardContentProps, CardDescription, CardDescriptionProps, CardFooter, CardFooterProps, CardHeader, CardHeaderProps, CardProps, CardTitle, CardTitleProps } from './card/index.cjs';
|
|
6
|
+
export { ColorPicker, ColorPickerAlphaSlider, ColorPickerAlphaSliderProps, ColorPickerArea, ColorPickerAreaProps, ColorPickerContent, ColorPickerContentProps, ColorPickerEyeDropper, ColorPickerEyeDropperProps, ColorPickerFormatSelect, ColorPickerFormatSelectProps, ColorPickerHueSlider, ColorPickerHueSliderProps, ColorPickerInput, ColorPickerInputProps, ColorPickerProps, ColorPickerSwatch, ColorPickerSwatchProps, ColorPickerTrigger, ColorPickerTriggerProps, useColorPickerStore } from './color-picker/index.cjs';
|
|
7
|
+
export { C as ColorFormat, a as ColorPickerContextValue, b as ColorValue, D as Direction, E as EyeDropper, H as HSVColorValue } from '../color-picker.types-GI7dq2Ig.cjs';
|
|
6
8
|
export { Checkbox, CheckboxProps } from './checkbox/index.cjs';
|
|
7
9
|
export { Dialog, DialogClose, DialogCloseProps, DialogContent, DialogContentProps, DialogContentWidth, DialogDescription, DialogDescriptionProps, DialogFooter, DialogFooterProps, DialogHeader, DialogHeaderProps, DialogProps, DialogTitle, DialogTitleProps, DialogTrigger, DialogTriggerProps } from './dialog/index.cjs';
|
|
8
10
|
export { Field, FieldContent, FieldContentProps, FieldDescription, FieldDescriptionProps, FieldError, FieldErrorProps, FieldGroup, FieldGroupProps, FieldLabel, FieldLabelProps, FieldLegend, FieldLegendProps, FieldProps, FieldSeparator, FieldSeparatorProps, FieldSet, FieldSetProps, FieldTitle, FieldTitleProps } from './field/index.cjs';
|
|
@@ -12,7 +14,8 @@ export { Item, ItemActions, ItemActionsProps, ItemContent, ItemContentProps, Ite
|
|
|
12
14
|
export { Label, LabelProps } from './label/index.cjs';
|
|
13
15
|
export { Marquee, MarqueeProps } from './marquee/index.cjs';
|
|
14
16
|
export { Progress, ProgressProps } from './progress/index.cjs';
|
|
15
|
-
export {
|
|
17
|
+
export { S as Select, a as SelectProps } from '../select-Bf6XQtt-.cjs';
|
|
18
|
+
export { SelectContent, SelectContentProps, SelectGroup, SelectGroupProps, SelectItem, SelectItemProps, SelectLabel, SelectLabelProps, SelectSeparator, SelectSeparatorProps } from './select/index.cjs';
|
|
16
19
|
export { Separator, SeparatorProps } from './separator/index.cjs';
|
|
17
20
|
export { Sheet, SheetClose, SheetCloseProps, SheetContent, SheetContentProps, SheetContentSide, SheetDescription, SheetDescriptionProps, SheetFooter, SheetFooterProps, SheetHeader, SheetHeaderProps, SheetProps, SheetContentSide as SheetSide, SheetTitle, SheetTitleProps, SheetTrigger, SheetTriggerProps } from './sheet/index.cjs';
|
|
18
21
|
export { Spinner, SpinnerProps } from './spinner/index.cjs';
|
|
@@ -34,6 +37,10 @@ export { CountingNumber, CountingNumberProps } from './counting-number/index.cjs
|
|
|
34
37
|
export { TypingText, TypingTextAnimationVariant, TypingTextProps } from './typing-text/index.cjs';
|
|
35
38
|
export { WordRotate, WordRotateAnimationStyle, WordRotateProps } from './word-rotate/index.cjs';
|
|
36
39
|
export { ItemElement, Masonry, MasonryCache, MasonryCacheConstructor, MasonryCacheKey, MasonryElement, MasonryIntervalTree, MasonryItem, MasonryItemElement, MasonryItemProps, MasonryListNode, MasonryPositioner, MasonryPositionerItem, MasonryProps, MasonryTree, MasonryTreeNode, NodeColor, NodeOperation } from './masonry/index.cjs';
|
|
40
|
+
export { P as Popover, a as PopoverContent, b as PopoverContentProps, c as PopoverProps, d as PopoverTrigger, e as PopoverTriggerProps } from '../popover-trigger-Cf4PPj0z.cjs';
|
|
41
|
+
export { PopoverAnchor, PopoverAnchorProps, PopoverDescription, PopoverDescriptionProps, PopoverHeader, PopoverHeaderProps, PopoverTitle, PopoverTitleProps } from './popover/index.cjs';
|
|
42
|
+
export { FileState, FileUpload, FileUploadClear, FileUploadClearProps, FileUploadContextValue, FileUploadDropzone, FileUploadDropzoneProps, FileUploadItem, FileUploadItemContextValue, FileUploadItemDelete, FileUploadItemDeleteProps, FileUploadItemMetadata, FileUploadItemMetadataProps, FileUploadItemPreview, FileUploadItemPreviewProps, FileUploadItemProgress, FileUploadItemProgressProps, FileUploadItemProps, FileUploadList, FileUploadListOrientationType, FileUploadListProps, FileUploadProps, FileUploadStoreState, FileUploadTrigger, FileUploadTriggerProps, FileUploadUploadOptions, useFileUploadContext, useFileUploadItemContext, useFileUploadStore } from './file-upload/index.cjs';
|
|
43
|
+
export { Sortable, SortableItem, SortableItemHandle, SortableItemHandleProps, SortableItemProps, SortableOverlay, SortableOverlayProps, SortableProps, useSortableItemContext } from './sortable/index.cjs';
|
|
37
44
|
export { toast } from 'sonner';
|
|
38
45
|
import 'react';
|
|
39
46
|
import 'radix-ui';
|
|
@@ -42,3 +49,4 @@ import 'class-variance-authority';
|
|
|
42
49
|
import 'class-variance-authority/types';
|
|
43
50
|
import '../direction-CUOPDLCj.cjs';
|
|
44
51
|
import 'motion/react';
|
|
52
|
+
import '@dnd-kit/core';
|
|
@@ -3,6 +3,8 @@ export { Avatar, AvatarFallback, AvatarFallbackProps, AvatarImage, AvatarImagePr
|
|
|
3
3
|
export { Badge, BadgeButton, BadgeButtonProps, BadgeDot, BadgeDotProps, BadgeProps, BadgeVariant } from './badge/index.js';
|
|
4
4
|
export { Button, ButtonProps, ButtonSizeType, ButtonVariantType } from './button/index.js';
|
|
5
5
|
export { Card, CardAction, CardActionProps, CardContent, CardContentProps, CardDescription, CardDescriptionProps, CardFooter, CardFooterProps, CardHeader, CardHeaderProps, CardProps, CardTitle, CardTitleProps } from './card/index.js';
|
|
6
|
+
export { ColorPicker, ColorPickerAlphaSlider, ColorPickerAlphaSliderProps, ColorPickerArea, ColorPickerAreaProps, ColorPickerContent, ColorPickerContentProps, ColorPickerEyeDropper, ColorPickerEyeDropperProps, ColorPickerFormatSelect, ColorPickerFormatSelectProps, ColorPickerHueSlider, ColorPickerHueSliderProps, ColorPickerInput, ColorPickerInputProps, ColorPickerProps, ColorPickerSwatch, ColorPickerSwatchProps, ColorPickerTrigger, ColorPickerTriggerProps, useColorPickerStore } from './color-picker/index.js';
|
|
7
|
+
export { C as ColorFormat, a as ColorPickerContextValue, b as ColorValue, D as Direction, E as EyeDropper, H as HSVColorValue } from '../color-picker.types-GI7dq2Ig.js';
|
|
6
8
|
export { Checkbox, CheckboxProps } from './checkbox/index.js';
|
|
7
9
|
export { Dialog, DialogClose, DialogCloseProps, DialogContent, DialogContentProps, DialogContentWidth, DialogDescription, DialogDescriptionProps, DialogFooter, DialogFooterProps, DialogHeader, DialogHeaderProps, DialogProps, DialogTitle, DialogTitleProps, DialogTrigger, DialogTriggerProps } from './dialog/index.js';
|
|
8
10
|
export { Field, FieldContent, FieldContentProps, FieldDescription, FieldDescriptionProps, FieldError, FieldErrorProps, FieldGroup, FieldGroupProps, FieldLabel, FieldLabelProps, FieldLegend, FieldLegendProps, FieldProps, FieldSeparator, FieldSeparatorProps, FieldSet, FieldSetProps, FieldTitle, FieldTitleProps } from './field/index.js';
|
|
@@ -12,7 +14,8 @@ export { Item, ItemActions, ItemActionsProps, ItemContent, ItemContentProps, Ite
|
|
|
12
14
|
export { Label, LabelProps } from './label/index.js';
|
|
13
15
|
export { Marquee, MarqueeProps } from './marquee/index.js';
|
|
14
16
|
export { Progress, ProgressProps } from './progress/index.js';
|
|
15
|
-
export {
|
|
17
|
+
export { S as Select, a as SelectProps } from '../select-Bf6XQtt-.js';
|
|
18
|
+
export { SelectContent, SelectContentProps, SelectGroup, SelectGroupProps, SelectItem, SelectItemProps, SelectLabel, SelectLabelProps, SelectSeparator, SelectSeparatorProps } from './select/index.js';
|
|
16
19
|
export { Separator, SeparatorProps } from './separator/index.js';
|
|
17
20
|
export { Sheet, SheetClose, SheetCloseProps, SheetContent, SheetContentProps, SheetContentSide, SheetDescription, SheetDescriptionProps, SheetFooter, SheetFooterProps, SheetHeader, SheetHeaderProps, SheetProps, SheetContentSide as SheetSide, SheetTitle, SheetTitleProps, SheetTrigger, SheetTriggerProps } from './sheet/index.js';
|
|
18
21
|
export { Spinner, SpinnerProps } from './spinner/index.js';
|
|
@@ -34,6 +37,10 @@ export { CountingNumber, CountingNumberProps } from './counting-number/index.js'
|
|
|
34
37
|
export { TypingText, TypingTextAnimationVariant, TypingTextProps } from './typing-text/index.js';
|
|
35
38
|
export { WordRotate, WordRotateAnimationStyle, WordRotateProps } from './word-rotate/index.js';
|
|
36
39
|
export { ItemElement, Masonry, MasonryCache, MasonryCacheConstructor, MasonryCacheKey, MasonryElement, MasonryIntervalTree, MasonryItem, MasonryItemElement, MasonryItemProps, MasonryListNode, MasonryPositioner, MasonryPositionerItem, MasonryProps, MasonryTree, MasonryTreeNode, NodeColor, NodeOperation } from './masonry/index.js';
|
|
40
|
+
export { P as Popover, a as PopoverContent, b as PopoverContentProps, c as PopoverProps, d as PopoverTrigger, e as PopoverTriggerProps } from '../popover-trigger-Cf4PPj0z.js';
|
|
41
|
+
export { PopoverAnchor, PopoverAnchorProps, PopoverDescription, PopoverDescriptionProps, PopoverHeader, PopoverHeaderProps, PopoverTitle, PopoverTitleProps } from './popover/index.js';
|
|
42
|
+
export { FileState, FileUpload, FileUploadClear, FileUploadClearProps, FileUploadContextValue, FileUploadDropzone, FileUploadDropzoneProps, FileUploadItem, FileUploadItemContextValue, FileUploadItemDelete, FileUploadItemDeleteProps, FileUploadItemMetadata, FileUploadItemMetadataProps, FileUploadItemPreview, FileUploadItemPreviewProps, FileUploadItemProgress, FileUploadItemProgressProps, FileUploadItemProps, FileUploadList, FileUploadListOrientationType, FileUploadListProps, FileUploadProps, FileUploadStoreState, FileUploadTrigger, FileUploadTriggerProps, FileUploadUploadOptions, useFileUploadContext, useFileUploadItemContext, useFileUploadStore } from './file-upload/index.js';
|
|
43
|
+
export { Sortable, SortableItem, SortableItemHandle, SortableItemHandleProps, SortableItemProps, SortableOverlay, SortableOverlayProps, SortableProps, useSortableItemContext } from './sortable/index.js';
|
|
37
44
|
export { toast } from 'sonner';
|
|
38
45
|
import 'react';
|
|
39
46
|
import 'radix-ui';
|
|
@@ -42,3 +49,4 @@ import 'class-variance-authority';
|
|
|
42
49
|
import 'class-variance-authority/types';
|
|
43
50
|
import '../direction-CUOPDLCj.js';
|
|
44
51
|
import 'motion/react';
|
|
52
|
+
import '@dnd-kit/core';
|
package/dist/components/index.js
CHANGED
|
@@ -1,36 +1,40 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
-
export { Button, Stepper, StepperActivationMode, StepperContent, StepperDataState, StepperDescription, StepperFocusIntent, StepperIndicator, StepperItem, StepperNav, StepperNavigationDirection, StepperNextTrigger, StepperOrientation, StepperPanel, StepperPrevTrigger, StepperTitle, StepperTrigger, Toaster, toast, useStepperContext, useStepperFocusContext, useStepperItemContext } from '../chunk-
|
|
3
|
+
export { Button, ColorPicker, ColorPickerAlphaSlider, ColorPickerArea, ColorPickerContent, ColorPickerEyeDropper, ColorPickerFormatSelect, ColorPickerHueSlider, ColorPickerInput, ColorPickerSwatch, ColorPickerTrigger, Stepper, StepperActivationMode, StepperContent, StepperDataState, StepperDescription, StepperFocusIntent, StepperIndicator, StepperItem, StepperNav, StepperNavigationDirection, StepperNextTrigger, StepperOrientation, StepperPanel, StepperPrevTrigger, StepperTitle, StepperTrigger, Toaster, toast, useColorPickerStore, useStepperContext, useStepperFocusContext, useStepperItemContext } from '../chunk-OH323B3O.js';
|
|
4
|
+
export { Textarea } from '../chunk-OQCNPNPS.js';
|
|
5
|
+
export { Timeline, TimelineConnector, TimelineContent, TimelineDescription, TimelineDot, TimelineHeader, TimelineItem, TimelineTime, TimelineTitle } from '../chunk-VK2FJ65F.js';
|
|
4
6
|
export { TypingText } from '../chunk-WMGJCB7O.js';
|
|
7
|
+
export { Tooltip, TooltipContent, TooltipTrigger } from '../chunk-U7XZJQ4O.js';
|
|
5
8
|
export { WordRotate } from '../chunk-K5AURCK5.js';
|
|
9
|
+
export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger } from '../chunk-H5NHGMSQ.js';
|
|
10
|
+
export { Sortable, SortableItem, SortableItemHandle, SortableOverlay, useSortableItemContext } from '../chunk-BUJO4FB6.js';
|
|
11
|
+
export { Spinner } from '../chunk-P5IUC7HJ.js';
|
|
6
12
|
export { Status, StatusIndicator, StatusLabel } from '../chunk-IWF52DDE.js';
|
|
7
13
|
export { Switch } from '../chunk-X5O7GP4S.js';
|
|
8
14
|
export { Tabs, TabsContent, TabsList, TabsTrigger } from '../chunk-OCOCENE6.js';
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
12
|
-
export { Masonry, MasonryItem } from '../chunk-DL54DIMD.js';
|
|
13
|
-
export { RadioGroup, RadioGroupItem } from '../chunk-4TRADSTP.js';
|
|
15
|
+
export { Marquee } from '../chunk-YUMKV5TH.js';
|
|
16
|
+
export { Masonry, MasonryItem } from '../chunk-Q2MJKFIE.js';
|
|
17
|
+
export { Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger } from '../chunk-IZU3KULT.js';
|
|
14
18
|
export { Progress } from '../chunk-PBEZZMAB.js';
|
|
19
|
+
export { RadioGroup, RadioGroupItem } from '../chunk-4TRADSTP.js';
|
|
20
|
+
export { Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle } from '../chunk-KGGCA634.js';
|
|
15
21
|
export { ScrollArea, ScrollBar } from '../chunk-M7NIRB3U.js';
|
|
16
|
-
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator } from '../chunk-
|
|
17
|
-
export {
|
|
18
|
-
export { Spinner } from '../chunk-P5IUC7HJ.js';
|
|
22
|
+
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator } from '../chunk-XKCLVPUC.js';
|
|
23
|
+
export { CountingNumber } from '../chunk-P4JIMFSL.js';
|
|
19
24
|
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger } from '../chunk-BTSHACKG.js';
|
|
20
25
|
export { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle } from '../chunk-HNRVLRMN.js';
|
|
21
26
|
export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle } from '../chunk-3MH6P44N.js';
|
|
22
|
-
export { Header } from '../chunk-VT5GDGZJ.js';
|
|
23
|
-
export { Input } from '../chunk-UGSNASZM.js';
|
|
24
|
-
export { Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle } from '../chunk-KGGCA634.js';
|
|
25
27
|
export { Separator } from '../chunk-XJIUGEPN.js';
|
|
28
|
+
export { Header } from '../chunk-VT5GDGZJ.js';
|
|
29
|
+
export { FileUpload, FileUploadClear, FileUploadDropzone, FileUploadItem, FileUploadItemDelete, FileUploadItemMetadata, FileUploadItemPreview, FileUploadItemProgress, FileUploadList, FileUploadTrigger, useFileUploadContext, useFileUploadItemContext, useFileUploadStore } from '../chunk-EOTQVIA5.js';
|
|
30
|
+
export { Input } from '../chunk-S3ZUFD6U.js';
|
|
26
31
|
export { Label } from '../chunk-I3RSTJP6.js';
|
|
27
|
-
export { Marquee } from '../chunk-YUMKV5TH.js';
|
|
28
32
|
export { Badge, BadgeButton, BadgeDot } from '../chunk-U3QKV7I4.js';
|
|
29
33
|
export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from '../chunk-6BSR3O2J.js';
|
|
30
|
-
export { ColorSwatch } from '../chunk-3RK5PCIC.js';
|
|
31
34
|
export { Checkbox } from '../chunk-5F2Y65JH.js';
|
|
32
|
-
export {
|
|
33
|
-
import '../chunk-
|
|
35
|
+
export { ColorSwatch } from '../chunk-3RK5PCIC.js';
|
|
36
|
+
import '../chunk-4IGU5SVP.js';
|
|
37
|
+
import '../chunk-G24PWQKG.js';
|
|
34
38
|
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from '../chunk-B7RHEMZH.js';
|
|
35
39
|
export { Alert, AlertDescription, AlertTitle } from '../chunk-5MV54MWS.js';
|
|
36
40
|
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger } from '../chunk-5MJPZUTO.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkB4M7Q5KX_cjs = require('../../chunk-B4M7Q5KX.cjs');
|
|
4
4
|
require('../../chunk-H2BWO3SI.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "Input", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkB4M7Q5KX_cjs.Input; }
|
|
11
11
|
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Input } from '../../chunk-
|
|
1
|
+
export { Input } from '../../chunk-S3ZUFD6U.js';
|
|
2
2
|
import '../../chunk-ZD2QRAOX.js';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
+
import '../../color-picker.types-GI7dq2Ig.cjs';
|
|
3
4
|
import { VariantProps } from 'class-variance-authority';
|
|
4
5
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
5
6
|
import { Separator } from '../separator/index.cjs';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
+
import '../../color-picker.types-GI7dq2Ig.js';
|
|
3
4
|
import { VariantProps } from 'class-variance-authority';
|
|
4
5
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
5
6
|
import { Separator } from '../separator/index.js';
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../chunk-
|
|
3
|
+
var chunkCAIAZGSW_cjs = require('../../chunk-CAIAZGSW.cjs');
|
|
4
|
+
require('../../chunk-XY3ZNUWR.cjs');
|
|
5
|
+
require('../../chunk-N4TYSZSU.cjs');
|
|
5
6
|
|
|
6
7
|
|
|
7
8
|
|
|
8
9
|
Object.defineProperty(exports, "Masonry", {
|
|
9
10
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkCAIAZGSW_cjs.Masonry; }
|
|
11
12
|
});
|
|
12
13
|
Object.defineProperty(exports, "MasonryItem", {
|
|
13
14
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkCAIAZGSW_cjs.MasonryItem; }
|
|
15
16
|
});
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
export { Masonry, MasonryItem } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
1
|
+
export { Masonry, MasonryItem } from '../../chunk-Q2MJKFIE.js';
|
|
2
|
+
import '../../chunk-4IGU5SVP.js';
|
|
3
|
+
import '../../chunk-G24PWQKG.js';
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkGEDBA3JU_cjs = require('../../chunk-GEDBA3JU.cjs');
|
|
4
|
+
require('../../chunk-H2BWO3SI.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "Popover", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunkGEDBA3JU_cjs.Popover; }
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "PopoverAnchor", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () { return chunkGEDBA3JU_cjs.PopoverAnchor; }
|
|
15
|
+
});
|
|
16
|
+
Object.defineProperty(exports, "PopoverContent", {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () { return chunkGEDBA3JU_cjs.PopoverContent; }
|
|
19
|
+
});
|
|
20
|
+
Object.defineProperty(exports, "PopoverDescription", {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function () { return chunkGEDBA3JU_cjs.PopoverDescription; }
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(exports, "PopoverHeader", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function () { return chunkGEDBA3JU_cjs.PopoverHeader; }
|
|
27
|
+
});
|
|
28
|
+
Object.defineProperty(exports, "PopoverTitle", {
|
|
29
|
+
enumerable: true,
|
|
30
|
+
get: function () { return chunkGEDBA3JU_cjs.PopoverTitle; }
|
|
31
|
+
});
|
|
32
|
+
Object.defineProperty(exports, "PopoverTrigger", {
|
|
33
|
+
enumerable: true,
|
|
34
|
+
get: function () { return chunkGEDBA3JU_cjs.PopoverTrigger; }
|
|
35
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export { P as Popover, a as PopoverContent, b as PopoverContentProps, c as PopoverProps, d as PopoverTrigger, e as PopoverTriggerProps } from '../../popover-trigger-Cf4PPj0z.cjs';
|
|
2
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { Popover } from 'radix-ui';
|
|
5
|
+
|
|
6
|
+
type PopoverAnchorProps = React.ComponentProps<typeof Popover.Anchor>;
|
|
7
|
+
declare function PopoverAnchor(props: PopoverAnchorProps): react_jsx_runtime.JSX.Element;
|
|
8
|
+
|
|
9
|
+
type PopoverHeaderProps = React.ComponentProps<"div">;
|
|
10
|
+
declare function PopoverHeader({ className, ...props }: PopoverHeaderProps): react_jsx_runtime.JSX.Element;
|
|
11
|
+
|
|
12
|
+
type PopoverTitleProps = React.ComponentProps<"h2">;
|
|
13
|
+
declare function PopoverTitle({ className, ...props }: PopoverTitleProps): react_jsx_runtime.JSX.Element;
|
|
14
|
+
|
|
15
|
+
type PopoverDescriptionProps = React.ComponentProps<"p">;
|
|
16
|
+
declare function PopoverDescription({ className, ...props }: PopoverDescriptionProps): react_jsx_runtime.JSX.Element;
|
|
17
|
+
|
|
18
|
+
export { PopoverAnchor, type PopoverAnchorProps, PopoverDescription, type PopoverDescriptionProps, PopoverHeader, type PopoverHeaderProps, PopoverTitle, type PopoverTitleProps };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export { P as Popover, a as PopoverContent, b as PopoverContentProps, c as PopoverProps, d as PopoverTrigger, e as PopoverTriggerProps } from '../../popover-trigger-Cf4PPj0z.js';
|
|
2
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { Popover } from 'radix-ui';
|
|
5
|
+
|
|
6
|
+
type PopoverAnchorProps = React.ComponentProps<typeof Popover.Anchor>;
|
|
7
|
+
declare function PopoverAnchor(props: PopoverAnchorProps): react_jsx_runtime.JSX.Element;
|
|
8
|
+
|
|
9
|
+
type PopoverHeaderProps = React.ComponentProps<"div">;
|
|
10
|
+
declare function PopoverHeader({ className, ...props }: PopoverHeaderProps): react_jsx_runtime.JSX.Element;
|
|
11
|
+
|
|
12
|
+
type PopoverTitleProps = React.ComponentProps<"h2">;
|
|
13
|
+
declare function PopoverTitle({ className, ...props }: PopoverTitleProps): react_jsx_runtime.JSX.Element;
|
|
14
|
+
|
|
15
|
+
type PopoverDescriptionProps = React.ComponentProps<"p">;
|
|
16
|
+
declare function PopoverDescription({ className, ...props }: PopoverDescriptionProps): react_jsx_runtime.JSX.Element;
|
|
17
|
+
|
|
18
|
+
export { PopoverAnchor, type PopoverAnchorProps, PopoverDescription, type PopoverDescriptionProps, PopoverHeader, type PopoverHeaderProps, PopoverTitle, type PopoverTitleProps };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk6HX7ETL3_cjs = require('../../chunk-6HX7ETL3.cjs');
|
|
4
4
|
require('../../chunk-H2BWO3SI.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "Select", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunk6HX7ETL3_cjs.Select; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "SelectContent", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunk6HX7ETL3_cjs.SelectContent; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "SelectGroup", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunk6HX7ETL3_cjs.SelectGroup; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "SelectItem", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunk6HX7ETL3_cjs.SelectItem; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "SelectLabel", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunk6HX7ETL3_cjs.SelectLabel; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "SelectSeparator", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunk6HX7ETL3_cjs.SelectSeparator; }
|
|
31
31
|
});
|
|
@@ -1,28 +1,22 @@
|
|
|
1
|
+
export { S as Select, a as SelectProps } from '../../select-Bf6XQtt-.cjs';
|
|
1
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
3
|
import * as React from 'react';
|
|
3
4
|
import React__default from 'react';
|
|
4
|
-
import { Select
|
|
5
|
+
import { Select } from 'radix-ui';
|
|
5
6
|
|
|
6
|
-
type
|
|
7
|
-
size?: "sm" | "default";
|
|
8
|
-
invalid?: boolean;
|
|
9
|
-
placeholder?: React.ReactNode;
|
|
10
|
-
};
|
|
11
|
-
declare function Select({ children, disabled, defaultOpen, defaultValue, value, dir, open, form, name, onOpenChange, onValueChange, required, autoComplete, placeholder, className, size, invalid, ...triggerProps }: SelectProps): react_jsx_runtime.JSX.Element;
|
|
12
|
-
|
|
13
|
-
type SelectContentProps = React.ComponentProps<typeof Select$1.Content>;
|
|
7
|
+
type SelectContentProps = React.ComponentProps<typeof Select.Content>;
|
|
14
8
|
declare function SelectContent({ className, children, position, align, ...props }: SelectContentProps): react_jsx_runtime.JSX.Element;
|
|
15
9
|
|
|
16
|
-
type SelectGroupProps = React.ComponentProps<typeof Select
|
|
10
|
+
type SelectGroupProps = React.ComponentProps<typeof Select.Group>;
|
|
17
11
|
declare function SelectGroup(props: SelectGroupProps): react_jsx_runtime.JSX.Element;
|
|
18
12
|
|
|
19
|
-
type SelectItemProps = React.ComponentProps<typeof Select
|
|
13
|
+
type SelectItemProps = React.ComponentProps<typeof Select.Item>;
|
|
20
14
|
declare function SelectItem({ className, children, ...props }: SelectItemProps): react_jsx_runtime.JSX.Element;
|
|
21
15
|
|
|
22
|
-
type SelectLabelProps = React.ComponentProps<typeof Select
|
|
16
|
+
type SelectLabelProps = React.ComponentProps<typeof Select.Label>;
|
|
23
17
|
declare function SelectLabel({ className, ...props }: SelectLabelProps): react_jsx_runtime.JSX.Element;
|
|
24
18
|
|
|
25
|
-
type SelectSeparatorProps = React__default.ComponentProps<typeof Select
|
|
19
|
+
type SelectSeparatorProps = React__default.ComponentProps<typeof Select.Separator>;
|
|
26
20
|
declare function SelectSeparator({ className, ...props }: SelectSeparatorProps): react_jsx_runtime.JSX.Element;
|
|
27
21
|
|
|
28
|
-
export {
|
|
22
|
+
export { SelectContent, type SelectContentProps, SelectGroup, type SelectGroupProps, SelectItem, type SelectItemProps, SelectLabel, type SelectLabelProps, SelectSeparator, type SelectSeparatorProps };
|
|
@@ -1,28 +1,22 @@
|
|
|
1
|
+
export { S as Select, a as SelectProps } from '../../select-Bf6XQtt-.js';
|
|
1
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
3
|
import * as React from 'react';
|
|
3
4
|
import React__default from 'react';
|
|
4
|
-
import { Select
|
|
5
|
+
import { Select } from 'radix-ui';
|
|
5
6
|
|
|
6
|
-
type
|
|
7
|
-
size?: "sm" | "default";
|
|
8
|
-
invalid?: boolean;
|
|
9
|
-
placeholder?: React.ReactNode;
|
|
10
|
-
};
|
|
11
|
-
declare function Select({ children, disabled, defaultOpen, defaultValue, value, dir, open, form, name, onOpenChange, onValueChange, required, autoComplete, placeholder, className, size, invalid, ...triggerProps }: SelectProps): react_jsx_runtime.JSX.Element;
|
|
12
|
-
|
|
13
|
-
type SelectContentProps = React.ComponentProps<typeof Select$1.Content>;
|
|
7
|
+
type SelectContentProps = React.ComponentProps<typeof Select.Content>;
|
|
14
8
|
declare function SelectContent({ className, children, position, align, ...props }: SelectContentProps): react_jsx_runtime.JSX.Element;
|
|
15
9
|
|
|
16
|
-
type SelectGroupProps = React.ComponentProps<typeof Select
|
|
10
|
+
type SelectGroupProps = React.ComponentProps<typeof Select.Group>;
|
|
17
11
|
declare function SelectGroup(props: SelectGroupProps): react_jsx_runtime.JSX.Element;
|
|
18
12
|
|
|
19
|
-
type SelectItemProps = React.ComponentProps<typeof Select
|
|
13
|
+
type SelectItemProps = React.ComponentProps<typeof Select.Item>;
|
|
20
14
|
declare function SelectItem({ className, children, ...props }: SelectItemProps): react_jsx_runtime.JSX.Element;
|
|
21
15
|
|
|
22
|
-
type SelectLabelProps = React.ComponentProps<typeof Select
|
|
16
|
+
type SelectLabelProps = React.ComponentProps<typeof Select.Label>;
|
|
23
17
|
declare function SelectLabel({ className, ...props }: SelectLabelProps): react_jsx_runtime.JSX.Element;
|
|
24
18
|
|
|
25
|
-
type SelectSeparatorProps = React__default.ComponentProps<typeof Select
|
|
19
|
+
type SelectSeparatorProps = React__default.ComponentProps<typeof Select.Separator>;
|
|
26
20
|
declare function SelectSeparator({ className, ...props }: SelectSeparatorProps): react_jsx_runtime.JSX.Element;
|
|
27
21
|
|
|
28
|
-
export {
|
|
22
|
+
export { SelectContent, type SelectContentProps, SelectGroup, type SelectGroupProps, SelectItem, type SelectItemProps, SelectLabel, type SelectLabelProps, SelectSeparator, type SelectSeparatorProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator } from '../../chunk-
|
|
1
|
+
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator } from '../../chunk-XKCLVPUC.js';
|
|
2
2
|
import '../../chunk-ZD2QRAOX.js';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { Dialog } from 'radix-ui';
|
|
4
|
+
import '../../color-picker.types-GI7dq2Ig.cjs';
|
|
4
5
|
import { VariantProps } from 'class-variance-authority';
|
|
5
6
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
6
7
|
|
|
@@ -20,7 +21,7 @@ type SheetContentProps = React.ComponentProps<typeof Dialog.Content> & {
|
|
|
20
21
|
declare function SheetContent({ side, showCloseButton, className, children, ...props }: SheetContentProps): react_jsx_runtime.JSX.Element;
|
|
21
22
|
|
|
22
23
|
declare const sheetContentStyles: (props?: {
|
|
23
|
-
side?: "
|
|
24
|
+
side?: "left" | "right" | "bottom" | "top";
|
|
24
25
|
} & class_variance_authority_types.ClassProp) => string;
|
|
25
26
|
|
|
26
27
|
type SheetContentCvaProps = VariantProps<typeof sheetContentStyles>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { Dialog } from 'radix-ui';
|
|
4
|
+
import '../../color-picker.types-GI7dq2Ig.js';
|
|
4
5
|
import { VariantProps } from 'class-variance-authority';
|
|
5
6
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
6
7
|
|
|
@@ -20,7 +21,7 @@ type SheetContentProps = React.ComponentProps<typeof Dialog.Content> & {
|
|
|
20
21
|
declare function SheetContent({ side, showCloseButton, className, children, ...props }: SheetContentProps): react_jsx_runtime.JSX.Element;
|
|
21
22
|
|
|
22
23
|
declare const sheetContentStyles: (props?: {
|
|
23
|
-
side?: "
|
|
24
|
+
side?: "left" | "right" | "bottom" | "top";
|
|
24
25
|
} & class_variance_authority_types.ClassProp) => string;
|
|
25
26
|
|
|
26
27
|
type SheetContentCvaProps = VariantProps<typeof sheetContentStyles>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkCL2C6STG_cjs = require('../../chunk-CL2C6STG.cjs');
|
|
4
|
+
require('../../chunk-H2BWO3SI.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "Sortable", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunkCL2C6STG_cjs.Sortable; }
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "SortableItem", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () { return chunkCL2C6STG_cjs.SortableItem; }
|
|
15
|
+
});
|
|
16
|
+
Object.defineProperty(exports, "SortableItemHandle", {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () { return chunkCL2C6STG_cjs.SortableItemHandle; }
|
|
19
|
+
});
|
|
20
|
+
Object.defineProperty(exports, "SortableOverlay", {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function () { return chunkCL2C6STG_cjs.SortableOverlay; }
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(exports, "useSortableItemContext", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function () { return chunkCL2C6STG_cjs.useSortableItemContext; }
|
|
27
|
+
});
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { DragEndEvent, DragStartEvent, Modifiers, DraggableSyntheticListeners, DragOverlay, UniqueIdentifier } from '@dnd-kit/core';
|
|
4
|
+
|
|
5
|
+
type SortableProps<T> = Omit<React.ComponentProps<"div">, "onDragStart" | "onDragEnd"> & {
|
|
6
|
+
value: T[];
|
|
7
|
+
onValueChange: (value: T[]) => void;
|
|
8
|
+
getItemValue: (item: T) => string;
|
|
9
|
+
children: React.ReactNode;
|
|
10
|
+
onMove?: (event: {
|
|
11
|
+
event: DragEndEvent;
|
|
12
|
+
activeIndex: number;
|
|
13
|
+
overIndex: number;
|
|
14
|
+
}) => void;
|
|
15
|
+
strategy?: "horizontal" | "vertical" | "grid";
|
|
16
|
+
onDragStart?: (event: DragStartEvent) => void;
|
|
17
|
+
onDragEnd?: (event: DragEndEvent) => void;
|
|
18
|
+
modifiers?: Modifiers;
|
|
19
|
+
asChild?: boolean;
|
|
20
|
+
};
|
|
21
|
+
declare function Sortable<T>({ value, onValueChange, getItemValue, className, asChild, onMove, strategy, onDragStart, onDragEnd, modifiers, children, ...props }: SortableProps<T>): react_jsx_runtime.JSX.Element;
|
|
22
|
+
|
|
23
|
+
type SortableItemProps = React.ComponentProps<"div"> & {
|
|
24
|
+
value: string;
|
|
25
|
+
disabled?: boolean;
|
|
26
|
+
asChild?: boolean;
|
|
27
|
+
};
|
|
28
|
+
declare function SortableItem({ value, className, asChild, disabled, children, ...props }: SortableItemProps): react_jsx_runtime.JSX.Element;
|
|
29
|
+
|
|
30
|
+
interface SortableItemContextValue {
|
|
31
|
+
listeners: DraggableSyntheticListeners | undefined;
|
|
32
|
+
isDragging?: boolean;
|
|
33
|
+
disabled?: boolean;
|
|
34
|
+
}
|
|
35
|
+
declare function useSortableItemContext(consumerName: string): SortableItemContextValue;
|
|
36
|
+
|
|
37
|
+
type SortableItemHandleProps = React.ComponentProps<"div"> & {
|
|
38
|
+
cursor?: boolean;
|
|
39
|
+
asChild?: boolean;
|
|
40
|
+
};
|
|
41
|
+
declare function SortableItemHandle({ className, asChild, cursor, children, ...props }: SortableItemHandleProps): react_jsx_runtime.JSX.Element;
|
|
42
|
+
|
|
43
|
+
type SortableOverlayProps = Omit<React.ComponentProps<typeof DragOverlay>, "children"> & {
|
|
44
|
+
children?: React.ReactNode | ((params: {
|
|
45
|
+
value: UniqueIdentifier;
|
|
46
|
+
}) => React.ReactNode);
|
|
47
|
+
};
|
|
48
|
+
declare function SortableOverlay({ children, className, ...props }: SortableOverlayProps): React.ReactPortal;
|
|
49
|
+
|
|
50
|
+
export { Sortable, SortableItem, SortableItemHandle, type SortableItemHandleProps, type SortableItemProps, SortableOverlay, type SortableOverlayProps, type SortableProps, useSortableItemContext };
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { DragEndEvent, DragStartEvent, Modifiers, DraggableSyntheticListeners, DragOverlay, UniqueIdentifier } from '@dnd-kit/core';
|
|
4
|
+
|
|
5
|
+
type SortableProps<T> = Omit<React.ComponentProps<"div">, "onDragStart" | "onDragEnd"> & {
|
|
6
|
+
value: T[];
|
|
7
|
+
onValueChange: (value: T[]) => void;
|
|
8
|
+
getItemValue: (item: T) => string;
|
|
9
|
+
children: React.ReactNode;
|
|
10
|
+
onMove?: (event: {
|
|
11
|
+
event: DragEndEvent;
|
|
12
|
+
activeIndex: number;
|
|
13
|
+
overIndex: number;
|
|
14
|
+
}) => void;
|
|
15
|
+
strategy?: "horizontal" | "vertical" | "grid";
|
|
16
|
+
onDragStart?: (event: DragStartEvent) => void;
|
|
17
|
+
onDragEnd?: (event: DragEndEvent) => void;
|
|
18
|
+
modifiers?: Modifiers;
|
|
19
|
+
asChild?: boolean;
|
|
20
|
+
};
|
|
21
|
+
declare function Sortable<T>({ value, onValueChange, getItemValue, className, asChild, onMove, strategy, onDragStart, onDragEnd, modifiers, children, ...props }: SortableProps<T>): react_jsx_runtime.JSX.Element;
|
|
22
|
+
|
|
23
|
+
type SortableItemProps = React.ComponentProps<"div"> & {
|
|
24
|
+
value: string;
|
|
25
|
+
disabled?: boolean;
|
|
26
|
+
asChild?: boolean;
|
|
27
|
+
};
|
|
28
|
+
declare function SortableItem({ value, className, asChild, disabled, children, ...props }: SortableItemProps): react_jsx_runtime.JSX.Element;
|
|
29
|
+
|
|
30
|
+
interface SortableItemContextValue {
|
|
31
|
+
listeners: DraggableSyntheticListeners | undefined;
|
|
32
|
+
isDragging?: boolean;
|
|
33
|
+
disabled?: boolean;
|
|
34
|
+
}
|
|
35
|
+
declare function useSortableItemContext(consumerName: string): SortableItemContextValue;
|
|
36
|
+
|
|
37
|
+
type SortableItemHandleProps = React.ComponentProps<"div"> & {
|
|
38
|
+
cursor?: boolean;
|
|
39
|
+
asChild?: boolean;
|
|
40
|
+
};
|
|
41
|
+
declare function SortableItemHandle({ className, asChild, cursor, children, ...props }: SortableItemHandleProps): react_jsx_runtime.JSX.Element;
|
|
42
|
+
|
|
43
|
+
type SortableOverlayProps = Omit<React.ComponentProps<typeof DragOverlay>, "children"> & {
|
|
44
|
+
children?: React.ReactNode | ((params: {
|
|
45
|
+
value: UniqueIdentifier;
|
|
46
|
+
}) => React.ReactNode);
|
|
47
|
+
};
|
|
48
|
+
declare function SortableOverlay({ children, className, ...props }: SortableOverlayProps): React.ReactPortal;
|
|
49
|
+
|
|
50
|
+
export { Sortable, SortableItem, SortableItemHandle, type SortableItemHandleProps, type SortableItemProps, SortableOverlay, type SortableOverlayProps, type SortableProps, useSortableItemContext };
|