@arkyn/types 1.3.69 → 1.3.70

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,10 +2,10 @@ import type { ButtonHTMLAttributes, HTMLAttributes, ReactNode } from "react";
2
2
  type TabButtonProps = {
3
3
  children: ReactNode;
4
4
  value: string;
5
- defaultActive?: boolean;
6
5
  } & Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children" | "value">;
7
6
  type TabContainerProps = {
8
7
  children: ReactNode;
8
+ defaultActive?: string;
9
9
  onClick?: (index: string) => void;
10
10
  } & Omit<HTMLAttributes<HTMLElement>, "onClick" | "children" | "ref">;
11
11
  export type { TabButtonProps, TabContainerProps };
@@ -1 +1 @@
1
- {"version":3,"file":"TabProps.d.ts","sourceRoot":"","sources":["../../src/components/TabProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE7E,KAAK,cAAc,GAAG;IACpB,QAAQ,EAAE,SAAS,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,GAAG,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC,CAAC;AAExE,KAAK,iBAAiB,GAAG;IACvB,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACnC,GAAG,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,SAAS,GAAG,UAAU,GAAG,KAAK,CAAC,CAAC;AAEtE,YAAY,EAAE,cAAc,EAAE,iBAAiB,EAAE,CAAC"}
1
+ {"version":3,"file":"TabProps.d.ts","sourceRoot":"","sources":["../../src/components/TabProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE7E,KAAK,cAAc,GAAG;IACpB,QAAQ,EAAE,SAAS,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;CACf,GAAG,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC,CAAC;AAExE,KAAK,iBAAiB,GAAG;IACvB,QAAQ,EAAE,SAAS,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACnC,GAAG,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,SAAS,GAAG,UAAU,GAAG,KAAK,CAAC,CAAC;AAEtE,YAAY,EAAE,cAAc,EAAE,iBAAiB,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arkyn/types",
3
- "version": "1.3.69",
3
+ "version": "1.3.70",
4
4
  "main": "./dist/bundle.js",
5
5
  "module": "./src/index.ts",
6
6
  "type": "module",
@@ -3,11 +3,11 @@ import type { ButtonHTMLAttributes, HTMLAttributes, ReactNode } from "react";
3
3
  type TabButtonProps = {
4
4
  children: ReactNode;
5
5
  value: string;
6
- defaultActive?: boolean;
7
6
  } & Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children" | "value">;
8
7
 
9
8
  type TabContainerProps = {
10
9
  children: ReactNode;
10
+ defaultActive?: string;
11
11
  onClick?: (index: string) => void;
12
12
  } & Omit<HTMLAttributes<HTMLElement>, "onClick" | "children" | "ref">;
13
13