@arkyn/types 1.3.58 → 1.3.61

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,12 @@
1
+ import type { ButtonHTMLAttributes, HTMLAttributes, ReactNode } from "react";
2
+ type TabButtonProps = {
3
+ children: ReactNode;
4
+ value: string;
5
+ defaultActive?: boolean;
6
+ } & Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children" | "value">;
7
+ type TabContainerProps = {
8
+ children: ReactNode;
9
+ onClick?: (index: string) => void;
10
+ } & Omit<HTMLAttributes<HTMLElement>, "onClick" | "children" | "ref">;
11
+ export type { TabButtonProps, TabContainerProps };
12
+ //# sourceMappingURL=TabProps.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1 @@
1
+ export {};
package/dist/index.d.ts CHANGED
@@ -26,6 +26,7 @@ export * from "./components/TableProps";
26
26
  export * from "./components/TextareaProps";
27
27
  export * from "./components/ToastProps";
28
28
  export * from "./components/TooltipProps";
29
+ export * from "./components/TabProps";
29
30
  export * from "./hooks/Drawer";
30
31
  export * from "./hooks/Modal";
31
32
  export * from "./hooks/Toast";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,gCAAgC,CAAC;AAC/C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAG7B,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAG1C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAG9B,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AAGtC,cAAc,wCAAwC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,gCAAgC,CAAC;AAC/C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAG7B,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AAGtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAG9B,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AAGtC,cAAc,wCAAwC,CAAC"}
package/dist/index.js CHANGED
@@ -28,6 +28,7 @@ export * from "./components/TableProps";
28
28
  export * from "./components/TextareaProps";
29
29
  export * from "./components/ToastProps";
30
30
  export * from "./components/TooltipProps";
31
+ export * from "./components/TabProps";
31
32
  // Hooks
32
33
  export * from "./hooks/Drawer";
33
34
  export * from "./hooks/Modal";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arkyn/types",
3
- "version": "1.3.58",
3
+ "version": "1.3.61",
4
4
  "main": "./dist/bundle.js",
5
5
  "module": "./src/index.ts",
6
6
  "type": "module",
@@ -0,0 +1,14 @@
1
+ import type { ButtonHTMLAttributes, HTMLAttributes, ReactNode } from "react";
2
+
3
+ type TabButtonProps = {
4
+ children: ReactNode;
5
+ value: string;
6
+ defaultActive?: boolean;
7
+ } & Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children" | "value">;
8
+
9
+ type TabContainerProps = {
10
+ children: ReactNode;
11
+ onClick?: (index: string) => void;
12
+ } & Omit<HTMLAttributes<HTMLElement>, "onClick" | "children" | "ref">;
13
+
14
+ export type { TabButtonProps, TabContainerProps };
package/src/index.ts CHANGED
@@ -29,6 +29,7 @@ export * from "./components/TableProps";
29
29
  export * from "./components/TextareaProps";
30
30
  export * from "./components/ToastProps";
31
31
  export * from "./components/TooltipProps";
32
+ export * from "./components/TabProps";
32
33
 
33
34
  // Hooks
34
35
  export * from "./hooks/Drawer";