@shape-digital-env/shape-ui 0.0.2 → 0.0.3

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 (202) hide show
  1. package/components/Accordion/Accordion.d.ts +31 -6
  2. package/components/Accordion/Accordion.d.ts.map +1 -1
  3. package/components/Accordion/Accordion.stories.d.ts +49 -6
  4. package/components/Accordion/Accordion.stories.d.ts.map +1 -1
  5. package/components/AccountAvatar/AccountAvatar.d.ts +2 -0
  6. package/components/AccountAvatar/AccountAvatar.d.ts.map +1 -1
  7. package/components/AccountAvatar/AccountAvatar.stories.d.ts +20 -7
  8. package/components/AccountAvatar/AccountAvatar.stories.d.ts.map +1 -1
  9. package/components/AppLogos/AppLogos.stories.d.ts +4 -6
  10. package/components/AppLogos/AppLogos.stories.d.ts.map +1 -1
  11. package/components/AppLogos/AuraLogo.d.ts +2 -0
  12. package/components/AppLogos/AuraLogo.d.ts.map +1 -1
  13. package/components/AppLogos/AuraLogoWithName.d.ts +2 -0
  14. package/components/AppLogos/AuraLogoWithName.d.ts.map +1 -1
  15. package/components/AppLogos/LighthouseLockup.d.ts +3 -0
  16. package/components/AppLogos/LighthouseLockup.d.ts.map +1 -1
  17. package/components/AppLogos/LighthouseLogo.d.ts +2 -0
  18. package/components/AppLogos/LighthouseLogo.d.ts.map +1 -1
  19. package/components/AppLogos/LighthouseLogoWithName.d.ts +2 -0
  20. package/components/AppLogos/LighthouseLogoWithName.d.ts.map +1 -1
  21. package/components/AppLogos/LumenLogo.d.ts +2 -0
  22. package/components/AppLogos/LumenLogo.d.ts.map +1 -1
  23. package/components/AppLogos/LumenLogoWithName.d.ts +2 -0
  24. package/components/AppLogos/LumenLogoWithName.d.ts.map +1 -1
  25. package/components/AppLogos/ReefLogo.d.ts +2 -0
  26. package/components/AppLogos/ReefLogo.d.ts.map +1 -1
  27. package/components/AppLogos/ReefLogoWithName.d.ts +2 -0
  28. package/components/AppLogos/ReefLogoWithName.d.ts.map +1 -1
  29. package/components/Button/Button.d.ts +13 -0
  30. package/components/Button/Button.d.ts.map +1 -1
  31. package/components/Button/Button.stories.d.ts +38 -4
  32. package/components/Button/Button.stories.d.ts.map +1 -1
  33. package/components/Card/Card.d.ts +1 -0
  34. package/components/Card/Card.d.ts.map +1 -1
  35. package/components/Card/Card.stories.d.ts +23 -4
  36. package/components/Card/Card.stories.d.ts.map +1 -1
  37. package/components/CellStyled/CellStyled.d.ts +5 -0
  38. package/components/CellStyled/CellStyled.d.ts.map +1 -1
  39. package/components/CellStyled/CellStyled.stories.d.ts +28 -4
  40. package/components/CellStyled/CellStyled.stories.d.ts.map +1 -1
  41. package/components/ChartWrapper/ChartWrapper.d.ts +4 -4
  42. package/components/ChartWrapper/ChartWrapper.d.ts.map +1 -1
  43. package/components/ChartWrapper/ChartWrapper.stories.d.ts +22 -5
  44. package/components/ChartWrapper/ChartWrapper.stories.d.ts.map +1 -1
  45. package/components/Checkbox/Checkbox.stories.d.ts +24 -8
  46. package/components/Checkbox/Checkbox.stories.d.ts.map +1 -1
  47. package/components/ClearFilters/ClearFilters.d.ts +5 -0
  48. package/components/ClearFilters/ClearFilters.d.ts.map +1 -1
  49. package/components/ClearFilters/ClearFilters.stories.d.ts +26 -5
  50. package/components/ClearFilters/ClearFilters.stories.d.ts.map +1 -1
  51. package/components/DateRangePicker/DateRangePicker.d.ts +17 -0
  52. package/components/DateRangePicker/DateRangePicker.d.ts.map +1 -1
  53. package/components/DateRangePicker/DateRangePicker.stories.d.ts +55 -7
  54. package/components/DateRangePicker/DateRangePicker.stories.d.ts.map +1 -1
  55. package/components/Divider/Divider.d.ts +4 -4
  56. package/components/Divider/Divider.d.ts.map +1 -1
  57. package/components/Divider/Divider.stories.d.ts +27 -6
  58. package/components/Divider/Divider.stories.d.ts.map +1 -1
  59. package/components/DropdownMenu/DropdownMenu.d.ts +3 -0
  60. package/components/DropdownMenu/DropdownMenu.d.ts.map +1 -1
  61. package/components/DropdownMenu/DropdownMenu.stories.d.ts +37 -3
  62. package/components/DropdownMenu/DropdownMenu.stories.d.ts.map +1 -1
  63. package/components/ErrorFallback/ErrorFallback.d.ts +12 -0
  64. package/components/ErrorFallback/ErrorFallback.d.ts.map +1 -1
  65. package/components/ErrorFallback/ErrorFallback.stories.d.ts +291 -4
  66. package/components/ErrorFallback/ErrorFallback.stories.d.ts.map +1 -1
  67. package/components/ErrorOnLoadData/ErrorOnLoadData.d.ts +6 -0
  68. package/components/ErrorOnLoadData/ErrorOnLoadData.d.ts.map +1 -1
  69. package/components/ErrorOnLoadData/ErrorOnLoadData.stories.d.ts +1 -0
  70. package/components/ErrorOnLoadData/ErrorOnLoadData.stories.d.ts.map +1 -1
  71. package/components/Field/Field.stories.d.ts +19 -4
  72. package/components/Field/Field.stories.d.ts.map +1 -1
  73. package/components/Field/Field.types.d.ts +30 -0
  74. package/components/Field/Field.types.d.ts.map +1 -1
  75. package/components/Icon/Icon.d.ts +8 -4
  76. package/components/Icon/Icon.d.ts.map +1 -1
  77. package/components/Icon/Icon.stories.d.ts +36 -4
  78. package/components/Icon/Icon.stories.d.ts.map +1 -1
  79. package/components/Input/Input.d.ts +4 -0
  80. package/components/Input/Input.d.ts.map +1 -1
  81. package/components/Input/Input.stories.d.ts +328 -9
  82. package/components/Input/Input.stories.d.ts.map +1 -1
  83. package/components/LegendIcon/LegendIcon.d.ts +4 -1
  84. package/components/LegendIcon/LegendIcon.d.ts.map +1 -1
  85. package/components/LegendIcon/LegendIcon.stories.d.ts +3 -5
  86. package/components/LegendIcon/LegendIcon.stories.d.ts.map +1 -1
  87. package/components/LoginScreen/LoginScreen.d.ts +29 -0
  88. package/components/LoginScreen/LoginScreen.d.ts.map +1 -1
  89. package/components/LoginScreen/LoginScreen.stories.d.ts +6 -0
  90. package/components/LoginScreen/LoginScreen.stories.d.ts.map +1 -1
  91. package/components/Logo/Logo.d.ts +5 -0
  92. package/components/Logo/Logo.d.ts.map +1 -1
  93. package/components/Logo/Logo.stories.d.ts +27 -6
  94. package/components/Logo/Logo.stories.d.ts.map +1 -1
  95. package/components/MetricCard/MetricCard.d.ts +10 -0
  96. package/components/MetricCard/MetricCard.d.ts.map +1 -1
  97. package/components/MetricCard/MetricCard.stories.d.ts.map +1 -1
  98. package/components/Modal/Modal.d.ts +26 -13
  99. package/components/Modal/Modal.d.ts.map +1 -1
  100. package/components/Modal/Modal.stories.d.ts +41 -6
  101. package/components/Modal/Modal.stories.d.ts.map +1 -1
  102. package/components/MultiSelect/MultiSelect.d.ts +10 -0
  103. package/components/MultiSelect/MultiSelect.d.ts.map +1 -1
  104. package/components/MultiSelect/MultiSelect.stories.d.ts +66 -5
  105. package/components/MultiSelect/MultiSelect.stories.d.ts.map +1 -1
  106. package/components/PageHeader/PageHeader.d.ts +2 -0
  107. package/components/PageHeader/PageHeader.d.ts.map +1 -1
  108. package/components/PageHeader/PageHeader.stories.d.ts +28 -6
  109. package/components/PageHeader/PageHeader.stories.d.ts.map +1 -1
  110. package/components/Pagination/Pagination.d.ts +9 -0
  111. package/components/Pagination/Pagination.d.ts.map +1 -1
  112. package/components/Pagination/Pagination.stories.d.ts +60 -4
  113. package/components/Pagination/Pagination.stories.d.ts.map +1 -1
  114. package/components/RadioGroup/RadioGroup.d.ts +2 -0
  115. package/components/RadioGroup/RadioGroup.d.ts.map +1 -1
  116. package/components/RadioGroup/RadioGroup.stories.d.ts +44 -6
  117. package/components/RadioGroup/RadioGroup.stories.d.ts.map +1 -1
  118. package/components/Select/Select.d.ts +47 -14
  119. package/components/Select/Select.d.ts.map +1 -1
  120. package/components/Select/Select.stories.d.ts +105 -10
  121. package/components/Select/Select.stories.d.ts.map +1 -1
  122. package/components/ShapeLogo/ShapeLogo.d.ts +4 -1
  123. package/components/ShapeLogo/ShapeLogo.d.ts.map +1 -1
  124. package/components/ShapeLogo/ShapeLogo.stories.d.ts +29 -4
  125. package/components/ShapeLogo/ShapeLogo.stories.d.ts.map +1 -1
  126. package/components/SortableTableSection/SortableTableSection.d.ts +20 -4
  127. package/components/SortableTableSection/SortableTableSection.d.ts.map +1 -1
  128. package/components/SortableTableSection/SortableTableSection.stories.d.ts +44 -5
  129. package/components/SortableTableSection/SortableTableSection.stories.d.ts.map +1 -1
  130. package/components/Spinner/Spinner.d.ts +12 -2
  131. package/components/Spinner/Spinner.d.ts.map +1 -1
  132. package/components/Spinner/Spinner.stories.d.ts +26 -4
  133. package/components/Spinner/Spinner.stories.d.ts.map +1 -1
  134. package/components/Stepper/Stepper.d.ts +9 -1
  135. package/components/Stepper/Stepper.d.ts.map +1 -1
  136. package/components/Stepper/Stepper.stories.d.ts +308 -6
  137. package/components/Stepper/Stepper.stories.d.ts.map +1 -1
  138. package/components/Switch/Switch.stories.d.ts +24 -7
  139. package/components/Switch/Switch.stories.d.ts.map +1 -1
  140. package/components/Table/DataTable/DataTable.d.ts.map +1 -1
  141. package/components/Table/DataTable/DataTable.stories.d.ts +96 -9
  142. package/components/Table/DataTable/DataTable.stories.d.ts.map +1 -1
  143. package/components/Table/DataTable/DataTable.types.d.ts +55 -0
  144. package/components/Table/DataTable/DataTable.types.d.ts.map +1 -1
  145. package/components/Table/DataTable/components/DataTableBody.d.ts +2 -1
  146. package/components/Table/DataTable/components/DataTableBody.d.ts.map +1 -1
  147. package/components/Table/DataTable/components/DataTableCell/DataTableCell.d.ts +5 -0
  148. package/components/Table/DataTable/components/DataTableCell/DataTableCell.d.ts.map +1 -1
  149. package/components/Table/DataTable/components/DataTableCell/DataTableCell.utils.d.ts.map +1 -1
  150. package/components/Table/DataTable/components/DataTableHeader.d.ts.map +1 -1
  151. package/components/Table/DataTable/hooks/useDataTableColumns.d.ts.map +1 -1
  152. package/components/Table/Table.d.ts +12 -2
  153. package/components/Table/Table.d.ts.map +1 -1
  154. package/components/Table/Table.stories.d.ts +22 -7
  155. package/components/Table/Table.stories.d.ts.map +1 -1
  156. package/components/Tabs/Tabs.d.ts +12 -0
  157. package/components/Tabs/Tabs.d.ts.map +1 -1
  158. package/components/Tabs/Tabs.stories.d.ts +38 -5
  159. package/components/Tabs/Tabs.stories.d.ts.map +1 -1
  160. package/components/Textarea/Textarea.d.ts +4 -0
  161. package/components/Textarea/Textarea.d.ts.map +1 -1
  162. package/components/Textarea/Textarea.stories.d.ts +311 -7
  163. package/components/Textarea/Textarea.stories.d.ts.map +1 -1
  164. package/components/Title/Title.d.ts +1 -0
  165. package/components/Title/Title.d.ts.map +1 -1
  166. package/components/Title/Title.stories.d.ts +18 -4
  167. package/components/Title/Title.stories.d.ts.map +1 -1
  168. package/components/Toast/Toast.d.ts +18 -2
  169. package/components/Toast/Toast.d.ts.map +1 -1
  170. package/components/Toast/Toast.stories.d.ts +40 -5
  171. package/components/Toast/Toast.stories.d.ts.map +1 -1
  172. package/components/Tooltip/Tooltip.d.ts +13 -0
  173. package/components/Tooltip/Tooltip.d.ts.map +1 -1
  174. package/components/Tooltip/Tooltip.stories.d.ts +338 -3
  175. package/components/Tooltip/Tooltip.stories.d.ts.map +1 -1
  176. package/index.js +8951 -9104
  177. package/lib/i18n.d.ts +8 -0
  178. package/lib/i18n.d.ts.map +1 -0
  179. package/lib/useSvgId.d.ts +8 -0
  180. package/lib/useSvgId.d.ts.map +1 -0
  181. package/locales/en/common.i18n.d.ts +19 -0
  182. package/locales/en/common.i18n.d.ts.map +1 -0
  183. package/locales/en/index.d.ts +19 -0
  184. package/locales/en/index.d.ts.map +1 -1
  185. package/locales/en/table.i18n.d.ts +1 -0
  186. package/locales/en/table.i18n.d.ts.map +1 -1
  187. package/locales/es/common.i18n.d.ts +19 -0
  188. package/locales/es/common.i18n.d.ts.map +1 -0
  189. package/locales/es/index.d.ts +19 -0
  190. package/locales/es/index.d.ts.map +1 -1
  191. package/locales/es/table.i18n.d.ts +1 -0
  192. package/locales/es/table.i18n.d.ts.map +1 -1
  193. package/locales/pt-br/common.i18n.d.ts +19 -0
  194. package/locales/pt-br/common.i18n.d.ts.map +1 -0
  195. package/locales/pt-br/index.d.ts +19 -0
  196. package/locales/pt-br/index.d.ts.map +1 -1
  197. package/locales/pt-br/table.i18n.d.ts +1 -0
  198. package/locales/pt-br/table.i18n.d.ts.map +1 -1
  199. package/package.json +4 -1
  200. package/styles.css +73 -47
  201. package/components/Tabs/Tabs.figma.d.ts +0 -8
  202. package/components/Tabs/Tabs.figma.d.ts.map +0 -1
@@ -1,39 +1,52 @@
1
1
  import * as React from "react";
2
+ /** Width preset of the dialog panel. `full` spans the whole viewport width. */
2
3
  export type ModalSize = "sm" | "md" | "lg" | "xl" | "full";
3
4
  export interface ModalProps {
4
- /** Controls dialog open state. */
5
+ /**
6
+ * Whether the dialog is shown. The modal never closes itself: keep this in state and set it
7
+ * to `false` from `onClose`.
8
+ * @default true
9
+ */
5
10
  open?: boolean;
6
- /** Content rendered as the dialog title. */
11
+ /** Content rendered as the dialog title. It is also the dialog's accessible name. */
7
12
  title: React.ReactNode;
8
- /** Called when the dialog requests to be closed (X button, Escape key, overlay click). */
13
+ /**
14
+ * Called when the dialog requests to be closed (X button, Escape key, overlay click). Set
15
+ * `open` to `false` in response.
16
+ */
9
17
  onClose: () => void;
10
- /** Called when the user clicks the Cancel button. */
18
+ /** Called when the user clicks the Cancel button. The button only renders when this is set. */
11
19
  onCancel?: () => void;
12
- /** Called when the user clicks the Confirm button. */
20
+ /** Called when the user clicks the Confirm button. The button only renders when this is set. */
13
21
  onConfirm?: () => void;
14
- /** Content rendered inside the body slot. */
22
+ /** Content rendered inside the body slot, which scrolls when it is taller than the viewport. */
15
23
  children: React.ReactNode;
16
- /** Controls the width of the dialog. Defaults to "md". */
24
+ /** Controls the width of the dialog. @default "md" */
17
25
  size?: ModalSize;
18
- /** Extra classes forwarded to the dialog panel. */
26
+ /** Extra classes forwarded to the dialog panel. Applied after `contentClassName`. */
19
27
  className?: string;
20
- /** Extra classes forwarded to the dialog panel. */
28
+ /** Extra classes forwarded to the dialog panel. Same element as `className`, applied before it. */
21
29
  contentClassName?: string;
22
30
  /** Extra classes forwarded to the scrollable body container. */
23
31
  bodyClassName?: string;
24
- /** Label for the Cancel button. Defaults to "Cancel". */
32
+ /** Label for the Cancel button, translated through `shape_ui` by default. @default "Cancel" */
25
33
  cancelLabel?: string;
26
- /** Label for the Confirm button. Defaults to "Confirm". */
34
+ /** Label for the Confirm button, translated through `shape_ui` by default. @default "Confirm" */
27
35
  confirmLabel?: string;
28
36
  /**
29
37
  * Whether this dialog traps focus and blocks outside interaction. Set to `false` when this
30
38
  * dialog is expected to host another dialog on top of it (e.g. a confirmation modal opened
31
39
  * from within this one) — otherwise the two focus traps fight over `document.activeElement`
32
- * and the nested dialog becomes unusable. Defaults to `true`.
40
+ * and the nested dialog becomes unusable.
41
+ * @default true
33
42
  */
34
43
  modal?: boolean;
35
44
  }
36
- /** `ref` points at the dialog panel (`DialogPrimitive.Content`), which renders in a portal. */
45
+ /**
46
+ * Dialog with a title, a close button, a scrollable body and an optional Cancel / Confirm footer.
47
+ *
48
+ * `ref` points at the dialog panel (`DialogPrimitive.Content`), which renders in a portal.
49
+ */
37
50
  declare const Modal: React.ForwardRefExoticComponent<ModalProps & React.RefAttributes<HTMLDivElement>>;
38
51
  export { Modal };
39
52
  //# sourceMappingURL=Modal.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,MAAM,MAAM,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;AAU3D,MAAM,WAAW,UAAU;IACzB,kCAAkC;IAClC,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,4CAA4C;IAC5C,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,0FAA0F;IAC1F,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,qDAAqD;IACrD,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,sDAAsD;IACtD,SAAS,CAAC,EAAE,MAAM,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IACnG,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,gEAAgE;IAChE,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,+FAA+F;IAC/F,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iGAAiG;IACjG,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED;;;;GAIG;AACH,QAAA,MAAM,KAAK,mFAsHV,CAAC;AAIF,OAAO,EAAE,KAAK,EAAE,CAAC"}
@@ -1,9 +1,44 @@
1
- import { Meta, StoryObj } from '@storybook/react-vite';
2
- import { Modal } from './Modal';
3
- declare const meta: Meta<typeof Modal>;
1
+ import { StoryObj } from '@storybook/react-vite';
2
+ import { ModalProps, ModalSize } from './Modal';
3
+ import * as React from "react";
4
+ declare const meta: {
5
+ title: string;
6
+ component: React.ForwardRefExoticComponent<ModalProps & React.RefAttributes<HTMLDivElement>>;
7
+ parameters: {
8
+ layout: string;
9
+ docs: {
10
+ story: {
11
+ inline: boolean;
12
+ height: string;
13
+ };
14
+ description: {
15
+ component: string;
16
+ };
17
+ };
18
+ };
19
+ argTypes: {
20
+ size: {
21
+ control: "select";
22
+ options: ModalSize[];
23
+ };
24
+ };
25
+ args: {
26
+ open: true;
27
+ title: string;
28
+ children: import("react/jsx-runtime").JSX.Element;
29
+ onClose: import('storybook/test').Mock<(...args: any[]) => any>;
30
+ onCancel: import('storybook/test').Mock<(...args: any[]) => any>;
31
+ onConfirm: import('storybook/test').Mock<(...args: any[]) => any>;
32
+ };
33
+ };
4
34
  export default meta;
5
- type Story = StoryObj<typeof Modal>;
35
+ type Story = StoryObj<typeof meta>;
6
36
  export declare const Default: Story;
7
- export declare const WithForm: Story;
8
- export declare const WithSubtitle: Story;
37
+ export declare const CancelAndConfirm: Story;
38
+ export declare const CustomLabels: Story;
39
+ export declare const WithoutFooter: Story;
40
+ export declare const Controlled: Story;
41
+ export declare const Sizes: Story;
42
+ export declare const LongContent: Story;
43
+ export declare const NonModal: Story;
9
44
  //# sourceMappingURL=Modal.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Modal.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/Modal.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAQhC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CAc5B,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAC;AAKpC,eAAO,MAAM,OAAO,EAAE,KASrB,CAAC;AAKF,eAAO,MAAM,QAAQ,EAAE,KAyCtB,CAAC;AAKF,eAAO,MAAM,YAAY,EAAE,KAY1B,CAAC"}
1
+ {"version":3,"file":"Modal.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/Modal.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,EAAS,KAAK,UAAU,EAAE,KAAK,SAAS,EAAE,MAAM,SAAS,CAAC;AAWjE,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwBoB,CAAC;AAE/B,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAKnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,gBAAgB,EAAE,KAc9B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAW1B,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAY3B,CAAC;AAuBF,eAAO,MAAM,UAAU,EAAE,KA4BxB,CAAC;AAiCF,eAAO,MAAM,KAAK,EAAE,KASnB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAezB,CAAC;AA+BF,eAAO,MAAM,QAAQ,EAAE,KAmBtB,CAAC"}
@@ -1,10 +1,20 @@
1
1
  import * as React from "react";
2
2
  import * as PopoverPrimitive from "@radix-ui/react-popover";
3
3
  export interface MultiSelectTriggerProps extends React.ComponentPropsWithoutRef<"button"> {
4
+ /** Shown in the trigger while nothing is selected (no `children`). */
4
5
  placeholder?: string;
6
+ /**
7
+ * Open state, when the consumer controls it. Radix already reports the
8
+ * trigger's state, so this is only needed to override it.
9
+ */
5
10
  isOpen?: boolean;
6
11
  }
7
12
  export interface MultiSelectItemProps extends React.ComponentPropsWithoutRef<"div"> {
13
+ /**
14
+ * Whether the option is selected. The item keeps no state: toggle it from
15
+ * `onClick` and `onKeyDown`.
16
+ * @default false
17
+ */
8
18
  checked?: boolean;
9
19
  }
10
20
  export declare const MultiSelect: {
@@ -1 +1 @@
1
- {"version":3,"file":"MultiSelect.d.ts","sourceRoot":"","sources":["../../../src/components/MultiSelect/MultiSelect.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAC;AAmB5D,MAAM,WAAW,uBACf,SAAQ,KAAK,CAAC,wBAAwB,CAAC,QAAQ,CAAC;IAChD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAgGD,MAAM,WAAW,oBACf,SAAQ,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC;IAC7C,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAyCD,eAAO,MAAM,WAAW;YAvJf,KAAK,CAAC,wBAAwB,CAAC,OAAO,gBAAgB,CAAC,IAAI,CAAC;;;;;;CA2JnE,CAAC"}
1
+ {"version":3,"file":"MultiSelect.d.ts","sourceRoot":"","sources":["../../../src/components/MultiSelect/MultiSelect.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAC;AA8B5D,MAAM,WAAW,uBACf,SAAQ,KAAK,CAAC,wBAAwB,CAAC,QAAQ,CAAC;IAChD,sEAAsE;IACtE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AA2GD,MAAM,WAAW,oBACf,SAAQ,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC;IAC7C;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AA8CD,eAAO,MAAM,WAAW;YAxLf,KAAK,CAAC,wBAAwB,CAAC,OAAO,gBAAgB,CAAC,IAAI,CAAC;;;;;;CA4LnE,CAAC"}
@@ -1,9 +1,70 @@
1
- import { Meta, StoryObj } from '@storybook/react-vite';
1
+ import { ComponentProps } from 'react';
2
+ import { StoryObj } from '@storybook/react-vite';
2
3
  import { MultiSelect } from './MultiSelect';
3
- declare const meta: Meta<typeof MultiSelect>;
4
+ interface MultiSelectOption {
5
+ value: string;
6
+ label: string;
7
+ }
8
+ type MultiSelectStoryArgs = ComponentProps<typeof MultiSelect> & {
9
+ options: MultiSelectOption[];
10
+ value: string[];
11
+ onValueChange: (value: string[]) => void;
12
+ placeholder?: string;
13
+ disabled?: boolean;
14
+ "aria-label"?: string;
15
+ };
16
+ declare const meta: {
17
+ title: string;
18
+ component: {
19
+ (props: React.ComponentPropsWithoutRef<import('react').FC<import('@radix-ui/react-popover').PopoverProps>>): import("react/jsx-runtime").JSX.Element;
20
+ displayName: string;
21
+ } & {
22
+ Trigger: import('react').ForwardRefExoticComponent<import('./MultiSelect').MultiSelectTriggerProps & import('react').RefAttributes<HTMLButtonElement>>;
23
+ Content: import('react').ForwardRefExoticComponent<Omit<import('@radix-ui/react-popover').PopoverContentProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
24
+ Item: import('react').ForwardRefExoticComponent<import('./MultiSelect').MultiSelectItemProps & import('react').RefAttributes<HTMLDivElement>>;
25
+ };
26
+ subcomponents: {
27
+ "MultiSelect.Trigger": import('react').ForwardRefExoticComponent<import('./MultiSelect').MultiSelectTriggerProps & import('react').RefAttributes<HTMLButtonElement>>;
28
+ "MultiSelect.Item": import('react').ForwardRefExoticComponent<import('./MultiSelect').MultiSelectItemProps & import('react').RefAttributes<HTMLDivElement>>;
29
+ };
30
+ parameters: {
31
+ layout: string;
32
+ docs: {
33
+ description: {
34
+ component: string;
35
+ };
36
+ };
37
+ };
38
+ decorators: ((Story: import('storybook/internal/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
39
+ children?: import('react').ReactNode;
40
+ open?: boolean | undefined;
41
+ defaultOpen?: boolean | undefined;
42
+ onOpenChange?: ((open: boolean) => void) | undefined;
43
+ modal?: boolean | undefined;
44
+ options: MultiSelectOption[];
45
+ value: string[];
46
+ onValueChange: (value: string[]) => void;
47
+ placeholder?: string | undefined;
48
+ disabled?: boolean | undefined;
49
+ "aria-label"?: string | undefined;
50
+ }>) => import("react/jsx-runtime").JSX.Element)[];
51
+ args: {
52
+ options: MultiSelectOption[];
53
+ value: never[];
54
+ placeholder: string;
55
+ disabled: false;
56
+ "aria-label": string;
57
+ onValueChange: import('storybook/test').Mock<(...args: any[]) => any>;
58
+ onOpenChange: import('storybook/test').Mock<(...args: any[]) => any>;
59
+ };
60
+ render: (args: MultiSelectStoryArgs) => import("react/jsx-runtime").JSX.Element;
61
+ };
4
62
  export default meta;
5
- type Story = StoryObj<typeof MultiSelect>;
63
+ type Story = StoryObj<typeof meta>;
6
64
  export declare const Default: Story;
7
- export declare const WithSelection: Story;
8
- export declare const AllSelected: Story;
65
+ export declare const States: Story;
66
+ export declare const LongContent: Story;
67
+ export declare const Empty: Story;
68
+ export declare const Controlled: Story;
69
+ export declare const InsideField: Story;
9
70
  //# sourceMappingURL=MultiSelect.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MultiSelect.stories.d.ts","sourceRoot":"","sources":["../../../src/components/MultiSelect/MultiSelect.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAU5C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,WAAW,CAmBlC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,WAAW,CAAC,CAAC;AAE1C,eAAO,MAAM,OAAO,EAAE,KAyCrB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAyC3B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAyCzB,CAAC"}
1
+ {"version":3,"file":"MultiSelect.stories.d.ts","sourceRoot":"","sources":["../../../src/components/MultiSelect/MultiSelect.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AACjE,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAG5C,UAAU,iBAAiB;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AASD,KAAK,oBAAoB,GAAG,cAAc,CAAC,OAAO,WAAW,CAAC,GAAG;IAC/D,OAAO,EAAE,iBAAiB,EAAE,CAAC;IAC7B,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACzC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AA4DF,QAAA,MAAM,IAAI;;;gBAhEyB,MAAM,wBACpB;;;;;;;;;;;;;;;;;;;;;;;;;iBAHV,iBAAiB,EAAE;eACrB,MAAM,EAAE;uBACA,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,IAAI;sBAC1B,MAAM;mBACT,OAAO;uBACH,MAAM;;;;;;;;;;;;CA8Fe,CAAC;AAEvC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KA0BrB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAiBpB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAQzB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAEnB,CAAC;AAsBF,eAAO,MAAM,UAAU,EAAE,KAGxB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAkBzB,CAAC"}
@@ -1,6 +1,8 @@
1
1
  import * as React from "react";
2
2
  export interface PageHeaderProps extends React.HTMLAttributes<HTMLElement> {
3
+ /** Text of the back button. The button is rendered only when this is set. */
3
4
  backText?: string;
5
+ /** Called when the back button is clicked. */
4
6
  onBack?: () => void;
5
7
  }
6
8
  declare const PageHeader: React.ForwardRefExoticComponent<PageHeaderProps & React.RefAttributes<HTMLElement>>;
@@ -1 +1 @@
1
- {"version":3,"file":"PageHeader.d.ts","sourceRoot":"","sources":["../../../src/components/PageHeader/PageHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,MAAM,WAAW,eAAgB,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IACxE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,QAAA,MAAM,UAAU,qFAwBf,CAAC;AAGF,OAAO,EAAE,UAAU,EAAE,CAAC"}
1
+ {"version":3,"file":"PageHeader.d.ts","sourceRoot":"","sources":["../../../src/components/PageHeader/PageHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,MAAM,WAAW,eAAgB,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IACxE,6EAA6E;IAC7E,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,8CAA8C;IAC9C,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,QAAA,MAAM,UAAU,qFAwBf,CAAC;AAGF,OAAO,EAAE,UAAU,EAAE,CAAC"}
@@ -1,9 +1,31 @@
1
- import { Meta, StoryObj } from '@storybook/react-vite';
2
- import { PageHeader } from './PageHeader';
3
- declare const meta: Meta<typeof PageHeader>;
1
+ import { StoryObj } from '@storybook/react-vite';
2
+ declare const meta: {
3
+ title: string;
4
+ component: import('react').ForwardRefExoticComponent<import('./PageHeader').PageHeaderProps & import('react').RefAttributes<HTMLElement>>;
5
+ parameters: {
6
+ layout: string;
7
+ docs: {
8
+ description: {
9
+ component: string;
10
+ };
11
+ };
12
+ };
13
+ argTypes: {
14
+ children: {
15
+ control: false;
16
+ };
17
+ };
18
+ args: {
19
+ backText: string;
20
+ onBack: import('storybook/test').Mock<(...args: any[]) => any>;
21
+ children: import("react/jsx-runtime").JSX.Element;
22
+ };
23
+ };
4
24
  export default meta;
5
- type Story = StoryObj<typeof PageHeader>;
6
- export declare const WithActions: Story;
7
- export declare const WithBackButton: Story;
25
+ type Story = StoryObj<typeof meta>;
26
+ export declare const Default: Story;
27
+ export declare const ActionsOnly: Story;
8
28
  export declare const BackButtonOnly: Story;
29
+ export declare const LongContent: Story;
30
+ export declare const GoesBack: Story;
9
31
  //# sourceMappingURL=PageHeader.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PageHeader.stories.d.ts","sourceRoot":"","sources":["../../../src/components/PageHeader/PageHeader.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG1C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CAOjC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAC;AAEzC,eAAO,MAAM,WAAW,EAAE,KAMzB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAM5B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAI5B,CAAC"}
1
+ {"version":3,"file":"PageHeader.stories.d.ts","sourceRoot":"","sources":["../../../src/components/PageHeader/PageHeader.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAK5D,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;CA2ByB,CAAC;AAEpC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,WAAW,EAAE,KAEzB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAE5B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAezB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAQtB,CAAC"}
@@ -4,14 +4,23 @@ declare const Pagination: React.ForwardRefExoticComponent<Omit<React.DetailedHTM
4
4
  declare const PaginationContent: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React.RefAttributes<HTMLUListElement>>;
5
5
  declare const PaginationItem: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React.RefAttributes<HTMLLIElement>>;
6
6
  interface PaginationLinkProps extends React.ComponentProps<typeof Button> {
7
+ /** Marks the current page: highlighted and announced with `aria-current="page"`. @default false */
7
8
  isActive?: boolean;
8
9
  }
9
10
  declare const PaginationLink: React.ForwardRefExoticComponent<Omit<PaginationLinkProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
10
11
  interface PaginationPreviousProps extends Omit<PaginationLinkProps, "children"> {
12
+ /**
13
+ * Visible text next to the arrow. When omitted, only the arrow shows and
14
+ * "Previous" (translated through `shape_ui`) is kept as screen-reader text.
15
+ */
11
16
  prevText?: string;
12
17
  }
13
18
  declare const PaginationPrevious: React.ForwardRefExoticComponent<Omit<PaginationPreviousProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
14
19
  interface PaginationNextProps extends Omit<PaginationLinkProps, "children"> {
20
+ /**
21
+ * Visible text next to the arrow. When omitted, only the arrow shows and
22
+ * "Next" (translated through `shape_ui`) is kept as screen-reader text.
23
+ */
15
24
  nextText?: string;
16
25
  }
17
26
  declare const PaginationNext: React.ForwardRefExoticComponent<Omit<PaginationNextProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
@@ -1 +1 @@
1
- {"version":3,"file":"Pagination.d.ts","sourceRoot":"","sources":["../../../src/components/Pagination/Pagination.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAKnC,QAAA,MAAM,UAAU,0JAIf,CAAC;AAGF,QAAA,MAAM,iBAAiB,yKASrB,CAAC;AAGH,QAAA,MAAM,cAAc,kKAGiC,CAAC;AAGtD,UAAU,mBAAoB,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC;IACvE,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,QAAA,MAAM,cAAc,4GAmBnB,CAAC;AAGF,UAAU,uBACR,SAAQ,IAAI,CAAC,mBAAmB,EAAE,UAAU,CAAC;IAC7C,QAAQ,CAAC,EAAE,MA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etB,CAAC;AAGH,OAAO,EACL,UAAU,EACV,iBAAiB,EACjB,cAAc,EACd,cAAc,EACd,kBAAkB,EAClB,cAAc,EACd,kBAAkB,GACnB,CAAC;AACF,YAAY,EACV,mBAAmB,EACnB,uBAAuB,EACvB,mBAAmB,GACpB,CAAC"}
@@ -1,11 +1,67 @@
1
- import { Meta, StoryObj } from '@storybook/react-vite';
1
+ import { StoryObj } from '@storybook/react-vite';
2
+ import { ComponentProps } from 'react';
2
3
  import { Pagination } from './Pagination';
3
- declare const meta: Meta<typeof Pagination>;
4
+ interface PaginationStoryArgs extends ComponentProps<typeof Pagination> {
5
+ /** Story-only: current page, 1-based. */
6
+ page: number;
7
+ /** Story-only: number of pages. */
8
+ totalPages: number;
9
+ /** Story-only: pages shown on each side of the current one. */
10
+ siblingCount: number;
11
+ /** Visible text of the previous button (`PaginationPrevious`). */
12
+ prevText?: string;
13
+ /** Visible text of the next button (`PaginationNext`). */
14
+ nextText?: string;
15
+ /** Story-only: called with the page the user asks for. */
16
+ onPageChange: (page: number) => void;
17
+ }
18
+ declare const meta: {
19
+ title: string;
20
+ component: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & import('react').RefAttributes<HTMLElement>>;
21
+ parameters: {
22
+ layout: string;
23
+ docs: {
24
+ description: {
25
+ component: string;
26
+ };
27
+ };
28
+ };
29
+ argTypes: {
30
+ page: {
31
+ control: {
32
+ type: "number";
33
+ min: number;
34
+ };
35
+ };
36
+ totalPages: {
37
+ control: {
38
+ type: "number";
39
+ min: number;
40
+ };
41
+ };
42
+ siblingCount: {
43
+ control: {
44
+ type: "number";
45
+ min: number;
46
+ };
47
+ };
48
+ };
49
+ args: {
50
+ page: number;
51
+ totalPages: number;
52
+ siblingCount: number;
53
+ onPageChange: import('storybook/test').Mock<(...args: any[]) => any>;
54
+ };
55
+ render: (args: PaginationStoryArgs) => import("react/jsx-runtime").JSX.Element;
56
+ };
4
57
  export default meta;
5
- type Story = StoryObj<typeof Pagination>;
58
+ type Story = StoryObj<typeof meta>;
6
59
  export declare const Default: Story;
7
60
  export declare const WithEllipsis: Story;
8
- export declare const Interactive: Story;
9
61
  export declare const WithText: Story;
62
+ export declare const LongContent: Story;
63
+ export declare const SinglePage: Story;
10
64
  export declare const States: Story;
65
+ export declare const Controlled: Story;
66
+ export declare const EdgesAreDisabled: Story;
11
67
  //# sourceMappingURL=Pagination.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Pagination.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Pagination/Pagination.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,EACL,UAAU,EAOX,MAAM,cAAc,CAAC;AAEtB,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CAMjC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAC;AAEzC,eAAO,MAAM,OAAO,EAAE,KAkBrB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KA4B1B,CAAC;AAmDF,eAAO,MAAM,WAAW,EAAE,KAEzB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KA4BtB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAqCpB,CAAC"}
1
+ {"version":3,"file":"Pagination.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Pagination/Pagination.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAEjE,OAAO,EACL,UAAU,EAOX,MAAM,cAAc,CAAC;AAEtB,UAAU,mBAAoB,SAAQ,cAAc,CAAC,OAAO,UAAU,CAAC;IACrE,yCAAyC;IACzC,IAAI,EAAE,MAAM,CAAC;IACb,mCAAmC;IACnC,UAAU,EAAE,MAAM,CAAC;IACnB,+DAA+D;IAC/D,YAAY,EAAE,MAAM,CAAC;IACrB,kEAAkE;IAClE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,0DAA0D;IAC1D,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,0DAA0D;IAC1D,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CACtC;AAqFD,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4B2B,CAAC;AAEtC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,YAAY,EAAE,KAE1B,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAEtB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAEzB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAExB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KA8BpB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAmBxB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KAY9B,CAAC"}
@@ -1,9 +1,11 @@
1
1
  import * as React from "react";
2
2
  import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
3
3
  export interface RadioGroupItemProps extends React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item> {
4
+ /** Text beside the radio; clicking it selects the item and names it for screen readers. */
4
5
  label?: React.ReactNode;
5
6
  }
6
7
  export declare const RadioGroup: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
8
+ /** Lays the items out in a row instead of a column. @default false */
7
9
  row?: boolean;
8
10
  } & React.RefAttributes<HTMLDivElement>> & {
9
11
  Item: React.ForwardRefExoticComponent<RadioGroupItemProps & React.RefAttributes<HTMLButtonElement>>;
@@ -1 +1 @@
1
- {"version":3,"file":"RadioGroup.d.ts","sourceRoot":"","sources":["../../../src/components/RadioGroup/RadioGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAC;AA0CnE,MAAM,WAAW,mBACf,SAAQ,KAAK,CAAC,wBAAwB,CAAC,OAAO,mBAAmB,CAAC,IAAI,CAAC;IACvE,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACzB;AAiCD,eAAO,MAAM,UAAU;UApEb,OAAO;;;CAsEf,CAAC"}
1
+ {"version":3,"file":"RadioGroup.d.ts","sourceRoot":"","sources":["../../../src/components/RadioGroup/RadioGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAC;AA+CnE,MAAM,WAAW,mBACf,SAAQ,KAAK,CAAC,wBAAwB,CAAC,OAAO,mBAAmB,CAAC,IAAI,CAAC;IACvE,2FAA2F;IAC3F,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACzB;AAiCD,eAAO,MAAM,UAAU;IA1EnB,sEAAsE;UAChE,OAAO;;;CA2Ef,CAAC"}
@@ -1,10 +1,48 @@
1
- import { Meta, StoryObj } from '@storybook/react-vite';
1
+ import { ComponentProps } from 'react';
2
+ import { StoryObj } from '@storybook/react-vite';
2
3
  import { RadioGroup } from './RadioGroup';
3
- declare const meta: Meta<typeof RadioGroup>;
4
+ interface RadioOption {
5
+ value: string;
6
+ label: string;
7
+ disabled?: boolean;
8
+ }
9
+ type RadioGroupStoryArgs = ComponentProps<typeof RadioGroup> & {
10
+ options: RadioOption[];
11
+ };
12
+ declare const meta: {
13
+ title: string;
14
+ component: import('react').ForwardRefExoticComponent<Omit<import('@radix-ui/react-radio-group').RadioGroupProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & {
15
+ row?: boolean;
16
+ } & import('react').RefAttributes<HTMLDivElement>> & {
17
+ Item: import('react').ForwardRefExoticComponent<import('./RadioGroup').RadioGroupItemProps & import('react').RefAttributes<HTMLButtonElement>>;
18
+ };
19
+ subcomponents: {
20
+ "RadioGroup.Item": import('react').ForwardRefExoticComponent<import('./RadioGroup').RadioGroupItemProps & import('react').RefAttributes<HTMLButtonElement>>;
21
+ };
22
+ parameters: {
23
+ layout: string;
24
+ docs: {
25
+ description: {
26
+ component: string;
27
+ };
28
+ };
29
+ };
30
+ args: {
31
+ options: RadioOption[];
32
+ defaultValue: string;
33
+ row: false;
34
+ disabled: false;
35
+ "aria-label": string;
36
+ onValueChange: import('storybook/test').Mock<(...args: any[]) => any>;
37
+ };
38
+ render: (args: RadioGroupStoryArgs) => import("react/jsx-runtime").JSX.Element;
39
+ };
4
40
  export default meta;
5
- type Story = StoryObj<typeof RadioGroup>;
41
+ type Story = StoryObj<typeof meta>;
6
42
  export declare const Default: Story;
7
- export declare const Column: Story;
8
- export declare const Disabled: Story;
9
- export declare const DisabledGroup: Story;
43
+ export declare const Row: Story;
44
+ export declare const States: Story;
45
+ export declare const LongContent: Story;
46
+ export declare const Controlled: Story;
47
+ export declare const InsideField: Story;
10
48
  //# sourceMappingURL=RadioGroup.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RadioGroup.stories.d.ts","sourceRoot":"","sources":["../../../src/components/RadioGroup/RadioGroup.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAQ1C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CAoBjC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAC;AAEzC,eAAO,MAAM,OAAO,EAAE,KAuBrB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAuBpB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAwBtB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAoB3B,CAAC"}
1
+ {"version":3,"file":"RadioGroup.stories.d.ts","sourceRoot":"","sources":["../../../src/components/RadioGroup/RadioGroup.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AACjE,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG1C,UAAU,WAAW;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAQD,KAAK,mBAAmB,GAAG,cAAc,CAAC,OAAO,UAAU,CAAC,GAAG;IAC7D,OAAO,EAAE,WAAW,EAAE,CAAC;CACxB,CAAC;AAiBF,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsB2B,CAAC;AAEtC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAkBrB,CAAC;AAEF,eAAO,MAAM,GAAG,EAAE,KAEjB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAepB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAsBzB,CAAC;AAsBF,eAAO,MAAM,UAAU,EAAE,KAGxB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAkBzB,CAAC"}
@@ -5,38 +5,59 @@ declare const SelectRoot: React.FC<SelectPrimitive.SelectProps>;
5
5
  declare const SelectGroup: React.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React.RefAttributes<HTMLDivElement>>;
6
6
  declare const SelectValue: React.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React.RefAttributes<HTMLSpanElement>>;
7
7
  export type SelectTriggerProps = React.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger> & {
8
- /** "icon": square icon-only trigger (no chevron, no value text) — sidebar collapsed state. */
8
+ /**
9
+ * Look of the trigger: `ghost` is large text with a chevron, `outlined` a
10
+ * bordered form control, `icon` a square icon-only button (no chevron, no
11
+ * value text) that renders only its `children`.
12
+ * @default "ghost"
13
+ */
9
14
  variant?: "ghost" | "outlined" | "icon";
10
15
  /** Leading icon from `@shape/shape-ui/icons/<name>`. outlined only. */
11
16
  leadingIcon?: IconDefinition;
12
- /** Show severity bars indicator before value text. outlined only. */
17
+ /** Shows the severity bars before the value text. outlined only. @default false */
13
18
  severity?: boolean;
14
19
  /** Trailing icon from `@shape/shape-ui/icons/<name>`. outlined only. */
15
20
  trailingIcon?: IconDefinition;
16
- /** When true, hides the chevron and shows trailingIcon in its place. outlined only. */
21
+ /** Hides the chevron, so `trailingIcon` takes its place. outlined only. @default false */
17
22
  replaceChevron?: boolean;
18
- /** Error state — applies red border. outlined only. */
23
+ /**
24
+ * Paints the red border. outlined only. Inside a `Field` it defaults to the
25
+ * field's invalid state; pass it to override that.
26
+ */
19
27
  error?: boolean;
20
28
  };
21
29
  declare const SelectTrigger: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & {
22
- /** "icon": square icon-only trigger (no chevron, no value text) — sidebar collapsed state. */
30
+ /**
31
+ * Look of the trigger: `ghost` is large text with a chevron, `outlined` a
32
+ * bordered form control, `icon` a square icon-only button (no chevron, no
33
+ * value text) that renders only its `children`.
34
+ * @default "ghost"
35
+ */
23
36
  variant?: "ghost" | "outlined" | "icon";
24
37
  /** Leading icon from `@shape/shape-ui/icons/<name>`. outlined only. */
25
38
  leadingIcon?: IconDefinition;
26
- /** Show severity bars indicator before value text. outlined only. */
39
+ /** Shows the severity bars before the value text. outlined only. @default false */
27
40
  severity?: boolean;
28
41
  /** Trailing icon from `@shape/shape-ui/icons/<name>`. outlined only. */
29
42
  trailingIcon?: IconDefinition;
30
- /** When true, hides the chevron and shows trailingIcon in its place. outlined only. */
43
+ /** Hides the chevron, so `trailingIcon` takes its place. outlined only. @default false */
31
44
  replaceChevron?: boolean;
32
- /** Error state — applies red border. outlined only. */
45
+ /**
46
+ * Paints the red border. outlined only. Inside a `Field` it defaults to the
47
+ * field's invalid state; pass it to override that.
48
+ */
33
49
  error?: boolean;
34
50
  } & React.RefAttributes<HTMLButtonElement>>;
35
51
  declare const SelectContent: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
36
- /** Optional z-index applied to Radix popper wrapper (`data-radix-popper-content-wrapper`). */
52
+ /**
53
+ * z-index applied to the Radix popper wrapper
54
+ * (`data-radix-popper-content-wrapper`), for a list opened above a modal or
55
+ * another layer. Only with `position="popper"`, the default here.
56
+ */
37
57
  wrapperZIndex?: number | string;
38
58
  } & React.RefAttributes<HTMLDivElement>>;
39
59
  export interface SelectItemProps extends React.ComponentPropsWithoutRef<typeof SelectPrimitive.Item> {
60
+ /** Content after the label (a badge, a count). Not copied into the trigger. */
40
61
  suffix?: React.ReactNode;
41
62
  }
42
63
  declare const SelectItem: React.ForwardRefExoticComponent<SelectItemProps & React.RefAttributes<HTMLDivElement>>;
@@ -47,21 +68,33 @@ declare const Select: ((props: React.ComponentPropsWithoutRef<typeof SelectPrimi
47
68
  Group: React.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React.RefAttributes<HTMLDivElement>>;
48
69
  Value: React.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React.RefAttributes<HTMLSpanElement>>;
49
70
  Trigger: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & {
50
- /** "icon": square icon-only trigger (no chevron, no value text) — sidebar collapsed state. */
71
+ /**
72
+ * Look of the trigger: `ghost` is large text with a chevron, `outlined` a
73
+ * bordered form control, `icon` a square icon-only button (no chevron, no
74
+ * value text) that renders only its `children`.
75
+ * @default "ghost"
76
+ */
51
77
  variant?: "ghost" | "outlined" | "icon";
52
78
  /** Leading icon from `@shape/shape-ui/icons/<name>`. outlined only. */
53
79
  leadingIcon?: IconDefinition;
54
- /** Show severity bars indicator before value text. outlined only. */
80
+ /** Shows the severity bars before the value text. outlined only. @default false */
55
81
  severity?: boolean;
56
82
  /** Trailing icon from `@shape/shape-ui/icons/<name>`. outlined only. */
57
83
  trailingIcon?: IconDefinition;
58
- /** When true, hides the chevron and shows trailingIcon in its place. outlined only. */
84
+ /** Hides the chevron, so `trailingIcon` takes its place. outlined only. @default false */
59
85
  replaceChevron?: boolean;
60
- /** Error state — applies red border. outlined only. */
86
+ /**
87
+ * Paints the red border. outlined only. Inside a `Field` it defaults to the
88
+ * field's invalid state; pass it to override that.
89
+ */
61
90
  error?: boolean;
62
91
  } & React.RefAttributes<HTMLButtonElement>>;
63
92
  Content: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
64
- /** Optional z-index applied to Radix popper wrapper (`data-radix-popper-content-wrapper`). */
93
+ /**
94
+ * z-index applied to the Radix popper wrapper
95
+ * (`data-radix-popper-content-wrapper`), for a list opened above a modal or
96
+ * another layer. Only with `position="popper"`, the default here.
97
+ */
65
98
  wrapperZIndex?: number | string;
66
99
  } & React.RefAttributes<HTMLDivElement>>;
67
100
  Item: React.ForwardRefExoticComponent<SelectItemProps & React.RefAttributes<HTMLDivElement>>;
@@ -1 +1 @@
1
- {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,eAAe,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