@taprootio/espalier 3.1.0 → 3.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/CHANGELOG.md +53 -0
- package/custom-elements.json +5656 -2169
- package/dist/box/esp-box.d.ts +10 -0
- package/dist/box/esp-box.js +4 -4
- package/dist/cli/espalier.js +2 -0
- package/dist/cli/theme-check.js +2 -0
- package/dist/index.d.ts +6 -2
- package/dist/index.js +1 -1
- package/dist/page/esp-page.d.ts +23 -7
- package/dist/page/esp-page.js +37 -10
- package/dist/root/esp-root.d.ts +40 -1
- package/dist/root/esp-root.js +3 -3
- package/dist/root/helpers/compute-theme-properties.js +1 -1
- package/dist/root/helpers/data-companion-properties.js +1 -0
- package/dist/row/esp-row.d.ts +64 -0
- package/dist/row/esp-row.js +67 -0
- package/dist/section/esp-section.d.ts +55 -0
- package/dist/section/esp-section.js +22 -0
- package/dist/shared/esp-element-base.js +2 -2
- package/dist/shared/scale-engine.js +1 -1
- package/dist/shared/theme-fit-report.d.ts +94 -4
- package/dist/shared/theme-fit-report.js +1 -1
- package/dist/shared/theme-swatches.d.ts +79 -0
- package/dist/shared/theme-swatches.js +1 -0
- package/dist/shared/theme.d.ts +38 -1
- package/dist/shared/theme.js +1 -1
- package/dist/shared/unsafe-keys.js +1 -0
- package/dist/stack/esp-stack.d.ts +62 -0
- package/dist/stack/esp-stack.js +56 -0
- package/espalier.token-manifest.json +164 -1
- package/package.json +32 -1
|
@@ -107,6 +107,12 @@
|
|
|
107
107
|
"component": "esp-box",
|
|
108
108
|
"description": "The opacity of the background layer."
|
|
109
109
|
},
|
|
110
|
+
{
|
|
111
|
+
"name": "--esp-box-shadow",
|
|
112
|
+
"category": "component",
|
|
113
|
+
"component": "esp-box",
|
|
114
|
+
"description": "The box's drop shadow. Defaults to the theme's `--esp-shadow-1` elevation."
|
|
115
|
+
},
|
|
110
116
|
{
|
|
111
117
|
"name": "--esp-breadcrumb-color",
|
|
112
118
|
"category": "component",
|
|
@@ -143,6 +149,11 @@
|
|
|
143
149
|
"component": "esp-button",
|
|
144
150
|
"description": "The padding inside the button label and icon areas."
|
|
145
151
|
},
|
|
152
|
+
{
|
|
153
|
+
"name": "--esp-card-min",
|
|
154
|
+
"category": "root-theme",
|
|
155
|
+
"description": ""
|
|
156
|
+
},
|
|
146
157
|
{
|
|
147
158
|
"name": "--esp-checkbox-focus-shadow",
|
|
148
159
|
"category": "component",
|
|
@@ -341,41 +352,121 @@
|
|
|
341
352
|
"category": "root-theme",
|
|
342
353
|
"description": "First categorical data-series color."
|
|
343
354
|
},
|
|
355
|
+
{
|
|
356
|
+
"name": "--esp-color-series-1-ink",
|
|
357
|
+
"category": "root-theme",
|
|
358
|
+
"description": "First series pushed to the text contrast tier against the local background (best-contrast pole when a mid-lightness surface makes the tier unreachable)."
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
"name": "--esp-color-series-1-wash",
|
|
362
|
+
"category": "root-theme",
|
|
363
|
+
"description": "First series washed toward the local background (75% identity in OKLab) for large fills; theme zones re-emit it against their own canvas."
|
|
364
|
+
},
|
|
344
365
|
{
|
|
345
366
|
"name": "--esp-color-series-2",
|
|
346
367
|
"category": "root-theme",
|
|
347
368
|
"description": "Second categorical data-series color."
|
|
348
369
|
},
|
|
370
|
+
{
|
|
371
|
+
"name": "--esp-color-series-2-ink",
|
|
372
|
+
"category": "root-theme",
|
|
373
|
+
"description": "Second series pushed to the text contrast tier against the local background (best-contrast pole when a mid-lightness surface makes the tier unreachable)."
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
"name": "--esp-color-series-2-wash",
|
|
377
|
+
"category": "root-theme",
|
|
378
|
+
"description": "Second series washed toward the local background (75% identity in OKLab) for large fills; theme zones re-emit it against their own canvas."
|
|
379
|
+
},
|
|
349
380
|
{
|
|
350
381
|
"name": "--esp-color-series-3",
|
|
351
382
|
"category": "root-theme",
|
|
352
383
|
"description": "Third categorical data-series color."
|
|
353
384
|
},
|
|
385
|
+
{
|
|
386
|
+
"name": "--esp-color-series-3-ink",
|
|
387
|
+
"category": "root-theme",
|
|
388
|
+
"description": "Third series pushed to the text contrast tier against the local background (best-contrast pole when a mid-lightness surface makes the tier unreachable)."
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
"name": "--esp-color-series-3-wash",
|
|
392
|
+
"category": "root-theme",
|
|
393
|
+
"description": "Third series washed toward the local background (75% identity in OKLab) for large fills; theme zones re-emit it against their own canvas."
|
|
394
|
+
},
|
|
354
395
|
{
|
|
355
396
|
"name": "--esp-color-series-4",
|
|
356
397
|
"category": "root-theme",
|
|
357
398
|
"description": "Fourth categorical data-series color."
|
|
358
399
|
},
|
|
400
|
+
{
|
|
401
|
+
"name": "--esp-color-series-4-ink",
|
|
402
|
+
"category": "root-theme",
|
|
403
|
+
"description": "Fourth series pushed to the text contrast tier against the local background (best-contrast pole when a mid-lightness surface makes the tier unreachable)."
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
"name": "--esp-color-series-4-wash",
|
|
407
|
+
"category": "root-theme",
|
|
408
|
+
"description": "Fourth series washed toward the local background (75% identity in OKLab) for large fills; theme zones re-emit it against their own canvas."
|
|
409
|
+
},
|
|
359
410
|
{
|
|
360
411
|
"name": "--esp-color-series-5",
|
|
361
412
|
"category": "root-theme",
|
|
362
413
|
"description": "Fifth categorical data-series color."
|
|
363
414
|
},
|
|
415
|
+
{
|
|
416
|
+
"name": "--esp-color-series-5-ink",
|
|
417
|
+
"category": "root-theme",
|
|
418
|
+
"description": "Fifth series pushed to the text contrast tier against the local background (best-contrast pole when a mid-lightness surface makes the tier unreachable)."
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
"name": "--esp-color-series-5-wash",
|
|
422
|
+
"category": "root-theme",
|
|
423
|
+
"description": "Fifth series washed toward the local background (75% identity in OKLab) for large fills; theme zones re-emit it against their own canvas."
|
|
424
|
+
},
|
|
364
425
|
{
|
|
365
426
|
"name": "--esp-color-series-6",
|
|
366
427
|
"category": "root-theme",
|
|
367
428
|
"description": "Sixth categorical data-series color."
|
|
368
429
|
},
|
|
430
|
+
{
|
|
431
|
+
"name": "--esp-color-series-6-ink",
|
|
432
|
+
"category": "root-theme",
|
|
433
|
+
"description": "Sixth series pushed to the text contrast tier against the local background (best-contrast pole when a mid-lightness surface makes the tier unreachable)."
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
"name": "--esp-color-series-6-wash",
|
|
437
|
+
"category": "root-theme",
|
|
438
|
+
"description": "Sixth series washed toward the local background (75% identity in OKLab) for large fills; theme zones re-emit it against their own canvas."
|
|
439
|
+
},
|
|
369
440
|
{
|
|
370
441
|
"name": "--esp-color-series-7",
|
|
371
442
|
"category": "root-theme",
|
|
372
443
|
"description": "Seventh categorical data-series color."
|
|
373
444
|
},
|
|
445
|
+
{
|
|
446
|
+
"name": "--esp-color-series-7-ink",
|
|
447
|
+
"category": "root-theme",
|
|
448
|
+
"description": "Seventh series pushed to the text contrast tier against the local background (best-contrast pole when a mid-lightness surface makes the tier unreachable)."
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
"name": "--esp-color-series-7-wash",
|
|
452
|
+
"category": "root-theme",
|
|
453
|
+
"description": "Seventh series washed toward the local background (75% identity in OKLab) for large fills; theme zones re-emit it against their own canvas."
|
|
454
|
+
},
|
|
374
455
|
{
|
|
375
456
|
"name": "--esp-color-series-8",
|
|
376
457
|
"category": "root-theme",
|
|
377
458
|
"description": "Eighth categorical data-series color."
|
|
378
459
|
},
|
|
460
|
+
{
|
|
461
|
+
"name": "--esp-color-series-8-ink",
|
|
462
|
+
"category": "root-theme",
|
|
463
|
+
"description": "Eighth series pushed to the text contrast tier against the local background (best-contrast pole when a mid-lightness surface makes the tier unreachable)."
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
"name": "--esp-color-series-8-wash",
|
|
467
|
+
"category": "root-theme",
|
|
468
|
+
"description": "Eighth series washed toward the local background (75% identity in OKLab) for large fills; theme zones re-emit it against their own canvas."
|
|
469
|
+
},
|
|
379
470
|
{
|
|
380
471
|
"name": "--esp-color-shadow",
|
|
381
472
|
"category": "root-theme",
|
|
@@ -1434,6 +1525,16 @@
|
|
|
1434
1525
|
"component": "esp-lightbox",
|
|
1435
1526
|
"description": "The opacity of the overlay background (falls through to --esp-vellum-opacity, default: 0.85)."
|
|
1436
1527
|
},
|
|
1528
|
+
{
|
|
1529
|
+
"name": "--esp-measure",
|
|
1530
|
+
"category": "root-theme",
|
|
1531
|
+
"description": ""
|
|
1532
|
+
},
|
|
1533
|
+
{
|
|
1534
|
+
"name": "--esp-measure-wide",
|
|
1535
|
+
"category": "root-theme",
|
|
1536
|
+
"description": ""
|
|
1537
|
+
},
|
|
1437
1538
|
{
|
|
1438
1539
|
"name": "--esp-menu-background",
|
|
1439
1540
|
"category": "component",
|
|
@@ -1700,7 +1801,7 @@
|
|
|
1700
1801
|
"name": "--esp-page-main-max-width",
|
|
1701
1802
|
"category": "component",
|
|
1702
1803
|
"component": "esp-page",
|
|
1703
|
-
"description": "Maximum width of the main content well. Defaults from `kind`: `1536px` (wide), `768px` (narrow), or unbounded (full). An explicit value overrides every kind default, including `full
|
|
1804
|
+
"description": "Maximum width of the main content well. Defaults from `kind`: `1536px` (wide), `768px` (narrow), or unbounded (full). An explicit value overrides every kind default, including `full` — except `site`, whose main region is always unbounded because sections own their wells. Surplus width beyond it becomes canvas gutters."
|
|
1704
1805
|
},
|
|
1705
1806
|
{
|
|
1706
1807
|
"name": "--esp-page-main-min-width",
|
|
@@ -1810,6 +1911,12 @@
|
|
|
1810
1911
|
"component": "esp-page",
|
|
1811
1912
|
"description": "The box shadow drawn on the left and right edges of the content surface. On by default; casts into the gutters and is clipped away when the surface fills the viewport, so it only shows above the cap. Set to `none` to remove it."
|
|
1812
1913
|
},
|
|
1914
|
+
{
|
|
1915
|
+
"name": "--esp-page-well-max-width",
|
|
1916
|
+
"category": "component",
|
|
1917
|
+
"component": "esp-page",
|
|
1918
|
+
"description": "The shared content-column width in `kind=\"site\"`: the header and footer alignment contract and every `esp-section` well default to it. Defaults to `72rem`."
|
|
1919
|
+
},
|
|
1813
1920
|
{
|
|
1814
1921
|
"name": "--esp-progress-border-color",
|
|
1815
1922
|
"category": "component",
|
|
@@ -1924,6 +2031,12 @@
|
|
|
1924
2031
|
"component": "esp-repeater",
|
|
1925
2032
|
"description": "Padding used by repeater state panels and the loading/error footer."
|
|
1926
2033
|
},
|
|
2034
|
+
{
|
|
2035
|
+
"name": "--esp-row-gap",
|
|
2036
|
+
"category": "component",
|
|
2037
|
+
"component": "esp-row",
|
|
2038
|
+
"description": "Overrides the gap between children. Defaults to the `gap` attribute's step, `normal` when unset."
|
|
2039
|
+
},
|
|
1927
2040
|
{
|
|
1928
2041
|
"name": "--esp-scheme",
|
|
1929
2042
|
"category": "root-theme",
|
|
@@ -2007,11 +2120,50 @@
|
|
|
2007
2120
|
"component": "esp-search",
|
|
2008
2121
|
"description": "Title color for result rows. Defaults to `var(--esp-color-headings)`."
|
|
2009
2122
|
},
|
|
2123
|
+
{
|
|
2124
|
+
"name": "--esp-section-background",
|
|
2125
|
+
"category": "component",
|
|
2126
|
+
"component": "esp-section",
|
|
2127
|
+
"description": "The band's background. Defaults to the local `--esp-color-background`, which inside a `context` zone is the zone's canvas."
|
|
2128
|
+
},
|
|
2129
|
+
{
|
|
2130
|
+
"name": "--esp-section-max-width",
|
|
2131
|
+
"category": "component",
|
|
2132
|
+
"component": "esp-section",
|
|
2133
|
+
"description": "The content well's cap. Defaults to `var(--esp-page-well-max-width, 72rem)`; `none` lets content span the band."
|
|
2134
|
+
},
|
|
2135
|
+
{
|
|
2136
|
+
"name": "--esp-section-padding-block",
|
|
2137
|
+
"category": "component",
|
|
2138
|
+
"component": "esp-section",
|
|
2139
|
+
"description": "Vertical rhythm above and below the well. Defaults to `var(--esp-size-section)`."
|
|
2140
|
+
},
|
|
2141
|
+
{
|
|
2142
|
+
"name": "--esp-section-padding-inline",
|
|
2143
|
+
"category": "component",
|
|
2144
|
+
"component": "esp-section",
|
|
2145
|
+
"description": "Horizontal breathing room inside the band at narrow viewports. Defaults to `var(--esp-size-medium)`."
|
|
2146
|
+
},
|
|
2010
2147
|
{
|
|
2011
2148
|
"name": "--esp-seed-color",
|
|
2012
2149
|
"category": "root-theme",
|
|
2013
2150
|
"description": ""
|
|
2014
2151
|
},
|
|
2152
|
+
{
|
|
2153
|
+
"name": "--esp-shadow-1",
|
|
2154
|
+
"category": "root-theme",
|
|
2155
|
+
"description": ""
|
|
2156
|
+
},
|
|
2157
|
+
{
|
|
2158
|
+
"name": "--esp-shadow-2",
|
|
2159
|
+
"category": "root-theme",
|
|
2160
|
+
"description": ""
|
|
2161
|
+
},
|
|
2162
|
+
{
|
|
2163
|
+
"name": "--esp-shadow-3",
|
|
2164
|
+
"category": "root-theme",
|
|
2165
|
+
"description": ""
|
|
2166
|
+
},
|
|
2015
2167
|
{
|
|
2016
2168
|
"name": "--esp-size-big",
|
|
2017
2169
|
"category": "root-theme",
|
|
@@ -2095,6 +2247,11 @@
|
|
|
2095
2247
|
"category": "root-theme",
|
|
2096
2248
|
"description": ""
|
|
2097
2249
|
},
|
|
2250
|
+
{
|
|
2251
|
+
"name": "--esp-size-section",
|
|
2252
|
+
"category": "root-theme",
|
|
2253
|
+
"description": ""
|
|
2254
|
+
},
|
|
2098
2255
|
{
|
|
2099
2256
|
"name": "--esp-size-small",
|
|
2100
2257
|
"category": "root-theme",
|
|
@@ -2169,6 +2326,12 @@
|
|
|
2169
2326
|
"component": "esp-slider",
|
|
2170
2327
|
"description": "Height of the slider track. Defaults to `6px`."
|
|
2171
2328
|
},
|
|
2329
|
+
{
|
|
2330
|
+
"name": "--esp-stack-gap",
|
|
2331
|
+
"category": "component",
|
|
2332
|
+
"component": "esp-stack",
|
|
2333
|
+
"description": "Overrides the gap between children. Defaults to the `gap` attribute's step, `normal` when unset."
|
|
2334
|
+
},
|
|
2172
2335
|
{
|
|
2173
2336
|
"name": "--esp-status-indicator-border-radius",
|
|
2174
2337
|
"category": "component",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taprootio/espalier",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.3.0",
|
|
4
4
|
"packageManager": "bun@1.3.12",
|
|
5
5
|
"description": "Espalier — a themeable, accessible, framework-agnostic, enterprise-grade design system built on web standards and love.",
|
|
6
6
|
"customElements": "custom-elements.json",
|
|
@@ -8,6 +8,9 @@
|
|
|
8
8
|
"main": "dist/index.js",
|
|
9
9
|
"module": "dist/index.js",
|
|
10
10
|
"types": "dist/index.d.ts",
|
|
11
|
+
"bin": {
|
|
12
|
+
"espalier": "./dist/cli/espalier.js"
|
|
13
|
+
},
|
|
11
14
|
"exports": {
|
|
12
15
|
".": {
|
|
13
16
|
"types": "./dist/index.d.ts",
|
|
@@ -122,6 +125,10 @@
|
|
|
122
125
|
"types": "./dist/form-item/esp-form-item.d.ts",
|
|
123
126
|
"import": "./dist/form-item/esp-form-item.js"
|
|
124
127
|
},
|
|
128
|
+
"./flyout": {
|
|
129
|
+
"types": "./dist/flyout/esp-flyout.d.ts",
|
|
130
|
+
"import": "./dist/flyout/esp-flyout.js"
|
|
131
|
+
},
|
|
125
132
|
"./grid": {
|
|
126
133
|
"types": "./dist/grid/esp-grid.d.ts",
|
|
127
134
|
"import": "./dist/grid/esp-grid.js"
|
|
@@ -178,6 +185,18 @@
|
|
|
178
185
|
"types": "./dist/page/esp-page.d.ts",
|
|
179
186
|
"import": "./dist/page/esp-page.js"
|
|
180
187
|
},
|
|
188
|
+
"./section": {
|
|
189
|
+
"types": "./dist/section/esp-section.d.ts",
|
|
190
|
+
"import": "./dist/section/esp-section.js"
|
|
191
|
+
},
|
|
192
|
+
"./stack": {
|
|
193
|
+
"types": "./dist/stack/esp-stack.d.ts",
|
|
194
|
+
"import": "./dist/stack/esp-stack.js"
|
|
195
|
+
},
|
|
196
|
+
"./row": {
|
|
197
|
+
"types": "./dist/row/esp-row.d.ts",
|
|
198
|
+
"import": "./dist/row/esp-row.js"
|
|
199
|
+
},
|
|
181
200
|
"./pickers/pick-one": {
|
|
182
201
|
"types": "./dist/pickers/esp-pick-one.d.ts",
|
|
183
202
|
"import": "./dist/pickers/esp-pick-one.js"
|
|
@@ -198,6 +217,10 @@
|
|
|
198
217
|
"types": "./dist/popover/esp-popover.d.ts",
|
|
199
218
|
"import": "./dist/popover/esp-popover.js"
|
|
200
219
|
},
|
|
220
|
+
"./progress": {
|
|
221
|
+
"types": "./dist/progress/esp-progress.d.ts",
|
|
222
|
+
"import": "./dist/progress/esp-progress.js"
|
|
223
|
+
},
|
|
201
224
|
"./radio-button": {
|
|
202
225
|
"types": "./dist/radio-button/esp-radio-button.d.ts",
|
|
203
226
|
"import": "./dist/radio-button/esp-radio-button.js"
|
|
@@ -242,6 +265,14 @@
|
|
|
242
265
|
"types": "./dist/textarea/esp-textarea.d.ts",
|
|
243
266
|
"import": "./dist/textarea/esp-textarea.js"
|
|
244
267
|
},
|
|
268
|
+
"./toaster": {
|
|
269
|
+
"types": "./dist/toaster/esp-toaster.d.ts",
|
|
270
|
+
"import": "./dist/toaster/esp-toaster.js"
|
|
271
|
+
},
|
|
272
|
+
"./tooltip": {
|
|
273
|
+
"types": "./dist/tooltip/esp-tooltip.d.ts",
|
|
274
|
+
"import": "./dist/tooltip/esp-tooltip.js"
|
|
275
|
+
},
|
|
245
276
|
"./tree": {
|
|
246
277
|
"types": "./dist/tree/esp-tree.d.ts",
|
|
247
278
|
"import": "./dist/tree/esp-tree.js"
|