@bbodek/internal-ui 0.0.25 → 0.0.27

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 (56) hide show
  1. package/dist/components/Button/Button/Button.d.ts.map +1 -1
  2. package/dist/components/Button/IconButton/IconButton.d.ts +1 -1
  3. package/dist/components/Button/IconButton/IconButton.d.ts.map +1 -1
  4. package/dist/components/Button/IconButton/types/index.d.ts +3 -2
  5. package/dist/components/Button/IconButton/types/index.d.ts.map +1 -1
  6. package/dist/components/Button/LinkButton/LinkButton.d.ts +1 -1
  7. package/dist/components/Button/LinkButton/LinkButton.d.ts.map +1 -1
  8. package/dist/components/Button/shared/types/index.d.ts +2 -2
  9. package/dist/components/Button/shared/types/index.d.ts.map +1 -1
  10. package/dist/components/Button/shared/utils/generateButtonStyle.d.ts +1 -1
  11. package/dist/components/Button/shared/utils/generateButtonStyle.d.ts.map +1 -1
  12. package/dist/components/Tab/Tab.d.ts +9 -0
  13. package/dist/components/Tab/Tab.d.ts.map +1 -0
  14. package/dist/components/Tab/TabIndicator.d.ts +3 -0
  15. package/dist/components/Tab/TabIndicator.d.ts.map +1 -0
  16. package/dist/components/Tab/TabList.d.ts +14 -0
  17. package/dist/components/Tab/TabList.d.ts.map +1 -0
  18. package/dist/components/Tab/TabListBase.d.ts +5 -0
  19. package/dist/components/Tab/TabListBase.d.ts.map +1 -0
  20. package/dist/components/Tab/TabNumber.d.ts +4 -0
  21. package/dist/components/Tab/TabNumber.d.ts.map +1 -0
  22. package/dist/components/Tab/TabPanel.d.ts +5 -0
  23. package/dist/components/Tab/TabPanel.d.ts.map +1 -0
  24. package/dist/components/Tab/Tabs.d.ts +13 -0
  25. package/dist/components/Tab/Tabs.d.ts.map +1 -0
  26. package/dist/components/Tab/constants/index.d.ts +61 -0
  27. package/dist/components/Tab/constants/index.d.ts.map +1 -0
  28. package/dist/components/Tab/context/TabContext.d.ts +5 -0
  29. package/dist/components/Tab/context/TabContext.d.ts.map +1 -0
  30. package/dist/components/Tab/context/TabListContext.d.ts +5 -0
  31. package/dist/components/Tab/context/TabListContext.d.ts.map +1 -0
  32. package/dist/components/Tab/context/index.d.ts +3 -0
  33. package/dist/components/Tab/context/index.d.ts.map +1 -0
  34. package/dist/components/Tab/hooks/effects/useTabIndicatorStyleEffect.d.ts +4 -0
  35. package/dist/components/Tab/hooks/effects/useTabIndicatorStyleEffect.d.ts.map +1 -0
  36. package/dist/components/Tab/hooks/effects/useTabPanelIdEffect.d.ts +4 -0
  37. package/dist/components/Tab/hooks/effects/useTabPanelIdEffect.d.ts.map +1 -0
  38. package/dist/components/Tab/index.d.ts +8 -0
  39. package/dist/components/Tab/index.d.ts.map +1 -0
  40. package/dist/components/Tab/types/index.d.ts +42 -0
  41. package/dist/components/Tab/types/index.d.ts.map +1 -0
  42. package/dist/components/Tab/utils/getPanelId.d.ts +3 -0
  43. package/dist/components/Tab/utils/getPanelId.d.ts.map +1 -0
  44. package/dist/components/shared/utils/handleKeyDownFocus/constants/index.d.ts +2 -0
  45. package/dist/components/shared/utils/handleKeyDownFocus/constants/index.d.ts.map +1 -0
  46. package/dist/components/shared/utils/handleKeyDownFocus/handleArrowKeyFocus.d.ts +3 -0
  47. package/dist/components/shared/utils/handleKeyDownFocus/handleArrowKeyFocus.d.ts.map +1 -0
  48. package/dist/components/shared/utils/handleKeyDownFocus/index.d.ts +4 -0
  49. package/dist/components/shared/utils/handleKeyDownFocus/index.d.ts.map +1 -0
  50. package/dist/components/shared/utils/handleKeyDownFocus/types/index.d.ts +12 -0
  51. package/dist/components/shared/utils/handleKeyDownFocus/types/index.d.ts.map +1 -0
  52. package/dist/components/shared/utils/index.d.ts +2 -0
  53. package/dist/components/shared/utils/index.d.ts.map +1 -0
  54. package/dist/index.es.js +1 -1
  55. package/dist/index.es.js.map +1 -1
  56. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/Button/Button.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAM/D,QAAA,MAAM,MAAM,GAAI,yEASb,WAAW,4CAoCb,CAAC;AAEF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/Button/Button.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAO/D,QAAA,MAAM,MAAM,GAAI,yEASb,WAAW,4CAwCb,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import { IconButtonProps } from './types';
2
- declare const IconButton: ({ ref, iconKey, type, theme, arialLabel, tooltipContent, rootClassName, disabled, isPending, onClick, }: IconButtonProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const IconButton: ({ ref, iconKey, type, theme, arialLabel, tooltipOption, className, disabled, isPending, onClick, }: IconButtonProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default IconButton;
4
4
  //# sourceMappingURL=IconButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/IconButton/IconButton.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,QAAA,MAAM,UAAU,GAAI,yGAWjB,eAAe,4CAoCjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/IconButton/IconButton.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,QAAA,MAAM,UAAU,GAAI,oGAWjB,eAAe,4CAqCjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -5,9 +5,10 @@ import { IconProps } from '../../../../components/Icon';
5
5
  import { ComponentPropsRef } from '../../../../components/shared';
6
6
  import { TooltipProps } from '../../../../components/Tooltip';
7
7
  export type IconButtonTheme = (typeof ICON_BUTTON_THEMES)[keyof typeof ICON_BUTTON_THEMES];
8
- export interface IconButtonProps extends Pick<ButtonHTMLAttributes<HTMLButtonElement>, 'onClick' | 'disabled' | 'type'>, Pick<TooltipProps, 'rootClassName'>, Pick<IconProps, 'iconKey'>, Pick<ButtonProps, 'isPending'>, ComponentPropsRef<HTMLButtonElement> {
8
+ export interface IconButtonProps extends Pick<ButtonHTMLAttributes<HTMLButtonElement>, 'onClick' | 'disabled' | 'type'>, Pick<IconProps, 'iconKey'>, Pick<ButtonProps, 'isPending'>, ComponentPropsRef<HTMLButtonElement> {
9
9
  theme?: IconButtonTheme;
10
10
  arialLabel: Required<ButtonHTMLAttributes<HTMLButtonElement>['aria-label']>;
11
- tooltipContent?: string;
11
+ className?: TooltipProps['rootClassName'];
12
+ tooltipOption?: Pick<TooltipProps, 'content' | 'placement'>;
12
13
  }
13
14
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/IconButton/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAE7C,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAC9E,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEpD,MAAM,MAAM,eAAe,GACzB,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,OAAO,kBAAkB,CAAC,CAAC;AAE/D,MAAM,WAAW,eACf,SAAQ,IAAI,CACR,oBAAoB,CAAC,iBAAiB,CAAC,EACvC,SAAS,GAAG,UAAU,GAAG,MAAM,CAChC,EACD,IA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C;IAC1C,aAAa,CAAC,EAAE,IAAI,CAAC,YAAY,EAAE,SAAS,GAAG,WAAW,CAAC,CAAC;CAC7D"}
@@ -1,4 +1,4 @@
1
1
  import { LinkButtonProps } from '../../../components/Button/LinkButton/types';
2
- declare const LinkButton: ({ href, label, className, ref, onClick, ...props }: LinkButtonProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const LinkButton: ({ href, label, className, ref, onClick, variant, theme, size, disabled, iconOption, iconPosition, ...props }: LinkButtonProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default LinkButton;
4
4
  //# sourceMappingURL=LinkButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LinkButton.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/LinkButton/LinkButton.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAKvE,QAAA,MAAM,UAAU,GAAI,oDAOjB,eAAe,4CA6BjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"LinkButton.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/LinkButton/LinkButton.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAKvE,QAAA,MAAM,UAAU,GAAI,8GAajB,eAAe,4CAuCjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -11,13 +11,13 @@ export interface ButtonPrimitiveProps {
11
11
  variant?: ButtonVariant;
12
12
  theme?: ButtonTheme;
13
13
  size?: ButtonSize;
14
- iconKey?: IconProps['iconKey'];
14
+ iconOption?: Pick<IconProps, 'iconKey'>;
15
15
  iconPosition?: ButtonIconPosition;
16
16
  disabled?: boolean;
17
17
  }
18
18
  export interface UseButtonRenderErrorEffectProps extends Pick<ButtonPrimitiveProps, 'variant' | 'theme' | 'size'> {
19
19
  }
20
- export interface GenerateButtonStyleProps extends Pick<ButtonPrimitiveProps, 'variant' | 'theme' | 'size' | 'disabled' | 'iconKey' | 'iconPosition'> {
20
+ export interface GenerateButtonStyleProps extends Pick<ButtonPrimitiveProps, 'variant' | 'theme' | 'size' | 'disabled' | 'iconOption' | 'iconPosition'> {
21
21
  }
22
22
  export interface ButtonIconProps extends Pick<IconProps, 'iconKey' | 'className'>, Pick<ButtonPrimitiveProps, 'size'> {
23
23
  }
@@ -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;AAE9C,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,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,OAAO,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC/B,YAAY,C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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,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,EACpB,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,UAAU,GAAG,YAAY,GAAG,cAAc,CAC1E;CAAG;AAEN,MAAM,WAAW,eACf,SAAQ,IAAI,CAAC,SAAS,EAAE,SAAS,GAAG,WAAW,CAAC,EAC9C,IAAI,CAAC,oBAAoB,EAAE,MAAM,CAAC;CAAG"}
@@ -1,3 +1,3 @@
1
1
  import { GenerateButtonStyleProps } from '../../../../components/Button/shared/types';
2
- export declare const generateButtonStyle: ({ variant, theme, size, disabled, iconKey, iconPosition, }: GenerateButtonStyleProps) => (string | false)[];
2
+ export declare const generateButtonStyle: ({ variant, theme, size, disabled, iconOption, iconPosition, }: GenerateButtonStyleProps) => (string | false)[];
3
3
  //# sourceMappingURL=generateButtonStyle.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"generateButtonStyle.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/shared/utils/generateButtonStyle.ts"],"names":[],"mappings":"AASA,OAAO,EAGL,wBAAwB,EACzB,MAAM,kCAAkC,CAAC;AAE1C,eAAO,MAAM,mBAAmB,GAAI,4DAOjC,wBAAwB,uBAiB1B,CAAC"}
1
+ {"version":3,"file":"generateButtonStyle.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/shared/utils/generateButtonStyle.ts"],"names":[],"mappings":"AASA,OAAO,EAGL,wBAAwB,EACzB,MAAM,kCAAkC,CAAC;AAE1C,eAAO,MAAM,mBAAmB,GAAI,+DAOjC,wBAAwB,uBAkB1B,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { PropsWithChildren } from 'react';
2
+ import { TabProps } from '../../components/Tab/types';
3
+ declare const Tab: {
4
+ ({ value, disabled, children, onChange, }: PropsWithChildren<TabProps>): import("react/jsx-runtime").JSX.Element;
5
+ displayName: string;
6
+ Number: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
7
+ };
8
+ export default Tab;
9
+ //# sourceMappingURL=Tab.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Tab.d.ts","sourceRoot":"","sources":["../../../src/components/Tab/Tab.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAS,MAAM,OAAO,CAAC;AAKjD,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAGlD,QAAA,MAAM,GAAG;+CAKN,iBAAiB,CAAC,QAAQ,CAAC;;;CAyC7B,CAAC;AAEF,eAAe,GAAG,CAAC"}
@@ -0,0 +1,3 @@
1
+ declare const TabIndicator: () => import("react/jsx-runtime").JSX.Element;
2
+ export default TabIndicator;
3
+ //# sourceMappingURL=TabIndicator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TabIndicator.d.ts","sourceRoot":"","sources":["../../../src/components/Tab/TabIndicator.tsx"],"names":[],"mappings":"AAUA,QAAA,MAAM,YAAY,+CAiBjB,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { PropsWithChildren } from 'react';
2
+ import { TabListProps } from '../../components/Tab/types';
3
+ declare const TabList: {
4
+ ({ ariaLabel, variant, theme, size, disabled, full, children, className, }: PropsWithChildren<TabListProps>): import("react/jsx-runtime").JSX.Element;
5
+ displayName: string;
6
+ Tab: {
7
+ ({ value, disabled, children, onChange, }: PropsWithChildren<import("../../components/Tab/types").TabProps>): import("react/jsx-runtime").JSX.Element;
8
+ displayName: string;
9
+ Number: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
10
+ };
11
+ Panel: ({ children, value, className, }: PropsWithChildren<import("../../components/Tab/types").TabPanelProps>) => import("react/jsx-runtime").JSX.Element;
12
+ };
13
+ export default TabList;
14
+ //# sourceMappingURL=TabList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TabList.d.ts","sourceRoot":"","sources":["../../../src/components/Tab/TabList.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAQ1C,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAEtD,QAAA,MAAM,OAAO;gFASV,iBAAiB,CAAC,YAAY,CAAC;;;;;;;;CAoBjC,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { PropsWithChildren } from 'react';
2
+ import { TabListBaseProps } from '../../components/Tab/types';
3
+ declare const TabListBase: ({ ariaLabel, children, className, }: PropsWithChildren<TabListBaseProps>) => import("react/jsx-runtime").JSX.Element;
4
+ export default TabListBase;
5
+ //# sourceMappingURL=TabListBase.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TabListBase.d.ts","sourceRoot":"","sources":["../../../src/components/Tab/TabListBase.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAI1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAG1D,QAAA,MAAM,WAAW,GAAI,qCAIlB,iBAAiB,CAAC,gBAAgB,CAAC,4CAiBrC,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { PropsWithChildren } from 'react';
2
+ declare const TabNumber: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
3
+ export default TabNumber;
4
+ //# sourceMappingURL=TabNumber.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TabNumber.d.ts","sourceRoot":"","sources":["../../../src/components/Tab/TabNumber.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAS1C,QAAA,MAAM,SAAS,GAAI,cAAc,iBAAiB,4CAejD,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { PropsWithChildren } from 'react';
2
+ import { TabPanelProps } from '../../components/Tab/types';
3
+ declare const TabPanel: ({ children, value, className, }: PropsWithChildren<TabPanelProps>) => import("react/jsx-runtime").JSX.Element;
4
+ export default TabPanel;
5
+ //# sourceMappingURL=TabPanel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TabPanel.d.ts","sourceRoot":"","sources":["../../../src/components/Tab/TabPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkB,iBAAiB,EAAY,MAAM,OAAO,CAAC;AAIpE,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAGvD,QAAA,MAAM,QAAQ,GAAI,iCAIf,iBAAiB,CAAC,aAAa,CAAC,4CAmBlC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { PropsWithChildren } from 'react';
2
+ import { TabsProps } from '../../components/Tab/types';
3
+ declare const Tabs: {
4
+ ({ currentValue, ariaLabel, variant, theme, size, disabled, full, children, className, }: PropsWithChildren<TabsProps>): import("react/jsx-runtime").JSX.Element;
5
+ displayName: string;
6
+ Tab: {
7
+ ({ value, disabled, children, onChange, }: PropsWithChildren<import("../../components/Tab/types").TabProps>): import("react/jsx-runtime").JSX.Element;
8
+ displayName: string;
9
+ Number: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
10
+ };
11
+ };
12
+ export default Tabs;
13
+ //# sourceMappingURL=Tabs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../src/components/Tab/Tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAU,MAAM,OAAO,CAAC;AAOlD,OAAO,EAAe,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAEhE,QAAA,MAAM,IAAI;8FAUP,iBAAiB,CAAC,SAAS,CAAC;;;;;;;CAoB9B,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -0,0 +1,61 @@
1
+ import { TabVariant } from '../../../components/Tab/types';
2
+ import { TypographyVariants } from '../../../variants';
3
+ export declare const TAB_PANEL_ID_SUFFIX = "-panel";
4
+ export declare const TAB_VARIANTS: {
5
+ readonly FILLED: "filled";
6
+ readonly LINE: "line";
7
+ };
8
+ export declare const TAB_THEMES: {
9
+ readonly PRIMARY: "primary";
10
+ readonly GRAY: "gray";
11
+ };
12
+ export declare const TAB_SIZES: {
13
+ readonly SM: "sm";
14
+ readonly MD: "md";
15
+ };
16
+ export declare const TAB_SIZE_STYLES: {
17
+ readonly line: {
18
+ readonly md: "h-11 px-4 text-in-body-16-r gap-x-[0.187rem]";
19
+ readonly sm: "h-9 px-3 text-in-body-14-r gap-x-[0.187rem]";
20
+ };
21
+ readonly filled: {
22
+ readonly md: "h-8 px-4 text-in-body-14-b gap-x-1";
23
+ readonly sm: "h-[1.625rem] px-3 text-in-body-12-b gap-x-1";
24
+ };
25
+ };
26
+ export declare const TAB_THEME_STYLES: {
27
+ readonly gray: {
28
+ readonly line: {
29
+ readonly list: "border-b border-b-in-gray-02";
30
+ readonly label: "not-disabled:aria-selected:text-in-black";
31
+ readonly number: "not-group-disabled:group-aria-selected:text-in-gray-06";
32
+ readonly indicator: "border-b-in-black";
33
+ };
34
+ readonly filled: {
35
+ readonly list: "bg-in-gray-02 rounded-in-8";
36
+ readonly label: "not-disabled:aria-selected:text-in-black";
37
+ readonly number: "not-group-disabled:group-aria-selected:text-in-gray-05";
38
+ readonly indicator: "border-in-gray-05";
39
+ };
40
+ };
41
+ readonly primary: {
42
+ readonly line: {
43
+ readonly list: "border-b border-b-in-gray-02";
44
+ readonly label: "not-disabled:aria-selected:text-in-primary-06";
45
+ readonly number: "not-group-disabled:group-aria-selected:text-in-primary-05";
46
+ readonly indicator: "border-b-in-primary-06";
47
+ };
48
+ readonly filled: {
49
+ readonly list: "bg-in-primary-02 rounded-in-8";
50
+ readonly label: "not-disabled:aria-selected:text-in-primary-05";
51
+ readonly number: "not-group-disabled:group-aria-selected:text-in-primary-05";
52
+ readonly indicator: "border-in-primary-05";
53
+ };
54
+ };
55
+ };
56
+ export declare const TAB_NUMBER_TYPOGRAPHY_VARIANT: Record<TabVariant, TypographyVariants>;
57
+ export declare const TAB_INDICATOR_VARIANT_STYLES: {
58
+ readonly line: "border-b-2 -bottom-[1px] group-has-[button:disabled[aria-selected=\"true\"]]/tablist:border-b-in-gray-04";
59
+ readonly filled: "bg-in-white h-full border rounded-in-8 group-has-[button:disabled[aria-selected=\"true\"]]/tablist:border-in-gray-03";
60
+ };
61
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Tab/constants/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAEhD,eAAO,MAAM,mBAAmB,WAAW,CAAC;AAE5C,eAAO,MAAM,YAAY;;;CAGf,CAAC;AAEX,eAAO,MAAM,UAAU;;;CAGb,CAAC;AAEX,eAAO,MAAM,SAAS;;;CAGZ,CAAC;AAEX,eAAO,MAAM,eAAe;;;;;;;;;CASlB,CAAC;AAEX,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6BnB,CAAC;AAEX,eAAO,MAAM,6BAA6B,EAAE,MAAM,CAChD,UAAU,EACV,kBAAkB,CAInB,CAAC;AAEF,eAAO,MAAM,4BAA4B;;;CAK/B,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { PropsWithChildren } from 'react';
2
+ import { TabContextProps, TabProviderProps } from '../../../components/Tab/types';
3
+ export declare const TabProvider: ({ currentValue, tabRefs, variant, theme, size, full, disabled, usePanel, children, }: PropsWithChildren<TabProviderProps>) => import("react/jsx-runtime").JSX.Element;
4
+ export declare const useTabContext: () => TabContextProps;
5
+ //# sourceMappingURL=TabContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TabContext.d.ts","sourceRoot":"","sources":["../../../../src/components/Tab/context/TabContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,iBAAiB,EAAc,MAAM,OAAO,CAAC;AAOrE,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAI3E,eAAO,MAAM,WAAW,GAAI,sFAUzB,iBAAiB,CAAC,gBAAgB,CAAC,4CAiBrC,CAAC;AAEF,eAAO,MAAM,aAAa,uBAQzB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { PropsWithChildren } from 'react';
2
+ import { TabListContextProps, TabListProviderProps } from '../../../components/Tab/types';
3
+ export declare const TabListProvider: ({ currentValue, tabRefs, children, }: PropsWithChildren<TabListProviderProps>) => import("react/jsx-runtime").JSX.Element;
4
+ export declare const useTabListContext: () => TabListContextProps;
5
+ //# sourceMappingURL=TabListContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TabListContext.d.ts","sourceRoot":"","sources":["../../../../src/components/Tab/context/TabListContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,iBAAiB,EAAc,MAAM,OAAO,CAAC;AAErE,OAAO,EACL,mBAAmB,EACnB,oBAAoB,EACrB,MAAM,wBAAwB,CAAC;AAMhC,eAAO,MAAM,eAAe,GAAI,sCAI7B,iBAAiB,CAAC,oBAAoB,CAAC,4CAMzC,CAAC;AAEF,eAAO,MAAM,iBAAiB,2BAQ7B,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './TabContext';
2
+ export * from './TabListContext';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Tab/context/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { UseTabIndicatorStyleProps } from '../../../../components/Tab/types';
2
+ declare const useTabIndicatorStyleEffect: ({ setStyle, }: UseTabIndicatorStyleProps) => void;
3
+ export default useTabIndicatorStyleEffect;
4
+ //# sourceMappingURL=useTabIndicatorStyleEffect.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTabIndicatorStyleEffect.d.ts","sourceRoot":"","sources":["../../../../../src/components/Tab/hooks/effects/useTabIndicatorStyleEffect.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAGnE,QAAA,MAAM,0BAA0B,GAAI,eAEjC,yBAAyB,SAkC3B,CAAC;AAEF,eAAe,0BAA0B,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { UseTabPanelIdEffectProps } from '../../../../components/Tab/types';
2
+ declare const useTabPanelIdEffect: ({ value, setTabId }: UseTabPanelIdEffectProps) => void;
3
+ export default useTabPanelIdEffect;
4
+ //# sourceMappingURL=useTabPanelIdEffect.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTabPanelIdEffect.d.ts","sourceRoot":"","sources":["../../../../../src/components/Tab/hooks/effects/useTabPanelIdEffect.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AAGlE,QAAA,MAAM,mBAAmB,GAAI,qBAAqB,wBAAwB,SAgBzE,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
@@ -0,0 +1,8 @@
1
+ export * from './constants';
2
+ export { TabListProvider } from './context';
3
+ export { default as Tab } from './Tab';
4
+ export { default as TabList } from './TabList';
5
+ export { default as TabPanel } from './TabPanel';
6
+ export { default as Tabs } from './Tabs';
7
+ export * from './types';
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Tab/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC;AACzC,cAAc,SAAS,CAAC"}
@@ -0,0 +1,42 @@
1
+ import { ButtonHTMLAttributes, CSSProperties, Dispatch, HTMLAttributes, SetStateAction } from 'react';
2
+ import { TAB_SIZES, TAB_THEMES, TAB_VARIANTS } from '../../../components/Tab/constants';
3
+ import { KeydownFocusControlItemRefs } from '../../../components/shared/utils/handleKeyDownFocus/types';
4
+ export type TabVariant = (typeof TAB_VARIANTS)[keyof typeof TAB_VARIANTS];
5
+ export type TabTheme = (typeof TAB_THEMES)[keyof typeof TAB_THEMES];
6
+ export type TabSize = (typeof TAB_SIZES)[keyof typeof TAB_SIZES];
7
+ export type TabItemRefs = KeydownFocusControlItemRefs<HTMLButtonElement>;
8
+ export interface TabProviderProps {
9
+ variant?: TabVariant;
10
+ theme?: TabTheme;
11
+ size?: TabSize;
12
+ full?: boolean;
13
+ disabled?: TabProps['disabled'];
14
+ currentValue: TabProps['value'];
15
+ tabRefs: TabItemRefs;
16
+ usePanel?: boolean;
17
+ }
18
+ export interface TabContextProps extends Required<TabProviderProps> {
19
+ }
20
+ export interface TabListContextProps extends Pick<TabContextProps, 'currentValue' | 'tabRefs'> {
21
+ }
22
+ export interface TabListProviderProps extends TabListContextProps {
23
+ }
24
+ export interface TabListBaseProps extends Pick<HTMLAttributes<HTMLDivElement>, 'className'> {
25
+ ariaLabel?: HTMLAttributes<HTMLDivElement>['aria-label'];
26
+ }
27
+ export interface TabsProps extends Omit<TabContextProps, 'usePanel' | 'tabRefs'>, TabListBaseProps {
28
+ }
29
+ export interface TabListProps extends Omit<TabsProps, keyof TabListContextProps> {
30
+ }
31
+ export interface TabProps extends Pick<ButtonHTMLAttributes<HTMLButtonElement>, 'disabled' | 'onChange'> {
32
+ value: string;
33
+ }
34
+ export interface UseTabIndicatorStyleProps {
35
+ setStyle: Dispatch<SetStateAction<CSSProperties>>;
36
+ }
37
+ export interface TabPanelProps extends Pick<HTMLAttributes<HTMLDivElement>, 'className'>, Pick<TabProps, 'value'> {
38
+ }
39
+ export interface UseTabPanelIdEffectProps extends Pick<TabPanelProps, 'value'> {
40
+ setTabId: Dispatch<SetStateAction<HTMLAttributes<HTMLButtonElement>['id']>>;
41
+ }
42
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Tab/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EACpB,aAAa,EACb,QAAQ,EACR,cAAc,EACd,cAAc,EACf,MAAM,OAAO,CAAC;AAEf,OAAO,EACL,SAAS,EACT,UAAU,EACV,YAAY,EACb,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,2BAA2B,EAAE,MAAM,oDAAoD,CAAC;AAEjG,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC;AAE1E,MAAM,MAAM,QAAQ,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,OAAO,UAAU,CAAC,CAAC;AAEpE,MAAM,MAAM,OAAO,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,OAAO,SAAS,CAAC,CA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AAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,WAAW,CAAC,EACvD,IAAI,CAAC,QAAQ,EAAE,OAAO,CAAC;CAAG;AAE9B,MAAM,WAAW,wBAAyB,SAAQ,IAAI,CAAC,aAAa,EAAE,OAAO,CAAC;IAC5E,QAAQ,EAAE,QAAQ,CAAC,cAAc,CAAC,cAAc,CAAC,iBAAiB,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;CAC7E"}
@@ -0,0 +1,3 @@
1
+ import { HTMLAttributes } from 'react';
2
+ export declare const getPanelId: ({ id, }: Pick<HTMLAttributes<HTMLButtonElement>, "id">) => string | undefined;
3
+ //# sourceMappingURL=getPanelId.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getPanelId.d.ts","sourceRoot":"","sources":["../../../../src/components/Tab/utils/getPanelId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAIvC,eAAO,MAAM,UAAU,GAAI,SAExB,IAAI,CAAC,cAAc,CAAC,iBAAiB,CAAC,EAAE,IAAI,CAAC,uBAE/C,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const HANDLE_KEY_DOWN_FOCUS_KEYS: KeyboardEvent['key'][];
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/shared/utils/handleKeyDownFocus/constants/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0BAA0B,EAAE,aAAa,CAAC,KAAK,CAAC,EAO5D,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { HandleKeyDownFocusProps } from '../../../../components/shared/utils/handleKeyDownFocus/types';
2
+ export declare const handleKeyDownFocus: <T extends HTMLElement, P extends HTMLElement>({ e, refs, }: HandleKeyDownFocusProps<T, P>) => void;
3
+ //# sourceMappingURL=handleArrowKeyFocus.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handleArrowKeyFocus.d.ts","sourceRoot":"","sources":["../../../../../src/components/shared/utils/handleKeyDownFocus/handleArrowKeyFocus.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,uBAAuB,EACxB,MAAM,oDAAoD,CAAC;AA4B5D,eAAO,MAAM,kBAAkB,GAC7B,CAAC,SAAS,WAAW,EACrB,CAAC,SAAS,WAAW,EACrB,cAGC,uBAAuB,CAAC,CAAC,EAAE,CAAC,CAAC,SAuB/B,CAAC"}
@@ -0,0 +1,4 @@
1
+ export * from './constants';
2
+ export * from './handleArrowKeyFocus';
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/utils/handleKeyDownFocus/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,uBAAuB,CAAC;AACtC,cAAc,SAAS,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { KeyboardEvent, RefObject } from 'react';
2
+ export type KeydownFocusControlItemRefs<T extends HTMLElement> = RefObject<Record<string, T | null>>;
3
+ export interface HandleKeyDownFocusProps<T extends HTMLElement, P extends HTMLElement> {
4
+ e: KeyboardEvent<T>;
5
+ refs: KeydownFocusControlItemRefs<P>;
6
+ }
7
+ export interface GetDirectionProps {
8
+ eventKey: KeyboardEvent['key'];
9
+ length: number;
10
+ currentFocusIndex: number;
11
+ }
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/shared/utils/handleKeyDownFocus/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEjD,MAAM,MAAM,2BAA2B,CAAC,CAAC,SAAS,WAAW,IAAI,SAAS,CACxE,MAAM,CAAC,MAAM,EAAE,CAAC,GAAG,IAAI,CAAC,CACzB,CAAC;AAEF,MAAM,WAAW,uBAAuB,CACtC,CAAC,SAAS,WAAW,EACrB,CAAC,SAAS,WAAW;IAErB,CAAC,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;IACpB,IAAI,EAAE,2BAA2B,CAAC,CAAC,CAAC,CAAC;CACtC;AAED,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,aAAa,CAAC,KAAK,CAAC,CAAC;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,iBAAiB,EAAE,MAAM,CAAC;CAC3B"}
@@ -0,0 +1,2 @@
1
+ export * from './handleKeyDownFocus';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/shared/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"}