@arkyn/types 1.3.78 → 1.3.80

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,5 +1,5 @@
1
1
  import type { ReactNode } from "react";
2
- type OrientationProps = "bottom-left" | "bottom-right" | "top-left" | "top-right" | "top" | "left" | "bottom" | "right";
2
+ type OrientationProps = "bottomLeft" | "bottomRight" | "topLeft" | "topRight" | "top" | "left" | "bottom" | "right";
3
3
  type PopoverProps = {
4
4
  children: ReactNode;
5
5
  button: ReactNode;
@@ -1 +1 @@
1
- {"version":3,"file":"PopoverProps.d.ts","sourceRoot":"","sources":["../../src/components/PopoverProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,KAAK,gBAAgB,GACjB,aAAa,GACb,cAAc,GACd,UAAU,GACV,WAAW,GACX,KAAK,GACL,MAAM,GACN,QAAQ,GACR,OAAO,CAAC;AAEZ,KAAK,YAAY,GAAG;IAClB,QAAQ,EAAE,SAAS,CAAC;IACpB,MAAM,EAAE,SAAS,CAAC;IAClB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,WAAW,CAAC,EAAE,gBAAgB,CAAC;CAChC,CAAC;AAEF,YAAY,EAAE,YAAY,EAAE,CAAC"}
1
+ {"version":3,"file":"PopoverProps.d.ts","sourceRoot":"","sources":["../../src/components/PopoverProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,KAAK,gBAAgB,GACjB,YAAY,GACZ,aAAa,GACb,SAAS,GACT,UAAU,GACV,KAAK,GACL,MAAM,GACN,QAAQ,GACR,OAAO,CAAC;AAEZ,KAAK,YAAY,GAAG;IAClB,QAAQ,EAAE,SAAS,CAAC;IACpB,MAAM,EAAE,SAAS,CAAC;IAClB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,WAAW,CAAC,EAAE,gBAAgB,CAAC;CAChC,CAAC;AAEF,YAAY,EAAE,YAAY,EAAE,CAAC"}
@@ -1,5 +1,7 @@
1
1
  import type { HTMLAttributes, TableHTMLAttributes } from "react";
2
- type TableBodyProps = HTMLAttributes<HTMLTableSectionElement>;
2
+ type TableBodyProps = {
3
+ emptyMessage?: string;
4
+ } & HTMLAttributes<HTMLTableSectionElement>;
3
5
  type TableCaptionProps = HTMLAttributes<HTMLElement>;
4
6
  type TableContainerProps = TableHTMLAttributes<HTMLTableElement>;
5
7
  type TableFooterProps = HTMLAttributes<HTMLTableSectionElement>;
@@ -1 +1 @@
1
- {"version":3,"file":"TableProps.d.ts","sourceRoot":"","sources":["../../src/components/TableProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAEjE,KAAK,cAAc,GAAG,cAAc,CAAC,uBAAuB,CAAC,CAAC;AAC9D,KAAK,iBAAiB,GAAG,cAAc,CAAC,WAAW,CAAC,CAAC;AACrD,KAAK,mBAAmB,GAAG,mBAAmB,CAAC,gBAAgB,CAAC,CAAC;AACjE,KAAK,gBAAgB,GAAG,cAAc,CAAC,uBAAuB,CAAC,CAAC;AAChE,KAAK,gBAAgB,GAAG,cAAc,CAAC,uBAAuB,CAAC,CAAC;AAEhE,YAAY,EACV,cAAc,EACd,iBAAiB,EACjB,mBAAmB,EACnB,gBAAgB,EAChB,gBAAgB,GACjB,CAAC"}
1
+ {"version":3,"file":"TableProps.d.ts","sourceRoot":"","sources":["../../src/components/TableProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAEjE,KAAK,cAAc,GAAG;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,GAAG,cAAc,CAAC,uBAAuB,CAAC,CAAC;AAC5C,KAAK,iBAAiB,GAAG,cAAc,CAAC,WAAW,CAAC,CAAC;AACrD,KAAK,mBAAmB,GAAG,mBAAmB,CAAC,gBAAgB,CAAC,CAAC;AACjE,KAAK,gBAAgB,GAAG,cAAc,CAAC,uBAAuB,CAAC,CAAC;AAChE,KAAK,gBAAgB,GAAG,cAAc,CAAC,uBAAuB,CAAC,CAAC;AAEhE,YAAY,EACV,cAAc,EACd,iBAAiB,EACjB,mBAAmB,EACnB,gBAAgB,EAChB,gBAAgB,GACjB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arkyn/types",
3
- "version": "1.3.78",
3
+ "version": "1.3.80",
4
4
  "main": "./dist/bundle.js",
5
5
  "module": "./src/index.ts",
6
6
  "type": "module",
@@ -1,10 +1,10 @@
1
1
  import type { ReactNode } from "react";
2
2
 
3
3
  type OrientationProps =
4
- | "bottom-left"
5
- | "bottom-right"
6
- | "top-left"
7
- | "top-right"
4
+ | "bottomLeft"
5
+ | "bottomRight"
6
+ | "topLeft"
7
+ | "topRight"
8
8
  | "top"
9
9
  | "left"
10
10
  | "bottom"
@@ -1,6 +1,8 @@
1
1
  import type { HTMLAttributes, TableHTMLAttributes } from "react";
2
2
 
3
- type TableBodyProps = HTMLAttributes<HTMLTableSectionElement>;
3
+ type TableBodyProps = {
4
+ emptyMessage?: string;
5
+ } & HTMLAttributes<HTMLTableSectionElement>;
4
6
  type TableCaptionProps = HTMLAttributes<HTMLElement>;
5
7
  type TableContainerProps = TableHTMLAttributes<HTMLTableElement>;
6
8
  type TableFooterProps = HTMLAttributes<HTMLTableSectionElement>;