@almadar/std 3.2.0 → 3.2.2

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 (262) hide show
  1. package/behaviors/exports/atoms/std-async.orb +41 -24
  2. package/behaviors/exports/atoms/std-browse.orb +12 -5
  3. package/behaviors/exports/atoms/std-cache-aside.orb +256 -42
  4. package/behaviors/exports/atoms/std-circuit-breaker.orb +577 -97
  5. package/behaviors/exports/atoms/std-collision.orb +278 -206
  6. package/behaviors/exports/atoms/std-combat-log.orb +6 -1
  7. package/behaviors/exports/atoms/std-combat.orb +6 -1
  8. package/behaviors/exports/atoms/std-confirmation.orb +212 -7
  9. package/behaviors/exports/atoms/std-dialogue-box.orb +6 -1
  10. package/behaviors/exports/atoms/std-display.orb +166 -21
  11. package/behaviors/exports/atoms/std-drawer.orb +208 -104
  12. package/behaviors/exports/atoms/std-filter.orb +211 -18
  13. package/behaviors/exports/atoms/std-game-audio.orb +6 -1
  14. package/behaviors/exports/atoms/std-game-canvas2d.orb +6 -1
  15. package/behaviors/exports/atoms/std-game-canvas3d.orb +6 -1
  16. package/behaviors/exports/atoms/std-game-hud.orb +6 -1
  17. package/behaviors/exports/atoms/std-game-menu.orb +6 -1
  18. package/behaviors/exports/atoms/std-game-over-screen.orb +6 -1
  19. package/behaviors/exports/atoms/std-gameflow.orb +100 -5
  20. package/behaviors/exports/atoms/std-input.orb +142 -137
  21. package/behaviors/exports/atoms/std-inventory-panel.orb +6 -1
  22. package/behaviors/exports/atoms/std-isometric-canvas.orb +6 -1
  23. package/behaviors/exports/atoms/std-loading.orb +27 -76
  24. package/behaviors/exports/atoms/std-modal.orb +177 -93
  25. package/behaviors/exports/atoms/std-movement.orb +401 -31
  26. package/behaviors/exports/atoms/std-notification.orb +46 -95
  27. package/behaviors/exports/atoms/std-overworld.orb +44 -16
  28. package/behaviors/exports/atoms/std-pagination.orb +26 -89
  29. package/behaviors/exports/atoms/std-physics2d.orb +6 -1
  30. package/behaviors/exports/atoms/std-platformer-canvas.orb +6 -1
  31. package/behaviors/exports/atoms/std-quest.orb +309 -34
  32. package/behaviors/exports/atoms/std-rate-limiter.orb +410 -157
  33. package/behaviors/exports/atoms/std-score-board.orb +6 -1
  34. package/behaviors/exports/atoms/std-score.orb +211 -11
  35. package/behaviors/exports/atoms/std-search.orb +28 -27
  36. package/behaviors/exports/atoms/std-selection.orb +160 -121
  37. package/behaviors/exports/atoms/std-simulation-canvas.orb +6 -1
  38. package/behaviors/exports/atoms/std-sort.orb +134 -24
  39. package/behaviors/exports/atoms/std-sprite.orb +6 -1
  40. package/behaviors/exports/atoms/std-tabs.orb +25 -15
  41. package/behaviors/exports/atoms/std-timer.orb +483 -91
  42. package/behaviors/exports/atoms/std-undo.orb +211 -81
  43. package/behaviors/exports/atoms/std-wizard.orb +31 -34
  44. package/behaviors/exports/molecules/std-builder-game.orb +6 -1
  45. package/behaviors/exports/molecules/std-cart.orb +6 -1
  46. package/behaviors/exports/molecules/std-classifier-game.orb +6 -1
  47. package/behaviors/exports/molecules/std-debugger-game.orb +6 -1
  48. package/behaviors/exports/molecules/std-detail.orb +12 -5
  49. package/behaviors/exports/molecules/std-event-handler-game.orb +6 -1
  50. package/behaviors/exports/molecules/std-geospatial.orb +28 -9
  51. package/behaviors/exports/molecules/std-inventory.orb +28 -9
  52. package/behaviors/exports/molecules/std-list.orb +392 -5
  53. package/behaviors/exports/molecules/std-messaging.orb +12 -5
  54. package/behaviors/exports/molecules/std-negotiator-game.orb +6 -1
  55. package/behaviors/exports/molecules/std-platformer-game.orb +40 -1
  56. package/behaviors/exports/molecules/std-puzzle-game.orb +26 -1
  57. package/behaviors/exports/molecules/std-sequencer-game.orb +6 -1
  58. package/behaviors/exports/molecules/std-simulator-game.orb +6 -1
  59. package/behaviors/exports/molecules/std-turn-based-battle.orb +40 -1
  60. package/behaviors/exports/organisms/std-api-gateway.orb +1145 -403
  61. package/behaviors/exports/organisms/std-arcade-game.orb +214 -16
  62. package/behaviors/exports/organisms/std-booking-system.orb +2165 -1605
  63. package/behaviors/exports/organisms/std-cicd-pipeline.orb +581 -47
  64. package/behaviors/exports/organisms/std-cms.orb +1713 -947
  65. package/behaviors/exports/organisms/std-coding-academy.orb +180 -380
  66. package/behaviors/exports/organisms/std-crm.orb +1669 -1153
  67. package/behaviors/exports/organisms/std-devops-dashboard.orb +1430 -378
  68. package/behaviors/exports/organisms/std-ecommerce.orb +2361 -1601
  69. package/behaviors/exports/organisms/std-finance-tracker.orb +622 -438
  70. package/behaviors/exports/organisms/std-healthcare.orb +1687 -1125
  71. package/behaviors/exports/organisms/std-helpdesk.orb +626 -407
  72. package/behaviors/exports/organisms/std-hr-portal.orb +1309 -714
  73. package/behaviors/exports/organisms/std-iot-dashboard.orb +1247 -335
  74. package/behaviors/exports/organisms/std-lms.orb +658 -362
  75. package/behaviors/exports/organisms/std-platformer-app.orb +56 -8
  76. package/behaviors/exports/organisms/std-project-manager.orb +1697 -1183
  77. package/behaviors/exports/organisms/std-puzzle-app.orb +20 -0
  78. package/behaviors/exports/organisms/std-realtime-chat.orb +552 -28
  79. package/behaviors/exports/organisms/std-rpg-game.orb +397 -56
  80. package/behaviors/exports/organisms/std-social-feed.orb +12 -8
  81. package/behaviors/exports/organisms/std-stem-lab.orb +175 -290
  82. package/behaviors/exports/organisms/std-strategy-game.orb +252 -395
  83. package/behaviors/exports/organisms/std-trading-dashboard.orb +718 -524
  84. package/behaviors/exports/validation-report.json +747 -0
  85. package/behaviors/exports/verify-results.json +13 -0
  86. package/dist/behaviors/exports/atoms/std-async.orb +41 -24
  87. package/dist/behaviors/exports/atoms/std-browse.orb +12 -5
  88. package/dist/behaviors/exports/atoms/std-cache-aside.orb +256 -42
  89. package/dist/behaviors/exports/atoms/std-circuit-breaker.orb +577 -97
  90. package/dist/behaviors/exports/atoms/std-collision.orb +278 -206
  91. package/dist/behaviors/exports/atoms/std-combat-log.orb +6 -1
  92. package/dist/behaviors/exports/atoms/std-combat.orb +6 -1
  93. package/dist/behaviors/exports/atoms/std-confirmation.orb +212 -7
  94. package/dist/behaviors/exports/atoms/std-dialogue-box.orb +6 -1
  95. package/dist/behaviors/exports/atoms/std-display.orb +166 -21
  96. package/dist/behaviors/exports/atoms/std-drawer.orb +208 -104
  97. package/dist/behaviors/exports/atoms/std-filter.orb +211 -18
  98. package/dist/behaviors/exports/atoms/std-game-audio.orb +6 -1
  99. package/dist/behaviors/exports/atoms/std-game-canvas2d.orb +6 -1
  100. package/dist/behaviors/exports/atoms/std-game-canvas3d.orb +6 -1
  101. package/dist/behaviors/exports/atoms/std-game-hud.orb +6 -1
  102. package/dist/behaviors/exports/atoms/std-game-menu.orb +6 -1
  103. package/dist/behaviors/exports/atoms/std-game-over-screen.orb +6 -1
  104. package/dist/behaviors/exports/atoms/std-gameflow.orb +100 -5
  105. package/dist/behaviors/exports/atoms/std-input.orb +142 -137
  106. package/dist/behaviors/exports/atoms/std-inventory-panel.orb +6 -1
  107. package/dist/behaviors/exports/atoms/std-isometric-canvas.orb +6 -1
  108. package/dist/behaviors/exports/atoms/std-loading.orb +27 -76
  109. package/dist/behaviors/exports/atoms/std-modal.orb +177 -93
  110. package/dist/behaviors/exports/atoms/std-movement.orb +401 -31
  111. package/dist/behaviors/exports/atoms/std-notification.orb +46 -95
  112. package/dist/behaviors/exports/atoms/std-overworld.orb +44 -16
  113. package/dist/behaviors/exports/atoms/std-pagination.orb +26 -89
  114. package/dist/behaviors/exports/atoms/std-physics2d.orb +6 -1
  115. package/dist/behaviors/exports/atoms/std-platformer-canvas.orb +6 -1
  116. package/dist/behaviors/exports/atoms/std-quest.orb +309 -34
  117. package/dist/behaviors/exports/atoms/std-rate-limiter.orb +410 -157
  118. package/dist/behaviors/exports/atoms/std-score-board.orb +6 -1
  119. package/dist/behaviors/exports/atoms/std-score.orb +211 -11
  120. package/dist/behaviors/exports/atoms/std-search.orb +28 -27
  121. package/dist/behaviors/exports/atoms/std-selection.orb +160 -121
  122. package/dist/behaviors/exports/atoms/std-simulation-canvas.orb +6 -1
  123. package/dist/behaviors/exports/atoms/std-sort.orb +134 -24
  124. package/dist/behaviors/exports/atoms/std-sprite.orb +6 -1
  125. package/dist/behaviors/exports/atoms/std-tabs.orb +25 -15
  126. package/dist/behaviors/exports/atoms/std-timer.orb +483 -91
  127. package/dist/behaviors/exports/atoms/std-undo.orb +211 -81
  128. package/dist/behaviors/exports/atoms/std-wizard.orb +31 -34
  129. package/dist/behaviors/exports/molecules/std-builder-game.orb +6 -1
  130. package/dist/behaviors/exports/molecules/std-cart.orb +6 -1
  131. package/dist/behaviors/exports/molecules/std-classifier-game.orb +6 -1
  132. package/dist/behaviors/exports/molecules/std-debugger-game.orb +6 -1
  133. package/dist/behaviors/exports/molecules/std-detail.orb +12 -5
  134. package/dist/behaviors/exports/molecules/std-event-handler-game.orb +6 -1
  135. package/dist/behaviors/exports/molecules/std-geospatial.orb +28 -9
  136. package/dist/behaviors/exports/molecules/std-inventory.orb +28 -9
  137. package/dist/behaviors/exports/molecules/std-list.orb +392 -5
  138. package/dist/behaviors/exports/molecules/std-messaging.orb +12 -5
  139. package/dist/behaviors/exports/molecules/std-negotiator-game.orb +6 -1
  140. package/dist/behaviors/exports/molecules/std-platformer-game.orb +40 -1
  141. package/dist/behaviors/exports/molecules/std-puzzle-game.orb +26 -1
  142. package/dist/behaviors/exports/molecules/std-sequencer-game.orb +6 -1
  143. package/dist/behaviors/exports/molecules/std-simulator-game.orb +6 -1
  144. package/dist/behaviors/exports/molecules/std-turn-based-battle.orb +40 -1
  145. package/dist/behaviors/exports/organisms/std-api-gateway.orb +1145 -403
  146. package/dist/behaviors/exports/organisms/std-arcade-game.orb +214 -16
  147. package/dist/behaviors/exports/organisms/std-booking-system.orb +2165 -1605
  148. package/dist/behaviors/exports/organisms/std-cicd-pipeline.orb +581 -47
  149. package/dist/behaviors/exports/organisms/std-cms.orb +1713 -947
  150. package/dist/behaviors/exports/organisms/std-coding-academy.orb +180 -380
  151. package/dist/behaviors/exports/organisms/std-crm.orb +1669 -1153
  152. package/dist/behaviors/exports/organisms/std-devops-dashboard.orb +1430 -378
  153. package/dist/behaviors/exports/organisms/std-ecommerce.orb +2361 -1601
  154. package/dist/behaviors/exports/organisms/std-finance-tracker.orb +622 -438
  155. package/dist/behaviors/exports/organisms/std-healthcare.orb +1687 -1125
  156. package/dist/behaviors/exports/organisms/std-helpdesk.orb +626 -407
  157. package/dist/behaviors/exports/organisms/std-hr-portal.orb +1309 -714
  158. package/dist/behaviors/exports/organisms/std-iot-dashboard.orb +1247 -335
  159. package/dist/behaviors/exports/organisms/std-lms.orb +658 -362
  160. package/dist/behaviors/exports/organisms/std-platformer-app.orb +56 -8
  161. package/dist/behaviors/exports/organisms/std-project-manager.orb +1697 -1183
  162. package/dist/behaviors/exports/organisms/std-puzzle-app.orb +20 -0
  163. package/dist/behaviors/exports/organisms/std-realtime-chat.orb +552 -28
  164. package/dist/behaviors/exports/organisms/std-rpg-game.orb +397 -56
  165. package/dist/behaviors/exports/organisms/std-social-feed.orb +12 -8
  166. package/dist/behaviors/exports/organisms/std-stem-lab.orb +175 -290
  167. package/dist/behaviors/exports/organisms/std-strategy-game.orb +252 -395
  168. package/dist/behaviors/exports/organisms/std-trading-dashboard.orb +718 -524
  169. package/dist/behaviors/exports/validation-report.json +747 -0
  170. package/dist/behaviors/exports/verify-results.json +13 -0
  171. package/dist/behaviors/functions/index.js +715 -593
  172. package/dist/behaviors/functions/index.js.map +1 -1
  173. package/dist/behaviors/index.js +715 -593
  174. package/dist/behaviors/index.js.map +1 -1
  175. package/dist/exports/atoms/std-async.orb +41 -24
  176. package/dist/exports/atoms/std-browse.orb +12 -5
  177. package/dist/exports/atoms/std-cache-aside.orb +256 -42
  178. package/dist/exports/atoms/std-circuit-breaker.orb +577 -97
  179. package/dist/exports/atoms/std-collision.orb +278 -206
  180. package/dist/exports/atoms/std-combat-log.orb +6 -1
  181. package/dist/exports/atoms/std-combat.orb +6 -1
  182. package/dist/exports/atoms/std-confirmation.orb +212 -7
  183. package/dist/exports/atoms/std-dialogue-box.orb +6 -1
  184. package/dist/exports/atoms/std-display.orb +166 -21
  185. package/dist/exports/atoms/std-drawer.orb +208 -104
  186. package/dist/exports/atoms/std-filter.orb +211 -18
  187. package/dist/exports/atoms/std-game-audio.orb +6 -1
  188. package/dist/exports/atoms/std-game-canvas2d.orb +6 -1
  189. package/dist/exports/atoms/std-game-canvas3d.orb +6 -1
  190. package/dist/exports/atoms/std-game-hud.orb +6 -1
  191. package/dist/exports/atoms/std-game-menu.orb +6 -1
  192. package/dist/exports/atoms/std-game-over-screen.orb +6 -1
  193. package/dist/exports/atoms/std-gameflow.orb +100 -5
  194. package/dist/exports/atoms/std-input.orb +142 -137
  195. package/dist/exports/atoms/std-inventory-panel.orb +6 -1
  196. package/dist/exports/atoms/std-isometric-canvas.orb +6 -1
  197. package/dist/exports/atoms/std-loading.orb +27 -76
  198. package/dist/exports/atoms/std-modal.orb +177 -93
  199. package/dist/exports/atoms/std-movement.orb +401 -31
  200. package/dist/exports/atoms/std-notification.orb +46 -95
  201. package/dist/exports/atoms/std-overworld.orb +44 -16
  202. package/dist/exports/atoms/std-pagination.orb +26 -89
  203. package/dist/exports/atoms/std-physics2d.orb +6 -1
  204. package/dist/exports/atoms/std-platformer-canvas.orb +6 -1
  205. package/dist/exports/atoms/std-quest.orb +309 -34
  206. package/dist/exports/atoms/std-rate-limiter.orb +410 -157
  207. package/dist/exports/atoms/std-score-board.orb +6 -1
  208. package/dist/exports/atoms/std-score.orb +211 -11
  209. package/dist/exports/atoms/std-search.orb +28 -27
  210. package/dist/exports/atoms/std-selection.orb +160 -121
  211. package/dist/exports/atoms/std-simulation-canvas.orb +6 -1
  212. package/dist/exports/atoms/std-sort.orb +134 -24
  213. package/dist/exports/atoms/std-sprite.orb +6 -1
  214. package/dist/exports/atoms/std-tabs.orb +25 -15
  215. package/dist/exports/atoms/std-timer.orb +483 -91
  216. package/dist/exports/atoms/std-undo.orb +211 -81
  217. package/dist/exports/atoms/std-wizard.orb +31 -34
  218. package/dist/exports/molecules/std-builder-game.orb +6 -1
  219. package/dist/exports/molecules/std-cart.orb +6 -1
  220. package/dist/exports/molecules/std-classifier-game.orb +6 -1
  221. package/dist/exports/molecules/std-debugger-game.orb +6 -1
  222. package/dist/exports/molecules/std-detail.orb +12 -5
  223. package/dist/exports/molecules/std-event-handler-game.orb +6 -1
  224. package/dist/exports/molecules/std-geospatial.orb +28 -9
  225. package/dist/exports/molecules/std-inventory.orb +28 -9
  226. package/dist/exports/molecules/std-list.orb +392 -5
  227. package/dist/exports/molecules/std-messaging.orb +12 -5
  228. package/dist/exports/molecules/std-negotiator-game.orb +6 -1
  229. package/dist/exports/molecules/std-platformer-game.orb +40 -1
  230. package/dist/exports/molecules/std-puzzle-game.orb +26 -1
  231. package/dist/exports/molecules/std-sequencer-game.orb +6 -1
  232. package/dist/exports/molecules/std-simulator-game.orb +6 -1
  233. package/dist/exports/molecules/std-turn-based-battle.orb +40 -1
  234. package/dist/exports/organisms/std-api-gateway.orb +1145 -403
  235. package/dist/exports/organisms/std-arcade-game.orb +214 -16
  236. package/dist/exports/organisms/std-booking-system.orb +2165 -1605
  237. package/dist/exports/organisms/std-cicd-pipeline.orb +581 -47
  238. package/dist/exports/organisms/std-cms.orb +1713 -947
  239. package/dist/exports/organisms/std-coding-academy.orb +180 -380
  240. package/dist/exports/organisms/std-crm.orb +1669 -1153
  241. package/dist/exports/organisms/std-devops-dashboard.orb +1430 -378
  242. package/dist/exports/organisms/std-ecommerce.orb +2361 -1601
  243. package/dist/exports/organisms/std-finance-tracker.orb +622 -438
  244. package/dist/exports/organisms/std-healthcare.orb +1687 -1125
  245. package/dist/exports/organisms/std-helpdesk.orb +626 -407
  246. package/dist/exports/organisms/std-hr-portal.orb +1309 -714
  247. package/dist/exports/organisms/std-iot-dashboard.orb +1247 -335
  248. package/dist/exports/organisms/std-lms.orb +658 -362
  249. package/dist/exports/organisms/std-platformer-app.orb +56 -8
  250. package/dist/exports/organisms/std-project-manager.orb +1697 -1183
  251. package/dist/exports/organisms/std-puzzle-app.orb +20 -0
  252. package/dist/exports/organisms/std-realtime-chat.orb +552 -28
  253. package/dist/exports/organisms/std-rpg-game.orb +397 -56
  254. package/dist/exports/organisms/std-social-feed.orb +12 -8
  255. package/dist/exports/organisms/std-stem-lab.orb +175 -290
  256. package/dist/exports/organisms/std-strategy-game.orb +252 -395
  257. package/dist/exports/organisms/std-trading-dashboard.orb +718 -524
  258. package/dist/exports/validation-report.json +747 -0
  259. package/dist/exports/verify-results.json +13 -0
  260. package/dist/index.js +715 -593
  261. package/dist/index.js.map +1 -1
  262. package/package.json +1 -1
@@ -1,10 +1,10 @@
1
1
  {
2
- "name": "FormFieldOrbital",
2
+ "name": "TextInputOrbital",
3
3
  "orbitals": [
4
4
  {
5
- "name": "FormFieldOrbital",
5
+ "name": "TextInputOrbital",
6
6
  "entity": {
7
- "name": "FormField",
7
+ "name": "TextInput",
8
8
  "persistence": "runtime",
9
9
  "fields": [
10
10
  {
@@ -22,7 +22,12 @@
22
22
  {
23
23
  "name": "status",
24
24
  "type": "string",
25
- "default": "active"
25
+ "default": "active",
26
+ "values": [
27
+ "active",
28
+ "inactive",
29
+ "pending"
30
+ ]
26
31
  },
27
32
  {
28
33
  "name": "createdAt",
@@ -42,8 +47,8 @@
42
47
  },
43
48
  "traits": [
44
49
  {
45
- "name": "FormFieldInput",
46
- "linkedEntity": "FormField",
50
+ "name": "TextInputInput",
51
+ "linkedEntity": "TextInput",
47
52
  "category": "interaction",
48
53
  "stateMachine": {
49
54
  "states": [
@@ -114,7 +119,7 @@
114
119
  },
115
120
  {
116
121
  "type": "typography",
117
- "content": "FormField",
122
+ "content": "TextInput",
118
123
  "variant": "h2"
119
124
  }
120
125
  ]
@@ -123,27 +128,29 @@
123
128
  "type": "divider"
124
129
  },
125
130
  {
126
- "type": "stack",
127
- "direction": "vertical",
128
- "gap": "sm",
131
+ "type": "form-field",
132
+ "label": "TextInput",
133
+ "hint": "Type to enter a value.",
129
134
  "children": [
130
- {
131
- "type": "typography",
132
- "variant": "caption",
133
- "content": "FormField"
134
- },
135
135
  {
136
136
  "type": "input",
137
- "placeholder": "Enter formfield...",
137
+ "placeholder": "Enter textinput...",
138
138
  "event": "CHANGE"
139
- },
140
- {
141
- "type": "typography",
142
- "variant": "caption",
143
- "color": "muted",
144
- "content": "@entity.value"
145
139
  }
146
140
  ]
141
+ },
142
+ {
143
+ "type": "typography",
144
+ "variant": "caption",
145
+ "color": "muted",
146
+ "content": [
147
+ "object/get",
148
+ [
149
+ "array/first",
150
+ "@entity"
151
+ ],
152
+ "value"
153
+ ]
147
154
  }
148
155
  ]
149
156
  }
@@ -181,7 +188,7 @@
181
188
  },
182
189
  {
183
190
  "type": "typography",
184
- "content": "FormField",
191
+ "content": "TextInput",
185
192
  "variant": "h2"
186
193
  }
187
194
  ]
@@ -190,27 +197,29 @@
190
197
  "type": "divider"
191
198
  },
192
199
  {
193
- "type": "stack",
194
- "direction": "vertical",
195
- "gap": "sm",
200
+ "type": "form-field",
201
+ "label": "TextInput",
202
+ "hint": "Type to enter a value.",
196
203
  "children": [
197
- {
198
- "type": "typography",
199
- "variant": "caption",
200
- "content": "FormField"
201
- },
202
204
  {
203
205
  "type": "input",
204
- "placeholder": "Enter formfield...",
206
+ "placeholder": "Enter textinput...",
205
207
  "event": "CHANGE"
206
- },
207
- {
208
- "type": "typography",
209
- "variant": "caption",
210
- "color": "muted",
211
- "content": "@entity.value"
212
208
  }
213
209
  ]
210
+ },
211
+ {
212
+ "type": "typography",
213
+ "variant": "caption",
214
+ "color": "muted",
215
+ "content": [
216
+ "object/get",
217
+ [
218
+ "array/first",
219
+ "@entity"
220
+ ],
221
+ "value"
222
+ ]
214
223
  }
215
224
  ]
216
225
  }
@@ -248,7 +257,7 @@
248
257
  },
249
258
  {
250
259
  "type": "typography",
251
- "content": "FormField",
260
+ "content": "TextInput",
252
261
  "variant": "h2"
253
262
  }
254
263
  ]
@@ -257,27 +266,29 @@
257
266
  "type": "divider"
258
267
  },
259
268
  {
260
- "type": "stack",
261
- "direction": "vertical",
262
- "gap": "sm",
269
+ "type": "form-field",
270
+ "label": "TextInput",
271
+ "hint": "Type to enter a value.",
263
272
  "children": [
264
- {
265
- "type": "typography",
266
- "variant": "caption",
267
- "content": "FormField"
268
- },
269
273
  {
270
274
  "type": "input",
271
- "placeholder": "Enter formfield...",
275
+ "placeholder": "Enter textinput...",
272
276
  "event": "CHANGE"
273
- },
274
- {
275
- "type": "typography",
276
- "variant": "caption",
277
- "color": "muted",
278
- "content": "@entity.value"
279
277
  }
280
278
  ]
279
+ },
280
+ {
281
+ "type": "typography",
282
+ "variant": "caption",
283
+ "color": "muted",
284
+ "content": [
285
+ "object/get",
286
+ [
287
+ "array/first",
288
+ "@entity"
289
+ ],
290
+ "value"
291
+ ]
281
292
  }
282
293
  ]
283
294
  }
@@ -315,7 +326,7 @@
315
326
  },
316
327
  {
317
328
  "type": "typography",
318
- "content": "FormField",
329
+ "content": "TextInput",
319
330
  "variant": "h2"
320
331
  }
321
332
  ]
@@ -324,27 +335,29 @@
324
335
  "type": "divider"
325
336
  },
326
337
  {
327
- "type": "stack",
328
- "direction": "vertical",
329
- "gap": "sm",
338
+ "type": "form-field",
339
+ "label": "TextInput",
340
+ "hint": "Type to enter a value.",
330
341
  "children": [
331
- {
332
- "type": "typography",
333
- "variant": "caption",
334
- "content": "FormField"
335
- },
336
342
  {
337
343
  "type": "input",
338
- "placeholder": "Enter formfield...",
344
+ "placeholder": "Enter textinput...",
339
345
  "event": "CHANGE"
340
- },
341
- {
342
- "type": "typography",
343
- "variant": "caption",
344
- "color": "muted",
345
- "content": "@entity.value"
346
346
  }
347
347
  ]
348
+ },
349
+ {
350
+ "type": "typography",
351
+ "variant": "caption",
352
+ "color": "muted",
353
+ "content": [
354
+ "object/get",
355
+ [
356
+ "array/first",
357
+ "@entity"
358
+ ],
359
+ "value"
360
+ ]
348
361
  }
349
362
  ]
350
363
  }
@@ -382,7 +395,7 @@
382
395
  },
383
396
  {
384
397
  "type": "typography",
385
- "content": "FormField",
398
+ "content": "TextInput",
386
399
  "variant": "h2"
387
400
  }
388
401
  ]
@@ -391,27 +404,21 @@
391
404
  "type": "divider"
392
405
  },
393
406
  {
394
- "type": "stack",
395
- "direction": "vertical",
396
- "gap": "sm",
407
+ "type": "form-field",
408
+ "label": "TextInput",
409
+ "hint": "Validating...",
397
410
  "children": [
398
- {
399
- "type": "typography",
400
- "variant": "caption",
401
- "content": "FormField"
402
- },
403
411
  {
404
412
  "type": "input",
405
- "placeholder": "Enter formfield...",
413
+ "placeholder": "Enter textinput...",
406
414
  "event": "CHANGE"
407
- },
408
- {
409
- "type": "typography",
410
- "variant": "caption",
411
- "color": "muted",
412
- "content": "Validating..."
413
415
  }
414
416
  ]
417
+ },
418
+ {
419
+ "type": "alert",
420
+ "variant": "info",
421
+ "message": "Validating input..."
415
422
  }
416
423
  ]
417
424
  }
@@ -449,7 +456,7 @@
449
456
  },
450
457
  {
451
458
  "type": "typography",
452
- "content": "FormField",
459
+ "content": "TextInput",
453
460
  "variant": "h2"
454
461
  }
455
462
  ]
@@ -458,27 +465,29 @@
458
465
  "type": "divider"
459
466
  },
460
467
  {
461
- "type": "stack",
462
- "direction": "vertical",
463
- "gap": "sm",
468
+ "type": "form-field",
469
+ "label": "TextInput",
470
+ "hint": "Type to enter a value.",
464
471
  "children": [
465
- {
466
- "type": "typography",
467
- "variant": "caption",
468
- "content": "FormField"
469
- },
470
472
  {
471
473
  "type": "input",
472
- "placeholder": "Enter formfield...",
474
+ "placeholder": "Enter textinput...",
473
475
  "event": "CHANGE"
474
- },
475
- {
476
- "type": "typography",
477
- "variant": "caption",
478
- "color": "muted",
479
- "content": "@entity.value"
480
476
  }
481
477
  ]
478
+ },
479
+ {
480
+ "type": "typography",
481
+ "variant": "caption",
482
+ "color": "muted",
483
+ "content": [
484
+ "object/get",
485
+ [
486
+ "array/first",
487
+ "@entity"
488
+ ],
489
+ "value"
490
+ ]
482
491
  }
483
492
  ]
484
493
  }
@@ -511,7 +520,7 @@
511
520
  },
512
521
  {
513
522
  "type": "typography",
514
- "content": "FormField",
523
+ "content": "TextInput",
515
524
  "variant": "h2"
516
525
  }
517
526
  ]
@@ -520,27 +529,29 @@
520
529
  "type": "divider"
521
530
  },
522
531
  {
523
- "type": "stack",
524
- "direction": "vertical",
525
- "gap": "sm",
532
+ "type": "form-field",
533
+ "label": "TextInput",
534
+ "hint": "Type to enter a value.",
526
535
  "children": [
527
- {
528
- "type": "typography",
529
- "variant": "caption",
530
- "content": "FormField"
531
- },
532
536
  {
533
537
  "type": "input",
534
- "placeholder": "Enter formfield...",
538
+ "placeholder": "Enter textinput...",
535
539
  "event": "CHANGE"
536
- },
537
- {
538
- "type": "typography",
539
- "variant": "caption",
540
- "color": "muted",
541
- "content": "@entity.value"
542
540
  }
543
541
  ]
542
+ },
543
+ {
544
+ "type": "typography",
545
+ "variant": "caption",
546
+ "color": "muted",
547
+ "content": [
548
+ "object/get",
549
+ [
550
+ "array/first",
551
+ "@entity"
552
+ ],
553
+ "value"
554
+ ]
544
555
  }
545
556
  ]
546
557
  }
@@ -573,7 +584,7 @@
573
584
  },
574
585
  {
575
586
  "type": "typography",
576
- "content": "FormField",
587
+ "content": "TextInput",
577
588
  "variant": "h2"
578
589
  }
579
590
  ]
@@ -582,27 +593,21 @@
582
593
  "type": "divider"
583
594
  },
584
595
  {
585
- "type": "stack",
586
- "direction": "vertical",
587
- "gap": "sm",
596
+ "type": "form-field",
597
+ "label": "TextInput",
598
+ "hint": "Validating...",
588
599
  "children": [
589
- {
590
- "type": "typography",
591
- "variant": "caption",
592
- "content": "FormField"
593
- },
594
600
  {
595
601
  "type": "input",
596
- "placeholder": "Enter formfield...",
602
+ "placeholder": "Enter textinput...",
597
603
  "event": "CHANGE"
598
- },
599
- {
600
- "type": "typography",
601
- "variant": "caption",
602
- "color": "muted",
603
- "content": "Validating..."
604
604
  }
605
605
  ]
606
+ },
607
+ {
608
+ "type": "alert",
609
+ "variant": "info",
610
+ "message": "Validating input..."
606
611
  }
607
612
  ]
608
613
  }
@@ -615,11 +620,11 @@
615
620
  ],
616
621
  "pages": [
617
622
  {
618
- "name": "FormFieldInputPage",
619
- "path": "/formfields/input",
623
+ "name": "TextInputInputPage",
624
+ "path": "/textinputs/input",
620
625
  "traits": [
621
626
  {
622
- "ref": "FormFieldInput"
627
+ "ref": "TextInputInput"
623
628
  }
624
629
  ]
625
630
  }
@@ -22,7 +22,12 @@
22
22
  {
23
23
  "name": "status",
24
24
  "type": "string",
25
- "default": "active"
25
+ "default": "active",
26
+ "values": [
27
+ "active",
28
+ "inactive",
29
+ "pending"
30
+ ]
26
31
  },
27
32
  {
28
33
  "name": "createdAt",
@@ -22,7 +22,12 @@
22
22
  {
23
23
  "name": "status",
24
24
  "type": "string",
25
- "default": "active"
25
+ "default": "active",
26
+ "values": [
27
+ "active",
28
+ "inactive",
29
+ "pending"
30
+ ]
26
31
  },
27
32
  {
28
33
  "name": "createdAt",
@@ -22,7 +22,12 @@
22
22
  {
23
23
  "name": "status",
24
24
  "type": "string",
25
- "default": "active"
25
+ "default": "active",
26
+ "values": [
27
+ "active",
28
+ "inactive",
29
+ "pending"
30
+ ]
26
31
  },
27
32
  {
28
33
  "name": "createdAt",
@@ -157,35 +162,18 @@
157
162
  "align": "center",
158
163
  "children": [
159
164
  {
160
- "type": "stack",
161
- "direction": "horizontal",
162
- "gap": "sm",
163
- "align": "center",
164
- "children": [
165
- {
166
- "type": "icon",
167
- "name": "loader",
168
- "size": "lg"
169
- },
170
- {
171
- "type": "typography",
172
- "content": "Loading...",
173
- "variant": "h2"
174
- }
175
- ]
176
- },
177
- {
178
- "type": "divider"
165
+ "type": "loading-state",
166
+ "title": "Loading",
167
+ "message": "Loading loadableitem..."
179
168
  },
180
169
  {
181
170
  "type": "progress-bar",
182
- "value": 50
171
+ "value": 50,
172
+ "showPercentage": true
183
173
  },
184
174
  {
185
- "type": "typography",
186
- "variant": "caption",
187
- "color": "muted",
188
- "content": "Please wait while the operation completes."
175
+ "type": "skeleton",
176
+ "variant": "text"
189
177
  }
190
178
  ]
191
179
  }
@@ -233,9 +221,9 @@
233
221
  "type": "divider"
234
222
  },
235
223
  {
236
- "type": "typography",
237
- "variant": "body",
238
- "content": "Operation completed successfully."
224
+ "type": "alert",
225
+ "variant": "success",
226
+ "message": "Operation completed successfully."
239
227
  },
240
228
  {
241
229
  "type": "button",
@@ -269,30 +257,10 @@
269
257
  "align": "center",
270
258
  "children": [
271
259
  {
272
- "type": "stack",
273
- "direction": "horizontal",
274
- "gap": "md",
275
- "align": "center",
276
- "children": [
277
- {
278
- "type": "icon",
279
- "name": "alert-circle",
280
- "size": "lg"
281
- },
282
- {
283
- "type": "typography",
284
- "content": "Error",
285
- "variant": "h2"
286
- }
287
- ]
288
- },
289
- {
290
- "type": "divider"
291
- },
292
- {
293
- "type": "typography",
294
- "variant": "body",
295
- "content": "Something went wrong."
260
+ "type": "error-state",
261
+ "title": "Error",
262
+ "message": "Something went wrong. Please try again.",
263
+ "onRetry": "START"
296
264
  },
297
265
  {
298
266
  "type": "stack",
@@ -340,35 +308,18 @@
340
308
  "align": "center",
341
309
  "children": [
342
310
  {
343
- "type": "stack",
344
- "direction": "horizontal",
345
- "gap": "sm",
346
- "align": "center",
347
- "children": [
348
- {
349
- "type": "icon",
350
- "name": "loader",
351
- "size": "lg"
352
- },
353
- {
354
- "type": "typography",
355
- "content": "Loading...",
356
- "variant": "h2"
357
- }
358
- ]
359
- },
360
- {
361
- "type": "divider"
311
+ "type": "loading-state",
312
+ "title": "Loading",
313
+ "message": "Loading loadableitem..."
362
314
  },
363
315
  {
364
316
  "type": "progress-bar",
365
- "value": 50
317
+ "value": 50,
318
+ "showPercentage": true
366
319
  },
367
320
  {
368
- "type": "typography",
369
- "variant": "caption",
370
- "color": "muted",
371
- "content": "Please wait while the operation completes."
321
+ "type": "skeleton",
322
+ "variant": "text"
372
323
  }
373
324
  ]
374
325
  }