@dxos/react-ui 0.6.7 → 0.6.8-main.3be982f
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/index.mjs.map +2 -2
- package/dist/lib/browser/meta.json +1 -1
- package/dist/types/src/components/AnchoredOverflow/AnchoredOverflow.d.ts +2 -2
- package/dist/types/src/components/Avatars/Avatar.d.ts +5 -5
- package/dist/types/src/components/Avatars/Avatar.stories.d.ts +10 -10
- package/dist/types/src/components/Avatars/Avatar.stories.d.ts.map +1 -1
- package/dist/types/src/components/Avatars/AvatarGroup.d.ts +4 -4
- package/dist/types/src/components/Avatars/AvatarGroup.stories.d.ts +2 -2
- package/dist/types/src/components/Avatars/AvatarGroup.stories.d.ts.map +1 -1
- package/dist/types/src/components/Breadcrumb/Breadcrumb.d.ts +6 -6
- package/dist/types/src/components/Breadcrumb/Breadcrumb.stories.d.ts +2 -2
- package/dist/types/src/components/Breadcrumb/Breadcrumb.stories.d.ts.map +1 -1
- package/dist/types/src/components/Buttons/Button.d.ts +2 -2
- package/dist/types/src/components/Buttons/Button.d.ts.map +1 -1
- package/dist/types/src/components/Buttons/Button.stories.d.ts +6 -6
- package/dist/types/src/components/Buttons/Button.stories.d.ts.map +1 -1
- package/dist/types/src/components/Buttons/Toggle.d.ts +1 -1
- package/dist/types/src/components/Buttons/Toggle.d.ts.map +1 -1
- package/dist/types/src/components/Buttons/Toggle.stories.d.ts +2 -2
- package/dist/types/src/components/Buttons/Toggle.stories.d.ts.map +1 -1
- package/dist/types/src/components/Buttons/ToggleGroup.d.ts +12 -12
- package/dist/types/src/components/Buttons/ToggleGroup.d.ts.map +1 -1
- package/dist/types/src/components/Buttons/ToggleGroup.stories.d.ts +2 -2
- package/dist/types/src/components/Buttons/ToggleGroup.stories.d.ts.map +1 -1
- package/dist/types/src/components/DensityProvider/DensityProvider.d.ts +1 -1
- package/dist/types/src/components/DensityProvider/DensityProvider.d.ts.map +1 -1
- package/dist/types/src/components/Dialogs/AlertDialog.stories.d.ts +10 -9
- package/dist/types/src/components/Dialogs/AlertDialog.stories.d.ts.map +1 -1
- package/dist/types/src/components/Dialogs/Dialog.stories.d.ts +10 -9
- package/dist/types/src/components/Dialogs/Dialog.stories.d.ts.map +1 -1
- package/dist/types/src/components/ElevationProvider/ElevationProvider.d.ts +1 -1
- package/dist/types/src/components/ElevationProvider/ElevationProvider.d.ts.map +1 -1
- package/dist/types/src/components/Input/Input.d.ts +8 -8
- package/dist/types/src/components/Input/Input.stories.d.ts +13 -12
- package/dist/types/src/components/Input/Input.stories.d.ts.map +1 -1
- package/dist/types/src/components/Link/Link.d.ts +1 -1
- package/dist/types/src/components/Link/Link.d.ts.map +1 -1
- package/dist/types/src/components/Link/Link.stories.d.ts.map +1 -1
- package/dist/types/src/components/Lists/List.d.ts +1 -1
- package/dist/types/src/components/Lists/List.d.ts.map +1 -1
- package/dist/types/src/components/Lists/List.stories.d.ts +6 -6
- package/dist/types/src/components/Lists/List.stories.d.ts.map +1 -1
- package/dist/types/src/components/Lists/Tree.d.ts +3 -3
- package/dist/types/src/components/Lists/Tree.d.ts.map +1 -1
- package/dist/types/src/components/Lists/Tree.stories.d.ts +2 -2
- package/dist/types/src/components/Lists/Tree.stories.d.ts.map +1 -1
- package/dist/types/src/components/Lists/Treegrid.d.ts +3 -3
- package/dist/types/src/components/Lists/Treegrid.stories.d.ts +3 -3
- package/dist/types/src/components/Lists/Treegrid.stories.d.ts.map +1 -1
- package/dist/types/src/components/Main/Main.d.ts +6 -6
- package/dist/types/src/components/Main/Main.stories.d.ts +2 -2
- package/dist/types/src/components/Main/Main.stories.d.ts.map +1 -1
- package/dist/types/src/components/Main/useSwipeToDismiss.d.ts.map +1 -1
- package/dist/types/src/components/Menus/ContextMenu.d.ts +2 -2
- package/dist/types/src/components/Menus/ContextMenu.d.ts.map +1 -1
- package/dist/types/src/components/Menus/ContextMenu.stories.d.ts +2 -2
- package/dist/types/src/components/Menus/ContextMenu.stories.d.ts.map +1 -1
- package/dist/types/src/components/Menus/DropdownMenu.d.ts +2 -2
- package/dist/types/src/components/Menus/DropdownMenu.d.ts.map +1 -1
- package/dist/types/src/components/Menus/DropdownMenu.stories.d.ts +2 -2
- package/dist/types/src/components/Menus/DropdownMenu.stories.d.ts.map +1 -1
- package/dist/types/src/components/Message/Message.d.ts +3 -3
- 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/Popover/Popover.d.ts +1 -1
- package/dist/types/src/components/Popover/Popover.stories.d.ts +5 -5
- package/dist/types/src/components/Popover/Popover.stories.d.ts.map +1 -1
- package/dist/types/src/components/ScrollArea/ScrollArea.d.ts +1 -1
- package/dist/types/src/components/ScrollArea/ScrollArea.d.ts.map +1 -1
- package/dist/types/src/components/ScrollArea/ScrollArea.stories.d.ts +2 -4
- package/dist/types/src/components/ScrollArea/ScrollArea.stories.d.ts.map +1 -1
- package/dist/types/src/components/Select/Select.d.ts +2 -2
- 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 +2 -2
- package/dist/types/src/components/Separator/Separator.d.ts.map +1 -1
- package/dist/types/src/components/Status/Status.d.ts +1 -1
- package/dist/types/src/components/Status/Status.d.ts.map +1 -1
- package/dist/types/src/components/Status/Status.stories.d.ts +3 -3
- package/dist/types/src/components/Status/Status.stories.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.stories.d.ts.map +1 -1
- package/dist/types/src/components/ThemeProvider/ThemeProvider.d.ts +1 -1
- package/dist/types/src/components/ThemeProvider/ThemeProvider.d.ts.map +1 -1
- package/dist/types/src/components/ThemeProvider/TranslationsProvider.d.ts +17 -16
- package/dist/types/src/components/ThemeProvider/TranslationsProvider.d.ts.map +1 -1
- package/dist/types/src/components/Toast/Toast.d.ts +2 -2
- package/dist/types/src/components/Toast/Toast.stories.d.ts +10 -9
- package/dist/types/src/components/Toast/Toast.stories.d.ts.map +1 -1
- package/dist/types/src/components/Toolbar/Toolbar.d.ts +15 -15
- package/dist/types/src/components/Toolbar/Toolbar.stories.d.ts +2 -2
- package/dist/types/src/components/Toolbar/Toolbar.stories.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/hooks/useVisualViewport.d.ts.map +1 -1
- package/dist/types/src/playground/Controls.stories.d.ts +3 -3
- package/dist/types/src/playground/Controls.stories.d.ts.map +1 -1
- package/dist/types/src/playground/Surfaces.stories.d.ts +2 -2
- package/dist/types/src/playground/Surfaces.stories.d.ts.map +1 -1
- package/dist/types/src/playground/Typography.stories.d.ts +2 -2
- package/dist/types/src/playground/Typography.stories.d.ts.map +1 -1
- package/dist/types/src/playground/helpers.d.ts +2 -2
- package/dist/types/src/playground/helpers.d.ts.map +1 -1
- package/package.json +11 -11
- package/src/components/Lists/Tree.tsx +11 -16
- package/src/components/Select/Select.tsx +2 -2
- package/src/playground/Surfaces.stories.tsx +3 -4
|
@@ -10,12 +10,12 @@ type AvatarGroupDescriptionProps = ThemedClassName<Omit<ComponentPropsWithRef<'s
|
|
|
10
10
|
srOnly?: boolean;
|
|
11
11
|
};
|
|
12
12
|
export declare const AvatarGroup: {
|
|
13
|
-
Root: React.ForwardRefExoticComponent<
|
|
14
|
-
Label: React.ForwardRefExoticComponent<
|
|
15
|
-
Description: React.ForwardRefExoticComponent<
|
|
13
|
+
Root: React.ForwardRefExoticComponent<Omit<AvatarGroupRootProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
14
|
+
Label: React.ForwardRefExoticComponent<Omit<AvatarGroupLabelProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
15
|
+
Description: React.ForwardRefExoticComponent<Omit<AvatarGroupDescriptionProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
16
16
|
};
|
|
17
17
|
export declare const AvatarGroupItem: {
|
|
18
|
-
Root: ({ maskId, size, variant, status, children, ...rest }: AvatarGroupItemRootProps) => JSX.Element;
|
|
18
|
+
Root: ({ maskId, size, variant, status, children, ...rest }: AvatarGroupItemRootProps) => React.JSX.Element;
|
|
19
19
|
};
|
|
20
20
|
export type { AvatarGroupRootProps, AvatarGroupItemRootProps, AvatarGroupLabelProps, AvatarGroupDescriptionProps };
|
|
21
21
|
//# sourceMappingURL=AvatarGroup.d.ts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import '@dxosTheme';
|
|
2
|
+
import React from 'react';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: () => JSX.Element;
|
|
5
|
+
component: () => React.JSX.Element;
|
|
6
6
|
decorators: import("@storybook/react/*").Decorator[];
|
|
7
7
|
parameters: {
|
|
8
8
|
chromatic: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AvatarGroup.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Avatars/AvatarGroup.stories.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AvatarGroup.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Avatars/AvatarGroup.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,YAAY,CAAC;AAEpB,OAAO,KAAK,MAAM,OAAO,CAAC;;;;;;;;;;;AAuC1B,wBAKE;AAEF,eAAO,MAAM,OAAO;;CAEnB,CAAC"}
|
|
@@ -18,12 +18,12 @@ type BreadcrumbCurrentProps = ThemedClassName<ComponentPropsWithRef<'h1'>> & {
|
|
|
18
18
|
};
|
|
19
19
|
type BreadcrumbSeparatorProps = ThemedClassName<ComponentPropsWithoutRef<typeof Primitive.span>>;
|
|
20
20
|
export declare const Breadcrumb: {
|
|
21
|
-
Root: React.ForwardRefExoticComponent<
|
|
22
|
-
List: React.ForwardRefExoticComponent<
|
|
23
|
-
ListItem: React.ForwardRefExoticComponent<
|
|
24
|
-
Link: React.ForwardRefExoticComponent<
|
|
25
|
-
Current: React.ForwardRefExoticComponent<
|
|
26
|
-
Separator: ({ children, classNames, ...props }: BreadcrumbSeparatorProps) => JSX.Element;
|
|
21
|
+
Root: React.ForwardRefExoticComponent<Omit<BreadcrumbRootProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
22
|
+
List: React.ForwardRefExoticComponent<Omit<BreadcrumbListProps, "ref"> & React.RefAttributes<HTMLOListElement>>;
|
|
23
|
+
ListItem: React.ForwardRefExoticComponent<Omit<BreadcrumbListItemProps, "ref"> & React.RefAttributes<HTMLLIElement>>;
|
|
24
|
+
Link: React.ForwardRefExoticComponent<Omit<LinkProps, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
25
|
+
Current: React.ForwardRefExoticComponent<Omit<BreadcrumbCurrentProps, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
26
|
+
Separator: ({ children, classNames, ...props }: BreadcrumbSeparatorProps) => React.JSX.Element;
|
|
27
27
|
};
|
|
28
28
|
export type { BreadcrumbRootProps, BreadcrumbListProps, BreadcrumbListItemProps, BreadcrumbLinkProps, BreadcrumbCurrentProps, BreadcrumbSeparatorProps, };
|
|
29
29
|
//# sourceMappingURL=Breadcrumb.d.ts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import '@dxosTheme';
|
|
2
|
+
import React from 'react';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: () => JSX.Element;
|
|
5
|
+
component: () => React.JSX.Element;
|
|
6
6
|
decorators: import("@storybook/react/*").Decorator[];
|
|
7
7
|
parameters: {
|
|
8
8
|
chromatic: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Breadcrumb.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Breadcrumb/Breadcrumb.stories.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Breadcrumb.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Breadcrumb/Breadcrumb.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,YAAY,CAAC;AAEpB,OAAO,KAAK,MAAM,OAAO,CAAC;;;;;;;;;;;AAkC1B,wBAKE;AAEF,eAAO,MAAM,OAAO;;CAEnB,CAAC"}
|
|
@@ -13,12 +13,12 @@ type ButtonGroupContextValue = {
|
|
|
13
13
|
};
|
|
14
14
|
declare const BUTTON_GROUP_NAME = "ButtonGroup";
|
|
15
15
|
declare const useButtonGroupContext: (consumerName: string) => ButtonGroupContextValue;
|
|
16
|
-
declare const Button: React.ForwardRefExoticComponent<
|
|
16
|
+
declare const Button: React.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
17
17
|
type ButtonGroupProps = ThemedClassName<ComponentPropsWithRef<typeof Primitive.div>> & {
|
|
18
18
|
elevation?: Elevation;
|
|
19
19
|
asChild?: boolean;
|
|
20
20
|
};
|
|
21
|
-
declare const ButtonGroup: React.ForwardRefExoticComponent<
|
|
21
|
+
declare const ButtonGroup: React.ForwardRefExoticComponent<Omit<ButtonGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
22
22
|
export { Button, ButtonGroup, BUTTON_GROUP_NAME, useButtonGroupContext };
|
|
23
23
|
export type { ButtonProps, ButtonGroupProps };
|
|
24
24
|
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../../src/components/Buttons/Button.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAEtD,OAAO,KAAK,EAAE,EAAE,KAAK,qBAAqB,EAAc,MAAM,OAAO,CAAC;AAEtE,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGpE,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,YAAY,CAAC;AAElD,UAAU,WAAY,SAAQ,eAAe,CAAC,qBAAqB,CAAC,OAAO,SAAS,CAAC,MAAM,CAAC,CAAC;IAC3F,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,aAAa,CAAC;IACtE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,KAAK,uBAAuB,GAAG;IAAE,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAErD,QAAA,MAAM,iBAAiB,gBAAgB,CAAC;AAExC,QAAA,MAA4B,qBAAqB,mDAE/C,CAAC;AAEH,QAAA,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../../src/components/Buttons/Button.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAEtD,OAAO,KAAK,EAAE,EAAE,KAAK,qBAAqB,EAAc,MAAM,OAAO,CAAC;AAEtE,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGpE,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,YAAY,CAAC;AAElD,UAAU,WAAY,SAAQ,eAAe,CAAC,qBAAqB,CAAC,OAAO,SAAS,CAAC,MAAM,CAAC,CAAC;IAC3F,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,aAAa,CAAC;IACtE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,KAAK,uBAAuB,GAAG;IAAE,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAErD,QAAA,MAAM,iBAAiB,gBAAgB,CAAC;AAExC,QAAA,MAA4B,qBAAqB,mDAE/C,CAAC;AAEH,QAAA,MAAM,MAAM,oGAmCX,CAAC;AAIF,KAAK,gBAAgB,GAAG,eAAe,CAAC,qBAAqB,CAAC,OAAO,SAAS,CAAC,GAAG,CAAC,CAAC,GAAG;IACrF,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,QAAA,MAAM,WAAW,sGAgBhB,CAAC;AAIF,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,CAAC;AAEzE,YAAY,EAAE,WAAW,EAAE,gBAAgB,EAAE,CAAC"}
|
|
@@ -3,7 +3,7 @@ import React from 'react';
|
|
|
3
3
|
import { type ButtonProps } from './Button';
|
|
4
4
|
declare const _default: {
|
|
5
5
|
title: string;
|
|
6
|
-
component: React.ForwardRefExoticComponent<
|
|
6
|
+
component: React.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
7
7
|
decorators: import("@storybook/react/*").Decorator[];
|
|
8
8
|
parameters: {
|
|
9
9
|
chromatic: {
|
|
@@ -13,7 +13,7 @@ declare const _default: {
|
|
|
13
13
|
};
|
|
14
14
|
export default _default;
|
|
15
15
|
export declare const Default: {
|
|
16
|
-
render: ({ children, ...args }: Omit<ButtonProps,
|
|
16
|
+
render: ({ children, ...args }: Omit<ButtonProps, "ref">) => React.JSX.Element;
|
|
17
17
|
args: {
|
|
18
18
|
children: string;
|
|
19
19
|
disabled: boolean;
|
|
@@ -25,27 +25,27 @@ export declare const Primary: {
|
|
|
25
25
|
variant: string;
|
|
26
26
|
children: string;
|
|
27
27
|
};
|
|
28
|
-
render: ({ children, ...args }: Omit<ButtonProps,
|
|
28
|
+
render: ({ children, ...args }: Omit<ButtonProps, "ref">) => React.JSX.Element;
|
|
29
29
|
};
|
|
30
30
|
export declare const Destructive: {
|
|
31
31
|
args: {
|
|
32
32
|
variant: string;
|
|
33
33
|
children: string;
|
|
34
34
|
};
|
|
35
|
-
render: ({ children, ...args }: Omit<ButtonProps,
|
|
35
|
+
render: ({ children, ...args }: Omit<ButtonProps, "ref">) => React.JSX.Element;
|
|
36
36
|
};
|
|
37
37
|
export declare const Outline: {
|
|
38
38
|
args: {
|
|
39
39
|
variant: string;
|
|
40
40
|
children: string;
|
|
41
41
|
};
|
|
42
|
-
render: ({ children, ...args }: Omit<ButtonProps,
|
|
42
|
+
render: ({ children, ...args }: Omit<ButtonProps, "ref">) => React.JSX.Element;
|
|
43
43
|
};
|
|
44
44
|
export declare const Ghost: {
|
|
45
45
|
args: {
|
|
46
46
|
variant: string;
|
|
47
47
|
children: string;
|
|
48
48
|
};
|
|
49
|
-
render: ({ children, ...args }: Omit<ButtonProps,
|
|
49
|
+
render: ({ children, ...args }: Omit<ButtonProps, "ref">) => React.JSX.Element;
|
|
50
50
|
};
|
|
51
51
|
//# sourceMappingURL=Button.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Buttons/Button.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,YAAY,CAAC;AAGpB,OAAO,KAAiC,MAAM,OAAO,CAAC;AAItD,OAAO,EAAuB,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;;;;;;;;;;;AAKjE,wBAKE;AAyCF,eAAO,MAAM,OAAO;oCACc,
|
|
1
|
+
{"version":3,"file":"Button.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Buttons/Button.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,YAAY,CAAC;AAGpB,OAAO,KAAiC,MAAM,OAAO,CAAC;AAItD,OAAO,EAAuB,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;;;;;;;;;;;AAKjE,wBAKE;AAyCF,eAAO,MAAM,OAAO;oCACc,IAAI,CAAC,WAAW,EAAE,KAAK,CAAC;;;;;;CAmBzD,CAAC;AAEF,eAAO,MAAM,OAAO;;;;;oCArBc,IAAI,CAAC,WAAW,EAAE,KAAK,CAAC;CAqB4B,CAAC;AAEvF,eAAO,MAAM,WAAW;;;;;oCAvBU,IAAI,CAAC,WAAW,EAAE,KAAK,CAAC;CAuBqC,CAAC;AAEhG,eAAO,MAAM,OAAO;;;;;oCAzBc,IAAI,CAAC,WAAW,EAAE,KAAK,CAAC;CAyB4B,CAAC;AAEvF,eAAO,MAAM,KAAK;;;;;oCA3BgB,IAAI,CAAC,WAAW,EAAE,KAAK,CAAC;CA2BwB,CAAC"}
|
|
@@ -2,7 +2,7 @@ import { type ToggleProps as TogglePrimitiveProps } from '@radix-ui/react-toggle
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { type ButtonProps } from './Button';
|
|
4
4
|
type ToggleProps = Omit<TogglePrimitiveProps, 'asChild'> & ButtonProps;
|
|
5
|
-
declare const Toggle: React.ForwardRefExoticComponent<
|
|
5
|
+
declare const Toggle: React.ForwardRefExoticComponent<Omit<ToggleProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
6
6
|
export { Toggle };
|
|
7
7
|
export type { ToggleProps };
|
|
8
8
|
//# sourceMappingURL=Toggle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toggle.d.ts","sourceRoot":"","sources":["../../../../../src/components/Buttons/Toggle.tsx"],"names":[],"mappings":"AAIA,OAAO,EAA6B,KAAK,WAAW,IAAI,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC7G,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AAEpD,KAAK,WAAW,GAAG,IAAI,CAAC,oBAAoB,EAAE,SAAS,CAAC,GAAG,WAAW,CAAC;AAEvE,QAAA,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"Toggle.d.ts","sourceRoot":"","sources":["../../../../../src/components/Buttons/Toggle.tsx"],"names":[],"mappings":"AAIA,OAAO,EAA6B,KAAK,WAAW,IAAI,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC7G,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AAEpD,KAAK,WAAW,GAAG,IAAI,CAAC,oBAAoB,EAAE,SAAS,CAAC,GAAG,WAAW,CAAC;AAEvE,QAAA,MAAM,MAAM,oGAQX,CAAC;AAEF,OAAO,EAAE,MAAM,EAAE,CAAC;AAClB,YAAY,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import '@dxosTheme';
|
|
2
|
+
import React from 'react';
|
|
3
3
|
type StorybookToggleProps = {};
|
|
4
4
|
declare const _default: {
|
|
5
5
|
title: string;
|
|
6
|
-
component: (props: StorybookToggleProps) => JSX.Element;
|
|
6
|
+
component: (props: StorybookToggleProps) => React.JSX.Element;
|
|
7
7
|
decorators: import("@storybook/react/*").Decorator[];
|
|
8
8
|
parameters: {
|
|
9
9
|
chromatic: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toggle.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Buttons/Toggle.stories.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Toggle.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Buttons/Toggle.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,YAAY,CAAC;AAGpB,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,KAAK,oBAAoB,GAAG,EAAE,CAAC;;;uBAEC,oBAAoB;;;;;;;;AAQpD,wBAKE;AAEF,eAAO,MAAM,OAAO;;CAEnB,CAAC"}
|
|
@@ -2,27 +2,27 @@ import { type ToggleGroupSingleProps, type ToggleGroupMultipleProps, type Toggle
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { type ButtonProps } from './Button';
|
|
4
4
|
type ToggleGroupProps = Omit<ToggleGroupSingleProps, 'className'> | Omit<ToggleGroupMultipleProps, 'className'>;
|
|
5
|
-
declare const ToggleGroup: React.ForwardRefExoticComponent<(
|
|
6
|
-
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
5
|
+
declare const ToggleGroup: React.ForwardRefExoticComponent<(Omit<Omit<ToggleGroupSingleProps, "className"> & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
6
|
+
ref?: ((instance: HTMLDivElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
7
7
|
} & {
|
|
8
|
-
asChild?: boolean
|
|
8
|
+
asChild?: boolean;
|
|
9
9
|
}, "className"> & {
|
|
10
10
|
classNames?: import("packages/ui/react-ui-types/dist/types/src").ClassNameValue;
|
|
11
11
|
} & {
|
|
12
|
-
elevation?: import("packages/ui/react-ui-types/dist/types/src").Elevation
|
|
13
|
-
asChild?: boolean
|
|
14
|
-
}, "
|
|
15
|
-
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
12
|
+
elevation?: import("packages/ui/react-ui-types/dist/types/src").Elevation;
|
|
13
|
+
asChild?: boolean;
|
|
14
|
+
}, "ref"> | Omit<Omit<ToggleGroupMultipleProps, "className"> & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
15
|
+
ref?: ((instance: HTMLDivElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
16
16
|
} & {
|
|
17
|
-
asChild?: boolean
|
|
17
|
+
asChild?: boolean;
|
|
18
18
|
}, "className"> & {
|
|
19
19
|
classNames?: import("packages/ui/react-ui-types/dist/types/src").ClassNameValue;
|
|
20
20
|
} & {
|
|
21
|
-
elevation?: import("packages/ui/react-ui-types/dist/types/src").Elevation
|
|
22
|
-
asChild?: boolean
|
|
23
|
-
}, "
|
|
21
|
+
elevation?: import("packages/ui/react-ui-types/dist/types/src").Elevation;
|
|
22
|
+
asChild?: boolean;
|
|
23
|
+
}, "ref">) & React.RefAttributes<HTMLDivElement>>;
|
|
24
24
|
type ToggleGroupItemProps = Omit<ToggleGroupItemPrimitiveProps, 'className'> & ButtonProps;
|
|
25
|
-
declare const ToggleGroupItem: React.ForwardRefExoticComponent<
|
|
25
|
+
declare const ToggleGroupItem: React.ForwardRefExoticComponent<Omit<ToggleGroupItemProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
26
26
|
export { ToggleGroup, ToggleGroupItem };
|
|
27
27
|
export type { ToggleGroupProps, ToggleGroupItemProps };
|
|
28
28
|
//# sourceMappingURL=ToggleGroup.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToggleGroup.d.ts","sourceRoot":"","sources":["../../../../../src/components/Buttons/ToggleGroup.tsx"],"names":[],"mappings":"AAIA,OAAO,EAEL,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,IAAI,6BAA6B,EAE3D,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,EAA8C,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AAExF,KAAK,gBAAgB,GAAG,IAAI,CAAC,sBAAsB,EAAE,WAAW,CAAC,GAAG,IAAI,CAAC,wBAAwB,EAAE,WAAW,CAAC,CAAC;AAEhH,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"ToggleGroup.d.ts","sourceRoot":"","sources":["../../../../../src/components/Buttons/ToggleGroup.tsx"],"names":[],"mappings":"AAIA,OAAO,EAEL,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,IAAI,6BAA6B,EAE3D,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,EAA8C,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AAExF,KAAK,gBAAgB,GAAG,IAAI,CAAC,sBAAsB,EAAE,WAAW,CAAC,GAAG,IAAI,CAAC,wBAAwB,EAAE,WAAW,CAAC,CAAC;AAEhH,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;iDAQhB,CAAC;AAEF,KAAK,oBAAoB,GAAG,IAAI,CAAC,6BAA6B,EAAE,WAAW,CAAC,GAAG,WAAW,CAAC;AAE3F,QAAA,MAAM,eAAe,6GAQpB,CAAC;AAEF,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,CAAC;AACxC,YAAY,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import '@dxosTheme';
|
|
2
|
+
import React from 'react';
|
|
3
3
|
import { type ToggleGroupProps } from './ToggleGroup';
|
|
4
4
|
type StorybookToggleGroupProps = {
|
|
5
5
|
type: ToggleGroupProps['type'];
|
|
6
6
|
};
|
|
7
7
|
declare const _default: {
|
|
8
8
|
title: string;
|
|
9
|
-
component: (props: StorybookToggleGroupProps) => JSX.Element;
|
|
9
|
+
component: (props: StorybookToggleGroupProps) => React.JSX.Element;
|
|
10
10
|
decorators: import("@storybook/react/*").Decorator[];
|
|
11
11
|
parameters: {
|
|
12
12
|
chromatic: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToggleGroup.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Buttons/ToggleGroup.stories.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ToggleGroup.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Buttons/ToggleGroup.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,YAAY,CAAC;AAGpB,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAgC,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAGpF,KAAK,yBAAyB,GAAG;IAC/B,IAAI,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC;CAChC,CAAC;;;uBAGmC,yBAAyB;;;;;;;;AAa9D,wBAKE;AAEF,eAAO,MAAM,OAAO;;;;CAInB,CAAC"}
|
|
@@ -7,5 +7,5 @@ export type DensityProviderProps = PropsWithChildren<{
|
|
|
7
7
|
density?: Density;
|
|
8
8
|
}>;
|
|
9
9
|
export declare const DensityContext: React.Context<DensityContextValue>;
|
|
10
|
-
export declare const DensityProvider: ({ density, children }: DensityProviderProps) => JSX.Element;
|
|
10
|
+
export declare const DensityProvider: ({ density, children }: DensityProviderProps) => React.JSX.Element;
|
|
11
11
|
//# sourceMappingURL=DensityProvider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DensityProvider.d.ts","sourceRoot":"","sources":["../../../../../src/components/DensityProvider/DensityProvider.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAiB,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAErE,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAEpD,MAAM,WAAW,mBAAmB;IAClC,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,MAAM,oBAAoB,GAAG,iBAAiB,CAAC;IACnD,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC,CAAC;AAEH,eAAO,MAAM,cAAc,oCAA4D,CAAC;AAExF,eAAO,MAAM,eAAe,0BAA2B,oBAAoB,
|
|
1
|
+
{"version":3,"file":"DensityProvider.d.ts","sourceRoot":"","sources":["../../../../../src/components/DensityProvider/DensityProvider.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAiB,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAErE,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAEpD,MAAM,WAAW,mBAAmB;IAClC,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,MAAM,oBAAoB,GAAG,iBAAiB,CAAC;IACnD,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC,CAAC;AAEH,eAAO,MAAM,cAAc,oCAA4D,CAAC;AAExF,eAAO,MAAM,eAAe,0BAA2B,oBAAoB,sBAE1E,CAAC"}
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import '@dxosTheme';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
type StorybookAlertDialogProps = Partial<{
|
|
4
|
+
title: string;
|
|
5
|
+
description: string;
|
|
6
|
+
body: string;
|
|
7
|
+
cancelTrigger: string;
|
|
8
|
+
actionTrigger: string;
|
|
9
|
+
openTrigger: string;
|
|
10
|
+
}>;
|
|
3
11
|
declare const _default: {
|
|
4
12
|
title: string;
|
|
5
|
-
component: ({ title, openTrigger, description, body, cancelTrigger, actionTrigger, }:
|
|
6
|
-
title: string;
|
|
7
|
-
description: string;
|
|
8
|
-
body: string;
|
|
9
|
-
cancelTrigger: string;
|
|
10
|
-
actionTrigger: string;
|
|
11
|
-
openTrigger: string;
|
|
12
|
-
}>) => JSX.Element;
|
|
13
|
+
component: ({ title, openTrigger, description, body, cancelTrigger, actionTrigger, }: StorybookAlertDialogProps) => React.JSX.Element;
|
|
13
14
|
decorators: import("@storybook/react/*").Decorator[];
|
|
14
15
|
parameters: {
|
|
15
16
|
chromatic: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AlertDialog.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dialogs/AlertDialog.stories.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AlertDialog.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dialogs/AlertDialog.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,YAAY,CAAC;AAEpB,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,KAAK,yBAAyB,GAAG,OAAO,CAAC;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC,CAAC;;;0FASA,yBAAyB;;;;;;;;AA0B5B,wBAKE;AAEF,eAAO,MAAM,OAAO;;;;;;;;;CASnB,CAAC"}
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import '@dxosTheme';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
type StorybookDialogProps = Partial<{
|
|
4
|
+
title: string;
|
|
5
|
+
description: string;
|
|
6
|
+
body: string;
|
|
7
|
+
closeTrigger: string;
|
|
8
|
+
openTrigger: string;
|
|
9
|
+
blockAlign: 'center' | 'start';
|
|
10
|
+
}>;
|
|
3
11
|
declare const _default: {
|
|
4
12
|
title: string;
|
|
5
|
-
component: ({ title, openTrigger, description, body, closeTrigger, blockAlign }:
|
|
6
|
-
title: string;
|
|
7
|
-
description: string;
|
|
8
|
-
body: string;
|
|
9
|
-
closeTrigger: string;
|
|
10
|
-
openTrigger: string;
|
|
11
|
-
blockAlign: "start" | "center";
|
|
12
|
-
}>) => JSX.Element;
|
|
13
|
+
component: ({ title, openTrigger, description, body, closeTrigger, blockAlign }: StorybookDialogProps) => React.JSX.Element;
|
|
13
14
|
decorators: import("@storybook/react/*").Decorator[];
|
|
14
15
|
parameters: {
|
|
15
16
|
chromatic: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dialog.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dialogs/Dialog.stories.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Dialog.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dialogs/Dialog.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,YAAY,CAAC;AAEpB,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,KAAK,oBAAoB,GAAG,OAAO,CAAC;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,QAAQ,GAAG,OAAO,CAAC;CAChC,CAAC,CAAC;;;qFAE2F,oBAAoB;;;;;;;;AAoBlH,wBAKE;AAEF,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;CAenB,CAAC"}
|