@zag-js/types 0.0.0-dev-20230116071808 → 0.0.0-dev-20230201171718

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.
File without changes
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createNormalizer
3
- } from "./chunk-D5R2W3NO.mjs";
3
+ } from "./chunk-7I7H3675.mjs";
4
4
  export {
5
5
  createNormalizer
6
6
  };
@@ -39,11 +39,12 @@ type DataAttr = {
39
39
  } & {
40
40
  [key in `data-${string}`]?: string | number | Booleanish;
41
41
  };
42
- type PropTypes = Record<"button" | "label" | "input" | "output" | "element" | "select", Dict>;
42
+ type PropTypes = Record<"button" | "label" | "input" | "output" | "element" | "select" | "style", Dict>;
43
43
  type NormalizeProps<T extends PropTypes> = {
44
44
  [K in keyof T]: (props: K extends keyof JSX.IntrinsicElements ? DataAttr & JSX.IntrinsicElements[K] : never) => T[K];
45
45
  } & {
46
46
  element(props: DataAttr & JSX.HTMLAttributes<HTMLElement>): T["element"];
47
+ style: JSX.CSSProperties;
47
48
  };
48
49
  declare function createNormalizer<T extends PropTypes>(fn: (props: Dict) => Dict): NormalizeProps<T>;
49
50
 
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createNormalizer
3
- } from "./chunk-D5R2W3NO.mjs";
3
+ } from "./chunk-7I7H3675.mjs";
4
4
  export {
5
5
  createNormalizer
6
6
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zag-js/types",
3
- "version": "0.0.0-dev-20230116071808",
3
+ "version": "0.0.0-dev-20230201171718",
4
4
  "keywords": [
5
5
  "js",
6
6
  "utils",