tharaday 0.8.1 → 0.8.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 (170) hide show
  1. package/dist/{src/components → components}/Accordion/Accordion.d.ts +0 -1
  2. package/dist/{src/components → components}/Avatar/Avatar.d.ts +0 -1
  3. package/dist/{src/components → components}/Badge/Badge.d.ts +0 -1
  4. package/dist/{src/components → components}/Box/Box.d.ts +0 -1
  5. package/dist/{src/components → components}/Box/Box.types.d.ts +11 -11
  6. package/dist/{src/components → components}/Box/helpers/getSpacingStyles.d.ts +2 -2
  7. package/dist/{src/components → components}/Breadcrumbs/Breadcrumbs.d.ts +0 -1
  8. package/dist/{src/components → components}/Button/Button.d.ts +0 -1
  9. package/dist/{src/components → components}/Card/Card.d.ts +0 -1
  10. package/dist/{src/components → components}/Checkbox/Checkbox.d.ts +0 -1
  11. package/dist/components/DatePicker/DatePicker.d.ts +1 -0
  12. package/dist/{src/components → components}/Divider/Divider.d.ts +0 -1
  13. package/dist/components/Drawer/Drawer.d.ts +1 -0
  14. package/dist/{src/components → components}/Dropdown/Dropdown.d.ts +0 -1
  15. package/dist/components/EmptyState/EmptyState.d.ts +1 -0
  16. package/dist/{src/components → components}/Header/Header.d.ts +0 -1
  17. package/dist/{src/components → components}/Input/Input.d.ts +0 -1
  18. package/dist/{src/components → components}/List/List.d.ts +2 -2
  19. package/dist/{src/components → components}/List/List.types.d.ts +3 -3
  20. package/dist/{src/components → components}/List/ListItem.d.ts +1 -1
  21. package/dist/{src/components → components}/List/ListItem.types.d.ts +1 -1
  22. package/dist/{src/components → components}/Loader/Loader.d.ts +0 -1
  23. package/dist/{src/components → components}/Modal/Modal.d.ts +1 -2
  24. package/dist/{src/components → components}/NavBar/NavBar.d.ts +0 -1
  25. package/dist/{src/components → components}/Notification/Notification.d.ts +0 -1
  26. package/dist/{src/components → components}/Pagination/Pagination.d.ts +0 -1
  27. package/dist/components/Popover/Popover.d.ts +1 -0
  28. package/dist/{src/components → components}/ProgressBar/ProgressBar.d.ts +0 -1
  29. package/dist/{src/components → components}/RadioButton/RadioButton.d.ts +0 -1
  30. package/dist/{src/components → components}/Select/Select.d.ts +0 -1
  31. package/dist/{src/components → components}/Skeleton/Skeleton.d.ts +0 -1
  32. package/dist/{src/components → components}/Slider/Slider.d.ts +0 -1
  33. package/dist/{src/components → components}/Stepper/Step.d.ts +0 -1
  34. package/dist/{src/components → components}/Stepper/Stepper.d.ts +0 -1
  35. package/dist/{src/components → components}/Stepper/stepper.utils.d.ts +2 -2
  36. package/dist/{src/components → components}/Switch/Switch.d.ts +0 -1
  37. package/dist/{src/components → components}/Table/Table.d.ts +0 -1
  38. package/dist/{src/components → components}/Tabs/Tabs.d.ts +0 -1
  39. package/dist/components/Tag/Tag.d.ts +1 -0
  40. package/dist/{src/components → components}/Text/Text.d.ts +0 -1
  41. package/dist/{src/components → components}/Textarea/Textarea.d.ts +0 -1
  42. package/dist/{src/components → components}/Tooltip/Tooltip.d.ts +0 -1
  43. package/dist/{src/components → components}/Tree/Tree.d.ts +2 -2
  44. package/dist/{src/components → components}/Tree/Tree.types.d.ts +1 -1
  45. package/dist/{src/components → components}/Tree/TreeItem.d.ts +1 -1
  46. package/dist/{src/components → components}/Tree/TreeItem.types.d.ts +1 -1
  47. package/dist/ds.css +1 -1
  48. package/dist/ds.js +1294 -1160
  49. package/dist/ds.umd.cjs +1 -1
  50. package/dist/hooks/useClickOutside.d.ts +6 -0
  51. package/dist/{src/hooks → hooks}/useComponentId.d.ts +1 -1
  52. package/dist/hooks/useFocusTrap.d.ts +17 -0
  53. package/dist/{src/index.d.ts → index.d.ts} +10 -0
  54. package/dist/{src/layouts → layouts}/AppLayout/AppLayout.d.ts +0 -1
  55. package/dist/{src/layouts → layouts}/AuthLayout/AuthLayout.d.ts +0 -1
  56. package/dist/{src/layouts → layouts}/DashboardLayout/DashboardLayout.d.ts +0 -1
  57. package/dist/{src/layouts → layouts}/SettingsLayout/SettingsLayout.d.ts +0 -1
  58. package/package.json +11 -10
  59. package/src/components/Box/Box.module.css +0 -557
  60. package/src/components/Box/Box.test.tsx +4 -4
  61. package/src/components/Box/Box.tsx +8 -16
  62. package/src/components/Box/helpers/getSpacingStyles.ts +23 -17
  63. package/src/components/DatePicker/DatePicker.module.css +212 -0
  64. package/src/components/DatePicker/DatePicker.stories.tsx +53 -0
  65. package/src/components/DatePicker/DatePicker.test.tsx +61 -0
  66. package/src/components/DatePicker/DatePicker.tsx +269 -0
  67. package/src/components/DatePicker/DatePicker.types.ts +11 -0
  68. package/src/components/Drawer/Drawer.module.css +126 -0
  69. package/src/components/Drawer/Drawer.stories.tsx +70 -0
  70. package/src/components/Drawer/Drawer.test.tsx +49 -0
  71. package/src/components/Drawer/Drawer.tsx +77 -0
  72. package/src/components/Drawer/Drawer.types.ts +17 -0
  73. package/src/components/EmptyState/EmptyState.module.css +73 -0
  74. package/src/components/EmptyState/EmptyState.stories.tsx +65 -0
  75. package/src/components/EmptyState/EmptyState.test.tsx +30 -0
  76. package/src/components/EmptyState/EmptyState.tsx +29 -0
  77. package/src/components/EmptyState/EmptyState.types.ts +12 -0
  78. package/src/components/Header/Header.test.tsx +5 -5
  79. package/src/components/Modal/Modal.tsx +2 -62
  80. package/src/components/Popover/Popover.module.css +52 -0
  81. package/src/components/Popover/Popover.stories.tsx +67 -0
  82. package/src/components/Popover/Popover.test.tsx +40 -0
  83. package/src/components/Popover/Popover.tsx +78 -0
  84. package/src/components/Popover/Popover.types.ts +13 -0
  85. package/src/components/Tag/Tag.module.css +115 -0
  86. package/src/components/Tag/Tag.stories.tsx +61 -0
  87. package/src/components/Tag/Tag.test.tsx +42 -0
  88. package/src/components/Tag/Tag.tsx +74 -0
  89. package/src/components/Tag/Tag.types.ts +15 -0
  90. package/src/components/Text/Text.module.css +0 -559
  91. package/src/components/Text/Text.test.tsx +4 -4
  92. package/src/components/Text/Text.tsx +0 -14
  93. package/src/components/Tooltip/Tooltip.module.css +1 -1
  94. package/src/components/Tooltip/Tooltip.test.tsx +5 -5
  95. package/src/components/Tooltip/Tooltip.tsx +2 -6
  96. package/src/hooks/useClickOutside.test.tsx +68 -0
  97. package/src/hooks/useClickOutside.ts +35 -0
  98. package/src/hooks/useFocusTrap.test.tsx +95 -0
  99. package/src/hooks/useFocusTrap.ts +88 -0
  100. package/src/index.ts +10 -0
  101. package/src/styles/themes.browser.test.ts +75 -0
  102. package/vite.config.ts +1 -1
  103. package/dist/src/components/Accordion/Accordion.stories.d.ts +0 -14
  104. package/dist/src/components/Accordion/Accordion.types.d.ts +0 -18
  105. package/dist/src/components/Avatar/Avatar.stories.d.ts +0 -14
  106. package/dist/src/components/Avatar/Avatar.types.d.ts +0 -10
  107. package/dist/src/components/Badge/Badge.stories.d.ts +0 -33
  108. package/dist/src/components/Badge/Badge.types.d.ts +0 -10
  109. package/dist/src/components/Box/Box.stories.d.ts +0 -38
  110. package/dist/src/components/Breadcrumbs/Breadcrumbs.stories.d.ts +0 -13
  111. package/dist/src/components/Breadcrumbs/Breadcrumbs.types.d.ts +0 -11
  112. package/dist/src/components/Button/Button.stories.d.ts +0 -22
  113. package/dist/src/components/Button/Button.types.d.ts +0 -12
  114. package/dist/src/components/Card/Card.stories.d.ts +0 -27
  115. package/dist/src/components/Card/Card.types.d.ts +0 -16
  116. package/dist/src/components/Checkbox/Checkbox.stories.d.ts +0 -17
  117. package/dist/src/components/Checkbox/Checkbox.types.d.ts +0 -7
  118. package/dist/src/components/Divider/Divider.stories.d.ts +0 -15
  119. package/dist/src/components/Divider/Divider.types.d.ts +0 -10
  120. package/dist/src/components/Dropdown/Dropdown.stories.d.ts +0 -12
  121. package/dist/src/components/Dropdown/Dropdown.types.d.ts +0 -24
  122. package/dist/src/components/Header/Header.stories.d.ts +0 -20
  123. package/dist/src/components/Header/Header.types.d.ts +0 -16
  124. package/dist/src/components/Input/Input.stories.d.ts +0 -32
  125. package/dist/src/components/Input/Input.types.d.ts +0 -10
  126. package/dist/src/components/List/List.stories.d.ts +0 -25
  127. package/dist/src/components/Loader/Loader.stories.d.ts +0 -25
  128. package/dist/src/components/Loader/Loader.types.d.ts +0 -8
  129. package/dist/src/components/Modal/Modal.stories.d.ts +0 -28
  130. package/dist/src/components/Modal/Modal.types.d.ts +0 -12
  131. package/dist/src/components/NavBar/NavBar.stories.d.ts +0 -8
  132. package/dist/src/components/NavBar/NavBar.types.d.ts +0 -38
  133. package/dist/src/components/Notification/Notification.stories.d.ts +0 -26
  134. package/dist/src/components/Notification/Notification.types.d.ts +0 -9
  135. package/dist/src/components/Pagination/Pagination.stories.d.ts +0 -21
  136. package/dist/src/components/Pagination/Pagination.types.d.ts +0 -34
  137. package/dist/src/components/ProgressBar/ProgressBar.stories.d.ts +0 -32
  138. package/dist/src/components/ProgressBar/ProgressBar.types.d.ts +0 -12
  139. package/dist/src/components/RadioButton/RadioButton.stories.d.ts +0 -30
  140. package/dist/src/components/RadioButton/RadioButton.types.d.ts +0 -9
  141. package/dist/src/components/Select/Select.stories.d.ts +0 -32
  142. package/dist/src/components/Select/Select.types.d.ts +0 -23
  143. package/dist/src/components/Skeleton/Skeleton.stories.d.ts +0 -15
  144. package/dist/src/components/Skeleton/Skeleton.types.d.ts +0 -9
  145. package/dist/src/components/Slider/Slider.stories.d.ts +0 -23
  146. package/dist/src/components/Slider/Slider.types.d.ts +0 -15
  147. package/dist/src/components/Stepper/Step.types.d.ts +0 -18
  148. package/dist/src/components/Stepper/Stepper.stories.d.ts +0 -15
  149. package/dist/src/components/Stepper/Stepper.types.d.ts +0 -14
  150. package/dist/src/components/Switch/Switch.stories.d.ts +0 -16
  151. package/dist/src/components/Switch/Switch.types.d.ts +0 -6
  152. package/dist/src/components/Table/Table.stories.d.ts +0 -27
  153. package/dist/src/components/Table/Table.types.d.ts +0 -19
  154. package/dist/src/components/Tabs/Tabs.stories.d.ts +0 -19
  155. package/dist/src/components/Tabs/Tabs.types.d.ts +0 -16
  156. package/dist/src/components/Text/Text.stories.d.ts +0 -78
  157. package/dist/src/components/Text/Text.types.d.ts +0 -52
  158. package/dist/src/components/Textarea/Textarea.stories.d.ts +0 -32
  159. package/dist/src/components/Textarea/Textarea.types.d.ts +0 -11
  160. package/dist/src/components/Tooltip/Tooltip.stories.d.ts +0 -10
  161. package/dist/src/components/Tooltip/Tooltip.types.d.ts +0 -12
  162. package/dist/src/components/Tree/Tree.stories.d.ts +0 -27
  163. package/dist/src/layouts/AppLayout/AppLayout.stories.d.ts +0 -13
  164. package/dist/src/layouts/AppLayout/AppLayout.types.d.ts +0 -13
  165. package/dist/src/layouts/AuthLayout/AuthLayout.stories.d.ts +0 -12
  166. package/dist/src/layouts/AuthLayout/AuthLayout.types.d.ts +0 -8
  167. package/dist/src/layouts/DashboardLayout/DashboardLayout.stories.d.ts +0 -11
  168. package/dist/src/layouts/DashboardLayout/DashboardLayout.types.d.ts +0 -10
  169. package/dist/src/layouts/SettingsLayout/SettingsLayout.stories.d.ts +0 -11
  170. package/dist/src/layouts/SettingsLayout/SettingsLayout.types.d.ts +0 -9
@@ -1,2 +1 @@
1
- import { AccordionProps } from './Accordion.types.ts';
2
1
  export declare const Accordion: ({ items, allowMultiple, defaultExpanded, variant, size, className, id, }: AccordionProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import { AvatarProps } from './Avatar.types.ts';
2
1
  export declare const Avatar: ({ src, alt, name, size, fallback, className, ...props }: AvatarProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import { BadgeProps } from './Badge.types.ts';
2
1
  export declare const Badge: ({ variant, size, intent, className, children, ...props }: BadgeProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import { BoxProps } from './Box.types.ts';
2
1
  export declare const Box: ({ children, as: Component, display, padding, paddingX, paddingY, paddingTop, paddingBottom, paddingLeft, paddingRight, margin, marginX, marginY, marginTop, marginBottom, marginLeft, marginRight, gap, flexDirection, alignItems, justifyContent, flexWrap, flexGrow, flexShrink, flex, fullWidth, textAlign, width, height, maxWidth, gridTemplateColumns, backgroundColor, border, borderBottom, borderColor, borderRadius, className, style, ...props }: BoxProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,14 +1,14 @@
1
- import { HTMLAttributes, ReactNode, ElementType } from 'react';
2
- export type BoxPadding = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 8 | 10 | 12 | 14 | (string & {});
3
- export type BoxMargin = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 8 | 10 | 12 | 14 | (string & {});
4
- export type BoxGap = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 8 | 10 | 12 | 14 | (string & {});
5
- export type BoxDisplay = 'block' | 'flex' | 'inline-flex' | 'grid' | 'inline-block' | 'none';
6
- export type BoxFlexDirection = 'row' | 'column' | 'row-reverse' | 'column-reverse';
7
- export type BoxAlignItems = 'stretch' | 'flex-start' | 'center' | 'flex-end' | 'baseline';
8
- export type BoxJustifyContent = 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly';
9
- export type BoxBackgroundColor = 'none' | 'main' | 'subtle' | 'info-subtle' | 'success-subtle' | 'warning-subtle' | 'danger-subtle';
10
- export type BoxBorderColor = 'main' | 'subtle' | 'danger' | 'warning' | 'success' | 'info';
11
- export type BoxBorderRadius = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'full';
1
+ import type { HTMLAttributes, ReactNode, ElementType } from 'react';
2
+ export declare type BoxPadding = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 8 | 10 | 12 | 14 | (string & {});
3
+ export declare type BoxMargin = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 8 | 10 | 12 | 14 | (string & {});
4
+ export declare type BoxGap = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 8 | 10 | 12 | 14 | (string & {});
5
+ export declare type BoxDisplay = 'block' | 'flex' | 'inline-flex' | 'grid' | 'inline-block' | 'none';
6
+ export declare type BoxFlexDirection = 'row' | 'column' | 'row-reverse' | 'column-reverse';
7
+ export declare type BoxAlignItems = 'stretch' | 'flex-start' | 'center' | 'flex-end' | 'baseline';
8
+ export declare type BoxJustifyContent = 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly';
9
+ export declare type BoxBackgroundColor = 'none' | 'main' | 'subtle' | 'info-subtle' | 'success-subtle' | 'warning-subtle' | 'danger-subtle';
10
+ export declare type BoxBorderColor = 'main' | 'subtle' | 'danger' | 'warning' | 'success' | 'info';
11
+ export declare type BoxBorderRadius = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'full';
12
12
  export interface BoxProps extends HTMLAttributes<HTMLElement> {
13
13
  children?: ReactNode;
14
14
  as?: ElementType;
@@ -1,2 +1,2 @@
1
- import { BoxPadding } from '../Box.types.ts';
2
- export declare const getSpacingStyles: (type: "padding" | "margin", prop: BoxPadding | undefined, propX: BoxPadding | undefined, propY: BoxPadding | undefined, propTop: BoxPadding | undefined, propBottom: BoxPadding | undefined, propLeft: BoxPadding | undefined, propRight: BoxPadding | undefined) => Record<string, string | undefined>;
1
+ import type { BoxPadding } from '../Box.types.ts';
2
+ export declare const getSpacingStyles: (type: 'padding' | 'margin', prop: BoxPadding | undefined, propX: BoxPadding | undefined, propY: BoxPadding | undefined, propTop: BoxPadding | undefined, propBottom: BoxPadding | undefined, propLeft: BoxPadding | undefined, propRight: BoxPadding | undefined) => Record<string, string | undefined>;
@@ -1,3 +1,2 @@
1
- import { BreadcrumbsProps, BreadcrumbItemProps } from './Breadcrumbs.types.ts';
2
1
  export declare const BreadcrumbItem: ({ href, isCurrent, children, className, ...props }: BreadcrumbItemProps) => import("react/jsx-runtime").JSX.Element;
3
2
  export declare const Breadcrumbs: ({ children, separator, className, ...props }: BreadcrumbsProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import { ButtonProps } from './Button.types.ts';
2
1
  export declare const Button: ({ type, size, variant, intent, fullWidth, isLoading, className, children, disabled, ...props }: ButtonProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,3 @@
1
- import { CardProps, CardHeaderProps, CardContentProps, CardFooterProps } from './Card.types.ts';
2
1
  export declare const Card: ({ padding, shadow, bordered, borderColor, backgroundColor, className, children, ...props }: CardProps) => import("react/jsx-runtime").JSX.Element;
3
2
  export declare const CardHeader: ({ title, subtitle, className, children, ...props }: CardHeaderProps) => import("react/jsx-runtime").JSX.Element;
4
3
  export declare const CardContent: ({ className, children, ...props }: CardContentProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import { CheckboxProps } from './Checkbox.types.ts';
2
1
  export declare const Checkbox: ({ label, error, helperText, className, disabled, id, ...props }: CheckboxProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const DatePicker: ({ value, onChange, placeholder, disabled, min, max, id, label, className, }: DatePickerProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import { DividerProps } from './Divider.types.ts';
2
1
  export declare const Divider: ({ orientation, thickness, length, spacing, inset, className, style, ...props }: DividerProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const Drawer: ({ isOpen, onClose, title, children, footer, placement, size, isLoading, className, id, }: DrawerProps) => import("react").ReactPortal | null;
@@ -1,2 +1 @@
1
- import { DropdownProps } from './Dropdown.types.ts';
2
1
  export declare const Dropdown: ({ options, value, defaultValue, onChange, placeholder, label, helperText, error, disabled, size, className, id, fullWidth, }: DropdownProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const EmptyState: ({ title, description, icon, action, size, className, ...props }: EmptyStateProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import { HeaderProps } from './Header.types.ts';
2
1
  export declare const Header: ({ id, logo, title, user, onLogin, onLogout, onCreateAccount, className, maxWidth, }: HeaderProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import { InputProps } from './Input.types.ts';
2
1
  export declare const Input: ({ size, error, label, helperText, fullWidth, className, id, ...props }: InputProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
- import { ListProps } from './List.types';
1
+ import type { ListProps } from './List.types';
2
2
  export declare const List: {
3
3
  ({ children, variant, spacing, className, margin, marginX, marginY, marginTop, marginBottom, marginLeft, marginRight, padding, paddingX, paddingY, paddingTop, paddingBottom, paddingLeft, paddingRight, style, ...props }: ListProps): import("react/jsx-runtime").JSX.Element;
4
- Item: ({ children, icon, className, ...props }: import('./ListItem.types').ListItemProps) => import("react/jsx-runtime").JSX.Element;
4
+ Item: ({ children, icon, className, ...props }: import("./ListItem.types").ListItemProps) => import("react/jsx-runtime").JSX.Element;
5
5
  };
@@ -1,6 +1,6 @@
1
- import { ReactNode, HTMLAttributes } from 'react';
2
- import { BoxPadding, BoxMargin } from '../Box/Box.types';
3
- export type ListVariant = 'unordered' | 'ordered' | 'none';
1
+ import type { ReactNode, HTMLAttributes } from 'react';
2
+ import type { BoxPadding, BoxMargin } from '../Box/Box.types';
3
+ export declare type ListVariant = 'unordered' | 'ordered' | 'none';
4
4
  export interface ListProps extends HTMLAttributes<HTMLUListElement | HTMLOListElement> {
5
5
  /** The content of the list, usually ListItem components */
6
6
  children: ReactNode;
@@ -1,2 +1,2 @@
1
- import { ListItemProps } from './ListItem.types';
1
+ import type { ListItemProps } from './ListItem.types';
2
2
  export declare const ListItem: ({ children, icon, className, ...props }: ListItemProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
- import { ReactNode, HTMLAttributes } from 'react';
1
+ import type { ReactNode, HTMLAttributes } from 'react';
2
2
  export interface ListItemProps extends HTMLAttributes<HTMLLIElement> {
3
3
  /** The content of the list item */
4
4
  children: ReactNode;
@@ -1,2 +1 @@
1
- import { LoaderProps } from './Loader.types.ts';
2
1
  export declare const Loader: ({ id, size, intent, className }: LoaderProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import { ModalProps } from './Modal.types.ts';
2
- export declare const Modal: ({ isOpen, onClose, title, children, footer, size, isLoading, className, id, }: ModalProps) => import('react').ReactPortal | null;
1
+ export declare const Modal: ({ isOpen, onClose, title, children, footer, size, isLoading, className, id, }: ModalProps) => import("react").ReactPortal | null;
@@ -1,4 +1,3 @@
1
- import { NavBarProps } from './NavBar.types.ts';
2
1
  /**
3
2
  * NavBar is a navigation component typically used for application-wide navigation.
4
3
  * It differs from Header as it focuses on navigational links rather than just branding and user actions.
@@ -1,2 +1 @@
1
- import { NotificationProps } from './Notification.types.ts';
2
1
  export declare const Notification: ({ intent, title, children, onClose, className, ...props }: NotificationProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import { PaginationProps } from './Pagination.types.ts';
2
1
  export declare const Pagination: ({ id, count, page, defaultPage, onPageChange, onFirstClick, onLastClick, onNextClick, onPrevClick, siblingCount, boundaryCount, showFirstLast, showPrevNext, showEllipsis, disabled, size, variant, intent, activeVariant, activeIntent, labels, ariaLabel, getPageLabel, className, }: PaginationProps) => import("react/jsx-runtime").JSX.Element | null;
@@ -0,0 +1 @@
1
+ export declare const Popover: ({ trigger, children, placement, isOpen: controlledOpen, onOpenChange, className, id, }: PopoverProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import { ProgressBarProps } from './ProgressBar.types.ts';
2
1
  export declare const ProgressBar: ({ value, max, size, intent, showLabel, label, className, id, }: ProgressBarProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import { RadioButtonProps } from './RadioButton.types.ts';
2
1
  export declare const RadioButton: ({ size, label, helperText, error, className, id, ...props }: RadioButtonProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import { SelectProps } from './Select.types.ts';
2
1
  export declare const Select: ({ size, error, label, helperText, fullWidth, className, id, options, children, ...props }: SelectProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import { SkeletonProps } from './Skeleton.types.ts';
2
1
  export declare const Skeleton: ({ variant, width, height, animation, className, style, "aria-hidden": ariaHidden, ...props }: SkeletonProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import { SliderProps } from './Slider.types.ts';
2
1
  export declare const Slider: ({ size, label, helperText, fullWidth, showValue, showInputs, className, id, value, defaultValue, onValueChange, ...props }: SliderProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import { StepProps } from './Step.types.ts';
2
1
  export declare const Step: ({ step, index, status, isInteractive, onStepClick, isLast, id, className, }: StepProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import { StepperProps } from './Stepper.types.ts';
2
1
  export declare const Stepper: ({ steps, currentStep, orientation, size, onStepClick, ariaLabel, className, id, ...props }: StepperProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,3 @@
1
- import { StepperStatus, StepOptions } from './Step.types.ts';
1
+ import type { StepOptions } from './Step.types.ts';
2
2
  export declare const resolveCurrentIndex: (currentStep: number | string | undefined, steps: StepOptions[]) => number;
3
- export declare const getStepStatus: (index: number, currentIndex: number, stepStatus?: StepperStatus) => StepperStatus;
3
+ export declare const getStepStatus: (index: number, currentIndex: number, stepStatus?: any) => StepperStatus;
@@ -1,2 +1 @@
1
- import { SwitchProps } from './Switch.types.ts';
2
1
  export declare const Switch: ({ label, helperText, className, disabled, id, ...props }: SwitchProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,3 @@
1
- import { TableProps, TableHeaderProps, TableBodyProps, TableFooterProps, TableRowProps, TableHeadProps, TableCellProps } from './Table.types.ts';
2
1
  export declare const Table: ({ children, className, striped, hoverable, dense, isLoading, caption, ...props }: TableProps) => import("react/jsx-runtime").JSX.Element;
3
2
  export declare const TableHeader: ({ children, className, ...props }: TableHeaderProps) => import("react/jsx-runtime").JSX.Element;
4
3
  export declare const TableBody: ({ children, className, ...props }: TableBodyProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import { TabsProps } from './Tabs.types.ts';
2
1
  export declare const Tabs: ({ items, defaultActiveId, activeId: controlledActiveId, onChange, className, variant, id, }: TabsProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const Tag: ({ label, intent, size, onRemove, onClick, icon, disabled, className, ...props }: TagProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import { TextProps } from './Text.types.ts';
2
1
  export declare const Text: ({ children, variant, as, align, weight, color, noWrap, className, style, padding, paddingX, paddingY, paddingTop, paddingBottom, paddingLeft, paddingRight, margin, marginX, marginY, marginTop, marginBottom, marginLeft, marginRight, ...props }: TextProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import { TextareaProps } from './Textarea.types.ts';
2
1
  export declare const Textarea: ({ size, error, label, helperText, fullWidth, className, id, rows, ...props }: TextareaProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import { TooltipProps } from './Tooltip.types.ts';
2
1
  export declare const Tooltip: ({ content, children, position, variant, delay, className, id, }: TooltipProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
- import { TreeProps } from './Tree.types';
1
+ import type { TreeProps } from './Tree.types';
2
2
  export declare const Tree: {
3
3
  ({ data, className, defaultExpanded, expandIcon, collapseIcon, ...props }: TreeProps): import("react/jsx-runtime").JSX.Element;
4
- Item: ({ data, label, defaultExpanded, expandIcon, collapseIcon, isRoot, level, setSize, posInSet, }: import('./TreeItem.types').TreeItemProps) => import("react/jsx-runtime").JSX.Element;
4
+ Item: ({ data, label, defaultExpanded, expandIcon, collapseIcon, isRoot, level, setSize, posInSet, }: import("./TreeItem.types").TreeItemProps) => import("react/jsx-runtime").JSX.Element;
5
5
  };
@@ -1,4 +1,4 @@
1
- import { HTMLAttributes, ReactNode } from 'react';
1
+ import type { HTMLAttributes, ReactNode } from 'react';
2
2
  export interface TreeProps extends HTMLAttributes<HTMLDivElement> {
3
3
  /** The data to be displayed in the tree */
4
4
  data: unknown;
@@ -1,2 +1,2 @@
1
- import { TreeItemProps } from './TreeItem.types';
1
+ import type { TreeItemProps } from './TreeItem.types';
2
2
  export declare const TreeItem: ({ data, label, defaultExpanded, expandIcon, collapseIcon, isRoot, level, setSize, posInSet, }: TreeItemProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
- import { ReactNode } from 'react';
1
+ import type { ReactNode } from 'react';
2
2
  export interface TreeItemProps {
3
3
  /** The data to be displayed in the tree item */
4
4
  data: unknown;