@origostudio/angular-renderer 0.0.40

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 (84) hide show
  1. package/CHANGELOG.md +424 -0
  2. package/README.md +11 -0
  3. package/package.json +25 -0
  4. package/src/adapters/web/adapter.d.ts +20 -0
  5. package/src/adapters/web/adapter.js +140 -0
  6. package/src/adapters/web/adapter.js.map +1 -0
  7. package/src/adapters/web/experience-adapter.service.d.ts +6 -0
  8. package/src/adapters/web/experience-adapter.service.js +44 -0
  9. package/src/adapters/web/experience-adapter.service.js.map +1 -0
  10. package/src/components/primitives/breadcrumbs/breadcrumbs.component.d.ts +27 -0
  11. package/src/components/primitives/breadcrumbs/breadcrumbs.component.js +77 -0
  12. package/src/components/primitives/breadcrumbs/breadcrumbs.component.js.map +1 -0
  13. package/src/components/primitives/button/button.component.d.ts +26 -0
  14. package/src/components/primitives/button/button.component.js +74 -0
  15. package/src/components/primitives/button/button.component.js.map +1 -0
  16. package/src/components/primitives/card/card.component.d.ts +27 -0
  17. package/src/components/primitives/card/card.component.js +77 -0
  18. package/src/components/primitives/card/card.component.js.map +1 -0
  19. package/src/components/primitives/checkbox/checkbox.component.d.ts +29 -0
  20. package/src/components/primitives/checkbox/checkbox.component.js +81 -0
  21. package/src/components/primitives/checkbox/checkbox.component.js.map +1 -0
  22. package/src/components/primitives/chip/chip.component.d.ts +22 -0
  23. package/src/components/primitives/chip/chip.component.js +79 -0
  24. package/src/components/primitives/chip/chip.component.js.map +1 -0
  25. package/src/components/primitives/data-grid/data-grid.component.d.ts +48 -0
  26. package/src/components/primitives/data-grid/data-grid.component.js +135 -0
  27. package/src/components/primitives/data-grid/data-grid.component.js.map +1 -0
  28. package/src/components/primitives/form-field/form-field.component.d.ts +30 -0
  29. package/src/components/primitives/form-field/form-field.component.js +81 -0
  30. package/src/components/primitives/form-field/form-field.component.js.map +1 -0
  31. package/src/components/primitives/hbox/hbox.component.d.ts +25 -0
  32. package/src/components/primitives/hbox/hbox.component.js +92 -0
  33. package/src/components/primitives/hbox/hbox.component.js.map +1 -0
  34. package/src/components/primitives/label/label.component.d.ts +23 -0
  35. package/src/components/primitives/label/label.component.js +62 -0
  36. package/src/components/primitives/label/label.component.js.map +1 -0
  37. package/src/components/primitives/list/list.component.d.ts +25 -0
  38. package/src/components/primitives/list/list.component.js +79 -0
  39. package/src/components/primitives/list/list.component.js.map +1 -0
  40. package/src/components/primitives/radio-group/radio-group.component.d.ts +35 -0
  41. package/src/components/primitives/radio-group/radio-group.component.js +86 -0
  42. package/src/components/primitives/radio-group/radio-group.component.js.map +1 -0
  43. package/src/components/primitives/select/select.component.d.ts +39 -0
  44. package/src/components/primitives/select/select.component.js +91 -0
  45. package/src/components/primitives/select/select.component.js.map +1 -0
  46. package/src/components/primitives/sidebar/sidebar.component.d.ts +37 -0
  47. package/src/components/primitives/sidebar/sidebar.component.js +106 -0
  48. package/src/components/primitives/sidebar/sidebar.component.js.map +1 -0
  49. package/src/components/primitives/switch/switch.component.d.ts +22 -0
  50. package/src/components/primitives/switch/switch.component.js +80 -0
  51. package/src/components/primitives/switch/switch.component.js.map +1 -0
  52. package/src/components/primitives/tabs/tabs.component.d.ts +34 -0
  53. package/src/components/primitives/tabs/tabs.component.js +124 -0
  54. package/src/components/primitives/tabs/tabs.component.js.map +1 -0
  55. package/src/components/primitives/text-input/text-input.component.d.ts +29 -0
  56. package/src/components/primitives/text-input/text-input.component.js +81 -0
  57. package/src/components/primitives/text-input/text-input.component.js.map +1 -0
  58. package/src/components/primitives/textarea/textarea.component.d.ts +36 -0
  59. package/src/components/primitives/textarea/textarea.component.js +91 -0
  60. package/src/components/primitives/textarea/textarea.component.js.map +1 -0
  61. package/src/components/primitives/vbox/vbox.component.d.ts +25 -0
  62. package/src/components/primitives/vbox/vbox.component.js +92 -0
  63. package/src/components/primitives/vbox/vbox.component.js.map +1 -0
  64. package/src/devtools/devtools-bridge.d.ts +34 -0
  65. package/src/devtools/devtools-bridge.js +146 -0
  66. package/src/devtools/devtools-bridge.js.map +1 -0
  67. package/src/devtools/index.d.ts +1 -0
  68. package/src/devtools/index.js +5 -0
  69. package/src/devtools/index.js.map +1 -0
  70. package/src/index.d.ts +23 -0
  71. package/src/index.js +27 -0
  72. package/src/index.js.map +1 -0
  73. package/src/lib/primitives.provider.d.ts +2 -0
  74. package/src/lib/primitives.provider.js +54 -0
  75. package/src/lib/primitives.provider.js.map +1 -0
  76. package/src/lib/renderer.component.d.ts +12 -0
  77. package/src/lib/renderer.component.js +114 -0
  78. package/src/lib/renderer.component.js.map +1 -0
  79. package/src/lib/renderer.tokens.d.ts +2 -0
  80. package/src/lib/renderer.tokens.js +10 -0
  81. package/src/lib/renderer.tokens.js.map +1 -0
  82. package/src/lib/theme.provider.d.ts +13 -0
  83. package/src/lib/theme.provider.js +77 -0
  84. package/src/lib/theme.provider.js.map +1 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,424 @@
1
+ ## 0.0.40 (2026-09-29)
2
+
3
+ ### 🚀 Features
4
+
5
+ - initialize packages, documentation site, and release workflow ([e0f7371](https://github.com/OrigoStudio/origo-design/commit/e0f7371))
6
+
7
+ ### ❤️ Thank You
8
+
9
+ - Hardik Patel @hardikpatelse
10
+
11
+ ## 0.0.39 (2026-09-29)
12
+
13
+ ### 🚀 Features
14
+
15
+ - add GitHub Actions release workflow and package configurations for core and angular-renderer ([d80abc7](https://github.com/OrigoStudio/origo-design/commit/d80abc7))
16
+
17
+ ### ❤️ Thank You
18
+
19
+ - Hardik Patel @hardikpatelse
20
+
21
+ ## 0.0.38 (2026-09-28)
22
+
23
+ ### 🚀 Features
24
+
25
+ - playwright component testing ([909c8de](https://github.com/OrigoStudio/origo-design/commit/909c8de))
26
+ - integrate Epic 9 primitives into playground application config and preview root component ([9775c0b](https://github.com/OrigoStudio/origo-design/commit/9775c0b))
27
+
28
+ ### ❤️ Thank You
29
+
30
+ - Hardik Patel @hardikpatelse
31
+
32
+ ## 0.0.37 (2026-09-24)
33
+
34
+ ### 🚀 Features
35
+
36
+ - implement switch and chip form primitives in angular-renderer ([2067756](https://github.com/OrigoStudio/origo-design/commit/2067756))
37
+
38
+ ### ❤️ Thank You
39
+
40
+ - Hardik Patel @hardikpatelse
41
+
42
+ ## 0.0.36 (2026-09-23)
43
+
44
+ ### 🚀 Features
45
+
46
+ - **angular-renderer:** add primitive UI components and their unit tests ([e2418b1](https://github.com/OrigoStudio/origo-design/commit/e2418b1))
47
+ - implement primitive UI components and accessibility tests for angular-renderer ([c584dad](https://github.com/OrigoStudio/origo-design/commit/c584dad))
48
+
49
+ ### ❤️ Thank You
50
+
51
+ - Hardik Patel @hardikpatelse
52
+
53
+ ## 0.0.35 (2026-09-22)
54
+
55
+ ### 🚀 Features
56
+
57
+ - add breadcrumbs, sidebar, and tabs primitive components with accessibility tests to angular-renderer ([a801763](https://github.com/OrigoStudio/origo-design/commit/a801763))
58
+
59
+ ### ❤️ Thank You
60
+
61
+ - Hardik Patel @hardikpatelse
62
+
63
+ ## 0.0.34 (2026-09-22)
64
+
65
+ ### 🚀 Features
66
+
67
+ - implement DataGrid, List, and Card data presentation primitives ([b057d31](https://github.com/OrigoStudio/origo-design/commit/b057d31))
68
+
69
+ ### ❤️ Thank You
70
+
71
+ - Hardik Patel @hardikpatelse
72
+
73
+ ## 0.0.33 (2026-09-21)
74
+
75
+ ### 🚀 Features
76
+
77
+ - **angular-renderer:** implement form layout primitive components and tokens ([576e23d](https://github.com/OrigoStudio/origo-design/commit/576e23d))
78
+ - add batch 1 form and layout primitive components and accessibility tests ([fb7cffb](https://github.com/OrigoStudio/origo-design/commit/fb7cffb))
79
+ - implement batch 1 form layout primitives in angular-renderer ([ac33ad6](https://github.com/OrigoStudio/origo-design/commit/ac33ad6))
80
+
81
+ ### ❤️ Thank You
82
+
83
+ - Hardik Patel @hardikpatelse
84
+
85
+ ## 0.0.32 (2026-09-19)
86
+
87
+ ### 🚀 Features
88
+
89
+ - add devtools bridge to angular renderer package ([26a2a2d](https://github.com/OrigoStudio/origo-design/commit/26a2a2d))
90
+ - implement strict test isolation guards, structured cloning, and update test setup configurations and registry artifacts ([a5e79e2](https://github.com/OrigoStudio/origo-design/commit/a5e79e2))
91
+
92
+ ### ❤️ Thank You
93
+
94
+ - Hardik Patel @hardikpatelse
95
+
96
+ ## 0.0.31 (2026-09-16)
97
+
98
+ ### 🚀 Features
99
+
100
+ - implement Origo DevTools inspector UI and angular-renderer bridge ([dedd240](https://github.com/OrigoStudio/origo-design/commit/dedd240))
101
+
102
+ ### ❤️ Thank You
103
+
104
+ - Hardik Patel @hardikpatelse
105
+
106
+ ## 0.0.30 (2026-09-15)
107
+
108
+ ### 🚀 Features
109
+
110
+ - add diagnostics API runtime hooks and devtools bridge ([cb49ce7](https://github.com/OrigoStudio/origo-design/commit/cb49ce7))
111
+ - implement diagnostics API runtime hooks and devtools bridge ([5cceec9](https://github.com/OrigoStudio/origo-design/commit/5cceec9))
112
+
113
+ ### ❤️ Thank You
114
+
115
+ - Hardik Patel @hardikpatelse
116
+
117
+ ## 0.0.29 (2026-09-14)
118
+
119
+ This was a version bump only for angular-renderer to align it with other projects, there were no code changes.
120
+
121
+ ## 0.0.28 (2026-09-14)
122
+
123
+ This was a version bump only for angular-renderer to align it with other projects, there were no code changes.
124
+
125
+ ## 0.0.27 (2026-09-09)
126
+
127
+ This was a version bump only for angular-renderer to align it with other projects, there were no code changes.
128
+
129
+ ## 0.0.26 (2026-09-08)
130
+
131
+ This was a version bump only for angular-renderer to align it with other projects, there were no code changes.
132
+
133
+ ## 0.0.25 (2026-09-07)
134
+
135
+ ### 🚀 Features
136
+
137
+ - initialize package.json files for cli, core, design-tokens, playground, and angular-renderer packages ([2dee8cc](https://github.com/OrigoStudio/origo-design/commit/2dee8cc))
138
+
139
+ ### ❤️ Thank You
140
+
141
+ - Hardik Patel @hardikpatelse
142
+
143
+ ## 0.0.24 (2026-09-07)
144
+
145
+ This was a version bump only for angular-renderer to align it with other projects, there were no code changes.
146
+
147
+ ## 0.0.23 (2026-09-07)
148
+
149
+ This was a version bump only for angular-renderer to align it with other projects, there were no code changes.
150
+
151
+ ## 0.0.22 (2026-09-04)
152
+
153
+ ### 🚀 Features
154
+
155
+ - scaffold playground application and e2e testing suite with initial editor component and schema registry ([f097894](https://github.com/OrigoStudio/origo-design/commit/f097894))
156
+ - add GitHub Actions workflow to automate library releases using Nx Release ([3d6651f](https://github.com/OrigoStudio/origo-design/commit/3d6651f))
157
+
158
+ ### ❤️ Thank You
159
+
160
+ - Hardik Patel @hardikpatelse
161
+
162
+ ## 0.0.21 (2026-09-02)
163
+
164
+ ### 🚀 Features
165
+
166
+ - add centralized test registry tool with validation logic, CI integration, and documentation artifacts ([384c1c7](https://github.com/OrigoStudio/origo-design/commit/384c1c7))
167
+ - implement central test registry with validation tools and CI integration ([02cf656](https://github.com/OrigoStudio/origo-design/commit/02cf656))
168
+ - initialize negative testing story and update sprint status tracking ([bbe5fdc](https://github.com/OrigoStudio/origo-design/commit/bbe5fdc))
169
+ - implement CLI framework with validation, testing, and CI/CD workflows ([ff6ce55](https://github.com/OrigoStudio/origo-design/commit/ff6ce55))
170
+ - implement validate command and schema validation logic for BADL files ([4f9e41d](https://github.com/OrigoStudio/origo-design/commit/4f9e41d))
171
+ - implement path traversal guards, remove process termination from library logic, and enable error cause preservation in @origo/cli ([0854f78](https://github.com/OrigoStudio/origo-design/commit/0854f78))
172
+ - initialize web-based editor component and track security remediation tasks in implementation artifacts ([65716bd](https://github.com/OrigoStudio/origo-design/commit/65716bd))
173
+ - document e2e npm verification plan for cli package releases ([22dab4c](https://github.com/OrigoStudio/origo-design/commit/22dab4c))
174
+ - initialize sprint status tracking and retrospective verification story for npm packaging ([c326751](https://github.com/OrigoStudio/origo-design/commit/c326751))
175
+ - add generated bundle for epic7-worker-csp spike ([16ca492](https://github.com/OrigoStudio/origo-design/commit/16ca492))
176
+ - add web worker CSP spike and associated implementation documentation ([ebf5aa4](https://github.com/OrigoStudio/origo-design/commit/ebf5aa4))
177
+ - implement web worker CSP spike with supporting documentation and harness tools ([f57b1e5](https://github.com/OrigoStudio/origo-design/commit/f57b1e5))
178
+ - add technical spike story for Epic 7 web worker CSP validation and ADR planning ([c977487](https://github.com/OrigoStudio/origo-design/commit/c977487))
179
+ - initialize sprint status tracking and create Epic 7 discovery research story ([b37b967](https://github.com/OrigoStudio/origo-design/commit/b37b967))
180
+ - implement entity generator command with template customization and ejection support ([02a3193](https://github.com/OrigoStudio/origo-design/commit/02a3193))
181
+ - implement entity generator command and template ejection logic in CLI ([d7d519a](https://github.com/OrigoStudio/origo-design/commit/d7d519a))
182
+ - implementation of 6-2-local-schema-validation ([45e67f6](https://github.com/OrigoStudio/origo-design/commit/45e67f6))
183
+
184
+ ### ❤️ Thank You
185
+
186
+ - Hardik Patel @hardikpatelse
187
+
188
+ ## 0.0.20 (2026-08-25)
189
+
190
+ ### 🚀 Features
191
+
192
+ - implementation of 6-1-cli-initialization-and-scaffolding ([f6aca9e](https://github.com/OrigoStudio/origo-design/commit/f6aca9e))
193
+
194
+ ### ❤️ Thank You
195
+
196
+ - Hardik Patel @hardikpatelse
197
+
198
+ ## 0.0.19 (2026-08-23)
199
+
200
+ ### 🚀 Features
201
+
202
+ - 5.5-5-define-secure-by-default-boilerplate-templates ([0eb6dde](https://github.com/OrigoStudio/origo-design/commit/0eb6dde))
203
+
204
+ ### ❤️ Thank You
205
+
206
+ - Hardik Patel @hardikpatelse
207
+
208
+ ## 0.0.18 (2026-08-23)
209
+
210
+ ### 🚀 Features
211
+
212
+ - 5.5-4-verify-core-compiler-source-map-preservation ([a3b0d9b](https://github.com/OrigoStudio/origo-design/commit/a3b0d9b))
213
+
214
+ ### 🩹 Fixes
215
+
216
+ - pipeline issue ([c1bbe47](https://github.com/OrigoStudio/origo-design/commit/c1bbe47))
217
+
218
+ ### ❤️ Thank You
219
+
220
+ - Hardik Patel @hardikpatelse
221
+
222
+ ## 0.0.17 (2026-08-21)
223
+
224
+ ### 🚀 Features
225
+
226
+ - 5.5-3-resolve-recursive-schema-resolution-tech-debt ([943e2e7](https://github.com/OrigoStudio/origo-design/commit/943e2e7))
227
+ - 5.5-2-establish-end-to-end-qa-protocols ([d8990ae](https://github.com/OrigoStudio/origo-design/commit/d8990ae))
228
+ - 5.5-2-establish-end-to-end-qa-protocols ([a31d97a](https://github.com/OrigoStudio/origo-design/commit/a31d97a))
229
+
230
+ ### ❤️ Thank You
231
+
232
+ - Hardik Patel @hardikpatelse
233
+
234
+ ## 0.0.16 (2026-08-21)
235
+
236
+ ### 🚀 Features
237
+
238
+ - 5.5-1-create-usability-quickstart-guide ([e740a1a](https://github.com/OrigoStudio/origo-design/commit/e740a1a))
239
+
240
+ ### ❤️ Thank You
241
+
242
+ - Hardik Patel @hardikpatelse
243
+
244
+ ## 0.0.15 (2026-08-20)
245
+
246
+ ### 🚀 Features
247
+
248
+ - code-review 5-5-reactive-state-event-binding ([b235951](https://github.com/OrigoStudio/origo-design/commit/b235951))
249
+ - implementation of 5-5-reactive-state-event-binding ([3a5948a](https://github.com/OrigoStudio/origo-design/commit/3a5948a))
250
+ - story creation 5-5-reactive-state-event-binding ([21104c6](https://github.com/OrigoStudio/origo-design/commit/21104c6))
251
+
252
+ ### ❤️ Thank You
253
+
254
+ - Hardik Patel @hardikpatelse
255
+
256
+ ## 0.0.14 (2026-08-19)
257
+
258
+ ### 🚀 Features
259
+
260
+ - 5-4-design-token-consumption ([c1f64ed](https://github.com/OrigoStudio/origo-design/commit/c1f64ed))
261
+ - add sprint status update and design token consumption story documentation ([49aec07](https://github.com/OrigoStudio/origo-design/commit/49aec07))
262
+
263
+ ### ❤️ Thank You
264
+
265
+ - Hardik Patel @hardikpatelse
266
+
267
+ ## 0.0.13 (2026-08-18)
268
+
269
+ ### 🚀 Features
270
+
271
+ - implement core primitives (Button, VBox, TextInput) with improved property coercion and accessibility support ([1be1def](https://github.com/OrigoStudio/origo-design/commit/1be1def))
272
+ - implement VBox, TextInput, and Button core primitives with accessibility testing and improved adapter coercion ([532417f](https://github.com/OrigoStudio/origo-design/commit/532417f))
273
+
274
+ ### ❤️ Thank You
275
+
276
+ - Hardik Patel @hardikpatelse
277
+
278
+ ## 0.0.12 (2026-08-17)
279
+
280
+ ### 🚀 Features
281
+
282
+ - implement InteractionContract-based OrigoAdapter and transition angular-renderer architecture to web adapter pattern ([1a8ea32](https://github.com/OrigoStudio/origo-design/commit/1a8ea32))
283
+
284
+ ### ❤️ Thank You
285
+
286
+ - Hardik Patel @hardikpatelse
287
+
288
+ ## 0.0.11 (2026-08-14)
289
+
290
+ ### 🚀 Features
291
+
292
+ - initialize changelogs and package manifests for core, design-tokens, and angular-renderer packages ([10455ec](https://github.com/OrigoStudio/origo-design/commit/10455ec))
293
+ - implement angular-renderer package with AST-based dynamic component instantiation and registry support ([500f396](https://github.com/OrigoStudio/origo-design/commit/500f396))
294
+
295
+ ### ❤️ Thank You
296
+
297
+ - Hardik Patel @hardikpatelse
298
+
299
+ ## 0.0.10 (2026-08-14)
300
+
301
+ ### 🚀 Features
302
+
303
+ - implement extension API scaffolding, define Angular signals patterns, and add renderer test utilities ([d2adbed](https://github.com/OrigoStudio/origo-design/commit/d2adbed))
304
+ - mark Epic 4 as complete and record its retrospective action items in sprint status ([37c2caa](https://github.com/OrigoStudio/origo-design/commit/37c2caa))
305
+
306
+ ### ❤️ Thank You
307
+
308
+ - Hardik Patel @hardikpatelse
309
+
310
+ ## 0.0.9 (2026-08-14)
311
+
312
+ ### 🚀 Features
313
+
314
+ - implement extension manager with manifest validation, permission security, and dependency resolution ([154b0d4](https://github.com/OrigoStudio/origo-design/commit/154b0d4))
315
+
316
+ ### ❤️ Thank You
317
+
318
+ - Hardik Patel @hardikpatelse
319
+
320
+ ## 0.0.8 (2026-08-14)
321
+
322
+ ### 🚀 Features
323
+
324
+ - implement formal extension manifest, capability negotiation, and lifecycle management in core extension-api ([808f113](https://github.com/OrigoStudio/origo-design/commit/808f113))
325
+
326
+ ### ❤️ Thank You
327
+
328
+ - Hardik Patel @hardikpatelse
329
+
330
+ ## 0.0.7 (2026-08-14)
331
+
332
+ ### 🚀 Features
333
+
334
+ - implement behavior validation test suite and expand AST validator test coverage ([d4c79ef](https://github.com/OrigoStudio/origo-design/commit/d4c79ef))
335
+ - register behavior validation suite story and update sprint status tracking ([798ec74](https://github.com/OrigoStudio/origo-design/commit/798ec74))
336
+
337
+ ### ❤️ Thank You
338
+
339
+ - Hardik Patel @hardikpatelse
340
+
341
+ ## 0.0.6 (2026-08-13)
342
+
343
+ ### 🚀 Features
344
+
345
+ - implement AST validation engine with support for circular dependency detection and reference integrity checks ([afd48c9](https://github.com/OrigoStudio/origo-design/commit/afd48c9))
346
+ - initialize sprint-status.yaml to track project development and retrospective action items ([66c6cdf](https://github.com/OrigoStudio/origo-design/commit/66c6cdf))
347
+
348
+ ### ❤️ Thank You
349
+
350
+ - Hardik Patel @hardikpatelse
351
+
352
+ ## 0.0.5 (2026-08-13)
353
+
354
+ ### 🚀 Features
355
+
356
+ - **core:** implement security and permissions engine ([d066d90](https://github.com/OrigoStudio/origo-design/commit/d066d90))
357
+ - add story 4.3 for security and permissions engine and update sprint status ([3eb4aae](https://github.com/OrigoStudio/origo-design/commit/3eb4aae))
358
+
359
+ ### ❤️ Thank You
360
+
361
+ - Hardik Patel @hardikpatelse
362
+
363
+ ## 0.0.4 (2026-08-13)
364
+
365
+ ### 🚀 Features
366
+
367
+ - implement semantic AST validator with domain, entity, and contract schema definitions ([e969466](https://github.com/OrigoStudio/origo-design/commit/e969466))
368
+ - update sprint status and initialize story 4-2 contracts and implementations documentation ([4b37c59](https://github.com/OrigoStudio/origo-design/commit/4b37c59))
369
+
370
+ ### ❤️ Thank You
371
+
372
+ - Hardik Patel @hardikpatelse
373
+
374
+ ## 0.0.3 (2026-08-13)
375
+
376
+ ### 🚀 Features
377
+
378
+ - 4-1-capabilities-schema-parsing ([869c872](https://github.com/OrigoStudio/origo-design/commit/869c872))
379
+
380
+ ### ❤️ Thank You
381
+
382
+ - Hardik Patel @hardikpatelse
383
+
384
+ ## 0.0.2 (2026-08-12)
385
+
386
+ ### 🚀 Features
387
+
388
+ - implement defensive AST validation with depth limiting, circular reference detection, and graceful error reporting ([d2f5f98](https://github.com/OrigoStudio/origo-design/commit/d2f5f98))
389
+ - initialize 3-5-3-defensive-ast-traversal story and update sprint status ([4f82702](https://github.com/OrigoStudio/origo-design/commit/4f82702))
390
+ - enforce JSON import standard and document AST validator ([162db09](https://github.com/OrigoStudio/origo-design/commit/162db09))
391
+ - implement automated semantic versioning with Nx release and commitlint enforcement ([5e7a25e](https://github.com/OrigoStudio/origo-design/commit/5e7a25e))
392
+ - implement AST validation engine and documentation for semantic versioning workflow ([838e472](https://github.com/OrigoStudio/origo-design/commit/838e472))
393
+ - implement AST validation engine and associated implementation artifacts ([49cbdf0](https://github.com/OrigoStudio/origo-design/commit/49cbdf0))
394
+ - implement deterministic canonical AST serialization and interfaces in @origo/core ([c35a2c9](https://github.com/OrigoStudio/origo-design/commit/c35a2c9))
395
+ - implement domain and entity schema parser with Ajv-based validation and circular dependency detection in new @origo/core package ([4165b5f](https://github.com/OrigoStudio/origo-design/commit/4165b5f))
396
+ - add design tokens documentation and update Starlight navigation configuration ([ba2404a](https://github.com/OrigoStudio/origo-design/commit/ba2404a))
397
+ - initialize Epic 3 planning and document Epic 2 retrospective findings ([4cc46f9](https://github.com/OrigoStudio/origo-design/commit/4cc46f9))
398
+ - implement runtime theme fetching, injection, and Angular renderer integration to complete the token resolution contract ([87f583e](https://github.com/OrigoStudio/origo-design/commit/87f583e))
399
+ - implement theme-fetcher runtime utility and create angular-renderer package with theme initialization provider ([1d5b7ab](https://github.com/OrigoStudio/origo-design/commit/1d5b7ab))
400
+ - implement secure theme injection with CSS token validation and scope management ([a708825](https://github.com/OrigoStudio/origo-design/commit/a708825))
401
+ - implement runtime theme injector for parsing and applying CSS variables ([969fed5](https://github.com/OrigoStudio/origo-design/commit/969fed5))
402
+ - add astro, @astrojs/starlight, and sharp dependencies to package.json ([1c40a92](https://github.com/OrigoStudio/origo-design/commit/1c40a92))
403
+ - implement design token compilation pipeline with CSS variable parsing and generation ([0ffe822](https://github.com/OrigoStudio/origo-design/commit/0ffe822))
404
+ - **nx-cloud:** setup nx cloud workspace ([ee09042](https://github.com/OrigoStudio/origo-design/commit/ee09042))
405
+ - **design-tokens:** implement css compilation pipeline ([7bd632d](https://github.com/OrigoStudio/origo-design/commit/7bd632d))
406
+ - add script to generate automated LLM review prompts from git diffs ([1ddbd39](https://github.com/OrigoStudio/origo-design/commit/1ddbd39))
407
+ - scaffold @origo/design-tokens package with JSON schema validation and Nx configuration ([ae61244](https://github.com/OrigoStudio/origo-design/commit/ae61244))
408
+ - scaffold @origo/design-tokens library with JSON schema validation and initial token definitions ([efbecc9](https://github.com/OrigoStudio/origo-design/commit/efbecc9))
409
+ - initialize Astro documentation site and relocate internal project scripts to the tools directory. ([1cd8e71](https://github.com/OrigoStudio/origo-design/commit/1cd8e71))
410
+ - add documentation story spec and update epic-1 status to done ([b612ea3](https://github.com/OrigoStudio/origo-design/commit/b612ea3))
411
+ - initialize and populate agent skill definitions, workflows, and technical knowledge resources ([8668c52](https://github.com/OrigoStudio/origo-design/commit/8668c52))
412
+ - initialize Starlight documentation site within the monorepo and add benchmark tools ([9a16b03](https://github.com/OrigoStudio/origo-design/commit/9a16b03))
413
+ - implement performance benchmark harness with regression and SLA gate logic ([350d472](https://github.com/OrigoStudio/origo-design/commit/350d472))
414
+ - implement performance benchmark harness with CI regression gating and SLA validation ([3230ac9](https://github.com/OrigoStudio/origo-design/commit/3230ac9))
415
+ - implement Husky pre-commit hooks and Nx-based lint-staged configuration ([9181885](https://github.com/OrigoStudio/origo-design/commit/9181885))
416
+ - add GitHub Actions CI workflow, Husky pre-commit hooks, and update package.json with necessary configuration ([95b8bf1](https://github.com/OrigoStudio/origo-design/commit/95b8bf1))
417
+ - configure Husky, lint-staged, and GitHub CI workflow for automated quality enforcement ([b6bf597](https://github.com/OrigoStudio/origo-design/commit/b6bf597))
418
+ - initialize Nx monorepo workspace with core configuration and tooling ([fd0665a](https://github.com/OrigoStudio/origo-design/commit/fd0665a))
419
+ - add sprint tracking artifacts and automation script for project bootstrapping ([ddc6149](https://github.com/OrigoStudio/origo-design/commit/ddc6149))
420
+ - document Origo Design functional requirements and architectural scope ([d1e0b7f](https://github.com/OrigoStudio/origo-design/commit/d1e0b7f))
421
+
422
+ ### ❤️ Thank You
423
+
424
+ - Hardik Patel @hardikpatelse
package/README.md ADDED
@@ -0,0 +1,11 @@
1
+ # angular-renderer
2
+
3
+ This library was generated with [Nx](https://nx.dev).
4
+
5
+ ## Building
6
+
7
+ Run `nx build angular-renderer` to build the library.
8
+
9
+ ## Running unit tests
10
+
11
+ Run `nx test angular-renderer` to execute the unit tests via [Jest](https://jestjs.io).
package/package.json ADDED
@@ -0,0 +1,25 @@
1
+ {
2
+ "name": "@origostudio/angular-renderer",
3
+ "version": "0.0.40",
4
+ "private": false,
5
+ "type": "commonjs",
6
+ "main": "./dist/index.js",
7
+ "types": "./dist/index.d.ts",
8
+ "dependencies": {
9
+ "@origostudio/core": "0.0.40",
10
+ "@origostudio/design-tokens": "0.0.40",
11
+ "tslib": "^2.3.0",
12
+ "@analogjs/vite-plugin-angular": "^2.7.1",
13
+ "zone.js": "^0.16.3",
14
+ "@axe-core/playwright": "^4.13.0"
15
+ },
16
+ "peerDependencies": {
17
+ "@angular/common": ">=18.0.0",
18
+ "@angular/core": ">=18.0.0",
19
+ "@angular/platform-browser": ">=18.0.0"
20
+ },
21
+ "repository": {
22
+ "type": "git",
23
+ "url": "https://github.com/OrigoStudio/origo-design.git"
24
+ }
25
+ }
@@ -0,0 +1,20 @@
1
+ import { ViewContainerRef, Signal, InputSignal } from '@angular/core';
2
+ import { ASTNode, InteractionContract } from '@origostudio/core';
3
+ export interface ContainerComponent {
4
+ viewContainerRef?: ViewContainerRef | Signal<ViewContainerRef>;
5
+ vc?: ViewContainerRef | Signal<ViewContainerRef>;
6
+ }
7
+ export interface OrigoAdapter<TProps = Record<string, unknown>> {
8
+ /**
9
+ * The core interaction contract driving this adapter.
10
+ */
11
+ contract: InputSignal<InteractionContract<TProps>>;
12
+ }
13
+ /**
14
+ * Validates and coerces runtime properties against a basic schema to ensure
15
+ * primitive components do not crash when given malformed BADL ast properties.
16
+ */
17
+ export declare function coerceContractProps<T>(props: unknown, schema?: Record<string, 'string' | 'number' | 'boolean' | 'array' | 'object'>, strict?: boolean): T;
18
+ export declare class AdapterPipelineService {
19
+ prepareNode(node: ASTNode, schema?: Record<string, 'string' | 'number' | 'boolean' | 'array' | 'object'>, strict?: boolean, visited?: Set<string>): InteractionContract;
20
+ }
@@ -0,0 +1,140 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AdapterPipelineService = void 0;
4
+ exports.coerceContractProps = coerceContractProps;
5
+ const tslib_1 = require("tslib");
6
+ const core_1 = require("@angular/core");
7
+ function deepClone(obj) {
8
+ if (obj === null || typeof obj !== 'object') {
9
+ return obj;
10
+ }
11
+ if (Array.isArray(obj)) {
12
+ return obj.map(item => deepClone(item));
13
+ }
14
+ const cloned = {};
15
+ const typedObj = obj;
16
+ for (const key in typedObj) {
17
+ if (Object.prototype.hasOwnProperty.call(typedObj, key)) {
18
+ cloned[key] = deepClone(typedObj[key]);
19
+ }
20
+ }
21
+ return cloned;
22
+ }
23
+ /**
24
+ * Validates and coerces runtime properties against a basic schema to ensure
25
+ * primitive components do not crash when given malformed BADL ast properties.
26
+ */
27
+ function coerceContractProps(props, schema, strict = false) {
28
+ if (!props || typeof props !== 'object' || Array.isArray(props)) {
29
+ return {};
30
+ }
31
+ const result = {};
32
+ const inputProps = props;
33
+ if (!schema) {
34
+ if (strict) {
35
+ throw new Error('strict mode requires a schema');
36
+ }
37
+ for (const [key, val] of Object.entries(inputProps)) {
38
+ result[key] = deepClone(val);
39
+ }
40
+ return result;
41
+ }
42
+ for (const [key, value] of Object.entries(inputProps)) {
43
+ if (key.startsWith('aria-') || key.startsWith('data-')) {
44
+ result[key] = deepClone(value);
45
+ continue;
46
+ }
47
+ if (!schema[key]) {
48
+ if (!strict) {
49
+ result[key] = deepClone(value);
50
+ }
51
+ continue;
52
+ }
53
+ const expectedType = schema[key];
54
+ if (value === undefined || value === null) {
55
+ continue;
56
+ }
57
+ if (expectedType === 'string') {
58
+ result[key] = String(value);
59
+ }
60
+ else if (expectedType === 'number') {
61
+ if (value === '' || typeof value === 'boolean') {
62
+ if (strict)
63
+ throw new Error(`Invalid number for prop '${key}'`);
64
+ continue;
65
+ }
66
+ const num = Number(value);
67
+ if (isNaN(num)) {
68
+ if (strict)
69
+ throw new Error(`Invalid number for prop '${key}': ${value}`);
70
+ }
71
+ else {
72
+ result[key] = num;
73
+ }
74
+ }
75
+ else if (expectedType === 'boolean') {
76
+ if (value === '') {
77
+ result[key] = true;
78
+ }
79
+ else if (typeof value === 'string') {
80
+ const lower = value.toLowerCase();
81
+ result[key] = !(lower === 'false' || lower === '0' || lower === 'off');
82
+ }
83
+ else {
84
+ result[key] = Boolean(value);
85
+ }
86
+ }
87
+ else if (expectedType === 'array') {
88
+ const arr = Array.isArray(value) ? value : [value];
89
+ result[key] = deepClone(arr);
90
+ }
91
+ else if (expectedType === 'object') {
92
+ if (Array.isArray(value)) {
93
+ if (strict)
94
+ throw new Error(`Invalid object for prop '${key}'`);
95
+ continue;
96
+ }
97
+ const obj = typeof value === 'object' && value !== null ? value : {};
98
+ result[key] = deepClone(obj);
99
+ }
100
+ else {
101
+ result[key] = deepClone(value);
102
+ }
103
+ }
104
+ return result;
105
+ }
106
+ let AdapterPipelineService = (() => {
107
+ let _classDecorators = [(0, core_1.Injectable)({ providedIn: 'root' })];
108
+ let _classDescriptor;
109
+ let _classExtraInitializers = [];
110
+ let _classThis;
111
+ var AdapterPipelineService = class {
112
+ static { _classThis = this; }
113
+ static {
114
+ const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(null) : void 0;
115
+ tslib_1.__esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
116
+ AdapterPipelineService = _classThis = _classDescriptor.value;
117
+ if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
118
+ tslib_1.__runInitializers(_classThis, _classExtraInitializers);
119
+ }
120
+ prepareNode(node, schema, strict = false, visited = new Set()) {
121
+ if (visited.has(node.id)) {
122
+ return { id: node.id, type: node.type, props: {} };
123
+ }
124
+ visited.add(node.id);
125
+ // Translate the raw Canonical ASTNode into a stateless InteractionContract
126
+ const contract = {
127
+ id: node.id,
128
+ type: node.type,
129
+ props: coerceContractProps(node.props, schema, strict),
130
+ };
131
+ if (node.children) {
132
+ contract.children = node.children.map(child => this.prepareNode(child, undefined, strict, visited));
133
+ }
134
+ return contract;
135
+ }
136
+ };
137
+ return AdapterPipelineService = _classThis;
138
+ })();
139
+ exports.AdapterPipelineService = AdapterPipelineService;
140
+ //# sourceMappingURL=adapter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"adapter.js","sourceRoot":"","sources":["../../../../../../packages/angular-renderer/src/adapters/web/adapter.ts"],"names":[],"mappings":";;;AAoCA,kDA8EC;;AAlHD,wCAAkF;AAelF,SAAS,SAAS,CAAI,GAAM;IAC1B,IAAI,GAAG,KAAK,IAAI,IAAI,OAAO,GAAG,KAAK,QAAQ,EAAE,CAAC;QAC5C,OAAO,GAAG,CAAC;IACb,CAAC;IACD,IAAI,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC;QACvB,OAAO,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,CAAiB,CAAC;IAC1D,CAAC;IACD,MAAM,MAAM,GAAG,EAA6B,CAAC;IAC7C,MAAM,QAAQ,GAAG,GAA8B,CAAC;IAChD,KAAK,MAAM,GAAG,IAAI,QAAQ,EAAE,CAAC;QAC3B,IAAI,M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AE,CAAC,EAAE,CAAC;gBACzB,OAAO,EAAE,EAAE,EAAE,IAAI,CAAC,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC;YACrD,CAAC;YACD,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;YAErB,2EAA2E;YAC3E,MAAM,QAAQ,GAAwB;gBACpC,EAAE,EAAE,IAAI,CAAC,EAAE;gBACX,IAAI,EAAE,IAAI,CAAC,IAAI;gBACf,KAAK,EAAE,mBAAmB,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC;aACvD,CAAC;YAEF,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;gBAClB,QAAQ,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAC5C,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CACpD,CAAC;YACJ,CAAC;YAED,OAAO,QAAQ,CAAC;QAClB,CAAC;;;;AA1BU,wDAAsB"}
@@ -0,0 +1,6 @@
1
+ export declare class WebExperienceAdapterService {
2
+ private _state;
3
+ getState(nodeId: string, property: string): unknown;
4
+ dispatchCapability(nodeId: string, actionName: string, payload?: unknown): void;
5
+ updateState(nodeId: string, property: string, value: unknown): void;
6
+ }