@adgytec/adgytec-web-ui-components 1.1.2 → 1.1.4

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 (238) hide show
  1. package/LICENSE +21 -21
  2. package/dist/assets/Avatar.css +1 -1
  3. package/dist/assets/BaseCard.css +1 -1
  4. package/dist/assets/Disclosure.css +1 -1
  5. package/dist/assets/Label.css +1 -0
  6. package/dist/assets/Menu.css +1 -1
  7. package/dist/assets/MenuLabel.css +1 -1
  8. package/dist/assets/Popover.css +1 -1
  9. package/dist/assets/Select.css +1 -1
  10. package/dist/assets/Tooltip.css +1 -1
  11. package/dist/assets/button.css +1 -0
  12. package/dist/chunks/Avatar +20 -19
  13. package/dist/chunks/Avatar.map +1 -0
  14. package/dist/chunks/BaseCard +21 -20
  15. package/dist/chunks/BaseCard.map +1 -0
  16. package/dist/chunks/Button +7 -6
  17. package/dist/chunks/Button.map +1 -0
  18. package/dist/chunks/ButtonChild +5 -4
  19. package/dist/chunks/ButtonChild.map +1 -0
  20. package/dist/chunks/ButtonLink +7 -6
  21. package/dist/chunks/ButtonLink.map +1 -0
  22. package/dist/chunks/ComponentShapeSwitcher +22 -22
  23. package/dist/chunks/ComponentShapeSwitcher.map +1 -0
  24. package/dist/chunks/Container +1 -0
  25. package/dist/chunks/Container.map +1 -0
  26. package/dist/chunks/Disclosure +16 -15
  27. package/dist/chunks/Disclosure.map +1 -0
  28. package/dist/chunks/DisclousreGroup +5 -4
  29. package/dist/chunks/DisclousreGroup.map +1 -0
  30. package/dist/chunks/DisplayError +9 -0
  31. package/dist/chunks/DisplayError.map +1 -0
  32. package/dist/chunks/{Success → DisplaySuccess} +3 -2
  33. package/dist/chunks/DisplaySuccess.map +1 -0
  34. package/dist/chunks/FilledButton +1 -0
  35. package/dist/chunks/FilledButton.map +1 -0
  36. package/dist/chunks/FilledButtonLink +1 -0
  37. package/dist/chunks/FilledButtonLink.map +1 -0
  38. package/dist/chunks/Form +13 -12
  39. package/dist/chunks/Form.map +1 -0
  40. package/dist/chunks/GradientCard +1 -0
  41. package/dist/chunks/GradientCard.map +1 -0
  42. package/dist/chunks/Image +20 -14
  43. package/dist/chunks/Image.map +1 -0
  44. package/dist/chunks/Input +3 -2
  45. package/dist/chunks/Input.map +1 -0
  46. package/dist/chunks/Label +26 -0
  47. package/dist/chunks/Label.map +1 -0
  48. package/dist/chunks/Link +7 -6
  49. package/dist/chunks/Link.map +1 -0
  50. package/dist/chunks/Loader +4 -3
  51. package/dist/chunks/Loader.map +1 -0
  52. package/dist/chunks/Menu +42 -39
  53. package/dist/chunks/Menu.map +1 -0
  54. package/dist/chunks/MenuButton +18 -4
  55. package/dist/chunks/MenuButton.map +1 -0
  56. package/dist/chunks/MenuLabel +21 -10
  57. package/dist/chunks/MenuLabel.map +1 -0
  58. package/dist/chunks/ModalAction +5 -4
  59. package/dist/chunks/ModalAction.map +1 -0
  60. package/dist/chunks/ModalBase +2 -1
  61. package/dist/chunks/ModalBase.map +1 -0
  62. package/dist/chunks/NavigationMenu +21 -17
  63. package/dist/chunks/NavigationMenu.map +1 -0
  64. package/dist/chunks/NavigationResponsive +1 -0
  65. package/dist/chunks/NavigationResponsive.map +1 -0
  66. package/dist/chunks/NavigationSidebar +13 -12
  67. package/dist/chunks/NavigationSidebar.map +1 -0
  68. package/dist/chunks/OutlinedButton +1 -0
  69. package/dist/chunks/OutlinedButton.map +1 -0
  70. package/dist/chunks/OutlinedButtonLink +1 -0
  71. package/dist/chunks/OutlinedButtonLink.map +1 -0
  72. package/dist/chunks/Popover +6 -5
  73. package/dist/chunks/Popover.map +1 -0
  74. package/dist/chunks/PopoverDialog +1 -0
  75. package/dist/chunks/PopoverDialog.map +1 -0
  76. package/dist/chunks/Select +79 -76
  77. package/dist/chunks/Select.map +1 -0
  78. package/dist/chunks/Sidebar +2 -1
  79. package/dist/chunks/Sidebar.map +1 -0
  80. package/dist/chunks/SolidCard +1 -0
  81. package/dist/chunks/SolidCard.map +1 -0
  82. package/dist/chunks/TextArea +3 -2
  83. package/dist/chunks/TextArea.map +1 -0
  84. package/dist/chunks/TextButton +1 -0
  85. package/dist/chunks/TextButton.map +1 -0
  86. package/dist/chunks/ThemeSwitcher +21 -22
  87. package/dist/chunks/ThemeSwitcher.map +1 -0
  88. package/dist/chunks/Toast +8 -7
  89. package/dist/chunks/Toast.map +1 -0
  90. package/dist/chunks/ToggleButton +10 -9
  91. package/dist/chunks/ToggleButton.map +1 -0
  92. package/dist/chunks/ToggleButtonGroup +7 -6
  93. package/dist/chunks/ToggleButtonGroup.map +1 -0
  94. package/dist/chunks/Tooltip +24 -20
  95. package/dist/chunks/Tooltip.map +1 -0
  96. package/dist/chunks/Tree +12 -12
  97. package/dist/chunks/Tree.map +1 -0
  98. package/dist/chunks/Viewport +5 -5
  99. package/dist/chunks/Viewport.map +1 -0
  100. package/dist/chunks/button.module +48 -0
  101. package/dist/chunks/button.module.map +1 -0
  102. package/dist/components/Avatar/index.js +1 -0
  103. package/dist/components/Avatar/index.js.map +1 -0
  104. package/dist/components/Button/ButtonBase/index.js +1 -0
  105. package/dist/components/Button/ButtonBase/index.js.map +1 -0
  106. package/dist/components/Button/ButtonBase/types.d.ts +1 -1
  107. package/dist/components/Button/ButtonChild/index.js +1 -0
  108. package/dist/components/Button/ButtonChild/index.js.map +1 -0
  109. package/dist/components/Button/FilledButton/index.js +1 -0
  110. package/dist/components/Button/FilledButton/index.js.map +1 -0
  111. package/dist/components/Button/OutlinedButton/index.js +1 -0
  112. package/dist/components/Button/OutlinedButton/index.js.map +1 -0
  113. package/dist/components/Button/TextButton/index.js +1 -0
  114. package/dist/components/Button/TextButton/index.js.map +1 -0
  115. package/dist/components/Button/ToggleButton/index.js +1 -0
  116. package/dist/components/Button/ToggleButton/index.js.map +1 -0
  117. package/dist/components/Card/BaseCard/index.d.ts +1 -1
  118. package/dist/components/Card/BaseCard/index.js +1 -0
  119. package/dist/components/Card/BaseCard/index.js.map +1 -0
  120. package/dist/components/Card/BaseCard/types.d.ts +1 -1
  121. package/dist/components/Card/GradientCard/index.js +1 -0
  122. package/dist/components/Card/GradientCard/index.js.map +1 -0
  123. package/dist/components/Card/SolidCard/index.js +1 -0
  124. package/dist/components/Card/SolidCard/index.js.map +1 -0
  125. package/dist/components/Container/index.d.ts +1 -1
  126. package/dist/components/Container/index.js +1 -0
  127. package/dist/components/Container/index.js.map +1 -0
  128. package/dist/components/Disclosure/Disclosure/index.js +1 -0
  129. package/dist/components/Disclosure/Disclosure/index.js.map +1 -0
  130. package/dist/components/Disclosure/Disclosure/types.d.ts +1 -1
  131. package/dist/components/Disclosure/DisclousureGroup/index.js +1 -0
  132. package/dist/components/Disclosure/DisclousureGroup/index.js.map +1 -0
  133. package/dist/components/DisplayError/DisplayError.d.ts +2 -0
  134. package/dist/components/DisplayError/index.d.ts +2 -0
  135. package/dist/components/DisplayError/index.js +5 -0
  136. package/dist/components/DisplayError/index.js.map +1 -0
  137. package/dist/components/{Error → DisplayError}/types.d.ts +1 -1
  138. package/dist/components/DisplaySuccess/DisplaySuccess.d.ts +2 -0
  139. package/dist/components/DisplaySuccess/index.d.ts +2 -0
  140. package/dist/components/DisplaySuccess/index.js +5 -0
  141. package/dist/components/DisplaySuccess/index.js.map +1 -0
  142. package/dist/components/{Success → DisplaySuccess}/types.d.ts +1 -1
  143. package/dist/components/Form/Form/Form.d.ts +2 -2
  144. package/dist/components/Form/Form/index.d.ts +1 -1
  145. package/dist/components/Form/Form/index.js +1 -0
  146. package/dist/components/Form/Form/index.js.map +1 -0
  147. package/dist/components/Form/Form/types.d.ts +5 -3
  148. package/dist/components/Form/Input/index.js +1 -0
  149. package/dist/components/Form/Input/index.js.map +1 -0
  150. package/dist/components/Form/Input/types.d.ts +1 -1
  151. package/dist/components/Form/TextArea/index.js +1 -0
  152. package/dist/components/Form/TextArea/index.js.map +1 -0
  153. package/dist/components/Form/TextArea/types.d.ts +1 -1
  154. package/dist/components/Image/index.d.ts +1 -1
  155. package/dist/components/Image/index.js +1 -0
  156. package/dist/components/Image/index.js.map +1 -0
  157. package/dist/components/Link/FilledButtonLink/index.js +1 -0
  158. package/dist/components/Link/FilledButtonLink/index.js.map +1 -0
  159. package/dist/components/Link/LinkBase/index.js +1 -0
  160. package/dist/components/Link/LinkBase/index.js.map +1 -0
  161. package/dist/components/Link/LinkBase/types.d.ts +1 -1
  162. package/dist/components/Link/OutlinedButtonLink/index.js +1 -0
  163. package/dist/components/Link/OutlinedButtonLink/index.js.map +1 -0
  164. package/dist/components/Loader/index.js +1 -0
  165. package/dist/components/Loader/index.js.map +1 -0
  166. package/dist/components/Menu/MenuBase/Menu.d.ts +1 -1
  167. package/dist/components/Menu/MenuBase/index.js +1 -0
  168. package/dist/components/Menu/MenuBase/index.js.map +1 -0
  169. package/dist/components/Menu/MenuBase/types.d.ts +9 -7
  170. package/dist/components/Menu/MenuButton/MenuButton.d.ts +1 -1
  171. package/dist/components/Menu/MenuButton/index.js +1 -0
  172. package/dist/components/Menu/MenuButton/index.js.map +1 -0
  173. package/dist/components/Menu/MenuLabel/MenuLabel.d.ts +1 -1
  174. package/dist/components/Menu/MenuLabel/index.js +1 -0
  175. package/dist/components/Menu/MenuLabel/index.js.map +1 -0
  176. package/dist/components/Modal/ModalAction/index.js +1 -0
  177. package/dist/components/Modal/ModalAction/index.js.map +1 -0
  178. package/dist/components/Modal/ModalAction/types.d.ts +1 -1
  179. package/dist/components/Modal/ModalBase/index.js +1 -0
  180. package/dist/components/Modal/ModalBase/index.js.map +1 -0
  181. package/dist/components/Modal/ModalBase/types.d.ts +1 -1
  182. package/dist/components/Navigation/NavigationMenu/index.js +1 -0
  183. package/dist/components/Navigation/NavigationMenu/index.js.map +1 -0
  184. package/dist/components/Navigation/NavigationResponsive/index.js +1 -0
  185. package/dist/components/Navigation/NavigationResponsive/index.js.map +1 -0
  186. package/dist/components/Navigation/NavigationResponsive/types.d.ts +2 -2
  187. package/dist/components/Navigation/NavigationSidebar/index.js +1 -0
  188. package/dist/components/Navigation/NavigationSidebar/index.js.map +1 -0
  189. package/dist/components/Navigation/NavigationSidebar/types.d.ts +2 -2
  190. package/dist/components/Popover/PopoverBase/index.js +1 -0
  191. package/dist/components/Popover/PopoverBase/index.js.map +1 -0
  192. package/dist/components/Popover/PopoverDialog/index.js +1 -0
  193. package/dist/components/Popover/PopoverDialog/index.js.map +1 -0
  194. package/dist/components/Select/Select.d.ts +1 -1
  195. package/dist/components/Select/index.js +1 -0
  196. package/dist/components/Select/index.js.map +1 -0
  197. package/dist/components/Select/types.d.ts +11 -4
  198. package/dist/components/Separator/Separator.d.ts +1 -0
  199. package/dist/components/Sidebar/index.js +1 -0
  200. package/dist/components/Sidebar/index.js.map +1 -0
  201. package/dist/components/Sidebar/types.d.ts +1 -1
  202. package/dist/components/Splash/useSplash.d.ts +1 -1
  203. package/dist/components/Toast/index.d.ts +1 -1
  204. package/dist/components/Toast/index.js +1 -0
  205. package/dist/components/Toast/index.js.map +1 -0
  206. package/dist/components/ToggleButtonGroup/index.js +1 -0
  207. package/dist/components/ToggleButtonGroup/index.js.map +1 -0
  208. package/dist/components/Tooltip/index.js +1 -0
  209. package/dist/components/Tooltip/index.js.map +1 -0
  210. package/dist/components/Tree/index.js +1 -0
  211. package/dist/components/Tree/index.js.map +1 -0
  212. package/dist/components/Tree/types.d.ts +3 -3
  213. package/dist/components/Viewport/Viewport.d.ts +1 -1
  214. package/dist/components/Viewport/index.js +1 -0
  215. package/dist/components/Viewport/index.js.map +1 -0
  216. package/dist/components/VisualSettings/ComponentShapeSwitcher/index.js +1 -0
  217. package/dist/components/VisualSettings/ComponentShapeSwitcher/index.js.map +1 -0
  218. package/dist/components/VisualSettings/ThemeSwitcher/index.js +1 -0
  219. package/dist/components/VisualSettings/ThemeSwitcher/index.js.map +1 -0
  220. package/dist/index.d.ts +2 -2
  221. package/dist/index.js +59 -58
  222. package/dist/index.js.map +1 -0
  223. package/dist/utils/form.d.ts +1 -1
  224. package/dist/utils/types.d.ts +9 -0
  225. package/package.json +25 -26
  226. package/dist/assets/FieldError.css +0 -1
  227. package/dist/assets/useSplash.css +0 -1
  228. package/dist/chunks/Error +0 -8
  229. package/dist/chunks/FieldError +0 -25
  230. package/dist/chunks/useSplash +0 -48
  231. package/dist/components/Error/Error.d.ts +0 -2
  232. package/dist/components/Error/index.d.ts +0 -2
  233. package/dist/components/Error/index.js +0 -4
  234. package/dist/components/Success/Success.d.ts +0 -2
  235. package/dist/components/Success/index.d.ts +0 -2
  236. package/dist/components/Success/index.js +0 -4
  237. /package/dist/assets/{Error.css → DisplayError.css} +0 -0
  238. /package/dist/assets/{Success.css → DisplaySuccess.css} +0 -0
@@ -1,2 +1,2 @@
1
1
  import { MenuButtonProps } from '../MenuBase/types';
2
- export declare const MenuButton: ({ children, menuItems }: MenuButtonProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const MenuButton: ({ children, menuItems, triggerType, cardBackground, }: MenuButtonProps) => import("react/jsx-runtime").JSX.Element;
@@ -2,3 +2,4 @@ import { M as e } from "../../../chunks/MenuButton";
2
2
  export {
3
3
  e as MenuButton
4
4
  };
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,2 +1,2 @@
1
1
  import { MenuLabelProps } from '../MenuBase/types';
2
- export declare const MenuLabel: ({ children, menuItems, description, }: MenuLabelProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const MenuLabel: ({ children, menuItems, description, triggerType, cardBackground, }: MenuLabelProps) => import("react/jsx-runtime").JSX.Element;
@@ -2,3 +2,4 @@ import { M as o } from "../../../chunks/MenuLabel";
2
2
  export {
3
3
  o as MenuLabel
4
4
  };
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -2,3 +2,4 @@ import { M as r } from "../../../chunks/ModalAction";
2
2
  export {
3
3
  r as ModalAction
4
4
  };
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,6 +1,6 @@
1
1
  import { ReactElement, ReactNode } from 'react';
2
- import { ButtonVariantProps } from '../../Button/ButtonBase/types';
3
2
  import { DialogRenderProps } from 'react-aria-components';
3
+ import { ButtonVariantProps } from '../../Button/ButtonBase/types';
4
4
  export type ModalActionPlacement = "start" | "end";
5
5
  export interface ModalActionProps {
6
6
  trigger: ReactElement<ButtonVariantProps>;
@@ -2,3 +2,4 @@ import { M as e } from "../../../chunks/ModalBase";
2
2
  export {
3
3
  e as ModalBase
4
4
  };
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,6 +1,6 @@
1
1
  import { ReactElement } from 'react';
2
- import { ButtonVariantProps } from '../../Button/ButtonBase/types';
3
2
  import { DialogProps, DialogTriggerProps, ModalOverlayProps } from 'react-aria-components';
3
+ import { ButtonVariantProps } from '../../Button/ButtonBase/types';
4
4
  import { CardBackground } from '../../Card/BaseCard';
5
5
  export interface ModalBaseProps extends DialogProps {
6
6
  trigger: ReactElement<ButtonVariantProps>;
@@ -2,3 +2,4 @@ import { N as e } from "../../../chunks/NavigationMenu";
2
2
  export {
3
3
  e as NavigationMenu
4
4
  };
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -2,3 +2,4 @@ import { N as e } from "../../../chunks/NavigationResponsive";
2
2
  export {
3
3
  e as NavigationResponsive
4
4
  };
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,7 +1,7 @@
1
- import { HierarchyItemType } from '../../../utils/types';
2
1
  import { SidebarPosition, SidebarSize } from '../../Sidebar/types';
2
+ import { TreeHierarchyItemType } from '../../../utils/types';
3
3
  export interface NavigationResponsiveProps {
4
- items: HierarchyItemType[];
4
+ items: TreeHierarchyItemType[];
5
5
  mediaQuery: string;
6
6
  sidebarPosition?: SidebarPosition;
7
7
  sidebarSize?: SidebarSize;
@@ -2,3 +2,4 @@ import { N as o } from "../../../chunks/NavigationSidebar";
2
2
  export {
3
3
  o as NavigationSidebar
4
4
  };
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,7 +1,7 @@
1
- import { HierarchyItemType } from '../../../utils/types';
2
1
  import { SidebarPosition, SidebarSize } from '../../Sidebar/types';
2
+ import { TreeHierarchyItemType } from '../../../utils/types';
3
3
  export interface NavigationSidebarProps {
4
- items: HierarchyItemType[];
4
+ items: TreeHierarchyItemType[];
5
5
  sidebarPosition?: SidebarPosition;
6
6
  sidebarSize?: SidebarSize;
7
7
  isDismissable?: boolean;
@@ -2,3 +2,4 @@ import { P as e } from "../../../chunks/Popover";
2
2
  export {
3
3
  e as Popover
4
4
  };
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -2,3 +2,4 @@ import { P as a } from "../../../chunks/PopoverDialog";
2
2
  export {
3
3
  a as PopoverDialog
4
4
  };
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,2 +1,2 @@
1
1
  import { SelectProps } from './types';
2
- export declare const Select: ({ options, cardBackground, triggerTheme, label, name, disabled, isRequired, triggerVariant, description, placeholder, selectedKey, onSelectionChange, }: SelectProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const Select: ({ options, cardBackground, triggerTheme, label, ariaLabel, name, disabled, isRequired, triggerVariant, description, placeholder, selectedKey, onSelectionChange, }: SelectProps) => import("react/jsx-runtime").JSX.Element;
@@ -2,3 +2,4 @@ import { S as r } from "../../chunks/Select";
2
2
  export {
3
3
  r as Select
4
4
  };
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,19 +1,25 @@
1
1
  import { Key } from 'react-aria-components';
2
2
  import { ButtonVariant } from '../Button/ButtonBase/types';
3
- import { CardBackground } from '../Card/BaseCard';
4
3
  import { ColorTheme } from '../../utils/types';
4
+ import { CardBackground } from '../Card/BaseCard';
5
5
  export type SelectOptions = {
6
6
  key: string;
7
7
  displayValue: string;
8
8
  description?: string;
9
9
  disabled?: boolean;
10
10
  };
11
- export interface SelectProps {
11
+ type AccessibleName = {
12
+ label: string;
13
+ ariaLabel?: never;
14
+ } | {
15
+ label?: never;
16
+ ariaLabel: string;
17
+ };
18
+ export type SelectProps = AccessibleName & {
12
19
  options: SelectOptions[];
13
20
  cardBackground?: CardBackground;
14
21
  triggerTheme?: ColorTheme;
15
22
  isRequired?: boolean;
16
- label?: string;
17
23
  name?: string;
18
24
  disabled?: boolean;
19
25
  placeholder?: string;
@@ -21,4 +27,5 @@ export interface SelectProps {
21
27
  triggerVariant?: ButtonVariant;
22
28
  selectedKey?: Key;
23
29
  onSelectionChange?: (key: Key | null) => void;
24
- }
30
+ };
31
+ export {};
@@ -0,0 +1 @@
1
+ export declare const Separator: () => import("react/jsx-runtime").JSX.Element;
@@ -2,3 +2,4 @@ import { S as e } from "../../chunks/Sidebar";
2
2
  export {
3
3
  e as Sidebar
4
4
  };
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,4 +1,4 @@
1
- import { ReactNode, ReactElement } from 'react';
1
+ import { ReactElement, ReactNode } from 'react';
2
2
  import { DialogRenderProps } from 'react-aria-components';
3
3
  import { ButtonVariantProps } from '../Button/ButtonBase';
4
4
  import { CardBackground } from '../Card/BaseCard';
@@ -1,5 +1,5 @@
1
- import { SplashState } from './types';
2
1
  import { PressEvent } from 'react-aria-components';
2
+ import { SplashState } from './types';
3
3
  export declare const useSplash: (onPress?: (e: PressEvent) => void) => {
4
4
  coords: SplashState | null;
5
5
  handlePress: (e: PressEvent) => void;
@@ -1,2 +1,2 @@
1
- export * from './types';
2
1
  export * from './Toast';
2
+ export * from './types';
@@ -2,3 +2,4 @@ import { t as a } from "../../chunks/Toast";
2
2
  export {
3
3
  a as toast
4
4
  };
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -2,3 +2,4 @@ import { T as t } from "../../chunks/ToggleButtonGroup";
2
2
  export {
3
3
  t as ToggleButtonGroup
4
4
  };
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -2,3 +2,4 @@ import { T as r } from "../../chunks/Tooltip";
2
2
  export {
3
3
  r as Tooltip
4
4
  };
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -2,3 +2,4 @@ import { T as o } from "../../chunks/Tree";
2
2
  export {
3
3
  o as Tree
4
4
  };
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,7 +1,7 @@
1
- import { HierarchyItemType } from '../../utils/types';
1
+ import { TreeHierarchyItemType } from '../../utils/types';
2
2
  export interface TreeProps {
3
- items: HierarchyItemType[];
3
+ items: TreeHierarchyItemType[];
4
4
  }
5
5
  export interface RenderTreeProps {
6
- item: HierarchyItemType;
6
+ item: TreeHierarchyItemType;
7
7
  }
@@ -1 +1 @@
1
- export declare const Viewport: () => import("react/jsx-runtime").JSX.Element;
1
+ export declare const Viewport: () => null;
@@ -2,3 +2,4 @@ import { V as e } from "../../chunks/Viewport";
2
2
  export {
3
3
  e as Viewport
4
4
  };
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -2,3 +2,4 @@ import { C as p } from "../../../chunks/ComponentShapeSwitcher";
2
2
  export {
3
3
  p as ComponentShapeSwitcher
4
4
  };
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -2,3 +2,4 @@ import { T as h } from "../../../chunks/ThemeSwitcher";
2
2
  export {
3
3
  h as ThemeSwitcher
4
4
  };
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
package/dist/index.d.ts CHANGED
@@ -11,7 +11,8 @@ export * from './components/Card/SolidCard';
11
11
  export * from './components/Container';
12
12
  export * from './components/Disclosure/Disclosure';
13
13
  export * from './components/Disclosure/DisclousureGroup';
14
- export * from './components/Error';
14
+ export * from './components/DisplayError';
15
+ export * from './components/DisplaySuccess';
15
16
  export * from './components/Form/Form';
16
17
  export * from './components/Form/Input';
17
18
  export * from './components/Form/TextArea';
@@ -32,7 +33,6 @@ export * from './components/Popover/PopoverBase';
32
33
  export * from './components/Popover/PopoverDialog';
33
34
  export * from './components/Select';
34
35
  export * from './components/Sidebar';
35
- export * from './components/Success';
36
36
  export * from './components/Toast';
37
37
  export * from './components/ToggleButtonGroup';
38
38
  export * from './components/Tooltip';
package/dist/index.js CHANGED
@@ -3,80 +3,81 @@ import { B as a } from "./chunks/ButtonChild";
3
3
  import { F as p } from "./chunks/FilledButton";
4
4
  import { O as x } from "./chunks/OutlinedButton";
5
5
  import { T as i } from "./chunks/TextButton";
6
- import { T as u } from "./chunks/ToggleButton";
6
+ import { T as l } from "./chunks/ToggleButton";
7
7
  import { B as d } from "./chunks/BaseCard";
8
8
  import { G as B } from "./chunks/GradientCard";
9
9
  import { S as g } from "./chunks/SolidCard";
10
- import { C as c } from "./chunks/Container";
11
- import { D as v } from "./chunks/Disclosure";
12
- import { D as F } from "./chunks/DisclousreGroup";
13
- import { E as h } from "./chunks/Error";
14
- import { F as A } from "./chunks/Form";
15
- import { I } from "./chunks/Input";
16
- import { T as P } from "./chunks/TextArea";
17
- import { I as k } from "./chunks/Image";
10
+ import { C as M } from "./chunks/Container";
11
+ import { D as C } from "./chunks/Disclosure";
12
+ import { D as L } from "./chunks/DisclousreGroup";
13
+ import { D as N } from "./chunks/DisplayError";
14
+ import { D as A } from "./chunks/DisplaySuccess";
15
+ import { F as I } from "./chunks/Form";
16
+ import { I as P } from "./chunks/Input";
17
+ import { T as k } from "./chunks/TextArea";
18
+ import { I as y } from "./chunks/Image";
18
19
  import { F as E } from "./chunks/FilledButtonLink";
19
- import { L as R } from "./chunks/Link";
20
- import { O as q } from "./chunks/OutlinedButtonLink";
21
- import { L as z } from "./chunks/Loader";
22
- import { M as J } from "./chunks/MenuButton";
23
- import { M as Q } from "./chunks/MenuLabel";
24
- import { M as W } from "./chunks/ModalAction";
25
- import { M as Y } from "./chunks/ModalBase";
26
- import { N as _ } from "./chunks/NavigationMenu";
27
- import { N as oo } from "./chunks/NavigationResponsive";
28
- import { N as eo } from "./chunks/NavigationSidebar";
29
- import { P as ao } from "./chunks/Popover";
30
- import { P as po } from "./chunks/PopoverDialog";
31
- import { S as xo } from "./chunks/Select";
32
- import { S as io } from "./chunks/Sidebar";
33
- import { S as uo } from "./chunks/Success";
20
+ import { L as j } from "./chunks/Link";
21
+ import { O as z } from "./chunks/OutlinedButtonLink";
22
+ import { L as J } from "./chunks/Loader";
23
+ import { M as Q } from "./chunks/MenuButton";
24
+ import { M as W } from "./chunks/MenuLabel";
25
+ import { M as Y } from "./chunks/ModalAction";
26
+ import { M as _ } from "./chunks/ModalBase";
27
+ import { N as oo } from "./chunks/NavigationMenu";
28
+ import { N as eo } from "./chunks/NavigationResponsive";
29
+ import { N as ao } from "./chunks/NavigationSidebar";
30
+ import { P as po } from "./chunks/Popover";
31
+ import { P as xo } from "./chunks/PopoverDialog";
32
+ import { S as io } from "./chunks/Select";
33
+ import { S as lo } from "./chunks/Sidebar";
34
34
  import { t as To } from "./chunks/Toast";
35
35
  import { T as So } from "./chunks/ToggleButtonGroup";
36
- import { T as Mo } from "./chunks/Tooltip";
37
- import { T as Co } from "./chunks/Tree";
38
- import { V as Lo } from "./chunks/Viewport";
39
- import { C as No } from "./chunks/ComponentShapeSwitcher";
40
- import { T as Do } from "./chunks/ThemeSwitcher";
36
+ import { T as Do } from "./chunks/Tooltip";
37
+ import { T as co } from "./chunks/Tree";
38
+ import { V as vo } from "./chunks/Viewport";
39
+ import { C as Fo } from "./chunks/ComponentShapeSwitcher";
40
+ import { T as ho } from "./chunks/ThemeSwitcher";
41
41
  export {
42
42
  e as Avatar,
43
43
  d as BaseCard,
44
44
  a as ButtonChild,
45
- No as ComponentShapeSwitcher,
46
- c as Container,
47
- v as Disclosure,
48
- F as DisclosureGroup,
49
- h as Error,
45
+ Fo as ComponentShapeSwitcher,
46
+ M as Container,
47
+ C as Disclosure,
48
+ L as DisclosureGroup,
49
+ N as DisplayError,
50
+ A as DisplaySuccess,
50
51
  p as FilledButton,
51
52
  E as FilledButtonLink,
52
- A as Form,
53
+ I as Form,
53
54
  B as GradientCard,
54
- k as Image,
55
- I as Input,
56
- R as Link,
57
- z as Loader,
58
- J as MenuButton,
59
- Q as MenuLabel,
60
- W as ModalAction,
61
- Y as ModalBase,
62
- _ as NavigationMenu,
63
- oo as NavigationResponsive,
64
- eo as NavigationSidebar,
55
+ y as Image,
56
+ P as Input,
57
+ j as Link,
58
+ J as Loader,
59
+ Q as MenuButton,
60
+ W as MenuLabel,
61
+ Y as ModalAction,
62
+ _ as ModalBase,
63
+ oo as NavigationMenu,
64
+ eo as NavigationResponsive,
65
+ ao as NavigationSidebar,
65
66
  x as OutlinedButton,
66
- q as OutlinedButtonLink,
67
- ao as Popover,
68
- po as PopoverDialog,
69
- xo as Select,
70
- io as Sidebar,
67
+ z as OutlinedButtonLink,
68
+ po as Popover,
69
+ xo as PopoverDialog,
70
+ io as Select,
71
+ lo as Sidebar,
71
72
  g as SolidCard,
72
- uo as Success,
73
- P as TextArea,
73
+ k as TextArea,
74
74
  i as TextButton,
75
- Do as ThemeSwitcher,
76
- u as ToggleButton,
75
+ ho as ThemeSwitcher,
76
+ l as ToggleButton,
77
77
  So as ToggleButtonGroup,
78
- Mo as Tooltip,
79
- Co as Tree,
80
- Lo as Viewport,
78
+ Do as Tooltip,
79
+ co as Tree,
80
+ vo as Viewport,
81
81
  To as toast
82
82
  };
83
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -8,6 +8,6 @@ interface FormValidateFailureResult<T> {
8
8
  errors: Partial<Record<keyof T, string | string[]>>;
9
9
  }
10
10
  type FormValidateResult<T> = FormValidateSuccessResult<T> | FormValidateFailureResult<T>;
11
- export type ValidateAndGetFormValues = <T extends z.ZodObject<any>>(formElement: HTMLFormElement, schema: T) => FormValidateResult<z.infer<T>>;
11
+ export type ValidateAndGetFormValues = <T extends z.ZodTypeAny>(formElement: HTMLFormElement, schema: T) => FormValidateResult<z.infer<T>>;
12
12
  export declare const validateAndGetFormValues: ValidateAndGetFormValues;
13
13
  export {};
@@ -51,4 +51,13 @@ interface HierarchySeparator {
51
51
  }
52
52
  export type HierarchyItemType = HierarchyItemNode | HierarchyItemLink | HierarchyItemButton | HierarchyItemsubItems | HierarchySeparator;
53
53
  export type ComponentStyle = "normal" | "glass";
54
+ interface TreeHierarchyItemsubItems extends HierarchyItemBase {
55
+ type: "sub-items";
56
+ href?: never;
57
+ target?: never;
58
+ onPress?: never;
59
+ active?: never;
60
+ subItems: TreeHierarchyItemType[];
61
+ }
62
+ export type TreeHierarchyItemType = HierarchyItemNode | HierarchyItemLink | HierarchyItemButton | TreeHierarchyItemsubItems;
54
63
  export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@adgytec/adgytec-web-ui-components",
3
3
  "private": false,
4
- "version": "1.1.2",
4
+ "version": "1.1.4",
5
5
  "type": "module",
6
6
  "sideEffects": [
7
7
  "**/*.css"
@@ -23,51 +23,50 @@
23
23
  "scripts": {
24
24
  "dev": "vite",
25
25
  "generate:index": "node src/scripts/generate-root-index.mjs",
26
- "build": "npm run generate:index && tsc -b ./tsconfig.app.json && vite build",
27
- "lint": "eslint .",
26
+ "build": "npm run generate:index && npm run lint && npm run typecheck && vite build",
27
+ "lint": "biome check .",
28
+ "lint:fix": "biome check --write .",
29
+ "format": "biome format --write .",
30
+ "typecheck": "tsc -b",
28
31
  "preview": "vite preview",
29
32
  "release": "npm run build && npm publish --public",
30
33
  "test": "npm run build && npm pack"
31
34
  },
32
35
  "peerDependencies": {
36
+ "clsx": ">=2.1.1",
33
37
  "lucide-react": ">=0.562.0",
34
38
  "react": ">=19.2.3",
35
39
  "react-aria-components": ">=1.14.0",
36
40
  "react-dom": ">=19.2.3",
37
41
  "sonner": ">=2.0.7",
38
42
  "usehooks-ts": ">=3.1.1",
39
- "zod": ">=4.3.5",
40
- "clsx": ">=2.1.1"
43
+ "zod": ">=4.3.5"
41
44
  },
42
45
  "devDependencies": {
46
+ "@biomejs/biome": "^2.4.8",
47
+ "@react-aria/optimize-locales-plugin": "^1.1.5",
48
+ "@types/node": "^25.3.3",
49
+ "@types/react": "^19.2.14",
50
+ "@types/react-dom": "^19.2.3",
51
+ "@vitejs/plugin-react-swc": "^4.2.3",
52
+ "autoprefixer": "^10.4.27",
53
+ "clsx": "^2.1.1",
54
+ "glob": "^13.0.6",
55
+ "globals": "^17.4.0",
56
+ "lightningcss": "^1.31.1",
57
+ "lucide-react": "^0.575.0",
43
58
  "react": "^19.2.4",
44
- "react-dom": "^19.2.4",
45
59
  "react-aria-components": "^1.15.1",
46
- "lucide-react": "^0.575.0",
60
+ "react-dom": "^19.2.4",
61
+ "sonda": "^0.11.1",
47
62
  "sonner": "^2.0.7",
48
- "usehooks-ts": "^3.1.1",
49
- "zod": "^4.3.6",
50
- "clsx": "^2.1.1",
51
- "@types/react": "^19.2.14",
52
- "@types/react-dom": "^19.2.3",
53
- "@eslint/js": "^9.39.2",
54
- "eslint": "^9.39.2",
55
- "eslint-plugin-react-hooks": "^7.0.1",
56
- "eslint-plugin-react-refresh": "^0.5.2",
57
- "typescript-eslint": "^8.56.1",
58
63
  "typescript": "~5.9.3",
64
+ "usehooks-ts": "^3.1.1",
59
65
  "vite": "^7.3.1",
60
- "@vitejs/plugin-react-swc": "^4.2.3",
61
66
  "vite-plugin-dts": "^4.5.4",
62
67
  "vite-plugin-lib-inject-css": "^2.2.2",
63
68
  "vite-plugin-static-copy": "^3.2.0",
64
- "prettier": "^3.8.1",
65
- "autoprefixer": "^10.4.27",
66
- "lightningcss": "^1.31.1",
67
- "glob": "^13.0.6",
68
- "globals": "^17.4.0",
69
- "@types/node": "^25.3.3",
70
- "@react-aria/optimize-locales-plugin": "^1.1.5"
69
+ "zod": "^4.3.6"
71
70
  },
72
71
  "author": {
73
72
  "name": "Adgytec",
@@ -77,7 +76,7 @@
77
76
  "license": "MIT",
78
77
  "repository": {
79
78
  "type": "git",
80
- "url": "git+https://github.com/Adgytec/adgytec-web-ui-components.git"
79
+ "url": "https://github.com/Adgytec/adgytec-web-ui-components.git"
81
80
  },
82
81
  "homepage": "https://github.com/Adgytec/adgytec-web-ui-components/#/README.md"
83
82
  }
@@ -1 +0,0 @@
1
- ._label_1qkol_1{font-weight:var(--font-weight-medium);font-size:var(--form-label-text)}._error_1sdpb_1{font-size:.875rem;color:var(--color-error)}
@@ -1 +0,0 @@
1
- ._button_x3zyt_1{--_button-theme-background: transparent;--_button-theme-color: transparent;--_button-border-color: var(--_button-theme-background);border-radius:var(--_button-radius);cursor:pointer;border:var(--button-border-width) solid var(--_button-border-color);font-weight:var(--font-weight-medium);text-align:center;padding-inline:var(--_button-padding-inline);padding-block:var(--_button-padding-block);background-color:var(--_button-background);color:var(--_button-color);position:relative;overflow:hidden;transition:background-color .25s,color .25s}._button_x3zyt_1[data-hovered],._button_x3zyt_1[data-focus-visible]{--_button-background: hsl( from var(--_button-theme-background) h s calc(l + 10) );--_button-color: hsl(from var(--_button-theme-color) h s calc(l + 10) )}._button_x3zyt_1[data-pressed]{--_button-background: hsl( from var(--_button-theme-background) h s calc(l - 5) );--_button-color: hsl(from var(--_button-theme-color) h s calc(l - 5) )}._button_x3zyt_1[data-selected]{--_button-background: var(--_button-theme-background);--_button-color: var(--_button-theme-color)}._button-link_x3zyt_46{text-underline-offset:.125em;text-decoration-thickness:.075em;text-decoration-color:transparent}._button-link_x3zyt_46[data-hovered],._button-link_x3zyt_46[data-focus-visible],._button-link_x3zyt_46[data-underline]{text-decoration-color:currentColor}._square_x3zyt_62{--_button-padding-inline: .625em;--_button-padding-block: .625em;aspect-ratio:1/1;--_button-radius: var(--radius-circular)}._avatar_x3zyt_70{--_button-padding-inline: .125em;--_button-padding-block: .125em;aspect-ratio:1/1;--_button-radius: var(--radius-circular)}._default_x3zyt_78{--_button-padding-inline: 1.125em;--_button-padding-block: .625em;--_button-radius: var(--radius-button)}._shrink_x3zyt_84{--_button-padding-inline: .25em;--_button-padding-block: .25em;--_button-radius: var(--radius-button)}._square-shrink_x3zyt_91{--_button-padding-inline: .375em;--_button-padding-block: .375em;aspect-ratio:1/1;--_button-radius: var(--radius-circular)}._primary_x3zyt_100{--_button-theme-background: var(--color-primary);--_button-theme-color: var(--color-on-primary)}._primary-variant_x3zyt_105{--_button-theme-background: var(--color-primary-variant);--_button-theme-color: var(--color-on-primary-variant)}._secondary_x3zyt_110{--_button-theme-background: var(--color-secondary);--_button-theme-color: var(--color-on-secondary)}._tertiary_x3zyt_115{--_button-theme-background: var(--color-tertiary);--_button-theme-color: var(--color-on-tertiary)}._error_x3zyt_120{--_button-theme-background: var(--color-error);--_button-theme-color: var(--color-on-error)}._inverse-surface_x3zyt_125{--_button-theme-background: var(--color-inverse-surface);--_button-theme-color: var(--color-inverse-on-surface)}._success_x3zyt_130{--_button-theme-background: var(--color-success);--_button-theme-color: var(--color-on-success)}._filled_x3zyt_136{--_button-background: var(--_button-theme-background);--_button-color: var(--_button-theme-color)}._outlined_x3zyt_141{--_button-background: transparent;--_button-color: var(--_button-theme-background)}._text_x3zyt_146{--_button-background: transparent;--_button-border-color: transparent;--_button-color: var(--_button-theme-background)}._splash_v0svv_1{position:absolute;inline-size:25%;aspect-ratio:1/1;border-radius:50%;background-color:hsl(from var(--color-surface-variant) h s l / .5);animation:_ripple_v0svv_1 .5s linear;opacity:0}@keyframes _ripple_v0svv_1{0%{scale:0;opacity:1}to{scale:8;opacity:0}}
package/dist/chunks/Error DELETED
@@ -1,8 +0,0 @@
1
- import { jsx as o } from "react/jsx-runtime";
2
- import s from "clsx";
3
- import '../assets/Error.css';const e = "_error_1213e_1", t = {
4
- error: e
5
- }, n = ({ children: r }) => /* @__PURE__ */ o("p", { className: s(t.error), children: r });
6
- export {
7
- n as E
8
- };