@taprootio/espalier 6.12.0 → 6.13.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 +16 -0
- package/css/esp-reset.css +17 -0
- package/custom-elements.json +3013 -856
- package/dist/button/esp-button.d.ts +10 -1
- package/dist/button/esp-button.js +55 -28
- package/dist/columns/esp-columns.d.ts +52 -0
- package/dist/columns/esp-columns.js +45 -0
- package/dist/header/esp-header.d.ts +35 -0
- package/dist/header/esp-header.js +175 -46
- package/dist/header/header-geometry-controller.js +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/menu/esp-menu-item.d.ts +16 -1
- package/dist/menu/esp-menu-item.js +74 -15
- package/dist/menu/esp-menu.js +1 -1
- package/dist/menu/menu-presentation.d.ts +1 -0
- package/dist/menu/menu-presentation.js +15 -14
- package/dist/menu/swipe-reveal-controller.js +1 -1
- package/dist/page/bi-directional-sticky-controller.js +1 -1
- package/dist/page/esp-page.d.ts +10 -2
- package/dist/page/esp-page.js +37 -35
- package/dist/page/esp-page.styles.js +36 -0
- package/dist/row/esp-row.js +3 -26
- package/dist/shared/configured-brand.d.ts +3 -1
- package/dist/shared/configured-brand.js +5 -5
- package/dist/shared/layout-gap.js +5 -0
- package/dist/stack/esp-stack.js +3 -26
- package/espalier.css-data.json +17 -1
- package/espalier.token-manifest.json +25 -1
- package/package.json +5 -1
package/custom-elements.json
CHANGED
|
@@ -215,6 +215,14 @@
|
|
|
215
215
|
"module": "dist/row/esp-row.js"
|
|
216
216
|
}
|
|
217
217
|
},
|
|
218
|
+
{
|
|
219
|
+
"kind": "js",
|
|
220
|
+
"name": "*",
|
|
221
|
+
"declaration": {
|
|
222
|
+
"name": "*",
|
|
223
|
+
"module": "dist/columns/esp-columns.js"
|
|
224
|
+
}
|
|
225
|
+
},
|
|
218
226
|
{
|
|
219
227
|
"kind": "js",
|
|
220
228
|
"name": "*",
|
|
@@ -10188,9 +10196,23 @@
|
|
|
10188
10196
|
}
|
|
10189
10197
|
}
|
|
10190
10198
|
],
|
|
10199
|
+
"cssParts": [
|
|
10200
|
+
{
|
|
10201
|
+
"description": "The button chrome and outer layout.",
|
|
10202
|
+
"name": "wrapper"
|
|
10203
|
+
},
|
|
10204
|
+
{
|
|
10205
|
+
"description": "The native button, link, or noninteractive current-page span.",
|
|
10206
|
+
"name": "control"
|
|
10207
|
+
},
|
|
10208
|
+
{
|
|
10209
|
+
"description": "The text label, excluding icons and new-tab cues.",
|
|
10210
|
+
"name": "label"
|
|
10211
|
+
}
|
|
10212
|
+
],
|
|
10191
10213
|
"slots": [
|
|
10192
10214
|
{
|
|
10193
|
-
"description": "Optional custom SVG icon. Slotted icons override the generated SVG from the `icon` attribute. ```html <esp-button label=\"Profile\" icon=\"user-circle\"></esp-button> ```",
|
|
10215
|
+
"description": "Optional custom SVG or image icon. Slotted icons override the generated SVG from the `icon` attribute. ```html <esp-button label=\"Profile\" icon=\"user-circle\"></esp-button> ```",
|
|
10194
10216
|
"name": ""
|
|
10195
10217
|
}
|
|
10196
10218
|
],
|
|
@@ -10321,6 +10343,18 @@
|
|
|
10321
10343
|
"description": "If href is set, the button will be rendered as an anchor link\npointing to the href value instead of a button.\n\n```html\n<esp-button href=\"#\" label=\"Link button\"></esp-button>\n```",
|
|
10322
10344
|
"attribute": "href"
|
|
10323
10345
|
},
|
|
10346
|
+
{
|
|
10347
|
+
"kind": "field",
|
|
10348
|
+
"name": "current",
|
|
10349
|
+
"type": {
|
|
10350
|
+
"text": "boolean"
|
|
10351
|
+
},
|
|
10352
|
+
"privacy": "public",
|
|
10353
|
+
"default": "false",
|
|
10354
|
+
"description": "Marks a linked destination as the current page. With `href`, renders a\nnoninteractive `span[aria-current=\"page\"]` with button chrome. Loading,\ndisabled and pressed states do not apply. Ignored when `href` is empty.",
|
|
10355
|
+
"attribute": "current",
|
|
10356
|
+
"reflects": true
|
|
10357
|
+
},
|
|
10324
10358
|
{
|
|
10325
10359
|
"kind": "field",
|
|
10326
10360
|
"name": "iconOnly",
|
|
@@ -11179,145 +11213,1268 @@
|
|
|
11179
11213
|
"events": [
|
|
11180
11214
|
{
|
|
11181
11215
|
"type": {
|
|
11182
|
-
"text": "CustomEvent"
|
|
11183
|
-
},
|
|
11184
|
-
"description": "Emitted when the button is clicked. ```html <esp-button label=\"Click me!\"></esp-button> <script> const theButton = findByTagName(\"esp-button\")[0]; theButton.addEventListener(\"esp-clicked\", () => { showToast({ message: `Hi! You clicked the button. This message will self-destruct in 4 seconds...`, icon: \"info-i\", duration: 4 }); }); </script> ```",
|
|
11185
|
-
"name": "esp-clicked"
|
|
11186
|
-
}
|
|
11187
|
-
],
|
|
11188
|
-
"attributes": [
|
|
11189
|
-
{
|
|
11190
|
-
"name": "tabindex"
|
|
11191
|
-
},
|
|
11192
|
-
{
|
|
11193
|
-
"name": "aria-pressed",
|
|
11194
|
-
"description": "Forwards a toggle's pressed state to the inner native button. Use `\"true\"` while the controlled content is active and `\"false\"` otherwise."
|
|
11195
|
-
},
|
|
11196
|
-
{
|
|
11197
|
-
"description": "Renders the button with a borderless, transparent treatment for\nquiet icon or inline actions.\n\n```html\n<esp-button incognito icon-only icon=\"edit\" aria-label=\"Edit\"></esp-button>\n```",
|
|
11198
|
-
"name": "incognito",
|
|
11199
|
-
"type": {
|
|
11200
|
-
"text": "boolean"
|
|
11201
|
-
},
|
|
11202
|
-
"default": "false",
|
|
11203
|
-
"fieldName": "incognito"
|
|
11204
|
-
},
|
|
11205
|
-
{
|
|
11206
|
-
"name": "button-type",
|
|
11207
|
-
"type": {
|
|
11208
|
-
"text": "\"button\" | \"submit\" | \"reset\""
|
|
11209
|
-
},
|
|
11210
|
-
"default": "\"button\"",
|
|
11211
|
-
"description": "Controls the [button type](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/button#type).\nThe available options are: `button`, `submit`, or `reset`.\nThe default value is `button`. To use a link instead of a\nbutton, set the `href` attribute.\n\n```html\n<esp-button label=\"Default\"></esp-button>\n<esp-button button-type=\"submit\" label=\"Submit\"></esp-button>\n<esp-button button-type=\"reset\" label=\"Reset\"></esp-button>\n<esp-button href=\"#\" label=\"Link\"></esp-button>\n```",
|
|
11212
|
-
"fieldName": "buttonType"
|
|
11213
|
-
},
|
|
11214
|
-
{
|
|
11215
|
-
"name": "collapsed",
|
|
11216
|
-
"type": {
|
|
11217
|
-
"text": "boolean"
|
|
11218
|
-
},
|
|
11219
|
-
"default": "false",
|
|
11220
|
-
"description": "By default, buttons take up the entire width of their parent\ncontainer. Use the `collapsed` attribute to shrink them to the\nsize of their content:\n\n```html\n<esp-button label=\"Full Width\"></esp-button>\n<esp-button collapsed label=\"Collapsed\"></esp-button>\n```",
|
|
11221
|
-
"fieldName": "collapsed"
|
|
11222
|
-
},
|
|
11223
|
-
{
|
|
11224
|
-
"name": "disabled",
|
|
11225
|
-
"type": {
|
|
11226
|
-
"text": "boolean"
|
|
11227
|
-
},
|
|
11228
|
-
"default": "false",
|
|
11229
|
-
"description": "Disables the button.\n\n```html\n<esp-button disabled label=\"Disabled\"></esp-button>\n<script>\n const theButton = findByTagName(\"esp-button\")[0];\n theButton.addEventListener(\"esp-clicked\", () => {\n alert(\"We will not get here...\");\n});\n</script>\n```",
|
|
11230
|
-
"fieldName": "disabled"
|
|
11231
|
-
},
|
|
11232
|
-
{
|
|
11233
|
-
"name": "href",
|
|
11234
|
-
"type": {
|
|
11235
|
-
"text": "string"
|
|
11236
|
-
},
|
|
11237
|
-
"default": "\"\"",
|
|
11238
|
-
"description": "If href is set, the button will be rendered as an anchor link\npointing to the href value instead of a button.\n\n```html\n<esp-button href=\"#\" label=\"Link button\"></esp-button>\n```",
|
|
11239
|
-
"fieldName": "href"
|
|
11240
|
-
},
|
|
11241
|
-
{
|
|
11242
|
-
"name": "
|
|
11243
|
-
"type": {
|
|
11244
|
-
"text": "boolean"
|
|
11245
|
-
},
|
|
11246
|
-
"default": "false",
|
|
11247
|
-
"description": "
|
|
11248
|
-
"fieldName": "
|
|
11249
|
-
},
|
|
11250
|
-
{
|
|
11251
|
-
"name": "icon",
|
|
11252
|
-
"type": {
|
|
11253
|
-
"text": "
|
|
11216
|
+
"text": "CustomEvent"
|
|
11217
|
+
},
|
|
11218
|
+
"description": "Emitted when the button is clicked. ```html <esp-button label=\"Click me!\"></esp-button> <script> const theButton = findByTagName(\"esp-button\")[0]; theButton.addEventListener(\"esp-clicked\", () => { showToast({ message: `Hi! You clicked the button. This message will self-destruct in 4 seconds...`, icon: \"info-i\", duration: 4 }); }); </script> ```",
|
|
11219
|
+
"name": "esp-clicked"
|
|
11220
|
+
}
|
|
11221
|
+
],
|
|
11222
|
+
"attributes": [
|
|
11223
|
+
{
|
|
11224
|
+
"name": "tabindex"
|
|
11225
|
+
},
|
|
11226
|
+
{
|
|
11227
|
+
"name": "aria-pressed",
|
|
11228
|
+
"description": "Forwards a toggle's pressed state to the inner native button. Use `\"true\"` while the controlled content is active and `\"false\"` otherwise."
|
|
11229
|
+
},
|
|
11230
|
+
{
|
|
11231
|
+
"description": "Renders the button with a borderless, transparent treatment for\nquiet icon or inline actions.\n\n```html\n<esp-button incognito icon-only icon=\"edit\" aria-label=\"Edit\"></esp-button>\n```",
|
|
11232
|
+
"name": "incognito",
|
|
11233
|
+
"type": {
|
|
11234
|
+
"text": "boolean"
|
|
11235
|
+
},
|
|
11236
|
+
"default": "false",
|
|
11237
|
+
"fieldName": "incognito"
|
|
11238
|
+
},
|
|
11239
|
+
{
|
|
11240
|
+
"name": "button-type",
|
|
11241
|
+
"type": {
|
|
11242
|
+
"text": "\"button\" | \"submit\" | \"reset\""
|
|
11243
|
+
},
|
|
11244
|
+
"default": "\"button\"",
|
|
11245
|
+
"description": "Controls the [button type](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/button#type).\nThe available options are: `button`, `submit`, or `reset`.\nThe default value is `button`. To use a link instead of a\nbutton, set the `href` attribute.\n\n```html\n<esp-button label=\"Default\"></esp-button>\n<esp-button button-type=\"submit\" label=\"Submit\"></esp-button>\n<esp-button button-type=\"reset\" label=\"Reset\"></esp-button>\n<esp-button href=\"#\" label=\"Link\"></esp-button>\n```",
|
|
11246
|
+
"fieldName": "buttonType"
|
|
11247
|
+
},
|
|
11248
|
+
{
|
|
11249
|
+
"name": "collapsed",
|
|
11250
|
+
"type": {
|
|
11251
|
+
"text": "boolean"
|
|
11252
|
+
},
|
|
11253
|
+
"default": "false",
|
|
11254
|
+
"description": "By default, buttons take up the entire width of their parent\ncontainer. Use the `collapsed` attribute to shrink them to the\nsize of their content:\n\n```html\n<esp-button label=\"Full Width\"></esp-button>\n<esp-button collapsed label=\"Collapsed\"></esp-button>\n```",
|
|
11255
|
+
"fieldName": "collapsed"
|
|
11256
|
+
},
|
|
11257
|
+
{
|
|
11258
|
+
"name": "disabled",
|
|
11259
|
+
"type": {
|
|
11260
|
+
"text": "boolean"
|
|
11261
|
+
},
|
|
11262
|
+
"default": "false",
|
|
11263
|
+
"description": "Disables the button.\n\n```html\n<esp-button disabled label=\"Disabled\"></esp-button>\n<script>\n const theButton = findByTagName(\"esp-button\")[0];\n theButton.addEventListener(\"esp-clicked\", () => {\n alert(\"We will not get here...\");\n});\n</script>\n```",
|
|
11264
|
+
"fieldName": "disabled"
|
|
11265
|
+
},
|
|
11266
|
+
{
|
|
11267
|
+
"name": "href",
|
|
11268
|
+
"type": {
|
|
11269
|
+
"text": "string"
|
|
11270
|
+
},
|
|
11271
|
+
"default": "\"\"",
|
|
11272
|
+
"description": "If href is set, the button will be rendered as an anchor link\npointing to the href value instead of a button.\n\n```html\n<esp-button href=\"#\" label=\"Link button\"></esp-button>\n```",
|
|
11273
|
+
"fieldName": "href"
|
|
11274
|
+
},
|
|
11275
|
+
{
|
|
11276
|
+
"name": "current",
|
|
11277
|
+
"type": {
|
|
11278
|
+
"text": "boolean"
|
|
11279
|
+
},
|
|
11280
|
+
"default": "false",
|
|
11281
|
+
"description": "Marks a linked destination as the current page. With `href`, renders a\nnoninteractive `span[aria-current=\"page\"]` with button chrome. Loading,\ndisabled and pressed states do not apply. Ignored when `href` is empty.",
|
|
11282
|
+
"fieldName": "current"
|
|
11283
|
+
},
|
|
11284
|
+
{
|
|
11285
|
+
"name": "icon-only",
|
|
11286
|
+
"type": {
|
|
11287
|
+
"text": "boolean"
|
|
11288
|
+
},
|
|
11289
|
+
"default": "false",
|
|
11290
|
+
"description": "If true, the button only displays the icon.\n\n```html\n<esp-button icon-only icon=\"cog\" aria-label=\"Settings\"></esp-button>\n```",
|
|
11291
|
+
"fieldName": "iconOnly"
|
|
11292
|
+
},
|
|
11293
|
+
{
|
|
11294
|
+
"name": "icon",
|
|
11295
|
+
"type": {
|
|
11296
|
+
"text": "string"
|
|
11297
|
+
},
|
|
11298
|
+
"default": "\"\"",
|
|
11299
|
+
"description": "Optional icon name from the configured Espalier SVG sprite.\nSlotted SVG content remains supported and overrides this value.\n\n```html\n<esp-button label=\"Settings\" icon=\"cog\"></esp-button>\n```",
|
|
11300
|
+
"fieldName": "icon"
|
|
11301
|
+
},
|
|
11302
|
+
{
|
|
11303
|
+
"name": "icon-position",
|
|
11304
|
+
"type": {
|
|
11305
|
+
"text": "\"left\" | \"right\""
|
|
11306
|
+
},
|
|
11307
|
+
"default": "\"right\"",
|
|
11308
|
+
"description": "Places the optional icon on the logical leading (`\"left\"`) or trailing\n(`\"right\"`) side of the label. Logical placement mirrors in RTL.\n\n```html\n<esp-button label=\"Save\" icon=\"save\" icon-position=\"left\"></esp-button>\n<esp-button label=\"Next\" icon=\"arrow-big-right\" icon-position=\"right\"></esp-button>\n```",
|
|
11309
|
+
"fieldName": "iconPosition"
|
|
11310
|
+
},
|
|
11311
|
+
{
|
|
11312
|
+
"name": "label",
|
|
11313
|
+
"type": {
|
|
11314
|
+
"text": "string"
|
|
11315
|
+
},
|
|
11316
|
+
"default": "\"\"",
|
|
11317
|
+
"description": "The label of the button.\n\n```html\n<esp-button label=\"Do something\"></esp-button>\n```",
|
|
11318
|
+
"fieldName": "label"
|
|
11319
|
+
},
|
|
11320
|
+
{
|
|
11321
|
+
"name": "loading",
|
|
11322
|
+
"type": {
|
|
11323
|
+
"text": "boolean"
|
|
11324
|
+
},
|
|
11325
|
+
"default": "false",
|
|
11326
|
+
"description": "Shows the button's loading state.\nThe button will be disabled and show a spinner while loading\nis true.\n\n```html\n<esp-button label=\"Click me...\" icon=\"save\"></esp-button>\n<script>\n const theButton = findByTagName(\"esp-button\")[0];\n theButton.addEventListener(\"esp-clicked\", async () => {\n theButton.loading = true;\n setTimeout(function() {\n theButton.loading = false;\n }, 5000);\n });\n</script>\n```",
|
|
11327
|
+
"fieldName": "loading"
|
|
11328
|
+
},
|
|
11329
|
+
{
|
|
11330
|
+
"name": "target",
|
|
11331
|
+
"type": {
|
|
11332
|
+
"text": "string"
|
|
11333
|
+
},
|
|
11334
|
+
"default": "\"\"",
|
|
11335
|
+
"description": "If the button is a link, this specifies the target browser window.\n\n```html\n<esp-button href=\"#\" target=\"_blank\" label=\"External link\"></esp-button>\n```",
|
|
11336
|
+
"fieldName": "target"
|
|
11337
|
+
},
|
|
11338
|
+
{
|
|
11339
|
+
"name": "rel",
|
|
11340
|
+
"type": {
|
|
11341
|
+
"text": "string"
|
|
11342
|
+
},
|
|
11343
|
+
"default": "\"\"",
|
|
11344
|
+
"description": "If the button is a link, this specifies the relationship\nbetween the current page and the linked URL. Common values\ninclude `\"noopener noreferrer\"` for external links opened\nin a new tab.\n\n```html\n<esp-button href=\"#\" target=\"_blank\" rel=\"noopener noreferrer\" label=\"External\"></esp-button>\n```",
|
|
11345
|
+
"fieldName": "rel"
|
|
11346
|
+
},
|
|
11347
|
+
{
|
|
11348
|
+
"name": "new-tab-label",
|
|
11349
|
+
"type": {
|
|
11350
|
+
"text": "string"
|
|
11351
|
+
},
|
|
11352
|
+
"default": "DEFAULT_NEW_TAB_LABEL",
|
|
11353
|
+
"description": "Hidden phrase appended to the accessible name of a `target=\"_blank\"` link.\nReplace for non-English sites. Empty or whitespace text falls back to English.",
|
|
11354
|
+
"fieldName": "newTabLabel"
|
|
11355
|
+
},
|
|
11356
|
+
{
|
|
11357
|
+
"name": "formnovalidate",
|
|
11358
|
+
"type": {
|
|
11359
|
+
"text": "boolean"
|
|
11360
|
+
},
|
|
11361
|
+
"default": "false",
|
|
11362
|
+
"description": "When true and `button-type` is `\"submit\"`, the enclosing\nform is submitted without running constraint validation.\n\n```html\n<esp-button button-type=\"submit\" formnovalidate label=\"Save Draft\"></esp-button>\n```",
|
|
11363
|
+
"fieldName": "formNoValidate"
|
|
11364
|
+
},
|
|
11365
|
+
{
|
|
11366
|
+
"type": {
|
|
11367
|
+
"text": "\"1\"|\"2\"|\"3\"|\"4\""
|
|
11368
|
+
},
|
|
11369
|
+
"description": "Declares the painted surface depth. Fields use the next local layer, capped at layer 4.",
|
|
11370
|
+
"name": "surface-layer",
|
|
11371
|
+
"inheritedFrom": {
|
|
11372
|
+
"name": "EspalierElementBase",
|
|
11373
|
+
"module": "dist/shared/esp-element-base.js"
|
|
11374
|
+
}
|
|
11375
|
+
},
|
|
11376
|
+
{
|
|
11377
|
+
"name": "scheme",
|
|
11378
|
+
"type": {
|
|
11379
|
+
"text": "\"dark\" | \"light\""
|
|
11380
|
+
},
|
|
11381
|
+
"default": "\"light\"",
|
|
11382
|
+
"description": "The scheme to use for the component. This property is used internally\nto control the light/dark scheme so it matches the scheme of\n[esp-root](/components/root). It should not be set manually, it\nexists as an attribute for styling purposes.",
|
|
11383
|
+
"fieldName": "scheme",
|
|
11384
|
+
"inheritedFrom": {
|
|
11385
|
+
"name": "EspalierElementBase",
|
|
11386
|
+
"module": "dist/shared/esp-element-base.js"
|
|
11387
|
+
}
|
|
11388
|
+
},
|
|
11389
|
+
{
|
|
11390
|
+
"name": "intent",
|
|
11391
|
+
"type": {
|
|
11392
|
+
"text": "EspalierIntentVariant"
|
|
11393
|
+
},
|
|
11394
|
+
"description": "The element's [intent](/espalier-guides/) — its meaning: `neutral`\n(no pin), or `success`, `warning`, `danger`, `info` — each pinned\nto its fixed status family (blue for `info`), retunable per theme\nvia `intents`. On token-emitting controls a non-neutral intent pins the\nfilled-action pair to that family, derived over the governing\nzone's theme; class-styled chrome (badges, callouts, status pills)\nopts out of inline emission and renders its treatment from CSS\nclasses instead. An intent never repaints the surrounding zone,\nwhich is what contexts are for. Removing the attribute restores\nthe element's own default intent.",
|
|
11395
|
+
"fieldName": "intent",
|
|
11396
|
+
"inheritedFrom": {
|
|
11397
|
+
"name": "EspalierElementBase",
|
|
11398
|
+
"module": "dist/shared/esp-element-base.js"
|
|
11399
|
+
}
|
|
11400
|
+
},
|
|
11401
|
+
{
|
|
11402
|
+
"name": "context",
|
|
11403
|
+
"type": {
|
|
11404
|
+
"text": "string"
|
|
11405
|
+
},
|
|
11406
|
+
"description": "A theme-defined color zone. The selected context rebinds designer-facing\nroles and emits a complete, contrast-enforced semantic token table on this\nhost for descendants to inherit.",
|
|
11407
|
+
"fieldName": "context",
|
|
11408
|
+
"inheritedFrom": {
|
|
11409
|
+
"name": "EspalierElementBase",
|
|
11410
|
+
"module": "dist/shared/esp-element-base.js"
|
|
11411
|
+
}
|
|
11412
|
+
}
|
|
11413
|
+
],
|
|
11414
|
+
"superclass": {
|
|
11415
|
+
"name": "EspalierElementBase",
|
|
11416
|
+
"module": "dist/shared/esp-element-base.js"
|
|
11417
|
+
},
|
|
11418
|
+
"tagName": "esp-button",
|
|
11419
|
+
"customElement": true,
|
|
11420
|
+
"docPageTitle": {
|
|
11421
|
+
"name": "Button",
|
|
11422
|
+
"description": ""
|
|
11423
|
+
},
|
|
11424
|
+
"docUrl": {
|
|
11425
|
+
"name": "/components/button",
|
|
11426
|
+
"description": ""
|
|
11427
|
+
},
|
|
11428
|
+
"menuGroup": {
|
|
11429
|
+
"name": "Interaction",
|
|
11430
|
+
"description": ""
|
|
11431
|
+
},
|
|
11432
|
+
"menuLabel": {
|
|
11433
|
+
"name": "Button",
|
|
11434
|
+
"description": ""
|
|
11435
|
+
},
|
|
11436
|
+
"menuIcon": {
|
|
11437
|
+
"name": "button",
|
|
11438
|
+
"description": ""
|
|
11439
|
+
}
|
|
11440
|
+
}
|
|
11441
|
+
],
|
|
11442
|
+
"exports": [
|
|
11443
|
+
{
|
|
11444
|
+
"kind": "js",
|
|
11445
|
+
"name": "EspalierButton",
|
|
11446
|
+
"declaration": {
|
|
11447
|
+
"name": "EspalierButton",
|
|
11448
|
+
"module": "dist/button/esp-button.js"
|
|
11449
|
+
}
|
|
11450
|
+
},
|
|
11451
|
+
{
|
|
11452
|
+
"kind": "custom-element-definition",
|
|
11453
|
+
"name": "esp-button",
|
|
11454
|
+
"declaration": {
|
|
11455
|
+
"name": "EspalierButton",
|
|
11456
|
+
"module": "dist/button/esp-button.js"
|
|
11457
|
+
}
|
|
11458
|
+
}
|
|
11459
|
+
]
|
|
11460
|
+
},
|
|
11461
|
+
{
|
|
11462
|
+
"kind": "javascript-module",
|
|
11463
|
+
"path": "dist/checkbox/esp-checkbox-group.js",
|
|
11464
|
+
"declarations": [
|
|
11465
|
+
{
|
|
11466
|
+
"kind": "class",
|
|
11467
|
+
"description": "Groups multiple [esp-checkbox](/components/checkbox)\ncomponents and manages their collective state. Works with\n[esp-form-item](/components/form-item) for label and\nerror message integration.\n\n```html\n<esp-box>\n <esp-form-item label=\"Select toppings\">\n <esp-checkbox-group>\n <esp-checkbox value=\"cheese\">Cheese</esp-checkbox>\n <esp-checkbox value=\"pepperoni\">Pepperoni</esp-checkbox>\n <esp-checkbox value=\"mushrooms\">Mushrooms</esp-checkbox>\n </esp-checkbox-group>\n </esp-form-item>\n</esp-box>\n```\n\n```html\n<esp-box>\n <esp-form-item label=\"Disabled group\">\n <esp-checkbox-group disabled>\n <esp-checkbox value=\"a\">Option A</esp-checkbox>\n <esp-checkbox value=\"b\" checked>Option B</esp-checkbox>\n <esp-checkbox value=\"c\">Option C</esp-checkbox>\n </esp-checkbox-group>\n </esp-form-item>\n</esp-box>\n```\n\nInside an `esp-form-item`, the group's `group` element takes the form\nitem's `label` as its accessible name and its hint as its description.\nWhile the form item shows an error, that element is `aria-invalid=\"true\"`\nand the error joins its description after the hint. Each option keeps its\nown label and is not described separately.",
|
|
11468
|
+
"name": "EspalierCheckboxGroup",
|
|
11469
|
+
"slots": [
|
|
11470
|
+
{
|
|
11471
|
+
"description": "Place `esp-checkbox` elements in the default slot.",
|
|
11472
|
+
"name": ""
|
|
11473
|
+
}
|
|
11474
|
+
],
|
|
11475
|
+
"members": [
|
|
11476
|
+
{
|
|
11477
|
+
"kind": "field",
|
|
11478
|
+
"name": "formAssociated",
|
|
11479
|
+
"type": {
|
|
11480
|
+
"text": "boolean"
|
|
11481
|
+
},
|
|
11482
|
+
"static": true,
|
|
11483
|
+
"default": "true"
|
|
11484
|
+
},
|
|
11485
|
+
{
|
|
11486
|
+
"kind": "field",
|
|
11487
|
+
"name": "internals",
|
|
11488
|
+
"privacy": "private"
|
|
11489
|
+
},
|
|
11490
|
+
{
|
|
11491
|
+
"kind": "field",
|
|
11492
|
+
"name": "formCtrl",
|
|
11493
|
+
"privacy": "private",
|
|
11494
|
+
"default": "new FormFieldController({ host: this, internals: this.internals, getFormValue: () => { const v = this.values; return v.length > 0 ? v.join(\",\") : null; }, getValidity: () => { if (this.required && this.values.length === 0) { return { flags: { valueMissing: true }, message: this.requiredMessage || \"Please select at least one option.\", }; } return null; }, onReset: () => { for (const cb of this.getCheckboxes()) { cb.checked = false; } }, onRestore: (state: string) => { const selected = state.split(\",\"); for (const cb of this.getCheckboxes()) { cb.checked = selected.includes(cb.value); } }, onDisabled: (isDisabled: boolean) => { this.disabled = isDisabled; }, })"
|
|
11495
|
+
},
|
|
11496
|
+
{
|
|
11497
|
+
"kind": "field",
|
|
11498
|
+
"name": "itemsSlot",
|
|
11499
|
+
"privacy": "private"
|
|
11500
|
+
},
|
|
11501
|
+
{
|
|
11502
|
+
"kind": "field",
|
|
11503
|
+
"name": "groupElement",
|
|
11504
|
+
"privacy": "private"
|
|
11505
|
+
},
|
|
11506
|
+
{
|
|
11507
|
+
"kind": "field",
|
|
11508
|
+
"name": "formItemDescription",
|
|
11509
|
+
"privacy": "private",
|
|
11510
|
+
"default": "new FormFieldDescriptionController({ host: this, getTarget: () => this.groupElement.value, })",
|
|
11511
|
+
"description": "The wrapping form item names, describes, and marks invalid the\n`group` element itself, so its label, hint, and error are read\nonce for the group rather than once per option (ESP0232)."
|
|
11512
|
+
},
|
|
11513
|
+
{
|
|
11514
|
+
"kind": "field",
|
|
11515
|
+
"name": "name",
|
|
11516
|
+
"type": {
|
|
11517
|
+
"text": "string"
|
|
11518
|
+
},
|
|
11519
|
+
"privacy": "public",
|
|
11520
|
+
"default": "\"\"",
|
|
11521
|
+
"description": "The name used when the group participates in a `<form>`.",
|
|
11522
|
+
"attribute": "name",
|
|
11523
|
+
"reflects": true
|
|
11524
|
+
},
|
|
11525
|
+
{
|
|
11526
|
+
"kind": "field",
|
|
11527
|
+
"name": "required",
|
|
11528
|
+
"type": {
|
|
11529
|
+
"text": "boolean"
|
|
11530
|
+
},
|
|
11531
|
+
"privacy": "public",
|
|
11532
|
+
"default": "false",
|
|
11533
|
+
"description": "When true, at least one checkbox must be checked before\nthe form can be submitted.",
|
|
11534
|
+
"attribute": "required",
|
|
11535
|
+
"reflects": true
|
|
11536
|
+
},
|
|
11537
|
+
{
|
|
11538
|
+
"kind": "field",
|
|
11539
|
+
"name": "requiredMessage",
|
|
11540
|
+
"type": {
|
|
11541
|
+
"text": "string"
|
|
11542
|
+
},
|
|
11543
|
+
"privacy": "public",
|
|
11544
|
+
"default": "\"\"",
|
|
11545
|
+
"description": "A custom message to display when the group is required but no\ncheckbox is checked. Defaults to\n`\"Please select at least one option.\"` when not set.",
|
|
11546
|
+
"attribute": "required-message"
|
|
11547
|
+
},
|
|
11548
|
+
{
|
|
11549
|
+
"kind": "field",
|
|
11550
|
+
"name": "disabled",
|
|
11551
|
+
"type": {
|
|
11552
|
+
"text": "boolean"
|
|
11553
|
+
},
|
|
11554
|
+
"privacy": "public",
|
|
11555
|
+
"default": "false",
|
|
11556
|
+
"description": "Disables all child checkboxes in the group.",
|
|
11557
|
+
"attribute": "disabled",
|
|
11558
|
+
"reflects": true
|
|
11559
|
+
},
|
|
11560
|
+
{
|
|
11561
|
+
"kind": "field",
|
|
11562
|
+
"name": "values",
|
|
11563
|
+
"type": {
|
|
11564
|
+
"text": "Array<string>"
|
|
11565
|
+
},
|
|
11566
|
+
"privacy": "public",
|
|
11567
|
+
"description": "Returns the values of all currently checked checkboxes\nin the group.",
|
|
11568
|
+
"readonly": true
|
|
11569
|
+
},
|
|
11570
|
+
{
|
|
11571
|
+
"kind": "method",
|
|
11572
|
+
"name": "focus",
|
|
11573
|
+
"privacy": "public",
|
|
11574
|
+
"return": {
|
|
11575
|
+
"type": {
|
|
11576
|
+
"text": "void"
|
|
11577
|
+
}
|
|
11578
|
+
},
|
|
11579
|
+
"parameters": [
|
|
11580
|
+
{
|
|
11581
|
+
"name": "options",
|
|
11582
|
+
"optional": true,
|
|
11583
|
+
"type": {
|
|
11584
|
+
"text": "FocusOptions"
|
|
11585
|
+
}
|
|
11586
|
+
}
|
|
11587
|
+
],
|
|
11588
|
+
"description": "Focus the first non-disabled checkbox in the group."
|
|
11589
|
+
},
|
|
11590
|
+
{
|
|
11591
|
+
"kind": "method",
|
|
11592
|
+
"name": "validate",
|
|
11593
|
+
"privacy": "public",
|
|
11594
|
+
"return": {
|
|
11595
|
+
"type": {
|
|
11596
|
+
"text": "void"
|
|
11597
|
+
}
|
|
11598
|
+
},
|
|
11599
|
+
"description": "Re-run constraint validation and dispatch `esp-validity-changed`."
|
|
11600
|
+
},
|
|
11601
|
+
{
|
|
11602
|
+
"kind": "method",
|
|
11603
|
+
"name": "checkValidity",
|
|
11604
|
+
"privacy": "public",
|
|
11605
|
+
"return": {
|
|
11606
|
+
"type": {
|
|
11607
|
+
"text": "boolean"
|
|
11608
|
+
}
|
|
11609
|
+
},
|
|
11610
|
+
"description": "Check whether the current state is valid (delegates to ElementInternals)."
|
|
11611
|
+
},
|
|
11612
|
+
{
|
|
11613
|
+
"kind": "method",
|
|
11614
|
+
"name": "getCheckboxes",
|
|
11615
|
+
"privacy": "private",
|
|
11616
|
+
"return": {
|
|
11617
|
+
"type": {
|
|
11618
|
+
"text": "EspalierCheckbox[]"
|
|
11619
|
+
}
|
|
11620
|
+
}
|
|
11621
|
+
},
|
|
11622
|
+
{
|
|
11623
|
+
"kind": "method",
|
|
11624
|
+
"name": "applyDisabledState",
|
|
11625
|
+
"privacy": "private",
|
|
11626
|
+
"return": {
|
|
11627
|
+
"type": {
|
|
11628
|
+
"text": "void"
|
|
11629
|
+
}
|
|
11630
|
+
}
|
|
11631
|
+
},
|
|
11632
|
+
{
|
|
11633
|
+
"kind": "field",
|
|
11634
|
+
"name": "handleItemsSlotChange",
|
|
11635
|
+
"privacy": "private"
|
|
11636
|
+
},
|
|
11637
|
+
{
|
|
11638
|
+
"kind": "method",
|
|
11639
|
+
"name": "handleChildChanged",
|
|
11640
|
+
"privacy": "private",
|
|
11641
|
+
"return": {
|
|
11642
|
+
"type": {
|
|
11643
|
+
"text": "void"
|
|
11644
|
+
}
|
|
11645
|
+
},
|
|
11646
|
+
"parameters": [
|
|
11647
|
+
{
|
|
11648
|
+
"name": "ev",
|
|
11649
|
+
"type": {
|
|
11650
|
+
"text": "Event"
|
|
11651
|
+
}
|
|
11652
|
+
}
|
|
11653
|
+
]
|
|
11654
|
+
},
|
|
11655
|
+
{
|
|
11656
|
+
"kind": "method",
|
|
11657
|
+
"name": "formResetCallback",
|
|
11658
|
+
"return": {
|
|
11659
|
+
"type": {
|
|
11660
|
+
"text": "void"
|
|
11661
|
+
}
|
|
11662
|
+
},
|
|
11663
|
+
"description": "Called by the browser when the owning `<form>` is reset."
|
|
11664
|
+
},
|
|
11665
|
+
{
|
|
11666
|
+
"kind": "method",
|
|
11667
|
+
"name": "formStateRestoreCallback",
|
|
11668
|
+
"return": {
|
|
11669
|
+
"type": {
|
|
11670
|
+
"text": "void"
|
|
11671
|
+
}
|
|
11672
|
+
},
|
|
11673
|
+
"parameters": [
|
|
11674
|
+
{
|
|
11675
|
+
"name": "state",
|
|
11676
|
+
"type": {
|
|
11677
|
+
"text": "string"
|
|
11678
|
+
}
|
|
11679
|
+
}
|
|
11680
|
+
],
|
|
11681
|
+
"description": "Called by the browser to restore form state (bfcache, etc.)."
|
|
11682
|
+
},
|
|
11683
|
+
{
|
|
11684
|
+
"kind": "method",
|
|
11685
|
+
"name": "formDisabledCallback",
|
|
11686
|
+
"return": {
|
|
11687
|
+
"type": {
|
|
11688
|
+
"text": "void"
|
|
11689
|
+
}
|
|
11690
|
+
},
|
|
11691
|
+
"parameters": [
|
|
11692
|
+
{
|
|
11693
|
+
"name": "isDisabled",
|
|
11694
|
+
"type": {
|
|
11695
|
+
"text": "boolean"
|
|
11696
|
+
}
|
|
11697
|
+
}
|
|
11698
|
+
],
|
|
11699
|
+
"description": "Called by the browser when a parent `<fieldset>` is enabled or disabled."
|
|
11700
|
+
},
|
|
11701
|
+
{
|
|
11702
|
+
"kind": "field",
|
|
11703
|
+
"name": "seedColorBacker",
|
|
11704
|
+
"type": {
|
|
11705
|
+
"text": "string"
|
|
11706
|
+
},
|
|
11707
|
+
"privacy": "private",
|
|
11708
|
+
"default": "\"oklch(0.7 0.125 216)\"",
|
|
11709
|
+
"inheritedFrom": {
|
|
11710
|
+
"name": "EspalierElementBase",
|
|
11711
|
+
"module": "dist/shared/esp-element-base.js"
|
|
11712
|
+
}
|
|
11713
|
+
},
|
|
11714
|
+
{
|
|
11715
|
+
"kind": "field",
|
|
11716
|
+
"name": "espRoot",
|
|
11717
|
+
"type": {
|
|
11718
|
+
"text": "EspalierRoot | null"
|
|
11719
|
+
},
|
|
11720
|
+
"privacy": "private",
|
|
11721
|
+
"default": "null",
|
|
11722
|
+
"inheritedFrom": {
|
|
11723
|
+
"name": "EspalierElementBase",
|
|
11724
|
+
"module": "dist/shared/esp-element-base.js"
|
|
11725
|
+
}
|
|
11726
|
+
},
|
|
11727
|
+
{
|
|
11728
|
+
"kind": "field",
|
|
11729
|
+
"name": "contextBacker",
|
|
11730
|
+
"type": {
|
|
11731
|
+
"text": "string"
|
|
11732
|
+
},
|
|
11733
|
+
"privacy": "private",
|
|
11734
|
+
"default": "\"\"",
|
|
11735
|
+
"inheritedFrom": {
|
|
11736
|
+
"name": "EspalierElementBase",
|
|
11737
|
+
"module": "dist/shared/esp-element-base.js"
|
|
11738
|
+
}
|
|
11739
|
+
},
|
|
11740
|
+
{
|
|
11741
|
+
"kind": "field",
|
|
11742
|
+
"name": "scopedTokenOriginalValues",
|
|
11743
|
+
"privacy": "private",
|
|
11744
|
+
"readonly": true,
|
|
11745
|
+
"default": "new Map< string, { generatedPriority: string; generatedValue: string; originalPriority: string; originalValue: string | null; } >()",
|
|
11746
|
+
"inheritedFrom": {
|
|
11747
|
+
"name": "EspalierElementBase",
|
|
11748
|
+
"module": "dist/shared/esp-element-base.js"
|
|
11749
|
+
}
|
|
11750
|
+
},
|
|
11751
|
+
{
|
|
11752
|
+
"kind": "field",
|
|
11753
|
+
"name": "warnedUnknownContexts",
|
|
11754
|
+
"privacy": "private",
|
|
11755
|
+
"readonly": true,
|
|
11756
|
+
"default": "new Set<string>()",
|
|
11757
|
+
"inheritedFrom": {
|
|
11758
|
+
"name": "EspalierElementBase",
|
|
11759
|
+
"module": "dist/shared/esp-element-base.js"
|
|
11760
|
+
}
|
|
11761
|
+
},
|
|
11762
|
+
{
|
|
11763
|
+
"kind": "field",
|
|
11764
|
+
"name": "pendingInitialThemeRoot",
|
|
11765
|
+
"type": {
|
|
11766
|
+
"text": "EspalierRoot | null"
|
|
11767
|
+
},
|
|
11768
|
+
"privacy": "private",
|
|
11769
|
+
"default": "null",
|
|
11770
|
+
"inheritedFrom": {
|
|
11771
|
+
"name": "EspalierElementBase",
|
|
11772
|
+
"module": "dist/shared/esp-element-base.js"
|
|
11773
|
+
}
|
|
11774
|
+
},
|
|
11775
|
+
{
|
|
11776
|
+
"kind": "field",
|
|
11777
|
+
"name": "rootEventSubscriptionsActive",
|
|
11778
|
+
"type": {
|
|
11779
|
+
"text": "boolean"
|
|
11780
|
+
},
|
|
11781
|
+
"privacy": "private",
|
|
11782
|
+
"default": "false",
|
|
11783
|
+
"inheritedFrom": {
|
|
11784
|
+
"name": "EspalierElementBase",
|
|
11785
|
+
"module": "dist/shared/esp-element-base.js"
|
|
11786
|
+
}
|
|
11787
|
+
},
|
|
11788
|
+
{
|
|
11789
|
+
"kind": "field",
|
|
11790
|
+
"name": "subscribedRoot",
|
|
11791
|
+
"type": {
|
|
11792
|
+
"text": "EspalierRoot | null"
|
|
11793
|
+
},
|
|
11794
|
+
"privacy": "private",
|
|
11795
|
+
"default": "null",
|
|
11796
|
+
"inheritedFrom": {
|
|
11797
|
+
"name": "EspalierElementBase",
|
|
11798
|
+
"module": "dist/shared/esp-element-base.js"
|
|
11799
|
+
}
|
|
11800
|
+
},
|
|
11801
|
+
{
|
|
11802
|
+
"kind": "field",
|
|
11803
|
+
"name": "rootEventUnsubscribers",
|
|
11804
|
+
"type": {
|
|
11805
|
+
"text": "Array<() => void>"
|
|
11806
|
+
},
|
|
11807
|
+
"privacy": "private",
|
|
11808
|
+
"default": "[]",
|
|
11809
|
+
"inheritedFrom": {
|
|
11810
|
+
"name": "EspalierElementBase",
|
|
11811
|
+
"module": "dist/shared/esp-element-base.js"
|
|
11812
|
+
}
|
|
11813
|
+
},
|
|
11814
|
+
{
|
|
11815
|
+
"kind": "field",
|
|
11816
|
+
"name": "intentBacker",
|
|
11817
|
+
"type": {
|
|
11818
|
+
"text": "EspalierIntentVariant"
|
|
11819
|
+
},
|
|
11820
|
+
"privacy": "protected",
|
|
11821
|
+
"default": "\"neutral\"",
|
|
11822
|
+
"inheritedFrom": {
|
|
11823
|
+
"name": "EspalierElementBase",
|
|
11824
|
+
"module": "dist/shared/esp-element-base.js"
|
|
11825
|
+
}
|
|
11826
|
+
},
|
|
11827
|
+
{
|
|
11828
|
+
"kind": "field",
|
|
11829
|
+
"name": "intentEmitsTokens",
|
|
11830
|
+
"type": {
|
|
11831
|
+
"text": "boolean"
|
|
11832
|
+
},
|
|
11833
|
+
"privacy": "protected",
|
|
11834
|
+
"default": "true",
|
|
11835
|
+
"description": "Whether a non-neutral intent emits its inline tokens\n(`--esp-color-primary` and the filled-action pair). Interactive\ncontrols need them; chrome whose intent treatment is class-based\n(badges, callouts, status pills — see `intentSurfaceTokens`) opts\nout so a decorative intent never rewrites inherited tokens for\nslotted content.",
|
|
11836
|
+
"inheritedFrom": {
|
|
11837
|
+
"name": "EspalierElementBase",
|
|
11838
|
+
"module": "dist/shared/esp-element-base.js"
|
|
11839
|
+
}
|
|
11840
|
+
},
|
|
11841
|
+
{
|
|
11842
|
+
"kind": "field",
|
|
11843
|
+
"name": "warnedUnknownIntents",
|
|
11844
|
+
"privacy": "private",
|
|
11845
|
+
"readonly": true,
|
|
11846
|
+
"default": "new Set<string>()",
|
|
11847
|
+
"inheritedFrom": {
|
|
11848
|
+
"name": "EspalierElementBase",
|
|
11849
|
+
"module": "dist/shared/esp-element-base.js"
|
|
11850
|
+
}
|
|
11851
|
+
},
|
|
11852
|
+
{
|
|
11853
|
+
"kind": "field",
|
|
11854
|
+
"name": "seedColor",
|
|
11855
|
+
"type": {
|
|
11856
|
+
"text": "string"
|
|
11857
|
+
},
|
|
11858
|
+
"privacy": "public",
|
|
11859
|
+
"inheritedFrom": {
|
|
11860
|
+
"name": "EspalierElementBase",
|
|
11861
|
+
"module": "dist/shared/esp-element-base.js"
|
|
11862
|
+
}
|
|
11863
|
+
},
|
|
11864
|
+
{
|
|
11865
|
+
"kind": "field",
|
|
11866
|
+
"name": "correlationId",
|
|
11867
|
+
"privacy": "public",
|
|
11868
|
+
"inheritedFrom": {
|
|
11869
|
+
"name": "EspalierElementBase",
|
|
11870
|
+
"module": "dist/shared/esp-element-base.js"
|
|
11871
|
+
}
|
|
11872
|
+
},
|
|
11873
|
+
{
|
|
11874
|
+
"kind": "method",
|
|
11875
|
+
"name": "focusResolvedElementAfterUpdate",
|
|
11876
|
+
"privacy": "protected",
|
|
11877
|
+
"return": {
|
|
11878
|
+
"type": {
|
|
11879
|
+
"text": "void"
|
|
11880
|
+
}
|
|
11881
|
+
},
|
|
11882
|
+
"parameters": [
|
|
11883
|
+
{
|
|
11884
|
+
"name": "resolveTarget",
|
|
11885
|
+
"type": {
|
|
11886
|
+
"text": "() => HTMLElement | null | undefined"
|
|
11887
|
+
}
|
|
11888
|
+
},
|
|
11889
|
+
{
|
|
11890
|
+
"name": "options",
|
|
11891
|
+
"optional": true,
|
|
11892
|
+
"type": {
|
|
11893
|
+
"text": "FocusOptions"
|
|
11894
|
+
}
|
|
11895
|
+
}
|
|
11896
|
+
],
|
|
11897
|
+
"inheritedFrom": {
|
|
11898
|
+
"name": "EspalierElementBase",
|
|
11899
|
+
"module": "dist/shared/esp-element-base.js"
|
|
11900
|
+
}
|
|
11901
|
+
},
|
|
11902
|
+
{
|
|
11903
|
+
"kind": "method",
|
|
11904
|
+
"name": "focusShadowElementAfterUpdate",
|
|
11905
|
+
"privacy": "protected",
|
|
11906
|
+
"return": {
|
|
11907
|
+
"type": {
|
|
11908
|
+
"text": "void"
|
|
11909
|
+
}
|
|
11910
|
+
},
|
|
11911
|
+
"parameters": [
|
|
11912
|
+
{
|
|
11913
|
+
"name": "selector",
|
|
11914
|
+
"type": {
|
|
11915
|
+
"text": "string"
|
|
11916
|
+
}
|
|
11917
|
+
},
|
|
11918
|
+
{
|
|
11919
|
+
"name": "options",
|
|
11920
|
+
"optional": true,
|
|
11921
|
+
"type": {
|
|
11922
|
+
"text": "FocusOptions"
|
|
11923
|
+
}
|
|
11924
|
+
}
|
|
11925
|
+
],
|
|
11926
|
+
"inheritedFrom": {
|
|
11927
|
+
"name": "EspalierElementBase",
|
|
11928
|
+
"module": "dist/shared/esp-element-base.js"
|
|
11929
|
+
}
|
|
11930
|
+
},
|
|
11931
|
+
{
|
|
11932
|
+
"kind": "method",
|
|
11933
|
+
"name": "emitValueChanged",
|
|
11934
|
+
"privacy": "protected",
|
|
11935
|
+
"return": {
|
|
11936
|
+
"type": {
|
|
11937
|
+
"text": "void"
|
|
11938
|
+
}
|
|
11939
|
+
},
|
|
11940
|
+
"parameters": [
|
|
11941
|
+
{
|
|
11942
|
+
"name": "detail",
|
|
11943
|
+
"type": {
|
|
11944
|
+
"text": "T"
|
|
11945
|
+
}
|
|
11946
|
+
}
|
|
11947
|
+
],
|
|
11948
|
+
"inheritedFrom": {
|
|
11949
|
+
"name": "EspalierElementBase",
|
|
11950
|
+
"module": "dist/shared/esp-element-base.js"
|
|
11951
|
+
}
|
|
11952
|
+
},
|
|
11953
|
+
{
|
|
11954
|
+
"kind": "field",
|
|
11955
|
+
"name": "scheme",
|
|
11956
|
+
"type": {
|
|
11957
|
+
"text": "\"dark\" | \"light\""
|
|
11958
|
+
},
|
|
11959
|
+
"privacy": "public",
|
|
11960
|
+
"default": "\"light\"",
|
|
11961
|
+
"description": "The scheme to use for the component. This property is used internally\nto control the light/dark scheme so it matches the scheme of\n[esp-root](/components/root). It should not be set manually, it\nexists as an attribute for styling purposes.",
|
|
11962
|
+
"attribute": "scheme",
|
|
11963
|
+
"reflects": true,
|
|
11964
|
+
"inheritedFrom": {
|
|
11965
|
+
"name": "EspalierElementBase",
|
|
11966
|
+
"module": "dist/shared/esp-element-base.js"
|
|
11967
|
+
}
|
|
11968
|
+
},
|
|
11969
|
+
{
|
|
11970
|
+
"kind": "field",
|
|
11971
|
+
"name": "intent",
|
|
11972
|
+
"type": {
|
|
11973
|
+
"text": "EspalierIntentVariant"
|
|
11974
|
+
},
|
|
11975
|
+
"privacy": "public",
|
|
11976
|
+
"description": "The element's [intent](/espalier-guides/) — its meaning: `neutral`\n(no pin), or `success`, `warning`, `danger`, `info` — each pinned\nto its fixed status family (blue for `info`), retunable per theme\nvia `intents`. On token-emitting controls a non-neutral intent pins the\nfilled-action pair to that family, derived over the governing\nzone's theme; class-styled chrome (badges, callouts, status pills)\nopts out of inline emission and renders its treatment from CSS\nclasses instead. An intent never repaints the surrounding zone,\nwhich is what contexts are for. Removing the attribute restores\nthe element's own default intent.",
|
|
11977
|
+
"attribute": "intent",
|
|
11978
|
+
"reflects": true,
|
|
11979
|
+
"inheritedFrom": {
|
|
11980
|
+
"name": "EspalierElementBase",
|
|
11981
|
+
"module": "dist/shared/esp-element-base.js"
|
|
11982
|
+
}
|
|
11983
|
+
},
|
|
11984
|
+
{
|
|
11985
|
+
"kind": "field",
|
|
11986
|
+
"name": "context",
|
|
11987
|
+
"type": {
|
|
11988
|
+
"text": "string"
|
|
11989
|
+
},
|
|
11990
|
+
"privacy": "public",
|
|
11991
|
+
"description": "A theme-defined color zone. The selected context rebinds designer-facing\nroles and emits a complete, contrast-enforced semantic token table on this\nhost for descendants to inherit.",
|
|
11992
|
+
"attribute": "context",
|
|
11993
|
+
"reflects": true,
|
|
11994
|
+
"inheritedFrom": {
|
|
11995
|
+
"name": "EspalierElementBase",
|
|
11996
|
+
"module": "dist/shared/esp-element-base.js"
|
|
11997
|
+
}
|
|
11998
|
+
},
|
|
11999
|
+
{
|
|
12000
|
+
"kind": "method",
|
|
12001
|
+
"name": "refreshDescendantIntentDerivations",
|
|
12002
|
+
"privacy": "private",
|
|
12003
|
+
"return": {
|
|
12004
|
+
"type": {
|
|
12005
|
+
"text": "void"
|
|
12006
|
+
}
|
|
12007
|
+
},
|
|
12008
|
+
"description": "A zone rebinding must reach descendants whose intent pairs derive\nover it. Root-level changes arrive over the bus, but the context\nattribute is plain DOM state with no bus event, so the zone host\nwalks its FLATTENED subtree — crossing open shadow roots and\nfollowing slot assignment, the tree its table cascades along — and\nlets each Espalier descendant re-apply against the current\nancestry. Idempotent for hosts this zone doesn't govern; the\nvisited set guards the slot/light diamond (a host's light children\nare also its slots' assigned elements).",
|
|
12009
|
+
"inheritedFrom": {
|
|
12010
|
+
"name": "EspalierElementBase",
|
|
12011
|
+
"module": "dist/shared/esp-element-base.js"
|
|
12012
|
+
}
|
|
12013
|
+
},
|
|
12014
|
+
{
|
|
12015
|
+
"kind": "method",
|
|
12016
|
+
"name": "flattenedParent",
|
|
12017
|
+
"privacy": "private",
|
|
12018
|
+
"static": true,
|
|
12019
|
+
"return": {
|
|
12020
|
+
"type": {
|
|
12021
|
+
"text": "Node | null"
|
|
12022
|
+
}
|
|
12023
|
+
},
|
|
12024
|
+
"parameters": [
|
|
12025
|
+
{
|
|
12026
|
+
"name": "node",
|
|
12027
|
+
"type": {
|
|
12028
|
+
"text": "Node"
|
|
12029
|
+
}
|
|
12030
|
+
}
|
|
12031
|
+
],
|
|
12032
|
+
"description": "The flattened-tree parent: through the assigned slot, out of shadow roots.",
|
|
12033
|
+
"inheritedFrom": {
|
|
12034
|
+
"name": "EspalierElementBase",
|
|
12035
|
+
"module": "dist/shared/esp-element-base.js"
|
|
12036
|
+
}
|
|
12037
|
+
},
|
|
12038
|
+
{
|
|
12039
|
+
"kind": "method",
|
|
12040
|
+
"name": "resolveAncestorZoneTheme",
|
|
12041
|
+
"privacy": "private",
|
|
12042
|
+
"return": {
|
|
12043
|
+
"type": {
|
|
12044
|
+
"text": "EspalierTheme | null"
|
|
12045
|
+
}
|
|
12046
|
+
},
|
|
12047
|
+
"parameters": [
|
|
12048
|
+
{
|
|
12049
|
+
"name": "activeTheme",
|
|
12050
|
+
"type": {
|
|
12051
|
+
"text": "EspalierTheme"
|
|
12052
|
+
}
|
|
12053
|
+
}
|
|
12054
|
+
],
|
|
12055
|
+
"description": "The nearest ancestor zone the active theme can actually compile,\nwalking the flattened tree — through assigned slots and out of\nshadow roots — because that is the tree the zone's emitted table\ncascades along: a consumer shell may declare its zone around a\n`<slot>` inside its own shadow. A zone host with an unresolvable\ncontext emits nothing and inherits the next zone out, so unknown\nnames are skipped rather than collapsed to the root theme. Bounded\nby this element's esp-root.",
|
|
12056
|
+
"inheritedFrom": {
|
|
12057
|
+
"name": "EspalierElementBase",
|
|
12058
|
+
"module": "dist/shared/esp-element-base.js"
|
|
12059
|
+
}
|
|
12060
|
+
},
|
|
12061
|
+
{
|
|
12062
|
+
"kind": "method",
|
|
12063
|
+
"name": "syncRootFromDom",
|
|
12064
|
+
"privacy": "private",
|
|
12065
|
+
"return": {
|
|
12066
|
+
"type": {
|
|
12067
|
+
"text": "EspalierRoot | null"
|
|
12068
|
+
}
|
|
12069
|
+
},
|
|
12070
|
+
"parameters": [
|
|
12071
|
+
{
|
|
12072
|
+
"name": "throwIfMissing",
|
|
12073
|
+
"type": {
|
|
12074
|
+
"text": "boolean"
|
|
12075
|
+
}
|
|
12076
|
+
}
|
|
12077
|
+
],
|
|
12078
|
+
"inheritedFrom": {
|
|
12079
|
+
"name": "EspalierElementBase",
|
|
12080
|
+
"module": "dist/shared/esp-element-base.js"
|
|
12081
|
+
}
|
|
12082
|
+
},
|
|
12083
|
+
{
|
|
12084
|
+
"kind": "method",
|
|
12085
|
+
"name": "applyTokensWhenRootReady",
|
|
12086
|
+
"privacy": "private",
|
|
12087
|
+
"return": {
|
|
12088
|
+
"type": {
|
|
12089
|
+
"text": "void"
|
|
12090
|
+
}
|
|
12091
|
+
},
|
|
12092
|
+
"description": "Apply scoped tokens now, or defer until the active root's initial theme is ready.",
|
|
12093
|
+
"inheritedFrom": {
|
|
12094
|
+
"name": "EspalierElementBase",
|
|
12095
|
+
"module": "dist/shared/esp-element-base.js"
|
|
12096
|
+
}
|
|
12097
|
+
},
|
|
12098
|
+
{
|
|
12099
|
+
"kind": "method",
|
|
12100
|
+
"name": "applyTokensAfterInitialRootUpdate",
|
|
12101
|
+
"privacy": "private",
|
|
12102
|
+
"return": {
|
|
12103
|
+
"type": {
|
|
12104
|
+
"text": "void"
|
|
12105
|
+
}
|
|
12106
|
+
},
|
|
12107
|
+
"parameters": [
|
|
12108
|
+
{
|
|
12109
|
+
"name": "root",
|
|
12110
|
+
"type": {
|
|
12111
|
+
"text": "EspalierRoot"
|
|
12112
|
+
}
|
|
12113
|
+
}
|
|
12114
|
+
],
|
|
12115
|
+
"description": "Apply initial scoped tokens once the exact root this host found is ready.",
|
|
12116
|
+
"inheritedFrom": {
|
|
12117
|
+
"name": "EspalierElementBase",
|
|
12118
|
+
"module": "dist/shared/esp-element-base.js"
|
|
12119
|
+
}
|
|
12120
|
+
},
|
|
12121
|
+
{
|
|
12122
|
+
"kind": "method",
|
|
12123
|
+
"name": "subscribeToRootEvents",
|
|
12124
|
+
"privacy": "private",
|
|
12125
|
+
"return": {
|
|
12126
|
+
"type": {
|
|
12127
|
+
"text": "void"
|
|
12128
|
+
}
|
|
12129
|
+
},
|
|
12130
|
+
"parameters": [
|
|
12131
|
+
{
|
|
12132
|
+
"name": "root",
|
|
12133
|
+
"type": {
|
|
12134
|
+
"text": "EspalierRoot"
|
|
12135
|
+
}
|
|
12136
|
+
}
|
|
12137
|
+
],
|
|
12138
|
+
"inheritedFrom": {
|
|
12139
|
+
"name": "EspalierElementBase",
|
|
12140
|
+
"module": "dist/shared/esp-element-base.js"
|
|
12141
|
+
}
|
|
12142
|
+
},
|
|
12143
|
+
{
|
|
12144
|
+
"kind": "method",
|
|
12145
|
+
"name": "unsubscribeFromRootEvents",
|
|
12146
|
+
"privacy": "private",
|
|
12147
|
+
"return": {
|
|
12148
|
+
"type": {
|
|
12149
|
+
"text": "void"
|
|
12150
|
+
}
|
|
12151
|
+
},
|
|
12152
|
+
"inheritedFrom": {
|
|
12153
|
+
"name": "EspalierElementBase",
|
|
12154
|
+
"module": "dist/shared/esp-element-base.js"
|
|
12155
|
+
}
|
|
12156
|
+
},
|
|
12157
|
+
{
|
|
12158
|
+
"kind": "field",
|
|
12159
|
+
"name": "handleSeedColorChanged",
|
|
12160
|
+
"privacy": "private",
|
|
12161
|
+
"inheritedFrom": {
|
|
12162
|
+
"name": "EspalierElementBase",
|
|
12163
|
+
"module": "dist/shared/esp-element-base.js"
|
|
12164
|
+
}
|
|
12165
|
+
},
|
|
12166
|
+
{
|
|
12167
|
+
"kind": "field",
|
|
12168
|
+
"name": "handleSchemeChanged",
|
|
12169
|
+
"privacy": "private",
|
|
12170
|
+
"inheritedFrom": {
|
|
12171
|
+
"name": "EspalierElementBase",
|
|
12172
|
+
"module": "dist/shared/esp-element-base.js"
|
|
12173
|
+
}
|
|
12174
|
+
},
|
|
12175
|
+
{
|
|
12176
|
+
"kind": "field",
|
|
12177
|
+
"name": "handleThemeChanged",
|
|
12178
|
+
"privacy": "private",
|
|
12179
|
+
"inheritedFrom": {
|
|
12180
|
+
"name": "EspalierElementBase",
|
|
12181
|
+
"module": "dist/shared/esp-element-base.js"
|
|
12182
|
+
}
|
|
12183
|
+
},
|
|
12184
|
+
{
|
|
12185
|
+
"kind": "field",
|
|
12186
|
+
"name": "handleIconSpriteUrlChanged",
|
|
12187
|
+
"privacy": "private",
|
|
12188
|
+
"inheritedFrom": {
|
|
12189
|
+
"name": "EspalierElementBase",
|
|
12190
|
+
"module": "dist/shared/esp-element-base.js"
|
|
12191
|
+
}
|
|
12192
|
+
},
|
|
12193
|
+
{
|
|
12194
|
+
"kind": "method",
|
|
12195
|
+
"name": "traverseToClosest",
|
|
12196
|
+
"privacy": "public",
|
|
12197
|
+
"return": {
|
|
12198
|
+
"type": {
|
|
12199
|
+
"text": ""
|
|
12200
|
+
}
|
|
12201
|
+
},
|
|
12202
|
+
"parameters": [
|
|
12203
|
+
{
|
|
12204
|
+
"name": "selector",
|
|
12205
|
+
"type": {
|
|
12206
|
+
"text": "string"
|
|
12207
|
+
},
|
|
12208
|
+
"description": "The selector of the element to look for"
|
|
12209
|
+
}
|
|
12210
|
+
],
|
|
12211
|
+
"description": "Traverse up the DOM tree to find the closest element that\nmatches the selector. This method is aware of shadow DOM\nboundaries and will traverse through them to find the element.",
|
|
12212
|
+
"inheritedFrom": {
|
|
12213
|
+
"name": "EspalierElementBase",
|
|
12214
|
+
"module": "dist/shared/esp-element-base.js"
|
|
12215
|
+
}
|
|
12216
|
+
},
|
|
12217
|
+
{
|
|
12218
|
+
"kind": "field",
|
|
12219
|
+
"name": "intentColorSources",
|
|
12220
|
+
"type": {
|
|
12221
|
+
"text": "Readonly<\n Record<EspalierIntentVariant, ColorSource | \"\">\n >"
|
|
12222
|
+
},
|
|
12223
|
+
"privacy": "private",
|
|
12224
|
+
"static": true,
|
|
12225
|
+
"readonly": true,
|
|
12226
|
+
"default": "{ danger: \"danger\", info: \"info\", neutral: \"\", success: \"success\", warning: \"warning\", }",
|
|
12227
|
+
"description": "Intent color sources: the meaning-bearing families an intent pins\nthe filled-action pair to. `neutral` pins nothing; each other\nintent maps to its own fixed status family (ESP0172 gave `info` a\nreal blue family, replacing the complementary borrow the retired\nvariant system used), and a theme's `intents` field retunes the\nfamily colors themselves.",
|
|
12228
|
+
"inheritedFrom": {
|
|
12229
|
+
"name": "EspalierElementBase",
|
|
12230
|
+
"module": "dist/shared/esp-element-base.js"
|
|
12231
|
+
}
|
|
12232
|
+
},
|
|
12233
|
+
{
|
|
12234
|
+
"kind": "field",
|
|
12235
|
+
"name": "semanticActionTokens",
|
|
12236
|
+
"type": {
|
|
12237
|
+
"text": "ReadonlySet<SemanticColorName>"
|
|
12238
|
+
},
|
|
12239
|
+
"privacy": "private",
|
|
12240
|
+
"static": true,
|
|
12241
|
+
"readonly": true,
|
|
12242
|
+
"default": "new Set<SemanticColorName>([\"actionBackground\", \"actionText\"])",
|
|
12243
|
+
"description": "Semantic tokens that paint a control's filled action surface — the\npair an intent recolors. Everything else inherits the zone cascade,\nwhich is the ESP0166 fix: under the SHY fitted theme the retired\nvariant re-seeding painted a danger callout's *background* mint\ngreen; an intent leaves the zone's surfaces alone and pins only the\naction pair (plus `--esp-color-primary` for state derivations) to\nthe intent's own status family — fixed hues by default, retunable\nper theme via `intents`. Task 098's\nguarantee survives structurally: the\npin is by source, so no theme mapping can rotate a destructive /\nwarning / positive action off its semantic hue.",
|
|
12244
|
+
"inheritedFrom": {
|
|
12245
|
+
"name": "EspalierElementBase",
|
|
12246
|
+
"module": "dist/shared/esp-element-base.js"
|
|
12247
|
+
}
|
|
12248
|
+
},
|
|
12249
|
+
{
|
|
12250
|
+
"kind": "method",
|
|
12251
|
+
"name": "applyScopedColorTokens",
|
|
12252
|
+
"privacy": "protected",
|
|
12253
|
+
"return": {
|
|
12254
|
+
"type": {
|
|
12255
|
+
"text": "void"
|
|
12256
|
+
}
|
|
12257
|
+
},
|
|
12258
|
+
"description": "Compute and apply context- and intent-specific semantic color tokens.\n\nWith no context and a `neutral` intent, all semantic tokens cascade\nfrom `<esp-root>` and previous overrides are cleared. A context\nemits the zone's complete twenty-three-token table; a non-neutral intent\nthen overlays the filled-action pair, derived over the governing\nzone's theme — this host's own context, or the nearest ancestor\nzone's — so its APCA enforcement runs against the zone's actual\naction surface.",
|
|
12259
|
+
"inheritedFrom": {
|
|
12260
|
+
"name": "EspalierElementBase",
|
|
12261
|
+
"module": "dist/shared/esp-element-base.js"
|
|
12262
|
+
}
|
|
12263
|
+
},
|
|
12264
|
+
{
|
|
12265
|
+
"kind": "method",
|
|
12266
|
+
"name": "resolveContextTheme",
|
|
12267
|
+
"privacy": "private",
|
|
12268
|
+
"return": {
|
|
12269
|
+
"type": {
|
|
12270
|
+
"text": "{ applied: boolean; theme: EspalierTheme }"
|
|
12271
|
+
}
|
|
12272
|
+
},
|
|
12273
|
+
"parameters": [
|
|
12274
|
+
{
|
|
12275
|
+
"name": "theme",
|
|
12276
|
+
"type": {
|
|
12277
|
+
"text": "EspalierTheme"
|
|
12278
|
+
}
|
|
12279
|
+
}
|
|
12280
|
+
],
|
|
12281
|
+
"description": "Resolve this host's own context name over the active root theme.",
|
|
12282
|
+
"inheritedFrom": {
|
|
12283
|
+
"name": "EspalierElementBase",
|
|
12284
|
+
"module": "dist/shared/esp-element-base.js"
|
|
12285
|
+
}
|
|
12286
|
+
},
|
|
12287
|
+
{
|
|
12288
|
+
"kind": "method",
|
|
12289
|
+
"name": "warnUnknownContextWhenSettled",
|
|
12290
|
+
"privacy": "private",
|
|
12291
|
+
"return": {
|
|
12292
|
+
"type": {
|
|
12293
|
+
"text": "void"
|
|
12294
|
+
}
|
|
12295
|
+
},
|
|
12296
|
+
"parameters": [
|
|
12297
|
+
{
|
|
12298
|
+
"name": "name",
|
|
12299
|
+
"type": {
|
|
12300
|
+
"text": "string"
|
|
12301
|
+
}
|
|
12302
|
+
}
|
|
12303
|
+
],
|
|
12304
|
+
"description": "Warn about an unknown context only once the root's theme has\nsettled (ESP0177).\n\nA script-mounted theme lands after its descendants first render, so\na zone naming a context the theme *does* define would otherwise\nwarn about a state that was never rendered to anyone. Waiting for\nthe root to settle — an author theme resolved, or the pre-theme\nwindow closed with none — makes the warning describe the settled\ntheme instead of a transient one. It is deferred, never dropped: a\ngenuinely missing context still warns, just after the window.",
|
|
12305
|
+
"inheritedFrom": {
|
|
12306
|
+
"name": "EspalierElementBase",
|
|
12307
|
+
"module": "dist/shared/esp-element-base.js"
|
|
12308
|
+
}
|
|
12309
|
+
},
|
|
12310
|
+
{
|
|
12311
|
+
"kind": "method",
|
|
12312
|
+
"name": "resolveNamedContextTheme",
|
|
12313
|
+
"privacy": "private",
|
|
12314
|
+
"return": {
|
|
12315
|
+
"type": {
|
|
12316
|
+
"text": "EspalierTheme | null"
|
|
12317
|
+
}
|
|
12318
|
+
},
|
|
12319
|
+
"parameters": [
|
|
12320
|
+
{
|
|
12321
|
+
"name": "theme",
|
|
12322
|
+
"type": {
|
|
12323
|
+
"text": "EspalierTheme"
|
|
12324
|
+
}
|
|
12325
|
+
},
|
|
12326
|
+
{
|
|
12327
|
+
"name": "name",
|
|
12328
|
+
"type": {
|
|
12329
|
+
"text": "string"
|
|
12330
|
+
}
|
|
12331
|
+
}
|
|
12332
|
+
],
|
|
12333
|
+
"description": "Compile a named context's theme, or null when the theme doesn't\ndefine it. Delegates to the exported compiler so a DOM-less consumer\n(the fit-report suite, a check script) inspects exactly the theme a\nzone host renders — the drift this shared path exists to prevent\n(ESP0175).",
|
|
12334
|
+
"inheritedFrom": {
|
|
12335
|
+
"name": "EspalierElementBase",
|
|
12336
|
+
"module": "dist/shared/esp-element-base.js"
|
|
12337
|
+
}
|
|
12338
|
+
},
|
|
12339
|
+
{
|
|
12340
|
+
"kind": "method",
|
|
12341
|
+
"name": "applyScopedTokenProperties",
|
|
12342
|
+
"privacy": "private",
|
|
12343
|
+
"return": {
|
|
12344
|
+
"type": {
|
|
12345
|
+
"text": "void"
|
|
12346
|
+
}
|
|
12347
|
+
},
|
|
12348
|
+
"parameters": [
|
|
12349
|
+
{
|
|
12350
|
+
"name": "properties",
|
|
12351
|
+
"type": {
|
|
12352
|
+
"text": "Record<string, string>"
|
|
12353
|
+
}
|
|
12354
|
+
}
|
|
12355
|
+
],
|
|
12356
|
+
"inheritedFrom": {
|
|
12357
|
+
"name": "EspalierElementBase",
|
|
12358
|
+
"module": "dist/shared/esp-element-base.js"
|
|
12359
|
+
}
|
|
12360
|
+
},
|
|
12361
|
+
{
|
|
12362
|
+
"kind": "method",
|
|
12363
|
+
"name": "setScopedTokenProperty",
|
|
12364
|
+
"privacy": "private",
|
|
12365
|
+
"return": {
|
|
12366
|
+
"type": {
|
|
12367
|
+
"text": "void"
|
|
12368
|
+
}
|
|
12369
|
+
},
|
|
12370
|
+
"parameters": [
|
|
12371
|
+
{
|
|
12372
|
+
"name": "name",
|
|
12373
|
+
"type": {
|
|
12374
|
+
"text": "string"
|
|
12375
|
+
}
|
|
12376
|
+
},
|
|
12377
|
+
{
|
|
12378
|
+
"name": "value",
|
|
12379
|
+
"type": {
|
|
12380
|
+
"text": "string"
|
|
12381
|
+
}
|
|
12382
|
+
}
|
|
12383
|
+
],
|
|
12384
|
+
"inheritedFrom": {
|
|
12385
|
+
"name": "EspalierElementBase",
|
|
12386
|
+
"module": "dist/shared/esp-element-base.js"
|
|
12387
|
+
}
|
|
12388
|
+
},
|
|
12389
|
+
{
|
|
12390
|
+
"kind": "method",
|
|
12391
|
+
"name": "restoreScopedTokenProperty",
|
|
12392
|
+
"privacy": "private",
|
|
12393
|
+
"return": {
|
|
12394
|
+
"type": {
|
|
12395
|
+
"text": "void"
|
|
12396
|
+
}
|
|
12397
|
+
},
|
|
12398
|
+
"parameters": [
|
|
12399
|
+
{
|
|
12400
|
+
"name": "name",
|
|
12401
|
+
"type": {
|
|
12402
|
+
"text": "string"
|
|
12403
|
+
}
|
|
12404
|
+
}
|
|
12405
|
+
],
|
|
12406
|
+
"inheritedFrom": {
|
|
12407
|
+
"name": "EspalierElementBase",
|
|
12408
|
+
"module": "dist/shared/esp-element-base.js"
|
|
12409
|
+
}
|
|
12410
|
+
},
|
|
12411
|
+
{
|
|
12412
|
+
"kind": "method",
|
|
12413
|
+
"name": "clearScopedTokens",
|
|
12414
|
+
"privacy": "private",
|
|
12415
|
+
"return": {
|
|
12416
|
+
"type": {
|
|
12417
|
+
"text": "void"
|
|
12418
|
+
}
|
|
12419
|
+
},
|
|
12420
|
+
"inheritedFrom": {
|
|
12421
|
+
"name": "EspalierElementBase",
|
|
12422
|
+
"module": "dist/shared/esp-element-base.js"
|
|
12423
|
+
}
|
|
12424
|
+
}
|
|
12425
|
+
],
|
|
12426
|
+
"events": [
|
|
12427
|
+
{
|
|
12428
|
+
"type": {
|
|
12429
|
+
"text": "CustomEvent<string[]>"
|
|
11254
12430
|
},
|
|
11255
|
-
"
|
|
11256
|
-
"
|
|
11257
|
-
"fieldName": "icon"
|
|
12431
|
+
"description": "Fired when any child checkbox state changes. The detail is an array of the values of all currently checked checkboxes.",
|
|
12432
|
+
"name": "esp-value-changed"
|
|
11258
12433
|
},
|
|
11259
12434
|
{
|
|
11260
|
-
"name": "icon-position",
|
|
11261
12435
|
"type": {
|
|
11262
|
-
"text": "
|
|
12436
|
+
"text": "CustomEvent<{ valid: boolean; message: string }>"
|
|
11263
12437
|
},
|
|
11264
|
-
"
|
|
11265
|
-
"
|
|
11266
|
-
|
|
11267
|
-
|
|
12438
|
+
"description": "Fired whenever constraint validation runs.",
|
|
12439
|
+
"name": "esp-validity-changed"
|
|
12440
|
+
}
|
|
12441
|
+
],
|
|
12442
|
+
"attributes": [
|
|
11268
12443
|
{
|
|
11269
|
-
"name": "
|
|
12444
|
+
"name": "name",
|
|
11270
12445
|
"type": {
|
|
11271
12446
|
"text": "string"
|
|
11272
12447
|
},
|
|
11273
12448
|
"default": "\"\"",
|
|
11274
|
-
"description": "The
|
|
11275
|
-
"fieldName": "
|
|
12449
|
+
"description": "The name used when the group participates in a `<form>`.",
|
|
12450
|
+
"fieldName": "name"
|
|
11276
12451
|
},
|
|
11277
12452
|
{
|
|
11278
|
-
"name": "
|
|
12453
|
+
"name": "required",
|
|
11279
12454
|
"type": {
|
|
11280
12455
|
"text": "boolean"
|
|
11281
12456
|
},
|
|
11282
12457
|
"default": "false",
|
|
11283
|
-
"description": "
|
|
11284
|
-
"fieldName": "
|
|
11285
|
-
},
|
|
11286
|
-
{
|
|
11287
|
-
"name": "target",
|
|
11288
|
-
"type": {
|
|
11289
|
-
"text": "string"
|
|
11290
|
-
},
|
|
11291
|
-
"default": "\"\"",
|
|
11292
|
-
"description": "If the button is a link, this specifies the target browser window.\n\n```html\n<esp-button href=\"#\" target=\"_blank\" label=\"External link\"></esp-button>\n```",
|
|
11293
|
-
"fieldName": "target"
|
|
12458
|
+
"description": "When true, at least one checkbox must be checked before\nthe form can be submitted.",
|
|
12459
|
+
"fieldName": "required"
|
|
11294
12460
|
},
|
|
11295
12461
|
{
|
|
11296
|
-
"name": "
|
|
12462
|
+
"name": "required-message",
|
|
11297
12463
|
"type": {
|
|
11298
12464
|
"text": "string"
|
|
11299
12465
|
},
|
|
11300
12466
|
"default": "\"\"",
|
|
11301
|
-
"description": "
|
|
11302
|
-
"fieldName": "
|
|
11303
|
-
},
|
|
11304
|
-
{
|
|
11305
|
-
"name": "new-tab-label",
|
|
11306
|
-
"type": {
|
|
11307
|
-
"text": "string"
|
|
11308
|
-
},
|
|
11309
|
-
"default": "DEFAULT_NEW_TAB_LABEL",
|
|
11310
|
-
"description": "Hidden phrase appended to the accessible name of a `target=\"_blank\"` link.\nReplace for non-English sites. Empty or whitespace text falls back to English.",
|
|
11311
|
-
"fieldName": "newTabLabel"
|
|
12467
|
+
"description": "A custom message to display when the group is required but no\ncheckbox is checked. Defaults to\n`\"Please select at least one option.\"` when not set.",
|
|
12468
|
+
"fieldName": "requiredMessage"
|
|
11312
12469
|
},
|
|
11313
12470
|
{
|
|
11314
|
-
"name": "
|
|
12471
|
+
"name": "disabled",
|
|
11315
12472
|
"type": {
|
|
11316
12473
|
"text": "boolean"
|
|
11317
12474
|
},
|
|
11318
12475
|
"default": "false",
|
|
11319
|
-
"description": "
|
|
11320
|
-
"fieldName": "
|
|
12476
|
+
"description": "Disables all child checkboxes in the group.",
|
|
12477
|
+
"fieldName": "disabled"
|
|
11321
12478
|
},
|
|
11322
12479
|
{
|
|
11323
12480
|
"type": {
|
|
@@ -11372,60 +12529,180 @@
|
|
|
11372
12529
|
"name": "EspalierElementBase",
|
|
11373
12530
|
"module": "dist/shared/esp-element-base.js"
|
|
11374
12531
|
},
|
|
11375
|
-
"tagName": "esp-button",
|
|
11376
|
-
"customElement": true,
|
|
11377
12532
|
"docPageTitle": {
|
|
11378
|
-
"name": "
|
|
11379
|
-
"description": ""
|
|
12533
|
+
"name": "Checkbox",
|
|
12534
|
+
"description": "Group"
|
|
11380
12535
|
},
|
|
11381
12536
|
"docUrl": {
|
|
11382
|
-
"name": "/components/
|
|
12537
|
+
"name": "/components/checkbox/group",
|
|
11383
12538
|
"description": ""
|
|
11384
12539
|
},
|
|
11385
12540
|
"menuGroup": {
|
|
11386
|
-
"name": "
|
|
11387
|
-
"description": ""
|
|
11388
|
-
},
|
|
11389
|
-
"menuLabel": {
|
|
11390
|
-
"name": "Button",
|
|
11391
|
-
"description": ""
|
|
12541
|
+
"name": "Form",
|
|
12542
|
+
"description": "Controls"
|
|
11392
12543
|
},
|
|
11393
|
-
"
|
|
11394
|
-
|
|
11395
|
-
|
|
11396
|
-
|
|
12544
|
+
"tagName": "esp-checkbox-group",
|
|
12545
|
+
"customElement": true,
|
|
12546
|
+
"cssProperties": [
|
|
12547
|
+
{
|
|
12548
|
+
"description": "Background color of the shared field shell. Defaults to one layer above the nearest declared surface, capped at `var(--esp-color-layer-4)`, or `var(--esp-color-layer-2)` without a declared surface. An explicit override wins.",
|
|
12549
|
+
"name": "--esp-field-background",
|
|
12550
|
+
"inheritedFrom": {
|
|
12551
|
+
"name": "EspalierElementBase",
|
|
12552
|
+
"module": "dist/shared/esp-element-base.js"
|
|
12553
|
+
}
|
|
12554
|
+
},
|
|
12555
|
+
{
|
|
12556
|
+
"description": "Border color of the shared field shell. Defaults to `var(--esp-color-border)`.",
|
|
12557
|
+
"name": "--esp-field-border-color",
|
|
12558
|
+
"inheritedFrom": {
|
|
12559
|
+
"name": "EspalierElementBase",
|
|
12560
|
+
"module": "dist/shared/esp-element-base.js"
|
|
12561
|
+
}
|
|
12562
|
+
},
|
|
12563
|
+
{
|
|
12564
|
+
"description": "Border width of the shared field shell. Defaults to `1px`.",
|
|
12565
|
+
"name": "--esp-field-border-width",
|
|
12566
|
+
"inheritedFrom": {
|
|
12567
|
+
"name": "EspalierElementBase",
|
|
12568
|
+
"module": "dist/shared/esp-element-base.js"
|
|
12569
|
+
}
|
|
12570
|
+
},
|
|
12571
|
+
{
|
|
12572
|
+
"description": "Text color used inside the shared field shell. Defaults to `var(--esp-color-text)`.",
|
|
12573
|
+
"name": "--esp-field-text-color",
|
|
12574
|
+
"inheritedFrom": {
|
|
12575
|
+
"name": "EspalierElementBase",
|
|
12576
|
+
"module": "dist/shared/esp-element-base.js"
|
|
12577
|
+
}
|
|
12578
|
+
},
|
|
12579
|
+
{
|
|
12580
|
+
"description": "Hover background color of the shared field shell. Derived from `--esp-field-background`.",
|
|
12581
|
+
"name": "--esp-field-hover-bg",
|
|
12582
|
+
"inheritedFrom": {
|
|
12583
|
+
"name": "EspalierElementBase",
|
|
12584
|
+
"module": "dist/shared/esp-element-base.js"
|
|
12585
|
+
}
|
|
12586
|
+
},
|
|
12587
|
+
{
|
|
12588
|
+
"description": "Focus background color of the shared field shell. Derived from `--esp-field-background`.",
|
|
12589
|
+
"name": "--esp-field-focus-bg",
|
|
12590
|
+
"inheritedFrom": {
|
|
12591
|
+
"name": "EspalierElementBase",
|
|
12592
|
+
"module": "dist/shared/esp-element-base.js"
|
|
12593
|
+
}
|
|
12594
|
+
},
|
|
12595
|
+
{
|
|
12596
|
+
"description": "Shadow color used for shared field focus treatment. Defaults to `var(--esp-color-shadow)`.",
|
|
12597
|
+
"name": "--esp-field-focus-shadow",
|
|
12598
|
+
"inheritedFrom": {
|
|
12599
|
+
"name": "EspalierElementBase",
|
|
12600
|
+
"module": "dist/shared/esp-element-base.js"
|
|
12601
|
+
}
|
|
12602
|
+
}
|
|
12603
|
+
]
|
|
11397
12604
|
}
|
|
11398
12605
|
],
|
|
11399
12606
|
"exports": [
|
|
11400
12607
|
{
|
|
11401
12608
|
"kind": "js",
|
|
11402
|
-
"name": "
|
|
12609
|
+
"name": "EspalierCheckboxGroup",
|
|
11403
12610
|
"declaration": {
|
|
11404
|
-
"name": "
|
|
11405
|
-
"module": "dist/
|
|
12611
|
+
"name": "EspalierCheckboxGroup",
|
|
12612
|
+
"module": "dist/checkbox/esp-checkbox-group.js"
|
|
11406
12613
|
}
|
|
11407
12614
|
},
|
|
11408
12615
|
{
|
|
11409
12616
|
"kind": "custom-element-definition",
|
|
11410
|
-
"name": "esp-
|
|
12617
|
+
"name": "esp-checkbox-group",
|
|
11411
12618
|
"declaration": {
|
|
11412
|
-
"name": "
|
|
11413
|
-
"module": "dist/
|
|
12619
|
+
"name": "EspalierCheckboxGroup",
|
|
12620
|
+
"module": "dist/checkbox/esp-checkbox-group.js"
|
|
11414
12621
|
}
|
|
11415
12622
|
}
|
|
11416
12623
|
]
|
|
11417
12624
|
},
|
|
11418
12625
|
{
|
|
11419
12626
|
"kind": "javascript-module",
|
|
11420
|
-
"path": "dist/checkbox/esp-checkbox
|
|
12627
|
+
"path": "dist/checkbox/esp-checkbox.js",
|
|
11421
12628
|
"declarations": [
|
|
11422
12629
|
{
|
|
11423
12630
|
"kind": "class",
|
|
11424
|
-
"description": "
|
|
11425
|
-
"name": "
|
|
12631
|
+
"description": "A checkbox control for toggling boolean values. Uses Tabler\nSVG icons for checked, unchecked, and indeterminate states.\nWorks standalone or inside an\n[esp-checkbox-group](/components/checkbox/group) for multi-select.\n\n```html\n<esp-box>\n <esp-form-item label=\"Terms and conditions\">\n <esp-checkbox value=\"agree\">\n I agree to the terms\n </esp-checkbox>\n </esp-form-item>\n</esp-box>\n```\n\n```html\n<esp-box>\n <esp-checkbox checked value=\"newsletter\">\n Subscribe to newsletter\n </esp-checkbox>\n <esp-checkbox disabled value=\"disabled-opt\">\n Disabled option\n </esp-checkbox>\n <esp-checkbox indeterminate value=\"partial\">\n Indeterminate state\n </esp-checkbox>\n</esp-box>\n```\n\n### Errors\n\nInside an `esp-form-item`, a checkbox that shows an error is\n`aria-invalid=\"true\"`, the error joins its description after any hint,\nand the error is announced once. In an `esp-checkbox-group`, the group\ncarries all of this instead, and takes the form item's `label` as its\naccessible name. Checking or unchecking clears an error set through the\nform item's `error` or `errorPool`; a `required` checkbox or group raises\nits own error again when it is left empty.\n\n```html\n<esp-box>\n <esp-form-item label=\"Terms\" error=\"Accept the terms to continue.\">\n <esp-checkbox value=\"agree\">I agree to the terms</esp-checkbox>\n </esp-form-item>\n <esp-form-item label=\"Pizza toppings\" hint=\"Pick up to three.\" error=\"Choose at least one topping.\">\n <esp-checkbox-group required>\n <esp-checkbox value=\"cheese\">Cheese</esp-checkbox>\n <esp-checkbox value=\"basil\">Basil</esp-checkbox>\n </esp-checkbox-group>\n </esp-form-item>\n</esp-box>\n```",
|
|
12632
|
+
"name": "EspalierCheckbox",
|
|
12633
|
+
"cssProperties": [
|
|
12634
|
+
{
|
|
12635
|
+
"description": "The width and height of the checkbox icon. Defaults to `var(--esp-size-normal-to-medium)`.",
|
|
12636
|
+
"name": "--esp-checkbox-size"
|
|
12637
|
+
},
|
|
12638
|
+
{
|
|
12639
|
+
"description": "The stroke color of the checkbox icon. Defaults to `var(--esp-color-text)`.",
|
|
12640
|
+
"name": "--esp-checkbox-icon-color"
|
|
12641
|
+
},
|
|
12642
|
+
{
|
|
12643
|
+
"description": "The color of the focus ring shadow. Defaults to `var(--esp-color-shadow)`.",
|
|
12644
|
+
"name": "--esp-checkbox-focus-shadow"
|
|
12645
|
+
},
|
|
12646
|
+
{
|
|
12647
|
+
"description": "Background color of the shared field shell. Defaults to one layer above the nearest declared surface, capped at `var(--esp-color-layer-4)`, or `var(--esp-color-layer-2)` without a declared surface. An explicit override wins.",
|
|
12648
|
+
"name": "--esp-field-background",
|
|
12649
|
+
"inheritedFrom": {
|
|
12650
|
+
"name": "EspalierElementBase",
|
|
12651
|
+
"module": "dist/shared/esp-element-base.js"
|
|
12652
|
+
}
|
|
12653
|
+
},
|
|
12654
|
+
{
|
|
12655
|
+
"description": "Border color of the shared field shell. Defaults to `var(--esp-color-border)`.",
|
|
12656
|
+
"name": "--esp-field-border-color",
|
|
12657
|
+
"inheritedFrom": {
|
|
12658
|
+
"name": "EspalierElementBase",
|
|
12659
|
+
"module": "dist/shared/esp-element-base.js"
|
|
12660
|
+
}
|
|
12661
|
+
},
|
|
12662
|
+
{
|
|
12663
|
+
"description": "Border width of the shared field shell. Defaults to `1px`.",
|
|
12664
|
+
"name": "--esp-field-border-width",
|
|
12665
|
+
"inheritedFrom": {
|
|
12666
|
+
"name": "EspalierElementBase",
|
|
12667
|
+
"module": "dist/shared/esp-element-base.js"
|
|
12668
|
+
}
|
|
12669
|
+
},
|
|
12670
|
+
{
|
|
12671
|
+
"description": "Text color used inside the shared field shell. Defaults to `var(--esp-color-text)`.",
|
|
12672
|
+
"name": "--esp-field-text-color",
|
|
12673
|
+
"inheritedFrom": {
|
|
12674
|
+
"name": "EspalierElementBase",
|
|
12675
|
+
"module": "dist/shared/esp-element-base.js"
|
|
12676
|
+
}
|
|
12677
|
+
},
|
|
12678
|
+
{
|
|
12679
|
+
"description": "Hover background color of the shared field shell. Derived from `--esp-field-background`.",
|
|
12680
|
+
"name": "--esp-field-hover-bg",
|
|
12681
|
+
"inheritedFrom": {
|
|
12682
|
+
"name": "EspalierElementBase",
|
|
12683
|
+
"module": "dist/shared/esp-element-base.js"
|
|
12684
|
+
}
|
|
12685
|
+
},
|
|
12686
|
+
{
|
|
12687
|
+
"description": "Focus background color of the shared field shell. Derived from `--esp-field-background`.",
|
|
12688
|
+
"name": "--esp-field-focus-bg",
|
|
12689
|
+
"inheritedFrom": {
|
|
12690
|
+
"name": "EspalierElementBase",
|
|
12691
|
+
"module": "dist/shared/esp-element-base.js"
|
|
12692
|
+
}
|
|
12693
|
+
},
|
|
12694
|
+
{
|
|
12695
|
+
"description": "Shadow color used for shared field focus treatment. Defaults to `var(--esp-color-shadow)`.",
|
|
12696
|
+
"name": "--esp-field-focus-shadow",
|
|
12697
|
+
"inheritedFrom": {
|
|
12698
|
+
"name": "EspalierElementBase",
|
|
12699
|
+
"module": "dist/shared/esp-element-base.js"
|
|
12700
|
+
}
|
|
12701
|
+
}
|
|
12702
|
+
],
|
|
11426
12703
|
"slots": [
|
|
11427
12704
|
{
|
|
11428
|
-
"description": "
|
|
12705
|
+
"description": "The label text for the checkbox.",
|
|
11429
12706
|
"name": ""
|
|
11430
12707
|
}
|
|
11431
12708
|
],
|
|
@@ -11448,24 +12725,36 @@
|
|
|
11448
12725
|
"kind": "field",
|
|
11449
12726
|
"name": "formCtrl",
|
|
11450
12727
|
"privacy": "private",
|
|
11451
|
-
"default": "new FormFieldController({ host: this, internals: this.internals, getFormValue: () =>
|
|
12728
|
+
"default": "new FormFieldController({ host: this, internals: this.internals, getFormValue: () => (this.checked ? this.value || \"on\" : null), getValidity: () => { if (this.required && !this.checked) { return { flags: { valueMissing: true }, message: this.requiredMessage || \"Please check this box to continue.\", }; } return null; }, onReset: () => { this.checked = false; this.indeterminate = false; }, onRestore: (state: string) => { this.checked = state === \"on\" || state === this.value; }, onDisabled: (isDisabled: boolean) => { this.disabled = isDisabled; }, })"
|
|
11452
12729
|
},
|
|
11453
12730
|
{
|
|
11454
12731
|
"kind": "field",
|
|
11455
|
-
"name": "
|
|
11456
|
-
"privacy": "private"
|
|
12732
|
+
"name": "formItemDescription",
|
|
12733
|
+
"privacy": "private",
|
|
12734
|
+
"default": "new FormFieldDescriptionController({ host: this, getTarget: () => this.shadowRoot?.querySelector<HTMLElement>(\".checkbox-control\"), })"
|
|
11457
12735
|
},
|
|
11458
12736
|
{
|
|
11459
12737
|
"kind": "field",
|
|
11460
|
-
"name": "
|
|
11461
|
-
"
|
|
12738
|
+
"name": "checked",
|
|
12739
|
+
"type": {
|
|
12740
|
+
"text": "boolean"
|
|
12741
|
+
},
|
|
12742
|
+
"privacy": "public",
|
|
12743
|
+
"default": "false",
|
|
12744
|
+
"description": "Whether the checkbox is in the checked state.",
|
|
12745
|
+
"attribute": "checked",
|
|
12746
|
+
"reflects": true
|
|
11462
12747
|
},
|
|
11463
12748
|
{
|
|
11464
12749
|
"kind": "field",
|
|
11465
|
-
"name": "
|
|
11466
|
-
"
|
|
11467
|
-
|
|
11468
|
-
|
|
12750
|
+
"name": "value",
|
|
12751
|
+
"type": {
|
|
12752
|
+
"text": "string"
|
|
12753
|
+
},
|
|
12754
|
+
"privacy": "public",
|
|
12755
|
+
"default": "\"\"",
|
|
12756
|
+
"description": "The value associated with this checkbox. Used by\n[esp-checkbox-group](/components/checkbox/group) to track\nwhich checkboxes are selected.",
|
|
12757
|
+
"attribute": "value"
|
|
11469
12758
|
},
|
|
11470
12759
|
{
|
|
11471
12760
|
"kind": "field",
|
|
@@ -11475,7 +12764,7 @@
|
|
|
11475
12764
|
},
|
|
11476
12765
|
"privacy": "public",
|
|
11477
12766
|
"default": "\"\"",
|
|
11478
|
-
"description": "The name used when the
|
|
12767
|
+
"description": "The name used when the checkbox participates in a `<form>`.",
|
|
11479
12768
|
"attribute": "name",
|
|
11480
12769
|
"reflects": true
|
|
11481
12770
|
},
|
|
@@ -11487,7 +12776,7 @@
|
|
|
11487
12776
|
},
|
|
11488
12777
|
"privacy": "public",
|
|
11489
12778
|
"default": "false",
|
|
11490
|
-
"description": "When true,
|
|
12779
|
+
"description": "When true, the checkbox must be checked before the form can\nbe submitted.",
|
|
11491
12780
|
"attribute": "required",
|
|
11492
12781
|
"reflects": true
|
|
11493
12782
|
},
|
|
@@ -11499,7 +12788,7 @@
|
|
|
11499
12788
|
},
|
|
11500
12789
|
"privacy": "public",
|
|
11501
12790
|
"default": "\"\"",
|
|
11502
|
-
"description": "A custom message to display when the
|
|
12791
|
+
"description": "A custom message to display when the checkbox is required but\nnot checked. Defaults to `\"Please check this box to continue.\"`\nwhen not set.\n\n```html\n<esp-checkbox required required-message=\"You must accept the terms.\">\n I accept\n</esp-checkbox>\n```",
|
|
11503
12792
|
"attribute": "required-message"
|
|
11504
12793
|
},
|
|
11505
12794
|
{
|
|
@@ -11510,19 +12799,21 @@
|
|
|
11510
12799
|
},
|
|
11511
12800
|
"privacy": "public",
|
|
11512
12801
|
"default": "false",
|
|
11513
|
-
"description": "
|
|
12802
|
+
"description": "Controls whether the checkbox is disabled.",
|
|
11514
12803
|
"attribute": "disabled",
|
|
11515
12804
|
"reflects": true
|
|
11516
12805
|
},
|
|
11517
12806
|
{
|
|
11518
12807
|
"kind": "field",
|
|
11519
|
-
"name": "
|
|
12808
|
+
"name": "indeterminate",
|
|
11520
12809
|
"type": {
|
|
11521
|
-
"text": "
|
|
12810
|
+
"text": "boolean"
|
|
11522
12811
|
},
|
|
11523
12812
|
"privacy": "public",
|
|
11524
|
-
"
|
|
11525
|
-
"
|
|
12813
|
+
"default": "false",
|
|
12814
|
+
"description": "Displays the checkbox in an indeterminate (partial) state.\nClicking the checkbox clears the indeterminate state.",
|
|
12815
|
+
"attribute": "indeterminate",
|
|
12816
|
+
"reflects": true
|
|
11526
12817
|
},
|
|
11527
12818
|
{
|
|
11528
12819
|
"kind": "method",
|
|
@@ -11542,7 +12833,7 @@
|
|
|
11542
12833
|
}
|
|
11543
12834
|
}
|
|
11544
12835
|
],
|
|
11545
|
-
"description": "Focus the
|
|
12836
|
+
"description": "Focus the checkbox control."
|
|
11546
12837
|
},
|
|
11547
12838
|
{
|
|
11548
12839
|
"kind": "method",
|
|
@@ -11568,17 +12859,7 @@
|
|
|
11568
12859
|
},
|
|
11569
12860
|
{
|
|
11570
12861
|
"kind": "method",
|
|
11571
|
-
"name": "
|
|
11572
|
-
"privacy": "private",
|
|
11573
|
-
"return": {
|
|
11574
|
-
"type": {
|
|
11575
|
-
"text": "EspalierCheckbox[]"
|
|
11576
|
-
}
|
|
11577
|
-
}
|
|
11578
|
-
},
|
|
11579
|
-
{
|
|
11580
|
-
"kind": "method",
|
|
11581
|
-
"name": "applyDisabledState",
|
|
12862
|
+
"name": "toggle",
|
|
11582
12863
|
"privacy": "private",
|
|
11583
12864
|
"return": {
|
|
11584
12865
|
"type": {
|
|
@@ -11586,14 +12867,9 @@
|
|
|
11586
12867
|
}
|
|
11587
12868
|
}
|
|
11588
12869
|
},
|
|
11589
|
-
{
|
|
11590
|
-
"kind": "field",
|
|
11591
|
-
"name": "handleItemsSlotChange",
|
|
11592
|
-
"privacy": "private"
|
|
11593
|
-
},
|
|
11594
12870
|
{
|
|
11595
12871
|
"kind": "method",
|
|
11596
|
-
"name": "
|
|
12872
|
+
"name": "handleKeyDown",
|
|
11597
12873
|
"privacy": "private",
|
|
11598
12874
|
"return": {
|
|
11599
12875
|
"type": {
|
|
@@ -11604,11 +12880,21 @@
|
|
|
11604
12880
|
{
|
|
11605
12881
|
"name": "ev",
|
|
11606
12882
|
"type": {
|
|
11607
|
-
"text": "
|
|
12883
|
+
"text": "KeyboardEvent"
|
|
11608
12884
|
}
|
|
11609
12885
|
}
|
|
11610
12886
|
]
|
|
11611
12887
|
},
|
|
12888
|
+
{
|
|
12889
|
+
"kind": "method",
|
|
12890
|
+
"name": "getSvg",
|
|
12891
|
+
"privacy": "private",
|
|
12892
|
+
"return": {
|
|
12893
|
+
"type": {
|
|
12894
|
+
"text": "TemplateResult"
|
|
12895
|
+
}
|
|
12896
|
+
}
|
|
12897
|
+
},
|
|
11612
12898
|
{
|
|
11613
12899
|
"kind": "method",
|
|
11614
12900
|
"name": "formResetCallback",
|
|
@@ -12383,9 +13669,9 @@
|
|
|
12383
13669
|
"events": [
|
|
12384
13670
|
{
|
|
12385
13671
|
"type": {
|
|
12386
|
-
"text": "CustomEvent<string
|
|
13672
|
+
"text": "CustomEvent<{ checked: boolean; value: string }>"
|
|
12387
13673
|
},
|
|
12388
|
-
"description": "Fired when
|
|
13674
|
+
"description": "Fired when the checkbox is toggled. The detail contains the new `checked` state and the checkbox `value`.",
|
|
12389
13675
|
"name": "esp-value-changed"
|
|
12390
13676
|
},
|
|
12391
13677
|
{
|
|
@@ -12397,13 +13683,31 @@
|
|
|
12397
13683
|
}
|
|
12398
13684
|
],
|
|
12399
13685
|
"attributes": [
|
|
13686
|
+
{
|
|
13687
|
+
"name": "checked",
|
|
13688
|
+
"type": {
|
|
13689
|
+
"text": "boolean"
|
|
13690
|
+
},
|
|
13691
|
+
"default": "false",
|
|
13692
|
+
"description": "Whether the checkbox is in the checked state.",
|
|
13693
|
+
"fieldName": "checked"
|
|
13694
|
+
},
|
|
13695
|
+
{
|
|
13696
|
+
"name": "value",
|
|
13697
|
+
"type": {
|
|
13698
|
+
"text": "string"
|
|
13699
|
+
},
|
|
13700
|
+
"default": "\"\"",
|
|
13701
|
+
"description": "The value associated with this checkbox. Used by\n[esp-checkbox-group](/components/checkbox/group) to track\nwhich checkboxes are selected.",
|
|
13702
|
+
"fieldName": "value"
|
|
13703
|
+
},
|
|
12400
13704
|
{
|
|
12401
13705
|
"name": "name",
|
|
12402
13706
|
"type": {
|
|
12403
13707
|
"text": "string"
|
|
12404
13708
|
},
|
|
12405
13709
|
"default": "\"\"",
|
|
12406
|
-
"description": "The name used when the
|
|
13710
|
+
"description": "The name used when the checkbox participates in a `<form>`.",
|
|
12407
13711
|
"fieldName": "name"
|
|
12408
13712
|
},
|
|
12409
13713
|
{
|
|
@@ -12412,7 +13716,7 @@
|
|
|
12412
13716
|
"text": "boolean"
|
|
12413
13717
|
},
|
|
12414
13718
|
"default": "false",
|
|
12415
|
-
"description": "When true,
|
|
13719
|
+
"description": "When true, the checkbox must be checked before the form can\nbe submitted.",
|
|
12416
13720
|
"fieldName": "required"
|
|
12417
13721
|
},
|
|
12418
13722
|
{
|
|
@@ -12421,7 +13725,7 @@
|
|
|
12421
13725
|
"text": "string"
|
|
12422
13726
|
},
|
|
12423
13727
|
"default": "\"\"",
|
|
12424
|
-
"description": "A custom message to display when the
|
|
13728
|
+
"description": "A custom message to display when the checkbox is required but\nnot checked. Defaults to `\"Please check this box to continue.\"`\nwhen not set.\n\n```html\n<esp-checkbox required required-message=\"You must accept the terms.\">\n I accept\n</esp-checkbox>\n```",
|
|
12425
13729
|
"fieldName": "requiredMessage"
|
|
12426
13730
|
},
|
|
12427
13731
|
{
|
|
@@ -12430,9 +13734,18 @@
|
|
|
12430
13734
|
"text": "boolean"
|
|
12431
13735
|
},
|
|
12432
13736
|
"default": "false",
|
|
12433
|
-
"description": "
|
|
13737
|
+
"description": "Controls whether the checkbox is disabled.",
|
|
12434
13738
|
"fieldName": "disabled"
|
|
12435
13739
|
},
|
|
13740
|
+
{
|
|
13741
|
+
"name": "indeterminate",
|
|
13742
|
+
"type": {
|
|
13743
|
+
"text": "boolean"
|
|
13744
|
+
},
|
|
13745
|
+
"default": "false",
|
|
13746
|
+
"description": "Displays the checkbox in an indeterminate (partial) state.\nClicking the checkbox clears the indeterminate state.",
|
|
13747
|
+
"fieldName": "indeterminate"
|
|
13748
|
+
},
|
|
12436
13749
|
{
|
|
12437
13750
|
"type": {
|
|
12438
13751
|
"text": "\"1\"|\"2\"|\"3\"|\"4\""
|
|
@@ -12488,117 +13801,279 @@
|
|
|
12488
13801
|
},
|
|
12489
13802
|
"docPageTitle": {
|
|
12490
13803
|
"name": "Checkbox",
|
|
12491
|
-
"description": "
|
|
13804
|
+
"description": ""
|
|
12492
13805
|
},
|
|
12493
13806
|
"docUrl": {
|
|
12494
|
-
"name": "/components/checkbox
|
|
13807
|
+
"name": "/components/checkbox",
|
|
12495
13808
|
"description": ""
|
|
12496
13809
|
},
|
|
12497
13810
|
"menuGroup": {
|
|
12498
13811
|
"name": "Form",
|
|
12499
13812
|
"description": "Controls"
|
|
12500
13813
|
},
|
|
12501
|
-
"
|
|
12502
|
-
|
|
12503
|
-
|
|
13814
|
+
"menuLabel": {
|
|
13815
|
+
"name": "Checkbox",
|
|
13816
|
+
"description": ""
|
|
13817
|
+
},
|
|
13818
|
+
"menuIcon": {
|
|
13819
|
+
"name": "checkbox",
|
|
13820
|
+
"description": ""
|
|
13821
|
+
},
|
|
13822
|
+
"tagName": "esp-checkbox",
|
|
13823
|
+
"customElement": true
|
|
13824
|
+
}
|
|
13825
|
+
],
|
|
13826
|
+
"exports": [
|
|
13827
|
+
{
|
|
13828
|
+
"kind": "js",
|
|
13829
|
+
"name": "EspalierCheckbox",
|
|
13830
|
+
"declaration": {
|
|
13831
|
+
"name": "EspalierCheckbox",
|
|
13832
|
+
"module": "dist/checkbox/esp-checkbox.js"
|
|
13833
|
+
}
|
|
13834
|
+
},
|
|
13835
|
+
{
|
|
13836
|
+
"kind": "custom-element-definition",
|
|
13837
|
+
"name": "esp-checkbox",
|
|
13838
|
+
"declaration": {
|
|
13839
|
+
"name": "EspalierCheckbox",
|
|
13840
|
+
"module": "dist/checkbox/esp-checkbox.js"
|
|
13841
|
+
}
|
|
13842
|
+
}
|
|
13843
|
+
]
|
|
13844
|
+
},
|
|
13845
|
+
{
|
|
13846
|
+
"kind": "javascript-module",
|
|
13847
|
+
"path": "dist/cli/espalier.js",
|
|
13848
|
+
"declarations": [],
|
|
13849
|
+
"exports": []
|
|
13850
|
+
},
|
|
13851
|
+
{
|
|
13852
|
+
"kind": "javascript-module",
|
|
13853
|
+
"path": "dist/cli/theme-check.js",
|
|
13854
|
+
"declarations": [
|
|
13855
|
+
{
|
|
13856
|
+
"kind": "function",
|
|
13857
|
+
"name": "runEspalierCli",
|
|
13858
|
+
"return": {
|
|
13859
|
+
"type": {
|
|
13860
|
+
"text": "number"
|
|
13861
|
+
}
|
|
13862
|
+
},
|
|
13863
|
+
"parameters": [
|
|
12504
13864
|
{
|
|
12505
|
-
"
|
|
12506
|
-
"
|
|
12507
|
-
|
|
12508
|
-
"name": "EspalierElementBase",
|
|
12509
|
-
"module": "dist/shared/esp-element-base.js"
|
|
13865
|
+
"name": "argv",
|
|
13866
|
+
"type": {
|
|
13867
|
+
"text": "string[]"
|
|
12510
13868
|
}
|
|
12511
13869
|
},
|
|
12512
13870
|
{
|
|
12513
|
-
"
|
|
12514
|
-
"
|
|
12515
|
-
|
|
12516
|
-
"name": "EspalierElementBase",
|
|
12517
|
-
"module": "dist/shared/esp-element-base.js"
|
|
13871
|
+
"name": "io",
|
|
13872
|
+
"type": {
|
|
13873
|
+
"text": "ThemeCheckIo"
|
|
12518
13874
|
}
|
|
13875
|
+
}
|
|
13876
|
+
],
|
|
13877
|
+
"description": "Run the CLI for the given argv (everything after the executable and\nscript). Returns the process exit code."
|
|
13878
|
+
}
|
|
13879
|
+
],
|
|
13880
|
+
"exports": [
|
|
13881
|
+
{
|
|
13882
|
+
"kind": "js",
|
|
13883
|
+
"name": "runEspalierCli",
|
|
13884
|
+
"declaration": {
|
|
13885
|
+
"name": "runEspalierCli",
|
|
13886
|
+
"module": "dist/cli/theme-check.js"
|
|
13887
|
+
}
|
|
13888
|
+
}
|
|
13889
|
+
]
|
|
13890
|
+
},
|
|
13891
|
+
{
|
|
13892
|
+
"kind": "javascript-module",
|
|
13893
|
+
"path": "dist/color-picker/esp-color-picker.js",
|
|
13894
|
+
"declarations": [
|
|
13895
|
+
{
|
|
13896
|
+
"kind": "class",
|
|
13897
|
+
"description": "Used to choose a seed color for the Espalier color scheme.\nEspalier uses the [OKLCH](/guides/color/oklch) color notation.\nBy default this picker lets you choose hue and chroma while\nlightness stays at 0.7 (the design-system default) so variant\nderivation stays consistent. Set `mode=\"hcl\"` when an editor\nneeds to tune hue, chroma, and lightness directly.",
|
|
13898
|
+
"name": "EspalierColorPicker",
|
|
13899
|
+
"cssProperties": [
|
|
13900
|
+
{
|
|
13901
|
+
"description": "The border width of the color picker.",
|
|
13902
|
+
"name": "--esp-size-color-picker-border-width"
|
|
13903
|
+
}
|
|
13904
|
+
],
|
|
13905
|
+
"members": [
|
|
13906
|
+
{
|
|
13907
|
+
"kind": "field",
|
|
13908
|
+
"name": "hueInput",
|
|
13909
|
+
"privacy": "private"
|
|
12519
13910
|
},
|
|
12520
13911
|
{
|
|
12521
|
-
"
|
|
12522
|
-
"name": "
|
|
12523
|
-
"
|
|
12524
|
-
"name": "EspalierElementBase",
|
|
12525
|
-
"module": "dist/shared/esp-element-base.js"
|
|
12526
|
-
}
|
|
13912
|
+
"kind": "field",
|
|
13913
|
+
"name": "chromaInput",
|
|
13914
|
+
"privacy": "private"
|
|
12527
13915
|
},
|
|
12528
13916
|
{
|
|
12529
|
-
"
|
|
12530
|
-
"name": "
|
|
12531
|
-
"
|
|
12532
|
-
"name": "EspalierElementBase",
|
|
12533
|
-
"module": "dist/shared/esp-element-base.js"
|
|
12534
|
-
}
|
|
13917
|
+
"kind": "field",
|
|
13918
|
+
"name": "lightnessInput",
|
|
13919
|
+
"privacy": "private"
|
|
12535
13920
|
},
|
|
12536
13921
|
{
|
|
12537
|
-
"
|
|
12538
|
-
"name": "
|
|
12539
|
-
"
|
|
12540
|
-
"
|
|
12541
|
-
|
|
12542
|
-
|
|
13922
|
+
"kind": "field",
|
|
13923
|
+
"name": "mode",
|
|
13924
|
+
"type": {
|
|
13925
|
+
"text": "\"hc\" | \"hcl\""
|
|
13926
|
+
},
|
|
13927
|
+
"privacy": "public",
|
|
13928
|
+
"default": "\"hc\"",
|
|
13929
|
+
"description": "Which controls to show. `hc` preserves the original hue/chroma UI;\n`hcl` also renders a lightness slider.\n\n```html\n<esp-box>\n <h3>Email brand color</h3>\n <esp-color-picker mode=\"hcl\" hue=\"216\" chroma=\"14\" lightness=\"62\"></esp-color-picker>\n</esp-box>\n```",
|
|
13930
|
+
"attribute": "mode"
|
|
12543
13931
|
},
|
|
12544
13932
|
{
|
|
12545
|
-
"
|
|
12546
|
-
"name": "
|
|
12547
|
-
"
|
|
12548
|
-
"
|
|
12549
|
-
|
|
12550
|
-
|
|
13933
|
+
"kind": "field",
|
|
13934
|
+
"name": "chroma",
|
|
13935
|
+
"type": {
|
|
13936
|
+
"text": "number"
|
|
13937
|
+
},
|
|
13938
|
+
"privacy": "public",
|
|
13939
|
+
"default": "25",
|
|
13940
|
+
"description": "The selected chroma (0-25)",
|
|
13941
|
+
"attribute": "chroma"
|
|
12551
13942
|
},
|
|
12552
13943
|
{
|
|
12553
|
-
"
|
|
12554
|
-
"name": "
|
|
12555
|
-
"
|
|
12556
|
-
"
|
|
12557
|
-
|
|
12558
|
-
|
|
13944
|
+
"kind": "field",
|
|
13945
|
+
"name": "hue",
|
|
13946
|
+
"type": {
|
|
13947
|
+
"text": "number"
|
|
13948
|
+
},
|
|
13949
|
+
"privacy": "public",
|
|
13950
|
+
"default": "180",
|
|
13951
|
+
"description": "The selected hue (0-360)\n\n```html\n<esp-box>\n <h3>A color picker with purple selected</h3>\n <esp-color-picker hue=\"300\" chroma=\"18\"></esp-color-picker>\n</esp-box>\n```",
|
|
13952
|
+
"attribute": "hue"
|
|
13953
|
+
},
|
|
13954
|
+
{
|
|
13955
|
+
"kind": "field",
|
|
13956
|
+
"name": "lightness",
|
|
13957
|
+
"type": {
|
|
13958
|
+
"text": "number"
|
|
13959
|
+
},
|
|
13960
|
+
"privacy": "public",
|
|
13961
|
+
"default": "70",
|
|
13962
|
+
"description": "The selected OKLCH lightness as a percentage (0-100).\n\nThe emitted `seedColor` converts this value to OKLCH's 0-1\nlightness scale.",
|
|
13963
|
+
"attribute": "lightness"
|
|
13964
|
+
},
|
|
13965
|
+
{
|
|
13966
|
+
"kind": "field",
|
|
13967
|
+
"name": "changed",
|
|
13968
|
+
"privacy": "private"
|
|
12559
13969
|
}
|
|
12560
|
-
]
|
|
13970
|
+
],
|
|
13971
|
+
"events": [
|
|
13972
|
+
{
|
|
13973
|
+
"type": {
|
|
13974
|
+
"text": "CustomEvent<{ seedColor: string, hue: number, chroma: number, lightness: number }>"
|
|
13975
|
+
},
|
|
13976
|
+
"description": "Fired when the user changes the color. The event detail contains the seed color OKLCH string, plus raw hue, chroma, and lightness values. ```html <esp-box> <esp-color-picker></esp-color-picker> </esp-box> <script> const espRoot = document.getElementsByTagName(\"esp-root\")[0]; const stored = localStorage.getItem(\"esp-seed-color\") ?? \"oklch(0.7 0.125 216)\"; const colorPicker = findByTagName(\"esp-color-picker\")[0]; // Parse stored seed-color to set sliders const parts = stored.match(/oklch\\(([\\d.]+)\\s+([\\d.]+)\\s+([\\d.]+)\\)/); if (parts) { colorPicker.hue = +parts[3]; colorPicker.chroma = Math.round(+parts[2] * 100); } colorPicker.addEventListener(\"esp-value-changed\", (event) => { const { seedColor } = event.detail; localStorage.setItem(\"esp-seed-color\", seedColor); espRoot.setAttribute(\"seed-color\", seedColor); }); </script> ```",
|
|
13977
|
+
"name": "esp-value-changed"
|
|
13978
|
+
}
|
|
13979
|
+
],
|
|
13980
|
+
"attributes": [
|
|
13981
|
+
{
|
|
13982
|
+
"name": "mode",
|
|
13983
|
+
"type": {
|
|
13984
|
+
"text": "\"hc\" | \"hcl\""
|
|
13985
|
+
},
|
|
13986
|
+
"default": "\"hc\"",
|
|
13987
|
+
"description": "Which controls to show. `hc` preserves the original hue/chroma UI;\n`hcl` also renders a lightness slider.\n\n```html\n<esp-box>\n <h3>Email brand color</h3>\n <esp-color-picker mode=\"hcl\" hue=\"216\" chroma=\"14\" lightness=\"62\"></esp-color-picker>\n</esp-box>\n```",
|
|
13988
|
+
"fieldName": "mode"
|
|
13989
|
+
},
|
|
13990
|
+
{
|
|
13991
|
+
"name": "chroma",
|
|
13992
|
+
"type": {
|
|
13993
|
+
"text": "number"
|
|
13994
|
+
},
|
|
13995
|
+
"default": "25",
|
|
13996
|
+
"description": "The selected chroma (0-25)",
|
|
13997
|
+
"fieldName": "chroma"
|
|
13998
|
+
},
|
|
13999
|
+
{
|
|
14000
|
+
"name": "hue",
|
|
14001
|
+
"type": {
|
|
14002
|
+
"text": "number"
|
|
14003
|
+
},
|
|
14004
|
+
"default": "180",
|
|
14005
|
+
"description": "The selected hue (0-360)\n\n```html\n<esp-box>\n <h3>A color picker with purple selected</h3>\n <esp-color-picker hue=\"300\" chroma=\"18\"></esp-color-picker>\n</esp-box>\n```",
|
|
14006
|
+
"fieldName": "hue"
|
|
14007
|
+
},
|
|
14008
|
+
{
|
|
14009
|
+
"name": "lightness",
|
|
14010
|
+
"type": {
|
|
14011
|
+
"text": "number"
|
|
14012
|
+
},
|
|
14013
|
+
"default": "DEFAULT_LIGHTNESS",
|
|
14014
|
+
"description": "The selected OKLCH lightness as a percentage (0-100).\n\nThe emitted `seedColor` converts this value to OKLCH's 0-1\nlightness scale.",
|
|
14015
|
+
"fieldName": "lightness"
|
|
14016
|
+
}
|
|
14017
|
+
],
|
|
14018
|
+
"superclass": {
|
|
14019
|
+
"name": "LitElement",
|
|
14020
|
+
"package": "lit"
|
|
14021
|
+
},
|
|
14022
|
+
"tagName": "esp-color-picker",
|
|
14023
|
+
"customElement": true,
|
|
14024
|
+
"docPageTitle": {
|
|
14025
|
+
"name": "Color",
|
|
14026
|
+
"description": "Picker"
|
|
14027
|
+
},
|
|
14028
|
+
"docUrl": {
|
|
14029
|
+
"name": "/components/color-picker",
|
|
14030
|
+
"description": ""
|
|
14031
|
+
},
|
|
14032
|
+
"menuGroup": {
|
|
14033
|
+
"name": "Form",
|
|
14034
|
+
"description": "Controls"
|
|
14035
|
+
},
|
|
14036
|
+
"menuLabel": {
|
|
14037
|
+
"name": "Color",
|
|
14038
|
+
"description": "Picker"
|
|
14039
|
+
},
|
|
14040
|
+
"menuIcon": {
|
|
14041
|
+
"name": "palette",
|
|
14042
|
+
"description": ""
|
|
14043
|
+
}
|
|
12561
14044
|
}
|
|
12562
14045
|
],
|
|
12563
14046
|
"exports": [
|
|
12564
14047
|
{
|
|
12565
14048
|
"kind": "js",
|
|
12566
|
-
"name": "
|
|
14049
|
+
"name": "EspalierColorPicker",
|
|
12567
14050
|
"declaration": {
|
|
12568
|
-
"name": "
|
|
12569
|
-
"module": "dist/
|
|
14051
|
+
"name": "EspalierColorPicker",
|
|
14052
|
+
"module": "dist/color-picker/esp-color-picker.js"
|
|
12570
14053
|
}
|
|
12571
14054
|
},
|
|
12572
14055
|
{
|
|
12573
14056
|
"kind": "custom-element-definition",
|
|
12574
|
-
"name": "esp-
|
|
14057
|
+
"name": "esp-color-picker",
|
|
12575
14058
|
"declaration": {
|
|
12576
|
-
"name": "
|
|
12577
|
-
"module": "dist/
|
|
14059
|
+
"name": "EspalierColorPicker",
|
|
14060
|
+
"module": "dist/color-picker/esp-color-picker.js"
|
|
12578
14061
|
}
|
|
12579
14062
|
}
|
|
12580
14063
|
]
|
|
12581
14064
|
},
|
|
12582
14065
|
{
|
|
12583
14066
|
"kind": "javascript-module",
|
|
12584
|
-
"path": "dist/
|
|
14067
|
+
"path": "dist/columns/esp-columns.js",
|
|
12585
14068
|
"declarations": [
|
|
12586
14069
|
{
|
|
12587
14070
|
"kind": "class",
|
|
12588
|
-
"description": "
|
|
12589
|
-
"name": "
|
|
14071
|
+
"description": "Places two or three independent regions beside each other when each can\nremain at least 18rem wide. All regions stack together below that threshold.\nRequires an `esp-root` ancestor.\n\n```html\n<esp-columns ratio=\"40-60\" gap=\"medium\">\n <div><h2>Visit us</h2><p>Find a class near you.</p></div>\n <div><h2>Book a class</h2><p>Your booking form goes here.</p></div>\n</esp-columns>\n```\n\nEach rendered direct unnamed-slot element is one region. Elements with\n`hidden` or computed `display: none`, and script/style/template elements, do\nnot count as regions. Visibility changes retain the original slot nodes.\nThree rendered regions support only the equal ratio. Other counts, unknown\nratios, or non-whitespace direct text\nuse a single stack, retaining all slot content. Regions keep their DOM and\nreading order; this element adds no landmark or form behavior. Sections and\ncontexts continue to own backgrounds and content wells.",
|
|
14072
|
+
"name": "EspalierColumns",
|
|
12590
14073
|
"cssProperties": [
|
|
12591
14074
|
{
|
|
12592
|
-
"description": "
|
|
12593
|
-
"name": "--esp-
|
|
12594
|
-
},
|
|
12595
|
-
{
|
|
12596
|
-
"description": "The stroke color of the checkbox icon. Defaults to `var(--esp-color-text)`.",
|
|
12597
|
-
"name": "--esp-checkbox-icon-color"
|
|
12598
|
-
},
|
|
12599
|
-
{
|
|
12600
|
-
"description": "The color of the focus ring shadow. Defaults to `var(--esp-color-shadow)`.",
|
|
12601
|
-
"name": "--esp-checkbox-focus-shadow"
|
|
14075
|
+
"description": "Overrides the selected gap with a non-negative CSS length, including rem, em, calc() and clamp(). Percentage gaps are not supported. Defaults to the `gap` attribute's step, `normal` when unset.",
|
|
14076
|
+
"name": "--esp-columns-gap"
|
|
12602
14077
|
},
|
|
12603
14078
|
{
|
|
12604
14079
|
"description": "Background color of the shared field shell. Defaults to one layer above the nearest declared surface, capped at `var(--esp-color-layer-4)`, or `var(--esp-color-layer-2)` without a declared surface. An explicit override wins.",
|
|
@@ -12657,166 +14132,85 @@
|
|
|
12657
14132
|
}
|
|
12658
14133
|
}
|
|
12659
14134
|
],
|
|
14135
|
+
"cssParts": [
|
|
14136
|
+
{
|
|
14137
|
+
"description": "The grid containing the original regions.",
|
|
14138
|
+
"name": "columns"
|
|
14139
|
+
}
|
|
14140
|
+
],
|
|
12660
14141
|
"slots": [
|
|
12661
14142
|
{
|
|
12662
|
-
"description": "
|
|
14143
|
+
"description": "Two or three independent regions in reading order.",
|
|
12663
14144
|
"name": ""
|
|
12664
14145
|
}
|
|
12665
14146
|
],
|
|
12666
14147
|
"members": [
|
|
12667
14148
|
{
|
|
12668
14149
|
"kind": "field",
|
|
12669
|
-
"name": "
|
|
12670
|
-
"type": {
|
|
12671
|
-
"text": "boolean"
|
|
12672
|
-
},
|
|
12673
|
-
"static": true,
|
|
12674
|
-
"default": "true"
|
|
12675
|
-
},
|
|
12676
|
-
{
|
|
12677
|
-
"kind": "field",
|
|
12678
|
-
"name": "internals",
|
|
12679
|
-
"privacy": "private"
|
|
12680
|
-
},
|
|
12681
|
-
{
|
|
12682
|
-
"kind": "field",
|
|
12683
|
-
"name": "formCtrl",
|
|
12684
|
-
"privacy": "private",
|
|
12685
|
-
"default": "new FormFieldController({ host: this, internals: this.internals, getFormValue: () => (this.checked ? this.value || \"on\" : null), getValidity: () => { if (this.required && !this.checked) { return { flags: { valueMissing: true }, message: this.requiredMessage || \"Please check this box to continue.\", }; } return null; }, onReset: () => { this.checked = false; this.indeterminate = false; }, onRestore: (state: string) => { this.checked = state === \"on\" || state === this.value; }, onDisabled: (isDisabled: boolean) => { this.disabled = isDisabled; }, })"
|
|
12686
|
-
},
|
|
12687
|
-
{
|
|
12688
|
-
"kind": "field",
|
|
12689
|
-
"name": "formItemDescription",
|
|
12690
|
-
"privacy": "private",
|
|
12691
|
-
"default": "new FormFieldDescriptionController({ host: this, getTarget: () => this.shadowRoot?.querySelector<HTMLElement>(\".checkbox-control\"), })"
|
|
12692
|
-
},
|
|
12693
|
-
{
|
|
12694
|
-
"kind": "field",
|
|
12695
|
-
"name": "checked",
|
|
14150
|
+
"name": "gap",
|
|
12696
14151
|
"type": {
|
|
12697
|
-
"text": "
|
|
14152
|
+
"text": "EspalierGap"
|
|
12698
14153
|
},
|
|
12699
14154
|
"privacy": "public",
|
|
12700
|
-
"default": "
|
|
12701
|
-
"description": "
|
|
12702
|
-
"attribute": "
|
|
14155
|
+
"default": "\"normal\"",
|
|
14156
|
+
"description": "Space-scale gap name. Unknown names use normal.",
|
|
14157
|
+
"attribute": "gap",
|
|
12703
14158
|
"reflects": true
|
|
12704
14159
|
},
|
|
12705
14160
|
{
|
|
12706
14161
|
"kind": "field",
|
|
12707
|
-
"name": "
|
|
12708
|
-
"type": {
|
|
12709
|
-
"text": "string"
|
|
12710
|
-
},
|
|
12711
|
-
"privacy": "public",
|
|
12712
|
-
"default": "\"\"",
|
|
12713
|
-
"description": "The value associated with this checkbox. Used by\n[esp-checkbox-group](/components/checkbox/group) to track\nwhich checkboxes are selected.",
|
|
12714
|
-
"attribute": "value"
|
|
12715
|
-
},
|
|
12716
|
-
{
|
|
12717
|
-
"kind": "field",
|
|
12718
|
-
"name": "name",
|
|
14162
|
+
"name": "ratio",
|
|
12719
14163
|
"type": {
|
|
12720
|
-
"text": "
|
|
14164
|
+
"text": "EspalierColumnsRatio"
|
|
12721
14165
|
},
|
|
12722
14166
|
"privacy": "public",
|
|
12723
|
-
"default": "\"\"",
|
|
12724
|
-
"description": "
|
|
12725
|
-
"attribute": "
|
|
14167
|
+
"default": "\"equal\"",
|
|
14168
|
+
"description": "Equal regions, or two regions at 40/60 or 60/40.",
|
|
14169
|
+
"attribute": "ratio",
|
|
12726
14170
|
"reflects": true
|
|
12727
14171
|
},
|
|
12728
14172
|
{
|
|
12729
14173
|
"kind": "field",
|
|
12730
|
-
"name": "
|
|
14174
|
+
"name": "layout",
|
|
12731
14175
|
"type": {
|
|
12732
|
-
"text": "
|
|
14176
|
+
"text": "ColumnsLayout"
|
|
12733
14177
|
},
|
|
12734
|
-
"privacy": "
|
|
12735
|
-
"default": "
|
|
12736
|
-
"description": "When true, the checkbox must be checked before the form can\nbe submitted.",
|
|
12737
|
-
"attribute": "required",
|
|
12738
|
-
"reflects": true
|
|
14178
|
+
"privacy": "private",
|
|
14179
|
+
"default": "\"stack\""
|
|
12739
14180
|
},
|
|
12740
14181
|
{
|
|
12741
14182
|
"kind": "field",
|
|
12742
|
-
"name": "
|
|
14183
|
+
"name": "resizeObserver",
|
|
12743
14184
|
"type": {
|
|
12744
|
-
"text": "
|
|
14185
|
+
"text": "ResizeObserver | undefined"
|
|
12745
14186
|
},
|
|
12746
|
-
"privacy": "
|
|
12747
|
-
"default": "\"\"",
|
|
12748
|
-
"description": "A custom message to display when the checkbox is required but\nnot checked. Defaults to `\"Please check this box to continue.\"`\nwhen not set.\n\n```html\n<esp-checkbox required required-message=\"You must accept the terms.\">\n I accept\n</esp-checkbox>\n```",
|
|
12749
|
-
"attribute": "required-message"
|
|
14187
|
+
"privacy": "private"
|
|
12750
14188
|
},
|
|
12751
14189
|
{
|
|
12752
14190
|
"kind": "field",
|
|
12753
|
-
"name": "
|
|
14191
|
+
"name": "mutationObserver",
|
|
12754
14192
|
"type": {
|
|
12755
|
-
"text": "
|
|
14193
|
+
"text": "MutationObserver | undefined"
|
|
12756
14194
|
},
|
|
12757
|
-
"privacy": "
|
|
12758
|
-
"default": "false",
|
|
12759
|
-
"description": "Controls whether the checkbox is disabled.",
|
|
12760
|
-
"attribute": "disabled",
|
|
12761
|
-
"reflects": true
|
|
14195
|
+
"privacy": "private"
|
|
12762
14196
|
},
|
|
12763
14197
|
{
|
|
12764
14198
|
"kind": "field",
|
|
12765
|
-
"name": "
|
|
12766
|
-
"
|
|
12767
|
-
|
|
12768
|
-
|
|
12769
|
-
"privacy": "public",
|
|
12770
|
-
"default": "false",
|
|
12771
|
-
"description": "Displays the checkbox in an indeterminate (partial) state.\nClicking the checkbox clears the indeterminate state.",
|
|
12772
|
-
"attribute": "indeterminate",
|
|
12773
|
-
"reflects": true
|
|
12774
|
-
},
|
|
12775
|
-
{
|
|
12776
|
-
"kind": "method",
|
|
12777
|
-
"name": "focus",
|
|
12778
|
-
"privacy": "public",
|
|
12779
|
-
"return": {
|
|
12780
|
-
"type": {
|
|
12781
|
-
"text": "void"
|
|
12782
|
-
}
|
|
12783
|
-
},
|
|
12784
|
-
"parameters": [
|
|
12785
|
-
{
|
|
12786
|
-
"name": "options",
|
|
12787
|
-
"optional": true,
|
|
12788
|
-
"type": {
|
|
12789
|
-
"text": "FocusOptions"
|
|
12790
|
-
}
|
|
12791
|
-
}
|
|
12792
|
-
],
|
|
12793
|
-
"description": "Focus the checkbox control."
|
|
12794
|
-
},
|
|
12795
|
-
{
|
|
12796
|
-
"kind": "method",
|
|
12797
|
-
"name": "validate",
|
|
12798
|
-
"privacy": "public",
|
|
12799
|
-
"return": {
|
|
12800
|
-
"type": {
|
|
12801
|
-
"text": "void"
|
|
12802
|
-
}
|
|
12803
|
-
},
|
|
12804
|
-
"description": "Re-run constraint validation and dispatch `esp-validity-changed`."
|
|
14199
|
+
"name": "observedRegions",
|
|
14200
|
+
"privacy": "private",
|
|
14201
|
+
"readonly": true,
|
|
14202
|
+
"default": "new Set<Element>()"
|
|
12805
14203
|
},
|
|
12806
14204
|
{
|
|
12807
|
-
"kind": "
|
|
12808
|
-
"name": "
|
|
12809
|
-
"privacy": "
|
|
12810
|
-
"
|
|
12811
|
-
|
|
12812
|
-
"text": "boolean"
|
|
12813
|
-
}
|
|
12814
|
-
},
|
|
12815
|
-
"description": "Check whether the current state is valid (delegates to ElementInternals)."
|
|
14205
|
+
"kind": "field",
|
|
14206
|
+
"name": "updateLayout",
|
|
14207
|
+
"privacy": "private",
|
|
14208
|
+
"readonly": true,
|
|
14209
|
+
"default": "new RafThrottle(() => this.measureLayout())"
|
|
12816
14210
|
},
|
|
12817
14211
|
{
|
|
12818
14212
|
"kind": "method",
|
|
12819
|
-
"name": "
|
|
14213
|
+
"name": "observeGeometry",
|
|
12820
14214
|
"privacy": "private",
|
|
12821
14215
|
"return": {
|
|
12822
14216
|
"type": {
|
|
@@ -12826,7 +14220,7 @@
|
|
|
12826
14220
|
},
|
|
12827
14221
|
{
|
|
12828
14222
|
"kind": "method",
|
|
12829
|
-
"name": "
|
|
14223
|
+
"name": "syncRegionObservers",
|
|
12830
14224
|
"privacy": "private",
|
|
12831
14225
|
"return": {
|
|
12832
14226
|
"type": {
|
|
@@ -12835,68 +14229,22 @@
|
|
|
12835
14229
|
},
|
|
12836
14230
|
"parameters": [
|
|
12837
14231
|
{
|
|
12838
|
-
"name": "
|
|
14232
|
+
"name": "regions",
|
|
12839
14233
|
"type": {
|
|
12840
|
-
"text": "
|
|
14234
|
+
"text": "Element[]"
|
|
12841
14235
|
}
|
|
12842
14236
|
}
|
|
12843
14237
|
]
|
|
12844
14238
|
},
|
|
12845
14239
|
{
|
|
12846
14240
|
"kind": "method",
|
|
12847
|
-
"name": "
|
|
14241
|
+
"name": "measureLayout",
|
|
12848
14242
|
"privacy": "private",
|
|
12849
|
-
"return": {
|
|
12850
|
-
"type": {
|
|
12851
|
-
"text": "TemplateResult"
|
|
12852
|
-
}
|
|
12853
|
-
}
|
|
12854
|
-
},
|
|
12855
|
-
{
|
|
12856
|
-
"kind": "method",
|
|
12857
|
-
"name": "formResetCallback",
|
|
12858
14243
|
"return": {
|
|
12859
14244
|
"type": {
|
|
12860
14245
|
"text": "void"
|
|
12861
14246
|
}
|
|
12862
|
-
}
|
|
12863
|
-
"description": "Called by the browser when the owning `<form>` is reset."
|
|
12864
|
-
},
|
|
12865
|
-
{
|
|
12866
|
-
"kind": "method",
|
|
12867
|
-
"name": "formStateRestoreCallback",
|
|
12868
|
-
"return": {
|
|
12869
|
-
"type": {
|
|
12870
|
-
"text": "void"
|
|
12871
|
-
}
|
|
12872
|
-
},
|
|
12873
|
-
"parameters": [
|
|
12874
|
-
{
|
|
12875
|
-
"name": "state",
|
|
12876
|
-
"type": {
|
|
12877
|
-
"text": "string"
|
|
12878
|
-
}
|
|
12879
|
-
}
|
|
12880
|
-
],
|
|
12881
|
-
"description": "Called by the browser to restore form state (bfcache, etc.)."
|
|
12882
|
-
},
|
|
12883
|
-
{
|
|
12884
|
-
"kind": "method",
|
|
12885
|
-
"name": "formDisabledCallback",
|
|
12886
|
-
"return": {
|
|
12887
|
-
"type": {
|
|
12888
|
-
"text": "void"
|
|
12889
|
-
}
|
|
12890
|
-
},
|
|
12891
|
-
"parameters": [
|
|
12892
|
-
{
|
|
12893
|
-
"name": "isDisabled",
|
|
12894
|
-
"type": {
|
|
12895
|
-
"text": "boolean"
|
|
12896
|
-
}
|
|
12897
|
-
}
|
|
12898
|
-
],
|
|
12899
|
-
"description": "Called by the browser when a parent `<fieldset>` is enabled or disabled."
|
|
14247
|
+
}
|
|
12900
14248
|
},
|
|
12901
14249
|
{
|
|
12902
14250
|
"kind": "field",
|
|
@@ -13623,85 +14971,24 @@
|
|
|
13623
14971
|
}
|
|
13624
14972
|
}
|
|
13625
14973
|
],
|
|
13626
|
-
"events": [
|
|
13627
|
-
{
|
|
13628
|
-
"type": {
|
|
13629
|
-
"text": "CustomEvent<{ checked: boolean; value: string }>"
|
|
13630
|
-
},
|
|
13631
|
-
"description": "Fired when the checkbox is toggled. The detail contains the new `checked` state and the checkbox `value`.",
|
|
13632
|
-
"name": "esp-value-changed"
|
|
13633
|
-
},
|
|
13634
|
-
{
|
|
13635
|
-
"type": {
|
|
13636
|
-
"text": "CustomEvent<{ valid: boolean; message: string }>"
|
|
13637
|
-
},
|
|
13638
|
-
"description": "Fired whenever constraint validation runs.",
|
|
13639
|
-
"name": "esp-validity-changed"
|
|
13640
|
-
}
|
|
13641
|
-
],
|
|
13642
14974
|
"attributes": [
|
|
13643
14975
|
{
|
|
13644
|
-
"name": "
|
|
13645
|
-
"type": {
|
|
13646
|
-
"text": "boolean"
|
|
13647
|
-
},
|
|
13648
|
-
"default": "false",
|
|
13649
|
-
"description": "Whether the checkbox is in the checked state.",
|
|
13650
|
-
"fieldName": "checked"
|
|
13651
|
-
},
|
|
13652
|
-
{
|
|
13653
|
-
"name": "value",
|
|
13654
|
-
"type": {
|
|
13655
|
-
"text": "string"
|
|
13656
|
-
},
|
|
13657
|
-
"default": "\"\"",
|
|
13658
|
-
"description": "The value associated with this checkbox. Used by\n[esp-checkbox-group](/components/checkbox/group) to track\nwhich checkboxes are selected.",
|
|
13659
|
-
"fieldName": "value"
|
|
13660
|
-
},
|
|
13661
|
-
{
|
|
13662
|
-
"name": "name",
|
|
13663
|
-
"type": {
|
|
13664
|
-
"text": "string"
|
|
13665
|
-
},
|
|
13666
|
-
"default": "\"\"",
|
|
13667
|
-
"description": "The name used when the checkbox participates in a `<form>`.",
|
|
13668
|
-
"fieldName": "name"
|
|
13669
|
-
},
|
|
13670
|
-
{
|
|
13671
|
-
"name": "required",
|
|
13672
|
-
"type": {
|
|
13673
|
-
"text": "boolean"
|
|
13674
|
-
},
|
|
13675
|
-
"default": "false",
|
|
13676
|
-
"description": "When true, the checkbox must be checked before the form can\nbe submitted.",
|
|
13677
|
-
"fieldName": "required"
|
|
13678
|
-
},
|
|
13679
|
-
{
|
|
13680
|
-
"name": "required-message",
|
|
13681
|
-
"type": {
|
|
13682
|
-
"text": "string"
|
|
13683
|
-
},
|
|
13684
|
-
"default": "\"\"",
|
|
13685
|
-
"description": "A custom message to display when the checkbox is required but\nnot checked. Defaults to `\"Please check this box to continue.\"`\nwhen not set.\n\n```html\n<esp-checkbox required required-message=\"You must accept the terms.\">\n I accept\n</esp-checkbox>\n```",
|
|
13686
|
-
"fieldName": "requiredMessage"
|
|
13687
|
-
},
|
|
13688
|
-
{
|
|
13689
|
-
"name": "disabled",
|
|
14976
|
+
"name": "gap",
|
|
13690
14977
|
"type": {
|
|
13691
|
-
"text": "
|
|
14978
|
+
"text": "EspalierGap"
|
|
13692
14979
|
},
|
|
13693
|
-
"default": "
|
|
13694
|
-
"description": "
|
|
13695
|
-
"fieldName": "
|
|
14980
|
+
"default": "\"normal\"",
|
|
14981
|
+
"description": "Space-scale gap name. Unknown names use normal.",
|
|
14982
|
+
"fieldName": "gap"
|
|
13696
14983
|
},
|
|
13697
14984
|
{
|
|
13698
|
-
"name": "
|
|
14985
|
+
"name": "ratio",
|
|
13699
14986
|
"type": {
|
|
13700
|
-
"text": "
|
|
14987
|
+
"text": "EspalierColumnsRatio"
|
|
13701
14988
|
},
|
|
13702
|
-
"default": "
|
|
13703
|
-
"description": "
|
|
13704
|
-
"fieldName": "
|
|
14989
|
+
"default": "\"equal\"",
|
|
14990
|
+
"description": "Equal regions, or two regions at 40/60 or 60/40.",
|
|
14991
|
+
"fieldName": "ratio"
|
|
13705
14992
|
},
|
|
13706
14993
|
{
|
|
13707
14994
|
"type": {
|
|
@@ -13756,265 +15043,42 @@
|
|
|
13756
15043
|
"name": "EspalierElementBase",
|
|
13757
15044
|
"module": "dist/shared/esp-element-base.js"
|
|
13758
15045
|
},
|
|
15046
|
+
"tagName": "esp-columns",
|
|
15047
|
+
"customElement": true,
|
|
13759
15048
|
"docPageTitle": {
|
|
13760
|
-
"name": "
|
|
15049
|
+
"name": "Columns",
|
|
13761
15050
|
"description": ""
|
|
13762
15051
|
},
|
|
13763
15052
|
"docUrl": {
|
|
13764
|
-
"name": "/components/
|
|
15053
|
+
"name": "/components/columns",
|
|
13765
15054
|
"description": ""
|
|
13766
15055
|
},
|
|
13767
15056
|
"menuGroup": {
|
|
13768
|
-
"name": "
|
|
13769
|
-
"description": "Controls"
|
|
13770
|
-
},
|
|
13771
|
-
"menuLabel": {
|
|
13772
|
-
"name": "Checkbox",
|
|
15057
|
+
"name": "Structure",
|
|
13773
15058
|
"description": ""
|
|
13774
15059
|
},
|
|
13775
15060
|
"menuIcon": {
|
|
13776
|
-
"name": "
|
|
13777
|
-
"description": ""
|
|
13778
|
-
},
|
|
13779
|
-
"tagName": "esp-checkbox",
|
|
13780
|
-
"customElement": true
|
|
13781
|
-
}
|
|
13782
|
-
],
|
|
13783
|
-
"exports": [
|
|
13784
|
-
{
|
|
13785
|
-
"kind": "js",
|
|
13786
|
-
"name": "EspalierCheckbox",
|
|
13787
|
-
"declaration": {
|
|
13788
|
-
"name": "EspalierCheckbox",
|
|
13789
|
-
"module": "dist/checkbox/esp-checkbox.js"
|
|
13790
|
-
}
|
|
13791
|
-
},
|
|
13792
|
-
{
|
|
13793
|
-
"kind": "custom-element-definition",
|
|
13794
|
-
"name": "esp-checkbox",
|
|
13795
|
-
"declaration": {
|
|
13796
|
-
"name": "EspalierCheckbox",
|
|
13797
|
-
"module": "dist/checkbox/esp-checkbox.js"
|
|
13798
|
-
}
|
|
13799
|
-
}
|
|
13800
|
-
]
|
|
13801
|
-
},
|
|
13802
|
-
{
|
|
13803
|
-
"kind": "javascript-module",
|
|
13804
|
-
"path": "dist/cli/espalier.js",
|
|
13805
|
-
"declarations": [],
|
|
13806
|
-
"exports": []
|
|
13807
|
-
},
|
|
13808
|
-
{
|
|
13809
|
-
"kind": "javascript-module",
|
|
13810
|
-
"path": "dist/cli/theme-check.js",
|
|
13811
|
-
"declarations": [
|
|
13812
|
-
{
|
|
13813
|
-
"kind": "function",
|
|
13814
|
-
"name": "runEspalierCli",
|
|
13815
|
-
"return": {
|
|
13816
|
-
"type": {
|
|
13817
|
-
"text": "number"
|
|
13818
|
-
}
|
|
13819
|
-
},
|
|
13820
|
-
"parameters": [
|
|
13821
|
-
{
|
|
13822
|
-
"name": "argv",
|
|
13823
|
-
"type": {
|
|
13824
|
-
"text": "string[]"
|
|
13825
|
-
}
|
|
13826
|
-
},
|
|
13827
|
-
{
|
|
13828
|
-
"name": "io",
|
|
13829
|
-
"type": {
|
|
13830
|
-
"text": "ThemeCheckIo"
|
|
13831
|
-
}
|
|
13832
|
-
}
|
|
13833
|
-
],
|
|
13834
|
-
"description": "Run the CLI for the given argv (everything after the executable and\nscript). Returns the process exit code."
|
|
13835
|
-
}
|
|
13836
|
-
],
|
|
13837
|
-
"exports": [
|
|
13838
|
-
{
|
|
13839
|
-
"kind": "js",
|
|
13840
|
-
"name": "runEspalierCli",
|
|
13841
|
-
"declaration": {
|
|
13842
|
-
"name": "runEspalierCli",
|
|
13843
|
-
"module": "dist/cli/theme-check.js"
|
|
13844
|
-
}
|
|
13845
|
-
}
|
|
13846
|
-
]
|
|
13847
|
-
},
|
|
13848
|
-
{
|
|
13849
|
-
"kind": "javascript-module",
|
|
13850
|
-
"path": "dist/color-picker/esp-color-picker.js",
|
|
13851
|
-
"declarations": [
|
|
13852
|
-
{
|
|
13853
|
-
"kind": "class",
|
|
13854
|
-
"description": "Used to choose a seed color for the Espalier color scheme.\nEspalier uses the [OKLCH](/guides/color/oklch) color notation.\nBy default this picker lets you choose hue and chroma while\nlightness stays at 0.7 (the design-system default) so variant\nderivation stays consistent. Set `mode=\"hcl\"` when an editor\nneeds to tune hue, chroma, and lightness directly.",
|
|
13855
|
-
"name": "EspalierColorPicker",
|
|
13856
|
-
"cssProperties": [
|
|
13857
|
-
{
|
|
13858
|
-
"description": "The border width of the color picker.",
|
|
13859
|
-
"name": "--esp-size-color-picker-border-width"
|
|
13860
|
-
}
|
|
13861
|
-
],
|
|
13862
|
-
"members": [
|
|
13863
|
-
{
|
|
13864
|
-
"kind": "field",
|
|
13865
|
-
"name": "hueInput",
|
|
13866
|
-
"privacy": "private"
|
|
13867
|
-
},
|
|
13868
|
-
{
|
|
13869
|
-
"kind": "field",
|
|
13870
|
-
"name": "chromaInput",
|
|
13871
|
-
"privacy": "private"
|
|
13872
|
-
},
|
|
13873
|
-
{
|
|
13874
|
-
"kind": "field",
|
|
13875
|
-
"name": "lightnessInput",
|
|
13876
|
-
"privacy": "private"
|
|
13877
|
-
},
|
|
13878
|
-
{
|
|
13879
|
-
"kind": "field",
|
|
13880
|
-
"name": "mode",
|
|
13881
|
-
"type": {
|
|
13882
|
-
"text": "\"hc\" | \"hcl\""
|
|
13883
|
-
},
|
|
13884
|
-
"privacy": "public",
|
|
13885
|
-
"default": "\"hc\"",
|
|
13886
|
-
"description": "Which controls to show. `hc` preserves the original hue/chroma UI;\n`hcl` also renders a lightness slider.\n\n```html\n<esp-box>\n <h3>Email brand color</h3>\n <esp-color-picker mode=\"hcl\" hue=\"216\" chroma=\"14\" lightness=\"62\"></esp-color-picker>\n</esp-box>\n```",
|
|
13887
|
-
"attribute": "mode"
|
|
13888
|
-
},
|
|
13889
|
-
{
|
|
13890
|
-
"kind": "field",
|
|
13891
|
-
"name": "chroma",
|
|
13892
|
-
"type": {
|
|
13893
|
-
"text": "number"
|
|
13894
|
-
},
|
|
13895
|
-
"privacy": "public",
|
|
13896
|
-
"default": "25",
|
|
13897
|
-
"description": "The selected chroma (0-25)",
|
|
13898
|
-
"attribute": "chroma"
|
|
13899
|
-
},
|
|
13900
|
-
{
|
|
13901
|
-
"kind": "field",
|
|
13902
|
-
"name": "hue",
|
|
13903
|
-
"type": {
|
|
13904
|
-
"text": "number"
|
|
13905
|
-
},
|
|
13906
|
-
"privacy": "public",
|
|
13907
|
-
"default": "180",
|
|
13908
|
-
"description": "The selected hue (0-360)\n\n```html\n<esp-box>\n <h3>A color picker with purple selected</h3>\n <esp-color-picker hue=\"300\" chroma=\"18\"></esp-color-picker>\n</esp-box>\n```",
|
|
13909
|
-
"attribute": "hue"
|
|
13910
|
-
},
|
|
13911
|
-
{
|
|
13912
|
-
"kind": "field",
|
|
13913
|
-
"name": "lightness",
|
|
13914
|
-
"type": {
|
|
13915
|
-
"text": "number"
|
|
13916
|
-
},
|
|
13917
|
-
"privacy": "public",
|
|
13918
|
-
"default": "70",
|
|
13919
|
-
"description": "The selected OKLCH lightness as a percentage (0-100).\n\nThe emitted `seedColor` converts this value to OKLCH's 0-1\nlightness scale.",
|
|
13920
|
-
"attribute": "lightness"
|
|
13921
|
-
},
|
|
13922
|
-
{
|
|
13923
|
-
"kind": "field",
|
|
13924
|
-
"name": "changed",
|
|
13925
|
-
"privacy": "private"
|
|
13926
|
-
}
|
|
13927
|
-
],
|
|
13928
|
-
"events": [
|
|
13929
|
-
{
|
|
13930
|
-
"type": {
|
|
13931
|
-
"text": "CustomEvent<{ seedColor: string, hue: number, chroma: number, lightness: number }>"
|
|
13932
|
-
},
|
|
13933
|
-
"description": "Fired when the user changes the color. The event detail contains the seed color OKLCH string, plus raw hue, chroma, and lightness values. ```html <esp-box> <esp-color-picker></esp-color-picker> </esp-box> <script> const espRoot = document.getElementsByTagName(\"esp-root\")[0]; const stored = localStorage.getItem(\"esp-seed-color\") ?? \"oklch(0.7 0.125 216)\"; const colorPicker = findByTagName(\"esp-color-picker\")[0]; // Parse stored seed-color to set sliders const parts = stored.match(/oklch\\(([\\d.]+)\\s+([\\d.]+)\\s+([\\d.]+)\\)/); if (parts) { colorPicker.hue = +parts[3]; colorPicker.chroma = Math.round(+parts[2] * 100); } colorPicker.addEventListener(\"esp-value-changed\", (event) => { const { seedColor } = event.detail; localStorage.setItem(\"esp-seed-color\", seedColor); espRoot.setAttribute(\"seed-color\", seedColor); }); </script> ```",
|
|
13934
|
-
"name": "esp-value-changed"
|
|
13935
|
-
}
|
|
13936
|
-
],
|
|
13937
|
-
"attributes": [
|
|
13938
|
-
{
|
|
13939
|
-
"name": "mode",
|
|
13940
|
-
"type": {
|
|
13941
|
-
"text": "\"hc\" | \"hcl\""
|
|
13942
|
-
},
|
|
13943
|
-
"default": "\"hc\"",
|
|
13944
|
-
"description": "Which controls to show. `hc` preserves the original hue/chroma UI;\n`hcl` also renders a lightness slider.\n\n```html\n<esp-box>\n <h3>Email brand color</h3>\n <esp-color-picker mode=\"hcl\" hue=\"216\" chroma=\"14\" lightness=\"62\"></esp-color-picker>\n</esp-box>\n```",
|
|
13945
|
-
"fieldName": "mode"
|
|
13946
|
-
},
|
|
13947
|
-
{
|
|
13948
|
-
"name": "chroma",
|
|
13949
|
-
"type": {
|
|
13950
|
-
"text": "number"
|
|
13951
|
-
},
|
|
13952
|
-
"default": "25",
|
|
13953
|
-
"description": "The selected chroma (0-25)",
|
|
13954
|
-
"fieldName": "chroma"
|
|
13955
|
-
},
|
|
13956
|
-
{
|
|
13957
|
-
"name": "hue",
|
|
13958
|
-
"type": {
|
|
13959
|
-
"text": "number"
|
|
13960
|
-
},
|
|
13961
|
-
"default": "180",
|
|
13962
|
-
"description": "The selected hue (0-360)\n\n```html\n<esp-box>\n <h3>A color picker with purple selected</h3>\n <esp-color-picker hue=\"300\" chroma=\"18\"></esp-color-picker>\n</esp-box>\n```",
|
|
13963
|
-
"fieldName": "hue"
|
|
13964
|
-
},
|
|
13965
|
-
{
|
|
13966
|
-
"name": "lightness",
|
|
13967
|
-
"type": {
|
|
13968
|
-
"text": "number"
|
|
13969
|
-
},
|
|
13970
|
-
"default": "DEFAULT_LIGHTNESS",
|
|
13971
|
-
"description": "The selected OKLCH lightness as a percentage (0-100).\n\nThe emitted `seedColor` converts this value to OKLCH's 0-1\nlightness scale.",
|
|
13972
|
-
"fieldName": "lightness"
|
|
13973
|
-
}
|
|
13974
|
-
],
|
|
13975
|
-
"superclass": {
|
|
13976
|
-
"name": "LitElement",
|
|
13977
|
-
"package": "lit"
|
|
13978
|
-
},
|
|
13979
|
-
"tagName": "esp-color-picker",
|
|
13980
|
-
"customElement": true,
|
|
13981
|
-
"docPageTitle": {
|
|
13982
|
-
"name": "Color",
|
|
13983
|
-
"description": "Picker"
|
|
13984
|
-
},
|
|
13985
|
-
"docUrl": {
|
|
13986
|
-
"name": "/components/color-picker",
|
|
15061
|
+
"name": "layout",
|
|
13987
15062
|
"description": ""
|
|
13988
15063
|
},
|
|
13989
|
-
"
|
|
13990
|
-
"name": "Form",
|
|
13991
|
-
"description": "Controls"
|
|
13992
|
-
},
|
|
13993
|
-
"menuLabel": {
|
|
13994
|
-
"name": "Color",
|
|
13995
|
-
"description": "Picker"
|
|
13996
|
-
},
|
|
13997
|
-
"menuIcon": {
|
|
13998
|
-
"name": "palette",
|
|
13999
|
-
"description": ""
|
|
14000
|
-
}
|
|
15064
|
+
"events": []
|
|
14001
15065
|
}
|
|
14002
15066
|
],
|
|
14003
15067
|
"exports": [
|
|
14004
15068
|
{
|
|
14005
15069
|
"kind": "js",
|
|
14006
|
-
"name": "
|
|
15070
|
+
"name": "EspalierColumns",
|
|
14007
15071
|
"declaration": {
|
|
14008
|
-
"name": "
|
|
14009
|
-
"module": "dist/
|
|
15072
|
+
"name": "EspalierColumns",
|
|
15073
|
+
"module": "dist/columns/esp-columns.js"
|
|
14010
15074
|
}
|
|
14011
15075
|
},
|
|
14012
15076
|
{
|
|
14013
15077
|
"kind": "custom-element-definition",
|
|
14014
|
-
"name": "esp-
|
|
15078
|
+
"name": "esp-columns",
|
|
14015
15079
|
"declaration": {
|
|
14016
|
-
"name": "
|
|
14017
|
-
"module": "dist/
|
|
15080
|
+
"name": "EspalierColumns",
|
|
15081
|
+
"module": "dist/columns/esp-columns.js"
|
|
14018
15082
|
}
|
|
14019
15083
|
}
|
|
14020
15084
|
]
|
|
@@ -32587,7 +33651,7 @@
|
|
|
32587
33651
|
"declarations": [
|
|
32588
33652
|
{
|
|
32589
33653
|
"kind": "class",
|
|
32590
|
-
"description": "Builds a site's top navigation bar. Use its four slots to add content:\n`topbar`, `brand`, `menu`, and `buttons`.\n\nA field fills one layer above the surface it sits on.\nUse `surface-layer=\"1|2|3|4\"` to select the default painted layer.\n\nThe header works together with several companion components:\n[`<esp-menu>`](/components/menu/) provides the navigation\ncontainer, [`<esp-menu-item>`](/components/menu/item/)\nrenders individual links, and\n[`<esp-header-button>`](/components/header/button/) adds icon\nbuttons for global actions.\n\n```html\n<esp-header>\n <div slot=\"brand\" style=\"background-color: red;\" class=\"header-example\">brand</div>\n <esp-menu slot=\"menu\" mode=\"horizontal\" style=\"background-color: green;\">\n <esp-menu-item label=\"menu\" url=\"#\"></esp-menu-item>\n </esp-menu>\n <div slot=\"buttons\" style=\"background-color: yellow;\" class=\"header-example\">buttons</div>\n</esp-header>\n```",
|
|
33654
|
+
"description": "Builds a site's top navigation bar. Use its four slots to add content:\n`topbar`, `brand`, `menu`, and `buttons`.\n\n`height-multiplier=\"1.8\"` enlarges the primary row and logo while preserving\ncontrol and extra-row sizes. In a fixed `esp-page`, `compact-size=\"standard\"`\nwith `scroll-behavior=\"compact\"` returns to the unscaled baseline. Sticky,\nnormal and standalone hosts retain expanded geometry with these options.\nOptional generic/light/dark compact logos fall back to the regular logo until\nready; the larger expanded/compact brand width is reserved in either state.\n`data-esp-compact` reports resolved compaction for paint-only styling and\ninspection. Hook-keyed layout or typography changes are unsupported. Override\nthe height/logo inputs instead. Compaction holds while header keyboard focus\nor a header drawer/popover is open. The [`<esp-page>`](/components/page/)\nreadiness method waits for initial geometry. Scope light-DOM anchor clearance\nto `--esp-page-header-expanded-size`, capped by the usable viewport height.\n\nA field fills one layer above the surface it sits on.\nUse `surface-layer=\"1|2|3|4\"` to select the default painted layer.\n\nThe header works together with several companion components:\n[`<esp-menu>`](/components/menu/) provides the navigation\ncontainer, [`<esp-menu-item>`](/components/menu/item/)\nrenders individual links, and\n[`<esp-header-button>`](/components/header/button/) adds icon\nbuttons for global actions.\n\n```html\n<esp-header>\n <div slot=\"brand\" style=\"background-color: red;\" class=\"header-example\">brand</div>\n <esp-menu slot=\"menu\" mode=\"horizontal\" style=\"background-color: green;\">\n <esp-menu-item label=\"menu\" url=\"#\"></esp-menu-item>\n </esp-menu>\n <div slot=\"buttons\" style=\"background-color: yellow;\" class=\"header-example\">buttons</div>\n</esp-header>\n```",
|
|
32591
33655
|
"name": "EspalierHeader",
|
|
32592
33656
|
"cssProperties": [
|
|
32593
33657
|
{
|
|
@@ -32682,6 +33746,10 @@
|
|
|
32682
33746
|
"description": "The configured logo maximum inline size. Defaults to `12rem`.",
|
|
32683
33747
|
"name": "--esp-header-brand-logo-max-width"
|
|
32684
33748
|
},
|
|
33749
|
+
{
|
|
33750
|
+
"description": "Reserved ratio for a pending compact logo. Defaults to `var(--esp-header-brand-logo-aspect-ratio, 3 / 1)`.",
|
|
33751
|
+
"name": "--esp-header-compact-brand-logo-aspect-ratio"
|
|
33752
|
+
},
|
|
32685
33753
|
{
|
|
32686
33754
|
"description": "The ratio the configured logo's box is reserved at while the image is still loading or has failed, so alt text never decides the brand region's width. A logo that loads is always laid out at its own ratio, whatever this is set to. Defaults to `3 / 1`.",
|
|
32687
33755
|
"name": "--esp-header-brand-logo-aspect-ratio"
|
|
@@ -32960,6 +34028,63 @@
|
|
|
32960
34028
|
"description": "Configured brand logo URL used in dark scheme. A non-empty value\noverrides `brand-logo`; an empty value falls back to it.",
|
|
32961
34029
|
"attribute": "dark-brand-logo"
|
|
32962
34030
|
},
|
|
34031
|
+
{
|
|
34032
|
+
"kind": "field",
|
|
34033
|
+
"name": "compactBrandLogo",
|
|
34034
|
+
"type": {
|
|
34035
|
+
"text": "string"
|
|
34036
|
+
},
|
|
34037
|
+
"privacy": "public",
|
|
34038
|
+
"default": "\"\"",
|
|
34039
|
+
"description": "Compact logo URL; unresolved or failed images retain the regular logo.",
|
|
34040
|
+
"attribute": "compact-brand-logo"
|
|
34041
|
+
},
|
|
34042
|
+
{
|
|
34043
|
+
"kind": "field",
|
|
34044
|
+
"name": "lightCompactBrandLogo",
|
|
34045
|
+
"type": {
|
|
34046
|
+
"text": "string"
|
|
34047
|
+
},
|
|
34048
|
+
"privacy": "public",
|
|
34049
|
+
"default": "\"\"",
|
|
34050
|
+
"description": "Compact logo for light scheme; falls back to generic, then dark compact.",
|
|
34051
|
+
"attribute": "light-compact-brand-logo"
|
|
34052
|
+
},
|
|
34053
|
+
{
|
|
34054
|
+
"kind": "field",
|
|
34055
|
+
"name": "darkCompactBrandLogo",
|
|
34056
|
+
"type": {
|
|
34057
|
+
"text": "string"
|
|
34058
|
+
},
|
|
34059
|
+
"privacy": "public",
|
|
34060
|
+
"default": "\"\"",
|
|
34061
|
+
"description": "Compact logo for dark scheme; falls back to generic, then light compact.",
|
|
34062
|
+
"attribute": "dark-compact-brand-logo"
|
|
34063
|
+
},
|
|
34064
|
+
{
|
|
34065
|
+
"kind": "field",
|
|
34066
|
+
"name": "heightMultiplier",
|
|
34067
|
+
"type": {
|
|
34068
|
+
"text": "number"
|
|
34069
|
+
},
|
|
34070
|
+
"privacy": "public",
|
|
34071
|
+
"default": "1",
|
|
34072
|
+
"description": "Scale the primary row from 1.0 to 5.0 in tenths. Controls and extra rows\nretain their baseline sizes. Invalid values normalize to 1.0.",
|
|
34073
|
+
"attribute": "height-multiplier",
|
|
34074
|
+
"reflects": true
|
|
34075
|
+
},
|
|
34076
|
+
{
|
|
34077
|
+
"kind": "field",
|
|
34078
|
+
"name": "compactSize",
|
|
34079
|
+
"type": {
|
|
34080
|
+
"text": "HeaderCompactSize"
|
|
34081
|
+
},
|
|
34082
|
+
"privacy": "public",
|
|
34083
|
+
"description": "`standard` compacts to the unscaled baseline; `compact` retains the legacy\nabsolute compact-height token. New geometry compacts only in a fixed esp-page.",
|
|
34084
|
+
"default": "\"compact\"",
|
|
34085
|
+
"attribute": "compact-size",
|
|
34086
|
+
"reflects": true
|
|
34087
|
+
},
|
|
32963
34088
|
{
|
|
32964
34089
|
"kind": "field",
|
|
32965
34090
|
"name": "brandHref",
|
|
@@ -33119,6 +34244,132 @@
|
|
|
33119
34244
|
"attribute": "full-bleed-content",
|
|
33120
34245
|
"reflects": true
|
|
33121
34246
|
},
|
|
34247
|
+
{
|
|
34248
|
+
"kind": "field",
|
|
34249
|
+
"name": "geometry",
|
|
34250
|
+
"privacy": "private",
|
|
34251
|
+
"default": "new HeaderGeometryController(this, () => ({ heightMultiplier: this.heightMultiplier, compactSize: this.compactSize, compactLogo: Boolean(this.compactBrandLogo || this.lightCompactBrandLogo || this.darkCompactBrandLogo), }), () => this.syncBrandFitWidth())"
|
|
34252
|
+
},
|
|
34253
|
+
{
|
|
34254
|
+
"kind": "field",
|
|
34255
|
+
"name": "readyCompactLogo",
|
|
34256
|
+
"type": {
|
|
34257
|
+
"text": "string"
|
|
34258
|
+
},
|
|
34259
|
+
"privacy": "private",
|
|
34260
|
+
"default": "\"\""
|
|
34261
|
+
},
|
|
34262
|
+
{
|
|
34263
|
+
"kind": "field",
|
|
34264
|
+
"name": "naturalBrandWidth",
|
|
34265
|
+
"type": {
|
|
34266
|
+
"text": "number"
|
|
34267
|
+
},
|
|
34268
|
+
"privacy": "private",
|
|
34269
|
+
"default": "0"
|
|
34270
|
+
},
|
|
34271
|
+
{
|
|
34272
|
+
"kind": "method",
|
|
34273
|
+
"name": "resolveBrand",
|
|
34274
|
+
"privacy": "private"
|
|
34275
|
+
},
|
|
34276
|
+
{
|
|
34277
|
+
"kind": "field",
|
|
34278
|
+
"name": "compactLogoSource",
|
|
34279
|
+
"type": {
|
|
34280
|
+
"text": "string"
|
|
34281
|
+
},
|
|
34282
|
+
"privacy": "private",
|
|
34283
|
+
"readonly": true
|
|
34284
|
+
},
|
|
34285
|
+
{
|
|
34286
|
+
"kind": "field",
|
|
34287
|
+
"name": "syncCompactLogoReadiness",
|
|
34288
|
+
"privacy": "private"
|
|
34289
|
+
},
|
|
34290
|
+
{
|
|
34291
|
+
"kind": "method",
|
|
34292
|
+
"name": "syncBrandFitWidth",
|
|
34293
|
+
"privacy": "private",
|
|
34294
|
+
"return": {
|
|
34295
|
+
"type": {
|
|
34296
|
+
"text": "void"
|
|
34297
|
+
}
|
|
34298
|
+
}
|
|
34299
|
+
},
|
|
34300
|
+
{
|
|
34301
|
+
"kind": "field",
|
|
34302
|
+
"name": "keyboardFocusHeld",
|
|
34303
|
+
"type": {
|
|
34304
|
+
"text": "boolean"
|
|
34305
|
+
},
|
|
34306
|
+
"privacy": "private",
|
|
34307
|
+
"default": "false"
|
|
34308
|
+
},
|
|
34309
|
+
{
|
|
34310
|
+
"kind": "field",
|
|
34311
|
+
"name": "pointerFocusPending",
|
|
34312
|
+
"type": {
|
|
34313
|
+
"text": "boolean"
|
|
34314
|
+
},
|
|
34315
|
+
"privacy": "private",
|
|
34316
|
+
"default": "false"
|
|
34317
|
+
},
|
|
34318
|
+
{
|
|
34319
|
+
"kind": "field",
|
|
34320
|
+
"name": "onGeometryKeyboard",
|
|
34321
|
+
"privacy": "private"
|
|
34322
|
+
},
|
|
34323
|
+
{
|
|
34324
|
+
"kind": "field",
|
|
34325
|
+
"name": "onGeometryPointer",
|
|
34326
|
+
"privacy": "private"
|
|
34327
|
+
},
|
|
34328
|
+
{
|
|
34329
|
+
"kind": "field",
|
|
34330
|
+
"name": "onGeometryPointerEnd",
|
|
34331
|
+
"privacy": "private"
|
|
34332
|
+
},
|
|
34333
|
+
{
|
|
34334
|
+
"kind": "field",
|
|
34335
|
+
"name": "openHeaderPopovers",
|
|
34336
|
+
"privacy": "private",
|
|
34337
|
+
"default": "new Set<EventTarget>()"
|
|
34338
|
+
},
|
|
34339
|
+
{
|
|
34340
|
+
"kind": "field",
|
|
34341
|
+
"name": "onHeaderPopoverOpened",
|
|
34342
|
+
"privacy": "private"
|
|
34343
|
+
},
|
|
34344
|
+
{
|
|
34345
|
+
"kind": "field",
|
|
34346
|
+
"name": "onHeaderPopoverClosed",
|
|
34347
|
+
"privacy": "private"
|
|
34348
|
+
},
|
|
34349
|
+
{
|
|
34350
|
+
"kind": "field",
|
|
34351
|
+
"name": "onHeaderGroupToggle",
|
|
34352
|
+
"privacy": "private"
|
|
34353
|
+
},
|
|
34354
|
+
{
|
|
34355
|
+
"kind": "field",
|
|
34356
|
+
"name": "headerOverlayHeld",
|
|
34357
|
+
"type": {
|
|
34358
|
+
"text": "boolean"
|
|
34359
|
+
},
|
|
34360
|
+
"privacy": "private",
|
|
34361
|
+
"readonly": true
|
|
34362
|
+
},
|
|
34363
|
+
{
|
|
34364
|
+
"kind": "field",
|
|
34365
|
+
"name": "onGeometryFocus",
|
|
34366
|
+
"privacy": "private"
|
|
34367
|
+
},
|
|
34368
|
+
{
|
|
34369
|
+
"kind": "field",
|
|
34370
|
+
"name": "onGeometryFocusOut",
|
|
34371
|
+
"privacy": "private"
|
|
34372
|
+
},
|
|
33122
34373
|
{
|
|
33123
34374
|
"kind": "field",
|
|
33124
34375
|
"name": "menuContainer",
|
|
@@ -33766,6 +35017,11 @@
|
|
|
33766
35017
|
"description": "The burger element inside the header. External code can use\nthis to programmatically reset the burger's visual state\n(e.g. when a drawer is closed via swipe).",
|
|
33767
35018
|
"readonly": true
|
|
33768
35019
|
},
|
|
35020
|
+
{
|
|
35021
|
+
"kind": "field",
|
|
35022
|
+
"name": "onGeometryContentChanged",
|
|
35023
|
+
"privacy": "private"
|
|
35024
|
+
},
|
|
33769
35025
|
{
|
|
33770
35026
|
"kind": "method",
|
|
33771
35027
|
"name": "renderHeaderEnd",
|
|
@@ -34526,6 +35782,10 @@
|
|
|
34526
35782
|
}
|
|
34527
35783
|
],
|
|
34528
35784
|
"attributes": [
|
|
35785
|
+
{
|
|
35786
|
+
"description": "Read-only resolved compaction hook for paint-only styling and inspection. Authored values do not control state; hook-keyed layout changes are unsupported.",
|
|
35787
|
+
"name": "data-esp-compact"
|
|
35788
|
+
},
|
|
34529
35789
|
{
|
|
34530
35790
|
"name": "show-burger",
|
|
34531
35791
|
"type": {
|
|
@@ -34580,6 +35840,51 @@
|
|
|
34580
35840
|
"description": "Configured brand logo URL used in dark scheme. A non-empty value\noverrides `brand-logo`; an empty value falls back to it.",
|
|
34581
35841
|
"fieldName": "darkBrandLogo"
|
|
34582
35842
|
},
|
|
35843
|
+
{
|
|
35844
|
+
"name": "compact-brand-logo",
|
|
35845
|
+
"type": {
|
|
35846
|
+
"text": "string"
|
|
35847
|
+
},
|
|
35848
|
+
"default": "\"\"",
|
|
35849
|
+
"description": "Compact logo URL; unresolved or failed images retain the regular logo.",
|
|
35850
|
+
"fieldName": "compactBrandLogo"
|
|
35851
|
+
},
|
|
35852
|
+
{
|
|
35853
|
+
"name": "light-compact-brand-logo",
|
|
35854
|
+
"type": {
|
|
35855
|
+
"text": "string"
|
|
35856
|
+
},
|
|
35857
|
+
"default": "\"\"",
|
|
35858
|
+
"description": "Compact logo for light scheme; falls back to generic, then dark compact.",
|
|
35859
|
+
"fieldName": "lightCompactBrandLogo"
|
|
35860
|
+
},
|
|
35861
|
+
{
|
|
35862
|
+
"name": "dark-compact-brand-logo",
|
|
35863
|
+
"type": {
|
|
35864
|
+
"text": "string"
|
|
35865
|
+
},
|
|
35866
|
+
"default": "\"\"",
|
|
35867
|
+
"description": "Compact logo for dark scheme; falls back to generic, then light compact.",
|
|
35868
|
+
"fieldName": "darkCompactBrandLogo"
|
|
35869
|
+
},
|
|
35870
|
+
{
|
|
35871
|
+
"name": "height-multiplier",
|
|
35872
|
+
"type": {
|
|
35873
|
+
"text": "number"
|
|
35874
|
+
},
|
|
35875
|
+
"default": "1",
|
|
35876
|
+
"description": "Scale the primary row from 1.0 to 5.0 in tenths. Controls and extra rows\nretain their baseline sizes. Invalid values normalize to 1.0.",
|
|
35877
|
+
"fieldName": "heightMultiplier"
|
|
35878
|
+
},
|
|
35879
|
+
{
|
|
35880
|
+
"name": "compact-size",
|
|
35881
|
+
"type": {
|
|
35882
|
+
"text": "HeaderCompactSize"
|
|
35883
|
+
},
|
|
35884
|
+
"description": "`standard` compacts to the unscaled baseline; `compact` retains the legacy\nabsolute compact-height token. New geometry compacts only in a fixed esp-page.",
|
|
35885
|
+
"default": "\"compact\"",
|
|
35886
|
+
"fieldName": "compactSize"
|
|
35887
|
+
},
|
|
34583
35888
|
{
|
|
34584
35889
|
"name": "brand-href",
|
|
34585
35890
|
"type": {
|
|
@@ -34626,178 +35931,756 @@
|
|
|
34626
35931
|
"fieldName": "darkBrandColor"
|
|
34627
35932
|
},
|
|
34628
35933
|
{
|
|
34629
|
-
"name": "brand-align",
|
|
34630
|
-
"type": {
|
|
34631
|
-
"text": "HeaderBrandAlign"
|
|
34632
|
-
},
|
|
34633
|
-
"description": "Horizontal placement of the brand content inside its grid area.",
|
|
34634
|
-
"default": "\"start\"",
|
|
34635
|
-
"fieldName": "brandAlign"
|
|
35934
|
+
"name": "brand-align",
|
|
35935
|
+
"type": {
|
|
35936
|
+
"text": "HeaderBrandAlign"
|
|
35937
|
+
},
|
|
35938
|
+
"description": "Horizontal placement of the brand content inside its grid area.",
|
|
35939
|
+
"default": "\"start\"",
|
|
35940
|
+
"fieldName": "brandAlign"
|
|
35941
|
+
},
|
|
35942
|
+
{
|
|
35943
|
+
"name": "brand-wrap",
|
|
35944
|
+
"type": {
|
|
35945
|
+
"text": "HeaderBrandWrap"
|
|
35946
|
+
},
|
|
35947
|
+
"description": "Long-brand behavior for configured brand text.",
|
|
35948
|
+
"default": "\"truncate\"",
|
|
35949
|
+
"fieldName": "brandWrap"
|
|
35950
|
+
},
|
|
35951
|
+
{
|
|
35952
|
+
"name": "menu-display",
|
|
35953
|
+
"type": {
|
|
35954
|
+
"text": "HeaderMenuDisplay"
|
|
35955
|
+
},
|
|
35956
|
+
"description": "Navigation display intent. `auto` tries inline navigation before\nusing a drawer, `drawer` always uses the burger/drawer pattern,\nand `inline` keeps the primary horizontal navigation on one scrolling row\nwithout creating a burger. Explicit `inline` overrides the minimal layout.",
|
|
35957
|
+
"default": "\"auto\"",
|
|
35958
|
+
"fieldName": "menuDisplay"
|
|
35959
|
+
},
|
|
35960
|
+
{
|
|
35961
|
+
"name": "theme-toggle",
|
|
35962
|
+
"type": {
|
|
35963
|
+
"text": "HeaderThemeToggle"
|
|
35964
|
+
},
|
|
35965
|
+
"description": "Whether the header renders its built-in light/dark toggle.\nConsumers can still provide their own control in the `buttons`\nslot when this is `hidden`.",
|
|
35966
|
+
"default": "\"hidden\"",
|
|
35967
|
+
"fieldName": "themeToggle"
|
|
35968
|
+
},
|
|
35969
|
+
{
|
|
35970
|
+
"name": "scroll-behavior",
|
|
35971
|
+
"type": {
|
|
35972
|
+
"text": "string"
|
|
35973
|
+
},
|
|
35974
|
+
"default": "\"none\"",
|
|
35975
|
+
"description": "Space-separated scroll behavior tokens. Supported tokens:\n`compact`, `elevate`, `transparent`, `reveal`, `dock`,\n`collapse-topbar`, and `progress`.",
|
|
35976
|
+
"fieldName": "scrollBehavior"
|
|
35977
|
+
},
|
|
35978
|
+
{
|
|
35979
|
+
"name": "scroll-threshold",
|
|
35980
|
+
"type": {
|
|
35981
|
+
"text": "number"
|
|
35982
|
+
},
|
|
35983
|
+
"default": "16",
|
|
35984
|
+
"description": "Scroll distance in pixels before scroll-reactive behavior applies.",
|
|
35985
|
+
"fieldName": "scrollThreshold"
|
|
35986
|
+
},
|
|
35987
|
+
{
|
|
35988
|
+
"name": "dock-offset",
|
|
35989
|
+
"type": {
|
|
35990
|
+
"text": "number"
|
|
35991
|
+
},
|
|
35992
|
+
"default": "0",
|
|
35993
|
+
"description": "Scroll distance in pixels before `scroll-behavior=\"dock\"` applies.\nThis is commonly set to the hero height when a transparent header\nshould dock after the first section.",
|
|
35994
|
+
"fieldName": "dockOffset"
|
|
35995
|
+
},
|
|
35996
|
+
{
|
|
35997
|
+
"name": "drawer-target",
|
|
35998
|
+
"type": {
|
|
35999
|
+
"text": "string"
|
|
36000
|
+
},
|
|
36001
|
+
"default": "\"\"",
|
|
36002
|
+
"description": "Optional ID of an external drawer-capable menu controlled by the\nheader burger. When set, burger open/close events call\n`openDrawer()` / `closeDrawer()` on that element instead of the\nmenu slotted into the header.",
|
|
36003
|
+
"fieldName": "drawerTarget"
|
|
36004
|
+
},
|
|
36005
|
+
{
|
|
36006
|
+
"name": "full-bleed-content",
|
|
36007
|
+
"type": {
|
|
36008
|
+
"text": "boolean"
|
|
36009
|
+
},
|
|
36010
|
+
"default": "false",
|
|
36011
|
+
"description": "Opt out of surface alignment. When an `esp-header` is slotted into an\n`esp-page`, it constrains its bar content to the page's content\nsurface by default (the bar background stays full-bleed). Set this to\nlet the content span the full width instead, as it did before the\npage grew alignment modes. Standalone headers (outside `esp-page`) are\nalready full-bleed and unaffected.",
|
|
36012
|
+
"fieldName": "fullBleedContent"
|
|
36013
|
+
},
|
|
36014
|
+
{
|
|
36015
|
+
"type": {
|
|
36016
|
+
"text": "\"1\"|\"2\"|\"3\"|\"4\""
|
|
36017
|
+
},
|
|
36018
|
+
"description": "Declares the painted surface depth. Fields use the next local layer, capped at layer 4.",
|
|
36019
|
+
"name": "surface-layer",
|
|
36020
|
+
"inheritedFrom": {
|
|
36021
|
+
"name": "EspalierElementBase",
|
|
36022
|
+
"module": "dist/shared/esp-element-base.js"
|
|
36023
|
+
}
|
|
36024
|
+
},
|
|
36025
|
+
{
|
|
36026
|
+
"name": "scheme",
|
|
36027
|
+
"type": {
|
|
36028
|
+
"text": "\"dark\" | \"light\""
|
|
36029
|
+
},
|
|
36030
|
+
"default": "\"light\"",
|
|
36031
|
+
"description": "The scheme to use for the component. This property is used internally\nto control the light/dark scheme so it matches the scheme of\n[esp-root](/components/root). It should not be set manually, it\nexists as an attribute for styling purposes.",
|
|
36032
|
+
"fieldName": "scheme",
|
|
36033
|
+
"inheritedFrom": {
|
|
36034
|
+
"name": "EspalierElementBase",
|
|
36035
|
+
"module": "dist/shared/esp-element-base.js"
|
|
36036
|
+
}
|
|
36037
|
+
},
|
|
36038
|
+
{
|
|
36039
|
+
"name": "intent",
|
|
36040
|
+
"type": {
|
|
36041
|
+
"text": "EspalierIntentVariant"
|
|
36042
|
+
},
|
|
36043
|
+
"description": "The element's [intent](/espalier-guides/) — its meaning: `neutral`\n(no pin), or `success`, `warning`, `danger`, `info` — each pinned\nto its fixed status family (blue for `info`), retunable per theme\nvia `intents`. On token-emitting controls a non-neutral intent pins the\nfilled-action pair to that family, derived over the governing\nzone's theme; class-styled chrome (badges, callouts, status pills)\nopts out of inline emission and renders its treatment from CSS\nclasses instead. An intent never repaints the surrounding zone,\nwhich is what contexts are for. Removing the attribute restores\nthe element's own default intent.",
|
|
36044
|
+
"fieldName": "intent",
|
|
36045
|
+
"inheritedFrom": {
|
|
36046
|
+
"name": "EspalierElementBase",
|
|
36047
|
+
"module": "dist/shared/esp-element-base.js"
|
|
36048
|
+
}
|
|
36049
|
+
},
|
|
36050
|
+
{
|
|
36051
|
+
"name": "context",
|
|
36052
|
+
"type": {
|
|
36053
|
+
"text": "string"
|
|
36054
|
+
},
|
|
36055
|
+
"description": "A theme-defined color zone. The selected context rebinds designer-facing\nroles and emits a complete, contrast-enforced semantic token table on this\nhost for descendants to inherit.",
|
|
36056
|
+
"fieldName": "context",
|
|
36057
|
+
"inheritedFrom": {
|
|
36058
|
+
"name": "EspalierElementBase",
|
|
36059
|
+
"module": "dist/shared/esp-element-base.js"
|
|
36060
|
+
}
|
|
36061
|
+
}
|
|
36062
|
+
],
|
|
36063
|
+
"superclass": {
|
|
36064
|
+
"name": "EspalierElementBase",
|
|
36065
|
+
"module": "dist/shared/esp-element-base.js"
|
|
36066
|
+
},
|
|
36067
|
+
"tagName": "esp-header",
|
|
36068
|
+
"customElement": true,
|
|
36069
|
+
"docPageTitle": {
|
|
36070
|
+
"name": "Header",
|
|
36071
|
+
"description": ""
|
|
36072
|
+
},
|
|
36073
|
+
"docUrl": {
|
|
36074
|
+
"name": "/components/header",
|
|
36075
|
+
"description": ""
|
|
36076
|
+
},
|
|
36077
|
+
"menuGroup": {
|
|
36078
|
+
"name": "Navigation",
|
|
36079
|
+
"description": ""
|
|
36080
|
+
},
|
|
36081
|
+
"menuLabel": {
|
|
36082
|
+
"name": "Header",
|
|
36083
|
+
"description": ""
|
|
36084
|
+
},
|
|
36085
|
+
"menuIcon": {
|
|
36086
|
+
"name": "layout-navbar",
|
|
36087
|
+
"description": ""
|
|
36088
|
+
}
|
|
36089
|
+
}
|
|
36090
|
+
],
|
|
36091
|
+
"exports": [
|
|
36092
|
+
{
|
|
36093
|
+
"kind": "js",
|
|
36094
|
+
"name": "EspalierHeader",
|
|
36095
|
+
"declaration": {
|
|
36096
|
+
"name": "EspalierHeader",
|
|
36097
|
+
"module": "dist/header/esp-header.js"
|
|
36098
|
+
}
|
|
36099
|
+
},
|
|
36100
|
+
{
|
|
36101
|
+
"kind": "custom-element-definition",
|
|
36102
|
+
"name": "esp-header",
|
|
36103
|
+
"declaration": {
|
|
36104
|
+
"name": "EspalierHeader",
|
|
36105
|
+
"module": "dist/header/esp-header.js"
|
|
36106
|
+
}
|
|
36107
|
+
}
|
|
36108
|
+
]
|
|
36109
|
+
},
|
|
36110
|
+
{
|
|
36111
|
+
"kind": "javascript-module",
|
|
36112
|
+
"path": "dist/header/header-geometry-controller.js",
|
|
36113
|
+
"declarations": [
|
|
36114
|
+
{
|
|
36115
|
+
"kind": "variable",
|
|
36116
|
+
"name": "HEADER_GEOMETRY_PAINT_PROPERTIES",
|
|
36117
|
+
"type": {
|
|
36118
|
+
"text": "[\n \"opacity\", \"transform\", \"translate\", \"rotate\", \"scale\", \"color\",\n \"background\", \"background-color\", \"background-image\", \"background-position\",\n \"background-position-x\", \"background-position-y\", \"background-size\",\n \"background-repeat\", \"background-origin\", \"background-clip\",\n \"background-attachment\", \"background-blend-mode\", \"box-shadow\", \"filter\",\n \"backdrop-filter\", \"outline\", \"outline-color\", \"outline-style\", \"outline-width\",\n \"outline-offset\", \"border-color\", \"border-top-color\", \"border-right-color\",\n \"border-bottom-color\", \"border-left-color\", \"border-block-color\",\n \"border-block-start-color\", \"border-block-end-color\", \"border-inline-color\",\n \"border-inline-start-color\", \"border-inline-end-color\", \"text-decoration\",\n \"text-decoration-color\", \"text-decoration-line\", \"text-decoration-style\",\n \"text-decoration-thickness\", \"text-shadow\", \"fill\", \"fill-opacity\", \"fill-rule\",\n \"stroke\", \"stroke-opacity\", \"stroke-width\", \"stroke-dasharray\", \"stroke-dashoffset\",\n \"stroke-linecap\", \"stroke-linejoin\", \"stroke-miterlimit\", \"visibility\",\n]"
|
|
36119
|
+
},
|
|
36120
|
+
"default": "[ \"opacity\", \"transform\", \"translate\", \"rotate\", \"scale\", \"color\", \"background\", \"background-color\", \"background-image\", \"background-position\", \"background-position-x\", \"background-position-y\", \"background-size\", \"background-repeat\", \"background-origin\", \"background-clip\", \"background-attachment\", \"background-blend-mode\", \"box-shadow\", \"filter\", \"backdrop-filter\", \"outline\", \"outline-color\", \"outline-style\", \"outline-width\", \"outline-offset\", \"border-color\", \"border-top-color\", \"border-right-color\", \"border-bottom-color\", \"border-left-color\", \"border-block-color\", \"border-block-start-color\", \"border-block-end-color\", \"border-inline-color\", \"border-inline-start-color\", \"border-inline-end-color\", \"text-decoration\", \"text-decoration-color\", \"text-decoration-line\", \"text-decoration-style\", \"text-decoration-thickness\", \"text-shadow\", \"fill\", \"fill-opacity\", \"fill-rule\", \"stroke\", \"stroke-opacity\", \"stroke-width\", \"stroke-dasharray\", \"stroke-dashoffset\", \"stroke-linecap\", \"stroke-linejoin\", \"stroke-miterlimit\", \"visibility\", ]"
|
|
36121
|
+
},
|
|
36122
|
+
{
|
|
36123
|
+
"kind": "function",
|
|
36124
|
+
"name": "headerGeometryFor",
|
|
36125
|
+
"return": {
|
|
36126
|
+
"type": {
|
|
36127
|
+
"text": "HeaderGeometryController | undefined"
|
|
36128
|
+
}
|
|
36129
|
+
},
|
|
36130
|
+
"parameters": [
|
|
36131
|
+
{
|
|
36132
|
+
"name": "host",
|
|
36133
|
+
"type": {
|
|
36134
|
+
"text": "HTMLElement"
|
|
36135
|
+
}
|
|
36136
|
+
}
|
|
36137
|
+
]
|
|
36138
|
+
},
|
|
36139
|
+
{
|
|
36140
|
+
"kind": "class",
|
|
36141
|
+
"description": "Private geometry owner. The existing header remains the only scroll owner.",
|
|
36142
|
+
"name": "HeaderGeometryController",
|
|
36143
|
+
"members": [
|
|
36144
|
+
{
|
|
36145
|
+
"kind": "field",
|
|
36146
|
+
"name": "listeners",
|
|
36147
|
+
"privacy": "private",
|
|
36148
|
+
"default": "new Set<(record: HeaderGeometryRecord) => void>()"
|
|
36149
|
+
},
|
|
36150
|
+
{
|
|
36151
|
+
"kind": "field",
|
|
36152
|
+
"name": "observer",
|
|
36153
|
+
"type": {
|
|
36154
|
+
"text": "ResizeObserver | null"
|
|
36155
|
+
},
|
|
36156
|
+
"privacy": "private",
|
|
36157
|
+
"default": "null"
|
|
36158
|
+
},
|
|
36159
|
+
{
|
|
36160
|
+
"kind": "field",
|
|
36161
|
+
"name": "mutations",
|
|
36162
|
+
"type": {
|
|
36163
|
+
"text": "MutationObserver | null"
|
|
36164
|
+
},
|
|
36165
|
+
"privacy": "private",
|
|
36166
|
+
"default": "null"
|
|
36167
|
+
},
|
|
36168
|
+
{
|
|
36169
|
+
"kind": "field",
|
|
36170
|
+
"name": "observedChildren",
|
|
36171
|
+
"privacy": "private",
|
|
36172
|
+
"default": "new Set<Element>()"
|
|
36173
|
+
},
|
|
36174
|
+
{
|
|
36175
|
+
"kind": "field",
|
|
36176
|
+
"name": "primaryMenu",
|
|
36177
|
+
"type": {
|
|
36178
|
+
"text": "HTMLElement | undefined"
|
|
36179
|
+
},
|
|
36180
|
+
"privacy": "private"
|
|
36181
|
+
},
|
|
36182
|
+
{
|
|
36183
|
+
"kind": "field",
|
|
36184
|
+
"name": "connected",
|
|
36185
|
+
"type": {
|
|
36186
|
+
"text": "boolean"
|
|
36187
|
+
},
|
|
36188
|
+
"privacy": "private",
|
|
36189
|
+
"default": "false"
|
|
36190
|
+
},
|
|
36191
|
+
{
|
|
36192
|
+
"kind": "field",
|
|
36193
|
+
"name": "hasMeasured",
|
|
36194
|
+
"type": {
|
|
36195
|
+
"text": "boolean"
|
|
36196
|
+
},
|
|
36197
|
+
"privacy": "private",
|
|
36198
|
+
"default": "false"
|
|
36199
|
+
},
|
|
36200
|
+
{
|
|
36201
|
+
"kind": "field",
|
|
36202
|
+
"name": "generation",
|
|
36203
|
+
"type": {
|
|
36204
|
+
"text": "number"
|
|
36205
|
+
},
|
|
36206
|
+
"privacy": "private",
|
|
36207
|
+
"default": "0"
|
|
36208
|
+
},
|
|
36209
|
+
{
|
|
36210
|
+
"kind": "field",
|
|
36211
|
+
"name": "invalidated",
|
|
36212
|
+
"type": {
|
|
36213
|
+
"text": "boolean"
|
|
36214
|
+
},
|
|
36215
|
+
"privacy": "private",
|
|
36216
|
+
"default": "true"
|
|
36217
|
+
},
|
|
36218
|
+
{
|
|
36219
|
+
"kind": "field",
|
|
36220
|
+
"name": "measuring",
|
|
36221
|
+
"type": {
|
|
36222
|
+
"text": "boolean"
|
|
36223
|
+
},
|
|
36224
|
+
"privacy": "private",
|
|
36225
|
+
"default": "false"
|
|
36226
|
+
},
|
|
36227
|
+
{
|
|
36228
|
+
"kind": "field",
|
|
36229
|
+
"name": "owner",
|
|
36230
|
+
"type": {
|
|
36231
|
+
"text": "HTMLElement | null"
|
|
36232
|
+
},
|
|
36233
|
+
"privacy": "private",
|
|
36234
|
+
"default": "null"
|
|
36235
|
+
},
|
|
36236
|
+
{
|
|
36237
|
+
"kind": "field",
|
|
36238
|
+
"name": "fixedRequested",
|
|
36239
|
+
"type": {
|
|
36240
|
+
"text": "boolean"
|
|
36241
|
+
},
|
|
36242
|
+
"privacy": "private",
|
|
36243
|
+
"default": "false"
|
|
36244
|
+
},
|
|
36245
|
+
{
|
|
36246
|
+
"kind": "field",
|
|
36247
|
+
"name": "fixedAcknowledged",
|
|
36248
|
+
"type": {
|
|
36249
|
+
"text": "boolean"
|
|
36250
|
+
},
|
|
36251
|
+
"privacy": "private",
|
|
36252
|
+
"default": "false"
|
|
36253
|
+
},
|
|
36254
|
+
{
|
|
36255
|
+
"kind": "field",
|
|
36256
|
+
"name": "requestedCompact",
|
|
36257
|
+
"type": {
|
|
36258
|
+
"text": "boolean"
|
|
36259
|
+
},
|
|
36260
|
+
"privacy": "private",
|
|
36261
|
+
"default": "false"
|
|
36262
|
+
},
|
|
36263
|
+
{
|
|
36264
|
+
"kind": "field",
|
|
36265
|
+
"name": "requestedTopbarCollapsed",
|
|
36266
|
+
"type": {
|
|
36267
|
+
"text": "boolean"
|
|
36268
|
+
},
|
|
36269
|
+
"privacy": "private",
|
|
36270
|
+
"default": "false"
|
|
36271
|
+
},
|
|
36272
|
+
{
|
|
36273
|
+
"kind": "field",
|
|
36274
|
+
"name": "inlineSize",
|
|
36275
|
+
"type": {
|
|
36276
|
+
"text": "number"
|
|
36277
|
+
},
|
|
36278
|
+
"privacy": "private",
|
|
36279
|
+
"default": "-1"
|
|
36280
|
+
},
|
|
36281
|
+
{
|
|
36282
|
+
"kind": "field",
|
|
36283
|
+
"name": "barInlineSize",
|
|
36284
|
+
"type": {
|
|
36285
|
+
"text": "number"
|
|
36286
|
+
},
|
|
36287
|
+
"privacy": "private",
|
|
36288
|
+
"default": "-1"
|
|
36289
|
+
},
|
|
36290
|
+
{
|
|
36291
|
+
"kind": "field",
|
|
36292
|
+
"name": "completionGeneration",
|
|
36293
|
+
"type": {
|
|
36294
|
+
"text": "number"
|
|
36295
|
+
},
|
|
36296
|
+
"privacy": "private",
|
|
36297
|
+
"default": "-1"
|
|
36298
|
+
},
|
|
36299
|
+
{
|
|
36300
|
+
"kind": "field",
|
|
36301
|
+
"name": "completionAnimations",
|
|
36302
|
+
"type": {
|
|
36303
|
+
"text": "Animation[]"
|
|
36304
|
+
},
|
|
36305
|
+
"privacy": "private",
|
|
36306
|
+
"default": "[]"
|
|
36307
|
+
},
|
|
36308
|
+
{
|
|
36309
|
+
"kind": "field",
|
|
36310
|
+
"name": "initial",
|
|
36311
|
+
"type": {
|
|
36312
|
+
"text": "boolean"
|
|
36313
|
+
},
|
|
36314
|
+
"privacy": "private",
|
|
36315
|
+
"default": "true"
|
|
36316
|
+
},
|
|
36317
|
+
{
|
|
36318
|
+
"kind": "field",
|
|
36319
|
+
"name": "expandedMeasurements",
|
|
36320
|
+
"type": {
|
|
36321
|
+
"text": "number"
|
|
36322
|
+
},
|
|
36323
|
+
"privacy": "private",
|
|
36324
|
+
"default": "0"
|
|
36325
|
+
},
|
|
36326
|
+
{
|
|
36327
|
+
"kind": "field",
|
|
36328
|
+
"name": "value",
|
|
36329
|
+
"type": {
|
|
36330
|
+
"text": "HeaderGeometryRecord"
|
|
36331
|
+
},
|
|
36332
|
+
"privacy": "private",
|
|
36333
|
+
"default": "{ ...this.value, active: this.active, settled: false }"
|
|
36334
|
+
},
|
|
36335
|
+
{
|
|
36336
|
+
"kind": "field",
|
|
36337
|
+
"name": "record",
|
|
36338
|
+
"type": {
|
|
36339
|
+
"text": "HeaderGeometryRecord"
|
|
36340
|
+
},
|
|
36341
|
+
"readonly": true
|
|
36342
|
+
},
|
|
36343
|
+
{
|
|
36344
|
+
"kind": "field",
|
|
36345
|
+
"name": "measurementCount",
|
|
36346
|
+
"type": {
|
|
36347
|
+
"text": "number"
|
|
36348
|
+
},
|
|
36349
|
+
"readonly": true
|
|
36350
|
+
},
|
|
36351
|
+
{
|
|
36352
|
+
"kind": "field",
|
|
36353
|
+
"name": "multiplier",
|
|
36354
|
+
"type": {
|
|
36355
|
+
"text": "number"
|
|
36356
|
+
},
|
|
36357
|
+
"readonly": true
|
|
36358
|
+
},
|
|
36359
|
+
{
|
|
36360
|
+
"kind": "field",
|
|
36361
|
+
"name": "standard",
|
|
36362
|
+
"type": {
|
|
36363
|
+
"text": "boolean"
|
|
36364
|
+
},
|
|
36365
|
+
"readonly": true
|
|
36366
|
+
},
|
|
36367
|
+
{
|
|
36368
|
+
"kind": "field",
|
|
36369
|
+
"name": "active",
|
|
36370
|
+
"type": {
|
|
36371
|
+
"text": "boolean"
|
|
36372
|
+
},
|
|
36373
|
+
"readonly": true
|
|
36374
|
+
},
|
|
36375
|
+
{
|
|
36376
|
+
"kind": "field",
|
|
36377
|
+
"name": "compact",
|
|
36378
|
+
"type": {
|
|
36379
|
+
"text": "boolean"
|
|
36380
|
+
},
|
|
36381
|
+
"readonly": true
|
|
36382
|
+
},
|
|
36383
|
+
{
|
|
36384
|
+
"kind": "field",
|
|
36385
|
+
"name": "topbarCollapsed",
|
|
36386
|
+
"type": {
|
|
36387
|
+
"text": "boolean"
|
|
36388
|
+
},
|
|
36389
|
+
"readonly": true
|
|
36390
|
+
},
|
|
36391
|
+
{
|
|
36392
|
+
"kind": "field",
|
|
36393
|
+
"name": "pending",
|
|
36394
|
+
"type": {
|
|
36395
|
+
"text": "boolean"
|
|
36396
|
+
},
|
|
36397
|
+
"readonly": true
|
|
36398
|
+
},
|
|
36399
|
+
{
|
|
36400
|
+
"kind": "method",
|
|
36401
|
+
"name": "subscribe",
|
|
36402
|
+
"return": {
|
|
36403
|
+
"type": {
|
|
36404
|
+
"text": "() => void"
|
|
36405
|
+
}
|
|
36406
|
+
},
|
|
36407
|
+
"parameters": [
|
|
36408
|
+
{
|
|
36409
|
+
"name": "listener",
|
|
36410
|
+
"type": {
|
|
36411
|
+
"text": "(record: HeaderGeometryRecord) => void"
|
|
36412
|
+
}
|
|
36413
|
+
}
|
|
36414
|
+
]
|
|
36415
|
+
},
|
|
36416
|
+
{
|
|
36417
|
+
"kind": "method",
|
|
36418
|
+
"name": "configure",
|
|
36419
|
+
"return": {
|
|
36420
|
+
"type": {
|
|
36421
|
+
"text": "void"
|
|
36422
|
+
}
|
|
36423
|
+
}
|
|
36424
|
+
},
|
|
36425
|
+
{
|
|
36426
|
+
"kind": "method",
|
|
36427
|
+
"name": "connect",
|
|
36428
|
+
"return": {
|
|
36429
|
+
"type": {
|
|
36430
|
+
"text": "void"
|
|
36431
|
+
}
|
|
36432
|
+
}
|
|
36433
|
+
},
|
|
36434
|
+
{
|
|
36435
|
+
"kind": "method",
|
|
36436
|
+
"name": "disconnect",
|
|
36437
|
+
"return": {
|
|
36438
|
+
"type": {
|
|
36439
|
+
"text": "void"
|
|
36440
|
+
}
|
|
36441
|
+
}
|
|
34636
36442
|
},
|
|
34637
36443
|
{
|
|
34638
|
-
"
|
|
34639
|
-
"
|
|
34640
|
-
|
|
36444
|
+
"kind": "method",
|
|
36445
|
+
"name": "setPrimaryMenu",
|
|
36446
|
+
"return": {
|
|
36447
|
+
"type": {
|
|
36448
|
+
"text": "void"
|
|
36449
|
+
}
|
|
34641
36450
|
},
|
|
34642
|
-
"
|
|
34643
|
-
|
|
34644
|
-
|
|
36451
|
+
"parameters": [
|
|
36452
|
+
{
|
|
36453
|
+
"name": "menu",
|
|
36454
|
+
"type": {
|
|
36455
|
+
"text": "HTMLElement | undefined"
|
|
36456
|
+
}
|
|
36457
|
+
}
|
|
36458
|
+
]
|
|
34645
36459
|
},
|
|
34646
36460
|
{
|
|
34647
|
-
"
|
|
34648
|
-
"
|
|
34649
|
-
|
|
36461
|
+
"kind": "method",
|
|
36462
|
+
"name": "setOwner",
|
|
36463
|
+
"return": {
|
|
36464
|
+
"type": {
|
|
36465
|
+
"text": "void"
|
|
36466
|
+
}
|
|
34650
36467
|
},
|
|
34651
|
-
"
|
|
34652
|
-
|
|
34653
|
-
|
|
36468
|
+
"parameters": [
|
|
36469
|
+
{
|
|
36470
|
+
"name": "owner",
|
|
36471
|
+
"type": {
|
|
36472
|
+
"text": "HTMLElement | null"
|
|
36473
|
+
}
|
|
36474
|
+
},
|
|
36475
|
+
{
|
|
36476
|
+
"name": "fixed",
|
|
36477
|
+
"type": {
|
|
36478
|
+
"text": "boolean"
|
|
36479
|
+
}
|
|
36480
|
+
}
|
|
36481
|
+
]
|
|
34654
36482
|
},
|
|
34655
36483
|
{
|
|
34656
|
-
"
|
|
34657
|
-
"
|
|
34658
|
-
|
|
36484
|
+
"kind": "method",
|
|
36485
|
+
"name": "acknowledgeFixedHost",
|
|
36486
|
+
"return": {
|
|
36487
|
+
"type": {
|
|
36488
|
+
"text": "void"
|
|
36489
|
+
}
|
|
34659
36490
|
},
|
|
34660
|
-
"
|
|
34661
|
-
|
|
34662
|
-
|
|
36491
|
+
"parameters": [
|
|
36492
|
+
{
|
|
36493
|
+
"name": "owner",
|
|
36494
|
+
"type": {
|
|
36495
|
+
"text": "HTMLElement"
|
|
36496
|
+
}
|
|
36497
|
+
}
|
|
36498
|
+
]
|
|
34663
36499
|
},
|
|
34664
36500
|
{
|
|
34665
|
-
"
|
|
34666
|
-
"
|
|
34667
|
-
|
|
36501
|
+
"kind": "method",
|
|
36502
|
+
"name": "requestScroll",
|
|
36503
|
+
"return": {
|
|
36504
|
+
"type": {
|
|
36505
|
+
"text": "void"
|
|
36506
|
+
}
|
|
34668
36507
|
},
|
|
34669
|
-
"
|
|
34670
|
-
|
|
34671
|
-
|
|
36508
|
+
"parameters": [
|
|
36509
|
+
{
|
|
36510
|
+
"name": "scrollY",
|
|
36511
|
+
"type": {
|
|
36512
|
+
"text": "number"
|
|
36513
|
+
}
|
|
36514
|
+
},
|
|
36515
|
+
{
|
|
36516
|
+
"name": "compactEnabled",
|
|
36517
|
+
"type": {
|
|
36518
|
+
"text": "boolean"
|
|
36519
|
+
}
|
|
36520
|
+
},
|
|
36521
|
+
{
|
|
36522
|
+
"name": "topbarCollapsed",
|
|
36523
|
+
"type": {
|
|
36524
|
+
"text": "boolean"
|
|
36525
|
+
}
|
|
36526
|
+
},
|
|
36527
|
+
{
|
|
36528
|
+
"name": "threshold",
|
|
36529
|
+
"type": {
|
|
36530
|
+
"text": "number"
|
|
36531
|
+
}
|
|
36532
|
+
},
|
|
36533
|
+
{
|
|
36534
|
+
"name": "held",
|
|
36535
|
+
"type": {
|
|
36536
|
+
"text": "boolean"
|
|
36537
|
+
}
|
|
36538
|
+
}
|
|
36539
|
+
]
|
|
34672
36540
|
},
|
|
34673
36541
|
{
|
|
34674
|
-
"
|
|
34675
|
-
"
|
|
34676
|
-
|
|
34677
|
-
|
|
34678
|
-
|
|
34679
|
-
|
|
34680
|
-
|
|
36542
|
+
"kind": "method",
|
|
36543
|
+
"name": "invalidate",
|
|
36544
|
+
"return": {
|
|
36545
|
+
"type": {
|
|
36546
|
+
"text": "void"
|
|
36547
|
+
}
|
|
36548
|
+
}
|
|
34681
36549
|
},
|
|
34682
36550
|
{
|
|
34683
|
-
"
|
|
34684
|
-
"
|
|
34685
|
-
|
|
34686
|
-
},
|
|
34687
|
-
"default": "0",
|
|
34688
|
-
"description": "Scroll distance in pixels before `scroll-behavior=\"dock\"` applies.\nThis is commonly set to the hero height when a transparent header\nshould dock after the first section.",
|
|
34689
|
-
"fieldName": "dockOffset"
|
|
36551
|
+
"kind": "field",
|
|
36552
|
+
"name": "onContentChange",
|
|
36553
|
+
"privacy": "private"
|
|
34690
36554
|
},
|
|
34691
36555
|
{
|
|
34692
|
-
"
|
|
34693
|
-
"
|
|
34694
|
-
|
|
34695
|
-
|
|
34696
|
-
|
|
34697
|
-
|
|
34698
|
-
|
|
36556
|
+
"kind": "method",
|
|
36557
|
+
"name": "syncObservation",
|
|
36558
|
+
"privacy": "private",
|
|
36559
|
+
"return": {
|
|
36560
|
+
"type": {
|
|
36561
|
+
"text": "void"
|
|
36562
|
+
}
|
|
36563
|
+
}
|
|
34699
36564
|
},
|
|
34700
36565
|
{
|
|
34701
|
-
"
|
|
34702
|
-
"
|
|
34703
|
-
|
|
36566
|
+
"kind": "method",
|
|
36567
|
+
"name": "affectsLayout",
|
|
36568
|
+
"privacy": "private",
|
|
36569
|
+
"return": {
|
|
36570
|
+
"type": {
|
|
36571
|
+
"text": "boolean"
|
|
36572
|
+
}
|
|
34704
36573
|
},
|
|
34705
|
-
"
|
|
34706
|
-
|
|
34707
|
-
|
|
36574
|
+
"parameters": [
|
|
36575
|
+
{
|
|
36576
|
+
"name": "property",
|
|
36577
|
+
"type": {
|
|
36578
|
+
"text": "string"
|
|
36579
|
+
}
|
|
36580
|
+
}
|
|
36581
|
+
]
|
|
34708
36582
|
},
|
|
34709
36583
|
{
|
|
34710
|
-
"
|
|
34711
|
-
|
|
36584
|
+
"kind": "method",
|
|
36585
|
+
"name": "collectAnimations",
|
|
36586
|
+
"privacy": "private",
|
|
36587
|
+
"return": {
|
|
36588
|
+
"type": {
|
|
36589
|
+
"text": "void"
|
|
36590
|
+
}
|
|
34712
36591
|
},
|
|
34713
|
-
"
|
|
34714
|
-
|
|
34715
|
-
|
|
34716
|
-
|
|
34717
|
-
|
|
34718
|
-
|
|
36592
|
+
"parameters": [
|
|
36593
|
+
{
|
|
36594
|
+
"name": "element",
|
|
36595
|
+
"type": {
|
|
36596
|
+
"text": "Element"
|
|
36597
|
+
}
|
|
36598
|
+
},
|
|
36599
|
+
{
|
|
36600
|
+
"name": "candidates",
|
|
36601
|
+
"type": {
|
|
36602
|
+
"text": "Set<Animation>"
|
|
36603
|
+
}
|
|
36604
|
+
}
|
|
36605
|
+
]
|
|
34719
36606
|
},
|
|
34720
36607
|
{
|
|
34721
|
-
"
|
|
34722
|
-
"
|
|
34723
|
-
|
|
34724
|
-
|
|
34725
|
-
|
|
34726
|
-
|
|
34727
|
-
|
|
34728
|
-
"inheritedFrom": {
|
|
34729
|
-
"name": "EspalierElementBase",
|
|
34730
|
-
"module": "dist/shared/esp-element-base.js"
|
|
36608
|
+
"kind": "method",
|
|
36609
|
+
"name": "geometryAnimations",
|
|
36610
|
+
"privacy": "private",
|
|
36611
|
+
"return": {
|
|
36612
|
+
"type": {
|
|
36613
|
+
"text": "Animation[]"
|
|
36614
|
+
}
|
|
34731
36615
|
}
|
|
34732
36616
|
},
|
|
34733
36617
|
{
|
|
34734
|
-
"
|
|
34735
|
-
"
|
|
34736
|
-
|
|
34737
|
-
|
|
34738
|
-
|
|
34739
|
-
|
|
34740
|
-
|
|
34741
|
-
"name": "EspalierElementBase",
|
|
34742
|
-
"module": "dist/shared/esp-element-base.js"
|
|
36618
|
+
"kind": "method",
|
|
36619
|
+
"name": "measureExpanded",
|
|
36620
|
+
"privacy": "private",
|
|
36621
|
+
"return": {
|
|
36622
|
+
"type": {
|
|
36623
|
+
"text": "number"
|
|
36624
|
+
}
|
|
34743
36625
|
}
|
|
34744
36626
|
},
|
|
34745
36627
|
{
|
|
34746
|
-
"
|
|
34747
|
-
"
|
|
34748
|
-
|
|
36628
|
+
"kind": "method",
|
|
36629
|
+
"name": "publish",
|
|
36630
|
+
"privacy": "private",
|
|
36631
|
+
"return": {
|
|
36632
|
+
"type": {
|
|
36633
|
+
"text": "void"
|
|
36634
|
+
}
|
|
34749
36635
|
},
|
|
34750
|
-
"
|
|
34751
|
-
|
|
34752
|
-
|
|
34753
|
-
|
|
34754
|
-
|
|
36636
|
+
"parameters": [
|
|
36637
|
+
{
|
|
36638
|
+
"name": "value",
|
|
36639
|
+
"type": {
|
|
36640
|
+
"text": "HeaderGeometryRecord"
|
|
36641
|
+
}
|
|
36642
|
+
},
|
|
36643
|
+
{
|
|
36644
|
+
"name": "force",
|
|
36645
|
+
"default": "false"
|
|
36646
|
+
}
|
|
36647
|
+
]
|
|
36648
|
+
},
|
|
36649
|
+
{
|
|
36650
|
+
"kind": "method",
|
|
36651
|
+
"name": "measure",
|
|
36652
|
+
"return": {
|
|
36653
|
+
"type": {
|
|
36654
|
+
"text": "void"
|
|
36655
|
+
}
|
|
34755
36656
|
}
|
|
34756
36657
|
}
|
|
34757
|
-
]
|
|
34758
|
-
"superclass": {
|
|
34759
|
-
"name": "EspalierElementBase",
|
|
34760
|
-
"module": "dist/shared/esp-element-base.js"
|
|
34761
|
-
},
|
|
34762
|
-
"tagName": "esp-header",
|
|
34763
|
-
"customElement": true,
|
|
34764
|
-
"docPageTitle": {
|
|
34765
|
-
"name": "Header",
|
|
34766
|
-
"description": ""
|
|
34767
|
-
},
|
|
34768
|
-
"docUrl": {
|
|
34769
|
-
"name": "/components/header",
|
|
34770
|
-
"description": ""
|
|
34771
|
-
},
|
|
34772
|
-
"menuGroup": {
|
|
34773
|
-
"name": "Navigation",
|
|
34774
|
-
"description": ""
|
|
34775
|
-
},
|
|
34776
|
-
"menuLabel": {
|
|
34777
|
-
"name": "Header",
|
|
34778
|
-
"description": ""
|
|
34779
|
-
},
|
|
34780
|
-
"menuIcon": {
|
|
34781
|
-
"name": "layout-navbar",
|
|
34782
|
-
"description": ""
|
|
34783
|
-
}
|
|
36658
|
+
]
|
|
34784
36659
|
}
|
|
34785
36660
|
],
|
|
34786
36661
|
"exports": [
|
|
34787
36662
|
{
|
|
34788
36663
|
"kind": "js",
|
|
34789
|
-
"name": "
|
|
36664
|
+
"name": "HEADER_GEOMETRY_PAINT_PROPERTIES",
|
|
34790
36665
|
"declaration": {
|
|
34791
|
-
"name": "
|
|
34792
|
-
"module": "dist/header/
|
|
36666
|
+
"name": "HEADER_GEOMETRY_PAINT_PROPERTIES",
|
|
36667
|
+
"module": "dist/header/header-geometry-controller.js"
|
|
34793
36668
|
}
|
|
34794
36669
|
},
|
|
34795
36670
|
{
|
|
34796
|
-
"kind": "
|
|
34797
|
-
"name": "
|
|
36671
|
+
"kind": "js",
|
|
36672
|
+
"name": "headerGeometryFor",
|
|
34798
36673
|
"declaration": {
|
|
34799
|
-
"name": "
|
|
34800
|
-
"module": "dist/header/
|
|
36674
|
+
"name": "headerGeometryFor",
|
|
36675
|
+
"module": "dist/header/header-geometry-controller.js"
|
|
36676
|
+
}
|
|
36677
|
+
},
|
|
36678
|
+
{
|
|
36679
|
+
"kind": "js",
|
|
36680
|
+
"name": "HeaderGeometryController",
|
|
36681
|
+
"declaration": {
|
|
36682
|
+
"name": "HeaderGeometryController",
|
|
36683
|
+
"module": "dist/header/header-geometry-controller.js"
|
|
34801
36684
|
}
|
|
34802
36685
|
}
|
|
34803
36686
|
]
|
|
@@ -50249,7 +52132,7 @@
|
|
|
50249
52132
|
"declarations": [
|
|
50250
52133
|
{
|
|
50251
52134
|
"kind": "class",
|
|
50252
|
-
"description": "A navigation item for [`<esp-menu>`](/components/menu/).\n\nItems render as links when `url` is provided and as buttons when\nno URL is present.
|
|
52135
|
+
"description": "A navigation item for [`<esp-menu>`](/components/menu/).\n\nItems render as links when `url` is provided and as buttons when\nno URL is present. URL-less action items dispatch `esp-clicked`.\n`appearance=\"button\"` gives either kind button chrome while preserving its\nlink or action semantics. Current-page links remain noninteractive.\n\nButton appearance supports esp-button's public `--esp-button-padding` token.\nIncognito padding does not apply.\n\nTo give readers that run no JavaScript a real link, write a plain\n`<a slot=\"link\">` beside the attributes, with the same `href`, `target`,\n`rel` and label text. A new-tab link adds its \"(opens in a new tab)\" cue\nto the rendered link only, so a copy may add its own hidden cue:\n\n```html\n<esp-menu-item label=\"Docs\" url=\"/docs\" target=\"_blank\" rel=\"noopener\">\n <a slot=\"link\" href=\"/docs\" target=\"_blank\" rel=\"noopener\">Docs</a>\n</esp-menu-item>\n```",
|
|
50253
52136
|
"name": "EspalierMenuItem",
|
|
50254
52137
|
"cssProperties": [
|
|
50255
52138
|
{
|
|
@@ -50389,6 +52272,12 @@
|
|
|
50389
52272
|
}
|
|
50390
52273
|
}
|
|
50391
52274
|
],
|
|
52275
|
+
"cssParts": [
|
|
52276
|
+
{
|
|
52277
|
+
"description": "The label in either appearance, including composed button labels.",
|
|
52278
|
+
"name": "menu-text"
|
|
52279
|
+
}
|
|
52280
|
+
],
|
|
50392
52281
|
"slots": [
|
|
50393
52282
|
{
|
|
50394
52283
|
"description": "Optional SVG or image icon. Slotted content overrides the generated sprite icon from the `icon` attribute.",
|
|
@@ -50428,6 +52317,18 @@
|
|
|
50428
52317
|
"description": "Resource to link to. When empty, the item renders as a button.",
|
|
50429
52318
|
"attribute": "url"
|
|
50430
52319
|
},
|
|
52320
|
+
{
|
|
52321
|
+
"kind": "field",
|
|
52322
|
+
"name": "appearance",
|
|
52323
|
+
"type": {
|
|
52324
|
+
"text": "MenuItemAppearance"
|
|
52325
|
+
},
|
|
52326
|
+
"privacy": "public",
|
|
52327
|
+
"default": "\"link\"",
|
|
52328
|
+
"description": "Visual treatment independent of URL and header-end placement. Invalid\nvalues resolve to Link and normalize on the next update.",
|
|
52329
|
+
"attribute": "appearance",
|
|
52330
|
+
"reflects": true
|
|
52331
|
+
},
|
|
50431
52332
|
{
|
|
50432
52333
|
"kind": "field",
|
|
50433
52334
|
"name": "target",
|
|
@@ -51296,6 +53197,15 @@
|
|
|
51296
53197
|
"description": "Resource to link to. When empty, the item renders as a button.",
|
|
51297
53198
|
"fieldName": "url"
|
|
51298
53199
|
},
|
|
53200
|
+
{
|
|
53201
|
+
"name": "appearance",
|
|
53202
|
+
"type": {
|
|
53203
|
+
"text": "MenuItemAppearance"
|
|
53204
|
+
},
|
|
53205
|
+
"default": "\"link\"",
|
|
53206
|
+
"description": "Visual treatment independent of URL and header-end placement. Invalid\nvalues resolve to Link and normalize on the next update.",
|
|
53207
|
+
"fieldName": "appearance"
|
|
53208
|
+
},
|
|
51299
53209
|
{
|
|
51300
53210
|
"name": "target",
|
|
51301
53211
|
"type": {
|
|
@@ -51415,6 +53325,14 @@
|
|
|
51415
53325
|
}
|
|
51416
53326
|
],
|
|
51417
53327
|
"exports": [
|
|
53328
|
+
{
|
|
53329
|
+
"kind": "js",
|
|
53330
|
+
"name": "MenuItemAppearance",
|
|
53331
|
+
"declaration": {
|
|
53332
|
+
"name": "MenuItemAppearance",
|
|
53333
|
+
"module": "./menu-presentation.js"
|
|
53334
|
+
}
|
|
53335
|
+
},
|
|
51418
53336
|
{
|
|
51419
53337
|
"kind": "js",
|
|
51420
53338
|
"name": "EspalierMenuItem",
|
|
@@ -54543,6 +56461,16 @@
|
|
|
54543
56461
|
},
|
|
54544
56462
|
"description": "Compute the effective top offset for the sticky element.\n\nWhen the header is fixed, it always occupies space at the top of the\nviewport, so we return the full header height.\n\nWhen the header is *not* fixed (scrolls with the page), we return the\nvisible portion of the header's bottom edge clamped to `[0, headerHeight]`.\nThis means:\n- Header fully visible → offset = headerHeight (sidebar sits below header)\n- Header partially scrolled → offset = remaining visible height\n- Header fully scrolled out → offset = 0 (sidebar reaches viewport top)"
|
|
54545
56463
|
},
|
|
56464
|
+
{
|
|
56465
|
+
"kind": "method",
|
|
56466
|
+
"name": "updateHeaderGeometry",
|
|
56467
|
+
"return": {
|
|
56468
|
+
"type": {
|
|
56469
|
+
"text": "void"
|
|
56470
|
+
}
|
|
56471
|
+
},
|
|
56472
|
+
"description": "Refresh clearance without resetting a tall sidebar's reversal fence."
|
|
56473
|
+
},
|
|
54546
56474
|
{
|
|
54547
56475
|
"kind": "field",
|
|
54548
56476
|
"name": "handleResize",
|
|
@@ -54596,7 +56524,7 @@
|
|
|
54596
56524
|
"type": {
|
|
54597
56525
|
"text": "array"
|
|
54598
56526
|
},
|
|
54599
|
-
"default": "[ ...EspalierElementBase.styles, css` :host { --_esp-surface-layer: initial; --_esp-page-resolved-max-width: var(--esp-page-main-max-width, 1536px); --_esp-page-main-min-width: var(--esp-page-main-min-width, 30rem); --_esp-page-preview-resolved-min-width: var(--esp-page-preview-min-width, 22.5rem); --_esp-page-preview-resolved-max-width: var(--esp-page-preview-max-width, 48rem); --_esp-page-flyout-resolved-min-width: var(--esp-page-flyout-min-width, 20rem); --_esp-page-flyout-resolved-max-width: var(--esp-page-flyout-max-width, 30rem); --_esp-page-preview-used-width: 0px; --_esp-page-flyout-used-width: 0px; --_esp-page-workspace-track: minmax( calc(var(--_esp-page-flyout-min) + var(--_esp-page-preview-min)), calc(var(--_esp-page-preview-used-width) + var(--_esp-page-flyout-used-width)) ); /* The cap sizes the main content *well*: the main track maxes at the cap and the surplus beyond the surface becomes canvas gutters. (Contract preserved from v2.1.0.) */ --_esp-page-main-track: minmax(0, var(--_esp-page-resolved-max-width)); /* Canvas gutter weights (physical left/right in LTR). The flexible gutters claim only the space left once the main track reaches its cap, so they appear exactly when the surface exceeds the cap — at any cap, with no viewport breakpoint (ADR-011). The start default keeps no leading gutter and lets all surplus collect trailing. Empty asides collapse to zero because the header and footer regions are inline-size-contained and no longer leak their min-content into the aside tracks (see the .esp-page-top / .esp-page-footer rules). The fr weights are written as 0fr/1fr (never bare 0) so the track list stays pairwise-interpolable and the flyout open/close can animate via grid track interpolation where supported. */ --_esp-page-gutter-left: 0fr; --_esp-page-gutter-right: 1fr; /* Help and preview share an exact auxiliary workspace track before the outer trailing gutter. Opening help raises that track's safe minimum; the allocator supplies its concrete used width. */ --_esp-page-flyout-min: 0px; /* Preview starts at the surface edge before help. Reclaiming raises this minimum so the auxiliary track reserves both pane floors while the main track retains its own floor. */ --_esp-page-preview-min: 0px; /* A raised surface edge's drop shadow, cast in the trailing (inline-end) direction. The surface mirrors it onto both inline edges; a match-surface flyout casts only this trailing edge, so it lifts off the canvas while staying attached at its leading perforation (no shadow bleeding over the content it flies out from). */ --_esp-page-surface-edge-shadow: 0.75rem 0 1.5rem -0.75rem var(--esp-color-shadow); /* Resolve the surface shadow/border once (public override plus the built-in default) so the value is readable downstream — the surface layer and the match-surface flyout contract both consume it, and it stays a single source of truth. */ --_esp-page-surface-shadow: var( --esp-page-surface-shadow, -0.75rem 0 1.5rem -0.75rem var(--esp-color-shadow), var(--_esp-page-surface-edge-shadow) ); --_esp-page-surface-border: var(--esp-page-surface-border, none); --_esp-page-fixed-header-offset: var( --esp-page-fixed-header-offset, var(--esp-header-height, calc(4.5 * var(--esp-size-small))) ); display: block; } :host([kind=\"narrow\"]) { --_esp-page-resolved-max-width: var(--esp-page-main-max-width, 768px); } :host([align=\"center\"]) { --_esp-page-gutter-left: 1fr; --_esp-page-gutter-right: 1fr; } :host([align=\"end\"]) { --_esp-page-gutter-left: 1fr; --_esp-page-gutter-right: 0fr; } /* Full is unbounded only while the consumer has not supplied the explicit main maximum. The internal marker is synchronized from the computed public token before workspace allocation, allowing a finite full-kind authoring surface to retain normal alignment gutters. */ :host([kind=\"full\"]) { --_esp-page-resolved-max-width: var(--esp-page-main-max-width, none); } :host([kind=\"full\"]:not([data-main-max-configured])) { --_esp-page-main-track: 1fr; --_esp-page-gutter-left: 0fr; --_esp-page-gutter-right: 0fr; } /* Site: the marketing shell (ESP0174). The main region is always unbounded — slotted esp-section bands own their centered wells — so this is the unconfigured-full geometry, unconditionally, and align's gutter weights do not apply. Declared after the align rules so it wins on order. */ :host([kind=\"site\"]) { --_esp-page-resolved-max-width: none; --_esp-page-main-track: 1fr; --_esp-page-gutter-left: 0fr; --_esp-page-gutter-right: 0fr; } /* Flyout placement ladder (ESP0111). Preview and help occupy an exact auxiliary track between the main surface and the outer gutter: 1. spare canvas is converted into the allocated auxiliary track while main remains at its natural maximum 2. help and preview contract to their floors 3. an eligible linked navigation rail yields before the main track narrows toward its minimum 4. if the complete main + preview + help minimums do not fit, JS requests the flyout's existing modal overlay presentation 5. mobile → the media query below releases the minimum and esp-flyout itself becomes a fixed overlay drawer. The flyout-open host attribute is maintained by syncFlyoutState (Blink cannot match :has() inside :host(), so the state is mirrored instead). Declared after the align/kind rules so the open state wins. */ :host([flyout-open]) { --_esp-page-flyout-min: var(--_esp-page-flyout-resolved-min-width); } :host([preview-reclaiming]) { --_esp-page-preview-min: var(--_esp-page-preview-resolved-min-width); } /* Configured defaults and retained drag/keyboard choices participate in the same grid minima as automatic allocation. This lets a target that must reclaim main do so instead of overflowing the gutter, while the allocator still clamps private used widths before they reach Grid. */ :host([flyout-open][data-workspace-targeted]) { --_esp-page-flyout-min: var(--_esp-page-flyout-used-width); } :host([preview-reclaiming][data-workspace-targeted]) { --_esp-page-preview-min: var(--_esp-page-preview-used-width); } :host([flyout-open]), :host([preview-reclaiming]) { --_esp-page-main-track: minmax( var(--_esp-page-main-min-width), var(--_esp-page-resolved-max-width) ); } :host([kind=\"full\"]:not([data-main-max-configured])[flyout-open]), :host([kind=\"full\"]:not([data-main-max-configured])[preview-reclaiming]), :host([kind=\"site\"][flyout-open]), :host([kind=\"site\"][preview-reclaiming]) { --_esp-page-main-track: minmax(var(--_esp-page-main-min-width), 1fr); } /* Deliberate ADR-011 exception: like the esp-menu drawer (same 50em threshold), the flyout's overlay rung is a genuinely viewport-level decision — below it the flyout leaves the grid for a fixed drawer, so the gutter must release the minimum it was reserving. */ @media ${unsafeCSS(COMPACT_VIEWPORT_MEDIA_QUERY)} { :host([flyout-open]) { --_esp-page-flyout-min: 0px; } :host([preview-reclaiming]) { --_esp-page-preview-min: 0px; } :host([flyout-open]), :host([preview-reclaiming]) { --_esp-page-main-track: minmax(0, var(--_esp-page-resolved-max-width)); } :host([kind=\"full\"]:not([data-main-max-configured])[flyout-open]), :host([kind=\"full\"]:not([data-main-max-configured])[preview-reclaiming]), :host([kind=\"site\"][flyout-open]), :host([kind=\"site\"][preview-reclaiming]) { --_esp-page-main-track: 1fr; } .esp-page > .esp-page-preview-space, .esp-page > .esp-page-workspace-resize-handles { display: none; } } /* A forced mode=\"overlay\" flyout is a fixed drawer at any viewport width, so its aside needs the same above-the-header hoist the sub-50em media rule gives the auto-mode drawer — without this the desktop drawer paints beneath the header (aside z 5 vs header z 20). Keyed off the flyout-overlay-open state attribute maintained by syncFlyoutState. */ :host([flyout-overlay-open]) .esp-page > div.esp-page-flyout { z-index: var(--esp-flyout-z-index, 3000); } /* A nested page's fixed drawer still participates in this page's main stacking context. Raise that complete context while the descendant modal is open so the drawer and vellum paint above this page's header instead of trapping their close control beneath it. */ :host([descendant-flyout-overlay-open]) .esp-page > div.esp-page-main { z-index: var(--esp-flyout-z-index, 3000); overflow: visible; } /* Trigger-anchored panels belong to the same document flow as their initiator. BiDirectionalStickyController can keep updating the wrapper's inline top, but position: static deliberately makes it inert until the anchored panel closes. */ :host([flyout-anchored]:not([flyout-full-height])) .esp-page > div.esp-page-flyout > .sticky-wrapper { position: static; } /* Full-document help owns the visible block-size rather than following one field. Span header through footer so the page footer cannot push a viewport-height panel out of view at the document boundary; the sticky controller pins this presentation to the viewport top. */ :host([flyout-full-height]) .esp-page > div.esp-page-flyout { grid-row: top-start / footer-end; z-index: calc(var(--esp-page-header-z-index, 20) + 2); } /* Anchored help connects back to its trigger across a visible preview. Raise only the sized help wrapper above the preview surface; the bridge itself is non-interactive inside esp-flyout. */ :host([flyout-anchored][preview-visible]) .esp-page > div.esp-page-flyout { z-index: calc(var(--esp-page-header-z-index, 20) + 2); } slot[name=\"flyout\"]::slotted(esp-flyout) { --_esp-flyout-used-width: var(--_esp-page-flyout-used-width); --_esp-flyout-preview-bridge-width: 0px; --_esp-flyout-preview-anchor-display: none; } :host([preview-visible]) slot[name=\"flyout\"]::slotted(esp-flyout) { --_esp-flyout-preview-bridge-width: var(--_esp-page-preview-used-width); --_esp-flyout-preview-anchor-display: block; } /* Flyout surface-match contract. A slotted esp-flyout with match-surface lifts its trailing edge with the surface's edge shadow, so the panel reads as a raised peer of the content surface rather than the shadowless tear-off. The leading edge keeps its perforation (the border is not overridden) and casts no shadow, so it stays attached at the tear line instead of floating over the content it flies out from. Opt-in and page-scoped: a standalone flyout has no surface to match and is unaffected. */ slot[name=\"flyout\"]::slotted(esp-flyout[match-surface]) { --esp-flyout-shadow: var(--_esp-page-surface-edge-shadow); } /* Header alignment contract. Published on the slotted esp-header (not :host) so it never shadows an inherited or author override and only the header-slot header adopts it — see the host-token-defaults architecture rule and ADR-005. max-width is the resolved cap; lead is the fraction of surplus placed before the content (0 = start, .5 = center, 1 = end). */ slot[name=\"header\"]::slotted(esp-header) { --esp-header-content-max-width: var(--_esp-page-resolved-max-width); --esp-header-content-lead: 0; } :host([align=\"center\"]) slot[name=\"header\"]::slotted(esp-header) { --esp-header-content-lead: 0.5; } :host([align=\"end\"]) slot[name=\"header\"]::slotted(esp-header) { --esp-header-content-lead: 1; } /* full has no cap; publish 100% (not none) so the header contract calc resolves to zero surplus and leaves the header full-bleed. */ :host([kind=\"full\"]:not([data-main-max-configured])) slot[name=\"header\"]::slotted(esp-header) { --esp-header-content-max-width: 100%; } /* Footer alignment mirrors the header behavior with footer-owned contract names. The full-bleed footer paints its own background; only its internal content adopts the page's cap and lead fraction. */ slot[name=\"footer\"]::slotted(esp-footer) { --esp-footer-content-max-width: var(--_esp-page-resolved-max-width); --esp-footer-content-lead: 0; } :host([align=\"center\"]) slot[name=\"footer\"]::slotted(esp-footer) { --esp-footer-content-lead: 0.5; } :host([align=\"end\"]) slot[name=\"footer\"]::slotted(esp-footer) { --esp-footer-content-lead: 1; } :host([kind=\"full\"]:not([data-main-max-configured])) slot[name=\"footer\"]::slotted(esp-footer) { --esp-footer-content-max-width: 100%; } /* Site: bar content aligns with the section wells, not a main cap. One public token governs the header, the footer, and every esp-section well, and the well is centered — declared after the align lead rules so the centered site column wins on order. */ :host([kind=\"site\"]) slot[name=\"header\"]::slotted(esp-header) { --esp-header-content-max-width: var(--esp-page-well-max-width, 72rem); --esp-header-content-lead: 0.5; } :host([kind=\"site\"]) slot[name=\"footer\"]::slotted(esp-footer) { --esp-footer-content-max-width: var(--esp-page-well-max-width, 72rem); --esp-footer-content-lead: 0.5; } /* Contained shell: the header and footer ride the surface instead of the full viewport, so the whole page reads as one band on the canvas. Only their column placement changes — the full-height canvas and surface layers already do the rest. */ :host([contained]) .esp-page > div.esp-page-top, :host([contained]) .esp-page > div.esp-page-footer { grid-column: surface; } /* On the surface the bar already spans the content width, so the header fills it (no content padding) and drops its own shadow — the continuous surface edge shadow does the framing. */ :host([contained]) slot[name=\"header\"]::slotted(esp-header) { --esp-header-shadow: none; } /* The 100% contract belongs to the capped kinds, where the surface column IS the content width. A contained site keeps the shared well column (ESP0174) — sections and chrome must not split columns just because the shell is contained. */ :host([contained]:not([kind=\"site\"])) slot[name=\"header\"]::slotted(esp-header) { --esp-header-content-max-width: 100%; } :host([contained]:not([kind=\"site\"])) slot[name=\"footer\"]::slotted(esp-footer) { --esp-footer-content-max-width: 100%; } :host([kind=\"narrow\"]) .esp-page > div.esp-page-main { /* The golden reading measure, from the shared token (ESP0174); 66ch remains the fallback and the default emission. */ > ::slotted(*) { max-inline-size: var(--esp-measure, 66ch); } } #dialog-drop-zone { z-index: 4000; position: absolute; } :host([preview-visible]) .esp-page > div.esp-page-preview-space > .esp-page-preview { display: block; } :host([workspace-resizable][preview-visible]:not([flyout-overlay-open])) .esp-page > div.esp-page-workspace-resize-handles > .esp-page-main-preview-resize-handle, :host([workspace-resizable][flyout-open]:not([flyout-overlay-open])) .esp-page > div.esp-page-workspace-resize-handles > .esp-page-preview-flyout-resize-handle { display: block; } :host([workspace-resizable]:not([data-workspace-resize-ready])) .esp-page > .esp-page-workspace-resize-handles { display: none; } :host([workspace-resizable][data-workspace-trailing-edge-exposed]:not([flyout-overlay-open])) .esp-page > div.esp-page-workspace-resize-handles > .esp-page-workspace-end-resize-handle, :host([workspace-resizable][data-workspace-position-held]:not([flyout-overlay-open])) .esp-page > div.esp-page-workspace-resize-handles > .esp-page-workspace-end-resize-handle { display: block; } /* Pointer-owned resizing controls the logical leading gutter. It stays fixed for zero-sum pane trades and yields as an outward drag consumes centered outside canvas, keeping the active separator under the pointer in both cases. On release JS moves this pixel track to the aligned target; the normal grid transition supplies the glide before the intrinsic fr gutter contract resumes. */ :host([data-workspace-position-held]) { --_esp-page-gutter-left: var(--_esp-page-resize-leading-gutter-width, 0px); --_esp-page-gutter-right: 1fr; } :host([data-workspace-resizing]) { cursor: col-resize; user-select: none; } /* The grid-track glide that makes programmatic open/close feel animated reads as cursor lag while a pointer owns the seam, and a mid-glide grid feeds stale geometry into the clamp ranges of the next keyboard step. Track changes must be immediate for the whole resize session, pointer or keyboard. */ :host([data-workspace-resizing]) .esp-page, :host([data-workspace-keyboard-adjusting]) .esp-page { transition: none; } /* The linked menu switches its rail to a fixed drawer, but light-DOM menu content can still contribute an intrinsic width to the page's sidebar track. Collapse the owning aside only after the validated header/menu handshake is active, so unmatched navigation remains visible and reachable. */ :host([data-preview-navigation-collapsed]) .esp-page > aside.esp-page-left { inline-size: 0; min-inline-size: 0; } :host([data-preview-measuring]) .esp-page { transition: none; } /* New preview layouts are validated against visible geometry before presentation. Keep that candidate surface non-visible so a rejected measurement can never flash on screen. */ :host([data-preview-validating]) .esp-page-preview { visibility: hidden; } .esp-page { /* dvh keeps the shell within the visible mobile viewport; 100vh is the fallback for browsers without dvh (dvh === vh on desktop). */ min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: [full-start canvas-left-start] var(--_esp-page-gutter-left) [canvas-left-end surface-start left-start] min-content [left-end main-start] var(--_esp-page-main-track) [main-end right-start] min-content [right-end surface-end canvas-right-start flyout-start] var(--_esp-page-workspace-track) [flyout-end] var(--_esp-page-gutter-right) [canvas-right-end full-end]; /* Animate the flyout claiming/releasing its track (and the gutter rebalance) via grid track interpolation where supported; elsewhere the modes still apply, just without the glide. Keep this 0.25s duration synchronized with WORKSPACE_RECENTER_DURATION in workspace-resize-session.ts. */ transition: grid-template-columns 0.25s ease; grid-template-rows: [top-start] min-content [top-end content-start] 1fr [content-end footer-start] min-content [footer-end]; overflow-x: clip; background: var(--esp-page-background, var(--esp-color-background)); line-height: 1.5; font-family: var( --_esp-font-body-effective, var(--esp-font-body, var(--_esp-font-body-fallback)) ); font-size: var(--esp-type-normal); color: var(--esp-color-text); position: relative; &:before { content: \" \"; display: block; position: absolute; left: 0; top: 0; right: 0; bottom: 0; opacity: var(--esp-page-background-image-opacity, 1); background-image: var(--esp-page-background-image, none); z-index: 1; } > div.esp-page-top { z-index: var(--esp-page-header-z-index, 20); grid-column: full; grid-row: top; position: relative; /* The header spans every column, so without inline-size containment its content's min-content would be distributed into the aside tracks and inflate them below the cap (the asides would never collapse). Contain it like the main well so it takes its width from the grid, not the grid from it. */ contain: inline-size; } /* Sidebar containers — act as the \"track\" for sticky positioning */ aside.esp-page-left, aside.esp-page-right { z-index: 5; grid-row: content; position: relative; /* No explicit height — grid stretch fills the 1fr row, and the aside's bottom edge constrains sticky children. */ } > aside.esp-page-left { grid-column: left; } > div.esp-page-main { z-index: 5; grid-column: main; grid-row: content; position: relative; /* Clip oversized content without becoming a scroll container. A hidden-overflow wrapper traps descendant view timelines (and sticky positioning) on this non-scrolling main well. */ overflow: clip; /* The main well's own background. Defaults to transparent, so the well shows the page background exactly as before; set it to give the content well a distinct card color, or leave it transparent (with --esp-page-surface-shadow: none) for content that floats directly on the page/canvas. */ background: var(--esp-page-main-background, transparent); /* The cap now lives in the main track (minmax(0, cap)); the element fills its column. contain: inline-size still holds because the track gives a definite inline size. */ contain: inline-size; } > aside.esp-page-right { grid-column: right; } /* A neutral div, unlike the left/right asides: the slotted esp-flyout is itself the complementary landmark, and an aside wrapper would nest a second, empty landmark around it. */ > div.esp-page-flyout { /* Sits after preview inside the exact auxiliary track and sizes to the allocated help width. Outer surplus remains in the following gutter rather than under an empty stretched wrapper. */ grid-column: flyout; justify-self: start; grid-row: content; z-index: 5; position: relative; inline-size: var(--_esp-page-flyout-used-width); min-inline-size: 0; margin-inline-start: var(--_esp-page-preview-used-width); /* In the drawer rung the fixed esp-flyout paints inside this wrapper's stacking context, so the wrapper itself must rise above the header (z 20) while staying below the dialog drop zone (4000). Uses the same token as the drawer — set it on the page (or higher) to move both together. */ @media ${unsafeCSS(COMPACT_VIEWPORT_MEDIA_QUERY)} { z-index: var(--esp-flyout-z-index, 3000); } } /* Preview begins at the surface edge and help is offset after its resolved width, producing the logical order main → preview → help inside their exact shared auxiliary track. */ > div.esp-page-preview-space { grid-column: flyout; grid-row: content; z-index: 4; position: relative; min-inline-size: 0; > .esp-page-preview { display: none; box-sizing: border-box; inline-size: var(--_esp-page-preview-used-width); position: relative; background: var( --esp-page-preview-background, var(--esp-page-main-background, var(--esp-page-background, var(--esp-color-background))) ); border-inline-start: var(--esp-page-preview-border, 1px dotted var(--esp-color-border)); box-shadow: var(--esp-page-preview-shadow, var(--_esp-page-surface-edge-shadow)); } } /* A transparent interaction layer keeps the complete hit target above main, preview, and anchored help without raising either painted surface (which would hide the help bridge). */ > div.esp-page-workspace-resize-handles { grid-column: flyout; grid-row: top-start / footer-end; z-index: calc(var(--esp-page-header-z-index, 20) + 3); position: relative; min-inline-size: 0; pointer-events: none; } > div.esp-page-workspace-resize-handles > .esp-page-workspace-resize-handle { display: none; box-sizing: border-box; position: absolute; inset-block: 0; z-index: 3; inline-size: var(--esp-page-resize-handle-hit-size, 2.75rem); margin-inline-start: calc(-0.5 * var(--esp-page-resize-handle-hit-size, 2.75rem)); border: 0; outline: 0; background: transparent; cursor: col-resize; pointer-events: auto; touch-action: none; /* The target spans the seam so it remains reachable during document scroll. Focus draws a dashed line along the seam itself — the visible height of the dotted tear-off edge, capped at one viewport — kept in view by sticky positioning while the page scrolls. */ &::after { content: \"\"; display: block; position: sticky; inset-block-start: 0; box-sizing: border-box; inline-size: 0; margin-inline: auto; block-size: 100dvh; max-block-size: 100%; pointer-events: none; } &:focus-visible::after { border-inline-start: var( --esp-page-resize-focus-outline, 2px dashed var(--esp-color-link) ); /* Glow in the line's own color so the focused seam reads as one deliberate highlight rather than a neutral drop shadow. */ box-shadow: var(--esp-page-resize-focus-shadow, 0 0 0.75rem var(--esp-color-link)); } } > div.esp-page-workspace-resize-handles > .esp-page-main-preview-resize-handle { inset-inline-start: 0; } > div.esp-page-workspace-resize-handles > .esp-page-preview-flyout-resize-handle { inset-inline-start: var(--_esp-page-preview-used-width); } > div.esp-page-workspace-resize-handles > .esp-page-workspace-end-resize-handle { inset-inline-start: calc( var(--_esp-page-preview-used-width) + var(--_esp-page-flyout-used-width) ); } /* Keep token-sized probes outside the width-constrained gutter. If they lived inside a zero-width preview space, layout would clamp their rectangles to zero before JS could decide whether the reclaim rung should be activated. */ > .esp-page-preview-min-width-probe, > .esp-page-preview-default-width-probe, > .esp-page-preview-max-width-probe, > .esp-page-flyout-min-width-probe, > .esp-page-flyout-default-width-probe, > .esp-page-flyout-max-width-probe, > .esp-page-main-min-width-probe, > .esp-page-main-configured-max-width-probe, > .esp-page-main-max-width-probe, > .esp-page-resize-step-probe, > .esp-page-resize-large-step-probe { position: absolute; block-size: 0; visibility: hidden; pointer-events: none; contain: strict; } > .esp-page-preview-min-width-probe { inline-size: var(--_esp-page-preview-resolved-min-width); } > .esp-page-preview-max-width-probe { inline-size: var(--_esp-page-preview-resolved-max-width); } > .esp-page-preview-default-width-probe { inline-size: var(--esp-page-preview-default-width, 0px); } > .esp-page-flyout-min-width-probe { inline-size: var(--_esp-page-flyout-resolved-min-width); } > .esp-page-flyout-max-width-probe { inline-size: var(--_esp-page-flyout-resolved-max-width); } > .esp-page-flyout-default-width-probe { inline-size: var(--esp-page-flyout-default-width, 0px); } > .esp-page-main-min-width-probe { inline-size: var(--_esp-page-main-min-width); } > .esp-page-main-configured-max-width-probe { inline-size: var(--esp-page-main-max-width, 0px); } > .esp-page-main-max-width-probe { inline-size: var(--_esp-page-resolved-max-width); } > .esp-page-resize-step-probe { inline-size: var(--esp-page-resize-step, 1rem); } > .esp-page-resize-large-step-probe { inline-size: var(--esp-page-resize-large-step, 4rem); } /* Canvas: the outer gutter regions promoted to a styleable layer. They only have width once the viewport exceeds the cap, so with the transparent defaults they are invisible and narrow pages are unchanged. Painted below the content (z-index 5) and below the surface shadow. */ > .esp-page-canvas { /* Full height: the canvas runs top-to-bottom. In the default full-bleed chrome the header/footer span the gutters and cover it there, so only the content-band gutters show; in contained mode the header/footer sit on the surface and the canvas shows full height beside them. */ grid-row: top-start / footer-end; z-index: 1; position: relative; pointer-events: none; background-color: var(--esp-page-canvas-background, transparent); /* Image layer mirrors the page background-image knobs: a separate layer so its opacity does not fade the color. */ &::before { content: \"\"; position: absolute; inset: 0; background-image: var(--esp-page-canvas-background-image, none); background-attachment: var(--esp-page-canvas-background-attachment, scroll); opacity: var(--esp-page-canvas-background-image-opacity, 1); } } > .esp-page-canvas--left { grid-column: canvas-left; } > .esp-page-canvas--right { /* The canvas spans both the auxiliary workspace and the independent outer gutter beneath it. */ grid-column: canvas-right; } /* Surface: a transparent backdrop spanning the surface cluster (left aside + main + right aside). It carries the surface edge shadow (on by default) and an optional hairline border. The shadow casts outward into the gutters; when there are no gutters the surface fills the viewport and overflow-x: clip on .esp-page trims the shadow away — so it is visible only above the cap with no container query needed. */ > .esp-page-surface { grid-column: surface; /* Full height so the edge shadow is one continuous line from the header through the content to the footer — no fade at the region joins. */ grid-row: top-start / footer-end; z-index: 2; pointer-events: none; box-shadow: var(--_esp-page-surface-shadow); border-inline: var(--_esp-page-surface-border); } /* Internal wrapper manipulated by BiDirectionalStickyController */ .sticky-wrapper { will-change: top; display: block; width: 100%; position: sticky; top: 0; } > div.esp-page-footer { grid-column: full; grid-row: footer; z-index: 10; background: var(--esp-page-background, var(--esp-color-background)); /* Spans every column; contain it so its content does not inflate the aside tracks (see the header note above). */ contain: inline-size; } &.sticky-header { slot[name=\"header\"]::slotted(esp-header), slot[name=\"sidebar\"]::slotted(esp-menu), slot[name=\"right\"]::slotted(esp-menu) { --esp-menu-top-offset: var(--_esp-page-fixed-header-offset); } > div.esp-page-top { position: sticky; top: var(--esp-page-sticky-header-top, 0); } } &.fixed-header { slot[name=\"header\"]::slotted(esp-header), slot[name=\"sidebar\"]::slotted(esp-menu), slot[name=\"right\"]::slotted(esp-menu) { --esp-menu-top-offset: var(--_esp-page-fixed-header-offset); } > div.esp-page-top { position: fixed; top: 0; left: 0; right: 0; } > div.esp-page-main, > aside.esp-page-left, > aside.esp-page-right, > div.esp-page-flyout, > .esp-page-surface, > .esp-page-canvas { margin-top: var(--_esp-page-fixed-header-offset); } } /* Inherit fonts for inputs and buttons */ input, button, textarea, select { font-family: inherit; font-size: inherit; } /* Make sure text areas without a rows attribute are not tiny */ textarea:not([rows]) { min-height: 10em; } /* Anything that has been anchored to should have extra scroll margin */ :target { scroll-margin-block: 5ex; } } .esp-page:has(esp-dialog[is-open=\"true\"]) { overflow: hidden; } /* Main and preview are additive surfaces. Once preview owns the trailing edge, move elevation there so no shadow appears at the internal join; the surface resumes its normal frame when preview is hidden. */ :host([preview-visible]) .esp-page > .esp-page-surface { box-shadow: none; } /* The preview's outer grid item and landmark span the complete page so the sticky wrapper's containing block has enough travel to remain pinned throughout a tall document. Its dynamic-viewport block size and vertical overflow keep its scroll position independent from the main document. It paints above full-bleed header chrome only in the preview's negotiated gutter track; overlay flyouts still take precedence by hiding preview presentation. */ .esp-page > div.esp-page-preview-space { grid-row: top-start / footer-end; z-index: calc(var(--esp-page-header-z-index, 20) + 1); pointer-events: none; > .esp-page-preview { position: absolute; inset-block: 0; inset-inline-start: 0; pointer-events: auto; > .sticky-wrapper { block-size: 100vh; block-size: 100dvh; overflow-y: auto; /* Scroll preview first, then hand wheel/trackpad motion back to the document at either boundary (or when no overflow exists). */ overscroll-behavior-y: auto; } } } @media (prefers-reduced-motion: reduce) { .esp-page { transition: none; } } `, ]"
|
|
56527
|
+
"default": "[ ...EspalierElementBase.styles, css` :host { --_esp-surface-layer: initial; --_esp-page-resolved-max-width: var(--esp-page-main-max-width, 1536px); --_esp-page-main-min-width: var(--esp-page-main-min-width, 30rem); --_esp-page-preview-resolved-min-width: var(--esp-page-preview-min-width, 22.5rem); --_esp-page-preview-resolved-max-width: var(--esp-page-preview-max-width, 48rem); --_esp-page-flyout-resolved-min-width: var(--esp-page-flyout-min-width, 20rem); --_esp-page-flyout-resolved-max-width: var(--esp-page-flyout-max-width, 30rem); --_esp-page-preview-used-width: 0px; --_esp-page-flyout-used-width: 0px; --_esp-page-workspace-track: minmax( calc(var(--_esp-page-flyout-min) + var(--_esp-page-preview-min)), calc(var(--_esp-page-preview-used-width) + var(--_esp-page-flyout-used-width)) ); /* The cap sizes the main content *well*: the main track maxes at the cap and the surplus beyond the surface becomes canvas gutters. (Contract preserved from v2.1.0.) */ --_esp-page-main-track: minmax(0, var(--_esp-page-resolved-max-width)); /* Canvas gutter weights (physical left/right in LTR). The flexible gutters claim only the space left once the main track reaches its cap, so they appear exactly when the surface exceeds the cap — at any cap, with no viewport breakpoint (ADR-011). The start default keeps no leading gutter and lets all surplus collect trailing. Empty asides collapse to zero because the header and footer regions are inline-size-contained and no longer leak their min-content into the aside tracks (see the .esp-page-top / .esp-page-footer rules). The fr weights are written as 0fr/1fr (never bare 0) so the track list stays pairwise-interpolable and the flyout open/close can animate via grid track interpolation where supported. */ --_esp-page-gutter-left: 0fr; --_esp-page-gutter-right: 1fr; /* Help and preview share an exact auxiliary workspace track before the outer trailing gutter. Opening help raises that track's safe minimum; the allocator supplies its concrete used width. */ --_esp-page-flyout-min: 0px; /* Preview starts at the surface edge before help. Reclaiming raises this minimum so the auxiliary track reserves both pane floors while the main track retains its own floor. */ --_esp-page-preview-min: 0px; /* A raised surface edge's drop shadow, cast in the trailing (inline-end) direction. The surface mirrors it onto both inline edges; a match-surface flyout casts only this trailing edge, so it lifts off the canvas while staying attached at its leading perforation (no shadow bleeding over the content it flies out from). */ --_esp-page-surface-edge-shadow: 0.75rem 0 1.5rem -0.75rem var(--esp-color-shadow); /* Resolve the surface shadow/border once (public override plus the built-in default) so the value is readable downstream — the surface layer and the match-surface flyout contract both consume it, and it stays a single source of truth. */ --_esp-page-surface-shadow: var( --esp-page-surface-shadow, -0.75rem 0 1.5rem -0.75rem var(--esp-color-shadow), var(--_esp-page-surface-edge-shadow) ); --_esp-page-surface-border: var(--esp-page-surface-border, none); --_esp-page-fixed-header-offset: var( --esp-page-fixed-header-offset, var(--esp-header-height, calc(4.5 * var(--esp-size-small))) ); display: block; } :host([kind=\"narrow\"]) { --_esp-page-resolved-max-width: var(--esp-page-main-max-width, 768px); } :host([align=\"center\"]) { --_esp-page-gutter-left: 1fr; --_esp-page-gutter-right: 1fr; } :host([align=\"end\"]) { --_esp-page-gutter-left: 1fr; --_esp-page-gutter-right: 0fr; } /* Full is unbounded only while the consumer has not supplied the explicit main maximum. The internal marker is synchronized from the computed public token before workspace allocation, allowing a finite full-kind authoring surface to retain normal alignment gutters. */ :host([kind=\"full\"]) { --_esp-page-resolved-max-width: var(--esp-page-main-max-width, none); } :host([kind=\"full\"]:not([data-main-max-configured])) { --_esp-page-main-track: 1fr; --_esp-page-gutter-left: 0fr; --_esp-page-gutter-right: 0fr; } /* Site: the marketing shell (ESP0174). The main region is always unbounded — slotted esp-section bands own their centered wells — so this is the unconfigured-full geometry, unconditionally, and align's gutter weights do not apply. Declared after the align rules so it wins on order. */ :host([kind=\"site\"]) { --_esp-page-resolved-max-width: none; --_esp-page-main-track: 1fr; --_esp-page-gutter-left: 0fr; --_esp-page-gutter-right: 0fr; } /* Flyout placement ladder (ESP0111). Preview and help occupy an exact auxiliary track between the main surface and the outer gutter: 1. spare canvas is converted into the allocated auxiliary track while main remains at its natural maximum 2. help and preview contract to their floors 3. an eligible linked navigation rail yields before the main track narrows toward its minimum 4. if the complete main + preview + help minimums do not fit, JS requests the flyout's existing modal overlay presentation 5. mobile → the media query below releases the minimum and esp-flyout itself becomes a fixed overlay drawer. The flyout-open host attribute is maintained by syncFlyoutState (Blink cannot match :has() inside :host(), so the state is mirrored instead). Declared after the align/kind rules so the open state wins. */ :host([flyout-open]) { --_esp-page-flyout-min: var(--_esp-page-flyout-resolved-min-width); } :host([preview-reclaiming]) { --_esp-page-preview-min: var(--_esp-page-preview-resolved-min-width); } /* Configured defaults and retained drag/keyboard choices participate in the same grid minima as automatic allocation. This lets a target that must reclaim main do so instead of overflowing the gutter, while the allocator still clamps private used widths before they reach Grid. */ :host([flyout-open][data-workspace-targeted]) { --_esp-page-flyout-min: var(--_esp-page-flyout-used-width); } :host([preview-reclaiming][data-workspace-targeted]) { --_esp-page-preview-min: var(--_esp-page-preview-used-width); } :host([flyout-open]), :host([preview-reclaiming]) { --_esp-page-main-track: minmax( var(--_esp-page-main-min-width), var(--_esp-page-resolved-max-width) ); } :host([kind=\"full\"]:not([data-main-max-configured])[flyout-open]), :host([kind=\"full\"]:not([data-main-max-configured])[preview-reclaiming]), :host([kind=\"site\"][flyout-open]), :host([kind=\"site\"][preview-reclaiming]) { --_esp-page-main-track: minmax(var(--_esp-page-main-min-width), 1fr); } /* Deliberate ADR-011 exception: like the esp-menu drawer (same 50em threshold), the flyout's overlay rung is a genuinely viewport-level decision — below it the flyout leaves the grid for a fixed drawer, so the gutter must release the minimum it was reserving. */ @media ${unsafeCSS(COMPACT_VIEWPORT_MEDIA_QUERY)} { :host([flyout-open]) { --_esp-page-flyout-min: 0px; } :host([preview-reclaiming]) { --_esp-page-preview-min: 0px; } :host([flyout-open]), :host([preview-reclaiming]) { --_esp-page-main-track: minmax(0, var(--_esp-page-resolved-max-width)); } :host([kind=\"full\"]:not([data-main-max-configured])[flyout-open]), :host([kind=\"full\"]:not([data-main-max-configured])[preview-reclaiming]), :host([kind=\"site\"][flyout-open]), :host([kind=\"site\"][preview-reclaiming]) { --_esp-page-main-track: 1fr; } .esp-page > .esp-page-preview-space, .esp-page > .esp-page-workspace-resize-handles { display: none; } } /* A forced mode=\"overlay\" flyout is a fixed drawer at any viewport width, so its aside needs the same above-the-header hoist the sub-50em media rule gives the auto-mode drawer — without this the desktop drawer paints beneath the header (aside z 5 vs header z 20). Keyed off the flyout-overlay-open state attribute maintained by syncFlyoutState. */ :host([flyout-overlay-open]) .esp-page > div.esp-page-flyout { z-index: var(--esp-flyout-z-index, 3000); } /* A nested page's fixed drawer still participates in this page's main stacking context. Raise that complete context while the descendant modal is open so the drawer and vellum paint above this page's header instead of trapping their close control beneath it. */ :host([descendant-flyout-overlay-open]) .esp-page > div.esp-page-main { z-index: var(--esp-flyout-z-index, 3000); overflow: visible; } /* Trigger-anchored panels belong to the same document flow as their initiator. BiDirectionalStickyController can keep updating the wrapper's inline top, but position: static deliberately makes it inert until the anchored panel closes. */ :host([flyout-anchored]:not([flyout-full-height])) .esp-page > div.esp-page-flyout > .sticky-wrapper { position: static; } /* Full-document help owns the visible block-size rather than following one field. Span header through footer so the page footer cannot push a viewport-height panel out of view at the document boundary; the sticky controller pins this presentation to the viewport top. */ :host([flyout-full-height]) .esp-page > div.esp-page-flyout { grid-row: top-start / footer-end; z-index: calc(var(--esp-page-header-z-index, 20) + 2); } /* Anchored help connects back to its trigger across a visible preview. Raise only the sized help wrapper above the preview surface; the bridge itself is non-interactive inside esp-flyout. */ :host([flyout-anchored][preview-visible]) .esp-page > div.esp-page-flyout { z-index: calc(var(--esp-page-header-z-index, 20) + 2); } slot[name=\"flyout\"]::slotted(esp-flyout) { --_esp-flyout-used-width: var(--_esp-page-flyout-used-width); --_esp-flyout-preview-bridge-width: 0px; --_esp-flyout-preview-anchor-display: none; } :host([preview-visible]) slot[name=\"flyout\"]::slotted(esp-flyout) { --_esp-flyout-preview-bridge-width: var(--_esp-page-preview-used-width); --_esp-flyout-preview-anchor-display: block; } /* Flyout surface-match contract. A slotted esp-flyout with match-surface lifts its trailing edge with the surface's edge shadow, so the panel reads as a raised peer of the content surface rather than the shadowless tear-off. The leading edge keeps its perforation (the border is not overridden) and casts no shadow, so it stays attached at the tear line instead of floating over the content it flies out from. Opt-in and page-scoped: a standalone flyout has no surface to match and is unaffected. */ slot[name=\"flyout\"]::slotted(esp-flyout[match-surface]) { --esp-flyout-shadow: var(--_esp-page-surface-edge-shadow); } /* Header alignment contract. Published on the slotted esp-header (not :host) so it never shadows an inherited or author override and only the header-slot header adopts it — see the host-token-defaults architecture rule and ADR-005. max-width is the resolved cap; lead is the fraction of surplus placed before the content (0 = start, .5 = center, 1 = end). */ slot[name=\"header\"]::slotted(esp-header) { --esp-header-content-max-width: var(--_esp-page-resolved-max-width); --esp-header-content-lead: 0; } :host([align=\"center\"]) slot[name=\"header\"]::slotted(esp-header) { --esp-header-content-lead: 0.5; } :host([align=\"end\"]) slot[name=\"header\"]::slotted(esp-header) { --esp-header-content-lead: 1; } /* full has no cap; publish 100% (not none) so the header contract calc resolves to zero surplus and leaves the header full-bleed. */ :host([kind=\"full\"]:not([data-main-max-configured])) slot[name=\"header\"]::slotted(esp-header) { --esp-header-content-max-width: 100%; } /* Footer alignment mirrors the header behavior with footer-owned contract names. The full-bleed footer paints its own background; only its internal content adopts the page's cap and lead fraction. */ slot[name=\"footer\"]::slotted(esp-footer) { --esp-footer-content-max-width: var(--_esp-page-resolved-max-width); --esp-footer-content-lead: 0; } :host([align=\"center\"]) slot[name=\"footer\"]::slotted(esp-footer) { --esp-footer-content-lead: 0.5; } :host([align=\"end\"]) slot[name=\"footer\"]::slotted(esp-footer) { --esp-footer-content-lead: 1; } :host([kind=\"full\"]:not([data-main-max-configured])) slot[name=\"footer\"]::slotted(esp-footer) { --esp-footer-content-max-width: 100%; } /* Site: bar content aligns with the section wells, not a main cap. One public token governs the header, the footer, and every esp-section well, and the well is centered — declared after the align lead rules so the centered site column wins on order. */ :host([kind=\"site\"]) slot[name=\"header\"]::slotted(esp-header) { --esp-header-content-max-width: var(--esp-page-well-max-width, 72rem); --esp-header-content-lead: 0.5; } :host([kind=\"site\"]) slot[name=\"footer\"]::slotted(esp-footer) { --esp-footer-content-max-width: var(--esp-page-well-max-width, 72rem); --esp-footer-content-lead: 0.5; } /* Contained shell: the header and footer ride the surface instead of the full viewport, so the whole page reads as one band on the canvas. Only their column placement changes — the full-height canvas and surface layers already do the rest. */ :host([contained]) .esp-page > div.esp-page-top, :host([contained]) .esp-page > div.esp-page-footer { grid-column: surface; } /* On the surface the bar already spans the content width, so the header fills it (no content padding) and drops its own shadow — the continuous surface edge shadow does the framing. */ :host([contained]) slot[name=\"header\"]::slotted(esp-header) { --esp-header-shadow: none; } /* The 100% contract belongs to the capped kinds, where the surface column IS the content width. A contained site keeps the shared well column (ESP0174) — sections and chrome must not split columns just because the shell is contained. */ :host([contained]:not([kind=\"site\"])) slot[name=\"header\"]::slotted(esp-header) { --esp-header-content-max-width: 100%; } :host([contained]:not([kind=\"site\"])) slot[name=\"footer\"]::slotted(esp-footer) { --esp-footer-content-max-width: 100%; } :host([kind=\"narrow\"]) .esp-page > div.esp-page-main { /* The golden reading measure, from the shared token (ESP0174); 66ch remains the fallback and the default emission. */ > ::slotted(*) { max-inline-size: var(--esp-measure, 66ch); } } #dialog-drop-zone { z-index: 4000; position: absolute; } :host([preview-visible]) .esp-page > div.esp-page-preview-space > .esp-page-preview { display: block; } :host([workspace-resizable][preview-visible]:not([flyout-overlay-open])) .esp-page > div.esp-page-workspace-resize-handles > .esp-page-main-preview-resize-handle, :host([workspace-resizable][flyout-open]:not([flyout-overlay-open])) .esp-page > div.esp-page-workspace-resize-handles > .esp-page-preview-flyout-resize-handle { display: block; } :host([workspace-resizable]:not([data-workspace-resize-ready])) .esp-page > .esp-page-workspace-resize-handles { display: none; } :host([workspace-resizable][data-workspace-trailing-edge-exposed]:not([flyout-overlay-open])) .esp-page > div.esp-page-workspace-resize-handles > .esp-page-workspace-end-resize-handle, :host([workspace-resizable][data-workspace-position-held]:not([flyout-overlay-open])) .esp-page > div.esp-page-workspace-resize-handles > .esp-page-workspace-end-resize-handle { display: block; } /* Pointer-owned resizing controls the logical leading gutter. It stays fixed for zero-sum pane trades and yields as an outward drag consumes centered outside canvas, keeping the active separator under the pointer in both cases. On release JS moves this pixel track to the aligned target; the normal grid transition supplies the glide before the intrinsic fr gutter contract resumes. */ :host([data-workspace-position-held]) { --_esp-page-gutter-left: var(--_esp-page-resize-leading-gutter-width, 0px); --_esp-page-gutter-right: 1fr; } :host([data-workspace-resizing]) { cursor: col-resize; user-select: none; } /* The grid-track glide that makes programmatic open/close feel animated reads as cursor lag while a pointer owns the seam, and a mid-glide grid feeds stale geometry into the clamp ranges of the next keyboard step. Track changes must be immediate for the whole resize session, pointer or keyboard. */ :host([data-workspace-resizing]) .esp-page, :host([data-workspace-keyboard-adjusting]) .esp-page { transition: none; } /* The linked menu switches its rail to a fixed drawer, but light-DOM menu content can still contribute an intrinsic width to the page's sidebar track. Collapse the owning aside only after the validated header/menu handshake is active, so unmatched navigation remains visible and reachable. */ :host([data-preview-navigation-collapsed]) .esp-page > aside.esp-page-left { inline-size: 0; min-inline-size: 0; } :host([data-preview-measuring]) .esp-page { transition: none; } /* New preview layouts are validated against visible geometry before presentation. Keep that candidate surface non-visible so a rejected measurement can never flash on screen. */ :host([data-preview-validating]) .esp-page-preview { visibility: hidden; } .esp-page { /* dvh keeps the shell within the visible mobile viewport; 100vh is the fallback for browsers without dvh (dvh === vh on desktop). */ min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: [full-start canvas-left-start] var(--_esp-page-gutter-left) [canvas-left-end surface-start left-start] min-content [left-end main-start] var(--_esp-page-main-track) [main-end right-start] min-content [right-end surface-end canvas-right-start flyout-start] var(--_esp-page-workspace-track) [flyout-end] var(--_esp-page-gutter-right) [canvas-right-end full-end]; /* Animate the flyout claiming/releasing its track (and the gutter rebalance) via grid track interpolation where supported; elsewhere the modes still apply, just without the glide. Keep this 0.25s duration synchronized with WORKSPACE_RECENTER_DURATION in workspace-resize-session.ts. */ transition: grid-template-columns 0.25s ease; grid-template-rows: [top-start] min-content [top-end content-start] 1fr [content-end footer-start] min-content [footer-end]; overflow-x: clip; background: var(--esp-page-background, var(--esp-color-background)); line-height: 1.5; font-family: var( --_esp-font-body-effective, var(--esp-font-body, var(--_esp-font-body-fallback)) ); font-size: var(--esp-type-normal); color: var(--esp-color-text); position: relative; &:before { content: \" \"; display: block; position: absolute; left: 0; top: 0; right: 0; bottom: 0; opacity: var(--esp-page-background-image-opacity, 1); background-image: var(--esp-page-background-image, none); z-index: 1; } > div.esp-page-top { z-index: var(--esp-page-header-z-index, 20); grid-column: full; grid-row: top; position: relative; /* The header spans every column, so without inline-size containment its content's min-content would be distributed into the aside tracks and inflate them below the cap (the asides would never collapse). Contain it like the main well so it takes its width from the grid, not the grid from it. */ contain: inline-size; } /* Sidebar containers — act as the \"track\" for sticky positioning */ aside.esp-page-left, aside.esp-page-right { z-index: 5; grid-row: content; position: relative; /* No explicit height — grid stretch fills the 1fr row, and the aside's bottom edge constrains sticky children. */ } > aside.esp-page-left { grid-column: left; } > div.esp-page-main { z-index: 5; grid-column: main; grid-row: content; position: relative; /* Clip oversized content without becoming a scroll container. A hidden-overflow wrapper traps descendant view timelines (and sticky positioning) on this non-scrolling main well. */ overflow: clip; /* The main well's own background. Defaults to transparent, so the well shows the page background exactly as before; set it to give the content well a distinct card color, or leave it transparent (with --esp-page-surface-shadow: none) for content that floats directly on the page/canvas. */ background: var(--esp-page-main-background, transparent); /* The cap now lives in the main track (minmax(0, cap)); the element fills its column. contain: inline-size still holds because the track gives a definite inline size. */ contain: inline-size; } > aside.esp-page-right { grid-column: right; } /* A neutral div, unlike the left/right asides: the slotted esp-flyout is itself the complementary landmark, and an aside wrapper would nest a second, empty landmark around it. */ > div.esp-page-flyout { /* Sits after preview inside the exact auxiliary track and sizes to the allocated help width. Outer surplus remains in the following gutter rather than under an empty stretched wrapper. */ grid-column: flyout; justify-self: start; grid-row: content; z-index: 5; position: relative; inline-size: var(--_esp-page-flyout-used-width); min-inline-size: 0; margin-inline-start: var(--_esp-page-preview-used-width); /* In the drawer rung the fixed esp-flyout paints inside this wrapper's stacking context, so the wrapper itself must rise above the header (z 20) while staying below the dialog drop zone (4000). Uses the same token as the drawer — set it on the page (or higher) to move both together. */ @media ${unsafeCSS(COMPACT_VIEWPORT_MEDIA_QUERY)} { z-index: var(--esp-flyout-z-index, 3000); } } /* Preview begins at the surface edge and help is offset after its resolved width, producing the logical order main → preview → help inside their exact shared auxiliary track. */ > div.esp-page-preview-space { grid-column: flyout; grid-row: content; z-index: 4; position: relative; min-inline-size: 0; > .esp-page-preview { display: none; box-sizing: border-box; inline-size: var(--_esp-page-preview-used-width); position: relative; background: var( --esp-page-preview-background, var(--esp-page-main-background, var(--esp-page-background, var(--esp-color-background))) ); border-inline-start: var(--esp-page-preview-border, 1px dotted var(--esp-color-border)); box-shadow: var(--esp-page-preview-shadow, var(--_esp-page-surface-edge-shadow)); } } /* A transparent interaction layer keeps the complete hit target above main, preview, and anchored help without raising either painted surface (which would hide the help bridge). */ > div.esp-page-workspace-resize-handles { grid-column: flyout; grid-row: top-start / footer-end; z-index: calc(var(--esp-page-header-z-index, 20) + 3); position: relative; min-inline-size: 0; pointer-events: none; } > div.esp-page-workspace-resize-handles > .esp-page-workspace-resize-handle { display: none; box-sizing: border-box; position: absolute; inset-block: 0; z-index: 3; inline-size: var(--esp-page-resize-handle-hit-size, 2.75rem); margin-inline-start: calc(-0.5 * var(--esp-page-resize-handle-hit-size, 2.75rem)); border: 0; outline: 0; background: transparent; cursor: col-resize; pointer-events: auto; touch-action: none; /* The target spans the seam so it remains reachable during document scroll. Focus draws a dashed line along the seam itself — the visible height of the dotted tear-off edge, capped at one viewport — kept in view by sticky positioning while the page scrolls. */ &::after { content: \"\"; display: block; position: sticky; inset-block-start: 0; box-sizing: border-box; inline-size: 0; margin-inline: auto; block-size: 100dvh; max-block-size: 100%; pointer-events: none; } &:focus-visible::after { border-inline-start: var( --esp-page-resize-focus-outline, 2px dashed var(--esp-color-link) ); /* Glow in the line's own color so the focused seam reads as one deliberate highlight rather than a neutral drop shadow. */ box-shadow: var(--esp-page-resize-focus-shadow, 0 0 0.75rem var(--esp-color-link)); } } > div.esp-page-workspace-resize-handles > .esp-page-main-preview-resize-handle { inset-inline-start: 0; } > div.esp-page-workspace-resize-handles > .esp-page-preview-flyout-resize-handle { inset-inline-start: var(--_esp-page-preview-used-width); } > div.esp-page-workspace-resize-handles > .esp-page-workspace-end-resize-handle { inset-inline-start: calc( var(--_esp-page-preview-used-width) + var(--_esp-page-flyout-used-width) ); } /* Keep token-sized probes outside the width-constrained gutter. If they lived inside a zero-width preview space, layout would clamp their rectangles to zero before JS could decide whether the reclaim rung should be activated. */ > .esp-page-preview-min-width-probe, > .esp-page-preview-default-width-probe, > .esp-page-preview-max-width-probe, > .esp-page-flyout-min-width-probe, > .esp-page-flyout-default-width-probe, > .esp-page-flyout-max-width-probe, > .esp-page-main-min-width-probe, > .esp-page-main-configured-max-width-probe, > .esp-page-main-max-width-probe, > .esp-page-resize-step-probe, > .esp-page-resize-large-step-probe { position: absolute; block-size: 0; visibility: hidden; pointer-events: none; contain: strict; } > .esp-page-preview-min-width-probe { inline-size: var(--_esp-page-preview-resolved-min-width); } > .esp-page-preview-max-width-probe { inline-size: var(--_esp-page-preview-resolved-max-width); } > .esp-page-preview-default-width-probe { inline-size: var(--esp-page-preview-default-width, 0px); } > .esp-page-flyout-min-width-probe { inline-size: var(--_esp-page-flyout-resolved-min-width); } > .esp-page-flyout-max-width-probe { inline-size: var(--_esp-page-flyout-resolved-max-width); } > .esp-page-flyout-default-width-probe { inline-size: var(--esp-page-flyout-default-width, 0px); } > .esp-page-main-min-width-probe { inline-size: var(--_esp-page-main-min-width); } > .esp-page-main-configured-max-width-probe { inline-size: var(--esp-page-main-max-width, 0px); } > .esp-page-main-max-width-probe { inline-size: var(--_esp-page-resolved-max-width); } > .esp-page-resize-step-probe { inline-size: var(--esp-page-resize-step, 1rem); } > .esp-page-resize-large-step-probe { inline-size: var(--esp-page-resize-large-step, 4rem); } /* Canvas: the outer gutter regions promoted to a styleable layer. They only have width once the viewport exceeds the cap, so with the transparent defaults they are invisible and narrow pages are unchanged. Painted below the content (z-index 5) and below the surface shadow. */ > .esp-page-canvas { /* Full height: the canvas runs top-to-bottom. In the default full-bleed chrome the header/footer span the gutters and cover it there, so only the content-band gutters show; in contained mode the header/footer sit on the surface and the canvas shows full height beside them. */ grid-row: top-start / footer-end; z-index: 1; position: relative; pointer-events: none; background-color: var(--esp-page-canvas-background, transparent); /* Image layer mirrors the page background-image knobs: a separate layer so its opacity does not fade the color. */ &::before { content: \"\"; position: absolute; inset: 0; background-image: var(--esp-page-canvas-background-image, none); background-attachment: var(--esp-page-canvas-background-attachment, scroll); opacity: var(--esp-page-canvas-background-image-opacity, 1); } } > .esp-page-canvas--left { grid-column: canvas-left; } > .esp-page-canvas--right { /* The canvas spans both the auxiliary workspace and the independent outer gutter beneath it. */ grid-column: canvas-right; } /* Surface: a transparent backdrop spanning the surface cluster (left aside + main + right aside). It carries the surface edge shadow (on by default) and an optional hairline border. The shadow casts outward into the gutters; when there are no gutters the surface fills the viewport and overflow-x: clip on .esp-page trims the shadow away — so it is visible only above the cap with no container query needed. */ > .esp-page-surface { grid-column: surface; /* Full height so the edge shadow is one continuous line from the header through the content to the footer — no fade at the region joins. */ grid-row: top-start / footer-end; z-index: 2; pointer-events: none; box-shadow: var(--_esp-page-surface-shadow); border-inline: var(--_esp-page-surface-border); } /* Internal wrapper manipulated by BiDirectionalStickyController */ .sticky-wrapper { will-change: top; display: block; width: 100%; position: sticky; top: 0; } > div.esp-page-footer { grid-column: full; grid-row: footer; z-index: 10; background: var(--esp-page-background, var(--esp-color-background)); /* Spans every column; contain it so its content does not inflate the aside tracks (see the header note above). */ contain: inline-size; } &.sticky-header { slot[name=\"header\"]::slotted(esp-header), slot[name=\"sidebar\"]::slotted(esp-menu), slot[name=\"right\"]::slotted(esp-menu) { --esp-menu-top-offset: var(--_esp-page-fixed-header-offset); } > div.esp-page-top { position: sticky; top: var(--esp-page-sticky-header-top, 0); } } &.fixed-header { slot[name=\"header\"]::slotted(esp-header), slot[name=\"sidebar\"]::slotted(esp-menu), slot[name=\"right\"]::slotted(esp-menu) { --esp-menu-top-offset: var(--_esp-page-fixed-header-offset); } > div.esp-page-top { position: fixed; top: 0; left: 0; right: 0; } > div.esp-page-main, > aside.esp-page-left, > aside.esp-page-right, > div.esp-page-flyout, > .esp-page-surface, > .esp-page-canvas { margin-top: var(--_esp-page-fixed-header-offset); } } /* Inherit fonts for inputs and buttons */ input, button, textarea, select { font-family: inherit; font-size: inherit; } /* Make sure text areas without a rows attribute are not tiny */ textarea:not([rows]) { min-height: 10em; } /* Anything that has been anchored to should have extra scroll margin */ :target { scroll-margin-block: 5ex; } } .esp-page > .header-reservation-probe, .esp-page > .header-visible-probe { position: absolute; inline-size: 0; visibility: hidden; pointer-events: none; box-sizing: content-box; } .esp-page > .header-reservation-probe { block-size: var(--esp-page-fixed-header-offset, var(--_esp-page-geometry-expanded, 0px)); } .esp-page > .header-visible-probe { block-size: var(--esp-page-visible-header-offset, var(--esp-page-fixed-header-offset, var(--_esp-page-geometry-current, 0px))); } :host([data-header-geometry-active]) { --_esp-page-fixed-header-offset: var(--_esp-page-geometry-reservation, 0px); } :host([data-header-geometry-active]) .esp-page slot[name=\"header\"]::slotted(esp-header), :host([data-header-geometry-active]) .esp-page slot[name=\"sidebar\"]::slotted(esp-menu), :host([data-header-geometry-active]) .esp-page slot[name=\"right\"]::slotted(esp-menu) { --esp-menu-top-offset: var(--_esp-page-geometry-visible, 0px); } :host([data-header-geometry-pending]) .esp-page > div.esp-page-top { position: relative; } :host([data-header-geometry-pending]) .esp-page > div.esp-page-main, :host([data-header-geometry-pending]) .esp-page > aside.esp-page-left, :host([data-header-geometry-pending]) .esp-page > aside.esp-page-right, :host([data-header-geometry-pending]) .esp-page > div.esp-page-flyout, :host([data-header-geometry-pending]) .esp-page > .esp-page-surface, :host([data-header-geometry-pending]) .esp-page > .esp-page-canvas { margin-top: 0; } .esp-page:has(esp-dialog[is-open=\"true\"]) { overflow: hidden; } /* Main and preview are additive surfaces. Once preview owns the trailing edge, move elevation there so no shadow appears at the internal join; the surface resumes its normal frame when preview is hidden. */ :host([preview-visible]) .esp-page > .esp-page-surface { box-shadow: none; } /* The preview's outer grid item and landmark span the complete page so the sticky wrapper's containing block has enough travel to remain pinned throughout a tall document. Its dynamic-viewport block size and vertical overflow keep its scroll position independent from the main document. It paints above full-bleed header chrome only in the preview's negotiated gutter track; overlay flyouts still take precedence by hiding preview presentation. */ .esp-page > div.esp-page-preview-space { grid-row: top-start / footer-end; z-index: calc(var(--esp-page-header-z-index, 20) + 1); pointer-events: none; > .esp-page-preview { position: absolute; inset-block: 0; inset-inline-start: 0; pointer-events: auto; > .sticky-wrapper { block-size: 100vh; block-size: 100dvh; overflow-y: auto; /* Scroll preview first, then hand wheel/trackpad motion back to the document at either boundary (or when no overflow exists). */ overscroll-behavior-y: auto; } } } @media (prefers-reduced-motion: reduce) { .esp-page { transition: none; } } `, ]"
|
|
54600
56528
|
}
|
|
54601
56529
|
],
|
|
54602
56530
|
"exports": [
|
|
@@ -54728,9 +56656,17 @@
|
|
|
54728
56656
|
"name": "--esp-page-resize-focus-shadow"
|
|
54729
56657
|
},
|
|
54730
56658
|
{
|
|
54731
|
-
"description": "
|
|
56659
|
+
"description": "Fixed reservation override; also the default visible clearance override. With active header geometry, defaults to the measured expanded header size; legacy headers use `var(--esp-header-height)`.",
|
|
54732
56660
|
"name": "--esp-page-fixed-header-offset"
|
|
54733
56661
|
},
|
|
56662
|
+
{
|
|
56663
|
+
"description": "Independent visible clearance override for menus and sidebars. Defaults to the fixed offset override, then the live measured header size.",
|
|
56664
|
+
"name": "--esp-page-visible-header-offset"
|
|
56665
|
+
},
|
|
56666
|
+
{
|
|
56667
|
+
"description": "Read-only measured expanded header size exported for descendants. Independent of reservation overrides; unavailable for legacy headers.",
|
|
56668
|
+
"name": "--esp-page-header-expanded-size"
|
|
56669
|
+
},
|
|
54734
56670
|
{
|
|
54735
56671
|
"description": "Top inset for sticky headers. Defaults to `0`.",
|
|
54736
56672
|
"name": "--esp-page-sticky-header-top"
|
|
@@ -54869,6 +56805,184 @@
|
|
|
54869
56805
|
}
|
|
54870
56806
|
],
|
|
54871
56807
|
"members": [
|
|
56808
|
+
{
|
|
56809
|
+
"kind": "field",
|
|
56810
|
+
"name": "headerSlot",
|
|
56811
|
+
"privacy": "private"
|
|
56812
|
+
},
|
|
56813
|
+
{
|
|
56814
|
+
"kind": "field",
|
|
56815
|
+
"name": "stickyControllers",
|
|
56816
|
+
"type": {
|
|
56817
|
+
"text": "BiDirectionalStickyController[]"
|
|
56818
|
+
},
|
|
56819
|
+
"privacy": "private",
|
|
56820
|
+
"default": "[ new BiDirectionalStickyController(this, \".esp-page-left > .sticky-wrapper\", { topOffset: () => this.fixedVisibleClearance }), new BiDirectionalStickyController(this, \".esp-page-right > .sticky-wrapper\", { topOffset: () => this.fixedVisibleClearance }), new BiDirectionalStickyController(this, \".esp-page-flyout > .sticky-wrapper\", { topOffset: () => this.flyoutFullHeightActive ? 0 : this.fixedVisibleClearance, }), new BiDirectionalStickyController(this, \".esp-page-preview > .sticky-wrapper\", { topOffset: () => 0 }), ]"
|
|
56821
|
+
},
|
|
56822
|
+
{
|
|
56823
|
+
"kind": "field",
|
|
56824
|
+
"name": "geometryHeader",
|
|
56825
|
+
"type": {
|
|
56826
|
+
"text": "HTMLElement | null"
|
|
56827
|
+
},
|
|
56828
|
+
"privacy": "private",
|
|
56829
|
+
"default": "null"
|
|
56830
|
+
},
|
|
56831
|
+
{
|
|
56832
|
+
"kind": "field",
|
|
56833
|
+
"name": "headerGeometry",
|
|
56834
|
+
"type": {
|
|
56835
|
+
"text": "HeaderGeometryController | undefined"
|
|
56836
|
+
},
|
|
56837
|
+
"privacy": "private"
|
|
56838
|
+
},
|
|
56839
|
+
{
|
|
56840
|
+
"kind": "field",
|
|
56841
|
+
"name": "unsubscribeHeaderGeometry",
|
|
56842
|
+
"type": {
|
|
56843
|
+
"text": "() => void | undefined"
|
|
56844
|
+
},
|
|
56845
|
+
"privacy": "private"
|
|
56846
|
+
},
|
|
56847
|
+
{
|
|
56848
|
+
"kind": "field",
|
|
56849
|
+
"name": "headerGeometryGeneration",
|
|
56850
|
+
"type": {
|
|
56851
|
+
"text": "number"
|
|
56852
|
+
},
|
|
56853
|
+
"privacy": "private",
|
|
56854
|
+
"default": "0"
|
|
56855
|
+
},
|
|
56856
|
+
{
|
|
56857
|
+
"kind": "field",
|
|
56858
|
+
"name": "headerGeometryReady",
|
|
56859
|
+
"type": {
|
|
56860
|
+
"text": "Promise<void>"
|
|
56861
|
+
},
|
|
56862
|
+
"privacy": "private"
|
|
56863
|
+
},
|
|
56864
|
+
{
|
|
56865
|
+
"kind": "field",
|
|
56866
|
+
"name": "resolveHeaderGeometryReady",
|
|
56867
|
+
"type": {
|
|
56868
|
+
"text": "(() => void) | undefined"
|
|
56869
|
+
},
|
|
56870
|
+
"privacy": "private"
|
|
56871
|
+
},
|
|
56872
|
+
{
|
|
56873
|
+
"kind": "field",
|
|
56874
|
+
"name": "geometryOffsets",
|
|
56875
|
+
"type": {
|
|
56876
|
+
"text": "{ reservation: number; visible: number } | undefined"
|
|
56877
|
+
},
|
|
56878
|
+
"privacy": "private"
|
|
56879
|
+
},
|
|
56880
|
+
{
|
|
56881
|
+
"kind": "field",
|
|
56882
|
+
"name": "geometryRecord",
|
|
56883
|
+
"type": {
|
|
56884
|
+
"text": "HeaderGeometryRecord | undefined"
|
|
56885
|
+
},
|
|
56886
|
+
"privacy": "private"
|
|
56887
|
+
},
|
|
56888
|
+
{
|
|
56889
|
+
"kind": "field",
|
|
56890
|
+
"name": "geometryOffsetObserver",
|
|
56891
|
+
"type": {
|
|
56892
|
+
"text": "ResizeObserver | undefined"
|
|
56893
|
+
},
|
|
56894
|
+
"privacy": "private"
|
|
56895
|
+
},
|
|
56896
|
+
{
|
|
56897
|
+
"kind": "method",
|
|
56898
|
+
"name": "whenHeaderGeometryReady",
|
|
56899
|
+
"privacy": "public",
|
|
56900
|
+
"return": {
|
|
56901
|
+
"type": {
|
|
56902
|
+
"text": "Promise<void>"
|
|
56903
|
+
}
|
|
56904
|
+
},
|
|
56905
|
+
"description": "Wait for the current direct header's initial geometry and visible clearance.\nReconciles append/replacement synchronously, including before first render.\nEach target generation keeps one promise; removal/disconnect safely resolves\npending callers. This does not wait for logo network completion."
|
|
56906
|
+
},
|
|
56907
|
+
{
|
|
56908
|
+
"kind": "method",
|
|
56909
|
+
"name": "resolveHeaderGeometryTarget",
|
|
56910
|
+
"privacy": "private",
|
|
56911
|
+
"return": {
|
|
56912
|
+
"type": {
|
|
56913
|
+
"text": "HTMLElement | null"
|
|
56914
|
+
}
|
|
56915
|
+
}
|
|
56916
|
+
},
|
|
56917
|
+
{
|
|
56918
|
+
"kind": "method",
|
|
56919
|
+
"name": "rearmHeaderGeometryReady",
|
|
56920
|
+
"privacy": "private",
|
|
56921
|
+
"return": {
|
|
56922
|
+
"type": {
|
|
56923
|
+
"text": "void"
|
|
56924
|
+
}
|
|
56925
|
+
}
|
|
56926
|
+
},
|
|
56927
|
+
{
|
|
56928
|
+
"kind": "method",
|
|
56929
|
+
"name": "finishHeaderGeometryReady",
|
|
56930
|
+
"privacy": "private",
|
|
56931
|
+
"return": {
|
|
56932
|
+
"type": {
|
|
56933
|
+
"text": "void"
|
|
56934
|
+
}
|
|
56935
|
+
}
|
|
56936
|
+
},
|
|
56937
|
+
{
|
|
56938
|
+
"kind": "field",
|
|
56939
|
+
"name": "fixedVisibleClearance",
|
|
56940
|
+
"type": {
|
|
56941
|
+
"text": "number | undefined"
|
|
56942
|
+
},
|
|
56943
|
+
"privacy": "private",
|
|
56944
|
+
"readonly": true
|
|
56945
|
+
},
|
|
56946
|
+
{
|
|
56947
|
+
"kind": "method",
|
|
56948
|
+
"name": "updateHeaderGeometry",
|
|
56949
|
+
"privacy": "private",
|
|
56950
|
+
"return": {
|
|
56951
|
+
"type": {
|
|
56952
|
+
"text": "void"
|
|
56953
|
+
}
|
|
56954
|
+
}
|
|
56955
|
+
},
|
|
56956
|
+
{
|
|
56957
|
+
"kind": "method",
|
|
56958
|
+
"name": "resetHeaderGeometry",
|
|
56959
|
+
"privacy": "private",
|
|
56960
|
+
"return": {
|
|
56961
|
+
"type": {
|
|
56962
|
+
"text": "void"
|
|
56963
|
+
}
|
|
56964
|
+
}
|
|
56965
|
+
},
|
|
56966
|
+
{
|
|
56967
|
+
"kind": "field",
|
|
56968
|
+
"name": "syncHeaderGeometry",
|
|
56969
|
+
"privacy": "private"
|
|
56970
|
+
},
|
|
56971
|
+
{
|
|
56972
|
+
"kind": "field",
|
|
56973
|
+
"name": "onHeaderSlotChange",
|
|
56974
|
+
"privacy": "private"
|
|
56975
|
+
},
|
|
56976
|
+
{
|
|
56977
|
+
"kind": "field",
|
|
56978
|
+
"name": "onHeaderGeometry",
|
|
56979
|
+
"privacy": "private"
|
|
56980
|
+
},
|
|
56981
|
+
{
|
|
56982
|
+
"kind": "field",
|
|
56983
|
+
"name": "resolveGeometryOffsets",
|
|
56984
|
+
"privacy": "private"
|
|
56985
|
+
},
|
|
54872
56986
|
{
|
|
54873
56987
|
"kind": "field",
|
|
54874
56988
|
"name": "dialogZone",
|
|
@@ -78090,7 +80204,7 @@
|
|
|
78090
80204
|
"name": "renderConfiguredBrand",
|
|
78091
80205
|
"parameters": [
|
|
78092
80206
|
{
|
|
78093
|
-
"name": "{\n brandLogo,\n brandText,\n brandHref,\n brandAlt,\n}",
|
|
80207
|
+
"name": "{\n brandLogo,\n brandText,\n brandHref,\n brandAlt,\n reserveLogoSpace = false,\n}",
|
|
78094
80208
|
"type": {
|
|
78095
80209
|
"text": "ConfiguredBrandOptions"
|
|
78096
80210
|
}
|
|
@@ -81662,6 +83776,52 @@
|
|
|
81662
83776
|
}
|
|
81663
83777
|
]
|
|
81664
83778
|
},
|
|
83779
|
+
{
|
|
83780
|
+
"kind": "javascript-module",
|
|
83781
|
+
"path": "dist/shared/layout-gap.js",
|
|
83782
|
+
"declarations": [
|
|
83783
|
+
{
|
|
83784
|
+
"kind": "variable",
|
|
83785
|
+
"name": "LAYOUT_GAPS",
|
|
83786
|
+
"type": {
|
|
83787
|
+
"text": "[\"none\", \"tiny\", \"small\", \"normal\", \"medium\", \"big\", \"large\", \"huge\"]"
|
|
83788
|
+
},
|
|
83789
|
+
"default": "[\"none\", \"tiny\", \"small\", \"normal\", \"medium\", \"big\", \"large\", \"huge\"]",
|
|
83790
|
+
"description": "Space-scale names shared by the layout primitives."
|
|
83791
|
+
},
|
|
83792
|
+
{
|
|
83793
|
+
"kind": "function",
|
|
83794
|
+
"name": "layoutGapStyles",
|
|
83795
|
+
"parameters": [
|
|
83796
|
+
{
|
|
83797
|
+
"name": "alias",
|
|
83798
|
+
"type": {
|
|
83799
|
+
"text": "`--_esp-${string}-gap`"
|
|
83800
|
+
}
|
|
83801
|
+
}
|
|
83802
|
+
],
|
|
83803
|
+
"description": "Host defaults keep unknown names on the normal step."
|
|
83804
|
+
}
|
|
83805
|
+
],
|
|
83806
|
+
"exports": [
|
|
83807
|
+
{
|
|
83808
|
+
"kind": "js",
|
|
83809
|
+
"name": "LAYOUT_GAPS",
|
|
83810
|
+
"declaration": {
|
|
83811
|
+
"name": "LAYOUT_GAPS",
|
|
83812
|
+
"module": "dist/shared/layout-gap.js"
|
|
83813
|
+
}
|
|
83814
|
+
},
|
|
83815
|
+
{
|
|
83816
|
+
"kind": "js",
|
|
83817
|
+
"name": "layoutGapStyles",
|
|
83818
|
+
"declaration": {
|
|
83819
|
+
"name": "layoutGapStyles",
|
|
83820
|
+
"module": "dist/shared/layout-gap.js"
|
|
83821
|
+
}
|
|
83822
|
+
}
|
|
83823
|
+
]
|
|
83824
|
+
},
|
|
81665
83825
|
{
|
|
81666
83826
|
"kind": "javascript-module",
|
|
81667
83827
|
"path": "dist/shared/link-copy.js",
|
|
@@ -85317,10 +87477,7 @@
|
|
|
85317
87477
|
{
|
|
85318
87478
|
"kind": "variable",
|
|
85319
87479
|
"name": "STACK_GAPS",
|
|
85320
|
-
"
|
|
85321
|
-
"text": "[\"none\", \"tiny\", \"small\", \"normal\", \"medium\", \"big\", \"large\", \"huge\"]"
|
|
85322
|
-
},
|
|
85323
|
-
"default": "[\"none\", \"tiny\", \"small\", \"normal\", \"medium\", \"big\", \"large\", \"huge\"]"
|
|
87480
|
+
"default": "LAYOUT_GAPS"
|
|
85324
87481
|
},
|
|
85325
87482
|
{
|
|
85326
87483
|
"kind": "variable",
|