armtek-uikit-react 1.0.161 → 1.0.162

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/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"armtek-uikit-react","version":"1.0.161","description":"Armtek UIKit for React","main":"cjs/index.js","module":"esm/index.js","types":"esm/index.d.ts","repository":{"type":"git","url":"ssh://git@gl.corp:10022/int/uikit/uikit_react.git"},"author":"","license":"ISC","dependencies":{"build":"^0.1.4","clsx":"^2.0.0","rc-slider":"^10.2.1","react":"*","react-datepicker":"^4.16.0","react-dom":"*","react-transition-group":"^4.4.5"},"peerDependencies":{"react":"*","react-dom":"*"},"scripts":{"pub":"npm version patch && npm publish"}}
1
+ {"name":"armtek-uikit-react","version":"1.0.162","description":"Armtek UIKit for React","main":"cjs/index.js","module":"esm/index.js","types":"esm/index.d.ts","repository":{"type":"git","url":"ssh://git@gl.corp:10022/int/uikit/uikit_react.git"},"author":"","license":"ISC","dependencies":{"build":"^0.1.4","clsx":"^2.0.0","rc-slider":"^10.2.1","react":"*","react-datepicker":"^4.16.0","react-dom":"*","react-transition-group":"^4.4.5"},"peerDependencies":{"react":"*","react-dom":"*"},"scripts":{"pub":"npm version patch && npm publish"}}
@@ -14,7 +14,24 @@ type OwnProps<T extends ElementType = BtnType> = {
14
14
  fullWidth?: boolean;
15
15
  disablestyles?: string;
16
16
  as?: T;
17
+ } & {
18
+ [dataAttibute: `data-${string}`]: string;
17
19
  };
18
20
  export type ButtonProps<T extends ElementType = BtnType> = OwnProps<T> & Omit<ComponentPropsWithoutRef<T>, keyof OwnProps<T>>;
19
- declare const _default: <T extends ElementType = "button">(props: OwnProps<T> & Omit<import("react").PropsWithoutRef<import("react").ComponentProps<T>>, keyof OwnProps<T_1>> & import("react").RefAttributes<any>) => JSX.Element;
21
+ declare const _default: <T extends ElementType = "button">(props: {
22
+ size?: SizeType | undefined;
23
+ color?: "black" | "green" | "red" | ColorType | undefined;
24
+ variant?: VariantType | undefined;
25
+ startAdornment?: ReactNode;
26
+ endAdornment?: ReactNode;
27
+ group?: "column" | "inline" | undefined;
28
+ radius?: boolean | undefined;
29
+ asIcon?: boolean | undefined;
30
+ theme?: ThemeType | undefined;
31
+ fullWidth?: boolean | undefined;
32
+ disablestyles?: string | undefined;
33
+ as?: T | undefined;
34
+ } & {
35
+ [dataAttibute: `data-${string}`]: string;
36
+ } & Omit<import("react").PropsWithoutRef<import("react").ComponentProps<T>>, "color" | "size" | "radius" | "as" | "group" | `data-${string}` | "variant" | "startAdornment" | "endAdornment" | "asIcon" | "theme" | "fullWidth" | "disablestyles"> & import("react").RefAttributes<any>) => JSX.Element;
20
37
  export default _default;
@@ -18,18 +18,7 @@ declare const _default: <T extends ElementType = "button">(props: ButtonIconProp
18
18
  fullWidth?: boolean | undefined;
19
19
  disablestyles?: string | undefined;
20
20
  as?: T | undefined;
21
- } & Omit<import("react").PropsWithoutRef<import("react").ComponentProps<T>>, keyof {
22
- size?: import("../../types/theme").SizeType | undefined;
23
- color?: "black" | "green" | "red" | import("../../types/theme").ColorType | undefined;
24
- variant?: import("../../types/theme").VariantType | undefined;
25
- startAdornment?: import("react").ReactNode;
26
- endAdornment?: import("react").ReactNode;
27
- group?: "column" | "inline" | undefined;
28
- radius?: boolean | undefined;
29
- asIcon?: boolean | undefined;
30
- theme?: import("../../types/theme").ThemeType | undefined;
31
- fullWidth?: boolean | undefined;
32
- disablestyles?: string | undefined;
33
- as?: T_1 | undefined;
34
- }> & import("react").RefAttributes<T>) => JSX.Element;
21
+ } & {
22
+ [dataAttibute: `data-${string}`]: string;
23
+ } & Omit<import("react").PropsWithoutRef<import("react").ComponentProps<T>>, "color" | "size" | "radius" | "as" | "group" | `data-${string}` | "variant" | "startAdornment" | "endAdornment" | "asIcon" | "theme" | "fullWidth" | "disablestyles"> & import("react").RefAttributes<T>) => JSX.Element;
35
24
  export default _default;