@orangelogic/myos-gen1 0.0.0-stage → 1.0.0-alpha.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.
- package/PROVENANCE.json +459 -0
- package/README.md +56 -2
- package/api-map.json +814 -0
- package/contracts/core-design-system-entries.json +39 -0
- package/contracts/dotnet/OrangeLogic.UiComponents.Contracts.csproj +10 -0
- package/contracts/dotnet/ReleaseContext.cs +42 -0
- package/contracts/dotnet/ReleaseEligibility.cs +165 -0
- package/contracts/dotnet/ReleasePolicy.cs +21 -0
- package/contracts/dotnet/StrictSemVersion.cs +90 -0
- package/contracts/dotnet/UnitUiStrings.cs +130 -0
- package/contracts/fixtures/eligibility.json +3003 -0
- package/contracts/fixtures/semver.json +42 -0
- package/contracts/release/3/README.md +35 -0
- package/contracts/release/3/channel-audience.json +1 -0
- package/contracts/release/3/manifest.schema.json +568 -0
- package/contracts/release/3/release.ts +58 -0
- package/contracts/release/3/semver.ts +75 -0
- package/contracts/slot/1/README.md +11 -0
- package/contracts/slot/1/slot.ts +2 -0
- package/contracts/unit/1/README.md +13 -0
- package/contracts/unit/1/unit-text.schema.json +252 -0
- package/contracts/unit/1/unit.ts +87 -0
- package/contracts/unit/2/README.md +15 -0
- package/contracts/unit/2/unit-text.schema.json +306 -0
- package/contracts/unit/2/unit.ts +219 -0
- package/dist/chunk-HGWP6ELB.js +262 -0
- package/dist/contracts/release.d.ts +137 -0
- package/dist/contracts/release.js +0 -0
- package/dist/contracts/semver.d.ts +20 -0
- package/dist/contracts/semver.js +73 -0
- package/dist/contracts/unit.d.ts +379 -0
- package/dist/contracts/unit.js +10 -0
- package/dist/runtime/context-menu.d.ts +7 -0
- package/dist/runtime/control-menu.d.ts +22 -0
- package/dist/runtime/controls-b.d.ts +15 -0
- package/dist/runtime/controls.d.ts +43 -0
- package/dist/runtime/extended-events.d.ts +10 -0
- package/dist/runtime/free-html.d.ts +8 -0
- package/dist/runtime/group-activation.d.ts +3 -0
- package/dist/runtime/host-hooks.d.ts +4 -0
- package/dist/runtime/index.css +70 -0
- package/dist/runtime/index.d.ts +5 -0
- package/dist/runtime/index.js +1978 -0
- package/dist/runtime/localization.d.ts +7 -0
- package/dist/runtime/media.d.ts +7 -0
- package/dist/runtime/mount.d.ts +10 -0
- package/dist/runtime/parameter-editor.d.ts +8 -0
- package/dist/runtime/rich-text-options.d.ts +4 -0
- package/dist/runtime/rich-text.d.ts +7 -0
- package/dist/runtime/tab-menu.d.ts +8 -0
- package/dist/runtime/table.d.ts +7 -0
- package/dist/runtime/unit-store.d.ts +16 -0
- package/dist/runtime/units.d.ts +15 -0
- package/dist/runtime/value-equality.d.ts +4 -0
- package/dist/runtime/web-components.d.ts +8 -0
- package/package.json +58 -4
- package/scripts/boundaries.mjs +197 -0
- package/scripts/build.mjs +43 -0
- package/scripts/components.mjs +61 -0
- package/scripts/demo.mjs +75 -0
- package/scripts/sync-gen1-contracts.mjs +78 -0
package/PROVENANCE.json
ADDED
|
@@ -0,0 +1,459 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"kind": "native-react-infrastructure",
|
|
4
|
+
"sourceRepository": "Cortex_React_Components",
|
|
5
|
+
"sourceCommit": "35c0905e91fb8d902ff1b32b7302f49a4afede1f",
|
|
6
|
+
"sourceLicense": "Private Orange Logic source; original notices retained; no new redistribution grant.",
|
|
7
|
+
"files": [
|
|
8
|
+
{
|
|
9
|
+
"sourcePath": "gen1/src/contracts/dotnet/OrangeLogic.UiComponents.Contracts.csproj",
|
|
10
|
+
"sha256": "f22864c5b7c8ee78dd3ad5d12477021f91225a2ef08304f97734d39294352f4d",
|
|
11
|
+
"disposition": "copied-or-adapted-here"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"sourcePath": "gen1/src/contracts/dotnet/ReleaseContext.cs",
|
|
15
|
+
"sha256": "fe9c4c003d9cb5cea4e3633ea53b87f883cfa6bd1f320907d17f8695385d1926",
|
|
16
|
+
"disposition": "copied-or-adapted-here"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"sourcePath": "gen1/src/contracts/dotnet/ReleaseEligibility.cs",
|
|
20
|
+
"sha256": "8ccc5c6c90b72a51087d87a451d9ffb1c809a914414cf720fdea026cbbee8b13",
|
|
21
|
+
"disposition": "copied-or-adapted-here"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"sourcePath": "gen1/src/contracts/dotnet/ReleasePolicy.cs",
|
|
25
|
+
"sha256": "44f1a3adbcc84e5f3c1d5ed27fb73367f86126dfeb23265dfe100e45113cab08",
|
|
26
|
+
"disposition": "copied-or-adapted-here"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"sourcePath": "gen1/src/contracts/dotnet/StrictSemVersion.cs",
|
|
30
|
+
"sha256": "69bc6f0137cb4d3dc92fb13ccc45fa3a6a950c35c98739e4356ed9533a02ab2f",
|
|
31
|
+
"disposition": "copied-or-adapted-here"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"sourcePath": "gen1/src/contracts/dotnet/UnitUiStrings.cs",
|
|
35
|
+
"sha256": "f12e42f688c4c88758a02ad4cfdaf946e4e6ceca73b95202c1e45e8d06db749f",
|
|
36
|
+
"disposition": "copied-or-adapted-here"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"sourcePath": "gen1/src/contracts/fixtures/eligibility.json",
|
|
40
|
+
"sha256": "111fc2974d0a4bf2cbe0a2e93664819ef2127e705fe0e3e967ffc0a94efd9c95",
|
|
41
|
+
"disposition": "copied-or-adapted-here"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"sourcePath": "gen1/src/contracts/fixtures/semver.json",
|
|
45
|
+
"sha256": "bd2fdc8d32f5b4fecbce66116c291f399a0b3525c64ceb3e08a7f1985022de45",
|
|
46
|
+
"disposition": "copied-or-adapted-here"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"sourcePath": "gen1/src/contracts/README.md",
|
|
50
|
+
"sha256": "5cef0b021f2d67148f8a09cff42f26da62106058cd89c4886ff69de510f41e1a",
|
|
51
|
+
"disposition": "copied-or-adapted-here"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"sourcePath": "gen1/src/contracts/release.ts",
|
|
55
|
+
"sha256": "6c4975a71277b85ad77dfe16ee124484cac6535f90d04e6c03564335afdfb19b",
|
|
56
|
+
"disposition": "copied-or-adapted-here"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"sourcePath": "gen1/src/contracts/schemas/release-manifest.schema.json",
|
|
60
|
+
"sha256": "a841246b7039444780aea2d96ecde171de914714cba37051320275b2ea52b683",
|
|
61
|
+
"disposition": "copied-or-adapted-here"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"sourcePath": "gen1/src/contracts/schemas/unit-text.schema.json",
|
|
65
|
+
"sha256": "1d21cba5aec5acdfd7d3bdd855cff4432bab571d04a63091fea28eae586425d5",
|
|
66
|
+
"disposition": "copied-or-adapted-here"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"sourcePath": "gen1/src/contracts/semver.test.ts",
|
|
70
|
+
"sha256": "813dc3973c3b8de0f3b180008eca6d1e31a53ead2e64f0202559cae3ad8e4e95",
|
|
71
|
+
"disposition": "copied-or-adapted-here"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"sourcePath": "gen1/src/contracts/semver.ts",
|
|
75
|
+
"sha256": "dd81d2a95c221a38013eb1034581f71b8a67b2a7a14c917d78321df13d501210",
|
|
76
|
+
"disposition": "copied-or-adapted-here"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"sourcePath": "gen1/src/contracts/tests/dotnet/Program.cs",
|
|
80
|
+
"sha256": "976dd98c0c0e2378c88da8de31fd1defa687002bdb62c139a65890b443ac58f0",
|
|
81
|
+
"disposition": "copied-or-adapted-here"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"sourcePath": "gen1/src/contracts/tests/dotnet/ReleaseEligibilityTests.cs",
|
|
85
|
+
"sha256": "242559062133343adfb7be9fa9f981132f457d71be4d08496cef12831b7ed84b",
|
|
86
|
+
"disposition": "copied-or-adapted-here"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"sourcePath": "gen1/src/contracts/tests/dotnet/SemVer.Conformance.csproj",
|
|
90
|
+
"sha256": "e48c957d992150065a8bf5809c15f6c1bd24dfd3817b7f1fd498e50ecf8d73ca",
|
|
91
|
+
"disposition": "copied-or-adapted-here"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"sourcePath": "gen1/src/contracts/tests/release.test.ts",
|
|
95
|
+
"sha256": "d37e74f1282fe1de117ea70b2d867470c3ec1ff356fb176998f4936393671cc5",
|
|
96
|
+
"disposition": "copied-or-adapted-here"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"sourcePath": "gen1/src/contracts/tests/unit.typecheck.ts",
|
|
100
|
+
"sha256": "6bf09a9550f6ca31b9223a4000c7e7830298bea75c7d4ca64d03c90365d0db98",
|
|
101
|
+
"disposition": "copied-or-adapted-here"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"sourcePath": "gen1/src/contracts/unit.ts",
|
|
105
|
+
"sha256": "0ccf553e3861c2d7aac320618f0c367c87a2bd74018055bd36acdd77cfa6e9f6",
|
|
106
|
+
"disposition": "copied-or-adapted-here"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"sourcePath": "gen1/src/runtime/anchor.test.tsx",
|
|
110
|
+
"sha256": "4cf8933d658ae87f068483c1663589c39087b34f42b098a4c5c61ba5d1a37a38",
|
|
111
|
+
"disposition": "copied-or-adapted-here"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"sourcePath": "gen1/src/runtime/context-menu.tsx",
|
|
115
|
+
"sha256": "c469c997491c2f428cd20a4904de9df62ce3e4ff8504acaa4423da713c588ac6",
|
|
116
|
+
"disposition": "copied-or-adapted-here"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"sourcePath": "gen1/src/runtime/control-menu.tsx",
|
|
120
|
+
"sha256": "3628a1cd8e32c8cd4907cd5dc679a08f3e4e6be6620edece863249557871368e",
|
|
121
|
+
"disposition": "copied-or-adapted-here"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"sourcePath": "gen1/src/runtime/controls-a.test.tsx",
|
|
125
|
+
"sha256": "6439eafa74eeae663b1edd5e1a889aa5388ce4b5416129de373da83d7b97079b",
|
|
126
|
+
"disposition": "copied-or-adapted-here"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"sourcePath": "gen1/src/runtime/controls-b.test.tsx",
|
|
130
|
+
"sha256": "cd0cf741aa30e73d060d953046fe28d481487997717f976bf382e60d103c072a",
|
|
131
|
+
"disposition": "copied-or-adapted-here"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"sourcePath": "gen1/src/runtime/controls-b.tsx",
|
|
135
|
+
"sha256": "e9435172f8a2e82c9ca019707d9ffcaf9a20e763cc03ee4c27588192ffc60728",
|
|
136
|
+
"disposition": "copied-or-adapted-here"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"sourcePath": "gen1/src/runtime/controls.tsx",
|
|
140
|
+
"sha256": "b57e0582502365db1201b252279a3de418ebb284fa06e3ee9b25e6ac3d937e3d",
|
|
141
|
+
"disposition": "copied-or-adapted-here"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"sourcePath": "gen1/src/runtime/date-input.test.tsx",
|
|
145
|
+
"sha256": "dd6d984d0b87b41a2e855e0cd925ec9aa79c53b8b2c46fd627ee58f1e709f9c1",
|
|
146
|
+
"disposition": "copied-or-adapted-here"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"sourcePath": "gen1/src/runtime/events.test.tsx",
|
|
150
|
+
"sha256": "1b9bfa3172d6b40c9c93a6117ae5497f715b001b0a8a5276d1d3f6a611a1ba80",
|
|
151
|
+
"disposition": "copied-or-adapted-here"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"sourcePath": "gen1/src/runtime/extended-events.test.tsx",
|
|
155
|
+
"sha256": "4a2325fe4b2b3e633b6801b9687867701a174077bbc3b4ebd6962d4384eed14d",
|
|
156
|
+
"disposition": "copied-or-adapted-here"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"sourcePath": "gen1/src/runtime/extended-events.tsx",
|
|
160
|
+
"sha256": "371b57f2f1738d764af386fd451f2253b9a4bcbeb29588a02834fd752ea5594e",
|
|
161
|
+
"disposition": "copied-or-adapted-here"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"sourcePath": "gen1/src/runtime/free-html.test.tsx",
|
|
165
|
+
"sha256": "e2db0e74657a44f836e20c2dc1493e47e347f7fc0899bab8debacb597ce42b10",
|
|
166
|
+
"disposition": "copied-or-adapted-here"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"sourcePath": "gen1/src/runtime/free-html.tsx",
|
|
170
|
+
"sha256": "f4d5ed3dbc46f33e58bf9c10a7535e56f0ba31adf578d906151a863502f6c9b2",
|
|
171
|
+
"disposition": "copied-or-adapted-here"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"sourcePath": "gen1/src/runtime/group-activation.ts",
|
|
175
|
+
"sha256": "1f79d6ba7c14dc8740935feed005e751d1e0c267f6aa19942bdddd5963101951",
|
|
176
|
+
"disposition": "copied-or-adapted-here"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"sourcePath": "gen1/src/runtime/host-hooks.ts",
|
|
180
|
+
"sha256": "7c95c54302c742f6ef61aacbd65ec7dc83fbd395a8c94a45673650b66b0e74d7",
|
|
181
|
+
"disposition": "copied-or-adapted-here"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"sourcePath": "gen1/src/runtime/index.ts",
|
|
185
|
+
"sha256": "efe7e15e3a5a3d45cce92ac38db2e4d304bf0b3cbb812715d6cc639b5b14faca",
|
|
186
|
+
"disposition": "copied-or-adapted-here"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"sourcePath": "gen1/src/runtime/localization.test.tsx",
|
|
190
|
+
"sha256": "5b19aef91065c90deffaf8a294f11d60b4d4679228701f35959c24d485b990d1",
|
|
191
|
+
"disposition": "copied-or-adapted-here"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"sourcePath": "gen1/src/runtime/localization.tsx",
|
|
195
|
+
"sha256": "77f323789f25ff6ba266ceaea7f3605e24d2f027da5715fb4ab17e9fadaaaefd",
|
|
196
|
+
"disposition": "copied-or-adapted-here"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"sourcePath": "gen1/src/runtime/media.test.tsx",
|
|
200
|
+
"sha256": "377533953dc5fb5cdbed63fe3c86e6da32d75af6078279dfb7c8239cde37a8d0",
|
|
201
|
+
"disposition": "copied-or-adapted-here"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"sourcePath": "gen1/src/runtime/media.tsx",
|
|
205
|
+
"sha256": "ffce4fe1c2a487df68cf7121544eb39422781bc61bc8facfeef52b22c9b7176c",
|
|
206
|
+
"disposition": "copied-or-adapted-here"
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"sourcePath": "gen1/src/runtime/memoization.test.tsx",
|
|
210
|
+
"sha256": "a35d8fb07d816854cbfff06ac419b39dc295698bf979422ee034c8d78d641a87",
|
|
211
|
+
"disposition": "copied-or-adapted-here"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"sourcePath": "gen1/src/runtime/mount.tsx",
|
|
215
|
+
"sha256": "1fe312e5ae6c67ad740efe1044ada31e619bfdd6adeca24aa631fe7764cc3af9",
|
|
216
|
+
"disposition": "copied-or-adapted-here"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"sourcePath": "gen1/src/runtime/multi-autocomplete.test.tsx",
|
|
220
|
+
"sha256": "9480480f588006df265ed8007b4aec9c8202defb1225c5ee245f2d9fab9dc580",
|
|
221
|
+
"disposition": "copied-or-adapted-here"
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"sourcePath": "gen1/src/runtime/panel-layout.test.tsx",
|
|
225
|
+
"sha256": "a6083ba2077e15dbb4a98ddd8cebf001f448df84f9b2af02656868ea32cc357e",
|
|
226
|
+
"disposition": "copied-or-adapted-here"
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"sourcePath": "gen1/src/runtime/parameter-editor.tsx",
|
|
230
|
+
"sha256": "f21ee60882d9b2c1d7a254510f4485eafdab3ec4604fe9f1c2ae4aca99a8c6d9",
|
|
231
|
+
"disposition": "copied-or-adapted-here"
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"sourcePath": "gen1/src/runtime/primitive-bindings.test.tsx",
|
|
235
|
+
"sha256": "34114175a3232a502786ca3bac5dcf8eb1f68c41d7dccb4e10ec47edbfcfc2e8",
|
|
236
|
+
"disposition": "copied-or-adapted-here"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"sourcePath": "gen1/src/runtime/README.md",
|
|
240
|
+
"sha256": "f5562be59358a180dc65b7dd41aef5844093b5ab8dfcf5d7116800f6677e0bbc",
|
|
241
|
+
"disposition": "copied-or-adapted-here"
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"sourcePath": "gen1/src/runtime/rich-text-options.test.ts",
|
|
245
|
+
"sha256": "890ff00c7d5dcaf62c95d004208ff5605ada040eb2c6057e0a9b38bc2568e949",
|
|
246
|
+
"disposition": "copied-or-adapted-here"
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"sourcePath": "gen1/src/runtime/rich-text-options.ts",
|
|
250
|
+
"sha256": "86b1c50ab9f420ad5139355a1f939804a9db59d27704e0879e51c2f3b45afaa5",
|
|
251
|
+
"disposition": "copied-or-adapted-here"
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"sourcePath": "gen1/src/runtime/rich-text.test.tsx",
|
|
255
|
+
"sha256": "4864cf825380e47affa4a6a119174e5e70d29561bbf19dd76c99a8136e885ec9",
|
|
256
|
+
"disposition": "copied-or-adapted-here"
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"sourcePath": "gen1/src/runtime/rich-text.tsx",
|
|
260
|
+
"sha256": "500f3b7aefb3ab609683e02123a309e87622a0a06d674dfeaef88f0427fa4de8",
|
|
261
|
+
"disposition": "copied-or-adapted-here"
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"sourcePath": "gen1/src/runtime/styles.css",
|
|
265
|
+
"sha256": "fbae575f8922b7531fb801d16c8e1bc6fb4a65b853f7cd22753dc18eb8ad9937",
|
|
266
|
+
"disposition": "copied-or-adapted-here"
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"sourcePath": "gen1/src/runtime/tab-menu.tsx",
|
|
270
|
+
"sha256": "2050415293cbe55714c4ff499f12554553e828599995ed2ab4a32837320543b3",
|
|
271
|
+
"disposition": "copied-or-adapted-here"
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"sourcePath": "gen1/src/runtime/table.test.tsx",
|
|
275
|
+
"sha256": "50541c42d700a2f403214590b579842c74e26a6e75da5411ed80628acef61253",
|
|
276
|
+
"disposition": "copied-or-adapted-here"
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"sourcePath": "gen1/src/runtime/table.tsx",
|
|
280
|
+
"sha256": "3bf581a4c8c2209e22d45f47bfa09df75babcfe8ce2ea830371d32928dc2711b",
|
|
281
|
+
"disposition": "copied-or-adapted-here"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"sourcePath": "gen1/src/runtime/unit-store.ts",
|
|
285
|
+
"sha256": "32bfd5dcd4eafbbbe0d26c6a1fed232fff4bf2d2038055d44b77ddd6c0ab95b9",
|
|
286
|
+
"disposition": "copied-or-adapted-here"
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"sourcePath": "gen1/src/runtime/units.tsx",
|
|
290
|
+
"sha256": "edc7c3ad80cf4fa110c31ccdaa1fada1057cc83e61221f3bd42cffc8faa15c02",
|
|
291
|
+
"disposition": "copied-or-adapted-here"
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"sourcePath": "gen1/src/runtime/value-equality.ts",
|
|
295
|
+
"sha256": "6be7dcdc2b1b4d6305a44dd287128498ba9803e5215843fe050ef59d0b2c10f3",
|
|
296
|
+
"disposition": "copied-or-adapted-here"
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"sourcePath": "gen1/src/runtime/web-components.test.tsx",
|
|
300
|
+
"sha256": "3fde1642b4d273da377b81d7a5bb4d67388b3cca9230b644b52561552e066d81",
|
|
301
|
+
"disposition": "copied-or-adapted-here"
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"sourcePath": "gen1/src/runtime/web-components.tsx",
|
|
305
|
+
"sha256": "fc316c8ca487af9f86413f47445ec2ad2469481968263cc904a2abca6e954c84",
|
|
306
|
+
"disposition": "copied-or-adapted-here"
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
"sourcePath": "gen1/scripts/boundaries.mjs",
|
|
310
|
+
"sha256": "38f0e9a9508704b0b84406d424289e1cc9cd8420dd91d01277c9bb04ea1d4f8f",
|
|
311
|
+
"disposition": "copied-or-adapted-here"
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"sourcePath": "gen1/scripts/build.mjs",
|
|
315
|
+
"sha256": "af9108226016198cb1507b5e387c3ff20521332d7bebf2fc587f435217d597ba",
|
|
316
|
+
"disposition": "copied-or-adapted-here"
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"sourcePath": "gen1/scripts/check.mjs",
|
|
320
|
+
"sha256": "a59220ceaebf69f76eb5100e290c57e882885c93fd779b67896aab2538a71e5e",
|
|
321
|
+
"disposition": "retained-in-components-repository"
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
"sourcePath": "gen1/scripts/components.mjs",
|
|
325
|
+
"sha256": "44d7b107555a80fdb69df166dd83c2d321757075de0c872357e90b821db44f27",
|
|
326
|
+
"disposition": "copied-or-adapted-here"
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
"sourcePath": "gen1/scripts/demo.mjs",
|
|
330
|
+
"sha256": "460a62820ec589fd391579cc9bb2f34812372aa846bc909f55b7035e435efd2c",
|
|
331
|
+
"disposition": "copied-or-adapted-here"
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
"sourcePath": "gen1/scripts/dev-fonts.mjs",
|
|
335
|
+
"sha256": "610ee723c159f0d2efef0c6e753c4747b277e94eca2e8beeb7d5dba4646a36ba",
|
|
336
|
+
"disposition": "retained-in-components-repository"
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"sourcePath": "gen1/scripts/dev.mjs",
|
|
340
|
+
"sha256": "77123e800f0640a4616777da378ff0a870a2c6f43ec125457424f911084ba4f6",
|
|
341
|
+
"disposition": "retained-in-components-repository"
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
"sourcePath": "gen1/scripts/publish.mjs",
|
|
345
|
+
"sha256": "7a49eb2b7b3238053a85242bb81581917b376663f064b6ef0112d807445c3a5b",
|
|
346
|
+
"disposition": "retained-in-components-repository"
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
"sourcePath": "gen1/scripts/release-manifest.mjs",
|
|
350
|
+
"sha256": "2fb10adcfffd45650713abc5bbfbd6551620288863c816825fe27469991d0d27",
|
|
351
|
+
"disposition": "retained-in-components-repository"
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
"sourcePath": "contracts/gen1/demo/2/demo.ts",
|
|
355
|
+
"sha256": "8a0180c8c3ad5d40f34d9562baa416346ecc057ec907d89c04a39aaea965e137",
|
|
356
|
+
"disposition": "retained-in-components-repository"
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
"sourcePath": "contracts/gen1/demo/2/README.md",
|
|
360
|
+
"sha256": "744237244eb38dee6b3fa5b9e042765ae9d411d052bb1a3abd53fa0423f91ab0",
|
|
361
|
+
"disposition": "retained-in-components-repository"
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"sourcePath": "contracts/gen1/release/3/channel-audience.json",
|
|
365
|
+
"sha256": "33bc0722d100671d54d1aba94081fb8acca9098c966a8393f63d3247dafa926b",
|
|
366
|
+
"disposition": "copied-or-adapted-here"
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
"sourcePath": "contracts/gen1/release/3/manifest.schema.json",
|
|
370
|
+
"sha256": "a841246b7039444780aea2d96ecde171de914714cba37051320275b2ea52b683",
|
|
371
|
+
"disposition": "copied-or-adapted-here"
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
"sourcePath": "contracts/gen1/release/3/README.md",
|
|
375
|
+
"sha256": "91f186bac672947ca8228d5ef690b20935cde77b016f245bceeae1301474002d",
|
|
376
|
+
"disposition": "copied-or-adapted-here"
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"sourcePath": "contracts/gen1/release/3/release.ts",
|
|
380
|
+
"sha256": "6c4975a71277b85ad77dfe16ee124484cac6535f90d04e6c03564335afdfb19b",
|
|
381
|
+
"disposition": "copied-or-adapted-here"
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
"sourcePath": "contracts/gen1/release/3/semver.ts",
|
|
385
|
+
"sha256": "dd81d2a95c221a38013eb1034581f71b8a67b2a7a14c917d78321df13d501210",
|
|
386
|
+
"disposition": "copied-or-adapted-here"
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
"sourcePath": "contracts/gen1/slot/1/README.md",
|
|
390
|
+
"sha256": "e1be8f423d817bd7111be75d49978d84cfee032a9e5467435df657890f750ee4",
|
|
391
|
+
"disposition": "copied-or-adapted-here"
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
"sourcePath": "contracts/gen1/slot/1/slot.ts",
|
|
395
|
+
"sha256": "e996ab7525931c3d593b4fb0d60eadecb2d51108a408c7b0d94e978c10e30822",
|
|
396
|
+
"disposition": "copied-or-adapted-here"
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
"sourcePath": "contracts/gen1/unit/1/README.md",
|
|
400
|
+
"sha256": "eb7f3030fb033d3e988fbf0a7b5878971de237b99357ae5ddda833022bc6adc8",
|
|
401
|
+
"disposition": "copied-or-adapted-here"
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
"sourcePath": "contracts/gen1/unit/1/unit-text.schema.json",
|
|
405
|
+
"sha256": "9ddc7f3911d93a9a139658e970dd3e17ef28ca3761d098968972cc4ec389065a",
|
|
406
|
+
"disposition": "copied-or-adapted-here"
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
"sourcePath": "contracts/gen1/unit/1/unit.ts",
|
|
410
|
+
"sha256": "de790559a39f3c05c383da786857109c2d149d1b03799157afd115183847f634",
|
|
411
|
+
"disposition": "copied-or-adapted-here"
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
"sourcePath": "contracts/gen1/unit/2/README.md",
|
|
415
|
+
"sha256": "c1fef0b113e07a77a8fecaa34b68257fc0c3037b5d41ef2899df819ca3782a46",
|
|
416
|
+
"disposition": "copied-or-adapted-here"
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
"sourcePath": "contracts/gen1/unit/2/unit-text.schema.json",
|
|
420
|
+
"sha256": "1d21cba5aec5acdfd7d3bdd855cff4432bab571d04a63091fea28eae586425d5",
|
|
421
|
+
"disposition": "copied-or-adapted-here"
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
"sourcePath": "contracts/gen1/unit/2/unit.ts",
|
|
425
|
+
"sha256": "0ccf553e3861c2d7aac320618f0c367c87a2bd74018055bd36acdd77cfa6e9f6",
|
|
426
|
+
"disposition": "copied-or-adapted-here"
|
|
427
|
+
}
|
|
428
|
+
],
|
|
429
|
+
"apiMappings": {
|
|
430
|
+
"gen1/src/runtime/index.ts": "@orangelogic/myos-gen1/runtime",
|
|
431
|
+
"gen1/src/contracts/unit.ts": "@orangelogic/myos-gen1/contracts/unit",
|
|
432
|
+
"gen1/src/contracts/release.ts": "@orangelogic/myos-gen1/contracts/release",
|
|
433
|
+
"gen1/src/contracts/semver.ts": "@orangelogic/myos-gen1/contracts/semver",
|
|
434
|
+
"gen1/scripts/build.mjs#buildComponents": "@orangelogic/myos-gen1/build#buildComponent"
|
|
435
|
+
},
|
|
436
|
+
"differences": [
|
|
437
|
+
"CSS Modules preserves original uic-* class hooks.",
|
|
438
|
+
"Component builds now externalize Gen1 and require an owned package.json.",
|
|
439
|
+
"Component enumeration, changed-build scheduling, dev preview, release manifest and publication remain G2 responsibilities.",
|
|
440
|
+
"Shared runtime no longer substitutes omitted design-system controls per component.",
|
|
441
|
+
"Gen2 demo contract synchronization remains in the components repository.",
|
|
442
|
+
"Scroll event binding resolves the owned control beneath native display:contents wrappers; nested child scrolls remain excluded.",
|
|
443
|
+
"Inherited preserveSymlinks removed for Bun package type resolution.",
|
|
444
|
+
"Unit tests use complete pointer gestures, portal scope and asynchronous iframe restoration."
|
|
445
|
+
],
|
|
446
|
+
"acceptance": "Independent review and Cortex host integration pending.",
|
|
447
|
+
"apiMap": "api-map.json",
|
|
448
|
+
"reconciliation": {
|
|
449
|
+
"repository": "Cortex_React_Components",
|
|
450
|
+
"commits": [
|
|
451
|
+
"3d7ace1",
|
|
452
|
+
"5cceff6",
|
|
453
|
+
"3cb63e2",
|
|
454
|
+
"0b940f1",
|
|
455
|
+
"637169a"
|
|
456
|
+
],
|
|
457
|
+
"notes": "Runtime fixes and regression tests reconciled; G1B focus and pointer fixture repairs retained. Repository preview and release orchestration remain consumer-owned."
|
|
458
|
+
}
|
|
459
|
+
}
|
package/README.md
CHANGED
|
@@ -1,3 +1,57 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @orangelogic/myos-gen1
|
|
2
2
|
|
|
3
|
-
This
|
|
3
|
+
Native React Gen1 unit runtime, public wire contracts and standalone component build tools. This is infrastructure, not a ported Lit component. It is released with `@orangelogic/design-system-react` at the same version (first joint release: `1.0.0-alpha.2`). React and React DOM are peers; the design system is an exact-version peer.
|
|
4
|
+
|
|
5
|
+
Install the two packages from the configured npm feed and install their React peers:
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
npm install --save-exact @orangelogic/myos-gen1@1.0.0-alpha.2 @orangelogic/design-system-react@1.0.0-alpha.2 react@19.3.0 react-dom@19.3.0
|
|
9
|
+
npm install --save-dev --save-exact @types/react@19.3.0 @types/react-dom@19.3.0
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
A component folder contains `package.json`, `component.json`, `src/Example.tsx`, and `styles.css`. Keep literal user-facing text in the host's unit JSON. Declare every design-system entry used by the component in `component.json`:
|
|
13
|
+
|
|
14
|
+
```json
|
|
15
|
+
{
|
|
16
|
+
"componentId": "example",
|
|
17
|
+
"packageId": "orangelogic.components.example",
|
|
18
|
+
"sourceEntry": "src/Example.tsx",
|
|
19
|
+
"componentExport": "Example",
|
|
20
|
+
"designSystemEntries": ["box"],
|
|
21
|
+
"slotBindings": [{"slotId":"Example_VForm","slotVersion":1,"protocol":2}]
|
|
22
|
+
}
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
```tsx
|
|
26
|
+
import type { HostBridge } from '@orangelogic/myos-gen1/contracts/unit';
|
|
27
|
+
import { Items, renderUnit, useUnit, type UnitStore } from '@orangelogic/myos-gen1/runtime';
|
|
28
|
+
export function Example({ store, host }: { store: UnitStore; host: HostBridge }) {
|
|
29
|
+
const unit = useUnit(store);
|
|
30
|
+
return <Items items={unit.view} unit={unit} ctx={{ host, renderUnit }} />;
|
|
31
|
+
}
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
Run `npx --no-install gen1-build` in that folder, or call `buildComponent({root})` from `@orangelogic/myos-gen1/build`. It checks ownership/import boundaries, checks TypeScript, generates the mount, and writes `dist/mount.js`, `mount.css`, declarations, descriptor, and source/build manifests. Optional `demo/scenarios.ts` is interpreted as data and generates `demo.js`. The component never embeds the runtime. The host resolves `@orangelogic/myos-gen1/runtime`, React, and design-system imports through the same release's import map, and loads the manifest's runtime and shared styles once. Ordinary application bundlers can import the runtime directly and retain its CSS side effect.
|
|
35
|
+
|
|
36
|
+
| Export | API and migration mapping |
|
|
37
|
+
| --- | --- |
|
|
38
|
+
| `./runtime` | All original `gen1/src/runtime/index.ts` named exports, including `createMount`, `createUnitStore`, `useUnit`, `ControlView`, `Items`, `Text`, `renderUnit`, hooks and their types |
|
|
39
|
+
| `./contracts/unit` | All original unit types, public values and vocabulary |
|
|
40
|
+
| `./contracts/release` | All original release, eligibility, slot and host wire types |
|
|
41
|
+
| `./contracts/semver` | Original strict SemVer implementation |
|
|
42
|
+
| `./build` / `gen1-build` | `buildComponent({root})` replaces repository-wide `buildComponents({selected,changed})`; G2 owns component enumeration and changed-build scheduling |
|
|
43
|
+
| `./boundaries` | Original boundary primitives; standalone builds use `checkBoundaries(root,{entry})` |
|
|
44
|
+
| `./components`, `./demo` | Descriptor/mount and data-only demo helpers |
|
|
45
|
+
| `./sync-contracts` | `syncGen1Contracts` checks source synchronization; `copyGen1Contracts({destination,check})` copies or verifies an installed package’s served contracts |
|
|
46
|
+
| `./protocols/*` | Served contracts, e.g. `protocols/unit/1/unit.ts`, `protocols/unit/2/unit.ts`, release/3 schemas and fixtures |
|
|
47
|
+
| `./runtime/styles.css` | Runtime CSS for explicit host stylesheet handling |
|
|
48
|
+
|
|
49
|
+
Protocol 1 is frozen byte-for-byte; protocol 2 is copied unchanged. See `PROVENANCE.json` for source commit and byte hashes, and `api-map.json` for every original public export. Runtime CSS passes through CSS Modules while preserving the established `uic-*` hooks used by existing components. Heavy engines remain lazy inside the design-system controls.
|
|
50
|
+
|
|
51
|
+
The components repository retains component implementations, registry publication, release-manifest construction, preview routing and product acceptance. G2 must replace relative runtime/contract imports, remove its runtime workspace and rebuild orchestration, copy served contracts from these package exports, update registry validators to admit the shared runtime specifier and transitive graph, and update the gen1-port skill. Previously per-component omitted-control stand-ins disappear: the shared runtime exposes the full supported control closure. Registry admission and per-mount byte/node caps must be checked against that closure. No protocol, authorization or CSP relaxation is implied.
|
|
52
|
+
|
|
53
|
+
Source and runtime API behavior are preserved except the documented build/distribution changes. These author checks do not constitute independent acceptance or Cortex product integration approval.
|
|
54
|
+
|
|
55
|
+
The scroll binding resolves its owning control through native display:contents wrappers and ignores nested control scrolls. Use `discoverComponents(componentProjectRoot)` with an explicit project root; standalone builds use `checkBoundaries`, while `checkLayout` remains the legacy bare-component layout checker. The emitted stylesheet is `mount.css`; G2 release assembly must update its old `styles.css` input and source-digest recipe.
|
|
56
|
+
|
|
57
|
+
G2 reconciliation preserves V01 runtime fixes and F2B scaffold isolation, including their tests. `buildComponent({root, project})` accepts an explicit shared dependency manifest for bare first-party components; source ownership remains confined to `root`. Standalone consumers omit `project`. The distribution includes `protocols/dotnet/*` for the registry's project reference.
|