@arkyn/types 1.3.69 → 1.3.71

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.
@@ -0,0 +1,11 @@
1
+ import type { LucideProps } from "lucide-react";
2
+ import type { HTMLAttributes } from "react";
3
+ type AlertContainerProps = {
4
+ schema: "success" | "danger" | "warning" | "info";
5
+ } & HTMLAttributes<HTMLDivElement>;
6
+ type AlertContentProps = HTMLAttributes<HTMLDivElement>;
7
+ type AlertDescriptionProps = HTMLAttributes<HTMLDivElement>;
8
+ type AlertIconProps = LucideProps;
9
+ type AlertTitleProps = HTMLAttributes<HTMLDivElement>;
10
+ export type { AlertContainerProps, AlertContentProps, AlertDescriptionProps, AlertIconProps, AlertTitleProps, };
11
+ //# sourceMappingURL=AlertProps.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AlertProps.d.ts","sourceRoot":"","sources":["../../src/components/AlertProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,KAAK,mBAAmB,GAAG;IACzB,MAAM,EAAE,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,CAAC;CACnD,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEnC,KAAK,iBAAiB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAExD,KAAK,qBAAqB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAE5D,KAAK,cAAc,GAAG,WAAW,CAAC;AAElC,KAAK,eAAe,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEtD,YAAY,EACV,mBAAmB,EACnB,iBAAiB,EACjB,qBAAqB,EACrB,cAAc,EACd,eAAe,GAChB,CAAC"}
@@ -0,0 +1 @@
1
+ export {};
@@ -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/dist/index.d.ts CHANGED
@@ -8,6 +8,7 @@ export * from "./api/MonitoringErrorsDTO";
8
8
  export * from "./api/PatchDTO";
9
9
  export * from "./api/PostDTO";
10
10
  export * from "./api/PutDTO";
11
+ export * from "./components/AlertProps";
11
12
  export * from "./components/BadgeProps";
12
13
  export * from "./components/BreadcrumbProps";
13
14
  export * from "./components/ButtonProps";
@@ -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,2B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;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AAGxC,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
@@ -10,6 +10,7 @@ export * from "./api/PatchDTO";
10
10
  export * from "./api/PostDTO";
11
11
  export * from "./api/PutDTO";
12
12
  // Components
13
+ export * from "./components/AlertProps";
13
14
  export * from "./components/BadgeProps";
14
15
  export * from "./components/BreadcrumbProps";
15
16
  export * from "./components/ButtonProps";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arkyn/types",
3
- "version": "1.3.69",
3
+ "version": "1.3.71",
4
4
  "main": "./dist/bundle.js",
5
5
  "module": "./src/index.ts",
6
6
  "type": "module",
@@ -0,0 +1,22 @@
1
+ import type { LucideProps } from "lucide-react";
2
+ import type { HTMLAttributes } from "react";
3
+
4
+ type AlertContainerProps = {
5
+ schema: "success" | "danger" | "warning" | "info";
6
+ } & HTMLAttributes<HTMLDivElement>;
7
+
8
+ type AlertContentProps = HTMLAttributes<HTMLDivElement>;
9
+
10
+ type AlertDescriptionProps = HTMLAttributes<HTMLDivElement>;
11
+
12
+ type AlertIconProps = LucideProps;
13
+
14
+ type AlertTitleProps = HTMLAttributes<HTMLDivElement>;
15
+
16
+ export type {
17
+ AlertContainerProps,
18
+ AlertContentProps,
19
+ AlertDescriptionProps,
20
+ AlertIconProps,
21
+ AlertTitleProps,
22
+ };
@@ -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
 
package/src/index.ts CHANGED
@@ -11,6 +11,7 @@ export * from "./api/PostDTO";
11
11
  export * from "./api/PutDTO";
12
12
 
13
13
  // Components
14
+ export * from "./components/AlertProps";
14
15
  export * from "./components/BadgeProps";
15
16
  export * from "./components/BreadcrumbProps";
16
17
  export * from "./components/ButtonProps";