@ankhorage/zora 24.1.2 → 25.0.1

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.
Files changed (43) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +1 -1
  3. package/dist/features/form/checkbox/checkboxMeta.d.ts +12 -0
  4. package/dist/features/form/checkbox/checkboxMeta.d.ts.map +1 -1
  5. package/dist/features/form/checkbox/checkboxMeta.js +8 -0
  6. package/dist/features/form/checkbox/checkboxMeta.js.map +1 -1
  7. package/dist/features/form/switch/switchMeta.d.ts +12 -0
  8. package/dist/features/form/switch/switchMeta.d.ts.map +1 -1
  9. package/dist/features/form/switch/switchMeta.js +8 -0
  10. package/dist/features/form/switch/switchMeta.js.map +1 -1
  11. package/dist/features/form/text-input/textInputMeta.d.ts +12 -0
  12. package/dist/features/form/text-input/textInputMeta.d.ts.map +1 -1
  13. package/dist/features/form/text-input/textInputMeta.js +8 -0
  14. package/dist/features/form/text-input/textInputMeta.js.map +1 -1
  15. package/dist/features/registry/bindableComponentMeta.d.ts +0 -78
  16. package/dist/features/registry/bindableComponentMeta.d.ts.map +1 -1
  17. package/dist/features/registry/bindableComponentMeta.js +0 -54
  18. package/dist/features/registry/bindableComponentMeta.js.map +1 -1
  19. package/dist/features/scanner/meta.d.ts +0 -16
  20. package/dist/features/scanner/meta.d.ts.map +1 -1
  21. package/dist/features/scanner/meta.js +0 -11
  22. package/dist/features/scanner/meta.js.map +1 -1
  23. package/dist/types/scanner.d.ts +0 -1
  24. package/dist/types/scanner.d.ts.map +1 -1
  25. package/dist/types/scanner.js.map +1 -1
  26. package/package.json +4 -4
  27. package/src/features/form/checkbox/checkboxMeta.ts +8 -0
  28. package/src/features/form/switch/switchMeta.ts +8 -0
  29. package/src/features/form/text-input/textInputMeta.ts +8 -0
  30. package/src/features/registry/bindableComponentMeta.test.ts +9 -0
  31. package/src/features/registry/bindableComponentMeta.ts +0 -54
  32. package/src/features/registry/componentMeta.test.ts +39 -1
  33. package/src/features/scanner/meta.ts +0 -11
  34. package/src/types/scanner.ts +0 -1
  35. package/web-dist/chunks/{Accordion-2gvs3frs.js → Accordion-0md8wbtx.js} +1 -1
  36. package/web-dist/components/explorer/Explorer.js +2 -2
  37. package/web-dist/components/file-explorer/FileExplorer.js +2 -2
  38. package/web-dist/components/grid-view/GridView.js +1 -1
  39. package/web-dist/components/media-explorer/MediaExplorer.js +2 -2
  40. package/web-dist/components/tile-grid/TileGrid.js +1 -1
  41. package/web-dist/components/uploader/Uploader.js +2 -2
  42. package/web-dist/manifest.json +10 -10
  43. /package/web-dist/chunks/{Accordion-8m8p9wpw.js → Accordion-b20zfsfz.js} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 25.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - e7f2725: Update dependencies: `@ankhorage/grid-view`, `@ankhorage/runtime`.
8
+
9
+ ## 25.0.0
10
+
11
+ ### Major Changes
12
+
13
+ - e87cd75: Remove the unimplemented `BarcodeScannerView.onBarcodeScanned` callback and reconcile emitted-event metadata with direct component ownership.
14
+
3
15
  ## 24.1.2
4
16
 
5
17
  ### Patch Changes
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  # @ankhorage/zora
5
5
 
6
- ![license: MIT](././paradox/badges/license.svg) ![npm: v24.1.2](././paradox/badges/npm.svg) ![runtime: bun](././paradox/badges/runtime.svg) ![typescript: strict](././paradox/badges/typescript.svg) ![eslint: checked](././paradox/badges/eslint.svg) ![prettier: checked](././paradox/badges/prettier.svg) ![build: checked](././paradox/badges/build.svg) ![tests: checked](././paradox/badges/tests.svg) ![paradox: warnings](././paradox/badges/docs.svg)
6
+ ![license: MIT](././paradox/badges/license.svg) ![npm: v25.0.1](././paradox/badges/npm.svg) ![runtime: bun](././paradox/badges/runtime.svg) ![typescript: strict](././paradox/badges/typescript.svg) ![eslint: checked](././paradox/badges/eslint.svg) ![prettier: checked](././paradox/badges/prettier.svg) ![build: checked](././paradox/badges/build.svg) ![tests: checked](././paradox/badges/tests.svg) ![paradox: warnings](././paradox/badges/docs.svg)
7
7
 
8
8
  Opinionated React Native and React Native Web UI kit built on @ankhorage/surface.
9
9
 
@@ -10,6 +10,18 @@ export declare const checkboxMeta: {
10
10
  readonly checked: false;
11
11
  };
12
12
  };
13
+ readonly events: {
14
+ readonly checkedChange: {
15
+ readonly label: "Checked change";
16
+ readonly eventType: "checkbox.checkedChange";
17
+ readonly description: "Emitted when the checked state changes.";
18
+ readonly payloadFields: readonly [{
19
+ readonly path: "checked";
20
+ readonly type: "boolean";
21
+ readonly label: "Checked";
22
+ }];
23
+ };
24
+ };
13
25
  readonly props: {
14
26
  readonly label: {
15
27
  readonly type: "string";
@@ -1 +1 @@
1
- {"version":3,"file":"checkboxMeta.d.ts","sourceRoot":"","sources":["../../../../src/features/form/checkbox/checkboxMeta.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWa,CAAC;AAEvC,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAcQ,CAAC"}
1
+ {"version":3,"file":"checkboxMeta.d.ts","sourceRoot":"","sources":["../../../../src/features/form/checkbox/checkboxMeta.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmBa,CAAC;AAEvC,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAcQ,CAAC"}
@@ -4,6 +4,14 @@ export const checkboxMeta = {
4
4
  directManifestNode: true,
5
5
  allowedChildren: [],
6
6
  blueprint: { label: 'Checkbox', defaultProps: { label: 'Option', checked: false } },
7
+ events: {
8
+ checkedChange: {
9
+ label: 'Checked change',
10
+ eventType: 'checkbox.checkedChange',
11
+ description: 'Emitted when the checked state changes.',
12
+ payloadFields: [{ path: 'checked', type: 'boolean', label: 'Checked' }],
13
+ },
14
+ },
7
15
  props: {
8
16
  label: { type: 'string', category: 'Content', label: 'Label' },
9
17
  checked: { type: 'boolean', category: 'State', label: 'Checked', default: false },
@@ -1 +1 @@
1
- {"version":3,"file":"checkboxMeta.js","sourceRoot":"","sources":["../../../../src/features/form/checkbox/checkboxMeta.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,IAAI,EAAE,UAAU;IAChB,QAAQ,EAAE,WAAW;IACrB,kBAAkB,EAAE,IAAI;IACxB,eAAe,EAAE,EAAE;IACnB,SAAS,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE;IACnF,KAAK,EAAE;QACL,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE;QAC9D,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE;QACjF,QAAQ,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,KAAK,EAAE;KACpF;CACmC,CAAC;AAEvC,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,IAAI,EAAE,eAAe;IACrB,QAAQ,EAAE,WAAW;IACrB,kBAAkB,EAAE,IAAI;IACxB,eAAe,EAAE,EAAE;IACnB,SAAS,EAAE;QACT,KAAK,EAAE,gBAAgB;QACvB,YAAY,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,cAAc,EAAE,CAAC,EAAE;KACrF;IACD,KAAK,EAAE;QACL,KAAK,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE;QAC3D,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE;QACjE,QAAQ,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,KAAK,EAAE;KACpF;CACmC,CAAC","sourcesContent":["import type { ZoraComponentMeta } from '../../../types/authoring';\n\nexport const checkboxMeta = {\n name: 'Checkbox',\n category: 'component',\n directManifestNode: true,\n allowedChildren: [],\n blueprint: { label: 'Checkbox', defaultProps: { label: 'Option', checked: false } },\n props: {\n label: { type: 'string', category: 'Content', label: 'Label' },\n checked: { type: 'boolean', category: 'State', label: 'Checked', default: false },\n disabled: { type: 'boolean', category: 'State', label: 'Disabled', default: false },\n },\n} as const satisfies ZoraComponentMeta;\n\nexport const checkboxGroupMeta = {\n name: 'CheckboxGroup',\n category: 'component',\n directManifestNode: true,\n allowedChildren: [],\n blueprint: {\n label: 'Checkbox group',\n defaultProps: { value: [], options: [{ value: 'option-a', label: 'First option' }] },\n },\n props: {\n value: { type: 'array', category: 'State', label: 'Value' },\n options: { type: 'array', category: 'Content', label: 'Options' },\n disabled: { type: 'boolean', category: 'State', label: 'Disabled', default: false },\n },\n} as const satisfies ZoraComponentMeta;\n"]}
1
+ {"version":3,"file":"checkboxMeta.js","sourceRoot":"","sources":["../../../../src/features/form/checkbox/checkboxMeta.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,IAAI,EAAE,UAAU;IAChB,QAAQ,EAAE,WAAW;IACrB,kBAAkB,EAAE,IAAI;IACxB,eAAe,EAAE,EAAE;IACnB,SAAS,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,QAAQ,EA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,EAAE,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,KAAK,EAAE;KACpF;CACmC,CAAC","sourcesContent":["import type { ZoraComponentMeta } from '../../../types/authoring';\n\nexport const checkboxMeta = {\n name: 'Checkbox',\n category: 'component',\n directManifestNode: true,\n allowedChildren: [],\n blueprint: { label: 'Checkbox', defaultProps: { label: 'Option', checked: false } },\n events: {\n checkedChange: {\n label: 'Checked change',\n eventType: 'checkbox.checkedChange',\n description: 'Emitted when the checked state changes.',\n payloadFields: [{ path: 'checked', type: 'boolean', label: 'Checked' }],\n },\n },\n props: {\n label: { type: 'string', category: 'Content', label: 'Label' },\n checked: { type: 'boolean', category: 'State', label: 'Checked', default: false },\n disabled: { type: 'boolean', category: 'State', label: 'Disabled', default: false },\n },\n} as const satisfies ZoraComponentMeta;\n\nexport const checkboxGroupMeta = {\n name: 'CheckboxGroup',\n category: 'component',\n directManifestNode: true,\n allowedChildren: [],\n blueprint: {\n label: 'Checkbox group',\n defaultProps: { value: [], options: [{ value: 'option-a', label: 'First option' }] },\n },\n props: {\n value: { type: 'array', category: 'State', label: 'Value' },\n options: { type: 'array', category: 'Content', label: 'Options' },\n disabled: { type: 'boolean', category: 'State', label: 'Disabled', default: false },\n },\n} as const satisfies ZoraComponentMeta;\n"]}
@@ -10,6 +10,18 @@ export declare const switchMeta: {
10
10
  readonly checked: false;
11
11
  };
12
12
  };
13
+ readonly events: {
14
+ readonly checkedChange: {
15
+ readonly label: "Checked change";
16
+ readonly eventType: "switch.checkedChange";
17
+ readonly description: "Emitted when the checked state changes.";
18
+ readonly payloadFields: readonly [{
19
+ readonly path: "checked";
20
+ readonly type: "boolean";
21
+ readonly label: "Checked";
22
+ }];
23
+ };
24
+ };
13
25
  readonly props: {
14
26
  readonly children: {
15
27
  readonly type: "string";
@@ -1 +1 @@
1
- {"version":3,"file":"switchMeta.d.ts","sourceRoot":"","sources":["../../../../src/features/form/switch/switchMeta.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWe,CAAC"}
1
+ {"version":3,"file":"switchMeta.d.ts","sourceRoot":"","sources":["../../../../src/features/form/switch/switchMeta.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmBe,CAAC"}
@@ -4,6 +4,14 @@ export const switchMeta = {
4
4
  directManifestNode: true,
5
5
  allowedChildren: [],
6
6
  blueprint: { label: 'Switch', defaultProps: { children: 'Option', checked: false } },
7
+ events: {
8
+ checkedChange: {
9
+ label: 'Checked change',
10
+ eventType: 'switch.checkedChange',
11
+ description: 'Emitted when the checked state changes.',
12
+ payloadFields: [{ path: 'checked', type: 'boolean', label: 'Checked' }],
13
+ },
14
+ },
7
15
  props: {
8
16
  children: { type: 'string', category: 'Content', label: 'Label' },
9
17
  checked: { type: 'boolean', category: 'State', label: 'Checked', default: false },
@@ -1 +1 @@
1
- {"version":3,"file":"switchMeta.js","sourceRoot":"","sources":["../../../../src/features/form/switch/switchMeta.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,IAAI,EAAE,QAAQ;IACd,QAAQ,EAAE,WAAW;IACrB,kBAAkB,EAAE,IAAI;IACxB,eAAe,EAAE,EAAE;IACnB,SAAS,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE;IACpF,KAAK,EAAE;QACL,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE;QACjE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE;QACjF,QAAQ,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,KAAK,EAAE;KACpF;CACmC,CAAC","sourcesContent":["import type { ZoraComponentMeta } from '../../../types/authoring';\n\nexport const switchMeta = {\n name: 'Switch',\n category: 'component',\n directManifestNode: true,\n allowedChildren: [],\n blueprint: { label: 'Switch', defaultProps: { children: 'Option', checked: false } },\n props: {\n children: { type: 'string', category: 'Content', label: 'Label' },\n checked: { type: 'boolean', category: 'State', label: 'Checked', default: false },\n disabled: { type: 'boolean', category: 'State', label: 'Disabled', default: false },\n },\n} as const satisfies ZoraComponentMeta;\n"]}
1
+ {"version":3,"file":"switchMeta.js","sourceRoot":"","sources":["../../../../src/features/form/switch/switchMeta.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,IAAI,EAAE,QAAQ;IACd,QAAQ,EAAE,WAAW;IACrB,kBAAkB,EAAE,IAAI;IACxB,eAAe,EAAE,EAAE;IACnB,SAAS,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE;IACpF,MAAM,EAAE;QACN,aAAa,EAAE;YACb,KAAK,EAAE,gBAAgB;YACvB,SAAS,EAAE,sBAAsB;YACjC,WAAW,EAAE,yCAAyC;YACtD,aAAa,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC;SACxE;KACF;IACD,KAAK,EAAE;QACL,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE;QACjE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE;QACjF,QAAQ,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,KAAK,EAAE;KACpF;CACmC,CAAC","sourcesContent":["import type { ZoraComponentMeta } from '../../../types/authoring';\n\nexport const switchMeta = {\n name: 'Switch',\n category: 'component',\n directManifestNode: true,\n allowedChildren: [],\n blueprint: { label: 'Switch', defaultProps: { children: 'Option', checked: false } },\n events: {\n checkedChange: {\n label: 'Checked change',\n eventType: 'switch.checkedChange',\n description: 'Emitted when the checked state changes.',\n payloadFields: [{ path: 'checked', type: 'boolean', label: 'Checked' }],\n },\n },\n props: {\n children: { type: 'string', category: 'Content', label: 'Label' },\n checked: { type: 'boolean', category: 'State', label: 'Checked', default: false },\n disabled: { type: 'boolean', category: 'State', label: 'Disabled', default: false },\n },\n} as const satisfies ZoraComponentMeta;\n"]}
@@ -10,6 +10,18 @@ export declare const textInputMeta: {
10
10
  readonly value: "";
11
11
  };
12
12
  };
13
+ readonly events: {
14
+ readonly changeText: {
15
+ readonly label: "Change text";
16
+ readonly eventType: "textInput.changeText";
17
+ readonly description: "Emitted when the input value changes.";
18
+ readonly payloadFields: readonly [{
19
+ readonly path: "value";
20
+ readonly type: "string";
21
+ readonly label: "Value";
22
+ }];
23
+ };
24
+ };
13
25
  readonly props: {
14
26
  readonly placeholder: {
15
27
  readonly type: "string";
@@ -1 +1 @@
1
- {"version":3,"file":"textInputMeta.d.ts","sourceRoot":"","sources":["../../../../src/features/form/text-input/textInputMeta.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuDY,CAAC"}
1
+ {"version":3,"file":"textInputMeta.d.ts","sourceRoot":"","sources":["../../../../src/features/form/text-input/textInputMeta.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+DY,CAAC"}
@@ -10,6 +10,14 @@ export const textInputMeta = {
10
10
  value: '',
11
11
  },
12
12
  },
13
+ events: {
14
+ changeText: {
15
+ label: 'Change text',
16
+ eventType: 'textInput.changeText',
17
+ description: 'Emitted when the input value changes.',
18
+ payloadFields: [{ path: 'value', type: 'string', label: 'Value' }],
19
+ },
20
+ },
13
21
  props: {
14
22
  placeholder: {
15
23
  type: 'string',
@@ -1 +1 @@
1
- {"version":3,"file":"textInputMeta.js","sourceRoot":"","sources":["../../../../src/features/form/text-input/textInputMeta.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,IAAI,EAAE,WAAW;IACjB,QAAQ,EAAE,WAAW;IACrB,kBAAkB,EAAE,IAAI;IACxB,eAAe,EAAE,EAAE;IACnB,SAAS,EAAE;QACT,KAAK,EAAE,YAAY;QACnB,YAAY,EAAE;YACZ,WAAW,EAAE,aAAa;YAC1B,KAAK,EAAE,EAAE;SACV;KACF;IACD,KAAK,EAAE;QACL,WAAW,EAAE;YACX,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,SAAS;YACnB,KAAK,EAAE,aAAa;SACrB;QACD,KAAK,EAAE;YACL,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,SAAS;YACnB,KAAK,EAAE,OAAO;YACd,OAAO,EAAE,EAAE;SACZ;QACD,IAAI,EAAE;YACJ,IAAI,EAAE,MAAM;YACZ,QAAQ,EAAE,OAAO;YACjB,KAAK,EAAE,MAAM;YACb,IAAI,EAAE,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC;SACtB;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,SAAS;YACf,QAAQ,EAAE,OAAO;YACjB,KAAK,EAAE,UAAU;YACjB,OAAO,EAAE,KAAK;SACf;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,SAAS;YACf,QAAQ,EAAE,OAAO;YACjB,KAAK,EAAE,WAAW;YAClB,OAAO,EAAE,KAAK;SACf;QACD,SAAS,EAAE;YACT,IAAI,EAAE,SAAS;YACf,QAAQ,EAAE,QAAQ;YAClB,KAAK,EAAE,WAAW;YAClB,OAAO,EAAE,KAAK;SACf;QACD,eAAe,EAAE;YACf,IAAI,EAAE,SAAS;YACf,QAAQ,EAAE,OAAO;YACjB,KAAK,EAAE,mBAAmB;YAC1B,OAAO,EAAE,KAAK;SACf;KACF;CACmC,CAAC","sourcesContent":["import type { ZoraComponentMeta } from '../../../types/authoring';\n\nexport const textInputMeta = {\n name: 'TextInput',\n category: 'component',\n directManifestNode: true,\n allowedChildren: [],\n blueprint: {\n label: 'Text input',\n defaultProps: {\n placeholder: 'Enter text…',\n value: '',\n },\n },\n props: {\n placeholder: {\n type: 'string',\n category: 'Content',\n label: 'Placeholder',\n },\n value: {\n type: 'string',\n category: 'Content',\n label: 'Value',\n default: '',\n },\n size: {\n type: 'enum',\n category: 'Style',\n label: 'Size',\n enum: ['s', 'm', 'l'],\n },\n disabled: {\n type: 'boolean',\n category: 'State',\n label: 'Disabled',\n default: false,\n },\n readOnly: {\n type: 'boolean',\n category: 'State',\n label: 'Read-only',\n default: false,\n },\n multiline: {\n type: 'boolean',\n category: 'Layout',\n label: 'Multiline',\n default: false,\n },\n secureTextEntry: {\n type: 'boolean',\n category: 'State',\n label: 'Secure text entry',\n default: false,\n },\n },\n} as const satisfies ZoraComponentMeta;\n"]}
1
+ {"version":3,"file":"textInputMeta.js","sourceRoot":"","sources":["../../../../src/features/form/text-input/textInputMeta.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,IAAI,EAAE,WAAW;IACjB,QAAQ,EAAE,WAAW;IACrB,kBAAkB,EAAE,IAAI;IACxB,eAAe,EAAE,EAAE;IACnB,SAAS,EAAE;QACT,KAAK,EAAE,YAAY;QACnB,YAAY,EAAE;YACZ,WAAW,EAAE,aAAa;YAC1B,KAAK,EAAE,EAAE;SACV;KACF;IACD,MAAM,EAAE;QACN,UAAU,EAAE;YACV,KAAK,EAAE,aAAa;YACpB,SAAS,EAAE,sBAAsB;YACjC,WAAW,EAAE,uCAAuC;YACpD,aAAa,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC;SACnE;KACF;IACD,KAAK,EAAE;QACL,WAAW,EAAE;YACX,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,SAAS;YACnB,KAAK,EAAE,aAAa;SACrB;QACD,KAAK,EAAE;YACL,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,SAAS;YACnB,KAAK,EAAE,OAAO;YACd,OAAO,EAAE,EAAE;SACZ;QACD,IAAI,EAAE;YACJ,IAAI,EAAE,MAAM;YACZ,QAAQ,EAAE,OAAO;YACjB,KAAK,EAAE,MAAM;YACb,IAAI,EAAE,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC;SACtB;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,SAAS;YACf,QAAQ,EAAE,OAAO;YACjB,KAAK,EAAE,UAAU;YACjB,OAAO,EAAE,KAAK;SACf;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,SAAS;YACf,QAAQ,EAAE,OAAO;YACjB,KAAK,EAAE,WAAW;YAClB,OAAO,EAAE,KAAK;SACf;QACD,SAAS,EAAE;YACT,IAAI,EAAE,SAAS;YACf,QAAQ,EAAE,QAAQ;YAClB,KAAK,EAAE,WAAW;YAClB,OAAO,EAAE,KAAK;SACf;QACD,eAAe,EAAE;YACf,IAAI,EAAE,SAAS;YACf,QAAQ,EAAE,OAAO;YACjB,KAAK,EAAE,mBAAmB;YAC1B,OAAO,EAAE,KAAK;SACf;KACF;CACmC,CAAC","sourcesContent":["import type { ZoraComponentMeta } from '../../../types/authoring';\n\nexport const textInputMeta = {\n name: 'TextInput',\n category: 'component',\n directManifestNode: true,\n allowedChildren: [],\n blueprint: {\n label: 'Text input',\n defaultProps: {\n placeholder: 'Enter text…',\n value: '',\n },\n },\n events: {\n changeText: {\n label: 'Change text',\n eventType: 'textInput.changeText',\n description: 'Emitted when the input value changes.',\n payloadFields: [{ path: 'value', type: 'string', label: 'Value' }],\n },\n },\n props: {\n placeholder: {\n type: 'string',\n category: 'Content',\n label: 'Placeholder',\n },\n value: {\n type: 'string',\n category: 'Content',\n label: 'Value',\n default: '',\n },\n size: {\n type: 'enum',\n category: 'Style',\n label: 'Size',\n enum: ['s', 'm', 'l'],\n },\n disabled: {\n type: 'boolean',\n category: 'State',\n label: 'Disabled',\n default: false,\n },\n readOnly: {\n type: 'boolean',\n category: 'State',\n label: 'Read-only',\n default: false,\n },\n multiline: {\n type: 'boolean',\n category: 'Layout',\n label: 'Multiline',\n default: false,\n },\n secureTextEntry: {\n type: 'boolean',\n category: 'State',\n label: 'Secure text entry',\n default: false,\n },\n },\n} as const satisfies ZoraComponentMeta;\n"]}
@@ -256,32 +256,6 @@ export declare const ZORA_BINDABLE_COMPONENT_META: {
256
256
  readonly acceptsTransforms: true;
257
257
  };
258
258
  };
259
- readonly events: {
260
- readonly changeText: {
261
- readonly label: "Change text";
262
- readonly description: "Runs when the input value changes.";
263
- readonly payload: {
264
- readonly eventType: "textInput.changeText";
265
- readonly fields: readonly [{
266
- readonly path: "value";
267
- readonly type: "string";
268
- readonly label: "Value";
269
- }];
270
- };
271
- };
272
- };
273
- };
274
- readonly events: {
275
- readonly changeText: {
276
- readonly label: "Change text";
277
- readonly eventType: "textInput.changeText";
278
- readonly description: "Emitted when the input value changes.";
279
- readonly payloadFields: readonly [{
280
- readonly path: "value";
281
- readonly type: "string";
282
- readonly label: "Value";
283
- }];
284
- };
285
259
  };
286
260
  readonly props: {
287
261
  readonly inverted: {
@@ -406,32 +380,6 @@ export declare const ZORA_BINDABLE_COMPONENT_META: {
406
380
  readonly acceptsTransforms: true;
407
381
  };
408
382
  };
409
- readonly events: {
410
- readonly checkedChange: {
411
- readonly label: "Checked change";
412
- readonly description: "Runs when checked state changes.";
413
- readonly payload: {
414
- readonly eventType: "checkbox.checkedChange";
415
- readonly fields: readonly [{
416
- readonly path: "checked";
417
- readonly type: "boolean";
418
- readonly label: "Checked";
419
- }];
420
- };
421
- };
422
- };
423
- };
424
- readonly events: {
425
- readonly checkedChange: {
426
- readonly label: "Checked change";
427
- readonly eventType: "checkbox.checkedChange";
428
- readonly description: "Emitted when the checked state changes.";
429
- readonly payloadFields: readonly [{
430
- readonly path: "checked";
431
- readonly type: "boolean";
432
- readonly label: "Checked";
433
- }];
434
- };
435
383
  };
436
384
  readonly props: {
437
385
  readonly inverted: {
@@ -481,32 +429,6 @@ export declare const ZORA_BINDABLE_COMPONENT_META: {
481
429
  readonly acceptsTransforms: true;
482
430
  };
483
431
  };
484
- readonly events: {
485
- readonly checkedChange: {
486
- readonly label: "Checked change";
487
- readonly description: "Runs when checked state changes.";
488
- readonly payload: {
489
- readonly eventType: "switch.checkedChange";
490
- readonly fields: readonly [{
491
- readonly path: "checked";
492
- readonly type: "boolean";
493
- readonly label: "Checked";
494
- }];
495
- };
496
- };
497
- };
498
- };
499
- readonly events: {
500
- readonly checkedChange: {
501
- readonly label: "Checked change";
502
- readonly eventType: "switch.checkedChange";
503
- readonly description: "Emitted when the checked state changes.";
504
- readonly payloadFields: readonly [{
505
- readonly path: "checked";
506
- readonly type: "boolean";
507
- readonly label: "Checked";
508
- }];
509
- };
510
432
  };
511
433
  readonly props: {
512
434
  readonly inverted: {
@@ -1 +1 @@
1
- {"version":3,"file":"bindableComponentMeta.d.ts","sourceRoot":"","sources":["../../../src/features/registry/bindableComponentMeta.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAscG,CAAC;AAE7C,MAAM,MAAM,yBAAyB,GAAG,MAAM,OAAO,4BAA4B,CAAC"}
@@ -156,24 +156,6 @@ export const ZORA_BINDABLE_COMPONENT_META = {
156
156
  acceptsTransforms: true,
157
157
  },
158
158
  },
159
- events: {
160
- changeText: {
161
- label: 'Change text',
162
- description: 'Runs when the input value changes.',
163
- payload: {
164
- eventType: 'textInput.changeText',
165
- fields: [{ path: 'value', type: 'string', label: 'Value' }],
166
- },
167
- },
168
- },
169
- },
170
- events: {
171
- changeText: {
172
- label: 'Change text',
173
- eventType: 'textInput.changeText',
174
- description: 'Emitted when the input value changes.',
175
- payloadFields: [{ path: 'value', type: 'string', label: 'Value' }],
176
- },
177
159
  },
178
160
  props: {
179
161
  inverted: INVERTED_POLARITY_PROP,
@@ -268,24 +250,6 @@ export const ZORA_BINDABLE_COMPONENT_META = {
268
250
  acceptsTransforms: true,
269
251
  },
270
252
  },
271
- events: {
272
- checkedChange: {
273
- label: 'Checked change',
274
- description: 'Runs when checked state changes.',
275
- payload: {
276
- eventType: 'checkbox.checkedChange',
277
- fields: [{ path: 'checked', type: 'boolean', label: 'Checked' }],
278
- },
279
- },
280
- },
281
- },
282
- events: {
283
- checkedChange: {
284
- label: 'Checked change',
285
- eventType: 'checkbox.checkedChange',
286
- description: 'Emitted when the checked state changes.',
287
- payloadFields: [{ path: 'checked', type: 'boolean', label: 'Checked' }],
288
- },
289
253
  },
290
254
  props: {
291
255
  inverted: INVERTED_POLARITY_PROP,
@@ -324,24 +288,6 @@ export const ZORA_BINDABLE_COMPONENT_META = {
324
288
  acceptsTransforms: true,
325
289
  },
326
290
  },
327
- events: {
328
- checkedChange: {
329
- label: 'Checked change',
330
- description: 'Runs when checked state changes.',
331
- payload: {
332
- eventType: 'switch.checkedChange',
333
- fields: [{ path: 'checked', type: 'boolean', label: 'Checked' }],
334
- },
335
- },
336
- },
337
- },
338
- events: {
339
- checkedChange: {
340
- label: 'Checked change',
341
- eventType: 'switch.checkedChange',
342
- description: 'Emitted when the checked state changes.',
343
- payloadFields: [{ path: 'checked', type: 'boolean', label: 'Checked' }],
344
- },
345
291
  },
346
292
  props: {
347
293
  inverted: INVERTED_POLARITY_PROP,
@@ -1 +1 @@
1
- {"version":3,"file":"bindableComponentMeta.js","sourceRoot":"","sources":["../../../src/features/registry/bindableComponentMeta.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE5C,MAAM,CAAC,MAAM,4BAA4B,GAAG;IAC1C,IAAI,EAAE;QACJ,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,WAAW;QACrB,WAAW,EAAE,mCAAmC;QAChD,kBAAkB,EAAE,IAAI;QACxB,eAAe,EAAE,EAAE;QACnB,QAAQ,EAAE;YACR,KAAK,EAAE;gBACL,IAAI,EAAE;oBACJ,KAAK,EAAE,MAAM;oBACb,WAAW,EAAE,yCAAyC;oBACtD,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBACzB,eAAe,EAAE,IAAI;oBACrB,iBAAiB,EAAE,IAAI;iBACxB;aACF;SACF;QACD,KAAK,EAAE;YACL,QAAQ,EAAE,sBAAsB;YAChC,IAAI,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,SAAS;gBACnB,KAAK,EAAE,MAAM;aACd;SACF;KACF;IACD,OAAO,EAAE;QACP,IAAI,EAAE,SAAS;QACf,QAAQ,EAAE,WAAW;QACrB,WAAW,EAAE,iCAAiC;QAC9C,kBAAkB,EAAE,IAAI;QACxB,eAAe,EAAE,EAAE;QACnB,QAAQ,EAAE;YACR,KAAK,EAAE;gBACL,IAAI,EAAE;oBACJ,KAAK,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,EAAE;iBAC7D;gBACD,gBAAgB,EAAE;oBAChB,KAAK,EAAE,oBAAoB;oBAC3B,OAAO,EAAE;wBACP,SAAS,EAAE,yBAAyB;wBACpC,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC;qBACxD;iBACF;gBACD,WAAW,EAAE;oBACX,KAAK,EAAE,cAAc;oBACrB,OAAO,EAAE;wBACP,SAAS,EAAE,cAAc;wBACzB,MAAM,EAAE;4BACN,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,YAAY,EAAE;4BACrD,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE;4BACnD,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAE;yBACtD;qBACF;iBACF;aACF;SACF;KACF;CACyC,CAAC","sourcesContent":["import type { UiComponentMetaRegistry } from '@ankhorage/contracts';\n\nimport { INVERTED_POLARITY_PROP } from '../../constants/authoring';\nimport { imageMeta } from '../image/imageMeta';\nimport { readerMeta } from '../reader/meta';\n\nexport const ZORA_BINDABLE_COMPONENT_META = {\n Text: {\n name: 'Text',\n category: 'component',\n description: 'Displays app-facing text content.',\n directManifestNode: true,\n allowedChildren: [],\n bindings: {\n props: {\n text: {\n label: 'Text',\n description: 'Text content rendered by the component.',\n value: { type: 'string' },\n acceptsFallback: true,\n acceptsTransforms: true,\n },\n },\n },\n props: {\n inverted: INVERTED_POLARITY_PROP,\n text: {\n type: 'string',\n category: 'Content',\n label: 'Text',\n },\n },\n },\n Heading: {\n name: 'Heading',\n category: 'component',\n description: 'Displays semantic heading text.',\n directManifestNode: true,\n allowedChildren: [],\n bindings: {\n props: {\n text: {\n label: 'Text',\n description: 'Heading text rendered by the component.',\n value: { type: 'string' },\n acceptsFallback: true,\n acceptsTransforms: true,\n },\n },\n },\n props: {\n inverted: INVERTED_POLARITY_PROP,\n text: {\n type: 'string',\n category: 'Content',\n label: 'Text',\n },\n },\n },\n Button: {\n name: 'Button',\n category: 'component',\n description: 'Runs an action when pressed.',\n directManifestNode: true,\n allowedChildren: [],\n bindings: {\n props: {\n children: {\n label: 'Label',\n description: 'Button label text.',\n value: { type: 'string' },\n acceptsFallback: true,\n acceptsTransforms: true,\n },\n disabled: {\n label: 'Disabled',\n description: 'Whether the button is disabled.',\n value: { type: 'boolean' },\n acceptsFallback: true,\n acceptsTransforms: true,\n },\n },\n events: {\n press: {\n label: 'Press',\n description: 'Runs when the button is pressed.',\n payload: {\n eventType: 'button.press',\n fields: [],\n },\n },\n },\n },\n events: {\n press: {\n label: 'Press',\n eventType: 'button.press',\n description: 'Emitted when the button action runs.',\n payloadFields: [],\n },\n },\n props: {\n inverted: INVERTED_POLARITY_PROP,\n children: {\n type: 'string',\n category: 'Content',\n label: 'Label',\n },\n disabled: {\n type: 'boolean',\n category: 'State',\n label: 'Disabled',\n },\n },\n },\n Image: {\n ...imageMeta,\n props: { ...imageMeta.props, inverted: INVERTED_POLARITY_PROP },\n bindings: {\n props: {\n source: {\n label: 'Source',\n description: 'Dynamic image source or asset descriptor.',\n value: {\n type: 'imageAsset',\n fields: [\n { path: 'uri', type: 'string', label: 'URI' },\n { path: 'width', type: 'number', label: 'Width' },\n { path: 'height', type: 'number', label: 'Height' },\n { path: 'alt', type: 'string', label: 'Alt text' },\n ],\n },\n acceptsFallback: true,\n acceptsTransforms: true,\n },\n },\n },\n },\n TextInput: {\n name: 'TextInput',\n category: 'component',\n description: 'Captures a string value in single-line, multiline, or secure-entry modes.',\n directManifestNode: true,\n allowedChildren: [],\n bindings: {\n props: {\n value: {\n label: 'Value',\n description: 'Current text input value.',\n value: { type: 'string' },\n acceptsFallback: true,\n acceptsTransforms: true,\n },\n disabled: {\n label: 'Disabled',\n description: 'Whether the text input is disabled.',\n value: { type: 'boolean' },\n acceptsFallback: true,\n acceptsTransforms: true,\n },\n },\n events: {\n changeText: {\n label: 'Change text',\n description: 'Runs when the input value changes.',\n payload: {\n eventType: 'textInput.changeText',\n fields: [{ path: 'value', type: 'string', label: 'Value' }],\n },\n },\n },\n },\n events: {\n changeText: {\n label: 'Change text',\n eventType: 'textInput.changeText',\n description: 'Emitted when the input value changes.',\n payloadFields: [{ path: 'value', type: 'string', label: 'Value' }],\n },\n },\n props: {\n inverted: INVERTED_POLARITY_PROP,\n value: {\n type: 'string',\n category: 'Content',\n label: 'Value',\n },\n disabled: {\n type: 'boolean',\n category: 'State',\n label: 'Disabled',\n },\n },\n },\n Select: {\n name: 'Select',\n category: 'component',\n description: 'Captures one selected string value.',\n directManifestNode: true,\n allowedChildren: [],\n bindings: {\n props: {\n value: {\n label: 'Value',\n description: 'Current selected value.',\n value: { type: 'string' },\n acceptsFallback: true,\n acceptsTransforms: true,\n },\n disabled: {\n label: 'Disabled',\n description: 'Whether the select is disabled.',\n value: { type: 'boolean' },\n acceptsFallback: true,\n acceptsTransforms: true,\n },\n },\n events: {\n valueChange: {\n label: 'Value change',\n description: 'Runs when the selected value changes.',\n payload: {\n eventType: 'select.valueChange',\n fields: [{ path: 'value', type: 'string', label: 'Value' }],\n },\n },\n },\n },\n events: {\n valueChange: {\n label: 'Value change',\n eventType: 'select.valueChange',\n description: 'Emitted when the selected value changes.',\n payloadFields: [{ path: 'value', type: 'string', label: 'Value' }],\n },\n },\n props: {\n inverted: INVERTED_POLARITY_PROP,\n value: {\n type: 'string',\n category: 'Content',\n label: 'Value',\n },\n disabled: {\n type: 'boolean',\n category: 'State',\n label: 'Disabled',\n },\n },\n },\n Checkbox: {\n name: 'Checkbox',\n category: 'component',\n description: 'Captures a boolean checked state.',\n directManifestNode: true,\n allowedChildren: [],\n bindings: {\n props: {\n checked: {\n label: 'Checked',\n description: 'Current checked state.',\n value: { type: 'boolean' },\n acceptsFallback: true,\n acceptsTransforms: true,\n },\n disabled: {\n label: 'Disabled',\n description: 'Whether the checkbox is disabled.',\n value: { type: 'boolean' },\n acceptsFallback: true,\n acceptsTransforms: true,\n },\n },\n events: {\n checkedChange: {\n label: 'Checked change',\n description: 'Runs when checked state changes.',\n payload: {\n eventType: 'checkbox.checkedChange',\n fields: [{ path: 'checked', type: 'boolean', label: 'Checked' }],\n },\n },\n },\n },\n events: {\n checkedChange: {\n label: 'Checked change',\n eventType: 'checkbox.checkedChange',\n description: 'Emitted when the checked state changes.',\n payloadFields: [{ path: 'checked', type: 'boolean', label: 'Checked' }],\n },\n },\n props: {\n inverted: INVERTED_POLARITY_PROP,\n checked: {\n type: 'boolean',\n category: 'State',\n label: 'Checked',\n },\n disabled: {\n type: 'boolean',\n category: 'State',\n label: 'Disabled',\n },\n },\n },\n Switch: {\n name: 'Switch',\n category: 'component',\n description: 'Captures a boolean checked state.',\n directManifestNode: true,\n allowedChildren: [],\n bindings: {\n props: {\n checked: {\n label: 'Checked',\n description: 'Current checked state.',\n value: { type: 'boolean' },\n acceptsFallback: true,\n acceptsTransforms: true,\n },\n disabled: {\n label: 'Disabled',\n description: 'Whether the switch is disabled.',\n value: { type: 'boolean' },\n acceptsFallback: true,\n acceptsTransforms: true,\n },\n },\n events: {\n checkedChange: {\n label: 'Checked change',\n description: 'Runs when checked state changes.',\n payload: {\n eventType: 'switch.checkedChange',\n fields: [{ path: 'checked', type: 'boolean', label: 'Checked' }],\n },\n },\n },\n },\n events: {\n checkedChange: {\n label: 'Checked change',\n eventType: 'switch.checkedChange',\n description: 'Emitted when the checked state changes.',\n payloadFields: [{ path: 'checked', type: 'boolean', label: 'Checked' }],\n },\n },\n props: {\n inverted: INVERTED_POLARITY_PROP,\n checked: { type: 'boolean', category: 'State', label: 'Checked' },\n disabled: { type: 'boolean', category: 'State', label: 'Disabled' },\n },\n },\n List: {\n name: 'List',\n category: 'pattern',\n description: 'Renders a collection of list items.',\n directManifestNode: true,\n allowedChildren: ['ListSection', 'ListItem'],\n bindings: {\n props: {\n items: {\n label: 'Items',\n description: 'Collection rendered by the list.',\n value: {\n type: 'array',\n itemType: 'object',\n },\n acceptsFallback: true,\n acceptsTransforms: true,\n },\n },\n },\n props: {\n inverted: INVERTED_POLARITY_PROP,\n items: {\n type: 'array',\n category: 'Data',\n label: 'Items',\n },\n },\n },\n DataTable: {\n name: 'DataTable',\n category: 'component',\n description: 'Renders tabular records.',\n directManifestNode: true,\n allowedChildren: [],\n bindings: {\n props: {\n rows: {\n label: 'Rows',\n description: 'Rows rendered by the table.',\n value: {\n type: 'array',\n itemType: 'record',\n },\n acceptsFallback: true,\n acceptsTransforms: true,\n },\n },\n },\n props: {\n inverted: INVERTED_POLARITY_PROP,\n rows: {\n type: 'array',\n category: 'Data',\n label: 'Rows',\n },\n },\n },\n Reader: {\n ...readerMeta,\n props: { ...readerMeta.props, inverted: INVERTED_POLARITY_PROP },\n bindings: {\n props: {\n location: {\n label: 'Location',\n description: 'Opaque adapter locator to restore.',\n value: { type: 'string' },\n acceptsFallback: true,\n acceptsTransforms: true,\n },\n page: {\n label: 'Page',\n description: 'One-based visible page.',\n value: { type: 'number' },\n acceptsFallback: true,\n acceptsTransforms: true,\n },\n pageCount: {\n label: 'Page count',\n description: 'Current number of logical pages.',\n value: { type: 'number' },\n acceptsFallback: true,\n acceptsTransforms: true,\n },\n progress: {\n label: 'Progress',\n description: 'Reading progression clamped from zero to one.',\n value: { type: 'number' },\n acceptsFallback: true,\n acceptsTransforms: true,\n },\n status: {\n label: 'Status',\n description: 'Current reader loading status.',\n value: { type: 'string' },\n acceptsFallback: true,\n acceptsTransforms: true,\n },\n },\n events: {\n previousPage: {\n label: 'Previous page',\n description: 'Requests navigation to the previous page.',\n payload: { eventType: 'reader.previousPage', fields: [] },\n },\n nextPage: {\n label: 'Next page',\n description: 'Requests navigation to the next page.',\n payload: { eventType: 'reader.nextPage', fields: [] },\n },\n locationChange: {\n label: 'Location change',\n description: 'Runs after the adapter displays a destination.',\n payload: {\n eventType: 'reader.locationChange',\n fields: [\n { path: 'format', type: 'string', label: 'Format' },\n { path: 'locator', type: 'string', label: 'Opaque locator' },\n { path: 'page', type: 'number', label: 'Page' },\n { path: 'pageCount', type: 'number', label: 'Page count' },\n { path: 'progression', type: 'number', label: 'Progression' },\n { path: 'chapterId', type: 'string', label: 'Chapter ID' },\n { path: 'chapterTitle', type: 'string', label: 'Chapter title' },\n { path: 'trigger', type: 'string', label: 'Navigation trigger' },\n ],\n },\n },\n openContents: {\n label: 'Open contents',\n payload: { eventType: 'reader.openContents', fields: [] },\n },\n openAppearance: {\n label: 'Open appearance',\n payload: { eventType: 'reader.openAppearance', fields: [] },\n },\n toggleHighlight: {\n label: 'Toggle highlight',\n payload: { eventType: 'reader.toggleHighlight', fields: [] },\n },\n openExternalLink: {\n label: 'Open external link',\n payload: {\n eventType: 'reader.openExternalLink',\n fields: [{ path: 'url', type: 'string', label: 'URL' }],\n },\n },\n readerError: {\n label: 'Reader error',\n payload: {\n eventType: 'reader.error',\n fields: [\n { path: 'code', type: 'string', label: 'Error code' },\n { path: 'format', type: 'string', label: 'Format' },\n { path: 'message', type: 'string', label: 'Message' },\n ],\n },\n },\n },\n },\n },\n} as const satisfies UiComponentMetaRegistry;\n\nexport type ZoraBindableComponentType = keyof typeof ZORA_BINDABLE_COMPONENT_META;\n"]}
1
+ {"version":3,"file":"bindableComponentMeta.js","sourceRoot":"","sources":["../../../src/features/registry/bindableComponentMeta.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE5C,MAAM,CAAC,MAAM,4BAA4B,GAAG;IAC1C,IAAI,EAAE;QACJ,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,WAAW;QACrB,WAAW,EAAE,mCAAmC;QAChD,kBAAkB,EAAE,IAAI;QACxB,eAAe,EAAE,EA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e;oBACtB,OAAO,EAAE,EAAE,SAAS,EAAE,qBAAqB,EAAE,MAAM,EAAE,EAAE,EAAE;iBAC1D;gBACD,cAAc,EAAE;oBACd,KAAK,EAAE,iBAAiB;oBACxB,OAAO,EAAE,EAAE,SAAS,EAAE,uBAAuB,EAAE,MAAM,EAAE,EAAE,EAAE;iBAC5D;gBACD,eAAe,EAAE;oBACf,KAAK,EAAE,kBAAkB;oBACzB,OAAO,EAAE,EAAE,SAAS,EAAE,wBAAwB,EAAE,MAAM,EAAE,EAAE,EAAE;iBAC7D;gBACD,gBAAgB,EAAE;oBAChB,KAAK,EAAE,oBAAoB;oBAC3B,OAAO,EAAE;wBACP,SAAS,EAAE,yBAAyB;wBACpC,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC;qBACxD;iBACF;gBACD,WAAW,EAAE;oBACX,KAAK,EAAE,cAAc;oBACrB,OAAO,EAAE;wBACP,SAAS,EAAE,cAAc;wBACzB,MAAM,EAAE;4BACN,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,YAAY,EAAE;4BACrD,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE;4BACnD,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAE;yBACtD;qBACF;iBACF;aACF;SACF;KACF;CACyC,CAAC","sourcesContent":["import type { UiComponentMetaRegistry } from '@ankhorage/contracts';\n\nimport { INVERTED_POLARITY_PROP } from '../../constants/authoring';\nimport { imageMeta } from '../image/imageMeta';\nimport { readerMeta } from '../reader/meta';\n\nexport const ZORA_BINDABLE_COMPONENT_META = {\n Text: {\n name: 'Text',\n category: 'component',\n description: 'Displays app-facing text content.',\n directManifestNode: true,\n allowedChildren: [],\n bindings: {\n props: {\n text: {\n label: 'Text',\n description: 'Text content rendered by the component.',\n value: { type: 'string' },\n acceptsFallback: true,\n acceptsTransforms: true,\n },\n },\n },\n props: {\n inverted: INVERTED_POLARITY_PROP,\n text: {\n type: 'string',\n category: 'Content',\n label: 'Text',\n },\n },\n },\n Heading: {\n name: 'Heading',\n category: 'component',\n description: 'Displays semantic heading text.',\n directManifestNode: true,\n allowedChildren: [],\n bindings: {\n props: {\n text: {\n label: 'Text',\n description: 'Heading text rendered by the component.',\n value: { type: 'string' },\n acceptsFallback: true,\n acceptsTransforms: true,\n },\n },\n },\n props: {\n inverted: INVERTED_POLARITY_PROP,\n text: {\n type: 'string',\n category: 'Content',\n label: 'Text',\n },\n },\n },\n Button: {\n name: 'Button',\n category: 'component',\n description: 'Runs an action when pressed.',\n directManifestNode: true,\n allowedChildren: [],\n bindings: {\n props: {\n children: {\n label: 'Label',\n description: 'Button label text.',\n value: { type: 'string' },\n acceptsFallback: true,\n acceptsTransforms: true,\n },\n disabled: {\n label: 'Disabled',\n description: 'Whether the button is disabled.',\n value: { type: 'boolean' },\n acceptsFallback: true,\n acceptsTransforms: true,\n },\n },\n events: {\n press: {\n label: 'Press',\n description: 'Runs when the button is pressed.',\n payload: {\n eventType: 'button.press',\n fields: [],\n },\n },\n },\n },\n events: {\n press: {\n label: 'Press',\n eventType: 'button.press',\n description: 'Emitted when the button action runs.',\n payloadFields: [],\n },\n },\n props: {\n inverted: INVERTED_POLARITY_PROP,\n children: {\n type: 'string',\n category: 'Content',\n label: 'Label',\n },\n disabled: {\n type: 'boolean',\n category: 'State',\n label: 'Disabled',\n },\n },\n },\n Image: {\n ...imageMeta,\n props: { ...imageMeta.props, inverted: INVERTED_POLARITY_PROP },\n bindings: {\n props: {\n source: {\n label: 'Source',\n description: 'Dynamic image source or asset descriptor.',\n value: {\n type: 'imageAsset',\n fields: [\n { path: 'uri', type: 'string', label: 'URI' },\n { path: 'width', type: 'number', label: 'Width' },\n { path: 'height', type: 'number', label: 'Height' },\n { path: 'alt', type: 'string', label: 'Alt text' },\n ],\n },\n acceptsFallback: true,\n acceptsTransforms: true,\n },\n },\n },\n },\n TextInput: {\n name: 'TextInput',\n category: 'component',\n description: 'Captures a string value in single-line, multiline, or secure-entry modes.',\n directManifestNode: true,\n allowedChildren: [],\n bindings: {\n props: {\n value: {\n label: 'Value',\n description: 'Current text input value.',\n value: { type: 'string' },\n acceptsFallback: true,\n acceptsTransforms: true,\n },\n disabled: {\n label: 'Disabled',\n description: 'Whether the text input is disabled.',\n value: { type: 'boolean' },\n acceptsFallback: true,\n acceptsTransforms: true,\n },\n },\n },\n props: {\n inverted: INVERTED_POLARITY_PROP,\n value: {\n type: 'string',\n category: 'Content',\n label: 'Value',\n },\n disabled: {\n type: 'boolean',\n category: 'State',\n label: 'Disabled',\n },\n },\n },\n Select: {\n name: 'Select',\n category: 'component',\n description: 'Captures one selected string value.',\n directManifestNode: true,\n allowedChildren: [],\n bindings: {\n props: {\n value: {\n label: 'Value',\n description: 'Current selected value.',\n value: { type: 'string' },\n acceptsFallback: true,\n acceptsTransforms: true,\n },\n disabled: {\n label: 'Disabled',\n description: 'Whether the select is disabled.',\n value: { type: 'boolean' },\n acceptsFallback: true,\n acceptsTransforms: true,\n },\n },\n events: {\n valueChange: {\n label: 'Value change',\n description: 'Runs when the selected value changes.',\n payload: {\n eventType: 'select.valueChange',\n fields: [{ path: 'value', type: 'string', label: 'Value' }],\n },\n },\n },\n },\n events: {\n valueChange: {\n label: 'Value change',\n eventType: 'select.valueChange',\n description: 'Emitted when the selected value changes.',\n payloadFields: [{ path: 'value', type: 'string', label: 'Value' }],\n },\n },\n props: {\n inverted: INVERTED_POLARITY_PROP,\n value: {\n type: 'string',\n category: 'Content',\n label: 'Value',\n },\n disabled: {\n type: 'boolean',\n category: 'State',\n label: 'Disabled',\n },\n },\n },\n Checkbox: {\n name: 'Checkbox',\n category: 'component',\n description: 'Captures a boolean checked state.',\n directManifestNode: true,\n allowedChildren: [],\n bindings: {\n props: {\n checked: {\n label: 'Checked',\n description: 'Current checked state.',\n value: { type: 'boolean' },\n acceptsFallback: true,\n acceptsTransforms: true,\n },\n disabled: {\n label: 'Disabled',\n description: 'Whether the checkbox is disabled.',\n value: { type: 'boolean' },\n acceptsFallback: true,\n acceptsTransforms: true,\n },\n },\n },\n props: {\n inverted: INVERTED_POLARITY_PROP,\n checked: {\n type: 'boolean',\n category: 'State',\n label: 'Checked',\n },\n disabled: {\n type: 'boolean',\n category: 'State',\n label: 'Disabled',\n },\n },\n },\n Switch: {\n name: 'Switch',\n category: 'component',\n description: 'Captures a boolean checked state.',\n directManifestNode: true,\n allowedChildren: [],\n bindings: {\n props: {\n checked: {\n label: 'Checked',\n description: 'Current checked state.',\n value: { type: 'boolean' },\n acceptsFallback: true,\n acceptsTransforms: true,\n },\n disabled: {\n label: 'Disabled',\n description: 'Whether the switch is disabled.',\n value: { type: 'boolean' },\n acceptsFallback: true,\n acceptsTransforms: true,\n },\n },\n },\n props: {\n inverted: INVERTED_POLARITY_PROP,\n checked: { type: 'boolean', category: 'State', label: 'Checked' },\n disabled: { type: 'boolean', category: 'State', label: 'Disabled' },\n },\n },\n List: {\n name: 'List',\n category: 'pattern',\n description: 'Renders a collection of list items.',\n directManifestNode: true,\n allowedChildren: ['ListSection', 'ListItem'],\n bindings: {\n props: {\n items: {\n label: 'Items',\n description: 'Collection rendered by the list.',\n value: {\n type: 'array',\n itemType: 'object',\n },\n acceptsFallback: true,\n acceptsTransforms: true,\n },\n },\n },\n props: {\n inverted: INVERTED_POLARITY_PROP,\n items: {\n type: 'array',\n category: 'Data',\n label: 'Items',\n },\n },\n },\n DataTable: {\n name: 'DataTable',\n category: 'component',\n description: 'Renders tabular records.',\n directManifestNode: true,\n allowedChildren: [],\n bindings: {\n props: {\n rows: {\n label: 'Rows',\n description: 'Rows rendered by the table.',\n value: {\n type: 'array',\n itemType: 'record',\n },\n acceptsFallback: true,\n acceptsTransforms: true,\n },\n },\n },\n props: {\n inverted: INVERTED_POLARITY_PROP,\n rows: {\n type: 'array',\n category: 'Data',\n label: 'Rows',\n },\n },\n },\n Reader: {\n ...readerMeta,\n props: { ...readerMeta.props, inverted: INVERTED_POLARITY_PROP },\n bindings: {\n props: {\n location: {\n label: 'Location',\n description: 'Opaque adapter locator to restore.',\n value: { type: 'string' },\n acceptsFallback: true,\n acceptsTransforms: true,\n },\n page: {\n label: 'Page',\n description: 'One-based visible page.',\n value: { type: 'number' },\n acceptsFallback: true,\n acceptsTransforms: true,\n },\n pageCount: {\n label: 'Page count',\n description: 'Current number of logical pages.',\n value: { type: 'number' },\n acceptsFallback: true,\n acceptsTransforms: true,\n },\n progress: {\n label: 'Progress',\n description: 'Reading progression clamped from zero to one.',\n value: { type: 'number' },\n acceptsFallback: true,\n acceptsTransforms: true,\n },\n status: {\n label: 'Status',\n description: 'Current reader loading status.',\n value: { type: 'string' },\n acceptsFallback: true,\n acceptsTransforms: true,\n },\n },\n events: {\n previousPage: {\n label: 'Previous page',\n description: 'Requests navigation to the previous page.',\n payload: { eventType: 'reader.previousPage', fields: [] },\n },\n nextPage: {\n label: 'Next page',\n description: 'Requests navigation to the next page.',\n payload: { eventType: 'reader.nextPage', fields: [] },\n },\n locationChange: {\n label: 'Location change',\n description: 'Runs after the adapter displays a destination.',\n payload: {\n eventType: 'reader.locationChange',\n fields: [\n { path: 'format', type: 'string', label: 'Format' },\n { path: 'locator', type: 'string', label: 'Opaque locator' },\n { path: 'page', type: 'number', label: 'Page' },\n { path: 'pageCount', type: 'number', label: 'Page count' },\n { path: 'progression', type: 'number', label: 'Progression' },\n { path: 'chapterId', type: 'string', label: 'Chapter ID' },\n { path: 'chapterTitle', type: 'string', label: 'Chapter title' },\n { path: 'trigger', type: 'string', label: 'Navigation trigger' },\n ],\n },\n },\n openContents: {\n label: 'Open contents',\n payload: { eventType: 'reader.openContents', fields: [] },\n },\n openAppearance: {\n label: 'Open appearance',\n payload: { eventType: 'reader.openAppearance', fields: [] },\n },\n toggleHighlight: {\n label: 'Toggle highlight',\n payload: { eventType: 'reader.toggleHighlight', fields: [] },\n },\n openExternalLink: {\n label: 'Open external link',\n payload: {\n eventType: 'reader.openExternalLink',\n fields: [{ path: 'url', type: 'string', label: 'URL' }],\n },\n },\n readerError: {\n label: 'Reader error',\n payload: {\n eventType: 'reader.error',\n fields: [\n { path: 'code', type: 'string', label: 'Error code' },\n { path: 'format', type: 'string', label: 'Format' },\n { path: 'message', type: 'string', label: 'Message' },\n ],\n },\n },\n },\n },\n },\n} as const satisfies UiComponentMetaRegistry;\n\nexport type ZoraBindableComponentType = keyof typeof ZORA_BINDABLE_COMPONENT_META;\n"]}
@@ -122,22 +122,6 @@ export declare const barcodeScannerViewMeta: {
122
122
  readonly description: "Point the camera at a barcode to continue.";
123
123
  };
124
124
  };
125
- readonly events: {
126
- readonly onBarcodeScanned: {
127
- readonly label: "Barcode scanned";
128
- readonly eventType: "scan";
129
- readonly description: "Emitted by the app camera adapter after a barcode has been scanned.";
130
- readonly payloadFields: readonly [{
131
- readonly path: "value";
132
- readonly type: "string";
133
- readonly label: "Barcode value";
134
- }, {
135
- readonly path: "type";
136
- readonly type: "string";
137
- readonly label: "Barcode type";
138
- }];
139
- };
140
- };
141
125
  readonly slots: {
142
126
  readonly camera: {
143
127
  readonly label: "Camera adapter";
@@ -1 +1 @@
1
- {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/features/scanner/meta.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkCU,CAAC;AAEvC,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgEC,CAAC;AAEvC,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2FG,CAAC"}
1
+ {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/features/scanner/meta.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkCU,CAAC;AAEvC,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgEC,CAAC;AAEvC,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgFG,CAAC"}
@@ -117,17 +117,6 @@ export const barcodeScannerViewMeta = {
117
117
  description: 'Point the camera at a barcode to continue.',
118
118
  },
119
119
  },
120
- events: {
121
- onBarcodeScanned: {
122
- label: 'Barcode scanned',
123
- eventType: 'scan',
124
- description: 'Emitted by the app camera adapter after a barcode has been scanned.',
125
- payloadFields: [
126
- { path: 'value', type: 'string', label: 'Barcode value' },
127
- { path: 'type', type: 'string', label: 'Barcode type' },
128
- ],
129
- },
130
- },
131
120
  slots: {
132
121
  camera: {
133
122
  label: 'Camera adapter',
@@ -1 +1 @@
1
- {"version":3,"file":"meta.js","sourceRoot":"","sources":["../../../src/features/scanner/meta.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AAGvE,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,IAAI,EAAE,aAAa;IACnB,QAAQ,EAAE,SAAS;IACnB,WAAW,EAAE,uEAAuE;IACpF,kBAAkB,EAAE,IAAI;IACxB,eAAe,EAAE,EAAE;IACnB,SAAS,EAAE;QACT,KAAK,EAAE,cAAc;QACrB,YAAY,EAAE;YACZ,KAAK,EAAE,mBAAmB;YAC1B,WAAW,EAAE,mEAAmE;YAChF,WAAW,EAAE,MAAM;SACpB;KACF;IACD,KAAK,EAAE;QACL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;YACb,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,QAAQ;YAClB,KAAK,EAAE,qBAAqB;SAC7B;KACF;CACmC,CAAC","sourcesContent":["import { CONTAINER_ALLOWED_CHILDREN } from '../../constants/authoring';\nimport type { ZoraComponentMeta } from '../../types/authoring';\n\nexport const scanOverlayMeta = {\n name: 'ScanOverlay',\n category: 'pattern',\n description: 'Camera-agnostic scan frame overlay for barcode and QR scanning flows.',\n directManifestNode: true,\n allowedChildren: [],\n blueprint: {\n label: 'Scan overlay',\n defaultProps: {\n title: 'Align the barcode',\n description: 'Hold the barcode inside the frame. Scanning starts automatically.',\n cornerLabel: 'SCAN',\n },\n },\n props: {\n title: {\n type: 'string',\n category: 'Content',\n label: 'Title',\n default: 'Align the barcode',\n },\n description: {\n type: 'string',\n category: 'Content',\n label: 'Description',\n default: 'Hold the barcode inside the frame. Scanning starts automatically.',\n },\n cornerLabel: {\n type: 'string',\n category: 'Content',\n label: 'Corner label',\n default: 'SCAN',\n },\n },\n} as const satisfies ZoraComponentMeta;\n\nexport const cameraPermissionViewMeta = {\n name: 'CameraPermissionView',\n category: 'pattern',\n description: 'ZORA-owned camera permission state for scanner flows.',\n directManifestNode: true,\n allowedChildren: [],\n requirements: {\n permissions: { camera: true },\n },\n blueprint: {\n label: 'Camera permission',\n defaultProps: {\n status: 'unknown',\n requestLabel: 'Allow camera access',\n manualEntryLabel: 'Enter barcode manually',\n },\n },\n props: {\n status: {\n type: 'enum',\n category: 'State',\n label: 'Permission status',\n enum: ['unknown', 'requesting', 'denied'],\n default: 'unknown',\n },\n title: {\n type: 'string',\n category: 'Content',\n label: 'Title',\n },\n description: {\n type: 'string',\n category: 'Content',\n label: 'Description',\n },\n requestLabel: {\n type: 'string',\n category: 'Content',\n label: 'Request label',\n default: 'Allow camera access',\n },\n deniedLabel: {\n type: 'string',\n category: 'Content',\n label: 'Denied label',\n default: 'Open settings',\n },\n manualEntryLabel: {\n type: 'string',\n category: 'Content',\n label: 'Manual entry label',\n default: 'Enter barcode manually',\n },\n onRequestPermission: {\n type: 'action',\n category: 'Events',\n label: 'Request permission action',\n },\n onManualEntry: {\n type: 'action',\n category: 'Events',\n label: 'Manual entry action',\n },\n },\n} as const satisfies ZoraComponentMeta;\n\nexport const barcodeScannerViewMeta = {\n name: 'BarcodeScannerView',\n category: 'pattern',\n description:\n 'Composed scanner shell with permission, camera slot, scan overlay, and manual entry affordance.',\n directManifestNode: true,\n allowedChildren: [...CONTAINER_ALLOWED_CHILDREN],\n requirements: {\n permissions: { camera: true },\n capabilities: { barcodeScanner: true },\n },\n blueprint: {\n label: 'Barcode scanner',\n defaultProps: {\n permissionStatus: 'unknown',\n title: 'Scan barcode',\n description: 'Point the camera at a barcode to continue.',\n },\n },\n events: {\n onBarcodeScanned: {\n label: 'Barcode scanned',\n eventType: 'scan',\n description: 'Emitted by the app camera adapter after a barcode has been scanned.',\n payloadFields: [\n { path: 'value', type: 'string', label: 'Barcode value' },\n { path: 'type', type: 'string', label: 'Barcode type' },\n ],\n },\n },\n slots: {\n camera: {\n label: 'Camera adapter',\n allowedChildren: [],\n },\n children: {\n label: 'Scanner footer',\n allowedChildren: [...CONTAINER_ALLOWED_CHILDREN],\n },\n },\n props: {\n permissionStatus: {\n type: 'enum',\n category: 'State',\n label: 'Permission status',\n enum: ['unknown', 'requesting', 'granted', 'denied'],\n default: 'unknown',\n },\n title: {\n type: 'string',\n category: 'Content',\n label: 'Title',\n default: 'Scan barcode',\n },\n description: {\n type: 'string',\n category: 'Content',\n label: 'Description',\n default: 'Point the camera at a barcode to continue.',\n },\n overlayTitle: {\n type: 'string',\n category: 'Content',\n label: 'Overlay title',\n },\n overlayDescription: {\n type: 'string',\n category: 'Content',\n label: 'Overlay description',\n },\n requestPermissionLabel: {\n type: 'string',\n category: 'Content',\n label: 'Request permission label',\n },\n manualEntryLabel: {\n type: 'string',\n category: 'Content',\n label: 'Manual entry label',\n },\n onRequestPermission: {\n type: 'action',\n category: 'Events',\n label: 'Request permission action',\n },\n onManualEntry: {\n type: 'action',\n category: 'Events',\n label: 'Manual entry action',\n },\n },\n} as const satisfies ZoraComponentMeta;\n"]}
1
+ {"version":3,"file":"meta.js","sourceRoot":"","sources":["../../../src/features/scanner/meta.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AAGvE,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,IAAI,EAAE,aAAa;IACnB,QAAQ,EAAE,SAAS;IACnB,WAAW,EAAE,uEAAuE;IACpF,kBAAkB,EAAE,IAAI;IACxB,eAAe,EAAE,EAAE;IACnB,SAAS,EAAE;QACT,KAAK,EAAE,cAAc;QACrB,YAAY,EAAE;YACZ,KAAK,EAAE,mBAAmB;YAC1B,WAAW,EAAE,mEAAmE;YAChF,WAAW,EAAE,MAAM;SACpB;KACF;IACD,KAAK,EAAE;QACL,KAAK,EAAE;YACL,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,SAAS;YACnB,KAAK,EAAE,OAAO;YACd,OAAO,EAAE,mBAAmB;SAC7B;QACD,WAAW,EAAE;YACX,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,SAAS;YACnB,KAAK,EAAE,aAAa;YACpB,OAAO,EAAE,mEAAmE;SAC7E;QACD,WAAW,EAAE;YACX,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,SAAS;YACnB,KAAK,EAAE,cAAc;YACrB,OAAO,EAAE,MAAM;SAChB;KACF;CACmC,CAAC;AAEvC,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,IAAI,EAAE,sBAAsB;IAC5B,QAAQ,EAAE,SAAS;IACnB,WAAW,EAAE,uDAAuD;IACpE,kBAAkB,EAAE,IAAI;IACxB,eAAe,EAAE,EAAE;IACnB,YAAY,EAAE;QACZ,WAAW,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE;KAC9B;IACD,SAAS,EAAE;QACT,KAAK,EAAE,mBAAmB;QAC1B,YAAY,EAAE;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AA0B;SAClC;QACD,gBAAgB,EAAE;YAChB,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,SAAS;YACnB,KAAK,EAAE,oBAAoB;SAC5B;QACD,mBAAmB,EAAE;YACnB,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,QAAQ;YAClB,KAAK,EAAE,2BAA2B;SACnC;QACD,aAAa,EAAE;YACb,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,QAAQ;YAClB,KAAK,EAAE,qBAAqB;SAC7B;KACF;CACmC,CAAC","sourcesContent":["import { CONTAINER_ALLOWED_CHILDREN } from '../../constants/authoring';\nimport type { ZoraComponentMeta } from '../../types/authoring';\n\nexport const scanOverlayMeta = {\n name: 'ScanOverlay',\n category: 'pattern',\n description: 'Camera-agnostic scan frame overlay for barcode and QR scanning flows.',\n directManifestNode: true,\n allowedChildren: [],\n blueprint: {\n label: 'Scan overlay',\n defaultProps: {\n title: 'Align the barcode',\n description: 'Hold the barcode inside the frame. Scanning starts automatically.',\n cornerLabel: 'SCAN',\n },\n },\n props: {\n title: {\n type: 'string',\n category: 'Content',\n label: 'Title',\n default: 'Align the barcode',\n },\n description: {\n type: 'string',\n category: 'Content',\n label: 'Description',\n default: 'Hold the barcode inside the frame. Scanning starts automatically.',\n },\n cornerLabel: {\n type: 'string',\n category: 'Content',\n label: 'Corner label',\n default: 'SCAN',\n },\n },\n} as const satisfies ZoraComponentMeta;\n\nexport const cameraPermissionViewMeta = {\n name: 'CameraPermissionView',\n category: 'pattern',\n description: 'ZORA-owned camera permission state for scanner flows.',\n directManifestNode: true,\n allowedChildren: [],\n requirements: {\n permissions: { camera: true },\n },\n blueprint: {\n label: 'Camera permission',\n defaultProps: {\n status: 'unknown',\n requestLabel: 'Allow camera access',\n manualEntryLabel: 'Enter barcode manually',\n },\n },\n props: {\n status: {\n type: 'enum',\n category: 'State',\n label: 'Permission status',\n enum: ['unknown', 'requesting', 'denied'],\n default: 'unknown',\n },\n title: {\n type: 'string',\n category: 'Content',\n label: 'Title',\n },\n description: {\n type: 'string',\n category: 'Content',\n label: 'Description',\n },\n requestLabel: {\n type: 'string',\n category: 'Content',\n label: 'Request label',\n default: 'Allow camera access',\n },\n deniedLabel: {\n type: 'string',\n category: 'Content',\n label: 'Denied label',\n default: 'Open settings',\n },\n manualEntryLabel: {\n type: 'string',\n category: 'Content',\n label: 'Manual entry label',\n default: 'Enter barcode manually',\n },\n onRequestPermission: {\n type: 'action',\n category: 'Events',\n label: 'Request permission action',\n },\n onManualEntry: {\n type: 'action',\n category: 'Events',\n label: 'Manual entry action',\n },\n },\n} as const satisfies ZoraComponentMeta;\n\nexport const barcodeScannerViewMeta = {\n name: 'BarcodeScannerView',\n category: 'pattern',\n description:\n 'Composed scanner shell with permission, camera slot, scan overlay, and manual entry affordance.',\n directManifestNode: true,\n allowedChildren: [...CONTAINER_ALLOWED_CHILDREN],\n requirements: {\n permissions: { camera: true },\n capabilities: { barcodeScanner: true },\n },\n blueprint: {\n label: 'Barcode scanner',\n defaultProps: {\n permissionStatus: 'unknown',\n title: 'Scan barcode',\n description: 'Point the camera at a barcode to continue.',\n },\n },\n slots: {\n camera: {\n label: 'Camera adapter',\n allowedChildren: [],\n },\n children: {\n label: 'Scanner footer',\n allowedChildren: [...CONTAINER_ALLOWED_CHILDREN],\n },\n },\n props: {\n permissionStatus: {\n type: 'enum',\n category: 'State',\n label: 'Permission status',\n enum: ['unknown', 'requesting', 'granted', 'denied'],\n default: 'unknown',\n },\n title: {\n type: 'string',\n category: 'Content',\n label: 'Title',\n default: 'Scan barcode',\n },\n description: {\n type: 'string',\n category: 'Content',\n label: 'Description',\n default: 'Point the camera at a barcode to continue.',\n },\n overlayTitle: {\n type: 'string',\n category: 'Content',\n label: 'Overlay title',\n },\n overlayDescription: {\n type: 'string',\n category: 'Content',\n label: 'Overlay description',\n },\n requestPermissionLabel: {\n type: 'string',\n category: 'Content',\n label: 'Request permission label',\n },\n manualEntryLabel: {\n type: 'string',\n category: 'Content',\n label: 'Manual entry label',\n },\n onRequestPermission: {\n type: 'action',\n category: 'Events',\n label: 'Request permission action',\n },\n onManualEntry: {\n type: 'action',\n category: 'Events',\n label: 'Manual entry action',\n },\n },\n} as const satisfies ZoraComponentMeta;\n"]}
@@ -37,6 +37,5 @@ export interface BarcodeScannerViewProps extends ZoraBaseProps {
37
37
  manualEntryLabel?: React.ReactNode;
38
38
  onRequestPermission?: () => void | Promise<void>;
39
39
  onManualEntry?: () => void | Promise<void>;
40
- onBarcodeScanned?: (result: BarcodeScanResult) => void | Promise<void>;
41
40
  }
42
41
  //# sourceMappingURL=scanner.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"scanner.d.ts","sourceRoot":"","sources":["../../src/types/scanner.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAC5C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAE5C,MAAM,MAAM,sBAAsB,GAAG,SAAS,GAAG,YAAY,GAAG,SAAS,GAAG,QAAQ,CAAC;AAErF,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,gBAAiB,SAAQ,aAAa;IACrD,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC/B;AAED,MAAM,WAAW,yBAA0B,SAAQ,aAAa;IAC9D,MAAM,EAAE,OAAO,CAAC,sBAAsB,EAAE,SAAS,CAAC,CAAC;IACnD,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS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AAC,WAAW,EAAE,UAAU,GAAG,SAAS,CAAC,CAAC;CACpE;AAED,MAAM,WAAW,uBAAwB,SAAQ,aAAa;IAC5D,gBAAgB,EAAE,sBAAsB,CAAC;IACzC,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC/B,kBAAkB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACrC,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,sBAAsB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzC,qBAAqB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxC,gBAAgB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACnC,mBAAmB,CAAC,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACjD,aAAa,CAAC,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC5C"}
@@ -1 +1 @@
1
- {"version":3,"file":"scanner.js","sourceRoot":"","sources":["../../src/types/scanner.ts"],"names":[],"mappings":"","sourcesContent":["import type React from 'react';\n\nimport type { ZoraBaseProps } from './base';\nimport type { ButtonProps } from './button';\n\nexport type CameraPermissionStatus = 'unknown' | 'requesting' | 'granted' | 'denied';\n\nexport interface BarcodeScanResult {\n value: string;\n type?: string;\n}\n\nexport interface ScanOverlayProps extends ZoraBaseProps {\n title?: React.ReactNode;\n description?: React.ReactNode;\n cornerLabel?: React.ReactNode;\n}\n\nexport interface CameraPermissionViewProps extends ZoraBaseProps {\n status: Exclude<CameraPermissionStatus, 'granted'>;\n title?: React.ReactNode;\n description?: React.ReactNode;\n requestLabel?: React.ReactNode;\n deniedLabel?: React.ReactNode;\n manualEntryLabel?: React.ReactNode;\n onRequestPermission?: () => void | Promise<void>;\n onManualEntry?: () => void | Promise<void>;\n requestButtonProps?: Omit<ButtonProps, 'children' | 'onPress'>;\n manualEntryButtonProps?: Omit<ButtonProps, 'children' | 'onPress'>;\n}\n\nexport interface BarcodeScannerViewProps extends ZoraBaseProps {\n permissionStatus: CameraPermissionStatus;\n camera?: React.ReactNode;\n children?: React.ReactNode;\n title?: React.ReactNode;\n description?: React.ReactNode;\n overlayTitle?: React.ReactNode;\n overlayDescription?: React.ReactNode;\n cornerLabel?: React.ReactNode;\n requestPermissionLabel?: React.ReactNode;\n deniedPermissionLabel?: React.ReactNode;\n manualEntryLabel?: React.ReactNode;\n onRequestPermission?: () => void | Promise<void>;\n onManualEntry?: () => void | Promise<void>;\n onBarcodeScanned?: (result: BarcodeScanResult) => void | Promise<void>;\n}\n"]}
1
+ {"version":3,"file":"scanner.js","sourceRoot":"","sources":["../../src/types/scanner.ts"],"names":[],"mappings":"","sourcesContent":["import type React from 'react';\n\nimport type { ZoraBaseProps } from './base';\nimport type { ButtonProps } from './button';\n\nexport type CameraPermissionStatus = 'unknown' | 'requesting' | 'granted' | 'denied';\n\nexport interface BarcodeScanResult {\n value: string;\n type?: string;\n}\n\nexport interface ScanOverlayProps extends ZoraBaseProps {\n title?: React.ReactNode;\n description?: React.ReactNode;\n cornerLabel?: React.ReactNode;\n}\n\nexport interface CameraPermissionViewProps extends ZoraBaseProps {\n status: Exclude<CameraPermissionStatus, 'granted'>;\n title?: React.ReactNode;\n description?: React.ReactNode;\n requestLabel?: React.ReactNode;\n deniedLabel?: React.ReactNode;\n manualEntryLabel?: React.ReactNode;\n onRequestPermission?: () => void | Promise<void>;\n onManualEntry?: () => void | Promise<void>;\n requestButtonProps?: Omit<ButtonProps, 'children' | 'onPress'>;\n manualEntryButtonProps?: Omit<ButtonProps, 'children' | 'onPress'>;\n}\n\nexport interface BarcodeScannerViewProps extends ZoraBaseProps {\n permissionStatus: CameraPermissionStatus;\n camera?: React.ReactNode;\n children?: React.ReactNode;\n title?: React.ReactNode;\n description?: React.ReactNode;\n overlayTitle?: React.ReactNode;\n overlayDescription?: React.ReactNode;\n cornerLabel?: React.ReactNode;\n requestPermissionLabel?: React.ReactNode;\n deniedPermissionLabel?: React.ReactNode;\n manualEntryLabel?: React.ReactNode;\n onRequestPermission?: () => void | Promise<void>;\n onManualEntry?: () => void | Promise<void>;\n}\n"]}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ankhorage/zora",
3
3
  "type": "module",
4
- "version": "24.1.2",
4
+ "version": "25.0.1",
5
5
  "description": "Opinionated React Native and React Native Web UI kit built on @ankhorage/surface.",
6
6
  "homepage": "https://github.com/ankhorage/zora#readme",
7
7
  "bugs": {
@@ -44,9 +44,9 @@
44
44
  "@ankhorage/color-theory": "^0.3.1",
45
45
  "@ankhorage/contracts": "^24.2.1",
46
46
  "@ankhorage/game": "^0.1.2",
47
- "@ankhorage/grid-view": "^0.1.1",
47
+ "@ankhorage/grid-view": "^0.2.0",
48
48
  "@ankhorage/reader": "^0.1.0",
49
- "@ankhorage/runtime": "^4.0.6",
49
+ "@ankhorage/runtime": "^4.0.7",
50
50
  "@ankhorage/surface": "^9.4.2",
51
51
  "@ankhorage/utility": "^1.9.85",
52
52
  "chess.js": "^1.4.0",
@@ -132,7 +132,7 @@
132
132
  "version-packages": "ankhorage-changeset version"
133
133
  },
134
134
  "devDependencies": {
135
- "@ankhorage/devtools": "^2.2.2",
135
+ "@ankhorage/devtools": "^2.3.6",
136
136
  "@ankhorage/paradox": "^0.3.1",
137
137
  "@react-native-vector-icons/fontawesome": "^13.1.4",
138
138
  "@react-native-vector-icons/fontawesome5": "^13.1.4",
@@ -6,6 +6,14 @@ export const checkboxMeta = {
6
6
  directManifestNode: true,
7
7
  allowedChildren: [],
8
8
  blueprint: { label: 'Checkbox', defaultProps: { label: 'Option', checked: false } },
9
+ events: {
10
+ checkedChange: {
11
+ label: 'Checked change',
12
+ eventType: 'checkbox.checkedChange',
13
+ description: 'Emitted when the checked state changes.',
14
+ payloadFields: [{ path: 'checked', type: 'boolean', label: 'Checked' }],
15
+ },
16
+ },
9
17
  props: {
10
18
  label: { type: 'string', category: 'Content', label: 'Label' },
11
19
  checked: { type: 'boolean', category: 'State', label: 'Checked', default: false },
@@ -6,6 +6,14 @@ export const switchMeta = {
6
6
  directManifestNode: true,
7
7
  allowedChildren: [],
8
8
  blueprint: { label: 'Switch', defaultProps: { children: 'Option', checked: false } },
9
+ events: {
10
+ checkedChange: {
11
+ label: 'Checked change',
12
+ eventType: 'switch.checkedChange',
13
+ description: 'Emitted when the checked state changes.',
14
+ payloadFields: [{ path: 'checked', type: 'boolean', label: 'Checked' }],
15
+ },
16
+ },
9
17
  props: {
10
18
  children: { type: 'string', category: 'Content', label: 'Label' },
11
19
  checked: { type: 'boolean', category: 'State', label: 'Checked', default: false },
@@ -12,6 +12,14 @@ export const textInputMeta = {
12
12
  value: '',
13
13
  },
14
14
  },
15
+ events: {
16
+ changeText: {
17
+ label: 'Change text',
18
+ eventType: 'textInput.changeText',
19
+ description: 'Emitted when the input value changes.',
20
+ payloadFields: [{ path: 'value', type: 'string', label: 'Value' }],
21
+ },
22
+ },
15
23
  props: {
16
24
  placeholder: {
17
25
  type: 'string',
@@ -25,6 +25,15 @@ describe('ZORA bindable component metadata', () => {
25
25
  expect(select.bindings.events.valueChange.payload.eventType).toBe('select.valueChange');
26
26
  });
27
27
 
28
+ it('does not duplicate controlled component event ownership', () => {
29
+ expect(ZORA_BINDABLE_COMPONENT_META.TextInput.events).toBeUndefined();
30
+ expect(ZORA_BINDABLE_COMPONENT_META.TextInput.bindings.events).toBeUndefined();
31
+ expect(ZORA_BINDABLE_COMPONENT_META.Checkbox.events).toBeUndefined();
32
+ expect(ZORA_BINDABLE_COMPONENT_META.Checkbox.bindings.events).toBeUndefined();
33
+ expect(ZORA_BINDABLE_COMPONENT_META.Switch.events).toBeUndefined();
34
+ expect(ZORA_BINDABLE_COMPONENT_META.Switch.bindings.events).toBeUndefined();
35
+ });
36
+
28
37
  it('shares canonical Image authoring metadata while preserving dynamic image bindings', () => {
29
38
  const image = ZORA_BINDABLE_COMPONENT_META.Image;
30
39
 
@@ -159,24 +159,6 @@ export const ZORA_BINDABLE_COMPONENT_META = {
159
159
  acceptsTransforms: true,
160
160
  },
161
161
  },
162
- events: {
163
- changeText: {
164
- label: 'Change text',
165
- description: 'Runs when the input value changes.',
166
- payload: {
167
- eventType: 'textInput.changeText',
168
- fields: [{ path: 'value', type: 'string', label: 'Value' }],
169
- },
170
- },
171
- },
172
- },
173
- events: {
174
- changeText: {
175
- label: 'Change text',
176
- eventType: 'textInput.changeText',
177
- description: 'Emitted when the input value changes.',
178
- payloadFields: [{ path: 'value', type: 'string', label: 'Value' }],
179
- },
180
162
  },
181
163
  props: {
182
164
  inverted: INVERTED_POLARITY_PROP,
@@ -271,24 +253,6 @@ export const ZORA_BINDABLE_COMPONENT_META = {
271
253
  acceptsTransforms: true,
272
254
  },
273
255
  },
274
- events: {
275
- checkedChange: {
276
- label: 'Checked change',
277
- description: 'Runs when checked state changes.',
278
- payload: {
279
- eventType: 'checkbox.checkedChange',
280
- fields: [{ path: 'checked', type: 'boolean', label: 'Checked' }],
281
- },
282
- },
283
- },
284
- },
285
- events: {
286
- checkedChange: {
287
- label: 'Checked change',
288
- eventType: 'checkbox.checkedChange',
289
- description: 'Emitted when the checked state changes.',
290
- payloadFields: [{ path: 'checked', type: 'boolean', label: 'Checked' }],
291
- },
292
256
  },
293
257
  props: {
294
258
  inverted: INVERTED_POLARITY_PROP,
@@ -327,24 +291,6 @@ export const ZORA_BINDABLE_COMPONENT_META = {
327
291
  acceptsTransforms: true,
328
292
  },
329
293
  },
330
- events: {
331
- checkedChange: {
332
- label: 'Checked change',
333
- description: 'Runs when checked state changes.',
334
- payload: {
335
- eventType: 'switch.checkedChange',
336
- fields: [{ path: 'checked', type: 'boolean', label: 'Checked' }],
337
- },
338
- },
339
- },
340
- },
341
- events: {
342
- checkedChange: {
343
- label: 'Checked change',
344
- eventType: 'switch.checkedChange',
345
- description: 'Emitted when the checked state changes.',
346
- payloadFields: [{ path: 'checked', type: 'boolean', label: 'Checked' }],
347
- },
348
294
  },
349
295
  props: {
350
296
  inverted: INVERTED_POLARITY_PROP,
@@ -1,6 +1,7 @@
1
1
  import { describe, expect, test } from 'bun:test';
2
2
 
3
- import { ZORA_COMPONENT_META, type ZoraComponentEventPayloadKind } from '.';
3
+ import type { BarcodeScannerViewProps, ZoraComponentEventPayloadKind } from '.';
4
+ import { ZORA_COMPONENT_META } from '.';
4
5
 
5
6
  const componentMetaByName = new Map(Object.entries(ZORA_COMPONENT_META));
6
7
 
@@ -98,6 +99,43 @@ describe('ZORA_COMPONENT_META event metadata', () => {
98
99
  'payload.item',
99
100
  ]);
100
101
  });
102
+
103
+ test('owns controlled component events in direct metadata and projects their bindings', () => {
104
+ expect(ZORA_COMPONENT_META.TextInput.events?.changeText).toMatchObject({
105
+ eventType: 'textInput.changeText',
106
+ payloadFields: [{ path: 'value', type: 'string' }],
107
+ });
108
+ expect(ZORA_COMPONENT_META.TextInput.bindings?.events?.changeText.payload).toEqual({
109
+ eventType: 'textInput.changeText',
110
+ fields: [{ path: 'value', type: 'string', label: 'Value' }],
111
+ });
112
+ expect(ZORA_COMPONENT_META.Checkbox.events?.checkedChange).toMatchObject({
113
+ eventType: 'checkbox.checkedChange',
114
+ payloadFields: [{ path: 'checked', type: 'boolean' }],
115
+ });
116
+ expect(ZORA_COMPONENT_META.Checkbox.bindings?.events?.checkedChange.payload).toEqual({
117
+ eventType: 'checkbox.checkedChange',
118
+ fields: [{ path: 'checked', type: 'boolean', label: 'Checked' }],
119
+ });
120
+ expect(ZORA_COMPONENT_META.Switch.events?.checkedChange).toMatchObject({
121
+ eventType: 'switch.checkedChange',
122
+ payloadFields: [{ path: 'checked', type: 'boolean' }],
123
+ });
124
+ expect(ZORA_COMPONENT_META.Switch.bindings?.events?.checkedChange.payload).toEqual({
125
+ eventType: 'switch.checkedChange',
126
+ fields: [{ path: 'checked', type: 'boolean', label: 'Checked' }],
127
+ });
128
+ });
129
+
130
+ test('does not declare a scanner event without a ZORA-owned emitter', () => {
131
+ type HasBarcodeScanCallback = 'onBarcodeScanned' extends keyof BarcodeScannerViewProps
132
+ ? true
133
+ : false;
134
+ const hasBarcodeScanCallback: HasBarcodeScanCallback = false;
135
+
136
+ expect(ZORA_COMPONENT_META.BarcodeScannerView.events).toBeUndefined();
137
+ expect(hasBarcodeScanCallback).toBe(false);
138
+ });
101
139
  });
102
140
 
103
141
  describe('ZORA_COMPONENT_META requirement metadata', () => {
@@ -122,17 +122,6 @@ export const barcodeScannerViewMeta = {
122
122
  description: 'Point the camera at a barcode to continue.',
123
123
  },
124
124
  },
125
- events: {
126
- onBarcodeScanned: {
127
- label: 'Barcode scanned',
128
- eventType: 'scan',
129
- description: 'Emitted by the app camera adapter after a barcode has been scanned.',
130
- payloadFields: [
131
- { path: 'value', type: 'string', label: 'Barcode value' },
132
- { path: 'type', type: 'string', label: 'Barcode type' },
133
- ],
134
- },
135
- },
136
125
  slots: {
137
126
  camera: {
138
127
  label: 'Camera adapter',
@@ -43,5 +43,4 @@ export interface BarcodeScannerViewProps extends ZoraBaseProps {
43
43
  manualEntryLabel?: React.ReactNode;
44
44
  onRequestPermission?: () => void | Promise<void>;
45
45
  onManualEntry?: () => void | Promise<void>;
46
- onBarcodeScanned?: (result: BarcodeScanResult) => void | Promise<void>;
47
46
  }
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  import {
3
3
  TileGrid2
4
- } from "./Accordion-8m8p9wpw.js";
4
+ } from "./Accordion-b20zfsfz.js";
5
5
  import {
6
6
  withZoraThemeScope
7
7
  } from "./Accordion-42jfy1a1.js";
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import"../../chunks/Accordion-8m8p9wpw.js";
2
+ import"../../chunks/Accordion-b20zfsfz.js";
3
3
  import"../../chunks/Accordion-bfzeab9x.js";
4
4
  import"../../chunks/Accordion-6wrr910w.js";
5
5
  import"../../chunks/Accordion-8f0nekwe.js";
@@ -14,7 +14,7 @@ import {
14
14
  Explorer2,
15
15
  FileExplorer2,
16
16
  MediaExplorer2
17
- } from "../../chunks/Accordion-2gvs3frs.js";
17
+ } from "../../chunks/Accordion-0md8wbtx.js";
18
18
  import"../../chunks/Accordion-bff0p3x4.js";
19
19
  import"../../chunks/Accordion-srjya6dz.js";
20
20
  import"../../chunks/Accordion-184r2r82.js";
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import"../../chunks/Accordion-8m8p9wpw.js";
2
+ import"../../chunks/Accordion-b20zfsfz.js";
3
3
  import"../../chunks/Accordion-bfzeab9x.js";
4
4
  import"../../chunks/Accordion-6wrr910w.js";
5
5
  import"../../chunks/Accordion-8f0nekwe.js";
@@ -14,7 +14,7 @@ import {
14
14
  Explorer2,
15
15
  FileExplorer2,
16
16
  MediaExplorer2
17
- } from "../../chunks/Accordion-2gvs3frs.js";
17
+ } from "../../chunks/Accordion-0md8wbtx.js";
18
18
  import"../../chunks/Accordion-bff0p3x4.js";
19
19
  import"../../chunks/Accordion-srjya6dz.js";
20
20
  import"../../chunks/Accordion-184r2r82.js";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  GridView2,
4
4
  TileGrid2
5
- } from "../../chunks/Accordion-8m8p9wpw.js";
5
+ } from "../../chunks/Accordion-b20zfsfz.js";
6
6
  import"../../chunks/Accordion-xgpzh4wq.js";
7
7
  export {
8
8
  GridView2 as GridView,
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import"../../chunks/Accordion-8m8p9wpw.js";
2
+ import"../../chunks/Accordion-b20zfsfz.js";
3
3
  import"../../chunks/Accordion-bfzeab9x.js";
4
4
  import"../../chunks/Accordion-6wrr910w.js";
5
5
  import"../../chunks/Accordion-8f0nekwe.js";
@@ -14,7 +14,7 @@ import {
14
14
  Explorer2,
15
15
  FileExplorer2,
16
16
  MediaExplorer2
17
- } from "../../chunks/Accordion-2gvs3frs.js";
17
+ } from "../../chunks/Accordion-0md8wbtx.js";
18
18
  import"../../chunks/Accordion-bff0p3x4.js";
19
19
  import"../../chunks/Accordion-srjya6dz.js";
20
20
  import"../../chunks/Accordion-184r2r82.js";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  GridView2,
4
4
  TileGrid2
5
- } from "../../chunks/Accordion-8m8p9wpw.js";
5
+ } from "../../chunks/Accordion-b20zfsfz.js";
6
6
  import"../../chunks/Accordion-xgpzh4wq.js";
7
7
  export {
8
8
  GridView2 as GridView,
@@ -25,7 +25,7 @@ import {
25
25
  import {
26
26
  Text3
27
27
  } from "../../chunks/Accordion-afmybp67.js";
28
- import"../../chunks/Accordion-8m8p9wpw.js";
28
+ import"../../chunks/Accordion-b20zfsfz.js";
29
29
  import {
30
30
  Icon2
31
31
  } from "../../chunks/Accordion-bb8y34wh.js";
@@ -34,7 +34,7 @@ import {
34
34
  } from "../../chunks/Accordion-mej71qnw.js";
35
35
  import {
36
36
  Explorer2
37
- } from "../../chunks/Accordion-2gvs3frs.js";
37
+ } from "../../chunks/Accordion-0md8wbtx.js";
38
38
  import"../../chunks/Accordion-ndf3jqhb.js";
39
39
  import"../../chunks/Accordion-45nc4bte.js";
40
40
  import {
@@ -1223,15 +1223,15 @@
1223
1223
  "components/explorer/index.js",
1224
1224
  "components/explorer/index.d.ts",
1225
1225
  "chunks/Accordion-09qs8gt1.js",
1226
+ "chunks/Accordion-0md8wbtx.js",
1226
1227
  "chunks/Accordion-184r2r82.js",
1227
- "chunks/Accordion-2gvs3frs.js",
1228
1228
  "chunks/Accordion-42jfy1a1.js",
1229
1229
  "chunks/Accordion-59pa0677.js",
1230
1230
  "chunks/Accordion-6a2hscrx.js",
1231
1231
  "chunks/Accordion-6wrr910w.js",
1232
1232
  "chunks/Accordion-8f0nekwe.js",
1233
- "chunks/Accordion-8m8p9wpw.js",
1234
1233
  "chunks/Accordion-afmybp67.js",
1234
+ "chunks/Accordion-b20zfsfz.js",
1235
1235
  "chunks/Accordion-bb8y34wh.js",
1236
1236
  "chunks/Accordion-bff0p3x4.js",
1237
1237
  "chunks/Accordion-bfzeab9x.js",
@@ -1288,15 +1288,15 @@
1288
1288
  "components/file-explorer/index.js",
1289
1289
  "components/file-explorer/index.d.ts",
1290
1290
  "chunks/Accordion-09qs8gt1.js",
1291
+ "chunks/Accordion-0md8wbtx.js",
1291
1292
  "chunks/Accordion-184r2r82.js",
1292
- "chunks/Accordion-2gvs3frs.js",
1293
1293
  "chunks/Accordion-42jfy1a1.js",
1294
1294
  "chunks/Accordion-59pa0677.js",
1295
1295
  "chunks/Accordion-6a2hscrx.js",
1296
1296
  "chunks/Accordion-6wrr910w.js",
1297
1297
  "chunks/Accordion-8f0nekwe.js",
1298
- "chunks/Accordion-8m8p9wpw.js",
1299
1298
  "chunks/Accordion-afmybp67.js",
1299
+ "chunks/Accordion-b20zfsfz.js",
1300
1300
  "chunks/Accordion-bb8y34wh.js",
1301
1301
  "chunks/Accordion-bff0p3x4.js",
1302
1302
  "chunks/Accordion-bfzeab9x.js",
@@ -1730,7 +1730,7 @@
1730
1730
  "components/grid-view/GridView.d.ts",
1731
1731
  "components/grid-view/index.js",
1732
1732
  "components/grid-view/index.d.ts",
1733
- "chunks/Accordion-8m8p9wpw.js",
1733
+ "chunks/Accordion-b20zfsfz.js",
1734
1734
  "chunks/Accordion-nh0cs9hq.js",
1735
1735
  "chunks/Accordion-xgpzh4wq.js"
1736
1736
  ],
@@ -2055,15 +2055,15 @@
2055
2055
  "components/media-explorer/index.js",
2056
2056
  "components/media-explorer/index.d.ts",
2057
2057
  "chunks/Accordion-09qs8gt1.js",
2058
+ "chunks/Accordion-0md8wbtx.js",
2058
2059
  "chunks/Accordion-184r2r82.js",
2059
- "chunks/Accordion-2gvs3frs.js",
2060
2060
  "chunks/Accordion-42jfy1a1.js",
2061
2061
  "chunks/Accordion-59pa0677.js",
2062
2062
  "chunks/Accordion-6a2hscrx.js",
2063
2063
  "chunks/Accordion-6wrr910w.js",
2064
2064
  "chunks/Accordion-8f0nekwe.js",
2065
- "chunks/Accordion-8m8p9wpw.js",
2066
2065
  "chunks/Accordion-afmybp67.js",
2066
+ "chunks/Accordion-b20zfsfz.js",
2067
2067
  "chunks/Accordion-bb8y34wh.js",
2068
2068
  "chunks/Accordion-bff0p3x4.js",
2069
2069
  "chunks/Accordion-bfzeab9x.js",
@@ -3603,7 +3603,7 @@
3603
3603
  "components/tile-grid/TileGrid.d.ts",
3604
3604
  "components/tile-grid/index.js",
3605
3605
  "components/tile-grid/index.d.ts",
3606
- "chunks/Accordion-8m8p9wpw.js",
3606
+ "chunks/Accordion-b20zfsfz.js",
3607
3607
  "chunks/Accordion-nh0cs9hq.js",
3608
3608
  "chunks/Accordion-xgpzh4wq.js"
3609
3609
  ],
@@ -3848,8 +3848,8 @@
3848
3848
  "components/uploader/index.d.ts",
3849
3849
  "chunks/Accordion-09qs8gt1.js",
3850
3850
  "chunks/Accordion-0gfsj9qh.js",
3851
+ "chunks/Accordion-0md8wbtx.js",
3851
3852
  "chunks/Accordion-184r2r82.js",
3852
- "chunks/Accordion-2gvs3frs.js",
3853
3853
  "chunks/Accordion-2nesr9cv.js",
3854
3854
  "chunks/Accordion-42jfy1a1.js",
3855
3855
  "chunks/Accordion-45nc4bte.js",
@@ -3859,8 +3859,8 @@
3859
3859
  "chunks/Accordion-6wrr910w.js",
3860
3860
  "chunks/Accordion-6zb9d92y.js",
3861
3861
  "chunks/Accordion-8f0nekwe.js",
3862
- "chunks/Accordion-8m8p9wpw.js",
3863
3862
  "chunks/Accordion-afmybp67.js",
3863
+ "chunks/Accordion-b20zfsfz.js",
3864
3864
  "chunks/Accordion-bb8y34wh.js",
3865
3865
  "chunks/Accordion-be2yhfqz.js",
3866
3866
  "chunks/Accordion-bff0p3x4.js",