@wow-two-beta/ui 0.0.57 → 0.0.59
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/actions/button/Button.d.ts +0 -9
- package/dist/actions/buttonGroup/ButtonGroup.d.ts +2 -2
- package/dist/actions/disclosureButton/DisclosureButton.d.ts +1 -1
- package/dist/actions/index.js +4 -4
- package/dist/actions/speedDial/SpeedDial.d.ts +2 -2
- package/dist/actions/toggleButton/ToggleButton.d.ts +1 -1
- package/dist/actions/toggleButtonGroup/ToggleButtonGroup.d.ts +1 -1
- package/dist/{chunk-VR5HH4SX.js → chunk-4XWLEKH2.js} +10 -4
- package/dist/chunk-4XWLEKH2.js.map +1 -0
- package/dist/{chunk-3GZOE7JF.js → chunk-577JZ2A2.js} +3 -3
- package/dist/{chunk-3GZOE7JF.js.map → chunk-577JZ2A2.js.map} +1 -1
- package/dist/{chunk-BI6JZY2O.js → chunk-DJJOQWOG.js} +6 -6
- package/dist/chunk-DJJOQWOG.js.map +1 -0
- package/dist/{chunk-FEXH7YWU.js → chunk-EEHJHPAP.js} +30 -30
- package/dist/chunk-EEHJHPAP.js.map +1 -0
- package/dist/{chunk-5Y43MUOK.js → chunk-EJCO7AWR.js} +11 -11
- package/dist/chunk-EJCO7AWR.js.map +1 -0
- package/dist/{chunk-ZFNGOAHR.js → chunk-EX4AOJCN.js} +58 -58
- package/dist/chunk-EX4AOJCN.js.map +1 -0
- package/dist/{chunk-4WYHY6KV.js → chunk-FNSC4LAL.js} +3 -3
- package/dist/{chunk-4WYHY6KV.js.map → chunk-FNSC4LAL.js.map} +1 -1
- package/dist/{chunk-WPTF6ZRR.js → chunk-GSAOM2ZR.js} +67 -38
- package/dist/chunk-GSAOM2ZR.js.map +1 -0
- package/dist/{chunk-JOOE4KS5.js → chunk-HG7NX6GP.js} +509 -380
- package/dist/chunk-HG7NX6GP.js.map +1 -0
- package/dist/{chunk-XDP6GEBA.js → chunk-JYGC5SRP.js} +39 -5
- package/dist/chunk-JYGC5SRP.js.map +1 -0
- package/dist/{chunk-4QOCAFCA.js → chunk-MTD4RTGO.js} +19 -19
- package/dist/chunk-MTD4RTGO.js.map +1 -0
- package/dist/{chunk-WOKIYORV.js → chunk-MTE5E6OQ.js} +308 -28
- package/dist/chunk-MTE5E6OQ.js.map +1 -0
- package/dist/{chunk-USGZGMLY.js → chunk-NR5DYKSJ.js} +3 -3
- package/dist/{chunk-USGZGMLY.js.map → chunk-NR5DYKSJ.js.map} +1 -1
- package/dist/{chunk-VYOQYXK6.js → chunk-OBW7JUNL.js} +12 -12
- package/dist/chunk-OBW7JUNL.js.map +1 -0
- package/dist/{chunk-UI4RT5JF.js → chunk-TTSJZEL7.js} +25 -25
- package/dist/chunk-TTSJZEL7.js.map +1 -0
- package/dist/{chunk-5PMOT5MD.js → chunk-V267IMBH.js} +86 -4
- package/dist/chunk-V267IMBH.js.map +1 -0
- package/dist/{chunk-ZH6BB54G.js → chunk-XDATW7NF.js} +3 -3
- package/dist/{chunk-ZH6BB54G.js.map → chunk-XDATW7NF.js.map} +1 -1
- package/dist/{chunk-4OKJVYBV.js → chunk-Y5GS4CLT.js} +221 -186
- package/dist/chunk-Y5GS4CLT.js.map +1 -0
- package/dist/display/accordion/Accordion.d.ts +15 -11
- package/dist/display/activityFeed/ActivityFeed.d.ts +2 -2
- package/dist/display/annotationMarker/AnnotationMarker.d.ts +6 -7
- package/dist/display/audioPlayer/AudioPlayer.d.ts +1 -1
- package/dist/display/audioWaveform/AudioWaveform.d.ts +1 -1
- package/dist/display/avatar/Avatar.d.ts +1 -1
- package/dist/display/badgeOverlay/BadgeOverlay.d.ts +1 -1
- package/dist/display/carousel/Carousel.d.ts +1 -1
- package/dist/display/chatBubble/ChatBubble.d.ts +2 -2
- package/dist/display/collapsible/Collapsible.d.ts +2 -2
- package/dist/display/commentThread/CommentThread.d.ts +1 -1
- package/dist/display/confetti/Confetti.d.ts +2 -2
- package/dist/display/countBadge/CountBadge.d.ts +3 -4
- package/dist/display/countUp/CountUp.d.ts +2 -2
- package/dist/display/dataGrid/DataGrid.d.ts +2 -2
- package/dist/display/dataTable/DataTable.d.ts +5 -5
- package/dist/display/diffViewer/DiffViewer.d.ts +1 -1
- package/dist/display/eventCalendar/EventCalendar.d.ts +1 -1
- package/dist/display/gantt/Gantt.d.ts +1 -1
- package/dist/display/gradientText/GradientText.d.ts +2 -2
- package/dist/display/heatmapCalendar/HeatmapCalendar.d.ts +1 -1
- package/dist/display/highlight/Highlight.d.ts +2 -2
- package/dist/display/index.js +6 -6
- package/dist/display/list/List.d.ts +2 -2
- package/dist/display/marquee/Marquee.d.ts +1 -1
- package/dist/display/messageList/MessageList.d.ts +3 -3
- package/dist/display/notificationDot/NotificationDot.d.ts +1 -1
- package/dist/display/pdfViewer/PDFViewer.d.ts +1 -1
- package/dist/display/reactionBar/ReactionBar.d.ts +6 -6
- package/dist/display/scrollReveal/ScrollReveal.d.ts +1 -1
- package/dist/display/sectionHeader/SectionHeader.d.ts +1 -1
- package/dist/display/separator/Separator.d.ts +2 -3
- package/dist/display/sparkline/Sparkline.d.ts +1 -1
- package/dist/display/status/Status.d.ts +1 -1
- package/dist/display/swipeActions/SwipeActions.d.ts +1 -1
- package/dist/display/table/Table.d.ts +17 -5
- package/dist/display/table/index.d.ts +1 -1
- package/dist/display/tabs/Tabs.d.ts +1 -1
- package/dist/display/text/Text.variants.d.ts +14 -14
- package/dist/display/threadView/ThreadView.d.ts +2 -2
- package/dist/display/tilt/Tilt.d.ts +2 -3
- package/dist/display/tooltip/Tooltip.d.ts +2 -2
- package/dist/display/tree/Tree.d.ts +2 -2
- package/dist/display/typewriter/Typewriter.d.ts +2 -2
- package/dist/feedback/index.js +6 -6
- package/dist/feedback/liveCursor/LiveCursor.d.ts +4 -6
- package/dist/feedback/loadingOverlay/LoadingOverlay.d.ts +5 -6
- package/dist/feedback/notificationCenter/NotificationCenter.d.ts +1 -1
- package/dist/feedback/onboardingChecklist/OnboardingChecklist.d.ts +3 -3
- package/dist/feedback/presenceIndicator/PresenceIndicator.d.ts +1 -1
- package/dist/feedback/statusIndicator/StatusIndicator.d.ts +1 -1
- package/dist/feedback/toaster/Toaster.d.ts +2 -2
- package/dist/feedback/tour/Tour.d.ts +2 -2
- package/dist/feedback/trendIndicator/TrendIndicator.d.ts +2 -2
- package/dist/feedback/typingIndicator/TypingIndicator.d.ts +1 -1
- package/dist/feedback/undoBar/UndoBar.d.ts +4 -4
- package/dist/forms/addressForm/AddressForm.d.ts +3 -3
- package/dist/forms/characterCount/CharacterCount.d.ts +1 -1
- package/dist/forms/chatComposer/ChatComposer.d.ts +2 -2
- package/dist/forms/checkbox/Checkbox.d.ts +1 -1
- package/dist/forms/checkboxGroup/CheckboxGroup.d.ts +1 -1
- package/dist/forms/codeEditor/CodeEditor.d.ts +2 -2
- package/dist/forms/colorArea/ColorArea.d.ts +1 -1
- package/dist/forms/colorField/ColorField.d.ts +1 -1
- package/dist/forms/colorPicker/ColorPicker.d.ts +2 -2
- package/dist/forms/colorSlider/ColorSlider.d.ts +1 -1
- package/dist/forms/colorSwatch/ColorSwatch.variants.d.ts +14 -14
- package/dist/forms/colorSwatchPicker/ColorSwatchPicker.d.ts +2 -2
- package/dist/forms/colorWheel/ColorWheel.d.ts +1 -1
- package/dist/forms/combobox/Combobox.d.ts +4 -4
- package/dist/forms/cronInput/CronInput.d.ts +2 -2
- package/dist/forms/datePicker/DatePicker.d.ts +1 -1
- package/dist/forms/dateRangePicker/DateRangePicker.d.ts +1 -1
- package/dist/forms/editable/Editable.d.ts +7 -7
- package/dist/forms/emojiPicker/EmojiPicker.d.ts +1 -1
- package/dist/forms/fileUpload/FileUpload.d.ts +1 -1
- package/dist/forms/fontPicker/FontPicker.d.ts +1 -1
- package/dist/forms/gradientPicker/GradientPicker.d.ts +1 -1
- package/dist/forms/iconPicker/IconPicker.d.ts +1 -1
- package/dist/forms/index.js +11 -11
- package/dist/forms/jsonEditor/JSONEditor.d.ts +3 -3
- package/dist/forms/knob/Knob.d.ts +2 -2
- package/dist/forms/label/Label.d.ts +1 -1
- package/dist/forms/listbox/Listbox.d.ts +8 -4
- package/dist/forms/markdownEditor/MarkdownEditor.d.ts +1 -1
- package/dist/forms/multiSelect/MultiSelect.d.ts +4 -4
- package/dist/forms/passwordInput/PasswordInput.d.ts +1 -1
- package/dist/forms/passwordStrength/PasswordStrength.d.ts +1 -1
- package/dist/forms/phoneInput/PhoneInput.d.ts +3 -3
- package/dist/forms/pinInput/PinInput.d.ts +2 -2
- package/dist/forms/radioGroup/RadioGroup.d.ts +1 -1
- package/dist/forms/reactionPicker/ReactionPicker.d.ts +1 -1
- package/dist/forms/recurrenceEditor/RecurrenceEditor.d.ts +2 -2
- package/dist/forms/searchInput/SearchInput.d.ts +1 -1
- package/dist/forms/select/Select.d.ts +14 -7
- package/dist/forms/select/Select.variants.d.ts +46 -3
- package/dist/forms/stepper/Stepper.d.ts +1 -1
- package/dist/forms/tagsInput/TagsInput.d.ts +2 -2
- package/dist/forms/timePicker/TimePicker.d.ts +1 -1
- package/dist/forms/wizard/Wizard.d.ts +5 -5
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.js +1 -1
- package/dist/hooks/useTypeahead.d.ts +37 -0
- package/dist/icons/index.js +1 -1
- package/dist/index.js +18 -18
- package/dist/layout/appShell/AppShell.d.ts +2 -2
- package/dist/layout/divider/Divider.d.ts +19 -0
- package/dist/layout/divider/Divider.variants.d.ts +45 -0
- package/dist/layout/divider/index.d.ts +2 -0
- package/dist/layout/frame/Frame.d.ts +1 -1
- package/dist/layout/grid/Grid.d.ts +17 -5
- package/dist/layout/grid/Grid.variants.d.ts +15 -0
- package/dist/layout/grid/index.d.ts +1 -1
- package/dist/layout/index.d.ts +3 -0
- package/dist/layout/index.js +9 -9
- package/dist/layout/inline/Inline.d.ts +5 -0
- package/dist/layout/navbar/Navbar.d.ts +37 -0
- package/dist/layout/navbar/Navbar.variants.d.ts +76 -0
- package/dist/layout/navbar/index.d.ts +2 -0
- package/dist/layout/pullToRefresh/PullToRefresh.d.ts +1 -1
- package/dist/layout/resizablePanels/ResizablePanels.d.ts +1 -1
- package/dist/layout/section/Section.d.ts +26 -0
- package/dist/layout/section/Section.variants.d.ts +62 -0
- package/dist/layout/section/index.d.ts +2 -0
- package/dist/nav/commandPalette/CommandPalette.d.ts +1 -1
- package/dist/nav/contextMenu/ContextMenu.d.ts +1 -1
- package/dist/nav/index.js +8 -8
- package/dist/nav/menu/Menu.d.ts +1 -1
- package/dist/nav/navItem/NavItem.d.ts +2 -3
- package/dist/nav/tableOfContents/TableOfContents.d.ts +1 -1
- package/dist/overlays/actionSheet/ActionSheet.d.ts +1 -1
- package/dist/overlays/backdrop/Backdrop.d.ts +3 -6
- package/dist/overlays/dialog/Dialog.d.ts +1 -1
- package/dist/overlays/drawer/Drawer.d.ts +1 -1
- package/dist/overlays/index.js +8 -8
- package/dist/overlays/popover/Popover.d.ts +1 -1
- package/dist/primitives/anchoredPositioner/AnchoredPositioner.d.ts +1 -1
- package/dist/primitives/dismissableLayer/DismissableLayer.d.ts +2 -2
- package/dist/primitives/index.js +1 -1
- package/dist/primitives/presence/Presence.d.ts +3 -3
- package/dist/primitives/rovingFocusGroup/RovingFocusGroup.d.ts +3 -6
- package/dist/primitives/scrollLockProvider/ScrollLockProvider.d.ts +2 -2
- package/dist/utils/Environment.d.ts +8 -0
- package/dist/utils/SurfaceStyles.d.ts +7 -0
- package/dist/utils/Tones.d.ts +1 -1
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-4OKJVYBV.js.map +0 -1
- package/dist/chunk-4QOCAFCA.js.map +0 -1
- package/dist/chunk-5PMOT5MD.js.map +0 -1
- package/dist/chunk-5Y43MUOK.js.map +0 -1
- package/dist/chunk-BI6JZY2O.js.map +0 -1
- package/dist/chunk-FEXH7YWU.js.map +0 -1
- package/dist/chunk-JOOE4KS5.js.map +0 -1
- package/dist/chunk-UI4RT5JF.js.map +0 -1
- package/dist/chunk-VR5HH4SX.js.map +0 -1
- package/dist/chunk-VYOQYXK6.js.map +0 -1
- package/dist/chunk-WOKIYORV.js.map +0 -1
- package/dist/chunk-WPTF6ZRR.js.map +0 -1
- package/dist/chunk-XDP6GEBA.js.map +0 -1
- package/dist/chunk-ZFNGOAHR.js.map +0 -1
|
@@ -29,10 +29,10 @@ export declare const textVariants: import("tailwind-variants").TVReturnType<{
|
|
|
29
29
|
right: string;
|
|
30
30
|
justify: string;
|
|
31
31
|
};
|
|
32
|
-
|
|
32
|
+
isTruncated: {
|
|
33
33
|
true: string;
|
|
34
34
|
};
|
|
35
|
-
|
|
35
|
+
isTabular: {
|
|
36
36
|
true: string;
|
|
37
37
|
};
|
|
38
38
|
}, undefined, "", import("tailwind-variants/dist/config.js").TVConfig<{
|
|
@@ -65,10 +65,10 @@ export declare const textVariants: import("tailwind-variants").TVReturnType<{
|
|
|
65
65
|
right: string;
|
|
66
66
|
justify: string;
|
|
67
67
|
};
|
|
68
|
-
|
|
68
|
+
isTruncated: {
|
|
69
69
|
true: string;
|
|
70
70
|
};
|
|
71
|
-
|
|
71
|
+
isTabular: {
|
|
72
72
|
true: string;
|
|
73
73
|
};
|
|
74
74
|
}, {
|
|
@@ -101,10 +101,10 @@ export declare const textVariants: import("tailwind-variants").TVReturnType<{
|
|
|
101
101
|
right: string;
|
|
102
102
|
justify: string;
|
|
103
103
|
};
|
|
104
|
-
|
|
104
|
+
isTruncated: {
|
|
105
105
|
true: string;
|
|
106
106
|
};
|
|
107
|
-
|
|
107
|
+
isTabular: {
|
|
108
108
|
true: string;
|
|
109
109
|
};
|
|
110
110
|
}>, {
|
|
@@ -137,10 +137,10 @@ export declare const textVariants: import("tailwind-variants").TVReturnType<{
|
|
|
137
137
|
right: string;
|
|
138
138
|
justify: string;
|
|
139
139
|
};
|
|
140
|
-
|
|
140
|
+
isTruncated: {
|
|
141
141
|
true: string;
|
|
142
142
|
};
|
|
143
|
-
|
|
143
|
+
isTabular: {
|
|
144
144
|
true: string;
|
|
145
145
|
};
|
|
146
146
|
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
@@ -173,10 +173,10 @@ export declare const textVariants: import("tailwind-variants").TVReturnType<{
|
|
|
173
173
|
right: string;
|
|
174
174
|
justify: string;
|
|
175
175
|
};
|
|
176
|
-
|
|
176
|
+
isTruncated: {
|
|
177
177
|
true: string;
|
|
178
178
|
};
|
|
179
|
-
|
|
179
|
+
isTabular: {
|
|
180
180
|
true: string;
|
|
181
181
|
};
|
|
182
182
|
}, undefined, "", import("tailwind-variants/dist/config.js").TVConfig<{
|
|
@@ -209,10 +209,10 @@ export declare const textVariants: import("tailwind-variants").TVReturnType<{
|
|
|
209
209
|
right: string;
|
|
210
210
|
justify: string;
|
|
211
211
|
};
|
|
212
|
-
|
|
212
|
+
isTruncated: {
|
|
213
213
|
true: string;
|
|
214
214
|
};
|
|
215
|
-
|
|
215
|
+
isTabular: {
|
|
216
216
|
true: string;
|
|
217
217
|
};
|
|
218
218
|
}, {
|
|
@@ -245,10 +245,10 @@ export declare const textVariants: import("tailwind-variants").TVReturnType<{
|
|
|
245
245
|
right: string;
|
|
246
246
|
justify: string;
|
|
247
247
|
};
|
|
248
|
-
|
|
248
|
+
isTruncated: {
|
|
249
249
|
true: string;
|
|
250
250
|
};
|
|
251
|
-
|
|
251
|
+
isTabular: {
|
|
252
252
|
true: string;
|
|
253
253
|
};
|
|
254
254
|
}>, unknown, unknown, undefined>>;
|
|
@@ -14,8 +14,8 @@ export interface ThreadViewProps extends Omit<HTMLAttributes<HTMLDivElement>, 't
|
|
|
14
14
|
composer?: ReactNode;
|
|
15
15
|
/** Fires when the close button is clicked. */
|
|
16
16
|
onClose?: () => void;
|
|
17
|
-
/**
|
|
18
|
-
|
|
17
|
+
/** Render the close button. Default true. */
|
|
18
|
+
hasCloseButton?: boolean;
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* Side-panel layout for a single thread: parent message + reply count
|
|
@@ -2,13 +2,12 @@ import { type HTMLAttributes } from 'react';
|
|
|
2
2
|
export interface TiltProps extends HTMLAttributes<HTMLElement> {
|
|
3
3
|
maxAngle?: number;
|
|
4
4
|
perspective?: number;
|
|
5
|
-
|
|
5
|
+
hasGlare?: boolean;
|
|
6
6
|
scale?: number;
|
|
7
7
|
as?: 'div' | 'section' | 'article' | 'span';
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* 3D card tilt — `rotateX`/`rotateY` from cursor position. Disabled under
|
|
11
|
-
* `prefers-reduced-motion`.
|
|
12
|
-
* follows the cursor.
|
|
11
|
+
* `prefers-reduced-motion`. `hasGlare` paints a cursor-following highlight.
|
|
13
12
|
*/
|
|
14
13
|
export declare const Tilt: import("react").ForwardRefExoticComponent<TiltProps & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -18,7 +18,7 @@ export interface TooltipProps {
|
|
|
18
18
|
/** Fires on every open-state change (hover, focus, Escape). */
|
|
19
19
|
onOpenChange?: (open: boolean) => void;
|
|
20
20
|
/** Disable rendering even on hover (e.g. when content is empty). */
|
|
21
|
-
|
|
21
|
+
isDisabled?: boolean;
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
24
|
* Hover-/focus-triggered tooltip. Wraps a single child as the trigger; the
|
|
@@ -27,4 +27,4 @@ export interface TooltipProps {
|
|
|
27
27
|
* moving focus (WCAG 1.4.13); the trigger is described by the tooltip via
|
|
28
28
|
* `aria-describedby` while open.
|
|
29
29
|
*/
|
|
30
|
-
export declare function Tooltip({ content, children, placement, openDelay, closeDelay, open: openProp, defaultOpen, onOpenChange,
|
|
30
|
+
export declare function Tooltip({ content, children, placement, openDelay, closeDelay, open: openProp, defaultOpen, onOpenChange, isDisabled, }: TooltipProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -11,13 +11,13 @@ export declare const Tree: import("react").ForwardRefExoticComponent<TreeProps &
|
|
|
11
11
|
export interface TreeGroupProps extends HTMLAttributes<HTMLLIElement> {
|
|
12
12
|
value: string;
|
|
13
13
|
label: ReactNode;
|
|
14
|
-
|
|
14
|
+
isDisabled?: boolean;
|
|
15
15
|
children: ReactNode;
|
|
16
16
|
}
|
|
17
17
|
export declare const TreeGroup: import("react").ForwardRefExoticComponent<TreeGroupProps & import("react").RefAttributes<HTMLLIElement>>;
|
|
18
18
|
export interface TreeItemProps extends HTMLAttributes<HTMLLIElement> {
|
|
19
19
|
value: string;
|
|
20
|
-
|
|
20
|
+
isDisabled?: boolean;
|
|
21
21
|
children: ReactNode;
|
|
22
22
|
}
|
|
23
23
|
export declare const TreeItem: import("react").ForwardRefExoticComponent<TreeItemProps & import("react").RefAttributes<HTMLLIElement>>;
|
|
@@ -4,8 +4,8 @@ export interface TypewriterProps extends Omit<HTMLAttributes<HTMLElement>, 'chil
|
|
|
4
4
|
typeSpeed?: number;
|
|
5
5
|
deleteSpeed?: number;
|
|
6
6
|
pauseBetween?: number;
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
canLoop?: boolean;
|
|
8
|
+
hasCursor?: boolean;
|
|
9
9
|
cursorChar?: string;
|
|
10
10
|
as?: 'span' | 'div' | 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
11
11
|
}
|
package/dist/feedback/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { Alert, AlertSimple, Banner, BannerSimple, Callout, InlineSpinner, LiveCursor, LoadingOverlay, LoadingState, MeterBar, NotificationCenter, NotificationItem, OnboardingChecklist, OnboardingChecklistTask, PresenceIndicator, ProgressBar, ProgressCircle, ProgressSteps, Skeleton, StatusIndicator, Toast, ToastSimple, Toaster, Tour, TrendIndicator, TypingIndicator, UndoBar, alertSimpleVariants, bannerSimpleVariants, progressFillVariants, progressTrackVariants, skeletonVariants, toastSimpleVariants, toaster, useOnboardingChecklist, useToaster } from '../chunk-
|
|
2
|
-
export { Spinner, spinnerVariants } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
1
|
+
export { Alert, AlertSimple, Banner, BannerSimple, Callout, InlineSpinner, LiveCursor, LoadingOverlay, LoadingState, MeterBar, NotificationCenter, NotificationItem, OnboardingChecklist, OnboardingChecklistTask, PresenceIndicator, ProgressBar, ProgressCircle, ProgressSteps, Skeleton, StatusIndicator, Toast, ToastSimple, Toaster, Tour, TrendIndicator, TypingIndicator, UndoBar, alertSimpleVariants, bannerSimpleVariants, progressFillVariants, progressTrackVariants, skeletonVariants, toastSimpleVariants, toaster, useOnboardingChecklist, useToaster } from '../chunk-EX4AOJCN.js';
|
|
2
|
+
export { Spinner, spinnerVariants } from '../chunk-NR5DYKSJ.js';
|
|
3
|
+
import '../chunk-DJJOQWOG.js';
|
|
4
|
+
import '../chunk-V267IMBH.js';
|
|
5
5
|
import '../chunk-MVMDDGW7.js';
|
|
6
|
-
import '../chunk-
|
|
7
|
-
import '../chunk-
|
|
6
|
+
import '../chunk-JYGC5SRP.js';
|
|
7
|
+
import '../chunk-TTSJZEL7.js';
|
|
8
8
|
import '../chunk-LGTGZ3RW.js';
|
|
9
9
|
import '../chunk-X2MYOHOB.js';
|
|
10
10
|
import '../chunk-DCHYNTHI.js';
|
|
@@ -8,19 +8,17 @@ export interface LiveCursorProps extends Omit<HTMLAttributes<HTMLDivElement>, 'c
|
|
|
8
8
|
/** CSS color used for the pointer fill and label background. */
|
|
9
9
|
color?: string;
|
|
10
10
|
/** Smooth movement between updates. Defaults to true; auto-disables with reduced motion. */
|
|
11
|
-
|
|
11
|
+
isSmooth?: boolean;
|
|
12
12
|
/** Pixels offset for the label relative to the pointer. */
|
|
13
13
|
labelOffset?: {
|
|
14
14
|
x?: number;
|
|
15
15
|
y?: number;
|
|
16
16
|
};
|
|
17
17
|
/** Hide the label and show only the pointer. */
|
|
18
|
-
|
|
18
|
+
isPointerOnly?: boolean;
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
|
-
* Remote-user cursor for collaborative canvases. Wrap in a `relative
|
|
22
|
-
*
|
|
23
|
-
* Movement is smoothed with a short transition unless `prefers-reduced-
|
|
24
|
-
* motion: reduce` is set.
|
|
21
|
+
* Remote-user cursor for collaborative canvases. Wrap in a `relative` parent;
|
|
22
|
+
* places itself absolutely at `(x, y)`, smoothing movement unless reduced-motion.
|
|
25
23
|
*/
|
|
26
24
|
export declare const LiveCursor: import("react").ForwardRefExoticComponent<LiveCursorProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
import { type HTMLAttributes, type ReactNode } from 'react';
|
|
2
2
|
import type { SpinnerVariants } from '../spinner/Spinner.variants';
|
|
3
3
|
export interface LoadingOverlayProps extends HTMLAttributes<HTMLDivElement> {
|
|
4
|
-
|
|
4
|
+
isOpen?: boolean;
|
|
5
5
|
label?: ReactNode;
|
|
6
6
|
/** Position the scrim absolutely inside the parent (parent must be `position: relative`). */
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
isInline?: boolean;
|
|
8
|
+
hasBlur?: boolean;
|
|
9
9
|
spinnerSize?: SpinnerVariants['size'];
|
|
10
10
|
spinnerTone?: SpinnerVariants['tone'];
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
13
|
-
* Scrim + centered spinner
|
|
14
|
-
*
|
|
15
|
-
* parent (which must be `position: relative`); the default covers the
|
|
13
|
+
* Scrim + centered spinner — blocks interaction with a region during a long task.
|
|
14
|
+
* `isInline` scopes the scrim to a `position: relative` parent; default covers the
|
|
16
15
|
* viewport via `Backdrop`.
|
|
17
16
|
*/
|
|
18
17
|
export declare const LoadingOverlay: import("react").ForwardRefExoticComponent<LoadingOverlayProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -22,7 +22,7 @@ export interface NotificationItemProps extends Omit<HTMLAttributes<HTMLDivElemen
|
|
|
22
22
|
/** Timestamp / relative time label. */
|
|
23
23
|
timestamp?: ReactNode;
|
|
24
24
|
/** Marks this row as unread (bold + leading dot). */
|
|
25
|
-
|
|
25
|
+
isUnread?: boolean;
|
|
26
26
|
/** Trailing actions slot. */
|
|
27
27
|
actions?: ReactNode;
|
|
28
28
|
/** Fires when the row is clicked / activated. */
|
|
@@ -6,7 +6,7 @@ interface OnboardingContextValue {
|
|
|
6
6
|
export interface OnboardingChecklistProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
|
|
7
7
|
title?: ReactNode;
|
|
8
8
|
defaultOpen?: boolean;
|
|
9
|
-
|
|
9
|
+
canDismissOnComplete?: boolean;
|
|
10
10
|
/** ms after 100% before unmounting. */
|
|
11
11
|
dismissDelay?: number;
|
|
12
12
|
onDismiss?: () => void;
|
|
@@ -14,13 +14,13 @@ export interface OnboardingChecklistProps extends Omit<HTMLAttributes<HTMLDivEle
|
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
16
|
* Onboarding task card. Children are `OnboardingChecklist.Task` elements;
|
|
17
|
-
* progress is auto-derived from their `
|
|
17
|
+
* progress is auto-derived from their `isDone` props.
|
|
18
18
|
*/
|
|
19
19
|
export declare const OnboardingChecklist: import("react").ForwardRefExoticComponent<OnboardingChecklistProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
20
20
|
export interface OnboardingChecklistTaskProps extends HTMLAttributes<HTMLLIElement> {
|
|
21
21
|
label: ReactNode;
|
|
22
22
|
description?: ReactNode;
|
|
23
|
-
|
|
23
|
+
isDone?: boolean;
|
|
24
24
|
action?: ReactNode;
|
|
25
25
|
}
|
|
26
26
|
export declare const OnboardingChecklistTask: import("react").ForwardRefExoticComponent<OnboardingChecklistTaskProps & import("react").RefAttributes<HTMLLIElement>>;
|
|
@@ -4,7 +4,7 @@ export interface PresenceIndicatorProps extends Omit<ComponentPropsWithoutRef<'s
|
|
|
4
4
|
status?: PresenceStatus;
|
|
5
5
|
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
6
6
|
/** Pulsing ring (only meaningful for `online`). */
|
|
7
|
-
|
|
7
|
+
hasPulse?: boolean;
|
|
8
8
|
/** Position absolutely on a parent (use inside an Avatar wrapper). */
|
|
9
9
|
position?: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left';
|
|
10
10
|
/** Override the accessible label. Defaults to status name. */
|
|
@@ -6,7 +6,7 @@ export interface StatusIndicatorProps extends Omit<ComponentPropsWithoutRef<'div
|
|
|
6
6
|
/** Smaller secondary line (e.g. "Updated 2m ago"). */
|
|
7
7
|
description?: ReactNode;
|
|
8
8
|
/** Optional pulsing ring for "live" indication. */
|
|
9
|
-
|
|
9
|
+
hasPulse?: boolean;
|
|
10
10
|
}
|
|
11
11
|
/**
|
|
12
12
|
* Two-line status indicator — colored dot + bold label + smaller helper.
|
|
@@ -36,7 +36,7 @@ export interface ToasterProps {
|
|
|
36
36
|
max?: number;
|
|
37
37
|
/** ms; per-toast `duration` overrides. Default 5000. `Infinity` to disable. */
|
|
38
38
|
defaultDuration?: number;
|
|
39
|
-
|
|
39
|
+
canPauseOnHover?: boolean;
|
|
40
40
|
gap?: number;
|
|
41
41
|
className?: string;
|
|
42
42
|
}
|
|
@@ -44,5 +44,5 @@ export interface ToasterProps {
|
|
|
44
44
|
* Viewport that subscribes to the global `toaster` store and renders toasts
|
|
45
45
|
* via the L4 `Toast` molecule. Mount once, per app.
|
|
46
46
|
*/
|
|
47
|
-
export declare function Toaster({ position, max, defaultDuration,
|
|
47
|
+
export declare function Toaster({ position, max, defaultDuration, canPauseOnHover, gap, className, }: ToasterProps): import("react/jsx-runtime").JSX.Element;
|
|
48
48
|
export {};
|
|
@@ -6,7 +6,7 @@ export interface TourStep {
|
|
|
6
6
|
placement?: 'top' | 'right' | 'bottom' | 'left';
|
|
7
7
|
}
|
|
8
8
|
export interface TourProps {
|
|
9
|
-
|
|
9
|
+
isOpen?: boolean;
|
|
10
10
|
defaultOpen?: boolean;
|
|
11
11
|
onOpenChange?: (open: boolean) => void;
|
|
12
12
|
steps: TourStep[];
|
|
@@ -21,4 +21,4 @@ export interface TourProps {
|
|
|
21
21
|
* Multi-step product tour. Renders an SVG mask with a cutout around each
|
|
22
22
|
* step's target + a floating tooltip with Next / Prev / Skip / Done.
|
|
23
23
|
*/
|
|
24
|
-
export declare function Tour({
|
|
24
|
+
export declare function Tour({ isOpen: openProp, defaultOpen, onOpenChange, steps, currentStep: currentStepProp, defaultCurrentStep, onStepChange, onComplete, onSkip, padding, }: TourProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -5,13 +5,13 @@ export interface TrendIndicatorProps extends Omit<ComponentPropsWithoutRef<'span
|
|
|
5
5
|
/** Optional formatter (default: `${sign}${value}%`). */
|
|
6
6
|
format?: (value: number) => ReactNode;
|
|
7
7
|
/** When `true`, an increase reads as bad (e.g. error rate, churn). */
|
|
8
|
-
|
|
8
|
+
isInverse?: boolean;
|
|
9
9
|
/** Small trailing label, e.g. "vs last week". */
|
|
10
10
|
label?: ReactNode;
|
|
11
11
|
size?: 'xs' | 'sm' | 'md';
|
|
12
12
|
}
|
|
13
13
|
/**
|
|
14
14
|
* Up / down / flat arrow + value + optional label. Used inside `Stat` and
|
|
15
|
-
* dashboard tiles. Pass `
|
|
15
|
+
* dashboard tiles. Pass `isInverse` for metrics where higher is worse.
|
|
16
16
|
*/
|
|
17
17
|
export declare const TrendIndicator: import("react").ForwardRefExoticComponent<TrendIndicatorProps & import("react").RefAttributes<HTMLSpanElement>>;
|
|
@@ -7,7 +7,7 @@ export interface TypingIndicatorProps extends Omit<ComponentPropsWithoutRef<'spa
|
|
|
7
7
|
/** Color of the dots; defaults to muted. */
|
|
8
8
|
tone?: 'muted' | 'primary' | 'foreground';
|
|
9
9
|
/** Tone-down dot opacity at rest (between bounces). */
|
|
10
|
-
|
|
10
|
+
isSubtle?: boolean;
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
13
13
|
* Three-dot "someone is typing" indicator. Honors `prefers-reduced-motion`
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { type ReactNode } from 'react';
|
|
2
2
|
export type UndoBarPosition = 'top-right' | 'top-left' | 'top-center' | 'bottom-right' | 'bottom-left' | 'bottom-center';
|
|
3
3
|
export interface UndoBarProps {
|
|
4
|
-
|
|
4
|
+
isOpen: boolean;
|
|
5
5
|
onOpenChange?: (open: boolean) => void;
|
|
6
6
|
message: ReactNode;
|
|
7
7
|
onUndo?: () => void;
|
|
8
8
|
undoLabel?: string;
|
|
9
9
|
/** ms until auto-dismiss; `Infinity` = sticky. Default 5000. */
|
|
10
10
|
duration?: number;
|
|
11
|
-
|
|
11
|
+
canPauseOnHover?: boolean;
|
|
12
12
|
position?: UndoBarPosition;
|
|
13
|
-
|
|
13
|
+
hasCountdown?: boolean;
|
|
14
14
|
className?: string;
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
@@ -18,4 +18,4 @@ export interface UndoBarProps {
|
|
|
18
18
|
* pause-on-hover preserves remaining time. For multi-toast queues use the L5
|
|
19
19
|
* `Toaster` instead.
|
|
20
20
|
*/
|
|
21
|
-
export declare function UndoBar({
|
|
21
|
+
export declare function UndoBar({ isOpen, onOpenChange, message, onUndo, undoLabel, duration, canPauseOnHover, position, hasCountdown, className, }: UndoBarProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -21,9 +21,9 @@ export interface AddressFormProps extends Omit<HTMLAttributes<HTMLDivElement>, '
|
|
|
21
21
|
value?: Address;
|
|
22
22
|
defaultValue?: Address;
|
|
23
23
|
onValueChange?: (address: Address) => void;
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
isDisabled?: boolean;
|
|
25
|
+
isReadOnly?: boolean;
|
|
26
|
+
isCompact?: boolean;
|
|
27
27
|
/** Prefix for hidden inputs (`{name}.line1`, etc.). */
|
|
28
28
|
name?: string;
|
|
29
29
|
}
|
|
@@ -5,7 +5,7 @@ export interface CharacterCountProps extends Omit<ComponentPropsWithoutRef<'div'
|
|
|
5
5
|
/** Maximum allowed length (also flips text to destructive when exceeded). */
|
|
6
6
|
max: number;
|
|
7
7
|
/** Show as `current / max` (default) or just `current`. */
|
|
8
|
-
|
|
8
|
+
isMaxShown?: boolean;
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* Counter for character-limited fields. Drop in below a Textarea / Input.
|
|
@@ -9,7 +9,7 @@ export interface ChatComposerProps extends Omit<FormHTMLAttributes<HTMLFormEleme
|
|
|
9
9
|
/** Placeholder text. */
|
|
10
10
|
placeholder?: string;
|
|
11
11
|
/** Disable the input + send button. */
|
|
12
|
-
|
|
12
|
+
isDisabled?: boolean;
|
|
13
13
|
/** Slot rendered on the leading edge of the toolbar (e.g. attach button). */
|
|
14
14
|
leading?: ReactNode;
|
|
15
15
|
/** Slot rendered between the leading slot and the send button. */
|
|
@@ -17,7 +17,7 @@ export interface ChatComposerProps extends Omit<FormHTMLAttributes<HTMLFormEleme
|
|
|
17
17
|
/** Replace or hide the default send button. */
|
|
18
18
|
sendButton?: ReactNode;
|
|
19
19
|
/** Hide the send button entirely (e.g. when consumer renders a custom CTA). */
|
|
20
|
-
|
|
20
|
+
isSendButtonHidden?: boolean;
|
|
21
21
|
/** When the textarea should submit. `enter` = Enter alone (default).
|
|
22
22
|
* `mod-enter` = Cmd/Ctrl+Enter (Enter inserts a newline). */
|
|
23
23
|
submitOn?: SubmitTrigger;
|
|
@@ -4,7 +4,7 @@ import { type CheckboxVariants } from './Checkbox.variants';
|
|
|
4
4
|
type CheckboxSizePreset = Extract<SizePreset, 'xs' | 'sm' | 'md' | 'lg' | 'xl'>;
|
|
5
5
|
export interface CheckboxProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'size' | 'color'>, CheckboxVariants {
|
|
6
6
|
size?: SizeUnion<CheckboxSizePreset>;
|
|
7
|
-
|
|
7
|
+
isIndeterminate?: boolean;
|
|
8
8
|
color?: ColorProp;
|
|
9
9
|
}
|
|
10
10
|
export declare const Checkbox: import("react").ForwardRefExoticComponent<CheckboxProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -9,7 +9,7 @@ interface CheckboxGroupProps extends Omit<HTMLAttributes<HTMLFieldSetElement>, '
|
|
|
9
9
|
/** Fires whenever selection changes. */
|
|
10
10
|
onValueChange?: (next: string[]) => void;
|
|
11
11
|
/** Disable the whole group. */
|
|
12
|
-
|
|
12
|
+
isDisabled?: boolean;
|
|
13
13
|
/** Layout direction. Default `vertical`. */
|
|
14
14
|
orientation?: 'horizontal' | 'vertical';
|
|
15
15
|
/** `<CheckboxField>` children with `value="…"` attached. */
|
|
@@ -6,8 +6,8 @@ export interface CodeEditorProps extends Omit<TextareaHTMLAttributes<HTMLTextAre
|
|
|
6
6
|
/** Forward-compat hint; unused by this first-gen component. */
|
|
7
7
|
language?: string;
|
|
8
8
|
tabSize?: number;
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
isTabIndented?: boolean;
|
|
10
|
+
isInvalid?: boolean;
|
|
11
11
|
/** CSS minHeight on the surface (default `12rem`). */
|
|
12
12
|
minHeight?: string;
|
|
13
13
|
}
|
|
@@ -11,7 +11,7 @@ export interface ColorAreaProps extends Omit<HTMLAttributes<HTMLDivElement>, 'on
|
|
|
11
11
|
defaultValue?: number;
|
|
12
12
|
onValueChange?: (next: ColorAreaChange) => void;
|
|
13
13
|
step?: number;
|
|
14
|
-
|
|
14
|
+
isDisabled?: boolean;
|
|
15
15
|
'aria-label'?: string;
|
|
16
16
|
}
|
|
17
17
|
export declare const ColorArea: import("react").ForwardRefExoticComponent<ColorAreaProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -5,6 +5,6 @@ export interface ColorFieldProps extends Omit<InputHTMLAttributes<HTMLInputEleme
|
|
|
5
5
|
defaultValue?: string | null;
|
|
6
6
|
onValueChange?: (hex: string | null) => void;
|
|
7
7
|
swatchShape?: 'square' | 'circle';
|
|
8
|
-
|
|
8
|
+
hasAlpha?: boolean;
|
|
9
9
|
}
|
|
10
10
|
export declare const ColorField: import("react").ForwardRefExoticComponent<ColorFieldProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -3,10 +3,10 @@ export interface ColorPickerProps {
|
|
|
3
3
|
value?: string | null;
|
|
4
4
|
defaultValue?: string | null;
|
|
5
5
|
onValueChange?: (hex: string) => void;
|
|
6
|
-
|
|
6
|
+
hasAlpha?: boolean;
|
|
7
7
|
presets?: string[];
|
|
8
8
|
triggerSize?: ColorSwatchVariants['size'];
|
|
9
|
-
|
|
9
|
+
isDisabled?: boolean;
|
|
10
10
|
name?: string;
|
|
11
11
|
className?: string;
|
|
12
12
|
'aria-label'?: string;
|
|
@@ -8,7 +8,7 @@ export interface ColorSliderProps extends Omit<HTMLAttributes<HTMLDivElement>, '
|
|
|
8
8
|
onValueChange?: (value: number) => void;
|
|
9
9
|
color?: HSV;
|
|
10
10
|
step?: number;
|
|
11
|
-
|
|
11
|
+
isDisabled?: boolean;
|
|
12
12
|
'aria-label'?: string;
|
|
13
13
|
}
|
|
14
14
|
export declare const ColorSlider: import("react").ForwardRefExoticComponent<ColorSliderProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -14,11 +14,11 @@ export declare const colorSwatchVariants: import("tailwind-variants").TVReturnTy
|
|
|
14
14
|
true: string;
|
|
15
15
|
false: string;
|
|
16
16
|
};
|
|
17
|
-
|
|
17
|
+
isSelected: {
|
|
18
18
|
true: string;
|
|
19
19
|
false: string;
|
|
20
20
|
};
|
|
21
|
-
|
|
21
|
+
isDisabled: {
|
|
22
22
|
true: string;
|
|
23
23
|
false: string;
|
|
24
24
|
};
|
|
@@ -37,11 +37,11 @@ export declare const colorSwatchVariants: import("tailwind-variants").TVReturnTy
|
|
|
37
37
|
true: string;
|
|
38
38
|
false: string;
|
|
39
39
|
};
|
|
40
|
-
|
|
40
|
+
isSelected: {
|
|
41
41
|
true: string;
|
|
42
42
|
false: string;
|
|
43
43
|
};
|
|
44
|
-
|
|
44
|
+
isDisabled: {
|
|
45
45
|
true: string;
|
|
46
46
|
false: string;
|
|
47
47
|
};
|
|
@@ -60,11 +60,11 @@ export declare const colorSwatchVariants: import("tailwind-variants").TVReturnTy
|
|
|
60
60
|
true: string;
|
|
61
61
|
false: string;
|
|
62
62
|
};
|
|
63
|
-
|
|
63
|
+
isSelected: {
|
|
64
64
|
true: string;
|
|
65
65
|
false: string;
|
|
66
66
|
};
|
|
67
|
-
|
|
67
|
+
isDisabled: {
|
|
68
68
|
true: string;
|
|
69
69
|
false: string;
|
|
70
70
|
};
|
|
@@ -83,11 +83,11 @@ export declare const colorSwatchVariants: import("tailwind-variants").TVReturnTy
|
|
|
83
83
|
true: string;
|
|
84
84
|
false: string;
|
|
85
85
|
};
|
|
86
|
-
|
|
86
|
+
isSelected: {
|
|
87
87
|
true: string;
|
|
88
88
|
false: string;
|
|
89
89
|
};
|
|
90
|
-
|
|
90
|
+
isDisabled: {
|
|
91
91
|
true: string;
|
|
92
92
|
false: string;
|
|
93
93
|
};
|
|
@@ -106,11 +106,11 @@ export declare const colorSwatchVariants: import("tailwind-variants").TVReturnTy
|
|
|
106
106
|
true: string;
|
|
107
107
|
false: string;
|
|
108
108
|
};
|
|
109
|
-
|
|
109
|
+
isSelected: {
|
|
110
110
|
true: string;
|
|
111
111
|
false: string;
|
|
112
112
|
};
|
|
113
|
-
|
|
113
|
+
isDisabled: {
|
|
114
114
|
true: string;
|
|
115
115
|
false: string;
|
|
116
116
|
};
|
|
@@ -129,11 +129,11 @@ export declare const colorSwatchVariants: import("tailwind-variants").TVReturnTy
|
|
|
129
129
|
true: string;
|
|
130
130
|
false: string;
|
|
131
131
|
};
|
|
132
|
-
|
|
132
|
+
isSelected: {
|
|
133
133
|
true: string;
|
|
134
134
|
false: string;
|
|
135
135
|
};
|
|
136
|
-
|
|
136
|
+
isDisabled: {
|
|
137
137
|
true: string;
|
|
138
138
|
false: string;
|
|
139
139
|
};
|
|
@@ -152,11 +152,11 @@ export declare const colorSwatchVariants: import("tailwind-variants").TVReturnTy
|
|
|
152
152
|
true: string;
|
|
153
153
|
false: string;
|
|
154
154
|
};
|
|
155
|
-
|
|
155
|
+
isSelected: {
|
|
156
156
|
true: string;
|
|
157
157
|
false: string;
|
|
158
158
|
};
|
|
159
|
-
|
|
159
|
+
isDisabled: {
|
|
160
160
|
true: string;
|
|
161
161
|
false: string;
|
|
162
162
|
};
|
|
@@ -7,6 +7,6 @@ export interface ColorSwatchPickerProps extends Omit<HTMLAttributes<HTMLDivEleme
|
|
|
7
7
|
onValueChange?: (color: string) => void;
|
|
8
8
|
swatchSize?: ColorSwatchVariants['size'];
|
|
9
9
|
swatchShape?: ColorSwatchVariants['shape'];
|
|
10
|
-
|
|
10
|
+
isDisabled?: boolean;
|
|
11
11
|
}
|
|
12
|
-
export declare function ColorSwatchPicker({ colors, value, defaultValue, onValueChange, swatchSize, swatchShape,
|
|
12
|
+
export declare function ColorSwatchPicker({ colors, value, defaultValue, onValueChange, swatchSize, swatchShape, isDisabled, className, ...rest }: ColorSwatchPickerProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -6,7 +6,7 @@ export interface ColorWheelProps extends Omit<HTMLAttributes<HTMLDivElement>, 'o
|
|
|
6
6
|
size?: number;
|
|
7
7
|
thickness?: number;
|
|
8
8
|
step?: number;
|
|
9
|
-
|
|
9
|
+
isDisabled?: boolean;
|
|
10
10
|
'aria-label'?: string;
|
|
11
11
|
}
|
|
12
12
|
export declare const ColorWheel: import("react").ForwardRefExoticComponent<ColorWheelProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -9,8 +9,8 @@ export interface ComboboxProps {
|
|
|
9
9
|
inputValue?: string;
|
|
10
10
|
defaultInputValue?: string;
|
|
11
11
|
onInputChange?: (input: string) => void;
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
isDisabled?: boolean;
|
|
13
|
+
isInvalid?: boolean;
|
|
14
14
|
name?: string;
|
|
15
15
|
defaultOpen?: boolean;
|
|
16
16
|
open?: boolean;
|
|
@@ -19,7 +19,7 @@ export interface ComboboxProps {
|
|
|
19
19
|
fillInputOnSelect?: boolean;
|
|
20
20
|
children: ReactNode;
|
|
21
21
|
}
|
|
22
|
-
export declare function Combobox({ value, defaultValue, onValueChange, inputValue, defaultInputValue, onInputChange,
|
|
22
|
+
export declare function Combobox({ value, defaultValue, onValueChange, inputValue, defaultInputValue, onInputChange, isDisabled, isInvalid, name, defaultOpen, open: openProp, onOpenChange, fillInputOnSelect, children, }: ComboboxProps): import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export interface ComboboxInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'value' | 'onChange' | 'size'>, InputBaseVariants {
|
|
24
24
|
}
|
|
25
25
|
export declare const ComboboxInput: import("react").ForwardRefExoticComponent<ComboboxInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -32,7 +32,7 @@ export interface ComboboxContentProps extends SurfaceVariants {
|
|
|
32
32
|
export declare function ComboboxContent({ className, placement, offset, variant, tone, radius, padding, elevation, children, }: ComboboxContentProps): import("react/jsx-runtime").JSX.Element | null;
|
|
33
33
|
export interface ComboboxItemProps extends HTMLAttributes<HTMLDivElement> {
|
|
34
34
|
value: string;
|
|
35
|
-
|
|
35
|
+
isDisabled?: boolean;
|
|
36
36
|
children: ReactNode;
|
|
37
37
|
}
|
|
38
38
|
export declare const ComboboxItem: import("react").ForwardRefExoticComponent<ComboboxItemProps & import("react").RefAttributes<HTMLDivElement>>;
|