@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.
- package/LICENSE +21 -21
- package/dist/assets/Avatar.css +1 -1
- package/dist/assets/BaseCard.css +1 -1
- package/dist/assets/Disclosure.css +1 -1
- package/dist/assets/Label.css +1 -0
- package/dist/assets/Menu.css +1 -1
- package/dist/assets/MenuLabel.css +1 -1
- package/dist/assets/Popover.css +1 -1
- package/dist/assets/Select.css +1 -1
- package/dist/assets/Tooltip.css +1 -1
- package/dist/assets/button.css +1 -0
- package/dist/chunks/Avatar +20 -19
- package/dist/chunks/Avatar.map +1 -0
- package/dist/chunks/BaseCard +21 -20
- package/dist/chunks/BaseCard.map +1 -0
- package/dist/chunks/Button +7 -6
- package/dist/chunks/Button.map +1 -0
- package/dist/chunks/ButtonChild +5 -4
- package/dist/chunks/ButtonChild.map +1 -0
- package/dist/chunks/ButtonLink +7 -6
- package/dist/chunks/ButtonLink.map +1 -0
- package/dist/chunks/ComponentShapeSwitcher +22 -22
- package/dist/chunks/ComponentShapeSwitcher.map +1 -0
- package/dist/chunks/Container +1 -0
- package/dist/chunks/Container.map +1 -0
- package/dist/chunks/Disclosure +16 -15
- package/dist/chunks/Disclosure.map +1 -0
- package/dist/chunks/DisclousreGroup +5 -4
- package/dist/chunks/DisclousreGroup.map +1 -0
- package/dist/chunks/DisplayError +9 -0
- package/dist/chunks/DisplayError.map +1 -0
- package/dist/chunks/{Success → DisplaySuccess} +3 -2
- package/dist/chunks/DisplaySuccess.map +1 -0
- package/dist/chunks/FilledButton +1 -0
- package/dist/chunks/FilledButton.map +1 -0
- package/dist/chunks/FilledButtonLink +1 -0
- package/dist/chunks/FilledButtonLink.map +1 -0
- package/dist/chunks/Form +13 -12
- package/dist/chunks/Form.map +1 -0
- package/dist/chunks/GradientCard +1 -0
- package/dist/chunks/GradientCard.map +1 -0
- package/dist/chunks/Image +20 -14
- package/dist/chunks/Image.map +1 -0
- package/dist/chunks/Input +3 -2
- package/dist/chunks/Input.map +1 -0
- package/dist/chunks/Label +26 -0
- package/dist/chunks/Label.map +1 -0
- package/dist/chunks/Link +7 -6
- package/dist/chunks/Link.map +1 -0
- package/dist/chunks/Loader +4 -3
- package/dist/chunks/Loader.map +1 -0
- package/dist/chunks/Menu +42 -39
- package/dist/chunks/Menu.map +1 -0
- package/dist/chunks/MenuButton +18 -4
- package/dist/chunks/MenuButton.map +1 -0
- package/dist/chunks/MenuLabel +21 -10
- package/dist/chunks/MenuLabel.map +1 -0
- package/dist/chunks/ModalAction +5 -4
- package/dist/chunks/ModalAction.map +1 -0
- package/dist/chunks/ModalBase +2 -1
- package/dist/chunks/ModalBase.map +1 -0
- package/dist/chunks/NavigationMenu +21 -17
- package/dist/chunks/NavigationMenu.map +1 -0
- package/dist/chunks/NavigationResponsive +1 -0
- package/dist/chunks/NavigationResponsive.map +1 -0
- package/dist/chunks/NavigationSidebar +13 -12
- package/dist/chunks/NavigationSidebar.map +1 -0
- package/dist/chunks/OutlinedButton +1 -0
- package/dist/chunks/OutlinedButton.map +1 -0
- package/dist/chunks/OutlinedButtonLink +1 -0
- package/dist/chunks/OutlinedButtonLink.map +1 -0
- package/dist/chunks/Popover +6 -5
- package/dist/chunks/Popover.map +1 -0
- package/dist/chunks/PopoverDialog +1 -0
- package/dist/chunks/PopoverDialog.map +1 -0
- package/dist/chunks/Select +79 -76
- package/dist/chunks/Select.map +1 -0
- package/dist/chunks/Sidebar +2 -1
- package/dist/chunks/Sidebar.map +1 -0
- package/dist/chunks/SolidCard +1 -0
- package/dist/chunks/SolidCard.map +1 -0
- package/dist/chunks/TextArea +3 -2
- package/dist/chunks/TextArea.map +1 -0
- package/dist/chunks/TextButton +1 -0
- package/dist/chunks/TextButton.map +1 -0
- package/dist/chunks/ThemeSwitcher +21 -22
- package/dist/chunks/ThemeSwitcher.map +1 -0
- package/dist/chunks/Toast +8 -7
- package/dist/chunks/Toast.map +1 -0
- package/dist/chunks/ToggleButton +10 -9
- package/dist/chunks/ToggleButton.map +1 -0
- package/dist/chunks/ToggleButtonGroup +7 -6
- package/dist/chunks/ToggleButtonGroup.map +1 -0
- package/dist/chunks/Tooltip +24 -20
- package/dist/chunks/Tooltip.map +1 -0
- package/dist/chunks/Tree +12 -12
- package/dist/chunks/Tree.map +1 -0
- package/dist/chunks/Viewport +5 -5
- package/dist/chunks/Viewport.map +1 -0
- package/dist/chunks/button.module +48 -0
- package/dist/chunks/button.module.map +1 -0
- package/dist/components/Avatar/index.js +1 -0
- package/dist/components/Avatar/index.js.map +1 -0
- package/dist/components/Button/ButtonBase/index.js +1 -0
- package/dist/components/Button/ButtonBase/index.js.map +1 -0
- package/dist/components/Button/ButtonBase/types.d.ts +1 -1
- package/dist/components/Button/ButtonChild/index.js +1 -0
- package/dist/components/Button/ButtonChild/index.js.map +1 -0
- package/dist/components/Button/FilledButton/index.js +1 -0
- package/dist/components/Button/FilledButton/index.js.map +1 -0
- package/dist/components/Button/OutlinedButton/index.js +1 -0
- package/dist/components/Button/OutlinedButton/index.js.map +1 -0
- package/dist/components/Button/TextButton/index.js +1 -0
- package/dist/components/Button/TextButton/index.js.map +1 -0
- package/dist/components/Button/ToggleButton/index.js +1 -0
- package/dist/components/Button/ToggleButton/index.js.map +1 -0
- package/dist/components/Card/BaseCard/index.d.ts +1 -1
- package/dist/components/Card/BaseCard/index.js +1 -0
- package/dist/components/Card/BaseCard/index.js.map +1 -0
- package/dist/components/Card/BaseCard/types.d.ts +1 -1
- package/dist/components/Card/GradientCard/index.js +1 -0
- package/dist/components/Card/GradientCard/index.js.map +1 -0
- package/dist/components/Card/SolidCard/index.js +1 -0
- package/dist/components/Card/SolidCard/index.js.map +1 -0
- package/dist/components/Container/index.d.ts +1 -1
- package/dist/components/Container/index.js +1 -0
- package/dist/components/Container/index.js.map +1 -0
- package/dist/components/Disclosure/Disclosure/index.js +1 -0
- package/dist/components/Disclosure/Disclosure/index.js.map +1 -0
- package/dist/components/Disclosure/Disclosure/types.d.ts +1 -1
- package/dist/components/Disclosure/DisclousureGroup/index.js +1 -0
- package/dist/components/Disclosure/DisclousureGroup/index.js.map +1 -0
- package/dist/components/DisplayError/DisplayError.d.ts +2 -0
- package/dist/components/DisplayError/index.d.ts +2 -0
- package/dist/components/DisplayError/index.js +5 -0
- package/dist/components/DisplayError/index.js.map +1 -0
- package/dist/components/{Error → DisplayError}/types.d.ts +1 -1
- package/dist/components/DisplaySuccess/DisplaySuccess.d.ts +2 -0
- package/dist/components/DisplaySuccess/index.d.ts +2 -0
- package/dist/components/DisplaySuccess/index.js +5 -0
- package/dist/components/DisplaySuccess/index.js.map +1 -0
- package/dist/components/{Success → DisplaySuccess}/types.d.ts +1 -1
- package/dist/components/Form/Form/Form.d.ts +2 -2
- package/dist/components/Form/Form/index.d.ts +1 -1
- package/dist/components/Form/Form/index.js +1 -0
- package/dist/components/Form/Form/index.js.map +1 -0
- package/dist/components/Form/Form/types.d.ts +5 -3
- package/dist/components/Form/Input/index.js +1 -0
- package/dist/components/Form/Input/index.js.map +1 -0
- package/dist/components/Form/Input/types.d.ts +1 -1
- package/dist/components/Form/TextArea/index.js +1 -0
- package/dist/components/Form/TextArea/index.js.map +1 -0
- package/dist/components/Form/TextArea/types.d.ts +1 -1
- package/dist/components/Image/index.d.ts +1 -1
- package/dist/components/Image/index.js +1 -0
- package/dist/components/Image/index.js.map +1 -0
- package/dist/components/Link/FilledButtonLink/index.js +1 -0
- package/dist/components/Link/FilledButtonLink/index.js.map +1 -0
- package/dist/components/Link/LinkBase/index.js +1 -0
- package/dist/components/Link/LinkBase/index.js.map +1 -0
- package/dist/components/Link/LinkBase/types.d.ts +1 -1
- package/dist/components/Link/OutlinedButtonLink/index.js +1 -0
- package/dist/components/Link/OutlinedButtonLink/index.js.map +1 -0
- package/dist/components/Loader/index.js +1 -0
- package/dist/components/Loader/index.js.map +1 -0
- package/dist/components/Menu/MenuBase/Menu.d.ts +1 -1
- package/dist/components/Menu/MenuBase/index.js +1 -0
- package/dist/components/Menu/MenuBase/index.js.map +1 -0
- package/dist/components/Menu/MenuBase/types.d.ts +9 -7
- package/dist/components/Menu/MenuButton/MenuButton.d.ts +1 -1
- package/dist/components/Menu/MenuButton/index.js +1 -0
- package/dist/components/Menu/MenuButton/index.js.map +1 -0
- package/dist/components/Menu/MenuLabel/MenuLabel.d.ts +1 -1
- package/dist/components/Menu/MenuLabel/index.js +1 -0
- package/dist/components/Menu/MenuLabel/index.js.map +1 -0
- package/dist/components/Modal/ModalAction/index.js +1 -0
- package/dist/components/Modal/ModalAction/index.js.map +1 -0
- package/dist/components/Modal/ModalAction/types.d.ts +1 -1
- package/dist/components/Modal/ModalBase/index.js +1 -0
- package/dist/components/Modal/ModalBase/index.js.map +1 -0
- package/dist/components/Modal/ModalBase/types.d.ts +1 -1
- package/dist/components/Navigation/NavigationMenu/index.js +1 -0
- package/dist/components/Navigation/NavigationMenu/index.js.map +1 -0
- package/dist/components/Navigation/NavigationResponsive/index.js +1 -0
- package/dist/components/Navigation/NavigationResponsive/index.js.map +1 -0
- package/dist/components/Navigation/NavigationResponsive/types.d.ts +2 -2
- package/dist/components/Navigation/NavigationSidebar/index.js +1 -0
- package/dist/components/Navigation/NavigationSidebar/index.js.map +1 -0
- package/dist/components/Navigation/NavigationSidebar/types.d.ts +2 -2
- package/dist/components/Popover/PopoverBase/index.js +1 -0
- package/dist/components/Popover/PopoverBase/index.js.map +1 -0
- package/dist/components/Popover/PopoverDialog/index.js +1 -0
- package/dist/components/Popover/PopoverDialog/index.js.map +1 -0
- package/dist/components/Select/Select.d.ts +1 -1
- package/dist/components/Select/index.js +1 -0
- package/dist/components/Select/index.js.map +1 -0
- package/dist/components/Select/types.d.ts +11 -4
- package/dist/components/Separator/Separator.d.ts +1 -0
- package/dist/components/Sidebar/index.js +1 -0
- package/dist/components/Sidebar/index.js.map +1 -0
- package/dist/components/Sidebar/types.d.ts +1 -1
- package/dist/components/Splash/useSplash.d.ts +1 -1
- package/dist/components/Toast/index.d.ts +1 -1
- package/dist/components/Toast/index.js +1 -0
- package/dist/components/Toast/index.js.map +1 -0
- package/dist/components/ToggleButtonGroup/index.js +1 -0
- package/dist/components/ToggleButtonGroup/index.js.map +1 -0
- package/dist/components/Tooltip/index.js +1 -0
- package/dist/components/Tooltip/index.js.map +1 -0
- package/dist/components/Tree/index.js +1 -0
- package/dist/components/Tree/index.js.map +1 -0
- package/dist/components/Tree/types.d.ts +3 -3
- package/dist/components/Viewport/Viewport.d.ts +1 -1
- package/dist/components/Viewport/index.js +1 -0
- package/dist/components/Viewport/index.js.map +1 -0
- package/dist/components/VisualSettings/ComponentShapeSwitcher/index.js +1 -0
- package/dist/components/VisualSettings/ComponentShapeSwitcher/index.js.map +1 -0
- package/dist/components/VisualSettings/ThemeSwitcher/index.js +1 -0
- package/dist/components/VisualSettings/ThemeSwitcher/index.js.map +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +59 -58
- package/dist/index.js.map +1 -0
- package/dist/utils/form.d.ts +1 -1
- package/dist/utils/types.d.ts +9 -0
- package/package.json +25 -26
- package/dist/assets/FieldError.css +0 -1
- package/dist/assets/useSplash.css +0 -1
- package/dist/chunks/Error +0 -8
- package/dist/chunks/FieldError +0 -25
- package/dist/chunks/useSplash +0 -48
- package/dist/components/Error/Error.d.ts +0 -2
- package/dist/components/Error/index.d.ts +0 -2
- package/dist/components/Error/index.js +0 -4
- package/dist/components/Success/Success.d.ts +0 -2
- package/dist/components/Success/index.d.ts +0 -2
- package/dist/components/Success/index.js +0 -4
- /package/dist/assets/{Error.css → DisplayError.css} +0 -0
- /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;
|
|
@@ -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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -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>;
|
|
@@ -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>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -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:
|
|
4
|
+
items: TreeHierarchyItemType[];
|
|
5
5
|
mediaQuery: string;
|
|
6
6
|
sidebarPosition?: SidebarPosition;
|
|
7
7
|
sidebarSize?: SidebarSize;
|
|
@@ -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:
|
|
4
|
+
items: TreeHierarchyItemType[];
|
|
5
5
|
sidebarPosition?: SidebarPosition;
|
|
6
6
|
sidebarSize?: SidebarSize;
|
|
7
7
|
isDismissable?: boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -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;
|
|
@@ -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
|
-
|
|
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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TreeHierarchyItemType } from '../../utils/types';
|
|
2
2
|
export interface TreeProps {
|
|
3
|
-
items:
|
|
3
|
+
items: TreeHierarchyItemType[];
|
|
4
4
|
}
|
|
5
5
|
export interface RenderTreeProps {
|
|
6
|
-
item:
|
|
6
|
+
item: TreeHierarchyItemType;
|
|
7
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const Viewport: () =>
|
|
1
|
+
export declare const Viewport: () => null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -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/
|
|
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
|
|
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
|
|
11
|
-
import { D as
|
|
12
|
-
import { D as
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import { I } from "./chunks/
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
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
|
|
20
|
-
import { O as
|
|
21
|
-
import { L as
|
|
22
|
-
import { M as
|
|
23
|
-
import { M as
|
|
24
|
-
import { M as
|
|
25
|
-
import { M as
|
|
26
|
-
import { N as
|
|
27
|
-
import { N as
|
|
28
|
-
import { N as
|
|
29
|
-
import { P as
|
|
30
|
-
import { P as
|
|
31
|
-
import { S as
|
|
32
|
-
import { S as
|
|
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
|
|
37
|
-
import { T as
|
|
38
|
-
import { V as
|
|
39
|
-
import { C as
|
|
40
|
-
import { T as
|
|
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
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
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
|
-
|
|
53
|
+
I as Form,
|
|
53
54
|
B as GradientCard,
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
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
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
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
|
-
|
|
73
|
-
P as TextArea,
|
|
73
|
+
k as TextArea,
|
|
74
74
|
i as TextButton,
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
ho as ThemeSwitcher,
|
|
76
|
+
l as ToggleButton,
|
|
77
77
|
So as ToggleButtonGroup,
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/utils/form.d.ts
CHANGED
|
@@ -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.
|
|
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 {};
|
package/dist/utils/types.d.ts
CHANGED
|
@@ -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.
|
|
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 &&
|
|
27
|
-
"lint": "
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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": "
|
|
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