@bbodek/internal-ui 0.0.24 → 0.0.26

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.
@@ -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,IAAI,CAAC,YAAY,EAAE,eAAe,CAAC,EACnC,IAAI,CAAC,SAAS,EAAE,SAAS,CAAC,EAC1B,IAAI,CAAC,WAAW,EAAE,WAAW,CAAC,EAC9B,iBAAiB,CAAC,iBAAiB,CAAC;IACtC,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB,UAAU,EAAE,QAAQ,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,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