@taprootio/espalier 2.0.0 → 2.0.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/custom-elements.json +779 -779
- package/dist/grid/esp-grid.d.ts +1 -1
- package/dist/grid/esp-grid.js +1 -1
- package/dist/pickers/esp-picker-menu.d.ts +1 -1
- package/dist/pickers/esp-picker-menu.js +1 -1
- package/dist/repeater/esp-repeater.d.ts +1 -1
- package/dist/repeater/esp-repeater.js +1 -1
- package/dist/shared/virtualizer/internal/LitVirtualizer.js +1 -0
- package/dist/shared/virtualizer/internal/ScrollerController.js +1 -0
- package/dist/shared/virtualizer/internal/Virtualizer.js +1 -0
- package/dist/shared/virtualizer/internal/events.js +1 -0
- package/dist/shared/virtualizer/internal/layouts/flow.js +1 -0
- package/dist/shared/virtualizer/internal/layouts/shared/BaseLayout.js +1 -0
- package/dist/shared/virtualizer/internal/layouts/shared/Layout.js +0 -0
- package/dist/shared/virtualizer/internal/layouts/shared/SizeCache.js +1 -0
- package/dist/shared/virtualizer/internal/virtualize.js +1 -0
- package/dist/shared/virtualizer/lit-virtualizer.d.ts +1 -0
- package/dist/shared/virtualizer/lit-virtualizer.js +1 -0
- package/dist/shared/virtualizer/types.js +0 -0
- package/licenses/ASSET_PROVENANCE.md +1 -0
- package/licenses/README.md +4 -3
- package/licenses/THIRD_PARTY_NOTICES.md +41 -0
- package/licenses/asset-provenance.json +24 -1
- package/licenses/open-source-audit/2026-05-30-dependency-license-audit.md +19 -18
- package/package.json +5 -6
package/custom-elements.json
CHANGED
|
@@ -5200,162 +5200,28 @@
|
|
|
5200
5200
|
},
|
|
5201
5201
|
{
|
|
5202
5202
|
"kind": "javascript-module",
|
|
5203
|
-
"path": "dist/
|
|
5203
|
+
"path": "dist/box/esp-box.js",
|
|
5204
5204
|
"declarations": [
|
|
5205
5205
|
{
|
|
5206
5206
|
"kind": "class",
|
|
5207
|
-
"description": "
|
|
5208
|
-
"name": "
|
|
5207
|
+
"description": "Used as a base to group context visually. `esp-box`\nhas a css part of `box` that can be styled to create cards,\nforms, and other UI elements.\n\n```html\n<esp-box>\n <h2>Box things</h2>\n <p>Things grouped visually.</p>\n</esp-box>\n```",
|
|
5208
|
+
"name": "EspalierBox",
|
|
5209
5209
|
"cssProperties": [
|
|
5210
5210
|
{
|
|
5211
|
-
"description": "The
|
|
5212
|
-
"name": "--esp-
|
|
5213
|
-
},
|
|
5214
|
-
{
|
|
5215
|
-
"description": "The text color on hover.",
|
|
5216
|
-
"name": "--esp-breadcrumb-hover-color"
|
|
5217
|
-
}
|
|
5218
|
-
],
|
|
5219
|
-
"members": [
|
|
5220
|
-
{
|
|
5221
|
-
"kind": "field",
|
|
5222
|
-
"name": "label",
|
|
5223
|
-
"type": {
|
|
5224
|
-
"text": "string"
|
|
5225
|
-
},
|
|
5226
|
-
"privacy": "public",
|
|
5227
|
-
"default": "\"\"",
|
|
5228
|
-
"description": "The label to display in the breadcrumb",
|
|
5229
|
-
"attribute": "label"
|
|
5230
|
-
},
|
|
5231
|
-
{
|
|
5232
|
-
"kind": "field",
|
|
5233
|
-
"name": "url",
|
|
5234
|
-
"type": {
|
|
5235
|
-
"text": "string"
|
|
5236
|
-
},
|
|
5237
|
-
"privacy": "public",
|
|
5238
|
-
"default": "\"\"",
|
|
5239
|
-
"description": "The url the breadcrumb points to",
|
|
5240
|
-
"attribute": "url"
|
|
5241
|
-
},
|
|
5242
|
-
{
|
|
5243
|
-
"kind": "field",
|
|
5244
|
-
"name": "separator",
|
|
5245
|
-
"type": {
|
|
5246
|
-
"text": "string"
|
|
5247
|
-
},
|
|
5248
|
-
"privacy": "public",
|
|
5249
|
-
"default": "\"\"",
|
|
5250
|
-
"description": "Used to override the SVG separator displayed after the\nbreadcrumb.",
|
|
5251
|
-
"attribute": "separator"
|
|
5252
|
-
},
|
|
5253
|
-
{
|
|
5254
|
-
"kind": "field",
|
|
5255
|
-
"name": "isLastElement",
|
|
5256
|
-
"type": {
|
|
5257
|
-
"text": "boolean"
|
|
5258
|
-
},
|
|
5259
|
-
"privacy": "public",
|
|
5260
|
-
"default": "false",
|
|
5261
|
-
"description": "Used internally to render the item using a label\ninstead of a link.",
|
|
5262
|
-
"attribute": "is-last-element"
|
|
5263
|
-
},
|
|
5264
|
-
{
|
|
5265
|
-
"kind": "method",
|
|
5266
|
-
"name": "_renderLink",
|
|
5267
|
-
"privacy": "private"
|
|
5268
|
-
}
|
|
5269
|
-
],
|
|
5270
|
-
"attributes": [
|
|
5271
|
-
{
|
|
5272
|
-
"name": "label",
|
|
5273
|
-
"type": {
|
|
5274
|
-
"text": "string"
|
|
5275
|
-
},
|
|
5276
|
-
"default": "\"\"",
|
|
5277
|
-
"description": "The label to display in the breadcrumb",
|
|
5278
|
-
"fieldName": "label"
|
|
5211
|
+
"description": "The background color of the box.",
|
|
5212
|
+
"name": "--esp-color-box-background"
|
|
5279
5213
|
},
|
|
5280
5214
|
{
|
|
5281
|
-
"
|
|
5282
|
-
"
|
|
5283
|
-
"text": "string"
|
|
5284
|
-
},
|
|
5285
|
-
"default": "\"\"",
|
|
5286
|
-
"description": "The url the breadcrumb points to",
|
|
5287
|
-
"fieldName": "url"
|
|
5215
|
+
"description": "Adds a layer in the background of the box. Intended for background images or gradients.",
|
|
5216
|
+
"name": "--esp-box-background"
|
|
5288
5217
|
},
|
|
5289
5218
|
{
|
|
5290
|
-
"
|
|
5291
|
-
"
|
|
5292
|
-
"text": "string"
|
|
5293
|
-
},
|
|
5294
|
-
"default": "\"\"",
|
|
5295
|
-
"description": "Used to override the SVG separator displayed after the\nbreadcrumb.",
|
|
5296
|
-
"fieldName": "separator"
|
|
5219
|
+
"description": "The opacity of the background layer.",
|
|
5220
|
+
"name": "--esp-box-background-opacity"
|
|
5297
5221
|
},
|
|
5298
5222
|
{
|
|
5299
|
-
"
|
|
5300
|
-
"
|
|
5301
|
-
"text": "boolean"
|
|
5302
|
-
},
|
|
5303
|
-
"default": "false",
|
|
5304
|
-
"description": "Used internally to render the item using a label\ninstead of a link.",
|
|
5305
|
-
"fieldName": "isLastElement"
|
|
5306
|
-
}
|
|
5307
|
-
],
|
|
5308
|
-
"superclass": {
|
|
5309
|
-
"name": "LitElement",
|
|
5310
|
-
"package": "lit"
|
|
5311
|
-
},
|
|
5312
|
-
"docPageTitle": {
|
|
5313
|
-
"name": "Breadcrumb",
|
|
5314
|
-
"description": ""
|
|
5315
|
-
},
|
|
5316
|
-
"docUrl": {
|
|
5317
|
-
"name": "/components/breadcrumbs/breadcrumb",
|
|
5318
|
-
"description": ""
|
|
5319
|
-
},
|
|
5320
|
-
"menuGroup": {
|
|
5321
|
-
"name": "Navigation",
|
|
5322
|
-
"description": ""
|
|
5323
|
-
},
|
|
5324
|
-
"tagName": "esp-breadcrumb",
|
|
5325
|
-
"customElement": true
|
|
5326
|
-
}
|
|
5327
|
-
],
|
|
5328
|
-
"exports": [
|
|
5329
|
-
{
|
|
5330
|
-
"kind": "js",
|
|
5331
|
-
"name": "EspalierBreadcrumb",
|
|
5332
|
-
"declaration": {
|
|
5333
|
-
"name": "EspalierBreadcrumb",
|
|
5334
|
-
"module": "dist/breadcrumbs/esp-breadcrumb.js"
|
|
5335
|
-
}
|
|
5336
|
-
},
|
|
5337
|
-
{
|
|
5338
|
-
"kind": "custom-element-definition",
|
|
5339
|
-
"name": "esp-breadcrumb",
|
|
5340
|
-
"declaration": {
|
|
5341
|
-
"name": "EspalierBreadcrumb",
|
|
5342
|
-
"module": "dist/breadcrumbs/esp-breadcrumb.js"
|
|
5343
|
-
}
|
|
5344
|
-
}
|
|
5345
|
-
]
|
|
5346
|
-
},
|
|
5347
|
-
{
|
|
5348
|
-
"kind": "javascript-module",
|
|
5349
|
-
"path": "dist/breadcrumbs/esp-breadcrumbs.js",
|
|
5350
|
-
"declarations": [
|
|
5351
|
-
{
|
|
5352
|
-
"kind": "class",
|
|
5353
|
-
"description": "Used to display breadcrumb navigation. By default, the breadcrumbs\nwill be separated by right-arrows, with the final item having a\ndown-arrow after it.\n[esp-breadcrumb](/components/breadcrumbs/breadcrumb) instances\nshould be placed in the default slot to build out the navigation.\n\n```html\n<esp-breadcrumbs>\n <esp-breadcrumb label=\"One\" url=\"#\"></esp-breadcrumb>\n <esp-breadcrumb label=\"Two\" url=\"#\"></esp-breadcrumb>\n <esp-breadcrumb label=\"Three\" url=\"#\"></esp-breadcrumb>\n</esp-breadcrumbs>\n```\n\nCustom separators can be specified in the `<esp-breadcrumb>`:\n\n```html\n<esp-breadcrumbs>\n <esp-breadcrumb label=\"One\" url=\"#\"\n separator=\"<svg><use href='/assets/icons.svg#rocket' /></svg>\">\n </esp-breadcrumb>\n <esp-breadcrumb label=\"Two\" url=\"#\"\n separator=\"<svg><use href='/assets/icons.svg#rocket' /></svg>\">\n </esp-breadcrumb>\n <esp-breadcrumb label=\"Three\" url=\"#\"\n separator=\"<svg><use href='/assets/icons.svg#flower' /></svg>\">\n </esp-breadcrumb>\n</esp-breadcrumbs>\n```",
|
|
5354
|
-
"name": "EspalierBreadcrumbs",
|
|
5355
|
-
"cssProperties": [
|
|
5356
|
-
{
|
|
5357
|
-
"description": "Set the color of the separator. It defaults to a bright complementary color. ```html <style> esp-breadcrumbs#custom-crumb { --esp-breadcrumb-separator-color: red; } </style> <esp-breadcrumbs id=\"custom-crumb\"> <esp-breadcrumb label=\"One\" url=\"#\" separator=\"<svg><use href='/assets/icons.svg#rocket' /></svg>\"> </esp-breadcrumb> <esp-breadcrumb label=\"Two\" url=\"#\" separator=\"<svg><use href='/assets/icons.svg#rocket' /></svg>\"> </esp-breadcrumb> <esp-breadcrumb label=\"Three\" url=\"#\" separator=\"<svg><use href='/assets/icons.svg#flower' /></svg>\"> </esp-breadcrumb> </esp-breadcrumbs> ```",
|
|
5358
|
-
"name": "--esp-breadcrumb-separator-color"
|
|
5223
|
+
"description": "The padding inside the box. ```html <style> esp-root[scheme=\"light\"] { esp-box.box-with-bg { --esp-box-background: url(/assets/espalier-paper-texture.png) repeat; --esp-box-background-opacity: .5; } } esp-root[scheme=\"dark\"] { esp-box.box-with-bg { --esp-box-background: url(/assets/espalier-geometric-texture.png) repeat; --esp-box-background-opacity: .5; } } </style> <esp-box class=\"box-with-bg\" variant=\"analogous-right\"> <h2>Box with background image</h2> <p>I have a different generated background texture in dark mode than light mode.</p> </esp-box> ```",
|
|
5224
|
+
"name": "--esp-size-box-padding"
|
|
5359
5225
|
},
|
|
5360
5226
|
{
|
|
5361
5227
|
"description": "Background color of the shared field shell. Defaults to `var(--esp-color-layer-2)`.",
|
|
@@ -5414,17 +5280,29 @@
|
|
|
5414
5280
|
}
|
|
5415
5281
|
}
|
|
5416
5282
|
],
|
|
5283
|
+
"cssParts": [
|
|
5284
|
+
{
|
|
5285
|
+
"description": "The box element. The default style is a padded element displayed as a box. Style the CSS part to create cards, forms, and other UI elements. Here is a card style: ```html <style> esp-box.card-box::part(box) { display: grid; grid-template-rows: min-content min-content; gap: var(--esp-size-padding); padding: 0; } esp-box.card-box header { background: oklch(from var(--esp-color-complementary) var(--esp-l-text) c h); color: oklch(from var(--esp-color-complementary) var(--esp-l-surface) c h); font-size: var(--esp-size-big-to-large); padding: var(--esp-size-padding); line-height: 1.1; font-family: var(--esp-font-headings); } esp-box.card-box div { padding: var(--esp-size-padding); } </style> <esp-box class=\"card-box\" variant=\"analogous-right\"> <header>Box as a card</header> <div> <p>Card content.</p> </div> </esp-box> ```",
|
|
5286
|
+
"name": "box"
|
|
5287
|
+
}
|
|
5288
|
+
],
|
|
5417
5289
|
"slots": [
|
|
5418
5290
|
{
|
|
5419
|
-
"description": "
|
|
5291
|
+
"description": "The default slot holds elements to display in the box. ```html <esp-box> <h2>Slotted Content</h2> <p>Goes in the box</p> </esp-box> ```",
|
|
5420
5292
|
"name": ""
|
|
5421
5293
|
}
|
|
5422
5294
|
],
|
|
5423
5295
|
"members": [
|
|
5424
5296
|
{
|
|
5425
5297
|
"kind": "field",
|
|
5426
|
-
"name": "
|
|
5427
|
-
"
|
|
5298
|
+
"name": "fullScreen",
|
|
5299
|
+
"type": {
|
|
5300
|
+
"text": "boolean"
|
|
5301
|
+
},
|
|
5302
|
+
"privacy": "public",
|
|
5303
|
+
"default": "false",
|
|
5304
|
+
"description": "Whether the box should take up the full screen. Useful when\ndisplaying a dialog in full-screen mode.\n\n```html\n<esp-box variant=\"triadic-right\">\n <h2>Box things</h2>\n <esp-box variant=\"complementary\">\n <h2>Box in box</h2>\n <esp-button label=\"Toggle full screen\" variant=\"complementary\"></esp-button>\n </esp-box>\n</esp-box>\n<script>\n let fullScreen = false;\n const theBox = findByTagName(\"esp-box\")[0];\n const theButton = findByTagName(\"esp-button\")[0];\n theButton.addEventListener(\"clicked\", () => {\n fullScreen = !fullScreen;\n\n if(fullScreen) {\n theBox.setAttribute(\"full-screen\", true);\n } else {\n theBox.removeAttribute(\"full-screen\");\n }\n });\n</script>\n```",
|
|
5305
|
+
"attribute": "full-screen"
|
|
5428
5306
|
},
|
|
5429
5307
|
{
|
|
5430
5308
|
"kind": "field",
|
|
@@ -5885,33 +5763,16 @@
|
|
|
5885
5763
|
}
|
|
5886
5764
|
}
|
|
5887
5765
|
],
|
|
5888
|
-
"superclass": {
|
|
5889
|
-
"name": "EspalierElementBase",
|
|
5890
|
-
"module": "dist/shared/esp-element-base.js"
|
|
5891
|
-
},
|
|
5892
|
-
"tagName": "esp-breadcrumbs",
|
|
5893
|
-
"customElement": true,
|
|
5894
|
-
"docPageTitle": {
|
|
5895
|
-
"name": "Breadcrumbs",
|
|
5896
|
-
"description": ""
|
|
5897
|
-
},
|
|
5898
|
-
"docUrl": {
|
|
5899
|
-
"name": "/components/breadcrumbs",
|
|
5900
|
-
"description": ""
|
|
5901
|
-
},
|
|
5902
|
-
"menuGroup": {
|
|
5903
|
-
"name": "Navigation",
|
|
5904
|
-
"description": ""
|
|
5905
|
-
},
|
|
5906
|
-
"menuLabel": {
|
|
5907
|
-
"name": "Breadcrumbs",
|
|
5908
|
-
"description": ""
|
|
5909
|
-
},
|
|
5910
|
-
"menuIcon": {
|
|
5911
|
-
"name": "directions",
|
|
5912
|
-
"description": ""
|
|
5913
|
-
},
|
|
5914
5766
|
"attributes": [
|
|
5767
|
+
{
|
|
5768
|
+
"name": "full-screen",
|
|
5769
|
+
"type": {
|
|
5770
|
+
"text": "boolean"
|
|
5771
|
+
},
|
|
5772
|
+
"default": "false",
|
|
5773
|
+
"description": "Whether the box should take up the full screen. Useful when\ndisplaying a dialog in full-screen mode.\n\n```html\n<esp-box variant=\"triadic-right\">\n <h2>Box things</h2>\n <esp-box variant=\"complementary\">\n <h2>Box in box</h2>\n <esp-button label=\"Toggle full screen\" variant=\"complementary\"></esp-button>\n </esp-box>\n</esp-box>\n<script>\n let fullScreen = false;\n const theBox = findByTagName(\"esp-box\")[0];\n const theButton = findByTagName(\"esp-button\")[0];\n theButton.addEventListener(\"clicked\", () => {\n fullScreen = !fullScreen;\n\n if(fullScreen) {\n theBox.setAttribute(\"full-screen\", true);\n } else {\n theBox.removeAttribute(\"full-screen\");\n }\n });\n</script>\n```",
|
|
5774
|
+
"fieldName": "fullScreen"
|
|
5775
|
+
},
|
|
5915
5776
|
{
|
|
5916
5777
|
"name": "scheme",
|
|
5917
5778
|
"type": {
|
|
@@ -5938,6 +5799,36 @@
|
|
|
5938
5799
|
}
|
|
5939
5800
|
}
|
|
5940
5801
|
],
|
|
5802
|
+
"superclass": {
|
|
5803
|
+
"name": "EspalierElementBase",
|
|
5804
|
+
"module": "dist/shared/esp-element-base.js"
|
|
5805
|
+
},
|
|
5806
|
+
"tagName": "esp-box",
|
|
5807
|
+
"customElement": true,
|
|
5808
|
+
"docPageTitle": {
|
|
5809
|
+
"name": "Box",
|
|
5810
|
+
"description": ""
|
|
5811
|
+
},
|
|
5812
|
+
"docUrl": {
|
|
5813
|
+
"name": "/components/box",
|
|
5814
|
+
"description": ""
|
|
5815
|
+
},
|
|
5816
|
+
"menuGroup": {
|
|
5817
|
+
"name": "Structure",
|
|
5818
|
+
"description": ""
|
|
5819
|
+
},
|
|
5820
|
+
"menuOrder": {
|
|
5821
|
+
"name": "3",
|
|
5822
|
+
"description": ""
|
|
5823
|
+
},
|
|
5824
|
+
"menuLabel": {
|
|
5825
|
+
"name": "Box",
|
|
5826
|
+
"description": ""
|
|
5827
|
+
},
|
|
5828
|
+
"menuIcon": {
|
|
5829
|
+
"name": "box",
|
|
5830
|
+
"description": ""
|
|
5831
|
+
},
|
|
5941
5832
|
"events": [
|
|
5942
5833
|
{
|
|
5943
5834
|
"name": "value-changed",
|
|
@@ -5955,122 +5846,127 @@
|
|
|
5955
5846
|
"exports": [
|
|
5956
5847
|
{
|
|
5957
5848
|
"kind": "js",
|
|
5958
|
-
"name": "
|
|
5959
|
-
"declaration": {
|
|
5960
|
-
"name": "*",
|
|
5961
|
-
"module": "dist/breadcrumbs/esp-breadcrumb.js"
|
|
5962
|
-
}
|
|
5963
|
-
},
|
|
5964
|
-
{
|
|
5965
|
-
"kind": "js",
|
|
5966
|
-
"name": "EspalierBreadcrumbs",
|
|
5849
|
+
"name": "EspalierBox",
|
|
5967
5850
|
"declaration": {
|
|
5968
|
-
"name": "
|
|
5969
|
-
"module": "dist/
|
|
5851
|
+
"name": "EspalierBox",
|
|
5852
|
+
"module": "dist/box/esp-box.js"
|
|
5970
5853
|
}
|
|
5971
5854
|
},
|
|
5972
5855
|
{
|
|
5973
5856
|
"kind": "custom-element-definition",
|
|
5974
|
-
"name": "esp-
|
|
5857
|
+
"name": "esp-box",
|
|
5975
5858
|
"declaration": {
|
|
5976
|
-
"name": "
|
|
5977
|
-
"module": "dist/
|
|
5859
|
+
"name": "EspalierBox",
|
|
5860
|
+
"module": "dist/box/esp-box.js"
|
|
5978
5861
|
}
|
|
5979
5862
|
}
|
|
5980
5863
|
]
|
|
5981
5864
|
},
|
|
5982
5865
|
{
|
|
5983
5866
|
"kind": "javascript-module",
|
|
5984
|
-
"path": "dist/
|
|
5867
|
+
"path": "dist/breadcrumbs/esp-breadcrumb.js",
|
|
5985
5868
|
"declarations": [
|
|
5986
5869
|
{
|
|
5987
5870
|
"kind": "class",
|
|
5988
|
-
"description": "
|
|
5989
|
-
"name": "
|
|
5871
|
+
"description": "Represents a single breadcrumb to use in\n[esp-breadcrumbs](/components/breadcrumbs/) to show breadcrumb\nnavigation.",
|
|
5872
|
+
"name": "EspalierBreadcrumb",
|
|
5990
5873
|
"cssProperties": [
|
|
5991
5874
|
{
|
|
5992
|
-
"description": "The color of the
|
|
5993
|
-
"name": "--esp-color
|
|
5875
|
+
"description": "The text color of the breadcrumb link.",
|
|
5876
|
+
"name": "--esp-breadcrumb-color"
|
|
5994
5877
|
},
|
|
5995
5878
|
{
|
|
5996
|
-
"description": "The
|
|
5997
|
-
"name": "--esp-
|
|
5998
|
-
}
|
|
5879
|
+
"description": "The text color on hover.",
|
|
5880
|
+
"name": "--esp-breadcrumb-hover-color"
|
|
5881
|
+
}
|
|
5882
|
+
],
|
|
5883
|
+
"members": [
|
|
5999
5884
|
{
|
|
6000
|
-
"
|
|
6001
|
-
"name": "
|
|
5885
|
+
"kind": "field",
|
|
5886
|
+
"name": "label",
|
|
5887
|
+
"type": {
|
|
5888
|
+
"text": "string"
|
|
5889
|
+
},
|
|
5890
|
+
"privacy": "public",
|
|
5891
|
+
"default": "\"\"",
|
|
5892
|
+
"description": "The label to display in the breadcrumb",
|
|
5893
|
+
"attribute": "label"
|
|
6002
5894
|
},
|
|
6003
5895
|
{
|
|
6004
|
-
"
|
|
6005
|
-
"name": "
|
|
5896
|
+
"kind": "field",
|
|
5897
|
+
"name": "url",
|
|
5898
|
+
"type": {
|
|
5899
|
+
"text": "string"
|
|
5900
|
+
},
|
|
5901
|
+
"privacy": "public",
|
|
5902
|
+
"default": "\"\"",
|
|
5903
|
+
"description": "The url the breadcrumb points to",
|
|
5904
|
+
"attribute": "url"
|
|
6006
5905
|
},
|
|
6007
|
-
{
|
|
6008
|
-
"description": "The stroke width of the burger lines.",
|
|
6009
|
-
"name": "--esp-size-burger-stroke"
|
|
6010
|
-
}
|
|
6011
|
-
],
|
|
6012
|
-
"members": [
|
|
6013
5906
|
{
|
|
6014
5907
|
"kind": "field",
|
|
6015
|
-
"name": "
|
|
5908
|
+
"name": "separator",
|
|
6016
5909
|
"type": {
|
|
6017
|
-
"text": "
|
|
5910
|
+
"text": "string"
|
|
6018
5911
|
},
|
|
6019
5912
|
"privacy": "public",
|
|
6020
|
-
"default": "
|
|
6021
|
-
"description": "
|
|
6022
|
-
"attribute": "
|
|
5913
|
+
"default": "\"\"",
|
|
5914
|
+
"description": "Used to override the SVG separator displayed after the\nbreadcrumb.",
|
|
5915
|
+
"attribute": "separator"
|
|
6023
5916
|
},
|
|
6024
5917
|
{
|
|
6025
5918
|
"kind": "field",
|
|
6026
|
-
"name": "
|
|
5919
|
+
"name": "isLastElement",
|
|
6027
5920
|
"type": {
|
|
6028
5921
|
"text": "boolean"
|
|
6029
5922
|
},
|
|
6030
5923
|
"privacy": "public",
|
|
6031
5924
|
"default": "false",
|
|
6032
|
-
"description": "
|
|
6033
|
-
"attribute": "
|
|
5925
|
+
"description": "Used internally to render the item using a label\ninstead of a link.",
|
|
5926
|
+
"attribute": "is-last-element"
|
|
6034
5927
|
},
|
|
6035
5928
|
{
|
|
6036
5929
|
"kind": "method",
|
|
6037
|
-
"name": "
|
|
5930
|
+
"name": "_renderLink",
|
|
5931
|
+
"privacy": "private"
|
|
6038
5932
|
}
|
|
6039
5933
|
],
|
|
6040
|
-
"
|
|
5934
|
+
"attributes": [
|
|
6041
5935
|
{
|
|
6042
|
-
"name": "
|
|
5936
|
+
"name": "label",
|
|
6043
5937
|
"type": {
|
|
6044
|
-
"text": "
|
|
5938
|
+
"text": "string"
|
|
6045
5939
|
},
|
|
6046
|
-
"
|
|
5940
|
+
"default": "\"\"",
|
|
5941
|
+
"description": "The label to display in the breadcrumb",
|
|
5942
|
+
"fieldName": "label"
|
|
6047
5943
|
},
|
|
6048
5944
|
{
|
|
6049
|
-
"name": "
|
|
5945
|
+
"name": "url",
|
|
6050
5946
|
"type": {
|
|
6051
|
-
"text": "
|
|
5947
|
+
"text": "string"
|
|
6052
5948
|
},
|
|
6053
|
-
"
|
|
6054
|
-
|
|
6055
|
-
|
|
6056
|
-
|
|
5949
|
+
"default": "\"\"",
|
|
5950
|
+
"description": "The url the breadcrumb points to",
|
|
5951
|
+
"fieldName": "url"
|
|
5952
|
+
},
|
|
6057
5953
|
{
|
|
6058
|
-
"name": "
|
|
5954
|
+
"name": "separator",
|
|
6059
5955
|
"type": {
|
|
6060
|
-
"text": "
|
|
5956
|
+
"text": "string"
|
|
6061
5957
|
},
|
|
6062
|
-
"default": "
|
|
6063
|
-
"description": "
|
|
6064
|
-
"fieldName": "
|
|
5958
|
+
"default": "\"\"",
|
|
5959
|
+
"description": "Used to override the SVG separator displayed after the\nbreadcrumb.",
|
|
5960
|
+
"fieldName": "separator"
|
|
6065
5961
|
},
|
|
6066
5962
|
{
|
|
6067
|
-
"name": "
|
|
5963
|
+
"name": "is-last-element",
|
|
6068
5964
|
"type": {
|
|
6069
5965
|
"text": "boolean"
|
|
6070
5966
|
},
|
|
6071
5967
|
"default": "false",
|
|
6072
|
-
"description": "
|
|
6073
|
-
"fieldName": "
|
|
5968
|
+
"description": "Used internally to render the item using a label\ninstead of a link.",
|
|
5969
|
+
"fieldName": "isLastElement"
|
|
6074
5970
|
}
|
|
6075
5971
|
],
|
|
6076
5972
|
"superclass": {
|
|
@@ -6078,72 +5974,52 @@
|
|
|
6078
5974
|
"package": "lit"
|
|
6079
5975
|
},
|
|
6080
5976
|
"docPageTitle": {
|
|
6081
|
-
"name": "
|
|
5977
|
+
"name": "Breadcrumb",
|
|
6082
5978
|
"description": ""
|
|
6083
5979
|
},
|
|
6084
5980
|
"docUrl": {
|
|
6085
|
-
"name": "/components/
|
|
5981
|
+
"name": "/components/breadcrumbs/breadcrumb",
|
|
6086
5982
|
"description": ""
|
|
6087
5983
|
},
|
|
6088
5984
|
"menuGroup": {
|
|
6089
|
-
"name": "
|
|
6090
|
-
"description": ""
|
|
6091
|
-
},
|
|
6092
|
-
"menuLabel": {
|
|
6093
|
-
"name": "Burger",
|
|
6094
|
-
"description": ""
|
|
6095
|
-
},
|
|
6096
|
-
"menuIcon": {
|
|
6097
|
-
"name": "burger",
|
|
5985
|
+
"name": "Navigation",
|
|
6098
5986
|
"description": ""
|
|
6099
5987
|
},
|
|
6100
|
-
"tagName": "esp-
|
|
5988
|
+
"tagName": "esp-breadcrumb",
|
|
6101
5989
|
"customElement": true
|
|
6102
5990
|
}
|
|
6103
5991
|
],
|
|
6104
5992
|
"exports": [
|
|
6105
5993
|
{
|
|
6106
5994
|
"kind": "js",
|
|
6107
|
-
"name": "
|
|
5995
|
+
"name": "EspalierBreadcrumb",
|
|
6108
5996
|
"declaration": {
|
|
6109
|
-
"name": "
|
|
6110
|
-
"module": "dist/
|
|
5997
|
+
"name": "EspalierBreadcrumb",
|
|
5998
|
+
"module": "dist/breadcrumbs/esp-breadcrumb.js"
|
|
6111
5999
|
}
|
|
6112
6000
|
},
|
|
6113
6001
|
{
|
|
6114
6002
|
"kind": "custom-element-definition",
|
|
6115
|
-
"name": "esp-
|
|
6003
|
+
"name": "esp-breadcrumb",
|
|
6116
6004
|
"declaration": {
|
|
6117
|
-
"name": "
|
|
6118
|
-
"module": "dist/
|
|
6005
|
+
"name": "EspalierBreadcrumb",
|
|
6006
|
+
"module": "dist/breadcrumbs/esp-breadcrumb.js"
|
|
6119
6007
|
}
|
|
6120
6008
|
}
|
|
6121
6009
|
]
|
|
6122
6010
|
},
|
|
6123
6011
|
{
|
|
6124
6012
|
"kind": "javascript-module",
|
|
6125
|
-
"path": "dist/
|
|
6013
|
+
"path": "dist/breadcrumbs/esp-breadcrumbs.js",
|
|
6126
6014
|
"declarations": [
|
|
6127
6015
|
{
|
|
6128
6016
|
"kind": "class",
|
|
6129
|
-
"description": "Used
|
|
6130
|
-
"name": "
|
|
6017
|
+
"description": "Used to display breadcrumb navigation. By default, the breadcrumbs\nwill be separated by right-arrows, with the final item having a\ndown-arrow after it.\n[esp-breadcrumb](/components/breadcrumbs/breadcrumb) instances\nshould be placed in the default slot to build out the navigation.\n\n```html\n<esp-breadcrumbs>\n <esp-breadcrumb label=\"One\" url=\"#\"></esp-breadcrumb>\n <esp-breadcrumb label=\"Two\" url=\"#\"></esp-breadcrumb>\n <esp-breadcrumb label=\"Three\" url=\"#\"></esp-breadcrumb>\n</esp-breadcrumbs>\n```\n\nCustom separators can be specified in the `<esp-breadcrumb>`:\n\n```html\n<esp-breadcrumbs>\n <esp-breadcrumb label=\"One\" url=\"#\"\n separator=\"<svg><use href='/assets/icons.svg#rocket' /></svg>\">\n </esp-breadcrumb>\n <esp-breadcrumb label=\"Two\" url=\"#\"\n separator=\"<svg><use href='/assets/icons.svg#rocket' /></svg>\">\n </esp-breadcrumb>\n <esp-breadcrumb label=\"Three\" url=\"#\"\n separator=\"<svg><use href='/assets/icons.svg#flower' /></svg>\">\n </esp-breadcrumb>\n</esp-breadcrumbs>\n```",
|
|
6018
|
+
"name": "EspalierBreadcrumbs",
|
|
6131
6019
|
"cssProperties": [
|
|
6132
6020
|
{
|
|
6133
|
-
"description": "
|
|
6134
|
-
"name": "--esp-
|
|
6135
|
-
},
|
|
6136
|
-
{
|
|
6137
|
-
"description": "Adds a layer in the background of the box. Intended for background images or gradients.",
|
|
6138
|
-
"name": "--esp-box-background"
|
|
6139
|
-
},
|
|
6140
|
-
{
|
|
6141
|
-
"description": "The opacity of the background layer.",
|
|
6142
|
-
"name": "--esp-box-background-opacity"
|
|
6143
|
-
},
|
|
6144
|
-
{
|
|
6145
|
-
"description": "The padding inside the box. ```html <style> esp-root[scheme=\"light\"] { esp-box.box-with-bg { --esp-box-background: url(/assets/espalier-paper-texture.png) repeat; --esp-box-background-opacity: .5; } } esp-root[scheme=\"dark\"] { esp-box.box-with-bg { --esp-box-background: url(/assets/espalier-geometric-texture.png) repeat; --esp-box-background-opacity: .5; } } </style> <esp-box class=\"box-with-bg\" variant=\"analogous-right\"> <h2>Box with background image</h2> <p>I have a different generated background texture in dark mode than light mode.</p> </esp-box> ```",
|
|
6146
|
-
"name": "--esp-size-box-padding"
|
|
6021
|
+
"description": "Set the color of the separator. It defaults to a bright complementary color. ```html <style> esp-breadcrumbs#custom-crumb { --esp-breadcrumb-separator-color: red; } </style> <esp-breadcrumbs id=\"custom-crumb\"> <esp-breadcrumb label=\"One\" url=\"#\" separator=\"<svg><use href='/assets/icons.svg#rocket' /></svg>\"> </esp-breadcrumb> <esp-breadcrumb label=\"Two\" url=\"#\" separator=\"<svg><use href='/assets/icons.svg#rocket' /></svg>\"> </esp-breadcrumb> <esp-breadcrumb label=\"Three\" url=\"#\" separator=\"<svg><use href='/assets/icons.svg#flower' /></svg>\"> </esp-breadcrumb> </esp-breadcrumbs> ```",
|
|
6022
|
+
"name": "--esp-breadcrumb-separator-color"
|
|
6147
6023
|
},
|
|
6148
6024
|
{
|
|
6149
6025
|
"description": "Background color of the shared field shell. Defaults to `var(--esp-color-layer-2)`.",
|
|
@@ -6202,29 +6078,17 @@
|
|
|
6202
6078
|
}
|
|
6203
6079
|
}
|
|
6204
6080
|
],
|
|
6205
|
-
"cssParts": [
|
|
6206
|
-
{
|
|
6207
|
-
"description": "The box element. The default style is a padded element displayed as a box. Style the CSS part to create cards, forms, and other UI elements. Here is a card style: ```html <style> esp-box.card-box::part(box) { display: grid; grid-template-rows: min-content min-content; gap: var(--esp-size-padding); padding: 0; } esp-box.card-box header { background: oklch(from var(--esp-color-complementary) var(--esp-l-text) c h); color: oklch(from var(--esp-color-complementary) var(--esp-l-surface) c h); font-size: var(--esp-size-big-to-large); padding: var(--esp-size-padding); line-height: 1.1; font-family: var(--esp-font-headings); } esp-box.card-box div { padding: var(--esp-size-padding); } </style> <esp-box class=\"card-box\" variant=\"analogous-right\"> <header>Box as a card</header> <div> <p>Card content.</p> </div> </esp-box> ```",
|
|
6208
|
-
"name": "box"
|
|
6209
|
-
}
|
|
6210
|
-
],
|
|
6211
6081
|
"slots": [
|
|
6212
6082
|
{
|
|
6213
|
-
"description": "
|
|
6083
|
+
"description": "`<esp-breadcrumb>` items to display.",
|
|
6214
6084
|
"name": ""
|
|
6215
6085
|
}
|
|
6216
6086
|
],
|
|
6217
6087
|
"members": [
|
|
6218
6088
|
{
|
|
6219
6089
|
"kind": "field",
|
|
6220
|
-
"name": "
|
|
6221
|
-
"
|
|
6222
|
-
"text": "boolean"
|
|
6223
|
-
},
|
|
6224
|
-
"privacy": "public",
|
|
6225
|
-
"default": "false",
|
|
6226
|
-
"description": "Whether the box should take up the full screen. Useful when\ndisplaying a dialog in full-screen mode.\n\n```html\n<esp-box variant=\"triadic-right\">\n <h2>Box things</h2>\n <esp-box variant=\"complementary\">\n <h2>Box in box</h2>\n <esp-button label=\"Toggle full screen\" variant=\"complementary\"></esp-button>\n </esp-box>\n</esp-box>\n<script>\n let fullScreen = false;\n const theBox = findByTagName(\"esp-box\")[0];\n const theButton = findByTagName(\"esp-button\")[0];\n theButton.addEventListener(\"clicked\", () => {\n fullScreen = !fullScreen;\n\n if(fullScreen) {\n theBox.setAttribute(\"full-screen\", true);\n } else {\n theBox.removeAttribute(\"full-screen\");\n }\n });\n</script>\n```",
|
|
6227
|
-
"attribute": "full-screen"
|
|
6090
|
+
"name": "itemsSlot",
|
|
6091
|
+
"privacy": "private"
|
|
6228
6092
|
},
|
|
6229
6093
|
{
|
|
6230
6094
|
"kind": "field",
|
|
@@ -6685,16 +6549,33 @@
|
|
|
6685
6549
|
}
|
|
6686
6550
|
}
|
|
6687
6551
|
],
|
|
6552
|
+
"superclass": {
|
|
6553
|
+
"name": "EspalierElementBase",
|
|
6554
|
+
"module": "dist/shared/esp-element-base.js"
|
|
6555
|
+
},
|
|
6556
|
+
"tagName": "esp-breadcrumbs",
|
|
6557
|
+
"customElement": true,
|
|
6558
|
+
"docPageTitle": {
|
|
6559
|
+
"name": "Breadcrumbs",
|
|
6560
|
+
"description": ""
|
|
6561
|
+
},
|
|
6562
|
+
"docUrl": {
|
|
6563
|
+
"name": "/components/breadcrumbs",
|
|
6564
|
+
"description": ""
|
|
6565
|
+
},
|
|
6566
|
+
"menuGroup": {
|
|
6567
|
+
"name": "Navigation",
|
|
6568
|
+
"description": ""
|
|
6569
|
+
},
|
|
6570
|
+
"menuLabel": {
|
|
6571
|
+
"name": "Breadcrumbs",
|
|
6572
|
+
"description": ""
|
|
6573
|
+
},
|
|
6574
|
+
"menuIcon": {
|
|
6575
|
+
"name": "directions",
|
|
6576
|
+
"description": ""
|
|
6577
|
+
},
|
|
6688
6578
|
"attributes": [
|
|
6689
|
-
{
|
|
6690
|
-
"name": "full-screen",
|
|
6691
|
-
"type": {
|
|
6692
|
-
"text": "boolean"
|
|
6693
|
-
},
|
|
6694
|
-
"default": "false",
|
|
6695
|
-
"description": "Whether the box should take up the full screen. Useful when\ndisplaying a dialog in full-screen mode.\n\n```html\n<esp-box variant=\"triadic-right\">\n <h2>Box things</h2>\n <esp-box variant=\"complementary\">\n <h2>Box in box</h2>\n <esp-button label=\"Toggle full screen\" variant=\"complementary\"></esp-button>\n </esp-box>\n</esp-box>\n<script>\n let fullScreen = false;\n const theBox = findByTagName(\"esp-box\")[0];\n const theButton = findByTagName(\"esp-button\")[0];\n theButton.addEventListener(\"clicked\", () => {\n fullScreen = !fullScreen;\n\n if(fullScreen) {\n theBox.setAttribute(\"full-screen\", true);\n } else {\n theBox.removeAttribute(\"full-screen\");\n }\n });\n</script>\n```",
|
|
6696
|
-
"fieldName": "fullScreen"
|
|
6697
|
-
},
|
|
6698
6579
|
{
|
|
6699
6580
|
"name": "scheme",
|
|
6700
6581
|
"type": {
|
|
@@ -6721,65 +6602,184 @@
|
|
|
6721
6602
|
}
|
|
6722
6603
|
}
|
|
6723
6604
|
],
|
|
6605
|
+
"events": [
|
|
6606
|
+
{
|
|
6607
|
+
"name": "value-changed",
|
|
6608
|
+
"type": {
|
|
6609
|
+
"text": "CustomEvent"
|
|
6610
|
+
},
|
|
6611
|
+
"inheritedFrom": {
|
|
6612
|
+
"name": "EspalierElementBase",
|
|
6613
|
+
"module": "dist/shared/esp-element-base.js"
|
|
6614
|
+
}
|
|
6615
|
+
}
|
|
6616
|
+
]
|
|
6617
|
+
}
|
|
6618
|
+
],
|
|
6619
|
+
"exports": [
|
|
6620
|
+
{
|
|
6621
|
+
"kind": "js",
|
|
6622
|
+
"name": "*",
|
|
6623
|
+
"declaration": {
|
|
6624
|
+
"name": "*",
|
|
6625
|
+
"module": "dist/breadcrumbs/esp-breadcrumb.js"
|
|
6626
|
+
}
|
|
6627
|
+
},
|
|
6628
|
+
{
|
|
6629
|
+
"kind": "js",
|
|
6630
|
+
"name": "EspalierBreadcrumbs",
|
|
6631
|
+
"declaration": {
|
|
6632
|
+
"name": "EspalierBreadcrumbs",
|
|
6633
|
+
"module": "dist/breadcrumbs/esp-breadcrumbs.js"
|
|
6634
|
+
}
|
|
6635
|
+
},
|
|
6636
|
+
{
|
|
6637
|
+
"kind": "custom-element-definition",
|
|
6638
|
+
"name": "esp-breadcrumbs",
|
|
6639
|
+
"declaration": {
|
|
6640
|
+
"name": "EspalierBreadcrumbs",
|
|
6641
|
+
"module": "dist/breadcrumbs/esp-breadcrumbs.js"
|
|
6642
|
+
}
|
|
6643
|
+
}
|
|
6644
|
+
]
|
|
6645
|
+
},
|
|
6646
|
+
{
|
|
6647
|
+
"kind": "javascript-module",
|
|
6648
|
+
"path": "dist/burger/esp-burger.js",
|
|
6649
|
+
"declarations": [
|
|
6650
|
+
{
|
|
6651
|
+
"kind": "class",
|
|
6652
|
+
"description": "Animated burger button for showing and hiding navigation\ncomponents.\n\n```html\n<esp-burger></esp-burger>\n```",
|
|
6653
|
+
"name": "EspalierBurger",
|
|
6654
|
+
"cssProperties": [
|
|
6655
|
+
{
|
|
6656
|
+
"description": "The color of the burger lines when closed.",
|
|
6657
|
+
"name": "--esp-color-burger"
|
|
6658
|
+
},
|
|
6659
|
+
{
|
|
6660
|
+
"description": "The hover color of the burger lines when closed.",
|
|
6661
|
+
"name": "--esp-color-burger-hover"
|
|
6662
|
+
},
|
|
6663
|
+
{
|
|
6664
|
+
"description": "The color of the burger lines when open.",
|
|
6665
|
+
"name": "--esp-color-burger-opened"
|
|
6666
|
+
},
|
|
6667
|
+
{
|
|
6668
|
+
"description": "The hover color of the burger lines when open.",
|
|
6669
|
+
"name": "--esp-color-burger-opened-hover"
|
|
6670
|
+
},
|
|
6671
|
+
{
|
|
6672
|
+
"description": "The stroke width of the burger lines.",
|
|
6673
|
+
"name": "--esp-size-burger-stroke"
|
|
6674
|
+
}
|
|
6675
|
+
],
|
|
6676
|
+
"members": [
|
|
6677
|
+
{
|
|
6678
|
+
"kind": "field",
|
|
6679
|
+
"name": "menuOpen",
|
|
6680
|
+
"type": {
|
|
6681
|
+
"text": "boolean"
|
|
6682
|
+
},
|
|
6683
|
+
"privacy": "public",
|
|
6684
|
+
"default": "false",
|
|
6685
|
+
"description": "Whether or not the burger indicates an open state.",
|
|
6686
|
+
"attribute": "menu-open"
|
|
6687
|
+
},
|
|
6688
|
+
{
|
|
6689
|
+
"kind": "field",
|
|
6690
|
+
"name": "presentationOnly",
|
|
6691
|
+
"type": {
|
|
6692
|
+
"text": "boolean"
|
|
6693
|
+
},
|
|
6694
|
+
"privacy": "public",
|
|
6695
|
+
"default": "false",
|
|
6696
|
+
"description": "Render only the animated burger graphic. Use this when an\nouter control owns activation, labeling, and expanded state.",
|
|
6697
|
+
"attribute": "presentation-only"
|
|
6698
|
+
},
|
|
6699
|
+
{
|
|
6700
|
+
"kind": "method",
|
|
6701
|
+
"name": "toggleMenu"
|
|
6702
|
+
}
|
|
6703
|
+
],
|
|
6704
|
+
"events": [
|
|
6705
|
+
{
|
|
6706
|
+
"name": "opened",
|
|
6707
|
+
"type": {
|
|
6708
|
+
"text": "CustomEvent"
|
|
6709
|
+
},
|
|
6710
|
+
"description": "Emitted when the button is clicked and the image changes from a burger to an X."
|
|
6711
|
+
},
|
|
6712
|
+
{
|
|
6713
|
+
"name": "closed",
|
|
6714
|
+
"type": {
|
|
6715
|
+
"text": "CustomEvent"
|
|
6716
|
+
},
|
|
6717
|
+
"description": "Emitted when the button is clicked and the image changes from an X to a burger. ```html <esp-burger></esp-burger> <script> const theBurger = findByTagName(\"esp-burger\")[0]; theBurger.addEventListener(\"opened\", () => { showToast({ message: \"It would be a good time to show the menu. This message will self-destruct in 4 seconds...\", icon: \"info-i\", duration: 4 }); }); theBurger.addEventListener(\"closed\", () => { showToast({ message: \"It would be a good time to hide the menu. This message will self-destruct in 4 seconds...\", icon: \"info-i\", duration: 4 }); }); </script> ```"
|
|
6718
|
+
}
|
|
6719
|
+
],
|
|
6720
|
+
"attributes": [
|
|
6721
|
+
{
|
|
6722
|
+
"name": "menu-open",
|
|
6723
|
+
"type": {
|
|
6724
|
+
"text": "boolean"
|
|
6725
|
+
},
|
|
6726
|
+
"default": "false",
|
|
6727
|
+
"description": "Whether or not the burger indicates an open state.",
|
|
6728
|
+
"fieldName": "menuOpen"
|
|
6729
|
+
},
|
|
6730
|
+
{
|
|
6731
|
+
"name": "presentation-only",
|
|
6732
|
+
"type": {
|
|
6733
|
+
"text": "boolean"
|
|
6734
|
+
},
|
|
6735
|
+
"default": "false",
|
|
6736
|
+
"description": "Render only the animated burger graphic. Use this when an\nouter control owns activation, labeling, and expanded state.",
|
|
6737
|
+
"fieldName": "presentationOnly"
|
|
6738
|
+
}
|
|
6739
|
+
],
|
|
6724
6740
|
"superclass": {
|
|
6725
|
-
"name": "
|
|
6726
|
-
"
|
|
6741
|
+
"name": "LitElement",
|
|
6742
|
+
"package": "lit"
|
|
6727
6743
|
},
|
|
6728
|
-
"tagName": "esp-box",
|
|
6729
|
-
"customElement": true,
|
|
6730
6744
|
"docPageTitle": {
|
|
6731
|
-
"name": "
|
|
6745
|
+
"name": "Burger",
|
|
6732
6746
|
"description": ""
|
|
6733
6747
|
},
|
|
6734
6748
|
"docUrl": {
|
|
6735
|
-
"name": "/components/
|
|
6749
|
+
"name": "/components/burger",
|
|
6736
6750
|
"description": ""
|
|
6737
6751
|
},
|
|
6738
6752
|
"menuGroup": {
|
|
6739
|
-
"name": "
|
|
6740
|
-
"description": ""
|
|
6741
|
-
},
|
|
6742
|
-
"menuOrder": {
|
|
6743
|
-
"name": "3",
|
|
6753
|
+
"name": "Interaction",
|
|
6744
6754
|
"description": ""
|
|
6745
6755
|
},
|
|
6746
6756
|
"menuLabel": {
|
|
6747
|
-
"name": "
|
|
6757
|
+
"name": "Burger",
|
|
6748
6758
|
"description": ""
|
|
6749
6759
|
},
|
|
6750
6760
|
"menuIcon": {
|
|
6751
|
-
"name": "
|
|
6761
|
+
"name": "burger",
|
|
6752
6762
|
"description": ""
|
|
6753
6763
|
},
|
|
6754
|
-
"
|
|
6755
|
-
|
|
6756
|
-
"name": "value-changed",
|
|
6757
|
-
"type": {
|
|
6758
|
-
"text": "CustomEvent"
|
|
6759
|
-
},
|
|
6760
|
-
"inheritedFrom": {
|
|
6761
|
-
"name": "EspalierElementBase",
|
|
6762
|
-
"module": "dist/shared/esp-element-base.js"
|
|
6763
|
-
}
|
|
6764
|
-
}
|
|
6765
|
-
]
|
|
6764
|
+
"tagName": "esp-burger",
|
|
6765
|
+
"customElement": true
|
|
6766
6766
|
}
|
|
6767
6767
|
],
|
|
6768
6768
|
"exports": [
|
|
6769
6769
|
{
|
|
6770
6770
|
"kind": "js",
|
|
6771
|
-
"name": "
|
|
6771
|
+
"name": "EspalierBurger",
|
|
6772
6772
|
"declaration": {
|
|
6773
|
-
"name": "
|
|
6774
|
-
"module": "dist/
|
|
6773
|
+
"name": "EspalierBurger",
|
|
6774
|
+
"module": "dist/burger/esp-burger.js"
|
|
6775
6775
|
}
|
|
6776
6776
|
},
|
|
6777
6777
|
{
|
|
6778
6778
|
"kind": "custom-element-definition",
|
|
6779
|
-
"name": "esp-
|
|
6779
|
+
"name": "esp-burger",
|
|
6780
6780
|
"declaration": {
|
|
6781
|
-
"name": "
|
|
6782
|
-
"module": "dist/
|
|
6781
|
+
"name": "EspalierBurger",
|
|
6782
|
+
"module": "dist/burger/esp-burger.js"
|
|
6783
6783
|
}
|
|
6784
6784
|
}
|
|
6785
6785
|
]
|
|
@@ -53182,462 +53182,6 @@
|
|
|
53182
53182
|
}
|
|
53183
53183
|
]
|
|
53184
53184
|
},
|
|
53185
|
-
{
|
|
53186
|
-
"kind": "javascript-module",
|
|
53187
|
-
"path": "dist/date-picker/helpers/calendar-grid.js",
|
|
53188
|
-
"declarations": [
|
|
53189
|
-
{
|
|
53190
|
-
"kind": "function",
|
|
53191
|
-
"name": "parseDateBound",
|
|
53192
|
-
"return": {
|
|
53193
|
-
"type": {
|
|
53194
|
-
"text": "Temporal.PlainDate | null"
|
|
53195
|
-
}
|
|
53196
|
-
},
|
|
53197
|
-
"parameters": [
|
|
53198
|
-
{
|
|
53199
|
-
"name": "iso",
|
|
53200
|
-
"type": {
|
|
53201
|
-
"text": "string"
|
|
53202
|
-
}
|
|
53203
|
-
}
|
|
53204
|
-
],
|
|
53205
|
-
"description": "Safely parse an ISO date string, returning `null` on failure."
|
|
53206
|
-
},
|
|
53207
|
-
{
|
|
53208
|
-
"kind": "function",
|
|
53209
|
-
"name": "isDateDisabled",
|
|
53210
|
-
"return": {
|
|
53211
|
-
"type": {
|
|
53212
|
-
"text": "boolean"
|
|
53213
|
-
}
|
|
53214
|
-
},
|
|
53215
|
-
"parameters": [
|
|
53216
|
-
{
|
|
53217
|
-
"name": "date",
|
|
53218
|
-
"type": {
|
|
53219
|
-
"text": "Temporal.PlainDate"
|
|
53220
|
-
}
|
|
53221
|
-
},
|
|
53222
|
-
{
|
|
53223
|
-
"name": "min",
|
|
53224
|
-
"type": {
|
|
53225
|
-
"text": "Temporal.PlainDate | null"
|
|
53226
|
-
}
|
|
53227
|
-
},
|
|
53228
|
-
{
|
|
53229
|
-
"name": "max",
|
|
53230
|
-
"type": {
|
|
53231
|
-
"text": "Temporal.PlainDate | null"
|
|
53232
|
-
}
|
|
53233
|
-
}
|
|
53234
|
-
],
|
|
53235
|
-
"description": "Return `true` if the date falls outside the min/max range."
|
|
53236
|
-
},
|
|
53237
|
-
{
|
|
53238
|
-
"kind": "function",
|
|
53239
|
-
"name": "getSelectedDate",
|
|
53240
|
-
"return": {
|
|
53241
|
-
"type": {
|
|
53242
|
-
"text": "Temporal.PlainDate | null"
|
|
53243
|
-
}
|
|
53244
|
-
},
|
|
53245
|
-
"parameters": [
|
|
53246
|
-
{
|
|
53247
|
-
"name": "parsed",
|
|
53248
|
-
"type": {
|
|
53249
|
-
"text": "ParsedValue"
|
|
53250
|
-
}
|
|
53251
|
-
}
|
|
53252
|
-
],
|
|
53253
|
-
"description": "Extract the single selected date from a parsed value (date / datetime only)."
|
|
53254
|
-
},
|
|
53255
|
-
{
|
|
53256
|
-
"kind": "function",
|
|
53257
|
-
"name": "getEffectiveRange",
|
|
53258
|
-
"return": {
|
|
53259
|
-
"type": {
|
|
53260
|
-
"text": "{ start: Temporal.PlainDate | null; end: Temporal.PlainDate | null }"
|
|
53261
|
-
}
|
|
53262
|
-
},
|
|
53263
|
-
"parameters": [
|
|
53264
|
-
{
|
|
53265
|
-
"name": "mode",
|
|
53266
|
-
"type": {
|
|
53267
|
-
"text": "DatePickerMode"
|
|
53268
|
-
}
|
|
53269
|
-
},
|
|
53270
|
-
{
|
|
53271
|
-
"name": "parsed",
|
|
53272
|
-
"type": {
|
|
53273
|
-
"text": "ParsedValue"
|
|
53274
|
-
}
|
|
53275
|
-
},
|
|
53276
|
-
{
|
|
53277
|
-
"name": "rangeAnchor",
|
|
53278
|
-
"type": {
|
|
53279
|
-
"text": "Temporal.PlainDate | null"
|
|
53280
|
-
}
|
|
53281
|
-
},
|
|
53282
|
-
{
|
|
53283
|
-
"name": "rangePreview",
|
|
53284
|
-
"type": {
|
|
53285
|
-
"text": "Temporal.PlainDate | null"
|
|
53286
|
-
}
|
|
53287
|
-
}
|
|
53288
|
-
],
|
|
53289
|
-
"description": "Compute the effective start/end for range grid highlighting.\n\nDuring the `start` phase (anchor set, waiting for second click),\nthe preview hover date is used as the tentative end. The pair\nis always normalised so start <= end."
|
|
53290
|
-
},
|
|
53291
|
-
{
|
|
53292
|
-
"kind": "function",
|
|
53293
|
-
"name": "generateCalendarGrid",
|
|
53294
|
-
"return": {
|
|
53295
|
-
"type": {
|
|
53296
|
-
"text": "CalendarDay[]"
|
|
53297
|
-
}
|
|
53298
|
-
},
|
|
53299
|
-
"parameters": [
|
|
53300
|
-
{
|
|
53301
|
-
"name": "month",
|
|
53302
|
-
"type": {
|
|
53303
|
-
"text": "Temporal.PlainYearMonth"
|
|
53304
|
-
}
|
|
53305
|
-
},
|
|
53306
|
-
{
|
|
53307
|
-
"name": "selectedDate",
|
|
53308
|
-
"type": {
|
|
53309
|
-
"text": "Temporal.PlainDate | null"
|
|
53310
|
-
}
|
|
53311
|
-
},
|
|
53312
|
-
{
|
|
53313
|
-
"name": "rangeStart",
|
|
53314
|
-
"type": {
|
|
53315
|
-
"text": "Temporal.PlainDate | null"
|
|
53316
|
-
}
|
|
53317
|
-
},
|
|
53318
|
-
{
|
|
53319
|
-
"name": "rangeEnd",
|
|
53320
|
-
"type": {
|
|
53321
|
-
"text": "Temporal.PlainDate | null"
|
|
53322
|
-
}
|
|
53323
|
-
},
|
|
53324
|
-
{
|
|
53325
|
-
"name": "minDate",
|
|
53326
|
-
"type": {
|
|
53327
|
-
"text": "Temporal.PlainDate | null"
|
|
53328
|
-
}
|
|
53329
|
-
},
|
|
53330
|
-
{
|
|
53331
|
-
"name": "maxDate",
|
|
53332
|
-
"type": {
|
|
53333
|
-
"text": "Temporal.PlainDate | null"
|
|
53334
|
-
}
|
|
53335
|
-
}
|
|
53336
|
-
],
|
|
53337
|
-
"description": "Generate a 6x7 calendar grid for the given month. Each cell\ncarries flags for rendering (today, selected, range, disabled,\noutside-month, etc.)."
|
|
53338
|
-
}
|
|
53339
|
-
],
|
|
53340
|
-
"exports": [
|
|
53341
|
-
{
|
|
53342
|
-
"kind": "js",
|
|
53343
|
-
"name": "parseDateBound",
|
|
53344
|
-
"declaration": {
|
|
53345
|
-
"name": "parseDateBound",
|
|
53346
|
-
"module": "dist/date-picker/helpers/calendar-grid.js"
|
|
53347
|
-
}
|
|
53348
|
-
},
|
|
53349
|
-
{
|
|
53350
|
-
"kind": "js",
|
|
53351
|
-
"name": "isDateDisabled",
|
|
53352
|
-
"declaration": {
|
|
53353
|
-
"name": "isDateDisabled",
|
|
53354
|
-
"module": "dist/date-picker/helpers/calendar-grid.js"
|
|
53355
|
-
}
|
|
53356
|
-
},
|
|
53357
|
-
{
|
|
53358
|
-
"kind": "js",
|
|
53359
|
-
"name": "getSelectedDate",
|
|
53360
|
-
"declaration": {
|
|
53361
|
-
"name": "getSelectedDate",
|
|
53362
|
-
"module": "dist/date-picker/helpers/calendar-grid.js"
|
|
53363
|
-
}
|
|
53364
|
-
},
|
|
53365
|
-
{
|
|
53366
|
-
"kind": "js",
|
|
53367
|
-
"name": "getEffectiveRange",
|
|
53368
|
-
"declaration": {
|
|
53369
|
-
"name": "getEffectiveRange",
|
|
53370
|
-
"module": "dist/date-picker/helpers/calendar-grid.js"
|
|
53371
|
-
}
|
|
53372
|
-
},
|
|
53373
|
-
{
|
|
53374
|
-
"kind": "js",
|
|
53375
|
-
"name": "generateCalendarGrid",
|
|
53376
|
-
"declaration": {
|
|
53377
|
-
"name": "generateCalendarGrid",
|
|
53378
|
-
"module": "dist/date-picker/helpers/calendar-grid.js"
|
|
53379
|
-
}
|
|
53380
|
-
}
|
|
53381
|
-
]
|
|
53382
|
-
},
|
|
53383
|
-
{
|
|
53384
|
-
"kind": "javascript-module",
|
|
53385
|
-
"path": "dist/date-picker/helpers/constants.js",
|
|
53386
|
-
"declarations": [
|
|
53387
|
-
{
|
|
53388
|
-
"kind": "variable",
|
|
53389
|
-
"name": "GRID_ROWS",
|
|
53390
|
-
"type": {
|
|
53391
|
-
"text": "number"
|
|
53392
|
-
},
|
|
53393
|
-
"default": "6"
|
|
53394
|
-
},
|
|
53395
|
-
{
|
|
53396
|
-
"kind": "variable",
|
|
53397
|
-
"name": "GRID_COLS",
|
|
53398
|
-
"type": {
|
|
53399
|
-
"text": "number"
|
|
53400
|
-
},
|
|
53401
|
-
"default": "7"
|
|
53402
|
-
},
|
|
53403
|
-
{
|
|
53404
|
-
"kind": "variable",
|
|
53405
|
-
"name": "GRID_SIZE"
|
|
53406
|
-
},
|
|
53407
|
-
{
|
|
53408
|
-
"kind": "variable",
|
|
53409
|
-
"name": "WEEKDAY_LABELS",
|
|
53410
|
-
"type": {
|
|
53411
|
-
"text": "array"
|
|
53412
|
-
},
|
|
53413
|
-
"default": "[\"Mo\", \"Tu\", \"We\", \"Th\", \"Fr\", \"Sa\", \"Su\"]",
|
|
53414
|
-
"description": "Monday-start day-of-week headers."
|
|
53415
|
-
},
|
|
53416
|
-
{
|
|
53417
|
-
"kind": "variable",
|
|
53418
|
-
"name": "MONTH_NAMES",
|
|
53419
|
-
"type": {
|
|
53420
|
-
"text": "array"
|
|
53421
|
-
},
|
|
53422
|
-
"default": "[ \"January\", \"February\", \"March\", \"April\", \"May\", \"June\", \"July\", \"August\", \"September\", \"October\", \"November\", \"December\", ]",
|
|
53423
|
-
"description": "Month names for the header."
|
|
53424
|
-
},
|
|
53425
|
-
{
|
|
53426
|
-
"kind": "variable",
|
|
53427
|
-
"name": "HOURS_12",
|
|
53428
|
-
"description": "Hours 1–12 for the 12-hour clock picker."
|
|
53429
|
-
},
|
|
53430
|
-
{
|
|
53431
|
-
"kind": "variable",
|
|
53432
|
-
"name": "MINUTES_60",
|
|
53433
|
-
"description": "Minutes 0–59 for the minute picker."
|
|
53434
|
-
}
|
|
53435
|
-
],
|
|
53436
|
-
"exports": [
|
|
53437
|
-
{
|
|
53438
|
-
"kind": "js",
|
|
53439
|
-
"name": "GRID_ROWS",
|
|
53440
|
-
"declaration": {
|
|
53441
|
-
"name": "GRID_ROWS",
|
|
53442
|
-
"module": "dist/date-picker/helpers/constants.js"
|
|
53443
|
-
}
|
|
53444
|
-
},
|
|
53445
|
-
{
|
|
53446
|
-
"kind": "js",
|
|
53447
|
-
"name": "GRID_COLS",
|
|
53448
|
-
"declaration": {
|
|
53449
|
-
"name": "GRID_COLS",
|
|
53450
|
-
"module": "dist/date-picker/helpers/constants.js"
|
|
53451
|
-
}
|
|
53452
|
-
},
|
|
53453
|
-
{
|
|
53454
|
-
"kind": "js",
|
|
53455
|
-
"name": "GRID_SIZE",
|
|
53456
|
-
"declaration": {
|
|
53457
|
-
"name": "GRID_SIZE",
|
|
53458
|
-
"module": "dist/date-picker/helpers/constants.js"
|
|
53459
|
-
}
|
|
53460
|
-
},
|
|
53461
|
-
{
|
|
53462
|
-
"kind": "js",
|
|
53463
|
-
"name": "WEEKDAY_LABELS",
|
|
53464
|
-
"declaration": {
|
|
53465
|
-
"name": "WEEKDAY_LABELS",
|
|
53466
|
-
"module": "dist/date-picker/helpers/constants.js"
|
|
53467
|
-
}
|
|
53468
|
-
},
|
|
53469
|
-
{
|
|
53470
|
-
"kind": "js",
|
|
53471
|
-
"name": "MONTH_NAMES",
|
|
53472
|
-
"declaration": {
|
|
53473
|
-
"name": "MONTH_NAMES",
|
|
53474
|
-
"module": "dist/date-picker/helpers/constants.js"
|
|
53475
|
-
}
|
|
53476
|
-
},
|
|
53477
|
-
{
|
|
53478
|
-
"kind": "js",
|
|
53479
|
-
"name": "HOURS_12",
|
|
53480
|
-
"declaration": {
|
|
53481
|
-
"name": "HOURS_12",
|
|
53482
|
-
"module": "dist/date-picker/helpers/constants.js"
|
|
53483
|
-
}
|
|
53484
|
-
},
|
|
53485
|
-
{
|
|
53486
|
-
"kind": "js",
|
|
53487
|
-
"name": "MINUTES_60",
|
|
53488
|
-
"declaration": {
|
|
53489
|
-
"name": "MINUTES_60",
|
|
53490
|
-
"module": "dist/date-picker/helpers/constants.js"
|
|
53491
|
-
}
|
|
53492
|
-
}
|
|
53493
|
-
]
|
|
53494
|
-
},
|
|
53495
|
-
{
|
|
53496
|
-
"kind": "javascript-module",
|
|
53497
|
-
"path": "dist/date-picker/helpers/parsing.js",
|
|
53498
|
-
"declarations": [
|
|
53499
|
-
{
|
|
53500
|
-
"kind": "function",
|
|
53501
|
-
"name": "parseValue",
|
|
53502
|
-
"return": {
|
|
53503
|
-
"type": {
|
|
53504
|
-
"text": "ParsedValue"
|
|
53505
|
-
}
|
|
53506
|
-
},
|
|
53507
|
-
"parameters": [
|
|
53508
|
-
{
|
|
53509
|
-
"name": "raw",
|
|
53510
|
-
"type": {
|
|
53511
|
-
"text": "string"
|
|
53512
|
-
}
|
|
53513
|
-
},
|
|
53514
|
-
{
|
|
53515
|
-
"name": "mode",
|
|
53516
|
-
"type": {
|
|
53517
|
-
"text": "DatePickerMode"
|
|
53518
|
-
}
|
|
53519
|
-
}
|
|
53520
|
-
],
|
|
53521
|
-
"description": "Parse a raw ISO 8601 value string into a structured `ParsedValue`\nbased on the picker mode. Returns `{ kind: \"none\" }` for empty or\nunparseable input."
|
|
53522
|
-
},
|
|
53523
|
-
{
|
|
53524
|
-
"kind": "function",
|
|
53525
|
-
"name": "formatDate",
|
|
53526
|
-
"return": {
|
|
53527
|
-
"type": {
|
|
53528
|
-
"text": "string"
|
|
53529
|
-
}
|
|
53530
|
-
},
|
|
53531
|
-
"parameters": [
|
|
53532
|
-
{
|
|
53533
|
-
"name": "d",
|
|
53534
|
-
"type": {
|
|
53535
|
-
"text": "Temporal.PlainDate"
|
|
53536
|
-
}
|
|
53537
|
-
}
|
|
53538
|
-
],
|
|
53539
|
-
"description": "Format a `PlainDate` as \"Month Day, Year\"."
|
|
53540
|
-
},
|
|
53541
|
-
{
|
|
53542
|
-
"kind": "function",
|
|
53543
|
-
"name": "formatTime",
|
|
53544
|
-
"return": {
|
|
53545
|
-
"type": {
|
|
53546
|
-
"text": "string"
|
|
53547
|
-
}
|
|
53548
|
-
},
|
|
53549
|
-
"parameters": [
|
|
53550
|
-
{
|
|
53551
|
-
"name": "t",
|
|
53552
|
-
"type": {
|
|
53553
|
-
"text": "Temporal.PlainTime"
|
|
53554
|
-
}
|
|
53555
|
-
}
|
|
53556
|
-
],
|
|
53557
|
-
"description": "Format a `PlainTime` as \"H:MM AM/PM\"."
|
|
53558
|
-
},
|
|
53559
|
-
{
|
|
53560
|
-
"kind": "function",
|
|
53561
|
-
"name": "displayValue",
|
|
53562
|
-
"return": {
|
|
53563
|
-
"type": {
|
|
53564
|
-
"text": "string"
|
|
53565
|
-
}
|
|
53566
|
-
},
|
|
53567
|
-
"parameters": [
|
|
53568
|
-
{
|
|
53569
|
-
"name": "parsed",
|
|
53570
|
-
"type": {
|
|
53571
|
-
"text": "ParsedValue"
|
|
53572
|
-
}
|
|
53573
|
-
}
|
|
53574
|
-
],
|
|
53575
|
-
"description": "Build the human-readable display string for the input field\nfrom a parsed value."
|
|
53576
|
-
}
|
|
53577
|
-
],
|
|
53578
|
-
"exports": [
|
|
53579
|
-
{
|
|
53580
|
-
"kind": "js",
|
|
53581
|
-
"name": "parseValue",
|
|
53582
|
-
"declaration": {
|
|
53583
|
-
"name": "parseValue",
|
|
53584
|
-
"module": "dist/date-picker/helpers/parsing.js"
|
|
53585
|
-
}
|
|
53586
|
-
},
|
|
53587
|
-
{
|
|
53588
|
-
"kind": "js",
|
|
53589
|
-
"name": "formatDate",
|
|
53590
|
-
"declaration": {
|
|
53591
|
-
"name": "formatDate",
|
|
53592
|
-
"module": "dist/date-picker/helpers/parsing.js"
|
|
53593
|
-
}
|
|
53594
|
-
},
|
|
53595
|
-
{
|
|
53596
|
-
"kind": "js",
|
|
53597
|
-
"name": "formatTime",
|
|
53598
|
-
"declaration": {
|
|
53599
|
-
"name": "formatTime",
|
|
53600
|
-
"module": "dist/date-picker/helpers/parsing.js"
|
|
53601
|
-
}
|
|
53602
|
-
},
|
|
53603
|
-
{
|
|
53604
|
-
"kind": "js",
|
|
53605
|
-
"name": "displayValue",
|
|
53606
|
-
"declaration": {
|
|
53607
|
-
"name": "displayValue",
|
|
53608
|
-
"module": "dist/date-picker/helpers/parsing.js"
|
|
53609
|
-
}
|
|
53610
|
-
}
|
|
53611
|
-
]
|
|
53612
|
-
},
|
|
53613
|
-
{
|
|
53614
|
-
"kind": "javascript-module",
|
|
53615
|
-
"path": "dist/date-picker/helpers/styles.js",
|
|
53616
|
-
"declarations": [
|
|
53617
|
-
{
|
|
53618
|
-
"kind": "variable",
|
|
53619
|
-
"name": "datePickerStyles",
|
|
53620
|
-
"default": "css` /* ── Error state ─────────────────────────────────── */ .temporal-error { font-family: var(--esp-font-body); font-size: var(--esp-type-small); color: var(--esp-color-danger-text); padding: var(--esp-size-padding); } /* ── Trigger field ───────────────────────────────── */ .esp-field { display: grid; grid-template-columns: 1fr min-content; cursor: pointer; > input.esp-input { cursor: pointer; width: auto; } > .field-icon { display: grid; place-content: center; cursor: pointer; > svg { height: calc(1.2 * var(--esp-size-font)); width: calc(1.2 * var(--esp-size-font)); margin: 0 var(--esp-size-tiny); } } } /* ── Popover shell (native top-layer) ────────────── */ .picker-popover { position: fixed; inset: unset; margin: 0; padding: var(--esp-size-small); border-radius: var(--esp-size-border-radius); border: 1px solid var(--esp-color-border); background: var(--esp-color-layer-1); box-shadow: 0 4px 16px var(--esp-color-shadow); color: var(--esp-color-text); font-family: var(--esp-font-body); font-size: var(--esp-size-font); opacity: 0; transition: opacity 150ms ease-in; overflow: visible; } .picker-popover.visible { opacity: 1; } /* ── Calendar ────────────────────────────────────── */ .calendar { display: flex; flex-direction: column; gap: var(--esp-size-tiny); user-select: none; overflow: hidden; } .cal-body { will-change: transform; } .cal-header { display: flex; align-items: center; justify-content: space-between; padding-bottom: var(--esp-size-tiny); } .cal-title { font-weight: bold; font-size: var(--esp-type-normal); color: var(--esp-color-headings); } .nav-btn { display: grid; place-content: center; background: none; border: none; cursor: pointer; padding: var(--esp-size-tiny); border-radius: var(--esp-size-border-radius); color: var(--esp-color-text); transition: background-color 120ms ease; > svg { height: var(--esp-size-normal); width: var(--esp-size-normal); } &:hover { background-color: var(--esp-color-layer-3); } &:focus-visible { outline: 2px solid var(--esp-color-action-text); outline-offset: -2px; } } /* ── Weekday labels ──────────────────────────────── */ .weekday-row { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; } .weekday-label { font-size: var(--esp-type-tiny); font-weight: 600; color: var(--esp-color-headings); text-decoration: none; padding: var(--esp-size-tiny) 0; } /* ── Day grid ────────────────────────────────────── */ .day-grid { display: flex; flex-direction: column; } /* Show the focused-day ring only when the grid itself contains focus, so it disappears when the user tabs to the nav arrows or time picker. */ .day-grid:focus-within .day-cell.focused { outline: 2px solid var(--esp-color-action-text); outline-offset: -2px; z-index: 1; } .day-row { display: grid; grid-template-columns: repeat(7, 1fr); } /* ── Day cell ────────────────────────────────────── */ .day-cell { --_cell-size: 2.4em; position: relative; display: grid; place-content: center; width: var(--_cell-size); height: var(--_cell-size); border: none; border-radius: var(--esp-size-border-radius); background: none; cursor: pointer; font-family: inherit; font-size: inherit; color: var(--esp-color-text); transition: background-color 100ms ease, color 100ms ease; &:hover:not(.disabled):not(.selected) { background-color: var(--esp-color-layer-3); } &:focus-visible { outline: 2px solid var(--esp-color-action-text); outline-offset: -2px; z-index: 1; } /* Outside month — dim */ &.outside-month { opacity: 0.38; } /* Today ring */ &.today { font-weight: bold; box-shadow: inset 0 0 0 1px var(--esp-color-border); border-radius: var(--esp-size-border-radius); } /* Selected / range endpoints */ &.selected { background-color: var(--esp-color-layer-3); color: var(--esp-color-action-text); font-weight: bold; } /* Range span highlight — washed-out brand colour */ &.in-range { background-color: oklch(from var(--esp-color-layer-3) calc(l + 0.15) calc(c * 0.4) h); border-radius: 0; } &.range-start { border-radius: var(--esp-size-border-radius) 0 0 var(--esp-size-border-radius); } &.range-end { border-radius: 0 var(--esp-size-border-radius) var(--esp-size-border-radius) 0; } /* Disabled */ &.disabled { opacity: 0.3; cursor: not-allowed; } } /* ── Time picker ─────────────────────────────────── */ .time-picker { display: flex; align-items: center; flex-wrap: nowrap; gap: var(--esp-size-tiny); padding-top: var(--esp-size-small); border-top: 1px solid var(--esp-color-border); margin-top: var(--esp-size-small); white-space: nowrap; /* Push the action buttons to the right edge */ > esp-button:first-of-type { margin-left: auto; } } /* Only-time mode: no top border */ :host([mode=\"time\"]) .time-picker { border-top: none; margin-top: 0; padding-top: 0; } .popover-actions { display: flex; gap: var(--esp-size-tiny); align-items: center; justify-content: flex-end; padding-top: var(--esp-size-small); border-top: 1px solid var(--esp-color-border); margin-top: var(--esp-size-small); } .time-sep { font-size: var(--esp-type-medium); font-weight: bold; color: var(--esp-color-headings); padding: 0 2px; } `",
|
|
53621
|
-
"description": "Component-specific styles for `esp-date-picker`."
|
|
53622
|
-
}
|
|
53623
|
-
],
|
|
53624
|
-
"exports": [
|
|
53625
|
-
{
|
|
53626
|
-
"kind": "js",
|
|
53627
|
-
"name": "datePickerStyles",
|
|
53628
|
-
"declaration": {
|
|
53629
|
-
"name": "datePickerStyles",
|
|
53630
|
-
"module": "dist/date-picker/helpers/styles.js"
|
|
53631
|
-
}
|
|
53632
|
-
}
|
|
53633
|
-
]
|
|
53634
|
-
},
|
|
53635
|
-
{
|
|
53636
|
-
"kind": "javascript-module",
|
|
53637
|
-
"path": "dist/date-picker/helpers/types.js",
|
|
53638
|
-
"declarations": [],
|
|
53639
|
-
"exports": []
|
|
53640
|
-
},
|
|
53641
53185
|
{
|
|
53642
53186
|
"kind": "javascript-module",
|
|
53643
53187
|
"path": "dist/tree/esp-tree-item.js",
|
|
@@ -57506,6 +57050,462 @@
|
|
|
57506
57050
|
}
|
|
57507
57051
|
]
|
|
57508
57052
|
},
|
|
57053
|
+
{
|
|
57054
|
+
"kind": "javascript-module",
|
|
57055
|
+
"path": "dist/date-picker/helpers/calendar-grid.js",
|
|
57056
|
+
"declarations": [
|
|
57057
|
+
{
|
|
57058
|
+
"kind": "function",
|
|
57059
|
+
"name": "parseDateBound",
|
|
57060
|
+
"return": {
|
|
57061
|
+
"type": {
|
|
57062
|
+
"text": "Temporal.PlainDate | null"
|
|
57063
|
+
}
|
|
57064
|
+
},
|
|
57065
|
+
"parameters": [
|
|
57066
|
+
{
|
|
57067
|
+
"name": "iso",
|
|
57068
|
+
"type": {
|
|
57069
|
+
"text": "string"
|
|
57070
|
+
}
|
|
57071
|
+
}
|
|
57072
|
+
],
|
|
57073
|
+
"description": "Safely parse an ISO date string, returning `null` on failure."
|
|
57074
|
+
},
|
|
57075
|
+
{
|
|
57076
|
+
"kind": "function",
|
|
57077
|
+
"name": "isDateDisabled",
|
|
57078
|
+
"return": {
|
|
57079
|
+
"type": {
|
|
57080
|
+
"text": "boolean"
|
|
57081
|
+
}
|
|
57082
|
+
},
|
|
57083
|
+
"parameters": [
|
|
57084
|
+
{
|
|
57085
|
+
"name": "date",
|
|
57086
|
+
"type": {
|
|
57087
|
+
"text": "Temporal.PlainDate"
|
|
57088
|
+
}
|
|
57089
|
+
},
|
|
57090
|
+
{
|
|
57091
|
+
"name": "min",
|
|
57092
|
+
"type": {
|
|
57093
|
+
"text": "Temporal.PlainDate | null"
|
|
57094
|
+
}
|
|
57095
|
+
},
|
|
57096
|
+
{
|
|
57097
|
+
"name": "max",
|
|
57098
|
+
"type": {
|
|
57099
|
+
"text": "Temporal.PlainDate | null"
|
|
57100
|
+
}
|
|
57101
|
+
}
|
|
57102
|
+
],
|
|
57103
|
+
"description": "Return `true` if the date falls outside the min/max range."
|
|
57104
|
+
},
|
|
57105
|
+
{
|
|
57106
|
+
"kind": "function",
|
|
57107
|
+
"name": "getSelectedDate",
|
|
57108
|
+
"return": {
|
|
57109
|
+
"type": {
|
|
57110
|
+
"text": "Temporal.PlainDate | null"
|
|
57111
|
+
}
|
|
57112
|
+
},
|
|
57113
|
+
"parameters": [
|
|
57114
|
+
{
|
|
57115
|
+
"name": "parsed",
|
|
57116
|
+
"type": {
|
|
57117
|
+
"text": "ParsedValue"
|
|
57118
|
+
}
|
|
57119
|
+
}
|
|
57120
|
+
],
|
|
57121
|
+
"description": "Extract the single selected date from a parsed value (date / datetime only)."
|
|
57122
|
+
},
|
|
57123
|
+
{
|
|
57124
|
+
"kind": "function",
|
|
57125
|
+
"name": "getEffectiveRange",
|
|
57126
|
+
"return": {
|
|
57127
|
+
"type": {
|
|
57128
|
+
"text": "{ start: Temporal.PlainDate | null; end: Temporal.PlainDate | null }"
|
|
57129
|
+
}
|
|
57130
|
+
},
|
|
57131
|
+
"parameters": [
|
|
57132
|
+
{
|
|
57133
|
+
"name": "mode",
|
|
57134
|
+
"type": {
|
|
57135
|
+
"text": "DatePickerMode"
|
|
57136
|
+
}
|
|
57137
|
+
},
|
|
57138
|
+
{
|
|
57139
|
+
"name": "parsed",
|
|
57140
|
+
"type": {
|
|
57141
|
+
"text": "ParsedValue"
|
|
57142
|
+
}
|
|
57143
|
+
},
|
|
57144
|
+
{
|
|
57145
|
+
"name": "rangeAnchor",
|
|
57146
|
+
"type": {
|
|
57147
|
+
"text": "Temporal.PlainDate | null"
|
|
57148
|
+
}
|
|
57149
|
+
},
|
|
57150
|
+
{
|
|
57151
|
+
"name": "rangePreview",
|
|
57152
|
+
"type": {
|
|
57153
|
+
"text": "Temporal.PlainDate | null"
|
|
57154
|
+
}
|
|
57155
|
+
}
|
|
57156
|
+
],
|
|
57157
|
+
"description": "Compute the effective start/end for range grid highlighting.\n\nDuring the `start` phase (anchor set, waiting for second click),\nthe preview hover date is used as the tentative end. The pair\nis always normalised so start <= end."
|
|
57158
|
+
},
|
|
57159
|
+
{
|
|
57160
|
+
"kind": "function",
|
|
57161
|
+
"name": "generateCalendarGrid",
|
|
57162
|
+
"return": {
|
|
57163
|
+
"type": {
|
|
57164
|
+
"text": "CalendarDay[]"
|
|
57165
|
+
}
|
|
57166
|
+
},
|
|
57167
|
+
"parameters": [
|
|
57168
|
+
{
|
|
57169
|
+
"name": "month",
|
|
57170
|
+
"type": {
|
|
57171
|
+
"text": "Temporal.PlainYearMonth"
|
|
57172
|
+
}
|
|
57173
|
+
},
|
|
57174
|
+
{
|
|
57175
|
+
"name": "selectedDate",
|
|
57176
|
+
"type": {
|
|
57177
|
+
"text": "Temporal.PlainDate | null"
|
|
57178
|
+
}
|
|
57179
|
+
},
|
|
57180
|
+
{
|
|
57181
|
+
"name": "rangeStart",
|
|
57182
|
+
"type": {
|
|
57183
|
+
"text": "Temporal.PlainDate | null"
|
|
57184
|
+
}
|
|
57185
|
+
},
|
|
57186
|
+
{
|
|
57187
|
+
"name": "rangeEnd",
|
|
57188
|
+
"type": {
|
|
57189
|
+
"text": "Temporal.PlainDate | null"
|
|
57190
|
+
}
|
|
57191
|
+
},
|
|
57192
|
+
{
|
|
57193
|
+
"name": "minDate",
|
|
57194
|
+
"type": {
|
|
57195
|
+
"text": "Temporal.PlainDate | null"
|
|
57196
|
+
}
|
|
57197
|
+
},
|
|
57198
|
+
{
|
|
57199
|
+
"name": "maxDate",
|
|
57200
|
+
"type": {
|
|
57201
|
+
"text": "Temporal.PlainDate | null"
|
|
57202
|
+
}
|
|
57203
|
+
}
|
|
57204
|
+
],
|
|
57205
|
+
"description": "Generate a 6x7 calendar grid for the given month. Each cell\ncarries flags for rendering (today, selected, range, disabled,\noutside-month, etc.)."
|
|
57206
|
+
}
|
|
57207
|
+
],
|
|
57208
|
+
"exports": [
|
|
57209
|
+
{
|
|
57210
|
+
"kind": "js",
|
|
57211
|
+
"name": "parseDateBound",
|
|
57212
|
+
"declaration": {
|
|
57213
|
+
"name": "parseDateBound",
|
|
57214
|
+
"module": "dist/date-picker/helpers/calendar-grid.js"
|
|
57215
|
+
}
|
|
57216
|
+
},
|
|
57217
|
+
{
|
|
57218
|
+
"kind": "js",
|
|
57219
|
+
"name": "isDateDisabled",
|
|
57220
|
+
"declaration": {
|
|
57221
|
+
"name": "isDateDisabled",
|
|
57222
|
+
"module": "dist/date-picker/helpers/calendar-grid.js"
|
|
57223
|
+
}
|
|
57224
|
+
},
|
|
57225
|
+
{
|
|
57226
|
+
"kind": "js",
|
|
57227
|
+
"name": "getSelectedDate",
|
|
57228
|
+
"declaration": {
|
|
57229
|
+
"name": "getSelectedDate",
|
|
57230
|
+
"module": "dist/date-picker/helpers/calendar-grid.js"
|
|
57231
|
+
}
|
|
57232
|
+
},
|
|
57233
|
+
{
|
|
57234
|
+
"kind": "js",
|
|
57235
|
+
"name": "getEffectiveRange",
|
|
57236
|
+
"declaration": {
|
|
57237
|
+
"name": "getEffectiveRange",
|
|
57238
|
+
"module": "dist/date-picker/helpers/calendar-grid.js"
|
|
57239
|
+
}
|
|
57240
|
+
},
|
|
57241
|
+
{
|
|
57242
|
+
"kind": "js",
|
|
57243
|
+
"name": "generateCalendarGrid",
|
|
57244
|
+
"declaration": {
|
|
57245
|
+
"name": "generateCalendarGrid",
|
|
57246
|
+
"module": "dist/date-picker/helpers/calendar-grid.js"
|
|
57247
|
+
}
|
|
57248
|
+
}
|
|
57249
|
+
]
|
|
57250
|
+
},
|
|
57251
|
+
{
|
|
57252
|
+
"kind": "javascript-module",
|
|
57253
|
+
"path": "dist/date-picker/helpers/constants.js",
|
|
57254
|
+
"declarations": [
|
|
57255
|
+
{
|
|
57256
|
+
"kind": "variable",
|
|
57257
|
+
"name": "GRID_ROWS",
|
|
57258
|
+
"type": {
|
|
57259
|
+
"text": "number"
|
|
57260
|
+
},
|
|
57261
|
+
"default": "6"
|
|
57262
|
+
},
|
|
57263
|
+
{
|
|
57264
|
+
"kind": "variable",
|
|
57265
|
+
"name": "GRID_COLS",
|
|
57266
|
+
"type": {
|
|
57267
|
+
"text": "number"
|
|
57268
|
+
},
|
|
57269
|
+
"default": "7"
|
|
57270
|
+
},
|
|
57271
|
+
{
|
|
57272
|
+
"kind": "variable",
|
|
57273
|
+
"name": "GRID_SIZE"
|
|
57274
|
+
},
|
|
57275
|
+
{
|
|
57276
|
+
"kind": "variable",
|
|
57277
|
+
"name": "WEEKDAY_LABELS",
|
|
57278
|
+
"type": {
|
|
57279
|
+
"text": "array"
|
|
57280
|
+
},
|
|
57281
|
+
"default": "[\"Mo\", \"Tu\", \"We\", \"Th\", \"Fr\", \"Sa\", \"Su\"]",
|
|
57282
|
+
"description": "Monday-start day-of-week headers."
|
|
57283
|
+
},
|
|
57284
|
+
{
|
|
57285
|
+
"kind": "variable",
|
|
57286
|
+
"name": "MONTH_NAMES",
|
|
57287
|
+
"type": {
|
|
57288
|
+
"text": "array"
|
|
57289
|
+
},
|
|
57290
|
+
"default": "[ \"January\", \"February\", \"March\", \"April\", \"May\", \"June\", \"July\", \"August\", \"September\", \"October\", \"November\", \"December\", ]",
|
|
57291
|
+
"description": "Month names for the header."
|
|
57292
|
+
},
|
|
57293
|
+
{
|
|
57294
|
+
"kind": "variable",
|
|
57295
|
+
"name": "HOURS_12",
|
|
57296
|
+
"description": "Hours 1–12 for the 12-hour clock picker."
|
|
57297
|
+
},
|
|
57298
|
+
{
|
|
57299
|
+
"kind": "variable",
|
|
57300
|
+
"name": "MINUTES_60",
|
|
57301
|
+
"description": "Minutes 0–59 for the minute picker."
|
|
57302
|
+
}
|
|
57303
|
+
],
|
|
57304
|
+
"exports": [
|
|
57305
|
+
{
|
|
57306
|
+
"kind": "js",
|
|
57307
|
+
"name": "GRID_ROWS",
|
|
57308
|
+
"declaration": {
|
|
57309
|
+
"name": "GRID_ROWS",
|
|
57310
|
+
"module": "dist/date-picker/helpers/constants.js"
|
|
57311
|
+
}
|
|
57312
|
+
},
|
|
57313
|
+
{
|
|
57314
|
+
"kind": "js",
|
|
57315
|
+
"name": "GRID_COLS",
|
|
57316
|
+
"declaration": {
|
|
57317
|
+
"name": "GRID_COLS",
|
|
57318
|
+
"module": "dist/date-picker/helpers/constants.js"
|
|
57319
|
+
}
|
|
57320
|
+
},
|
|
57321
|
+
{
|
|
57322
|
+
"kind": "js",
|
|
57323
|
+
"name": "GRID_SIZE",
|
|
57324
|
+
"declaration": {
|
|
57325
|
+
"name": "GRID_SIZE",
|
|
57326
|
+
"module": "dist/date-picker/helpers/constants.js"
|
|
57327
|
+
}
|
|
57328
|
+
},
|
|
57329
|
+
{
|
|
57330
|
+
"kind": "js",
|
|
57331
|
+
"name": "WEEKDAY_LABELS",
|
|
57332
|
+
"declaration": {
|
|
57333
|
+
"name": "WEEKDAY_LABELS",
|
|
57334
|
+
"module": "dist/date-picker/helpers/constants.js"
|
|
57335
|
+
}
|
|
57336
|
+
},
|
|
57337
|
+
{
|
|
57338
|
+
"kind": "js",
|
|
57339
|
+
"name": "MONTH_NAMES",
|
|
57340
|
+
"declaration": {
|
|
57341
|
+
"name": "MONTH_NAMES",
|
|
57342
|
+
"module": "dist/date-picker/helpers/constants.js"
|
|
57343
|
+
}
|
|
57344
|
+
},
|
|
57345
|
+
{
|
|
57346
|
+
"kind": "js",
|
|
57347
|
+
"name": "HOURS_12",
|
|
57348
|
+
"declaration": {
|
|
57349
|
+
"name": "HOURS_12",
|
|
57350
|
+
"module": "dist/date-picker/helpers/constants.js"
|
|
57351
|
+
}
|
|
57352
|
+
},
|
|
57353
|
+
{
|
|
57354
|
+
"kind": "js",
|
|
57355
|
+
"name": "MINUTES_60",
|
|
57356
|
+
"declaration": {
|
|
57357
|
+
"name": "MINUTES_60",
|
|
57358
|
+
"module": "dist/date-picker/helpers/constants.js"
|
|
57359
|
+
}
|
|
57360
|
+
}
|
|
57361
|
+
]
|
|
57362
|
+
},
|
|
57363
|
+
{
|
|
57364
|
+
"kind": "javascript-module",
|
|
57365
|
+
"path": "dist/date-picker/helpers/parsing.js",
|
|
57366
|
+
"declarations": [
|
|
57367
|
+
{
|
|
57368
|
+
"kind": "function",
|
|
57369
|
+
"name": "parseValue",
|
|
57370
|
+
"return": {
|
|
57371
|
+
"type": {
|
|
57372
|
+
"text": "ParsedValue"
|
|
57373
|
+
}
|
|
57374
|
+
},
|
|
57375
|
+
"parameters": [
|
|
57376
|
+
{
|
|
57377
|
+
"name": "raw",
|
|
57378
|
+
"type": {
|
|
57379
|
+
"text": "string"
|
|
57380
|
+
}
|
|
57381
|
+
},
|
|
57382
|
+
{
|
|
57383
|
+
"name": "mode",
|
|
57384
|
+
"type": {
|
|
57385
|
+
"text": "DatePickerMode"
|
|
57386
|
+
}
|
|
57387
|
+
}
|
|
57388
|
+
],
|
|
57389
|
+
"description": "Parse a raw ISO 8601 value string into a structured `ParsedValue`\nbased on the picker mode. Returns `{ kind: \"none\" }` for empty or\nunparseable input."
|
|
57390
|
+
},
|
|
57391
|
+
{
|
|
57392
|
+
"kind": "function",
|
|
57393
|
+
"name": "formatDate",
|
|
57394
|
+
"return": {
|
|
57395
|
+
"type": {
|
|
57396
|
+
"text": "string"
|
|
57397
|
+
}
|
|
57398
|
+
},
|
|
57399
|
+
"parameters": [
|
|
57400
|
+
{
|
|
57401
|
+
"name": "d",
|
|
57402
|
+
"type": {
|
|
57403
|
+
"text": "Temporal.PlainDate"
|
|
57404
|
+
}
|
|
57405
|
+
}
|
|
57406
|
+
],
|
|
57407
|
+
"description": "Format a `PlainDate` as \"Month Day, Year\"."
|
|
57408
|
+
},
|
|
57409
|
+
{
|
|
57410
|
+
"kind": "function",
|
|
57411
|
+
"name": "formatTime",
|
|
57412
|
+
"return": {
|
|
57413
|
+
"type": {
|
|
57414
|
+
"text": "string"
|
|
57415
|
+
}
|
|
57416
|
+
},
|
|
57417
|
+
"parameters": [
|
|
57418
|
+
{
|
|
57419
|
+
"name": "t",
|
|
57420
|
+
"type": {
|
|
57421
|
+
"text": "Temporal.PlainTime"
|
|
57422
|
+
}
|
|
57423
|
+
}
|
|
57424
|
+
],
|
|
57425
|
+
"description": "Format a `PlainTime` as \"H:MM AM/PM\"."
|
|
57426
|
+
},
|
|
57427
|
+
{
|
|
57428
|
+
"kind": "function",
|
|
57429
|
+
"name": "displayValue",
|
|
57430
|
+
"return": {
|
|
57431
|
+
"type": {
|
|
57432
|
+
"text": "string"
|
|
57433
|
+
}
|
|
57434
|
+
},
|
|
57435
|
+
"parameters": [
|
|
57436
|
+
{
|
|
57437
|
+
"name": "parsed",
|
|
57438
|
+
"type": {
|
|
57439
|
+
"text": "ParsedValue"
|
|
57440
|
+
}
|
|
57441
|
+
}
|
|
57442
|
+
],
|
|
57443
|
+
"description": "Build the human-readable display string for the input field\nfrom a parsed value."
|
|
57444
|
+
}
|
|
57445
|
+
],
|
|
57446
|
+
"exports": [
|
|
57447
|
+
{
|
|
57448
|
+
"kind": "js",
|
|
57449
|
+
"name": "parseValue",
|
|
57450
|
+
"declaration": {
|
|
57451
|
+
"name": "parseValue",
|
|
57452
|
+
"module": "dist/date-picker/helpers/parsing.js"
|
|
57453
|
+
}
|
|
57454
|
+
},
|
|
57455
|
+
{
|
|
57456
|
+
"kind": "js",
|
|
57457
|
+
"name": "formatDate",
|
|
57458
|
+
"declaration": {
|
|
57459
|
+
"name": "formatDate",
|
|
57460
|
+
"module": "dist/date-picker/helpers/parsing.js"
|
|
57461
|
+
}
|
|
57462
|
+
},
|
|
57463
|
+
{
|
|
57464
|
+
"kind": "js",
|
|
57465
|
+
"name": "formatTime",
|
|
57466
|
+
"declaration": {
|
|
57467
|
+
"name": "formatTime",
|
|
57468
|
+
"module": "dist/date-picker/helpers/parsing.js"
|
|
57469
|
+
}
|
|
57470
|
+
},
|
|
57471
|
+
{
|
|
57472
|
+
"kind": "js",
|
|
57473
|
+
"name": "displayValue",
|
|
57474
|
+
"declaration": {
|
|
57475
|
+
"name": "displayValue",
|
|
57476
|
+
"module": "dist/date-picker/helpers/parsing.js"
|
|
57477
|
+
}
|
|
57478
|
+
}
|
|
57479
|
+
]
|
|
57480
|
+
},
|
|
57481
|
+
{
|
|
57482
|
+
"kind": "javascript-module",
|
|
57483
|
+
"path": "dist/date-picker/helpers/styles.js",
|
|
57484
|
+
"declarations": [
|
|
57485
|
+
{
|
|
57486
|
+
"kind": "variable",
|
|
57487
|
+
"name": "datePickerStyles",
|
|
57488
|
+
"default": "css` /* ── Error state ─────────────────────────────────── */ .temporal-error { font-family: var(--esp-font-body); font-size: var(--esp-type-small); color: var(--esp-color-danger-text); padding: var(--esp-size-padding); } /* ── Trigger field ───────────────────────────────── */ .esp-field { display: grid; grid-template-columns: 1fr min-content; cursor: pointer; > input.esp-input { cursor: pointer; width: auto; } > .field-icon { display: grid; place-content: center; cursor: pointer; > svg { height: calc(1.2 * var(--esp-size-font)); width: calc(1.2 * var(--esp-size-font)); margin: 0 var(--esp-size-tiny); } } } /* ── Popover shell (native top-layer) ────────────── */ .picker-popover { position: fixed; inset: unset; margin: 0; padding: var(--esp-size-small); border-radius: var(--esp-size-border-radius); border: 1px solid var(--esp-color-border); background: var(--esp-color-layer-1); box-shadow: 0 4px 16px var(--esp-color-shadow); color: var(--esp-color-text); font-family: var(--esp-font-body); font-size: var(--esp-size-font); opacity: 0; transition: opacity 150ms ease-in; overflow: visible; } .picker-popover.visible { opacity: 1; } /* ── Calendar ────────────────────────────────────── */ .calendar { display: flex; flex-direction: column; gap: var(--esp-size-tiny); user-select: none; overflow: hidden; } .cal-body { will-change: transform; } .cal-header { display: flex; align-items: center; justify-content: space-between; padding-bottom: var(--esp-size-tiny); } .cal-title { font-weight: bold; font-size: var(--esp-type-normal); color: var(--esp-color-headings); } .nav-btn { display: grid; place-content: center; background: none; border: none; cursor: pointer; padding: var(--esp-size-tiny); border-radius: var(--esp-size-border-radius); color: var(--esp-color-text); transition: background-color 120ms ease; > svg { height: var(--esp-size-normal); width: var(--esp-size-normal); } &:hover { background-color: var(--esp-color-layer-3); } &:focus-visible { outline: 2px solid var(--esp-color-action-text); outline-offset: -2px; } } /* ── Weekday labels ──────────────────────────────── */ .weekday-row { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; } .weekday-label { font-size: var(--esp-type-tiny); font-weight: 600; color: var(--esp-color-headings); text-decoration: none; padding: var(--esp-size-tiny) 0; } /* ── Day grid ────────────────────────────────────── */ .day-grid { display: flex; flex-direction: column; } /* Show the focused-day ring only when the grid itself contains focus, so it disappears when the user tabs to the nav arrows or time picker. */ .day-grid:focus-within .day-cell.focused { outline: 2px solid var(--esp-color-action-text); outline-offset: -2px; z-index: 1; } .day-row { display: grid; grid-template-columns: repeat(7, 1fr); } /* ── Day cell ────────────────────────────────────── */ .day-cell { --_cell-size: 2.4em; position: relative; display: grid; place-content: center; width: var(--_cell-size); height: var(--_cell-size); border: none; border-radius: var(--esp-size-border-radius); background: none; cursor: pointer; font-family: inherit; font-size: inherit; color: var(--esp-color-text); transition: background-color 100ms ease, color 100ms ease; &:hover:not(.disabled):not(.selected) { background-color: var(--esp-color-layer-3); } &:focus-visible { outline: 2px solid var(--esp-color-action-text); outline-offset: -2px; z-index: 1; } /* Outside month — dim */ &.outside-month { opacity: 0.38; } /* Today ring */ &.today { font-weight: bold; box-shadow: inset 0 0 0 1px var(--esp-color-border); border-radius: var(--esp-size-border-radius); } /* Selected / range endpoints */ &.selected { background-color: var(--esp-color-layer-3); color: var(--esp-color-action-text); font-weight: bold; } /* Range span highlight — washed-out brand colour */ &.in-range { background-color: oklch(from var(--esp-color-layer-3) calc(l + 0.15) calc(c * 0.4) h); border-radius: 0; } &.range-start { border-radius: var(--esp-size-border-radius) 0 0 var(--esp-size-border-radius); } &.range-end { border-radius: 0 var(--esp-size-border-radius) var(--esp-size-border-radius) 0; } /* Disabled */ &.disabled { opacity: 0.3; cursor: not-allowed; } } /* ── Time picker ─────────────────────────────────── */ .time-picker { display: flex; align-items: center; flex-wrap: nowrap; gap: var(--esp-size-tiny); padding-top: var(--esp-size-small); border-top: 1px solid var(--esp-color-border); margin-top: var(--esp-size-small); white-space: nowrap; /* Push the action buttons to the right edge */ > esp-button:first-of-type { margin-left: auto; } } /* Only-time mode: no top border */ :host([mode=\"time\"]) .time-picker { border-top: none; margin-top: 0; padding-top: 0; } .popover-actions { display: flex; gap: var(--esp-size-tiny); align-items: center; justify-content: flex-end; padding-top: var(--esp-size-small); border-top: 1px solid var(--esp-color-border); margin-top: var(--esp-size-small); } .time-sep { font-size: var(--esp-type-medium); font-weight: bold; color: var(--esp-color-headings); padding: 0 2px; } `",
|
|
57489
|
+
"description": "Component-specific styles for `esp-date-picker`."
|
|
57490
|
+
}
|
|
57491
|
+
],
|
|
57492
|
+
"exports": [
|
|
57493
|
+
{
|
|
57494
|
+
"kind": "js",
|
|
57495
|
+
"name": "datePickerStyles",
|
|
57496
|
+
"declaration": {
|
|
57497
|
+
"name": "datePickerStyles",
|
|
57498
|
+
"module": "dist/date-picker/helpers/styles.js"
|
|
57499
|
+
}
|
|
57500
|
+
}
|
|
57501
|
+
]
|
|
57502
|
+
},
|
|
57503
|
+
{
|
|
57504
|
+
"kind": "javascript-module",
|
|
57505
|
+
"path": "dist/date-picker/helpers/types.js",
|
|
57506
|
+
"declarations": [],
|
|
57507
|
+
"exports": []
|
|
57508
|
+
},
|
|
57509
57509
|
{
|
|
57510
57510
|
"kind": "javascript-module",
|
|
57511
57511
|
"path": "dist/root/helpers/compute-theme-properties.js",
|