dfh-ui-library 1.14.40 → 1.14.42

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 +1 @@
1
- export declare const handleButtonClasses: (variants?: string | undefined) => "bg-accent-primary text-white border border-accent-primary hover:bg-state-focushover-background hover:text-state-focushover-foreground hover:border hover:border-state-focushover-border active:bg-state-active-background active:text-state-active-foreground active:border active:border-state-active-border" | "text-16s h-[52px] text-base font-semibold text-accent-primary leading-5 border border-solid border-border-dark bg-background-default hover:bg-state-focushover-background hover:text-state-focushover-foreground hover:border hover:border-state-focushover-border active:bg-state-active-background active:text-state-active-foreground active:border active:border-state-active-border" | "text-14s h-9 bg-accent-primary text-white border border-accent-primary hover:bg-state-focushover-background hover:text-state-focushover-foreground hover:border hover:border-state-focushover-border active:bg-state-active-background active:text-state-active-foreground active:border active:border-state-active-border" | "text-14s text-base font-semibold text-accent-primary leading-5 border border-solid border-border-dark bg-background-default hover:bg-state-focushover-background hover:text-state-focushover-foreground hover:border hover:border-state-focushover-border active:bg-state-active-background active:text-state-active-foreground active:border active:border-state-active-border" | "text-14s h-7 bg-accent-primary text-white border border-accent-primary hover:bg-state-focushover-background hover:text-state-focushover-foreground hover:border hover:border-state-focushover-border active:bg-state-active-background active:text-state-active-foreground active:border active:border-state-active-border" | "text-14s h-7 text-base font-semibold text-accent-primary leading-5 border border-solid border-border-dark bg-background-default hover:bg-state-focushover-background hover:text-state-focushover-foreground hover:border hover:border-state-focushover-border active:bg-state-active-background active:text-state-active-foreground active:border active:border-state-active-border" | "text-14s text-base font-semibold text-accent-primary leading-5 border border-solid border-border-dark bg-background-default hover:bg-state-focushover-background hover:text-state-focushover-foreground hover:border hover:border-state-focushover-border active:bg-state-active-background active:text-state-active-foreground active:border active:border-state-active-border font-medium leading-[14px]" | "text-14s bg-accent-primary text-white border border-accent-primary hover:bg-state-focushover-background hover:text-state-focushover-foreground hover:border hover:border-state-focushover-border active:bg-state-active-background active:text-state-active-foreground active:border active:border-state-active-border" | "text-14s bg-state-error-background border border-state-error-border text-state-error-foreground" | "bg-accent-primary text-12s text-content-light" | "text-12s text-content-default bg-background-light1 border border-border-default" | "text-21s text-content-default border-1 border-border-default bg-background-light1" | "text-21s opacity-60 text-state-disabled-foreground border border-state-disabled-border bg-state-disabled-background" | "text-21s border text-content-default border-accent-primary bg-background-light1" | "h-8 text-12s text-content-default border border-border-default bg-background-light1" | "h-8 text-12s border text-content-default border-accent-primary bg-background-light1" | "text-14s text-white bg-[#F23A5C]" | "text-21s text-black-540 border border-0 bg-white" | "text-21s text-white border border-0 bg-[#006CD0]" | "text-21s text-white border border-0 bg-pinkRead" | "flex text-12s h-8 bg-[#006CD0] text-white" | "h-11 text-21s border border-0 bg-white" | "h-8 text-21s border border-0 bg-transparent" | undefined;
1
+ export declare const handleButtonClasses: (variants?: string | undefined) => "bg-accent-primary text-white border border-accent-primary hover:bg-state-focushover-background hover:text-state-focushover-foreground hover:border hover:border-state-focushover-border active:bg-state-active-background active:text-state-active-foreground active:border active:border-state-active-border" | "text-16s h-[52px] text-base font-semibold text-accent-primary leading-5 border border-solid border-border-dark bg-background-default hover:bg-state-focushover-background hover:text-state-focushover-foreground hover:border hover:border-state-focushover-border active:bg-state-active-background active:text-state-active-foreground active:border active:border-state-active-border" | "text-14s h-9 bg-accent-primary text-white border border-accent-primary hover:bg-state-focushover-background hover:text-state-focushover-foreground hover:border hover:border-state-focushover-border active:bg-state-active-background active:text-state-active-foreground active:border active:border-state-active-border" | "text-14s text-base font-semibold text-accent-primary leading-5 border border-solid border-border-dark bg-background-default hover:bg-state-focushover-background hover:text-state-focushover-foreground hover:border hover:border-state-focushover-border active:bg-state-active-background active:text-state-active-foreground active:border active:border-state-active-border" | "text-14s h-7 bg-accent-primary text-white border border-accent-primary hover:bg-state-focushover-background hover:text-state-focushover-foreground hover:border hover:border-state-focushover-border active:bg-state-active-background active:text-state-active-foreground active:border active:border-state-active-border" | "text-14s h-7 text-base font-semibold text-accent-primary leading-5 border border-solid border-border-dark bg-background-default hover:bg-state-focushover-background hover:text-state-focushover-foreground hover:border hover:border-state-focushover-border active:bg-state-active-background active:text-state-active-foreground active:border active:border-state-active-border" | "text-14s text-base font-semibold text-accent-primary leading-5 border border-solid border-border-dark bg-background-default hover:bg-state-focushover-background hover:text-state-focushover-foreground hover:border hover:border-state-focushover-border active:bg-state-active-background active:text-state-active-foreground active:border active:border-state-active-border font-medium leading-[14px]" | "text-14s bg-accent-primary text-white border border-accent-primary hover:bg-state-focushover-background hover:text-state-focushover-foreground hover:border hover:border-state-focushover-border active:bg-state-active-background active:text-state-active-foreground active:border active:border-state-active-border" | "text-14s bg-state-error-background border border-state-error-border text-state-error-foreground" | "bg-accent-primary text-12s text-content-light" | "text-12s text-content-default bg-background-light1 border border-border-default" | "text-21s text-content-default border-1 border-border-default bg-background-light1" | "text-21s opacity-60 text-state-disabled-foreground border border-state-disabled-border bg-state-disabled-background" | "text-21s border text-content-default border-accent-primary bg-background-light1" | "h-8 text-12s text-content-default border border-border-default bg-background-light1" | "h-8 text-12s border text-content-default border-accent-primary bg-background-light1" | "text-14s text-white bg-state-error-foreground text-content-light border border-state-error-border [&:is(:hover,:focus)]:bg-state-error-background [&:is(:hover,:focus)]:text-state-error-foreground " | "text-21s text-black-540 border border-0 bg-white" | "text-21s text-white border border-0 bg-[#006CD0]" | "text-21s text-white border border-0 bg-pinkRead" | "flex text-12s h-8 bg-[#006CD0] text-white" | "h-11 text-21s border border-0 bg-white" | "h-8 text-21s border border-0 bg-transparent" | undefined;
@@ -10,10 +10,10 @@ type IconProps = {
10
10
  variant?: IconVariant;
11
11
  strokeWidth?: number;
12
12
  absoluteStrokeWidth?: boolean;
13
- onClick?: () => void;
13
+ onClick?: React.MouseEventHandler<SVGSVGElement>;
14
14
  additionalClasses?: string;
15
- onMouseEnter?: () => void;
16
- onMouseLeave?: () => void;
15
+ onMouseEnter?: React.MouseEventHandler<SVGSVGElement>;
16
+ onMouseLeave?: React.MouseEventHandler<SVGSVGElement>;
17
17
  };
18
18
  declare const IconV2: React.FC<IconProps>;
19
19
  export default IconV2;
package/dist/index.d.ts CHANGED
@@ -1840,10 +1840,10 @@ type IconProps = {
1840
1840
  variant?: IconVariant;
1841
1841
  strokeWidth?: number;
1842
1842
  absoluteStrokeWidth?: boolean;
1843
- onClick?: () => void;
1843
+ onClick?: React__default.MouseEventHandler<SVGSVGElement>;
1844
1844
  additionalClasses?: string;
1845
- onMouseEnter?: () => void;
1846
- onMouseLeave?: () => void;
1845
+ onMouseEnter?: React__default.MouseEventHandler<SVGSVGElement>;
1846
+ onMouseLeave?: React__default.MouseEventHandler<SVGSVGElement>;
1847
1847
  };
1848
1848
  declare const IconV2: React__default.FC<IconProps>;
1849
1849
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dfh-ui-library",
3
- "version": "1.14.40",
3
+ "version": "1.14.42",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "build": "rollup -c --bundleConfigAsCjs --environment NODE_ENV:production",