@exponential_app/eui 0.2.1 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/catalog/a11y.json +15 -1
- package/catalog/core.catalog.json +142 -0
- package/catalog/core.schema.json +198 -1
- package/catalog/host.json +10 -0
- package/catalog/macros.json +541 -1
- package/catalog/recipes.json +2 -2
- package/catalog/strings.json +5 -0
- package/catalog/theme.schema.json +2066 -212
- package/conformance/manifest.json +5 -5
- package/dist/chunks/{index-gtk2gwsb.js → index-4z7f2bp1.js} +160 -33
- package/dist/chunks/{index-gtk2gwsb.js.map → index-4z7f2bp1.js.map} +6 -5
- package/dist/chunks/{index-5fmaa0xq.js → index-abcjanhc.js} +629 -3
- package/dist/chunks/{index-5fmaa0xq.js.map → index-abcjanhc.js.map} +2 -2
- package/dist/chunks/{index-62yzr94z.js → index-dx45asrf.js} +99 -3
- package/dist/chunks/{index-62yzr94z.js.map → index-dx45asrf.js.map} +2 -2
- package/dist/chunks/{index-bg2jsgjq.js → index-h3zgfghf.js} +304 -6
- package/dist/chunks/{index-bg2jsgjq.js.map → index-h3zgfghf.js.map} +2 -2
- package/dist/conformance.js +7901 -614
- package/dist/conformance.js.map +2 -2
- package/dist/entries/prompt.js +2 -2
- package/dist/entries/schema.js +2 -2
- package/dist/host/index.js +20 -4
- package/dist/host/index.js.map +1 -1
- package/dist/index.js +35 -5
- package/dist/index.js.map +2 -2
- package/dist/types/src/catalog.generated.d.ts +23 -3
- package/dist/types/src/host/contract.d.ts +17 -0
- package/dist/types/src/host/exposes.d.ts +68 -0
- package/dist/types/src/host/index.d.ts +1 -0
- package/dist/types/src/host/package.d.ts +8 -0
- package/dist/types/src/web/primitives/carousel.d.ts +17 -0
- package/dist/types/src/web/primitives/index.d.ts +3 -0
- package/dist/types/src/web/primitives/mosaic.d.ts +30 -0
- package/dist/types/src/web/primitives/outline.d.ts +22 -0
- package/dist/web/index.js +8 -2
- package/dist/web/index.js.map +4 -4
- package/dist/web/primitives/index.js +59 -1
- package/dist/web/primitives/index.js.map +6 -3
- package/docs/components.generated.json +150 -1
- package/docs/package-format.md +56 -1
- package/docs/round-6-contract.md +108 -0
- package/docs/themes.generated.json +39 -2
- package/fixtures/bind-time.json +1464 -0
- package/fixtures/catalog-components.json +96 -0
- package/fixtures/catalog-macros.json +1159 -48
- package/fixtures/conformance-baseline.json +46073 -44448
- package/fixtures/conformance-known.json +76 -64
- package/fixtures/host-router.json +539 -1
- package/fixtures/kitchen-sink.expanded.json +614 -1
- package/fixtures/kitchen-sink.json +69 -1
- package/fixtures/primitive-specimens.json +3 -0
- package/fixtures/prompt-budget.json +14 -14
- package/fixtures/specimens.json +122 -0
- package/fixtures/theme-recipes.json +4617 -1691
- package/fixtures/theme-resolved.json +1154 -2
- package/generated/ExponentialUICatalog.generated.kt +13 -13
- package/generated/ExponentialUICatalog.generated.swift +13 -13
- package/generated/ExponentialUIThemes.generated.kt +7 -7
- package/generated/ExponentialUIThemes.generated.swift +7 -7
- package/generated/catalog.descriptions.generated.rs +1 -1
- package/generated/catalog.generated.rs +18 -18
- package/generated/catalog.themes.generated.rs +8 -8
- package/generated/core.descriptions.json +96 -0
- package/generated/core.runtime.json +86 -0
- package/package.json +1 -1
- package/themes/neutral.theme.json +288 -0
|
@@ -77,6 +77,37 @@
|
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"id": "outline",
|
|
83
|
+
"component": "Outline",
|
|
84
|
+
"props": {
|
|
85
|
+
"caption": "Outline",
|
|
86
|
+
"value": "part-a",
|
|
87
|
+
"items": [
|
|
88
|
+
{
|
|
89
|
+
"id": "current",
|
|
90
|
+
"title": "Current state"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"id": "part-a",
|
|
94
|
+
"title": "Part A: editor-first creation",
|
|
95
|
+
"count": 5
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"id": "part-b",
|
|
99
|
+
"title": "Part B: MCP for eApps",
|
|
100
|
+
"count": 2
|
|
101
|
+
}
|
|
102
|
+
]
|
|
103
|
+
},
|
|
104
|
+
"on": {
|
|
105
|
+
"select": {
|
|
106
|
+
"event": {
|
|
107
|
+
"name": "outlineSelect"
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
80
111
|
}
|
|
81
112
|
]
|
|
82
113
|
},
|
|
@@ -1676,7 +1707,12 @@
|
|
|
1676
1707
|
"component": "Carousel",
|
|
1677
1708
|
"props": {
|
|
1678
1709
|
"page": 0,
|
|
1679
|
-
"indicators": true
|
|
1710
|
+
"indicators": true,
|
|
1711
|
+
"counter": true,
|
|
1712
|
+
"thumbnails": [
|
|
1713
|
+
"https://example.com/1.jpg",
|
|
1714
|
+
"https://example.com/2.jpg"
|
|
1715
|
+
]
|
|
1680
1716
|
},
|
|
1681
1717
|
"children": [
|
|
1682
1718
|
{
|
|
@@ -1699,6 +1735,38 @@
|
|
|
1699
1735
|
}
|
|
1700
1736
|
]
|
|
1701
1737
|
},
|
|
1738
|
+
{
|
|
1739
|
+
"id": "mosaic",
|
|
1740
|
+
"component": "Mosaic",
|
|
1741
|
+
"props": {
|
|
1742
|
+
"label": "Screens",
|
|
1743
|
+
"pictures": [
|
|
1744
|
+
{
|
|
1745
|
+
"src": "https://example.com/1.jpg",
|
|
1746
|
+
"alt": "One"
|
|
1747
|
+
},
|
|
1748
|
+
{
|
|
1749
|
+
"src": "https://example.com/2.jpg",
|
|
1750
|
+
"alt": "Two"
|
|
1751
|
+
},
|
|
1752
|
+
{
|
|
1753
|
+
"src": "https://example.com/3.jpg",
|
|
1754
|
+
"alt": "Three"
|
|
1755
|
+
},
|
|
1756
|
+
{
|
|
1757
|
+
"src": "https://example.com/4.jpg",
|
|
1758
|
+
"alt": "Four"
|
|
1759
|
+
}
|
|
1760
|
+
]
|
|
1761
|
+
},
|
|
1762
|
+
"on": {
|
|
1763
|
+
"select": {
|
|
1764
|
+
"event": {
|
|
1765
|
+
"name": "mosaicSelect"
|
|
1766
|
+
}
|
|
1767
|
+
}
|
|
1768
|
+
}
|
|
1769
|
+
},
|
|
1702
1770
|
{
|
|
1703
1771
|
"id": "video",
|
|
1704
1772
|
"component": "Video",
|
|
@@ -20,6 +20,9 @@
|
|
|
20
20
|
{ "id": "plain/progress", "primitive": "plain", "viewport": { "width": 900, "height": 200 }, "open": false, "interact": null },
|
|
21
21
|
{ "id": "plain/rings", "primitive": "plain", "viewport": { "width": 900, "height": 200 }, "open": false, "interact": null },
|
|
22
22
|
{ "id": "plain/voice-wave", "primitive": "plain", "viewport": { "width": 900, "height": 300 }, "open": false, "interact": null },
|
|
23
|
+
{ "id": "plain/outline", "primitive": "plain", "viewport": { "width": 900, "height": 300 }, "open": false, "interact": null },
|
|
24
|
+
{ "id": "plain/mosaic", "primitive": "plain", "viewport": { "width": 900, "height": 1400 }, "open": false, "interact": null },
|
|
25
|
+
{ "id": "plain/carousel-extras", "primitive": "plain", "viewport": { "width": 900, "height": 400 }, "open": false, "interact": null },
|
|
23
26
|
{ "id": "plain/disclosure-header", "primitive": "plain", "viewport": { "width": 900, "height": 300 }, "open": false, "interact": "hover" },
|
|
24
27
|
{ "id": "plain/choice-tiles", "primitive": "plain", "viewport": { "width": 900, "height": 500 }, "open": false, "interact": null },
|
|
25
28
|
{ "id": "plain/code-block", "primitive": "plain", "viewport": { "width": 900, "height": 700 }, "open": false, "interact": null },
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$comment": "AUTO-GENERATED by packages/exponential-ui/scripts/generate.ts — do not edit.\nSource of truth: packages/exponential-ui/catalog/core.catalog.json (+ tokens.json, style.json, basic-map.json, strings.json, locale.json, code.json, a11y.json, layout.json). The size of catalogPrompt() on record: prompt.test.ts fails when the full prompt passes budgetTokens (cut descriptions before components) or when these numbers drift from the catalog without being regenerated. tokens = chars / 4, an estimate. VAPP-108: `index` = sections rules + index + functions + style (the components then come one at a time through componentPrompt, `perComponent`), `rules` = the rules alone.",
|
|
3
|
-
"budgetTokens":
|
|
3
|
+
"budgetTokens": 8034,
|
|
4
4
|
"full": {
|
|
5
|
-
"components":
|
|
6
|
-
"chars":
|
|
7
|
-
"tokens":
|
|
5
|
+
"components": 89,
|
|
6
|
+
"chars": 32133,
|
|
7
|
+
"tokens": 8034
|
|
8
8
|
},
|
|
9
9
|
"lite": {
|
|
10
|
-
"components":
|
|
11
|
-
"chars":
|
|
12
|
-
"tokens":
|
|
10
|
+
"components": 62,
|
|
11
|
+
"chars": 23193,
|
|
12
|
+
"tokens": 5799
|
|
13
13
|
},
|
|
14
14
|
"terse": {
|
|
15
|
-
"components":
|
|
16
|
-
"chars":
|
|
17
|
-
"tokens":
|
|
15
|
+
"components": 89,
|
|
16
|
+
"chars": 23849,
|
|
17
|
+
"tokens": 5963
|
|
18
18
|
},
|
|
19
19
|
"index": {
|
|
20
|
-
"components":
|
|
21
|
-
"chars":
|
|
22
|
-
"tokens":
|
|
20
|
+
"components": 89,
|
|
21
|
+
"chars": 11812,
|
|
22
|
+
"tokens": 2953
|
|
23
23
|
},
|
|
24
24
|
"rules": {
|
|
25
25
|
"chars": 2060,
|
|
26
26
|
"tokens": 515
|
|
27
27
|
},
|
|
28
28
|
"perComponent": {
|
|
29
|
-
"mean":
|
|
29
|
+
"mean": 319,
|
|
30
30
|
"max": 1097,
|
|
31
31
|
"meanTokens": 80
|
|
32
32
|
}
|
package/fixtures/specimens.json
CHANGED
|
@@ -3232,6 +3232,67 @@
|
|
|
3232
3232
|
]
|
|
3233
3233
|
}
|
|
3234
3234
|
},
|
|
3235
|
+
{
|
|
3236
|
+
"id": "exponential-ui-mosaic",
|
|
3237
|
+
"component": "Mosaic",
|
|
3238
|
+
"title": "Mosaic",
|
|
3239
|
+
"node": {
|
|
3240
|
+
"id": "specimen-mosaic",
|
|
3241
|
+
"component": "Box",
|
|
3242
|
+
"style": {
|
|
3243
|
+
"display": "flex",
|
|
3244
|
+
"flexDirection": "column",
|
|
3245
|
+
"gap": "$spacing.lg",
|
|
3246
|
+
"padding": "$spacing.xl",
|
|
3247
|
+
"maxWidth": 720
|
|
3248
|
+
},
|
|
3249
|
+
"children": [
|
|
3250
|
+
{
|
|
3251
|
+
"id": "specimen-mosaic-case-0",
|
|
3252
|
+
"component": "Stack",
|
|
3253
|
+
"props": {
|
|
3254
|
+
"direction": "vertical",
|
|
3255
|
+
"gap": "xs",
|
|
3256
|
+
"align": "stretch"
|
|
3257
|
+
},
|
|
3258
|
+
"children": [
|
|
3259
|
+
{
|
|
3260
|
+
"id": "specimen-mosaic-case-0-label",
|
|
3261
|
+
"component": "Text",
|
|
3262
|
+
"props": {
|
|
3263
|
+
"text": "example",
|
|
3264
|
+
"variant": "caption"
|
|
3265
|
+
}
|
|
3266
|
+
},
|
|
3267
|
+
{
|
|
3268
|
+
"id": "c0-mosaic",
|
|
3269
|
+
"component": "Mosaic",
|
|
3270
|
+
"props": {
|
|
3271
|
+
"pictures": [
|
|
3272
|
+
{
|
|
3273
|
+
"src": "https://example.com/editor.png",
|
|
3274
|
+
"alt": "Editor"
|
|
3275
|
+
},
|
|
3276
|
+
{
|
|
3277
|
+
"src": "https://example.com/preview.png",
|
|
3278
|
+
"alt": "Preview"
|
|
3279
|
+
},
|
|
3280
|
+
{
|
|
3281
|
+
"src": "https://example.com/data.png",
|
|
3282
|
+
"alt": "Data"
|
|
3283
|
+
},
|
|
3284
|
+
{
|
|
3285
|
+
"src": "https://example.com/versions.png",
|
|
3286
|
+
"alt": "Versions"
|
|
3287
|
+
}
|
|
3288
|
+
]
|
|
3289
|
+
}
|
|
3290
|
+
}
|
|
3291
|
+
]
|
|
3292
|
+
}
|
|
3293
|
+
]
|
|
3294
|
+
}
|
|
3295
|
+
},
|
|
3235
3296
|
{
|
|
3236
3297
|
"id": "exponential-ui-tabs",
|
|
3237
3298
|
"component": "Tabs",
|
|
@@ -4495,6 +4556,67 @@
|
|
|
4495
4556
|
]
|
|
4496
4557
|
}
|
|
4497
4558
|
},
|
|
4559
|
+
{
|
|
4560
|
+
"id": "exponential-ui-outline",
|
|
4561
|
+
"component": "Outline",
|
|
4562
|
+
"title": "Outline",
|
|
4563
|
+
"node": {
|
|
4564
|
+
"id": "specimen-outline",
|
|
4565
|
+
"component": "Box",
|
|
4566
|
+
"style": {
|
|
4567
|
+
"display": "flex",
|
|
4568
|
+
"flexDirection": "column",
|
|
4569
|
+
"gap": "$spacing.lg",
|
|
4570
|
+
"padding": "$spacing.xl",
|
|
4571
|
+
"maxWidth": 720
|
|
4572
|
+
},
|
|
4573
|
+
"children": [
|
|
4574
|
+
{
|
|
4575
|
+
"id": "specimen-outline-case-0",
|
|
4576
|
+
"component": "Stack",
|
|
4577
|
+
"props": {
|
|
4578
|
+
"direction": "vertical",
|
|
4579
|
+
"gap": "xs",
|
|
4580
|
+
"align": "stretch"
|
|
4581
|
+
},
|
|
4582
|
+
"children": [
|
|
4583
|
+
{
|
|
4584
|
+
"id": "specimen-outline-case-0-label",
|
|
4585
|
+
"component": "Text",
|
|
4586
|
+
"props": {
|
|
4587
|
+
"text": "example",
|
|
4588
|
+
"variant": "caption"
|
|
4589
|
+
}
|
|
4590
|
+
},
|
|
4591
|
+
{
|
|
4592
|
+
"id": "c0-outline",
|
|
4593
|
+
"component": "Outline",
|
|
4594
|
+
"props": {
|
|
4595
|
+
"caption": "Outline",
|
|
4596
|
+
"value": "part-a",
|
|
4597
|
+
"items": [
|
|
4598
|
+
{
|
|
4599
|
+
"id": "current",
|
|
4600
|
+
"title": "Current state"
|
|
4601
|
+
},
|
|
4602
|
+
{
|
|
4603
|
+
"id": "part-a",
|
|
4604
|
+
"title": "Part A: editor-first creation",
|
|
4605
|
+
"count": 5
|
|
4606
|
+
},
|
|
4607
|
+
{
|
|
4608
|
+
"id": "part-b",
|
|
4609
|
+
"title": "Part B: MCP for eApps",
|
|
4610
|
+
"count": 2
|
|
4611
|
+
}
|
|
4612
|
+
]
|
|
4613
|
+
}
|
|
4614
|
+
}
|
|
4615
|
+
]
|
|
4616
|
+
}
|
|
4617
|
+
]
|
|
4618
|
+
}
|
|
4619
|
+
},
|
|
4498
4620
|
{
|
|
4499
4621
|
"id": "exponential-ui-stepper",
|
|
4500
4622
|
"component": "Stepper",
|