@wow-two-beta/ui 0.0.57 → 0.0.58
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-WOKIYORV.js → chunk-FYG23O4O.js} +262 -28
- package/dist/chunk-FYG23O4O.js.map +1 -0
- 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-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/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 +2 -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
|
@@ -4,22 +4,21 @@ type SingleProps = {
|
|
|
4
4
|
value?: string;
|
|
5
5
|
defaultValue?: string;
|
|
6
6
|
onValueChange?: (value: string) => void;
|
|
7
|
-
|
|
7
|
+
isCollapsible?: boolean;
|
|
8
8
|
};
|
|
9
9
|
type MultipleProps = {
|
|
10
10
|
type: 'multiple';
|
|
11
11
|
value?: string[];
|
|
12
12
|
defaultValue?: string[];
|
|
13
13
|
onValueChange?: (value: string[]) => void;
|
|
14
|
-
|
|
14
|
+
isCollapsible?: never;
|
|
15
15
|
};
|
|
16
16
|
export type AccordionProps = HTMLAttributes<HTMLDivElement> & (SingleProps | MultipleProps) & {
|
|
17
|
-
|
|
17
|
+
isDisabled?: boolean;
|
|
18
18
|
};
|
|
19
|
-
export declare const Accordion: import("react").ForwardRefExoticComponent<AccordionProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
20
19
|
export interface AccordionItemProps extends HTMLAttributes<HTMLDivElement> {
|
|
21
20
|
value: string;
|
|
22
|
-
|
|
21
|
+
isDisabled?: boolean;
|
|
23
22
|
children: ReactNode;
|
|
24
23
|
}
|
|
25
24
|
export declare const AccordionItem: import("react").ForwardRefExoticComponent<AccordionItemProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -31,10 +30,15 @@ export interface AccordionContentProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
31
30
|
children: ReactNode;
|
|
32
31
|
}
|
|
33
32
|
export declare const AccordionContent: import("react").ForwardRefExoticComponent<AccordionContentProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
33
|
+
/**
|
|
34
|
+
* Compound `Accordion` — the root carries the sub-component statics so
|
|
35
|
+
* `Accordion.Item` / `.Trigger` / `.Content` are type-safe from both the named
|
|
36
|
+
* and default exports. The flat `AccordionItem` / `AccordionTrigger` /
|
|
37
|
+
* `AccordionContent` exports remain available for direct import.
|
|
38
|
+
*/
|
|
39
|
+
export declare const Accordion: import("react").ForwardRefExoticComponent<AccordionProps & import("react").RefAttributes<HTMLDivElement>> & {
|
|
40
|
+
Item: import("react").ForwardRefExoticComponent<AccordionItemProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
41
|
+
Trigger: import("react").ForwardRefExoticComponent<AccordionTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
42
|
+
Content: import("react").ForwardRefExoticComponent<AccordionContentProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
38
43
|
};
|
|
39
|
-
|
|
40
|
-
export default _default;
|
|
44
|
+
export default Accordion;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type HTMLAttributes, type ReactNode } from 'react';
|
|
2
2
|
export interface ActivityFeedProps extends HTMLAttributes<HTMLOListElement> {
|
|
3
3
|
/** Compact spacing variant. */
|
|
4
|
-
|
|
4
|
+
isDense?: boolean;
|
|
5
5
|
children: ReactNode;
|
|
6
6
|
}
|
|
7
7
|
export interface ActivityItemProps extends HTMLAttributes<HTMLLIElement> {
|
|
@@ -17,7 +17,7 @@ export interface ActivityItemProps extends HTMLAttributes<HTMLLIElement> {
|
|
|
17
17
|
/** Trailing actions slot (e.g. Reply / Like). */
|
|
18
18
|
actions?: ReactNode;
|
|
19
19
|
/** Suppress the connector line under the leading column. */
|
|
20
|
-
|
|
20
|
+
isLast?: boolean;
|
|
21
21
|
}
|
|
22
22
|
declare const ActivityFeedInner: import("react").ForwardRefExoticComponent<ActivityFeedProps & import("react").RefAttributes<HTMLOListElement>>;
|
|
23
23
|
export declare const ActivityItem: import("react").ForwardRefExoticComponent<ActivityItemProps & import("react").RefAttributes<HTMLLIElement>>;
|
|
@@ -8,16 +8,15 @@ export interface AnnotationMarkerProps extends ButtonHTMLAttributes<HTMLButtonEl
|
|
|
8
8
|
/** Tone — drives the highlight color. */
|
|
9
9
|
tone?: AnnotationTone;
|
|
10
10
|
/** Show the marker as a small floating pin without underline. */
|
|
11
|
-
|
|
11
|
+
isPinOnly?: boolean;
|
|
12
12
|
/** Marks the annotation as resolved (dimmed, struck-through highlight). */
|
|
13
|
-
|
|
13
|
+
isResolved?: boolean;
|
|
14
14
|
/** Marks the annotation as the currently focused / hovered one. */
|
|
15
|
-
|
|
15
|
+
isActive?: boolean;
|
|
16
16
|
}
|
|
17
17
|
/**
|
|
18
|
-
* Wraps content (or stands alone) to mark an annotation. Renders as a
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
* markers or floating layers (set `position` via `className`).
|
|
18
|
+
* Wraps content (or stands alone) to mark an annotation. Renders as a focusable
|
|
19
|
+
* button; click fires the open-thread flow. `isPinOnly` collapses to just the
|
|
20
|
+
* numbered chip — for margin markers or floating layers (position via `className`).
|
|
22
21
|
*/
|
|
23
22
|
export declare const AnnotationMarker: import("react").ForwardRefExoticComponent<AnnotationMarkerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -4,7 +4,7 @@ export interface AudioPlayerProps extends Omit<AudioHTMLAttributes<HTMLAudioElem
|
|
|
4
4
|
peaks?: number[];
|
|
5
5
|
defaultVolume?: number;
|
|
6
6
|
defaultPlaybackRate?: number;
|
|
7
|
-
|
|
7
|
+
isCompact?: boolean;
|
|
8
8
|
onPlay?: () => void;
|
|
9
9
|
onPause?: () => void;
|
|
10
10
|
onTimeUpdate?: (time: number, duration: number) => void;
|
|
@@ -9,7 +9,7 @@ export interface AudioWaveformProps extends Omit<SVGAttributes<SVGSVGElement>, '
|
|
|
9
9
|
gap?: number;
|
|
10
10
|
tone?: AudioWaveformTone;
|
|
11
11
|
onSeek?: (progress: number) => void;
|
|
12
|
-
|
|
12
|
+
isInteractive?: boolean;
|
|
13
13
|
}
|
|
14
14
|
/**
|
|
15
15
|
* SVG bar-style audio waveform. `peaks` are per-bin amplitudes in 0..1.
|
|
@@ -7,7 +7,7 @@ export interface AvatarProps extends Omit<ComponentPropsWithoutRef<'span'>, 'chi
|
|
|
7
7
|
name?: string;
|
|
8
8
|
fallback?: ReactNode;
|
|
9
9
|
alt?: string;
|
|
10
|
-
|
|
10
|
+
canAutoColor?: boolean;
|
|
11
11
|
size?: SizeUnion<AvatarSizePreset>;
|
|
12
12
|
}
|
|
13
13
|
export declare const Avatar: import("react").ForwardRefExoticComponent<AvatarProps & import("react").RefAttributes<HTMLSpanElement>>;
|
|
@@ -7,7 +7,7 @@ export interface BadgeOverlayProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
7
7
|
/** Position of the badge relative to the wrapper. Default `top-right`. */
|
|
8
8
|
position?: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left';
|
|
9
9
|
/** Hide badge when truthy (e.g. when count is 0). */
|
|
10
|
-
|
|
10
|
+
isHidden?: boolean;
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
13
13
|
* Decorator that overlays a badge / dot on top of any child. Use to
|
|
@@ -3,7 +3,7 @@ export interface CarouselProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onC
|
|
|
3
3
|
index?: number;
|
|
4
4
|
defaultIndex?: number;
|
|
5
5
|
onIndexChange?: (index: number) => void;
|
|
6
|
-
|
|
6
|
+
canLoop?: boolean;
|
|
7
7
|
autoPlay?: number;
|
|
8
8
|
/** When set, overrides the automatic count (use for virtualised slides). */
|
|
9
9
|
slidesCount?: number;
|
|
@@ -16,9 +16,9 @@ export interface ChatBubbleProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
16
16
|
/** Delivery state. Hidden when `side === 'start'` by default. */
|
|
17
17
|
status?: ChatStatus;
|
|
18
18
|
/** Force-show status even on the inbound side. */
|
|
19
|
-
|
|
19
|
+
canShowStatusOnStart?: boolean;
|
|
20
20
|
/** Hide the bubble's tail (for stacked / grouped messages). */
|
|
21
|
-
|
|
21
|
+
isTailless?: boolean;
|
|
22
22
|
/** Reactions / footer slot (e.g. `<ReactionBar />`). */
|
|
23
23
|
footer?: ReactNode;
|
|
24
24
|
/** Bubble body. */
|
|
@@ -3,7 +3,7 @@ export interface CollapsibleProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
3
3
|
open?: boolean;
|
|
4
4
|
defaultOpen?: boolean;
|
|
5
5
|
onOpenChange?: (open: boolean) => void;
|
|
6
|
-
|
|
6
|
+
isDisabled?: boolean;
|
|
7
7
|
}
|
|
8
8
|
export declare const Collapsible: import("react").ForwardRefExoticComponent<CollapsibleProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
9
9
|
export interface CollapsibleTriggerProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'children'> {
|
|
@@ -13,7 +13,7 @@ export interface CollapsibleTriggerProps extends Omit<ButtonHTMLAttributes<HTMLB
|
|
|
13
13
|
export declare const CollapsibleTrigger: import("react").ForwardRefExoticComponent<CollapsibleTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
14
14
|
export interface CollapsibleContentProps extends HTMLAttributes<HTMLDivElement> {
|
|
15
15
|
/** Render hidden content but keep it in the DOM (for animations). */
|
|
16
|
-
|
|
16
|
+
isForceMounted?: boolean;
|
|
17
17
|
children: ReactNode;
|
|
18
18
|
}
|
|
19
19
|
export declare const CollapsibleContent: import("react").ForwardRefExoticComponent<CollapsibleContentProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -20,7 +20,7 @@ export interface CommentProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
20
20
|
/** Initial collapsed state for replies. */
|
|
21
21
|
defaultCollapsed?: boolean;
|
|
22
22
|
/** Mark as the OP / highlighted comment. */
|
|
23
|
-
|
|
23
|
+
isHighlighted?: boolean;
|
|
24
24
|
}
|
|
25
25
|
declare const CommentThreadInner: import("react").ForwardRefExoticComponent<CommentThreadProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
26
26
|
export declare const Comment: import("react").ForwardRefExoticComponent<CommentProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -18,13 +18,13 @@ export interface ConfettiProps {
|
|
|
18
18
|
lifetime?: number;
|
|
19
19
|
origin?: ConfettiOrigin;
|
|
20
20
|
/** Auto-fire on mount. Useful for one-shot confetti on a route landing. */
|
|
21
|
-
|
|
21
|
+
canAutoFire?: boolean;
|
|
22
22
|
}
|
|
23
23
|
export interface ConfettiHandle {
|
|
24
24
|
fire: (opts?: ConfettiFireOptions) => void;
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
27
|
-
* Confetti burst. Imperative `fire()` via ref or `
|
|
27
|
+
* Confetti burst. Imperative `fire()` via ref or `canAutoFire` on mount. SVG
|
|
28
28
|
* particles animated by rAF. No-op under `prefers-reduced-motion`.
|
|
29
29
|
*/
|
|
30
30
|
export declare const Confetti: import("react").ForwardRefExoticComponent<ConfettiProps & import("react").RefAttributes<ConfettiHandle>>;
|
|
@@ -6,12 +6,11 @@ export interface CountBadgeProps extends Omit<ComponentPropsWithoutRef<'span'>,
|
|
|
6
6
|
/** Cap value — shows "max+" when exceeded. Default 99. */
|
|
7
7
|
max?: number;
|
|
8
8
|
/** Hide entirely when count is 0. Default true. */
|
|
9
|
-
|
|
9
|
+
canHideZero?: boolean;
|
|
10
10
|
variant?: BadgeProps['variant'];
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
13
|
-
* Numeric badge for notification / inbox counts.
|
|
14
|
-
*
|
|
15
|
-
* `hideZero={false}`.
|
|
13
|
+
* Numeric badge for notification / inbox counts. Shows "{value}" or "{max}+"
|
|
14
|
+
* past the cap. Hides when `value === 0` unless `canHideZero={false}`.
|
|
16
15
|
*/
|
|
17
16
|
export declare const CountBadge: import("react").ForwardRefExoticComponent<CountBadgeProps & import("react").RefAttributes<HTMLSpanElement>>;
|
|
@@ -5,12 +5,12 @@ export interface CountUpProps extends Omit<HTMLAttributes<HTMLElement>, 'childre
|
|
|
5
5
|
duration?: number;
|
|
6
6
|
easing?: (t: number) => number;
|
|
7
7
|
format?: (value: number) => ReactNode;
|
|
8
|
-
|
|
8
|
+
canTriggerOnView?: boolean;
|
|
9
9
|
as?: 'span' | 'div' | 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
10
10
|
}
|
|
11
11
|
/**
|
|
12
12
|
* Number that animates up to `to` on mount (or on enter-viewport when
|
|
13
|
-
* `
|
|
13
|
+
* `canTriggerOnView`). rAF tween; respects `prefers-reduced-motion` (jumps
|
|
14
14
|
* straight to `to`).
|
|
15
15
|
*/
|
|
16
16
|
export declare const CountUp: import("react").ForwardRefExoticComponent<CountUpProps & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -12,7 +12,7 @@ export interface DataGridColumn<T> {
|
|
|
12
12
|
value: string | number;
|
|
13
13
|
label: ReactNode;
|
|
14
14
|
}>;
|
|
15
|
-
|
|
15
|
+
isEditable?: boolean;
|
|
16
16
|
width?: string;
|
|
17
17
|
align?: 'left' | 'right' | 'center';
|
|
18
18
|
}
|
|
@@ -21,7 +21,7 @@ export interface DataGridProps<T> extends Omit<HTMLAttributes<HTMLDivElement>, '
|
|
|
21
21
|
rows: T[];
|
|
22
22
|
rowKey: (row: T) => string;
|
|
23
23
|
onRowChange?: (row: T, colKey: string, value: unknown) => void;
|
|
24
|
-
|
|
24
|
+
isDense?: boolean;
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
27
27
|
* First-generation editable DataGrid. Keyboard nav between cells; click /
|
|
@@ -10,7 +10,7 @@ export interface DataTableColumn<T> {
|
|
|
10
10
|
header: ReactNode;
|
|
11
11
|
accessor?: (row: T) => unknown;
|
|
12
12
|
cell?: (row: T, index: number) => ReactNode;
|
|
13
|
-
|
|
13
|
+
isSortable?: boolean;
|
|
14
14
|
align?: 'left' | 'center' | 'right';
|
|
15
15
|
width?: string;
|
|
16
16
|
}
|
|
@@ -22,12 +22,12 @@ export interface DataTableProps<T> {
|
|
|
22
22
|
sortBy?: DataTableSort | null;
|
|
23
23
|
defaultSortBy?: DataTableSort | null;
|
|
24
24
|
onSortChange?: (sort: DataTableSort | null) => void;
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
isStriped?: boolean;
|
|
26
|
+
isHoverable?: boolean;
|
|
27
27
|
density?: TableDensity;
|
|
28
|
-
|
|
28
|
+
isBare?: boolean;
|
|
29
29
|
emptyContent?: ReactNode;
|
|
30
30
|
className?: string;
|
|
31
31
|
'aria-label'?: string;
|
|
32
32
|
}
|
|
33
|
-
export declare function DataTable<T>({ columns, data, rowKey, onRowClick, sortBy, defaultSortBy, onSortChange,
|
|
33
|
+
export declare function DataTable<T>({ columns, data, rowKey, onRowClick, sortBy, defaultSortBy, onSortChange, isStriped, isHoverable, density, isBare, emptyContent, className, 'aria-label': ariaLabel, }: DataTableProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -6,7 +6,7 @@ export interface DiffViewerProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
6
6
|
view?: DiffView;
|
|
7
7
|
leftLabel?: ReactNode;
|
|
8
8
|
rightLabel?: ReactNode;
|
|
9
|
-
|
|
9
|
+
hasStats?: boolean;
|
|
10
10
|
}
|
|
11
11
|
/**
|
|
12
12
|
* Line-level diff viewer (split / unified). Own LCS implementation; no
|
|
@@ -6,12 +6,12 @@ export interface GradientTextProps extends HTMLAttributes<HTMLElement> {
|
|
|
6
6
|
via?: string;
|
|
7
7
|
to?: string;
|
|
8
8
|
direction?: GradientTextDirection;
|
|
9
|
-
|
|
9
|
+
isAnimated?: boolean;
|
|
10
10
|
as?: GradientTextTag;
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
13
13
|
* Decorative gradient-filled text via `background-clip: text`. Optional
|
|
14
|
-
* `
|
|
14
|
+
* `isAnimated` pans the gradient on a 4s loop (skipped under
|
|
15
15
|
* `prefers-reduced-motion` via the global `motion-reduce:` CSS guard).
|
|
16
16
|
*/
|
|
17
17
|
export declare const GradientText: import("react").ForwardRefExoticComponent<GradientTextProps & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -12,7 +12,7 @@ export interface HeatmapCalendarProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
12
12
|
onCellClick?: (date: string, value: number) => void;
|
|
13
13
|
monthLabels?: string[];
|
|
14
14
|
weekdayLabels?: string[];
|
|
15
|
-
|
|
15
|
+
hasLegend?: boolean;
|
|
16
16
|
}
|
|
17
17
|
/**
|
|
18
18
|
* Year-long heatmap. 53 columns (weeks) × 7 rows (weekdays). Per-cell color
|
|
@@ -5,11 +5,11 @@ export interface HighlightProps extends Omit<ComponentPropsWithoutRef<'span'>, '
|
|
|
5
5
|
/** Substring(s) to highlight. Match is case-insensitive. */
|
|
6
6
|
query: string | string[];
|
|
7
7
|
/** When `true`, only highlights whole-word matches. Default `false`. */
|
|
8
|
-
|
|
8
|
+
isWholeWord?: boolean;
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* Wraps each occurrence of `query` (or any of `query[]`) inside the
|
|
12
|
-
* `children` text in a `<Mark>`. Case-insensitive; pass `
|
|
12
|
+
* `children` text in a `<Mark>`. Case-insensitive; pass `isWholeWord` to
|
|
13
13
|
* avoid partial matches.
|
|
14
14
|
*/
|
|
15
15
|
export declare const Highlight: import("react").ForwardRefExoticComponent<HighlightProps & import("react").RefAttributes<HTMLSpanElement>>;
|
package/dist/display/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActivityFeed, ActivityItem, AnimatedNumber, AnnotationMarker, AudioPlayer, AudioWaveform, Avatar, AvatarGroup, Badge, BadgeOverlay, Card, Carousel, CarouselDot, CarouselDots, CarouselNext, CarouselPrev, CarouselSlide, CarouselSlides, CarouselViewport, ChatBubble, Code, Collapsible, CollapsibleContent, CollapsibleTrigger, Comment, CommentThread, Confetti, CountBadge, CountUp, DataGrid, DataTable, DaySeparator, DescriptionList, DiffViewer, EmptyState, EventCalendar, Eyebrow, Gantt, GradientText, Heading, HeatmapCalendar, Highlight, Image, InfoRow, KeyboardShortcut, List, ListItem, Mark, Marquee, MessageList, MetaInline, MetricChip, NodeEditor, NotificationDot, PDFViewer, Quote, ReactionBar, ScheduleView, ScrollReveal, SectionHeader, Separator, Snippet, Sparkline, Stat, Status, SwipeActions, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeaderCell, TableRow, Tabs, TabsList, TabsPanel, TabsTab, Text, ThreadView, Tilt, Timeline, TimelineDescription, TimelineItem, TimelineTitle, Tooltip, Tree, TreeGroup, TreeItem, Typewriter, VideoPlayer, avatarVariants, badgeVariants, codeVariants, headingVariants, textVariants } from '../chunk-
|
|
2
|
-
export { Kbd, Tag, tagVariants } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
1
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActivityFeed, ActivityItem, AnimatedNumber, AnnotationMarker, AudioPlayer, AudioWaveform, Avatar, AvatarGroup, Badge, BadgeOverlay, Card, Carousel, CarouselDot, CarouselDots, CarouselNext, CarouselPrev, CarouselSlide, CarouselSlides, CarouselViewport, ChatBubble, Code, Collapsible, CollapsibleContent, CollapsibleTrigger, Comment, CommentThread, Confetti, CountBadge, CountUp, DataGrid, DataTable, DaySeparator, DescriptionList, DiffViewer, EmptyState, EventCalendar, Eyebrow, Gantt, GradientText, Heading, HeatmapCalendar, Highlight, Image, InfoRow, KeyboardShortcut, List, ListItem, Mark, Marquee, MessageList, MetaInline, MetricChip, NodeEditor, NotificationDot, PDFViewer, Quote, ReactionBar, ScheduleView, ScrollReveal, SectionHeader, Separator, Snippet, Sparkline, Stat, Status, SwipeActions, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeaderCell, TableRow, Tabs, TabsList, TabsPanel, TabsTab, Text, ThreadView, Tilt, Timeline, TimelineDescription, TimelineItem, TimelineTitle, Tooltip, Tree, TreeGroup, TreeItem, Typewriter, VideoPlayer, avatarVariants, badgeVariants, codeVariants, headingVariants, textVariants } from '../chunk-Y5GS4CLT.js';
|
|
2
|
+
export { Kbd, Tag, tagVariants } from '../chunk-XDATW7NF.js';
|
|
3
|
+
import '../chunk-4XWLEKH2.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';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type HTMLAttributes, type LiHTMLAttributes, type ReactNode } from 'react';
|
|
2
2
|
import { type ListVariants } from './List.variants';
|
|
3
3
|
export interface ListProps extends Omit<HTMLAttributes<HTMLUListElement | HTMLOListElement>, 'type'>, ListVariants {
|
|
4
|
-
|
|
4
|
+
isOrdered?: boolean;
|
|
5
5
|
children: ReactNode;
|
|
6
6
|
}
|
|
7
7
|
export declare const List: import("react").ForwardRefExoticComponent<ListProps & import("react").RefAttributes<HTMLOListElement | HTMLUListElement>>;
|
|
@@ -11,7 +11,7 @@ export interface ListItemProps extends LiHTMLAttributes<HTMLLIElement> {
|
|
|
11
11
|
/** Trailing slot — badge, chevron, status. */
|
|
12
12
|
trailing?: ReactNode;
|
|
13
13
|
/** Auto-render a check marker if the parent List uses `marker="check"`. */
|
|
14
|
-
|
|
14
|
+
hasCheckMarker?: boolean;
|
|
15
15
|
children: ReactNode;
|
|
16
16
|
}
|
|
17
17
|
export declare const ListItem: import("react").ForwardRefExoticComponent<ListItemProps & import("react").RefAttributes<HTMLLIElement>>;
|
|
@@ -4,7 +4,7 @@ export interface MarqueeProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
4
4
|
direction?: MarqueeDirection;
|
|
5
5
|
/** Seconds for one full traversal of the inner content. */
|
|
6
6
|
speed?: number;
|
|
7
|
-
|
|
7
|
+
canPauseOnHover?: boolean;
|
|
8
8
|
gap?: number;
|
|
9
9
|
children: ReactNode;
|
|
10
10
|
}
|
|
@@ -10,13 +10,13 @@ export interface MessageListProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
10
10
|
footer?: ReactNode;
|
|
11
11
|
/** Auto-scroll to bottom when children change *and* the viewer is near
|
|
12
12
|
* the bottom. Default true. */
|
|
13
|
-
|
|
13
|
+
isSticky?: boolean;
|
|
14
14
|
/** Threshold (px) considered "at bottom" for stickiness. Default 32. */
|
|
15
15
|
bottomThreshold?: number;
|
|
16
16
|
/** Show a floating "jump to bottom" button when scrolled away. Default true. */
|
|
17
|
-
|
|
17
|
+
hasJumpToBottom?: boolean;
|
|
18
18
|
/** Reverse-render messages (newest at top). v1 keeps natural top→bottom. */
|
|
19
|
-
|
|
19
|
+
isReversed?: boolean;
|
|
20
20
|
children: ReactNode;
|
|
21
21
|
}
|
|
22
22
|
export interface DaySeparatorProps extends HTMLAttributes<HTMLDivElement> {
|
|
@@ -3,7 +3,7 @@ export interface NotificationDotProps extends ComponentPropsWithoutRef<'span'> {
|
|
|
3
3
|
tone?: 'destructive' | 'success' | 'warning' | 'info' | 'primary' | 'neutral';
|
|
4
4
|
size?: 'xs' | 'sm' | 'md';
|
|
5
5
|
/** Adds a pulsing ring around the dot. */
|
|
6
|
-
|
|
6
|
+
hasPulse?: boolean;
|
|
7
7
|
/** When set, the dot is positioned absolutely relative to its parent. */
|
|
8
8
|
position?: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left';
|
|
9
9
|
}
|
|
@@ -7,7 +7,7 @@ export interface Reaction {
|
|
|
7
7
|
/** Total count of users who reacted. */
|
|
8
8
|
count: number;
|
|
9
9
|
/** Whether the current viewer has reacted with this. */
|
|
10
|
-
|
|
10
|
+
isReactedByMe?: boolean;
|
|
11
11
|
/** Optional list of user names — surfaced in the chip's `title`. */
|
|
12
12
|
users?: string[];
|
|
13
13
|
}
|
|
@@ -17,12 +17,12 @@ export interface ReactionBarProps extends Omit<HTMLAttributes<HTMLDivElement>, '
|
|
|
17
17
|
onReact?: (key: string) => void;
|
|
18
18
|
/** Click handler for the trailing "add" button. Opens a picker. */
|
|
19
19
|
onAdd?: () => void;
|
|
20
|
-
/**
|
|
21
|
-
|
|
20
|
+
/** Render the trailing "add reaction" button. Default true. */
|
|
21
|
+
hasAddButton?: boolean;
|
|
22
22
|
/** Compact mode — emoji only, no counts. */
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
|
|
23
|
+
isCompact?: boolean;
|
|
24
|
+
/** Render chips with `count === 0`. Default false. */
|
|
25
|
+
hasEmpty?: boolean;
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
28
|
* Row of reaction chips with optional add-reaction button. Each chip toggles
|
|
@@ -11,7 +11,7 @@ export interface SectionHeaderProps extends Omit<ComponentPropsWithoutRef<'heade
|
|
|
11
11
|
level?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
12
12
|
size?: 'md' | 'lg' | 'xl' | '2xl';
|
|
13
13
|
/** Add a bottom border. Default true. */
|
|
14
|
-
|
|
14
|
+
isBordered?: boolean;
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
17
17
|
* Section / page header — title + optional description + actions row.
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { type ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
export interface SeparatorProps extends ComponentPropsWithoutRef<'div'> {
|
|
3
3
|
orientation?: 'horizontal' | 'vertical';
|
|
4
|
-
/**
|
|
5
|
-
|
|
6
|
-
decorative?: boolean;
|
|
4
|
+
/** Purely decorative — `role="none"`, unannounced. Default `true`; set `false` when meaningful in context. */
|
|
5
|
+
isDecorative?: boolean;
|
|
7
6
|
}
|
|
8
7
|
/**
|
|
9
8
|
* Visual divider. Defaults to a horizontal hairline; pass `orientation="vertical"`
|
|
@@ -2,7 +2,7 @@ import { type ComponentPropsWithoutRef, type ReactNode } from 'react';
|
|
|
2
2
|
export interface StatusProps extends Omit<ComponentPropsWithoutRef<'span'>, 'children'> {
|
|
3
3
|
tone?: 'success' | 'warning' | 'destructive' | 'info' | 'neutral';
|
|
4
4
|
/** Optional pulsing ring around the dot. */
|
|
5
|
-
|
|
5
|
+
hasPulse?: boolean;
|
|
6
6
|
/** Visual size — drives dot dimensions, text size, and gap. Default `md`. */
|
|
7
7
|
size?: 'xs' | 'sm' | 'md';
|
|
8
8
|
children?: ReactNode;
|
|
@@ -6,7 +6,7 @@ export interface SwipeActionsProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
6
6
|
threshold?: number;
|
|
7
7
|
/** Used to compute snap distance. Width per action button (px). */
|
|
8
8
|
actionWidth?: number;
|
|
9
|
-
|
|
9
|
+
isDisabled?: boolean;
|
|
10
10
|
children: ReactNode;
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
@@ -1,14 +1,26 @@
|
|
|
1
1
|
import { type HTMLAttributes, type ReactNode, type TableHTMLAttributes, type ThHTMLAttributes, type TdHTMLAttributes } from 'react';
|
|
2
|
-
export type TableDensity = 'compact' | 'cozy' | 'comfortable';
|
|
2
|
+
export type TableDensity = 'compact' | 'cozy' | 'comfortable' | 'roomy';
|
|
3
|
+
/** Radius applied to the scroll wrapper. Mirrors the shared surface radius scale. */
|
|
4
|
+
export type TableRadius = 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
3
5
|
export interface TableProps extends TableHTMLAttributes<HTMLTableElement> {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
+
isStriped?: boolean;
|
|
7
|
+
isHoverable?: boolean;
|
|
6
8
|
density?: TableDensity;
|
|
7
|
-
|
|
9
|
+
isBare?: boolean;
|
|
10
|
+
/** Corner radius of the scroll wrapper (ignored when `isBare`). */
|
|
11
|
+
radius?: TableRadius;
|
|
12
|
+
/** Classes applied to the scroll wrapper (ignored when `isBare`). `className` still lands on the inner `<table>`. */
|
|
13
|
+
containerClassName?: string;
|
|
8
14
|
children: ReactNode;
|
|
9
15
|
}
|
|
10
16
|
export declare const Table: import("react").ForwardRefExoticComponent<TableProps & import("react").RefAttributes<HTMLTableElement>>;
|
|
11
|
-
|
|
17
|
+
/** Header typography treatment. `uppercase` is the default look; `plain` keeps normal-case `text-sm` heads. */
|
|
18
|
+
export type TableHeadVariant = 'uppercase' | 'plain';
|
|
19
|
+
export interface TableHeadProps extends HTMLAttributes<HTMLTableSectionElement> {
|
|
20
|
+
/** Typography treatment for the header row. Defaults to `uppercase` (current look). */
|
|
21
|
+
headVariant?: TableHeadVariant;
|
|
22
|
+
}
|
|
23
|
+
export declare const TableHead: import("react").ForwardRefExoticComponent<TableHeadProps & import("react").RefAttributes<HTMLTableSectionElement>>;
|
|
12
24
|
export declare const TableBody: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLTableSectionElement> & import("react").RefAttributes<HTMLTableSectionElement>>;
|
|
13
25
|
export declare const TableFooter: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLTableSectionElement> & import("react").RefAttributes<HTMLTableSectionElement>>;
|
|
14
26
|
export declare const TableRow: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLTableRowElement> & import("react").RefAttributes<HTMLTableRowElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Table, TableHead, TableBody, TableFooter, TableRow, TableHeaderCell, TableCell, TableCaption, type TableProps, type TableHeaderCellProps, type TableCellProps, type TableDensity, } from './Table';
|
|
1
|
+
export { Table, TableHead, TableBody, TableFooter, TableRow, TableHeaderCell, TableCell, TableCaption, type TableProps, type TableHeadProps, type TableHeaderCellProps, type TableCellProps, type TableDensity, type TableRadius, type TableHeadVariant, } from './Table';
|
|
@@ -13,7 +13,7 @@ export interface TabsListProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
13
13
|
export declare const TabsList: import("react").ForwardRefExoticComponent<TabsListProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
14
14
|
export interface TabsTabProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'value'> {
|
|
15
15
|
value: string;
|
|
16
|
-
|
|
16
|
+
isDisabled?: boolean;
|
|
17
17
|
}
|
|
18
18
|
export declare const TabsTab: import("react").ForwardRefExoticComponent<TabsTabProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
19
19
|
export interface TabsPanelProps extends HTMLAttributes<HTMLDivElement> {
|