@taprootio/espalier 2.13.0 → 2.13.1
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/custom-elements.json +1075 -1115
- package/dist/page/esp-page.d.ts +8 -6
- package/dist/page/esp-page.js +53 -35
- package/espalier.token-manifest.json +1 -1
- package/package.json +1 -1
package/custom-elements.json
CHANGED
|
@@ -40061,7 +40061,7 @@
|
|
|
40061
40061
|
"name": "--esp-page-main-min-width"
|
|
40062
40062
|
},
|
|
40063
40063
|
{
|
|
40064
|
-
"description": "Maximum width of the main content well. Defaults from `kind`: `1536px` (wide), `768px` (narrow), or unbounded (full). Surplus width beyond it becomes canvas gutters.",
|
|
40064
|
+
"description": "Maximum width of the main content well. Defaults from `kind`: `1536px` (wide), `768px` (narrow), or unbounded (full). An explicit value overrides every kind default, including `full`. Surplus width beyond it becomes canvas gutters.",
|
|
40065
40065
|
"name": "--esp-page-main-max-width"
|
|
40066
40066
|
},
|
|
40067
40067
|
{
|
|
@@ -40362,6 +40362,11 @@
|
|
|
40362
40362
|
"name": "mainMinWidthProbe",
|
|
40363
40363
|
"privacy": "private"
|
|
40364
40364
|
},
|
|
40365
|
+
{
|
|
40366
|
+
"kind": "field",
|
|
40367
|
+
"name": "mainConfiguredMaxWidthProbe",
|
|
40368
|
+
"privacy": "private"
|
|
40369
|
+
},
|
|
40365
40370
|
{
|
|
40366
40371
|
"kind": "field",
|
|
40367
40372
|
"name": "mainMaxWidthProbe",
|
|
@@ -40846,135 +40851,120 @@
|
|
|
40846
40851
|
},
|
|
40847
40852
|
{
|
|
40848
40853
|
"kind": "method",
|
|
40849
|
-
"name": "
|
|
40854
|
+
"name": "visiblePageInlineBounds",
|
|
40850
40855
|
"privacy": "private",
|
|
40851
40856
|
"return": {
|
|
40852
40857
|
"type": {
|
|
40853
|
-
"text": "
|
|
40858
|
+
"text": "{ left: number; right: number; width: number }"
|
|
40859
|
+
}
|
|
40860
|
+
}
|
|
40861
|
+
},
|
|
40862
|
+
{
|
|
40863
|
+
"kind": "method",
|
|
40864
|
+
"name": "probeWidth",
|
|
40865
|
+
"privacy": "private",
|
|
40866
|
+
"return": {
|
|
40867
|
+
"type": {
|
|
40868
|
+
"text": "number"
|
|
40854
40869
|
}
|
|
40855
40870
|
},
|
|
40856
40871
|
"parameters": [
|
|
40857
40872
|
{
|
|
40858
|
-
"name": "
|
|
40859
|
-
"type": {
|
|
40860
|
-
"text": "boolean"
|
|
40861
|
-
}
|
|
40862
|
-
},
|
|
40863
|
-
{
|
|
40864
|
-
"name": "flyoutOpen",
|
|
40873
|
+
"name": "probe",
|
|
40865
40874
|
"type": {
|
|
40866
|
-
"text": "
|
|
40875
|
+
"text": "ReturnType<typeof createRef<HTMLDivElement>>"
|
|
40867
40876
|
}
|
|
40868
40877
|
}
|
|
40869
40878
|
]
|
|
40870
40879
|
},
|
|
40871
40880
|
{
|
|
40872
40881
|
"kind": "method",
|
|
40873
|
-
"name": "
|
|
40882
|
+
"name": "optionalWidth",
|
|
40874
40883
|
"privacy": "private",
|
|
40875
40884
|
"return": {
|
|
40876
40885
|
"type": {
|
|
40877
|
-
"text": "number"
|
|
40886
|
+
"text": "number | null"
|
|
40878
40887
|
}
|
|
40879
40888
|
},
|
|
40880
40889
|
"parameters": [
|
|
40881
40890
|
{
|
|
40882
|
-
"name": "
|
|
40883
|
-
"type": {
|
|
40884
|
-
"text": "boolean"
|
|
40885
|
-
}
|
|
40886
|
-
},
|
|
40887
|
-
{
|
|
40888
|
-
"name": "flyoutOpen",
|
|
40889
|
-
"type": {
|
|
40890
|
-
"text": "boolean"
|
|
40891
|
-
}
|
|
40892
|
-
},
|
|
40893
|
-
{
|
|
40894
|
-
"name": "previewMinWidth",
|
|
40895
|
-
"type": {
|
|
40896
|
-
"text": "number"
|
|
40897
|
-
}
|
|
40898
|
-
},
|
|
40899
|
-
{
|
|
40900
|
-
"name": "previewMaxWidth",
|
|
40901
|
-
"type": {
|
|
40902
|
-
"text": "number"
|
|
40903
|
-
}
|
|
40904
|
-
},
|
|
40905
|
-
{
|
|
40906
|
-
"name": "flyoutMinWidth",
|
|
40891
|
+
"name": "propertyName",
|
|
40907
40892
|
"type": {
|
|
40908
|
-
"text": "
|
|
40893
|
+
"text": "string"
|
|
40909
40894
|
}
|
|
40910
40895
|
},
|
|
40911
40896
|
{
|
|
40912
|
-
"name": "
|
|
40897
|
+
"name": "probe",
|
|
40913
40898
|
"type": {
|
|
40914
|
-
"text": "
|
|
40899
|
+
"text": "ReturnType<typeof createRef<HTMLDivElement>>"
|
|
40915
40900
|
}
|
|
40916
40901
|
}
|
|
40917
40902
|
]
|
|
40918
40903
|
},
|
|
40919
40904
|
{
|
|
40920
40905
|
"kind": "method",
|
|
40921
|
-
"name": "
|
|
40906
|
+
"name": "syncMainMaximumConfiguration",
|
|
40922
40907
|
"privacy": "private",
|
|
40923
40908
|
"return": {
|
|
40924
40909
|
"type": {
|
|
40925
|
-
"text": "
|
|
40910
|
+
"text": "void"
|
|
40926
40911
|
}
|
|
40927
40912
|
}
|
|
40928
40913
|
},
|
|
40929
40914
|
{
|
|
40930
40915
|
"kind": "method",
|
|
40931
|
-
"name": "
|
|
40932
|
-
"privacy": "private",
|
|
40933
|
-
"return": {
|
|
40934
|
-
"type": {
|
|
40935
|
-
"text": "number"
|
|
40936
|
-
}
|
|
40937
|
-
},
|
|
40938
|
-
"description": "The gutter's layout box can extend past the visible page bounds — most\ncommonly a page laid out wider than the visual viewport beside a classic\nscrollbar. Allocation must draw from the same visible geometry the fit\nchecks validate against, or a scrollbar-sized overhang makes the\nallocated widths permanently unfittable and help is promoted to a modal\ndrawer over a sliver of hidden canvas."
|
|
40939
|
-
},
|
|
40940
|
-
{
|
|
40941
|
-
"kind": "method",
|
|
40942
|
-
"name": "probeWidth",
|
|
40916
|
+
"name": "workspaceWidthCapacity",
|
|
40943
40917
|
"privacy": "private",
|
|
40944
40918
|
"return": {
|
|
40945
40919
|
"type": {
|
|
40946
|
-
"text": "
|
|
40920
|
+
"text": "WorkspaceWidthCapacity"
|
|
40947
40921
|
}
|
|
40948
40922
|
},
|
|
40949
40923
|
"parameters": [
|
|
40950
40924
|
{
|
|
40951
|
-
"name": "
|
|
40925
|
+
"name": "minMainWidth",
|
|
40952
40926
|
"type": {
|
|
40953
|
-
"text": "
|
|
40927
|
+
"text": "number"
|
|
40954
40928
|
}
|
|
40929
|
+
},
|
|
40930
|
+
{
|
|
40931
|
+
"name": "maxMainWidth",
|
|
40932
|
+
"type": {
|
|
40933
|
+
"text": "number"
|
|
40934
|
+
}
|
|
40935
|
+
},
|
|
40936
|
+
{
|
|
40937
|
+
"name": "reservedInlineWidth",
|
|
40938
|
+
"default": "0"
|
|
40955
40939
|
}
|
|
40956
40940
|
]
|
|
40957
40941
|
},
|
|
40958
40942
|
{
|
|
40959
40943
|
"kind": "method",
|
|
40960
|
-
"name": "
|
|
40944
|
+
"name": "workspaceTargetWidth",
|
|
40961
40945
|
"privacy": "private",
|
|
40962
40946
|
"return": {
|
|
40963
40947
|
"type": {
|
|
40964
|
-
"text": "number
|
|
40948
|
+
"text": "number"
|
|
40965
40949
|
}
|
|
40966
40950
|
},
|
|
40967
40951
|
"parameters": [
|
|
40968
40952
|
{
|
|
40969
|
-
"name": "
|
|
40953
|
+
"name": "capacity",
|
|
40970
40954
|
"type": {
|
|
40971
|
-
"text": "
|
|
40955
|
+
"text": "WorkspaceWidthCapacity"
|
|
40972
40956
|
}
|
|
40973
40957
|
},
|
|
40974
40958
|
{
|
|
40975
|
-
"name": "
|
|
40959
|
+
"name": "minimumWorkspaceWidth",
|
|
40976
40960
|
"type": {
|
|
40977
|
-
"text": "
|
|
40961
|
+
"text": "number"
|
|
40962
|
+
}
|
|
40963
|
+
},
|
|
40964
|
+
{
|
|
40965
|
+
"name": "preferredWorkspaceTargetWidth",
|
|
40966
|
+
"type": {
|
|
40967
|
+
"text": "number"
|
|
40978
40968
|
}
|
|
40979
40969
|
}
|
|
40980
40970
|
]
|
|
@@ -41393,36 +41383,6 @@
|
|
|
41393
41383
|
}
|
|
41394
41384
|
]
|
|
41395
41385
|
},
|
|
41396
|
-
{
|
|
41397
|
-
"kind": "method",
|
|
41398
|
-
"name": "preferredWorkspaceFitsWithNavigation",
|
|
41399
|
-
"privacy": "private",
|
|
41400
|
-
"return": {
|
|
41401
|
-
"type": {
|
|
41402
|
-
"text": "boolean"
|
|
41403
|
-
}
|
|
41404
|
-
},
|
|
41405
|
-
"parameters": [
|
|
41406
|
-
{
|
|
41407
|
-
"name": "minMainWidth",
|
|
41408
|
-
"type": {
|
|
41409
|
-
"text": "number"
|
|
41410
|
-
}
|
|
41411
|
-
},
|
|
41412
|
-
{
|
|
41413
|
-
"name": "requestedWorkspaceWidth",
|
|
41414
|
-
"type": {
|
|
41415
|
-
"text": "number"
|
|
41416
|
-
}
|
|
41417
|
-
},
|
|
41418
|
-
{
|
|
41419
|
-
"name": "collapsedSidebarWidth",
|
|
41420
|
-
"type": {
|
|
41421
|
-
"text": "number"
|
|
41422
|
-
}
|
|
41423
|
-
}
|
|
41424
|
-
]
|
|
41425
|
-
},
|
|
41426
41386
|
{
|
|
41427
41387
|
"kind": "method",
|
|
41428
41388
|
"name": "workspaceGeometrySample",
|
|
@@ -41645,7 +41605,7 @@
|
|
|
41645
41605
|
},
|
|
41646
41606
|
"privacy": "public",
|
|
41647
41607
|
"default": "\"wide\"",
|
|
41648
|
-
"description": "The layout mode of the page.\n\n- `wide` (default) — constrains the main content well to 1536px.\n Optimized for high-density dashboards and complex data grids.\n- `narrow` — constrains the main content well to 768px and applies\n a `max-inline-size: 66ch` reading measure. Optimized for\n long-form reading content.\n- `full` — no max-width constraint
|
|
41608
|
+
"description": "The layout mode of the page.\n\n- `wide` (default) — constrains the main content well to 1536px.\n Optimized for high-density dashboards and complex data grids.\n- `narrow` — constrains the main content well to 768px and applies\n a `max-inline-size: 66ch` reading measure. Optimized for\n long-form reading content.\n- `full` — no max-width constraint unless\n `--esp-page-main-max-width` is explicitly configured. Optimized for\n immersive canvases like maps or design tools and finite authoring\n workspaces that opt back into a cap.",
|
|
41649
41609
|
"attribute": "kind",
|
|
41650
41610
|
"reflects": true
|
|
41651
41611
|
},
|
|
@@ -41657,7 +41617,7 @@
|
|
|
41657
41617
|
},
|
|
41658
41618
|
"privacy": "public",
|
|
41659
41619
|
"default": "\"start\"",
|
|
41660
|
-
"description": "Horizontal alignment of the content **surface** (left aside + main\nwell + right aside) within the page once the viewport is wider than\nthe content cap. The surplus width becomes styleable **canvas**\ngutters on the outer edges, weighted by this attribute.\n\n- `start` (default) — the surface hugs the leading edge; all spare\n width collects in the trailing gutter. This reproduces today's\n layout.\n- `center` — spare width is split evenly into both gutters, centering\n the surface.\n- `end` — the surface hugs the trailing edge; spare width collects in\n the leading gutter.\n\nHas no effect when `kind=\"full\"`
|
|
41620
|
+
"description": "Horizontal alignment of the content **surface** (left aside + main\nwell + right aside) within the page once the viewport is wider than\nthe content cap. The surplus width becomes styleable **canvas**\ngutters on the outer edges, weighted by this attribute.\n\n- `start` (default) — the surface hugs the leading edge; all spare\n width collects in the trailing gutter. This reproduces today's\n layout.\n- `center` — spare width is split evenly into both gutters, centering\n the surface.\n- `end` — the surface hugs the trailing edge; spare width collects in\n the leading gutter.\n\nHas no effect when an unconfigured `kind=\"full\"` leaves main unbounded,\nor on viewports narrower than the complete visible workspace cap.",
|
|
41661
41621
|
"attribute": "align",
|
|
41662
41622
|
"reflects": true
|
|
41663
41623
|
},
|
|
@@ -42336,7 +42296,7 @@
|
|
|
42336
42296
|
"text": "\"wide\" | \"narrow\" | \"full\""
|
|
42337
42297
|
},
|
|
42338
42298
|
"default": "\"wide\"",
|
|
42339
|
-
"description": "The layout mode of the page.\n\n- `wide` (default) — constrains the main content well to 1536px.\n Optimized for high-density dashboards and complex data grids.\n- `narrow` — constrains the main content well to 768px and applies\n a `max-inline-size: 66ch` reading measure. Optimized for\n long-form reading content.\n- `full` — no max-width constraint
|
|
42299
|
+
"description": "The layout mode of the page.\n\n- `wide` (default) — constrains the main content well to 1536px.\n Optimized for high-density dashboards and complex data grids.\n- `narrow` — constrains the main content well to 768px and applies\n a `max-inline-size: 66ch` reading measure. Optimized for\n long-form reading content.\n- `full` — no max-width constraint unless\n `--esp-page-main-max-width` is explicitly configured. Optimized for\n immersive canvases like maps or design tools and finite authoring\n workspaces that opt back into a cap.",
|
|
42340
42300
|
"fieldName": "kind"
|
|
42341
42301
|
},
|
|
42342
42302
|
{
|
|
@@ -42345,7 +42305,7 @@
|
|
|
42345
42305
|
"text": "\"start\" | \"center\" | \"end\""
|
|
42346
42306
|
},
|
|
42347
42307
|
"default": "\"start\"",
|
|
42348
|
-
"description": "Horizontal alignment of the content **surface** (left aside + main\nwell + right aside) within the page once the viewport is wider than\nthe content cap. The surplus width becomes styleable **canvas**\ngutters on the outer edges, weighted by this attribute.\n\n- `start` (default) — the surface hugs the leading edge; all spare\n width collects in the trailing gutter. This reproduces today's\n layout.\n- `center` — spare width is split evenly into both gutters, centering\n the surface.\n- `end` — the surface hugs the trailing edge; spare width collects in\n the leading gutter.\n\nHas no effect when `kind=\"full\"`
|
|
42308
|
+
"description": "Horizontal alignment of the content **surface** (left aside + main\nwell + right aside) within the page once the viewport is wider than\nthe content cap. The surplus width becomes styleable **canvas**\ngutters on the outer edges, weighted by this attribute.\n\n- `start` (default) — the surface hugs the leading edge; all spare\n width collects in the trailing gutter. This reproduces today's\n layout.\n- `center` — spare width is split evenly into both gutters, centering\n the surface.\n- `end` — the surface hugs the trailing edge; spare width collects in\n the leading gutter.\n\nHas no effect when an unconfigured `kind=\"full\"` leaves main unbounded,\nor on viewports narrower than the complete visible workspace cap.",
|
|
42349
42309
|
"fieldName": "align"
|
|
42350
42310
|
},
|
|
42351
42311
|
{
|
|
@@ -52285,312 +52245,252 @@
|
|
|
52285
52245
|
},
|
|
52286
52246
|
{
|
|
52287
52247
|
"kind": "javascript-module",
|
|
52288
|
-
"path": "dist/
|
|
52248
|
+
"path": "dist/search/esp-search.js",
|
|
52289
52249
|
"declarations": [
|
|
52290
52250
|
{
|
|
52291
52251
|
"kind": "class",
|
|
52292
|
-
"description": "
|
|
52293
|
-
"name": "
|
|
52294
|
-
"
|
|
52252
|
+
"description": "Modal search overlay with a Cmd+K / Ctrl+K interaction pattern.\n\n`<esp-search>` is a pure UI shell with no search-engine dependency.\nConsumers wire it to any search backend (Pagefind, MiniSearch, API,\netc.) by listening for `search-requested` events and calling\n`setResults()` with the matches.",
|
|
52253
|
+
"name": "EspalierSearch",
|
|
52254
|
+
"cssProperties": [
|
|
52295
52255
|
{
|
|
52296
|
-
"description": "
|
|
52297
|
-
"name": ""
|
|
52298
|
-
}
|
|
52299
|
-
],
|
|
52300
|
-
"members": [
|
|
52256
|
+
"description": "Maximum width of the search panel. Defaults to `40rem`.",
|
|
52257
|
+
"name": "--esp-search-max-width"
|
|
52258
|
+
},
|
|
52301
52259
|
{
|
|
52302
|
-
"
|
|
52303
|
-
"name": "
|
|
52304
|
-
"privacy": "public",
|
|
52305
|
-
"static": true,
|
|
52306
|
-
"return": {
|
|
52307
|
-
"type": {
|
|
52308
|
-
"text": "void"
|
|
52309
|
-
}
|
|
52310
|
-
},
|
|
52311
|
-
"parameters": [
|
|
52312
|
-
{
|
|
52313
|
-
"name": "name",
|
|
52314
|
-
"type": {
|
|
52315
|
-
"text": "string"
|
|
52316
|
-
}
|
|
52317
|
-
},
|
|
52318
|
-
{
|
|
52319
|
-
"name": "definition",
|
|
52320
|
-
"type": {
|
|
52321
|
-
"text": "ImageTextureDefinition"
|
|
52322
|
-
}
|
|
52323
|
-
}
|
|
52324
|
-
],
|
|
52325
|
-
"description": "Register (or replace) a named, image-backed banner-texture preset.\nAny `esp-image` banner under a root selects it with `texture=\"<name>\"`;\nbanners already pointing at the name re-render, so registration at\nmount and markup order never race. Static delegate to\n`registerImageTexture` so script-only contexts (docs demos, published\nsites) can reach it from the root element without module imports."
|
|
52260
|
+
"description": "Maximum height of the results list. Defaults to `60vh`.",
|
|
52261
|
+
"name": "--esp-search-max-height"
|
|
52326
52262
|
},
|
|
52327
52263
|
{
|
|
52328
|
-
"
|
|
52329
|
-
"name": "
|
|
52330
|
-
"privacy": "public",
|
|
52331
|
-
"static": true,
|
|
52332
|
-
"return": {
|
|
52333
|
-
"type": {
|
|
52334
|
-
"text": "Map<string, Readonly<ImageTextureDefinition>>"
|
|
52335
|
-
}
|
|
52336
|
-
},
|
|
52337
|
-
"description": "Snapshot of the registered texture presets, for building pickers."
|
|
52264
|
+
"description": "Backdrop color behind the panel. Defaults to `oklch(0.15 0 0 / 0.6)`.",
|
|
52265
|
+
"name": "--esp-search-backdrop"
|
|
52338
52266
|
},
|
|
52339
52267
|
{
|
|
52340
|
-
"
|
|
52341
|
-
"name": "
|
|
52342
|
-
"type": {
|
|
52343
|
-
"text": "\"light\" | \"dark\" | \"\""
|
|
52344
|
-
},
|
|
52345
|
-
"privacy": "private",
|
|
52346
|
-
"default": "\"\""
|
|
52268
|
+
"description": "Background color of the search panel. Defaults to `var(--esp-color-layer-1)`.",
|
|
52269
|
+
"name": "--esp-search-panel-background"
|
|
52347
52270
|
},
|
|
52348
52271
|
{
|
|
52349
|
-
"
|
|
52350
|
-
"name": "
|
|
52351
|
-
"type": {
|
|
52352
|
-
"text": "boolean"
|
|
52353
|
-
},
|
|
52354
|
-
"privacy": "private",
|
|
52355
|
-
"default": "false"
|
|
52272
|
+
"description": "Box shadow of the search panel.",
|
|
52273
|
+
"name": "--esp-search-panel-shadow"
|
|
52356
52274
|
},
|
|
52357
52275
|
{
|
|
52358
|
-
"
|
|
52359
|
-
"name": "
|
|
52360
|
-
"type": {
|
|
52361
|
-
"text": "boolean"
|
|
52362
|
-
},
|
|
52363
|
-
"privacy": "private",
|
|
52364
|
-
"default": "false"
|
|
52276
|
+
"description": "Divider and loading-track color used by the search panel. Defaults to `var(--esp-color-border)`.",
|
|
52277
|
+
"name": "--esp-search-border-color"
|
|
52365
52278
|
},
|
|
52366
52279
|
{
|
|
52367
|
-
"
|
|
52368
|
-
"name": "
|
|
52369
|
-
"type": {
|
|
52370
|
-
"text": "boolean"
|
|
52371
|
-
},
|
|
52372
|
-
"privacy": "private",
|
|
52373
|
-
"default": "false"
|
|
52280
|
+
"description": "Main text color used by the search UI. Defaults to `var(--esp-color-text)`.",
|
|
52281
|
+
"name": "--esp-search-text-color"
|
|
52374
52282
|
},
|
|
52375
52283
|
{
|
|
52376
|
-
"
|
|
52377
|
-
"name": "
|
|
52378
|
-
"type": {
|
|
52379
|
-
"text": "MediaQueryList | null"
|
|
52380
|
-
},
|
|
52381
|
-
"privacy": "private",
|
|
52382
|
-
"default": "null"
|
|
52284
|
+
"description": "Muted text color for placeholders, excerpts, and empty states.",
|
|
52285
|
+
"name": "--esp-search-muted-color"
|
|
52383
52286
|
},
|
|
52384
52287
|
{
|
|
52385
|
-
"
|
|
52386
|
-
"name": "
|
|
52387
|
-
"type": {
|
|
52388
|
-
"text": "string"
|
|
52389
|
-
},
|
|
52390
|
-
"privacy": "private",
|
|
52391
|
-
"default": "\"\""
|
|
52288
|
+
"description": "Title color for result rows. Defaults to `var(--esp-color-headings)`.",
|
|
52289
|
+
"name": "--esp-search-title-color"
|
|
52392
52290
|
},
|
|
52393
52291
|
{
|
|
52394
|
-
"
|
|
52395
|
-
"name": "
|
|
52396
|
-
"type": {
|
|
52397
|
-
"text": "EspalierTheme"
|
|
52398
|
-
},
|
|
52399
|
-
"privacy": "private",
|
|
52400
|
-
"default": "{ ...DEFAULT_LIGHT_THEME }"
|
|
52292
|
+
"description": "Background color of the active result row. Defaults to `var(--esp-color-layer-2)`.",
|
|
52293
|
+
"name": "--esp-search-active-background"
|
|
52401
52294
|
},
|
|
52402
52295
|
{
|
|
52403
|
-
"
|
|
52404
|
-
"name": "
|
|
52405
|
-
"type": {
|
|
52406
|
-
"text": "EspalierTheme"
|
|
52407
|
-
},
|
|
52408
|
-
"privacy": "private",
|
|
52409
|
-
"default": "{ ...DEFAULT_DARK_THEME }"
|
|
52296
|
+
"description": "Background color applied to `<mark>` highlights inside excerpts.",
|
|
52297
|
+
"name": "--esp-search-highlight-background"
|
|
52410
52298
|
},
|
|
52411
52299
|
{
|
|
52412
|
-
"
|
|
52413
|
-
"name": "
|
|
52414
|
-
"type": {
|
|
52415
|
-
"text": "boolean"
|
|
52416
|
-
},
|
|
52417
|
-
"privacy": "private",
|
|
52418
|
-
"default": "false"
|
|
52300
|
+
"description": "Accent color of the loading spinner. Defaults to `var(--esp-color-primary)`.",
|
|
52301
|
+
"name": "--esp-search-loading-indicator-color"
|
|
52419
52302
|
},
|
|
52420
52303
|
{
|
|
52421
|
-
"
|
|
52422
|
-
"name": "
|
|
52423
|
-
"type": {
|
|
52424
|
-
"text": "number"
|
|
52425
|
-
},
|
|
52426
|
-
"privacy": "private",
|
|
52427
|
-
"static": true,
|
|
52428
|
-
"default": "0"
|
|
52304
|
+
"description": "Track color of the loading spinner. Defaults to `var(--esp-search-border-color)`.",
|
|
52305
|
+
"name": "--esp-search-loading-indicator-track-color"
|
|
52429
52306
|
},
|
|
52430
52307
|
{
|
|
52431
|
-
"
|
|
52432
|
-
"name": "
|
|
52433
|
-
"
|
|
52434
|
-
|
|
52435
|
-
|
|
52308
|
+
"description": "Background color of the shared field shell. Defaults to `var(--esp-color-layer-2)`.",
|
|
52309
|
+
"name": "--esp-field-background",
|
|
52310
|
+
"inheritedFrom": {
|
|
52311
|
+
"name": "EspalierElementBase",
|
|
52312
|
+
"module": "dist/shared/esp-element-base.js"
|
|
52313
|
+
}
|
|
52436
52314
|
},
|
|
52437
52315
|
{
|
|
52438
|
-
"
|
|
52439
|
-
"name": "
|
|
52440
|
-
"
|
|
52441
|
-
|
|
52316
|
+
"description": "Border color of the shared field shell. Defaults to `var(--esp-color-border)`.",
|
|
52317
|
+
"name": "--esp-field-border-color",
|
|
52318
|
+
"inheritedFrom": {
|
|
52319
|
+
"name": "EspalierElementBase",
|
|
52320
|
+
"module": "dist/shared/esp-element-base.js"
|
|
52321
|
+
}
|
|
52442
52322
|
},
|
|
52443
52323
|
{
|
|
52444
|
-
"
|
|
52445
|
-
"name": "
|
|
52446
|
-
"
|
|
52447
|
-
|
|
52448
|
-
"
|
|
52449
|
-
|
|
52450
|
-
}
|
|
52451
|
-
},
|
|
52452
|
-
"parameters": [
|
|
52453
|
-
{
|
|
52454
|
-
"name": "event",
|
|
52455
|
-
"type": {
|
|
52456
|
-
"text": "K"
|
|
52457
|
-
},
|
|
52458
|
-
"description": "Root-scoped theme event to observe."
|
|
52459
|
-
},
|
|
52460
|
-
{
|
|
52461
|
-
"name": "handler",
|
|
52462
|
-
"type": {
|
|
52463
|
-
"text": "(payload: SchemeEvents[K]) => void"
|
|
52464
|
-
},
|
|
52465
|
-
"description": "Callback invoked with that event's typed payload."
|
|
52466
|
-
}
|
|
52467
|
-
],
|
|
52468
|
-
"description": "Subscribe to a theme event published by this root only.\n\nAll roots share Espalier's global bus. This method filters foreign and\nnested-root payloads by `correlationId` and returns a cleanup function.\nIt reports changes after mount; read initial state from this root."
|
|
52324
|
+
"description": "Border width of the shared field shell. Defaults to `1px`.",
|
|
52325
|
+
"name": "--esp-field-border-width",
|
|
52326
|
+
"inheritedFrom": {
|
|
52327
|
+
"name": "EspalierElementBase",
|
|
52328
|
+
"module": "dist/shared/esp-element-base.js"
|
|
52329
|
+
}
|
|
52469
52330
|
},
|
|
52470
52331
|
{
|
|
52471
|
-
"
|
|
52472
|
-
"name": "
|
|
52473
|
-
"
|
|
52474
|
-
"
|
|
52475
|
-
|
|
52476
|
-
|
|
52477
|
-
|
|
52478
|
-
|
|
52479
|
-
"
|
|
52332
|
+
"description": "Text color used inside the shared field shell. Defaults to `var(--esp-color-text)`.",
|
|
52333
|
+
"name": "--esp-field-text-color",
|
|
52334
|
+
"inheritedFrom": {
|
|
52335
|
+
"name": "EspalierElementBase",
|
|
52336
|
+
"module": "dist/shared/esp-element-base.js"
|
|
52337
|
+
}
|
|
52338
|
+
},
|
|
52339
|
+
{
|
|
52340
|
+
"description": "Hover background color of the shared field shell. Derived from `--esp-field-background`.",
|
|
52341
|
+
"name": "--esp-field-hover-bg",
|
|
52342
|
+
"inheritedFrom": {
|
|
52343
|
+
"name": "EspalierElementBase",
|
|
52344
|
+
"module": "dist/shared/esp-element-base.js"
|
|
52345
|
+
}
|
|
52346
|
+
},
|
|
52347
|
+
{
|
|
52348
|
+
"description": "Focus background color of the shared field shell. Derived from `--esp-field-background`.",
|
|
52349
|
+
"name": "--esp-field-focus-bg",
|
|
52350
|
+
"inheritedFrom": {
|
|
52351
|
+
"name": "EspalierElementBase",
|
|
52352
|
+
"module": "dist/shared/esp-element-base.js"
|
|
52353
|
+
}
|
|
52480
52354
|
},
|
|
52355
|
+
{
|
|
52356
|
+
"description": "Shadow color used for shared field focus treatment. Defaults to `var(--esp-color-shadow)`.",
|
|
52357
|
+
"name": "--esp-field-focus-shadow",
|
|
52358
|
+
"inheritedFrom": {
|
|
52359
|
+
"name": "EspalierElementBase",
|
|
52360
|
+
"module": "dist/shared/esp-element-base.js"
|
|
52361
|
+
}
|
|
52362
|
+
}
|
|
52363
|
+
],
|
|
52364
|
+
"members": [
|
|
52481
52365
|
{
|
|
52482
52366
|
"kind": "field",
|
|
52483
|
-
"name": "
|
|
52367
|
+
"name": "placeholder",
|
|
52484
52368
|
"type": {
|
|
52485
52369
|
"text": "string"
|
|
52486
52370
|
},
|
|
52487
|
-
"
|
|
52488
|
-
"
|
|
52489
|
-
"
|
|
52490
|
-
"attribute": "dark-theme"
|
|
52371
|
+
"default": "\"Search\\u2026\"",
|
|
52372
|
+
"description": "Placeholder text for the search input.",
|
|
52373
|
+
"attribute": "placeholder"
|
|
52491
52374
|
},
|
|
52492
52375
|
{
|
|
52493
52376
|
"kind": "field",
|
|
52494
|
-
"name": "
|
|
52377
|
+
"name": "isOpen",
|
|
52495
52378
|
"type": {
|
|
52496
|
-
"text": "
|
|
52379
|
+
"text": "boolean"
|
|
52497
52380
|
},
|
|
52498
|
-
"privacy": "
|
|
52499
|
-
"default": "
|
|
52500
|
-
"description": "Root path for locally-cached font CSS files used by\n`<esp-font-picker>` to load font previews.\n\nThe directory must contain the individual font CSS files\ngenerated by `npm run build-fonts`. These files must be\nserved at stable, predictable paths (no filename hashing)\nbecause the picker constructs URLs by font family name.",
|
|
52501
|
-
"attribute": "font-css-root"
|
|
52381
|
+
"privacy": "private",
|
|
52382
|
+
"default": "false"
|
|
52502
52383
|
},
|
|
52503
52384
|
{
|
|
52504
52385
|
"kind": "field",
|
|
52505
|
-
"name": "
|
|
52386
|
+
"name": "results",
|
|
52506
52387
|
"type": {
|
|
52507
|
-
"text": "
|
|
52388
|
+
"text": "SearchResult[]"
|
|
52508
52389
|
},
|
|
52509
|
-
"privacy": "
|
|
52510
|
-
"default": "
|
|
52511
|
-
"description": "Full URL to the `font-definitions.json` catalog used by\n`<esp-font-picker>`.\n\nWhen set, the picker fetches from this URL instead of\n`{fontCSSRoot}font-definitions.json`. This allows the JSON\nto be served through a cache-busting asset pipeline while\nthe individual font CSS files remain at stable paths.",
|
|
52512
|
-
"attribute": "font-definitions-url"
|
|
52390
|
+
"privacy": "private",
|
|
52391
|
+
"default": "[]"
|
|
52513
52392
|
},
|
|
52514
52393
|
{
|
|
52515
52394
|
"kind": "field",
|
|
52516
|
-
"name": "
|
|
52395
|
+
"name": "loading",
|
|
52517
52396
|
"type": {
|
|
52518
|
-
"text": "
|
|
52397
|
+
"text": "boolean"
|
|
52519
52398
|
},
|
|
52520
|
-
"privacy": "
|
|
52521
|
-
"default": "
|
|
52522
|
-
"description": "Controls whether Espalier may inject runtime Google Fonts CDN\nstylesheet links for selected Google Fonts.\n\n`auto` preserves the default behavior: theme font families and\nselected Google font-picker values may load full fonts from\n`fonts.googleapis.com`. `none` prevents those runtime Google\nFonts links, leaving local preview CSS and web-safe font stacks\navailable for locked-down, offline, or strict-CSP environments.",
|
|
52523
|
-
"attribute": "google-font-loading"
|
|
52399
|
+
"privacy": "private",
|
|
52400
|
+
"default": "false"
|
|
52524
52401
|
},
|
|
52525
52402
|
{
|
|
52526
52403
|
"kind": "field",
|
|
52527
|
-
"name": "
|
|
52404
|
+
"name": "query",
|
|
52528
52405
|
"type": {
|
|
52529
52406
|
"text": "string"
|
|
52530
52407
|
},
|
|
52531
|
-
"privacy": "
|
|
52532
|
-
"default": "\"
|
|
52533
|
-
"description": "Full URL to the SVG sprite used by component-owned `icon`\nattributes.\n\nComponents append the validated icon name as a fragment, so\nthis should point to the sprite file itself, without `#icon`.\nUse this when your application serves the sprite from a\nsubpath, CDN, or cache-busted asset pipeline. Set it to an\nempty string to disable generated sprite icon URLs for this root.\n\n```html\n<esp-root icon-sprite-url=\"/dist/icons.abc123.svg\">\n <esp-button icon=\"save\" label=\"Save\"></esp-button>\n</esp-root>\n```",
|
|
52534
|
-
"attribute": "icon-sprite-url"
|
|
52408
|
+
"privacy": "private",
|
|
52409
|
+
"default": "\"\""
|
|
52535
52410
|
},
|
|
52536
52411
|
{
|
|
52537
52412
|
"kind": "field",
|
|
52538
|
-
"name": "
|
|
52413
|
+
"name": "activeIndex",
|
|
52539
52414
|
"type": {
|
|
52540
|
-
"text": "
|
|
52415
|
+
"text": "number"
|
|
52541
52416
|
},
|
|
52542
|
-
"privacy": "
|
|
52543
|
-
"default": "
|
|
52544
|
-
"description": "Initial color scheme to apply when `scheme` is not set.\n\nUse `light` or `dark` for a fixed published-site default, or\n`system` to follow the visitor's `prefers-color-scheme` before\nthey toggle the active `scheme`.",
|
|
52545
|
-
"attribute": "default-scheme",
|
|
52546
|
-
"reflects": true
|
|
52417
|
+
"privacy": "private",
|
|
52418
|
+
"default": "-1"
|
|
52547
52419
|
},
|
|
52548
52420
|
{
|
|
52549
52421
|
"kind": "field",
|
|
52550
|
-
"name": "
|
|
52551
|
-
"
|
|
52552
|
-
"text": "\"dark\" | \"light\""
|
|
52553
|
-
},
|
|
52554
|
-
"privacy": "public",
|
|
52555
|
-
"description": "The active color scheme.\n\nLight scheme\n\n```html\n<esp-root scheme=\"light\">\n <esp-box>\n <h2>Light Scheme</h2>\n <esp-button label=\"I am light\"></esp-button>\n </esp-box>\n</esp-root>\n```\n\nDark scheme\n\n```html\n<esp-root scheme=\"dark\">\n <esp-box>\n <h2>Dark Scheme</h2>\n <esp-button label=\"I am dark\"></esp-button>\n </esp-box>\n</esp-root>\n```",
|
|
52556
|
-
"default": "\"light\"",
|
|
52557
|
-
"attribute": "scheme",
|
|
52558
|
-
"reflects": true
|
|
52422
|
+
"name": "vellumRef",
|
|
52423
|
+
"privacy": "private"
|
|
52559
52424
|
},
|
|
52560
52425
|
{
|
|
52561
52426
|
"kind": "field",
|
|
52562
|
-
"name": "
|
|
52563
|
-
"
|
|
52564
|
-
|
|
52427
|
+
"name": "inputRef",
|
|
52428
|
+
"privacy": "private"
|
|
52429
|
+
},
|
|
52430
|
+
{
|
|
52431
|
+
"kind": "field",
|
|
52432
|
+
"name": "resultsRef",
|
|
52433
|
+
"privacy": "private"
|
|
52434
|
+
},
|
|
52435
|
+
{
|
|
52436
|
+
"kind": "field",
|
|
52437
|
+
"name": "idPrefix",
|
|
52438
|
+
"privacy": "private",
|
|
52439
|
+
"readonly": true,
|
|
52440
|
+
"default": "`esp-search-${this.correlationId}`",
|
|
52441
|
+
"description": "Per-instance ID prefix for ARIA id attributes (listbox + options)."
|
|
52442
|
+
},
|
|
52443
|
+
{
|
|
52444
|
+
"kind": "field",
|
|
52445
|
+
"name": "_overlay",
|
|
52446
|
+
"privacy": "private",
|
|
52447
|
+
"default": "new OverlayController({ host: this, getFocusTrapContainer: () => this.vellumRef.value ?? null, getFocusFallback: () => this.inputRef.value ?? null, })"
|
|
52448
|
+
},
|
|
52449
|
+
{
|
|
52450
|
+
"kind": "method",
|
|
52451
|
+
"name": "show",
|
|
52452
|
+
"privacy": "public",
|
|
52453
|
+
"return": {
|
|
52454
|
+
"type": {
|
|
52455
|
+
"text": "void"
|
|
52456
|
+
}
|
|
52565
52457
|
},
|
|
52458
|
+
"description": "Open the search overlay and focus the input."
|
|
52459
|
+
},
|
|
52460
|
+
{
|
|
52461
|
+
"kind": "method",
|
|
52462
|
+
"name": "hide",
|
|
52566
52463
|
"privacy": "public",
|
|
52567
|
-
"
|
|
52568
|
-
|
|
52464
|
+
"return": {
|
|
52465
|
+
"type": {
|
|
52466
|
+
"text": "void"
|
|
52467
|
+
}
|
|
52468
|
+
},
|
|
52469
|
+
"description": "Close the search overlay and restore focus."
|
|
52569
52470
|
},
|
|
52570
52471
|
{
|
|
52571
52472
|
"kind": "method",
|
|
52572
|
-
"name": "
|
|
52573
|
-
"privacy": "
|
|
52574
|
-
"static": true,
|
|
52473
|
+
"name": "setResults",
|
|
52474
|
+
"privacy": "public",
|
|
52575
52475
|
"return": {
|
|
52576
52476
|
"type": {
|
|
52577
|
-
"text": "
|
|
52477
|
+
"text": "void"
|
|
52578
52478
|
}
|
|
52579
52479
|
},
|
|
52580
52480
|
"parameters": [
|
|
52581
52481
|
{
|
|
52582
|
-
"name": "
|
|
52482
|
+
"name": "results",
|
|
52583
52483
|
"type": {
|
|
52584
|
-
"text": "
|
|
52484
|
+
"text": "SearchResult[]"
|
|
52585
52485
|
}
|
|
52586
52486
|
}
|
|
52587
52487
|
],
|
|
52588
|
-
"description": "
|
|
52488
|
+
"description": "Update the displayed search results."
|
|
52589
52489
|
},
|
|
52590
52490
|
{
|
|
52591
52491
|
"kind": "method",
|
|
52592
|
-
"name": "
|
|
52593
|
-
"privacy": "
|
|
52492
|
+
"name": "setLoading",
|
|
52493
|
+
"privacy": "public",
|
|
52594
52494
|
"return": {
|
|
52595
52495
|
"type": {
|
|
52596
52496
|
"text": "void"
|
|
@@ -52598,88 +52498,89 @@
|
|
|
52598
52498
|
},
|
|
52599
52499
|
"parameters": [
|
|
52600
52500
|
{
|
|
52601
|
-
"name": "
|
|
52602
|
-
"type": {
|
|
52603
|
-
"text": "\"body\" | \"headings\" | \"brand\" | \"monospace\""
|
|
52604
|
-
}
|
|
52605
|
-
},
|
|
52606
|
-
{
|
|
52607
|
-
"name": "family",
|
|
52501
|
+
"name": "loading",
|
|
52608
52502
|
"type": {
|
|
52609
|
-
"text": "
|
|
52610
|
-
}
|
|
52611
|
-
},
|
|
52612
|
-
{
|
|
52613
|
-
"name": "weight",
|
|
52614
|
-
"optional": true,
|
|
52615
|
-
"type": {
|
|
52616
|
-
"text": "string"
|
|
52503
|
+
"text": "boolean"
|
|
52617
52504
|
}
|
|
52618
52505
|
}
|
|
52619
52506
|
],
|
|
52620
|
-
"description": "
|
|
52507
|
+
"description": "Show or hide the loading indicator."
|
|
52621
52508
|
},
|
|
52622
52509
|
{
|
|
52623
52510
|
"kind": "method",
|
|
52624
|
-
"name": "
|
|
52511
|
+
"name": "handleInput",
|
|
52625
52512
|
"privacy": "private",
|
|
52626
52513
|
"return": {
|
|
52627
52514
|
"type": {
|
|
52628
52515
|
"text": "void"
|
|
52629
52516
|
}
|
|
52630
52517
|
},
|
|
52631
|
-
"
|
|
52518
|
+
"parameters": [
|
|
52519
|
+
{
|
|
52520
|
+
"name": "e",
|
|
52521
|
+
"type": {
|
|
52522
|
+
"text": "Event"
|
|
52523
|
+
}
|
|
52524
|
+
}
|
|
52525
|
+
]
|
|
52632
52526
|
},
|
|
52633
52527
|
{
|
|
52634
52528
|
"kind": "method",
|
|
52635
|
-
"name": "
|
|
52529
|
+
"name": "selectResult",
|
|
52636
52530
|
"privacy": "private",
|
|
52637
52531
|
"return": {
|
|
52638
52532
|
"type": {
|
|
52639
52533
|
"text": "void"
|
|
52640
52534
|
}
|
|
52641
|
-
}
|
|
52642
|
-
},
|
|
52643
|
-
{
|
|
52644
|
-
"kind": "field",
|
|
52645
|
-
"name": "activeTheme",
|
|
52646
|
-
"type": {
|
|
52647
|
-
"text": "EspalierTheme"
|
|
52648
52535
|
},
|
|
52649
|
-
"
|
|
52650
|
-
|
|
52651
|
-
|
|
52536
|
+
"parameters": [
|
|
52537
|
+
{
|
|
52538
|
+
"name": "result",
|
|
52539
|
+
"type": {
|
|
52540
|
+
"text": "SearchResult"
|
|
52541
|
+
}
|
|
52542
|
+
}
|
|
52543
|
+
]
|
|
52652
52544
|
},
|
|
52653
52545
|
{
|
|
52654
52546
|
"kind": "method",
|
|
52655
|
-
"name": "
|
|
52547
|
+
"name": "handleKeyDown",
|
|
52656
52548
|
"privacy": "private",
|
|
52657
52549
|
"return": {
|
|
52658
52550
|
"type": {
|
|
52659
52551
|
"text": "void"
|
|
52660
52552
|
}
|
|
52661
52553
|
},
|
|
52662
|
-
"
|
|
52663
|
-
|
|
52664
|
-
|
|
52665
|
-
|
|
52666
|
-
|
|
52667
|
-
|
|
52668
|
-
|
|
52554
|
+
"parameters": [
|
|
52555
|
+
{
|
|
52556
|
+
"name": "ev",
|
|
52557
|
+
"type": {
|
|
52558
|
+
"text": "KeyboardEvent"
|
|
52559
|
+
}
|
|
52560
|
+
}
|
|
52561
|
+
]
|
|
52669
52562
|
},
|
|
52670
52563
|
{
|
|
52671
52564
|
"kind": "method",
|
|
52672
|
-
"name": "
|
|
52565
|
+
"name": "handleBackdropClick",
|
|
52673
52566
|
"privacy": "private",
|
|
52674
52567
|
"return": {
|
|
52675
52568
|
"type": {
|
|
52676
52569
|
"text": "void"
|
|
52677
52570
|
}
|
|
52678
|
-
}
|
|
52571
|
+
},
|
|
52572
|
+
"parameters": [
|
|
52573
|
+
{
|
|
52574
|
+
"name": "ev",
|
|
52575
|
+
"type": {
|
|
52576
|
+
"text": "MouseEvent"
|
|
52577
|
+
}
|
|
52578
|
+
}
|
|
52579
|
+
]
|
|
52679
52580
|
},
|
|
52680
52581
|
{
|
|
52681
52582
|
"kind": "method",
|
|
52682
|
-
"name": "
|
|
52583
|
+
"name": "scrollActiveIntoView",
|
|
52683
52584
|
"privacy": "private",
|
|
52684
52585
|
"return": {
|
|
52685
52586
|
"type": {
|
|
@@ -52688,479 +52589,500 @@
|
|
|
52688
52589
|
}
|
|
52689
52590
|
},
|
|
52690
52591
|
{
|
|
52691
|
-
"kind": "
|
|
52692
|
-
"name": "
|
|
52592
|
+
"kind": "field",
|
|
52593
|
+
"name": "hasListbox",
|
|
52594
|
+
"type": {
|
|
52595
|
+
"text": "boolean"
|
|
52596
|
+
},
|
|
52693
52597
|
"privacy": "private",
|
|
52694
|
-
"
|
|
52695
|
-
|
|
52696
|
-
"text": "void"
|
|
52697
|
-
}
|
|
52698
|
-
}
|
|
52598
|
+
"description": "Whether the listbox is currently rendered in the DOM.",
|
|
52599
|
+
"readonly": true
|
|
52699
52600
|
},
|
|
52700
52601
|
{
|
|
52701
|
-
"kind": "
|
|
52702
|
-
"name": "
|
|
52602
|
+
"kind": "field",
|
|
52603
|
+
"name": "listboxId",
|
|
52604
|
+
"type": {
|
|
52605
|
+
"text": "string"
|
|
52606
|
+
},
|
|
52703
52607
|
"privacy": "private",
|
|
52704
|
-
"
|
|
52705
|
-
"type": {
|
|
52706
|
-
"text": "\"light\" | \"dark\""
|
|
52707
|
-
}
|
|
52708
|
-
}
|
|
52608
|
+
"readonly": true
|
|
52709
52609
|
},
|
|
52710
52610
|
{
|
|
52711
52611
|
"kind": "method",
|
|
52712
|
-
"name": "
|
|
52612
|
+
"name": "optionId",
|
|
52713
52613
|
"privacy": "private",
|
|
52714
52614
|
"return": {
|
|
52715
52615
|
"type": {
|
|
52716
|
-
"text": "
|
|
52616
|
+
"text": "string"
|
|
52717
52617
|
}
|
|
52718
|
-
}
|
|
52618
|
+
},
|
|
52619
|
+
"parameters": [
|
|
52620
|
+
{
|
|
52621
|
+
"name": "index",
|
|
52622
|
+
"type": {
|
|
52623
|
+
"text": "number"
|
|
52624
|
+
}
|
|
52625
|
+
}
|
|
52626
|
+
]
|
|
52719
52627
|
},
|
|
52720
52628
|
{
|
|
52721
|
-
"kind": "
|
|
52722
|
-
"name": "
|
|
52629
|
+
"kind": "method",
|
|
52630
|
+
"name": "renderResults",
|
|
52723
52631
|
"privacy": "private"
|
|
52724
52632
|
},
|
|
52725
52633
|
{
|
|
52726
52634
|
"kind": "field",
|
|
52727
|
-
"name": "
|
|
52728
|
-
"static": true,
|
|
52729
|
-
"default": "` /* ── Base typography ──────────────────────────────────── */ esp-root { font-family: var(--esp-font-body); font-weight: var(--esp-font-weight-body); line-height: 1.5; font-size: var(--esp-type-normal); color: var(--esp-color-text); } /* ── Lists ────────────────────────────────────────────── */ esp-root ul[role=\"list\"], esp-root ol[role=\"list\"] { list-style: none; } esp-root ul li::marker, esp-root ol li::marker { font-weight: bold; } /* ── Form controls ────────────────────────────────────── */ esp-root input, esp-root select, esp-root button { font-family: var(--esp-font-body); } /* ── Links ────────────────────────────────────────────── */ esp-root a:not([class]) { text-decoration-skip-ink: auto; font-weight: bold; color: var(--esp-color-link); } esp-root a { text-decoration: underline; text-decoration-skip-ink: auto; color: var(--esp-color-link); } esp-root a:hover { background-color: var(--esp-color-link-hover-bg); color: var(--esp-color-link-hover); text-decoration: none; } /* ── Inherited text styles ────────────────────────────── */ esp-root input, esp-root button, esp-root textarea, esp-root select, esp-root p, esp-root ul, esp-root li { font-family: var(--esp-font-body); color: var(--esp-color-text); font-size: inherit; } esp-root textarea:not([rows]) { min-height: 10em; } /* ── Headings ─────────────────────────────────────────── */ esp-root h1, esp-root h2, esp-root h3, esp-root h4, esp-root h5 { font-family: var(--esp-font-headings); font-weight: var(--esp-font-weight-headings); color: var(--esp-color-headings); margin: var(--esp-size-small-to-normal) 0 var(--esp-size-tiny-to-small); } esp-root h5 { font-size: var(--esp-type-small); line-height: 1.4; } esp-root h4 { font-size: var(--esp-type-medium); line-height: 1.3; } esp-root h3 { font-size: var(--esp-type-big); line-height: 1.2; } esp-root h2 { font-size: var(--esp-type-large); line-height: 1.15; } esp-root h1 { font-size: var(--esp-type-huge); line-height: 1.1; } /* ── Code / Pre ───────────────────────────────────────── */ esp-root pre, esp-root code { font-family: var(--esp-font-monospace); font-weight: var(--esp-font-weight-monospace); } esp-root code { font-size: var(--esp-type-small); background: var(--esp-color-layer-1); border-radius: var(--esp-size-border-radius); padding: 0 0.35em; display: inline-block; border: 1px dotted var(--esp-color-border); } esp-root pre { background-color: var(--esp-color-layer-1); border-radius: var(--esp-size-border-radius); border: 1px dotted var(--esp-color-border); } esp-root pre > code { font-size: var(--esp-type-tiny); display: block; background: none; border: none; hyphens: none; tab-size: 2; white-space: pre; padding: var(--esp-size-padding); overflow: auto; line-height: 1.8; } /* ── Images ────────────────────────────────────────────── */ esp-root img, esp-root picture { max-width: 100%; display: block; } `",
|
|
52730
|
-
"description": "Light-DOM styles injected into `document.head` so that\nslotted content (headings, links, code blocks, lists, etc.)\ninherits the design-system tokens defined on `:host`.\nSelectors are scoped to `esp-root` descendants to avoid\nleaking into content outside the root."
|
|
52731
|
-
}
|
|
52732
|
-
],
|
|
52733
|
-
"attributes": [
|
|
52734
|
-
{
|
|
52735
|
-
"name": "light-theme",
|
|
52635
|
+
"name": "seedColorBacker",
|
|
52736
52636
|
"type": {
|
|
52737
52637
|
"text": "string"
|
|
52738
52638
|
},
|
|
52739
|
-
"
|
|
52740
|
-
"
|
|
52741
|
-
"
|
|
52639
|
+
"privacy": "private",
|
|
52640
|
+
"default": "\"oklch(0.7 0.125 216)\"",
|
|
52641
|
+
"inheritedFrom": {
|
|
52642
|
+
"name": "EspalierElementBase",
|
|
52643
|
+
"module": "dist/shared/esp-element-base.js"
|
|
52644
|
+
}
|
|
52742
52645
|
},
|
|
52743
52646
|
{
|
|
52744
|
-
"
|
|
52647
|
+
"kind": "field",
|
|
52648
|
+
"name": "espRoot",
|
|
52745
52649
|
"type": {
|
|
52746
|
-
"text": "
|
|
52650
|
+
"text": "EspalierRoot | null"
|
|
52747
52651
|
},
|
|
52748
|
-
"
|
|
52749
|
-
"
|
|
52750
|
-
"
|
|
52652
|
+
"privacy": "private",
|
|
52653
|
+
"default": "null",
|
|
52654
|
+
"inheritedFrom": {
|
|
52655
|
+
"name": "EspalierElementBase",
|
|
52656
|
+
"module": "dist/shared/esp-element-base.js"
|
|
52657
|
+
}
|
|
52751
52658
|
},
|
|
52752
52659
|
{
|
|
52753
|
-
"
|
|
52660
|
+
"kind": "field",
|
|
52661
|
+
"name": "variantTokenOriginalValues",
|
|
52662
|
+
"privacy": "private",
|
|
52663
|
+
"readonly": true,
|
|
52664
|
+
"default": "new Map< string, { generatedPriority: string; generatedValue: string; originalPriority: string; originalValue: string | null; } >()",
|
|
52665
|
+
"inheritedFrom": {
|
|
52666
|
+
"name": "EspalierElementBase",
|
|
52667
|
+
"module": "dist/shared/esp-element-base.js"
|
|
52668
|
+
}
|
|
52669
|
+
},
|
|
52670
|
+
{
|
|
52671
|
+
"kind": "field",
|
|
52672
|
+
"name": "rootEventSubscriptionsActive",
|
|
52754
52673
|
"type": {
|
|
52755
|
-
"text": "
|
|
52674
|
+
"text": "boolean"
|
|
52756
52675
|
},
|
|
52757
|
-
"
|
|
52758
|
-
"
|
|
52759
|
-
"
|
|
52676
|
+
"privacy": "private",
|
|
52677
|
+
"default": "false",
|
|
52678
|
+
"inheritedFrom": {
|
|
52679
|
+
"name": "EspalierElementBase",
|
|
52680
|
+
"module": "dist/shared/esp-element-base.js"
|
|
52681
|
+
}
|
|
52760
52682
|
},
|
|
52761
52683
|
{
|
|
52762
|
-
"
|
|
52684
|
+
"kind": "field",
|
|
52685
|
+
"name": "subscribedRoot",
|
|
52763
52686
|
"type": {
|
|
52764
|
-
"text": "
|
|
52687
|
+
"text": "EspalierRoot | null"
|
|
52765
52688
|
},
|
|
52766
|
-
"
|
|
52767
|
-
"
|
|
52768
|
-
"
|
|
52689
|
+
"privacy": "private",
|
|
52690
|
+
"default": "null",
|
|
52691
|
+
"inheritedFrom": {
|
|
52692
|
+
"name": "EspalierElementBase",
|
|
52693
|
+
"module": "dist/shared/esp-element-base.js"
|
|
52694
|
+
}
|
|
52769
52695
|
},
|
|
52770
52696
|
{
|
|
52771
|
-
"
|
|
52697
|
+
"kind": "field",
|
|
52698
|
+
"name": "rootEventUnsubscribers",
|
|
52772
52699
|
"type": {
|
|
52773
|
-
"text": "
|
|
52700
|
+
"text": "Array<() => void>"
|
|
52774
52701
|
},
|
|
52775
|
-
"
|
|
52776
|
-
"
|
|
52777
|
-
"
|
|
52702
|
+
"privacy": "private",
|
|
52703
|
+
"default": "[]",
|
|
52704
|
+
"inheritedFrom": {
|
|
52705
|
+
"name": "EspalierElementBase",
|
|
52706
|
+
"module": "dist/shared/esp-element-base.js"
|
|
52707
|
+
}
|
|
52778
52708
|
},
|
|
52779
52709
|
{
|
|
52780
|
-
"
|
|
52710
|
+
"kind": "field",
|
|
52711
|
+
"name": "variantBacker",
|
|
52781
52712
|
"type": {
|
|
52782
|
-
"text": "
|
|
52713
|
+
"text": "EspalierVariant"
|
|
52783
52714
|
},
|
|
52784
|
-
"
|
|
52785
|
-
"
|
|
52786
|
-
"
|
|
52715
|
+
"privacy": "protected",
|
|
52716
|
+
"default": "\"primary\"",
|
|
52717
|
+
"inheritedFrom": {
|
|
52718
|
+
"name": "EspalierElementBase",
|
|
52719
|
+
"module": "dist/shared/esp-element-base.js"
|
|
52720
|
+
}
|
|
52787
52721
|
},
|
|
52788
52722
|
{
|
|
52789
|
-
"
|
|
52723
|
+
"kind": "field",
|
|
52724
|
+
"name": "seedColor",
|
|
52790
52725
|
"type": {
|
|
52791
|
-
"text": "
|
|
52726
|
+
"text": "string"
|
|
52792
52727
|
},
|
|
52793
|
-
"
|
|
52794
|
-
"
|
|
52795
|
-
|
|
52728
|
+
"privacy": "public",
|
|
52729
|
+
"inheritedFrom": {
|
|
52730
|
+
"name": "EspalierElementBase",
|
|
52731
|
+
"module": "dist/shared/esp-element-base.js"
|
|
52732
|
+
}
|
|
52796
52733
|
},
|
|
52797
52734
|
{
|
|
52798
|
-
"
|
|
52799
|
-
"
|
|
52800
|
-
|
|
52735
|
+
"kind": "field",
|
|
52736
|
+
"name": "correlationId",
|
|
52737
|
+
"privacy": "public",
|
|
52738
|
+
"inheritedFrom": {
|
|
52739
|
+
"name": "EspalierElementBase",
|
|
52740
|
+
"module": "dist/shared/esp-element-base.js"
|
|
52741
|
+
}
|
|
52742
|
+
},
|
|
52743
|
+
{
|
|
52744
|
+
"kind": "method",
|
|
52745
|
+
"name": "focusResolvedElementAfterUpdate",
|
|
52746
|
+
"privacy": "protected",
|
|
52747
|
+
"return": {
|
|
52748
|
+
"type": {
|
|
52749
|
+
"text": "void"
|
|
52750
|
+
}
|
|
52801
52751
|
},
|
|
52802
|
-
"
|
|
52803
|
-
|
|
52804
|
-
|
|
52805
|
-
|
|
52806
|
-
|
|
52807
|
-
|
|
52808
|
-
|
|
52809
|
-
|
|
52810
|
-
|
|
52811
|
-
|
|
52812
|
-
|
|
52813
|
-
|
|
52814
|
-
|
|
52815
|
-
|
|
52816
|
-
|
|
52817
|
-
"docUrl": {
|
|
52818
|
-
"name": "/components/root",
|
|
52819
|
-
"description": ""
|
|
52820
|
-
},
|
|
52821
|
-
"menuGroup": {
|
|
52822
|
-
"name": "Structure",
|
|
52823
|
-
"description": ""
|
|
52824
|
-
},
|
|
52825
|
-
"menuOrder": {
|
|
52826
|
-
"name": "1",
|
|
52827
|
-
"description": ""
|
|
52828
|
-
},
|
|
52829
|
-
"menuLabel": {
|
|
52830
|
-
"name": "Root",
|
|
52831
|
-
"description": ""
|
|
52832
|
-
},
|
|
52833
|
-
"menuIcon": {
|
|
52834
|
-
"name": "building",
|
|
52835
|
-
"description": ""
|
|
52836
|
-
}
|
|
52837
|
-
}
|
|
52838
|
-
],
|
|
52839
|
-
"exports": [
|
|
52840
|
-
{
|
|
52841
|
-
"kind": "js",
|
|
52842
|
-
"name": "registerImageTexture",
|
|
52843
|
-
"declaration": {
|
|
52844
|
-
"name": "registerImageTexture",
|
|
52845
|
-
"module": "../shared/image-texture-registry.js"
|
|
52846
|
-
}
|
|
52847
|
-
},
|
|
52848
|
-
{
|
|
52849
|
-
"kind": "js",
|
|
52850
|
-
"name": "registeredImageTextures",
|
|
52851
|
-
"declaration": {
|
|
52852
|
-
"name": "registeredImageTextures",
|
|
52853
|
-
"module": "../shared/image-texture-registry.js"
|
|
52854
|
-
}
|
|
52855
|
-
},
|
|
52856
|
-
{
|
|
52857
|
-
"kind": "js",
|
|
52858
|
-
"name": "BUILT_IN_IMAGE_TEXTURES",
|
|
52859
|
-
"declaration": {
|
|
52860
|
-
"name": "BUILT_IN_IMAGE_TEXTURES",
|
|
52861
|
-
"module": "../shared/image-texture-registry.js"
|
|
52862
|
-
}
|
|
52863
|
-
},
|
|
52864
|
-
{
|
|
52865
|
-
"kind": "js",
|
|
52866
|
-
"name": "ImageTextureDefinition",
|
|
52867
|
-
"declaration": {
|
|
52868
|
-
"name": "ImageTextureDefinition",
|
|
52869
|
-
"module": "../shared/image-texture-registry.js"
|
|
52870
|
-
}
|
|
52871
|
-
},
|
|
52872
|
-
{
|
|
52873
|
-
"kind": "js",
|
|
52874
|
-
"name": "SchemeEvents",
|
|
52875
|
-
"declaration": {
|
|
52876
|
-
"name": "SchemeEvents",
|
|
52877
|
-
"module": "../shared/bus-events.js"
|
|
52878
|
-
}
|
|
52879
|
-
},
|
|
52880
|
-
{
|
|
52881
|
-
"kind": "js",
|
|
52882
|
-
"name": "EspalierRoot",
|
|
52883
|
-
"declaration": {
|
|
52884
|
-
"name": "EspalierRoot",
|
|
52885
|
-
"module": "dist/root/esp-root.js"
|
|
52886
|
-
}
|
|
52887
|
-
},
|
|
52888
|
-
{
|
|
52889
|
-
"kind": "custom-element-definition",
|
|
52890
|
-
"name": "esp-root",
|
|
52891
|
-
"declaration": {
|
|
52892
|
-
"name": "EspalierRoot",
|
|
52893
|
-
"module": "dist/root/esp-root.js"
|
|
52894
|
-
}
|
|
52895
|
-
}
|
|
52896
|
-
]
|
|
52897
|
-
},
|
|
52898
|
-
{
|
|
52899
|
-
"kind": "javascript-module",
|
|
52900
|
-
"path": "dist/search/esp-search.js",
|
|
52901
|
-
"declarations": [
|
|
52902
|
-
{
|
|
52903
|
-
"kind": "class",
|
|
52904
|
-
"description": "Modal search overlay with a Cmd+K / Ctrl+K interaction pattern.\n\n`<esp-search>` is a pure UI shell with no search-engine dependency.\nConsumers wire it to any search backend (Pagefind, MiniSearch, API,\netc.) by listening for `search-requested` events and calling\n`setResults()` with the matches.",
|
|
52905
|
-
"name": "EspalierSearch",
|
|
52906
|
-
"cssProperties": [
|
|
52907
|
-
{
|
|
52908
|
-
"description": "Maximum width of the search panel. Defaults to `40rem`.",
|
|
52909
|
-
"name": "--esp-search-max-width"
|
|
52910
|
-
},
|
|
52911
|
-
{
|
|
52912
|
-
"description": "Maximum height of the results list. Defaults to `60vh`.",
|
|
52913
|
-
"name": "--esp-search-max-height"
|
|
52914
|
-
},
|
|
52915
|
-
{
|
|
52916
|
-
"description": "Backdrop color behind the panel. Defaults to `oklch(0.15 0 0 / 0.6)`.",
|
|
52917
|
-
"name": "--esp-search-backdrop"
|
|
52918
|
-
},
|
|
52919
|
-
{
|
|
52920
|
-
"description": "Background color of the search panel. Defaults to `var(--esp-color-layer-1)`.",
|
|
52921
|
-
"name": "--esp-search-panel-background"
|
|
52922
|
-
},
|
|
52923
|
-
{
|
|
52924
|
-
"description": "Box shadow of the search panel.",
|
|
52925
|
-
"name": "--esp-search-panel-shadow"
|
|
52926
|
-
},
|
|
52927
|
-
{
|
|
52928
|
-
"description": "Divider and loading-track color used by the search panel. Defaults to `var(--esp-color-border)`.",
|
|
52929
|
-
"name": "--esp-search-border-color"
|
|
52930
|
-
},
|
|
52931
|
-
{
|
|
52932
|
-
"description": "Main text color used by the search UI. Defaults to `var(--esp-color-text)`.",
|
|
52933
|
-
"name": "--esp-search-text-color"
|
|
52934
|
-
},
|
|
52935
|
-
{
|
|
52936
|
-
"description": "Muted text color for placeholders, excerpts, and empty states.",
|
|
52937
|
-
"name": "--esp-search-muted-color"
|
|
52938
|
-
},
|
|
52939
|
-
{
|
|
52940
|
-
"description": "Title color for result rows. Defaults to `var(--esp-color-headings)`.",
|
|
52941
|
-
"name": "--esp-search-title-color"
|
|
52942
|
-
},
|
|
52943
|
-
{
|
|
52944
|
-
"description": "Background color of the active result row. Defaults to `var(--esp-color-layer-2)`.",
|
|
52945
|
-
"name": "--esp-search-active-background"
|
|
52946
|
-
},
|
|
52947
|
-
{
|
|
52948
|
-
"description": "Background color applied to `<mark>` highlights inside excerpts.",
|
|
52949
|
-
"name": "--esp-search-highlight-background"
|
|
52950
|
-
},
|
|
52951
|
-
{
|
|
52952
|
-
"description": "Accent color of the loading spinner. Defaults to `var(--esp-color-primary)`.",
|
|
52953
|
-
"name": "--esp-search-loading-indicator-color"
|
|
52954
|
-
},
|
|
52955
|
-
{
|
|
52956
|
-
"description": "Track color of the loading spinner. Defaults to `var(--esp-search-border-color)`.",
|
|
52957
|
-
"name": "--esp-search-loading-indicator-track-color"
|
|
52958
|
-
},
|
|
52959
|
-
{
|
|
52960
|
-
"description": "Background color of the shared field shell. Defaults to `var(--esp-color-layer-2)`.",
|
|
52961
|
-
"name": "--esp-field-background",
|
|
52752
|
+
"parameters": [
|
|
52753
|
+
{
|
|
52754
|
+
"name": "resolveTarget",
|
|
52755
|
+
"type": {
|
|
52756
|
+
"text": "() => HTMLElement | null | undefined"
|
|
52757
|
+
}
|
|
52758
|
+
},
|
|
52759
|
+
{
|
|
52760
|
+
"name": "options",
|
|
52761
|
+
"optional": true,
|
|
52762
|
+
"type": {
|
|
52763
|
+
"text": "FocusOptions"
|
|
52764
|
+
}
|
|
52765
|
+
}
|
|
52766
|
+
],
|
|
52962
52767
|
"inheritedFrom": {
|
|
52963
52768
|
"name": "EspalierElementBase",
|
|
52964
52769
|
"module": "dist/shared/esp-element-base.js"
|
|
52965
52770
|
}
|
|
52966
52771
|
},
|
|
52967
52772
|
{
|
|
52968
|
-
"
|
|
52969
|
-
"name": "
|
|
52773
|
+
"kind": "method",
|
|
52774
|
+
"name": "focusShadowElementAfterUpdate",
|
|
52775
|
+
"privacy": "protected",
|
|
52776
|
+
"return": {
|
|
52777
|
+
"type": {
|
|
52778
|
+
"text": "void"
|
|
52779
|
+
}
|
|
52780
|
+
},
|
|
52781
|
+
"parameters": [
|
|
52782
|
+
{
|
|
52783
|
+
"name": "selector",
|
|
52784
|
+
"type": {
|
|
52785
|
+
"text": "string"
|
|
52786
|
+
}
|
|
52787
|
+
},
|
|
52788
|
+
{
|
|
52789
|
+
"name": "options",
|
|
52790
|
+
"optional": true,
|
|
52791
|
+
"type": {
|
|
52792
|
+
"text": "FocusOptions"
|
|
52793
|
+
}
|
|
52794
|
+
}
|
|
52795
|
+
],
|
|
52970
52796
|
"inheritedFrom": {
|
|
52971
52797
|
"name": "EspalierElementBase",
|
|
52972
52798
|
"module": "dist/shared/esp-element-base.js"
|
|
52973
52799
|
}
|
|
52974
52800
|
},
|
|
52975
52801
|
{
|
|
52976
|
-
"
|
|
52977
|
-
"name": "
|
|
52802
|
+
"kind": "method",
|
|
52803
|
+
"name": "emitValueChanged",
|
|
52804
|
+
"privacy": "protected",
|
|
52805
|
+
"return": {
|
|
52806
|
+
"type": {
|
|
52807
|
+
"text": "void"
|
|
52808
|
+
}
|
|
52809
|
+
},
|
|
52810
|
+
"parameters": [
|
|
52811
|
+
{
|
|
52812
|
+
"name": "detail",
|
|
52813
|
+
"type": {
|
|
52814
|
+
"text": "T"
|
|
52815
|
+
}
|
|
52816
|
+
}
|
|
52817
|
+
],
|
|
52978
52818
|
"inheritedFrom": {
|
|
52979
52819
|
"name": "EspalierElementBase",
|
|
52980
52820
|
"module": "dist/shared/esp-element-base.js"
|
|
52981
52821
|
}
|
|
52982
52822
|
},
|
|
52983
52823
|
{
|
|
52984
|
-
"
|
|
52985
|
-
"name": "
|
|
52824
|
+
"kind": "field",
|
|
52825
|
+
"name": "scheme",
|
|
52826
|
+
"type": {
|
|
52827
|
+
"text": "\"dark\" | \"light\""
|
|
52828
|
+
},
|
|
52829
|
+
"privacy": "public",
|
|
52830
|
+
"default": "\"light\"",
|
|
52831
|
+
"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.",
|
|
52832
|
+
"attribute": "scheme",
|
|
52833
|
+
"reflects": true,
|
|
52986
52834
|
"inheritedFrom": {
|
|
52987
52835
|
"name": "EspalierElementBase",
|
|
52988
52836
|
"module": "dist/shared/esp-element-base.js"
|
|
52989
52837
|
}
|
|
52990
52838
|
},
|
|
52991
52839
|
{
|
|
52992
|
-
"
|
|
52993
|
-
"name": "
|
|
52840
|
+
"kind": "field",
|
|
52841
|
+
"name": "variant",
|
|
52842
|
+
"type": {
|
|
52843
|
+
"text": "EspalierVariant"
|
|
52844
|
+
},
|
|
52845
|
+
"privacy": "public",
|
|
52846
|
+
"description": "The [color variant](/guides/color/variants) of the element.",
|
|
52847
|
+
"attribute": "variant",
|
|
52848
|
+
"reflects": true,
|
|
52994
52849
|
"inheritedFrom": {
|
|
52995
52850
|
"name": "EspalierElementBase",
|
|
52996
52851
|
"module": "dist/shared/esp-element-base.js"
|
|
52997
52852
|
}
|
|
52998
52853
|
},
|
|
52999
52854
|
{
|
|
53000
|
-
"
|
|
53001
|
-
"name": "
|
|
52855
|
+
"kind": "method",
|
|
52856
|
+
"name": "syncRootFromDom",
|
|
52857
|
+
"privacy": "private",
|
|
52858
|
+
"return": {
|
|
52859
|
+
"type": {
|
|
52860
|
+
"text": "EspalierRoot | null"
|
|
52861
|
+
}
|
|
52862
|
+
},
|
|
52863
|
+
"parameters": [
|
|
52864
|
+
{
|
|
52865
|
+
"name": "throwIfMissing",
|
|
52866
|
+
"type": {
|
|
52867
|
+
"text": "boolean"
|
|
52868
|
+
}
|
|
52869
|
+
}
|
|
52870
|
+
],
|
|
53002
52871
|
"inheritedFrom": {
|
|
53003
52872
|
"name": "EspalierElementBase",
|
|
53004
52873
|
"module": "dist/shared/esp-element-base.js"
|
|
53005
52874
|
}
|
|
53006
52875
|
},
|
|
53007
52876
|
{
|
|
53008
|
-
"
|
|
53009
|
-
"name": "
|
|
52877
|
+
"kind": "method",
|
|
52878
|
+
"name": "subscribeToRootEvents",
|
|
52879
|
+
"privacy": "private",
|
|
52880
|
+
"return": {
|
|
52881
|
+
"type": {
|
|
52882
|
+
"text": "void"
|
|
52883
|
+
}
|
|
52884
|
+
},
|
|
52885
|
+
"parameters": [
|
|
52886
|
+
{
|
|
52887
|
+
"name": "root",
|
|
52888
|
+
"type": {
|
|
52889
|
+
"text": "EspalierRoot"
|
|
52890
|
+
}
|
|
52891
|
+
}
|
|
52892
|
+
],
|
|
53010
52893
|
"inheritedFrom": {
|
|
53011
52894
|
"name": "EspalierElementBase",
|
|
53012
52895
|
"module": "dist/shared/esp-element-base.js"
|
|
53013
52896
|
}
|
|
53014
|
-
}
|
|
53015
|
-
],
|
|
53016
|
-
"members": [
|
|
53017
|
-
{
|
|
53018
|
-
"kind": "field",
|
|
53019
|
-
"name": "placeholder",
|
|
53020
|
-
"type": {
|
|
53021
|
-
"text": "string"
|
|
53022
|
-
},
|
|
53023
|
-
"default": "\"Search\\u2026\"",
|
|
53024
|
-
"description": "Placeholder text for the search input.",
|
|
53025
|
-
"attribute": "placeholder"
|
|
53026
52897
|
},
|
|
53027
52898
|
{
|
|
53028
|
-
"kind": "
|
|
53029
|
-
"name": "
|
|
53030
|
-
"type": {
|
|
53031
|
-
"text": "boolean"
|
|
53032
|
-
},
|
|
52899
|
+
"kind": "method",
|
|
52900
|
+
"name": "unsubscribeFromRootEvents",
|
|
53033
52901
|
"privacy": "private",
|
|
53034
|
-
"
|
|
53035
|
-
|
|
53036
|
-
|
|
53037
|
-
|
|
53038
|
-
"name": "results",
|
|
53039
|
-
"type": {
|
|
53040
|
-
"text": "SearchResult[]"
|
|
52902
|
+
"return": {
|
|
52903
|
+
"type": {
|
|
52904
|
+
"text": "void"
|
|
52905
|
+
}
|
|
53041
52906
|
},
|
|
53042
|
-
"
|
|
53043
|
-
|
|
52907
|
+
"inheritedFrom": {
|
|
52908
|
+
"name": "EspalierElementBase",
|
|
52909
|
+
"module": "dist/shared/esp-element-base.js"
|
|
52910
|
+
}
|
|
53044
52911
|
},
|
|
53045
52912
|
{
|
|
53046
52913
|
"kind": "field",
|
|
53047
|
-
"name": "
|
|
53048
|
-
"type": {
|
|
53049
|
-
"text": "boolean"
|
|
53050
|
-
},
|
|
52914
|
+
"name": "handleSeedColorChanged",
|
|
53051
52915
|
"privacy": "private",
|
|
53052
|
-
"
|
|
52916
|
+
"inheritedFrom": {
|
|
52917
|
+
"name": "EspalierElementBase",
|
|
52918
|
+
"module": "dist/shared/esp-element-base.js"
|
|
52919
|
+
}
|
|
53053
52920
|
},
|
|
53054
52921
|
{
|
|
53055
52922
|
"kind": "field",
|
|
53056
|
-
"name": "
|
|
53057
|
-
"type": {
|
|
53058
|
-
"text": "string"
|
|
53059
|
-
},
|
|
52923
|
+
"name": "handleSchemeChanged",
|
|
53060
52924
|
"privacy": "private",
|
|
53061
|
-
"
|
|
52925
|
+
"inheritedFrom": {
|
|
52926
|
+
"name": "EspalierElementBase",
|
|
52927
|
+
"module": "dist/shared/esp-element-base.js"
|
|
52928
|
+
}
|
|
53062
52929
|
},
|
|
53063
52930
|
{
|
|
53064
52931
|
"kind": "field",
|
|
53065
|
-
"name": "
|
|
53066
|
-
"type": {
|
|
53067
|
-
"text": "number"
|
|
53068
|
-
},
|
|
52932
|
+
"name": "handleThemeChanged",
|
|
53069
52933
|
"privacy": "private",
|
|
53070
|
-
"
|
|
53071
|
-
|
|
53072
|
-
|
|
53073
|
-
|
|
53074
|
-
"name": "vellumRef",
|
|
53075
|
-
"privacy": "private"
|
|
52934
|
+
"inheritedFrom": {
|
|
52935
|
+
"name": "EspalierElementBase",
|
|
52936
|
+
"module": "dist/shared/esp-element-base.js"
|
|
52937
|
+
}
|
|
53076
52938
|
},
|
|
53077
52939
|
{
|
|
53078
52940
|
"kind": "field",
|
|
53079
|
-
"name": "
|
|
53080
|
-
"privacy": "private"
|
|
52941
|
+
"name": "handleIconSpriteUrlChanged",
|
|
52942
|
+
"privacy": "private",
|
|
52943
|
+
"inheritedFrom": {
|
|
52944
|
+
"name": "EspalierElementBase",
|
|
52945
|
+
"module": "dist/shared/esp-element-base.js"
|
|
52946
|
+
}
|
|
53081
52947
|
},
|
|
53082
52948
|
{
|
|
53083
|
-
"kind": "
|
|
53084
|
-
"name": "
|
|
53085
|
-
"privacy": "
|
|
52949
|
+
"kind": "method",
|
|
52950
|
+
"name": "traverseToClosest",
|
|
52951
|
+
"privacy": "public",
|
|
52952
|
+
"return": {
|
|
52953
|
+
"type": {
|
|
52954
|
+
"text": ""
|
|
52955
|
+
}
|
|
52956
|
+
},
|
|
52957
|
+
"parameters": [
|
|
52958
|
+
{
|
|
52959
|
+
"name": "selector",
|
|
52960
|
+
"type": {
|
|
52961
|
+
"text": "string"
|
|
52962
|
+
},
|
|
52963
|
+
"description": "The selector of the element to look for"
|
|
52964
|
+
}
|
|
52965
|
+
],
|
|
52966
|
+
"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.",
|
|
52967
|
+
"inheritedFrom": {
|
|
52968
|
+
"name": "EspalierElementBase",
|
|
52969
|
+
"module": "dist/shared/esp-element-base.js"
|
|
52970
|
+
}
|
|
53086
52971
|
},
|
|
53087
52972
|
{
|
|
53088
52973
|
"kind": "field",
|
|
53089
|
-
"name": "
|
|
52974
|
+
"name": "textContrast",
|
|
52975
|
+
"type": {
|
|
52976
|
+
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
52977
|
+
},
|
|
53090
52978
|
"privacy": "private",
|
|
52979
|
+
"static": true,
|
|
53091
52980
|
"readonly": true,
|
|
53092
|
-
"default": "
|
|
53093
|
-
"description": "
|
|
52981
|
+
"default": "{ text: { bg: \"background\", targetLc: 75 }, dangerText: { bg: \"background\", targetLc: 75 }, headings: { bg: \"background\", targetLc: 60 }, headingsHover: { bg: \"background\", targetLc: 60 }, link: { bg: \"background\", targetLc: 75 }, linkHover: { bg: \"background\", targetLc: 75 }, actionText: { bg: \"actionBackground\", targetLc: 75 }, inputCaret: { bg: \"layer2\", targetLc: 60 }, inputSelection: { bg: \"inputSelectionBg\", targetLc: 60 }, }",
|
|
52982
|
+
"description": "Text tokens that require APCA contrast enforcement.\n\nEach entry maps a text-bearing semantic token to:\n - `bg`: the semantic token it sits on (reference color)\n - `targetLc`: the minimum |Lc| the text must achieve",
|
|
52983
|
+
"inheritedFrom": {
|
|
52984
|
+
"name": "EspalierElementBase",
|
|
52985
|
+
"module": "dist/shared/esp-element-base.js"
|
|
52986
|
+
}
|
|
53094
52987
|
},
|
|
53095
52988
|
{
|
|
53096
52989
|
"kind": "field",
|
|
53097
|
-
"name": "
|
|
52990
|
+
"name": "statusVariantSources",
|
|
52991
|
+
"type": {
|
|
52992
|
+
"text": "ReadonlySet<ColorSource>"
|
|
52993
|
+
},
|
|
53098
52994
|
"privacy": "private",
|
|
53099
|
-
"
|
|
52995
|
+
"static": true,
|
|
52996
|
+
"readonly": true,
|
|
52997
|
+
"default": "new Set<ColorSource>([ \"danger\", \"success\", \"warning\", ])",
|
|
52998
|
+
"description": "Variant color sources whose meaning is carried by a fixed hue rather\nthan the brand seed — the destructive / positive / warning status\nfamilies (ADR-004). For these variants the filled-action tokens are\npinned to the variant's own color so a theme cannot make them look\nlike an ordinary brand action. See task 098.",
|
|
52999
|
+
"inheritedFrom": {
|
|
53000
|
+
"name": "EspalierElementBase",
|
|
53001
|
+
"module": "dist/shared/esp-element-base.js"
|
|
53002
|
+
}
|
|
53100
53003
|
},
|
|
53101
53004
|
{
|
|
53102
|
-
"kind": "
|
|
53103
|
-
"name": "
|
|
53104
|
-
"
|
|
53105
|
-
|
|
53106
|
-
"type": {
|
|
53107
|
-
"text": "void"
|
|
53108
|
-
}
|
|
53005
|
+
"kind": "field",
|
|
53006
|
+
"name": "semanticActionTokens",
|
|
53007
|
+
"type": {
|
|
53008
|
+
"text": "ReadonlySet<SemanticColorName>"
|
|
53109
53009
|
},
|
|
53110
|
-
"
|
|
53010
|
+
"privacy": "private",
|
|
53011
|
+
"static": true,
|
|
53012
|
+
"readonly": true,
|
|
53013
|
+
"default": "new Set<SemanticColorName>([\"actionBackground\", \"actionText\"])",
|
|
53014
|
+
"description": "Semantic tokens that paint a control's filled action surface. For a\nstatus variant these always derive from the variant's own color, so\nthe Taproot \"Buttons\" semantic group (which re-points\n`actionBackground` / `actionText` to a brand source) cannot rotate a\ndestructive / warning / positive action off its semantic hue. See\ntask 098.",
|
|
53015
|
+
"inheritedFrom": {
|
|
53016
|
+
"name": "EspalierElementBase",
|
|
53017
|
+
"module": "dist/shared/esp-element-base.js"
|
|
53018
|
+
}
|
|
53111
53019
|
},
|
|
53112
53020
|
{
|
|
53113
53021
|
"kind": "method",
|
|
53114
|
-
"name": "
|
|
53115
|
-
"privacy": "
|
|
53022
|
+
"name": "applyVariantTokens",
|
|
53023
|
+
"privacy": "protected",
|
|
53116
53024
|
"return": {
|
|
53117
53025
|
"type": {
|
|
53118
53026
|
"text": "void"
|
|
53119
53027
|
}
|
|
53120
53028
|
},
|
|
53121
|
-
"
|
|
53029
|
+
"inheritedFrom": {
|
|
53030
|
+
"name": "EspalierElementBase",
|
|
53031
|
+
"module": "dist/shared/esp-element-base.js"
|
|
53032
|
+
}
|
|
53122
53033
|
},
|
|
53123
53034
|
{
|
|
53124
53035
|
"kind": "method",
|
|
53125
|
-
"name": "
|
|
53126
|
-
"privacy": "
|
|
53036
|
+
"name": "effectiveVariantTokenSource",
|
|
53037
|
+
"privacy": "private",
|
|
53127
53038
|
"return": {
|
|
53128
53039
|
"type": {
|
|
53129
|
-
"text": "
|
|
53040
|
+
"text": "ColorSource"
|
|
53130
53041
|
}
|
|
53131
53042
|
},
|
|
53132
53043
|
"parameters": [
|
|
53133
53044
|
{
|
|
53134
|
-
"name": "
|
|
53045
|
+
"name": "name",
|
|
53135
53046
|
"type": {
|
|
53136
|
-
"text": "
|
|
53047
|
+
"text": "SemanticColorName"
|
|
53048
|
+
}
|
|
53049
|
+
},
|
|
53050
|
+
{
|
|
53051
|
+
"name": "mappedSource",
|
|
53052
|
+
"type": {
|
|
53053
|
+
"text": "ColorSource"
|
|
53054
|
+
}
|
|
53055
|
+
},
|
|
53056
|
+
{
|
|
53057
|
+
"name": "isStatusVariant",
|
|
53058
|
+
"type": {
|
|
53059
|
+
"text": "boolean"
|
|
53137
53060
|
}
|
|
53138
53061
|
}
|
|
53139
53062
|
],
|
|
53140
|
-
"description": "
|
|
53063
|
+
"description": "Resolve the color source used to derive a semantic token for the\nactive variant.\n\nNormally this is the theme's mapping source, so the variant performs a\nfull palette shift relative to its own color. The exception is the\nmeaning-bearing status variants (`danger`, `success`, `warning`): their\nfilled-action tokens (`actionBackground`, `actionText`) are pinned to\nthe variant's own color — the `primary` entry of the sub-variant\npalette, which is the variant color itself — so a theme that re-points\nthe Buttons semantic group to a brand source cannot rotate a\ndestructive / warning / positive action off its semantic hue. Ordinary\nbrand and primary variants keep full theme customization. See task 098.",
|
|
53064
|
+
"inheritedFrom": {
|
|
53065
|
+
"name": "EspalierElementBase",
|
|
53066
|
+
"module": "dist/shared/esp-element-base.js"
|
|
53067
|
+
}
|
|
53141
53068
|
},
|
|
53142
53069
|
{
|
|
53143
53070
|
"kind": "method",
|
|
53144
|
-
"name": "
|
|
53145
|
-
"privacy": "
|
|
53071
|
+
"name": "getVariantColorSource",
|
|
53072
|
+
"privacy": "protected",
|
|
53146
53073
|
"return": {
|
|
53147
53074
|
"type": {
|
|
53148
|
-
"text": "
|
|
53075
|
+
"text": "ColorSource | \"\""
|
|
53149
53076
|
}
|
|
53150
53077
|
},
|
|
53151
|
-
"
|
|
53152
|
-
|
|
53153
|
-
|
|
53154
|
-
|
|
53155
|
-
"text": "boolean"
|
|
53156
|
-
}
|
|
53157
|
-
}
|
|
53158
|
-
],
|
|
53159
|
-
"description": "Show or hide the loading indicator."
|
|
53078
|
+
"inheritedFrom": {
|
|
53079
|
+
"name": "EspalierElementBase",
|
|
53080
|
+
"module": "dist/shared/esp-element-base.js"
|
|
53081
|
+
}
|
|
53160
53082
|
},
|
|
53161
53083
|
{
|
|
53162
53084
|
"kind": "method",
|
|
53163
|
-
"name": "
|
|
53085
|
+
"name": "setVariantTokenProperty",
|
|
53164
53086
|
"privacy": "private",
|
|
53165
53087
|
"return": {
|
|
53166
53088
|
"type": {
|
|
@@ -53169,35 +53091,175 @@
|
|
|
53169
53091
|
},
|
|
53170
53092
|
"parameters": [
|
|
53171
53093
|
{
|
|
53172
|
-
"name": "
|
|
53094
|
+
"name": "name",
|
|
53173
53095
|
"type": {
|
|
53174
|
-
"text": "
|
|
53096
|
+
"text": "string"
|
|
53097
|
+
}
|
|
53098
|
+
},
|
|
53099
|
+
{
|
|
53100
|
+
"name": "value",
|
|
53101
|
+
"type": {
|
|
53102
|
+
"text": "string"
|
|
53175
53103
|
}
|
|
53176
53104
|
}
|
|
53177
|
-
]
|
|
53105
|
+
],
|
|
53106
|
+
"inheritedFrom": {
|
|
53107
|
+
"name": "EspalierElementBase",
|
|
53108
|
+
"module": "dist/shared/esp-element-base.js"
|
|
53109
|
+
}
|
|
53178
53110
|
},
|
|
53179
53111
|
{
|
|
53180
53112
|
"kind": "method",
|
|
53181
|
-
"name": "
|
|
53113
|
+
"name": "clearVariantTokens",
|
|
53182
53114
|
"privacy": "private",
|
|
53183
53115
|
"return": {
|
|
53184
53116
|
"type": {
|
|
53185
53117
|
"text": "void"
|
|
53186
53118
|
}
|
|
53187
53119
|
},
|
|
53188
|
-
"
|
|
53189
|
-
|
|
53190
|
-
|
|
53191
|
-
|
|
53192
|
-
|
|
53193
|
-
|
|
53194
|
-
|
|
53195
|
-
|
|
53120
|
+
"inheritedFrom": {
|
|
53121
|
+
"name": "EspalierElementBase",
|
|
53122
|
+
"module": "dist/shared/esp-element-base.js"
|
|
53123
|
+
}
|
|
53124
|
+
}
|
|
53125
|
+
],
|
|
53126
|
+
"events": [
|
|
53127
|
+
{
|
|
53128
|
+
"description": "The user changed the query input. Fires on every keystroke (not debounced) so consumers can track the latest query and discard stale async results. Consumers that need debouncing should apply it themselves (e.g. Pagefind's `debouncedSearch()`). `detail: { query: string }`",
|
|
53129
|
+
"name": "search-requested"
|
|
53130
|
+
},
|
|
53131
|
+
{
|
|
53132
|
+
"description": "The user chose a result. `detail: { url: string }`",
|
|
53133
|
+
"name": "result-selected"
|
|
53134
|
+
},
|
|
53135
|
+
{
|
|
53136
|
+
"description": "The overlay was closed (Escape, backdrop click, or result selection). Consumers should use this to cancel in-flight searches or discard pending results. `detail: {}`",
|
|
53137
|
+
"name": "search-closed"
|
|
53138
|
+
},
|
|
53139
|
+
{
|
|
53140
|
+
"name": "value-changed",
|
|
53141
|
+
"type": {
|
|
53142
|
+
"text": "CustomEvent"
|
|
53143
|
+
},
|
|
53144
|
+
"inheritedFrom": {
|
|
53145
|
+
"name": "EspalierElementBase",
|
|
53146
|
+
"module": "dist/shared/esp-element-base.js"
|
|
53147
|
+
}
|
|
53148
|
+
}
|
|
53149
|
+
],
|
|
53150
|
+
"attributes": [
|
|
53151
|
+
{
|
|
53152
|
+
"name": "placeholder",
|
|
53153
|
+
"type": {
|
|
53154
|
+
"text": "string"
|
|
53155
|
+
},
|
|
53156
|
+
"default": "\"Search\\u2026\"",
|
|
53157
|
+
"description": "Placeholder text for the search input.",
|
|
53158
|
+
"fieldName": "placeholder"
|
|
53159
|
+
},
|
|
53160
|
+
{
|
|
53161
|
+
"name": "scheme",
|
|
53162
|
+
"type": {
|
|
53163
|
+
"text": "\"dark\" | \"light\""
|
|
53164
|
+
},
|
|
53165
|
+
"default": "\"light\"",
|
|
53166
|
+
"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.",
|
|
53167
|
+
"fieldName": "scheme",
|
|
53168
|
+
"inheritedFrom": {
|
|
53169
|
+
"name": "EspalierElementBase",
|
|
53170
|
+
"module": "dist/shared/esp-element-base.js"
|
|
53171
|
+
}
|
|
53196
53172
|
},
|
|
53173
|
+
{
|
|
53174
|
+
"name": "variant",
|
|
53175
|
+
"type": {
|
|
53176
|
+
"text": "EspalierVariant"
|
|
53177
|
+
},
|
|
53178
|
+
"description": "The [color variant](/guides/color/variants) of the element.",
|
|
53179
|
+
"fieldName": "variant",
|
|
53180
|
+
"inheritedFrom": {
|
|
53181
|
+
"name": "EspalierElementBase",
|
|
53182
|
+
"module": "dist/shared/esp-element-base.js"
|
|
53183
|
+
}
|
|
53184
|
+
}
|
|
53185
|
+
],
|
|
53186
|
+
"superclass": {
|
|
53187
|
+
"name": "EspalierElementBase",
|
|
53188
|
+
"module": "dist/shared/esp-element-base.js"
|
|
53189
|
+
},
|
|
53190
|
+
"docUrl": {
|
|
53191
|
+
"name": "/components/search",
|
|
53192
|
+
"description": ""
|
|
53193
|
+
},
|
|
53194
|
+
"docPageTitle": {
|
|
53195
|
+
"name": "Search",
|
|
53196
|
+
"description": ""
|
|
53197
|
+
},
|
|
53198
|
+
"menuLabel": {
|
|
53199
|
+
"name": "Search",
|
|
53200
|
+
"description": ""
|
|
53201
|
+
},
|
|
53202
|
+
"menuGroup": {
|
|
53203
|
+
"name": "Interaction",
|
|
53204
|
+
"description": ""
|
|
53205
|
+
},
|
|
53206
|
+
"menuOrder": {
|
|
53207
|
+
"name": "5",
|
|
53208
|
+
"description": ""
|
|
53209
|
+
},
|
|
53210
|
+
"docSections": {
|
|
53211
|
+
"name": "examples,properties,events,cssprops",
|
|
53212
|
+
"description": ""
|
|
53213
|
+
},
|
|
53214
|
+
"tagName": "esp-search",
|
|
53215
|
+
"customElement": true,
|
|
53216
|
+
"examples": [
|
|
53217
|
+
{
|
|
53218
|
+
"title": "Basic search (consumer wiring not shown)",
|
|
53219
|
+
"body": "```html\n<esp-search placeholder=\"Search docs...\"></esp-search>\n```"
|
|
53220
|
+
}
|
|
53221
|
+
]
|
|
53222
|
+
}
|
|
53223
|
+
],
|
|
53224
|
+
"exports": [
|
|
53225
|
+
{
|
|
53226
|
+
"kind": "js",
|
|
53227
|
+
"name": "EspalierSearch",
|
|
53228
|
+
"declaration": {
|
|
53229
|
+
"name": "EspalierSearch",
|
|
53230
|
+
"module": "dist/search/esp-search.js"
|
|
53231
|
+
}
|
|
53232
|
+
},
|
|
53233
|
+
{
|
|
53234
|
+
"kind": "custom-element-definition",
|
|
53235
|
+
"name": "esp-search",
|
|
53236
|
+
"declaration": {
|
|
53237
|
+
"name": "EspalierSearch",
|
|
53238
|
+
"module": "dist/search/esp-search.js"
|
|
53239
|
+
}
|
|
53240
|
+
}
|
|
53241
|
+
]
|
|
53242
|
+
},
|
|
53243
|
+
{
|
|
53244
|
+
"kind": "javascript-module",
|
|
53245
|
+
"path": "dist/root/esp-root.js",
|
|
53246
|
+
"declarations": [
|
|
53247
|
+
{
|
|
53248
|
+
"kind": "class",
|
|
53249
|
+
"description": "Root container for the Espalier design system.\n\nProvides the full design-token pipeline — colors, scales, and\nfonts — to every descendant component. All tokens are\nJS-computed from a pair of Base64-encoded theme objects and\nemitted as CSS custom properties on the host element.\n\n### Theme API\n\nSupply a `light-theme` and/or `dark-theme` attribute containing\na **Base64-encoded JSON** partial theme. Fields you omit fall\nback to built-in defaults. Switch between them with `scheme`.\n\n```html\n<esp-root\n light-theme=\"eyJzZWVkQ29sb3IiOiJva2xjaCgwLjcgMC4yIDE1NSkifQ==\"\n scheme=\"light\">\n <esp-box>\n <h2>Themed content</h2>\n </esp-box>\n</esp-root>\n```\n\n### Nested theme previews and scoped events\n\nA nested root creates a scoped theme for its descendants. It does not create\na separate event bus: every root publishes theme changes through the same\nEspalier singleton. Subscribe through the root whose changes you own so a\nnested preview cannot be mistaken for an application-level theme change.\n\n```ts\nconst applicationRoot = document.querySelector<EspalierRoot>(\"#application-theme\")!;\n\nconst unsubscribe = applicationRoot.subscribeScoped(\"scheme-changed\", ({ scheme }) => {\n localStorage.setItem(\"scheme\", scheme);\n});\n\n// Initial state is read directly; scoped events report later changes only.\nrenderScheme(applicationRoot.scheme);\n\n// Call when the owning integration is disposed.\nunsubscribe();\n```\n\nThis contract covers `scheme-changed`, `seed-color-changed`,\n`theme-changed`, and `icon-sprite-url-changed`. Components derived from\n`EspalierElementBase` use the same closest-root filter internally.\n\nThe root also owns the application's banner-texture vocabulary:\n`EspalierRoot.registerTexture(name, definition)` registers an\nimage-backed texture preset that any\n[esp-image](/components/image) banner in the application selects with\n`texture=\"<name>\"`, and `EspalierRoot.registeredTextures()` enumerates\nthe presets for building texture pickers.",
|
|
53250
|
+
"name": "EspalierRoot",
|
|
53251
|
+
"slots": [
|
|
53252
|
+
{
|
|
53253
|
+
"description": "Place Espalier components and content here.",
|
|
53254
|
+
"name": ""
|
|
53255
|
+
}
|
|
53256
|
+
],
|
|
53257
|
+
"members": [
|
|
53197
53258
|
{
|
|
53198
53259
|
"kind": "method",
|
|
53199
|
-
"name": "
|
|
53200
|
-
"privacy": "
|
|
53260
|
+
"name": "registerTexture",
|
|
53261
|
+
"privacy": "public",
|
|
53262
|
+
"static": true,
|
|
53201
53263
|
"return": {
|
|
53202
53264
|
"type": {
|
|
53203
53265
|
"text": "void"
|
|
@@ -53205,272 +53267,240 @@
|
|
|
53205
53267
|
},
|
|
53206
53268
|
"parameters": [
|
|
53207
53269
|
{
|
|
53208
|
-
"name": "
|
|
53270
|
+
"name": "name",
|
|
53209
53271
|
"type": {
|
|
53210
|
-
"text": "
|
|
53272
|
+
"text": "string"
|
|
53211
53273
|
}
|
|
53212
|
-
}
|
|
53213
|
-
]
|
|
53214
|
-
},
|
|
53215
|
-
{
|
|
53216
|
-
"kind": "method",
|
|
53217
|
-
"name": "handleBackdropClick",
|
|
53218
|
-
"privacy": "private",
|
|
53219
|
-
"return": {
|
|
53220
|
-
"type": {
|
|
53221
|
-
"text": "void"
|
|
53222
|
-
}
|
|
53223
|
-
},
|
|
53224
|
-
"parameters": [
|
|
53274
|
+
},
|
|
53225
53275
|
{
|
|
53226
|
-
"name": "
|
|
53276
|
+
"name": "definition",
|
|
53227
53277
|
"type": {
|
|
53228
|
-
"text": "
|
|
53278
|
+
"text": "ImageTextureDefinition"
|
|
53229
53279
|
}
|
|
53230
53280
|
}
|
|
53231
|
-
]
|
|
53281
|
+
],
|
|
53282
|
+
"description": "Register (or replace) a named, image-backed banner-texture preset.\nAny `esp-image` banner under a root selects it with `texture=\"<name>\"`;\nbanners already pointing at the name re-render, so registration at\nmount and markup order never race. Static delegate to\n`registerImageTexture` so script-only contexts (docs demos, published\nsites) can reach it from the root element without module imports."
|
|
53232
53283
|
},
|
|
53233
53284
|
{
|
|
53234
53285
|
"kind": "method",
|
|
53235
|
-
"name": "
|
|
53236
|
-
"privacy": "
|
|
53286
|
+
"name": "registeredTextures",
|
|
53287
|
+
"privacy": "public",
|
|
53288
|
+
"static": true,
|
|
53237
53289
|
"return": {
|
|
53238
53290
|
"type": {
|
|
53239
|
-
"text": "
|
|
53291
|
+
"text": "Map<string, Readonly<ImageTextureDefinition>>"
|
|
53240
53292
|
}
|
|
53241
|
-
}
|
|
53293
|
+
},
|
|
53294
|
+
"description": "Snapshot of the registered texture presets, for building pickers."
|
|
53242
53295
|
},
|
|
53243
53296
|
{
|
|
53244
53297
|
"kind": "field",
|
|
53245
|
-
"name": "
|
|
53298
|
+
"name": "schemeBacker",
|
|
53246
53299
|
"type": {
|
|
53247
|
-
"text": "
|
|
53300
|
+
"text": "\"light\" | \"dark\" | \"\""
|
|
53248
53301
|
},
|
|
53249
53302
|
"privacy": "private",
|
|
53250
|
-
"
|
|
53251
|
-
"readonly": true
|
|
53303
|
+
"default": "\"\""
|
|
53252
53304
|
},
|
|
53253
53305
|
{
|
|
53254
53306
|
"kind": "field",
|
|
53255
|
-
"name": "
|
|
53307
|
+
"name": "schemeExplicitlySet",
|
|
53256
53308
|
"type": {
|
|
53257
|
-
"text": "
|
|
53309
|
+
"text": "boolean"
|
|
53258
53310
|
},
|
|
53259
53311
|
"privacy": "private",
|
|
53260
|
-
"
|
|
53312
|
+
"default": "false"
|
|
53261
53313
|
},
|
|
53262
53314
|
{
|
|
53263
|
-
"kind": "
|
|
53264
|
-
"name": "
|
|
53265
|
-
"
|
|
53266
|
-
|
|
53267
|
-
"type": {
|
|
53268
|
-
"text": "string"
|
|
53269
|
-
}
|
|
53315
|
+
"kind": "field",
|
|
53316
|
+
"name": "resolvingDefaultScheme",
|
|
53317
|
+
"type": {
|
|
53318
|
+
"text": "boolean"
|
|
53270
53319
|
},
|
|
53271
|
-
"
|
|
53272
|
-
|
|
53273
|
-
"name": "index",
|
|
53274
|
-
"type": {
|
|
53275
|
-
"text": "number"
|
|
53276
|
-
}
|
|
53277
|
-
}
|
|
53278
|
-
]
|
|
53279
|
-
},
|
|
53280
|
-
{
|
|
53281
|
-
"kind": "method",
|
|
53282
|
-
"name": "renderResults",
|
|
53283
|
-
"privacy": "private"
|
|
53320
|
+
"privacy": "private",
|
|
53321
|
+
"default": "false"
|
|
53284
53322
|
},
|
|
53285
53323
|
{
|
|
53286
53324
|
"kind": "field",
|
|
53287
|
-
"name": "
|
|
53325
|
+
"name": "themeEventsReady",
|
|
53288
53326
|
"type": {
|
|
53289
|
-
"text": "
|
|
53327
|
+
"text": "boolean"
|
|
53290
53328
|
},
|
|
53291
53329
|
"privacy": "private",
|
|
53292
|
-
"default": "
|
|
53293
|
-
"inheritedFrom": {
|
|
53294
|
-
"name": "EspalierElementBase",
|
|
53295
|
-
"module": "dist/shared/esp-element-base.js"
|
|
53296
|
-
}
|
|
53330
|
+
"default": "false"
|
|
53297
53331
|
},
|
|
53298
53332
|
{
|
|
53299
53333
|
"kind": "field",
|
|
53300
|
-
"name": "
|
|
53334
|
+
"name": "systemSchemeQuery",
|
|
53301
53335
|
"type": {
|
|
53302
|
-
"text": "
|
|
53336
|
+
"text": "MediaQueryList | null"
|
|
53303
53337
|
},
|
|
53304
53338
|
"privacy": "private",
|
|
53305
|
-
"default": "null"
|
|
53306
|
-
"inheritedFrom": {
|
|
53307
|
-
"name": "EspalierElementBase",
|
|
53308
|
-
"module": "dist/shared/esp-element-base.js"
|
|
53309
|
-
}
|
|
53339
|
+
"default": "null"
|
|
53310
53340
|
},
|
|
53311
53341
|
{
|
|
53312
53342
|
"kind": "field",
|
|
53313
|
-
"name": "
|
|
53343
|
+
"name": "lastSeedColor",
|
|
53344
|
+
"type": {
|
|
53345
|
+
"text": "string"
|
|
53346
|
+
},
|
|
53314
53347
|
"privacy": "private",
|
|
53315
|
-
"
|
|
53316
|
-
"default": "new Map< string, { generatedPriority: string; generatedValue: string; originalPriority: string; originalValue: string | null; } >()",
|
|
53317
|
-
"inheritedFrom": {
|
|
53318
|
-
"name": "EspalierElementBase",
|
|
53319
|
-
"module": "dist/shared/esp-element-base.js"
|
|
53320
|
-
}
|
|
53348
|
+
"default": "\"\""
|
|
53321
53349
|
},
|
|
53322
53350
|
{
|
|
53323
53351
|
"kind": "field",
|
|
53324
|
-
"name": "
|
|
53352
|
+
"name": "resolvedLightTheme",
|
|
53325
53353
|
"type": {
|
|
53326
|
-
"text": "
|
|
53354
|
+
"text": "EspalierTheme"
|
|
53327
53355
|
},
|
|
53328
53356
|
"privacy": "private",
|
|
53329
|
-
"default": "
|
|
53330
|
-
"inheritedFrom": {
|
|
53331
|
-
"name": "EspalierElementBase",
|
|
53332
|
-
"module": "dist/shared/esp-element-base.js"
|
|
53333
|
-
}
|
|
53357
|
+
"default": "{ ...DEFAULT_LIGHT_THEME }"
|
|
53334
53358
|
},
|
|
53335
53359
|
{
|
|
53336
53360
|
"kind": "field",
|
|
53337
|
-
"name": "
|
|
53361
|
+
"name": "resolvedDarkTheme",
|
|
53338
53362
|
"type": {
|
|
53339
|
-
"text": "
|
|
53363
|
+
"text": "EspalierTheme"
|
|
53340
53364
|
},
|
|
53341
53365
|
"privacy": "private",
|
|
53342
|
-
"default": "
|
|
53343
|
-
"inheritedFrom": {
|
|
53344
|
-
"name": "EspalierElementBase",
|
|
53345
|
-
"module": "dist/shared/esp-element-base.js"
|
|
53346
|
-
}
|
|
53366
|
+
"default": "{ ...DEFAULT_DARK_THEME }"
|
|
53347
53367
|
},
|
|
53348
53368
|
{
|
|
53349
53369
|
"kind": "field",
|
|
53350
|
-
"name": "
|
|
53370
|
+
"name": "documentClickRegistrationActive",
|
|
53351
53371
|
"type": {
|
|
53352
|
-
"text": "
|
|
53372
|
+
"text": "boolean"
|
|
53353
53373
|
},
|
|
53354
53374
|
"privacy": "private",
|
|
53355
|
-
"default": "
|
|
53356
|
-
"inheritedFrom": {
|
|
53357
|
-
"name": "EspalierElementBase",
|
|
53358
|
-
"module": "dist/shared/esp-element-base.js"
|
|
53359
|
-
}
|
|
53375
|
+
"default": "false"
|
|
53360
53376
|
},
|
|
53361
53377
|
{
|
|
53362
53378
|
"kind": "field",
|
|
53363
|
-
"name": "
|
|
53379
|
+
"name": "connectedRootCount",
|
|
53364
53380
|
"type": {
|
|
53365
|
-
"text": "
|
|
53381
|
+
"text": "number"
|
|
53366
53382
|
},
|
|
53367
|
-
"privacy": "
|
|
53368
|
-
"
|
|
53369
|
-
"
|
|
53370
|
-
"name": "EspalierElementBase",
|
|
53371
|
-
"module": "dist/shared/esp-element-base.js"
|
|
53372
|
-
}
|
|
53383
|
+
"privacy": "private",
|
|
53384
|
+
"static": true,
|
|
53385
|
+
"default": "0"
|
|
53373
53386
|
},
|
|
53374
53387
|
{
|
|
53375
53388
|
"kind": "field",
|
|
53376
|
-
"name": "
|
|
53377
|
-
"
|
|
53378
|
-
|
|
53379
|
-
|
|
53380
|
-
"privacy": "public",
|
|
53381
|
-
"inheritedFrom": {
|
|
53382
|
-
"name": "EspalierElementBase",
|
|
53383
|
-
"module": "dist/shared/esp-element-base.js"
|
|
53384
|
-
}
|
|
53389
|
+
"name": "handleDocumentClick",
|
|
53390
|
+
"privacy": "private",
|
|
53391
|
+
"static": true,
|
|
53392
|
+
"readonly": true
|
|
53385
53393
|
},
|
|
53386
53394
|
{
|
|
53387
53395
|
"kind": "field",
|
|
53388
53396
|
"name": "correlationId",
|
|
53389
53397
|
"privacy": "public",
|
|
53390
|
-
"
|
|
53391
|
-
"name": "EspalierElementBase",
|
|
53392
|
-
"module": "dist/shared/esp-element-base.js"
|
|
53393
|
-
}
|
|
53398
|
+
"description": "Unique ID for correlating bus events across multiple roots."
|
|
53394
53399
|
},
|
|
53395
53400
|
{
|
|
53396
53401
|
"kind": "method",
|
|
53397
|
-
"name": "
|
|
53398
|
-
"privacy": "
|
|
53402
|
+
"name": "subscribeScoped",
|
|
53403
|
+
"privacy": "public",
|
|
53399
53404
|
"return": {
|
|
53400
53405
|
"type": {
|
|
53401
|
-
"text": "void"
|
|
53406
|
+
"text": "() => void"
|
|
53402
53407
|
}
|
|
53403
53408
|
},
|
|
53404
53409
|
"parameters": [
|
|
53405
53410
|
{
|
|
53406
|
-
"name": "
|
|
53411
|
+
"name": "event",
|
|
53407
53412
|
"type": {
|
|
53408
|
-
"text": "
|
|
53409
|
-
}
|
|
53413
|
+
"text": "K"
|
|
53414
|
+
},
|
|
53415
|
+
"description": "Root-scoped theme event to observe."
|
|
53410
53416
|
},
|
|
53411
53417
|
{
|
|
53412
|
-
"name": "
|
|
53413
|
-
"optional": true,
|
|
53418
|
+
"name": "handler",
|
|
53414
53419
|
"type": {
|
|
53415
|
-
"text": "
|
|
53416
|
-
}
|
|
53420
|
+
"text": "(payload: SchemeEvents[K]) => void"
|
|
53421
|
+
},
|
|
53422
|
+
"description": "Callback invoked with that event's typed payload."
|
|
53417
53423
|
}
|
|
53418
53424
|
],
|
|
53419
|
-
"
|
|
53420
|
-
|
|
53421
|
-
|
|
53422
|
-
|
|
53425
|
+
"description": "Subscribe to a theme event published by this root only.\n\nAll roots share Espalier's global bus. This method filters foreign and\nnested-root payloads by `correlationId` and returns a cleanup function.\nIt reports changes after mount; read initial state from this root."
|
|
53426
|
+
},
|
|
53427
|
+
{
|
|
53428
|
+
"kind": "field",
|
|
53429
|
+
"name": "lightThemeAttr",
|
|
53430
|
+
"type": {
|
|
53431
|
+
"text": "string"
|
|
53432
|
+
},
|
|
53433
|
+
"privacy": "public",
|
|
53434
|
+
"default": "\"\"",
|
|
53435
|
+
"description": "Base64-encoded JSON partial theme for the **light** scheme.\n\nOnly fields you wish to override need to be present — all\nothers inherit from the built-in light defaults.\n\n```html\n<esp-root\n light-theme=\"eyJzZWVkQ29sb3IiOiJva2xjaCgwLjcgMC4xNSAyODUpIn0=\"\n scheme=\"light\">\n <esp-box><h2>Purple light theme</h2></esp-box>\n</esp-root>\n```",
|
|
53436
|
+
"attribute": "light-theme"
|
|
53437
|
+
},
|
|
53438
|
+
{
|
|
53439
|
+
"kind": "field",
|
|
53440
|
+
"name": "darkThemeAttr",
|
|
53441
|
+
"type": {
|
|
53442
|
+
"text": "string"
|
|
53443
|
+
},
|
|
53444
|
+
"privacy": "public",
|
|
53445
|
+
"default": "\"\"",
|
|
53446
|
+
"description": "Base64-encoded JSON partial theme for the **dark** scheme.\n\n```html\n<esp-root\n dark-theme=\"eyJzZWVkQ29sb3IiOiJva2xjaCgwLjcgMC4xNSAyODUpIn0=\"\n scheme=\"dark\">\n <esp-box><h2>Purple dark theme</h2></esp-box>\n</esp-root>\n```",
|
|
53447
|
+
"attribute": "dark-theme"
|
|
53448
|
+
},
|
|
53449
|
+
{
|
|
53450
|
+
"kind": "field",
|
|
53451
|
+
"name": "fontCSSRoot",
|
|
53452
|
+
"type": {
|
|
53453
|
+
"text": "string"
|
|
53454
|
+
},
|
|
53455
|
+
"privacy": "public",
|
|
53456
|
+
"default": "\"/css/fonts/\"",
|
|
53457
|
+
"description": "Root path for locally-cached font CSS files used by\n`<esp-font-picker>` to load font previews.\n\nThe directory must contain the individual font CSS files\ngenerated by `npm run build-fonts`. These files must be\nserved at stable, predictable paths (no filename hashing)\nbecause the picker constructs URLs by font family name.",
|
|
53458
|
+
"attribute": "font-css-root"
|
|
53459
|
+
},
|
|
53460
|
+
{
|
|
53461
|
+
"kind": "field",
|
|
53462
|
+
"name": "fontDefinitionsUrl",
|
|
53463
|
+
"type": {
|
|
53464
|
+
"text": "string"
|
|
53465
|
+
},
|
|
53466
|
+
"privacy": "public",
|
|
53467
|
+
"default": "\"\"",
|
|
53468
|
+
"description": "Full URL to the `font-definitions.json` catalog used by\n`<esp-font-picker>`.\n\nWhen set, the picker fetches from this URL instead of\n`{fontCSSRoot}font-definitions.json`. This allows the JSON\nto be served through a cache-busting asset pipeline while\nthe individual font CSS files remain at stable paths.",
|
|
53469
|
+
"attribute": "font-definitions-url"
|
|
53470
|
+
},
|
|
53471
|
+
{
|
|
53472
|
+
"kind": "field",
|
|
53473
|
+
"name": "googleFontLoading",
|
|
53474
|
+
"type": {
|
|
53475
|
+
"text": "\"auto\" | \"none\""
|
|
53476
|
+
},
|
|
53477
|
+
"privacy": "public",
|
|
53478
|
+
"default": "\"auto\"",
|
|
53479
|
+
"description": "Controls whether Espalier may inject runtime Google Fonts CDN\nstylesheet links for selected Google Fonts.\n\n`auto` preserves the default behavior: theme font families and\nselected Google font-picker values may load full fonts from\n`fonts.googleapis.com`. `none` prevents those runtime Google\nFonts links, leaving local preview CSS and web-safe font stacks\navailable for locked-down, offline, or strict-CSP environments.",
|
|
53480
|
+
"attribute": "google-font-loading"
|
|
53423
53481
|
},
|
|
53424
53482
|
{
|
|
53425
|
-
"kind": "
|
|
53426
|
-
"name": "
|
|
53427
|
-
"
|
|
53428
|
-
|
|
53429
|
-
"type": {
|
|
53430
|
-
"text": "void"
|
|
53431
|
-
}
|
|
53483
|
+
"kind": "field",
|
|
53484
|
+
"name": "iconSpriteUrl",
|
|
53485
|
+
"type": {
|
|
53486
|
+
"text": "string"
|
|
53432
53487
|
},
|
|
53433
|
-
"
|
|
53434
|
-
|
|
53435
|
-
|
|
53436
|
-
|
|
53437
|
-
"text": "string"
|
|
53438
|
-
}
|
|
53439
|
-
},
|
|
53440
|
-
{
|
|
53441
|
-
"name": "options",
|
|
53442
|
-
"optional": true,
|
|
53443
|
-
"type": {
|
|
53444
|
-
"text": "FocusOptions"
|
|
53445
|
-
}
|
|
53446
|
-
}
|
|
53447
|
-
],
|
|
53448
|
-
"inheritedFrom": {
|
|
53449
|
-
"name": "EspalierElementBase",
|
|
53450
|
-
"module": "dist/shared/esp-element-base.js"
|
|
53451
|
-
}
|
|
53488
|
+
"privacy": "public",
|
|
53489
|
+
"default": "\"/assets/icons.svg\"",
|
|
53490
|
+
"description": "Full URL to the SVG sprite used by component-owned `icon`\nattributes.\n\nComponents append the validated icon name as a fragment, so\nthis should point to the sprite file itself, without `#icon`.\nUse this when your application serves the sprite from a\nsubpath, CDN, or cache-busted asset pipeline. Set it to an\nempty string to disable generated sprite icon URLs for this root.\n\n```html\n<esp-root icon-sprite-url=\"/dist/icons.abc123.svg\">\n <esp-button icon=\"save\" label=\"Save\"></esp-button>\n</esp-root>\n```",
|
|
53491
|
+
"attribute": "icon-sprite-url"
|
|
53452
53492
|
},
|
|
53453
53493
|
{
|
|
53454
|
-
"kind": "
|
|
53455
|
-
"name": "
|
|
53456
|
-
"
|
|
53457
|
-
|
|
53458
|
-
"type": {
|
|
53459
|
-
"text": "void"
|
|
53460
|
-
}
|
|
53494
|
+
"kind": "field",
|
|
53495
|
+
"name": "defaultScheme",
|
|
53496
|
+
"type": {
|
|
53497
|
+
"text": "\"light\" | \"dark\" | \"system\""
|
|
53461
53498
|
},
|
|
53462
|
-
"
|
|
53463
|
-
|
|
53464
|
-
|
|
53465
|
-
|
|
53466
|
-
|
|
53467
|
-
}
|
|
53468
|
-
}
|
|
53469
|
-
],
|
|
53470
|
-
"inheritedFrom": {
|
|
53471
|
-
"name": "EspalierElementBase",
|
|
53472
|
-
"module": "dist/shared/esp-element-base.js"
|
|
53473
|
-
}
|
|
53499
|
+
"privacy": "public",
|
|
53500
|
+
"default": "\"light\"",
|
|
53501
|
+
"description": "Initial color scheme to apply when `scheme` is not set.\n\nUse `light` or `dark` for a fixed published-site default, or\n`system` to follow the visitor's `prefers-color-scheme` before\nthey toggle the active `scheme`.",
|
|
53502
|
+
"attribute": "default-scheme",
|
|
53503
|
+
"reflects": true
|
|
53474
53504
|
},
|
|
53475
53505
|
{
|
|
53476
53506
|
"kind": "field",
|
|
@@ -53479,55 +53509,44 @@
|
|
|
53479
53509
|
"text": "\"dark\" | \"light\""
|
|
53480
53510
|
},
|
|
53481
53511
|
"privacy": "public",
|
|
53512
|
+
"description": "The active color scheme.\n\nLight scheme\n\n```html\n<esp-root scheme=\"light\">\n <esp-box>\n <h2>Light Scheme</h2>\n <esp-button label=\"I am light\"></esp-button>\n </esp-box>\n</esp-root>\n```\n\nDark scheme\n\n```html\n<esp-root scheme=\"dark\">\n <esp-box>\n <h2>Dark Scheme</h2>\n <esp-button label=\"I am dark\"></esp-button>\n </esp-box>\n</esp-root>\n```",
|
|
53482
53513
|
"default": "\"light\"",
|
|
53483
|
-
"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.",
|
|
53484
53514
|
"attribute": "scheme",
|
|
53485
|
-
"reflects": true
|
|
53486
|
-
"inheritedFrom": {
|
|
53487
|
-
"name": "EspalierElementBase",
|
|
53488
|
-
"module": "dist/shared/esp-element-base.js"
|
|
53489
|
-
}
|
|
53515
|
+
"reflects": true
|
|
53490
53516
|
},
|
|
53491
53517
|
{
|
|
53492
53518
|
"kind": "field",
|
|
53493
|
-
"name": "
|
|
53519
|
+
"name": "seedColor",
|
|
53494
53520
|
"type": {
|
|
53495
|
-
"text": "
|
|
53521
|
+
"text": "string"
|
|
53496
53522
|
},
|
|
53497
53523
|
"privacy": "public",
|
|
53498
|
-
"description": "The
|
|
53499
|
-
"
|
|
53500
|
-
"reflects": true,
|
|
53501
|
-
"inheritedFrom": {
|
|
53502
|
-
"name": "EspalierElementBase",
|
|
53503
|
-
"module": "dist/shared/esp-element-base.js"
|
|
53504
|
-
}
|
|
53524
|
+
"description": "The effective seed color from the active theme.\n\nRead-only — supply a theme attribute with a different\n`seedColor` value to change.",
|
|
53525
|
+
"readonly": true
|
|
53505
53526
|
},
|
|
53506
53527
|
{
|
|
53507
53528
|
"kind": "method",
|
|
53508
|
-
"name": "
|
|
53529
|
+
"name": "extractFamily",
|
|
53509
53530
|
"privacy": "private",
|
|
53531
|
+
"static": true,
|
|
53510
53532
|
"return": {
|
|
53511
53533
|
"type": {
|
|
53512
|
-
"text": "
|
|
53534
|
+
"text": "string"
|
|
53513
53535
|
}
|
|
53514
53536
|
},
|
|
53515
53537
|
"parameters": [
|
|
53516
53538
|
{
|
|
53517
|
-
"name": "
|
|
53539
|
+
"name": "cssValue",
|
|
53518
53540
|
"type": {
|
|
53519
|
-
"text": "
|
|
53541
|
+
"text": "string"
|
|
53520
53542
|
}
|
|
53521
53543
|
}
|
|
53522
53544
|
],
|
|
53523
|
-
"
|
|
53524
|
-
"name": "EspalierElementBase",
|
|
53525
|
-
"module": "dist/shared/esp-element-base.js"
|
|
53526
|
-
}
|
|
53545
|
+
"description": "Extract the bare font family name from a CSS `font-family`\nvalue like `\"Roboto\", sans-serif` → `Roboto`."
|
|
53527
53546
|
},
|
|
53528
53547
|
{
|
|
53529
53548
|
"kind": "method",
|
|
53530
|
-
"name": "
|
|
53549
|
+
"name": "injectGoogleFontLink",
|
|
53531
53550
|
"privacy": "private",
|
|
53532
53551
|
"return": {
|
|
53533
53552
|
"type": {
|
|
@@ -53536,358 +53555,299 @@
|
|
|
53536
53555
|
},
|
|
53537
53556
|
"parameters": [
|
|
53538
53557
|
{
|
|
53539
|
-
"name": "
|
|
53558
|
+
"name": "slot",
|
|
53540
53559
|
"type": {
|
|
53541
|
-
"text": "
|
|
53560
|
+
"text": "\"body\" | \"headings\" | \"brand\" | \"monospace\""
|
|
53561
|
+
}
|
|
53562
|
+
},
|
|
53563
|
+
{
|
|
53564
|
+
"name": "family",
|
|
53565
|
+
"type": {
|
|
53566
|
+
"text": "string"
|
|
53567
|
+
}
|
|
53568
|
+
},
|
|
53569
|
+
{
|
|
53570
|
+
"name": "weight",
|
|
53571
|
+
"optional": true,
|
|
53572
|
+
"type": {
|
|
53573
|
+
"text": "string"
|
|
53542
53574
|
}
|
|
53543
53575
|
}
|
|
53544
53576
|
],
|
|
53545
|
-
"
|
|
53546
|
-
"name": "EspalierElementBase",
|
|
53547
|
-
"module": "dist/shared/esp-element-base.js"
|
|
53548
|
-
}
|
|
53577
|
+
"description": "Inject (or replace) a Google Fonts `<link>` for a given slot.\n\nEach slot (`body`, `headings`, `brand`, `monospace`) gets at most one\n`<link>` scoped to this root instance by its correlationId,\nidentified by `data-esp-font=\"<correlationId>-<slot>\"`.\nThis ensures multiple `<esp-root>` instances on the same page\ndo not overwrite each other's font links."
|
|
53549
53578
|
},
|
|
53550
53579
|
{
|
|
53551
53580
|
"kind": "method",
|
|
53552
|
-
"name": "
|
|
53581
|
+
"name": "syncGoogleFontLinks",
|
|
53553
53582
|
"privacy": "private",
|
|
53554
53583
|
"return": {
|
|
53555
53584
|
"type": {
|
|
53556
53585
|
"text": "void"
|
|
53557
53586
|
}
|
|
53558
53587
|
},
|
|
53559
|
-
"
|
|
53560
|
-
"name": "EspalierElementBase",
|
|
53561
|
-
"module": "dist/shared/esp-element-base.js"
|
|
53562
|
-
}
|
|
53563
|
-
},
|
|
53564
|
-
{
|
|
53565
|
-
"kind": "field",
|
|
53566
|
-
"name": "handleSeedColorChanged",
|
|
53567
|
-
"privacy": "private",
|
|
53568
|
-
"inheritedFrom": {
|
|
53569
|
-
"name": "EspalierElementBase",
|
|
53570
|
-
"module": "dist/shared/esp-element-base.js"
|
|
53571
|
-
}
|
|
53572
|
-
},
|
|
53573
|
-
{
|
|
53574
|
-
"kind": "field",
|
|
53575
|
-
"name": "handleSchemeChanged",
|
|
53576
|
-
"privacy": "private",
|
|
53577
|
-
"inheritedFrom": {
|
|
53578
|
-
"name": "EspalierElementBase",
|
|
53579
|
-
"module": "dist/shared/esp-element-base.js"
|
|
53580
|
-
}
|
|
53581
|
-
},
|
|
53582
|
-
{
|
|
53583
|
-
"kind": "field",
|
|
53584
|
-
"name": "handleThemeChanged",
|
|
53585
|
-
"privacy": "private",
|
|
53586
|
-
"inheritedFrom": {
|
|
53587
|
-
"name": "EspalierElementBase",
|
|
53588
|
-
"module": "dist/shared/esp-element-base.js"
|
|
53589
|
-
}
|
|
53590
|
-
},
|
|
53591
|
-
{
|
|
53592
|
-
"kind": "field",
|
|
53593
|
-
"name": "handleIconSpriteUrlChanged",
|
|
53594
|
-
"privacy": "private",
|
|
53595
|
-
"inheritedFrom": {
|
|
53596
|
-
"name": "EspalierElementBase",
|
|
53597
|
-
"module": "dist/shared/esp-element-base.js"
|
|
53598
|
-
}
|
|
53588
|
+
"description": "Ensure Google Font `<link>` tags match the active theme's\nfont families. Called from `willUpdate()` after theme\nresolution."
|
|
53599
53589
|
},
|
|
53600
53590
|
{
|
|
53601
53591
|
"kind": "method",
|
|
53602
|
-
"name": "
|
|
53603
|
-
"privacy": "
|
|
53592
|
+
"name": "removeRuntimeGoogleFontLinks",
|
|
53593
|
+
"privacy": "private",
|
|
53604
53594
|
"return": {
|
|
53605
53595
|
"type": {
|
|
53606
|
-
"text": ""
|
|
53607
|
-
}
|
|
53608
|
-
},
|
|
53609
|
-
"parameters": [
|
|
53610
|
-
{
|
|
53611
|
-
"name": "selector",
|
|
53612
|
-
"type": {
|
|
53613
|
-
"text": "string"
|
|
53614
|
-
},
|
|
53615
|
-
"description": "The selector of the element to look for"
|
|
53596
|
+
"text": "void"
|
|
53616
53597
|
}
|
|
53617
|
-
],
|
|
53618
|
-
"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.",
|
|
53619
|
-
"inheritedFrom": {
|
|
53620
|
-
"name": "EspalierElementBase",
|
|
53621
|
-
"module": "dist/shared/esp-element-base.js"
|
|
53622
53598
|
}
|
|
53623
53599
|
},
|
|
53624
53600
|
{
|
|
53625
53601
|
"kind": "field",
|
|
53626
|
-
"name": "
|
|
53602
|
+
"name": "activeTheme",
|
|
53627
53603
|
"type": {
|
|
53628
|
-
"text": "
|
|
53604
|
+
"text": "EspalierTheme"
|
|
53629
53605
|
},
|
|
53630
|
-
"privacy": "
|
|
53631
|
-
"
|
|
53632
|
-
"readonly": true
|
|
53633
|
-
"default": "{ text: { bg: \"background\", targetLc: 75 }, dangerText: { bg: \"background\", targetLc: 75 }, headings: { bg: \"background\", targetLc: 60 }, headingsHover: { bg: \"background\", targetLc: 60 }, link: { bg: \"background\", targetLc: 75 }, linkHover: { bg: \"background\", targetLc: 75 }, actionText: { bg: \"actionBackground\", targetLc: 75 }, inputCaret: { bg: \"layer2\", targetLc: 60 }, inputSelection: { bg: \"inputSelectionBg\", targetLc: 60 }, }",
|
|
53634
|
-
"description": "Text tokens that require APCA contrast enforcement.\n\nEach entry maps a text-bearing semantic token to:\n - `bg`: the semantic token it sits on (reference color)\n - `targetLc`: the minimum |Lc| the text must achieve",
|
|
53635
|
-
"inheritedFrom": {
|
|
53636
|
-
"name": "EspalierElementBase",
|
|
53637
|
-
"module": "dist/shared/esp-element-base.js"
|
|
53638
|
-
}
|
|
53606
|
+
"privacy": "public",
|
|
53607
|
+
"description": "Returns the resolved theme for the active scheme.",
|
|
53608
|
+
"readonly": true
|
|
53639
53609
|
},
|
|
53640
53610
|
{
|
|
53641
|
-
"kind": "
|
|
53642
|
-
"name": "
|
|
53643
|
-
"type": {
|
|
53644
|
-
"text": "ReadonlySet<ColorSource>"
|
|
53645
|
-
},
|
|
53611
|
+
"kind": "method",
|
|
53612
|
+
"name": "resolveThemes",
|
|
53646
53613
|
"privacy": "private",
|
|
53647
|
-
"
|
|
53648
|
-
|
|
53649
|
-
|
|
53650
|
-
|
|
53651
|
-
|
|
53652
|
-
|
|
53653
|
-
"module": "dist/shared/esp-element-base.js"
|
|
53654
|
-
}
|
|
53614
|
+
"return": {
|
|
53615
|
+
"type": {
|
|
53616
|
+
"text": "void"
|
|
53617
|
+
}
|
|
53618
|
+
},
|
|
53619
|
+
"description": "Re-merge default → theme-attribute for both schemes.\nCalled in `willUpdate()` whenever any input property changes."
|
|
53655
53620
|
},
|
|
53656
53621
|
{
|
|
53657
53622
|
"kind": "field",
|
|
53658
|
-
"name": "
|
|
53659
|
-
"type": {
|
|
53660
|
-
"text": "ReadonlySet<SemanticColorName>"
|
|
53661
|
-
},
|
|
53623
|
+
"name": "resizeObserver",
|
|
53662
53624
|
"privacy": "private",
|
|
53663
|
-
"
|
|
53664
|
-
"readonly": true,
|
|
53665
|
-
"default": "new Set<SemanticColorName>([\"actionBackground\", \"actionText\"])",
|
|
53666
|
-
"description": "Semantic tokens that paint a control's filled action surface. For a\nstatus variant these always derive from the variant's own color, so\nthe Taproot \"Buttons\" semantic group (which re-points\n`actionBackground` / `actionText` to a brand source) cannot rotate a\ndestructive / warning / positive action off its semantic hue. See\ntask 098.",
|
|
53667
|
-
"inheritedFrom": {
|
|
53668
|
-
"name": "EspalierElementBase",
|
|
53669
|
-
"module": "dist/shared/esp-element-base.js"
|
|
53670
|
-
}
|
|
53625
|
+
"default": "new ResizeObserver(() => { getEspBus().publish(\"window-resized\", { emWidth: window.innerWidth / parseFloat(getComputedStyle(document.documentElement).fontSize), emHeight: window.innerHeight / parseFloat(getComputedStyle(document.documentElement).fontSize), pxWidth: window.innerWidth, pxHeight: window.innerHeight, }); })"
|
|
53671
53626
|
},
|
|
53672
53627
|
{
|
|
53673
53628
|
"kind": "method",
|
|
53674
|
-
"name": "
|
|
53675
|
-
"privacy": "
|
|
53629
|
+
"name": "registerDocumentClickBridge",
|
|
53630
|
+
"privacy": "private",
|
|
53676
53631
|
"return": {
|
|
53677
|
-
"type": {
|
|
53678
|
-
"text": "void"
|
|
53679
|
-
}
|
|
53680
|
-
},
|
|
53681
|
-
"inheritedFrom": {
|
|
53682
|
-
"name": "EspalierElementBase",
|
|
53683
|
-
"module": "dist/shared/esp-element-base.js"
|
|
53632
|
+
"type": {
|
|
53633
|
+
"text": "void"
|
|
53634
|
+
}
|
|
53684
53635
|
}
|
|
53685
53636
|
},
|
|
53686
53637
|
{
|
|
53687
53638
|
"kind": "method",
|
|
53688
|
-
"name": "
|
|
53639
|
+
"name": "unregisterDocumentClickBridge",
|
|
53689
53640
|
"privacy": "private",
|
|
53690
53641
|
"return": {
|
|
53691
53642
|
"type": {
|
|
53692
|
-
"text": "
|
|
53693
|
-
}
|
|
53694
|
-
},
|
|
53695
|
-
"parameters": [
|
|
53696
|
-
{
|
|
53697
|
-
"name": "name",
|
|
53698
|
-
"type": {
|
|
53699
|
-
"text": "SemanticColorName"
|
|
53700
|
-
}
|
|
53701
|
-
},
|
|
53702
|
-
{
|
|
53703
|
-
"name": "mappedSource",
|
|
53704
|
-
"type": {
|
|
53705
|
-
"text": "ColorSource"
|
|
53706
|
-
}
|
|
53707
|
-
},
|
|
53708
|
-
{
|
|
53709
|
-
"name": "isStatusVariant",
|
|
53710
|
-
"type": {
|
|
53711
|
-
"text": "boolean"
|
|
53712
|
-
}
|
|
53643
|
+
"text": "void"
|
|
53713
53644
|
}
|
|
53714
|
-
],
|
|
53715
|
-
"description": "Resolve the color source used to derive a semantic token for the\nactive variant.\n\nNormally this is the theme's mapping source, so the variant performs a\nfull palette shift relative to its own color. The exception is the\nmeaning-bearing status variants (`danger`, `success`, `warning`): their\nfilled-action tokens (`actionBackground`, `actionText`) are pinned to\nthe variant's own color — the `primary` entry of the sub-variant\npalette, which is the variant color itself — so a theme that re-points\nthe Buttons semantic group to a brand source cannot rotate a\ndestructive / warning / positive action off its semantic hue. Ordinary\nbrand and primary variants keep full theme customization. See task 098.",
|
|
53716
|
-
"inheritedFrom": {
|
|
53717
|
-
"name": "EspalierElementBase",
|
|
53718
|
-
"module": "dist/shared/esp-element-base.js"
|
|
53719
53645
|
}
|
|
53720
53646
|
},
|
|
53721
53647
|
{
|
|
53722
53648
|
"kind": "method",
|
|
53723
|
-
"name": "
|
|
53724
|
-
"privacy": "
|
|
53649
|
+
"name": "applyDefaultScheme",
|
|
53650
|
+
"privacy": "private",
|
|
53725
53651
|
"return": {
|
|
53726
53652
|
"type": {
|
|
53727
|
-
"text": "
|
|
53653
|
+
"text": "void"
|
|
53728
53654
|
}
|
|
53729
|
-
},
|
|
53730
|
-
"inheritedFrom": {
|
|
53731
|
-
"name": "EspalierElementBase",
|
|
53732
|
-
"module": "dist/shared/esp-element-base.js"
|
|
53733
53655
|
}
|
|
53734
53656
|
},
|
|
53735
53657
|
{
|
|
53736
53658
|
"kind": "method",
|
|
53737
|
-
"name": "
|
|
53659
|
+
"name": "resolveDefaultScheme",
|
|
53738
53660
|
"privacy": "private",
|
|
53739
53661
|
"return": {
|
|
53740
53662
|
"type": {
|
|
53741
|
-
"text": "
|
|
53742
|
-
}
|
|
53743
|
-
},
|
|
53744
|
-
"parameters": [
|
|
53745
|
-
{
|
|
53746
|
-
"name": "name",
|
|
53747
|
-
"type": {
|
|
53748
|
-
"text": "string"
|
|
53749
|
-
}
|
|
53750
|
-
},
|
|
53751
|
-
{
|
|
53752
|
-
"name": "value",
|
|
53753
|
-
"type": {
|
|
53754
|
-
"text": "string"
|
|
53755
|
-
}
|
|
53663
|
+
"text": "\"light\" | \"dark\""
|
|
53756
53664
|
}
|
|
53757
|
-
],
|
|
53758
|
-
"inheritedFrom": {
|
|
53759
|
-
"name": "EspalierElementBase",
|
|
53760
|
-
"module": "dist/shared/esp-element-base.js"
|
|
53761
53665
|
}
|
|
53762
53666
|
},
|
|
53763
53667
|
{
|
|
53764
53668
|
"kind": "method",
|
|
53765
|
-
"name": "
|
|
53669
|
+
"name": "syncSystemSchemeListener",
|
|
53766
53670
|
"privacy": "private",
|
|
53767
53671
|
"return": {
|
|
53768
53672
|
"type": {
|
|
53769
53673
|
"text": "void"
|
|
53770
53674
|
}
|
|
53771
|
-
},
|
|
53772
|
-
"inheritedFrom": {
|
|
53773
|
-
"name": "EspalierElementBase",
|
|
53774
|
-
"module": "dist/shared/esp-element-base.js"
|
|
53775
53675
|
}
|
|
53676
|
+
},
|
|
53677
|
+
{
|
|
53678
|
+
"kind": "field",
|
|
53679
|
+
"name": "handleSystemSchemeChange",
|
|
53680
|
+
"privacy": "private"
|
|
53681
|
+
},
|
|
53682
|
+
{
|
|
53683
|
+
"kind": "field",
|
|
53684
|
+
"name": "lightDomStyles",
|
|
53685
|
+
"static": true,
|
|
53686
|
+
"default": "` /* ── Base typography ──────────────────────────────────── */ esp-root { font-family: var(--esp-font-body); font-weight: var(--esp-font-weight-body); line-height: 1.5; font-size: var(--esp-type-normal); color: var(--esp-color-text); } /* ── Lists ────────────────────────────────────────────── */ esp-root ul[role=\"list\"], esp-root ol[role=\"list\"] { list-style: none; } esp-root ul li::marker, esp-root ol li::marker { font-weight: bold; } /* ── Form controls ────────────────────────────────────── */ esp-root input, esp-root select, esp-root button { font-family: var(--esp-font-body); } /* ── Links ────────────────────────────────────────────── */ esp-root a:not([class]) { text-decoration-skip-ink: auto; font-weight: bold; color: var(--esp-color-link); } esp-root a { text-decoration: underline; text-decoration-skip-ink: auto; color: var(--esp-color-link); } esp-root a:hover { background-color: var(--esp-color-link-hover-bg); color: var(--esp-color-link-hover); text-decoration: none; } /* ── Inherited text styles ────────────────────────────── */ esp-root input, esp-root button, esp-root textarea, esp-root select, esp-root p, esp-root ul, esp-root li { font-family: var(--esp-font-body); color: var(--esp-color-text); font-size: inherit; } esp-root textarea:not([rows]) { min-height: 10em; } /* ── Headings ─────────────────────────────────────────── */ esp-root h1, esp-root h2, esp-root h3, esp-root h4, esp-root h5 { font-family: var(--esp-font-headings); font-weight: var(--esp-font-weight-headings); color: var(--esp-color-headings); margin: var(--esp-size-small-to-normal) 0 var(--esp-size-tiny-to-small); } esp-root h5 { font-size: var(--esp-type-small); line-height: 1.4; } esp-root h4 { font-size: var(--esp-type-medium); line-height: 1.3; } esp-root h3 { font-size: var(--esp-type-big); line-height: 1.2; } esp-root h2 { font-size: var(--esp-type-large); line-height: 1.15; } esp-root h1 { font-size: var(--esp-type-huge); line-height: 1.1; } /* ── Code / Pre ───────────────────────────────────────── */ esp-root pre, esp-root code { font-family: var(--esp-font-monospace); font-weight: var(--esp-font-weight-monospace); } esp-root code { font-size: var(--esp-type-small); background: var(--esp-color-layer-1); border-radius: var(--esp-size-border-radius); padding: 0 0.35em; display: inline-block; border: 1px dotted var(--esp-color-border); } esp-root pre { background-color: var(--esp-color-layer-1); border-radius: var(--esp-size-border-radius); border: 1px dotted var(--esp-color-border); } esp-root pre > code { font-size: var(--esp-type-tiny); display: block; background: none; border: none; hyphens: none; tab-size: 2; white-space: pre; padding: var(--esp-size-padding); overflow: auto; line-height: 1.8; } /* ── Images ────────────────────────────────────────────── */ esp-root img, esp-root picture { max-width: 100%; display: block; } `",
|
|
53687
|
+
"description": "Light-DOM styles injected into `document.head` so that\nslotted content (headings, links, code blocks, lists, etc.)\ninherits the design-system tokens defined on `:host`.\nSelectors are scoped to `esp-root` descendants to avoid\nleaking into content outside the root."
|
|
53776
53688
|
}
|
|
53777
53689
|
],
|
|
53778
|
-
"
|
|
53690
|
+
"attributes": [
|
|
53779
53691
|
{
|
|
53780
|
-
"
|
|
53781
|
-
"
|
|
53692
|
+
"name": "light-theme",
|
|
53693
|
+
"type": {
|
|
53694
|
+
"text": "string"
|
|
53695
|
+
},
|
|
53696
|
+
"default": "\"\"",
|
|
53697
|
+
"description": "Base64-encoded JSON partial theme for the **light** scheme.\n\nOnly fields you wish to override need to be present — all\nothers inherit from the built-in light defaults.\n\n```html\n<esp-root\n light-theme=\"eyJzZWVkQ29sb3IiOiJva2xjaCgwLjcgMC4xNSAyODUpIn0=\"\n scheme=\"light\">\n <esp-box><h2>Purple light theme</h2></esp-box>\n</esp-root>\n```",
|
|
53698
|
+
"fieldName": "lightThemeAttr"
|
|
53782
53699
|
},
|
|
53783
53700
|
{
|
|
53784
|
-
"
|
|
53785
|
-
"
|
|
53701
|
+
"name": "dark-theme",
|
|
53702
|
+
"type": {
|
|
53703
|
+
"text": "string"
|
|
53704
|
+
},
|
|
53705
|
+
"default": "\"\"",
|
|
53706
|
+
"description": "Base64-encoded JSON partial theme for the **dark** scheme.\n\n```html\n<esp-root\n dark-theme=\"eyJzZWVkQ29sb3IiOiJva2xjaCgwLjcgMC4xNSAyODUpIn0=\"\n scheme=\"dark\">\n <esp-box><h2>Purple dark theme</h2></esp-box>\n</esp-root>\n```",
|
|
53707
|
+
"fieldName": "darkThemeAttr"
|
|
53786
53708
|
},
|
|
53787
53709
|
{
|
|
53788
|
-
"
|
|
53789
|
-
"
|
|
53710
|
+
"name": "font-css-root",
|
|
53711
|
+
"type": {
|
|
53712
|
+
"text": "string"
|
|
53713
|
+
},
|
|
53714
|
+
"default": "\"/css/fonts/\"",
|
|
53715
|
+
"description": "Root path for locally-cached font CSS files used by\n`<esp-font-picker>` to load font previews.\n\nThe directory must contain the individual font CSS files\ngenerated by `npm run build-fonts`. These files must be\nserved at stable, predictable paths (no filename hashing)\nbecause the picker constructs URLs by font family name.",
|
|
53716
|
+
"fieldName": "fontCSSRoot"
|
|
53790
53717
|
},
|
|
53791
53718
|
{
|
|
53792
|
-
"name": "
|
|
53719
|
+
"name": "font-definitions-url",
|
|
53793
53720
|
"type": {
|
|
53794
|
-
"text": "
|
|
53721
|
+
"text": "string"
|
|
53795
53722
|
},
|
|
53796
|
-
"
|
|
53797
|
-
|
|
53798
|
-
|
|
53799
|
-
|
|
53800
|
-
}
|
|
53801
|
-
],
|
|
53802
|
-
"attributes": [
|
|
53723
|
+
"default": "\"\"",
|
|
53724
|
+
"description": "Full URL to the `font-definitions.json` catalog used by\n`<esp-font-picker>`.\n\nWhen set, the picker fetches from this URL instead of\n`{fontCSSRoot}font-definitions.json`. This allows the JSON\nto be served through a cache-busting asset pipeline while\nthe individual font CSS files remain at stable paths.",
|
|
53725
|
+
"fieldName": "fontDefinitionsUrl"
|
|
53726
|
+
},
|
|
53803
53727
|
{
|
|
53804
|
-
"name": "
|
|
53728
|
+
"name": "google-font-loading",
|
|
53729
|
+
"type": {
|
|
53730
|
+
"text": "\"auto\" | \"none\""
|
|
53731
|
+
},
|
|
53732
|
+
"default": "\"auto\"",
|
|
53733
|
+
"description": "Controls whether Espalier may inject runtime Google Fonts CDN\nstylesheet links for selected Google Fonts.\n\n`auto` preserves the default behavior: theme font families and\nselected Google font-picker values may load full fonts from\n`fonts.googleapis.com`. `none` prevents those runtime Google\nFonts links, leaving local preview CSS and web-safe font stacks\navailable for locked-down, offline, or strict-CSP environments.",
|
|
53734
|
+
"fieldName": "googleFontLoading"
|
|
53735
|
+
},
|
|
53736
|
+
{
|
|
53737
|
+
"name": "icon-sprite-url",
|
|
53805
53738
|
"type": {
|
|
53806
53739
|
"text": "string"
|
|
53807
53740
|
},
|
|
53808
|
-
"default": "\"
|
|
53809
|
-
"description": "
|
|
53810
|
-
"fieldName": "
|
|
53741
|
+
"default": "\"/assets/icons.svg\"",
|
|
53742
|
+
"description": "Full URL to the SVG sprite used by component-owned `icon`\nattributes.\n\nComponents append the validated icon name as a fragment, so\nthis should point to the sprite file itself, without `#icon`.\nUse this when your application serves the sprite from a\nsubpath, CDN, or cache-busted asset pipeline. Set it to an\nempty string to disable generated sprite icon URLs for this root.\n\n```html\n<esp-root icon-sprite-url=\"/dist/icons.abc123.svg\">\n <esp-button icon=\"save\" label=\"Save\"></esp-button>\n</esp-root>\n```",
|
|
53743
|
+
"fieldName": "iconSpriteUrl"
|
|
53811
53744
|
},
|
|
53812
53745
|
{
|
|
53813
|
-
"name": "scheme",
|
|
53746
|
+
"name": "default-scheme",
|
|
53814
53747
|
"type": {
|
|
53815
|
-
"text": "\"dark\" | \"
|
|
53748
|
+
"text": "\"light\" | \"dark\" | \"system\""
|
|
53816
53749
|
},
|
|
53817
53750
|
"default": "\"light\"",
|
|
53818
|
-
"description": "
|
|
53819
|
-
"fieldName": "
|
|
53820
|
-
"inheritedFrom": {
|
|
53821
|
-
"name": "EspalierElementBase",
|
|
53822
|
-
"module": "dist/shared/esp-element-base.js"
|
|
53823
|
-
}
|
|
53751
|
+
"description": "Initial color scheme to apply when `scheme` is not set.\n\nUse `light` or `dark` for a fixed published-site default, or\n`system` to follow the visitor's `prefers-color-scheme` before\nthey toggle the active `scheme`.",
|
|
53752
|
+
"fieldName": "defaultScheme"
|
|
53824
53753
|
},
|
|
53825
53754
|
{
|
|
53826
|
-
"name": "
|
|
53755
|
+
"name": "scheme",
|
|
53827
53756
|
"type": {
|
|
53828
|
-
"text": "
|
|
53757
|
+
"text": "\"dark\" | \"light\""
|
|
53829
53758
|
},
|
|
53830
|
-
"description": "The
|
|
53831
|
-
"
|
|
53832
|
-
"
|
|
53833
|
-
"name": "EspalierElementBase",
|
|
53834
|
-
"module": "dist/shared/esp-element-base.js"
|
|
53835
|
-
}
|
|
53759
|
+
"description": "The active color scheme.\n\nLight scheme\n\n```html\n<esp-root scheme=\"light\">\n <esp-box>\n <h2>Light Scheme</h2>\n <esp-button label=\"I am light\"></esp-button>\n </esp-box>\n</esp-root>\n```\n\nDark scheme\n\n```html\n<esp-root scheme=\"dark\">\n <esp-box>\n <h2>Dark Scheme</h2>\n <esp-button label=\"I am dark\"></esp-button>\n </esp-box>\n</esp-root>\n```",
|
|
53760
|
+
"default": "\"light\"",
|
|
53761
|
+
"fieldName": "scheme"
|
|
53836
53762
|
}
|
|
53837
53763
|
],
|
|
53838
53764
|
"superclass": {
|
|
53839
|
-
"name": "
|
|
53840
|
-
"
|
|
53841
|
-
},
|
|
53842
|
-
"docUrl": {
|
|
53843
|
-
"name": "/components/search",
|
|
53844
|
-
"description": ""
|
|
53765
|
+
"name": "LitElement",
|
|
53766
|
+
"package": "lit"
|
|
53845
53767
|
},
|
|
53768
|
+
"tagName": "esp-root",
|
|
53769
|
+
"customElement": true,
|
|
53846
53770
|
"docPageTitle": {
|
|
53847
|
-
"name": "
|
|
53771
|
+
"name": "Root",
|
|
53848
53772
|
"description": ""
|
|
53849
53773
|
},
|
|
53850
|
-
"
|
|
53851
|
-
"name": "
|
|
53774
|
+
"docUrl": {
|
|
53775
|
+
"name": "/components/root",
|
|
53852
53776
|
"description": ""
|
|
53853
53777
|
},
|
|
53854
53778
|
"menuGroup": {
|
|
53855
|
-
"name": "
|
|
53779
|
+
"name": "Structure",
|
|
53856
53780
|
"description": ""
|
|
53857
53781
|
},
|
|
53858
53782
|
"menuOrder": {
|
|
53859
|
-
"name": "
|
|
53783
|
+
"name": "1",
|
|
53860
53784
|
"description": ""
|
|
53861
53785
|
},
|
|
53862
|
-
"
|
|
53863
|
-
"name": "
|
|
53786
|
+
"menuLabel": {
|
|
53787
|
+
"name": "Root",
|
|
53864
53788
|
"description": ""
|
|
53865
53789
|
},
|
|
53866
|
-
"
|
|
53867
|
-
|
|
53868
|
-
|
|
53869
|
-
|
|
53870
|
-
"title": "Basic search (consumer wiring not shown)",
|
|
53871
|
-
"body": "```html\n<esp-search placeholder=\"Search docs...\"></esp-search>\n```"
|
|
53872
|
-
}
|
|
53873
|
-
]
|
|
53790
|
+
"menuIcon": {
|
|
53791
|
+
"name": "building",
|
|
53792
|
+
"description": ""
|
|
53793
|
+
}
|
|
53874
53794
|
}
|
|
53875
53795
|
],
|
|
53876
53796
|
"exports": [
|
|
53877
53797
|
{
|
|
53878
53798
|
"kind": "js",
|
|
53879
|
-
"name": "
|
|
53799
|
+
"name": "registerImageTexture",
|
|
53880
53800
|
"declaration": {
|
|
53881
|
-
"name": "
|
|
53882
|
-
"module": "
|
|
53801
|
+
"name": "registerImageTexture",
|
|
53802
|
+
"module": "../shared/image-texture-registry.js"
|
|
53803
|
+
}
|
|
53804
|
+
},
|
|
53805
|
+
{
|
|
53806
|
+
"kind": "js",
|
|
53807
|
+
"name": "registeredImageTextures",
|
|
53808
|
+
"declaration": {
|
|
53809
|
+
"name": "registeredImageTextures",
|
|
53810
|
+
"module": "../shared/image-texture-registry.js"
|
|
53811
|
+
}
|
|
53812
|
+
},
|
|
53813
|
+
{
|
|
53814
|
+
"kind": "js",
|
|
53815
|
+
"name": "BUILT_IN_IMAGE_TEXTURES",
|
|
53816
|
+
"declaration": {
|
|
53817
|
+
"name": "BUILT_IN_IMAGE_TEXTURES",
|
|
53818
|
+
"module": "../shared/image-texture-registry.js"
|
|
53819
|
+
}
|
|
53820
|
+
},
|
|
53821
|
+
{
|
|
53822
|
+
"kind": "js",
|
|
53823
|
+
"name": "ImageTextureDefinition",
|
|
53824
|
+
"declaration": {
|
|
53825
|
+
"name": "ImageTextureDefinition",
|
|
53826
|
+
"module": "../shared/image-texture-registry.js"
|
|
53827
|
+
}
|
|
53828
|
+
},
|
|
53829
|
+
{
|
|
53830
|
+
"kind": "js",
|
|
53831
|
+
"name": "SchemeEvents",
|
|
53832
|
+
"declaration": {
|
|
53833
|
+
"name": "SchemeEvents",
|
|
53834
|
+
"module": "../shared/bus-events.js"
|
|
53835
|
+
}
|
|
53836
|
+
},
|
|
53837
|
+
{
|
|
53838
|
+
"kind": "js",
|
|
53839
|
+
"name": "EspalierRoot",
|
|
53840
|
+
"declaration": {
|
|
53841
|
+
"name": "EspalierRoot",
|
|
53842
|
+
"module": "dist/root/esp-root.js"
|
|
53883
53843
|
}
|
|
53884
53844
|
},
|
|
53885
53845
|
{
|
|
53886
53846
|
"kind": "custom-element-definition",
|
|
53887
|
-
"name": "esp-
|
|
53847
|
+
"name": "esp-root",
|
|
53888
53848
|
"declaration": {
|
|
53889
|
-
"name": "
|
|
53890
|
-
"module": "dist/
|
|
53849
|
+
"name": "EspalierRoot",
|
|
53850
|
+
"module": "dist/root/esp-root.js"
|
|
53891
53851
|
}
|
|
53892
53852
|
}
|
|
53893
53853
|
]
|