@agregio-solutions/design-system 1.28.2 → 1.30.0

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 (126) hide show
  1. package/dist/design-system.cjs +485 -401
  2. package/dist/design-system.js +12081 -9739
  3. package/dist/index.d.ts +1 -0
  4. package/dist/packages/components/Badge/index.d.ts +0 -1
  5. package/dist/packages/components/Breadcrumbs/index.d.ts +0 -1
  6. package/dist/packages/components/Button/index.d.ts +5 -2
  7. package/dist/packages/components/Checkbox/index.d.ts +0 -1
  8. package/dist/packages/components/CheckboxGroup/index.d.ts +0 -1
  9. package/dist/packages/components/Chip/index.d.ts +0 -1
  10. package/dist/packages/components/Combobox/index.d.ts +121 -0
  11. package/dist/packages/components/DataTable/DataTableCell/index.d.ts +0 -1
  12. package/dist/packages/components/DataTable/DataTableEmptyPlaceholder/index.d.ts +0 -1
  13. package/dist/packages/components/DataTable/DataTableHeader/index.d.ts +0 -1
  14. package/dist/packages/components/DataTable/DataTableRoot/index.d.ts +0 -1
  15. package/dist/packages/components/DataTable/DataTableRow/index.d.ts +0 -1
  16. package/dist/packages/components/DataTable/index.d.ts +0 -1
  17. package/dist/packages/components/DatePicker/index.d.ts +0 -1
  18. package/dist/packages/components/DateRangePicker/index.d.ts +0 -1
  19. package/dist/packages/components/Drawer/index.d.ts +0 -1
  20. package/dist/packages/components/Dropdown/components/DropdownListItem/index.d.ts +0 -1
  21. package/dist/packages/components/Dropdown/index.d.ts +0 -1
  22. package/dist/packages/components/FileUpload/index.d.ts +2 -2
  23. package/dist/packages/components/Filter/index.d.ts +0 -1
  24. package/dist/packages/components/Header/index.d.ts +0 -1
  25. package/dist/packages/components/Icon/components/access_time.d.ts +0 -1
  26. package/dist/packages/components/Icon/components/add.d.ts +0 -1
  27. package/dist/packages/components/Icon/components/add_box.d.ts +0 -1
  28. package/dist/packages/components/Icon/components/arrow_back.d.ts +0 -1
  29. package/dist/packages/components/Icon/components/arrow_downward.d.ts +0 -1
  30. package/dist/packages/components/Icon/components/arrow_forward.d.ts +0 -1
  31. package/dist/packages/components/Icon/components/arrow_upward.d.ts +0 -1
  32. package/dist/packages/components/Icon/components/bar_chart.d.ts +0 -1
  33. package/dist/packages/components/Icon/components/bolt.d.ts +0 -1
  34. package/dist/packages/components/Icon/components/business.d.ts +0 -1
  35. package/dist/packages/components/Icon/components/calendar_today.d.ts +0 -1
  36. package/dist/packages/components/Icon/components/cancel.d.ts +0 -1
  37. package/dist/packages/components/Icon/components/check.d.ts +0 -1
  38. package/dist/packages/components/Icon/components/check_circle_outline.d.ts +0 -1
  39. package/dist/packages/components/Icon/components/chevron_left.d.ts +0 -1
  40. package/dist/packages/components/Icon/components/chevron_right.d.ts +0 -1
  41. package/dist/packages/components/Icon/components/clear.d.ts +0 -1
  42. package/dist/packages/components/Icon/components/close.d.ts +0 -1
  43. package/dist/packages/components/Icon/components/collapse_menu.d.ts +0 -1
  44. package/dist/packages/components/Icon/components/content_copy.d.ts +0 -1
  45. package/dist/packages/components/Icon/components/delete_outline.d.ts +0 -1
  46. package/dist/packages/components/Icon/components/download.d.ts +0 -1
  47. package/dist/packages/components/Icon/components/drag_indicator.d.ts +0 -1
  48. package/dist/packages/components/Icon/components/edit.d.ts +0 -1
  49. package/dist/packages/components/Icon/components/error_outline.d.ts +0 -1
  50. package/dist/packages/components/Icon/components/exit_to_app.d.ts +0 -1
  51. package/dist/packages/components/Icon/components/expand_less.d.ts +0 -1
  52. package/dist/packages/components/Icon/components/expand_more.d.ts +0 -1
  53. package/dist/packages/components/Icon/components/fiber_new.d.ts +0 -1
  54. package/dist/packages/components/Icon/components/filter_alt.d.ts +0 -1
  55. package/dist/packages/components/Icon/components/filter_list.d.ts +0 -1
  56. package/dist/packages/components/Icon/components/first_page.d.ts +0 -1
  57. package/dist/packages/components/Icon/components/folder_open.d.ts +0 -1
  58. package/dist/packages/components/Icon/components/grid_view.d.ts +0 -1
  59. package/dist/packages/components/Icon/components/help_outline.d.ts +0 -1
  60. package/dist/packages/components/Icon/components/home.d.ts +0 -1
  61. package/dist/packages/components/Icon/components/insert_emoticon.d.ts +0 -1
  62. package/dist/packages/components/Icon/components/language.d.ts +0 -1
  63. package/dist/packages/components/Icon/components/last_page.d.ts +0 -1
  64. package/dist/packages/components/Icon/components/link.d.ts +0 -1
  65. package/dist/packages/components/Icon/components/list.d.ts +0 -1
  66. package/dist/packages/components/Icon/components/location_searching.d.ts +0 -1
  67. package/dist/packages/components/Icon/components/logout.d.ts +0 -1
  68. package/dist/packages/components/Icon/components/menu.d.ts +0 -1
  69. package/dist/packages/components/Icon/components/minimize.d.ts +0 -1
  70. package/dist/packages/components/Icon/components/monitor_heart.d.ts +0 -1
  71. package/dist/packages/components/Icon/components/more_horiz.d.ts +0 -1
  72. package/dist/packages/components/Icon/components/more_vert.d.ts +0 -1
  73. package/dist/packages/components/Icon/components/moving.d.ts +0 -1
  74. package/dist/packages/components/Icon/components/notifications_active.d.ts +0 -1
  75. package/dist/packages/components/Icon/components/notifications_none.d.ts +0 -1
  76. package/dist/packages/components/Icon/components/notifications_off.d.ts +0 -1
  77. package/dist/packages/components/Icon/components/refresh.d.ts +0 -1
  78. package/dist/packages/components/Icon/components/remove_red_eye.d.ts +0 -1
  79. package/dist/packages/components/Icon/components/search.d.ts +0 -1
  80. package/dist/packages/components/Icon/components/send.d.ts +0 -1
  81. package/dist/packages/components/Icon/components/settings.d.ts +0 -1
  82. package/dist/packages/components/Icon/components/stacked_line_chart.d.ts +0 -1
  83. package/dist/packages/components/Icon/components/star.d.ts +0 -1
  84. package/dist/packages/components/Icon/components/star_outline.d.ts +0 -1
  85. package/dist/packages/components/Icon/components/swap_horiz.d.ts +0 -1
  86. package/dist/packages/components/Icon/components/text_snippet.d.ts +0 -1
  87. package/dist/packages/components/Icon/components/tree_item.d.ts +0 -1
  88. package/dist/packages/components/Icon/components/undo.d.ts +0 -1
  89. package/dist/packages/components/Icon/components/warehouse.d.ts +0 -1
  90. package/dist/packages/components/Icon/components/warning_amber.d.ts +0 -1
  91. package/dist/packages/components/Icon/index.d.ts +0 -1
  92. package/dist/packages/components/Label/index.d.ts +29 -0
  93. package/dist/packages/components/Link/index.d.ts +0 -1
  94. package/dist/packages/components/Menu/index.d.ts +33 -0
  95. package/dist/packages/components/MenuItem/index.d.ts +34 -0
  96. package/dist/packages/components/Modal/index.d.ts +3 -18
  97. package/dist/packages/components/Navigation/components/AgregioSolutionsLogo.d.ts +0 -1
  98. package/dist/packages/components/Navigation/components/ConnectionManagementLogo.d.ts +0 -1
  99. package/dist/packages/components/Navigation/components/IrisLogo.d.ts +0 -1
  100. package/dist/packages/components/Navigation/components/VPPLogo.d.ts +0 -1
  101. package/dist/packages/components/Navigation/index.d.ts +0 -1
  102. package/dist/packages/components/NavigationItem/index.d.ts +0 -1
  103. package/dist/packages/components/Pagination/index.d.ts +0 -1
  104. package/dist/packages/components/Radio/index.d.ts +0 -1
  105. package/dist/packages/components/RouterProvider/index.d.ts +0 -1
  106. package/dist/packages/components/Select/index.d.ts +0 -1
  107. package/dist/packages/components/SelectItem/index.d.ts +7 -2
  108. package/dist/packages/components/Switch/index.d.ts +0 -1
  109. package/dist/packages/components/Tabs/Tab/index.d.ts +6 -1
  110. package/dist/packages/components/Tabs/TabList/index.d.ts +0 -1
  111. package/dist/packages/components/Tabs/TabPanel/index.d.ts +0 -1
  112. package/dist/packages/components/Tabs/Tabs/index.d.ts +0 -1
  113. package/dist/packages/components/Tag/index.d.ts +0 -1
  114. package/dist/packages/components/TextInput/index.d.ts +0 -1
  115. package/dist/packages/components/TimeField/index.d.ts +0 -1
  116. package/dist/packages/components/Toaster/index.d.ts +25 -0
  117. package/dist/packages/components/Toaster/index.styles.d.ts +1 -0
  118. package/dist/packages/ds-design-tokens/index.d.ts +0 -1
  119. package/dist/packages/index.d.ts +9 -4
  120. package/dist/packages/internal-components/Calendar/index.d.ts +5 -0
  121. package/dist/packages/internal-components/CoreTextInput/index.styled.d.ts +5 -0
  122. package/dist/packages/internal-components/ErrorBoundary/index.d.ts +15 -0
  123. package/dist/packages/internal-components/FormGroupHelper/index.d.ts +18 -0
  124. package/dist/packages/internal-components/FormGroupWrapper/index.d.ts +76 -0
  125. package/dist/packages/mui/mui-theme.d.ts +0 -1
  126. package/package.json +35 -34
@@ -1,3 +1,2 @@
1
1
  import { IconBaseProps } from '..';
2
-
3
2
  export default function IconSwapHoriz(props: IconBaseProps): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { IconBaseProps } from '..';
2
-
3
2
  export default function IconTextSnippet(props: IconBaseProps): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { IconBaseProps } from '..';
2
-
3
2
  export default function IconTreeItem(props: IconBaseProps): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { IconBaseProps } from '..';
2
-
3
2
  export default function IconUndo(props: IconBaseProps): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { IconBaseProps } from '..';
2
-
3
2
  export default function IconWarehouse(props: IconBaseProps): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { IconBaseProps } from '..';
2
-
3
2
  export default function IconWarningAmber(props: IconBaseProps): import("react/jsx-runtime").JSX.Element;
@@ -65,7 +65,6 @@ import { default as tree_item } from './components/tree_item';
65
65
  import { default as undo } from './components/undo';
66
66
  import { default as warehouse } from './components/warehouse';
67
67
  import { default as warning_amber } from './components/warning_amber';
68
-
69
68
  export declare const AVAILABLE_ICONS: {
70
69
  access_time: typeof access_time;
71
70
  add: typeof add;
@@ -0,0 +1,29 @@
1
+ import { default as React } from 'react';
2
+ import { IconName } from '../Icon';
3
+ export type Props = {
4
+ /**
5
+ * Required label for the field
6
+ */
7
+ label: string | React.ReactNode;
8
+ /**
9
+ * id used mainly to link the label to the field
10
+ */
11
+ htmlForId?: string;
12
+ /**
13
+ * Optional icon to display on the right side of the label
14
+ */
15
+ labelIconRight?: IconName;
16
+ /**
17
+ * Is the child field required, used to display a little asterisk next to the label
18
+ */
19
+ required?: boolean;
20
+ /**
21
+ * The CSS className for the element.
22
+ */
23
+ className?: string;
24
+ /**
25
+ * The inline style for the element.
26
+ */
27
+ style?: React.CSSProperties;
28
+ };
29
+ export default function Label({ htmlForId, required, label, labelIconRight, ...divProps }: Props): import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,5 @@
1
1
  import { default as React } from 'react';
2
2
  import { LinkProps } from 'react-aria-components';
3
-
4
3
  type Props = {
5
4
  /**
6
5
  * Text for the link.
@@ -0,0 +1,33 @@
1
+ import { default as React } from 'react';
2
+ import { Props as ButtonProps } from '../Button';
3
+ type Placement = "bottom" | "bottom left" | "bottom right" | "bottom start" | "bottom end" | "top" | "top left" | "top right" | "top start" | "top end" | "left" | "left top" | "left bottom" | "start" | "start top" | "start bottom" | "right" | "right top" | "right bottom" | "end" | "end top" | "end bottom";
4
+ interface Props {
5
+ /**
6
+ * Options to display in the dropdown.
7
+ * Should be a list of MenuItem.
8
+ */
9
+ children: React.ReactNode;
10
+ /**
11
+ * Props to pass to the button.
12
+ */
13
+ buttonProps: ButtonProps;
14
+ /**
15
+ * Whether the overlay is open by default (controlled).
16
+ */
17
+ isOpen?: boolean;
18
+ /**
19
+ * Handler that is called when the overlay's open state changes.
20
+ */
21
+ onOpenChange?: (isOpen: boolean) => void;
22
+ /**
23
+ * Whether the overlay is open by default (uncontrolled).
24
+ */
25
+ defaultOpen?: boolean;
26
+ /**
27
+ * The placement of the menu.
28
+ * @default "bottom"
29
+ */
30
+ placement?: Placement;
31
+ }
32
+ export default function Menu({ children, buttonProps, isOpen, onOpenChange, defaultOpen, placement, }: Props): import("react/jsx-runtime").JSX.Element;
33
+ export {};
@@ -0,0 +1,34 @@
1
+ import { IconName } from '../Icon';
2
+ export type Props = {
3
+ /**
4
+ * The text to display in the dropdown item
5
+ */
6
+ text: string;
7
+ /**
8
+ * Icon displayed on the extreme left.
9
+ */
10
+ iconLeft?: IconName;
11
+ /**
12
+ * Icon displayed on the extreme right.
13
+ */
14
+ iconRight?: IconName;
15
+ /**
16
+ * Whether the item is disabled.
17
+ */
18
+ isDisabled?: boolean;
19
+ /**
20
+ * Function called when the item is selected (by click, keyboard, etc.)
21
+ */
22
+ onClick?: () => void;
23
+ /**
24
+ * A URL to link
25
+ */
26
+ href?: string;
27
+ /**
28
+ * Only active with the `href` prop.
29
+ * Router-specific options to pass to the `Link` component under the hood. (configured by the RouterProvider).
30
+ * Example : `{ replace: true }`
31
+ */
32
+ routerOptions?: any;
33
+ };
34
+ export default function MenuItem({ text, iconRight, iconLeft, href, routerOptions, onClick, isDisabled, ...otherProps }: Props): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import { default as React } from 'react';
2
-
2
+ import { ModalActions, ModalContent, ModalForm } from './index.styled';
3
3
  export interface Props {
4
4
  /**
5
5
  * Determines if the modal is open or closed
@@ -17,26 +17,11 @@ export interface Props {
17
17
  * Content to be rendered inside the modal
18
18
  */
19
19
  children: React.ReactNode;
20
- /**
21
- * Handler call on click on the primary action button
22
- */
23
- onPrimaryClick: () => void;
24
- /**
25
- * Label for the primary action button
26
- */
27
- primaryLabel: string;
28
- /**
29
- * Handler call on click on the secondary action button
30
- */
31
- onSecondaryClick?: () => void;
32
- /**
33
- * Label for the secondary action button
34
- */
35
- secondaryLabel?: string;
36
20
  /**
37
21
  * Whether the user can close the modal by clicking outside of it or pressing the escape key
38
22
  * @default true
39
23
  */
40
24
  isDismissable?: boolean;
41
25
  }
42
- export default function Modal({ children, onPrimaryClick, primaryLabel, onSecondaryClick, secondaryLabel, isOpen, onOpenChange, title, isDismissable, }: Props): React.ReactElement;
26
+ export default function Modal({ children, isOpen, onOpenChange, title, isDismissable, }: Props): React.ReactElement;
27
+ export { ModalContent, ModalActions, ModalForm };
@@ -1,3 +1,2 @@
1
1
  import { IconBaseProps } from '../../Icon';
2
-
3
2
  export default function AgregioSolutionsLogo(props: IconBaseProps): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { IconBaseProps } from '../../Icon';
2
-
3
2
  export default function ConnectionManagementLogo(props: IconBaseProps): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { IconBaseProps } from '../../Icon';
2
-
3
2
  export default function IrisLogo(props: IconBaseProps): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { IconBaseProps } from '../../Icon';
2
-
3
2
  export default function VPPLogo(props: IconBaseProps): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,4 @@
1
1
  import { default as React } from 'react';
2
-
3
2
  type Props = {
4
3
  /**
5
4
  * Navigation items to display in the navigation.
@@ -1,5 +1,4 @@
1
1
  import { IconName } from '../Icon';
2
-
3
2
  type Props = {
4
3
  /**
5
4
  * The label of the navigation item.
@@ -1,5 +1,4 @@
1
1
  import { default as React } from 'react';
2
-
3
2
  type Props = {
4
3
  /**
5
4
  * The total number of items/rows.
@@ -1,5 +1,4 @@
1
1
  import { default as React } from 'react';
2
-
3
2
  type Props = Omit<React.HTMLProps<HTMLInputElement>, "label" | "type"> & {
4
3
  /**
5
4
  * The text to display next to the radio button.
@@ -1,6 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { Href, RouterOptions } from '@react-types/shared';
3
-
4
3
  type Props = {
5
4
  /**
6
5
  * See the React Aria docs for more details on the RouterProvider usage
@@ -1,7 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  import { IconName } from '../Icon';
3
3
  import { ButtonProps } from 'react-aria-components';
4
-
5
4
  interface GenericProps {
6
5
  /**
7
6
  * Required id, used mainly to link the label to the field
@@ -1,5 +1,4 @@
1
1
  import { IconName } from '../Icon';
2
-
3
2
  export type Props = {
4
3
  /**
5
4
  * The id of the item, returned in the `onChange` event
@@ -26,5 +25,11 @@ export type Props = {
26
25
  * A URL to link
27
26
  */
28
27
  href?: string;
28
+ /**
29
+ * Only active with the `href` prop.
30
+ * Router-specific options to pass to the `Link` component under the hood. (configured by the RouterProvider).
31
+ * Example : `{ replace: true }`
32
+ */
33
+ routerOptions?: any;
29
34
  };
30
- export default function SelectItem({ text, id, iconRight, iconLeft, isSelected, href, }: Props): import("react/jsx-runtime").JSX.Element;
35
+ export default function SelectItem({ text, id, iconRight, iconLeft, isSelected, href, routerOptions, ...otherProps }: Props): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,4 @@
1
1
  import { default as React } from 'react';
2
-
3
2
  type Props = {
4
3
  /**
5
4
  * The label of the switch, can be a React Component for more advanced styling or bold text for example
@@ -1,5 +1,4 @@
1
1
  import { default as React } from 'react';
2
-
3
2
  type Props = {
4
3
  /**
5
4
  * Required unique Key of the tab.
@@ -31,6 +30,12 @@ type Props = {
31
30
  * Show a little dot right of the Tab label.
32
31
  */
33
32
  hasNotification?: boolean;
33
+ /**
34
+ * Only active with the `href` prop.
35
+ * Router-specific options to pass to the `Link` component under the hood. (configured by the RouterProvider).
36
+ * Example : `{ replace: true }`
37
+ */
38
+ routerOptions?: any;
34
39
  };
35
40
  declare const Tab: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLDivElement>>;
36
41
  export default Tab;
@@ -1,5 +1,4 @@
1
1
  import { default as React } from 'react';
2
-
3
2
  type Props = {
4
3
  /**
5
4
  * The children of the component.
@@ -1,5 +1,4 @@
1
1
  import { default as React } from 'react';
2
-
3
2
  type Props = {
4
3
  /**
5
4
  * The children of the component, to be shown when the tab is selected.
@@ -1,5 +1,4 @@
1
1
  import { default as React } from 'react';
2
-
3
2
  type Props = {
4
3
  /**
5
4
  * The children of the component.
@@ -1,6 +1,5 @@
1
1
  import { default as React } from 'react';
2
2
  import { IconName } from '../Icon';
3
-
4
3
  type Props = {
5
4
  /**
6
5
  * Specifies the tag colour. The default is "default".
@@ -1,6 +1,5 @@
1
1
  import { default as React } from 'react';
2
2
  import { IconName } from '../Icon';
3
-
4
3
  export type Props = Omit<React.InputHTMLAttributes<HTMLInputElement>, "type"> & {
5
4
  /**
6
5
  * Label for the field.
@@ -1,6 +1,5 @@
1
1
  import { IconName } from '../Icon';
2
2
  import { default as React } from 'react';
3
-
4
3
  interface Props {
5
4
  /**
6
5
  * Required id, used mainly to link the label to the field.
@@ -0,0 +1,25 @@
1
+ type Props = {
2
+ /**
3
+ * By default, when you hover on one of the toasts, they will expand.
4
+ * You can make all the toasts always visible by setting this prop to true.
5
+ * @default false
6
+ */
7
+ expand?: boolean;
8
+ /**
9
+ * Changes the place where all toasts will be rendered.
10
+ * @default "bottom-center"
11
+ */
12
+ position?: "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right";
13
+ /**
14
+ * The maximum number of toasts that will be visible at once.
15
+ * @default 3
16
+ */
17
+ visibleToasts?: number;
18
+ /**
19
+ * The offset of the toaster from the edge of the screen.
20
+ * @default 32
21
+ */
22
+ offset?: number;
23
+ };
24
+ export default function Toaster({ position, expand, visibleToasts, offset, }: Props): import("react/jsx-runtime").JSX.Element;
25
+ export {};
@@ -0,0 +1 @@
1
+ export declare const Toaster: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('sonner').ToasterProps, never>> & string & Omit<(props: import('sonner').ToasterProps) => JSX.Element, keyof import('react').Component<any, {}, any>>;
@@ -1,4 +1,3 @@
1
1
  import { tokens } from './src/tokens.style.js';
2
2
  import { fontSize, lineHeight } from './src/fontSize.style.js';
3
-
4
3
  export { tokens, fontSize, lineHeight };
@@ -3,6 +3,7 @@ import { default as Breadcrumbs } from './components/Breadcrumbs';
3
3
  import { default as Button } from './components/Button';
4
4
  import { default as Checkbox } from './components/Checkbox';
5
5
  import { default as CheckboxGroup } from './components/CheckboxGroup';
6
+ import { default as Combobox } from './components/Combobox';
6
7
  import { default as DataTable } from './components/DataTable';
7
8
  import { default as DataTableCell } from './components/DataTable/DataTableCell';
8
9
  import { default as DataTableHeader } from './components/DataTable/DataTableHeader';
@@ -16,9 +17,12 @@ import { default as FileUpload } from './components/FileUpload';
16
17
  import { default as Filter, TypeTableColumnWithFilter } from './components/Filter';
17
18
  import { default as Header } from './components/Header';
18
19
  import { default as Icon } from './components/Icon';
20
+ import { default as Label } from './components/Label';
19
21
  import { default as Link } from './components/Link';
20
22
  import { default as Loader } from './components/Loader';
21
- import { default as Modal } from './components/Modal';
23
+ import { default as Menu } from './components/Menu';
24
+ import { default as MenuItem } from './components/MenuItem';
25
+ import { default as Modal, ModalContent, ModalActions, ModalForm } from './components/Modal';
22
26
  import { default as Navigation } from './components/Navigation';
23
27
  import { default as NavigationItem } from './components/NavigationItem';
24
28
  import { default as Pagination } from './components/Pagination';
@@ -33,10 +37,11 @@ import { default as Tabs } from './components/Tabs/Tabs';
33
37
  import { default as Tag } from './components/Tag';
34
38
  import { default as TextInput } from './components/TextInput';
35
39
  import { default as TimeField } from './components/TimeField';
40
+ import { default as Toaster } from './components/Toaster';
41
+ import { default as RouterProvider } from './components/RouterProvider';
36
42
  import { default as createMuiTheme } from './mui/mui-theme.ts';
37
43
  import { tokens, fontSize, lineHeight } from './ds-design-tokens/index';
38
44
  import { I18nProvider } from 'react-aria';
39
- import { default as RouterProvider } from './components/RouterProvider';
40
-
41
- export { Badge, Breadcrumbs, Button, Checkbox, CheckboxGroup, createMuiTheme, DataTable, DataTableCell, DataTableHeader, DataTableRoot, DataTableRow, DatePicker, DateRangePicker, Drawer, Dropdown, FileUpload, Filter, fontSize, Header, I18nProvider, Icon, lineHeight, Link, Loader, Modal, Navigation, NavigationItem, Pagination, Radio, RouterProvider, Select, SelectItem, Switch, Tab, TabList, TabPanel, Tabs, Tag, TextInput, TimeField, tokens, };
45
+ import { toast } from 'sonner';
46
+ export { Badge, Breadcrumbs, Button, Checkbox, CheckboxGroup, Combobox, createMuiTheme, DataTable, DataTableCell, DataTableHeader, DataTableRoot, DataTableRow, DatePicker, DateRangePicker, Drawer, Dropdown, FileUpload, Filter, fontSize, Header, I18nProvider, Icon, Label, lineHeight, Link, Loader, Menu, MenuItem, Modal, ModalContent, ModalActions, ModalForm, Navigation, NavigationItem, Pagination, Radio, RouterProvider, Select, SelectItem, Switch, Tab, TabList, TabPanel, Tabs, Tag, TextInput, TimeField, toast, Toaster, tokens, };
42
47
  export type { TypeTableColumnWithFilter };
@@ -0,0 +1,5 @@
1
+ type Props = {
2
+ mode: "single" | "range";
3
+ };
4
+ export default function Calendar({ mode }: Props): import("react/jsx-runtime").JSX.Element;
5
+ export {};
@@ -0,0 +1,5 @@
1
+ export declare const CoreTextInput: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<Omit<import('react-aria-components').InputProps & import('react').RefAttributes<HTMLInputElement>, "ref"> & {
2
+ ref?: ((instance: HTMLInputElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLInputElement> | null | undefined;
3
+ }, {
4
+ hasIcon: boolean;
5
+ }>> & string & Omit<(props: import('react-aria-components').InputProps & React.RefAttributes<HTMLInputElement>) => React.ReactElement | null, keyof import('react').Component<any, {}, any>>;
@@ -0,0 +1,15 @@
1
+ import { default as React, ReactNode } from 'react';
2
+ interface ErrorBoundaryState {
3
+ hasError: boolean;
4
+ errorMessage?: string;
5
+ }
6
+ interface ErrorBoundaryProps {
7
+ children: ReactNode;
8
+ }
9
+ declare class ErrorBoundary extends React.Component<ErrorBoundaryProps, ErrorBoundaryState> {
10
+ constructor(props: ErrorBoundaryProps);
11
+ static getDerivedStateFromError(): ErrorBoundaryState;
12
+ componentDidCatch(error: Error): void;
13
+ render(): string | number | boolean | import("react/jsx-runtime").JSX.Element | Iterable<React.ReactNode> | null | undefined;
14
+ }
15
+ export default ErrorBoundary;
@@ -0,0 +1,18 @@
1
+ import { default as React } from 'react';
2
+ import { IconName } from '../../components/Icon';
3
+ export type Props = {
4
+ /**
5
+ * Optional icon to display on the left side of the text. Only visible if there is a text
6
+ */
7
+ iconLeft?: IconName;
8
+ /**
9
+ * Help information to display under the field
10
+ */
11
+ text: string | React.ReactNode;
12
+ /**
13
+ * Specifies the nature of the text (mainly to change its color)
14
+ * @default "default"
15
+ */
16
+ nature?: "default" | "negative" | "positive";
17
+ };
18
+ export default function FormGroupHelper({ iconLeft, text, nature, }: Props): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,76 @@
1
+ import { default as React } from 'react';
2
+ import { IconName } from '../../components/Icon';
3
+ import { Props as LabelProps } from '../../components/Label';
4
+ export type Props = LabelProps & {
5
+ /**
6
+ * form element to put inside the form group
7
+ */
8
+ children: React.ReactNode;
9
+ /**
10
+ * Optional description to display under the label and above the field
11
+ */
12
+ description?: string | React.ReactNode;
13
+ /**
14
+ * Helper text displayed below the input field, like additional instructions.
15
+ * @deprecated use `description` instead
16
+ */
17
+ helperText?: string | React.ReactNode;
18
+ /**
19
+ * Optional icon to display on the left side of the helperText. Only visible if there is a helperText
20
+ * @deprecated use `description` instead
21
+ */
22
+ helperTextIcon?: IconName;
23
+ /**
24
+ * Validation error message to display below the input field.
25
+ */
26
+ errorHelperText?: string | React.ReactNode;
27
+ /**
28
+ * Optional icon to display on the left side of the error help text. Only visible if there is a errorHelperText
29
+ */
30
+ errorHelperTextIcon?: IconName;
31
+ /**
32
+ * Success message to display below the input field.
33
+ */
34
+ successHelperText?: string | React.ReactNode;
35
+ /**
36
+ * Optional icon to display on the left side of the success help text. Only visible if there is a successHelperText
37
+ */
38
+ successHelperTextIcon?: IconName;
39
+ };
40
+ declare const FormGroupWrapper: React.ForwardRefExoticComponent<LabelProps & {
41
+ /**
42
+ * form element to put inside the form group
43
+ */
44
+ children: React.ReactNode;
45
+ /**
46
+ * Optional description to display under the label and above the field
47
+ */
48
+ description?: string | React.ReactNode;
49
+ /**
50
+ * Helper text displayed below the input field, like additional instructions.
51
+ * @deprecated use `description` instead
52
+ */
53
+ helperText?: string | React.ReactNode;
54
+ /**
55
+ * Optional icon to display on the left side of the helperText. Only visible if there is a helperText
56
+ * @deprecated use `description` instead
57
+ */
58
+ helperTextIcon?: IconName;
59
+ /**
60
+ * Validation error message to display below the input field.
61
+ */
62
+ errorHelperText?: string | React.ReactNode;
63
+ /**
64
+ * Optional icon to display on the left side of the error help text. Only visible if there is a errorHelperText
65
+ */
66
+ errorHelperTextIcon?: IconName;
67
+ /**
68
+ * Success message to display below the input field.
69
+ */
70
+ successHelperText?: string | React.ReactNode;
71
+ /**
72
+ * Optional icon to display on the left side of the success help text. Only visible if there is a successHelperText
73
+ */
74
+ successHelperTextIcon?: IconName;
75
+ } & React.RefAttributes<HTMLDivElement>>;
76
+ export default FormGroupWrapper;
@@ -1,4 +1,3 @@
1
1
  import { ThemeOptions } from '@mui/material/styles';
2
-
3
2
  export default function createMuiTheme(options?: ThemeOptions): ThemeOptions;
4
3
  export declare const BASE_MUI_THEME: ThemeOptions;