@datum-cloud/datum-ui 3.7.1 → 3.8.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/app-navigation/index.mjs +1 -1
- package/dist/{app-navigation-Bcx7hr9L.mjs → app-navigation-DyNZwlSG.mjs} +4 -4
- package/dist/assistant/index.mjs +9 -8
- package/dist/autocomplete/index.mjs +1 -1
- package/dist/{autocomplete-fSSmRLYK.mjs → autocomplete-D0zAcT78.mjs} +2 -2
- package/dist/autosearch/index.mjs +2 -2
- package/dist/badge/index.mjs +182 -1
- package/dist/button/index.mjs +2 -2
- package/dist/{button-Dj6cKrWj.mjs → button-Cn4KagBO.mjs} +1 -1
- package/dist/{button-BU8TEbJ5.mjs → button-IK-Lnu_9.mjs} +1 -1
- package/dist/{calendar-date-picker-BUwgVaI1.mjs → calendar-date-picker-CknZM6a2.mjs} +1 -1
- package/dist/card/index.mjs +1 -1
- package/dist/{card-save-bar-0XDpAJo_.mjs → card-save-bar-Te8jf-ie.mjs} +1 -1
- package/dist/checkbox/index.mjs +1 -1
- package/dist/checkbox-BAo5sbHk.mjs +84 -0
- package/dist/collapsible/index.mjs +1 -6
- package/dist/collapsible-B-KP3JZ-.mjs +104 -0
- package/dist/components/base/checkbox/checkbox.d.ts +11 -3
- package/dist/components/base/collapsible/collapsible.d.ts +28 -0
- package/dist/components/base/collapsible/index.d.ts +1 -1
- package/dist/components/base/radio-group/radio-group.d.ts +11 -5
- package/dist/components/base/spinner/index.d.ts +1 -1
- package/dist/components/base/spinner/spinner.d.ts +11 -0
- package/dist/components/base/switch/switch.d.ts +6 -1
- package/dist/components/base/typography/typography.d.ts +1 -1
- package/dist/components/features/_shared/copy-state-icon.d.ts +12 -0
- package/dist/components/features/_shared/index.d.ts +2 -0
- package/dist/components/features/_shared/motion-chip.d.ts +293 -0
- package/dist/components/icons/spinner.icon.d.ts +17 -3
- package/dist/copy-state-icon-DMvXXsZm.mjs +61 -0
- package/dist/data-table/index.mjs +1 -1
- package/dist/{data-table-s2YrE79S.mjs → data-table-CpBwO8Ea.mjs} +6 -6
- package/dist/date-picker/index.mjs +3 -3
- package/dist/date-time-picker/index.mjs +1 -1
- package/dist/{date-time-picker-CLdaGiGC.mjs → date-time-picker-Bc41Ixrs.mjs} +1 -1
- package/dist/{date-time-range-picker-RZX4CS4b.mjs → date-time-range-picker-yy1Acntn.mjs} +2 -2
- package/dist/dropzone/index.mjs +1 -1
- package/dist/{dropzone-Cer9E-VH.mjs → dropzone-qKYfSe7o.mjs} +1 -1
- package/dist/empty-content/index.mjs +1 -1
- package/dist/{empty-content-B2FZ9cyt.mjs → empty-content-CTMHak36.mjs} +1 -1
- package/dist/form/index.mjs +1 -1
- package/dist/form/stepper/index.mjs +1 -1
- package/dist/{form-C4XcxxjK.mjs → form-DTaVgDSV.mjs} +19 -12
- package/dist/grouped-table/index.mjs +1 -1
- package/dist/{grouped-table-32RO2v7U.mjs → grouped-table-Dl6DclbV.mjs} +3 -3
- package/dist/icons/index.mjs +1 -1
- package/dist/index.mjs +32 -32
- package/dist/{layers-XEND2WKv.mjs → layers-DLUbkJtt.mjs} +10 -2
- package/dist/loader-overlay/index.mjs +1 -1
- package/dist/{loader-overlay-JvB8IQo3.mjs → loader-overlay-DP0pvHuG.mjs} +1 -1
- package/dist/logs/index.mjs +39 -36
- package/dist/map/index.mjs +1 -1
- package/dist/more-actions/index.mjs +1 -1
- package/dist/{more-actions-D9k1ILzT.mjs → more-actions-BlSOVwa8.mjs} +1 -1
- package/dist/motion-chip-BczV7spP.mjs +52 -0
- package/dist/multi-select/index.mjs +1 -1
- package/dist/{multi-select-BUgx6VZF.mjs → multi-select-C2cBrqXl.mjs} +53 -45
- package/dist/picker/index.mjs +2 -2
- package/dist/{picker-C0h30DHf.mjs → picker-DC3GErYg.mjs} +1 -1
- package/dist/radio-group/index.mjs +1 -1
- package/dist/radio-group-Boxi2hm0.mjs +83 -0
- package/dist/rich-text-editor/index.mjs +1 -1
- package/dist/{rich-text-editor-ibngjhQV.mjs → rich-text-editor-BUz06s-b.mjs} +1 -1
- package/dist/spinner/index.mjs +1 -1
- package/dist/spinner-DSlDJdWl.mjs +23 -0
- package/dist/spinner.icon-BiUnMAxw.mjs +104 -0
- package/dist/switch/index.mjs +1 -1
- package/dist/switch-IduVwiPZ.mjs +114 -0
- package/dist/tabs/index.mjs +1 -1
- package/dist/tag-input/index.mjs +1 -1
- package/dist/{tag-input-DAMY703F.mjs → tag-input-a3ktkGrH.mjs} +39 -32
- package/dist/task-queue/index.mjs +1 -1
- package/dist/{task-queue-dropdown-BgQSGDwg.mjs → task-queue-dropdown-DuCAAybs.mjs} +3 -3
- package/dist/time-picker/index.mjs +1 -1
- package/dist/{time-picker-DgHjdcMZ.mjs → time-picker-B_am4eAK.mjs} +1 -1
- package/dist/{to-api-format-EZInfj0_.mjs → to-api-format-DyImCzCn.mjs} +2 -2
- package/dist/transfer/index.mjs +1 -1
- package/dist/{transfer-91lwTOhX.mjs → transfer-DGUeAQUL.mjs} +1 -1
- package/dist/{use-option-picker-CBMU72LU.mjs → use-option-picker-DXY2SNnT.mjs} +2 -2
- package/package.json +1 -4
- package/dist/badge-D7A6GfWn.mjs +0 -182
- package/dist/checkbox-CNljVnKj.mjs +0 -28
- package/dist/radio-group-0RxTmRnF.mjs +0 -43
- package/dist/spinner-DjEpx6Q3.mjs +0 -13
- package/dist/spinner.icon-D0SKuGFG.mjs +0 -47
- package/dist/switch-CWvVN9ea.mjs +0 -33
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { VariantProps } from 'class-variance-authority';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
declare const titleVariants: (props?: ({
|
|
4
|
-
level?: 1 | 2 |
|
|
4
|
+
level?: 1 | 2 | 4 | 3 | 5 | 6 | 7 | null | undefined;
|
|
5
5
|
weight?: "bold" | "normal" | "medium" | "semibold" | "extrabold" | null | undefined;
|
|
6
6
|
textColor?: "default" | "secondary" | "destructive" | "success" | "info" | "warning" | "primary" | "muted" | null | undefined;
|
|
7
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { LucideProps } from 'lucide-react';
|
|
2
|
+
/**
|
|
3
|
+
* Copy glyph that turns into a check once the copy has happened, and back again
|
|
4
|
+
* when `copied` resets. The two glyphs are stacked and cross-fade with a scale
|
|
5
|
+
* and a light blur, so the swap reads as one icon changing rather than two
|
|
6
|
+
* swapping places. Under reduced motion it only fades.
|
|
7
|
+
*
|
|
8
|
+
* Decorative: the owning button carries the accessible label.
|
|
9
|
+
*/
|
|
10
|
+
export declare function CopyStateIcon({ copied, ...iconProps }: LucideProps & {
|
|
11
|
+
copied: boolean;
|
|
12
|
+
}): import("react").JSX.Element;
|
|
@@ -0,0 +1,293 @@
|
|
|
1
|
+
import type { HTMLMotionProps } from 'motion/react';
|
|
2
|
+
/** `Badge` as a Motion component, so chips can enter, exit and reflow. */
|
|
3
|
+
export declare const MotionBadge: import("react").ComponentType<Omit<{
|
|
4
|
+
slot?: string | undefined;
|
|
5
|
+
title?: string | undefined;
|
|
6
|
+
className?: string | undefined;
|
|
7
|
+
defaultChecked?: boolean | undefined;
|
|
8
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
|
9
|
+
suppressContentEditableWarning?: boolean | undefined;
|
|
10
|
+
suppressHydrationWarning?: boolean | undefined;
|
|
11
|
+
accessKey?: string | undefined;
|
|
12
|
+
autoCapitalize?: "none" | (string & {}) | "off" | "on" | "sentences" | "words" | "characters" | undefined;
|
|
13
|
+
autoFocus?: boolean | undefined;
|
|
14
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
15
|
+
contextMenu?: string | undefined;
|
|
16
|
+
dir?: string | undefined;
|
|
17
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
18
|
+
enterKeyHint?: "search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined;
|
|
19
|
+
hidden?: boolean | undefined;
|
|
20
|
+
id?: string | undefined;
|
|
21
|
+
lang?: string | undefined;
|
|
22
|
+
nonce?: string | undefined;
|
|
23
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
24
|
+
tabIndex?: number | undefined;
|
|
25
|
+
translate?: "yes" | "no" | undefined;
|
|
26
|
+
radioGroup?: string | undefined;
|
|
27
|
+
role?: import("react").AriaRole | undefined;
|
|
28
|
+
about?: string | undefined;
|
|
29
|
+
content?: string | undefined;
|
|
30
|
+
datatype?: string | undefined;
|
|
31
|
+
inlist?: any;
|
|
32
|
+
prefix?: string | undefined;
|
|
33
|
+
property?: string | undefined;
|
|
34
|
+
rel?: string | undefined;
|
|
35
|
+
resource?: string | undefined;
|
|
36
|
+
rev?: string | undefined;
|
|
37
|
+
typeof?: string | undefined;
|
|
38
|
+
vocab?: string | undefined;
|
|
39
|
+
autoCorrect?: string | undefined;
|
|
40
|
+
autoSave?: string | undefined;
|
|
41
|
+
color?: string | undefined;
|
|
42
|
+
itemProp?: string | undefined;
|
|
43
|
+
itemScope?: boolean | undefined;
|
|
44
|
+
itemType?: string | undefined;
|
|
45
|
+
itemID?: string | undefined;
|
|
46
|
+
itemRef?: string | undefined;
|
|
47
|
+
results?: number | undefined;
|
|
48
|
+
security?: string | undefined;
|
|
49
|
+
unselectable?: "off" | "on" | undefined;
|
|
50
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined;
|
|
51
|
+
popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
|
|
52
|
+
popoverTarget?: string | undefined;
|
|
53
|
+
inert?: boolean | undefined;
|
|
54
|
+
inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
55
|
+
is?: string | undefined;
|
|
56
|
+
exportparts?: string | undefined;
|
|
57
|
+
part?: string | undefined;
|
|
58
|
+
"aria-activedescendant"?: string | undefined;
|
|
59
|
+
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
60
|
+
"aria-autocomplete"?: "list" | "none" | "inline" | "both" | undefined;
|
|
61
|
+
"aria-braillelabel"?: string | undefined;
|
|
62
|
+
"aria-brailleroledescription"?: string | undefined;
|
|
63
|
+
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
64
|
+
"aria-checked"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
65
|
+
"aria-colcount"?: number | undefined;
|
|
66
|
+
"aria-colindex"?: number | undefined;
|
|
67
|
+
"aria-colindextext"?: string | undefined;
|
|
68
|
+
"aria-colspan"?: number | undefined;
|
|
69
|
+
"aria-controls"?: string | undefined;
|
|
70
|
+
"aria-current"?: boolean | "true" | "false" | "time" | "page" | "step" | "location" | "date" | undefined;
|
|
71
|
+
"aria-describedby"?: string | undefined;
|
|
72
|
+
"aria-description"?: string | undefined;
|
|
73
|
+
"aria-details"?: string | undefined;
|
|
74
|
+
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
75
|
+
"aria-dropeffect"?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
|
|
76
|
+
"aria-errormessage"?: string | undefined;
|
|
77
|
+
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
78
|
+
"aria-flowto"?: string | undefined;
|
|
79
|
+
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
80
|
+
"aria-haspopup"?: boolean | "true" | "false" | "dialog" | "menu" | "grid" | "listbox" | "tree" | undefined;
|
|
81
|
+
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
82
|
+
"aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
83
|
+
"aria-keyshortcuts"?: string | undefined;
|
|
84
|
+
"aria-label"?: string | undefined;
|
|
85
|
+
"aria-labelledby"?: string | undefined;
|
|
86
|
+
"aria-level"?: number | undefined;
|
|
87
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
88
|
+
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
89
|
+
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
90
|
+
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
91
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
92
|
+
"aria-owns"?: string | undefined;
|
|
93
|
+
"aria-placeholder"?: string | undefined;
|
|
94
|
+
"aria-posinset"?: number | undefined;
|
|
95
|
+
"aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
96
|
+
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
97
|
+
"aria-relevant"?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
98
|
+
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
99
|
+
"aria-roledescription"?: string | undefined;
|
|
100
|
+
"aria-rowcount"?: number | undefined;
|
|
101
|
+
"aria-rowindex"?: number | undefined;
|
|
102
|
+
"aria-rowindextext"?: string | undefined;
|
|
103
|
+
"aria-rowspan"?: number | undefined;
|
|
104
|
+
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
105
|
+
"aria-setsize"?: number | undefined;
|
|
106
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
107
|
+
"aria-valuemax"?: number | undefined;
|
|
108
|
+
"aria-valuemin"?: number | undefined;
|
|
109
|
+
"aria-valuenow"?: number | undefined;
|
|
110
|
+
"aria-valuetext"?: string | undefined;
|
|
111
|
+
dangerouslySetInnerHTML?: {
|
|
112
|
+
__html: string | TrustedHTML;
|
|
113
|
+
} | undefined;
|
|
114
|
+
onCopy?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
115
|
+
onCopyCapture?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
116
|
+
onCut?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
117
|
+
onCutCapture?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
118
|
+
onPaste?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
119
|
+
onPasteCapture?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
120
|
+
onCompositionEnd?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
|
|
121
|
+
onCompositionEndCapture?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
|
|
122
|
+
onCompositionStart?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
|
|
123
|
+
onCompositionStartCapture?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
|
|
124
|
+
onCompositionUpdate?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
|
|
125
|
+
onCompositionUpdateCapture?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
|
|
126
|
+
onFocus?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
127
|
+
onFocusCapture?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
128
|
+
onBlur?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
129
|
+
onBlurCapture?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
130
|
+
onChange?: import("react").ChangeEventHandler<HTMLDivElement, Element> | undefined;
|
|
131
|
+
onChangeCapture?: import("react").ChangeEventHandler<HTMLDivElement, Element> | undefined;
|
|
132
|
+
onBeforeInput?: import("react").InputEventHandler<HTMLDivElement> | undefined;
|
|
133
|
+
onBeforeInputCapture?: import("react").InputEventHandler<HTMLDivElement> | undefined;
|
|
134
|
+
onInput?: import("react").InputEventHandler<HTMLDivElement> | undefined;
|
|
135
|
+
onInputCapture?: import("react").InputEventHandler<HTMLDivElement> | undefined;
|
|
136
|
+
onReset?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
137
|
+
onResetCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
138
|
+
onSubmit?: import("react").SubmitEventHandler<HTMLDivElement> | undefined;
|
|
139
|
+
onSubmitCapture?: import("react").SubmitEventHandler<HTMLDivElement> | undefined;
|
|
140
|
+
onInvalid?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
141
|
+
onInvalidCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
142
|
+
onLoad?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
143
|
+
onLoadCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
144
|
+
onError?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
145
|
+
onErrorCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
146
|
+
onKeyDown?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
147
|
+
onKeyDownCapture?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
148
|
+
onKeyPress?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
149
|
+
onKeyPressCapture?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
150
|
+
onKeyUp?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
151
|
+
onKeyUpCapture?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
152
|
+
onAbort?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
153
|
+
onAbortCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
154
|
+
onCanPlay?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
155
|
+
onCanPlayCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
156
|
+
onCanPlayThrough?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
157
|
+
onCanPlayThroughCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
158
|
+
onDurationChange?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
159
|
+
onDurationChangeCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
160
|
+
onEmptied?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
161
|
+
onEmptiedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
162
|
+
onEncrypted?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
163
|
+
onEncryptedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
164
|
+
onEnded?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
165
|
+
onEndedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
166
|
+
onLoadedData?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
167
|
+
onLoadedDataCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
168
|
+
onLoadedMetadata?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
169
|
+
onLoadedMetadataCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
170
|
+
onLoadStart?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
171
|
+
onLoadStartCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
172
|
+
onPause?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
173
|
+
onPauseCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
174
|
+
onPlay?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
175
|
+
onPlayCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
176
|
+
onPlaying?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
177
|
+
onPlayingCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
178
|
+
onProgress?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
179
|
+
onProgressCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
180
|
+
onRateChange?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
181
|
+
onRateChangeCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
182
|
+
onSeeked?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
183
|
+
onSeekedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
184
|
+
onSeeking?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
185
|
+
onSeekingCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
186
|
+
onStalled?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
187
|
+
onStalledCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
188
|
+
onSuspend?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
189
|
+
onSuspendCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
190
|
+
onTimeUpdate?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
191
|
+
onTimeUpdateCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
192
|
+
onVolumeChange?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
193
|
+
onVolumeChangeCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
194
|
+
onWaiting?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
195
|
+
onWaitingCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
196
|
+
onAuxClick?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
197
|
+
onAuxClickCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
198
|
+
onClick?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
199
|
+
onClickCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
200
|
+
onContextMenu?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
201
|
+
onContextMenuCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
202
|
+
onDoubleClick?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
203
|
+
onDoubleClickCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
204
|
+
onDragCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
205
|
+
onDragEndCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
206
|
+
onDragEnter?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
207
|
+
onDragEnterCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
208
|
+
onDragExit?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
209
|
+
onDragExitCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
210
|
+
onDragLeave?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
211
|
+
onDragLeaveCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
212
|
+
onDragOver?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
213
|
+
onDragOverCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
214
|
+
onDragStartCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
215
|
+
onDrop?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
216
|
+
onDropCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
217
|
+
onMouseDown?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
218
|
+
onMouseDownCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
219
|
+
onMouseEnter?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
220
|
+
onMouseLeave?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
221
|
+
onMouseMove?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
222
|
+
onMouseMoveCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
223
|
+
onMouseOut?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
224
|
+
onMouseOutCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
225
|
+
onMouseOver?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
226
|
+
onMouseOverCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
227
|
+
onMouseUp?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
228
|
+
onMouseUpCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
229
|
+
onSelect?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
230
|
+
onSelectCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
231
|
+
onTouchCancel?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
232
|
+
onTouchCancelCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
233
|
+
onTouchEnd?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
234
|
+
onTouchEndCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
235
|
+
onTouchMove?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
236
|
+
onTouchMoveCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
237
|
+
onTouchStart?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
238
|
+
onTouchStartCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
239
|
+
onPointerDown?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
240
|
+
onPointerDownCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
241
|
+
onPointerMove?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
242
|
+
onPointerMoveCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
243
|
+
onPointerUp?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
244
|
+
onPointerUpCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
245
|
+
onPointerCancel?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
246
|
+
onPointerCancelCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
247
|
+
onPointerEnter?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
248
|
+
onPointerLeave?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
249
|
+
onPointerOver?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
250
|
+
onPointerOverCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
251
|
+
onPointerOut?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
252
|
+
onPointerOutCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
253
|
+
onGotPointerCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
254
|
+
onGotPointerCaptureCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
255
|
+
onLostPointerCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
256
|
+
onLostPointerCaptureCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
257
|
+
onScroll?: import("react").UIEventHandler<HTMLDivElement> | undefined;
|
|
258
|
+
onScrollCapture?: import("react").UIEventHandler<HTMLDivElement> | undefined;
|
|
259
|
+
onScrollEnd?: import("react").UIEventHandler<HTMLDivElement> | undefined;
|
|
260
|
+
onScrollEndCapture?: import("react").UIEventHandler<HTMLDivElement> | undefined;
|
|
261
|
+
onWheel?: import("react").WheelEventHandler<HTMLDivElement> | undefined;
|
|
262
|
+
onWheelCapture?: import("react").WheelEventHandler<HTMLDivElement> | undefined;
|
|
263
|
+
onAnimationStartCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
264
|
+
onAnimationEnd?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
265
|
+
onAnimationEndCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
266
|
+
onAnimationIteration?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
267
|
+
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
268
|
+
onToggle?: import("react").ToggleEventHandler<HTMLDivElement> | undefined;
|
|
269
|
+
onBeforeToggle?: import("react").ToggleEventHandler<HTMLDivElement> | undefined;
|
|
270
|
+
onTransitionCancel?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
271
|
+
onTransitionCancelCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
272
|
+
onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
273
|
+
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
274
|
+
onTransitionRun?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
275
|
+
onTransitionRunCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
276
|
+
onTransitionStart?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
277
|
+
onTransitionStartCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
278
|
+
type?: "secondary" | "success" | "info" | "warning" | "primary" | "tertiary" | "quaternary" | "danger" | "muted" | null | undefined;
|
|
279
|
+
theme?: "outline" | "solid" | "light" | null | undefined;
|
|
280
|
+
} & import("motion/react").MotionProps, "children"> & {
|
|
281
|
+
children?: import("react").ReactNode | import("motion/react").MotionValue<number> | import("motion/react").MotionValue<string>;
|
|
282
|
+
}>;
|
|
283
|
+
/**
|
|
284
|
+
* Motion props for a chip in a wrapping list, for use with `MotionBadge`
|
|
285
|
+
* inside `<AnimatePresence initial={false} mode="popLayout">`.
|
|
286
|
+
*
|
|
287
|
+
* A chip scales up slightly as it fades in, and fades out a little faster
|
|
288
|
+
* when removed. `popLayout` takes the leaving chip out of flow straight away,
|
|
289
|
+
* and `layout="position"` slides the chips after it into the gap rather than
|
|
290
|
+
* snapping. The list needs `position: relative` for `popLayout` to place the
|
|
291
|
+
* leaving chip. Under reduced motion chips only fade and nothing slides.
|
|
292
|
+
*/
|
|
293
|
+
export declare function useChipMotion(): Pick<HTMLMotionProps<'div'>, 'initial' | 'animate' | 'exit' | 'transition' | 'layout'>;
|
|
@@ -1,12 +1,26 @@
|
|
|
1
1
|
import type { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import * as React from 'react';
|
|
2
3
|
declare const spinnerVariants: (props?: ({
|
|
3
4
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | null | undefined;
|
|
4
5
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
5
6
|
export interface SpinnerIconProps extends React.SVGProps<SVGSVGElement>, VariantProps<typeof spinnerVariants> {
|
|
6
|
-
/**
|
|
7
|
+
/**
|
|
8
|
+
* Colour of the track (background circle). By default the track is the
|
|
9
|
+
* indicator colour at low opacity, so recolouring the indicator recolours both.
|
|
10
|
+
*/
|
|
7
11
|
trackClassName?: string;
|
|
8
|
-
/**
|
|
12
|
+
/** Colour of the spinning indicator */
|
|
9
13
|
indicatorClassName?: string;
|
|
10
14
|
}
|
|
11
|
-
|
|
15
|
+
/**
|
|
16
|
+
* A loading spinner: a faint full-circle track with an arc that fades from a
|
|
17
|
+
* transparent tail to a solid, rounded head, turning clockwise.
|
|
18
|
+
*
|
|
19
|
+
* The rotation runs through Motion as a full `transform` keyframe animation,
|
|
20
|
+
* which Motion hands to the Web Animations API. That keeps it on the
|
|
21
|
+
* compositor, so the spinner stays smooth while the main thread is busy doing
|
|
22
|
+
* whatever the user is waiting for. It keeps spinning under reduced motion:
|
|
23
|
+
* it is essential loading feedback, not decoration.
|
|
24
|
+
*/
|
|
25
|
+
export declare function SpinnerIcon({ size, className, trackClassName, indicatorClassName, ...props }: SpinnerIconProps): React.JSX.Element;
|
|
12
26
|
export {};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { n as EASE, t as DURATION } from "./motion-DOrRbLmy.mjs";
|
|
2
|
+
import { CheckIcon, CopyIcon } from "lucide-react";
|
|
3
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
+
import { motion, useReducedMotion } from "motion/react";
|
|
5
|
+
// src/components/features/_shared/copy-state-icon.tsx
|
|
6
|
+
const TRANSITION = {
|
|
7
|
+
duration: DURATION.fast,
|
|
8
|
+
ease: EASE.out
|
|
9
|
+
};
|
|
10
|
+
const SHOWN = {
|
|
11
|
+
opacity: 1,
|
|
12
|
+
scale: 1,
|
|
13
|
+
filter: "blur(0px)"
|
|
14
|
+
};
|
|
15
|
+
const HIDDEN = {
|
|
16
|
+
opacity: 0,
|
|
17
|
+
scale: .5,
|
|
18
|
+
filter: "blur(2px)"
|
|
19
|
+
};
|
|
20
|
+
const HIDDEN_REDUCED = {
|
|
21
|
+
opacity: 0,
|
|
22
|
+
scale: 1,
|
|
23
|
+
filter: "blur(0px)"
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Copy glyph that turns into a check once the copy has happened, and back again
|
|
27
|
+
* when `copied` resets. The two glyphs are stacked and cross-fade with a scale
|
|
28
|
+
* and a light blur, so the swap reads as one icon changing rather than two
|
|
29
|
+
* swapping places. Under reduced motion it only fades.
|
|
30
|
+
*
|
|
31
|
+
* Decorative: the owning button carries the accessible label.
|
|
32
|
+
*/
|
|
33
|
+
function CopyStateIcon({ copied, ...iconProps }) {
|
|
34
|
+
const hidden = Boolean(useReducedMotion()) ? HIDDEN_REDUCED : HIDDEN;
|
|
35
|
+
return /* @__PURE__ */ jsxs("span", {
|
|
36
|
+
"aria-hidden": true,
|
|
37
|
+
"data-slot": "copy-state-icon",
|
|
38
|
+
"data-copied": copied,
|
|
39
|
+
className: "inline-grid shrink-0 place-items-center",
|
|
40
|
+
children: [/* @__PURE__ */ jsx(motion.span, {
|
|
41
|
+
className: "flex [grid-area:1/1]",
|
|
42
|
+
initial: false,
|
|
43
|
+
animate: copied ? hidden : SHOWN,
|
|
44
|
+
transition: TRANSITION,
|
|
45
|
+
children: /* @__PURE__ */ jsx(CopyIcon, {
|
|
46
|
+
"aria-hidden": true,
|
|
47
|
+
...iconProps
|
|
48
|
+
})
|
|
49
|
+
}), /* @__PURE__ */ jsx(motion.span, {
|
|
50
|
+
className: "flex [grid-area:1/1]",
|
|
51
|
+
initial: false,
|
|
52
|
+
animate: copied ? SHOWN : hidden,
|
|
53
|
+
transition: TRANSITION,
|
|
54
|
+
children: /* @__PURE__ */ jsx(CheckIcon, {
|
|
55
|
+
"aria-hidden": true,
|
|
56
|
+
...iconProps
|
|
57
|
+
})
|
|
58
|
+
})]
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
export { CopyStateIcon as t };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { v as DEFAULT_DEBOUNCE_MS, y as DEFAULT_LOADING_ROWS, b as DEFAULT_PAGE_SIZE, x as DEFAULT_PAGE_SIZES, t as DataTable, h as DataTableColumnHeader, m as DataTableRowActions, u as createDataTableStore, g as createSelectionColumn, p as dataTableFeatures, d as resolvePath, f as rowMatchesSearch, n as useDataTableFilters, r as useDataTableInlineContents, i as useDataTableLoading, a as useDataTablePagination, o as useDataTableRows, s as useDataTableSearch, c as useDataTableSelection, l as useDataTableSorting, _ as useNuqsAdapter } from "../data-table-
|
|
1
|
+
export { v as DEFAULT_DEBOUNCE_MS, y as DEFAULT_LOADING_ROWS, b as DEFAULT_PAGE_SIZE, x as DEFAULT_PAGE_SIZES, t as DataTable, h as DataTableColumnHeader, m as DataTableRowActions, u as createDataTableStore, g as createSelectionColumn, p as dataTableFeatures, d as resolvePath, f as rowMatchesSearch, n as useDataTableFilters, r as useDataTableInlineContents, i as useDataTableLoading, a as useDataTablePagination, o as useDataTableRows, s as useDataTableSearch, c as useDataTableSelection, l as useDataTableSorting, _ as useNuqsAdapter } from "../data-table-CpBwO8Ea.mjs";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { t as Checkbox } from "./checkbox-
|
|
1
|
+
import { t as Checkbox } from "./checkbox-BAo5sbHk.mjs";
|
|
2
2
|
import { t as cn } from "./utils-CTIuhCOs.mjs";
|
|
3
|
-
import { t as Button } from "./button-
|
|
3
|
+
import { t as Button } from "./button-Cn4KagBO.mjs";
|
|
4
4
|
import { t as ResponsiveDropdown } from "./responsive-dropdown-DsWgpE_i.mjs";
|
|
5
5
|
import { t as ActionRow } from "./action-row-BEzE9x37.mjs";
|
|
6
|
-
import {
|
|
6
|
+
import { Badge } from "./badge/index.mjs";
|
|
7
7
|
import { Skeleton } from "./skeleton/index.mjs";
|
|
8
8
|
import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from "./table/index.mjs";
|
|
9
9
|
import { i as SelectItem, l as SelectTrigger, n as SelectContent, t as Select, u as SelectValue } from "./select-DemYhwnG.mjs";
|
|
10
10
|
import { t as Input } from "./input-DsT5qkJn.mjs";
|
|
11
11
|
import { n as useDebouncedSearchInput } from "./use-debounced-search-input-B4u28iLx.mjs";
|
|
12
|
-
import { t as MultiSelect } from "./multi-select-
|
|
13
|
-
import { t as CalendarDatePicker } from "./calendar-date-picker-
|
|
14
|
-
import { t as Autocomplete } from "./autocomplete-
|
|
12
|
+
import { t as MultiSelect } from "./multi-select-C2cBrqXl.mjs";
|
|
13
|
+
import { t as CalendarDatePicker } from "./calendar-date-picker-CknZM6a2.mjs";
|
|
14
|
+
import { t as Autocomplete } from "./autocomplete-D0zAcT78.mjs";
|
|
15
15
|
import { ArrowDown, ArrowUp, ArrowUpDown, ChevronLeft, ChevronRight, MoreHorizontal, Search, X } from "lucide-react";
|
|
16
16
|
import { createContext, memo, use, useCallback, useContext, useEffect, useId, useMemo, useRef, useState, useSyncExternalStore } from "react";
|
|
17
17
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { M as getBrowserTimezone, N as getTimezoneOffset, j as formatTimezoneLabel } from "../date-time-range-picker-
|
|
2
|
-
import { t as CalendarDatePicker } from "../calendar-date-picker-
|
|
3
|
-
import { _ as getShortTimezoneDisplay, a as TimeRangePicker, b as utcToLocalInputString, c as getPresetByKey, d as TimezoneSelector, f as QuickRangesPanel, g as getDefaultTimezoneOptions, h as formatUtcForDisplay, i as formatTimeRangeDisplay, l as getPresetByShortcut, m as createTimezoneOption, n as formatDateForInput, o as DEFAULT_PRESETS, p as CustomRangePanel, r as formatSingleTimeDisplay, s as getDefaultPreset, t as toApiTimeRange, u as getPresetRange, v as localInputStringToUtc, x as zonedDateToUtcString, y as utcStringToZonedDate } from "../to-api-format-
|
|
1
|
+
import { M as getBrowserTimezone, N as getTimezoneOffset, j as formatTimezoneLabel } from "../date-time-range-picker-yy1Acntn.mjs";
|
|
2
|
+
import { t as CalendarDatePicker } from "../calendar-date-picker-CknZM6a2.mjs";
|
|
3
|
+
import { _ as getShortTimezoneDisplay, a as TimeRangePicker, b as utcToLocalInputString, c as getPresetByKey, d as TimezoneSelector, f as QuickRangesPanel, g as getDefaultTimezoneOptions, h as formatUtcForDisplay, i as formatTimeRangeDisplay, l as getPresetByShortcut, m as createTimezoneOption, n as formatDateForInput, o as DEFAULT_PRESETS, p as CustomRangePanel, r as formatSingleTimeDisplay, s as getDefaultPreset, t as toApiTimeRange, u as getPresetRange, v as localInputStringToUtc, x as zonedDateToUtcString, y as utcStringToZonedDate } from "../to-api-format-DyImCzCn.mjs";
|
|
4
4
|
export { CustomRangePanel as AbsoluteRangePanel, CustomRangePanel, CalendarDatePicker, DEFAULT_PRESETS, QuickRangesPanel, TimeRangePicker, TimezoneSelector, createTimezoneOption, formatDateForInput, formatSingleTimeDisplay, formatTimeRangeDisplay, formatTimezoneLabel, formatUtcForDisplay, getBrowserTimezone, getDefaultPreset, getDefaultTimezoneOptions, getPresetByKey, getPresetByShortcut, getPresetRange, getShortTimezoneDisplay, getTimezoneOffset, localInputStringToUtc, toApiTimeRange, utcStringToZonedDate, utcToLocalInputString, zonedDateToUtcString };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as DateTimePicker } from "../date-time-picker-
|
|
1
|
+
export { t as DateTimePicker } from "../date-time-picker-Bc41Ixrs.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as useDeprecationWarning } from "./use-deprecation-warning-BS1V4IS5.mjs";
|
|
2
|
-
import { r as DateTimePicker$1 } from "./picker-
|
|
2
|
+
import { r as DateTimePicker$1 } from "./picker-DC3GErYg.mjs";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
// src/components/features/date-time-picker/date-time-picker.tsx
|
|
5
5
|
/**
|
|
@@ -3,8 +3,8 @@ import { t as cn } from "./utils-CTIuhCOs.mjs";
|
|
|
3
3
|
import { t as ResponsivePopover } from "./responsive-popover-DJYd8lOK.mjs";
|
|
4
4
|
import { t as Button } from "./button-C57mkFkS.mjs";
|
|
5
5
|
import { t as useBreakpoint } from "./use-breakpoint-zY_JYINK.mjs";
|
|
6
|
-
import { n as OptionList, t as useOptionPicker } from "./use-option-picker-
|
|
7
|
-
import { t as Button$1 } from "./button-
|
|
6
|
+
import { n as OptionList, t as useOptionPicker } from "./use-option-picker-DXY2SNnT.mjs";
|
|
7
|
+
import { t as Button$1 } from "./button-Cn4KagBO.mjs";
|
|
8
8
|
import { CalendarIcon, Clock, Globe, X } from "lucide-react";
|
|
9
9
|
import { createContext, useCallback, useContext, useEffect, useMemo, useReducer, useRef, useState } from "react";
|
|
10
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
package/dist/dropzone/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as Dropzone, n as DropzoneContent, r as DropzoneEmptyState, i as FileInputButton } from "../dropzone-
|
|
1
|
+
export { t as Dropzone, n as DropzoneContent, r as DropzoneEmptyState, i as FileInputButton } from "../dropzone-qKYfSe7o.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cn } from "./utils-CTIuhCOs.mjs";
|
|
2
|
-
import { t as Button } from "./button-
|
|
2
|
+
import { t as Button } from "./button-Cn4KagBO.mjs";
|
|
3
3
|
import { t as Button$1 } from "./button-C57mkFkS.mjs";
|
|
4
4
|
import { t as Icon } from "./icon-wrapper-CIk2th6R.mjs";
|
|
5
5
|
import { UploadIcon } from "lucide-react";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as EmptyContent } from "../empty-content-
|
|
1
|
+
export { t as EmptyContent } from "../empty-content-CTMHak36.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cn } from "./utils-CTIuhCOs.mjs";
|
|
2
|
-
import { t as Button } from "./button-
|
|
2
|
+
import { t as Button } from "./button-Cn4KagBO.mjs";
|
|
3
3
|
import { t as Tooltip } from "./tooltip-OIySjJWW.mjs";
|
|
4
4
|
import { cva } from "class-variance-authority";
|
|
5
5
|
import { Fragment } from "react";
|
package/dist/form/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { A as FormCheckbox, C as FormDialog, D as FormCustom, E as FormDatePicker, M as FormAutosearch, N as FormAutocomplete, O as FormCopyBox, S as FormError, T as FormDateTimePicker, _ as FormRadioGroup, a as useField, b as FormFieldArray, c as useWatchAll, d as FormTextarea, f as FormSwitch, g as FormRoot, h as FormSelectItem, i as useFieldContext, j as FormButton, k as FormCombobox, l as FormTransfer, m as FormSelect, n as useFormState, o as FormWhen, p as FormSubmit, r as useFormContext, s as useWatch, t as Form, u as FormTimePicker, v as FormRadioItem, w as FormDescription, x as FormField, y as FormInput } from "../form-
|
|
1
|
+
import { A as FormCheckbox, C as FormDialog, D as FormCustom, E as FormDatePicker, M as FormAutosearch, N as FormAutocomplete, O as FormCopyBox, S as FormError, T as FormDateTimePicker, _ as FormRadioGroup, a as useField, b as FormFieldArray, c as useWatchAll, d as FormTextarea, f as FormSwitch, g as FormRoot, h as FormSelectItem, i as useFieldContext, j as FormButton, k as FormCombobox, l as FormTransfer, m as FormSelect, n as useFormState, o as FormWhen, p as FormSubmit, r as useFormContext, s as useWatch, t as Form, u as FormTimePicker, v as FormRadioItem, w as FormDescription, x as FormField, y as FormInput } from "../form-DTaVgDSV.mjs";
|
|
2
2
|
import { n as useAdapter, t as FormAdapterProvider } from "../adapter-context-XT749tyT.mjs";
|
|
3
3
|
export { Form, FormAdapterProvider, FormAutocomplete, FormAutosearch, FormButton, FormCheckbox, FormCombobox, FormCopyBox, FormCustom, FormDatePicker, FormDateTimePicker, FormDescription, FormDialog, FormError, FormField, FormFieldArray, FormInput, FormRadioGroup, FormRadioItem, FormRoot, FormSelect, FormSelectItem, FormSubmit, FormSwitch, FormTextarea, FormTimePicker, FormTransfer, FormWhen, useAdapter, useField, useFieldContext, useFormContext, useFormState, useWatch, useWatchAll };
|
|
@@ -3,7 +3,7 @@ import { t as defineStepper } from "../../stepper-ZipxpzWY.mjs";
|
|
|
3
3
|
import { n as useAdapter } from "../../adapter-context-XT749tyT.mjs";
|
|
4
4
|
import { n as useFormContext, t as FormProvider } from "../../form-context-BRzt53M5.mjs";
|
|
5
5
|
import { t as getObjectShape } from "../../zod-helpers-JcfFVJJd.mjs";
|
|
6
|
-
import { t as Button } from "../../button-
|
|
6
|
+
import { t as Button } from "../../button-Cn4KagBO.mjs";
|
|
7
7
|
import { CheckIcon } from "lucide-react";
|
|
8
8
|
import * as React from "react";
|
|
9
9
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { t as cn } from "./utils-CTIuhCOs.mjs";
|
|
2
|
-
import { t as Autocomplete } from "./autocomplete-
|
|
2
|
+
import { t as Autocomplete } from "./autocomplete-D0zAcT78.mjs";
|
|
3
3
|
import { Autosearch } from "./autosearch/index.mjs";
|
|
4
|
-
import { t as Button } from "./button-
|
|
4
|
+
import { t as Button } from "./button-Cn4KagBO.mjs";
|
|
5
5
|
import { n as useFormContext$1, t as FormProvider } from "./form-context-BRzt53M5.mjs";
|
|
6
|
-
import { t as Checkbox } from "./checkbox-
|
|
6
|
+
import { t as Checkbox } from "./checkbox-BAo5sbHk.mjs";
|
|
7
7
|
import { t as Label } from "./label-BR1V3Imy.mjs";
|
|
8
8
|
import { t as toast } from "./toast-CizxCEcK.mjs";
|
|
9
9
|
import { t as useCopyToClipboard } from "./use-copy-to-clipboard-CWKWHLxI.mjs";
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as
|
|
10
|
+
import { t as CopyStateIcon } from "./copy-state-icon-DMvXXsZm.mjs";
|
|
11
|
+
import { t as CalendarDatePicker } from "./calendar-date-picker-CknZM6a2.mjs";
|
|
12
|
+
import { t as DateTimePicker } from "./date-time-picker-Bc41Ixrs.mjs";
|
|
12
13
|
import { t as Dialog } from "./dialog-C8RXIQYm.mjs";
|
|
13
14
|
import { t as useControllableState } from "./use-controllable-state-DLeVgbAb.mjs";
|
|
14
15
|
import { t as Tooltip } from "./tooltip-OIySjJWW.mjs";
|
|
@@ -16,13 +17,13 @@ import { t as Icon } from "./icon-wrapper-CIk2th6R.mjs";
|
|
|
16
17
|
import { n as useAdapter } from "./adapter-context-XT749tyT.mjs";
|
|
17
18
|
import { t as Input } from "./input-DsT5qkJn.mjs";
|
|
18
19
|
import { InputWithAddons } from "./input-with-addons/index.mjs";
|
|
19
|
-
import { n as RadioGroupItem, t as RadioGroup } from "./radio-group-
|
|
20
|
+
import { n as RadioGroupItem, t as RadioGroup } from "./radio-group-Boxi2hm0.mjs";
|
|
20
21
|
import { i as SelectItem, l as SelectTrigger, n as SelectContent, t as Select, u as SelectValue } from "./select-DemYhwnG.mjs";
|
|
21
|
-
import { t as Switch } from "./switch-
|
|
22
|
+
import { t as Switch } from "./switch-IduVwiPZ.mjs";
|
|
22
23
|
import { t as Textarea } from "./textarea-CvhdK6JY.mjs";
|
|
23
|
-
import { t as TimePicker } from "./time-picker-
|
|
24
|
-
import { t as Transfer } from "./transfer-
|
|
25
|
-
import {
|
|
24
|
+
import { t as TimePicker } from "./time-picker-B_am4eAK.mjs";
|
|
25
|
+
import { t as Transfer } from "./transfer-DGUeAQUL.mjs";
|
|
26
|
+
import { CircleHelp } from "lucide-react";
|
|
26
27
|
import * as React from "react";
|
|
27
28
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
28
29
|
// src/components/features/form/context/field-context.tsx
|
|
@@ -307,14 +308,20 @@ function FormCopyBox({ variant = "default", className, contentClassName, buttonC
|
|
|
307
308
|
title: copied ? "Copied" : "Copy",
|
|
308
309
|
className: cn("text-muted-foreground hover:text-foreground flex size-7 items-center justify-center rounded-sm transition-colors", buttonClassName),
|
|
309
310
|
onClick: copyToClipboard,
|
|
310
|
-
children:
|
|
311
|
+
children: /* @__PURE__ */ jsx(CopyStateIcon, {
|
|
312
|
+
copied,
|
|
313
|
+
className: "size-4"
|
|
314
|
+
})
|
|
311
315
|
}) : /* @__PURE__ */ jsxs(Button, {
|
|
312
316
|
type: "quaternary",
|
|
313
317
|
theme: "outline",
|
|
314
318
|
size: "small",
|
|
315
319
|
className: cn("h-7 w-fit gap-1 px-2 text-xs", buttonClassName),
|
|
316
320
|
onClick: copyToClipboard,
|
|
317
|
-
children: [/* @__PURE__ */ jsx(
|
|
321
|
+
children: [/* @__PURE__ */ jsx(CopyStateIcon, {
|
|
322
|
+
copied,
|
|
323
|
+
className: "size-3!"
|
|
324
|
+
}), copied ? "Copied" : "Copy"]
|
|
318
325
|
})
|
|
319
326
|
})]
|
|
320
327
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as GroupedTable } from "../grouped-table-
|
|
1
|
+
export { t as GroupedTable } from "../grouped-table-Dl6DclbV.mjs";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as cn } from "./utils-CTIuhCOs.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { r as CollapsibleTrigger, t as Collapsible } from "./collapsible-B-KP3JZ-.mjs";
|
|
3
3
|
import { TableBody, TableCell, TableHead, TableHeader, TableRow } from "./table/index.mjs";
|
|
4
4
|
import { t as Icon } from "./icon-wrapper-CIk2th6R.mjs";
|
|
5
|
-
import { f as rowMatchesSearch, g as createSelectionColumn, h as DataTableColumnHeader, m as DataTableRowActions, p as dataTableFeatures } from "./data-table-
|
|
5
|
+
import { f as rowMatchesSearch, g as createSelectionColumn, h as DataTableColumnHeader, m as DataTableRowActions, p as dataTableFeatures } from "./data-table-CpBwO8Ea.mjs";
|
|
6
6
|
import { n as EASE } from "./motion-DOrRbLmy.mjs";
|
|
7
7
|
import { Skeleton } from "./skeleton/index.mjs";
|
|
8
8
|
import { n as useDebouncedSearchInput } from "./use-debounced-search-input-B4u28iLx.mjs";
|
|
9
|
-
import { t as Button } from "./button-
|
|
9
|
+
import { t as Button } from "./button-Cn4KagBO.mjs";
|
|
10
10
|
import { InputWithAddons } from "./input-with-addons/index.mjs";
|
|
11
11
|
import { t as useControllableState } from "./use-controllable-state-DLeVgbAb.mjs";
|
|
12
12
|
import { ChevronRight, Search, X } from "lucide-react";
|