@dxos/react-ui 0.9.0 → 0.9.1-staging.ee54ba693a
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/lib/browser/{chunk-5SPBSIWS.mjs → chunk-CMHHVHX3.mjs} +14 -1
- package/dist/lib/browser/chunk-CMHHVHX3.mjs.map +7 -0
- package/dist/lib/browser/{chunk-7JFD5ZHZ.mjs → chunk-GTHV4WYK.mjs} +141 -254
- package/dist/lib/browser/chunk-GTHV4WYK.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +1553 -1274
- package/dist/lib/browser/index.mjs.map +4 -4
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/testing/index.mjs +5 -5
- package/dist/lib/browser/testing/index.mjs.map +2 -2
- package/dist/lib/browser/translations.mjs +1 -1
- package/dist/lib/node-esm/{chunk-TTEL2FP2.mjs → chunk-3VSKWNCQ.mjs} +141 -254
- package/dist/lib/node-esm/chunk-3VSKWNCQ.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-FPVTVXND.mjs → chunk-P4KFQGJI.mjs} +14 -1
- package/dist/lib/node-esm/chunk-P4KFQGJI.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +1553 -1274
- package/dist/lib/node-esm/index.mjs.map +4 -4
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/testing/index.mjs +5 -5
- package/dist/lib/node-esm/testing/index.mjs.map +2 -2
- package/dist/lib/node-esm/translations.mjs +1 -1
- package/dist/types/src/components/Avatars/Avatar.d.ts +1 -1
- package/dist/types/src/components/Avatars/Avatar.d.ts.map +1 -1
- package/dist/types/src/components/Breadcrumb/Breadcrumb.d.ts +3 -3
- package/dist/types/src/components/Breadcrumb/Breadcrumb.d.ts.map +1 -1
- package/dist/types/src/components/Button/Button.d.ts +4 -2
- package/dist/types/src/components/Button/Button.d.ts.map +1 -1
- package/dist/types/src/components/Button/IconButton.d.ts +0 -1
- package/dist/types/src/components/Button/IconButton.d.ts.map +1 -1
- package/dist/types/src/components/Button/IconButton.stories.d.ts +37 -0
- package/dist/types/src/components/Button/IconButton.stories.d.ts.map +1 -1
- package/dist/types/src/components/Button/MicButton.d.ts +24 -0
- package/dist/types/src/components/Button/MicButton.d.ts.map +1 -0
- package/dist/types/src/components/Button/MicButton.stories.d.ts +57 -0
- package/dist/types/src/components/Button/MicButton.stories.d.ts.map +1 -0
- package/dist/types/src/components/Button/SystemIconButton.d.ts +33 -0
- package/dist/types/src/components/Button/SystemIconButton.d.ts.map +1 -0
- package/dist/types/src/components/Button/SystemIconButton.stories.d.ts +51 -0
- package/dist/types/src/components/Button/SystemIconButton.stories.d.ts.map +1 -0
- package/dist/types/src/components/Button/ToggleGroup.d.ts +2 -2
- package/dist/types/src/components/Button/ToggleGroup.d.ts.map +1 -1
- package/dist/types/src/components/Button/ToggleIconButton.d.ts +15 -0
- package/dist/types/src/components/Button/ToggleIconButton.d.ts.map +1 -0
- package/dist/types/src/components/Button/index.d.ts +3 -0
- package/dist/types/src/components/Button/index.d.ts.map +1 -1
- package/dist/types/src/components/Calendar/Calendar.d.ts.map +1 -1
- package/dist/types/src/components/Calendar/Calendar.theme.d.ts.map +1 -1
- package/dist/types/src/components/Card/Card.d.ts +32 -26
- package/dist/types/src/components/Card/Card.d.ts.map +1 -1
- package/dist/types/src/components/Card/Card.stories.d.ts +3 -3
- package/dist/types/src/components/Card/Card.stories.d.ts.map +1 -1
- package/dist/types/src/components/Card/Card.theme.d.ts.map +1 -1
- package/dist/types/src/components/Carousel/Carousel.d.ts +29 -6
- package/dist/types/src/components/Carousel/Carousel.d.ts.map +1 -1
- package/dist/types/src/components/Carousel/Carousel.stories.d.ts +48 -2
- package/dist/types/src/components/Carousel/Carousel.stories.d.ts.map +1 -1
- package/dist/types/src/components/Clipboard/index.d.ts +1 -0
- package/dist/types/src/components/Clipboard/index.d.ts.map +1 -1
- package/dist/types/src/components/Column/Column.d.ts +20 -2
- package/dist/types/src/components/Column/Column.d.ts.map +1 -1
- package/dist/types/src/components/Column/Column.theme.d.ts +8 -0
- package/dist/types/src/components/Column/Column.theme.d.ts.map +1 -1
- package/dist/types/src/components/Dialog/AlertDialog.d.ts +2 -2
- package/dist/types/src/components/Dialog/AlertDialog.d.ts.map +1 -1
- package/dist/types/src/components/Dialog/Dialog.d.ts +1 -1
- package/dist/types/src/components/Dialog/Dialog.d.ts.map +1 -1
- package/dist/types/src/components/Dialog/Dialog.stories.d.ts +2 -2
- package/dist/types/src/components/Dialog/Dialog.stories.d.ts.map +1 -1
- package/dist/types/src/components/Icon/Icon.stories.d.ts +5 -0
- package/dist/types/src/components/Icon/Icon.stories.d.ts.map +1 -1
- package/dist/types/src/components/Input/Input.d.ts +4 -1
- package/dist/types/src/components/Input/Input.d.ts.map +1 -1
- package/dist/types/src/components/Input/Input.stories.d.ts +3 -3
- package/dist/types/src/components/Input/Input.stories.d.ts.map +1 -1
- package/dist/types/src/components/Input/Input.theme.d.ts +10 -10
- package/dist/types/src/components/Input/Input.theme.d.ts.map +1 -1
- package/dist/types/src/components/Input/SegmentedInput.d.ts +8 -8
- package/dist/types/src/components/Input/SegmentedInput.d.ts.map +1 -1
- package/dist/types/src/components/Input/index.d.ts +0 -1
- package/dist/types/src/components/Input/index.d.ts.map +1 -1
- package/dist/types/src/components/Main/Main.d.ts +3 -3
- package/dist/types/src/components/Main/Main.d.ts.map +1 -1
- package/dist/types/src/components/Menu/ContextMenu.d.ts +1 -1
- package/dist/types/src/components/Menu/ContextMenu.d.ts.map +1 -1
- package/dist/types/src/components/Menu/DropdownMenu.d.ts +2 -2
- package/dist/types/src/components/Menu/DropdownMenu.d.ts.map +1 -1
- package/dist/types/src/components/Message/Message.d.ts +1 -1
- package/dist/types/src/components/Message/Message.d.ts.map +1 -1
- package/dist/types/src/components/Message/Message.stories.d.ts +2 -2
- package/dist/types/src/components/Message/Message.stories.d.ts.map +1 -1
- package/dist/types/src/components/Message/Message.theme.d.ts.map +1 -1
- package/dist/types/src/components/Panel/Panel.d.ts +1 -1
- package/dist/types/src/components/Panel/Panel.d.ts.map +1 -1
- package/dist/types/src/components/Panel/Panel.theme.d.ts.map +1 -1
- package/dist/types/src/components/Popover/Popover.d.ts +2 -2
- package/dist/types/src/components/Popover/Popover.d.ts.map +1 -1
- package/dist/types/src/components/ScrollArea/ScrollArea.d.ts +2 -0
- package/dist/types/src/components/ScrollArea/ScrollArea.d.ts.map +1 -1
- package/dist/types/src/components/ScrollArea/ScrollArea.stories.d.ts +1 -0
- package/dist/types/src/components/ScrollArea/ScrollArea.stories.d.ts.map +1 -1
- package/dist/types/src/components/ScrollContainer/ScrollContainer.d.ts +1 -1
- package/dist/types/src/components/ScrollContainer/ScrollContainer.d.ts.map +1 -1
- package/dist/types/src/components/ScrollContainer/ScrollContainer.stories.d.ts +2 -2
- package/dist/types/src/components/ScrollContainer/ScrollContainer.stories.d.ts.map +1 -1
- package/dist/types/src/components/Select/Select.d.ts +1 -1
- package/dist/types/src/components/Select/Select.d.ts.map +1 -1
- package/dist/types/src/components/Select/Select.stories.d.ts +2 -2
- package/dist/types/src/components/Select/Select.stories.d.ts.map +1 -1
- package/dist/types/src/components/Separator/Separator.d.ts.map +1 -1
- package/dist/types/src/components/Splitter/Splitter.d.ts +30 -16
- package/dist/types/src/components/Splitter/Splitter.d.ts.map +1 -1
- package/dist/types/src/components/Splitter/Splitter.stories.d.ts +6 -1
- package/dist/types/src/components/Splitter/Splitter.stories.d.ts.map +1 -1
- package/dist/types/src/components/Splitter/Splitter.theme.d.ts +3 -1
- package/dist/types/src/components/Splitter/Splitter.theme.d.ts.map +1 -1
- package/dist/types/src/components/Tag/Tag.d.ts +1 -1
- package/dist/types/src/components/Tag/Tag.d.ts.map +1 -1
- package/dist/types/src/components/Tag/Tag.theme.d.ts +1 -1
- package/dist/types/src/components/Tag/Tag.theme.d.ts.map +1 -1
- package/dist/types/src/components/Toast/Toast.d.ts +1 -1
- package/dist/types/src/components/Toast/Toast.d.ts.map +1 -1
- package/dist/types/src/components/Toast/Toast.theme.d.ts.map +1 -1
- package/dist/types/src/components/Toolbar/Toolbar.d.ts +1 -1
- package/dist/types/src/components/Toolbar/Toolbar.d.ts.map +1 -1
- package/dist/types/src/components/Tooltip/TextTooltip.d.ts +19 -0
- package/dist/types/src/components/Tooltip/TextTooltip.d.ts.map +1 -0
- package/dist/types/src/components/Tooltip/Tooltip.d.ts +3 -3
- package/dist/types/src/components/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/types/src/components/Tooltip/Tooltip.stories.d.ts +2 -2
- package/dist/types/src/components/Tooltip/Tooltip.stories.d.ts.map +1 -1
- package/dist/types/src/components/Tooltip/index.d.ts +1 -0
- package/dist/types/src/components/Tooltip/index.d.ts.map +1 -1
- package/dist/types/src/components/index.d.ts +0 -1
- package/dist/types/src/components/index.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +1 -1
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/primitives/ThemeProvider/TranslationsProvider.d.ts +1 -8
- package/dist/types/src/primitives/ThemeProvider/TranslationsProvider.d.ts.map +1 -1
- package/dist/types/src/testing/Loading.d.ts.map +1 -1
- package/dist/types/src/theme/defaultTheme.d.ts.map +1 -1
- package/dist/types/src/theme/index.d.ts +0 -2
- package/dist/types/src/theme/index.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +13 -0
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/util/slots.d.ts +1 -1
- package/dist/types/src/util/slots.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +22 -21
- package/src/components/Avatars/Avatar.stories.tsx +2 -2
- package/src/components/Avatars/Avatar.theme.ts +1 -1
- package/src/components/Avatars/Avatar.tsx +3 -3
- package/src/components/Breadcrumb/Breadcrumb.tsx +6 -6
- package/src/components/Button/Button.tsx +25 -4
- package/src/components/Button/IconButton.stories.tsx +81 -1
- package/src/components/Button/IconButton.tsx +2 -4
- package/src/components/Button/MicButton.stories.tsx +60 -0
- package/src/components/Button/MicButton.tsx +117 -0
- package/src/components/Button/SystemIconButton.stories.tsx +91 -0
- package/src/components/Button/SystemIconButton.tsx +264 -0
- package/src/components/Button/ToggleGroup.tsx +2 -2
- package/src/components/Button/ToggleIconButton.tsx +32 -0
- package/src/components/Button/index.ts +3 -0
- package/src/components/Calendar/Calendar.theme.ts +2 -0
- package/src/components/Calendar/Calendar.tsx +3 -3
- package/src/components/Card/Card.stories.tsx +71 -29
- package/src/components/Card/Card.theme.ts +27 -9
- package/src/components/Card/Card.tsx +176 -99
- package/src/components/Carousel/Carousel.stories.tsx +42 -18
- package/src/components/Carousel/Carousel.tsx +169 -33
- package/src/components/Column/Column.theme.ts +32 -4
- package/src/components/Column/Column.tsx +39 -7
- package/src/components/Dialog/AlertDialog.stories.tsx +2 -2
- package/src/components/Dialog/AlertDialog.tsx +13 -13
- package/src/components/Dialog/Dialog.stories.tsx +3 -4
- package/src/components/Dialog/Dialog.theme.ts +1 -1
- package/src/components/Dialog/Dialog.tsx +12 -12
- package/src/components/Icon/Icon.stories.tsx +23 -0
- package/src/components/Icon/Icon.theme.ts +1 -1
- package/src/components/Input/Input.stories.tsx +13 -5
- package/src/components/Input/Input.theme.ts +17 -39
- package/src/components/Input/Input.tsx +30 -13
- package/src/components/Input/SegmentedInput.tsx +50 -41
- package/src/components/Input/index.ts +0 -1
- package/src/components/Main/Main.tsx +3 -3
- package/src/components/MediaPlayer/MediaPlayer.tsx +4 -4
- package/src/components/Menu/ContextMenu.tsx +8 -8
- package/src/components/Menu/DropdownMenu.tsx +12 -13
- package/src/components/Message/Message.stories.tsx +2 -2
- package/src/components/Message/Message.theme.ts +1 -11
- package/src/components/Message/Message.tsx +6 -6
- package/src/components/Panel/Panel.theme.ts +2 -1
- package/src/components/Panel/Panel.tsx +1 -1
- package/src/components/Popover/Popover.theme.ts +1 -1
- package/src/components/Popover/Popover.tsx +9 -9
- package/src/components/ScrollArea/ScrollArea.tsx +7 -4
- package/src/components/ScrollContainer/ScrollContainer.stories.tsx +2 -2
- package/src/components/ScrollContainer/ScrollContainer.tsx +2 -2
- package/src/components/Select/Select.stories.tsx +2 -2
- package/src/components/Select/Select.theme.ts +1 -1
- package/src/components/Select/Select.tsx +14 -14
- package/src/components/Separator/Separator.tsx +1 -0
- package/src/components/Splitter/Splitter.stories.tsx +84 -20
- package/src/components/Splitter/Splitter.theme.ts +20 -3
- package/src/components/Splitter/Splitter.tsx +320 -47
- package/src/components/Tag/Tag.stories.tsx +1 -1
- package/src/components/Tag/Tag.theme.ts +1 -1
- package/src/components/Tag/Tag.tsx +3 -5
- package/src/components/Toast/Toast.theme.ts +3 -8
- package/src/components/Toast/Toast.tsx +16 -15
- package/src/components/Toolbar/Toolbar.tsx +10 -10
- package/src/components/Tooltip/TextTooltip.tsx +54 -0
- package/src/components/Tooltip/Tooltip.stories.tsx +2 -2
- package/src/components/Tooltip/Tooltip.tsx +3 -3
- package/src/components/Tooltip/index.ts +1 -0
- package/src/components/index.ts +0 -1
- package/src/exemplars/tabster.stories.tsx +1 -1
- package/src/index.ts +1 -1
- package/src/primitives/ThemeProvider/TranslationsProvider.tsx +10 -30
- package/src/testing/Loading.tsx +2 -1
- package/src/testing/decorators/withLayout.tsx +2 -2
- package/src/theme/defaultTheme.ts +0 -4
- package/src/theme/index.ts +0 -2
- package/src/translations.ts +18 -0
- package/src/util/slots.ts +5 -5
- package/dist/lib/browser/chunk-5SPBSIWS.mjs.map +0 -7
- package/dist/lib/browser/chunk-7JFD5ZHZ.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-FPVTVXND.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-TTEL2FP2.mjs.map +0 -7
- package/dist/types/src/components/Input/constants.d.ts +0 -2
- package/dist/types/src/components/Input/constants.d.ts.map +0 -1
- package/dist/types/src/components/List/List.d.ts +0 -29
- package/dist/types/src/components/List/List.d.ts.map +0 -1
- package/dist/types/src/components/List/List.stories.d.ts +0 -16
- package/dist/types/src/components/List/List.stories.d.ts.map +0 -1
- package/dist/types/src/components/List/List.theme.d.ts +0 -7
- package/dist/types/src/components/List/List.theme.d.ts.map +0 -1
- package/dist/types/src/components/List/ListDropIndicator.d.ts +0 -13
- package/dist/types/src/components/List/ListDropIndicator.d.ts.map +0 -1
- package/dist/types/src/components/List/Tree.d.ts +0 -23
- package/dist/types/src/components/List/Tree.d.ts.map +0 -1
- package/dist/types/src/components/List/Tree.stories.d.ts +0 -15
- package/dist/types/src/components/List/Tree.stories.d.ts.map +0 -1
- package/dist/types/src/components/List/TreeDropIndicator.d.ts +0 -8
- package/dist/types/src/components/List/TreeDropIndicator.d.ts.map +0 -1
- package/dist/types/src/components/List/Treegrid.d.ts +0 -33
- package/dist/types/src/components/List/Treegrid.d.ts.map +0 -1
- package/dist/types/src/components/List/Treegrid.stories.d.ts +0 -12
- package/dist/types/src/components/List/Treegrid.stories.d.ts.map +0 -1
- package/dist/types/src/components/List/Treegrid.theme.d.ts +0 -7
- package/dist/types/src/components/List/Treegrid.theme.d.ts.map +0 -1
- package/dist/types/src/components/List/index.d.ts +0 -4
- package/dist/types/src/components/List/index.d.ts.map +0 -1
- package/src/components/Input/constants.ts +0 -5
- package/src/components/List/List.stories.tsx +0 -234
- package/src/components/List/List.theme.ts +0 -47
- package/src/components/List/List.tsx +0 -171
- package/src/components/List/ListDropIndicator.tsx +0 -69
- package/src/components/List/Tree.stories.tsx +0 -87
- package/src/components/List/Tree.tsx +0 -74
- package/src/components/List/TreeDropIndicator.tsx +0 -70
- package/src/components/List/Treegrid.stories.tsx +0 -156
- package/src/components/List/Treegrid.theme.ts +0 -35
- package/src/components/List/Treegrid.tsx +0 -187
- package/src/components/List/index.ts +0 -7
|
@@ -1,37 +1,36 @@
|
|
|
1
|
-
import React, { CSSProperties,
|
|
2
|
-
import { type Density } from '@dxos/ui-types';
|
|
1
|
+
import React, { CSSProperties, MouseEventHandler, type ReactNode } from 'react';
|
|
2
|
+
import { type Density, type SlottableProps } from '@dxos/ui-types';
|
|
3
3
|
import { type ThemedClassName } from '../../util';
|
|
4
|
-
import { type IconBlockProps, type IconProps } from '../Icon';
|
|
5
4
|
import { type ImageProps } from '../Image';
|
|
6
|
-
import { type ToolbarActionIconButtonProps, ToolbarDragHandleProps, type ToolbarMenuProps
|
|
5
|
+
import { type ToolbarActionIconButtonProps, type ToolbarDragHandleProps, type ToolbarMenuProps } from '../Toolbar';
|
|
7
6
|
type CardRootProps = {
|
|
8
|
-
id?: string;
|
|
9
|
-
border?: boolean;
|
|
10
|
-
fullWidth?: boolean;
|
|
11
|
-
density?: Density;
|
|
12
|
-
style?: CSSProperties;
|
|
13
|
-
tabIndex?: number;
|
|
14
|
-
onClick?: MouseEventHandler<HTMLDivElement>;
|
|
7
|
+
'id'?: string;
|
|
8
|
+
'border'?: boolean;
|
|
9
|
+
'fullWidth'?: boolean;
|
|
10
|
+
'density'?: Density;
|
|
11
|
+
'style'?: CSSProperties;
|
|
12
|
+
'tabIndex'?: number;
|
|
13
|
+
'onClick'?: MouseEventHandler<HTMLDivElement>;
|
|
15
14
|
'data-selected'?: boolean;
|
|
16
15
|
'data-testid'?: string;
|
|
17
16
|
};
|
|
18
|
-
type CardHeaderProps =
|
|
17
|
+
type CardHeaderProps = SlottableProps;
|
|
19
18
|
type CardDragHandleProps = ToolbarDragHandleProps;
|
|
20
19
|
type CardActionIconButtonProps = ToolbarActionIconButtonProps;
|
|
21
20
|
type CardMenuProps<T extends any | void = void> = ToolbarMenuProps<T>;
|
|
22
|
-
declare function CardMenu<T extends any | void = void>({ context, items
|
|
21
|
+
declare function CardMenu<T extends any | void = void>({ context, items }: CardMenuProps<T>): React.JSX.Element;
|
|
23
22
|
declare namespace CardMenu {
|
|
24
23
|
var displayName: string;
|
|
25
24
|
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
25
|
+
type CardBlockProps = SlottableProps<{
|
|
26
|
+
end?: boolean;
|
|
27
|
+
compact?: boolean;
|
|
28
|
+
square?: boolean;
|
|
29
|
+
}>;
|
|
30
30
|
type CardSectionProps = {
|
|
31
31
|
title?: ReactNode;
|
|
32
32
|
};
|
|
33
33
|
type CardRowProps = {
|
|
34
|
-
icon?: string | JSX.Element;
|
|
35
34
|
fullWidth?: boolean;
|
|
36
35
|
};
|
|
37
36
|
type CardTextProps = {
|
|
@@ -47,7 +46,7 @@ type CardHtmlProps = {
|
|
|
47
46
|
* Renders sanitized HTML content inside a card text slot.
|
|
48
47
|
* Uses DOMPurify to prevent XSS from untrusted markup (e.g. RSS feed content).
|
|
49
48
|
*/
|
|
50
|
-
declare function CardHtml({ html, variant, ...props }: CardHtmlProps & ThemedClassName<object>): JSX.Element;
|
|
49
|
+
declare function CardHtml({ html, variant, ...props }: CardHtmlProps & ThemedClassName<object>): React.JSX.Element;
|
|
51
50
|
declare namespace CardHtml {
|
|
52
51
|
var displayName: string;
|
|
53
52
|
}
|
|
@@ -58,7 +57,7 @@ type CardPosterProps = ThemedClassName<{
|
|
|
58
57
|
image: string;
|
|
59
58
|
icon: string;
|
|
60
59
|
}> & Omit<ImageProps, 'src' | 'alt' | 'classNames'>>;
|
|
61
|
-
declare function CardPoster({ classNames, alt, aspect: aspectProp, image, icon, ...imageProps }: CardPosterProps): JSX.Element | undefined;
|
|
60
|
+
declare function CardPoster({ classNames, alt, aspect: aspectProp, image, icon, fit, ...imageProps }: CardPosterProps): React.JSX.Element | undefined;
|
|
62
61
|
declare namespace CardPoster {
|
|
63
62
|
var displayName: string;
|
|
64
63
|
}
|
|
@@ -68,7 +67,7 @@ type CardActionProps = {
|
|
|
68
67
|
actionIcon?: string;
|
|
69
68
|
onClick?: () => void;
|
|
70
69
|
};
|
|
71
|
-
declare function CardAction({ icon, actionIcon, label, onClick }: CardActionProps): JSX.Element;
|
|
70
|
+
declare function CardAction({ icon, actionIcon, label, onClick }: CardActionProps): React.JSX.Element;
|
|
72
71
|
declare namespace CardAction {
|
|
73
72
|
var displayName: string;
|
|
74
73
|
}
|
|
@@ -76,7 +75,7 @@ type CardLinkProps = {
|
|
|
76
75
|
label: string;
|
|
77
76
|
href: string;
|
|
78
77
|
};
|
|
79
|
-
declare function CardLink({ label, href }: CardLinkProps): JSX.Element;
|
|
78
|
+
declare function CardLink({ label, href }: CardLinkProps): React.JSX.Element;
|
|
80
79
|
declare namespace CardLink {
|
|
81
80
|
var displayName: string;
|
|
82
81
|
}
|
|
@@ -84,14 +83,21 @@ export declare const Card: {
|
|
|
84
83
|
Root: React.ForwardRefExoticComponent<Omit<CardRootProps, "className"> & {
|
|
85
84
|
classNames?: import("@dxos/ui-types").ClassNameValue;
|
|
86
85
|
} & Pick<React.HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
|
|
87
|
-
Header: React.ForwardRefExoticComponent<Omit<
|
|
86
|
+
Header: React.ForwardRefExoticComponent<Omit<Omit<{
|
|
87
|
+
asChild?: boolean;
|
|
88
|
+
}, "className"> & {
|
|
89
|
+
classNames?: import("@dxos/ui-types").ClassNameValue;
|
|
90
|
+
} & Pick<React.HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & {
|
|
91
|
+
asChild?: boolean;
|
|
92
|
+
}, "className"> & {
|
|
93
|
+
classNames?: import("@dxos/ui-types").ClassNameValue;
|
|
94
|
+
} & Pick<React.HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
|
|
95
|
+
Block: React.ForwardRefExoticComponent<Omit<CardBlockProps, "className"> & {
|
|
88
96
|
classNames?: import("@dxos/ui-types").ClassNameValue;
|
|
89
97
|
} & Pick<React.HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
|
|
90
|
-
IconBlock: React.ForwardRefExoticComponent<Omit<IconBlockProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
91
98
|
DragHandle: React.ForwardRefExoticComponent<ToolbarDragHandleProps & React.RefAttributes<HTMLButtonElement>>;
|
|
92
99
|
ActionIconButton: React.ForwardRefExoticComponent<ToolbarActionIconButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
93
100
|
Menu: typeof CardMenu;
|
|
94
|
-
Icon: typeof CardIcon;
|
|
95
101
|
Title: React.ForwardRefExoticComponent<Omit<{
|
|
96
102
|
asChild?: boolean;
|
|
97
103
|
}, "className"> & {
|
|
@@ -122,5 +128,5 @@ export declare const Card: {
|
|
|
122
128
|
Action: typeof CardAction;
|
|
123
129
|
Link: typeof CardLink;
|
|
124
130
|
};
|
|
125
|
-
export type {
|
|
131
|
+
export type { CardActionIconButtonProps, CardBlockProps, CardDragHandleProps, CardHeaderProps, CardMenuProps, CardRootProps, CardSectionProps, };
|
|
126
132
|
//# sourceMappingURL=Card.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../../src/components/Card/Card.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,
|
|
1
|
+
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../../src/components/Card/Card.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,iBAAiB,EAAE,KAAK,SAAS,EAA8B,MAAM,OAAO,CAAC;AAI5G,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAMnE,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,YAAY,CAAC;AAIlD,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,UAAU,CAAC;AAElD,OAAO,EAAE,KAAK,4BAA4B,EAAE,KAAK,sBAAsB,EAAE,KAAK,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAQnH,KAAK,aAAa,GAAG;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,OA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;IACJ,IAAI;IACJ,MAAM;IACN,MAAM;IACN,IAAI;CACL,CAAC;AAEF,YAAY,EACV,yBAAyB,EACzB,cAAc,EACd,mBAAmB,EACnB,eAAe,EACf,aAAa,EACb,aAAa,EACb,gBAAgB,GACjB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type StoryObj } from '@storybook/react-vite';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
type
|
|
3
|
+
type StoryArgs = {
|
|
4
4
|
title: string;
|
|
5
5
|
description?: string;
|
|
6
6
|
image?: string;
|
|
@@ -8,7 +8,7 @@ type DefaultStoryProps = {
|
|
|
8
8
|
};
|
|
9
9
|
declare const meta: {
|
|
10
10
|
title: string;
|
|
11
|
-
render: ({ title, description, image, fullWidth }:
|
|
11
|
+
render: ({ title, description, image, fullWidth }: StoryArgs) => React.JSX.Element;
|
|
12
12
|
decorators: import("@storybook/react").Decorator[];
|
|
13
13
|
};
|
|
14
14
|
export default meta;
|
|
@@ -18,5 +18,5 @@ export declare const FullWidth: Story;
|
|
|
18
18
|
export declare const Simple: Story;
|
|
19
19
|
export declare const Section: Story;
|
|
20
20
|
export declare const Description: Story;
|
|
21
|
-
export declare const
|
|
21
|
+
export declare const Slots: Story;
|
|
22
22
|
//# sourceMappingURL=Card.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Card/Card.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAiB,MAAM,OAAO,CAAC;AAUtC,KAAK,
|
|
1
|
+
{"version":3,"file":"Card.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Card/Card.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAiB,MAAM,OAAO,CAAC;AAUtC,KAAK,SAAS,GAAG;IACf,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAqCF,QAAA,MAAM,IAAI;;uDAnCsD,SAAS;;CA6CpC,CAAC;eAEvB,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAInC,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAOvB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAgBpB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAyBrB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAsBzB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAoDnB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.theme.d.ts","sourceRoot":"","sources":["../../../../../src/components/Card/Card.theme.ts"],"names":[],"mappings":"AAKA,OAAO,EAA0B,KAAK,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAElF,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,SAAS,GAAG,UAAU,GAAG,aAAa,CAAC;IACjD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;
|
|
1
|
+
{"version":3,"file":"Card.theme.d.ts","sourceRoot":"","sources":["../../../../../src/components/Card/Card.theme.ts"],"names":[],"mappings":"AAKA,OAAO,EAA0B,KAAK,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAElF,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,SAAS,GAAG,UAAU,GAAG,aAAa,CAAC;IACjD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AA8EF,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,cAAc,CAiB3C,CAAC"}
|
|
@@ -1,9 +1,24 @@
|
|
|
1
1
|
import React, { type PropsWithChildren, type ReactNode } from 'react';
|
|
2
2
|
import { type ThemedClassName } from '../../util';
|
|
3
3
|
import { type MediaKind } from '../MediaPlayer';
|
|
4
|
+
/** Slide change behaviour: `none` hard-swaps the active slide, `slide` animates a horizontal track. */
|
|
5
|
+
export type CarouselTransition = 'none' | 'slide';
|
|
4
6
|
type CarouselContextValue = {
|
|
5
7
|
index: number;
|
|
6
8
|
count: number;
|
|
9
|
+
transition: CarouselTransition;
|
|
10
|
+
/** When `transition === 'slide'`, wrap-around advances continue in the same direction (clone + snap). */
|
|
11
|
+
continuous: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Track position in slide units. Equals `index` except mid-wrap, when it points at a clone cell
|
|
14
|
+
* (`count` = trailing clone of the first slide, `-1` = leading clone of the last) so the track keeps
|
|
15
|
+
* moving in the travel direction. Settled back to the real index once the transition ends.
|
|
16
|
+
*/
|
|
17
|
+
offset: number;
|
|
18
|
+
/** Whether the track transform should animate; disabled for the instantaneous post-wrap snap. */
|
|
19
|
+
animate: boolean;
|
|
20
|
+
/** Snap a clone cell back to its real slide once the wrap transition completes. */
|
|
21
|
+
settle: () => void;
|
|
7
22
|
setIndex: (index: number) => void;
|
|
8
23
|
next: () => void;
|
|
9
24
|
prev: () => void;
|
|
@@ -13,13 +28,21 @@ export declare const useCarousel: () => CarouselContextValue;
|
|
|
13
28
|
export type CarouselRootProps = PropsWithChildren<{
|
|
14
29
|
/** Total number of slides; drives auto-advance and indicator counts. */
|
|
15
30
|
count: number;
|
|
16
|
-
/**
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
31
|
+
/**
|
|
32
|
+
* Auto-advance interval in milliseconds. A positive value advances slides on its own until the user
|
|
33
|
+
* interacts with a control; omit (or `0`) to disable.
|
|
34
|
+
*/
|
|
35
|
+
autoAdvance?: number;
|
|
20
36
|
defaultIndex?: number;
|
|
37
|
+
/** Slide change behaviour. Defaults to `none` (hard swap); `slide` animates a horizontal track. */
|
|
38
|
+
transition?: CarouselTransition;
|
|
39
|
+
/**
|
|
40
|
+
* Wrap-around in the same travel direction (last → first slides forward, first → last slides back).
|
|
41
|
+
* Only applies when `transition === 'slide'`; otherwise wrap is an instant index change.
|
|
42
|
+
*/
|
|
43
|
+
continuous?: boolean;
|
|
21
44
|
}>;
|
|
22
|
-
declare function CarouselRoot({ children, count,
|
|
45
|
+
declare function CarouselRoot({ children, count, autoAdvance, defaultIndex, transition, continuous }: CarouselRootProps): React.JSX.Element | null;
|
|
23
46
|
declare namespace CarouselRoot {
|
|
24
47
|
var displayName: string;
|
|
25
48
|
}
|
|
@@ -71,7 +94,7 @@ declare namespace CarouselCaption {
|
|
|
71
94
|
}
|
|
72
95
|
export declare const Carousel: {
|
|
73
96
|
Root: {
|
|
74
|
-
({ children, count,
|
|
97
|
+
({ children, count, autoAdvance, defaultIndex, transition, continuous, }: CarouselRootProps): React.JSX.Element | null;
|
|
75
98
|
displayName: string;
|
|
76
99
|
};
|
|
77
100
|
Content: React.ForwardRefExoticComponent<Omit<{}, "className"> & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Carousel.d.ts","sourceRoot":"","sources":["../../../../../src/components/Carousel/Carousel.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,
|
|
1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M,KAAK,SAAS,CAAC;CACxC,CAAC,CAAC;iCAGsB,EAAE,QAAQ,EAAE,UAAU,EAAE,EAAE,oBAAoB;;;;AAoBvE,eAAO,MAAM,QAAQ;IACnB,IAAI;kFAtZH,iBAAiB;;;IAuZlB,OAAO;;;IACP,QAAQ;mCAtR0C,qBAAqB;;;IAuRvE,KAAK;+FAtKJ,kBAAkB;;;IAuKnB,QAAQ;yBA9HgC,mBAAmB;;;IA+H3D,IAAI;yBAzGgC,mBAAmB;;;IA0GvD,UAAU;yBA7EgC,uBAAuB;;;IA8EjE,OAAO;mCA5B0C,oBAAoB;;;CA6BtE,CAAC"}
|
|
@@ -1,14 +1,60 @@
|
|
|
1
1
|
import { type StoryObj } from '@storybook/react-vite';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
type
|
|
3
|
+
import { type CarouselTransition } from './Carousel';
|
|
4
|
+
type StoryArgs = {
|
|
4
5
|
count?: number;
|
|
6
|
+
transition?: CarouselTransition;
|
|
7
|
+
continuous?: boolean;
|
|
8
|
+
autoAdvance?: number;
|
|
5
9
|
};
|
|
6
10
|
declare const meta: {
|
|
7
11
|
title: string;
|
|
8
|
-
render: ({ count }:
|
|
12
|
+
render: ({ count, transition, continuous, autoAdvance }: StoryArgs) => React.JSX.Element;
|
|
9
13
|
decorators: import("@storybook/react").Decorator[];
|
|
14
|
+
parameters: {
|
|
15
|
+
layout: string;
|
|
16
|
+
translations: [{
|
|
17
|
+
readonly 'en-US': {
|
|
18
|
+
readonly "@dxos/react-ui": {
|
|
19
|
+
readonly 'toolbar-menu.label': 'Action menu';
|
|
20
|
+
readonly 'toolbar-drag-handle.label': 'Drag to rearrange';
|
|
21
|
+
readonly 'toolbar-close.label': 'Close';
|
|
22
|
+
readonly 'toolbar-delete.label': 'Delete';
|
|
23
|
+
readonly 'system-button.star.label': 'Star';
|
|
24
|
+
readonly 'system-button.unstar.label': 'Unstar';
|
|
25
|
+
readonly 'system-button.bookmark.label': 'Bookmark';
|
|
26
|
+
readonly 'system-button.unbookmark.label': 'Remove bookmark';
|
|
27
|
+
readonly 'system-button.expand.label': 'Expand';
|
|
28
|
+
readonly 'system-button.collapse.label': 'Collapse';
|
|
29
|
+
readonly 'system-button.add.label': 'Add';
|
|
30
|
+
readonly 'system-button.delete.label': 'Delete';
|
|
31
|
+
readonly 'system-button.edit.label': 'Edit';
|
|
32
|
+
readonly 'system-button.close.label': 'Close';
|
|
33
|
+
readonly 'system-button.upload.label': 'Upload';
|
|
34
|
+
readonly 'system-button.download.label': 'Download';
|
|
35
|
+
readonly 'system-button.clipboard.label': 'Copy';
|
|
36
|
+
readonly 'carousel-viewport.label': 'Carousel';
|
|
37
|
+
readonly 'carousel-prev.label': 'Previous slide';
|
|
38
|
+
readonly 'carousel-next.label': 'Next slide';
|
|
39
|
+
readonly 'carousel-indicators.label': 'Carousel slides';
|
|
40
|
+
readonly 'carousel-go-to.label': 'Go to slide {{index}}';
|
|
41
|
+
readonly 'date-picker.placeholder.single.label': 'Pick a date';
|
|
42
|
+
readonly 'date-picker.placeholder.range.label': 'Pick a date range';
|
|
43
|
+
readonly 'date-picker.placeholder.multiple.label': 'Pick dates';
|
|
44
|
+
readonly 'date-picker.clear.label': 'Clear';
|
|
45
|
+
readonly 'calendar.nav.previous.label': 'Previous month';
|
|
46
|
+
readonly 'calendar.nav.next.label': 'Next month';
|
|
47
|
+
readonly 'calendar.footer.today.label': 'Today';
|
|
48
|
+
readonly 'trigger-button.label': 'Open';
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}];
|
|
52
|
+
};
|
|
10
53
|
};
|
|
11
54
|
export default meta;
|
|
12
55
|
type Story = StoryObj<typeof meta>;
|
|
13
56
|
export declare const Default: Story;
|
|
57
|
+
export declare const Sliding: Story;
|
|
58
|
+
export declare const Continuous: Story;
|
|
59
|
+
export declare const AutoAdvancing: Story;
|
|
14
60
|
//# sourceMappingURL=Carousel.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Carousel.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Carousel/Carousel.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Carousel.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Carousel/Carousel.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAY,KAAK,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAK/D,KAAK,SAAS,GAAG;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,kBAAkB,CAAC;IAChC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAuBF,QAAA,MAAM,IAAI;;6DArB4E,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6B1D,CAAC;eAEvB,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAExB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAE3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Clipboard/index.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,SAAS;IACpB,MAAM;IACN,UAAU
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Clipboard/index.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,SAAS;IACpB,MAAM;IACN,UAAU;;;;;;;;;;;;;;;IACV,QAAQ;CACT,CAAC;AAEF,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type SlottableProps } from '@dxos/ui-types';
|
|
3
|
-
type GutterSize = '
|
|
3
|
+
type GutterSize = 'sm' | 'md' | 'lg';
|
|
4
4
|
type ColumnRootProps = {
|
|
5
5
|
gutter?: GutterSize;
|
|
6
6
|
};
|
|
7
7
|
type ColumnRowProps = {};
|
|
8
8
|
type ColumnBleedProps = SlottableProps;
|
|
9
9
|
type ColumnCenterProps = SlottableProps;
|
|
10
|
+
type ColumnBlockProps = SlottableProps<{
|
|
11
|
+
end?: boolean;
|
|
12
|
+
compact?: boolean;
|
|
13
|
+
square?: boolean;
|
|
14
|
+
}>;
|
|
10
15
|
export declare const Column: {
|
|
11
16
|
Root: React.ForwardRefExoticComponent<Omit<ColumnRootProps & {
|
|
12
17
|
asChild?: boolean;
|
|
@@ -18,6 +23,19 @@ export declare const Column: {
|
|
|
18
23
|
}, "className"> & {
|
|
19
24
|
classNames?: import("@dxos/ui-types").ClassNameValue;
|
|
20
25
|
} & Pick<React.HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
|
|
26
|
+
Block: React.ForwardRefExoticComponent<Omit<Omit<{
|
|
27
|
+
end?: boolean;
|
|
28
|
+
compact?: boolean;
|
|
29
|
+
square?: boolean;
|
|
30
|
+
} & {
|
|
31
|
+
asChild?: boolean;
|
|
32
|
+
}, "className"> & {
|
|
33
|
+
classNames?: import("@dxos/ui-types").ClassNameValue;
|
|
34
|
+
} & Pick<React.HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & {
|
|
35
|
+
asChild?: boolean;
|
|
36
|
+
}, "className"> & {
|
|
37
|
+
classNames?: import("@dxos/ui-types").ClassNameValue;
|
|
38
|
+
} & Pick<React.HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
|
|
21
39
|
Bleed: React.ForwardRefExoticComponent<Omit<{
|
|
22
40
|
asChild?: boolean;
|
|
23
41
|
}, "className"> & {
|
|
@@ -29,5 +47,5 @@ export declare const Column: {
|
|
|
29
47
|
classNames?: import("@dxos/ui-types").ClassNameValue;
|
|
30
48
|
} & Pick<React.HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
|
|
31
49
|
};
|
|
32
|
-
export type {
|
|
50
|
+
export type { ColumnBleedProps, ColumnBlockProps, ColumnCenterProps, ColumnRootProps, ColumnRowProps };
|
|
33
51
|
//# sourceMappingURL=Column.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Column.d.ts","sourceRoot":"","sources":["../../../../../src/components/Column/Column.tsx"],"names":[],"mappings":"AAMA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAElD,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAWrD,KAAK,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"Column.d.ts","sourceRoot":"","sources":["../../../../../src/components/Column/Column.tsx"],"names":[],"mappings":"AAMA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAElD,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAWrD,KAAK,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAQrC,KAAK,eAAe,GAAG;IAAE,MAAM,CAAC,EAAE,UAAU,CAAA;CAAE,CAAC;AAoD/C,KAAK,cAAc,GAAG,EAAE,CAAC;AA0BzB,KAAK,gBAAgB,GAAG,cAAc,CAAC;AA0BvC,KAAK,iBAAiB,GAAG,cAAc,CAAC;AA0BxC,KAAK,gBAAgB,GAAG,cAAc,CAAC;IAAE,GAAG,CAAC,EAAE,OAAO,CAAC;IAAC,OAAO,CAAC,EAAE,OAAO,CAAC;IAAC,MAAM,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC,CAAC;AAgC/F,eAAO,MAAM,MAAM;IACjB,IAAI;;;;;IACJ,GAAG;;;;;IACH,KAAK;cAnCwC,OAAO;kBAAY,OAAO;iBAAW,OAAO;;;;;;;;;;IAoCzF,KAAK;;;;;IACL,MAAM;;;;;CACP,CAAC;AAEF,YAAY,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,eAAe,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
import { type ComponentFunction } from '@dxos/ui-types';
|
|
2
2
|
export type ColumnStyleProps = {};
|
|
3
|
+
export type ColumnBlockStyleProps = {
|
|
4
|
+
/** Trailing gutter (column 3) instead of the default leading gutter (column 1). */
|
|
5
|
+
end?: boolean;
|
|
6
|
+
compact?: boolean;
|
|
7
|
+
/** Constrain to a square (1:1) slot rather than the default rail-item width. */
|
|
8
|
+
square?: boolean;
|
|
9
|
+
};
|
|
3
10
|
export declare const columnTheme: {
|
|
4
11
|
root: ComponentFunction<ColumnStyleProps>;
|
|
5
12
|
row: ComponentFunction<ColumnStyleProps>;
|
|
13
|
+
block: ComponentFunction<ColumnBlockStyleProps>;
|
|
6
14
|
bleed: ComponentFunction<ColumnStyleProps>;
|
|
7
15
|
center: ComponentFunction<ColumnStyleProps>;
|
|
8
16
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Column.theme.d.ts","sourceRoot":"","sources":["../../../../../src/components/Column/Column.theme.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAIxD,MAAM,MAAM,gBAAgB,GAAG,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"Column.theme.d.ts","sourceRoot":"","sources":["../../../../../src/components/Column/Column.theme.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAIxD,MAAM,MAAM,gBAAgB,GAAG,EAAE,CAAC;AAElC,MAAM,MAAM,qBAAqB,GAAG;IAClC,mFAAmF;IACnF,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,gFAAgF;IAChF,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAoDF,eAAO,MAAM,WAAW;;;;;;CAMvB,CAAC"}
|
|
@@ -2,7 +2,7 @@ import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
|
|
2
2
|
import React, { type ForwardRefExoticComponent, type FunctionComponent } from 'react';
|
|
3
3
|
import { type DialogSize } from '../../theme';
|
|
4
4
|
import { type ThemedClassName } from '../../util';
|
|
5
|
-
import { type
|
|
5
|
+
import { type DialogActionBarProps, type DialogActionIconButtonProps, type DialogBodyProps, type DialogHeaderProps } from './Dialog';
|
|
6
6
|
type AlertDialogRootProps = AlertDialogPrimitive.AlertDialogProps;
|
|
7
7
|
type AlertDialogTriggerProps = AlertDialogPrimitive.AlertDialogTriggerProps;
|
|
8
8
|
type AlertDialogPortalProps = AlertDialogPrimitive.AlertDialogPortalProps;
|
|
@@ -47,5 +47,5 @@ export declare const AlertDialog: {
|
|
|
47
47
|
Cancel: ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>>;
|
|
48
48
|
Action: ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogActionProps & React.RefAttributes<HTMLButtonElement>>;
|
|
49
49
|
};
|
|
50
|
-
export type {
|
|
50
|
+
export type { DialogActionBarProps as AlertDialogActionBarProps, DialogActionIconButtonProps as AlertDialogActionIconButtonProps, AlertDialogActionProps, DialogBodyProps as AlertDialogBodyProps, AlertDialogCancelProps, AlertDialogContentProps, AlertDialogDescriptionProps, DialogHeaderProps as AlertDialogHeaderProps, AlertDialogOverlayProps, AlertDialogPortalProps, AlertDialogRootProps, AlertDialogTitleProps, AlertDialogTriggerProps, };
|
|
51
51
|
//# sourceMappingURL=AlertDialog.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AlertDialog.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dialog/AlertDialog.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,oBAAoB,MAAM,8BAA8B,CAAC;AAErE,OAAO,KAAK,EAAE,EAAE,KAAK,yBAAyB,EAAE,KAAK,iBAAiB,EAAc,MAAM,OAAO,CAAC;AAIlG,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,YAAY,CAAC;AAElD,OAAO,EAEL,KAAK,
|
|
1
|
+
{"version":3,"file":"AlertDialog.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dialog/AlertDialog.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,oBAAoB,MAAM,8BAA8B,CAAC;AAErE,OAAO,KAAK,EAAE,EAAE,KAAK,yBAAyB,EAAE,KAAK,iBAAiB,EAAc,MAAM,OAAO,CAAC;AAIlG,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,YAAY,CAAC;AAElD,OAAO,EAEL,KAAK,oBAAoB,EACzB,KAAK,2BAA2B,EAChC,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACvB,MAAM,UAAU,CAAC;AAMlB,KAAK,oBAAoB,GAAG,oBAAoB,CAAC,gBAAgB,CAAC;AAYlE,KAAK,uBAAuB,GAAG,oBAAoB,CAAC,uBAAuB,CAAC;AAQ5E,KAAK,sBAAsB,GAAG,oBAAoB,CAAC,sBAAsB,CAAC;AAQ1E,KAAK,sBAAsB,GAAG,oBAAoB,CAAC,sBAAsB,CAAC;AAQ1E,KAAK,sBAAsB,GAAG,oBAAoB,CAAC,sBAAsB,CAAC;AAsB1E,KAAK,uBAAuB,GAAG,eAAe,CAC5C,oBAAoB,CAAC,uBAAuB,GAAG;IAAE,UAAU,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,KAAK,CAAA;CAAE,CAC3F,CAAC;AAyBF,KAAK,uBAAuB,GAAG,eAAe,CAAC,oBAAoB,CAAC,uBAAuB,CAAC,GAAG;IAAE,IAAI,CAAC,EAAE,UAAU,CAAA;CAAE,CAAC;AA2BrH,KAAK,qBAAqB,GAAG,eAAe,CAAC,oBAAoB,CAAC,qBAAqB,CAAC,GAAG;IAAE,MAAM,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAgBhH,KAAK,2BAA2B,GAAG,eAAe,CAAC,oBAAoB,CAAC,2BAA2B,CAAC,GAAG;IACrG,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAoBF,eAAO,MAAM,WAAW;IACtB,IAAI;IACJ,OAAO;IACP,MAAM;IACN,OAAO;IACP,OAAO;IAEP,MAAM;;;;;IACN,IAAI;;;;;IACJ,KAAK;IACL,WAAW;IACX,SAAS;;;;;IACT,gBAAgB;IAEhB,MAAM;IACN,MAAM;CACP,CAAC;AAEF,YAAY,EACV,oBAAoB,IAAI,yBAAyB,EACjD,2BAA2B,IAAI,gCAAgC,EAC/D,sBAAsB,EACtB,eAAe,IAAI,oBAAoB,EACvC,sBAAsB,EACtB,uBAAuB,EACvB,2BAA2B,EAE3B,iBAAiB,IAAI,sBAAsB,EAC3C,uBAAuB,EACvB,sBAAsB,EACtB,oBAAoB,EACpB,qBAAqB,EACrB,uBAAuB,GACxB,CAAC"}
|
|
@@ -62,5 +62,5 @@ export declare const Dialog: {
|
|
|
62
62
|
Close: ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
63
63
|
ActionIconButton: ForwardRefExoticComponent<DialogActionIconButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
64
64
|
};
|
|
65
|
-
export type {
|
|
65
|
+
export type { DialogActionBarProps, DialogActionIconButtonAction, DialogActionIconButtonProps, DialogBodyProps, DialogCloseProps, DialogContentProps, DialogDescriptionProps, DialogHeaderProps, DialogOverlayProps, DialogPortalProps, DialogRootProps, DialogTitleProps, DialogTriggerProps, };
|
|
66
66
|
//# sourceMappingURL=Dialog.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dialog/Dialog.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAG1D,OAAO,KAAK,EAAE,EACZ,KAAK,qBAAqB,EAC1B,KAAK,yBAAyB,EAC9B,KAAK,iBAAiB,EAEvB,MAAM,OAAO,CAAC;AAIf,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAIrD,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EAAE,KAAK,eAAe,EAA8B,MAAM,YAAY,CAAC;AAQ9E,KAAK,eAAe,GAAG,eAAe,CAAC,WAAW,CAAC;AAmBnD,KAAK,kBAAkB,GAAG,eAAe,CAAC,kBAAkB,CAAC;AAQ7D,KAAK,iBAAiB,GAAG,eAAe,CAAC,iBAAiB,CAAC;AAiB3D,KAAK,kBAAkB,GAAG,eAAe,CACvC,eAAe,CAAC,kBAAkB,GAAG;IAAE,UAAU,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,KAAK,CAAA;CAAE,CACjF,CAAC;AA2BF,KAAK,kBAAkB,GAAG,eAAe,CAAC,qBAAqB,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,CAAC,GAAG;IACjG,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC;AAqCF,KAAK,iBAAiB,GAAG,cAAc,CAAC;AAmBxC,KAAK,4BAA4B,GAAG,OAAO,GAAG,QAAQ,CAAC;AAEvD,KAAK,2BAA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T,KAAK;IACL,gBAAgB;CACjB,CAAC;AAEF,YAAY,EACV,oBAAoB,EACpB,4BAA4B,EAC5B,2BAA2B,EAC3B,eAAe,EACf,gBAAgB,EAChB,kBAAkB,EAClB,sBAAsB,EACtB,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,EACjB,eAAe,EACf,gBAAgB,EAChB,kBAAkB,GACnB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type StoryObj } from '@storybook/react-vite';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { type DialogContentProps } from './Dialog';
|
|
4
|
-
type
|
|
4
|
+
type StoryArgs = Pick<DialogContentProps, 'size'> & Partial<{
|
|
5
5
|
title: string;
|
|
6
6
|
description: string;
|
|
7
7
|
openTrigger: string;
|
|
@@ -11,7 +11,7 @@ type DefaultStoryProps = Pick<DialogContentProps, 'size'> & Partial<{
|
|
|
11
11
|
declare const meta: {
|
|
12
12
|
title: string;
|
|
13
13
|
component: any;
|
|
14
|
-
render: ({ size, title, description, openTrigger, closeTrigger, blockAlign }:
|
|
14
|
+
render: ({ size, title, description, openTrigger, closeTrigger, blockAlign }: StoryArgs) => React.JSX.Element;
|
|
15
15
|
decorators: import("@storybook/react").Decorator[];
|
|
16
16
|
};
|
|
17
17
|
export default meta;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dialog.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dialog/Dialog.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,OAAO,EAAU,KAAK,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAE3D,KAAK,
|
|
1
|
+
{"version":3,"file":"Dialog.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dialog/Dialog.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,OAAO,EAAU,KAAK,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAE3D,KAAK,SAAS,GAAG,IAAI,CAAC,kBAAkB,EAAE,MAAM,CAAC,GAC/C,OAAO,CAAC;IACN,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,OAAO,GAAG,QAAQ,CAAC;CAChC,CAAC,CAAC;AA8EL,QAAA,MAAM,IAAI;;eAEa,GAAG;kFA1EiE,SAAS;;CA6E/D,CAAC;eAEvB,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAQrB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KASnB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KASpB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KASnB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KASxB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAUvB,CAAC"}
|
|
@@ -13,6 +13,11 @@ export default meta;
|
|
|
13
13
|
type Story = StoryObj<typeof meta>;
|
|
14
14
|
export declare const Default: Story;
|
|
15
15
|
export declare const Static: Story;
|
|
16
|
+
export declare const Custom_DXOS: Story;
|
|
17
|
+
/**
|
|
18
|
+
* Custom DXOS brand icons (the `dx--` set), sourced from `@dxos/brand` SVGs.
|
|
19
|
+
*/
|
|
20
|
+
export declare const Brand: Story;
|
|
16
21
|
export declare const Dynamic: Story;
|
|
17
22
|
export declare const Custom: {
|
|
18
23
|
render: ({ CustomIcon }: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Icon/Icon.st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EAAE,KAiBrB,CAAC;AAEF,eAAO,MAAM,MAAM;IACjB,MAAM,mBAAmB;QAAE,UAAU,EAAE,EAAE,CAAC,SAAS,CAAC,CAAA;KAAE;IAQtD,IAAI;QACF,UAAU;;CAoCb,CAAC"}
|
|
@@ -117,11 +117,14 @@ export declare const Input: {
|
|
|
117
117
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
118
118
|
Checkbox: ForwardRefExoticComponent<CheckboxProps>;
|
|
119
119
|
Switch: ForwardRefExoticComponent<Omit<InputScopedProps<SwitchProps>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
120
|
+
Block: ForwardRefExoticComponent<{
|
|
121
|
+
children?: React.ReactNode | undefined;
|
|
122
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
120
123
|
Label: ForwardRefExoticComponent<Omit<LabelProps, "ref"> & React.RefAttributes<HTMLLabelElement>>;
|
|
121
124
|
Description: ForwardRefExoticComponent<Omit<DescriptionProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
122
125
|
Validation: ForwardRefExoticComponent<Omit<InputScopedProps<ValidationProps>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
123
126
|
DescriptionAndValidation: ForwardRefExoticComponent<Omit<DescriptionAndValidationProps, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
124
127
|
};
|
|
125
128
|
export { useInputTrigger };
|
|
126
|
-
export type {
|
|
129
|
+
export type { CheckboxProps, DateInputProps, DateTimeInputProps, DescriptionAndValidationProps, DescriptionProps, InputRootProps, InputSharedProps, InputVariant, LabelProps, PinInputProps, SwitchProps, TextAreaProps, TextInputProps, TimeProps, ValidationProps, };
|
|
127
130
|
//# sourceMappingURL=Input.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/Input.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,iBAAiB,MAAM,0BAA0B,CAAC;AAG9D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AAE,OAAO,KAAK,IAAI,CAAA;CAAE,CACjH,CAAC;AA2EF,KAAK,SAAS,GAAG,kBAAkB,CAAC;AACpC,KAAK,cAAc,GAAG,kBAAkB,CAAC;AACzC,KAAK,kBAAkB,GAAG,sBAAsB,CAAC;AAMjD,eAAO,MAAM,KAAK;;gBAvZG,cAAc;;;;;;;;iBAxCQ,OAAO;mBAAa,SAAS;iBAAW,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+c9F,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,CAAC;AAE3B,YAAY,EACV,aAAa,EACb,cAAc,EACd,kBAAkB,EAClB,6BAA6B,EAC7B,gBAAgB,EAChB,cAAc,EACd,gBAAgB,EAChB,YAAY,EACZ,UAAU,EACV,aAAa,EACb,WAAW,EACX,aAAa,EACb,cAAc,EACd,SAAS,EACT,eAAe,GAChB,CAAC"}
|
|
@@ -17,7 +17,7 @@ type Variant = {
|
|
|
17
17
|
type: K;
|
|
18
18
|
} & VariantMap[K];
|
|
19
19
|
}[keyof VariantMap];
|
|
20
|
-
type
|
|
20
|
+
type StoryArgs = Partial<{
|
|
21
21
|
kind: keyof VariantMap;
|
|
22
22
|
label: string;
|
|
23
23
|
labelVisuallyHidden: boolean;
|
|
@@ -29,11 +29,11 @@ type DefaultStoryProps = Partial<{
|
|
|
29
29
|
declare const meta: {
|
|
30
30
|
title: string;
|
|
31
31
|
component: any;
|
|
32
|
-
render: ({ kind, label, description, labelVisuallyHidden, descriptionVisuallyHidden, validationValence, validationMessage, ...props }:
|
|
32
|
+
render: ({ kind, label, description, labelVisuallyHidden, descriptionVisuallyHidden, validationValence, validationMessage, ...props }: StoryArgs) => React.JSX.Element;
|
|
33
33
|
decorators: import("@storybook/react").Decorator[];
|
|
34
34
|
};
|
|
35
35
|
export default meta;
|
|
36
|
-
type Story = StoryObj<
|
|
36
|
+
type Story = StoryObj<StoryArgs & Variant>;
|
|
37
37
|
export declare const Density: Story;
|
|
38
38
|
export declare const Subdued: Story;
|
|
39
39
|
export declare const Disabled: Story;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/Input.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGrD,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,kBAAkB,EAEvB,KAAK,aAAa,EAClB,KAAK,WAAW,EAChB,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,SAAS,EACf,MAAM,SAAS,CAAC;AAEjB,KAAK,UAAU,GAAG;IAChB,IAAI,EAAE,cAAc,CAAC;IACrB,GAAG,EAAE,aAAa,CAAC;IACnB,QAAQ,EAAE,aAAa,CAAC;IACxB,IAAI,EAAE,SAAS,CAAC;IAChB,IAAI,EAAE,cAAc,CAAC;IACrB,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,QAAQ,EAAE,aAAa,CAAC;IACxB,MAAM,EAAE,WAAW,CAAC;CACrB,CAAC;AAEF,KAAK,OAAO,GAAG;KAAG,CAAC,IAAI,MAAM,UAAU,GAAG;QAAE,IAAI,EAAE,CAAC,CAAA;KAAE,GAAG,UAAU,CAAC,CAAC,CAAC;CAAE,CAAC,MAAM,UAAU,CAAC,CAAC;AAE1F,KAAK,
|
|
1
|
+
{"version":3,"file":"Input.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/Input.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAAC;AA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