@uvalib/web-components 1.8.0 → 1.8.3
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 +25 -0
- package/README.md +4 -3
- package/dist/base.css +54 -1
- package/dist/components/site-main-nav/SiteMainNav.d.ts +1 -1
- package/dist/components/site-main-nav/SiteMainNav.js +9 -2
- package/dist/components/site-main-nav/SiteMainNav.js.map +1 -1
- package/dist/components/site-page/SitePage.d.ts +1 -1
- package/dist/components/site-page/SitePage.js +3 -2
- package/dist/components/site-page/SitePage.js.map +1 -1
- package/dist/components/site-style/SiteStyle.d.ts +1 -1
- package/dist/components/site-style/SiteStyle.js +3 -2
- package/dist/components/site-style/SiteStyle.js.map +1 -1
- package/dist/custom-elements.json +67 -45
- package/dist/pagefind.css +8 -1
- package/dist/styles/base.js +8 -1
- package/dist/styles/base.js.map +1 -1
- package/dist/styles/font-fallback.d.ts +17 -0
- package/dist/styles/font-fallback.js +64 -0
- package/dist/styles/font-fallback.js.map +1 -0
- package/dist/styles/pagefind.js +8 -1
- package/dist/styles/pagefind.js.map +1 -1
- package/dist/styles/tokens.js +1 -1
- package/dist/tokens.css +47 -1
- package/dist-cdn/base.css +54 -1
- package/dist-cdn/chunks/{base-BI8h0Gf3.js → base-CIX_-Rmo.js} +58 -6
- package/dist-cdn/chunks/base-CIX_-Rmo.js.map +1 -0
- package/dist-cdn/chunks/{site-header-DYRMpdBj.js → site-header-CEmNtmk5.js} +2 -2
- package/dist-cdn/chunks/{site-header-DYRMpdBj.js.map → site-header-CEmNtmk5.js.map} +1 -1
- package/dist-cdn/chunks/{site-main-nav-DURrQMal.js → site-main-nav-CAwKq_x5.js} +9 -2
- package/dist-cdn/chunks/site-main-nav-CAwKq_x5.js.map +1 -0
- package/dist-cdn/custom-elements.json +67 -45
- package/dist-cdn/manifest.json +1 -1
- package/dist-cdn/pagefind.css +8 -1
- package/dist-cdn/site-header.js +1 -1
- package/dist-cdn/site-main-nav.js +1 -1
- package/dist-cdn/site-page.js +50 -46
- package/dist-cdn/site-page.js.map +1 -1
- package/dist-cdn/site-style.js +6 -6
- package/dist-cdn/site-style.js.map +1 -1
- package/dist-cdn/skills/uvalib-web-components/SKILL.md +1 -1
- package/dist-cdn/skills/uvalib-web-components/reference/components.md +3 -3
- package/dist-cdn/tokens.css +47 -1
- package/package.json +1 -1
- package/skills/uvalib-web-components/SKILL.md +1 -1
- package/skills/uvalib-web-components/reference/components.md +3 -3
- package/dist-cdn/chunks/base-BI8h0Gf3.js.map +0 -1
- package/dist-cdn/chunks/site-main-nav-DURrQMal.js.map +0 -1
|
@@ -2463,46 +2463,6 @@
|
|
|
2463
2463
|
}
|
|
2464
2464
|
]
|
|
2465
2465
|
},
|
|
2466
|
-
{
|
|
2467
|
-
"kind": "javascript-module",
|
|
2468
|
-
"path": "src/components/link.ts",
|
|
2469
|
-
"declarations": [
|
|
2470
|
-
{
|
|
2471
|
-
"kind": "function",
|
|
2472
|
-
"name": "siteLink",
|
|
2473
|
-
"return": {
|
|
2474
|
-
"type": {
|
|
2475
|
-
"text": "string"
|
|
2476
|
-
}
|
|
2477
|
-
},
|
|
2478
|
-
"parameters": [
|
|
2479
|
-
{
|
|
2480
|
-
"name": "root",
|
|
2481
|
-
"type": {
|
|
2482
|
-
"text": "string"
|
|
2483
|
-
}
|
|
2484
|
-
},
|
|
2485
|
-
{
|
|
2486
|
-
"name": "path",
|
|
2487
|
-
"type": {
|
|
2488
|
-
"text": "string"
|
|
2489
|
-
}
|
|
2490
|
-
}
|
|
2491
|
-
],
|
|
2492
|
-
"description": "Join a site root and a path with exactly one \"/\"; paths with a URL scheme or starting with // pass through."
|
|
2493
|
-
}
|
|
2494
|
-
],
|
|
2495
|
-
"exports": [
|
|
2496
|
-
{
|
|
2497
|
-
"kind": "js",
|
|
2498
|
-
"name": "siteLink",
|
|
2499
|
-
"declaration": {
|
|
2500
|
-
"name": "siteLink",
|
|
2501
|
-
"module": "src/components/link.ts"
|
|
2502
|
-
}
|
|
2503
|
-
}
|
|
2504
|
-
]
|
|
2505
|
-
},
|
|
2506
2466
|
{
|
|
2507
2467
|
"kind": "javascript-module",
|
|
2508
2468
|
"path": "src/data/fetch-json.ts",
|
|
@@ -2728,6 +2688,46 @@
|
|
|
2728
2688
|
}
|
|
2729
2689
|
]
|
|
2730
2690
|
},
|
|
2691
|
+
{
|
|
2692
|
+
"kind": "javascript-module",
|
|
2693
|
+
"path": "src/components/link.ts",
|
|
2694
|
+
"declarations": [
|
|
2695
|
+
{
|
|
2696
|
+
"kind": "function",
|
|
2697
|
+
"name": "siteLink",
|
|
2698
|
+
"return": {
|
|
2699
|
+
"type": {
|
|
2700
|
+
"text": "string"
|
|
2701
|
+
}
|
|
2702
|
+
},
|
|
2703
|
+
"parameters": [
|
|
2704
|
+
{
|
|
2705
|
+
"name": "root",
|
|
2706
|
+
"type": {
|
|
2707
|
+
"text": "string"
|
|
2708
|
+
}
|
|
2709
|
+
},
|
|
2710
|
+
{
|
|
2711
|
+
"name": "path",
|
|
2712
|
+
"type": {
|
|
2713
|
+
"text": "string"
|
|
2714
|
+
}
|
|
2715
|
+
}
|
|
2716
|
+
],
|
|
2717
|
+
"description": "Join a site root and a path with exactly one \"/\"; paths with a URL scheme or starting with // pass through."
|
|
2718
|
+
}
|
|
2719
|
+
],
|
|
2720
|
+
"exports": [
|
|
2721
|
+
{
|
|
2722
|
+
"kind": "js",
|
|
2723
|
+
"name": "siteLink",
|
|
2724
|
+
"declaration": {
|
|
2725
|
+
"name": "siteLink",
|
|
2726
|
+
"module": "src/components/link.ts"
|
|
2727
|
+
}
|
|
2728
|
+
}
|
|
2729
|
+
]
|
|
2730
|
+
},
|
|
2731
2731
|
{
|
|
2732
2732
|
"kind": "javascript-module",
|
|
2733
2733
|
"path": "src/styles/accessible.ts",
|
|
@@ -2764,7 +2764,7 @@
|
|
|
2764
2764
|
{
|
|
2765
2765
|
"kind": "variable",
|
|
2766
2766
|
"name": "base",
|
|
2767
|
-
"default": "css` *, *::before, *::after { box-sizing: border-box; } html, body { font-family: var(--uva-font-family, franklin-gothic-urw, Arial, Helvetica, sans-serif); } html { font-size: var(--uva-font-size-base, 17px); } body { margin: 0; line-height: 1.5; min-height: 100vh; color: var(--uva-color-text, var(--uva-grey-darkest, #2b2b2b)); background-color: var(--uva-color-surface); } site-page:not(:defined) { display: flow-root; visibility: hidden; animation: uvalib-site-page-reveal 0s 2s forwards; } uvalib-breadcrumbs:not(:defined), uvalib-card:not(:defined), uvalib-card-grid:not(:defined), uvalib-pager:not(:defined), uvalib-contents:not(:defined), uvalib-metadata:not(:defined), uvalib-tag-list:not(:defined) { display: block; line-height: 1.5; visibility: hidden; animation: uvalib-site-page-reveal 0s 2s forwards; } /* A chip row: hidden, one 44px row tall (with the scrolling row's padding), the raw children kept on one line so they cannot make it taller. */ uvalib-chip-group:not(:defined) { display: block; min-height: 44px; max-width: 100%; overflow: hidden; white-space: nowrap; visibility: hidden; animation: uvalib-site-page-reveal 0s 2s forwards; } uvalib-chip-group[scroll]:not(:defined) { min-height: calc(44px + 0.75rem); } /* A description: one line of it (0.875rem at 1.5, 0.25rem below the row). */ uvalib-chip-group[description]:not(:defined) { padding-block-end: 1.5625rem; } /* Its text is drawn from attributes: hold one line until it upgrades. */ uvalib-results-count:not(:defined) { display: block; min-block-size: 1.5em; } uvalib-tag-list:not(:defined)[hidden], uvalib-results-count:not(:defined)[hidden] { display: none; } /* The pre-upgrade rules here set display, which beats the hidden attribute's (issue #7). More specific than each of them (two pseudo-classes or attributes), so it needs no importance flag. */ :where( site-page, uvalib-breadcrumbs, uvalib-card, uvalib-card-grid, uvalib-pager, uvalib-contents, uvalib-metadata, uvalib-chip-group, uvalib-tabs, uvalib-combobox, uvalib-image-regions, uvalib-map, uvalib-filter-drawer ):not(:defined)[hidden], :where(uvalib-combobox, uvalib-image-regions):not(:defined) > [hidden] { display: none; } /* Tabs stay readable before the script runs: a block, one panel, and a gap the size of the tab row (44px) plus its 1rem margin, so the first panel does not jump when the element upgrades. Later data-tab panels stay hidden. */ uvalib-tabs:not(:defined) { display: block; padding-block-start: calc(44px + 1rem); } uvalib-tabs:not(:defined) > [data-tab] ~ [data-tab] { display: none; } /* A combobox: its label (from the attribute) and one 44px field (plus a one-line description) held, so nothing moves when it upgrades. A fallback <input list> child works meanwhile; the other children (options, a datalist) stay out of sight. */ uvalib-combobox:not(:defined) { display: block; min-block-size: calc(1.5em + 0.25rem + 44px); line-height: 1.5; } uvalib-combobox[description]:not(:defined) { min-block-size: calc(3em + 0.5rem + 44px); } uvalib-combobox:not(:defined)::before { content: attr(label); display: block; margin-block-end: 0.25rem; font-weight: 600; } uvalib-combobox:not(:defined) > :not(input) { display: none; } uvalib-combobox:not(:defined) > input { display: block; box-sizing: border-box; inline-size: 100%; min-block-size: 44px; font: inherit; line-height: 1.2; } /* Image regions: the image at its own width and the list beside it (or under it), the layout the element keeps once it upgrades, so the image does not move. */ uvalib-image-regions:not(:defined) { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-start; } uvalib-image-regions:not(:defined) > :is(img, picture) { display: block; flex: 0 1 auto; min-width: 0; max-width: 100%; height: auto; } uvalib-image-regions:not(:defined) > :is(ol, ul) { flex: 1 1 14rem; min-width: 0; } /* A map: its key instructions (the same text it shows) and the map's height held above the child list, so the list does not move when the map is drawn over the page's Leaflet. Padding, not margin, so it cannot collapse with the list's own top margin. */ uvalib-map:not(:defined) { display: block; } uvalib-map:not(:defined)::before { content: 'Tab or arrow keys move between places; Enter opens one. With the map focused, arrow keys pan and + and − zoom.'; display: block; padding-block-end: calc(0.5rem + max(12rem, var(--uvalib-map-height, min(24rem, 75vw)))); font-size: 0.875rem; line-height: 1.5; color: var(--uva-color-text-muted, #4b5563); } /* A filter drawer on a phone (the default 48rem breakpoint): once it upgrades only its 44px \"Search and filters\" button shows, so hold that height and keep the form and filters out of sight meanwhile; nothing moves when it upgrades. A page with its own breakpoint adds the same two rules in a media query of that width (see the README). Low specificity, so the [hidden] rule above still wins. */ @media (max-width: 48rem) { :where(uvalib-filter-drawer:not([breakpoint])):not(:defined) { display: block; min-block-size: 44px; } :where(uvalib-filter-drawer:not([breakpoint])):not(:defined) > * { display: none; } } /* Printing a <site-page> (issue #20; its own styles leave out the chrome): a dark scheme prints light (the role tokens resolve to their light values), and the content's links are black and underlined, so they are told apart without colour. Content is <main> in light DOM and the unslotted children in shadow DOM. print-chrome keeps the page as it is shown, apart from the light scheme. */ @media print { :root[data-uva-color-scheme]:has(site-page) { color-scheme: light; --uva-color-scheme: light; } /* Light DOM's trail, here too, as the pre-upgrade rule above (unlayered) would win. */ site-page:not([print-chrome]) > [slot='breadcrumbs'] { display: none; } site-page:not([print-chrome]) > :not([slot], site-header, site-footer, .alerts-list) :any-link, site-page:not([print-chrome]) > :any-link:not([slot], .skip-link) { color: #000; text-decoration: underline; } } @keyframes uvalib-site-page-reveal { to { visibility: visible; } } `"
|
|
2767
|
+
"default": "css` *, *::before, *::after { box-sizing: border-box; } html, body { font-family: var( --uva-font-family, franklin-gothic-urw, 'UVA Franklin Fallback', Arial, Helvetica, sans-serif ); } html { font-size: var(--uva-font-size-base, 17px); } body { margin: 0; line-height: 1.5; min-height: 100vh; color: var(--uva-color-text, var(--uva-grey-darkest, #2b2b2b)); background-color: var(--uva-color-surface); } site-page:not(:defined) { display: flow-root; visibility: hidden; animation: uvalib-site-page-reveal 0s 2s forwards; } uvalib-breadcrumbs:not(:defined), uvalib-card:not(:defined), uvalib-card-grid:not(:defined), uvalib-pager:not(:defined), uvalib-contents:not(:defined), uvalib-metadata:not(:defined), uvalib-tag-list:not(:defined) { display: block; line-height: 1.5; visibility: hidden; animation: uvalib-site-page-reveal 0s 2s forwards; } /* A chip row: hidden, one 44px row tall (with the scrolling row's padding), the raw children kept on one line so they cannot make it taller. */ uvalib-chip-group:not(:defined) { display: block; min-height: 44px; max-width: 100%; overflow: hidden; white-space: nowrap; visibility: hidden; animation: uvalib-site-page-reveal 0s 2s forwards; } uvalib-chip-group[scroll]:not(:defined) { min-height: calc(44px + 0.75rem); } /* A description: one line of it (0.875rem at 1.5, 0.25rem below the row). */ uvalib-chip-group[description]:not(:defined) { padding-block-end: 1.5625rem; } /* Its text is drawn from attributes: hold one line until it upgrades. */ uvalib-results-count:not(:defined) { display: block; min-block-size: 1.5em; } uvalib-tag-list:not(:defined)[hidden], uvalib-results-count:not(:defined)[hidden] { display: none; } /* The pre-upgrade rules here set display, which beats the hidden attribute's (issue #7). More specific than each of them (two pseudo-classes or attributes), so it needs no importance flag. */ :where( site-page, uvalib-breadcrumbs, uvalib-card, uvalib-card-grid, uvalib-pager, uvalib-contents, uvalib-metadata, uvalib-chip-group, uvalib-tabs, uvalib-combobox, uvalib-image-regions, uvalib-map, uvalib-filter-drawer ):not(:defined)[hidden], :where(uvalib-combobox, uvalib-image-regions):not(:defined) > [hidden] { display: none; } /* Tabs stay readable before the script runs: a block, one panel, and a gap the size of the tab row (44px) plus its 1rem margin, so the first panel does not jump when the element upgrades. Later data-tab panels stay hidden. */ uvalib-tabs:not(:defined) { display: block; padding-block-start: calc(44px + 1rem); } uvalib-tabs:not(:defined) > [data-tab] ~ [data-tab] { display: none; } /* A combobox: its label (from the attribute) and one 44px field (plus a one-line description) held, so nothing moves when it upgrades. A fallback <input list> child works meanwhile; the other children (options, a datalist) stay out of sight. */ uvalib-combobox:not(:defined) { display: block; min-block-size: calc(1.5em + 0.25rem + 44px); line-height: 1.5; } uvalib-combobox[description]:not(:defined) { min-block-size: calc(3em + 0.5rem + 44px); } uvalib-combobox:not(:defined)::before { content: attr(label); display: block; margin-block-end: 0.25rem; font-weight: 600; } uvalib-combobox:not(:defined) > :not(input) { display: none; } uvalib-combobox:not(:defined) > input { display: block; box-sizing: border-box; inline-size: 100%; min-block-size: 44px; font: inherit; line-height: 1.2; } /* Image regions: the image at its own width and the list beside it (or under it), the layout the element keeps once it upgrades, so the image does not move. */ uvalib-image-regions:not(:defined) { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-start; } uvalib-image-regions:not(:defined) > :is(img, picture) { display: block; flex: 0 1 auto; min-width: 0; max-width: 100%; height: auto; } uvalib-image-regions:not(:defined) > :is(ol, ul) { flex: 1 1 14rem; min-width: 0; } /* A map: its key instructions (the same text it shows) and the map's height held above the child list, so the list does not move when the map is drawn over the page's Leaflet. Padding, not margin, so it cannot collapse with the list's own top margin. */ uvalib-map:not(:defined) { display: block; } uvalib-map:not(:defined)::before { content: 'Tab or arrow keys move between places; Enter opens one. With the map focused, arrow keys pan and + and − zoom.'; display: block; padding-block-end: calc(0.5rem + max(12rem, var(--uvalib-map-height, min(24rem, 75vw)))); font-size: 0.875rem; line-height: 1.5; color: var(--uva-color-text-muted, #4b5563); } /* A filter drawer on a phone (the default 48rem breakpoint): once it upgrades only its 44px \"Search and filters\" button shows, so hold that height and keep the form and filters out of sight meanwhile; nothing moves when it upgrades. A page with its own breakpoint adds the same two rules in a media query of that width (see the README). Low specificity, so the [hidden] rule above still wins. */ @media (max-width: 48rem) { :where(uvalib-filter-drawer:not([breakpoint])):not(:defined) { display: block; min-block-size: 44px; } :where(uvalib-filter-drawer:not([breakpoint])):not(:defined) > * { display: none; } } /* Printing a <site-page> (issue #20; its own styles leave out the chrome): a dark scheme prints light (the role tokens resolve to their light values), and the content's links are black and underlined, so they are told apart without colour. Content is <main> in light DOM and the unslotted children in shadow DOM. print-chrome keeps the page as it is shown, apart from the light scheme. */ @media print { :root[data-uva-color-scheme]:has(site-page) { color-scheme: light; --uva-color-scheme: light; } /* Light DOM's trail, here too, as the pre-upgrade rule above (unlayered) would win. */ site-page:not([print-chrome]) > [slot='breadcrumbs'] { display: none; } site-page:not([print-chrome]) > :not([slot], site-header, site-footer, .alerts-list) :any-link, site-page:not([print-chrome]) > :any-link:not([slot], .skip-link) { color: #000; text-decoration: underline; } } @keyframes uvalib-site-page-reveal { to { visibility: visible; } } `"
|
|
2768
2768
|
}
|
|
2769
2769
|
],
|
|
2770
2770
|
"exports": [
|
|
@@ -2844,6 +2844,28 @@
|
|
|
2844
2844
|
}
|
|
2845
2845
|
]
|
|
2846
2846
|
},
|
|
2847
|
+
{
|
|
2848
|
+
"kind": "javascript-module",
|
|
2849
|
+
"path": "src/styles/font-fallback.ts",
|
|
2850
|
+
"declarations": [
|
|
2851
|
+
{
|
|
2852
|
+
"kind": "variable",
|
|
2853
|
+
"name": "fontFallback",
|
|
2854
|
+
"default": "css` @font-face { font-family: 'UVA Franklin Fallback'; src: local('Arial'), local('ArialMT'), local('Liberation Sans'), local('LiberationSans'); font-weight: 100 450; font-style: normal; size-adjust: 94.52%; ascent-override: 100.93%; descent-override: 26.56%; line-gap-override: 0%; } @font-face { font-family: 'UVA Franklin Fallback'; src: local('Arial'), local('ArialMT'), local('Liberation Sans'), local('LiberationSans'); font-weight: 451 599; font-style: normal; size-adjust: 95.99%; ascent-override: 99.18%; descent-override: 26.04%; line-gap-override: 0%; } @font-face { font-family: 'UVA Franklin Fallback'; src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold'), local('LiberationSans-Bold'); font-weight: 600 1000; font-style: normal; size-adjust: 91.32%; ascent-override: 104.03%; descent-override: 27.38%; line-gap-override: 0%; } @font-face { font-family: 'UVA Franklin Fallback'; src: local('Arial Italic'), local('Arial-ItalicMT'), local('Liberation Sans Italic'), local('LiberationSans-Italic'); font-weight: 100 599; font-style: italic; size-adjust: 95.06%; ascent-override: 101.09%; descent-override: 26.4%; line-gap-override: 0%; } `",
|
|
2855
|
+
"description": "A metric-matched fallback for Franklin Gothic URW (issue #32). The Adobe Fonts kit uses\n`font-display: auto`, so on a slow connection text is drawn in the next font of\n`--uva-font-family` and redrawn when the kit's files arrive. Plain Arial is wider than\nFranklin Gothic (by 6% regular, 9% bold), so paragraphs rewrapped and the page moved\n(layout shift). \"UVA Franklin Fallback\" is the system's Arial scaled to Franklin Gothic's\naverage widths, with its ascent and descent, for each face the kit serves (400, 500, 700 and\n400 italic; a 600 rule gets the 700 face, as the kit's own matching does). Measured against\nthe kit in Chromium: the fallback wraps a paragraph like Franklin Gothic in about 99% of\nwidths from 260 to 700px at 16 to 20px, against 55 to 82% for plain Arial.\n\n`size-adjust` scales Arial's glyphs; the overrides are Franklin Gothic's ascent (0.95 em) and\ndescent (0.25 em) divided by that scale, with no line gap, so a line is as tall in both.\nLiberation Sans (Linux) has Arial's metrics. Where neither is installed (Android has Roboto),\nthe face is skipped and the next font in the stack is used, as before."
|
|
2856
|
+
}
|
|
2857
|
+
],
|
|
2858
|
+
"exports": [
|
|
2859
|
+
{
|
|
2860
|
+
"kind": "js",
|
|
2861
|
+
"name": "fontFallback",
|
|
2862
|
+
"declaration": {
|
|
2863
|
+
"name": "fontFallback",
|
|
2864
|
+
"module": "src/styles/font-fallback.ts"
|
|
2865
|
+
}
|
|
2866
|
+
}
|
|
2867
|
+
]
|
|
2868
|
+
},
|
|
2847
2869
|
{
|
|
2848
2870
|
"kind": "javascript-module",
|
|
2849
2871
|
"path": "src/styles/hidden.ts",
|
|
@@ -2971,7 +2993,7 @@
|
|
|
2971
2993
|
{
|
|
2972
2994
|
"kind": "variable",
|
|
2973
2995
|
"name": "tokens",
|
|
2974
|
-
"default": "css` :root { --uva-brand-blue-lightest: #87B9D9; --uva-brand-blue-lighter: #3395D4; --uva-brand-blue-light: #0370B7; --uva-brand-blue-base: #232D4B; --uva-brand-blue-300: #87B9D9; --uva-brand-blue-200: #3395D4; --uva-brand-blue-100: #0370B7; --uva-brand-blue: #232D4B; --uva-brand-orange-lightest: #FFEAD6; --uva-brand-orange-lighter: #FFC999; --uva-brand-orange-light: #FFB370; --uva-brand-orange-base: #E57200; --uva-brand-orange-dark: #B35900; --uva-brand-orange-darker: #854200; --uva-brand-orange-300: #FFEAD6; --uva-brand-orange-200: #FFC999; --uva-brand-orange-100: #FFB370; --uva-brand-orange: #E57200; --uva-brand-orange-A: #B35900; --uva-brand-orange-B: #854200; --uva-blue-alt-lightest: #BFE7F7; --uva-blue-alt-lighter: #91D8F2; --uva-blue-alt-light: #55C4EC; --uva-blue-alt-base: #007BAC; --uva-blue-alt-dark: #005679; --uva-blue-alt-darkest: #141E3C; --uva-blue-alt-400: #e6f2f7; --uva-blue-alt-300: #BFE7F7; --uva-blue-alt-200: #91D8F2; --uva-blue-alt-100: #55C4EC; --uva-blue-alt: #007BAC; --uva-blue-alt-A: #005679; --uva-blue-alt-B: #141E3C; --uva-teal-lightest: #C8F2F4; --uva-teal-light: #5BD7DE; --uva-teal-base: #25CAD3; --uva-teal-dark: #1DA1A8; --uva-teal-darker: #16777C; --uva-teal-200: #C8F2F4; --uva-teal-100: #5BD7DE; --uva-teal: #25CAD3; --uva-teal-A: #1DA1A8; --uva-teal-B: #16777C; --uva-green-lightest: #DDEFDC; --uva-green-lighter: #89CC74; --uva-green-base: #62BB46; --uva-green-dark: #4E9737; --uva-green-200: #DDEFDC; --uva-green-100: #89CC74; --uva-green: #62BB46; --uva-green-A: #4E9737; --uva-red-lightest: #FBCFDA; --uva-red-base: #EF3F6B; --uva-red-dark: #DF1E43; --uva-red-darker: #B30000; --uva-red-100: #FBCFDA; --uva-red: #EF3F6B; --uva-red-A: #DF1E43; --uva-red-B: #B30000; --uva-yellow-lightest: #FEF6C8; --uva-yellow-base: #ECC602; --uva-yellow-dark: #B99C02; --uva-yellow-100: #FEF6C8; --uva-yellow: #ECC602; --uva-yellow-A: #B99C02; --uva-grey-lightest: #F1F1F1; --uva-grey-light: #DADADA; --uva-grey-base: #808080; --uva-grey-dark: #4F4F4F; --uva-grey-darkest: #2B2B2B; --uva-grey-200: #F1F1F1; --uva-grey-100: #DADADA; --uva-grey-50: #ADADAD; --uva-grey: #808080; --uva-grey-A: #4F4F4F; --uva-grey-B: #2B2B2B; --uva-font-family: franklin-gothic-urw, Arial, Helvetica, sans-serif; --uva-font-size-base: 17px; } `"
|
|
2996
|
+
"default": "css` :root { --uva-brand-blue-lightest: #87B9D9; --uva-brand-blue-lighter: #3395D4; --uva-brand-blue-light: #0370B7; --uva-brand-blue-base: #232D4B; --uva-brand-blue-300: #87B9D9; --uva-brand-blue-200: #3395D4; --uva-brand-blue-100: #0370B7; --uva-brand-blue: #232D4B; --uva-brand-orange-lightest: #FFEAD6; --uva-brand-orange-lighter: #FFC999; --uva-brand-orange-light: #FFB370; --uva-brand-orange-base: #E57200; --uva-brand-orange-dark: #B35900; --uva-brand-orange-darker: #854200; --uva-brand-orange-300: #FFEAD6; --uva-brand-orange-200: #FFC999; --uva-brand-orange-100: #FFB370; --uva-brand-orange: #E57200; --uva-brand-orange-A: #B35900; --uva-brand-orange-B: #854200; --uva-blue-alt-lightest: #BFE7F7; --uva-blue-alt-lighter: #91D8F2; --uva-blue-alt-light: #55C4EC; --uva-blue-alt-base: #007BAC; --uva-blue-alt-dark: #005679; --uva-blue-alt-darkest: #141E3C; --uva-blue-alt-400: #e6f2f7; --uva-blue-alt-300: #BFE7F7; --uva-blue-alt-200: #91D8F2; --uva-blue-alt-100: #55C4EC; --uva-blue-alt: #007BAC; --uva-blue-alt-A: #005679; --uva-blue-alt-B: #141E3C; --uva-teal-lightest: #C8F2F4; --uva-teal-light: #5BD7DE; --uva-teal-base: #25CAD3; --uva-teal-dark: #1DA1A8; --uva-teal-darker: #16777C; --uva-teal-200: #C8F2F4; --uva-teal-100: #5BD7DE; --uva-teal: #25CAD3; --uva-teal-A: #1DA1A8; --uva-teal-B: #16777C; --uva-green-lightest: #DDEFDC; --uva-green-lighter: #89CC74; --uva-green-base: #62BB46; --uva-green-dark: #4E9737; --uva-green-200: #DDEFDC; --uva-green-100: #89CC74; --uva-green: #62BB46; --uva-green-A: #4E9737; --uva-red-lightest: #FBCFDA; --uva-red-base: #EF3F6B; --uva-red-dark: #DF1E43; --uva-red-darker: #B30000; --uva-red-100: #FBCFDA; --uva-red: #EF3F6B; --uva-red-A: #DF1E43; --uva-red-B: #B30000; --uva-yellow-lightest: #FEF6C8; --uva-yellow-base: #ECC602; --uva-yellow-dark: #B99C02; --uva-yellow-100: #FEF6C8; --uva-yellow: #ECC602; --uva-yellow-A: #B99C02; --uva-grey-lightest: #F1F1F1; --uva-grey-light: #DADADA; --uva-grey-base: #808080; --uva-grey-dark: #4F4F4F; --uva-grey-darkest: #2B2B2B; --uva-grey-200: #F1F1F1; --uva-grey-100: #DADADA; --uva-grey-50: #ADADAD; --uva-grey: #808080; --uva-grey-A: #4F4F4F; --uva-grey-B: #2B2B2B; --uva-font-family: franklin-gothic-urw, \"UVA Franklin Fallback\", Arial, Helvetica, sans-serif; --uva-font-size-base: 17px; } `"
|
|
2975
2997
|
}
|
|
2976
2998
|
],
|
|
2977
2999
|
"exports": [
|
|
@@ -14282,7 +14304,7 @@
|
|
|
14282
14304
|
{
|
|
14283
14305
|
"description": "Font family.",
|
|
14284
14306
|
"name": "--uva-font-family",
|
|
14285
|
-
"default": "franklin-gothic-urw, Arial, Helvetica, sans-serif"
|
|
14307
|
+
"default": "franklin-gothic-urw, \"UVA Franklin Fallback\", Arial, Helvetica, sans-serif"
|
|
14286
14308
|
},
|
|
14287
14309
|
{
|
|
14288
14310
|
"description": "Dark-mode role token: top-level button text (else `--uva-grey-darkest`).",
|
|
@@ -15272,7 +15294,7 @@
|
|
|
15272
15294
|
{
|
|
15273
15295
|
"description": "Page font family (global styles).",
|
|
15274
15296
|
"name": "--uva-font-family",
|
|
15275
|
-
"default": "franklin-gothic-urw, Arial, Helvetica, sans-serif"
|
|
15297
|
+
"default": "franklin-gothic-urw, \"UVA Franklin Fallback\", Arial, Helvetica, sans-serif"
|
|
15276
15298
|
},
|
|
15277
15299
|
{
|
|
15278
15300
|
"description": "Page base font size (global styles).",
|
|
@@ -16184,7 +16206,7 @@
|
|
|
16184
16206
|
{
|
|
16185
16207
|
"description": "Font family.",
|
|
16186
16208
|
"name": "--uva-font-family",
|
|
16187
|
-
"default": "franklin-gothic-urw, Arial, Helvetica, sans-serif"
|
|
16209
|
+
"default": "franklin-gothic-urw, \"UVA Franklin Fallback\", Arial, Helvetica, sans-serif"
|
|
16188
16210
|
},
|
|
16189
16211
|
{
|
|
16190
16212
|
"description": "Base font size.",
|
package/dist-cdn/manifest.json
CHANGED
package/dist-cdn/pagefind.css
CHANGED
|
@@ -38,7 +38,14 @@
|
|
|
38
38
|
--pagefind-ui-border-radius: 5px;
|
|
39
39
|
--pagefind-ui-image-border-radius: 5px;
|
|
40
40
|
--pagefind-ui-image-box-ratio: 3 / 2;
|
|
41
|
-
--pagefind-ui-font: var(
|
|
41
|
+
--pagefind-ui-font: var(
|
|
42
|
+
--uva-font-family,
|
|
43
|
+
franklin-gothic-urw,
|
|
44
|
+
'UVA Franklin Fallback',
|
|
45
|
+
Arial,
|
|
46
|
+
Helvetica,
|
|
47
|
+
sans-serif
|
|
48
|
+
);
|
|
42
49
|
}
|
|
43
50
|
|
|
44
51
|
.pagefind-ui {
|
package/dist-cdn/site-header.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import "./chunks/site-header-
|
|
1
|
+
import "./chunks/site-header-CEmNtmk5.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import "./chunks/site-main-nav-
|
|
1
|
+
import "./chunks/site-main-nav-CAwKq_x5.js";
|
package/dist-cdn/site-page.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { a as e, f as t, i as n, l as r, m as i, n as a, o, r as s, t as c } from "./chunks/UvalibElement-pGONDAwB.js";
|
|
2
|
-
import { i as l } from "./chunks/site-main-nav-
|
|
3
|
-
import {
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as
|
|
6
|
-
import { a as
|
|
7
|
-
import { r as
|
|
8
|
-
import { a as
|
|
2
|
+
import { i as l } from "./chunks/site-main-nav-CAwKq_x5.js";
|
|
3
|
+
import { i as u, n as d, r as f, t as p } from "./chunks/base-CIX_-Rmo.js";
|
|
4
|
+
import { t as m } from "./chunks/accessible-DJv7YOtS.js";
|
|
5
|
+
import { t as h } from "./chunks/site-header-CEmNtmk5.js";
|
|
6
|
+
import { a as g } from "./chunks/analytics-DTTihuBD.js";
|
|
7
|
+
import { r as _ } from "./chunks/analytics-state-Ce8DKe4F.js";
|
|
8
|
+
import { a as v, i as y, r as b, t as x } from "./chunks/alerts-C5vkeb-f.js";
|
|
9
9
|
// src/components/site-page/SitePage.ts
|
|
10
|
-
var
|
|
10
|
+
var S = "site-alerts", C = "Library alerts", w = (e) => e instanceof Element ? e.getAttribute("slot") : null, T = class extends c {
|
|
11
11
|
constructor(...e) {
|
|
12
|
-
super(...e), this.rootLinkDomain = "https://www.library.virginia.edu", this.headerVariant = "full", this.noGlobalStyles = !1, this.noFooter = !1, this.printChrome = !1, this.noMainNav = !1, this.alertsEnv = "production", this.noAlerts = !1, this.colorSchemeSwitch = !1, this.scheme = new
|
|
13
|
-
this.hasBreadcrumbs = [...this.children].some((e) =>
|
|
12
|
+
super(...e), this.rootLinkDomain = "https://www.library.virginia.edu", this.headerVariant = "full", this.noGlobalStyles = !1, this.noFooter = !1, this.printChrome = !1, this.noMainNav = !1, this.alertsEnv = "production", this.noAlerts = !1, this.colorSchemeSwitch = !1, this.scheme = new h(this, () => this.colorSchemeSwitch, () => this.noStyle, !1), this.chrome = /* @__PURE__ */ new WeakSet(), this.globalsInstalled = !1, this.alertsUrl = x, this.alertsUiRequested = !1, this.listShown = !1, this.hasBreadcrumbs = !1, this.syncHasBreadcrumbs = () => {
|
|
13
|
+
this.hasBreadcrumbs = [...this.children].some((e) => w(e) === "breadcrumbs");
|
|
14
14
|
}, this.syncPrintSource = () => {
|
|
15
15
|
let e = this.renderRoot.querySelector(this.lightDom ? ":scope > main" : "main");
|
|
16
16
|
if (!e) return;
|
|
@@ -22,7 +22,7 @@ var x = "site-alerts", S = "Library alerts", C = (e) => e instanceof Element ? e
|
|
|
22
22
|
this.hostColorScheme = !1;
|
|
23
23
|
}
|
|
24
24
|
static {
|
|
25
|
-
this.styles = [
|
|
25
|
+
this.styles = [m, t`
|
|
26
26
|
:host {
|
|
27
27
|
display: block;
|
|
28
28
|
}
|
|
@@ -131,16 +131,20 @@ var x = "site-alerts", S = "Library alerts", C = (e) => e instanceof Element ? e
|
|
|
131
131
|
super.disconnectedCallback(), this.observer?.disconnect(), this.breadcrumbsObserver?.disconnect(), this.ownerDocument.defaultView?.removeEventListener("beforeprint", this.syncPrintSource);
|
|
132
132
|
}
|
|
133
133
|
installGlobalStyles(e) {
|
|
134
|
-
if (s("uvalib-tokens", [
|
|
134
|
+
if (s("uvalib-tokens", [f], {
|
|
135
135
|
root: e,
|
|
136
136
|
scope: !1
|
|
137
|
-
}), s("uvalib-global", [
|
|
137
|
+
}), s("uvalib-global", [
|
|
138
|
+
u,
|
|
139
|
+
d,
|
|
140
|
+
m
|
|
141
|
+
], {
|
|
138
142
|
root: e,
|
|
139
143
|
scope: !1,
|
|
140
144
|
layer: !1
|
|
141
145
|
}), !e.head.querySelector("link[href=\"https://use.typekit.net/oym8nvz.css\"]")) {
|
|
142
146
|
let t = e.createElement("link");
|
|
143
|
-
t.rel = "stylesheet", t.href =
|
|
147
|
+
t.rel = "stylesheet", t.href = p, e.head.append(t);
|
|
144
148
|
}
|
|
145
149
|
}
|
|
146
150
|
onListChange(e) {
|
|
@@ -149,21 +153,21 @@ var x = "site-alerts", S = "Library alerts", C = (e) => e instanceof Element ? e
|
|
|
149
153
|
this.listShown = typeof t == "number" && t > 0;
|
|
150
154
|
}
|
|
151
155
|
willUpdate(e) {
|
|
152
|
-
e.has("colorSchemeSwitch") && this.scheme.sync(), e.has("noAlerts") && this.noAlerts && (this.listShown = !1), e.has("alertsEnv") && this.alertsEnv && !
|
|
156
|
+
e.has("colorSchemeSwitch") && this.scheme.sync(), e.has("noAlerts") && this.noAlerts && (this.listShown = !1), e.has("alertsEnv") && this.alertsEnv && !y(this.alertsEnv) && console.warn(`${this.localName}: unknown alerts-env "${this.alertsEnv}"; using production. Valid values: production, staging.`);
|
|
153
157
|
try {
|
|
154
|
-
this.alertsUrl =
|
|
158
|
+
this.alertsUrl = b(this.alertsEnv, this.alertsSrc, this.ownerDocument.baseURI);
|
|
155
159
|
} catch {
|
|
156
|
-
e.has("alertsSrc") && console.warn(`${this.localName}: alerts-src "${this.alertsSrc}" is not a URL; ignoring it.`), this.alertsUrl =
|
|
160
|
+
e.has("alertsSrc") && console.warn(`${this.localName}: alerts-src "${this.alertsSrc}" is not a URL; ignoring it.`), this.alertsUrl = b(this.alertsEnv, null, this.ownerDocument.baseURI);
|
|
157
161
|
}
|
|
158
162
|
}
|
|
159
163
|
updated() {
|
|
160
|
-
this.lightDom && this.syncLightAlerts(), this.syncPrintSource(), this.noAlerts || (
|
|
164
|
+
this.lightDom && this.syncLightAlerts(), this.syncPrintSource(), this.noAlerts || (v(this.ownerDocument, this.alertsUrl), this.defineAlerts()), this.syncAnalytics();
|
|
161
165
|
}
|
|
162
166
|
loadAlertsUi() {
|
|
163
167
|
return import("./site-alerts.js");
|
|
164
168
|
}
|
|
165
169
|
defineAlerts() {
|
|
166
|
-
this.alertsUiRequested || customElements.get(
|
|
170
|
+
this.alertsUiRequested || customElements.get(S) || (this.alertsUiRequested = !0, this.loadAlertsUi().catch((e) => console.error(`${this.localName}: failed to load site-alerts`, e)));
|
|
167
171
|
}
|
|
168
172
|
loadAnalytics() {
|
|
169
173
|
return import("./site-analytics.js");
|
|
@@ -178,7 +182,7 @@ var x = "site-alerts", S = "Library alerts", C = (e) => e instanceof Element ? e
|
|
|
178
182
|
if (this.ownerDocument.querySelector("site-analytics, uvalib-analytics")) return;
|
|
179
183
|
let e = this.analytics = this.ownerDocument.createElement("site-analytics");
|
|
180
184
|
if (this.chrome.add(e), !customElements.get("site-analytics")) {
|
|
181
|
-
let t =
|
|
185
|
+
let t = _(this.ownerDocument);
|
|
182
186
|
this.loadAnalytics().then(() => customElements.whenDefined("site-analytics")).then(() => e.updateComplete).then(() => t.flush(), (e) => {
|
|
183
187
|
t.drop(), console.error(`${this.localName}: failed to load site-analytics`, e);
|
|
184
188
|
});
|
|
@@ -202,14 +206,14 @@ var x = "site-alerts", S = "Library alerts", C = (e) => e instanceof Element ? e
|
|
|
202
206
|
}
|
|
203
207
|
if (!this.lightAlerts) {
|
|
204
208
|
let e = this.ownerDocument, t = (t) => {
|
|
205
|
-
let n = e.createElement(
|
|
209
|
+
let n = e.createElement(S);
|
|
206
210
|
return n.setAttribute("show", t), n.setAttribute("no-shadow-dom", ""), this.chrome.add(n), n;
|
|
207
211
|
}, n = t("header");
|
|
208
212
|
n.slot = "alerts";
|
|
209
213
|
let r = t("list");
|
|
210
214
|
r.addEventListener("site-alerts-change", (e) => this.onListChange(e));
|
|
211
215
|
let i = e.createElement("section");
|
|
212
|
-
i.className = "alerts-list", i.setAttribute("aria-label",
|
|
216
|
+
i.className = "alerts-list", i.setAttribute("aria-label", C), i.append(r), this.chrome.add(i), this.lightAlerts = {
|
|
213
217
|
top: n,
|
|
214
218
|
band: i,
|
|
215
219
|
list: r,
|
|
@@ -246,11 +250,11 @@ var x = "site-alerts", S = "Library alerts", C = (e) => e instanceof Element ? e
|
|
|
246
250
|
}
|
|
247
251
|
reslot(e) {
|
|
248
252
|
let t = this.querySelector(":scope > main"), n = this.querySelector(":scope > site-header");
|
|
249
|
-
t && n && !this.chrome.has(e) && (e.parentNode === t &&
|
|
253
|
+
t && n && !this.chrome.has(e) && (e.parentNode === t && w(e) === "breadcrumbs" ? this.placeBreadcrumbs(e, n) : e.parentNode === this && w(e) !== "breadcrumbs" && t.compareDocumentPosition(e) & Node.DOCUMENT_POSITION_PRECEDING && t.append(e));
|
|
250
254
|
}
|
|
251
255
|
placeBreadcrumbs(e, t) {
|
|
252
256
|
let n = t;
|
|
253
|
-
for (let t = n.nextSibling; t && (t === this.lightAlerts?.band ||
|
|
257
|
+
for (let t = n.nextSibling; t && (t === this.lightAlerts?.band || w(t) === "breadcrumbs"); t = n.nextSibling) {
|
|
254
258
|
if (t === e) return;
|
|
255
259
|
n = t;
|
|
256
260
|
}
|
|
@@ -260,12 +264,12 @@ var x = "site-alerts", S = "Library alerts", C = (e) => e instanceof Element ? e
|
|
|
260
264
|
let t = this.querySelector(":scope > main"), n = this.querySelector(":scope > site-header"), r = this.querySelector(":scope > site-footer");
|
|
261
265
|
if (t && n && r) for (let i of [...e]) {
|
|
262
266
|
if (i.parentNode !== this || this.chrome.has(i) || i.nodeType === Node.TEXT_NODE && !i.textContent?.trim()) continue;
|
|
263
|
-
let e =
|
|
267
|
+
let e = w(i);
|
|
264
268
|
e === "breadcrumbs" ? this.placeBreadcrumbs(i, n) : (e === "pre-footer" ? r : e === "site-links" || e === "main-nav" ? n : t).append(i);
|
|
265
269
|
}
|
|
266
270
|
}
|
|
267
271
|
onSkip(e) {
|
|
268
|
-
e.preventDefault(), this.lightDom &&
|
|
272
|
+
e.preventDefault(), this.lightDom && g(this, ["site-header", "skip-link"]), this.renderRoot.querySelector("main")?.focus();
|
|
269
273
|
}
|
|
270
274
|
render() {
|
|
271
275
|
let e = this.lightDom, t = r`<a
|
|
@@ -281,7 +285,7 @@ var x = "site-alerts", S = "Library alerts", C = (e) => e instanceof Element ? e
|
|
|
281
285
|
?no-style=${this.noStyle}
|
|
282
286
|
></site-alerts>`, a = r`<section
|
|
283
287
|
class="alerts-list"
|
|
284
|
-
aria-label=${
|
|
288
|
+
aria-label=${C}
|
|
285
289
|
?hidden=${!this.listShown}
|
|
286
290
|
>
|
|
287
291
|
<site-alerts
|
|
@@ -336,62 +340,62 @@ var x = "site-alerts", S = "Library alerts", C = (e) => e instanceof Element ? e
|
|
|
336
340
|
a([e({
|
|
337
341
|
type: String,
|
|
338
342
|
attribute: "root-link-domain"
|
|
339
|
-
})],
|
|
343
|
+
})], T.prototype, "rootLinkDomain", void 0), a([e({
|
|
340
344
|
type: String,
|
|
341
345
|
attribute: "header-variant"
|
|
342
|
-
})],
|
|
346
|
+
})], T.prototype, "headerVariant", void 0), a([e({
|
|
343
347
|
type: Boolean,
|
|
344
348
|
attribute: "no-global-styles"
|
|
345
|
-
})],
|
|
349
|
+
})], T.prototype, "noGlobalStyles", void 0), a([e({
|
|
346
350
|
type: Boolean,
|
|
347
351
|
attribute: "no-footer",
|
|
348
352
|
reflect: !0
|
|
349
|
-
})],
|
|
353
|
+
})], T.prototype, "noFooter", void 0), a([e({
|
|
350
354
|
type: Boolean,
|
|
351
355
|
attribute: "print-chrome",
|
|
352
356
|
reflect: !0
|
|
353
|
-
})],
|
|
357
|
+
})], T.prototype, "printChrome", void 0), a([e({
|
|
354
358
|
type: String,
|
|
355
359
|
attribute: "site-links-label"
|
|
356
|
-
})],
|
|
360
|
+
})], T.prototype, "siteLinksLabel", void 0), a([e({
|
|
357
361
|
type: String,
|
|
358
362
|
attribute: "site-name"
|
|
359
|
-
})],
|
|
363
|
+
})], T.prototype, "siteName", void 0), a([e({
|
|
360
364
|
type: String,
|
|
361
365
|
attribute: "site-name-href"
|
|
362
|
-
})],
|
|
366
|
+
})], T.prototype, "siteNameHref", void 0), a([e({
|
|
363
367
|
type: Boolean,
|
|
364
368
|
attribute: "no-main-nav"
|
|
365
|
-
})],
|
|
369
|
+
})], T.prototype, "noMainNav", void 0), a([e({
|
|
366
370
|
type: String,
|
|
367
371
|
attribute: "main-nav-label"
|
|
368
|
-
})],
|
|
372
|
+
})], T.prototype, "mainNavLabel", void 0), a([e({
|
|
369
373
|
type: String,
|
|
370
374
|
attribute: "main-nav-src"
|
|
371
|
-
})],
|
|
375
|
+
})], T.prototype, "mainNavSrc", void 0), a([e({
|
|
372
376
|
type: String,
|
|
373
377
|
attribute: "main-nav-current"
|
|
374
|
-
})],
|
|
378
|
+
})], T.prototype, "mainNavCurrent", void 0), a([e({
|
|
375
379
|
type: String,
|
|
376
380
|
attribute: "alerts-env"
|
|
377
|
-
})],
|
|
381
|
+
})], T.prototype, "alertsEnv", void 0), a([e({
|
|
378
382
|
type: String,
|
|
379
383
|
attribute: "alerts-src"
|
|
380
|
-
})],
|
|
384
|
+
})], T.prototype, "alertsSrc", void 0), a([e({
|
|
381
385
|
type: Boolean,
|
|
382
386
|
attribute: "no-alerts"
|
|
383
|
-
})],
|
|
387
|
+
})], T.prototype, "noAlerts", void 0), a([e({
|
|
384
388
|
type: Boolean,
|
|
385
389
|
attribute: "color-scheme-switch"
|
|
386
|
-
})],
|
|
390
|
+
})], T.prototype, "colorSchemeSwitch", void 0), a([e({
|
|
387
391
|
type: Number,
|
|
388
392
|
attribute: "matomo-id"
|
|
389
|
-
})],
|
|
393
|
+
})], T.prototype, "matomoId", void 0), a([e({
|
|
390
394
|
type: String,
|
|
391
395
|
attribute: "matomo-url"
|
|
392
|
-
})],
|
|
396
|
+
})], T.prototype, "matomoUrl", void 0), a([e({
|
|
393
397
|
type: String,
|
|
394
398
|
attribute: "matomo-downloads"
|
|
395
|
-
})],
|
|
399
|
+
})], T.prototype, "matomoDownloads", void 0), a([n()], T.prototype, "listShown", void 0), a([n()], T.prototype, "hasBreadcrumbs", void 0), import("./site-footer.js").catch((e) => console.error("site-page: failed to load site-footer", e)), i("site-page", T);
|
|
396
400
|
|
|
397
401
|
//# sourceMappingURL=site-page.js.map
|