@adgytec/adgytec-web-ui-components 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (139) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +1 -0
  3. package/dist/App.d.ts +2 -0
  4. package/dist/Avatar-vPRORJSz.js +35 -0
  5. package/dist/Disclosure-Ca5ZAmfb.js +28 -0
  6. package/dist/DisclousreGroup-B6FGUjyO.js +9 -0
  7. package/dist/FieldError-CZn24fiL.js +17 -0
  8. package/dist/Input-KLfZufI4.js +33 -0
  9. package/dist/Link-CbLEp2fF.js +31 -0
  10. package/dist/MenuButton-BEwnL_jL.js +6 -0
  11. package/dist/MenuLabel-ClmuA9_6.js +43 -0
  12. package/dist/ModalAction-B3eX47ca.js +50 -0
  13. package/dist/ModalBase-DLaR_yid.js +28 -0
  14. package/dist/NavigationMenu-BjA8VR1X.js +47 -0
  15. package/dist/NavigationResponsive-D5y5iL5X.js +12 -0
  16. package/dist/NavigationSidebar-DqUwV4eC.js +35 -0
  17. package/dist/OutlinedButton-dMBAASb-.js +14 -0
  18. package/dist/OutlinedButtonLink-CzIaUCY6.js +36 -0
  19. package/dist/Popover-D3iGWJwQ.js +14 -0
  20. package/dist/Select-Dc9k8ybI.js +85 -0
  21. package/dist/Sidebar-Dk_3EG71.js +50 -0
  22. package/dist/TextArea-DBZO5z2H.js +33 -0
  23. package/dist/TextButton-EYzLjods.js +37 -0
  24. package/dist/Tooltip-DAYtebkl.js +27 -0
  25. package/dist/Tree-BwmYvUlr.js +35 -0
  26. package/dist/assets/Avatar.css +1 -0
  27. package/dist/assets/Disclosure.css +1 -0
  28. package/dist/assets/DisclousreGroup.css +1 -0
  29. package/dist/assets/FieldError.css +1 -0
  30. package/dist/assets/Input.css +1 -0
  31. package/dist/assets/Link.css +1 -0
  32. package/dist/assets/MenuLabel.css +1 -0
  33. package/dist/assets/ModalAction.css +1 -0
  34. package/dist/assets/ModalBase.css +1 -0
  35. package/dist/assets/NavigationMenu.css +1 -0
  36. package/dist/assets/NavigationSidebar.css +1 -0
  37. package/dist/assets/Popover.css +1 -0
  38. package/dist/assets/Select.css +1 -0
  39. package/dist/assets/Sidebar.css +1 -0
  40. package/dist/assets/TextArea.css +1 -0
  41. package/dist/assets/Tooltip.css +1 -0
  42. package/dist/assets/Tree.css +1 -0
  43. package/dist/assets/useSplash.css +1 -0
  44. package/dist/components/Avatar/Avatar.d.ts +2 -0
  45. package/dist/components/Avatar/index.d.ts +2 -0
  46. package/dist/components/Avatar/index.js +6 -0
  47. package/dist/components/Avatar/types.d.ts +32 -0
  48. package/dist/components/Button/Button.d.ts +2 -0
  49. package/dist/components/Button/ButtonLink.d.ts +2 -0
  50. package/dist/components/Button/FilledButton.d.ts +2 -0
  51. package/dist/components/Button/OutlinedButton.d.ts +2 -0
  52. package/dist/components/Button/TextButton.d.ts +2 -0
  53. package/dist/components/Button/index.d.ts +5 -0
  54. package/dist/components/Button/index.js +11 -0
  55. package/dist/components/Button/types.d.ts +28 -0
  56. package/dist/components/Disclosure/Disclosure/Disclosure.d.ts +2 -0
  57. package/dist/components/Disclosure/Disclosure/index.d.ts +2 -0
  58. package/dist/components/Disclosure/Disclosure/index.js +4 -0
  59. package/dist/components/Disclosure/Disclosure/types.d.ts +6 -0
  60. package/dist/components/Disclosure/DisclousureGroup/DisclousreGroup.d.ts +2 -0
  61. package/dist/components/Disclosure/DisclousureGroup/index.d.ts +2 -0
  62. package/dist/components/Disclosure/DisclousureGroup/index.js +4 -0
  63. package/dist/components/Disclosure/DisclousureGroup/types.d.ts +4 -0
  64. package/dist/components/Error/Error.d.ts +2 -0
  65. package/dist/components/Error/type.d.ts +4 -0
  66. package/dist/components/Form/FieldError/FieldError.d.ts +2 -0
  67. package/dist/components/Form/Input/Input.d.ts +2 -0
  68. package/dist/components/Form/Input/index.d.ts +2 -0
  69. package/dist/components/Form/Input/index.js +4 -0
  70. package/dist/components/Form/Input/types.d.ts +8 -0
  71. package/dist/components/Form/Label/Label.d.ts +2 -0
  72. package/dist/components/Form/TextArea/TextArea.d.ts +2 -0
  73. package/dist/components/Form/TextArea/index.d.ts +2 -0
  74. package/dist/components/Form/TextArea/index.js +4 -0
  75. package/dist/components/Form/TextArea/types.d.ts +8 -0
  76. package/dist/components/Link/FilledButtonLink.d.ts +2 -0
  77. package/dist/components/Link/Link.d.ts +2 -0
  78. package/dist/components/Link/OutlinedButtonLink.d.ts +2 -0
  79. package/dist/components/Link/index.d.ts +4 -0
  80. package/dist/components/Link/index.js +7 -0
  81. package/dist/components/Link/types.d.ts +7 -0
  82. package/dist/components/Menu/Menu.d.ts +2 -0
  83. package/dist/components/Menu/MenuButton.d.ts +2 -0
  84. package/dist/components/Menu/MenuLabel.d.ts +2 -0
  85. package/dist/components/Menu/index.d.ts +3 -0
  86. package/dist/components/Menu/index.js +6 -0
  87. package/dist/components/Menu/types.d.ts +19 -0
  88. package/dist/components/Modal/ModalAction/ModalAction.d.ts +2 -0
  89. package/dist/components/Modal/ModalAction/index.d.ts +2 -0
  90. package/dist/components/Modal/ModalAction/index.js +6 -0
  91. package/dist/components/Modal/ModalAction/types.d.ts +21 -0
  92. package/dist/components/Modal/ModalBase/ModalBase.d.ts +2 -0
  93. package/dist/components/Modal/ModalBase/index.d.ts +2 -0
  94. package/dist/components/Modal/ModalBase/index.js +4 -0
  95. package/dist/components/Modal/ModalBase/types.d.ts +9 -0
  96. package/dist/components/Modal/index.d.ts +1 -0
  97. package/dist/components/Modal/index.js +1 -0
  98. package/dist/components/Navigation/NavigationMenu/NavigationMenu.d.ts +2 -0
  99. package/dist/components/Navigation/NavigationMenu/index.d.ts +2 -0
  100. package/dist/components/Navigation/NavigationMenu/index.js +4 -0
  101. package/dist/components/Navigation/NavigationMenu/types.d.ts +5 -0
  102. package/dist/components/Navigation/NavigationResponsive/NavigationResponsive.d.ts +2 -0
  103. package/dist/components/Navigation/NavigationResponsive/index.d.ts +2 -0
  104. package/dist/components/Navigation/NavigationResponsive/index.js +4 -0
  105. package/dist/components/Navigation/NavigationResponsive/types.d.ts +10 -0
  106. package/dist/components/Navigation/NavigationSidebar/NavigationSidebar.d.ts +2 -0
  107. package/dist/components/Navigation/NavigationSidebar/index.d.ts +2 -0
  108. package/dist/components/Navigation/NavigationSidebar/index.js +4 -0
  109. package/dist/components/Navigation/NavigationSidebar/types.d.ts +9 -0
  110. package/dist/components/Navigation/index.d.ts +1 -0
  111. package/dist/components/Navigation/index.js +1 -0
  112. package/dist/components/Popover/Popover.d.ts +2 -0
  113. package/dist/components/Select/Select.d.ts +2 -0
  114. package/dist/components/Select/index.d.ts +2 -0
  115. package/dist/components/Select/index.js +4 -0
  116. package/dist/components/Select/types.d.ts +20 -0
  117. package/dist/components/Sidebar/Sidebar.d.ts +2 -0
  118. package/dist/components/Sidebar/index.d.ts +2 -0
  119. package/dist/components/Sidebar/index.js +6 -0
  120. package/dist/components/Sidebar/types.d.ts +23 -0
  121. package/dist/components/Splash/Splash.d.ts +2 -0
  122. package/dist/components/Splash/types.d.ts +8 -0
  123. package/dist/components/Splash/useSplash.d.ts +6 -0
  124. package/dist/components/Tooltip/Tooltip.d.ts +2 -0
  125. package/dist/components/Tooltip/index.d.ts +1 -0
  126. package/dist/components/Tooltip/index.js +1 -0
  127. package/dist/components/Tooltip/types.d.ts +7 -0
  128. package/dist/components/Tree/Tree.d.ts +2 -0
  129. package/dist/components/Tree/index.d.ts +2 -0
  130. package/dist/components/Tree/index.js +4 -0
  131. package/dist/components/Tree/types.d.ts +7 -0
  132. package/dist/index.d.ts +17 -0
  133. package/dist/index.js +54 -0
  134. package/dist/main.d.ts +0 -0
  135. package/dist/types-C1YOMbh5.js +4 -0
  136. package/dist/useSplash-DXNKEPAC.js +50 -0
  137. package/dist/utils/types.d.ts +61 -0
  138. package/dist/vite.svg +1 -0
  139. package/package.json +44 -0
@@ -0,0 +1,4 @@
1
+ import { N as e } from "../../../NavigationResponsive-D5y5iL5X.js";
2
+ export {
3
+ e as NavigationResponsive
4
+ };
@@ -0,0 +1,10 @@
1
+ import { HierarchyItemType } from '../../../utils/types';
2
+ import { SidebarPosition, SidebarSize } from '../../Sidebar/types';
3
+ export interface NavigationResponsiveProps {
4
+ items: HierarchyItemType[];
5
+ mediaQuery: string;
6
+ sidebarPosition?: SidebarPosition;
7
+ sidebarSize?: SidebarSize;
8
+ isDismissable?: boolean;
9
+ isKeyboardDismissableDisabled?: boolean;
10
+ }
@@ -0,0 +1,2 @@
1
+ import { NavigationSidebarProps } from './types';
2
+ export declare const NavigationSidebar: ({ items, ...sidebarProps }: NavigationSidebarProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export * from './NavigationSidebar';
2
+ export * from './types';
@@ -0,0 +1,4 @@
1
+ import { N as o } from "../../../NavigationSidebar-DqUwV4eC.js";
2
+ export {
3
+ o as NavigationSidebar
4
+ };
@@ -0,0 +1,9 @@
1
+ import { HierarchyItemType } from '../../../utils/types';
2
+ import { SidebarPosition, SidebarSize } from '../../Sidebar/types';
3
+ export interface NavigationSidebarProps {
4
+ items: HierarchyItemType[];
5
+ sidebarPosition?: SidebarPosition;
6
+ sidebarSize?: SidebarSize;
7
+ isDismissable?: boolean;
8
+ isKeyboardDismissableDisabled?: boolean;
9
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,2 @@
1
+ import { PopoverProps } from 'react-aria-components';
2
+ export declare const Popover: (props: PopoverProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SelectProps } from './types';
2
+ export declare const Select: ({ options, label, name, disabled, isRequired, triggerVariant, description, placeholder, selectedKey, onSelectionChange, }: SelectProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export * from './Select';
2
+ export * from './types';
@@ -0,0 +1,4 @@
1
+ import { S as r } from "../../Select-Dc9k8ybI.js";
2
+ export {
3
+ r as Select
4
+ };
@@ -0,0 +1,20 @@
1
+ import { Key } from 'react-aria-components';
2
+ import { ButtonVariant } from '../Button/types';
3
+ export type SelectOptions = {
4
+ key: string;
5
+ displayValue: string;
6
+ description?: string;
7
+ disabled?: boolean;
8
+ };
9
+ export interface SelectProps {
10
+ options: SelectOptions[];
11
+ isRequired?: boolean;
12
+ label?: string;
13
+ name?: string;
14
+ disabled?: boolean;
15
+ placeholder?: string;
16
+ description?: string;
17
+ triggerVariant?: ButtonVariant;
18
+ selectedKey?: Key;
19
+ onSelectionChange?: (key: Key | null) => void;
20
+ }
@@ -0,0 +1,2 @@
1
+ import { SidebarProps } from './types';
2
+ export declare const Sidebar: ({ children, trigger, sidebarPosition, sidebarSize, isDismissable, isKeyboardDismissableDisabled, }: SidebarProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export * from './Sidebar';
2
+ export * from './types';
@@ -0,0 +1,6 @@
1
+ import { S as e, a as r, b as S } from "../../Sidebar-Dk_3EG71.js";
2
+ export {
3
+ e as Sidebar,
4
+ r as SidebarPosition,
5
+ S as SidebarSize
6
+ };
@@ -0,0 +1,23 @@
1
+ import { ReactNode, ReactElement } from 'react';
2
+ import { DialogRenderProps } from 'react-aria-components';
3
+ import { ButtonVariantProps } from '../Button/types';
4
+ export declare enum SidebarPosition {
5
+ inlineStart = "inline-start",
6
+ inlineEnd = "inline-end",
7
+ blockStart = "block-start",
8
+ blockEnd = "block-end"
9
+ }
10
+ export declare enum SidebarSize {
11
+ full = "full",
12
+ threeQuarters = "three-quarters",
13
+ half = "half",
14
+ quarter = "quarter"
15
+ }
16
+ export interface SidebarProps {
17
+ trigger: ReactElement<ButtonVariantProps>;
18
+ children: ReactNode | ((opts: DialogRenderProps) => ReactNode);
19
+ sidebarPosition?: SidebarPosition;
20
+ sidebarSize?: SidebarSize;
21
+ isDismissable?: boolean;
22
+ isKeyboardDismissableDisabled?: boolean;
23
+ }
@@ -0,0 +1,2 @@
1
+ import { SplashProps } from './types';
2
+ export declare const Splash: ({ id, x, y }: SplashProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,8 @@
1
+ export interface SplashState {
2
+ id: number;
3
+ x: number;
4
+ y: number;
5
+ }
6
+ export type SetTimeoutReturnType = ReturnType<typeof setTimeout>;
7
+ export interface SplashProps extends SplashState {
8
+ }
@@ -0,0 +1,6 @@
1
+ import { SplashState } from './types';
2
+ import { PressEvent } from 'react-aria-components';
3
+ export declare const useSplash: (onPress?: (e: PressEvent) => void) => {
4
+ coords: SplashState | null;
5
+ handlePress: (e: PressEvent) => void;
6
+ };
@@ -0,0 +1,2 @@
1
+ import { TooltipProps } from './types';
2
+ export declare const Tooltip: ({ children, description, theme, }: TooltipProps) => string | number | bigint | boolean | import("react/jsx-runtime").JSX.Element | Iterable<import('react').ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined> | null | undefined;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+
@@ -0,0 +1,7 @@
1
+ import { ReactNode } from 'react';
2
+ import { ColorTheme } from '../../utils/types';
3
+ export interface TooltipProps {
4
+ children: ReactNode;
5
+ description?: string;
6
+ theme?: ColorTheme;
7
+ }
@@ -0,0 +1,2 @@
1
+ import { TreeProps } from './types';
2
+ export declare const Tree: ({ items }: TreeProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export * from './Tree';
2
+ export * from './types';
@@ -0,0 +1,4 @@
1
+ import { T as o } from "../../Tree-BwmYvUlr.js";
2
+ export {
3
+ o as Tree
4
+ };
@@ -0,0 +1,7 @@
1
+ import { HierarchyItemType } from '../../utils/types';
2
+ export interface TreeProps {
3
+ items: HierarchyItemType[];
4
+ }
5
+ export interface RenderTreeProps {
6
+ item: HierarchyItemType;
7
+ }
@@ -0,0 +1,17 @@
1
+ export * from './utils/types';
2
+ export * from './components/Tree';
3
+ export * from './components/Avatar';
4
+ export * from './components/Button';
5
+ export * from './components/Disclosure/Disclosure';
6
+ export * from './components/Disclosure/DisclousureGroup';
7
+ export * from './components/Form/Input';
8
+ export * from './components/Form/TextArea';
9
+ export * from './components/Link';
10
+ export * from './components/Menu';
11
+ export * from './components/Modal/ModalAction';
12
+ export * from './components/Modal/ModalBase';
13
+ export * from './components/Navigation/NavigationResponsive';
14
+ export * from './components/Navigation/NavigationSidebar';
15
+ export * from './components/Navigation/NavigationMenu';
16
+ export * from './components/Select';
17
+ export * from './components/Sidebar';
package/dist/index.js ADDED
@@ -0,0 +1,54 @@
1
+ import { C as t } from "./types-C1YOMbh5.js";
2
+ import { T as e } from "./Tree-BwmYvUlr.js";
3
+ import { A as i, a as n, b as p } from "./Avatar-vPRORJSz.js";
4
+ import { B as m, T as f } from "./TextButton-EYzLjods.js";
5
+ import { a as l, B as d } from "./useSplash-DXNKEPAC.js";
6
+ import { F as M, O as S } from "./OutlinedButton-dMBAASb-.js";
7
+ import { D as b } from "./Disclosure-Ca5ZAmfb.js";
8
+ import { D as A } from "./DisclousreGroup-B6FGUjyO.js";
9
+ import { I as N } from "./Input-KLfZufI4.js";
10
+ import { T as D } from "./TextArea-DBZO5z2H.js";
11
+ import { F as O, O as g } from "./OutlinedButtonLink-CzIaUCY6.js";
12
+ import { L as C } from "./Link-CbLEp2fF.js";
13
+ import { M as z } from "./MenuButton-BEwnL_jL.js";
14
+ import { M as P } from "./MenuLabel-ClmuA9_6.js";
15
+ import { M as G, a as R, b as V } from "./ModalAction-B3eX47ca.js";
16
+ import { M as q } from "./ModalBase-DLaR_yid.js";
17
+ import { N as E } from "./NavigationResponsive-D5y5iL5X.js";
18
+ import { S as J, a as K, b as Q } from "./Sidebar-Dk_3EG71.js";
19
+ import { N as W } from "./NavigationSidebar-DqUwV4eC.js";
20
+ import { N as Y } from "./NavigationMenu-BjA8VR1X.js";
21
+ import { S as _ } from "./Select-Dc9k8ybI.js";
22
+ export {
23
+ i as Avatar,
24
+ n as AvatarSize,
25
+ p as AvatarType,
26
+ m as Button,
27
+ l as ButtonShape,
28
+ d as ButtonVariant,
29
+ t as ColorTheme,
30
+ b as Disclosure,
31
+ A as DisclosureGroup,
32
+ M as FilledButton,
33
+ O as FilledButtonLink,
34
+ N as Input,
35
+ C as Link,
36
+ z as MenuButton,
37
+ P as MenuLabel,
38
+ G as ModalAction,
39
+ R as ModalActionPlacement,
40
+ q as ModalBase,
41
+ V as ModalCloseText,
42
+ Y as NavigationMenu,
43
+ E as NavigationResponsive,
44
+ W as NavigationSidebar,
45
+ S as OutlinedButton,
46
+ g as OutlinedButtonLink,
47
+ _ as Select,
48
+ J as Sidebar,
49
+ K as SidebarPosition,
50
+ Q as SidebarSize,
51
+ D as TextArea,
52
+ f as TextButton,
53
+ e as Tree
54
+ };
package/dist/main.d.ts ADDED
File without changes
@@ -0,0 +1,4 @@
1
+ var a = /* @__PURE__ */ ((r) => (r.primary = "primary", r.primaryVariant = "primary-variant", r.secondary = "secondary", r.tertiary = "tertiary", r.error = "error", r.inverseSurface = "inverse-surface", r.success = "success", r))(a || {});
2
+ export {
3
+ a as C
4
+ };
@@ -0,0 +1,50 @@
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import { useState as l, useRef as n, useEffect as i } from "react";
3
+ import './assets/useSplash.css';const u = "_button_127bq_1", b = "_square_127bq_105", q = "_avatar_127bq_121", d = "_rectangle_127bq_137", y = "_shrink_127bq_149", f = "_primary_127bq_161", m = "_secondary_127bq_181", v = "_tertiary_127bq_191", p = "_error_127bq_201", h = "_success_127bq_221", x = "_filled_127bq_233", k = "_outlined_127bq_243", g = "_text_127bq_253", z = {
4
+ button: u,
5
+ "button-link": "_button-link_127bq_73",
6
+ square: b,
7
+ avatar: q,
8
+ rectangle: d,
9
+ shrink: y,
10
+ primary: f,
11
+ "primary-variant": "_primary-variant_127bq_171",
12
+ secondary: m,
13
+ tertiary: v,
14
+ error: p,
15
+ "inverse-surface": "_inverse-surface_127bq_211",
16
+ success: h,
17
+ filled: x,
18
+ outlined: k,
19
+ text: g
20
+ };
21
+ var S = /* @__PURE__ */ ((t) => (t.filled = "filled", t.outlined = "outlined", t.text = "text", t))(S || {}), T = /* @__PURE__ */ ((t) => (t.rectangle = "rectangle", t.square = "square", t.avatar = "avatar", t.shrink = "shrink", t))(T || {});
22
+ const $ = "_splash_zhwi0_1", R = {
23
+ splash: $
24
+ }, C = ({ id: t, x: e, y: s }) => /* @__PURE__ */ o(
25
+ "div",
26
+ {
27
+ className: `${R.splash}`,
28
+ style: {
29
+ insetInlineStart: e,
30
+ insetBlockStart: s,
31
+ translate: "-50% -50%"
32
+ }
33
+ },
34
+ `${t}`
35
+ ), E = (t) => {
36
+ const [e, s] = l(null), _ = n(0);
37
+ let a = n(void 0), c = (r) => {
38
+ s({ id: _.current++, x: r.x, y: r.y }), r.x !== -1 && r.y !== -1 && (clearTimeout(a.current), a.current = setTimeout(() => s(null), 500)), t?.(r);
39
+ };
40
+ return i(() => () => {
41
+ clearTimeout(a.current);
42
+ }, []), { coords: e, handlePress: c };
43
+ };
44
+ export {
45
+ S as B,
46
+ C as S,
47
+ T as a,
48
+ z as s,
49
+ E as u
50
+ };
@@ -0,0 +1,61 @@
1
+ import { ReactElement } from 'react';
2
+ export declare enum ColorTheme {
3
+ primary = "primary",
4
+ primaryVariant = "primary-variant",
5
+ secondary = "secondary",
6
+ tertiary = "tertiary",
7
+ error = "error",
8
+ inverseSurface = "inverse-surface",
9
+ success = "success"
10
+ }
11
+ export type OnPressHandler = () => void;
12
+ interface HierarchyItemBase {
13
+ id: string;
14
+ node: string;
15
+ }
16
+ interface HierarchyItemButton extends HierarchyItemBase {
17
+ type: "button";
18
+ onPress: OnPressHandler;
19
+ href?: never;
20
+ target?: never;
21
+ subItems?: never;
22
+ active?: never;
23
+ }
24
+ interface HierarchyItemLink extends HierarchyItemBase {
25
+ type: "link";
26
+ onPress?: never;
27
+ href: string;
28
+ target?: string;
29
+ active?: boolean;
30
+ subItems?: never;
31
+ }
32
+ interface HierarchyItemsubItems extends HierarchyItemBase {
33
+ type: "sub-items";
34
+ href?: never;
35
+ target?: never;
36
+ onPress?: never;
37
+ active?: never;
38
+ subItems: HierarchyItemType[];
39
+ }
40
+ interface HierarchyItemNode {
41
+ id: string;
42
+ type: "item-node";
43
+ node: ReactElement;
44
+ href?: never;
45
+ target?: never;
46
+ onPress?: never;
47
+ active?: never;
48
+ subItems?: never;
49
+ }
50
+ interface HierarchySeparator {
51
+ id: string;
52
+ type: "separator";
53
+ node?: never;
54
+ href?: never;
55
+ target?: never;
56
+ onPress?: never;
57
+ active?: never;
58
+ subItems?: never;
59
+ }
60
+ export type HierarchyItemType = HierarchyItemNode | HierarchyItemLink | HierarchyItemButton | HierarchyItemsubItems | HierarchySeparator;
61
+ export {};
package/dist/vite.svg ADDED
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
package/package.json ADDED
@@ -0,0 +1,44 @@
1
+ {
2
+ "name": "@adgytec/adgytec-web-ui-components",
3
+ "private": false,
4
+ "version": "0.0.2",
5
+ "type": "module",
6
+ "files": [
7
+ "dist"
8
+ ],
9
+ "exports": "./dist/index.js",
10
+ "module": "./dist/index.js",
11
+ "types": "./dist/index.d.ts",
12
+ "scripts": {
13
+ "dev": "vite",
14
+ "build": "tsc -b && vite build",
15
+ "lint": "eslint .",
16
+ "preview": "vite preview"
17
+ },
18
+ "dependencies": {
19
+ "lucide-react": "^0.525.0",
20
+ "react": "^19.1.0",
21
+ "react-aria-components": "^1.10.1",
22
+ "react-dom": "^19.1.0",
23
+ "usehooks-ts": "^3.1.1"
24
+ },
25
+ "devDependencies": {
26
+ "@eslint/js": "^9.29.0",
27
+ "@types/node": "^24.0.14",
28
+ "@types/react": "^19.1.8",
29
+ "@types/react-dom": "^19.1.6",
30
+ "@vitejs/plugin-react-swc": "^3.10.2",
31
+ "autoprefixer": "^10.4.21",
32
+ "eslint": "^9.29.0",
33
+ "eslint-plugin-react-hooks": "^5.2.0",
34
+ "eslint-plugin-react-refresh": "^0.4.20",
35
+ "glob": "^11.0.3",
36
+ "globals": "^16.2.0",
37
+ "prettier": "^3.6.2",
38
+ "typescript": "~5.8.3",
39
+ "typescript-eslint": "^8.34.1",
40
+ "vite": "^7.0.0",
41
+ "vite-plugin-dts": "^4.5.4",
42
+ "vite-plugin-lib-inject-css": "^2.2.2"
43
+ }
44
+ }