@luscii-healthtech/web-ui 64.0.0 → 64.0.2

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 (78) hide show
  1. package/dist/.storybook/constants.d.ts +6 -7
  2. package/dist/stories/Accordion.stories.d.ts +0 -1
  3. package/dist/stories/ActionCard.stories.d.ts +5 -0
  4. package/dist/stories/ActionCardDetailed.stories.d.ts +5 -0
  5. package/dist/stories/AlertIcon.stories.d.ts +4 -0
  6. package/dist/stories/Avatar.stories.d.ts +4 -0
  7. package/dist/stories/Badge.stories.d.ts +4 -0
  8. package/dist/stories/Breadcrumbs.stories.d.ts +6 -0
  9. package/dist/stories/Button.stories.d.ts +6 -0
  10. package/dist/stories/ButtonGroup.stories.d.ts +4 -0
  11. package/dist/stories/ChatBubble.stories.d.ts +4 -1
  12. package/dist/stories/CheckboxList.stories.d.ts +6 -1
  13. package/dist/stories/Chip.stories.d.ts +7 -0
  14. package/dist/stories/Collapse.stories.d.ts +0 -1
  15. package/dist/stories/ConfirmationDialog.stories.d.ts +4 -0
  16. package/dist/stories/DataGrid.stories.d.ts +4 -0
  17. package/dist/stories/DatePicker.stories.d.ts +4 -0
  18. package/dist/stories/DetailsDisclosure.stories.d.ts +4 -1
  19. package/dist/stories/Divider.stories.d.ts +6 -0
  20. package/dist/stories/DropdownTrigger.stories.d.ts +4 -0
  21. package/dist/stories/Dropzone.stories.d.ts +6 -1
  22. package/dist/stories/FilterBar.stories.d.ts +4 -0
  23. package/dist/stories/FlyOutMenu.stories.d.ts +5 -0
  24. package/dist/stories/FullPageModal.stories.d.ts +4 -0
  25. package/dist/stories/Heading.stories.d.ts +6 -0
  26. package/dist/stories/Icon.stories.d.ts +4 -0
  27. package/dist/stories/InfoField.stories.d.ts +7 -1
  28. package/dist/stories/Input.stories.d.ts +7 -0
  29. package/dist/stories/InputSelect.stories.d.ts +7 -1
  30. package/dist/stories/InstrumentCard.stories.d.ts +5 -0
  31. package/dist/stories/LabeledCheckbox.stories.d.ts +4 -0
  32. package/dist/stories/LabeledDatePicker.stories.d.ts +4 -1
  33. package/dist/stories/LabeledInput.stories.d.ts +5 -1
  34. package/dist/stories/LabeledRadio.stories.d.ts +4 -0
  35. package/dist/stories/LabeledSelectSearchable.stories.d.ts +0 -1
  36. package/dist/stories/LabeledTextarea.stories.d.ts +5 -1
  37. package/dist/stories/Link.stories.d.ts +7 -1
  38. package/dist/stories/LinkIcon.stories.d.ts +6 -0
  39. package/dist/stories/MediaPicker.stories.d.ts +6 -0
  40. package/dist/stories/Modal.stories.d.ts +4 -0
  41. package/dist/stories/ModalDialog.stories.d.ts +4 -1
  42. package/dist/stories/NaturalLanguageForm.stories.d.ts +0 -1
  43. package/dist/stories/NotificationBanner.stories.d.ts +4 -0
  44. package/dist/stories/PageHeader.stories.d.ts +5 -0
  45. package/dist/stories/PageWithCenteredContentLayout.stories.d.ts +0 -1
  46. package/dist/stories/Pagination.stories.d.ts +7 -0
  47. package/dist/stories/PrimaryButton.stories.d.ts +6 -0
  48. package/dist/stories/PrimaryIconButton.stories.d.ts +6 -0
  49. package/dist/stories/PrimaryTabBar.stories.d.ts +5 -1
  50. package/dist/stories/RangeCoverage.stories.d.ts +5 -0
  51. package/dist/stories/RangeTriggerIcon.stories.d.ts +4 -0
  52. package/dist/stories/SearchInput.stories.d.ts +6 -1
  53. package/dist/stories/SecondaryButton.stories.d.ts +6 -0
  54. package/dist/stories/SecondaryIconButton.stories.d.ts +6 -0
  55. package/dist/stories/Spinner.stories.d.ts +6 -1
  56. package/dist/stories/SplitViewLayout.stories.d.ts +0 -1
  57. package/dist/stories/StatusIndicator.stories.d.ts +4 -0
  58. package/dist/stories/Steps.stories.d.ts +7 -0
  59. package/dist/stories/StyledSelect.stories.d.ts +7 -1
  60. package/dist/stories/Switch.stories.d.ts +7 -0
  61. package/dist/stories/Switcher.stories.d.ts +7 -0
  62. package/dist/stories/Table.stories.d.ts +4 -1
  63. package/dist/stories/Tabs.stories.d.ts +7 -1
  64. package/dist/stories/Tag.stories.d.ts +4 -0
  65. package/dist/stories/TertiaryButton.stories.d.ts +6 -0
  66. package/dist/stories/TertiaryIconButton.stories.d.ts +6 -0
  67. package/dist/stories/Text.stories.d.ts +6 -0
  68. package/dist/stories/TextEditor.stories.d.ts +6 -0
  69. package/dist/stories/Textarea.stories.d.ts +7 -0
  70. package/dist/stories/Timeline.stories.d.ts +7 -0
  71. package/dist/stories/TimelineCard.stories.d.ts +5 -0
  72. package/dist/stories/TimelineCardLayout.stories.d.ts +5 -0
  73. package/dist/stories/Toaster.stories.d.ts +6 -0
  74. package/dist/stories/Tooltip.stories.d.ts +6 -0
  75. package/dist/stories/UnorderedList.stories.d.ts +0 -1
  76. package/dist/stories/VerticalMenu.stories.d.ts +5 -0
  77. package/dist/stories/WeekdaysPicker.stories.d.ts +4 -1
  78. package/package.json +2 -1
@@ -1,12 +1,11 @@
1
1
  import { type Meta } from "@storybook/react-vite";
2
2
  export declare const BADGES: {
3
- readonly NEEDS_REVISION: "needs-revision";
4
- readonly DOCUMENTED: "documented";
5
- readonly STABLE: "stable";
6
- readonly NEW: "new";
7
3
  readonly DEPRECATED: "deprecated";
4
+ readonly MOVE_TO_VITALS: "move-to-vitals";
8
5
  };
9
- type TAGS = (typeof BADGES)[keyof typeof BADGES][];
6
+ /** `figma:<Name>` marks a component whose name differs from its Figma page, e.g. `figma:ToggleSwitch`. */
7
+ type FigmaNameTag = `figma:${string}`;
8
+ type TAGS = ((typeof BADGES)[keyof typeof BADGES] | FigmaNameTag)[];
10
9
  /**
11
10
  * A drop-in replacements for `"@storybook/react"`'s Meta type which extends the type with web-ui's tags.
12
11
  *
@@ -15,11 +14,11 @@ type TAGS = (typeof BADGES)[keyof typeof BADGES][];
15
14
  * const meta = {
16
15
  * title: "Layout/SplitViewLayout",
17
16
  * component: Component,
18
- * tags: ["new"], // `tags` is now type-checked and auto-completes
17
+ * tags: ["deprecated"], // `tags` is now type-checked and auto-completes
19
18
  * } satisfies MMeta<typeof Component>;
20
19
  */
21
20
  export type MMeta<T> = Meta<T> & {
22
- tags: TAGS;
21
+ tags?: TAGS;
23
22
  };
24
23
  /**
25
24
  * For stories specifically used in the Docs page that are not intended
@@ -2,7 +2,6 @@ import { type StoryObj } from "@storybook/react-vite";
2
2
  declare const meta: {
3
3
  title: string;
4
4
  component: import("react").FC<import("../src/components/Accordion/Accordion").AccordionProps>;
5
- tags: "needs-revision"[];
6
5
  };
7
6
  export default meta;
8
7
  type Story = StoryObj<typeof meta>;
@@ -2,8 +2,13 @@ import { type StoryObj } from "@storybook/react-vite";
2
2
  import { type ActionType } from "../src/components/ActionCard/ActionCard";
3
3
  declare const meta: {
4
4
  title: string;
5
+ tags: string[];
5
6
  component: import("react").FC<import("../src").ActionCardProps>;
6
7
  parameters: {
8
+ design: {
9
+ type: string;
10
+ url: string;
11
+ };
7
12
  backgrounds: {
8
13
  default: string;
9
14
  };
@@ -3,8 +3,13 @@ import { type ActionType } from "../src/components/ActionCard/ActionCard";
3
3
  import { type Props as ActionCardDetailedProps } from "../src/components/ActionCardDetailed/ActionCardDetailed";
4
4
  declare const meta: {
5
5
  title: string;
6
+ tags: string[];
6
7
  component: ({ type, iconUrl, title, category, metadata, schedule, scheduleHeading, instruments, instrumentsHeading, children, editLabel, deleteLabel, closeLabel, onEdit, onDelete, onClose, className, }: ActionCardDetailedProps) => import("react").JSX.Element;
7
8
  parameters: {
9
+ design: {
10
+ type: string;
11
+ url: string;
12
+ };
8
13
  layout: string;
9
14
  backgrounds: {
10
15
  default: string;
@@ -18,6 +18,10 @@ declare const meta: {
18
18
  };
19
19
  };
20
20
  parameters: {
21
+ design: {
22
+ type: string;
23
+ url: string;
24
+ };
21
25
  docs: {
22
26
  page: typeof AlertIconDocumentation;
23
27
  };
@@ -30,6 +30,10 @@ declare const meta: {
30
30
  };
31
31
  };
32
32
  parameters: {
33
+ design: {
34
+ type: string;
35
+ url: string;
36
+ };
33
37
  backgrounds: {
34
38
  default: string;
35
39
  };
@@ -7,6 +7,10 @@ declare const meta: {
7
7
  children: string | number;
8
8
  }>;
9
9
  parameters: {
10
+ design: {
11
+ type: string;
12
+ url: string;
13
+ };
10
14
  docs: {
11
15
  page: typeof BadgeDocumentation;
12
16
  };
@@ -2,6 +2,12 @@ import type { StoryObj } from "@storybook/react-vite";
2
2
  import { type BreadcrumbProps } from "../src/components/Breadcrumbs";
3
3
  declare const _default: {
4
4
  title: string;
5
+ parameters: {
6
+ design: {
7
+ type: string;
8
+ url: string;
9
+ };
10
+ };
5
11
  component: import("react").FC<BreadcrumbProps>;
6
12
  argTypes: {};
7
13
  };
@@ -1,6 +1,12 @@
1
1
  import { type StoryObj } from "@storybook/react-vite";
2
2
  declare const meta: {
3
3
  title: string;
4
+ parameters: {
5
+ design: {
6
+ type: string;
7
+ url: string;
8
+ };
9
+ };
4
10
  component: ({ ref, ...props }: import("../src/components/ButtonV2/ButtonProps.type").ButtonProps) => import("react").JSX.Element;
5
11
  decorators: import("@storybook/react").Decorator;
6
12
  };
@@ -3,6 +3,10 @@ declare const meta: {
3
3
  title: string;
4
4
  component: ({ ref, children, direction, className, ...otherAttributes }: import("../src").ButtonGroupProps) => import("react").JSX.Element;
5
5
  parameters: {
6
+ design: {
7
+ type: string;
8
+ url: string;
9
+ };
6
10
  docs: {
7
11
  description: {
8
12
  component: string;
@@ -4,11 +4,14 @@ declare const meta: {
4
4
  title: string;
5
5
  component: typeof ChatBubble;
6
6
  parameters: {
7
+ design: {
8
+ type: string;
9
+ url: string;
10
+ };
7
11
  backgrounds: {
8
12
  default: string;
9
13
  };
10
14
  };
11
- tags: "new"[];
12
15
  };
13
16
  export default meta;
14
17
  type Story = StoryObj<typeof meta>;
@@ -1,8 +1,13 @@
1
1
  import { type StoryObj } from "@storybook/react-vite";
2
2
  declare const meta: {
3
3
  title: string;
4
+ parameters: {
5
+ design: {
6
+ type: string;
7
+ url: string;
8
+ };
9
+ };
4
10
  component: import("react").FC<import("../src").CheckboxListProps>;
5
- tags: "new"[];
6
11
  };
7
12
  export default meta;
8
13
  type Story = StoryObj<typeof meta>;
@@ -1,6 +1,13 @@
1
1
  import { type StoryObj } from "@storybook/react-vite";
2
2
  declare const meta: {
3
3
  title: string;
4
+ parameters: {
5
+ design: {
6
+ type: string;
7
+ url: string;
8
+ };
9
+ };
10
+ tags: string[];
4
11
  component: ({ accessory, leadingIcon, onClick, text }: {
5
12
  accessory?: React.ReactNode;
6
13
  leadingIcon?: React.ReactNode;
@@ -10,7 +10,6 @@ declare const meta: {
10
10
  moreIndicator?: import("react").ReactNode;
11
11
  showMoreIndicator?: boolean;
12
12
  }) => import("react").JSX.Element;
13
- tags: "new"[];
14
13
  };
15
14
  export default meta;
16
15
  type Story = StoryObj<typeof meta>;
@@ -5,6 +5,10 @@ declare const meta: {
5
5
  component: import("react").FC<ConfirmationDialogProps>;
6
6
  tags: string[];
7
7
  parameters: {
8
+ design: {
9
+ type: string;
10
+ url: string;
11
+ };
8
12
  docs: {
9
13
  description: {
10
14
  component: string;
@@ -17,6 +17,10 @@ declare const meta: {
17
17
  component: ({ items, fieldConfigurations, emptyRowsText, emptyFieldContentText, isLoading, showHeader, paginationMenuProps, onRowClick, className, dataTestId, isSelectable, selectedItems, onSelectedRowsChange, rowSelectionHeaderAccessories, ...otherAttributes }: DataGridProps<RowItem>) => import("react").JSX.Element;
18
18
  decorators: import("@storybook/react").Decorator;
19
19
  parameters: {
20
+ design: {
21
+ type: string;
22
+ url: string;
23
+ };
20
24
  docs: {
21
25
  page: typeof DataGridDocumentation;
22
26
  };
@@ -16,6 +16,10 @@ declare const meta: {
16
16
  };
17
17
  };
18
18
  parameters: {
19
+ design: {
20
+ type: string;
21
+ url: string;
22
+ };
19
23
  docs: {
20
24
  story: {
21
25
  autoplay: boolean;
@@ -30,11 +30,14 @@ declare const meta: {
30
30
  Summary: typeof import("../src/components/DetailsDisclosure/DetailsDisclosure").Summary;
31
31
  };
32
32
  parameters: {
33
+ design: {
34
+ type: string;
35
+ url: string;
36
+ };
33
37
  backgrounds: {
34
38
  default: string;
35
39
  };
36
40
  };
37
- tags: "new"[];
38
41
  };
39
42
  export default meta;
40
43
  type Story = StoryObj<typeof meta>;
@@ -1,6 +1,12 @@
1
1
  import { type StoryObj } from "@storybook/react-vite";
2
2
  declare const meta: {
3
3
  title: string;
4
+ parameters: {
5
+ design: {
6
+ type: string;
7
+ url: string;
8
+ };
9
+ };
4
10
  component: import("react").FC<(Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
5
11
  dark?: boolean;
6
12
  }) | (Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHRElement>, HTMLHRElement>, "ref"> & {
@@ -3,6 +3,10 @@ declare const meta: {
3
3
  title: string;
4
4
  component: ({ ref, variant, children, placeholder, leadingIcon, trailingIcon, width, className, type, ...otherAttributes }: import("../src").DropdownTriggerProps) => import("react").JSX.Element;
5
5
  parameters: {
6
+ design: {
7
+ type: string;
8
+ url: string;
9
+ };
6
10
  backgrounds: {
7
11
  default: string;
8
12
  };
@@ -2,11 +2,16 @@ import { type StoryObj } from "@storybook/react-vite";
2
2
  import { Dropzone } from "../src/components/Dropzone/Dropzone";
3
3
  declare const _default: {
4
4
  title: string;
5
+ parameters: {
6
+ design: {
7
+ type: string;
8
+ url: string;
9
+ };
10
+ };
5
11
  component: import("react").ForwardRefExoticComponent<Omit<import("react").HTMLProps<HTMLDivElement> & {
6
12
  isHighlighted?: boolean;
7
13
  className?: string;
8
14
  }, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
9
- tags: string[];
10
15
  };
11
16
  export default _default;
12
17
  export declare const Default: StoryObj<typeof Dropzone>;
@@ -15,6 +15,10 @@ declare const meta: {
15
15
  menuOrder?: ["presetFilters", "divider", "sorting"] | ["sorting", "divider", "presetFilters"];
16
16
  } & import("../src/components/FilterBar/FilterBarProps.type").HasSingleSelection) => import("react").ReactElement | null;
17
17
  parameters: {
18
+ design: {
19
+ type: string;
20
+ url: string;
21
+ };
18
22
  testRunnerA11y: {
19
23
  disabledRules: string[];
20
24
  };
@@ -2,8 +2,13 @@ import React from "react";
2
2
  import { type StoryObj } from "@storybook/react-vite";
3
3
  declare const meta: {
4
4
  title: string;
5
+ tags: string[];
5
6
  component: (props: React.ComponentPropsWithoutRef<React.FC<import("@radix-ui/react-dropdown-menu").DropdownMenuProps>>) => React.JSX.Element;
6
7
  parameters: {
8
+ design: {
9
+ type: string;
10
+ url: string;
11
+ };
7
12
  backgrounds: {
8
13
  default: string;
9
14
  };
@@ -6,6 +6,10 @@ declare const _default: {
6
6
  };
7
7
  tags: string[];
8
8
  parameters: {
9
+ design: {
10
+ type: string;
11
+ url: string;
12
+ };
9
13
  docs: {
10
14
  description: {
11
15
  component: string;
@@ -1,6 +1,12 @@
1
1
  import { type StoryObj } from "@storybook/react-vite";
2
2
  declare const meta: {
3
3
  title: string;
4
+ parameters: {
5
+ design: {
6
+ type: string;
7
+ url: string;
8
+ };
9
+ };
4
10
  component: ({ as: Element, variant, className, children, ...rest }: Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref">, "children"> & {
5
11
  as?: import("react").ElementType;
6
12
  children?: import("react").ReactNode;
@@ -11,6 +11,10 @@ declare const _default: {
11
11
  color?: import("../src/components/Text/Text").TextColor;
12
12
  } & Omit<import("react").SVGProps<SVGSVGElement>, "ref">>;
13
13
  parameters: {
14
+ design: {
15
+ type: string;
16
+ url: string;
17
+ };
14
18
  docs: {
15
19
  description: {
16
20
  component: string;
@@ -1,6 +1,13 @@
1
1
  import { type StoryObj } from "@storybook/react-vite";
2
2
  declare const meta: {
3
3
  title: string;
4
+ parameters: {
5
+ design: {
6
+ type: string;
7
+ url: string;
8
+ };
9
+ };
10
+ tags: string[];
4
11
  component: import("react").FC<{
5
12
  label: string;
6
13
  value: string;
@@ -21,7 +28,6 @@ declare const meta: {
21
28
  options: string[];
22
29
  };
23
30
  };
24
- tags: string[];
25
31
  };
26
32
  export default meta;
27
33
  type Story = StoryObj<typeof meta>;
@@ -1,6 +1,13 @@
1
1
  import type { StoryObj } from "@storybook/react-vite";
2
2
  declare const meta: {
3
3
  title: string;
4
+ parameters: {
5
+ design: {
6
+ type: string;
7
+ url: string;
8
+ };
9
+ };
10
+ tags: string[];
4
11
  component: import("react").ForwardRefExoticComponent<import("../src/components/Input/Input").InputProps & import("react").RefAttributes<HTMLInputElement>>;
5
12
  args: {
6
13
  "aria-label": string;
@@ -2,6 +2,13 @@ import type { StoryObj } from "@storybook/react-vite";
2
2
  import { InputSelect } from "../src/components/InputSelect/InputSelect";
3
3
  declare const meta: {
4
4
  title: string;
5
+ parameters: {
6
+ design: {
7
+ type: string;
8
+ url: string;
9
+ };
10
+ };
11
+ tags: "figma:InputSelectCombi"[];
5
12
  component: import("react").ForwardRefExoticComponent<import("../src/components/InputSelect/InputSelect").InputSelectProps & import("react").RefAttributes<HTMLDivElement>> & {
6
13
  Input: import("react").ForwardRefExoticComponent<Omit<Omit<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "width"> & {
7
14
  suffix?: string;
@@ -23,7 +30,6 @@ declare const meta: {
23
30
  isError?: boolean;
24
31
  } & import("react").RefAttributes<HTMLSelectElement>, "ref"> & import("react").RefAttributes<HTMLSelectElement>>;
25
32
  };
26
- tags: "new"[];
27
33
  };
28
34
  export default meta;
29
35
  type Story = StoryObj<typeof InputSelect>;
@@ -2,8 +2,13 @@ import { type StoryObj } from "@storybook/react-vite";
2
2
  import { type InstrumentType } from "../src/components/InstrumentCard/InstrumentCard";
3
3
  declare const meta: {
4
4
  title: string;
5
+ tags: string[];
5
6
  component: import("react").FC<import("../src").InstrumentCardProps>;
6
7
  parameters: {
8
+ design: {
9
+ type: string;
10
+ url: string;
11
+ };
7
12
  backgrounds: {
8
13
  default: string;
9
14
  };
@@ -15,6 +15,10 @@ declare const meta: {
15
15
  aside?: never;
16
16
  }, "ref"> & React.RefAttributes<HTMLInputElement>>;
17
17
  parameters: {
18
+ design: {
19
+ type: string;
20
+ url: string;
21
+ };
18
22
  backgrounds: {
19
23
  default: string;
20
24
  };
@@ -42,11 +42,14 @@ declare const meta: {
42
42
  };
43
43
  };
44
44
  parameters: {
45
+ design: {
46
+ type: string;
47
+ url: string;
48
+ };
45
49
  backgrounds: {
46
50
  default: string;
47
51
  };
48
52
  };
49
- tags: "new"[];
50
53
  };
51
54
  export default meta;
52
55
  type Story = StoryObj<typeof meta>;
@@ -1,6 +1,7 @@
1
1
  import type { StoryObj } from "@storybook/react-vite";
2
2
  declare const meta: {
3
3
  title: string;
4
+ tags: "figma:InputFields"[];
4
5
  component: import("react").ForwardRefExoticComponent<Omit<Omit<Omit<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "width"> & {
5
6
  suffix?: string;
6
7
  prefix?: string;
@@ -32,11 +33,14 @@ declare const meta: {
32
33
  };
33
34
  };
34
35
  parameters: {
36
+ design: {
37
+ type: string;
38
+ url: string;
39
+ };
35
40
  backgrounds: {
36
41
  default: string;
37
42
  };
38
43
  };
39
- tags: "new"[];
40
44
  };
41
45
  export default meta;
42
46
  type Story = StoryObj<typeof meta>;
@@ -12,6 +12,10 @@ declare const meta: {
12
12
  errorText?: React.ReactNode;
13
13
  }, "ref"> & React.RefAttributes<HTMLInputElement>>;
14
14
  parameters: {
15
+ design: {
16
+ type: string;
17
+ url: string;
18
+ };
15
19
  backgrounds: {
16
20
  default: string;
17
21
  };
@@ -24,7 +24,6 @@ declare const meta: {
24
24
  default: string;
25
25
  };
26
26
  };
27
- tags: "new"[];
28
27
  };
29
28
  export default meta;
30
29
  type Story = StoryObj<typeof meta>;
@@ -1,6 +1,7 @@
1
1
  import type { StoryObj } from "@storybook/react-vite";
2
2
  declare const meta: {
3
3
  title: string;
4
+ tags: "figma:TextAreaField"[];
4
5
  component: (props: (Omit<import("../src").TextareaProps, "isDisabled" | "isError"> & {
5
6
  label?: React.ReactNode;
6
7
  helperText?: React.ReactNode;
@@ -31,11 +32,14 @@ declare const meta: {
31
32
  };
32
33
  };
33
34
  parameters: {
35
+ design: {
36
+ type: string;
37
+ url: string;
38
+ };
34
39
  backgrounds: {
35
40
  default: string;
36
41
  };
37
42
  };
38
- tags: "new"[];
39
43
  };
40
44
  export default meta;
41
45
  type Story = StoryObj<typeof meta>;
@@ -2,8 +2,14 @@ import { type StoryObj } from "@storybook/react-vite";
2
2
  import { Link } from "../src/components/Link/Link";
3
3
  declare const meta: {
4
4
  title: string;
5
+ parameters: {
6
+ design: {
7
+ type: string;
8
+ url: string;
9
+ };
10
+ };
11
+ tags: "figma:Hyperlink"[];
5
12
  component: typeof Link;
6
- tags: ("stable" | "documented")[];
7
13
  };
8
14
  export default meta;
9
15
  type Story = StoryObj<typeof meta>;
@@ -1,5 +1,11 @@
1
1
  declare const _default: {
2
2
  title: string;
3
+ parameters: {
4
+ design: {
5
+ type: string;
6
+ url: string;
7
+ };
8
+ };
3
9
  component: import("react").FC<import("../src").IconProps>;
4
10
  };
5
11
  export default _default;
@@ -2,6 +2,12 @@ import { type StoryObj } from "@storybook/react-vite";
2
2
  import { type MediaPickerProps } from "../src/components/MediaPicker/MediaPicker";
3
3
  declare const meta: {
4
4
  title: string;
5
+ parameters: {
6
+ design: {
7
+ type: string;
8
+ url: string;
9
+ };
10
+ };
5
11
  component: import("react").ForwardRefExoticComponent<MediaPickerProps & import("react").RefAttributes<HTMLButtonElement>>;
6
12
  };
7
13
  export default meta;
@@ -4,6 +4,10 @@ declare const _default: {
4
4
  setAppElement: any;
5
5
  };
6
6
  parameters: {
7
+ design: {
8
+ type: string;
9
+ url: string;
10
+ };
7
11
  docs: {
8
12
  description: {
9
13
  component: string;
@@ -21,11 +21,14 @@ declare const meta: {
21
21
  };
22
22
  };
23
23
  parameters: {
24
+ design: {
25
+ type: string;
26
+ url: string;
27
+ };
24
28
  docs: {
25
29
  page: typeof Documentation;
26
30
  };
27
31
  };
28
- tags: "new"[];
29
32
  };
30
33
  export default meta;
31
34
  type Story = StoryObj<typeof meta>;
@@ -63,7 +63,6 @@ declare const meta: {
63
63
  } & import("react").RefAttributes<HTMLSelectElement>, "ref"> & import("react").RefAttributes<HTMLSelectElement>>;
64
64
  };
65
65
  };
66
- tags: "new"[];
67
66
  };
68
67
  export default meta;
69
68
  type Story = StoryObj<typeof NaturalLanguageForm>;
@@ -3,6 +3,10 @@ declare const meta: {
3
3
  title: string;
4
4
  component: import("react").FC<import("../src/components/NotificationBanner/NotificationBanner").NotificationBannerProps>;
5
5
  parameters: {
6
+ design: {
7
+ type: string;
8
+ url: string;
9
+ };
6
10
  docs: {
7
11
  description: {
8
12
  component: string;
@@ -2,8 +2,13 @@ import { type StoryObj } from "@storybook/react-vite";
2
2
  import { type PageHeaderProps } from "../src/components/PageHeader";
3
3
  declare const _default: {
4
4
  title: string;
5
+ tags: string[];
5
6
  component: import("react").FC<PageHeaderProps>;
6
7
  parameters: {
8
+ design: {
9
+ type: string;
10
+ url: string;
11
+ };
7
12
  layout: string;
8
13
  };
9
14
  };
@@ -47,7 +47,6 @@ declare const meta: {
47
47
  ref?: any;
48
48
  }>;
49
49
  };
50
- tags: "new"[];
51
50
  parameters: {
52
51
  layout: string;
53
52
  };
@@ -3,6 +3,13 @@ import { PaginationMenu } from "../src";
3
3
  import { type PaginationMenuProps } from "../src";
4
4
  declare const _default: {
5
5
  title: string;
6
+ parameters: {
7
+ design: {
8
+ type: string;
9
+ url: string;
10
+ };
11
+ };
12
+ tags: string[];
6
13
  component: (props: PaginationMenuProps) => import("react").JSX.Element;
7
14
  };
8
15
  export default _default;
@@ -2,6 +2,12 @@ import type { JSX } from "react";
2
2
  import type { StoryObj } from "@storybook/react-vite";
3
3
  declare const meta: {
4
4
  title: string;
5
+ parameters: {
6
+ design: {
7
+ type: string;
8
+ url: string;
9
+ };
10
+ };
5
11
  component: ({ ref, ...props }: import("../src/components/ButtonV2/ButtonProps.type").ButtonProps) => JSX.Element;
6
12
  decorators: import("@storybook/react").Decorator;
7
13
  };
@@ -1,6 +1,12 @@
1
1
  import { type StoryObj } from "@storybook/react-vite";
2
2
  declare const meta: {
3
3
  title: string;
4
+ parameters: {
5
+ design: {
6
+ type: string;
7
+ url: string;
8
+ };
9
+ };
4
10
  component: (props: import("../src/components/ButtonV2/ButtonProps.type").IconButtonProps) => import("react").JSX.Element;
5
11
  decorators: import("@storybook/react").Decorator;
6
12
  };
@@ -1,6 +1,7 @@
1
1
  import { type StoryObj } from "@storybook/react-vite";
2
2
  declare const meta: {
3
3
  title: string;
4
+ tags: string[];
4
5
  component: {
5
6
  ({ ref, className, ...props }: import("react").ComponentProps<import("react").ForwardRefExoticComponent<import("@radix-ui/react-tabs").TabsProps & import("react").RefAttributes<HTMLDivElement>>>): import("react").JSX.Element;
6
7
  displayName: string;
@@ -27,8 +28,11 @@ declare const meta: {
27
28
  displayName: string;
28
29
  };
29
30
  };
30
- tags: string[];
31
31
  parameters: {
32
+ design: {
33
+ type: string;
34
+ url: string;
35
+ };
32
36
  layout: string;
33
37
  };
34
38
  decorators: ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react").ReactRenderer, {
@@ -1,6 +1,7 @@
1
1
  import { type StoryObj } from "@storybook/react-vite";
2
2
  declare const meta: {
3
3
  title: string;
4
+ tags: string[];
4
5
  component: import("react").FC<import("../src/components/RangeCoverage/RangeCoverage.js").Props> & {
5
6
  Colors: {
6
7
  RED: string;
@@ -41,6 +42,10 @@ declare const meta: {
41
42
  useAdaptiveTicks: typeof import("../src/components/RangeCoverage/hooks/use-adaptive-ticks.hook").useAdaptiveTicks;
42
43
  };
43
44
  parameters: {
45
+ design: {
46
+ type: string;
47
+ url: string;
48
+ };
44
49
  docs: {
45
50
  description: {
46
51
  component: string;
@@ -18,6 +18,10 @@ declare const meta: {
18
18
  };
19
19
  };
20
20
  parameters: {
21
+ design: {
22
+ type: string;
23
+ url: string;
24
+ };
21
25
  docs: {
22
26
  page: typeof RangeTriggerIconDocumentation;
23
27
  };
@@ -1,8 +1,13 @@
1
1
  import { type StoryObj } from "@storybook/react-vite";
2
2
  declare const meta: {
3
3
  title: string;
4
+ parameters: {
5
+ design: {
6
+ type: string;
7
+ url: string;
8
+ };
9
+ };
4
10
  component: import("react").ForwardRefExoticComponent<Omit<import("../src").SearchInputProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
5
- tags: ("needs-revision" | "documented")[];
6
11
  };
7
12
  export default meta;
8
13
  type Story = StoryObj<typeof meta>;
@@ -1,6 +1,12 @@
1
1
  import { type StoryObj } from "@storybook/react-vite";
2
2
  declare const meta: {
3
3
  title: string;
4
+ parameters: {
5
+ design: {
6
+ type: string;
7
+ url: string;
8
+ };
9
+ };
4
10
  component: (props: import("../src/components/ButtonV2/ButtonProps.type").ButtonProps) => import("react").JSX.Element;
5
11
  decorators: import("@storybook/react").Decorator;
6
12
  };
@@ -1,6 +1,12 @@
1
1
  import { type StoryObj } from "@storybook/react-vite";
2
2
  declare const meta: {
3
3
  title: string;
4
+ parameters: {
5
+ design: {
6
+ type: string;
7
+ url: string;
8
+ };
9
+ };
4
10
  component: (props: import("../src/components/ButtonV2/ButtonProps.type").IconButtonProps) => import("react").JSX.Element;
5
11
  decorators: import("@storybook/react").Decorator;
6
12
  };
@@ -1,10 +1,15 @@
1
1
  import { type StoryObj } from "@storybook/react-vite";
2
2
  declare const meta: {
3
3
  title: string;
4
+ parameters: {
5
+ design: {
6
+ type: string;
7
+ url: string;
8
+ };
9
+ };
4
10
  component: import("react").FC<{
5
11
  className?: string;
6
12
  }>;
7
- tags: ("stable" | "documented")[];
8
13
  };
9
14
  export default meta;
10
15
  type Story = StoryObj<typeof meta>;
@@ -19,7 +19,6 @@ declare const meta: {
19
19
  }>> & {
20
20
  Aside: import("react").FC<Omit<Omit<import("react").HTMLProps<HTMLDialogElement>, "ref">, "open">>;
21
21
  };
22
- tags: "new"[];
23
22
  parameters: {
24
23
  layout: string;
25
24
  };
@@ -7,6 +7,10 @@ declare const meta: {
7
7
  children: import("react").ReactNode;
8
8
  }>;
9
9
  parameters: {
10
+ design: {
11
+ type: string;
12
+ url: string;
13
+ };
10
14
  docs: {
11
15
  page: typeof StatusIndicatorDocs;
12
16
  };
@@ -1,5 +1,12 @@
1
1
  declare const _default: {
2
2
  title: string;
3
+ parameters: {
4
+ design: {
5
+ type: string;
6
+ url: string;
7
+ };
8
+ };
9
+ tags: string[];
3
10
  component: import("react").FC<{
4
11
  children?: React.ReactNode;
5
12
  className?: string;
@@ -2,6 +2,13 @@ import type { StoryObj } from "@storybook/react-vite";
2
2
  import { StyledSelect } from "../src/components/Select/StyledSelect";
3
3
  declare const meta: {
4
4
  title: string;
5
+ parameters: {
6
+ design: {
7
+ type: string;
8
+ url: string;
9
+ };
10
+ };
11
+ tags: "figma:DropdownFields"[];
5
12
  component: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").DetailedHTMLProps<import("react").SelectHTMLAttributes<HTMLSelectElement>, HTMLSelectElement>, "ref">, "width"> & {
6
13
  children?: React.ReactNode;
7
14
  suffix?: string;
@@ -10,7 +17,6 @@ declare const meta: {
10
17
  height?: import("../src/system/Sizes").FormHeightNames;
11
18
  isError?: boolean;
12
19
  } & import("react").RefAttributes<HTMLSelectElement>>;
13
- tags: never[];
14
20
  };
15
21
  export default meta;
16
22
  type Story = StoryObj<typeof StyledSelect>;
@@ -1,6 +1,13 @@
1
1
  import { type StoryObj } from "@storybook/react-vite";
2
2
  declare const meta: {
3
3
  title: string;
4
+ parameters: {
5
+ design: {
6
+ type: string;
7
+ url: string;
8
+ };
9
+ };
10
+ tags: string[];
4
11
  component: (props: import("../src/components/Switch/Switch").SwitchProps) => import("react").JSX.Element;
5
12
  args: {
6
13
  id: string;
@@ -1,6 +1,13 @@
1
1
  import { type StoryObj } from "@storybook/react-vite";
2
2
  declare const meta: {
3
3
  title: string;
4
+ parameters: {
5
+ design: {
6
+ type: string;
7
+ url: string;
8
+ };
9
+ };
10
+ tags: string[];
4
11
  component: import("react").FC<import("../src/components/Switcher/Switcher").SwitcherProps>;
5
12
  args: {
6
13
  onChange: import("storybook/actions").HandlerFunction;
@@ -10,6 +10,10 @@ declare const meta: {
10
10
  Td: import("react").ForwardRefExoticComponent<import("../src/components/Table/Table").TdProps & import("react").RefAttributes<HTMLTableCellElement>>;
11
11
  };
12
12
  parameters: {
13
+ design: {
14
+ type: string;
15
+ url: string;
16
+ };
13
17
  docs: {
14
18
  description: {
15
19
  component: string;
@@ -17,7 +21,6 @@ declare const meta: {
17
21
  };
18
22
  };
19
23
  decorators: import("@storybook/react").Decorator[];
20
- tags: string[];
21
24
  };
22
25
  export default meta;
23
26
  type Story = StoryObj<typeof meta>;
@@ -2,6 +2,13 @@ import { type StoryObj } from "@storybook/react-vite";
2
2
  import React from "react";
3
3
  declare const meta: {
4
4
  title: string;
5
+ parameters: {
6
+ design: {
7
+ type: string;
8
+ url: string;
9
+ };
10
+ };
11
+ tags: string[];
5
12
  component: {
6
13
  (props: React.ComponentProps<React.ForwardRefExoticComponent<import("@radix-ui/react-tabs").TabsProps & React.RefAttributes<HTMLDivElement>>>): React.JSX.Element;
7
14
  displayName: string;
@@ -34,7 +41,6 @@ declare const meta: {
34
41
  }>;
35
42
  "Tabs.LabelText": React.FC<import("../src/components/Text/Text").LegacyTextProps<"span">>;
36
43
  };
37
- tags: string[];
38
44
  };
39
45
  export default meta;
40
46
  type Story = StoryObj<typeof meta>;
@@ -3,6 +3,10 @@ declare const meta: {
3
3
  title: string;
4
4
  component: import("react").FC<import("../src/components/Tag/Tag").Props<"span">>;
5
5
  parameters: {
6
+ design: {
7
+ type: string;
8
+ url: string;
9
+ };
6
10
  backgrounds: {
7
11
  default: string;
8
12
  };
@@ -1,6 +1,12 @@
1
1
  import { type StoryObj } from "@storybook/react-vite";
2
2
  declare const meta: {
3
3
  title: string;
4
+ parameters: {
5
+ design: {
6
+ type: string;
7
+ url: string;
8
+ };
9
+ };
4
10
  component: ({ ref, ...props }: import("../src/components/ButtonV2/ButtonProps.type").ButtonProps) => import("react").JSX.Element;
5
11
  decorators: import("@storybook/react").Decorator;
6
12
  };
@@ -1,6 +1,12 @@
1
1
  import { type StoryObj } from "@storybook/react-vite";
2
2
  declare const meta: {
3
3
  title: string;
4
+ parameters: {
5
+ design: {
6
+ type: string;
7
+ url: string;
8
+ };
9
+ };
4
10
  component: (props: import("../src").PrimaryButtonProps & {
5
11
  children: import("react").ReactNode;
6
12
  label: string;
@@ -1,6 +1,12 @@
1
1
  import { type StoryObj } from "@storybook/react-vite";
2
2
  declare const meta: {
3
3
  title: string;
4
+ parameters: {
5
+ design: {
6
+ type: string;
7
+ url: string;
8
+ };
9
+ };
4
10
  component: <C extends import("react").ElementType = "p">(props: import("../src/components/Text/Text").TextProps<C>) => import("react").JSX.Element;
5
11
  args: {
6
12
  children: string;
@@ -1,6 +1,12 @@
1
1
  import { type TextEditorToolbarOption } from "../src/components/TextEditor/TextEditorToolbar";
2
2
  declare const _default: {
3
3
  title: string;
4
+ parameters: {
5
+ design: {
6
+ type: string;
7
+ url: string;
8
+ };
9
+ };
4
10
  component: import("react").FC<import("react").HTMLAttributes<HTMLDivElement> & {
5
11
  onValueChange: (html: string, content: Record<string, unknown>, source: string) => void;
6
12
  formats?: ("bold" | "link" | "strike" | "blockquote" | "code" | "header" | "list" | "italic" | "underline")[];
@@ -1,5 +1,12 @@
1
1
  declare const _default: {
2
2
  title: string;
3
+ parameters: {
4
+ design: {
5
+ type: string;
6
+ url: string;
7
+ };
8
+ };
9
+ tags: string[];
3
10
  component: import("react").ForwardRefExoticComponent<import("../src").TextareaProps & import("react").RefAttributes<HTMLTextAreaElement>>;
4
11
  render: (args: import("../src").TextareaProps & import("react").RefAttributes<HTMLTextAreaElement>) => import("react").JSX.Element;
5
12
  };
@@ -2,6 +2,13 @@ import { type StoryObj } from "@storybook/react-vite";
2
2
  import Timeline from "../src/components/Timeline/Timeline";
3
3
  declare const _default: {
4
4
  title: string;
5
+ parameters: {
6
+ design: {
7
+ type: string;
8
+ url: string;
9
+ };
10
+ };
11
+ tags: string[];
5
12
  component: ({ headerProps, steps, loadMoreButtonProps, dataTestId, emptyHeroProps, }: import("../src/components/Timeline/Timeline").TimelineProps) => import("react").JSX.Element;
6
13
  argTypes: {};
7
14
  };
@@ -1,6 +1,7 @@
1
1
  import { type StoryObj } from "@storybook/react-vite";
2
2
  declare const meta: {
3
3
  title: string;
4
+ tags: string[];
4
5
  component: import("react").FC<{
5
6
  title: import("react").ReactNode;
6
7
  subtitle?: import("react").ReactNode;
@@ -13,6 +14,10 @@ declare const meta: {
13
14
  onClick?: () => void;
14
15
  }>;
15
16
  parameters: {
17
+ design: {
18
+ type: string;
19
+ url: string;
20
+ };
16
21
  backgrounds: {
17
22
  default: string;
18
23
  };
@@ -1,6 +1,7 @@
1
1
  import { type StoryObj } from "@storybook/react-vite";
2
2
  declare const meta: {
3
3
  title: string;
4
+ tags: string[];
4
5
  component: import("react").FC<{
5
6
  lineStyle?: "solid" | "dashed" | null;
6
7
  dotStyle?: "regular" | "emphasized" | null;
@@ -31,6 +32,10 @@ declare const meta: {
31
32
  ref?: any;
32
33
  }>;
33
34
  parameters: {
35
+ design: {
36
+ type: string;
37
+ url: string;
38
+ };
34
39
  backgrounds: {
35
40
  default: string;
36
41
  };
@@ -4,6 +4,12 @@ import Toaster from "../src/components/Toaster/Toaster";
4
4
  import { type ToasterPanelProps } from "../src/components/Toaster/ToasterPanel";
5
5
  declare const _default: {
6
6
  title: string;
7
+ parameters: {
8
+ design: {
9
+ type: string;
10
+ url: string;
11
+ };
12
+ };
7
13
  component: import("react").FC<ToasterPanelProps>;
8
14
  beforeEach: () => void;
9
15
  };
@@ -1,6 +1,12 @@
1
1
  import { type StoryObj } from "@storybook/react-vite";
2
2
  declare const meta: {
3
3
  title: string;
4
+ parameters: {
5
+ design: {
6
+ type: string;
7
+ url: string;
8
+ };
9
+ };
4
10
  component: import("react").FC<import("@radix-ui/react-tooltip").TooltipProps>;
5
11
  };
6
12
  export default meta;
@@ -4,7 +4,6 @@ declare const meta: {
4
4
  parameters: {
5
5
  layout: string;
6
6
  };
7
- tags: "new"[];
8
7
  };
9
8
  export default meta;
10
9
  type Story = StoryObj<typeof meta>;
@@ -3,6 +3,7 @@ import { type StoryObj } from "@storybook/react-vite";
3
3
  import { Text } from "../src/components/Text/Text";
4
4
  declare const meta: {
5
5
  title: string;
6
+ tags: string[];
6
7
  component: React.FC<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & Partial<Record<"_p" | "_pt" | "_pr" | "_pb" | "_pl" | "_px" | "_py" | "_m" | "_mt" | "_mr" | "_mb" | "_ml" | "_mx" | "_my", "none" | "base" | "s" | "xs" | "xl" | "m" | "l" | "2xl" | "3xl" | "4xl">> & {
7
8
  as?: "div" | undefined;
8
9
  elevation?: "small" | "medium" | "large" | "base" | "drag" | "surface" | "extraLarge";
@@ -79,6 +80,10 @@ declare const meta: {
79
80
  }) => React.JSX.Element;
80
81
  };
81
82
  parameters: {
83
+ design: {
84
+ type: string;
85
+ url: string;
86
+ };
82
87
  layout: string;
83
88
  backgrounds: {
84
89
  default: string;
@@ -14,12 +14,15 @@ declare const meta: {
14
14
  };
15
15
  };
16
16
  parameters: {
17
+ design: {
18
+ type: string;
19
+ url: string;
20
+ };
17
21
  layout: string;
18
22
  backgrounds: {
19
23
  default: string;
20
24
  };
21
25
  };
22
- tags: "new"[];
23
26
  argTypes: {
24
27
  locale: {
25
28
  options: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luscii-healthtech/web-ui",
3
- "version": "64.0.0",
3
+ "version": "64.0.2",
4
4
  "license": "MIT",
5
5
  "author": {
6
6
  "name": "Joris Janssen"
@@ -97,6 +97,7 @@
97
97
  "@rollup/plugin-typescript": "^11.1.2",
98
98
  "@storybook/addon-a11y": "^10.6.1",
99
99
  "@storybook/addon-coverage": "^3.0.2",
100
+ "@storybook/addon-designs": "^12.0.0",
100
101
  "@storybook/addon-docs": "^10.6.1",
101
102
  "@storybook/addon-links": "^10.6.1",
102
103
  "@storybook/builder-vite": "^10.6.1",