@kubuild/components 0.7.0 → 0.8.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 (53) hide show
  1. package/dist/blocks/index.cjs +601 -12
  2. package/dist/blocks/index.cjs.map +1 -1
  3. package/dist/blocks/index.d.ts +2 -1
  4. package/dist/blocks/index.d.ts.map +1 -1
  5. package/dist/blocks/index.js +3 -1
  6. package/dist/blocks/sales.d.ts +7 -0
  7. package/dist/blocks/sales.d.ts.map +1 -0
  8. package/dist/canonical-props.d.ts +8 -0
  9. package/dist/canonical-props.d.ts.map +1 -0
  10. package/dist/{chunk-3HU2KE2B.js → chunk-CJN5OHHX.js} +596 -9
  11. package/dist/chunk-CJN5OHHX.js.map +1 -0
  12. package/dist/{chunk-JTQ35OQQ.js → chunk-DIZKTXJI.js} +601 -13
  13. package/dist/chunk-DIZKTXJI.js.map +1 -0
  14. package/dist/definitions/constants.d.ts.map +1 -1
  15. package/dist/definitions/conversion/accordion.d.ts +8 -0
  16. package/dist/definitions/conversion/accordion.d.ts.map +1 -0
  17. package/dist/definitions/conversion/carousel.d.ts +7 -0
  18. package/dist/definitions/conversion/carousel.d.ts.map +1 -0
  19. package/dist/definitions/conversion/countdown.d.ts +19 -0
  20. package/dist/definitions/conversion/countdown.d.ts.map +1 -0
  21. package/dist/definitions/conversion/divider.d.ts +9 -0
  22. package/dist/definitions/conversion/divider.d.ts.map +1 -0
  23. package/dist/definitions/conversion/index.d.ts +7 -0
  24. package/dist/definitions/conversion/index.d.ts.map +1 -0
  25. package/dist/definitions/conversion/rating.d.ts +7 -0
  26. package/dist/definitions/conversion/rating.d.ts.map +1 -0
  27. package/dist/definitions/conversion/tabs.d.ts +9 -0
  28. package/dist/definitions/conversion/tabs.d.ts.map +1 -0
  29. package/dist/definitions/form/button.d.ts.map +1 -1
  30. package/dist/definitions/index.cjs +746 -147
  31. package/dist/definitions/index.cjs.map +1 -1
  32. package/dist/definitions/index.d.ts +1 -0
  33. package/dist/definitions/index.d.ts.map +1 -1
  34. package/dist/definitions/index.js +27 -1
  35. package/dist/definitions/types.d.ts +4 -1
  36. package/dist/definitions/types.d.ts.map +1 -1
  37. package/dist/definitions/typography/badge.d.ts.map +1 -1
  38. package/dist/definitions/typography/blockquote.d.ts.map +1 -1
  39. package/dist/definitions/typography/heading.d.ts.map +1 -1
  40. package/dist/definitions/typography/link.d.ts.map +1 -1
  41. package/dist/definitions/typography/paragraph.d.ts.map +1 -1
  42. package/dist/definitions/typography/text.d.ts.map +1 -1
  43. package/dist/index.cjs +1417 -227
  44. package/dist/index.cjs.map +1 -1
  45. package/dist/index.d.ts +1 -0
  46. package/dist/index.d.ts.map +1 -1
  47. package/dist/index.js +32 -2
  48. package/dist/index.js.map +1 -1
  49. package/dist/registry.d.ts +12 -0
  50. package/dist/registry.d.ts.map +1 -1
  51. package/package.json +3 -3
  52. package/dist/chunk-3HU2KE2B.js.map +0 -1
  53. package/dist/chunk-JTQ35OQQ.js.map +0 -1
package/dist/index.d.ts CHANGED
@@ -4,4 +4,5 @@ export * from './requirements';
4
4
  export * from './prop-types';
5
5
  export * from './traits';
6
6
  export * from './blocks';
7
+ export * from './canonical-props';
7
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AAEzB,cAAc,mBAAmB,CAAC"}
package/dist/index.js CHANGED
@@ -1,11 +1,19 @@
1
1
  import {
2
2
  CONTENT_CHILD_TYPES,
3
+ COUNTDOWN_EXPIRE_BEHAVIORS,
4
+ COUNTDOWN_FORMATS,
5
+ COUNTDOWN_MODES,
6
+ COUNTDOWN_STORAGE_TYPES,
3
7
  ComponentRegistry,
4
8
  LAYOUT_PARENTS,
9
+ accordionDefinition,
10
+ accordionItemDefinition,
5
11
  badgeDefinition,
6
12
  blockquoteDefinition,
7
13
  buttonDefinition,
8
14
  buttonSubmitDefinition,
15
+ canonicalTextPropFields,
16
+ carouselDefinition,
9
17
  checkboxDefinition,
10
18
  codeBlockDefinition,
11
19
  collapsibleDefinition,
@@ -13,7 +21,9 @@ import {
13
21
  columnsDefinition,
14
22
  containerDefinition,
15
23
  coreComponentDefinitions,
24
+ countdownDefinition,
16
25
  createDefaultComponentRegistry,
26
+ dividerDefinition,
17
27
  drawerDefinition,
18
28
  fileUploadDefinition,
19
29
  flexDefinition,
@@ -33,16 +43,20 @@ import {
33
43
  radioDefinition,
34
44
  radioGroupDefinition,
35
45
  radioItemDefinition,
46
+ ratingDefinition,
36
47
  sectionDefinition,
37
48
  selectDefinition,
49
+ spacerDefinition,
38
50
  switchDefinition,
51
+ tabPanelDefinition,
39
52
  tableCellDefinition,
40
53
  tableDefinition,
41
54
  tableRowDefinition,
55
+ tabsDefinition,
42
56
  textDefinition,
43
57
  textareaDefinition,
44
58
  videoDefinition
45
- } from "./chunk-3HU2KE2B.js";
59
+ } from "./chunk-CJN5OHHX.js";
46
60
  import {
47
61
  TRAIT_GROUP_LABELS,
48
62
  TRAIT_GROUP_ORDER,
@@ -110,10 +124,11 @@ import {
110
124
  import {
111
125
  FORM_STARTER_BLOCKS,
112
126
  LAYOUT_STARTER_BLOCKS,
127
+ SALES_STARTER_BLOCKS,
113
128
  STARTER_BLOCKS,
114
129
  UI_STARTER_BLOCKS,
115
130
  defaultGenId
116
- } from "./chunk-JTQ35OQQ.js";
131
+ } from "./chunk-DIZKTXJI.js";
117
132
 
118
133
  // src/requirements.ts
119
134
  function extractComponentRequirements(root, registry) {
@@ -156,15 +171,22 @@ function isBindableField(field) {
156
171
  }
157
172
  export {
158
173
  CONTENT_CHILD_TYPES,
174
+ COUNTDOWN_EXPIRE_BEHAVIORS,
175
+ COUNTDOWN_FORMATS,
176
+ COUNTDOWN_MODES,
177
+ COUNTDOWN_STORAGE_TYPES,
159
178
  ComponentRegistry,
160
179
  FORM_STARTER_BLOCKS,
161
180
  LAYOUT_PARENTS,
162
181
  LAYOUT_STARTER_BLOCKS,
182
+ SALES_STARTER_BLOCKS,
163
183
  STARTER_BLOCKS,
164
184
  TRAIT_GROUP_LABELS,
165
185
  TRAIT_GROUP_ORDER,
166
186
  UI_STARTER_BLOCKS,
167
187
  acceptTrait,
188
+ accordionDefinition,
189
+ accordionItemDefinition,
168
190
  actionTrait,
169
191
  altTrait,
170
192
  ariaLabelTrait,
@@ -177,6 +199,8 @@ export {
177
199
  buttonDefinition,
178
200
  buttonSubmitDefinition,
179
201
  buttonTypeTrait,
202
+ canonicalTextPropFields,
203
+ carouselDefinition,
180
204
  checkboxDefinition,
181
205
  citeTrait,
182
206
  codeBlockDefinition,
@@ -188,12 +212,14 @@ export {
188
212
  containerDefinition,
189
213
  controlsTrait,
190
214
  coreComponentDefinitions,
215
+ countdownDefinition,
191
216
  createDefaultComponentRegistry,
192
217
  defaultCheckedTrait,
193
218
  defaultGenId,
194
219
  defaultSelectedTrait,
195
220
  defaultValueTrait,
196
221
  disabledTrait,
222
+ dividerDefinition,
197
223
  drawerDefinition,
198
224
  extractComponentRequirements,
199
225
  fieldNameTrait,
@@ -240,6 +266,7 @@ export {
240
266
  radioDefinition,
241
267
  radioGroupDefinition,
242
268
  radioItemDefinition,
269
+ ratingDefinition,
243
270
  readOnlyTrait,
244
271
  relTrait,
245
272
  requiredTrait,
@@ -253,13 +280,16 @@ export {
253
280
  showPreviewTrait,
254
281
  showSpinnerTrait,
255
282
  sortTraits,
283
+ spacerDefinition,
256
284
  srcTrait,
257
285
  suffixIconTrait,
258
286
  switchDefinition,
259
287
  switchSizeTrait,
288
+ tabPanelDefinition,
260
289
  tableCellDefinition,
261
290
  tableDefinition,
262
291
  tableRowDefinition,
292
+ tabsDefinition,
263
293
  tagTrait,
264
294
  targetTrait,
265
295
  textDefinition,
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/requirements.ts","../src/prop-types.ts"],"sourcesContent":["import { Node } from '@kubuild/schema';\nimport { ComponentRegistry } from './registry';\n\nexport interface ComponentRequirements {\n requiredComponents: string[];\n requiredCapabilities: string[];\n}\n\n/**\n * Walks a node tree and extracts the custom component types and runtime\n * capabilities it depends on, in the shape expected by `@kubuild/schema`'s\n * `ManifestSchema` (`requiredComponents`/`requiredCapabilities`).\n *\n * Built-in/core component types are never listed in `requiredComponents` —\n * they ship with `kubuild` and are always available. Only types whose\n * registered definition has `category: 'custom'` are considered a real\n * requirement a host must satisfy before it can render/import the document.\n */\nexport function extractComponentRequirements(\n root: Node,\n registry: ComponentRegistry,\n): ComponentRequirements {\n const requiredComponents = new Set<string>();\n const requiredCapabilities = new Set<string>();\n\n const visit = (node: Node): void => {\n const definition = registry.get(node.type);\n\n if (definition?.category === 'custom') {\n requiredComponents.add(node.type);\n }\n for (const capability of definition?.capabilities ?? []) {\n requiredCapabilities.add(capability);\n }\n\n node.children?.forEach(visit);\n };\n\n visit(root);\n\n return {\n requiredComponents: Array.from(requiredComponents),\n requiredCapabilities: Array.from(requiredCapabilities),\n };\n}\n","import { ComponentFieldDefinition } from './registry';\n\nexport type PropPrimitiveType = 'string' | 'number' | 'boolean';\n\n/**\n * Maps inspector field types to the primitive type a binding must resolve to.\n * 'select' | 'image' | 'action' | 'json' are excluded — they carry structured\n * or choice-constrained values that a plain variable binding can't safely satisfy.\n */\nexport function primitiveTypeForField(field: ComponentFieldDefinition): PropPrimitiveType | undefined {\n switch (field.type) {\n case 'string':\n case 'textarea':\n case 'color':\n return 'string';\n case 'number':\n return 'number';\n case 'boolean':\n return 'boolean';\n default:\n return undefined;\n }\n}\n\nexport function isBindableField(field: ComponentFieldDefinition): boolean {\n return primitiveTypeForField(field) !== undefined;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkBO,SAAS,6BACd,MACA,UACuB;AACvB,QAAM,qBAAqB,oBAAI,IAAY;AAC3C,QAAM,uBAAuB,oBAAI,IAAY;AAE7C,QAAM,QAAQ,CAAC,SAAqB;AAClC,UAAM,aAAa,SAAS,IAAI,KAAK,IAAI;AAEzC,QAAI,YAAY,aAAa,UAAU;AACrC,yBAAmB,IAAI,KAAK,IAAI;AAAA,IAClC;AACA,eAAW,cAAc,YAAY,gBAAgB,CAAC,GAAG;AACvD,2BAAqB,IAAI,UAAU;AAAA,IACrC;AAEA,SAAK,UAAU,QAAQ,KAAK;AAAA,EAC9B;AAEA,QAAM,IAAI;AAEV,SAAO;AAAA,IACL,oBAAoB,MAAM,KAAK,kBAAkB;AAAA,IACjD,sBAAsB,MAAM,KAAK,oBAAoB;AAAA,EACvD;AACF;;;ACnCO,SAAS,sBAAsB,OAAgE;AACpG,UAAQ,MAAM,MAAM;AAAA,IAClB,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO;AAAA,IACT;AACE,aAAO;AAAA,EACX;AACF;AAEO,SAAS,gBAAgB,OAA0C;AACxE,SAAO,sBAAsB,KAAK,MAAM;AAC1C;","names":[]}
1
+ {"version":3,"sources":["../src/requirements.ts","../src/prop-types.ts"],"sourcesContent":["import { Node } from '@kubuild/schema';\nimport { ComponentRegistry } from './registry';\n\nexport interface ComponentRequirements {\n requiredComponents: string[];\n requiredCapabilities: string[];\n}\n\n/**\n * Walks a node tree and extracts the custom component types and runtime\n * capabilities it depends on, in the shape expected by `@kubuild/schema`'s\n * `ManifestSchema` (`requiredComponents`/`requiredCapabilities`).\n *\n * Built-in/core component types are never listed in `requiredComponents` —\n * they ship with `kubuild` and are always available. Only types whose\n * registered definition has `category: 'custom'` are considered a real\n * requirement a host must satisfy before it can render/import the document.\n */\nexport function extractComponentRequirements(\n root: Node,\n registry: ComponentRegistry,\n): ComponentRequirements {\n const requiredComponents = new Set<string>();\n const requiredCapabilities = new Set<string>();\n\n const visit = (node: Node): void => {\n const definition = registry.get(node.type);\n\n if (definition?.category === 'custom') {\n requiredComponents.add(node.type);\n }\n for (const capability of definition?.capabilities ?? []) {\n requiredCapabilities.add(capability);\n }\n\n node.children?.forEach(visit);\n };\n\n visit(root);\n\n return {\n requiredComponents: Array.from(requiredComponents),\n requiredCapabilities: Array.from(requiredCapabilities),\n };\n}\n","import { ComponentFieldDefinition } from './registry';\n\nexport type PropPrimitiveType = 'string' | 'number' | 'boolean';\n\n/**\n * Maps inspector field types to the primitive type a binding must resolve to.\n * 'select' | 'image' | 'action' | 'json' are excluded — they carry structured\n * or choice-constrained values that a plain variable binding can't safely satisfy.\n */\nexport function primitiveTypeForField(field: ComponentFieldDefinition): PropPrimitiveType | undefined {\n switch (field.type) {\n case 'string':\n case 'textarea':\n case 'color':\n return 'string';\n case 'number':\n return 'number';\n case 'boolean':\n return 'boolean';\n default:\n return undefined;\n }\n}\n\nexport function isBindableField(field: ComponentFieldDefinition): boolean {\n return primitiveTypeForField(field) !== undefined;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkBO,SAAS,6BACd,MACA,UACuB;AACvB,QAAM,qBAAqB,oBAAI,IAAY;AAC3C,QAAM,uBAAuB,oBAAI,IAAY;AAE7C,QAAM,QAAQ,CAAC,SAAqB;AAClC,UAAM,aAAa,SAAS,IAAI,KAAK,IAAI;AAEzC,QAAI,YAAY,aAAa,UAAU;AACrC,yBAAmB,IAAI,KAAK,IAAI;AAAA,IAClC;AACA,eAAW,cAAc,YAAY,gBAAgB,CAAC,GAAG;AACvD,2BAAqB,IAAI,UAAU;AAAA,IACrC;AAEA,SAAK,UAAU,QAAQ,KAAK;AAAA,EAC9B;AAEA,QAAM,IAAI;AAEV,SAAO;AAAA,IACL,oBAAoB,MAAM,KAAK,kBAAkB;AAAA,IACjD,sBAAsB,MAAM,KAAK,oBAAoB;AAAA,EACvD;AACF;;;ACnCO,SAAS,sBAAsB,OAAgE;AACpG,UAAQ,MAAM,MAAM;AAAA,IAClB,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO;AAAA,IACT;AACE,aAAO;AAAA,EACX;AACF;AAEO,SAAS,gBAAgB,OAA0C;AACxE,SAAO,sBAAsB,KAAK,MAAM;AAC1C;","names":[]}
@@ -68,6 +68,18 @@ export interface ComponentDefinition<TRenderer = unknown> {
68
68
  * everything a document needs before accepting it.
69
69
  */
70
70
  capabilities?: string[];
71
+ /**
72
+ * STORA-550: the single canonical prop holding this component's visible text
73
+ * (e.g. `text` for heading/paragraph, `label` for button). Templates, hosts and the
74
+ * editor's inline editing must write this name.
75
+ */
76
+ canonicalTextProp?: string;
77
+ /**
78
+ * STORA-550: deprecated alias -> canonical prop name. The renderer still reads an alias
79
+ * for one minor version (emitting a `DEPRECATED_PROP` diagnostic) and `migrateDocument`
80
+ * (`1.1.0 -> 1.2.0`) renames it. Sourced from `CANONICAL_TEXT_PROPS` in `@kubuild/schema`.
81
+ */
82
+ deprecatedPropAliases?: Record<string, string>;
71
83
  }
72
84
  export declare class ComponentRegistry<TRenderer = unknown> {
73
85
  private components;
@@ -1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AAmB,CAAC,SAAS,CAAC,EAAE;IAI7E;;;;;;OAMG;IACH,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG;QAAE,KAAK,EAAE,OAAO,CAAC;QAAC,MAAM,EAAE,MAAM,EAAE,CAAA;KAAE;IAkC3F,YAAY,CAAC,IAAI,EAAE,IAAI,EAAE,UAAU,CAAC,EAAE,MAAM,GAAG;QAAE,KAAK,EAAE,OAAO,CAAC;QAAC,MAAM,EAAE,MAAM,EAAE,CAAA;KAAE;CAyCpF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubuild/components",
3
- "version": "0.7.0",
3
+ "version": "0.8.1",
4
4
  "description": "Component registry and base definitions for KUBUILD",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -55,8 +55,8 @@
55
55
  },
56
56
  "homepage": "https://github.com/kustora/kubuild#readme",
57
57
  "dependencies": {
58
- "@kubuild/core": "0.7.0",
59
- "@kubuild/schema": "0.7.0"
58
+ "@kubuild/schema": "0.8.1",
59
+ "@kubuild/core": "0.8.1"
60
60
  },
61
61
  "devDependencies": {
62
62
  "tsup": "^8.3.6",