@bbodek/internal-ui 0.0.30 → 0.0.31

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 (68) hide show
  1. package/dist/components/Alert/Alert.d.ts +4 -0
  2. package/dist/components/Alert/Alert.d.ts.map +1 -0
  3. package/dist/components/Alert/AlertActionButton.d.ts +4 -0
  4. package/dist/components/Alert/AlertActionButton.d.ts.map +1 -0
  5. package/dist/components/Alert/AlertBox.d.ts +5 -0
  6. package/dist/components/Alert/AlertBox.d.ts.map +1 -0
  7. package/dist/components/Alert/AlertCloseButton.d.ts +3 -0
  8. package/dist/components/Alert/AlertCloseButton.d.ts.map +1 -0
  9. package/dist/components/Alert/AlertCollapseButton.d.ts +3 -0
  10. package/dist/components/Alert/AlertCollapseButton.d.ts.map +1 -0
  11. package/dist/components/Alert/AlertDescription.d.ts +4 -0
  12. package/dist/components/Alert/AlertDescription.d.ts.map +1 -0
  13. package/dist/components/Alert/AlertHeading.d.ts +4 -0
  14. package/dist/components/Alert/AlertHeading.d.ts.map +1 -0
  15. package/dist/components/Alert/AlertIcon.d.ts +4 -0
  16. package/dist/components/Alert/AlertIcon.d.ts.map +1 -0
  17. package/dist/components/Alert/constants/index.d.ts +33 -0
  18. package/dist/components/Alert/constants/index.d.ts.map +1 -0
  19. package/dist/components/Alert/context/AlertContext.d.ts +5 -0
  20. package/dist/components/Alert/context/AlertContext.d.ts.map +1 -0
  21. package/dist/components/Alert/context/index.d.ts +2 -0
  22. package/dist/components/Alert/context/index.d.ts.map +1 -0
  23. package/dist/components/Alert/index.d.ts +4 -0
  24. package/dist/components/Alert/index.d.ts.map +1 -0
  25. package/dist/components/Alert/types/index.d.ts +35 -0
  26. package/dist/components/Alert/types/index.d.ts.map +1 -0
  27. package/dist/components/Button/Button/types/index.d.ts +1 -1
  28. package/dist/components/Button/Button/types/index.d.ts.map +1 -1
  29. package/dist/components/Button/IconButton/constants/index.d.ts +1 -0
  30. package/dist/components/Button/IconButton/constants/index.d.ts.map +1 -1
  31. package/dist/components/Button/LinkButton/types/index.d.ts +1 -1
  32. package/dist/components/Button/LinkButton/types/index.d.ts.map +1 -1
  33. package/dist/components/Button/shared/types/index.d.ts +2 -1
  34. package/dist/components/Button/shared/types/index.d.ts.map +1 -1
  35. package/dist/components/Toast/Toast.d.ts +4 -0
  36. package/dist/components/Toast/Toast.d.ts.map +1 -0
  37. package/dist/components/Toast/ToastActionButton.d.ts +4 -0
  38. package/dist/components/Toast/ToastActionButton.d.ts.map +1 -0
  39. package/dist/components/Toast/ToastCloseButton.d.ts +4 -0
  40. package/dist/components/Toast/ToastCloseButton.d.ts.map +1 -0
  41. package/dist/components/Toast/ToastContent.d.ts +4 -0
  42. package/dist/components/Toast/ToastContent.d.ts.map +1 -0
  43. package/dist/components/Toast/ToastIcon.d.ts +4 -0
  44. package/dist/components/Toast/ToastIcon.d.ts.map +1 -0
  45. package/dist/components/Toast/constants/index.d.ts +12 -0
  46. package/dist/components/Toast/constants/index.d.ts.map +1 -0
  47. package/dist/components/Toast/index.d.ts +4 -0
  48. package/dist/components/Toast/index.d.ts.map +1 -0
  49. package/dist/components/Toast/types/index.d.ts +15 -0
  50. package/dist/components/Toast/types/index.d.ts.map +1 -0
  51. package/dist/components/index.d.ts +2 -0
  52. package/dist/components/index.d.ts.map +1 -1
  53. package/dist/components/shared/components/ActionButton/ActionButton.d.ts +4 -0
  54. package/dist/components/shared/components/ActionButton/ActionButton.d.ts.map +1 -0
  55. package/dist/components/shared/components/ActionButton/constants/index.d.ts +5 -0
  56. package/dist/components/shared/components/ActionButton/constants/index.d.ts.map +1 -0
  57. package/dist/components/shared/components/ActionButton/hooks/effects/useActionButtonPropsValidateEffect.d.ts +4 -0
  58. package/dist/components/shared/components/ActionButton/hooks/effects/useActionButtonPropsValidateEffect.d.ts.map +1 -0
  59. package/dist/components/shared/components/ActionButton/index.d.ts +4 -0
  60. package/dist/components/shared/components/ActionButton/index.d.ts.map +1 -0
  61. package/dist/components/shared/components/ActionButton/types/index.d.ts +11 -0
  62. package/dist/components/shared/components/ActionButton/types/index.d.ts.map +1 -0
  63. package/dist/components/shared/components/index.d.ts +1 -0
  64. package/dist/components/shared/components/index.d.ts.map +1 -1
  65. package/dist/index.es.js +1 -1
  66. package/dist/index.es.js.map +1 -1
  67. package/package.json +4 -3
  68. package/src/styles/theme.css +24 -0
@@ -0,0 +1,4 @@
1
+ import { AlertProps } from '../../components/Alert/types';
2
+ declare const Alert: ({ title, content, theme, collapsible, useClose, actionOption, iconOption, className, }: AlertProps) => import("react/jsx-runtime").JSX.Element | null;
3
+ export default Alert;
4
+ //# sourceMappingURL=Alert.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../src/components/Alert/Alert.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEtD,QAAA,MAAM,KAAK,GAAI,wFASZ,UAAU,mDAmCZ,CAAC;AAEF,eAAe,KAAK,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { AlertActionButtonProps } from '../../components/Alert/types';
2
+ declare const AlertActionButton: ({ className }: AlertActionButtonProps) => import("react/jsx-runtime").JSX.Element | null;
3
+ export default AlertActionButton;
4
+ //# sourceMappingURL=AlertActionButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AlertActionButton.d.ts","sourceRoot":"","sources":["../../../src/components/Alert/AlertActionButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAGlE,QAAA,MAAM,iBAAiB,GAAI,eAAe,sBAAsB,mDAmB/D,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { PropsWithChildren } from 'react';
2
+ import { AlertBoxProps } from '../../components/Alert/types';
3
+ declare const AlertBox: ({ children, className, }: PropsWithChildren<AlertBoxProps>) => import("react/jsx-runtime").JSX.Element;
4
+ export default AlertBox;
5
+ //# sourceMappingURL=AlertBox.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AlertBox.d.ts","sourceRoot":"","sources":["../../../src/components/Alert/AlertBox.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAI1C,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAEzD,QAAA,MAAM,QAAQ,GAAI,0BAGf,iBAAiB,CAAC,aAAa,CAAC,4CAsBlC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -0,0 +1,3 @@
1
+ declare const AlertCloseButton: () => import("react/jsx-runtime").JSX.Element;
2
+ export default AlertCloseButton;
3
+ //# sourceMappingURL=AlertCloseButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AlertCloseButton.d.ts","sourceRoot":"","sources":["../../../src/components/Alert/AlertCloseButton.tsx"],"names":[],"mappings":"AAGA,QAAA,MAAM,gBAAgB,+CAWrB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -0,0 +1,3 @@
1
+ declare const AlertCollapseButton: () => import("react/jsx-runtime").JSX.Element | null;
2
+ export default AlertCollapseButton;
3
+ //# sourceMappingURL=AlertCollapseButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AlertCollapseButton.d.ts","sourceRoot":"","sources":["../../../src/components/Alert/AlertCollapseButton.tsx"],"names":[],"mappings":"AAGA,QAAA,MAAM,mBAAmB,sDAkBxB,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { AlertDescriptionProps } from '../../components/Alert/types';
2
+ declare const AlertDescription: ({ description }: AlertDescriptionProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default AlertDescription;
4
+ //# sourceMappingURL=AlertDescription.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AlertDescription.d.ts","sourceRoot":"","sources":["../../../src/components/Alert/AlertDescription.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AAGjE,QAAA,MAAM,gBAAgB,GAAI,iBAAiB,qBAAqB,4CAY/D,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { AlertHeadingProps } from '../../components/Alert/types';
2
+ declare const AlertHeading: ({ heading, iconOption }: AlertHeadingProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default AlertHeading;
4
+ //# sourceMappingURL=AlertHeading.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AlertHeading.d.ts","sourceRoot":"","sources":["../../../src/components/Alert/AlertHeading.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAG7D,QAAA,MAAM,YAAY,GAAI,yBAAyB,iBAAiB,4CA+B/D,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { AlertIconProps } from '../../components/Alert/types';
2
+ declare const AlertIcon: ({ iconOption }: AlertIconProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default AlertIcon;
4
+ //# sourceMappingURL=AlertIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AlertIcon.d.ts","sourceRoot":"","sources":["../../../src/components/Alert/AlertIcon.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAG1D,QAAA,MAAM,SAAS,GAAI,gBAAgB,cAAc,4CAahD,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,33 @@
1
+ import { AlertTheme } from '../../../components/Alert/types';
2
+ import { ColorVariants } from '../../../variants';
3
+ export declare const ALERT_THEMES: {
4
+ readonly GRAY: "gray";
5
+ readonly PRIMARY: "primary";
6
+ readonly GREEN: "green";
7
+ readonly YELLOW: "yellow";
8
+ readonly RED: "red";
9
+ };
10
+ export declare const ALERT_LABEL_TYPOGRAPHY_VARIANTS: Record<AlertTheme, ColorVariants>;
11
+ export declare const ALERT_THEME_STYLES: {
12
+ readonly gray: {
13
+ readonly root: "bg-in-gray-02";
14
+ readonly icon: "text-in-gray-05";
15
+ };
16
+ readonly primary: {
17
+ readonly root: "bg-in-primary-02";
18
+ readonly icon: "text-in-primary-04";
19
+ };
20
+ readonly green: {
21
+ readonly root: "bg-in-green-02";
22
+ readonly icon: "text-in-green-03";
23
+ };
24
+ readonly yellow: {
25
+ readonly root: "bg-in-yellow-02";
26
+ readonly icon: "text-in-yellow-04";
27
+ };
28
+ readonly red: {
29
+ readonly root: "bg-in-red-02";
30
+ readonly icon: "text-in-red-03";
31
+ };
32
+ };
33
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Alert/constants/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3C,eAAO,MAAM,YAAY;;;;;;CAMf,CAAC;AAEX,eAAO,MAAM,+BAA+B,EAAE,MAAM,CAClD,UAAU,EACV,aAAa,CAOd,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;CAqBrB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { PropsWithChildren } from 'react';
2
+ import { AlertContextProps, AlertProviderProps } from '../../../components/Alert/types';
3
+ export declare const AlertProvider: ({ hasTitle, theme, collapsible, actionOption, useClose, collapsed, setCollapsed, setVisible, children, }: PropsWithChildren<AlertProviderProps>) => import("react/jsx-runtime").JSX.Element;
4
+ export declare const useAlertContext: () => AlertContextProps;
5
+ //# sourceMappingURL=AlertContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AlertContext.d.ts","sourceRoot":"","sources":["../../../../src/components/Alert/context/AlertContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,iBAAiB,EAAc,MAAM,OAAO,CAAC;AAErE,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EACnB,MAAM,0BAA0B,CAAC;AAIlC,eAAO,MAAM,aAAa,GAAI,0GAU3B,iBAAiB,CAAC,kBAAkB,CAAC,4CAiBvC,CAAC;AAEF,eAAO,MAAM,eAAe,yBAQ3B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './AlertContext';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Alert/context/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
@@ -0,0 +1,4 @@
1
+ export { default as Alert } from './Alert';
2
+ export * from './constants';
3
+ export * from './types';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Alert/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC"}
@@ -0,0 +1,35 @@
1
+ import { Dispatch, HTMLAttributes, ReactNode, SetStateAction } from 'react';
2
+ import { ALERT_THEMES } from '../../../components/Alert/constants';
3
+ import { IconProps } from '../../../components/Icon';
4
+ import { ActionButtonProps } from '../../../components/shared';
5
+ export type AlertTheme = (typeof ALERT_THEMES)[keyof typeof ALERT_THEMES];
6
+ export interface AlertProps extends Pick<HTMLAttributes<HTMLDivElement>, 'className'> {
7
+ content: ReactNode;
8
+ title?: ReactNode;
9
+ theme?: AlertTheme;
10
+ collapsible?: boolean;
11
+ useClose?: boolean;
12
+ actionOption?: Partial<Omit<ActionButtonProps, 'theme' | 'size' | 'variant' | 'iconPosition' | 'iconOption' | 'className'>>;
13
+ iconOption?: Pick<IconProps, 'iconKey'>;
14
+ }
15
+ export interface AlertContextProps extends Required<Pick<AlertProps, 'theme' | 'collapsible' | 'useClose'>>, Pick<AlertProps, 'actionOption'> {
16
+ hasTitle: boolean;
17
+ collapsed: boolean;
18
+ setCollapsed: Dispatch<SetStateAction<boolean>>;
19
+ setVisible: Dispatch<SetStateAction<boolean>>;
20
+ }
21
+ export interface AlertProviderProps extends AlertContextProps {
22
+ }
23
+ export interface AlertBoxProps extends Pick<HTMLAttributes<HTMLDivElement>, 'className'> {
24
+ }
25
+ export interface AlertHeadingProps extends Pick<AlertProps, 'iconOption'> {
26
+ heading?: ReactNode;
27
+ }
28
+ export interface AlertIconProps extends Pick<AlertHeadingProps, 'iconOption'> {
29
+ }
30
+ export interface AlertDescriptionProps {
31
+ description: ReactNode;
32
+ }
33
+ export interface AlertActionButtonProps extends Pick<ActionButtonProps, 'className'> {
34
+ }
35
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Alert/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5E,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC;AAE1E,MAAM,WAAW,UACf,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,WAAW,CAAC;IACzD,OAAO,EAAE,SAAS,CAAC;IACnB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,OAAO,CACpB,IAAI,CACF,iBAAiB,EACjB,OAAO,GAAG,MAAM,GAAG,SAAS,GAAG,cAAc,GAAG,YAAY,GAAG,WAAW,CAC3E,CACF,CAAC;IACF,UAAU,CAAC,EAAE,IAAI,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;CACzC;AAED,MAAM,WAAW,iBACf,SAAQ,QAAQ,CAAC,IAAI,CAAC,UAAU,EAAE,OAAO,GAAG,aAAa,GAAG,UAAU,CAAC,CAAC,EACtE,IAAI,CAAC,UAAU,EAAE,cAAc,CAAC;IAClC,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IAChD,UAAU,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;CAC/C;AAED,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;CAAG;AAEhE,MAAM,WAAW,aACf,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,WAAW,CAAC;CAAG;AAE9D,MAAM,WAAW,iBAAkB,SAAQ,IAAI,CAAC,UAAU,EAAE,YAAY,CAAC;IACvE,OAAO,CAAC,EAAE,SAAS,CAAC;CACrB;AAED,MAAM,WAAW,cAAe,SAAQ,IAAI,CAAC,iBAAiB,EAAE,YAAY,CAAC;CAAG;AAEhF,MAAM,WAAW,qBAAqB;IACpC,WAAW,EAAE,SAAS,CAAC;CACxB;AAED,MAAM,WAAW,sBACf,SAAQ,IAAI,CAAC,iBAAiB,EAAE,WAAW,CAAC;CAAG"}
@@ -1,7 +1,7 @@
1
1
  import { ButtonHTMLAttributes } from 'react';
2
2
  import { ButtonPrimitiveProps } from '../../../../components/Button/shared/types';
3
3
  import { ComponentPropsRef } from '../../../../components/shared/types';
4
- export interface ButtonProps extends ButtonPrimitiveProps, Pick<ButtonHTMLAttributes<HTMLButtonElement>, 'type' | 'className' | 'onClick'>, ComponentPropsRef<HTMLButtonElement> {
4
+ export interface ButtonProps extends ButtonPrimitiveProps, Pick<ButtonHTMLAttributes<HTMLButtonElement>, 'type' | 'onClick'>, ComponentPropsRef<HTMLButtonElement> {
5
5
  isPending?: boolean;
6
6
  }
7
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/Button/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAE7C,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAE9D,MAAM,WAAW,WACf,SAAQ,oBAAoB,EAC1B,IAAI,CACF,oBAAoB,CAAC,iBAAiB,CAAC,EACvC,MAAM,GAAG,WAAW,GAAG,SAAS,CACjC,EACD,iBAAiB,CAAC,iBAAiB,CAAC;IACtC,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/Button/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAE7C,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAE9D,MAAM,WAAW,WACf,SAAQ,oBAAoB,EAC1B,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC,EACjE,iBAAiB,CAAC,iBAAiB,CAAC;IACtC,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB"}
@@ -3,6 +3,7 @@ export declare const ICON_BUTTON_THEMES: {
3
3
  readonly HOVER_GRAY: "hover-gray";
4
4
  readonly HOVER_WHITE: "hover-white";
5
5
  readonly BG_WHITE: "bg-white";
6
+ readonly WHITE: "white";
6
7
  };
7
8
  export declare const ICON_BUTTON_COLORS_STYLES: Record<IconButtonTheme, string>;
8
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/IconButton/constants/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAEvE,eAAO,MAAM,kBAAkB;;;;CAIrB,CAAC;AAEX,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,eAAe,EAAE,MAAM,CAMrE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/IconButton/constants/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAEvE,eAAO,MAAM,kBAAkB;;;;;CAKrB,CAAC;AAEX,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,eAAe,EAAE,MAAM,CAOrE,CAAC"}
@@ -2,6 +2,6 @@ import { LinkProps } from 'next/link';
2
2
  import { AnchorHTMLAttributes } from 'react';
3
3
  import { ButtonPrimitiveProps } from '../../../../components/Button/shared';
4
4
  import { ComponentPropsRef } from '../../../../components/shared/types';
5
- export interface LinkButtonProps extends ComponentPropsRef<HTMLAnchorElement>, ButtonPrimitiveProps, LinkProps, Pick<AnchorHTMLAttributes<HTMLAnchorElement>, 'target' | 'className'> {
5
+ export interface LinkButtonProps extends ComponentPropsRef<HTMLAnchorElement>, ButtonPrimitiveProps, LinkProps, Pick<AnchorHTMLAttributes<HTMLAnchorElement>, 'target'> {
6
6
  }
7
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/LinkButton/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAE7C,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAE9D,MAAM,WAAW,eACf,SAAQ,iBAAiB,CAAC,iBAAiB,CAAC,EAC1C,oBAAoB,EACpB,SAAS,EACT,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,QAAQ,GAAG,WAAW,CAAC;CAAG"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/LinkButton/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAE7C,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAE9D,MAAM,WAAW,eACf,SAAQ,iBAAiB,CAAC,iBAAiB,CAAC,EAC1C,oBAAoB,EACpB,SAAS,EACT,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,QAAQ,CAAC;CAAG"}
@@ -1,3 +1,4 @@
1
+ import { HTMLAttributes } from 'react';
1
2
  import { BUTTON_ICON_POSITIONS, BUTTON_SIZES, BUTTON_STATE, BUTTON_THEMES, BUTTON_VARIANTS } from '../../../../components/Button/shared/constants';
2
3
  import { IconProps } from '../../../../components/Icon';
3
4
  import { ContainerVariant } from '../../../../variants/container/types';
@@ -8,7 +9,7 @@ export type ButtonState = (typeof BUTTON_STATE)[keyof typeof BUTTON_STATE];
8
9
  export type ButtonIconPosition = (typeof BUTTON_ICON_POSITIONS)[keyof typeof BUTTON_ICON_POSITIONS];
9
10
  export type ButtonStyles = Record<ButtonState, string>;
10
11
  export type ButtonSizeStyle = Record<string, string>;
11
- export interface ButtonPrimitiveProps {
12
+ export interface ButtonPrimitiveProps extends Pick<HTMLAttributes<HTMLElement>, 'className'> {
12
13
  label: string;
13
14
  variant?: ButtonVariant;
14
15
  theme?: ButtonTheme;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/shared/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,eAAe,EAChB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAE9D,MAAM,MAAM,aAAa,GACvB,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,OAAO,eAAe,CAAC,CAAC;AAEzD,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,OAAO,aAAa,CAAC,CAAC;AAE7E,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC;AAE1E,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC;AAE3E,MAAM,MAAM,kBAAkB,GAC5B,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,OAAO,qBAAqB,CAAC,CAAC;AAErE,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC;AAEvD,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAErD,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,UAAU,CAAC,EAAE,IAAI,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;IACxC,YAAY,CAAC,EAAE,kBAAkB,CAAC;IAClC,UAAU,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,gBAAgB,EAAE,UAAU,CAAC,CAAC,CAAC;IAC3D,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,+BACf,SAAQ,IAAI,CAAC,oBAAoB,EAAE,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;CAAG;AAErE,MAAM,WAAW,wBACf,SAAQ,IAAI,CACV,oBAAoB,EAClB,SAAS,GACT,OAAO,GACP,MAAM,GACN,UAAU,GACV,YAAY,GACZ,cAAc,GACd,YAAY,CACf;CAAG;AAEN,MAAM,WAAW,eACf,SAAQ,IAAI,CAAC,SAAS,EAAE,SAAS,GAAG,WAAW,CAAC,EAC9C,IAAI,CAAC,oBAAoB,EAAE,MAAM,GAAG,YAAY,CAAC;CAAG;AAExD,MAAM,WAAW,wBAAwB,CAAC,CAAC,CACzC,SAAQ,IAAI,CAAC,oBAAoB,EAAE,YAAY,CAAC;IAChD,MAAM,EAAE,MAAM,CAAC,gBAAgB,EAAE,MAAM,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/shared/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EACL,qBAAqB,EACrB,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,eAAe,EAChB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAE9D,MAAM,MAAM,aAAa,GACvB,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,OAAO,eAAe,CAAC,CAAC;AAEzD,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,OAAO,aAAa,CAAC,CAAC;AAE7E,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC;AAE1E,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC;AAE3E,MAAM,MAAM,kBAAkB,GAC5B,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,OAAO,qBAAqB,CAAC,CAAC;AAErE,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC;AAEvD,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAErD,MAAM,WAAW,oBACf,SAAQ,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,WAAW,CAAC;IACtD,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,UAAU,CAAC,EAAE,IAAI,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;IACxC,YAAY,CAAC,EAAE,kBAAkB,CAAC;IAClC,UAAU,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,gBAAgB,EAAE,UAAU,CAAC,CAAC,CAAC;IAC3D,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,+BACf,SAAQ,IAAI,CAAC,oBAAoB,EAAE,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;CAAG;AAErE,MAAM,WAAW,wBACf,SAAQ,IAAI,CACV,oBAAoB,EAClB,SAAS,GACT,OAAO,GACP,MAAM,GACN,UAAU,GACV,YAAY,GACZ,cAAc,GACd,YAAY,CACf;CAAG;AAEN,MAAM,WAAW,eACf,SAAQ,IAAI,CAAC,SAAS,EAAE,SAAS,GAAG,WAAW,CAAC,EAC9C,IAAI,CAAC,oBAAoB,EAAE,MAAM,GAAG,YAAY,CAAC;CAAG;AAExD,MAAM,WAAW,wBAAwB,CAAC,CAAC,CACzC,SAAQ,IAAI,CAAC,oBAAoB,EAAE,YAAY,CAAC;IAChD,MAAM,EAAE,MAAM,CAAC,gBAAgB,EAAE,MAAM,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC,CAAC;CACzD"}
@@ -0,0 +1,4 @@
1
+ import { ToastProps } from '../../components/Toast/types';
2
+ declare const Toast: ({ visible, type, content, useClose, actionOption, onClose, }: ToastProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default Toast;
4
+ //# sourceMappingURL=Toast.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../../src/components/Toast/Toast.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEtD,QAAA,MAAM,KAAK,GAAI,8DAOZ,UAAU,4CAsBZ,CAAC;AAEF,eAAe,KAAK,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { ToastProps } from '../../components/Toast/types';
2
+ declare const ToastActionButton: ({ actionOption, }: Required<Pick<ToastProps, "actionOption">>) => import("react/jsx-runtime").JSX.Element | undefined;
3
+ export default ToastActionButton;
4
+ //# sourceMappingURL=ToastActionButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ToastActionButton.d.ts","sourceRoot":"","sources":["../../../src/components/Toast/ToastActionButton.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEtD,QAAA,MAAM,iBAAiB,GAAI,mBAExB,QAAQ,CAAC,IAAI,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC,wDAsB5C,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { ToastProps } from '../../components/Toast/types';
2
+ declare const ToastCloseButton: ({ onClose }: Pick<ToastProps, "onClose">) => import("react/jsx-runtime").JSX.Element;
3
+ export default ToastCloseButton;
4
+ //# sourceMappingURL=ToastCloseButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ToastCloseButton.d.ts","sourceRoot":"","sources":["../../../src/components/Toast/ToastCloseButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEtD,QAAA,MAAM,gBAAgB,GAAI,aAAa,IAAI,CAAC,UAAU,EAAE,SAAS,CAAC,4CAUjE,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { ToastProps } from '../../components/Toast/types';
2
+ declare const ToastContent: ({ content }: Pick<ToastProps, "content">) => import("react/jsx-runtime").JSX.Element;
3
+ export default ToastContent;
4
+ //# sourceMappingURL=ToastContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ToastContent.d.ts","sourceRoot":"","sources":["../../../src/components/Toast/ToastContent.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAGtD,QAAA,MAAM,YAAY,GAAI,aAAa,IAAI,CAAC,UAAU,EAAE,SAAS,CAAC,4CAM7D,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { ToastProps } from '../../components/Toast/types';
2
+ declare const ToastIcon: ({ type }: Required<Pick<ToastProps, "type">>) => import("react/jsx-runtime").JSX.Element;
3
+ export default ToastIcon;
4
+ //# sourceMappingURL=ToastIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ToastIcon.d.ts","sourceRoot":"","sources":["../../../src/components/Toast/ToastIcon.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEtD,QAAA,MAAM,SAAS,GAAI,UAAU,QAAQ,CAAC,IAAI,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC,4CAU9D,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { ButtonProps } from '../../../components/Button';
2
+ import { IconProps } from '../../../components/Icon';
3
+ import { ToastType } from '../../../components/Toast/types';
4
+ export declare const TOAST_TYPES: {
5
+ readonly INFO: "info";
6
+ readonly SUCCESS: "success";
7
+ readonly WARNING: "warning";
8
+ readonly ERROR: "error";
9
+ };
10
+ export declare const TOAST_TYPE_ICON_PROPS: Record<ToastType, Pick<IconProps, 'iconKey' | 'className'>>;
11
+ export declare const TOAST_TYPE_ACTION_BUTTON_THEME: Record<ToastType, ButtonProps['theme']>;
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Toast/constants/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAErD,eAAO,MAAM,WAAW;;;;;CAKd,CAAC;AAEX,eAAO,MAAM,qBAAqB,EAAE,MAAM,CACxC,SAAS,EACT,IAAI,CAAC,SAAS,EAAE,SAAS,GAAG,WAAW,CAAC,CAYzC,CAAC;AAEF,eAAO,MAAM,8BAA8B,EAAE,MAAM,CACjD,SAAS,EACT,WAAW,CAAC,OAAO,CAAC,CAMrB,CAAC"}
@@ -0,0 +1,4 @@
1
+ export * from './constants';
2
+ export { default as Toast } from './Toast';
3
+ export * from './types';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Toast/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,cAAc,SAAS,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { ReactNode } from 'react';
2
+ import { TOAST_TYPES } from '../../../components/Toast/constants';
3
+ import { ActionButtonProps } from '../../../components/shared';
4
+ export type ToastType = (typeof TOAST_TYPES)[keyof typeof TOAST_TYPES];
5
+ export interface ToastProps {
6
+ visible: boolean;
7
+ content: ReactNode;
8
+ type?: ToastType;
9
+ onClose: () => void;
10
+ useClose?: boolean;
11
+ actionOption?: Pick<ActionButtonProps, 'label' | 'as' | 'linkOption' | 'buttonOption'>;
12
+ }
13
+ export interface ToastActionButtonProps extends Required<Pick<ToastProps, 'actionOption'>> {
14
+ }
15
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Toast/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,OAAO,WAAW,CAAC,CAAC;AAEvE,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,SAAS,CAAC;IACnB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,IAAI,CACjB,iBAAiB,EACjB,OAAO,GAAG,IAAI,GAAG,YAAY,GAAG,cAAc,CAC/C,CAAC;CACH;AAED,MAAM,WAAW,sBACf,SAAQ,QAAQ,CAAC,IAAI,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;CAAG"}
@@ -1,3 +1,4 @@
1
+ export * from './Alert';
1
2
  export * from './Avatar';
2
3
  export * from './AvatarGroup';
3
4
  export * from './Badge';
@@ -19,6 +20,7 @@ export * from './Radio';
19
20
  export * from './Select';
20
21
  export * from './Tab';
21
22
  export * from './Table';
23
+ export * from './Toast';
22
24
  export * from './Toggle';
23
25
  export * from './Tooltip';
24
26
  export * from './Typography';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,oBAAoB,CAAC;AACnC,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAE7B,OAAO,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AACpD,YAAY,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,oBAAoB,CAAC;AACnC,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAE7B,OAAO,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AACpD,YAAY,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { ActionButtonProps } from '../../../../components/shared/components/ActionButton/types';
2
+ declare const ActionButton: ({ as, buttonOption, linkOption, ...props }: ActionButtonProps) => import("react/jsx-runtime").JSX.Element | undefined;
3
+ export default ActionButton;
4
+ //# sourceMappingURL=ActionButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActionButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/shared/components/ActionButton/ActionButton.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,mDAAmD,CAAC;AAEtF,QAAA,MAAM,YAAY,GAAI,4CAKnB,iBAAiB,wDAUnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -0,0 +1,5 @@
1
+ export declare const ACTION_BUTTON_ELEMENTS: {
2
+ readonly BUTTON: "button";
3
+ readonly LINK: "link";
4
+ };
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/shared/components/ActionButton/constants/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB;;;CAGzB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { UseActionButtonPropsValidationEffect } from '../../../../../../components/shared/components/ActionButton/types';
2
+ declare const useActionButtonPropsValidationEffect: ({ as, buttonOption, linkOption, }: UseActionButtonPropsValidationEffect) => void;
3
+ export default useActionButtonPropsValidationEffect;
4
+ //# sourceMappingURL=useActionButtonPropsValidateEffect.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useActionButtonPropsValidateEffect.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/shared/components/ActionButton/hooks/effects/useActionButtonPropsValidateEffect.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,oCAAoC,EAAE,MAAM,mDAAmD,CAAC;AAEzG,QAAA,MAAM,oCAAoC,GAAI,mCAI3C,oCAAoC,SAkBtC,CAAC;AAEF,eAAe,oCAAoC,CAAC"}
@@ -0,0 +1,4 @@
1
+ export { default as ActionButton } from './ActionButton';
2
+ export * from './constants';
3
+ export * from './types';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/shared/components/ActionButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { ButtonPrimitiveProps, ButtonProps, LinkButtonProps } from '../../../../../components/Button';
2
+ import { ACTION_BUTTON_ELEMENTS } from '../../../../../components/shared/components/ActionButton/constants';
3
+ export type ActionButtonElement = (typeof ACTION_BUTTON_ELEMENTS)[keyof typeof ACTION_BUTTON_ELEMENTS];
4
+ export interface ActionButtonProps extends ButtonPrimitiveProps {
5
+ as?: ActionButtonElement;
6
+ buttonOption?: Omit<ButtonProps, keyof ButtonPrimitiveProps>;
7
+ linkOption?: Omit<LinkButtonProps, keyof ButtonPrimitiveProps>;
8
+ }
9
+ export interface UseActionButtonPropsValidationEffect extends Pick<ActionButtonProps, 'as' | 'linkOption' | 'buttonOption'> {
10
+ }
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/shared/components/ActionButton/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EACpB,WAAW,EACX,eAAe,EAChB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,sBAAsB,EAAE,MAAM,uDAAuD,CAAC;AAE/F,MAAM,MAAM,mBAAmB,GAC7B,CAAC,OAAO,sBAAsB,CAAC,CAAC,MAAM,OAAO,sBAAsB,CAAC,CAAC;AAEvE,MAAM,WAAW,iBAAkB,SAAQ,oBAAoB;IAC7D,EAAE,CAAC,EAAE,mBAAmB,CAAC;IACzB,YAAY,CAAC,EAAE,IAAI,CAAC,WAAW,EAAE,MAAM,oBAAoB,CAAC,CAAC;IAC7D,UAAU,CAAC,EAAE,IAAI,CAAC,eAAe,EAAE,MAAM,oBAAoB,CAAC,CAAC;CAChE;AAED,MAAM,WAAW,oCACf,SAAQ,IAAI,CAAC,iBAAiB,EAAE,IAAI,GAAG,YAAY,GAAG,cAAc,CAAC;CAAG"}
@@ -1,3 +1,4 @@
1
+ export * from './ActionButton';
1
2
  export * from './ConfirmOverlay';
2
3
  export * from './DialogOverlay';
3
4
  export * from './InputFeedback';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/shared/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,uBAAuB,CAAC;AACtC,cAAc,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/shared/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,uBAAuB,CAAC;AACtC,cAAc,WAAW,CAAC"}