@limonify/zest-ui 0.2.0 → 0.3.0

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,4 +1,5 @@
1
1
  export * as Checkbox from './index.parts';
2
+ export { useCheckboxRootContext } from './root/CheckboxRootContext';
2
3
  export type * from './root/CheckboxRoot';
3
4
  export type * from './indicator/CheckboxIndicator';
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/checkbox/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,eAAe,CAAC;AAE1C,mBAAmB,qBAAqB,CAAC;AACzC,mBAAmB,+BAA+B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/checkbox/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE,mBAAmB,qBAAqB,CAAC;AACzC,mBAAmB,+BAA+B,CAAC"}
@@ -33,6 +33,8 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  };
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.Checkbox = void 0;
36
+ exports.useCheckboxRootContext = exports.Checkbox = void 0;
37
37
  exports.Checkbox = __importStar(require("./index.parts"));
38
+ var CheckboxRootContext_1 = require("./root/CheckboxRootContext");
39
+ Object.defineProperty(exports, "useCheckboxRootContext", { enumerable: true, get: function () { return CheckboxRootContext_1.useCheckboxRootContext; } });
38
40
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/checkbox/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0DAA0C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/checkbox/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0DAA0C;AAE1C,kEAAoE;AAA3D,6HAAA,sBAAsB,OAAA"}
@@ -1,6 +1,7 @@
1
1
  export * as Dialog from './index.parts';
2
2
  export type * from './root/DialogRoot';
3
3
  export { createDialogHandle, DialogHandle } from './store/DialogHandle';
4
+ export { useDialogRootContext } from './root/DialogRootContext';
4
5
  export type * from './trigger/DialogTrigger';
5
6
  export type * from './portal/DialogPortal';
6
7
  export type * from './backdrop/DialogBackdrop';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/dialog/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,mBAAmB,mBAAmB,CAAC;AACvC,OAAO,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACxE,mBAAmB,yBAAyB,CAAC;AAC7C,mBAAmB,uBAAuB,CAAC;AAC3C,mBAAmB,2BAA2B,CAAC;AAC/C,mBAAmB,2BAA2B,CAAC;AAC/C,mBAAmB,qBAAqB,CAAC;AACzC,mBAAmB,qBAAqB,CAAC;AACzC,mBAAmB,iCAAiC,CAAC;AACrD,mBAAmB,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/dialog/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,mBAAmB,mBAAmB,CAAC;AACvC,OAAO,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACxE,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAChE,mBAAmB,yBAAyB,CAAC;AAC7C,mBAAmB,uBAAuB,CAAC;AAC3C,mBAAmB,2BAA2B,CAAC;AAC/C,mBAAmB,2BAA2B,CAAC;AAC/C,mBAAmB,qBAAqB,CAAC;AACzC,mBAAmB,qBAAqB,CAAC;AACzC,mBAAmB,iCAAiC,CAAC;AACrD,mBAAmB,qBAAqB,CAAC"}
@@ -33,9 +33,11 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  };
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.DialogHandle = exports.createDialogHandle = exports.Dialog = void 0;
36
+ exports.useDialogRootContext = exports.DialogHandle = exports.createDialogHandle = exports.Dialog = void 0;
37
37
  exports.Dialog = __importStar(require("./index.parts"));
38
38
  var DialogHandle_1 = require("./store/DialogHandle");
39
39
  Object.defineProperty(exports, "createDialogHandle", { enumerable: true, get: function () { return DialogHandle_1.createDialogHandle; } });
40
40
  Object.defineProperty(exports, "DialogHandle", { enumerable: true, get: function () { return DialogHandle_1.DialogHandle; } });
41
+ var DialogRootContext_1 = require("./root/DialogRootContext");
42
+ Object.defineProperty(exports, "useDialogRootContext", { enumerable: true, get: function () { return DialogRootContext_1.useDialogRootContext; } });
41
43
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/dialog/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wDAAwC;AAGxC,qDAAwE;AAA/D,kHAAA,kBAAkB,OAAA;AAAE,4GAAA,YAAY,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/dialog/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wDAAwC;AAGxC,qDAAwE;AAA/D,kHAAA,kBAAkB,OAAA;AAAE,4GAAA,YAAY,OAAA;AACzC,8DAAgE;AAAvD,yHAAA,oBAAoB,OAAA"}
@@ -1,4 +1,5 @@
1
1
  export * as Radio from './index.parts';
2
+ export { useRadioRootContext } from './root/RadioRootContext';
2
3
  export type * from './root/RadioRoot';
3
4
  export type * from './indicator/RadioIndicator';
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/radio/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,eAAe,CAAC;AAEvC,mBAAmB,kBAAkB,CAAC;AACtC,mBAAmB,4BAA4B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/radio/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,eAAe,CAAC;AAEvC,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,mBAAmB,kBAAkB,CAAC;AACtC,mBAAmB,4BAA4B,CAAC"}
@@ -33,6 +33,8 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  };
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.Radio = void 0;
36
+ exports.useRadioRootContext = exports.Radio = void 0;
37
37
  exports.Radio = __importStar(require("./index.parts"));
38
+ var RadioRootContext_1 = require("./root/RadioRootContext");
39
+ Object.defineProperty(exports, "useRadioRootContext", { enumerable: true, get: function () { return RadioRootContext_1.useRadioRootContext; } });
38
40
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/radio/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uDAAuC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/radio/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uDAAuC;AAEvC,4DAA8D;AAArD,uHAAA,mBAAmB,OAAA"}
@@ -1,4 +1,5 @@
1
1
  export * as Switch from './index.parts';
2
+ export { useSwitchRootContext } from './root/SwitchRootContext';
2
3
  export type * from './root/SwitchRoot';
3
4
  export type * from './thumb/SwitchThumb';
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/switch/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,mBAAmB,mBAAmB,CAAC;AACvC,mBAAmB,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/switch/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAChE,mBAAmB,mBAAmB,CAAC;AACvC,mBAAmB,qBAAqB,CAAC"}
@@ -33,6 +33,8 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  };
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.Switch = void 0;
36
+ exports.useSwitchRootContext = exports.Switch = void 0;
37
37
  exports.Switch = __importStar(require("./index.parts"));
38
+ var SwitchRootContext_1 = require("./root/SwitchRootContext");
39
+ Object.defineProperty(exports, "useSwitchRootContext", { enumerable: true, get: function () { return SwitchRootContext_1.useSwitchRootContext; } });
38
40
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/switch/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wDAAwC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/switch/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wDAAwC;AAExC,8DAAgE;AAAvD,yHAAA,oBAAoB,OAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@limonify/zest-ui",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "Base UI for React Native — headless, unstyled, accessible primitive components.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -1,4 +1,5 @@
1
1
  export * as Checkbox from './index.parts';
2
2
 
3
+ export { useCheckboxRootContext } from './root/CheckboxRootContext';
3
4
  export type * from './root/CheckboxRoot';
4
5
  export type * from './indicator/CheckboxIndicator';
@@ -2,6 +2,7 @@ export * as Dialog from './index.parts';
2
2
 
3
3
  export type * from './root/DialogRoot';
4
4
  export { createDialogHandle, DialogHandle } from './store/DialogHandle';
5
+ export { useDialogRootContext } from './root/DialogRootContext';
5
6
  export type * from './trigger/DialogTrigger';
6
7
  export type * from './portal/DialogPortal';
7
8
  export type * from './backdrop/DialogBackdrop';
@@ -1,4 +1,5 @@
1
1
  export * as Radio from './index.parts';
2
2
 
3
+ export { useRadioRootContext } from './root/RadioRootContext';
3
4
  export type * from './root/RadioRoot';
4
5
  export type * from './indicator/RadioIndicator';
@@ -1,4 +1,5 @@
1
1
  export * as Switch from './index.parts';
2
2
 
3
+ export { useSwitchRootContext } from './root/SwitchRootContext';
3
4
  export type * from './root/SwitchRoot';
4
5
  export type * from './thumb/SwitchThumb';