@sankhyatronics/sankhya-cms 0.1.7 → 0.1.9
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/LICENSE +21 -21
- package/README.md +34 -34
- package/custom-elements.json +717 -643
- package/dist/bento-grid/index.js +3 -3
- package/dist/card/index.js +2 -2
- package/dist/carousel/index.js +3 -3
- package/dist/{chunk-3JU3R22O.js → chunk-5EBWMPJS.js} +2 -2
- package/dist/chunk-5EBWMPJS.js.map +1 -0
- package/dist/{chunk-2JGWWXEI.js → chunk-76AVBQUA.js} +3 -3
- package/dist/chunk-76AVBQUA.js.map +1 -0
- package/dist/{chunk-NN3OCPDV.js → chunk-7NLZND6Q.js} +3 -3
- package/dist/{chunk-EMVHNAID.js → chunk-ALI26WOB.js} +3 -3
- package/dist/chunk-ALI26WOB.js.map +1 -0
- package/dist/{chunk-TLHG33MM.js → chunk-BLQV2YMO.js} +3 -3
- package/dist/chunk-BLQV2YMO.js.map +1 -0
- package/dist/{chunk-UVNBZD7R.js → chunk-BMHMNXIA.js} +3 -3
- package/dist/chunk-BMHMNXIA.js.map +1 -0
- package/dist/{chunk-ZRXYWH6C.js → chunk-DH53HZPB.js} +4 -4
- package/dist/{chunk-HPIQSECE.js → chunk-EMCQBT3S.js} +3 -3
- package/dist/{chunk-BQTDFQ4V.js → chunk-FLY7TNRT.js} +3 -3
- package/dist/chunk-FLY7TNRT.js.map +1 -0
- package/dist/{chunk-3VE6VFJ4.js → chunk-FZ36KL73.js} +1 -1
- package/dist/chunk-FZ36KL73.js.map +1 -0
- package/dist/{chunk-HGTC3LCW.js → chunk-G3CF7MBO.js} +3 -3
- package/dist/{chunk-CDC4P77V.js → chunk-GJO3RGOB.js} +2 -2
- package/dist/chunk-GJO3RGOB.js.map +1 -0
- package/dist/{chunk-K4ZICRZL.js → chunk-JKBWZLG4.js} +3 -3
- package/dist/chunk-JKBWZLG4.js.map +1 -0
- package/dist/{chunk-4HKSA5UT.js → chunk-JQY2G4QK.js} +2 -2
- package/dist/chunk-JQY2G4QK.js.map +1 -0
- package/dist/{chunk-RHAOQ6K4.js → chunk-KMU6ABQF.js} +1 -1
- package/dist/chunk-KMU6ABQF.js.map +1 -0
- package/dist/{chunk-IQPW3CYZ.js → chunk-LEXZKGQX.js} +3 -3
- package/dist/chunk-LEXZKGQX.js.map +1 -0
- package/dist/{chunk-MW43OS47.js → chunk-MSSH3HFK.js} +2 -2
- package/dist/chunk-MSSH3HFK.js.map +1 -0
- package/dist/{chunk-DQHMJZ6X.js → chunk-R5G6KFTJ.js} +18 -8
- package/dist/chunk-R5G6KFTJ.js.map +1 -0
- package/dist/{chunk-VYON56QO.js → chunk-SMLR736E.js} +2 -2
- package/dist/chunk-SMLR736E.js.map +1 -0
- package/dist/{chunk-HGJT24UG.js → chunk-VWS53WY4.js} +3 -3
- package/dist/chunk-VWS53WY4.js.map +1 -0
- package/dist/{chunk-VRRBMOUP.js → chunk-WT4OATGP.js} +3 -3
- package/dist/chunk-WT4OATGP.js.map +1 -0
- package/dist/{chunk-PB7ZPPLP.js → chunk-WTD2YIAA.js} +1 -1
- package/dist/chunk-WTD2YIAA.js.map +1 -0
- package/dist/{chunk-5KHI36M5.js → chunk-XWB4CKDU.js} +44 -4
- package/dist/chunk-XWB4CKDU.js.map +1 -0
- package/dist/{chunk-XXPBFHWR.js → chunk-YQ42EBK5.js} +2 -2
- package/dist/chunk-YQ42EBK5.js.map +1 -0
- package/dist/{chunk-6H262SG6.js → chunk-YVTFQHVY.js} +2 -2
- package/dist/chunk-YVTFQHVY.js.map +1 -0
- package/dist/{chunk-7PSYCTEN.js → chunk-ZN4LIKVG.js} +2 -2
- package/dist/chunk-ZN4LIKVG.js.map +1 -0
- package/dist/cms-theme.css +26 -26
- package/dist/content-block/index.js +4 -4
- package/dist/cookie-consent/index.js +2 -2
- package/dist/dropdown/index.js +3 -3
- package/dist/feature-split/index.js +4 -4
- package/dist/features-section/index.js +5 -5
- package/dist/footer/index.js +2 -2
- package/dist/header/index.d.ts +13 -0
- package/dist/header/index.js +3 -3
- package/dist/hero/index.js +3 -3
- package/dist/icon-button/index.js +2 -2
- package/dist/index.js +35 -35
- package/dist/items-accordion/index.js +3 -3
- package/dist/markdown/index.js +2 -2
- package/dist/mega-menu/index.js +3 -3
- package/dist/menu-grid/index.js +2 -2
- package/dist/menu-grid-item/index.js +2 -2
- package/dist/menu-item/index.d.ts +5 -0
- package/dist/menu-item/index.js +3 -3
- package/dist/promo-banner/index.js +3 -3
- package/dist/schema/index.js.map +1 -1
- package/dist/section/index.js +3 -3
- package/dist/select/index.js +3 -3
- package/dist/shared/icons.js +1 -1
- package/dist/shared/styles.js +1 -1
- package/dist/stats/index.js +2 -2
- package/dist/testimonials/index.js +4 -4
- package/dist/theme.css +291 -291
- package/dist/themes.css +64 -64
- package/dist/theming/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-2JGWWXEI.js.map +0 -1
- package/dist/chunk-3JU3R22O.js.map +0 -1
- package/dist/chunk-3VE6VFJ4.js.map +0 -1
- package/dist/chunk-4HKSA5UT.js.map +0 -1
- package/dist/chunk-5KHI36M5.js.map +0 -1
- package/dist/chunk-6H262SG6.js.map +0 -1
- package/dist/chunk-7PSYCTEN.js.map +0 -1
- package/dist/chunk-BQTDFQ4V.js.map +0 -1
- package/dist/chunk-CDC4P77V.js.map +0 -1
- package/dist/chunk-DQHMJZ6X.js.map +0 -1
- package/dist/chunk-EMVHNAID.js.map +0 -1
- package/dist/chunk-HGJT24UG.js.map +0 -1
- package/dist/chunk-IQPW3CYZ.js.map +0 -1
- package/dist/chunk-K4ZICRZL.js.map +0 -1
- package/dist/chunk-MW43OS47.js.map +0 -1
- package/dist/chunk-PB7ZPPLP.js.map +0 -1
- package/dist/chunk-RHAOQ6K4.js.map +0 -1
- package/dist/chunk-TLHG33MM.js.map +0 -1
- package/dist/chunk-UVNBZD7R.js.map +0 -1
- package/dist/chunk-VRRBMOUP.js.map +0 -1
- package/dist/chunk-VYON56QO.js.map +0 -1
- package/dist/chunk-XXPBFHWR.js.map +0 -1
- /package/dist/{chunk-NN3OCPDV.js.map → chunk-7NLZND6Q.js.map} +0 -0
- /package/dist/{chunk-ZRXYWH6C.js.map → chunk-DH53HZPB.js.map} +0 -0
- /package/dist/{chunk-HPIQSECE.js.map → chunk-EMCQBT3S.js.map} +0 -0
- /package/dist/{chunk-HGTC3LCW.js.map → chunk-G3CF7MBO.js.map} +0 -0
package/custom-elements.json
CHANGED
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
"declarations": [
|
|
127
127
|
{
|
|
128
128
|
"kind": "class",
|
|
129
|
-
"description": "A surfaced container — content goes in the default slot. Ports `SankhyaUI`'s React `Card`\
|
|
129
|
+
"description": "A surfaced container — content goes in the default slot. Ports `SankhyaUI`'s React `Card`\n(`variant`, `padding`, `elevation`, `hoverable`, `inverted`); `onClick` is just a native `click`\nlistener on the element. `padding` takes `none | small | medium | large` (the source's\n`sm|md|lg`, spelled like `paddingScaleStyles`); `elevation` takes `none | sm | md | lg`.",
|
|
130
130
|
"name": "Card",
|
|
131
131
|
"members": [
|
|
132
132
|
{
|
|
@@ -676,7 +676,7 @@
|
|
|
676
676
|
"declarations": [
|
|
677
677
|
{
|
|
678
678
|
"kind": "class",
|
|
679
|
-
"description": "A long-form article section: centered title/subtitle, an optional featured image with caption,\
|
|
679
|
+
"description": "A long-form article section: centered title/subtitle, an optional featured image with caption,\nthen Markdown body text. Ports `SankhyaUI`'s React `ContentBlock`. The body comes from\n`content-src` (a Markdown URL, as in the source) or an inline `content` string (added so the\nblock works without a fetch); `content-src` wins when both are set.",
|
|
680
680
|
"name": "ContentBlock",
|
|
681
681
|
"cssProperties": [
|
|
682
682
|
{
|
|
@@ -862,7 +862,7 @@
|
|
|
862
862
|
"declarations": [
|
|
863
863
|
{
|
|
864
864
|
"kind": "class",
|
|
865
|
-
"description": "Fixed bottom consent bar. The source read/wrote consent through a React `UserContext`; here the\
|
|
865
|
+
"description": "Fixed bottom consent bar. The source read/wrote consent through a React `UserContext`; here the\nelement persists the choice itself in localStorage (`storage-key`, default the source's\n`sankhya_ui_cookie_consent`; storage errors are ignored) and renders nothing once a choice\nexists. Fires `cookie-consent-accept` / `cookie-consent-refuse` (detail `{ status }`). The\ndefault slot replaces the message text.",
|
|
866
866
|
"name": "CookieConsent",
|
|
867
867
|
"cssProperties": [
|
|
868
868
|
{
|
|
@@ -1051,7 +1051,7 @@
|
|
|
1051
1051
|
"declarations": [
|
|
1052
1052
|
{
|
|
1053
1053
|
"kind": "class",
|
|
1054
|
-
"description": "A labeled trigger + slotted dropdown panel — nav menus (typically holding an `st-menu-grid`),\
|
|
1054
|
+
"description": "A labeled trigger + slotted dropdown panel — nav menus (typically holding an `st-menu-grid`),\naction menus, anything \"click a trigger, show content under it\". A 1:1 port of `SankhyaUI`'s\nReact `Dropdown` (`SankhyaCMS/SankhyaUI/src/components/Dropdown`): same markup\n(`.menu` > `.menu-title` + `.menu-dropdown`), sizes, 0.3s slide/fade, and behavior —\n\n- only one dropdown is open at a time (the source's `DropdownProvider`, built in here, so no\n provider element is needed);\n- a mousedown outside, Escape, or a click inside the panel closes it;\n- an `href` trigger toggles the panel when it has content, and is a plain link when it doesn't;\n- `inline` opens the panel in the flow, the source's `.touch-device` layout.\n\nColors and the panel's surface come from the suite theme (the source left those to the\nconsumer's `className`/`itemGroupClassName` utility classes). Two source rules are left out\nbecause they break existing suite uses (`st-source-bar`'s site/library menus): the 100vw panel\nat <=768px (overflows the screen from wherever the trigger sits; the header uses `inline`\ninstead) and `overflow: hidden` on slotted children (clips their focus rings). Suite additions\nkept on top: `align`, `active`, `disabled`, `inline`, and the `dropdown-toggle` event — plus\n`mega` and `open-on-hover` for an okta.com-style mega menu (see `st-mega-menu`).",
|
|
1055
1055
|
"name": "Dropdown",
|
|
1056
1056
|
"cssProperties": [
|
|
1057
1057
|
{
|
|
@@ -1090,7 +1090,7 @@
|
|
|
1090
1090
|
"text": "string"
|
|
1091
1091
|
},
|
|
1092
1092
|
"default": "''",
|
|
1093
|
-
"description": "Trigger label text (source: `title`, renamed because `title` is the native tooltip\
|
|
1093
|
+
"description": "Trigger label text (source: `title`, renamed because `title` is the native tooltip\nattribute). Leave empty to show only `slot=\"icon\"`.",
|
|
1094
1094
|
"attribute": "label"
|
|
1095
1095
|
},
|
|
1096
1096
|
{
|
|
@@ -1100,7 +1100,7 @@
|
|
|
1100
1100
|
"text": "string"
|
|
1101
1101
|
},
|
|
1102
1102
|
"default": "''",
|
|
1103
|
-
"description": "Renders the trigger as an `<a href>`. With panel content the click toggles the panel (as in\
|
|
1103
|
+
"description": "Renders the trigger as an `<a href>`. With panel content the click toggles the panel (as in\nthe source); with none it navigates.",
|
|
1104
1104
|
"attribute": "href"
|
|
1105
1105
|
},
|
|
1106
1106
|
{
|
|
@@ -1210,7 +1210,7 @@
|
|
|
1210
1210
|
"text": "boolean"
|
|
1211
1211
|
},
|
|
1212
1212
|
"default": "false",
|
|
1213
|
-
"description": "Opens the panel in the flow under the trigger instead of floating over the page (see the\
|
|
1213
|
+
"description": "Opens the panel in the flow under the trigger instead of floating over the page (see the\nstyles). `st-header` sets this on its own menu's dropdowns while its hamburger panel shows.",
|
|
1214
1214
|
"attribute": "inline",
|
|
1215
1215
|
"reflects": true
|
|
1216
1216
|
},
|
|
@@ -1232,7 +1232,7 @@
|
|
|
1232
1232
|
"text": "boolean"
|
|
1233
1233
|
},
|
|
1234
1234
|
"default": "false",
|
|
1235
|
-
"description": "Mega-menu panel (okta.com style), typically holding an `st-mega-menu`: the panel spans the\
|
|
1235
|
+
"description": "Mega-menu panel (okta.com style), typically holding an `st-mega-menu`: the panel spans the\nfull width of the nearest positioned ancestor — `st-header` — right under it, instead of\nhanging off the trigger. In `st-header`'s hamburger layout (`inline`) it slides in over the\nscreen with a Back button rather than opening as an accordion. A click inside the panel only\ncloses it when it lands on a link.",
|
|
1236
1236
|
"attribute": "mega",
|
|
1237
1237
|
"reflects": true
|
|
1238
1238
|
},
|
|
@@ -1243,7 +1243,7 @@
|
|
|
1243
1243
|
"text": "boolean"
|
|
1244
1244
|
},
|
|
1245
1245
|
"default": "false",
|
|
1246
|
-
"description": "Styles a non-`mega` trigger like a mega one — a pill that turns solid accent while open — so\
|
|
1246
|
+
"description": "Styles a non-`mega` trigger like a mega one — a pill that turns solid accent while open — so\na plain dropdown (e.g. \"+ New\") lines up with mega triggers in the same header bar.",
|
|
1247
1247
|
"attribute": "bar",
|
|
1248
1248
|
"reflects": true
|
|
1249
1249
|
},
|
|
@@ -1387,7 +1387,7 @@
|
|
|
1387
1387
|
"text": "HTMLElement[]"
|
|
1388
1388
|
}
|
|
1389
1389
|
},
|
|
1390
|
-
"description": "Keyboard-reachable entries in the panel, in order: menu items (they delegate focus to their\
|
|
1390
|
+
"description": "Keyboard-reachable entries in the panel, in order: menu items (they delegate focus to their\nown link) plus any plain links/buttons/tabbable elements a caller slots in."
|
|
1391
1391
|
},
|
|
1392
1392
|
{
|
|
1393
1393
|
"kind": "method",
|
|
@@ -1406,7 +1406,7 @@
|
|
|
1406
1406
|
}
|
|
1407
1407
|
}
|
|
1408
1408
|
],
|
|
1409
|
-
"description": "Moves focus into the panel once it has become visible (it is `visibility: hidden` until the\
|
|
1409
|
+
"description": "Moves focus into the panel once it has become visible (it is `visibility: hidden` until the\n`show` class lands, and hidden elements can't take focus)."
|
|
1410
1410
|
},
|
|
1411
1411
|
{
|
|
1412
1412
|
"kind": "field",
|
|
@@ -1429,7 +1429,7 @@
|
|
|
1429
1429
|
"kind": "field",
|
|
1430
1430
|
"name": "onPanelClick",
|
|
1431
1431
|
"privacy": "private",
|
|
1432
|
-
"description": "A click anywhere inside the panel closes it, as in the source — for `mega`, only a click on a\
|
|
1432
|
+
"description": "A click anywhere inside the panel closes it, as in the source — for `mega`, only a click on a\nlink: a big panel has headings and gaps, and a click there shouldn't also close st-header's\nhamburger layer."
|
|
1433
1433
|
},
|
|
1434
1434
|
{
|
|
1435
1435
|
"kind": "field",
|
|
@@ -1457,7 +1457,7 @@
|
|
|
1457
1457
|
"text": "string"
|
|
1458
1458
|
},
|
|
1459
1459
|
"default": "''",
|
|
1460
|
-
"description": "Trigger label text (source: `title`, renamed because `title` is the native tooltip\
|
|
1460
|
+
"description": "Trigger label text (source: `title`, renamed because `title` is the native tooltip\nattribute). Leave empty to show only `slot=\"icon\"`.",
|
|
1461
1461
|
"fieldName": "label"
|
|
1462
1462
|
},
|
|
1463
1463
|
{
|
|
@@ -1466,7 +1466,7 @@
|
|
|
1466
1466
|
"text": "string"
|
|
1467
1467
|
},
|
|
1468
1468
|
"default": "''",
|
|
1469
|
-
"description": "Renders the trigger as an `<a href>`. With panel content the click toggles the panel (as in\
|
|
1469
|
+
"description": "Renders the trigger as an `<a href>`. With panel content the click toggles the panel (as in\nthe source); with none it navigates.",
|
|
1470
1470
|
"fieldName": "href"
|
|
1471
1471
|
},
|
|
1472
1472
|
{
|
|
@@ -1563,7 +1563,7 @@
|
|
|
1563
1563
|
"text": "boolean"
|
|
1564
1564
|
},
|
|
1565
1565
|
"default": "false",
|
|
1566
|
-
"description": "Opens the panel in the flow under the trigger instead of floating over the page (see the\
|
|
1566
|
+
"description": "Opens the panel in the flow under the trigger instead of floating over the page (see the\nstyles). `st-header` sets this on its own menu's dropdowns while its hamburger panel shows.",
|
|
1567
1567
|
"fieldName": "inline"
|
|
1568
1568
|
},
|
|
1569
1569
|
{
|
|
@@ -1581,7 +1581,7 @@
|
|
|
1581
1581
|
"text": "boolean"
|
|
1582
1582
|
},
|
|
1583
1583
|
"default": "false",
|
|
1584
|
-
"description": "Mega-menu panel (okta.com style), typically holding an `st-mega-menu`: the panel spans the\
|
|
1584
|
+
"description": "Mega-menu panel (okta.com style), typically holding an `st-mega-menu`: the panel spans the\nfull width of the nearest positioned ancestor — `st-header` — right under it, instead of\nhanging off the trigger. In `st-header`'s hamburger layout (`inline`) it slides in over the\nscreen with a Back button rather than opening as an accordion. A click inside the panel only\ncloses it when it lands on a link.",
|
|
1585
1585
|
"fieldName": "mega"
|
|
1586
1586
|
},
|
|
1587
1587
|
{
|
|
@@ -1590,7 +1590,7 @@
|
|
|
1590
1590
|
"text": "boolean"
|
|
1591
1591
|
},
|
|
1592
1592
|
"default": "false",
|
|
1593
|
-
"description": "Styles a non-`mega` trigger like a mega one — a pill that turns solid accent while open — so\
|
|
1593
|
+
"description": "Styles a non-`mega` trigger like a mega one — a pill that turns solid accent while open — so\na plain dropdown (e.g. \"+ New\") lines up with mega triggers in the same header bar.",
|
|
1594
1594
|
"fieldName": "bar"
|
|
1595
1595
|
},
|
|
1596
1596
|
{
|
|
@@ -1843,7 +1843,7 @@
|
|
|
1843
1843
|
"declarations": [
|
|
1844
1844
|
{
|
|
1845
1845
|
"kind": "class",
|
|
1846
|
-
"description": "One feature tile for `st-features-section`: optional icon, title, Markdown description and an\
|
|
1846
|
+
"description": "One feature tile for `st-features-section`: optional icon, title, Markdown description and an\noptional \"Learn more\" link, rendered on an `st-card`. `icon` is an Iconify name (e.g.\n`mdi:rocket`). The link is a plain `<a>` (the source used react-router's `Link` for non-http\nhrefs; there is no Lit equivalent). The click is composed, so an SPA router can intercept it\n(e.g. via `event.composedPath()`) and navigate client-side; `http(s)` links open in a new tab.",
|
|
1847
1847
|
"name": "FeatureItem",
|
|
1848
1848
|
"members": [
|
|
1849
1849
|
{
|
|
@@ -1989,7 +1989,7 @@
|
|
|
1989
1989
|
"declarations": [
|
|
1990
1990
|
{
|
|
1991
1991
|
"kind": "class",
|
|
1992
|
-
"description": "A titled grid of feature tiles. Ports `SankhyaUI`'s React `FeaturesSection`: tiles come from the\
|
|
1992
|
+
"description": "A titled grid of feature tiles. Ports `SankhyaUI`'s React `FeaturesSection`: tiles come from the\n`items` property, from slotted `st-feature-item` elements (the source's `children`), or both\n(slotted first). `columns` sets the grid width (default 2; one column below 768px). `inverted`\nis passed on to the `items` tiles; slotted tiles need their own `inverted` attribute.",
|
|
1993
1993
|
"name": "FeaturesSection",
|
|
1994
1994
|
"cssProperties": [
|
|
1995
1995
|
{
|
|
@@ -2127,665 +2127,645 @@
|
|
|
2127
2127
|
},
|
|
2128
2128
|
{
|
|
2129
2129
|
"kind": "javascript-module",
|
|
2130
|
-
"path": "src/
|
|
2130
|
+
"path": "src/footer/Footer.ts",
|
|
2131
2131
|
"declarations": [
|
|
2132
2132
|
{
|
|
2133
2133
|
"kind": "class",
|
|
2134
|
-
"description": "The
|
|
2135
|
-
"name": "
|
|
2134
|
+
"description": "The footer, in two layouts:\n\n- **Bar** (default): a copyright line plus an optional \"powered by\" link — what the suite's\n authenticated apps use.\n- **Site**: when `columns`, `socialLinks`, `description` or `imageSrc` is set, the footer becomes a\n marketing-site footer — brand (logo/company name, description, social icons), link columns and a\n bottom bar with the copyright and \"powered by\".\n\nFires a cancelable `footer-link` event (detail `{ href }`) when an internal link is clicked.",
|
|
2135
|
+
"name": "Footer",
|
|
2136
2136
|
"members": [
|
|
2137
2137
|
{
|
|
2138
2138
|
"kind": "field",
|
|
2139
|
-
"name": "
|
|
2139
|
+
"name": "inverted",
|
|
2140
2140
|
"type": {
|
|
2141
|
-
"text": "
|
|
2141
|
+
"text": "boolean"
|
|
2142
2142
|
},
|
|
2143
|
-
"default": "
|
|
2144
|
-
"
|
|
2143
|
+
"default": "false",
|
|
2144
|
+
"description": "Inverts the footer's color roles (light-on-dark instead of dark-on-light) — matches the\nsource component's `inverted` (from its shared `BaseProps`), same as `st-header`'s.",
|
|
2145
|
+
"attribute": "inverted",
|
|
2146
|
+
"reflects": true
|
|
2145
2147
|
},
|
|
2146
2148
|
{
|
|
2147
2149
|
"kind": "field",
|
|
2148
|
-
"name": "
|
|
2150
|
+
"name": "companyName",
|
|
2149
2151
|
"type": {
|
|
2150
2152
|
"text": "string"
|
|
2151
2153
|
},
|
|
2152
2154
|
"default": "''",
|
|
2153
|
-
"description": "
|
|
2154
|
-
"attribute": "
|
|
2155
|
+
"description": "Used to build the default `copyright` line (`© {year} {companyName}`) when `copyright` isn't set explicitly.",
|
|
2156
|
+
"attribute": "company-name"
|
|
2155
2157
|
},
|
|
2156
2158
|
{
|
|
2157
2159
|
"kind": "field",
|
|
2158
|
-
"name": "
|
|
2160
|
+
"name": "copyright",
|
|
2159
2161
|
"type": {
|
|
2160
2162
|
"text": "string"
|
|
2161
2163
|
},
|
|
2162
|
-
"default": "'
|
|
2163
|
-
"description": "
|
|
2164
|
-
"attribute": "
|
|
2164
|
+
"default": "''",
|
|
2165
|
+
"description": "Overrides the default computed copyright line entirely.",
|
|
2166
|
+
"attribute": "copyright"
|
|
2165
2167
|
},
|
|
2166
2168
|
{
|
|
2167
2169
|
"kind": "field",
|
|
2168
|
-
"name": "
|
|
2170
|
+
"name": "poweredBy",
|
|
2169
2171
|
"type": {
|
|
2170
2172
|
"text": "string"
|
|
2171
2173
|
},
|
|
2172
2174
|
"default": "''",
|
|
2173
|
-
"
|
|
2174
|
-
"attribute": "logoHref"
|
|
2175
|
+
"attribute": "powered-by"
|
|
2175
2176
|
},
|
|
2176
2177
|
{
|
|
2177
2178
|
"kind": "field",
|
|
2178
|
-
"name": "
|
|
2179
|
+
"name": "poweredByLink",
|
|
2179
2180
|
"type": {
|
|
2180
2181
|
"text": "string"
|
|
2181
2182
|
},
|
|
2182
|
-
"default": "'
|
|
2183
|
-
"
|
|
2184
|
-
"attribute": "logo-target"
|
|
2183
|
+
"default": "''",
|
|
2184
|
+
"attribute": "powered-by-link"
|
|
2185
2185
|
},
|
|
2186
2186
|
{
|
|
2187
2187
|
"kind": "field",
|
|
2188
|
-
"name": "
|
|
2188
|
+
"name": "version",
|
|
2189
2189
|
"type": {
|
|
2190
2190
|
"text": "string"
|
|
2191
2191
|
},
|
|
2192
2192
|
"default": "''",
|
|
2193
|
-
"description": "
|
|
2194
|
-
"attribute": "
|
|
2195
|
-
},
|
|
2196
|
-
{
|
|
2197
|
-
"kind": "field",
|
|
2198
|
-
"name": "inverted",
|
|
2199
|
-
"type": {
|
|
2200
|
-
"text": "boolean"
|
|
2201
|
-
},
|
|
2202
|
-
"default": "false",
|
|
2203
|
-
"description": "Inverts the header's color roles (light-on-dark instead of dark-on-light) — matches the\r\nsource component's `inverted` (from its shared `BaseProps`).",
|
|
2204
|
-
"attribute": "inverted",
|
|
2205
|
-
"reflects": true
|
|
2193
|
+
"description": "App version, rendered as `v{version}` after the copyright line — for apps that show their own\nversion in the footer rather than the header title.",
|
|
2194
|
+
"attribute": "version"
|
|
2206
2195
|
},
|
|
2207
2196
|
{
|
|
2208
2197
|
"kind": "field",
|
|
2209
|
-
"name": "
|
|
2198
|
+
"name": "imageSrc",
|
|
2210
2199
|
"type": {
|
|
2211
|
-
"text": "
|
|
2200
|
+
"text": "string"
|
|
2212
2201
|
},
|
|
2213
|
-
"default": "
|
|
2214
|
-
"
|
|
2215
|
-
"
|
|
2202
|
+
"default": "''",
|
|
2203
|
+
"description": "Logo shown in the brand block (site layout).",
|
|
2204
|
+
"attribute": "image-src"
|
|
2216
2205
|
},
|
|
2217
2206
|
{
|
|
2218
2207
|
"kind": "field",
|
|
2219
|
-
"name": "
|
|
2208
|
+
"name": "description",
|
|
2220
2209
|
"type": {
|
|
2221
|
-
"text": "
|
|
2210
|
+
"text": "string"
|
|
2222
2211
|
},
|
|
2223
|
-
"default": "
|
|
2224
|
-
"description": "
|
|
2225
|
-
"attribute": "
|
|
2226
|
-
"reflects": true
|
|
2212
|
+
"default": "''",
|
|
2213
|
+
"description": "Short blurb under the logo (site layout).",
|
|
2214
|
+
"attribute": "description"
|
|
2227
2215
|
},
|
|
2228
2216
|
{
|
|
2229
2217
|
"kind": "field",
|
|
2230
|
-
"name": "
|
|
2218
|
+
"name": "columns",
|
|
2231
2219
|
"type": {
|
|
2232
|
-
"text": "
|
|
2220
|
+
"text": "FooterColumn[]"
|
|
2233
2221
|
},
|
|
2234
|
-
"default": "
|
|
2235
|
-
"description": "
|
|
2236
|
-
"attribute": "hide-on-scroll",
|
|
2237
|
-
"reflects": true
|
|
2222
|
+
"default": "[]",
|
|
2223
|
+
"description": "Link columns (site layout)."
|
|
2238
2224
|
},
|
|
2239
2225
|
{
|
|
2240
2226
|
"kind": "field",
|
|
2241
|
-
"name": "
|
|
2227
|
+
"name": "socialLinks",
|
|
2242
2228
|
"type": {
|
|
2243
|
-
"text": "
|
|
2229
|
+
"text": "FooterSocialLink[]"
|
|
2244
2230
|
},
|
|
2245
|
-
"default": "
|
|
2246
|
-
"description": "
|
|
2247
|
-
"attribute": "scroll-threshold"
|
|
2231
|
+
"default": "[]",
|
|
2232
|
+
"description": "Social icon links under the description (site layout)."
|
|
2248
2233
|
},
|
|
2249
2234
|
{
|
|
2250
2235
|
"kind": "field",
|
|
2251
|
-
"name": "
|
|
2236
|
+
"name": "isSite",
|
|
2252
2237
|
"type": {
|
|
2253
2238
|
"text": "boolean"
|
|
2254
2239
|
},
|
|
2255
|
-
"
|
|
2256
|
-
"
|
|
2257
|
-
"attribute": "scrolled",
|
|
2258
|
-
"reflects": true
|
|
2240
|
+
"privacy": "private",
|
|
2241
|
+
"readonly": true
|
|
2259
2242
|
},
|
|
2260
2243
|
{
|
|
2261
2244
|
"kind": "field",
|
|
2262
|
-
"name": "
|
|
2245
|
+
"name": "resolvedCopyright",
|
|
2263
2246
|
"type": {
|
|
2264
|
-
"text": "
|
|
2247
|
+
"text": "string"
|
|
2265
2248
|
},
|
|
2266
|
-
"
|
|
2267
|
-
"
|
|
2268
|
-
"attribute": "scroll-hidden",
|
|
2269
|
-
"reflects": true
|
|
2249
|
+
"privacy": "private",
|
|
2250
|
+
"readonly": true
|
|
2270
2251
|
},
|
|
2271
2252
|
{
|
|
2272
|
-
"kind": "
|
|
2273
|
-
"name": "
|
|
2274
|
-
"type": {
|
|
2275
|
-
"text": "number"
|
|
2276
|
-
},
|
|
2253
|
+
"kind": "method",
|
|
2254
|
+
"name": "onLinkClick",
|
|
2277
2255
|
"privacy": "private",
|
|
2278
|
-
"
|
|
2256
|
+
"return": {
|
|
2257
|
+
"type": {
|
|
2258
|
+
"text": "void"
|
|
2259
|
+
}
|
|
2260
|
+
},
|
|
2261
|
+
"parameters": [
|
|
2262
|
+
{
|
|
2263
|
+
"name": "event",
|
|
2264
|
+
"type": {
|
|
2265
|
+
"text": "MouseEvent"
|
|
2266
|
+
}
|
|
2267
|
+
},
|
|
2268
|
+
{
|
|
2269
|
+
"name": "href",
|
|
2270
|
+
"type": {
|
|
2271
|
+
"text": "string"
|
|
2272
|
+
}
|
|
2273
|
+
}
|
|
2274
|
+
]
|
|
2279
2275
|
},
|
|
2280
2276
|
{
|
|
2281
|
-
"kind": "
|
|
2282
|
-
"name": "
|
|
2283
|
-
"type": {
|
|
2284
|
-
"text": "number"
|
|
2285
|
-
},
|
|
2277
|
+
"kind": "method",
|
|
2278
|
+
"name": "renderLink",
|
|
2286
2279
|
"privacy": "private",
|
|
2287
|
-
"
|
|
2280
|
+
"parameters": [
|
|
2281
|
+
{
|
|
2282
|
+
"name": "link",
|
|
2283
|
+
"type": {
|
|
2284
|
+
"text": "FooterLink"
|
|
2285
|
+
}
|
|
2286
|
+
}
|
|
2287
|
+
]
|
|
2288
2288
|
},
|
|
2289
2289
|
{
|
|
2290
|
-
"kind": "
|
|
2291
|
-
"name": "
|
|
2290
|
+
"kind": "method",
|
|
2291
|
+
"name": "renderPoweredBy",
|
|
2292
2292
|
"privacy": "private"
|
|
2293
2293
|
},
|
|
2294
2294
|
{
|
|
2295
|
-
"kind": "
|
|
2296
|
-
"name": "
|
|
2295
|
+
"kind": "method",
|
|
2296
|
+
"name": "renderSite",
|
|
2297
|
+
"privacy": "private"
|
|
2298
|
+
}
|
|
2299
|
+
],
|
|
2300
|
+
"attributes": [
|
|
2301
|
+
{
|
|
2302
|
+
"name": "inverted",
|
|
2297
2303
|
"type": {
|
|
2298
|
-
"text": "
|
|
2304
|
+
"text": "boolean"
|
|
2299
2305
|
},
|
|
2300
|
-
"default": "
|
|
2301
|
-
"description": "
|
|
2306
|
+
"default": "false",
|
|
2307
|
+
"description": "Inverts the footer's color roles (light-on-dark instead of dark-on-light) — matches the\nsource component's `inverted` (from its shared `BaseProps`), same as `st-header`'s.",
|
|
2308
|
+
"fieldName": "inverted"
|
|
2302
2309
|
},
|
|
2303
2310
|
{
|
|
2304
|
-
"
|
|
2305
|
-
"name": "currentLanguageCode",
|
|
2311
|
+
"name": "company-name",
|
|
2306
2312
|
"type": {
|
|
2307
2313
|
"text": "string"
|
|
2308
2314
|
},
|
|
2309
2315
|
"default": "''",
|
|
2310
|
-
"
|
|
2316
|
+
"description": "Used to build the default `copyright` line (`© {year} {companyName}`) when `copyright` isn't set explicitly.",
|
|
2317
|
+
"fieldName": "companyName"
|
|
2311
2318
|
},
|
|
2312
2319
|
{
|
|
2313
|
-
"
|
|
2314
|
-
"name": "languageMenuLabel",
|
|
2320
|
+
"name": "copyright",
|
|
2315
2321
|
"type": {
|
|
2316
2322
|
"text": "string"
|
|
2317
2323
|
},
|
|
2318
|
-
"default": "'
|
|
2319
|
-
"
|
|
2320
|
-
|
|
2321
|
-
{
|
|
2322
|
-
"kind": "field",
|
|
2323
|
-
"name": "mobileOpen",
|
|
2324
|
-
"type": {
|
|
2325
|
-
"text": "boolean"
|
|
2326
|
-
},
|
|
2327
|
-
"default": "false",
|
|
2328
|
-
"description": "Internal open/closed state for the mobile nav overlay, reflected to an attribute purely so\r\nthe `:host([mobile-open])` CSS selector above can react to it — not meant to be set from\r\noutside.",
|
|
2329
|
-
"attribute": "mobile-open",
|
|
2330
|
-
"reflects": true
|
|
2324
|
+
"default": "''",
|
|
2325
|
+
"description": "Overrides the default computed copyright line entirely.",
|
|
2326
|
+
"fieldName": "copyright"
|
|
2331
2327
|
},
|
|
2332
2328
|
{
|
|
2333
|
-
"
|
|
2334
|
-
"name": "compact",
|
|
2329
|
+
"name": "powered-by",
|
|
2335
2330
|
"type": {
|
|
2336
|
-
"text": "
|
|
2331
|
+
"text": "string"
|
|
2337
2332
|
},
|
|
2338
|
-
"default": "
|
|
2339
|
-
"
|
|
2340
|
-
"attribute": "compact",
|
|
2341
|
-
"reflects": true
|
|
2333
|
+
"default": "''",
|
|
2334
|
+
"fieldName": "poweredBy"
|
|
2342
2335
|
},
|
|
2343
2336
|
{
|
|
2344
|
-
"
|
|
2345
|
-
"name": "languageMenuOpen",
|
|
2337
|
+
"name": "powered-by-link",
|
|
2346
2338
|
"type": {
|
|
2347
|
-
"text": "
|
|
2339
|
+
"text": "string"
|
|
2348
2340
|
},
|
|
2349
|
-
"
|
|
2350
|
-
"
|
|
2341
|
+
"default": "''",
|
|
2342
|
+
"fieldName": "poweredByLink"
|
|
2351
2343
|
},
|
|
2352
2344
|
{
|
|
2353
|
-
"
|
|
2354
|
-
"name": "hasUtility",
|
|
2345
|
+
"name": "version",
|
|
2355
2346
|
"type": {
|
|
2356
|
-
"text": "
|
|
2347
|
+
"text": "string"
|
|
2357
2348
|
},
|
|
2358
|
-
"
|
|
2359
|
-
"
|
|
2360
|
-
"
|
|
2349
|
+
"default": "''",
|
|
2350
|
+
"description": "App version, rendered as `v{version}` after the copyright line — for apps that show their own\nversion in the footer rather than the header title.",
|
|
2351
|
+
"fieldName": "version"
|
|
2361
2352
|
},
|
|
2362
2353
|
{
|
|
2363
|
-
"
|
|
2364
|
-
"name": "resizeObserver",
|
|
2354
|
+
"name": "image-src",
|
|
2365
2355
|
"type": {
|
|
2366
|
-
"text": "
|
|
2356
|
+
"text": "string"
|
|
2367
2357
|
},
|
|
2368
|
-
"
|
|
2358
|
+
"default": "''",
|
|
2359
|
+
"description": "Logo shown in the brand block (site layout).",
|
|
2360
|
+
"fieldName": "imageSrc"
|
|
2369
2361
|
},
|
|
2370
2362
|
{
|
|
2371
|
-
"
|
|
2372
|
-
"name": "narrowQuery",
|
|
2363
|
+
"name": "description",
|
|
2373
2364
|
"type": {
|
|
2374
|
-
"text": "
|
|
2365
|
+
"text": "string"
|
|
2375
2366
|
},
|
|
2376
|
-
"
|
|
2377
|
-
"description": "
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
},
|
|
2418
|
-
{
|
|
2419
|
-
"kind": "method",
|
|
2420
|
-
"name": "menuOverflows",
|
|
2421
|
-
"privacy": "private",
|
|
2422
|
-
"return": {
|
|
2423
|
-
"type": {
|
|
2424
|
-
"text": "boolean"
|
|
2425
|
-
}
|
|
2426
|
-
},
|
|
2427
|
-
"description": "Whether the visible menu items reach past the right edge of the menu row. Measured from the\r\nitems' own boxes (the slotted elements and their direct children), not the row's scrollWidth:\r\na closed dropdown's absolutely positioned panel also counts towards scrollWidth, which would\r\nreport overflow at any width."
|
|
2428
|
-
},
|
|
2367
|
+
"default": "''",
|
|
2368
|
+
"description": "Short blurb under the logo (site layout).",
|
|
2369
|
+
"fieldName": "description"
|
|
2370
|
+
}
|
|
2371
|
+
],
|
|
2372
|
+
"superclass": {
|
|
2373
|
+
"name": "LitElement",
|
|
2374
|
+
"package": "lit"
|
|
2375
|
+
},
|
|
2376
|
+
"tagName": "st-footer",
|
|
2377
|
+
"customElement": true
|
|
2378
|
+
}
|
|
2379
|
+
],
|
|
2380
|
+
"exports": [
|
|
2381
|
+
{
|
|
2382
|
+
"kind": "js",
|
|
2383
|
+
"name": "Footer",
|
|
2384
|
+
"declaration": {
|
|
2385
|
+
"name": "Footer",
|
|
2386
|
+
"module": "src/footer/Footer.ts"
|
|
2387
|
+
}
|
|
2388
|
+
},
|
|
2389
|
+
{
|
|
2390
|
+
"kind": "custom-element-definition",
|
|
2391
|
+
"name": "st-footer",
|
|
2392
|
+
"declaration": {
|
|
2393
|
+
"name": "Footer",
|
|
2394
|
+
"module": "src/footer/Footer.ts"
|
|
2395
|
+
}
|
|
2396
|
+
}
|
|
2397
|
+
]
|
|
2398
|
+
},
|
|
2399
|
+
{
|
|
2400
|
+
"kind": "javascript-module",
|
|
2401
|
+
"path": "src/header/Header.ts",
|
|
2402
|
+
"declarations": [
|
|
2403
|
+
{
|
|
2404
|
+
"kind": "class",
|
|
2405
|
+
"description": "The app-shell header bar — brand (image + title, or title alone) on the left, a `slot=\"menu\"`\nfor primary nav (e.g. `st-dropdown`/`st-menu-grid` mega-menus, or plain links) taking the\nmiddle, and a `slot=\"utility\"` for account/app-switcher/theme controls on the right. Ported\nfrom `SankhyaUI`'s React `Header` (a separate, unrelated marketing-site project) to this\npackage's Lit conventions and this workspace's actual needs — that source component takes an\n`imageSrc` logo with no text fallback, but none of this suite's apps has a logo image today, so\n`title` is the primary brand prop here and `brand-image-url` is optional, mirroring\n`st-app-header`'s own brand/title split (this component's slotted-menu/utility shape is a\ndeliberately different, more generic surface than `st-app-header`'s fixed nav-links/user-menu\nprops — pick whichever fits a given app's header).\n\nLayout follows the source's `Header.css`: the menu starts 4rem after the brand, the utility\ncontrols sit after a vertical divider, and below `BREAKPOINT_TABLET` (900px here; 768px in the\nsource) `menu`/`utility` collapse behind a hamburger toggle into a full-screen layer under the\ntoggle (closes on Escape or a click inside it), where the menu's `st-dropdown`s are switched to\n`inline` so they open in the flow — the same two slotted elements just get repositioned by CSS\n(`.mobile-panel`'s `display: contents` at desktop width vs. a real fixed-position box below\n`BREAKPOINT_TABLET`), rather than the slots being duplicated in the template, since a shadow\nroot can only ever assign a given light-DOM child to the *first* slot of a given name.\n\nAn optional `slot=\"brand-extra\"` sits right after the brand (e.g. an edition badge such as\n\"🇮🇳 India Edition\"); unlike `menu`/`utility` it stays in the bar at every width.\n\nAlso carries an optional built-in language switcher (`languages`/`currentLanguageCode`, fires\n`language-change`) — ported from `st-app-header`'s own implementation verbatim rather than\nrebuilt, since the source `Header`'s reference story shows an equivalent flag/language `Select`\nas a first-class header utility. Hidden entirely when `languages` has fewer than two entries.\nThis component has no translation logic itself; the consuming app owns what a language `code`\nmeans and which content it re-renders in response.",
|
|
2406
|
+
"name": "Header",
|
|
2407
|
+
"cssProperties": [
|
|
2429
2408
|
{
|
|
2430
|
-
"
|
|
2431
|
-
"name": "
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
"privacy": "private"
|
|
2436
|
-
},
|
|
2409
|
+
"description": "Width and height of a slotted toggle icon (default 20px, the built-in glyph's size).",
|
|
2410
|
+
"name": "--st-header-toggle-icon-size"
|
|
2411
|
+
}
|
|
2412
|
+
],
|
|
2413
|
+
"slots": [
|
|
2437
2414
|
{
|
|
2438
|
-
"
|
|
2439
|
-
"name": "
|
|
2440
|
-
"privacy": "private"
|
|
2415
|
+
"description": "Primary navigation.",
|
|
2416
|
+
"name": "menu"
|
|
2441
2417
|
},
|
|
2442
2418
|
{
|
|
2443
|
-
"
|
|
2444
|
-
"name": "
|
|
2445
|
-
"privacy": "private"
|
|
2419
|
+
"description": "Account, app-switcher and theme controls, after the divider.",
|
|
2420
|
+
"name": "utility"
|
|
2446
2421
|
},
|
|
2447
2422
|
{
|
|
2448
|
-
"
|
|
2449
|
-
"name": "
|
|
2450
|
-
"privacy": "private"
|
|
2423
|
+
"description": "Shown right after the brand at every width (e.g. an edition badge).",
|
|
2424
|
+
"name": "brand-extra"
|
|
2451
2425
|
},
|
|
2452
2426
|
{
|
|
2453
|
-
"
|
|
2454
|
-
"name": "
|
|
2455
|
-
"privacy": "private",
|
|
2456
|
-
"return": {
|
|
2457
|
-
"type": {
|
|
2458
|
-
"text": "void"
|
|
2459
|
-
}
|
|
2460
|
-
},
|
|
2461
|
-
"parameters": [
|
|
2462
|
-
{
|
|
2463
|
-
"name": "code",
|
|
2464
|
-
"type": {
|
|
2465
|
-
"text": "string"
|
|
2466
|
-
}
|
|
2467
|
-
}
|
|
2468
|
-
]
|
|
2427
|
+
"description": "Replaces the hamburger on the narrow-screen toggle (the built-in glyph when empty).",
|
|
2428
|
+
"name": "menu-icon"
|
|
2469
2429
|
},
|
|
2470
2430
|
{
|
|
2471
|
-
"
|
|
2472
|
-
"name": "
|
|
2473
|
-
"privacy": "private"
|
|
2431
|
+
"description": "Replaces the close (X) on the toggle while the menu is open (the built-in glyph when empty).",
|
|
2432
|
+
"name": "close-icon"
|
|
2474
2433
|
}
|
|
2475
2434
|
],
|
|
2476
|
-
"
|
|
2477
|
-
{
|
|
2478
|
-
"name": "language-change",
|
|
2479
|
-
"type": {
|
|
2480
|
-
"text": "CustomEvent"
|
|
2481
|
-
}
|
|
2482
|
-
}
|
|
2483
|
-
],
|
|
2484
|
-
"attributes": [
|
|
2435
|
+
"members": [
|
|
2485
2436
|
{
|
|
2437
|
+
"kind": "field",
|
|
2486
2438
|
"name": "title",
|
|
2487
2439
|
"type": {
|
|
2488
2440
|
"text": "string"
|
|
2489
2441
|
},
|
|
2490
2442
|
"default": "''",
|
|
2491
|
-
"
|
|
2443
|
+
"attribute": "title"
|
|
2492
2444
|
},
|
|
2493
2445
|
{
|
|
2494
|
-
"
|
|
2446
|
+
"kind": "field",
|
|
2447
|
+
"name": "brandImageUrl",
|
|
2495
2448
|
"type": {
|
|
2496
2449
|
"text": "string"
|
|
2497
2450
|
},
|
|
2498
2451
|
"default": "''",
|
|
2499
2452
|
"description": "Optional logo image URL, shown before `title`. Omitted entirely when empty — none of this suite's apps has one today. Matches the source component's `imageSrc` (renamed here to pair with `title`/`logoHref`, since this component's only image use is the brand mark).",
|
|
2500
|
-
"
|
|
2453
|
+
"attribute": "brand-image-url"
|
|
2501
2454
|
},
|
|
2502
2455
|
{
|
|
2503
|
-
"
|
|
2456
|
+
"kind": "field",
|
|
2457
|
+
"name": "altText",
|
|
2504
2458
|
"type": {
|
|
2505
2459
|
"text": "string"
|
|
2506
2460
|
},
|
|
2507
2461
|
"default": "'Logo'",
|
|
2508
2462
|
"description": "`alt` text for the brand image — matches the source component's `altText` (default `'Logo'`).",
|
|
2509
|
-
"
|
|
2463
|
+
"attribute": "alt-text"
|
|
2510
2464
|
},
|
|
2511
2465
|
{
|
|
2466
|
+
"kind": "field",
|
|
2512
2467
|
"name": "logoHref",
|
|
2513
2468
|
"type": {
|
|
2514
2469
|
"text": "string"
|
|
2515
2470
|
},
|
|
2516
2471
|
"default": "''",
|
|
2517
2472
|
"description": "Wraps the brand in an `<a>` when set (e.g. `/`); a plain non-link `<div>` otherwise.",
|
|
2518
|
-
"
|
|
2473
|
+
"attribute": "logoHref"
|
|
2519
2474
|
},
|
|
2520
2475
|
{
|
|
2521
|
-
"
|
|
2476
|
+
"kind": "field",
|
|
2477
|
+
"name": "logoTarget",
|
|
2522
2478
|
"type": {
|
|
2523
2479
|
"text": "string"
|
|
2524
2480
|
},
|
|
2525
2481
|
"default": "'_self'",
|
|
2526
2482
|
"description": "`target` for the brand `<a>` — matches the source component's `logoTarget` (default `_self`). No effect when `logoHref` isn't set.",
|
|
2527
|
-
"
|
|
2483
|
+
"attribute": "logo-target"
|
|
2528
2484
|
},
|
|
2529
2485
|
{
|
|
2530
|
-
"
|
|
2486
|
+
"kind": "field",
|
|
2487
|
+
"name": "logoClassName",
|
|
2531
2488
|
"type": {
|
|
2532
2489
|
"text": "string"
|
|
2533
2490
|
},
|
|
2534
2491
|
"default": "''",
|
|
2535
2492
|
"description": "Extra class(es) appended to the brand link/div — matches the source component's `logoClassName`.",
|
|
2536
|
-
"
|
|
2493
|
+
"attribute": "logo-class-name"
|
|
2537
2494
|
},
|
|
2538
2495
|
{
|
|
2496
|
+
"kind": "field",
|
|
2539
2497
|
"name": "inverted",
|
|
2540
2498
|
"type": {
|
|
2541
2499
|
"text": "boolean"
|
|
2542
2500
|
},
|
|
2543
2501
|
"default": "false",
|
|
2544
|
-
"description": "Inverts the header's color roles (light-on-dark instead of dark-on-light) — matches the\
|
|
2545
|
-
"
|
|
2502
|
+
"description": "Inverts the header's color roles (light-on-dark instead of dark-on-light) — matches the\nsource component's `inverted` (from its shared `BaseProps`).",
|
|
2503
|
+
"attribute": "inverted",
|
|
2504
|
+
"reflects": true
|
|
2546
2505
|
},
|
|
2547
2506
|
{
|
|
2507
|
+
"kind": "field",
|
|
2548
2508
|
"name": "sticky",
|
|
2549
2509
|
"type": {
|
|
2550
2510
|
"text": "boolean"
|
|
2551
2511
|
},
|
|
2552
2512
|
"default": "false",
|
|
2553
|
-
"
|
|
2513
|
+
"attribute": "sticky",
|
|
2514
|
+
"reflects": true
|
|
2554
2515
|
},
|
|
2555
2516
|
{
|
|
2517
|
+
"kind": "field",
|
|
2556
2518
|
"name": "transparent",
|
|
2557
2519
|
"type": {
|
|
2558
2520
|
"text": "boolean"
|
|
2559
2521
|
},
|
|
2560
2522
|
"default": "false",
|
|
2561
|
-
"description": "Fixes the header over the top of the page and makes it see-through, with light text\
|
|
2562
|
-
"
|
|
2523
|
+
"description": "Fixes the header over the top of the page and makes it see-through, with light text\n(`--st-header-transparent-color`), until the page scrolls past `scroll-threshold` — for a\nheader laid over a dark hero. It then takes its normal background and a shadow. The page\ncontent starts under it, so the first section should leave room for the 64px bar.",
|
|
2524
|
+
"attribute": "transparent",
|
|
2525
|
+
"reflects": true
|
|
2563
2526
|
},
|
|
2564
2527
|
{
|
|
2565
|
-
"
|
|
2528
|
+
"kind": "field",
|
|
2529
|
+
"name": "hideOnScroll",
|
|
2566
2530
|
"type": {
|
|
2567
2531
|
"text": "boolean"
|
|
2568
2532
|
},
|
|
2569
2533
|
"default": "false",
|
|
2570
2534
|
"description": "Slides the header out of view while the page scrolls down and back in when it scrolls up.",
|
|
2571
|
-
"
|
|
2535
|
+
"attribute": "hide-on-scroll",
|
|
2536
|
+
"reflects": true
|
|
2572
2537
|
},
|
|
2573
2538
|
{
|
|
2574
|
-
"
|
|
2539
|
+
"kind": "field",
|
|
2540
|
+
"name": "scrollThreshold",
|
|
2575
2541
|
"type": {
|
|
2576
2542
|
"text": "number"
|
|
2577
2543
|
},
|
|
2578
2544
|
"default": "8",
|
|
2579
2545
|
"description": "Scroll distance in px after which the header counts as `scrolled`.",
|
|
2580
|
-
"
|
|
2546
|
+
"attribute": "scroll-threshold"
|
|
2581
2547
|
},
|
|
2582
2548
|
{
|
|
2549
|
+
"kind": "field",
|
|
2583
2550
|
"name": "scrolled",
|
|
2584
2551
|
"type": {
|
|
2585
2552
|
"text": "boolean"
|
|
2586
2553
|
},
|
|
2587
2554
|
"default": "false",
|
|
2588
2555
|
"description": "True once the page has scrolled past `scroll-threshold`; reflected so pages can style `st-header[scrolled]`. Set by the header, never from outside.",
|
|
2589
|
-
"
|
|
2556
|
+
"attribute": "scrolled",
|
|
2557
|
+
"reflects": true
|
|
2590
2558
|
},
|
|
2591
2559
|
{
|
|
2592
|
-
"
|
|
2560
|
+
"kind": "field",
|
|
2561
|
+
"name": "scrollHidden",
|
|
2593
2562
|
"type": {
|
|
2594
2563
|
"text": "boolean"
|
|
2595
2564
|
},
|
|
2596
2565
|
"default": "false",
|
|
2597
2566
|
"description": "True while `hide-on-scroll` has slid the header away. Set by the header, never from outside.",
|
|
2598
|
-
"
|
|
2567
|
+
"attribute": "scroll-hidden",
|
|
2568
|
+
"reflects": true
|
|
2599
2569
|
},
|
|
2600
2570
|
{
|
|
2601
|
-
"
|
|
2571
|
+
"kind": "field",
|
|
2572
|
+
"name": "lastScrollY",
|
|
2573
|
+
"type": {
|
|
2574
|
+
"text": "number"
|
|
2575
|
+
},
|
|
2576
|
+
"privacy": "private",
|
|
2577
|
+
"default": "0"
|
|
2578
|
+
},
|
|
2579
|
+
{
|
|
2580
|
+
"kind": "field",
|
|
2581
|
+
"name": "scrollFrame",
|
|
2582
|
+
"type": {
|
|
2583
|
+
"text": "number"
|
|
2584
|
+
},
|
|
2585
|
+
"privacy": "private",
|
|
2586
|
+
"default": "0"
|
|
2587
|
+
},
|
|
2588
|
+
{
|
|
2589
|
+
"kind": "field",
|
|
2590
|
+
"name": "onScroll",
|
|
2591
|
+
"privacy": "private"
|
|
2592
|
+
},
|
|
2593
|
+
{
|
|
2594
|
+
"kind": "field",
|
|
2595
|
+
"name": "languages",
|
|
2596
|
+
"type": {
|
|
2597
|
+
"text": "{ code: string; label: string }[]"
|
|
2598
|
+
},
|
|
2599
|
+
"default": "[]",
|
|
2600
|
+
"description": "Language switcher options, e.g. `[{ code: 'en', label: 'English' }, ...]` — hidden entirely\nwhen empty or when only one language is offered (same convention as `st-app-header`'s\n`languages`, which this reuses verbatim). This component has no translation logic itself —\nselecting an option fires `language-change` (detail: `{ code }`), and the consuming app owns\nwhat `code` actually means and which content it re-renders."
|
|
2601
|
+
},
|
|
2602
|
+
{
|
|
2603
|
+
"kind": "field",
|
|
2604
|
+
"name": "currentLanguageCode",
|
|
2602
2605
|
"type": {
|
|
2603
2606
|
"text": "string"
|
|
2604
2607
|
},
|
|
2605
2608
|
"default": "''",
|
|
2606
|
-
"
|
|
2609
|
+
"attribute": "current-language-code"
|
|
2607
2610
|
},
|
|
2608
2611
|
{
|
|
2609
|
-
"
|
|
2612
|
+
"kind": "field",
|
|
2613
|
+
"name": "languageMenuLabel",
|
|
2610
2614
|
"type": {
|
|
2611
2615
|
"text": "string"
|
|
2612
2616
|
},
|
|
2613
2617
|
"default": "'Language'",
|
|
2614
|
-
"
|
|
2618
|
+
"attribute": "language-menu-label"
|
|
2615
2619
|
},
|
|
2616
2620
|
{
|
|
2617
|
-
"
|
|
2621
|
+
"kind": "field",
|
|
2622
|
+
"name": "mobileOpen",
|
|
2618
2623
|
"type": {
|
|
2619
2624
|
"text": "boolean"
|
|
2620
2625
|
},
|
|
2621
2626
|
"default": "false",
|
|
2622
|
-
"description": "Internal open/closed state for the mobile nav overlay, reflected to an attribute purely so\
|
|
2623
|
-
"
|
|
2627
|
+
"description": "Internal open/closed state for the mobile nav overlay, reflected to an attribute purely so\nthe `:host([mobile-open])` CSS selector above can react to it — not meant to be set from\noutside.",
|
|
2628
|
+
"attribute": "mobile-open",
|
|
2629
|
+
"reflects": true
|
|
2624
2630
|
},
|
|
2625
2631
|
{
|
|
2632
|
+
"kind": "field",
|
|
2626
2633
|
"name": "compact",
|
|
2627
2634
|
"type": {
|
|
2628
2635
|
"text": "boolean"
|
|
2629
2636
|
},
|
|
2630
2637
|
"default": "false",
|
|
2631
|
-
"description": "True while the menu doesn't fit the bar at the current width: the header then shows the same\
|
|
2632
|
-
"
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
"superclass": {
|
|
2636
|
-
"name": "LitElement",
|
|
2637
|
-
"package": "lit"
|
|
2638
|
-
},
|
|
2639
|
-
"tagName": "st-header",
|
|
2640
|
-
"customElement": true
|
|
2641
|
-
}
|
|
2642
|
-
],
|
|
2643
|
-
"exports": [
|
|
2644
|
-
{
|
|
2645
|
-
"kind": "js",
|
|
2646
|
-
"name": "Header",
|
|
2647
|
-
"declaration": {
|
|
2648
|
-
"name": "Header",
|
|
2649
|
-
"module": "src/header/Header.ts"
|
|
2650
|
-
}
|
|
2651
|
-
},
|
|
2652
|
-
{
|
|
2653
|
-
"kind": "custom-element-definition",
|
|
2654
|
-
"name": "st-header",
|
|
2655
|
-
"declaration": {
|
|
2656
|
-
"name": "Header",
|
|
2657
|
-
"module": "src/header/Header.ts"
|
|
2658
|
-
}
|
|
2659
|
-
}
|
|
2660
|
-
]
|
|
2661
|
-
},
|
|
2662
|
-
{
|
|
2663
|
-
"kind": "javascript-module",
|
|
2664
|
-
"path": "src/footer/Footer.ts",
|
|
2665
|
-
"declarations": [
|
|
2666
|
-
{
|
|
2667
|
-
"kind": "class",
|
|
2668
|
-
"description": "The footer, in two layouts:\r\n\r\n- **Bar** (default): a copyright line plus an optional \"powered by\" link — what the suite's\r\n authenticated apps use.\r\n- **Site**: when `columns`, `socialLinks`, `description` or `imageSrc` is set, the footer becomes a\r\n marketing-site footer — brand (logo/company name, description, social icons), link columns and a\r\n bottom bar with the copyright and \"powered by\".\r\n\r\nFires a cancelable `footer-link` event (detail `{ href }`) when an internal link is clicked.",
|
|
2669
|
-
"name": "Footer",
|
|
2670
|
-
"members": [
|
|
2638
|
+
"description": "True while the menu doesn't fit the bar at the current width: the header then shows the same\nhamburger layout it uses on a narrow screen. Set by `evaluateFit`, never from outside.",
|
|
2639
|
+
"attribute": "compact",
|
|
2640
|
+
"reflects": true
|
|
2641
|
+
},
|
|
2671
2642
|
{
|
|
2672
2643
|
"kind": "field",
|
|
2673
|
-
"name": "
|
|
2644
|
+
"name": "languageMenuOpen",
|
|
2674
2645
|
"type": {
|
|
2675
2646
|
"text": "boolean"
|
|
2676
2647
|
},
|
|
2677
|
-
"
|
|
2678
|
-
"
|
|
2679
|
-
"attribute": "inverted",
|
|
2680
|
-
"reflects": true
|
|
2648
|
+
"privacy": "private",
|
|
2649
|
+
"default": "false"
|
|
2681
2650
|
},
|
|
2682
2651
|
{
|
|
2683
2652
|
"kind": "field",
|
|
2684
|
-
"name": "
|
|
2653
|
+
"name": "hasUtility",
|
|
2685
2654
|
"type": {
|
|
2686
|
-
"text": "
|
|
2655
|
+
"text": "boolean"
|
|
2687
2656
|
},
|
|
2688
|
-
"
|
|
2689
|
-
"
|
|
2690
|
-
"
|
|
2657
|
+
"privacy": "private",
|
|
2658
|
+
"default": "false",
|
|
2659
|
+
"description": "Whether `slot=\"utility\"` has content — an empty utility row (and its divider) is hidden."
|
|
2691
2660
|
},
|
|
2692
2661
|
{
|
|
2693
2662
|
"kind": "field",
|
|
2694
|
-
"name": "
|
|
2663
|
+
"name": "hasBrandExtra",
|
|
2695
2664
|
"type": {
|
|
2696
|
-
"text": "
|
|
2665
|
+
"text": "boolean"
|
|
2697
2666
|
},
|
|
2698
|
-
"
|
|
2699
|
-
"
|
|
2700
|
-
"
|
|
2667
|
+
"privacy": "private",
|
|
2668
|
+
"default": "false",
|
|
2669
|
+
"description": "Whether `slot=\"brand-extra\"` has content — an empty one takes no room beside the brand."
|
|
2701
2670
|
},
|
|
2702
2671
|
{
|
|
2703
2672
|
"kind": "field",
|
|
2704
|
-
"name": "
|
|
2673
|
+
"name": "resizeObserver",
|
|
2705
2674
|
"type": {
|
|
2706
|
-
"text": "
|
|
2675
|
+
"text": "ResizeObserver | undefined"
|
|
2707
2676
|
},
|
|
2708
|
-
"
|
|
2709
|
-
"attribute": "powered-by"
|
|
2677
|
+
"privacy": "private"
|
|
2710
2678
|
},
|
|
2711
2679
|
{
|
|
2712
2680
|
"kind": "field",
|
|
2713
|
-
"name": "
|
|
2681
|
+
"name": "narrowQuery",
|
|
2714
2682
|
"type": {
|
|
2715
|
-
"text": "
|
|
2683
|
+
"text": "MediaQueryList | undefined"
|
|
2716
2684
|
},
|
|
2717
|
-
"
|
|
2718
|
-
"
|
|
2685
|
+
"privacy": "private",
|
|
2686
|
+
"description": "Matches below BREAKPOINT_TABLET, where the hamburger layout is always on."
|
|
2719
2687
|
},
|
|
2720
2688
|
{
|
|
2721
2689
|
"kind": "field",
|
|
2722
|
-
"name": "
|
|
2723
|
-
"
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
"default": "''",
|
|
2727
|
-
"description": "App version, rendered as `v{version}` after the copyright line — for apps that show their own\r\nversion in the footer rather than the header title.",
|
|
2728
|
-
"attribute": "version"
|
|
2690
|
+
"name": "inlinedDropdowns",
|
|
2691
|
+
"privacy": "private",
|
|
2692
|
+
"default": "new Set<HTMLElement & { inline: boolean; open: boolean }>()",
|
|
2693
|
+
"description": "The dropdowns this header switched to `inline` — only these are switched back, so a caller's\nown `inline` setting is left alone."
|
|
2729
2694
|
},
|
|
2730
2695
|
{
|
|
2731
2696
|
"kind": "field",
|
|
2732
|
-
"name": "
|
|
2733
|
-
"
|
|
2734
|
-
|
|
2735
|
-
},
|
|
2736
|
-
"default": "''",
|
|
2737
|
-
"description": "Logo shown in the brand block (site layout).",
|
|
2738
|
-
"attribute": "image-src"
|
|
2697
|
+
"name": "syncInlineDropdowns",
|
|
2698
|
+
"privacy": "private",
|
|
2699
|
+
"description": "While the hamburger layout is on, the dropdowns in the header open in the flow of the\nfull-screen panel instead of floating over it (SankhyaUI's touch-device layout)."
|
|
2739
2700
|
},
|
|
2740
2701
|
{
|
|
2741
2702
|
"kind": "field",
|
|
2742
|
-
"name": "
|
|
2743
|
-
"
|
|
2744
|
-
"text": "string"
|
|
2745
|
-
},
|
|
2746
|
-
"default": "''",
|
|
2747
|
-
"description": "Short blurb under the logo (site layout).",
|
|
2748
|
-
"attribute": "description"
|
|
2703
|
+
"name": "onBrandExtraSlotChange",
|
|
2704
|
+
"privacy": "private"
|
|
2749
2705
|
},
|
|
2750
2706
|
{
|
|
2751
2707
|
"kind": "field",
|
|
2752
|
-
"name": "
|
|
2753
|
-
"
|
|
2754
|
-
"text": "FooterColumn[]"
|
|
2755
|
-
},
|
|
2756
|
-
"default": "[]",
|
|
2757
|
-
"description": "Link columns (site layout)."
|
|
2708
|
+
"name": "onUtilitySlotChange",
|
|
2709
|
+
"privacy": "private"
|
|
2758
2710
|
},
|
|
2759
2711
|
{
|
|
2760
2712
|
"kind": "field",
|
|
2761
|
-
"name": "
|
|
2762
|
-
"
|
|
2763
|
-
"text": "FooterSocialLink[]"
|
|
2764
|
-
},
|
|
2765
|
-
"default": "[]",
|
|
2766
|
-
"description": "Social icon links under the description (site layout)."
|
|
2713
|
+
"name": "onMenuSlotChange",
|
|
2714
|
+
"privacy": "private"
|
|
2767
2715
|
},
|
|
2768
2716
|
{
|
|
2769
2717
|
"kind": "field",
|
|
2770
|
-
"name": "
|
|
2718
|
+
"name": "collapsedAtWidth",
|
|
2771
2719
|
"type": {
|
|
2772
|
-
"text": "
|
|
2720
|
+
"text": "number"
|
|
2773
2721
|
},
|
|
2774
2722
|
"privacy": "private",
|
|
2775
|
-
"
|
|
2723
|
+
"default": "0",
|
|
2724
|
+
"description": "The bar width at which the menu last overflowed — the bar only expands again once it is\nclearly wider than this, so it can't flip back and forth right at the threshold."
|
|
2776
2725
|
},
|
|
2777
2726
|
{
|
|
2778
2727
|
"kind": "field",
|
|
2779
|
-
"name": "
|
|
2728
|
+
"name": "evaluateFit",
|
|
2729
|
+
"privacy": "private",
|
|
2730
|
+
"description": "Collapses to the hamburger layout when the slotted menu overflows its row, and expands again\nonce there is room. The collapsed layout hides the menu, so the room it needs can't be\nmeasured then; the width remembered when it collapsed stands in for it."
|
|
2731
|
+
},
|
|
2732
|
+
{
|
|
2733
|
+
"kind": "method",
|
|
2734
|
+
"name": "menuOverflows",
|
|
2735
|
+
"privacy": "private",
|
|
2736
|
+
"return": {
|
|
2737
|
+
"type": {
|
|
2738
|
+
"text": "boolean"
|
|
2739
|
+
}
|
|
2740
|
+
},
|
|
2741
|
+
"description": "Whether the visible menu items reach past the right edge of the menu row. Measured from the\nitems' own boxes (the slotted elements and their direct children), not the row's scrollWidth:\na closed dropdown's absolutely positioned panel also counts towards scrollWidth, which would\nreport overflow at any width."
|
|
2742
|
+
},
|
|
2743
|
+
{
|
|
2744
|
+
"kind": "field",
|
|
2745
|
+
"name": "lightDomObserver",
|
|
2780
2746
|
"type": {
|
|
2781
|
-
"text": "
|
|
2747
|
+
"text": "MutationObserver | undefined"
|
|
2782
2748
|
},
|
|
2783
|
-
"privacy": "private"
|
|
2784
|
-
|
|
2749
|
+
"privacy": "private"
|
|
2750
|
+
},
|
|
2751
|
+
{
|
|
2752
|
+
"kind": "field",
|
|
2753
|
+
"name": "closeOnEscape",
|
|
2754
|
+
"privacy": "private"
|
|
2755
|
+
},
|
|
2756
|
+
{
|
|
2757
|
+
"kind": "field",
|
|
2758
|
+
"name": "closeLanguageMenuOnOutsideClick",
|
|
2759
|
+
"privacy": "private"
|
|
2785
2760
|
},
|
|
2786
2761
|
{
|
|
2787
2762
|
"kind": "method",
|
|
2788
|
-
"name": "
|
|
2763
|
+
"name": "renderLanguageMenu",
|
|
2764
|
+
"privacy": "private"
|
|
2765
|
+
},
|
|
2766
|
+
{
|
|
2767
|
+
"kind": "method",
|
|
2768
|
+
"name": "onLanguageSelect",
|
|
2789
2769
|
"privacy": "private",
|
|
2790
2770
|
"return": {
|
|
2791
2771
|
"type": {
|
|
@@ -2794,13 +2774,7 @@
|
|
|
2794
2774
|
},
|
|
2795
2775
|
"parameters": [
|
|
2796
2776
|
{
|
|
2797
|
-
"name": "
|
|
2798
|
-
"type": {
|
|
2799
|
-
"text": "MouseEvent"
|
|
2800
|
-
}
|
|
2801
|
-
},
|
|
2802
|
-
{
|
|
2803
|
-
"name": "href",
|
|
2777
|
+
"name": "code",
|
|
2804
2778
|
"type": {
|
|
2805
2779
|
"text": "string"
|
|
2806
2780
|
}
|
|
@@ -2809,123 +2783,192 @@
|
|
|
2809
2783
|
},
|
|
2810
2784
|
{
|
|
2811
2785
|
"kind": "method",
|
|
2812
|
-
"name": "
|
|
2813
|
-
"privacy": "private"
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
2786
|
+
"name": "renderBrand",
|
|
2787
|
+
"privacy": "private"
|
|
2788
|
+
}
|
|
2789
|
+
],
|
|
2790
|
+
"events": [
|
|
2791
|
+
{
|
|
2792
|
+
"name": "language-change",
|
|
2793
|
+
"type": {
|
|
2794
|
+
"text": "CustomEvent"
|
|
2795
|
+
}
|
|
2796
|
+
}
|
|
2797
|
+
],
|
|
2798
|
+
"attributes": [
|
|
2799
|
+
{
|
|
2800
|
+
"name": "title",
|
|
2801
|
+
"type": {
|
|
2802
|
+
"text": "string"
|
|
2803
|
+
},
|
|
2804
|
+
"default": "''",
|
|
2805
|
+
"fieldName": "title"
|
|
2806
|
+
},
|
|
2807
|
+
{
|
|
2808
|
+
"name": "brand-image-url",
|
|
2809
|
+
"type": {
|
|
2810
|
+
"text": "string"
|
|
2811
|
+
},
|
|
2812
|
+
"default": "''",
|
|
2813
|
+
"description": "Optional logo image URL, shown before `title`. Omitted entirely when empty — none of this suite's apps has one today. Matches the source component's `imageSrc` (renamed here to pair with `title`/`logoHref`, since this component's only image use is the brand mark).",
|
|
2814
|
+
"fieldName": "brandImageUrl"
|
|
2815
|
+
},
|
|
2816
|
+
{
|
|
2817
|
+
"name": "alt-text",
|
|
2818
|
+
"type": {
|
|
2819
|
+
"text": "string"
|
|
2820
|
+
},
|
|
2821
|
+
"default": "'Logo'",
|
|
2822
|
+
"description": "`alt` text for the brand image — matches the source component's `altText` (default `'Logo'`).",
|
|
2823
|
+
"fieldName": "altText"
|
|
2824
|
+
},
|
|
2825
|
+
{
|
|
2826
|
+
"name": "logoHref",
|
|
2827
|
+
"type": {
|
|
2828
|
+
"text": "string"
|
|
2829
|
+
},
|
|
2830
|
+
"default": "''",
|
|
2831
|
+
"description": "Wraps the brand in an `<a>` when set (e.g. `/`); a plain non-link `<div>` otherwise.",
|
|
2832
|
+
"fieldName": "logoHref"
|
|
2822
2833
|
},
|
|
2823
2834
|
{
|
|
2824
|
-
"
|
|
2825
|
-
"
|
|
2826
|
-
|
|
2835
|
+
"name": "logo-target",
|
|
2836
|
+
"type": {
|
|
2837
|
+
"text": "string"
|
|
2838
|
+
},
|
|
2839
|
+
"default": "'_self'",
|
|
2840
|
+
"description": "`target` for the brand `<a>` — matches the source component's `logoTarget` (default `_self`). No effect when `logoHref` isn't set.",
|
|
2841
|
+
"fieldName": "logoTarget"
|
|
2827
2842
|
},
|
|
2828
2843
|
{
|
|
2829
|
-
"
|
|
2830
|
-
"
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
|
|
2844
|
+
"name": "logo-class-name",
|
|
2845
|
+
"type": {
|
|
2846
|
+
"text": "string"
|
|
2847
|
+
},
|
|
2848
|
+
"default": "''",
|
|
2849
|
+
"description": "Extra class(es) appended to the brand link/div — matches the source component's `logoClassName`.",
|
|
2850
|
+
"fieldName": "logoClassName"
|
|
2851
|
+
},
|
|
2835
2852
|
{
|
|
2836
2853
|
"name": "inverted",
|
|
2837
2854
|
"type": {
|
|
2838
2855
|
"text": "boolean"
|
|
2839
2856
|
},
|
|
2840
2857
|
"default": "false",
|
|
2841
|
-
"description": "Inverts the
|
|
2858
|
+
"description": "Inverts the header's color roles (light-on-dark instead of dark-on-light) — matches the\nsource component's `inverted` (from its shared `BaseProps`).",
|
|
2842
2859
|
"fieldName": "inverted"
|
|
2843
2860
|
},
|
|
2844
2861
|
{
|
|
2845
|
-
"name": "
|
|
2862
|
+
"name": "sticky",
|
|
2846
2863
|
"type": {
|
|
2847
|
-
"text": "
|
|
2864
|
+
"text": "boolean"
|
|
2848
2865
|
},
|
|
2849
|
-
"default": "
|
|
2850
|
-
"
|
|
2851
|
-
"fieldName": "companyName"
|
|
2866
|
+
"default": "false",
|
|
2867
|
+
"fieldName": "sticky"
|
|
2852
2868
|
},
|
|
2853
2869
|
{
|
|
2854
|
-
"name": "
|
|
2870
|
+
"name": "transparent",
|
|
2855
2871
|
"type": {
|
|
2856
|
-
"text": "
|
|
2872
|
+
"text": "boolean"
|
|
2857
2873
|
},
|
|
2858
|
-
"default": "
|
|
2859
|
-
"description": "
|
|
2860
|
-
"fieldName": "
|
|
2874
|
+
"default": "false",
|
|
2875
|
+
"description": "Fixes the header over the top of the page and makes it see-through, with light text\n(`--st-header-transparent-color`), until the page scrolls past `scroll-threshold` — for a\nheader laid over a dark hero. It then takes its normal background and a shadow. The page\ncontent starts under it, so the first section should leave room for the 64px bar.",
|
|
2876
|
+
"fieldName": "transparent"
|
|
2861
2877
|
},
|
|
2862
2878
|
{
|
|
2863
|
-
"name": "
|
|
2879
|
+
"name": "hide-on-scroll",
|
|
2864
2880
|
"type": {
|
|
2865
|
-
"text": "
|
|
2881
|
+
"text": "boolean"
|
|
2866
2882
|
},
|
|
2867
|
-
"default": "
|
|
2868
|
-
"
|
|
2883
|
+
"default": "false",
|
|
2884
|
+
"description": "Slides the header out of view while the page scrolls down and back in when it scrolls up.",
|
|
2885
|
+
"fieldName": "hideOnScroll"
|
|
2869
2886
|
},
|
|
2870
2887
|
{
|
|
2871
|
-
"name": "
|
|
2888
|
+
"name": "scroll-threshold",
|
|
2872
2889
|
"type": {
|
|
2873
|
-
"text": "
|
|
2890
|
+
"text": "number"
|
|
2874
2891
|
},
|
|
2875
|
-
"default": "
|
|
2876
|
-
"
|
|
2892
|
+
"default": "8",
|
|
2893
|
+
"description": "Scroll distance in px after which the header counts as `scrolled`.",
|
|
2894
|
+
"fieldName": "scrollThreshold"
|
|
2877
2895
|
},
|
|
2878
2896
|
{
|
|
2879
|
-
"name": "
|
|
2897
|
+
"name": "scrolled",
|
|
2880
2898
|
"type": {
|
|
2881
|
-
"text": "
|
|
2899
|
+
"text": "boolean"
|
|
2882
2900
|
},
|
|
2883
|
-
"default": "
|
|
2884
|
-
"description": "
|
|
2885
|
-
"fieldName": "
|
|
2901
|
+
"default": "false",
|
|
2902
|
+
"description": "True once the page has scrolled past `scroll-threshold`; reflected so pages can style `st-header[scrolled]`. Set by the header, never from outside.",
|
|
2903
|
+
"fieldName": "scrolled"
|
|
2886
2904
|
},
|
|
2887
2905
|
{
|
|
2888
|
-
"name": "
|
|
2906
|
+
"name": "scroll-hidden",
|
|
2907
|
+
"type": {
|
|
2908
|
+
"text": "boolean"
|
|
2909
|
+
},
|
|
2910
|
+
"default": "false",
|
|
2911
|
+
"description": "True while `hide-on-scroll` has slid the header away. Set by the header, never from outside.",
|
|
2912
|
+
"fieldName": "scrollHidden"
|
|
2913
|
+
},
|
|
2914
|
+
{
|
|
2915
|
+
"name": "current-language-code",
|
|
2889
2916
|
"type": {
|
|
2890
2917
|
"text": "string"
|
|
2891
2918
|
},
|
|
2892
2919
|
"default": "''",
|
|
2893
|
-
"
|
|
2894
|
-
"fieldName": "imageSrc"
|
|
2920
|
+
"fieldName": "currentLanguageCode"
|
|
2895
2921
|
},
|
|
2896
2922
|
{
|
|
2897
|
-
"name": "
|
|
2923
|
+
"name": "language-menu-label",
|
|
2898
2924
|
"type": {
|
|
2899
2925
|
"text": "string"
|
|
2900
2926
|
},
|
|
2901
|
-
"default": "''",
|
|
2902
|
-
"
|
|
2903
|
-
|
|
2927
|
+
"default": "'Language'",
|
|
2928
|
+
"fieldName": "languageMenuLabel"
|
|
2929
|
+
},
|
|
2930
|
+
{
|
|
2931
|
+
"name": "mobile-open",
|
|
2932
|
+
"type": {
|
|
2933
|
+
"text": "boolean"
|
|
2934
|
+
},
|
|
2935
|
+
"default": "false",
|
|
2936
|
+
"description": "Internal open/closed state for the mobile nav overlay, reflected to an attribute purely so\nthe `:host([mobile-open])` CSS selector above can react to it — not meant to be set from\noutside.",
|
|
2937
|
+
"fieldName": "mobileOpen"
|
|
2938
|
+
},
|
|
2939
|
+
{
|
|
2940
|
+
"name": "compact",
|
|
2941
|
+
"type": {
|
|
2942
|
+
"text": "boolean"
|
|
2943
|
+
},
|
|
2944
|
+
"default": "false",
|
|
2945
|
+
"description": "True while the menu doesn't fit the bar at the current width: the header then shows the same\nhamburger layout it uses on a narrow screen. Set by `evaluateFit`, never from outside.",
|
|
2946
|
+
"fieldName": "compact"
|
|
2904
2947
|
}
|
|
2905
2948
|
],
|
|
2906
2949
|
"superclass": {
|
|
2907
2950
|
"name": "LitElement",
|
|
2908
2951
|
"package": "lit"
|
|
2909
2952
|
},
|
|
2910
|
-
"tagName": "st-
|
|
2953
|
+
"tagName": "st-header",
|
|
2911
2954
|
"customElement": true
|
|
2912
2955
|
}
|
|
2913
2956
|
],
|
|
2914
2957
|
"exports": [
|
|
2915
2958
|
{
|
|
2916
2959
|
"kind": "js",
|
|
2917
|
-
"name": "
|
|
2960
|
+
"name": "Header",
|
|
2918
2961
|
"declaration": {
|
|
2919
|
-
"name": "
|
|
2920
|
-
"module": "src/
|
|
2962
|
+
"name": "Header",
|
|
2963
|
+
"module": "src/header/Header.ts"
|
|
2921
2964
|
}
|
|
2922
2965
|
},
|
|
2923
2966
|
{
|
|
2924
2967
|
"kind": "custom-element-definition",
|
|
2925
|
-
"name": "st-
|
|
2968
|
+
"name": "st-header",
|
|
2926
2969
|
"declaration": {
|
|
2927
|
-
"name": "
|
|
2928
|
-
"module": "src/
|
|
2970
|
+
"name": "Header",
|
|
2971
|
+
"module": "src/header/Header.ts"
|
|
2929
2972
|
}
|
|
2930
2973
|
}
|
|
2931
2974
|
]
|
|
@@ -2936,7 +2979,7 @@
|
|
|
2936
2979
|
"declarations": [
|
|
2937
2980
|
{
|
|
2938
2981
|
"kind": "class",
|
|
2939
|
-
"description": "Full-width hero banner: background image with a darkening overlay, optional eyebrow, title,\
|
|
2982
|
+
"description": "Full-width hero banner: background image with a darkening overlay, optional eyebrow, title,\noptional subtitle and up to two call-to-action links. Port of `SankhyaUI`'s React `Hero`; the\nframer-motion entrance is redone as CSS keyframes (skipped under `prefers-reduced-motion`).\n\n`size`, `content-position` and `overlay=\"gradient\"` give the large editorial layout (copy on the\nlower left over a gradient that darkens towards it) used by enterprise marketing heroes; the\ndefaults keep the original centered banner. Put several heroes in an `st-carousel` with\n`indicator-style=\"tabs\"` for a tabbed hero carousel.",
|
|
2940
2983
|
"name": "Hero",
|
|
2941
2984
|
"cssProperties": [
|
|
2942
2985
|
{
|
|
@@ -3112,7 +3155,7 @@
|
|
|
3112
3155
|
"static": true,
|
|
3113
3156
|
"default": "{ top: 'center top', left: 'left center', right: 'right center', bottom: 'center bottom', center: 'center center' }",
|
|
3114
3157
|
"type": {
|
|
3115
|
-
"text": "{\
|
|
3158
|
+
"text": "{\n top: 'center top',\n left: 'left center',\n right: 'right center',\n bottom: 'center bottom',\n center: 'center center'\n }"
|
|
3116
3159
|
}
|
|
3117
3160
|
},
|
|
3118
3161
|
{
|
|
@@ -3322,7 +3365,7 @@
|
|
|
3322
3365
|
"declarations": [
|
|
3323
3366
|
{
|
|
3324
3367
|
"kind": "class",
|
|
3325
|
-
"description": "A small, icon-only action button — ported from `SankhyaUI`'s React `IconButton` (a separate,\
|
|
3368
|
+
"description": "A small, icon-only action button — ported from `SankhyaUI`'s React `IconButton` (a separate,\nunrelated marketing-site project; that source takes an iconify string `icon` prop, this package\nhas no iconify dependency, so the icon is default-slotted content instead, same convention as\n`st-dropdown`/`st-menu-grid-item`'s `slot=\"icon\"`).\n\nFires a plain native `click` — no custom event, since a caller just wants an ordinary button.",
|
|
3326
3369
|
"name": "IconButton",
|
|
3327
3370
|
"members": [
|
|
3328
3371
|
{
|
|
@@ -3332,7 +3375,7 @@
|
|
|
3332
3375
|
"text": "string"
|
|
3333
3376
|
},
|
|
3334
3377
|
"default": "''",
|
|
3335
|
-
"description": "Accessible name and tooltip — matches the source component's `ariaLabel` (renamed: modern\
|
|
3378
|
+
"description": "Accessible name and tooltip — matches the source component's `ariaLabel` (renamed: modern\nbrowsers already expose a native `ariaLabel` reflected property on every `Element`, so reusing\nthat exact name as a Lit reactive property would shadow it). Required for a control with no\nvisible text.",
|
|
3336
3379
|
"attribute": "label"
|
|
3337
3380
|
},
|
|
3338
3381
|
{
|
|
@@ -3353,7 +3396,7 @@
|
|
|
3353
3396
|
"text": "string"
|
|
3354
3397
|
},
|
|
3355
3398
|
"default": "''",
|
|
3356
|
-
"description": "Accessible name and tooltip — matches the source component's `ariaLabel` (renamed: modern\
|
|
3399
|
+
"description": "Accessible name and tooltip — matches the source component's `ariaLabel` (renamed: modern\nbrowsers already expose a native `ariaLabel` reflected property on every `Element`, so reusing\nthat exact name as a Lit reactive property would shadow it). Required for a control with no\nvisible text.",
|
|
3357
3400
|
"fieldName": "label"
|
|
3358
3401
|
},
|
|
3359
3402
|
{
|
|
@@ -3529,7 +3572,7 @@
|
|
|
3529
3572
|
"declarations": [
|
|
3530
3573
|
{
|
|
3531
3574
|
"kind": "class",
|
|
3532
|
-
"description": "Renders Markdown (GFM, single newlines become `<br>`) from either an inline `content` string or\
|
|
3575
|
+
"description": "Renders Markdown (GFM, single newlines become `<br>`) from either an inline `content` string or\na `src` URL it fetches. Ports `SankhyaUI`'s `useMarkdown` hook + `react-markdown` (remark-gfm,\nremark-breaks); output is sanitized with DOMPurify. `src` wins over `content` when both are set.\nWhile a fetch is pending it shows \"Loading content...\"; on failure \"Error loading content.\" and\na `markdown-error` event (detail: `{ error }`).\n\nText color is inherited from the parent so inverted containers just work.",
|
|
3533
3576
|
"name": "Markdown",
|
|
3534
3577
|
"members": [
|
|
3535
3578
|
{
|
|
@@ -4375,7 +4418,7 @@
|
|
|
4375
4418
|
"declarations": [
|
|
4376
4419
|
{
|
|
4377
4420
|
"kind": "class",
|
|
4378
|
-
"description": "A responsive grid of `st-menu-grid-item`s — the \"rich\" nav-menu layout (icon + title +\
|
|
4421
|
+
"description": "A responsive grid of `st-menu-grid-item`s — the \"rich\" nav-menu layout (icon + title +\ndescription per entry, arranged in columns), typically slotted into `st-dropdown`'s default\nslot. A 1:1 port of `SankhyaUI`'s React `MenuGrid` (`SankhyaCMS/SankhyaUI/src/components/Menu`):\nsame markup (`.menu-grid-container` > `.menu-grid.columns-N`), gap and breakpoints (768px: 2–4\ncolumns → 2; 480px: everything → 1; a 1-column grid stays 1).",
|
|
4379
4422
|
"name": "MenuGrid",
|
|
4380
4423
|
"members": [
|
|
4381
4424
|
{
|
|
@@ -4395,7 +4438,7 @@
|
|
|
4395
4438
|
"text": "string"
|
|
4396
4439
|
},
|
|
4397
4440
|
"default": "''",
|
|
4398
|
-
"description": "Extra class(es) appended to the inner grid element — the source component's `gridClassName`.\
|
|
4441
|
+
"description": "Extra class(es) appended to the inner grid element — the source component's `gridClassName`.\nIts outer `className` is the host element itself here: set a `class` attribute on `st-menu-grid`.",
|
|
4399
4442
|
"attribute": "grid-class-name"
|
|
4400
4443
|
}
|
|
4401
4444
|
],
|
|
@@ -4415,7 +4458,7 @@
|
|
|
4415
4458
|
"text": "string"
|
|
4416
4459
|
},
|
|
4417
4460
|
"default": "''",
|
|
4418
|
-
"description": "Extra class(es) appended to the inner grid element — the source component's `gridClassName`.\
|
|
4461
|
+
"description": "Extra class(es) appended to the inner grid element — the source component's `gridClassName`.\nIts outer `className` is the host element itself here: set a `class` attribute on `st-menu-grid`.",
|
|
4419
4462
|
"fieldName": "gridClassName"
|
|
4420
4463
|
}
|
|
4421
4464
|
],
|
|
@@ -4448,12 +4491,12 @@
|
|
|
4448
4491
|
},
|
|
4449
4492
|
{
|
|
4450
4493
|
"kind": "javascript-module",
|
|
4451
|
-
"path": "src/menu-item/
|
|
4494
|
+
"path": "src/menu-grid-item/MenuGridItem.ts",
|
|
4452
4495
|
"declarations": [
|
|
4453
4496
|
{
|
|
4454
4497
|
"kind": "class",
|
|
4455
|
-
"description": "
|
|
4456
|
-
"name": "
|
|
4498
|
+
"description": "One entry in an `st-menu-grid` — icon (via `slot=\"icon\"`) + title on one line, an optional\ndescription below, and an optional corner badge (\"New\", \"Popular\", ...). A 1:1 port of\n`SankhyaUI`'s React `MenuGridItem` (`SankhyaCMS/SankhyaUI/src/components/Menu`): same markup and\nCSS, with its `motion` effects redone in CSS — fades up the first time it scrolls into view,\nscales to 1.02 on hover / 0.98 while pressed, the icon tilts on hover, the badge pops in.\nColors come from the suite theme rather than per-item utility classes.\n\nAn `http(s)` `href` opens in a new tab, like the source. Any other `href` fires a *cancelable*\n`menu-grid-item-select` event (detail: `{ href }`) first: a host doing client-side routing calls\n`event.preventDefault()` on it, which also cancels the anchor's own navigation (the source used\nreact-router's `Link` here; the suite apps have no router).",
|
|
4499
|
+
"name": "MenuGridItem",
|
|
4457
4500
|
"members": [
|
|
4458
4501
|
{
|
|
4459
4502
|
"kind": "field",
|
|
@@ -4476,21 +4519,21 @@
|
|
|
4476
4519
|
},
|
|
4477
4520
|
{
|
|
4478
4521
|
"kind": "field",
|
|
4479
|
-
"name": "
|
|
4522
|
+
"name": "description",
|
|
4480
4523
|
"type": {
|
|
4481
4524
|
"text": "string"
|
|
4482
4525
|
},
|
|
4483
4526
|
"default": "''",
|
|
4484
|
-
"attribute": "
|
|
4527
|
+
"attribute": "description"
|
|
4485
4528
|
},
|
|
4486
4529
|
{
|
|
4487
4530
|
"kind": "field",
|
|
4488
|
-
"name": "
|
|
4531
|
+
"name": "href",
|
|
4489
4532
|
"type": {
|
|
4490
4533
|
"text": "string"
|
|
4491
4534
|
},
|
|
4492
4535
|
"default": "''",
|
|
4493
|
-
"attribute": "
|
|
4536
|
+
"attribute": "href"
|
|
4494
4537
|
},
|
|
4495
4538
|
{
|
|
4496
4539
|
"kind": "field",
|
|
@@ -4499,20 +4542,9 @@
|
|
|
4499
4542
|
"text": "string"
|
|
4500
4543
|
},
|
|
4501
4544
|
"default": "''",
|
|
4502
|
-
"description": "Small
|
|
4545
|
+
"description": "Small corner label, e.g. \"New\"/\"Beta\" — omit for none.",
|
|
4503
4546
|
"attribute": "badge"
|
|
4504
4547
|
},
|
|
4505
|
-
{
|
|
4506
|
-
"kind": "field",
|
|
4507
|
-
"name": "active",
|
|
4508
|
-
"type": {
|
|
4509
|
-
"text": "boolean"
|
|
4510
|
-
},
|
|
4511
|
-
"default": "false",
|
|
4512
|
-
"description": "Highlights this row as the current page (source: `isActive`).",
|
|
4513
|
-
"attribute": "active",
|
|
4514
|
-
"reflects": true
|
|
4515
|
-
},
|
|
4516
4548
|
{
|
|
4517
4549
|
"kind": "field",
|
|
4518
4550
|
"name": "compact",
|
|
@@ -4535,40 +4567,46 @@
|
|
|
4535
4567
|
},
|
|
4536
4568
|
{
|
|
4537
4569
|
"kind": "field",
|
|
4538
|
-
"name": "
|
|
4570
|
+
"name": "hasIcon",
|
|
4539
4571
|
"type": {
|
|
4540
|
-
"text": "
|
|
4572
|
+
"text": "boolean"
|
|
4541
4573
|
},
|
|
4542
|
-
"
|
|
4543
|
-
"
|
|
4544
|
-
"
|
|
4574
|
+
"privacy": "private",
|
|
4575
|
+
"default": "false",
|
|
4576
|
+
"description": "Whether `slot=\"icon\"` has content, so an omitted icon leaves no empty box."
|
|
4545
4577
|
},
|
|
4546
4578
|
{
|
|
4547
4579
|
"kind": "field",
|
|
4548
|
-
"name": "
|
|
4580
|
+
"name": "pending",
|
|
4549
4581
|
"type": {
|
|
4550
|
-
"text": "
|
|
4582
|
+
"text": "boolean"
|
|
4551
4583
|
},
|
|
4552
|
-
"
|
|
4553
|
-
"
|
|
4554
|
-
"
|
|
4555
|
-
"reflects": true
|
|
4584
|
+
"privacy": "private",
|
|
4585
|
+
"default": "true",
|
|
4586
|
+
"description": "True until the item first scrolls into view (the source's `whileInView ... once`)."
|
|
4556
4587
|
},
|
|
4557
4588
|
{
|
|
4558
4589
|
"kind": "field",
|
|
4559
|
-
"name": "
|
|
4590
|
+
"name": "observer",
|
|
4560
4591
|
"type": {
|
|
4561
|
-
"text": "
|
|
4592
|
+
"text": "IntersectionObserver | undefined"
|
|
4562
4593
|
},
|
|
4563
|
-
"privacy": "private"
|
|
4564
|
-
"default": "false",
|
|
4565
|
-
"description": "Whether `slot=\"icon\"` has content, so an omitted icon leaves no empty box."
|
|
4594
|
+
"privacy": "private"
|
|
4566
4595
|
},
|
|
4567
4596
|
{
|
|
4568
4597
|
"kind": "field",
|
|
4569
4598
|
"name": "onIconSlotChange",
|
|
4570
4599
|
"privacy": "private"
|
|
4571
4600
|
},
|
|
4601
|
+
{
|
|
4602
|
+
"kind": "field",
|
|
4603
|
+
"name": "isExternal",
|
|
4604
|
+
"type": {
|
|
4605
|
+
"text": "boolean"
|
|
4606
|
+
},
|
|
4607
|
+
"privacy": "private",
|
|
4608
|
+
"readonly": true
|
|
4609
|
+
},
|
|
4572
4610
|
{
|
|
4573
4611
|
"kind": "field",
|
|
4574
4612
|
"name": "onClick",
|
|
@@ -4585,20 +4623,20 @@
|
|
|
4585
4623
|
"fieldName": "title"
|
|
4586
4624
|
},
|
|
4587
4625
|
{
|
|
4588
|
-
"name": "
|
|
4626
|
+
"name": "description",
|
|
4589
4627
|
"type": {
|
|
4590
4628
|
"text": "string"
|
|
4591
4629
|
},
|
|
4592
4630
|
"default": "''",
|
|
4593
|
-
"fieldName": "
|
|
4631
|
+
"fieldName": "description"
|
|
4594
4632
|
},
|
|
4595
4633
|
{
|
|
4596
|
-
"name": "
|
|
4634
|
+
"name": "href",
|
|
4597
4635
|
"type": {
|
|
4598
4636
|
"text": "string"
|
|
4599
4637
|
},
|
|
4600
4638
|
"default": "''",
|
|
4601
|
-
"fieldName": "
|
|
4639
|
+
"fieldName": "href"
|
|
4602
4640
|
},
|
|
4603
4641
|
{
|
|
4604
4642
|
"name": "badge",
|
|
@@ -4606,18 +4644,9 @@
|
|
|
4606
4644
|
"text": "string"
|
|
4607
4645
|
},
|
|
4608
4646
|
"default": "''",
|
|
4609
|
-
"description": "Small
|
|
4647
|
+
"description": "Small corner label, e.g. \"New\"/\"Beta\" — omit for none.",
|
|
4610
4648
|
"fieldName": "badge"
|
|
4611
4649
|
},
|
|
4612
|
-
{
|
|
4613
|
-
"name": "active",
|
|
4614
|
-
"type": {
|
|
4615
|
-
"text": "boolean"
|
|
4616
|
-
},
|
|
4617
|
-
"default": "false",
|
|
4618
|
-
"description": "Highlights this row as the current page (source: `isActive`).",
|
|
4619
|
-
"fieldName": "active"
|
|
4620
|
-
},
|
|
4621
4650
|
{
|
|
4622
4651
|
"name": "compact",
|
|
4623
4652
|
"type": {
|
|
@@ -4634,61 +4663,55 @@
|
|
|
4634
4663
|
"default": "true",
|
|
4635
4664
|
"description": "Suppresses the description even when `description` is set (source: `showDescription`, default `true`).",
|
|
4636
4665
|
"fieldName": "showDescription"
|
|
4637
|
-
},
|
|
4638
|
-
{
|
|
4639
|
-
"name": "target",
|
|
4640
|
-
"type": {
|
|
4641
|
-
"text": "string"
|
|
4642
|
-
},
|
|
4643
|
-
"default": "'_self'",
|
|
4644
|
-
"description": "`target` for the `<a>` (source default `_self`).",
|
|
4645
|
-
"fieldName": "target"
|
|
4646
|
-
},
|
|
4647
|
-
{
|
|
4648
|
-
"name": "variant",
|
|
4649
|
-
"type": {
|
|
4650
|
-
"text": "'default' | 'link' | 'bar'"
|
|
4651
|
-
},
|
|
4652
|
-
"default": "'default'",
|
|
4653
|
-
"description": "`default` (a row with a hover box), `link` (a plain text link, as in `st-mega-menu-column`;\r\nmarked with an arrow when it opens a new tab) or `bar` (a top-level item in a header bar,\r\nshaped like a mega `st-dropdown`'s trigger pill so it lines up with the dropdowns beside it).",
|
|
4654
|
-
"fieldName": "variant"
|
|
4655
4666
|
}
|
|
4656
4667
|
],
|
|
4657
4668
|
"superclass": {
|
|
4658
4669
|
"name": "LitElement",
|
|
4659
4670
|
"package": "lit"
|
|
4660
4671
|
},
|
|
4661
|
-
"tagName": "st-menu-item",
|
|
4672
|
+
"tagName": "st-menu-grid-item",
|
|
4662
4673
|
"customElement": true
|
|
4663
4674
|
}
|
|
4664
4675
|
],
|
|
4665
4676
|
"exports": [
|
|
4666
4677
|
{
|
|
4667
4678
|
"kind": "js",
|
|
4668
|
-
"name": "
|
|
4679
|
+
"name": "MenuGridItem",
|
|
4669
4680
|
"declaration": {
|
|
4670
|
-
"name": "
|
|
4671
|
-
"module": "src/menu-item/
|
|
4681
|
+
"name": "MenuGridItem",
|
|
4682
|
+
"module": "src/menu-grid-item/MenuGridItem.ts"
|
|
4672
4683
|
}
|
|
4673
4684
|
},
|
|
4674
4685
|
{
|
|
4675
4686
|
"kind": "custom-element-definition",
|
|
4676
|
-
"name": "st-menu-item",
|
|
4687
|
+
"name": "st-menu-grid-item",
|
|
4677
4688
|
"declaration": {
|
|
4678
|
-
"name": "
|
|
4679
|
-
"module": "src/menu-item/
|
|
4689
|
+
"name": "MenuGridItem",
|
|
4690
|
+
"module": "src/menu-grid-item/MenuGridItem.ts"
|
|
4680
4691
|
}
|
|
4681
4692
|
}
|
|
4682
4693
|
]
|
|
4683
4694
|
},
|
|
4684
4695
|
{
|
|
4685
4696
|
"kind": "javascript-module",
|
|
4686
|
-
"path": "src/menu-
|
|
4697
|
+
"path": "src/menu-item/MenuItem.ts",
|
|
4687
4698
|
"declarations": [
|
|
4688
4699
|
{
|
|
4689
4700
|
"kind": "class",
|
|
4690
|
-
"description": "
|
|
4691
|
-
"name": "
|
|
4701
|
+
"description": "A single flat nav row — icon (`slot=\"icon\"`) + title + badge on one line, an optional\ndescription below — as opposed to `st-menu-grid-item`'s card for a multi-column grid. A 1:1\nport of `SankhyaUI`'s React `MenuItem` (`SankhyaCMS/SankhyaUI/src/components/Menu`): same\nmarkup and CSS, with its `motion` effects redone in CSS — nudges right and scales to 1.01 on\nhover / 0.99 while pressed, the icon tilts on hover, the badge pops in, the description fades\nin. Colors come from the suite theme rather than per-item utility classes.\n\nRenders a real `<a href>` but fires a *cancelable* `menu-item-select` event (detail: `{ href }`)\nbefore navigating — a host doing client-side routing calls `event.preventDefault()` on it (the\nsource used react-router's `Link` here; the suite apps have no router).",
|
|
4702
|
+
"name": "MenuItem",
|
|
4703
|
+
"cssProperties": [
|
|
4704
|
+
{
|
|
4705
|
+
"description": "Width and height of the slotted icon; `icon-size` sets it.",
|
|
4706
|
+
"name": "--st-menu-item-icon-size"
|
|
4707
|
+
}
|
|
4708
|
+
],
|
|
4709
|
+
"slots": [
|
|
4710
|
+
{
|
|
4711
|
+
"description": "The row's icon, sized to `icon-size` (16px, or 14px when `compact`).",
|
|
4712
|
+
"name": "icon"
|
|
4713
|
+
}
|
|
4714
|
+
],
|
|
4692
4715
|
"members": [
|
|
4693
4716
|
{
|
|
4694
4717
|
"kind": "field",
|
|
@@ -4709,6 +4732,15 @@
|
|
|
4709
4732
|
"default": "''",
|
|
4710
4733
|
"attribute": "title"
|
|
4711
4734
|
},
|
|
4735
|
+
{
|
|
4736
|
+
"kind": "field",
|
|
4737
|
+
"name": "href",
|
|
4738
|
+
"type": {
|
|
4739
|
+
"text": "string"
|
|
4740
|
+
},
|
|
4741
|
+
"default": "''",
|
|
4742
|
+
"attribute": "href"
|
|
4743
|
+
},
|
|
4712
4744
|
{
|
|
4713
4745
|
"kind": "field",
|
|
4714
4746
|
"name": "description",
|
|
@@ -4720,22 +4752,24 @@
|
|
|
4720
4752
|
},
|
|
4721
4753
|
{
|
|
4722
4754
|
"kind": "field",
|
|
4723
|
-
"name": "
|
|
4755
|
+
"name": "badge",
|
|
4724
4756
|
"type": {
|
|
4725
4757
|
"text": "string"
|
|
4726
4758
|
},
|
|
4727
4759
|
"default": "''",
|
|
4728
|
-
"
|
|
4760
|
+
"description": "Small trailing label, e.g. a count or \"New\"/\"Beta\" — omit for none.",
|
|
4761
|
+
"attribute": "badge"
|
|
4729
4762
|
},
|
|
4730
4763
|
{
|
|
4731
4764
|
"kind": "field",
|
|
4732
|
-
"name": "
|
|
4765
|
+
"name": "active",
|
|
4733
4766
|
"type": {
|
|
4734
|
-
"text": "
|
|
4767
|
+
"text": "boolean"
|
|
4735
4768
|
},
|
|
4736
|
-
"default": "
|
|
4737
|
-
"description": "
|
|
4738
|
-
"attribute": "
|
|
4769
|
+
"default": "false",
|
|
4770
|
+
"description": "Highlights this row as the current page (source: `isActive`).",
|
|
4771
|
+
"attribute": "active",
|
|
4772
|
+
"reflects": true
|
|
4739
4773
|
},
|
|
4740
4774
|
{
|
|
4741
4775
|
"kind": "field",
|
|
@@ -4759,45 +4793,49 @@
|
|
|
4759
4793
|
},
|
|
4760
4794
|
{
|
|
4761
4795
|
"kind": "field",
|
|
4762
|
-
"name": "
|
|
4796
|
+
"name": "target",
|
|
4763
4797
|
"type": {
|
|
4764
|
-
"text": "
|
|
4798
|
+
"text": "string"
|
|
4765
4799
|
},
|
|
4766
|
-
"
|
|
4767
|
-
"
|
|
4768
|
-
"
|
|
4800
|
+
"default": "'_self'",
|
|
4801
|
+
"description": "`target` for the `<a>` (source default `_self`).",
|
|
4802
|
+
"attribute": "target"
|
|
4769
4803
|
},
|
|
4770
4804
|
{
|
|
4771
4805
|
"kind": "field",
|
|
4772
|
-
"name": "
|
|
4806
|
+
"name": "variant",
|
|
4773
4807
|
"type": {
|
|
4774
|
-
"text": "
|
|
4808
|
+
"text": "'default' | 'link' | 'bar'"
|
|
4775
4809
|
},
|
|
4776
|
-
"
|
|
4777
|
-
"
|
|
4778
|
-
"
|
|
4810
|
+
"default": "'default'",
|
|
4811
|
+
"description": "`default` (a row with a hover box), `link` (a plain text link, as in `st-mega-menu-column`;\nmarked with an arrow when it opens a new tab) or `bar` (a top-level item in a header bar,\nshaped like a mega `st-dropdown`'s trigger pill so it lines up with the dropdowns beside it).",
|
|
4812
|
+
"attribute": "variant",
|
|
4813
|
+
"reflects": true
|
|
4779
4814
|
},
|
|
4780
4815
|
{
|
|
4781
4816
|
"kind": "field",
|
|
4782
|
-
"name": "
|
|
4817
|
+
"name": "iconSize",
|
|
4783
4818
|
"type": {
|
|
4784
|
-
"text": "
|
|
4819
|
+
"text": "string"
|
|
4785
4820
|
},
|
|
4786
|
-
"
|
|
4787
|
-
|
|
4788
|
-
|
|
4789
|
-
"kind": "field",
|
|
4790
|
-
"name": "onIconSlotChange",
|
|
4791
|
-
"privacy": "private"
|
|
4821
|
+
"default": "''",
|
|
4822
|
+
"description": "Size of the slotted icon, any CSS length (e.g. `36px`); empty keeps 16px (14px when `compact`).",
|
|
4823
|
+
"attribute": "icon-size"
|
|
4792
4824
|
},
|
|
4793
4825
|
{
|
|
4794
4826
|
"kind": "field",
|
|
4795
|
-
"name": "
|
|
4827
|
+
"name": "hasIcon",
|
|
4796
4828
|
"type": {
|
|
4797
4829
|
"text": "boolean"
|
|
4798
4830
|
},
|
|
4799
4831
|
"privacy": "private",
|
|
4800
|
-
"
|
|
4832
|
+
"default": "false",
|
|
4833
|
+
"description": "Whether `slot=\"icon\"` has content, so an omitted icon leaves no empty box."
|
|
4834
|
+
},
|
|
4835
|
+
{
|
|
4836
|
+
"kind": "field",
|
|
4837
|
+
"name": "onIconSlotChange",
|
|
4838
|
+
"privacy": "private"
|
|
4801
4839
|
},
|
|
4802
4840
|
{
|
|
4803
4841
|
"kind": "field",
|
|
@@ -4815,20 +4853,20 @@
|
|
|
4815
4853
|
"fieldName": "title"
|
|
4816
4854
|
},
|
|
4817
4855
|
{
|
|
4818
|
-
"name": "
|
|
4856
|
+
"name": "href",
|
|
4819
4857
|
"type": {
|
|
4820
4858
|
"text": "string"
|
|
4821
4859
|
},
|
|
4822
4860
|
"default": "''",
|
|
4823
|
-
"fieldName": "
|
|
4861
|
+
"fieldName": "href"
|
|
4824
4862
|
},
|
|
4825
4863
|
{
|
|
4826
|
-
"name": "
|
|
4864
|
+
"name": "description",
|
|
4827
4865
|
"type": {
|
|
4828
4866
|
"text": "string"
|
|
4829
4867
|
},
|
|
4830
4868
|
"default": "''",
|
|
4831
|
-
"fieldName": "
|
|
4869
|
+
"fieldName": "description"
|
|
4832
4870
|
},
|
|
4833
4871
|
{
|
|
4834
4872
|
"name": "badge",
|
|
@@ -4836,9 +4874,18 @@
|
|
|
4836
4874
|
"text": "string"
|
|
4837
4875
|
},
|
|
4838
4876
|
"default": "''",
|
|
4839
|
-
"description": "Small
|
|
4877
|
+
"description": "Small trailing label, e.g. a count or \"New\"/\"Beta\" — omit for none.",
|
|
4840
4878
|
"fieldName": "badge"
|
|
4841
4879
|
},
|
|
4880
|
+
{
|
|
4881
|
+
"name": "active",
|
|
4882
|
+
"type": {
|
|
4883
|
+
"text": "boolean"
|
|
4884
|
+
},
|
|
4885
|
+
"default": "false",
|
|
4886
|
+
"description": "Highlights this row as the current page (source: `isActive`).",
|
|
4887
|
+
"fieldName": "active"
|
|
4888
|
+
},
|
|
4842
4889
|
{
|
|
4843
4890
|
"name": "compact",
|
|
4844
4891
|
"type": {
|
|
@@ -4855,31 +4902,58 @@
|
|
|
4855
4902
|
"default": "true",
|
|
4856
4903
|
"description": "Suppresses the description even when `description` is set (source: `showDescription`, default `true`).",
|
|
4857
4904
|
"fieldName": "showDescription"
|
|
4905
|
+
},
|
|
4906
|
+
{
|
|
4907
|
+
"name": "target",
|
|
4908
|
+
"type": {
|
|
4909
|
+
"text": "string"
|
|
4910
|
+
},
|
|
4911
|
+
"default": "'_self'",
|
|
4912
|
+
"description": "`target` for the `<a>` (source default `_self`).",
|
|
4913
|
+
"fieldName": "target"
|
|
4914
|
+
},
|
|
4915
|
+
{
|
|
4916
|
+
"name": "variant",
|
|
4917
|
+
"type": {
|
|
4918
|
+
"text": "'default' | 'link' | 'bar'"
|
|
4919
|
+
},
|
|
4920
|
+
"default": "'default'",
|
|
4921
|
+
"description": "`default` (a row with a hover box), `link` (a plain text link, as in `st-mega-menu-column`;\nmarked with an arrow when it opens a new tab) or `bar` (a top-level item in a header bar,\nshaped like a mega `st-dropdown`'s trigger pill so it lines up with the dropdowns beside it).",
|
|
4922
|
+
"fieldName": "variant"
|
|
4923
|
+
},
|
|
4924
|
+
{
|
|
4925
|
+
"name": "icon-size",
|
|
4926
|
+
"type": {
|
|
4927
|
+
"text": "string"
|
|
4928
|
+
},
|
|
4929
|
+
"default": "''",
|
|
4930
|
+
"description": "Size of the slotted icon, any CSS length (e.g. `36px`); empty keeps 16px (14px when `compact`).",
|
|
4931
|
+
"fieldName": "iconSize"
|
|
4858
4932
|
}
|
|
4859
4933
|
],
|
|
4860
4934
|
"superclass": {
|
|
4861
4935
|
"name": "LitElement",
|
|
4862
4936
|
"package": "lit"
|
|
4863
4937
|
},
|
|
4864
|
-
"tagName": "st-menu-
|
|
4938
|
+
"tagName": "st-menu-item",
|
|
4865
4939
|
"customElement": true
|
|
4866
4940
|
}
|
|
4867
4941
|
],
|
|
4868
4942
|
"exports": [
|
|
4869
4943
|
{
|
|
4870
4944
|
"kind": "js",
|
|
4871
|
-
"name": "
|
|
4945
|
+
"name": "MenuItem",
|
|
4872
4946
|
"declaration": {
|
|
4873
|
-
"name": "
|
|
4874
|
-
"module": "src/menu-
|
|
4947
|
+
"name": "MenuItem",
|
|
4948
|
+
"module": "src/menu-item/MenuItem.ts"
|
|
4875
4949
|
}
|
|
4876
4950
|
},
|
|
4877
4951
|
{
|
|
4878
4952
|
"kind": "custom-element-definition",
|
|
4879
|
-
"name": "st-menu-
|
|
4953
|
+
"name": "st-menu-item",
|
|
4880
4954
|
"declaration": {
|
|
4881
|
-
"name": "
|
|
4882
|
-
"module": "src/menu-
|
|
4955
|
+
"name": "MenuItem",
|
|
4956
|
+
"module": "src/menu-item/MenuItem.ts"
|
|
4883
4957
|
}
|
|
4884
4958
|
}
|
|
4885
4959
|
]
|
|
@@ -4890,7 +4964,7 @@
|
|
|
4890
4964
|
"declarations": [
|
|
4891
4965
|
{
|
|
4892
4966
|
"kind": "class",
|
|
4893
|
-
"description": "Rounded call-to-action banner (title, subtitle, one outlined button) on a dark panel or a\
|
|
4967
|
+
"description": "Rounded call-to-action banner (title, subtitle, one outlined button) on a dark panel or a\nbackground image. Port of `SankhyaUI`'s React `PromoBanner`; the button fires an `action` event\n(detail `{ href }`, empty unless set) in place of `onAction`.",
|
|
4894
4968
|
"name": "PromoBanner",
|
|
4895
4969
|
"cssProperties": [
|
|
4896
4970
|
{
|
|
@@ -5263,7 +5337,7 @@
|
|
|
5263
5337
|
"declarations": [
|
|
5264
5338
|
{
|
|
5265
5339
|
"kind": "class",
|
|
5266
|
-
"description": "A fully custom-styled replacement for native `<select>`, used everywhere\
|
|
5340
|
+
"description": "A fully custom-styled replacement for native `<select>`, used everywhere\nthe wizard needs a single-choice dropdown (template source, list, document\nlibrary, admin roles, ...).\n\nBuilt on the CSS Customizable Select API (`appearance: base-select`) —\nstill a real `<select>`/`<option>` element tree, so focus, keyboard\n(arrows/Home/End/typeahead), and ARIA all come from the browser for free,\nbut the trigger (`<button>`/`<selectedcontent>`) and popup\n(`::picker(select)`) are fully styleable instead of OS-rendered. Chromium\nonly for now (Firefox/Safari fall back to an unstyled native `<select>` —\nthe extra `<button>`/`<selectedcontent>` markup is simply not rendered by\nbrowsers that don't support the parsing/CSS additions, so the control\nstill works there, just without the custom look).\n\n`options` intentionally has no \"unselected\" placeholder entry — set\n`value=\"\"` (or any value with no matching option) and it falls back to\nshowing `placeholder` in the trigger instead, letting callers swap the\nplaceholder text dynamically (e.g. \"Select a list\" vs \"Select a list\nfirst\") without needing a synthetic option in the list. Internally this is\na real hidden/disabled `<option value=\"\">`, since a native `<select>`\nalways has *some* option selected.\n\nFires `select-change` (detail: `{ value }`) only when the value actually\nchanges, matching native `<select>`'s `change` event semantics.\n\n`link-href` optionally renders an external-link button in front of\n`field-label` — the same glyph/placement as the \"open library\" links\nplaced next to the Templates/Save-location breadcrumbs — for callers that\nwant a one-click way to open whatever the current selection points at\n(e.g. the SharePoint site or library) in a new tab.",
|
|
5267
5341
|
"name": "Select",
|
|
5268
5342
|
"members": [
|
|
5269
5343
|
{
|
|
@@ -5309,7 +5383,7 @@
|
|
|
5309
5383
|
"text": "string"
|
|
5310
5384
|
},
|
|
5311
5385
|
"default": "''",
|
|
5312
|
-
"description": "Optional URL for an external-link button rendered in front of\
|
|
5386
|
+
"description": "Optional URL for an external-link button rendered in front of\n`field-label` (same glyph/placement as the \"open library\" links next to\nthe Templates/Save-location breadcrumbs) — e.g. a link to the\nSharePoint site or library the current selection points at. Ignored\nwhen `field-label` is empty, since there'd be nothing to place it in\nfront of.",
|
|
5313
5387
|
"attribute": "link-href"
|
|
5314
5388
|
},
|
|
5315
5389
|
{
|
|
@@ -5417,7 +5491,7 @@
|
|
|
5417
5491
|
"text": "string"
|
|
5418
5492
|
},
|
|
5419
5493
|
"default": "''",
|
|
5420
|
-
"description": "Optional URL for an external-link button rendered in front of\
|
|
5494
|
+
"description": "Optional URL for an external-link button rendered in front of\n`field-label` (same glyph/placement as the \"open library\" links next to\nthe Templates/Save-location breadcrumbs) — e.g. a link to the\nSharePoint site or library the current selection points at. Ignored\nwhen `field-label` is empty, since there'd be nothing to place it in\nfront of.",
|
|
5421
5495
|
"fieldName": "linkHref"
|
|
5422
5496
|
},
|
|
5423
5497
|
{
|
|
@@ -5483,6 +5557,77 @@
|
|
|
5483
5557
|
}
|
|
5484
5558
|
]
|
|
5485
5559
|
},
|
|
5560
|
+
{
|
|
5561
|
+
"kind": "javascript-module",
|
|
5562
|
+
"path": "src/stats/Stats.ts",
|
|
5563
|
+
"declarations": [
|
|
5564
|
+
{
|
|
5565
|
+
"kind": "class",
|
|
5566
|
+
"description": "Responsive grid of headline numbers with a label and optional description. Port of React `Stats`.\n`inverted` puts it on the dark band (`--st-cms-band-dark-bg`), which stays dark in the dark theme.",
|
|
5567
|
+
"name": "Stats",
|
|
5568
|
+
"cssProperties": [
|
|
5569
|
+
{
|
|
5570
|
+
"description": "Overrides the block's padding.",
|
|
5571
|
+
"name": "--st-stats-padding"
|
|
5572
|
+
}
|
|
5573
|
+
],
|
|
5574
|
+
"members": [
|
|
5575
|
+
{
|
|
5576
|
+
"kind": "field",
|
|
5577
|
+
"name": "items",
|
|
5578
|
+
"type": {
|
|
5579
|
+
"text": "StatItem[]"
|
|
5580
|
+
},
|
|
5581
|
+
"default": "[]"
|
|
5582
|
+
},
|
|
5583
|
+
{
|
|
5584
|
+
"kind": "field",
|
|
5585
|
+
"name": "inverted",
|
|
5586
|
+
"type": {
|
|
5587
|
+
"text": "boolean"
|
|
5588
|
+
},
|
|
5589
|
+
"default": "false",
|
|
5590
|
+
"attribute": "inverted",
|
|
5591
|
+
"reflects": true
|
|
5592
|
+
}
|
|
5593
|
+
],
|
|
5594
|
+
"attributes": [
|
|
5595
|
+
{
|
|
5596
|
+
"name": "inverted",
|
|
5597
|
+
"type": {
|
|
5598
|
+
"text": "boolean"
|
|
5599
|
+
},
|
|
5600
|
+
"default": "false",
|
|
5601
|
+
"fieldName": "inverted"
|
|
5602
|
+
}
|
|
5603
|
+
],
|
|
5604
|
+
"superclass": {
|
|
5605
|
+
"name": "LitElement",
|
|
5606
|
+
"package": "lit"
|
|
5607
|
+
},
|
|
5608
|
+
"tagName": "st-stats",
|
|
5609
|
+
"customElement": true
|
|
5610
|
+
}
|
|
5611
|
+
],
|
|
5612
|
+
"exports": [
|
|
5613
|
+
{
|
|
5614
|
+
"kind": "js",
|
|
5615
|
+
"name": "Stats",
|
|
5616
|
+
"declaration": {
|
|
5617
|
+
"name": "Stats",
|
|
5618
|
+
"module": "src/stats/Stats.ts"
|
|
5619
|
+
}
|
|
5620
|
+
},
|
|
5621
|
+
{
|
|
5622
|
+
"kind": "custom-element-definition",
|
|
5623
|
+
"name": "st-stats",
|
|
5624
|
+
"declaration": {
|
|
5625
|
+
"name": "Stats",
|
|
5626
|
+
"module": "src/stats/Stats.ts"
|
|
5627
|
+
}
|
|
5628
|
+
}
|
|
5629
|
+
]
|
|
5630
|
+
},
|
|
5486
5631
|
{
|
|
5487
5632
|
"kind": "javascript-module",
|
|
5488
5633
|
"path": "src/testimonials/Testimonials.ts",
|
|
@@ -5794,77 +5939,6 @@
|
|
|
5794
5939
|
}
|
|
5795
5940
|
}
|
|
5796
5941
|
]
|
|
5797
|
-
},
|
|
5798
|
-
{
|
|
5799
|
-
"kind": "javascript-module",
|
|
5800
|
-
"path": "src/stats/Stats.ts",
|
|
5801
|
-
"declarations": [
|
|
5802
|
-
{
|
|
5803
|
-
"kind": "class",
|
|
5804
|
-
"description": "Responsive grid of headline numbers with a label and optional description. Port of React `Stats`.\r\n`inverted` puts it on the dark band (`--st-cms-band-dark-bg`), which stays dark in the dark theme.",
|
|
5805
|
-
"name": "Stats",
|
|
5806
|
-
"cssProperties": [
|
|
5807
|
-
{
|
|
5808
|
-
"description": "Overrides the block's padding.",
|
|
5809
|
-
"name": "--st-stats-padding"
|
|
5810
|
-
}
|
|
5811
|
-
],
|
|
5812
|
-
"members": [
|
|
5813
|
-
{
|
|
5814
|
-
"kind": "field",
|
|
5815
|
-
"name": "items",
|
|
5816
|
-
"type": {
|
|
5817
|
-
"text": "StatItem[]"
|
|
5818
|
-
},
|
|
5819
|
-
"default": "[]"
|
|
5820
|
-
},
|
|
5821
|
-
{
|
|
5822
|
-
"kind": "field",
|
|
5823
|
-
"name": "inverted",
|
|
5824
|
-
"type": {
|
|
5825
|
-
"text": "boolean"
|
|
5826
|
-
},
|
|
5827
|
-
"default": "false",
|
|
5828
|
-
"attribute": "inverted",
|
|
5829
|
-
"reflects": true
|
|
5830
|
-
}
|
|
5831
|
-
],
|
|
5832
|
-
"attributes": [
|
|
5833
|
-
{
|
|
5834
|
-
"name": "inverted",
|
|
5835
|
-
"type": {
|
|
5836
|
-
"text": "boolean"
|
|
5837
|
-
},
|
|
5838
|
-
"default": "false",
|
|
5839
|
-
"fieldName": "inverted"
|
|
5840
|
-
}
|
|
5841
|
-
],
|
|
5842
|
-
"superclass": {
|
|
5843
|
-
"name": "LitElement",
|
|
5844
|
-
"package": "lit"
|
|
5845
|
-
},
|
|
5846
|
-
"tagName": "st-stats",
|
|
5847
|
-
"customElement": true
|
|
5848
|
-
}
|
|
5849
|
-
],
|
|
5850
|
-
"exports": [
|
|
5851
|
-
{
|
|
5852
|
-
"kind": "js",
|
|
5853
|
-
"name": "Stats",
|
|
5854
|
-
"declaration": {
|
|
5855
|
-
"name": "Stats",
|
|
5856
|
-
"module": "src/stats/Stats.ts"
|
|
5857
|
-
}
|
|
5858
|
-
},
|
|
5859
|
-
{
|
|
5860
|
-
"kind": "custom-element-definition",
|
|
5861
|
-
"name": "st-stats",
|
|
5862
|
-
"declaration": {
|
|
5863
|
-
"name": "Stats",
|
|
5864
|
-
"module": "src/stats/Stats.ts"
|
|
5865
|
-
}
|
|
5866
|
-
}
|
|
5867
|
-
]
|
|
5868
5942
|
}
|
|
5869
5943
|
]
|
|
5870
5944
|
}
|