@dxos/react-ui 0.8.1 → 0.8.2-main.10c050d

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.
Files changed (135) hide show
  1. package/dist/lib/browser/chunk-5Y5JI6KC.mjs +4355 -0
  2. package/dist/lib/browser/chunk-5Y5JI6KC.mjs.map +7 -0
  3. package/dist/lib/browser/index.mjs +75 -2986
  4. package/dist/lib/browser/index.mjs.map +4 -4
  5. package/dist/lib/browser/meta.json +1 -1
  6. package/dist/lib/browser/testing/index.mjs +85 -0
  7. package/dist/lib/browser/testing/index.mjs.map +7 -0
  8. package/dist/lib/node/chunk-KMS7RFL7.cjs +4340 -0
  9. package/dist/lib/node/chunk-KMS7RFL7.cjs.map +7 -0
  10. package/dist/lib/node/index.cjs +71 -2946
  11. package/dist/lib/node/index.cjs.map +4 -4
  12. package/dist/lib/node/meta.json +1 -1
  13. package/dist/lib/node/testing/index.cjs +114 -0
  14. package/dist/lib/node/testing/index.cjs.map +7 -0
  15. package/dist/lib/node-esm/chunk-ANVE7WX5.mjs +4357 -0
  16. package/dist/lib/node-esm/chunk-ANVE7WX5.mjs.map +7 -0
  17. package/dist/lib/node-esm/index.mjs +74 -2986
  18. package/dist/lib/node-esm/index.mjs.map +4 -4
  19. package/dist/lib/node-esm/meta.json +1 -1
  20. package/dist/lib/node-esm/testing/index.mjs +86 -0
  21. package/dist/lib/node-esm/testing/index.mjs.map +7 -0
  22. package/dist/types/src/components/Avatars/Avatar.d.ts +4 -4
  23. package/dist/types/src/components/Avatars/Avatar.d.ts.map +1 -1
  24. package/dist/types/src/components/Avatars/Avatar.stories.d.ts +3 -3
  25. package/dist/types/src/components/Avatars/Avatar.stories.d.ts.map +1 -1
  26. package/dist/types/src/components/Avatars/AvatarGroup.stories.d.ts +0 -1
  27. package/dist/types/src/components/Avatars/AvatarGroup.stories.d.ts.map +1 -1
  28. package/dist/types/src/components/Buttons/Button.stories.d.ts +10 -44
  29. package/dist/types/src/components/Buttons/Button.stories.d.ts.map +1 -1
  30. package/dist/types/src/components/Buttons/IconButton.d.ts +4 -6
  31. package/dist/types/src/components/Buttons/IconButton.d.ts.map +1 -1
  32. package/dist/types/src/components/Buttons/IconButton.stories.d.ts +7 -6
  33. package/dist/types/src/components/Buttons/IconButton.stories.d.ts.map +1 -1
  34. package/dist/types/src/components/Buttons/Toggle.stories.d.ts.map +1 -1
  35. package/dist/types/src/components/Buttons/ToggleGroup.stories.d.ts +1 -4
  36. package/dist/types/src/components/Buttons/ToggleGroup.stories.d.ts.map +1 -1
  37. package/dist/types/src/components/Clipboard/ClipboardProvider.d.ts.map +1 -1
  38. package/dist/types/src/components/Clipboard/CopyButton.d.ts +2 -1
  39. package/dist/types/src/components/Clipboard/CopyButton.d.ts.map +1 -1
  40. package/dist/types/src/components/Clipboard/index.d.ts +2 -2
  41. package/dist/types/src/components/DensityProvider/DensityProvider.d.ts.map +1 -1
  42. package/dist/types/src/components/Dialogs/AlertDialog.stories.d.ts +2 -2
  43. package/dist/types/src/components/Dialogs/AlertDialog.stories.d.ts.map +1 -1
  44. package/dist/types/src/components/Dialogs/Dialog.d.ts +2 -2
  45. package/dist/types/src/components/Dialogs/Dialog.d.ts.map +1 -1
  46. package/dist/types/src/components/Dialogs/Dialog.stories.d.ts +2 -2
  47. package/dist/types/src/components/Dialogs/Dialog.stories.d.ts.map +1 -1
  48. package/dist/types/src/components/ElevationProvider/ElevationProvider.d.ts.map +1 -1
  49. package/dist/types/src/components/Input/Input.d.ts +1 -1
  50. package/dist/types/src/components/Input/Input.d.ts.map +1 -1
  51. package/dist/types/src/components/Input/Input.stories.d.ts +33 -159
  52. package/dist/types/src/components/Input/Input.stories.d.ts.map +1 -1
  53. package/dist/types/src/components/Lists/ListDropIndicator.d.ts.map +1 -1
  54. package/dist/types/src/components/Lists/Tree.stories.d.ts.map +1 -1
  55. package/dist/types/src/components/Lists/TreeDropIndicator.d.ts.map +1 -1
  56. package/dist/types/src/components/Lists/Treegrid.stories.d.ts +1 -1
  57. package/dist/types/src/components/Lists/Treegrid.stories.d.ts.map +1 -1
  58. package/dist/types/src/components/Main/Main.d.ts.map +1 -1
  59. package/dist/types/src/components/Main/Main.stories.d.ts.map +1 -1
  60. package/dist/types/src/components/Main/useSwipeToDismiss.d.ts.map +1 -1
  61. package/dist/types/src/components/Message/Message.stories.d.ts +8 -2
  62. package/dist/types/src/components/Message/Message.stories.d.ts.map +1 -1
  63. package/dist/types/src/components/Popover/Popover.d.ts +15 -6
  64. package/dist/types/src/components/Popover/Popover.d.ts.map +1 -1
  65. package/dist/types/src/components/Popover/Popover.stories.d.ts +5 -1
  66. package/dist/types/src/components/Popover/Popover.stories.d.ts.map +1 -1
  67. package/dist/types/src/components/ScrollArea/ScrollArea.d.ts.map +1 -1
  68. package/dist/types/src/components/ScrollArea/ScrollArea.stories.d.ts.map +1 -1
  69. package/dist/types/src/components/Status/Status.stories.d.ts.map +1 -1
  70. package/dist/types/src/components/ThemeProvider/ThemeProvider.d.ts.map +1 -1
  71. package/dist/types/src/components/ThemeProvider/TranslationsProvider.d.ts +1 -1
  72. package/dist/types/src/components/ThemeProvider/TranslationsProvider.d.ts.map +1 -1
  73. package/dist/types/src/components/Toast/Toast.stories.d.ts +2 -2
  74. package/dist/types/src/components/Toast/Toast.stories.d.ts.map +1 -1
  75. package/dist/types/src/components/Toolbar/Toolbar.stories.d.ts.map +1 -1
  76. package/dist/types/src/components/Tooltip/Tooltip.d.ts +92 -20
  77. package/dist/types/src/components/Tooltip/Tooltip.d.ts.map +1 -1
  78. package/dist/types/src/components/Tooltip/Tooltip.stories.d.ts +40 -17
  79. package/dist/types/src/components/Tooltip/Tooltip.stories.d.ts.map +1 -1
  80. package/dist/types/src/components/index.d.ts +1 -1
  81. package/dist/types/src/components/index.d.ts.map +1 -1
  82. package/dist/types/src/hooks/useDensityContext.d.ts.map +1 -1
  83. package/dist/types/src/hooks/useElevationContext.d.ts.map +1 -1
  84. package/dist/types/src/hooks/useIconHref.d.ts.map +1 -1
  85. package/dist/types/src/hooks/useSafeCollisionPadding.d.ts.map +1 -1
  86. package/dist/types/src/hooks/useVisualViewport.d.ts.map +1 -1
  87. package/dist/types/src/playground/Controls.stories.d.ts +1 -1
  88. package/dist/types/src/playground/Controls.stories.d.ts.map +1 -1
  89. package/dist/types/src/playground/Custom.stories.d.ts +8 -0
  90. package/dist/types/src/playground/Custom.stories.d.ts.map +1 -0
  91. package/dist/types/src/testing/decorators/index.d.ts +1 -1
  92. package/dist/types/src/testing/decorators/index.d.ts.map +1 -1
  93. package/dist/types/src/testing/decorators/{withVariants.d.ts → withSurfaceVariantsLayout.d.ts} +2 -3
  94. package/dist/types/src/testing/decorators/withSurfaceVariantsLayout.d.ts.map +1 -0
  95. package/dist/types/tsconfig.tsbuildinfo +1 -1
  96. package/package.json +25 -15
  97. package/src/components/Avatars/Avatar.stories.tsx +27 -27
  98. package/src/components/Avatars/Avatar.tsx +24 -21
  99. package/src/components/Avatars/AvatarGroup.stories.tsx +4 -5
  100. package/src/components/Breadcrumb/Breadcrumb.stories.tsx +2 -2
  101. package/src/components/Buttons/Button.stories.tsx +20 -15
  102. package/src/components/Buttons/IconButton.stories.tsx +9 -10
  103. package/src/components/Buttons/IconButton.tsx +9 -38
  104. package/src/components/Buttons/Toggle.stories.tsx +2 -2
  105. package/src/components/Buttons/ToggleGroup.stories.tsx +3 -7
  106. package/src/components/Clipboard/CopyButton.tsx +22 -24
  107. package/src/components/Dialogs/AlertDialog.stories.tsx +4 -11
  108. package/src/components/Dialogs/Dialog.stories.tsx +3 -3
  109. package/src/components/Dialogs/Dialog.tsx +8 -4
  110. package/src/components/Input/Input.stories.tsx +69 -58
  111. package/src/components/Input/Input.tsx +1 -0
  112. package/src/components/Lists/Tree.stories.tsx +2 -2
  113. package/src/components/Lists/Treegrid.stories.tsx +12 -12
  114. package/src/components/Main/Main.stories.tsx +2 -2
  115. package/src/components/Main/Main.tsx +1 -0
  116. package/src/components/Menus/ContextMenu.stories.tsx +2 -2
  117. package/src/components/Menus/DropdownMenu.stories.tsx +2 -2
  118. package/src/components/Message/Message.stories.tsx +10 -4
  119. package/src/components/Popover/Popover.stories.tsx +2 -2
  120. package/src/components/Popover/Popover.tsx +8 -4
  121. package/src/components/ScrollArea/ScrollArea.stories.tsx +4 -4
  122. package/src/components/ScrollArea/ScrollArea.tsx +3 -0
  123. package/src/components/Select/Select.stories.tsx +2 -2
  124. package/src/components/Toast/Toast.stories.tsx +15 -10
  125. package/src/components/Toolbar/Toolbar.stories.tsx +2 -2
  126. package/src/components/Tooltip/Tooltip.stories.tsx +43 -18
  127. package/src/components/Tooltip/Tooltip.tsx +733 -58
  128. package/src/components/index.ts +1 -1
  129. package/src/playground/Controls.stories.tsx +4 -4
  130. package/src/playground/Custom.stories.tsx +137 -0
  131. package/src/playground/Typography.stories.tsx +2 -2
  132. package/src/testing/decorators/index.ts +1 -1
  133. package/src/testing/decorators/withSurfaceVariantsLayout.tsx +53 -0
  134. package/dist/types/src/testing/decorators/withVariants.d.ts.map +0 -1
  135. package/src/testing/decorators/withVariants.tsx +0 -45
@@ -3,7 +3,7 @@ import React, { type PropsWithChildren } from 'react';
3
3
  import { type HuePalette } from '@dxos/react-ui-theme';
4
4
  import { type Size } from '@dxos/react-ui-types';
5
5
  import { type AvatarVariant, type AvatarStatus, type AvatarAnimation } from './Avatar';
6
- type StorybookAvatarProps = {
6
+ type StoryProps = {
7
7
  id?: string;
8
8
  imgSrc?: string;
9
9
  fallbackText?: string;
@@ -19,11 +19,11 @@ declare const _default: {
19
19
  title: string;
20
20
  component: {
21
21
  Root: ({ children, labelId: propsLabelId, descriptionId: propsDescriptionId }: import("./Avatar").AvatarRootProps) => React.JSX.Element;
22
- Content: ({ icon, classNames, ...props }: import("./Avatar").AvatarContentProps) => React.JSX.Element;
22
+ Content: React.ForwardRefExoticComponent<Omit<import("./Avatar").AvatarContentProps, "ref"> & React.RefAttributes<import("@dxos/lit-ui").DxAvatar>>;
23
23
  Label: React.ForwardRefExoticComponent<Omit<import("./Avatar").AvatarLabelProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
24
24
  Description: React.ForwardRefExoticComponent<Omit<import("./Avatar").AvatarDescriptionProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
25
25
  };
26
- render: (props: PropsWithChildren<StorybookAvatarProps>) => React.JSX.Element;
26
+ render: (props: PropsWithChildren<StoryProps>) => React.JSX.Element;
27
27
  decorators: import("@storybook/react").Decorator[];
28
28
  parameters: {
29
29
  chromatic: {
@@ -1 +1 @@
1
- {"version":3,"file":"Avatar.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Avatars/Avatar.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AACrB,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEtD,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,EAAU,KAAK,aAAa,EAAE,KAAK,YAAY,EAAE,KAAK,eAAe,EAAE,MAAM,UAAU,CAAC;AAG/F,KAAK,oBAAoB,GAAG;IAC1B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,GAAG,CAAC,EAAE,UAAU,CAAC;CAClB,CAAC;;;;;;;;;oBAE8B,iBAAiB,CAAC,oBAAoB,CAAC;;;;;;;;AA8BvE,wBAME;AAaF,eAAO,MAAM,OAAO,yBAenB,CAAC;AA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lB,CAAC;AAEF,eAAO,MAAM,YAAY,yBAOxB,CAAC;AAEF,eAAO,MAAM,WAAW,yBAA4D,CAAC;AAErF,eAAO,MAAM,WAAW,yBASvB,CAAC;AAEF,eAAO,MAAM,KAAK,yBAA8D,CAAC;AAEjF,eAAO,MAAM,KAAK,yBAOjB,CAAC"}
@@ -2,7 +2,6 @@ import '@dxos-theme';
2
2
  import React from 'react';
3
3
  declare const _default: {
4
4
  title: string;
5
- component: () => React.JSX.Element;
6
5
  render: () => React.JSX.Element;
7
6
  decorators: import("@storybook/react").Decorator[];
8
7
  parameters: {
@@ -1 +1 @@
1
- {"version":3,"file":"AvatarGroup.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Avatars/AvatarGroup.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AACrB,OAAO,KAAK,MAAM,OAAO,CAAC;;;;;;;;;;;;AAiC1B,wBAME;AAEF,eAAO,MAAM,OAAO;;CAEnB,CAAC"}
1
+ {"version":3,"file":"AvatarGroup.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Avatars/AvatarGroup.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AACrB,OAAO,KAAK,MAAM,OAAO,CAAC;;;;;;;;;;;AAiC1B,wBAKE;AAEF,eAAO,MAAM,OAAO;;CAEnB,CAAC"}
@@ -1,46 +1,12 @@
1
1
  import '@dxos-theme';
2
- import React from 'react';
3
- import { type ButtonProps } from './Button';
4
- export declare const Default: {
5
- args: {
6
- variant: string;
7
- children: string;
8
- };
9
- };
10
- export declare const Primary: {
11
- args: {
12
- variant: string;
13
- children: string;
14
- };
15
- };
16
- export declare const Destructive: {
17
- args: {
18
- variant: string;
19
- children: string;
20
- };
21
- };
22
- export declare const Outline: {
23
- args: {
24
- variant: string;
25
- children: string;
26
- };
27
- };
28
- export declare const Ghost: {
29
- args: {
30
- variant: string;
31
- children: string;
32
- };
33
- };
34
- declare const _default: {
35
- title: string;
36
- component: React.MemoExoticComponent<React.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>>;
37
- decorators: import("@storybook/react").Decorator[];
38
- render: ({ children, ...args }: Omit<ButtonProps, "ref">) => React.JSX.Element;
39
- parameters: {
40
- chromatic: {
41
- disableSnapshot: boolean;
42
- };
43
- };
44
- };
45
- export default _default;
2
+ import { type StoryObj, type Meta } from '@storybook/react';
3
+ import { Button } from './Button';
4
+ declare const meta: Meta<typeof Button>;
5
+ export default meta;
6
+ type Story = StoryObj<typeof meta>;
7
+ export declare const Default: Story;
8
+ export declare const Primary: Story;
9
+ export declare const Destructive: Story;
10
+ export declare const Outline: Story;
11
+ export declare const Ghost: Story;
46
12
  //# 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,aAAa,CAAC;AAGrB,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAuB,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AA0BjE,eAAO,MAAM,OAAO;;;;;CAEnB,CAAC;AAEF,eAAO,MAAM,OAAO;;;;;CAEnB,CAAC;AAEF,eAAO,MAAM,WAAW;;;;;CAEvB,CAAC;AAEF,eAAO,MAAM,OAAO;;;;;CAEnB,CAAC;AAEF,eAAO,MAAM,KAAK;;;;;CAEjB,CAAC;;;;;oCAzC2C,IAAI,CAAC,WAAW,EAAE,KAAK,CAAC;;;;;;;AA2CrE,wBAME"}
1
+ {"version":3,"file":"Button.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Buttons/Button.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAGrB,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAG5D,OAAO,EAAE,MAAM,EAAiC,MAAM,UAAU,CAAC;AAwBjE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,CAM7B,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAInC,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAEzB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAEnB,CAAC"}
@@ -1,18 +1,16 @@
1
- import React, { type ReactNode, type MutableRefObject } from 'react';
1
+ import React from 'react';
2
2
  import { type ButtonProps } from './Button';
3
3
  import { type ThemedClassName } from '../../util';
4
4
  import { type IconProps } from '../Icon';
5
- import { type TooltipContentProps } from '../Tooltip';
5
+ import { type TooltipSide } from '../Tooltip';
6
6
  type IconButtonProps = Omit<ButtonProps, 'children'> & Pick<IconProps, 'icon' | 'size'> & {
7
- label: NonNullable<ReactNode>;
7
+ label: string;
8
8
  iconOnly?: boolean;
9
9
  noTooltip?: boolean;
10
10
  caretDown?: boolean;
11
11
  iconClassNames?: ThemedClassName<any>['classNames'];
12
12
  tooltipPortal?: boolean;
13
- tooltipZIndex?: string;
14
- tooltipSide?: TooltipContentProps['side'];
15
- suppressNextTooltip?: MutableRefObject<boolean>;
13
+ tooltipSide?: TooltipSide;
16
14
  };
17
15
  declare const IconButton: React.ForwardRefExoticComponent<Omit<IconButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
18
16
  export { IconButton };
@@ -1 +1 @@
1
- {"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Buttons/IconButton.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAc,KAAK,SAAS,EAAE,KAAK,gBAAgB,EAAY,MAAM,OAAO,CAAC;AAE3F,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,UAAU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W,EAAE,UAAU,CAAC,GAClD,IAAI,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAAC,GAAG;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,cAAc,CAAC,EAAE,eAAe,CAAC,GAAG,CAAC,CAAC,YAAY,CAAC,CAAC;IACpD,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,WAAW,CAAC,EAAE,WAAW,CAAC;CAC3B,CAAC;AA4BJ,QAAA,MAAM,UAAU,wGAMf,CAAC;AAEF,OAAO,EAAE,UAAU,EAAE,CAAC;AAEtB,YAAY,EAAE,eAAe,EAAE,CAAC"}
@@ -1,12 +1,10 @@
1
1
  import '@dxos-theme';
2
2
  import React from 'react';
3
- type StorybookIconButtonProps = {
4
- iconOnly?: boolean;
5
- };
3
+ import { type IconButtonProps } from './IconButton';
6
4
  declare const _default: {
7
5
  title: string;
8
- component: React.ForwardRefExoticComponent<Omit<import("./IconButton").IconButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
9
- render: (props: StorybookIconButtonProps) => React.JSX.Element;
6
+ component: React.ForwardRefExoticComponent<Omit<IconButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
7
+ render: (props: IconButtonProps) => React.JSX.Element;
10
8
  decorators: import("@storybook/react").Decorator[];
11
9
  parameters: {
12
10
  chromatic: {
@@ -16,6 +14,9 @@ declare const _default: {
16
14
  };
17
15
  export default _default;
18
16
  export declare const Default: {
19
- args: {};
17
+ args: {
18
+ label: string;
19
+ icon: string;
20
+ };
20
21
  };
21
22
  //# sourceMappingURL=IconButton.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IconButton.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Buttons/IconButton.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,KAAK,wBAAwB,GAAG;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;;;;oBAEkC,wBAAwB;;;;;;;;AAa5D,wBAME;AAEF,eAAO,MAAM,OAAO;;CAEnB,CAAC"}
1
+ {"version":3,"file":"IconButton.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Buttons/IconButton.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;;;;oBAInC,eAAe;;;;;;;;AAa5C,wBAME;AAEF,eAAO,MAAM,OAAO;;;;;CAKnB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Toggle.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Buttons/Toggle.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAGrB,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,KAAK,oBAAoB,GAAG,EAAE,CAAC;;;;oBAEC,oBAAoB;;;;;;;;AAQpD,wBAME;AAEF,eAAO,MAAM,OAAO;;CAEnB,CAAC"}
1
+ {"version":3,"file":"Toggle.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Buttons/Toggle.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAGrB,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,KAAK,oBAAoB,GAAG,EAAE,CAAC;;;;oBAEF,oBAAoB;;;;;;;;AAQjD,wBAME;AAEF,eAAO,MAAM,OAAO;;CAEnB,CAAC"}
@@ -1,9 +1,6 @@
1
1
  import '@dxos-theme';
2
2
  import React from 'react';
3
3
  import { type ToggleGroupProps } from './ToggleGroup';
4
- type StorybookToggleGroupProps = {
5
- type: ToggleGroupProps['type'];
6
- };
7
4
  declare const _default: {
8
5
  title: string;
9
6
  component: React.ForwardRefExoticComponent<(Omit<Omit<import("@radix-ui/react-toggle-group").ToggleGroupSingleProps, "className"> & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
@@ -25,7 +22,7 @@ declare const _default: {
25
22
  elevation?: import("@dxos/react-ui-types").Elevation;
26
23
  asChild?: boolean;
27
24
  }, "ref">) & React.RefAttributes<HTMLDivElement>>;
28
- render: (props: StorybookToggleGroupProps) => React.JSX.Element;
25
+ render: (props: ToggleGroupProps) => React.JSX.Element;
29
26
  decorators: import("@storybook/react").Decorator[];
30
27
  parameters: {
31
28
  chromatic: {
@@ -1 +1 @@
1
- {"version":3,"file":"ToggleGroup.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Buttons/ToggleGroup.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAGrB,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;;;;;;;;;;;;;;;;;;;;;;oBAGmC,yBAAyB;;;;;;;;AAa9D,wBAME;AAEF,eAAO,MAAM,OAAO;;;;CAInB,CAAC"}
1
+ {"version":3,"file":"ToggleGroup.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Buttons/ToggleGroup.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAGrB,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAgC,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;;;;;;;;;;;;;;;;;;;;;;oBAIvD,gBAAgB;;;;;;;;AAa7C,wBAME;AAEF,eAAO,MAAM,OAAO;;;;CAInB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ClipboardProvider.d.ts","sourceRoot":"","sources":["../../../../../src/components/Clipboard/ClipboardProvider.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAiB,KAAK,iBAAiB,EAAqC,MAAM,OAAO,CAAC;AAExG,MAAM,MAAM,qBAAqB,GAAG;IAClC,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CACpD,CAAC;AAEF,eAAO,MAAM,gBAAgB,sCAG3B,CAAC;AAEH,eAAO,MAAM,YAAY,6BAAqC,CAAC;AAE/D,eAAO,MAAM,iBAAiB,iBAAkB,iBAAiB,CAAC,EAAE,CAAC,sBAOpE,CAAC"}
1
+ {"version":3,"file":"ClipboardProvider.d.ts","sourceRoot":"","sources":["../../../../../src/components/Clipboard/ClipboardProvider.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAiB,KAAK,iBAAiB,EAAqC,MAAM,OAAO,CAAC;AAExG,MAAM,MAAM,qBAAqB,GAAG;IAClC,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CACpD,CAAC;AAEF,eAAO,MAAM,gBAAgB,sCAG3B,CAAC;AAEH,eAAO,MAAM,YAAY,6BAAqC,CAAC;AAE/D,eAAO,MAAM,iBAAiB,GAAI,cAAc,iBAAiB,CAAC,EAAE,CAAC,sBAOpE,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import { type IconProps } from '@phosphor-icons/react';
2
2
  import React from 'react';
3
3
  import { type ButtonProps } from '../Buttons';
4
+ import { type TooltipScopedProps } from '../Tooltip';
4
5
  export type CopyButtonProps = ButtonProps & {
5
6
  value: string;
6
7
  iconProps?: IconProps;
@@ -9,6 +10,6 @@ export declare const CopyButton: ({ value, classNames, iconProps, ...props }: Co
9
10
  type CopyButtonIconOnlyProps = CopyButtonProps & {
10
11
  label?: string;
11
12
  };
12
- export declare const CopyButtonIconOnly: ({ value, classNames, iconProps, variant, ...props }: CopyButtonIconOnlyProps) => React.JSX.Element;
13
+ export declare const CopyButtonIconOnly: ({ __scopeTooltip, value, classNames, iconProps, variant, ...props }: TooltipScopedProps<CopyButtonIconOnlyProps>) => React.JSX.Element;
13
14
  export {};
14
15
  //# sourceMappingURL=CopyButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CopyButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Clipboard/CopyButton.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,KAAmB,MAAM,OAAO,CAAC;AAKxC,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,YAAY,CAAC;AAKtD,MAAM,MAAM,eAAe,GAAG,WAAW,GAAG;IAC1C,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB,CAAC;AAIF,eAAO,MAAM,UAAU,+CAAgD,eAAe,sBAsBrF,CAAC;AAEF,KAAK,uBAAuB,GAAG,eAAe,GAAG;IAC/C,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,kBAAkB,wDAAyD,uBAAuB,sBA2B9G,CAAC"}
1
+ {"version":3,"file":"CopyButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Clipboard/CopyButton.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAU,KAAK,WAAW,EAAc,MAAM,YAAY,CAAC;AAGlE,OAAO,EAAE,KAAK,kBAAkB,EAAqB,MAAM,YAAY,CAAC;AAExE,MAAM,MAAM,eAAe,GAAG,WAAW,GAAG;IAC1C,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB,CAAC;AAIF,eAAO,MAAM,UAAU,GAAI,4CAA4C,eAAe,sBAsBrF,CAAC;AAEF,KAAK,uBAAuB,GAAG,eAAe,GAAG;IAC/C,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,qEAOhC,kBAAkB,CAAC,uBAAuB,CAAC,sBAkB7C,CAAC"}
@@ -1,11 +1,11 @@
1
1
  export declare const Clipboard: {
2
2
  Button: ({ value, classNames, iconProps, ...props }: import("./CopyButton").CopyButtonProps) => import("react").JSX.Element;
3
- IconButton: ({ value, classNames, iconProps, variant, ...props }: import("..").ButtonProps & {
3
+ IconButton: ({ __scopeTooltip, value, classNames, iconProps, variant, ...props }: import("..").TooltipScopedProps<import("..").ButtonProps & {
4
4
  value: string;
5
5
  iconProps?: import("@phosphor-icons/react").IconProps;
6
6
  } & {
7
7
  label?: string;
8
- }) => import("react").JSX.Element;
8
+ }>) => import("react").JSX.Element;
9
9
  Provider: ({ children }: import("react").PropsWithChildren<{}>) => import("react").JSX.Element;
10
10
  };
11
11
  export { useClipboard } from './ClipboardProvider';
@@ -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,oCAA0D,CAAC;AAEtF,eAAO,MAAM,eAAe,0BAA2B,oBAAoB,sBAE1E,CAAC"}
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,oCAA0D,CAAC;AAEtF,eAAO,MAAM,eAAe,GAAI,uBAAuB,oBAAoB,sBAE1E,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import '@dxos-theme';
2
2
  import React from 'react';
3
- type StorybookAlertDialogProps = Partial<{
3
+ type StoryProps = Partial<{
4
4
  title: string;
5
5
  description: string;
6
6
  body: string;
@@ -21,7 +21,7 @@ declare const _default: {
21
21
  Cancel: React.FunctionComponent<import("@radix-ui/react-alert-dialog").AlertDialogCancelProps>;
22
22
  Action: React.FunctionComponent<import("@radix-ui/react-alert-dialog").AlertDialogActionProps>;
23
23
  };
24
- render: ({ title, openTrigger, description, body, cancelTrigger, actionTrigger, }: StorybookAlertDialogProps) => React.JSX.Element;
24
+ render: ({ title, openTrigger, description, body, cancelTrigger, actionTrigger }: StoryProps) => React.JSX.Element;
25
25
  decorators: import("@storybook/react").Decorator[];
26
26
  parameters: {
27
27
  chromatic: {
@@ -1 +1 @@
1
- {"version":3,"file":"AlertDialog.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dialogs/AlertDialog.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,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;;;;;;;;;;;;;;uFASA,yBAAyB;;;;;;;;AA0B5B,wBAME;AAEF,eAAO,MAAM,OAAO;;;;;;;;;CASnB,CAAC"}
1
+ {"version":3,"file":"AlertDialog.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dialogs/AlertDialog.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,KAAK,UAAU,GAAG,OAAO,CAAC;IACxB,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;;;;;;;;;;;;;;sFAE4F,UAAU;;;;;;;;AA0BzG,wBAME;AAEF,eAAO,MAAM,OAAO;;;;;;;;;CASnB,CAAC"}
@@ -11,9 +11,9 @@ type DialogDescriptionProps = ThemedClassName<DialogDescriptionPrimitiveProps> &
11
11
  srOnly?: boolean;
12
12
  };
13
13
  type DialogCloseProps = DialogClosePrimitiveProps;
14
- type DialogOverlayProps = ThemedClassName<DialogOverlayPrimitiveProps> & {
14
+ type DialogOverlayProps = ThemedClassName<DialogOverlayPrimitiveProps & {
15
15
  blockAlign?: 'center' | 'start' | 'end';
16
- };
16
+ }>;
17
17
  type DialogContentProps = ThemedClassName<DialogContentPrimitiveProps> & {
18
18
  inOverlayLayout?: boolean;
19
19
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dialogs/Dialog.tsx"],"names":[],"mappings":"AAKA,OAAO,EACL,KAAK,WAAW,IAAI,wBAAwB,EAG5C,KAAK,kBAAkB,IAAI,2BAA2B,EAEtD,KA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
1
1
  import '@dxos-theme';
2
2
  import React from 'react';
3
- type StorybookDialogProps = Partial<{
3
+ type StoryProps = Partial<{
4
4
  title: string;
5
5
  description: string;
6
6
  body: string;
@@ -20,7 +20,7 @@ declare const _default: {
20
20
  Description: React.ForwardRefExoticComponent<import("./Dialog").DialogTitleProps>;
21
21
  Close: React.FunctionComponent<import("@radix-ui/react-dialog").DialogCloseProps>;
22
22
  };
23
- render: ({ title, openTrigger, description, body, closeTrigger, blockAlign }: StorybookDialogProps) => React.JSX.Element;
23
+ render: ({ title, openTrigger, description, body, closeTrigger, blockAlign }: StoryProps) => React.JSX.Element;
24
24
  decorators: import("@storybook/react").Decorator[];
25
25
  parameters: {
26
26
  chromatic: {
@@ -1 +1 @@
1
- {"version":3,"file":"Dialog.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dialogs/Dialog.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,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;;;;;;;;;;;;;kFAE2F,oBAAoB;;;;;;;;AAoBlH,wBAME;AAEF,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;CAenB,CAAC"}
1
+ {"version":3,"file":"Dialog.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dialogs/Dialog.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,KAAK,UAAU,GAAG,OAAO,CAAC;IACxB,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;;;;;;;;;;;;;kFAEwF,UAAU;;;;;;;;AAoBrG,wBAME;AAEF,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;CAenB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ElevationProvider.d.ts","sourceRoot":"","sources":["../../../../../src/components/ElevationProvider/ElevationProvider.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAiB,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAErE,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEtD,MAAM,WAAW,qBAAqB;IACpC,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB;AAED,MAAM,MAAM,sBAAsB,GAAG,iBAAiB,CAAC;IACrD,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB,CAAC,CAAC;AAEH,eAAO,MAAM,gBAAgB,sCAA8D,CAAC;AAE5F,eAAO,MAAM,iBAAiB,4BAA6B,sBAAsB,sBAEhF,CAAC"}
1
+ {"version":3,"file":"ElevationProvider.d.ts","sourceRoot":"","sources":["../../../../../src/components/ElevationProvider/ElevationProvider.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAiB,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAErE,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEtD,MAAM,WAAW,qBAAqB;IACpC,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB;AAED,MAAM,MAAM,sBAAsB,GAAG,iBAAiB,CAAC;IACrD,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB,CAAC,CAAC;AAEH,eAAO,MAAM,gBAAgB,sCAA8D,CAAC;AAE5F,eAAO,MAAM,iBAAiB,GAAI,yBAAyB,sBAAsB,sBAEhF,CAAC"}
@@ -50,5 +50,5 @@ export declare const Input: {
50
50
  Validation: React.ForwardRefExoticComponent<Omit<InputScopedProps<ValidationProps>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
51
51
  DescriptionAndValidation: React.ForwardRefExoticComponent<Omit<DescriptionAndValidationProps, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
52
52
  };
53
- export type { InputVariant, InputRootProps, PinInputProps, TextInputProps, TextAreaProps, CheckboxProps, SwitchProps, LabelProps, DescriptionProps, ValidationProps, DescriptionAndValidationProps, };
53
+ export type { InputVariant, InputRootProps, InputSharedProps, PinInputProps, TextInputProps, TextAreaProps, CheckboxProps, SwitchProps, LabelProps, DescriptionProps, ValidationProps, DescriptionAndValidationProps, };
54
54
  //# 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,EAAE,KAAK,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAA6B,KAAK,aAAa,IAAI,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAEnH,OAAO,KAAK,EAAE,EAAE,KAAK,qBAAqB,EAA2D,MAAM,OAAO,CAAC;AAEnH,OAAO,EAEL,KAAK,cAAc,EAEnB,KAAK,aAAa,IAAI,sBAAsB,EAE5C,KAAK,cAAc,IAAI,uBAAuB,EAE9C,KAAK,aAAa,IAAI,sBAAsB,EAG5C,KAAK,gBAAgB,EAGrB,KAAK,6BAA6B,IAAI,sCAAsC,EAC5E,KAAK,gBAAgB,IAAI,yBAAyB,EAElD,KAAK,UAAU,IAAI,mBAAmB,EAEtC,KAAK,eAAe,IAAI,wBAAwB,EACjD,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,cAAc,EAAE,KAAK,IAAI,EAAE,MAAM,sBAAsB,CAAC;A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AI,CAAA;CAAE,CACjH,CAAC;AA2CF,eAAO,MAAM,KAAK;;;;;;;;;;;;;;CAWjB,CAAC;AAEF,YAAY,EACV,YAAY,EACZ,cAAc,EACd,gBAAgB,EAChB,aAAa,EACb,cAAc,EACd,aAAa,EACb,aAAa,EACb,WAAW,EACX,UAAU,EACV,gBAAgB,EAChB,eAAe,EACf,6BAA6B,GAC9B,CAAC"}
@@ -1,172 +1,46 @@
1
1
  import '@dxos-theme';
2
- import React from 'react';
2
+ import { type StoryObj, type Meta } from '@storybook/react';
3
3
  import { type MessageValence } from '@dxos/react-ui-types';
4
- type StoryInputProps = Partial<{
4
+ import { type CheckboxProps, type PinInputProps, type SwitchProps, type TextInputProps, type TextAreaProps } from './Input';
5
+ type VariantMap = {
6
+ text: TextInputProps;
7
+ pin: PinInputProps;
8
+ textarea: TextAreaProps;
9
+ checkbox: CheckboxProps;
10
+ switch: SwitchProps;
11
+ };
12
+ type Variant = {
13
+ [K in keyof VariantMap]: {
14
+ type: K;
15
+ } & VariantMap[K];
16
+ }[keyof VariantMap];
17
+ type BaseProps = Partial<{
18
+ kind: keyof VariantMap;
5
19
  label: string;
6
- placeholder: string;
7
- disabled: boolean;
8
- description: string;
9
20
  labelVisuallyHidden: boolean;
21
+ description: string;
10
22
  descriptionVisuallyHidden: boolean;
11
- type: 'default' | 'pin' | 'textarea' | 'checkbox' | 'switch';
12
- validationMessage: string;
13
23
  validationValence: MessageValence;
24
+ validationMessage: string;
14
25
  }>;
15
- declare const _default: {
16
- title: string;
17
- component: {
18
- Root: {
19
- ({ __inputScope, id: propsId, descriptionId: propsDescriptionId, errorMessageId: propsErrorMessageId, validationValence, children, }: import("@dxos/react-input").InputScopedProps<import("@dxos/react-input").InputRootProps>): React.JSX.Element;
20
- displayName: string;
21
- };
22
- PinInput: React.ForwardRefExoticComponent<Omit<import("./Input").PinInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
23
- TextInput: React.ForwardRefExoticComponent<Omit<import("@dxos/react-input").InputScopedProps<import("./Input").TextInputProps>, "ref"> & React.RefAttributes<HTMLInputElement>>;
24
- TextArea: React.ForwardRefExoticComponent<Omit<import("@dxos/react-input").InputScopedProps<import("./Input").TextAreaProps>, "ref"> & React.RefAttributes<HTMLTextAreaElement>>;
25
- Checkbox: React.ForwardRefExoticComponent<import("./Input").CheckboxProps>;
26
- Switch: React.ForwardRefExoticComponent<Omit<import("@dxos/react-input").InputScopedProps<import("./Input").SwitchProps>, "ref"> & React.RefAttributes<HTMLInputElement>>;
27
- Label: React.ForwardRefExoticComponent<Omit<import("./Input").LabelProps, "ref"> & React.RefAttributes<HTMLLabelElement>>;
28
- Description: React.ForwardRefExoticComponent<Omit<import("./Input").DescriptionProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
29
- Validation: React.ForwardRefExoticComponent<Omit<import("@dxos/react-input").InputScopedProps<import("./Input").ValidationProps>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
30
- DescriptionAndValidation: React.ForwardRefExoticComponent<Omit<import("./Input").DescriptionAndValidationProps, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
31
- };
32
- render: (props: StoryInputProps) => React.JSX.Element;
33
- argTypes: {
34
- label: {
35
- control: string;
36
- };
37
- description: {
38
- control: string;
39
- };
40
- validationMessage: {
41
- control: string;
42
- };
43
- validationValence: {
44
- control: string;
45
- options: string[];
46
- };
47
- type: {
48
- control: string;
49
- options: string[];
50
- };
51
- };
52
- decorators: import("@storybook/react").Decorator[];
53
- parameters: {
54
- chromatic: {
55
- disableSnapshot: boolean;
56
- };
57
- };
58
- };
59
- export default _default;
60
- export declare const Default: {
61
- args: {
62
- label: string;
63
- placeholder: string;
64
- disabled: boolean;
65
- description: undefined;
66
- labelVisuallyHidden: boolean;
67
- descriptionVisuallyHidden: boolean;
68
- validationMessage: string;
69
- validationValence: undefined;
70
- length: number;
71
- };
72
- };
73
- export declare const DensityFine: {
74
- args: {
75
- label: string;
76
- placeholder: string;
77
- disabled: boolean;
78
- description: undefined;
79
- labelVisuallyHidden: boolean;
80
- descriptionVisuallyHidden: boolean;
81
- validationMessage: string;
82
- validationValence: undefined;
83
- length: number;
84
- density: string;
85
- };
86
- };
87
- export declare const Subdued: {
88
- args: {
89
- label: string;
90
- placeholder: string;
91
- disabled: boolean;
92
- description: undefined;
93
- labelVisuallyHidden: boolean;
94
- descriptionVisuallyHidden: boolean;
95
- validationMessage: string;
96
- validationValence: undefined;
97
- length: number;
98
- variant: string;
99
- };
100
- };
101
- export declare const Disabled: {
102
- args: {
103
- label: string;
104
- placeholder: string;
105
- disabled: boolean;
106
- };
107
- };
108
- export declare const LabelVisuallyHidden: {
109
- args: {
110
- label: string;
111
- labelVisuallyHidden: boolean;
112
- placeholder: string;
113
- };
114
- };
115
- export declare const InputWithDescription: {
116
- args: {
117
- label: string;
118
- placeholder: string;
119
- description: string;
120
- };
121
- };
122
- export declare const InputWithErrorAndDescription: {
123
- args: {
124
- label: string;
125
- placeholder: string;
126
- description: string;
127
- validationValence: string;
128
- validationMessage: string;
129
- };
130
- };
131
- export declare const InputWithValidationAndDescription: {
132
- args: {
133
- label: string;
134
- placeholder: string;
135
- description: string;
136
- validationValence: string;
137
- validationMessage: string;
138
- };
139
- };
140
- export declare const TextArea: {
141
- args: {
142
- label: string;
143
- type: string;
144
- description: string;
145
- placeholder: string;
146
- };
147
- };
148
- export declare const PinInput: {
149
- args: {
150
- label: string;
151
- type: string;
152
- length: number;
153
- description: string;
154
- placeholder: string;
155
- };
156
- };
157
- export declare const Checkbox: {
158
- args: {
159
- label: string;
160
- type: string;
161
- description: string;
162
- size: number;
163
- weight: string;
164
- };
165
- };
26
+ declare const meta: Meta<BaseProps>;
27
+ export default meta;
28
+ type Story = StoryObj<BaseProps & Variant>;
29
+ export declare const Default: Story;
30
+ export declare const DensityFine: Story;
31
+ export declare const Subdued: Story;
32
+ export declare const Disabled: Story;
33
+ export declare const LabelVisuallyHidden: Story;
34
+ export declare const InputWithDescription: Story;
35
+ export declare const InputWithErrorAndDescription: Story;
36
+ export declare const InputWithValidationAndDescription: Story;
37
+ export declare const TextArea: Story;
38
+ export declare const PinInput: Story;
39
+ export declare const Checkbox: Story;
166
40
  export declare const Switch: {
167
41
  args: {
42
+ kind: string;
168
43
  label: string;
169
- type: string;
170
44
  description: string;
171
45
  };
172
46
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Input.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/Input.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAK3D,KAAK,eAAe,GAAG,OAAO,CAAC;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,mBAAmB,EAAE,OAAO,CAAC;IAC7B,yBAAyB,EAAE,OAAO,CAAC;IACnC,IAAI,EAAE,SAAS,GAAG,KAAK,GAAG,UAAU,GAAG,UAAU,GAAG,QAAQ,CAAC;IAC7D,iBAAiB,EAAE,MAAM,CAAC;IAC1B,iBAAiB,EAAE,cAAc,CAAC;CACnC,CAAC,CAAC;;;;;6OAcwD,MAAO,GAAG,CAC/D,OAAC;;;;;;;;;;;;;oBAiBoB,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiB1C,wBAoBE;AAEF,eAAO,MAAM,OAAO;;;;;;;;;;;;CAYnB,CAAC;AAEF,eAAO,MAAM,WAAW;;;;;;;;;;;;;CAavB,CAAC;AAEF,eAAO,MAAM,OAAO;;;;;;;;;;;;;CAanB,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;;CAMpB,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;;;CAM/B,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;;;;CAMhC,CAAC;AAEF,eAAO,MAAM,4BAA4B;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AAM,CAAC;CAC3B,CAAC,CAAC;AAkDH,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,SAAS,CAMzB,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,SAAS,GAAG,OAAO,CAAC,CAAC;AAE3C,eAAO,MAAM,OAAO,EAAE,KAYrB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAazB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAarB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAOtB,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,KAOjC,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,KAOlC,CAAC;AAEF,eAAO,MAAM,4BAA4B,EAAE,KAS1C,CAAC;AAEF,eAAO,MAAM,iCAAiC,EAAE,KAS/C,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAOtB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAQtB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAOtB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;CAMlB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ListDropIndicator.d.ts","sourceRoot":"","sources":["../../../../../src/components/Lists/ListDropIndicator.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,gDAAgD,CAAC;AAC3E,OAAO,KAAkD,MAAM,OAAO,CAAC;AA6BvE,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,IAAI,CAAC;IACX,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,6CAK3B,kBAAkB,sBAoBpB,CAAC"}
1
+ {"version":3,"file":"ListDropIndicator.d.ts","sourceRoot":"","sources":["../../../../../src/components/Lists/ListDropIndicator.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,gDAAgD,CAAC;AAC3E,OAAO,KAAkD,MAAM,OAAO,CAAC;AA6BvE,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,IAAI,CAAC;IACX,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,GAAI,0CAK/B,kBAAkB,sBAoBpB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Tree.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Lists/Tree.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,KAAK,kBAAkB,GAAG;IACxB,IAAI,EAAE,GAAG,CAAC;CACX,CAAC;;;;;;;uBAwC+B,kBAAkB;;;;;;;;AAInD,wBAME;AAEF,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;CAmBnB,CAAC"}
1
+ {"version":3,"file":"Tree.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Lists/Tree.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,KAAK,kBAAkB,GAAG;IACxB,IAAI,EAAE,GAAG,CAAC;CACX,CAAC;;;;;;;uBAwC8B,kBAAkB;;;;;;;;AAIlD,wBAME;AAEF,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;CAmBnB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"TreeDropIndicator.d.ts","sourceRoot":"","sources":["../../../../../src/components/Lists/TreeDropIndicator.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,oDAAoD,CAAC;AACtF,OAAO,KAAkD,MAAM,OAAO,CAAC;AAkCvE,MAAM,MAAM,kBAAkB,GAAG;IAC/B,WAAW,EAAE,WAAW,CAAC;IACzB,GAAG,CAAC,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,eAAO,MAAM,iBAAiB,yBAA8B,kBAAkB,6BAyB7E,CAAC"}
1
+ {"version":3,"file":"TreeDropIndicator.d.ts","sourceRoot":"","sources":["../../../../../src/components/Lists/TreeDropIndicator.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,oDAAoD,CAAC;AACtF,OAAO,KAAkD,MAAM,OAAO,CAAC;AAkCvE,MAAM,MAAM,kBAAkB,GAAG;IAC/B,WAAW,EAAE,WAAW,CAAC;IACzB,GAAG,CAAC,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,sBAA0B,kBAAkB,6BAyB7E,CAAC"}
@@ -1,5 +1,4 @@
1
1
  import React from 'react';
2
- export declare const Default: {};
3
2
  declare const _default: {
4
3
  title: string;
5
4
  component: React.ForwardRefExoticComponent<Omit<import("./Treegrid").TreegridRootProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
@@ -7,4 +6,5 @@ declare const _default: {
7
6
  decorators: import("@storybook/react").Decorator[];
8
7
  };
9
8
  export default _default;
9
+ export declare const Default: {};
10
10
  //# sourceMappingURL=Treegrid.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Treegrid.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Lists/Treegrid.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AA2I1B,eAAO,MAAM,OAAO,IAAK,CAAC;;;;;;;AAE1B,wBAKE"}
1
+ {"version":3,"file":"Treegrid.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Lists/Treegrid.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;;;;;;;AA2I1B,wBAKE;AAEF,eAAO,MAAM,OAAO,IAAK,CAAC"}