@arkitektio/bsx 4.1.0 → 4.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (145) hide show
  1. package/dist/bsx/references.d.ts.map +1 -1
  2. package/dist/bsx/references.js +28 -7
  3. package/dist/bsx/references.js.map +1 -1
  4. package/dist/catalogs/index.d.ts +83 -27
  5. package/dist/catalogs/index.d.ts.map +1 -1
  6. package/dist/catalogs/parts/data.d.ts +1 -1
  7. package/dist/catalogs/parts/feedback.d.ts +3 -3
  8. package/dist/catalogs/parts/forms.d.ts +35 -7
  9. package/dist/catalogs/parts/forms.d.ts.map +1 -1
  10. package/dist/catalogs/parts/forms.js +32 -0
  11. package/dist/catalogs/parts/forms.js.map +1 -1
  12. package/dist/catalogs/parts/icons.d.ts +2 -2
  13. package/dist/catalogs/parts/index.d.ts +63 -27
  14. package/dist/catalogs/parts/index.d.ts.map +1 -1
  15. package/dist/catalogs/parts/navigation.d.ts +4 -4
  16. package/dist/catalogs/parts/overlays.d.ts +11 -11
  17. package/dist/catalogs/parts/run.d.ts +8 -0
  18. package/dist/catalogs/parts/run.d.ts.map +1 -1
  19. package/dist/catalogs/parts/scene.d.ts +8 -0
  20. package/dist/catalogs/parts/scene.d.ts.map +1 -1
  21. package/dist/catalogs/parts/scene.js +4 -0
  22. package/dist/catalogs/parts/scene.js.map +1 -1
  23. package/dist/catalogs/props.d.ts +1 -1
  24. package/dist/catalogs/scene.d.ts +8 -0
  25. package/dist/catalogs/scene.d.ts.map +1 -1
  26. package/dist/catalogs/shadcn.d.ts +59 -11
  27. package/dist/catalogs/shadcn.d.ts.map +1 -1
  28. package/dist/catalogs/shadcn.js +2 -0
  29. package/dist/catalogs/shadcn.js.map +1 -1
  30. package/dist/catalogs/ui.d.ts +16 -16
  31. package/dist/ports/dependencies/DependenciesContainer.d.ts +13 -8
  32. package/dist/ports/dependencies/DependenciesContainer.d.ts.map +1 -1
  33. package/dist/ports/dependencies/DependenciesContainer.js +130 -118
  34. package/dist/ports/dependencies/DependenciesContainer.js.map +1 -1
  35. package/dist/ports/dependencies/DependencyTreeNotice.d.ts +3 -2
  36. package/dist/ports/dependencies/DependencyTreeNotice.d.ts.map +1 -1
  37. package/dist/ports/dependencies/DependencyTreeNotice.js +7 -6
  38. package/dist/ports/dependencies/DependencyTreeNotice.js.map +1 -1
  39. package/dist/ports/dependencies/tree.d.ts +24 -0
  40. package/dist/ports/dependencies/tree.d.ts.map +1 -1
  41. package/dist/ports/dependencies/tree.js +52 -0
  42. package/dist/ports/dependencies/tree.js.map +1 -1
  43. package/dist/ports/dependencies/useDependencyTree.d.ts +5 -0
  44. package/dist/ports/dependencies/useDependencyTree.d.ts.map +1 -1
  45. package/dist/ports/dependencies/useDependencyTree.js +11 -5
  46. package/dist/ports/dependencies/useDependencyTree.js.map +1 -1
  47. package/dist/renderer/BlokRenderer.d.ts +4 -1
  48. package/dist/renderer/BlokRenderer.d.ts.map +1 -1
  49. package/dist/renderer/BlokRenderer.js +5 -1
  50. package/dist/renderer/BlokRenderer.js.map +1 -1
  51. package/dist/renderer/bloks/control.d.ts +12 -0
  52. package/dist/renderer/bloks/control.d.ts.map +1 -1
  53. package/dist/renderer/bloks/control.js +92 -5
  54. package/dist/renderer/bloks/control.js.map +1 -1
  55. package/dist/renderer/bloks/data.d.ts +1 -1
  56. package/dist/renderer/bloks/feedback.d.ts +3 -3
  57. package/dist/renderer/bloks/forms.d.ts +31 -7
  58. package/dist/renderer/bloks/forms.d.ts.map +1 -1
  59. package/dist/renderer/bloks/forms.js +56 -0
  60. package/dist/renderer/bloks/forms.js.map +1 -1
  61. package/dist/renderer/bloks/icons.d.ts +1 -1
  62. package/dist/renderer/bloks/index.d.ts +51 -27
  63. package/dist/renderer/bloks/index.d.ts.map +1 -1
  64. package/dist/renderer/bloks/navigation.d.ts +4 -4
  65. package/dist/renderer/bloks/overlays.d.ts +11 -11
  66. package/dist/renderer/bloks/run/components.d.ts +4 -0
  67. package/dist/renderer/bloks/run/components.d.ts.map +1 -1
  68. package/dist/renderer/bloks/run/host.d.ts +32 -3
  69. package/dist/renderer/bloks/run/host.d.ts.map +1 -1
  70. package/dist/renderer/bloks/run/host.js.map +1 -1
  71. package/dist/renderer/bloks/scene/index.d.ts +4 -0
  72. package/dist/renderer/bloks/scene/index.d.ts.map +1 -1
  73. package/dist/renderer/functions/v2/index.d.ts.map +1 -1
  74. package/dist/renderer/functions/v2/index.js +39 -0
  75. package/dist/renderer/functions/v2/index.js.map +1 -1
  76. package/dist/renderer/runtime/context.d.ts +2 -0
  77. package/dist/renderer/runtime/context.d.ts.map +1 -1
  78. package/dist/renderer/runtime/context.js +4 -0
  79. package/dist/renderer/runtime/context.js.map +1 -1
  80. package/dist/renderer/runtime/hooks.d.ts.map +1 -1
  81. package/dist/renderer/runtime/hooks.js +1 -0
  82. package/dist/renderer/runtime/hooks.js.map +1 -1
  83. package/dist/renderer/runtime/resolution.d.ts +2 -0
  84. package/dist/renderer/runtime/resolution.d.ts.map +1 -1
  85. package/dist/renderer/runtime/resolution.js +17 -1
  86. package/dist/renderer/runtime/resolution.js.map +1 -1
  87. package/dist/renderer/runtime/schemas.d.ts +5 -5
  88. package/dist/renderer/runtime/task.d.ts +25 -2
  89. package/dist/renderer/runtime/task.d.ts.map +1 -1
  90. package/dist/renderer/runtime/task.js +11 -2
  91. package/dist/renderer/runtime/task.js.map +1 -1
  92. package/dist/renderer/runtime/types.d.ts +7 -2
  93. package/dist/renderer/runtime/types.d.ts.map +1 -1
  94. package/dist/shadcn.d.ts +51 -27
  95. package/dist/shadcn.d.ts.map +1 -1
  96. package/dist/shadcn.js +2 -0
  97. package/dist/shadcn.js.map +1 -1
  98. package/dist/spec/bsx_v2.json +64 -0
  99. package/dist/spec/catalogs/base@2.json +136 -3
  100. package/dist/spec/catalogs/base@2.json.js +136 -3
  101. package/dist/spec/catalogs/scene@1.json +20 -0
  102. package/dist/spec/catalogs/scene@1.json.js +20 -0
  103. package/dist/spec/catalogs/shadcn@1.json +142 -0
  104. package/dist/spec/catalogs/shadcn@1.json.js +142 -0
  105. package/dist/spec/vocabulary.d.ts +2 -0
  106. package/dist/spec/vocabulary.d.ts.map +1 -1
  107. package/dist/spec/vocabulary.js +1 -0
  108. package/dist/spec/vocabulary.js.map +1 -1
  109. package/dist/spec/vocabulary.json +43 -11
  110. package/dist/spec/vocabulary.json.js +43 -11
  111. package/package.json +1 -1
  112. package/src/bsx/language.test.ts +1 -1
  113. package/src/bsx/references.test.ts +59 -0
  114. package/src/bsx/references.ts +28 -7
  115. package/src/catalogs/parts/forms.ts +32 -0
  116. package/src/catalogs/parts/scene.ts +6 -0
  117. package/src/catalogs/shadcn.ts +2 -0
  118. package/src/ports/dependencies/DependenciesContainer.test.tsx +176 -0
  119. package/src/ports/dependencies/DependenciesContainer.tsx +341 -304
  120. package/src/ports/dependencies/DependencyTreeNotice.tsx +7 -15
  121. package/src/ports/dependencies/tree.test.ts +75 -0
  122. package/src/ports/dependencies/tree.ts +54 -0
  123. package/src/ports/dependencies/useDependencyTree.test.tsx +55 -0
  124. package/src/ports/dependencies/useDependencyTree.ts +11 -5
  125. package/src/renderer/BlokRenderer.tsx +9 -0
  126. package/src/renderer/bloks/control.tsx +116 -5
  127. package/src/renderer/bloks/forms.tsx +126 -0
  128. package/src/renderer/bloks/run/host.tsx +33 -3
  129. package/src/renderer/bloks/run/space.test.tsx +76 -0
  130. package/src/renderer/functions/v2/functions.test.ts +40 -1
  131. package/src/renderer/functions/v2/index.ts +47 -0
  132. package/src/renderer/runtime/context.tsx +6 -0
  133. package/src/renderer/runtime/hooks.ts +1 -0
  134. package/src/renderer/runtime/resolution.test.ts +14 -0
  135. package/src/renderer/runtime/resolution.ts +15 -1
  136. package/src/renderer/runtime/task.ts +33 -4
  137. package/src/renderer/runtime/types.ts +7 -2
  138. package/src/shadcn.ts +2 -0
  139. package/src/spec/bsx_v2.json +64 -0
  140. package/src/spec/catalogs/base@2.json +136 -3
  141. package/src/spec/catalogs/scene@1.json +20 -0
  142. package/src/spec/catalogs/shadcn@1.json +142 -0
  143. package/src/spec/spec.test.ts +20 -0
  144. package/src/spec/vocabulary.json +43 -11
  145. package/src/spec/vocabulary.ts +3 -0
@@ -15,11 +15,41 @@
15
15
  "Html"
16
16
  ],
17
17
  "text_prop": null,
18
- "props": []
18
+ "props": [
19
+ {
20
+ "key": "chrome",
21
+ "kind": "STRING",
22
+ "required": false,
23
+ "description": "What the host draws around the blok of its own: `auto` (the default) adds what the blok does not place (the time slider, the open ask, the rest of the argument form, its buttons); `none` adds nothing, the blok places what it wants.",
24
+ "values": [
25
+ "auto",
26
+ "none"
27
+ ]
28
+ }
29
+ ]
30
+ },
31
+ {
32
+ "name": "arg",
33
+ "description": "One argument of the run an assign blok starts, as its port draws it; `<args />` then leaves it out. Draws nothing for an argument the caller gave: it is locked. An assign blok only.",
34
+ "context": "HTML",
35
+ "children_context": null,
36
+ "inherits_context": false,
37
+ "accepts_children": false,
38
+ "downstream_of": [],
39
+ "not_downstream_of": [],
40
+ "text_prop": null,
41
+ "props": [
42
+ {
43
+ "key": "key",
44
+ "kind": "STRING",
45
+ "required": true,
46
+ "description": "The port key of the argument."
47
+ }
48
+ ]
19
49
  },
20
50
  {
21
51
  "name": "args",
22
- "description": "The arguments of the run an assign blok starts, as the form the action's ports generate: filled in right here, and read as `args.<key>`. Without it the host shows the form beside the blok. An assign blok only.",
52
+ "description": "The arguments of the run an assign blok starts, as the form the action's ports generate: filled in right here, and read as `args.<key>`. It draws the rest: every argument the caller did not give (`assign.given.<key>`) and no `<arg />` places. Without it the host shows the form beside the blok. An assign blok only.",
23
53
  "context": "HTML",
24
54
  "children_context": null,
25
55
  "inherits_context": false,
@@ -27,7 +57,30 @@
27
57
  "downstream_of": [],
28
58
  "not_downstream_of": [],
29
59
  "text_prop": null,
30
- "props": []
60
+ "props": [
61
+ {
62
+ "key": "only",
63
+ "kind": "ANY",
64
+ "required": false,
65
+ "description": "Only these port keys: a list, or one string with spaces between."
66
+ },
67
+ {
68
+ "key": "omit",
69
+ "kind": "ANY",
70
+ "required": false,
71
+ "description": "Not these port keys."
72
+ },
73
+ {
74
+ "key": "given",
75
+ "kind": "STRING",
76
+ "required": false,
77
+ "description": "What to do with the arguments the caller gave: `hide` leaves them out (the default), `show` lists them, locked.",
78
+ "values": [
79
+ "hide",
80
+ "show"
81
+ ]
82
+ }
83
+ ]
31
84
  },
32
85
  {
33
86
  "name": "ask",
@@ -76,6 +129,37 @@
76
129
  "text_prop": null,
77
130
  "props": []
78
131
  },
132
+ {
133
+ "name": "dep",
134
+ "description": "The picker of one dependency of the run an assign blok starts; `<deps />` then leaves it out. An assign blok only.",
135
+ "context": "HTML",
136
+ "children_context": null,
137
+ "inherits_context": false,
138
+ "accepts_children": false,
139
+ "downstream_of": [],
140
+ "not_downstream_of": [],
141
+ "text_prop": null,
142
+ "props": [
143
+ {
144
+ "key": "key",
145
+ "kind": "STRING",
146
+ "required": true,
147
+ "description": "The dependency key."
148
+ }
149
+ ]
150
+ },
151
+ {
152
+ "name": "deps",
153
+ "description": "The picker of the agents the run an assign blok starts would get: every dependency no `<dep />` places. Without it the host shows the picker beside the blok. An assign blok only.",
154
+ "context": "HTML",
155
+ "children_context": null,
156
+ "inherits_context": false,
157
+ "accepts_children": false,
158
+ "downstream_of": [],
159
+ "not_downstream_of": [],
160
+ "text_prop": null,
161
+ "props": []
162
+ },
79
163
  {
80
164
  "name": "else",
81
165
  "description": "A branch of its `if`: an else-if with `when`, the default without. Only the last `else` may go without `when`.",
@@ -206,6 +290,43 @@
206
290
  }
207
291
  ]
208
292
  },
293
+ {
294
+ "name": "returns",
295
+ "description": "What the task this blok is about returned, as the action's return ports show it (an image as an image, a table as a table). Shows nothing before the first yield. A blok with a `task` only.",
296
+ "context": "HTML",
297
+ "children_context": null,
298
+ "inherits_context": false,
299
+ "accepts_children": false,
300
+ "downstream_of": [],
301
+ "not_downstream_of": [],
302
+ "text_prop": null,
303
+ "props": [
304
+ {
305
+ "key": "only",
306
+ "kind": "ANY",
307
+ "required": false,
308
+ "description": "Only these return port keys: a list, or one string with spaces between."
309
+ },
310
+ {
311
+ "key": "omit",
312
+ "kind": "ANY",
313
+ "required": false,
314
+ "description": "Not these return port keys."
315
+ }
316
+ ]
317
+ },
318
+ {
319
+ "name": "status",
320
+ "description": "Where the task this blok is about stands, as one line the host draws: its state, how long it took, what it last said. A blok with a `task` only.",
321
+ "context": "HTML",
322
+ "children_context": null,
323
+ "inherits_context": false,
324
+ "accepts_children": false,
325
+ "downstream_of": [],
326
+ "not_downstream_of": [],
327
+ "text_prop": null,
328
+ "props": []
329
+ },
209
330
  {
210
331
  "name": "suspense",
211
332
  "description": "A boundary: while any read inside is pending it shows its `fallback`, when one failed its `error` (with the error as `error`); stale values render, dimmed. The nearest boundary catches.",
@@ -217,6 +338,18 @@
217
338
  "not_downstream_of": [],
218
339
  "text_prop": null,
219
340
  "props": []
341
+ },
342
+ {
343
+ "name": "timeline",
344
+ "description": "The time slider of what the blok shows (the run of its task, or the history of its agents): dragging it shows the whole blok as it was at that moment. Shows nothing where the host has no clock. Without it the host shows its own slider beside the blok.",
345
+ "context": "HTML",
346
+ "children_context": null,
347
+ "inherits_context": false,
348
+ "accepts_children": false,
349
+ "downstream_of": [],
350
+ "not_downstream_of": [],
351
+ "text_prop": null,
352
+ "props": []
220
353
  }
221
354
  ]
222
355
  }
@@ -15,11 +15,41 @@ export default {
15
15
  "Html"
16
16
  ],
17
17
  "text_prop": null,
18
- "props": []
18
+ "props": [
19
+ {
20
+ "key": "chrome",
21
+ "kind": "STRING",
22
+ "required": false,
23
+ "description": "What the host draws around the blok of its own: `auto` (the default) adds what the blok does not place (the time slider, the open ask, the rest of the argument form, its buttons); `none` adds nothing, the blok places what it wants.",
24
+ "values": [
25
+ "auto",
26
+ "none"
27
+ ]
28
+ }
29
+ ]
30
+ },
31
+ {
32
+ "name": "arg",
33
+ "description": "One argument of the run an assign blok starts, as its port draws it; `<args />` then leaves it out. Draws nothing for an argument the caller gave: it is locked. An assign blok only.",
34
+ "context": "HTML",
35
+ "children_context": null,
36
+ "inherits_context": false,
37
+ "accepts_children": false,
38
+ "downstream_of": [],
39
+ "not_downstream_of": [],
40
+ "text_prop": null,
41
+ "props": [
42
+ {
43
+ "key": "key",
44
+ "kind": "STRING",
45
+ "required": true,
46
+ "description": "The port key of the argument."
47
+ }
48
+ ]
19
49
  },
20
50
  {
21
51
  "name": "args",
22
- "description": "The arguments of the run an assign blok starts, as the form the action's ports generate: filled in right here, and read as `args.<key>`. Without it the host shows the form beside the blok. An assign blok only.",
52
+ "description": "The arguments of the run an assign blok starts, as the form the action's ports generate: filled in right here, and read as `args.<key>`. It draws the rest: every argument the caller did not give (`assign.given.<key>`) and no `<arg />` places. Without it the host shows the form beside the blok. An assign blok only.",
23
53
  "context": "HTML",
24
54
  "children_context": null,
25
55
  "inherits_context": false,
@@ -27,7 +57,30 @@ export default {
27
57
  "downstream_of": [],
28
58
  "not_downstream_of": [],
29
59
  "text_prop": null,
30
- "props": []
60
+ "props": [
61
+ {
62
+ "key": "only",
63
+ "kind": "ANY",
64
+ "required": false,
65
+ "description": "Only these port keys: a list, or one string with spaces between."
66
+ },
67
+ {
68
+ "key": "omit",
69
+ "kind": "ANY",
70
+ "required": false,
71
+ "description": "Not these port keys."
72
+ },
73
+ {
74
+ "key": "given",
75
+ "kind": "STRING",
76
+ "required": false,
77
+ "description": "What to do with the arguments the caller gave: `hide` leaves them out (the default), `show` lists them, locked.",
78
+ "values": [
79
+ "hide",
80
+ "show"
81
+ ]
82
+ }
83
+ ]
31
84
  },
32
85
  {
33
86
  "name": "ask",
@@ -76,6 +129,37 @@ export default {
76
129
  "text_prop": null,
77
130
  "props": []
78
131
  },
132
+ {
133
+ "name": "dep",
134
+ "description": "The picker of one dependency of the run an assign blok starts; `<deps />` then leaves it out. An assign blok only.",
135
+ "context": "HTML",
136
+ "children_context": null,
137
+ "inherits_context": false,
138
+ "accepts_children": false,
139
+ "downstream_of": [],
140
+ "not_downstream_of": [],
141
+ "text_prop": null,
142
+ "props": [
143
+ {
144
+ "key": "key",
145
+ "kind": "STRING",
146
+ "required": true,
147
+ "description": "The dependency key."
148
+ }
149
+ ]
150
+ },
151
+ {
152
+ "name": "deps",
153
+ "description": "The picker of the agents the run an assign blok starts would get: every dependency no `<dep />` places. Without it the host shows the picker beside the blok. An assign blok only.",
154
+ "context": "HTML",
155
+ "children_context": null,
156
+ "inherits_context": false,
157
+ "accepts_children": false,
158
+ "downstream_of": [],
159
+ "not_downstream_of": [],
160
+ "text_prop": null,
161
+ "props": []
162
+ },
79
163
  {
80
164
  "name": "else",
81
165
  "description": "A branch of its `if`: an else-if with `when`, the default without. Only the last `else` may go without `when`.",
@@ -206,6 +290,43 @@ export default {
206
290
  }
207
291
  ]
208
292
  },
293
+ {
294
+ "name": "returns",
295
+ "description": "What the task this blok is about returned, as the action's return ports show it (an image as an image, a table as a table). Shows nothing before the first yield. A blok with a `task` only.",
296
+ "context": "HTML",
297
+ "children_context": null,
298
+ "inherits_context": false,
299
+ "accepts_children": false,
300
+ "downstream_of": [],
301
+ "not_downstream_of": [],
302
+ "text_prop": null,
303
+ "props": [
304
+ {
305
+ "key": "only",
306
+ "kind": "ANY",
307
+ "required": false,
308
+ "description": "Only these return port keys: a list, or one string with spaces between."
309
+ },
310
+ {
311
+ "key": "omit",
312
+ "kind": "ANY",
313
+ "required": false,
314
+ "description": "Not these return port keys."
315
+ }
316
+ ]
317
+ },
318
+ {
319
+ "name": "status",
320
+ "description": "Where the task this blok is about stands, as one line the host draws: its state, how long it took, what it last said. A blok with a `task` only.",
321
+ "context": "HTML",
322
+ "children_context": null,
323
+ "inherits_context": false,
324
+ "accepts_children": false,
325
+ "downstream_of": [],
326
+ "not_downstream_of": [],
327
+ "text_prop": null,
328
+ "props": []
329
+ },
209
330
  {
210
331
  "name": "suspense",
211
332
  "description": "A boundary: while any read inside is pending it shows its `fallback`, when one failed its `error` (with the error as `error`); stale values render, dimmed. The nearest boundary catches.",
@@ -217,6 +338,18 @@ export default {
217
338
  "not_downstream_of": [],
218
339
  "text_prop": null,
219
340
  "props": []
341
+ },
342
+ {
343
+ "name": "timeline",
344
+ "description": "The time slider of what the blok shows (the run of its task, or the history of its agents): dragging it shows the whole blok as it was at that moment. Shows nothing where the host has no clock. Without it the host shows its own slider beside the blok.",
345
+ "context": "HTML",
346
+ "children_context": null,
347
+ "inherits_context": false,
348
+ "accepts_children": false,
349
+ "downstream_of": [],
350
+ "not_downstream_of": [],
351
+ "text_prop": null,
352
+ "props": []
220
353
  }
221
354
  ]
222
355
  };
@@ -669,6 +669,16 @@
669
669
  "top"
670
670
  ]
671
671
  },
672
+ {
673
+ "key": "chrome",
674
+ "kind": "STRING",
675
+ "required": false,
676
+ "description": "What the host draws around the blok of its own: `auto` (the default) adds what the blok does not place (the time slider, the open ask, the rest of the argument form, its buttons); `none` adds nothing, the blok places what it wants.",
677
+ "values": [
678
+ "auto",
679
+ "none"
680
+ ]
681
+ },
672
682
  {
673
683
  "key": "grid",
674
684
  "kind": "BOOL",
@@ -715,6 +725,16 @@
715
725
  "top"
716
726
  ]
717
727
  },
728
+ {
729
+ "key": "chrome",
730
+ "kind": "STRING",
731
+ "required": false,
732
+ "description": "What the host draws around the blok of its own: `auto` (the default) adds what the blok does not place (the time slider, the open ask, the rest of the argument form, its buttons); `none` adds nothing, the blok places what it wants.",
733
+ "values": [
734
+ "auto",
735
+ "none"
736
+ ]
737
+ },
718
738
  {
719
739
  "key": "grid",
720
740
  "kind": "BOOL",
@@ -669,6 +669,16 @@ export default {
669
669
  "top"
670
670
  ]
671
671
  },
672
+ {
673
+ "key": "chrome",
674
+ "kind": "STRING",
675
+ "required": false,
676
+ "description": "What the host draws around the blok of its own: `auto` (the default) adds what the blok does not place (the time slider, the open ask, the rest of the argument form, its buttons); `none` adds nothing, the blok places what it wants.",
677
+ "values": [
678
+ "auto",
679
+ "none"
680
+ ]
681
+ },
672
682
  {
673
683
  "key": "grid",
674
684
  "kind": "BOOL",
@@ -715,6 +725,16 @@ export default {
715
725
  "top"
716
726
  ]
717
727
  },
728
+ {
729
+ "key": "chrome",
730
+ "kind": "STRING",
731
+ "required": false,
732
+ "description": "What the host draws around the blok of its own: `auto` (the default) adds what the blok does not place (the time slider, the open ask, the rest of the argument form, its buttons); `none` adds nothing, the blok places what it wants.",
733
+ "values": [
734
+ "auto",
735
+ "none"
736
+ ]
737
+ },
718
738
  {
719
739
  "key": "grid",
720
740
  "kind": "BOOL",
@@ -1253,6 +1253,86 @@
1253
1253
  }
1254
1254
  ]
1255
1255
  },
1256
+ {
1257
+ "name": "Combobox",
1258
+ "description": "A select with a search field: for a list too long to scan.",
1259
+ "context": "HTML",
1260
+ "children_context": null,
1261
+ "inherits_context": false,
1262
+ "accepts_children": false,
1263
+ "downstream_of": [],
1264
+ "not_downstream_of": [],
1265
+ "text_prop": null,
1266
+ "props": [
1267
+ {
1268
+ "key": "bind",
1269
+ "kind": "STRING",
1270
+ "required": false,
1271
+ "description": "Data-model path holding the picked value. It writes a STRING: the local is a STRING, ENUM or DATE port."
1272
+ },
1273
+ {
1274
+ "key": "className",
1275
+ "kind": "STRING",
1276
+ "required": false,
1277
+ "description": "Extra Tailwind classes appended to the element."
1278
+ },
1279
+ {
1280
+ "key": "defaultValue",
1281
+ "kind": "ANY",
1282
+ "required": false,
1283
+ "description": "Initial value."
1284
+ },
1285
+ {
1286
+ "key": "disabled",
1287
+ "kind": "BOOL",
1288
+ "required": false,
1289
+ "description": "Disables the control."
1290
+ },
1291
+ {
1292
+ "key": "emptyText",
1293
+ "kind": "ANY",
1294
+ "required": false,
1295
+ "description": "Shown when typing matches nothing."
1296
+ },
1297
+ {
1298
+ "key": "onChange",
1299
+ "kind": "CALLBACK",
1300
+ "required": false,
1301
+ "description": "Runs on selection. Arguments may read event.value.",
1302
+ "event": [
1303
+ {
1304
+ "key": "value",
1305
+ "kind": "STRING",
1306
+ "description": "The value picked."
1307
+ }
1308
+ ]
1309
+ },
1310
+ {
1311
+ "key": "options",
1312
+ "kind": "LIST",
1313
+ "required": false,
1314
+ "description": "What can be picked: strings, or `{value, label}` objects. Typing narrows them."
1315
+ },
1316
+ {
1317
+ "key": "placeholder",
1318
+ "kind": "ANY",
1319
+ "required": false,
1320
+ "description": "Shown while nothing is picked."
1321
+ },
1322
+ {
1323
+ "key": "searchPlaceholder",
1324
+ "kind": "ANY",
1325
+ "required": false,
1326
+ "description": "Shown in the search field."
1327
+ },
1328
+ {
1329
+ "key": "value",
1330
+ "kind": "ANY",
1331
+ "required": false,
1332
+ "description": "Controlled value."
1333
+ }
1334
+ ]
1335
+ },
1256
1336
  {
1257
1337
  "name": "ContextMenu",
1258
1338
  "description": "A menu opened by right-clicking its trigger.",
@@ -1612,6 +1692,68 @@
1612
1692
  }
1613
1693
  ]
1614
1694
  },
1695
+ {
1696
+ "name": "DatePicker",
1697
+ "description": "A button that opens a calendar and shows the date picked.",
1698
+ "context": "HTML",
1699
+ "children_context": null,
1700
+ "inherits_context": false,
1701
+ "accepts_children": false,
1702
+ "downstream_of": [],
1703
+ "not_downstream_of": [],
1704
+ "text_prop": null,
1705
+ "props": [
1706
+ {
1707
+ "key": "bind",
1708
+ "kind": "STRING",
1709
+ "required": false,
1710
+ "description": "Data-model path holding an ISO date string (YYYY-MM-DD). It writes a STRING: the local is a STRING, ENUM or DATE port."
1711
+ },
1712
+ {
1713
+ "key": "className",
1714
+ "kind": "STRING",
1715
+ "required": false,
1716
+ "description": "Extra Tailwind classes appended to the element."
1717
+ },
1718
+ {
1719
+ "key": "defaultValue",
1720
+ "kind": "ANY",
1721
+ "required": false,
1722
+ "description": "Initial ISO date."
1723
+ },
1724
+ {
1725
+ "key": "disabled",
1726
+ "kind": "BOOL",
1727
+ "required": false,
1728
+ "description": "Disables the control."
1729
+ },
1730
+ {
1731
+ "key": "onChange",
1732
+ "kind": "CALLBACK",
1733
+ "required": false,
1734
+ "description": "Runs on selection. Arguments may read event.value.",
1735
+ "event": [
1736
+ {
1737
+ "key": "value",
1738
+ "kind": "STRING",
1739
+ "description": "The date picked, as an ISO date (YYYY-MM-DD)."
1740
+ }
1741
+ ]
1742
+ },
1743
+ {
1744
+ "key": "placeholder",
1745
+ "kind": "ANY",
1746
+ "required": false,
1747
+ "description": "Shown while no date is picked."
1748
+ },
1749
+ {
1750
+ "key": "value",
1751
+ "kind": "ANY",
1752
+ "required": false,
1753
+ "description": "Controlled ISO date."
1754
+ }
1755
+ ]
1756
+ },
1615
1757
  {
1616
1758
  "name": "Drawer",
1617
1759
  "description": "A panel that slides up from the bottom edge.",