@sankhyatronics/sankhya-cms 0.1.5 → 0.1.7
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 -0
- package/custom-elements.json +654 -610
- package/dist/carousel/index.d.ts +7 -2
- package/dist/carousel/index.js +1 -1
- package/dist/{chunk-KHPJ5FAJ.js → chunk-DQHMJZ6X.js} +35 -1
- package/dist/{chunk-KHPJ5FAJ.js.map → chunk-DQHMJZ6X.js.map} +1 -1
- package/dist/{chunk-47RPYNFG.js → chunk-HPIQSECE.js} +10 -3
- package/dist/chunk-HPIQSECE.js.map +1 -0
- package/dist/{chunk-5MTPMXAQ.js → chunk-IQPW3CYZ.js} +11 -4
- package/dist/chunk-IQPW3CYZ.js.map +1 -0
- package/dist/{chunk-IDBEZY2O.js → chunk-ZRXYWH6C.js} +4 -4
- package/dist/dropdown/index.d.ts +3 -0
- package/dist/dropdown/index.js +1 -1
- package/dist/index.js +25 -25
- package/dist/menu-item/index.d.ts +4 -3
- package/dist/menu-item/index.js +1 -1
- package/dist/testimonials/index.js +2 -2
- package/package.json +12 -14
- package/dist/chunk-47RPYNFG.js.map +0 -1
- package/dist/chunk-5MTPMXAQ.js.map +0 -1
- /package/dist/{chunk-IDBEZY2O.js.map → chunk-ZRXYWH6C.js.map} +0 -0
package/custom-elements.json
CHANGED
|
@@ -255,7 +255,7 @@
|
|
|
255
255
|
"declarations": [
|
|
256
256
|
{
|
|
257
257
|
"kind": "class",
|
|
258
|
-
"description": "Cycles through its slotted children, one visible at a time, with optional autoplay, arrows and\ndot indicators. The incoming slide slides in from the travel direction (CSS keyframes in place\nof the source's framer-motion spring), or fades in with `transition=\"fade\"`. Autoplay pauses\nwhile hovered or focused and stops when the element is disconnected; a paused slide
|
|
258
|
+
"description": "Cycles through its slotted children, one visible at a time, with optional autoplay, arrows and\ndot indicators. The incoming slide slides in from the travel direction (CSS keyframes in place\nof the source's framer-motion spring), or fades in with `transition=\"fade\"`. Autoplay pauses\nwhile hovered (unless `pause-on-hover` is turned off, e.g. for a full-screen hero the pointer\nnearly always rests on) or focused, and stops when the element is disconnected; a paused slide\nkeeps the time it had left.\n\n`indicator-style=\"tabs\"` replaces the dots with a row of labelled tabs along the bottom, each\nwith a progress bar that fills while its slide is showing, plus a pause button — the tabbed hero\ncarousel layout (put `st-hero`s in it). Tab labels come from `tab-labels`, else each slide's\n`data-tab-label` attribute, else its `title`.",
|
|
259
259
|
"name": "Carousel",
|
|
260
260
|
"cssProperties": [
|
|
261
261
|
{
|
|
@@ -301,6 +301,16 @@
|
|
|
301
301
|
"description": "Autoplay delay in milliseconds.",
|
|
302
302
|
"attribute": "interval"
|
|
303
303
|
},
|
|
304
|
+
{
|
|
305
|
+
"kind": "field",
|
|
306
|
+
"name": "pauseOnHover",
|
|
307
|
+
"type": {
|
|
308
|
+
"text": "boolean"
|
|
309
|
+
},
|
|
310
|
+
"default": "true",
|
|
311
|
+
"description": "Pause autoplay while the pointer is over the carousel. Turn off for a hero that fills the\nscreen; the tabs' pause button and keyboard focus still pause it.",
|
|
312
|
+
"attribute": "pause-on-hover"
|
|
313
|
+
},
|
|
304
314
|
{
|
|
305
315
|
"kind": "field",
|
|
306
316
|
"name": "showArrows",
|
|
@@ -452,6 +462,11 @@
|
|
|
452
462
|
"name": "pause",
|
|
453
463
|
"privacy": "private"
|
|
454
464
|
},
|
|
465
|
+
{
|
|
466
|
+
"kind": "field",
|
|
467
|
+
"name": "pauseOnEnter",
|
|
468
|
+
"privacy": "private"
|
|
469
|
+
},
|
|
455
470
|
{
|
|
456
471
|
"kind": "field",
|
|
457
472
|
"name": "resume",
|
|
@@ -584,6 +599,15 @@
|
|
|
584
599
|
"description": "Autoplay delay in milliseconds.",
|
|
585
600
|
"fieldName": "interval"
|
|
586
601
|
},
|
|
602
|
+
{
|
|
603
|
+
"name": "pause-on-hover",
|
|
604
|
+
"type": {
|
|
605
|
+
"text": "boolean"
|
|
606
|
+
},
|
|
607
|
+
"default": "true",
|
|
608
|
+
"description": "Pause autoplay while the pointer is over the carousel. Turn off for a hero that fills the\nscreen; the tabs' pause button and keyboard focus still pause it.",
|
|
609
|
+
"fieldName": "pauseOnHover"
|
|
610
|
+
},
|
|
587
611
|
{
|
|
588
612
|
"name": "show-arrows",
|
|
589
613
|
"type": {
|
|
@@ -1212,6 +1236,17 @@
|
|
|
1212
1236
|
"attribute": "mega",
|
|
1213
1237
|
"reflects": true
|
|
1214
1238
|
},
|
|
1239
|
+
{
|
|
1240
|
+
"kind": "field",
|
|
1241
|
+
"name": "bar",
|
|
1242
|
+
"type": {
|
|
1243
|
+
"text": "boolean"
|
|
1244
|
+
},
|
|
1245
|
+
"default": "false",
|
|
1246
|
+
"description": "Styles a non-`mega` trigger like a mega one — a pill that turns solid accent while open — so\r\na plain dropdown (e.g. \"+ New\") lines up with mega triggers in the same header bar.",
|
|
1247
|
+
"attribute": "bar",
|
|
1248
|
+
"reflects": true
|
|
1249
|
+
},
|
|
1215
1250
|
{
|
|
1216
1251
|
"kind": "field",
|
|
1217
1252
|
"name": "openOnHover",
|
|
@@ -1549,6 +1584,15 @@
|
|
|
1549
1584
|
"description": "Mega-menu panel (okta.com style), typically holding an `st-mega-menu`: the panel spans the\r\nfull width of the nearest positioned ancestor — `st-header` — right under it, instead of\r\nhanging off the trigger. In `st-header`'s hamburger layout (`inline`) it slides in over the\r\nscreen with a Back button rather than opening as an accordion. A click inside the panel only\r\ncloses it when it lands on a link.",
|
|
1550
1585
|
"fieldName": "mega"
|
|
1551
1586
|
},
|
|
1587
|
+
{
|
|
1588
|
+
"name": "bar",
|
|
1589
|
+
"type": {
|
|
1590
|
+
"text": "boolean"
|
|
1591
|
+
},
|
|
1592
|
+
"default": "false",
|
|
1593
|
+
"description": "Styles a non-`mega` trigger like a mega one — a pill that turns solid accent while open — so\r\na plain dropdown (e.g. \"+ New\") lines up with mega triggers in the same header bar.",
|
|
1594
|
+
"fieldName": "bar"
|
|
1595
|
+
},
|
|
1552
1596
|
{
|
|
1553
1597
|
"name": "open-on-hover",
|
|
1554
1598
|
"type": {
|
|
@@ -2083,482 +2127,211 @@
|
|
|
2083
2127
|
},
|
|
2084
2128
|
{
|
|
2085
2129
|
"kind": "javascript-module",
|
|
2086
|
-
"path": "src/
|
|
2130
|
+
"path": "src/header/Header.ts",
|
|
2087
2131
|
"declarations": [
|
|
2088
2132
|
{
|
|
2089
2133
|
"kind": "class",
|
|
2090
|
-
"description": "The
|
|
2091
|
-
"name": "
|
|
2134
|
+
"description": "The app-shell header bar — brand (image + title, or title alone) on the left, a `slot=\"menu\"`\r\nfor primary nav (e.g. `st-dropdown`/`st-menu-grid` mega-menus, or plain links) taking the\r\nmiddle, and a `slot=\"utility\"` for account/app-switcher/theme controls on the right. Ported\r\nfrom `SankhyaUI`'s React `Header` (a separate, unrelated marketing-site project) to this\r\npackage's Lit conventions and this workspace's actual needs — that source component takes an\r\n`imageSrc` logo with no text fallback, but none of this suite's apps has a logo image today, so\r\n`title` is the primary brand prop here and `brand-image-url` is optional, mirroring\r\n`st-app-header`'s own brand/title split (this component's slotted-menu/utility shape is a\r\ndeliberately different, more generic surface than `st-app-header`'s fixed nav-links/user-menu\r\nprops — pick whichever fits a given app's header).\r\n\r\nLayout follows the source's `Header.css`: the menu starts 4rem after the brand, the utility\r\ncontrols sit after a vertical divider, and below `BREAKPOINT_TABLET` (900px here; 768px in the\r\nsource) `menu`/`utility` collapse behind a hamburger toggle into a full-screen layer under the\r\ntoggle (closes on Escape or a click inside it), where the menu's `st-dropdown`s are switched to\r\n`inline` so they open in the flow — the same two slotted elements just get repositioned by CSS\r\n(`.mobile-panel`'s `display: contents` at desktop width vs. a real fixed-position box below\r\n`BREAKPOINT_TABLET`), rather than the slots being duplicated in the template, since a shadow\r\nroot can only ever assign a given light-DOM child to the *first* slot of a given name.\r\n\r\nAlso carries an optional built-in language switcher (`languages`/`currentLanguageCode`, fires\r\n`language-change`) — ported from `st-app-header`'s own implementation verbatim rather than\r\nrebuilt, since the source `Header`'s reference story shows an equivalent flag/language `Select`\r\nas a first-class header utility. Hidden entirely when `languages` has fewer than two entries.\r\nThis component has no translation logic itself; the consuming app owns what a language `code`\r\nmeans and which content it re-renders in response.",
|
|
2135
|
+
"name": "Header",
|
|
2092
2136
|
"members": [
|
|
2093
2137
|
{
|
|
2094
2138
|
"kind": "field",
|
|
2095
|
-
"name": "
|
|
2096
|
-
"type": {
|
|
2097
|
-
"text": "boolean"
|
|
2098
|
-
},
|
|
2099
|
-
"default": "false",
|
|
2100
|
-
"description": "Inverts the footer's color roles (light-on-dark instead of dark-on-light) — matches the\r\nsource component's `inverted` (from its shared `BaseProps`), same as `st-header`'s.",
|
|
2101
|
-
"attribute": "inverted",
|
|
2102
|
-
"reflects": true
|
|
2103
|
-
},
|
|
2104
|
-
{
|
|
2105
|
-
"kind": "field",
|
|
2106
|
-
"name": "companyName",
|
|
2139
|
+
"name": "title",
|
|
2107
2140
|
"type": {
|
|
2108
2141
|
"text": "string"
|
|
2109
2142
|
},
|
|
2110
2143
|
"default": "''",
|
|
2111
|
-
"
|
|
2112
|
-
"attribute": "company-name"
|
|
2144
|
+
"attribute": "title"
|
|
2113
2145
|
},
|
|
2114
2146
|
{
|
|
2115
2147
|
"kind": "field",
|
|
2116
|
-
"name": "
|
|
2148
|
+
"name": "brandImageUrl",
|
|
2117
2149
|
"type": {
|
|
2118
2150
|
"text": "string"
|
|
2119
2151
|
},
|
|
2120
2152
|
"default": "''",
|
|
2121
|
-
"description": "
|
|
2122
|
-
"attribute": "
|
|
2153
|
+
"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).",
|
|
2154
|
+
"attribute": "brand-image-url"
|
|
2123
2155
|
},
|
|
2124
2156
|
{
|
|
2125
2157
|
"kind": "field",
|
|
2126
|
-
"name": "
|
|
2158
|
+
"name": "altText",
|
|
2127
2159
|
"type": {
|
|
2128
2160
|
"text": "string"
|
|
2129
2161
|
},
|
|
2130
|
-
"default": "''",
|
|
2131
|
-
"
|
|
2162
|
+
"default": "'Logo'",
|
|
2163
|
+
"description": "`alt` text for the brand image — matches the source component's `altText` (default `'Logo'`).",
|
|
2164
|
+
"attribute": "alt-text"
|
|
2132
2165
|
},
|
|
2133
2166
|
{
|
|
2134
2167
|
"kind": "field",
|
|
2135
|
-
"name": "
|
|
2168
|
+
"name": "logoHref",
|
|
2136
2169
|
"type": {
|
|
2137
2170
|
"text": "string"
|
|
2138
2171
|
},
|
|
2139
2172
|
"default": "''",
|
|
2140
|
-
"
|
|
2173
|
+
"description": "Wraps the brand in an `<a>` when set (e.g. `/`); a plain non-link `<div>` otherwise.",
|
|
2174
|
+
"attribute": "logoHref"
|
|
2141
2175
|
},
|
|
2142
2176
|
{
|
|
2143
2177
|
"kind": "field",
|
|
2144
|
-
"name": "
|
|
2178
|
+
"name": "logoTarget",
|
|
2145
2179
|
"type": {
|
|
2146
2180
|
"text": "string"
|
|
2147
2181
|
},
|
|
2148
|
-
"default": "''",
|
|
2149
|
-
"description": "
|
|
2150
|
-
"attribute": "
|
|
2182
|
+
"default": "'_self'",
|
|
2183
|
+
"description": "`target` for the brand `<a>` — matches the source component's `logoTarget` (default `_self`). No effect when `logoHref` isn't set.",
|
|
2184
|
+
"attribute": "logo-target"
|
|
2151
2185
|
},
|
|
2152
2186
|
{
|
|
2153
2187
|
"kind": "field",
|
|
2154
|
-
"name": "
|
|
2188
|
+
"name": "logoClassName",
|
|
2155
2189
|
"type": {
|
|
2156
2190
|
"text": "string"
|
|
2157
2191
|
},
|
|
2158
2192
|
"default": "''",
|
|
2159
|
-
"description": "
|
|
2160
|
-
"attribute": "
|
|
2193
|
+
"description": "Extra class(es) appended to the brand link/div — matches the source component's `logoClassName`.",
|
|
2194
|
+
"attribute": "logo-class-name"
|
|
2161
2195
|
},
|
|
2162
2196
|
{
|
|
2163
2197
|
"kind": "field",
|
|
2164
|
-
"name": "
|
|
2198
|
+
"name": "inverted",
|
|
2165
2199
|
"type": {
|
|
2166
|
-
"text": "
|
|
2200
|
+
"text": "boolean"
|
|
2167
2201
|
},
|
|
2168
|
-
"default": "
|
|
2169
|
-
"description": "
|
|
2170
|
-
"attribute": "
|
|
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
|
|
2171
2206
|
},
|
|
2172
2207
|
{
|
|
2173
2208
|
"kind": "field",
|
|
2174
|
-
"name": "
|
|
2209
|
+
"name": "sticky",
|
|
2175
2210
|
"type": {
|
|
2176
|
-
"text": "
|
|
2211
|
+
"text": "boolean"
|
|
2177
2212
|
},
|
|
2178
|
-
"default": "
|
|
2179
|
-
"
|
|
2213
|
+
"default": "false",
|
|
2214
|
+
"attribute": "sticky",
|
|
2215
|
+
"reflects": true
|
|
2180
2216
|
},
|
|
2181
2217
|
{
|
|
2182
2218
|
"kind": "field",
|
|
2183
|
-
"name": "
|
|
2219
|
+
"name": "transparent",
|
|
2184
2220
|
"type": {
|
|
2185
|
-
"text": "
|
|
2221
|
+
"text": "boolean"
|
|
2186
2222
|
},
|
|
2187
|
-
"default": "
|
|
2188
|
-
"description": "
|
|
2223
|
+
"default": "false",
|
|
2224
|
+
"description": "Fixes the header over the top of the page and makes it see-through, with light text\r\n(`--st-header-transparent-color`), until the page scrolls past `scroll-threshold` — for a\r\nheader laid over a dark hero. It then takes its normal background and a shadow. The page\r\ncontent starts under it, so the first section should leave room for the 64px bar.",
|
|
2225
|
+
"attribute": "transparent",
|
|
2226
|
+
"reflects": true
|
|
2189
2227
|
},
|
|
2190
2228
|
{
|
|
2191
2229
|
"kind": "field",
|
|
2192
|
-
"name": "
|
|
2230
|
+
"name": "hideOnScroll",
|
|
2193
2231
|
"type": {
|
|
2194
2232
|
"text": "boolean"
|
|
2195
2233
|
},
|
|
2196
|
-
"
|
|
2197
|
-
"
|
|
2234
|
+
"default": "false",
|
|
2235
|
+
"description": "Slides the header out of view while the page scrolls down and back in when it scrolls up.",
|
|
2236
|
+
"attribute": "hide-on-scroll",
|
|
2237
|
+
"reflects": true
|
|
2198
2238
|
},
|
|
2199
2239
|
{
|
|
2200
2240
|
"kind": "field",
|
|
2201
|
-
"name": "
|
|
2241
|
+
"name": "scrollThreshold",
|
|
2202
2242
|
"type": {
|
|
2203
|
-
"text": "
|
|
2243
|
+
"text": "number"
|
|
2204
2244
|
},
|
|
2205
|
-
"
|
|
2206
|
-
"
|
|
2245
|
+
"default": "8",
|
|
2246
|
+
"description": "Scroll distance in px after which the header counts as `scrolled`.",
|
|
2247
|
+
"attribute": "scroll-threshold"
|
|
2207
2248
|
},
|
|
2208
2249
|
{
|
|
2209
|
-
"kind": "
|
|
2210
|
-
"name": "
|
|
2211
|
-
"
|
|
2212
|
-
|
|
2213
|
-
"type": {
|
|
2214
|
-
"text": "void"
|
|
2215
|
-
}
|
|
2250
|
+
"kind": "field",
|
|
2251
|
+
"name": "scrolled",
|
|
2252
|
+
"type": {
|
|
2253
|
+
"text": "boolean"
|
|
2216
2254
|
},
|
|
2217
|
-
"
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
"text": "MouseEvent"
|
|
2222
|
-
}
|
|
2223
|
-
},
|
|
2224
|
-
{
|
|
2225
|
-
"name": "href",
|
|
2226
|
-
"type": {
|
|
2227
|
-
"text": "string"
|
|
2228
|
-
}
|
|
2229
|
-
}
|
|
2230
|
-
]
|
|
2231
|
-
},
|
|
2232
|
-
{
|
|
2233
|
-
"kind": "method",
|
|
2234
|
-
"name": "renderLink",
|
|
2235
|
-
"privacy": "private",
|
|
2236
|
-
"parameters": [
|
|
2237
|
-
{
|
|
2238
|
-
"name": "link",
|
|
2239
|
-
"type": {
|
|
2240
|
-
"text": "FooterLink"
|
|
2241
|
-
}
|
|
2242
|
-
}
|
|
2243
|
-
]
|
|
2244
|
-
},
|
|
2245
|
-
{
|
|
2246
|
-
"kind": "method",
|
|
2247
|
-
"name": "renderPoweredBy",
|
|
2248
|
-
"privacy": "private"
|
|
2255
|
+
"default": "false",
|
|
2256
|
+
"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.",
|
|
2257
|
+
"attribute": "scrolled",
|
|
2258
|
+
"reflects": true
|
|
2249
2259
|
},
|
|
2250
2260
|
{
|
|
2251
|
-
"kind": "
|
|
2252
|
-
"name": "
|
|
2253
|
-
"privacy": "private"
|
|
2254
|
-
}
|
|
2255
|
-
],
|
|
2256
|
-
"attributes": [
|
|
2257
|
-
{
|
|
2258
|
-
"name": "inverted",
|
|
2261
|
+
"kind": "field",
|
|
2262
|
+
"name": "scrollHidden",
|
|
2259
2263
|
"type": {
|
|
2260
2264
|
"text": "boolean"
|
|
2261
2265
|
},
|
|
2262
2266
|
"default": "false",
|
|
2263
|
-
"description": "
|
|
2264
|
-
"
|
|
2267
|
+
"description": "True while `hide-on-scroll` has slid the header away. Set by the header, never from outside.",
|
|
2268
|
+
"attribute": "scroll-hidden",
|
|
2269
|
+
"reflects": true
|
|
2265
2270
|
},
|
|
2266
2271
|
{
|
|
2267
|
-
"
|
|
2272
|
+
"kind": "field",
|
|
2273
|
+
"name": "lastScrollY",
|
|
2268
2274
|
"type": {
|
|
2269
|
-
"text": "
|
|
2275
|
+
"text": "number"
|
|
2270
2276
|
},
|
|
2271
|
-
"
|
|
2272
|
-
"
|
|
2273
|
-
"fieldName": "companyName"
|
|
2277
|
+
"privacy": "private",
|
|
2278
|
+
"default": "0"
|
|
2274
2279
|
},
|
|
2275
2280
|
{
|
|
2276
|
-
"
|
|
2281
|
+
"kind": "field",
|
|
2282
|
+
"name": "scrollFrame",
|
|
2277
2283
|
"type": {
|
|
2278
|
-
"text": "
|
|
2284
|
+
"text": "number"
|
|
2279
2285
|
},
|
|
2280
|
-
"
|
|
2281
|
-
"
|
|
2282
|
-
"fieldName": "copyright"
|
|
2286
|
+
"privacy": "private",
|
|
2287
|
+
"default": "0"
|
|
2283
2288
|
},
|
|
2284
2289
|
{
|
|
2285
|
-
"
|
|
2290
|
+
"kind": "field",
|
|
2291
|
+
"name": "onScroll",
|
|
2292
|
+
"privacy": "private"
|
|
2293
|
+
},
|
|
2294
|
+
{
|
|
2295
|
+
"kind": "field",
|
|
2296
|
+
"name": "languages",
|
|
2286
2297
|
"type": {
|
|
2287
|
-
"text": "string"
|
|
2298
|
+
"text": "{ code: string; label: string }[]"
|
|
2288
2299
|
},
|
|
2289
|
-
"default": "
|
|
2290
|
-
"
|
|
2300
|
+
"default": "[]",
|
|
2301
|
+
"description": "Language switcher options, e.g. `[{ code: 'en', label: 'English' }, ...]` — hidden entirely\r\nwhen empty or when only one language is offered (same convention as `st-app-header`'s\r\n`languages`, which this reuses verbatim). This component has no translation logic itself —\r\nselecting an option fires `language-change` (detail: `{ code }`), and the consuming app owns\r\nwhat `code` actually means and which content it re-renders."
|
|
2291
2302
|
},
|
|
2292
2303
|
{
|
|
2293
|
-
"
|
|
2304
|
+
"kind": "field",
|
|
2305
|
+
"name": "currentLanguageCode",
|
|
2294
2306
|
"type": {
|
|
2295
2307
|
"text": "string"
|
|
2296
2308
|
},
|
|
2297
2309
|
"default": "''",
|
|
2298
|
-
"
|
|
2310
|
+
"attribute": "current-language-code"
|
|
2299
2311
|
},
|
|
2300
2312
|
{
|
|
2301
|
-
"
|
|
2313
|
+
"kind": "field",
|
|
2314
|
+
"name": "languageMenuLabel",
|
|
2302
2315
|
"type": {
|
|
2303
2316
|
"text": "string"
|
|
2304
2317
|
},
|
|
2305
|
-
"default": "''",
|
|
2306
|
-
"
|
|
2307
|
-
"fieldName": "version"
|
|
2318
|
+
"default": "'Language'",
|
|
2319
|
+
"attribute": "language-menu-label"
|
|
2308
2320
|
},
|
|
2309
2321
|
{
|
|
2310
|
-
"
|
|
2322
|
+
"kind": "field",
|
|
2323
|
+
"name": "mobileOpen",
|
|
2311
2324
|
"type": {
|
|
2312
|
-
"text": "
|
|
2325
|
+
"text": "boolean"
|
|
2313
2326
|
},
|
|
2314
|
-
"default": "
|
|
2315
|
-
"description": "
|
|
2316
|
-
"
|
|
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
|
|
2317
2331
|
},
|
|
2318
2332
|
{
|
|
2319
|
-
"
|
|
2320
|
-
"
|
|
2321
|
-
"text": "string"
|
|
2322
|
-
},
|
|
2323
|
-
"default": "''",
|
|
2324
|
-
"description": "Short blurb under the logo (site layout).",
|
|
2325
|
-
"fieldName": "description"
|
|
2326
|
-
}
|
|
2327
|
-
],
|
|
2328
|
-
"superclass": {
|
|
2329
|
-
"name": "LitElement",
|
|
2330
|
-
"package": "lit"
|
|
2331
|
-
},
|
|
2332
|
-
"tagName": "st-footer",
|
|
2333
|
-
"customElement": true
|
|
2334
|
-
}
|
|
2335
|
-
],
|
|
2336
|
-
"exports": [
|
|
2337
|
-
{
|
|
2338
|
-
"kind": "js",
|
|
2339
|
-
"name": "Footer",
|
|
2340
|
-
"declaration": {
|
|
2341
|
-
"name": "Footer",
|
|
2342
|
-
"module": "src/footer/Footer.ts"
|
|
2343
|
-
}
|
|
2344
|
-
},
|
|
2345
|
-
{
|
|
2346
|
-
"kind": "custom-element-definition",
|
|
2347
|
-
"name": "st-footer",
|
|
2348
|
-
"declaration": {
|
|
2349
|
-
"name": "Footer",
|
|
2350
|
-
"module": "src/footer/Footer.ts"
|
|
2351
|
-
}
|
|
2352
|
-
}
|
|
2353
|
-
]
|
|
2354
|
-
},
|
|
2355
|
-
{
|
|
2356
|
-
"kind": "javascript-module",
|
|
2357
|
-
"path": "src/header/Header.ts",
|
|
2358
|
-
"declarations": [
|
|
2359
|
-
{
|
|
2360
|
-
"kind": "class",
|
|
2361
|
-
"description": "The app-shell header bar — brand (image + title, or title alone) on the left, a `slot=\"menu\"`\r\nfor primary nav (e.g. `st-dropdown`/`st-menu-grid` mega-menus, or plain links) taking the\r\nmiddle, and a `slot=\"utility\"` for account/app-switcher/theme controls on the right. Ported\r\nfrom `SankhyaUI`'s React `Header` (a separate, unrelated marketing-site project) to this\r\npackage's Lit conventions and this workspace's actual needs — that source component takes an\r\n`imageSrc` logo with no text fallback, but none of this suite's apps has a logo image today, so\r\n`title` is the primary brand prop here and `brand-image-url` is optional, mirroring\r\n`st-app-header`'s own brand/title split (this component's slotted-menu/utility shape is a\r\ndeliberately different, more generic surface than `st-app-header`'s fixed nav-links/user-menu\r\nprops — pick whichever fits a given app's header).\r\n\r\nLayout follows the source's `Header.css`: the menu starts 4rem after the brand, the utility\r\ncontrols sit after a vertical divider, and below `BREAKPOINT_TABLET` (900px here; 768px in the\r\nsource) `menu`/`utility` collapse behind a hamburger toggle into a full-screen layer under the\r\ntoggle (closes on Escape or a click inside it), where the menu's `st-dropdown`s are switched to\r\n`inline` so they open in the flow — the same two slotted elements just get repositioned by CSS\r\n(`.mobile-panel`'s `display: contents` at desktop width vs. a real fixed-position box below\r\n`BREAKPOINT_TABLET`), rather than the slots being duplicated in the template, since a shadow\r\nroot can only ever assign a given light-DOM child to the *first* slot of a given name.\r\n\r\nAlso carries an optional built-in language switcher (`languages`/`currentLanguageCode`, fires\r\n`language-change`) — ported from `st-app-header`'s own implementation verbatim rather than\r\nrebuilt, since the source `Header`'s reference story shows an equivalent flag/language `Select`\r\nas a first-class header utility. Hidden entirely when `languages` has fewer than two entries.\r\nThis component has no translation logic itself; the consuming app owns what a language `code`\r\nmeans and which content it re-renders in response.",
|
|
2362
|
-
"name": "Header",
|
|
2363
|
-
"members": [
|
|
2364
|
-
{
|
|
2365
|
-
"kind": "field",
|
|
2366
|
-
"name": "title",
|
|
2367
|
-
"type": {
|
|
2368
|
-
"text": "string"
|
|
2369
|
-
},
|
|
2370
|
-
"default": "''",
|
|
2371
|
-
"attribute": "title"
|
|
2372
|
-
},
|
|
2373
|
-
{
|
|
2374
|
-
"kind": "field",
|
|
2375
|
-
"name": "brandImageUrl",
|
|
2376
|
-
"type": {
|
|
2377
|
-
"text": "string"
|
|
2378
|
-
},
|
|
2379
|
-
"default": "''",
|
|
2380
|
-
"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).",
|
|
2381
|
-
"attribute": "brand-image-url"
|
|
2382
|
-
},
|
|
2383
|
-
{
|
|
2384
|
-
"kind": "field",
|
|
2385
|
-
"name": "altText",
|
|
2386
|
-
"type": {
|
|
2387
|
-
"text": "string"
|
|
2388
|
-
},
|
|
2389
|
-
"default": "'Logo'",
|
|
2390
|
-
"description": "`alt` text for the brand image — matches the source component's `altText` (default `'Logo'`).",
|
|
2391
|
-
"attribute": "alt-text"
|
|
2392
|
-
},
|
|
2393
|
-
{
|
|
2394
|
-
"kind": "field",
|
|
2395
|
-
"name": "logoHref",
|
|
2396
|
-
"type": {
|
|
2397
|
-
"text": "string"
|
|
2398
|
-
},
|
|
2399
|
-
"default": "''",
|
|
2400
|
-
"description": "Wraps the brand in an `<a>` when set (e.g. `/`); a plain non-link `<div>` otherwise.",
|
|
2401
|
-
"attribute": "logoHref"
|
|
2402
|
-
},
|
|
2403
|
-
{
|
|
2404
|
-
"kind": "field",
|
|
2405
|
-
"name": "logoTarget",
|
|
2406
|
-
"type": {
|
|
2407
|
-
"text": "string"
|
|
2408
|
-
},
|
|
2409
|
-
"default": "'_self'",
|
|
2410
|
-
"description": "`target` for the brand `<a>` — matches the source component's `logoTarget` (default `_self`). No effect when `logoHref` isn't set.",
|
|
2411
|
-
"attribute": "logo-target"
|
|
2412
|
-
},
|
|
2413
|
-
{
|
|
2414
|
-
"kind": "field",
|
|
2415
|
-
"name": "logoClassName",
|
|
2416
|
-
"type": {
|
|
2417
|
-
"text": "string"
|
|
2418
|
-
},
|
|
2419
|
-
"default": "''",
|
|
2420
|
-
"description": "Extra class(es) appended to the brand link/div — matches the source component's `logoClassName`.",
|
|
2421
|
-
"attribute": "logo-class-name"
|
|
2422
|
-
},
|
|
2423
|
-
{
|
|
2424
|
-
"kind": "field",
|
|
2425
|
-
"name": "inverted",
|
|
2426
|
-
"type": {
|
|
2427
|
-
"text": "boolean"
|
|
2428
|
-
},
|
|
2429
|
-
"default": "false",
|
|
2430
|
-
"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`).",
|
|
2431
|
-
"attribute": "inverted",
|
|
2432
|
-
"reflects": true
|
|
2433
|
-
},
|
|
2434
|
-
{
|
|
2435
|
-
"kind": "field",
|
|
2436
|
-
"name": "sticky",
|
|
2437
|
-
"type": {
|
|
2438
|
-
"text": "boolean"
|
|
2439
|
-
},
|
|
2440
|
-
"default": "false",
|
|
2441
|
-
"attribute": "sticky",
|
|
2442
|
-
"reflects": true
|
|
2443
|
-
},
|
|
2444
|
-
{
|
|
2445
|
-
"kind": "field",
|
|
2446
|
-
"name": "transparent",
|
|
2447
|
-
"type": {
|
|
2448
|
-
"text": "boolean"
|
|
2449
|
-
},
|
|
2450
|
-
"default": "false",
|
|
2451
|
-
"description": "Fixes the header over the top of the page and makes it see-through, with light text\r\n(`--st-header-transparent-color`), until the page scrolls past `scroll-threshold` — for a\r\nheader laid over a dark hero. It then takes its normal background and a shadow. The page\r\ncontent starts under it, so the first section should leave room for the 64px bar.",
|
|
2452
|
-
"attribute": "transparent",
|
|
2453
|
-
"reflects": true
|
|
2454
|
-
},
|
|
2455
|
-
{
|
|
2456
|
-
"kind": "field",
|
|
2457
|
-
"name": "hideOnScroll",
|
|
2458
|
-
"type": {
|
|
2459
|
-
"text": "boolean"
|
|
2460
|
-
},
|
|
2461
|
-
"default": "false",
|
|
2462
|
-
"description": "Slides the header out of view while the page scrolls down and back in when it scrolls up.",
|
|
2463
|
-
"attribute": "hide-on-scroll",
|
|
2464
|
-
"reflects": true
|
|
2465
|
-
},
|
|
2466
|
-
{
|
|
2467
|
-
"kind": "field",
|
|
2468
|
-
"name": "scrollThreshold",
|
|
2469
|
-
"type": {
|
|
2470
|
-
"text": "number"
|
|
2471
|
-
},
|
|
2472
|
-
"default": "8",
|
|
2473
|
-
"description": "Scroll distance in px after which the header counts as `scrolled`.",
|
|
2474
|
-
"attribute": "scroll-threshold"
|
|
2475
|
-
},
|
|
2476
|
-
{
|
|
2477
|
-
"kind": "field",
|
|
2478
|
-
"name": "scrolled",
|
|
2479
|
-
"type": {
|
|
2480
|
-
"text": "boolean"
|
|
2481
|
-
},
|
|
2482
|
-
"default": "false",
|
|
2483
|
-
"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.",
|
|
2484
|
-
"attribute": "scrolled",
|
|
2485
|
-
"reflects": true
|
|
2486
|
-
},
|
|
2487
|
-
{
|
|
2488
|
-
"kind": "field",
|
|
2489
|
-
"name": "scrollHidden",
|
|
2490
|
-
"type": {
|
|
2491
|
-
"text": "boolean"
|
|
2492
|
-
},
|
|
2493
|
-
"default": "false",
|
|
2494
|
-
"description": "True while `hide-on-scroll` has slid the header away. Set by the header, never from outside.",
|
|
2495
|
-
"attribute": "scroll-hidden",
|
|
2496
|
-
"reflects": true
|
|
2497
|
-
},
|
|
2498
|
-
{
|
|
2499
|
-
"kind": "field",
|
|
2500
|
-
"name": "lastScrollY",
|
|
2501
|
-
"type": {
|
|
2502
|
-
"text": "number"
|
|
2503
|
-
},
|
|
2504
|
-
"privacy": "private",
|
|
2505
|
-
"default": "0"
|
|
2506
|
-
},
|
|
2507
|
-
{
|
|
2508
|
-
"kind": "field",
|
|
2509
|
-
"name": "scrollFrame",
|
|
2510
|
-
"type": {
|
|
2511
|
-
"text": "number"
|
|
2512
|
-
},
|
|
2513
|
-
"privacy": "private",
|
|
2514
|
-
"default": "0"
|
|
2515
|
-
},
|
|
2516
|
-
{
|
|
2517
|
-
"kind": "field",
|
|
2518
|
-
"name": "onScroll",
|
|
2519
|
-
"privacy": "private"
|
|
2520
|
-
},
|
|
2521
|
-
{
|
|
2522
|
-
"kind": "field",
|
|
2523
|
-
"name": "languages",
|
|
2524
|
-
"type": {
|
|
2525
|
-
"text": "{ code: string; label: string }[]"
|
|
2526
|
-
},
|
|
2527
|
-
"default": "[]",
|
|
2528
|
-
"description": "Language switcher options, e.g. `[{ code: 'en', label: 'English' }, ...]` — hidden entirely\r\nwhen empty or when only one language is offered (same convention as `st-app-header`'s\r\n`languages`, which this reuses verbatim). This component has no translation logic itself —\r\nselecting an option fires `language-change` (detail: `{ code }`), and the consuming app owns\r\nwhat `code` actually means and which content it re-renders."
|
|
2529
|
-
},
|
|
2530
|
-
{
|
|
2531
|
-
"kind": "field",
|
|
2532
|
-
"name": "currentLanguageCode",
|
|
2533
|
-
"type": {
|
|
2534
|
-
"text": "string"
|
|
2535
|
-
},
|
|
2536
|
-
"default": "''",
|
|
2537
|
-
"attribute": "current-language-code"
|
|
2538
|
-
},
|
|
2539
|
-
{
|
|
2540
|
-
"kind": "field",
|
|
2541
|
-
"name": "languageMenuLabel",
|
|
2542
|
-
"type": {
|
|
2543
|
-
"text": "string"
|
|
2544
|
-
},
|
|
2545
|
-
"default": "'Language'",
|
|
2546
|
-
"attribute": "language-menu-label"
|
|
2547
|
-
},
|
|
2548
|
-
{
|
|
2549
|
-
"kind": "field",
|
|
2550
|
-
"name": "mobileOpen",
|
|
2551
|
-
"type": {
|
|
2552
|
-
"text": "boolean"
|
|
2553
|
-
},
|
|
2554
|
-
"default": "false",
|
|
2555
|
-
"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.",
|
|
2556
|
-
"attribute": "mobile-open",
|
|
2557
|
-
"reflects": true
|
|
2558
|
-
},
|
|
2559
|
-
{
|
|
2560
|
-
"kind": "field",
|
|
2561
|
-
"name": "compact",
|
|
2333
|
+
"kind": "field",
|
|
2334
|
+
"name": "compact",
|
|
2562
2335
|
"type": {
|
|
2563
2336
|
"text": "boolean"
|
|
2564
2337
|
},
|
|
@@ -2767,121 +2540,392 @@
|
|
|
2767
2540
|
"type": {
|
|
2768
2541
|
"text": "boolean"
|
|
2769
2542
|
},
|
|
2770
|
-
"default": "false",
|
|
2771
|
-
"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`).",
|
|
2772
|
-
"fieldName": "inverted"
|
|
2543
|
+
"default": "false",
|
|
2544
|
+
"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`).",
|
|
2545
|
+
"fieldName": "inverted"
|
|
2546
|
+
},
|
|
2547
|
+
{
|
|
2548
|
+
"name": "sticky",
|
|
2549
|
+
"type": {
|
|
2550
|
+
"text": "boolean"
|
|
2551
|
+
},
|
|
2552
|
+
"default": "false",
|
|
2553
|
+
"fieldName": "sticky"
|
|
2554
|
+
},
|
|
2555
|
+
{
|
|
2556
|
+
"name": "transparent",
|
|
2557
|
+
"type": {
|
|
2558
|
+
"text": "boolean"
|
|
2559
|
+
},
|
|
2560
|
+
"default": "false",
|
|
2561
|
+
"description": "Fixes the header over the top of the page and makes it see-through, with light text\r\n(`--st-header-transparent-color`), until the page scrolls past `scroll-threshold` — for a\r\nheader laid over a dark hero. It then takes its normal background and a shadow. The page\r\ncontent starts under it, so the first section should leave room for the 64px bar.",
|
|
2562
|
+
"fieldName": "transparent"
|
|
2563
|
+
},
|
|
2564
|
+
{
|
|
2565
|
+
"name": "hide-on-scroll",
|
|
2566
|
+
"type": {
|
|
2567
|
+
"text": "boolean"
|
|
2568
|
+
},
|
|
2569
|
+
"default": "false",
|
|
2570
|
+
"description": "Slides the header out of view while the page scrolls down and back in when it scrolls up.",
|
|
2571
|
+
"fieldName": "hideOnScroll"
|
|
2572
|
+
},
|
|
2573
|
+
{
|
|
2574
|
+
"name": "scroll-threshold",
|
|
2575
|
+
"type": {
|
|
2576
|
+
"text": "number"
|
|
2577
|
+
},
|
|
2578
|
+
"default": "8",
|
|
2579
|
+
"description": "Scroll distance in px after which the header counts as `scrolled`.",
|
|
2580
|
+
"fieldName": "scrollThreshold"
|
|
2581
|
+
},
|
|
2582
|
+
{
|
|
2583
|
+
"name": "scrolled",
|
|
2584
|
+
"type": {
|
|
2585
|
+
"text": "boolean"
|
|
2586
|
+
},
|
|
2587
|
+
"default": "false",
|
|
2588
|
+
"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
|
+
"fieldName": "scrolled"
|
|
2590
|
+
},
|
|
2591
|
+
{
|
|
2592
|
+
"name": "scroll-hidden",
|
|
2593
|
+
"type": {
|
|
2594
|
+
"text": "boolean"
|
|
2595
|
+
},
|
|
2596
|
+
"default": "false",
|
|
2597
|
+
"description": "True while `hide-on-scroll` has slid the header away. Set by the header, never from outside.",
|
|
2598
|
+
"fieldName": "scrollHidden"
|
|
2599
|
+
},
|
|
2600
|
+
{
|
|
2601
|
+
"name": "current-language-code",
|
|
2602
|
+
"type": {
|
|
2603
|
+
"text": "string"
|
|
2604
|
+
},
|
|
2605
|
+
"default": "''",
|
|
2606
|
+
"fieldName": "currentLanguageCode"
|
|
2607
|
+
},
|
|
2608
|
+
{
|
|
2609
|
+
"name": "language-menu-label",
|
|
2610
|
+
"type": {
|
|
2611
|
+
"text": "string"
|
|
2612
|
+
},
|
|
2613
|
+
"default": "'Language'",
|
|
2614
|
+
"fieldName": "languageMenuLabel"
|
|
2615
|
+
},
|
|
2616
|
+
{
|
|
2617
|
+
"name": "mobile-open",
|
|
2618
|
+
"type": {
|
|
2619
|
+
"text": "boolean"
|
|
2620
|
+
},
|
|
2621
|
+
"default": "false",
|
|
2622
|
+
"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.",
|
|
2623
|
+
"fieldName": "mobileOpen"
|
|
2624
|
+
},
|
|
2625
|
+
{
|
|
2626
|
+
"name": "compact",
|
|
2627
|
+
"type": {
|
|
2628
|
+
"text": "boolean"
|
|
2629
|
+
},
|
|
2630
|
+
"default": "false",
|
|
2631
|
+
"description": "True while the menu doesn't fit the bar at the current width: the header then shows the same\r\nhamburger layout it uses on a narrow screen. Set by `evaluateFit`, never from outside.",
|
|
2632
|
+
"fieldName": "compact"
|
|
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": [
|
|
2671
|
+
{
|
|
2672
|
+
"kind": "field",
|
|
2673
|
+
"name": "inverted",
|
|
2674
|
+
"type": {
|
|
2675
|
+
"text": "boolean"
|
|
2676
|
+
},
|
|
2677
|
+
"default": "false",
|
|
2678
|
+
"description": "Inverts the footer's color roles (light-on-dark instead of dark-on-light) — matches the\r\nsource component's `inverted` (from its shared `BaseProps`), same as `st-header`'s.",
|
|
2679
|
+
"attribute": "inverted",
|
|
2680
|
+
"reflects": true
|
|
2681
|
+
},
|
|
2682
|
+
{
|
|
2683
|
+
"kind": "field",
|
|
2684
|
+
"name": "companyName",
|
|
2685
|
+
"type": {
|
|
2686
|
+
"text": "string"
|
|
2687
|
+
},
|
|
2688
|
+
"default": "''",
|
|
2689
|
+
"description": "Used to build the default `copyright` line (`© {year} {companyName}`) when `copyright` isn't set explicitly.",
|
|
2690
|
+
"attribute": "company-name"
|
|
2691
|
+
},
|
|
2692
|
+
{
|
|
2693
|
+
"kind": "field",
|
|
2694
|
+
"name": "copyright",
|
|
2695
|
+
"type": {
|
|
2696
|
+
"text": "string"
|
|
2697
|
+
},
|
|
2698
|
+
"default": "''",
|
|
2699
|
+
"description": "Overrides the default computed copyright line entirely.",
|
|
2700
|
+
"attribute": "copyright"
|
|
2701
|
+
},
|
|
2702
|
+
{
|
|
2703
|
+
"kind": "field",
|
|
2704
|
+
"name": "poweredBy",
|
|
2705
|
+
"type": {
|
|
2706
|
+
"text": "string"
|
|
2707
|
+
},
|
|
2708
|
+
"default": "''",
|
|
2709
|
+
"attribute": "powered-by"
|
|
2710
|
+
},
|
|
2711
|
+
{
|
|
2712
|
+
"kind": "field",
|
|
2713
|
+
"name": "poweredByLink",
|
|
2714
|
+
"type": {
|
|
2715
|
+
"text": "string"
|
|
2716
|
+
},
|
|
2717
|
+
"default": "''",
|
|
2718
|
+
"attribute": "powered-by-link"
|
|
2719
|
+
},
|
|
2720
|
+
{
|
|
2721
|
+
"kind": "field",
|
|
2722
|
+
"name": "version",
|
|
2723
|
+
"type": {
|
|
2724
|
+
"text": "string"
|
|
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"
|
|
2729
|
+
},
|
|
2730
|
+
{
|
|
2731
|
+
"kind": "field",
|
|
2732
|
+
"name": "imageSrc",
|
|
2733
|
+
"type": {
|
|
2734
|
+
"text": "string"
|
|
2735
|
+
},
|
|
2736
|
+
"default": "''",
|
|
2737
|
+
"description": "Logo shown in the brand block (site layout).",
|
|
2738
|
+
"attribute": "image-src"
|
|
2739
|
+
},
|
|
2740
|
+
{
|
|
2741
|
+
"kind": "field",
|
|
2742
|
+
"name": "description",
|
|
2743
|
+
"type": {
|
|
2744
|
+
"text": "string"
|
|
2745
|
+
},
|
|
2746
|
+
"default": "''",
|
|
2747
|
+
"description": "Short blurb under the logo (site layout).",
|
|
2748
|
+
"attribute": "description"
|
|
2749
|
+
},
|
|
2750
|
+
{
|
|
2751
|
+
"kind": "field",
|
|
2752
|
+
"name": "columns",
|
|
2753
|
+
"type": {
|
|
2754
|
+
"text": "FooterColumn[]"
|
|
2755
|
+
},
|
|
2756
|
+
"default": "[]",
|
|
2757
|
+
"description": "Link columns (site layout)."
|
|
2758
|
+
},
|
|
2759
|
+
{
|
|
2760
|
+
"kind": "field",
|
|
2761
|
+
"name": "socialLinks",
|
|
2762
|
+
"type": {
|
|
2763
|
+
"text": "FooterSocialLink[]"
|
|
2764
|
+
},
|
|
2765
|
+
"default": "[]",
|
|
2766
|
+
"description": "Social icon links under the description (site layout)."
|
|
2767
|
+
},
|
|
2768
|
+
{
|
|
2769
|
+
"kind": "field",
|
|
2770
|
+
"name": "isSite",
|
|
2771
|
+
"type": {
|
|
2772
|
+
"text": "boolean"
|
|
2773
|
+
},
|
|
2774
|
+
"privacy": "private",
|
|
2775
|
+
"readonly": true
|
|
2773
2776
|
},
|
|
2774
2777
|
{
|
|
2775
|
-
"
|
|
2778
|
+
"kind": "field",
|
|
2779
|
+
"name": "resolvedCopyright",
|
|
2776
2780
|
"type": {
|
|
2777
|
-
"text": "
|
|
2781
|
+
"text": "string"
|
|
2778
2782
|
},
|
|
2779
|
-
"
|
|
2780
|
-
"
|
|
2783
|
+
"privacy": "private",
|
|
2784
|
+
"readonly": true
|
|
2781
2785
|
},
|
|
2782
2786
|
{
|
|
2783
|
-
"
|
|
2784
|
-
"
|
|
2785
|
-
|
|
2787
|
+
"kind": "method",
|
|
2788
|
+
"name": "onLinkClick",
|
|
2789
|
+
"privacy": "private",
|
|
2790
|
+
"return": {
|
|
2791
|
+
"type": {
|
|
2792
|
+
"text": "void"
|
|
2793
|
+
}
|
|
2786
2794
|
},
|
|
2787
|
-
"
|
|
2788
|
-
|
|
2789
|
-
|
|
2795
|
+
"parameters": [
|
|
2796
|
+
{
|
|
2797
|
+
"name": "event",
|
|
2798
|
+
"type": {
|
|
2799
|
+
"text": "MouseEvent"
|
|
2800
|
+
}
|
|
2801
|
+
},
|
|
2802
|
+
{
|
|
2803
|
+
"name": "href",
|
|
2804
|
+
"type": {
|
|
2805
|
+
"text": "string"
|
|
2806
|
+
}
|
|
2807
|
+
}
|
|
2808
|
+
]
|
|
2790
2809
|
},
|
|
2791
2810
|
{
|
|
2792
|
-
"
|
|
2811
|
+
"kind": "method",
|
|
2812
|
+
"name": "renderLink",
|
|
2813
|
+
"privacy": "private",
|
|
2814
|
+
"parameters": [
|
|
2815
|
+
{
|
|
2816
|
+
"name": "link",
|
|
2817
|
+
"type": {
|
|
2818
|
+
"text": "FooterLink"
|
|
2819
|
+
}
|
|
2820
|
+
}
|
|
2821
|
+
]
|
|
2822
|
+
},
|
|
2823
|
+
{
|
|
2824
|
+
"kind": "method",
|
|
2825
|
+
"name": "renderPoweredBy",
|
|
2826
|
+
"privacy": "private"
|
|
2827
|
+
},
|
|
2828
|
+
{
|
|
2829
|
+
"kind": "method",
|
|
2830
|
+
"name": "renderSite",
|
|
2831
|
+
"privacy": "private"
|
|
2832
|
+
}
|
|
2833
|
+
],
|
|
2834
|
+
"attributes": [
|
|
2835
|
+
{
|
|
2836
|
+
"name": "inverted",
|
|
2793
2837
|
"type": {
|
|
2794
2838
|
"text": "boolean"
|
|
2795
2839
|
},
|
|
2796
2840
|
"default": "false",
|
|
2797
|
-
"description": "
|
|
2798
|
-
"fieldName": "
|
|
2841
|
+
"description": "Inverts the footer's color roles (light-on-dark instead of dark-on-light) — matches the\r\nsource component's `inverted` (from its shared `BaseProps`), same as `st-header`'s.",
|
|
2842
|
+
"fieldName": "inverted"
|
|
2799
2843
|
},
|
|
2800
2844
|
{
|
|
2801
|
-
"name": "
|
|
2845
|
+
"name": "company-name",
|
|
2802
2846
|
"type": {
|
|
2803
|
-
"text": "
|
|
2847
|
+
"text": "string"
|
|
2804
2848
|
},
|
|
2805
|
-
"default": "
|
|
2806
|
-
"description": "
|
|
2807
|
-
"fieldName": "
|
|
2849
|
+
"default": "''",
|
|
2850
|
+
"description": "Used to build the default `copyright` line (`© {year} {companyName}`) when `copyright` isn't set explicitly.",
|
|
2851
|
+
"fieldName": "companyName"
|
|
2808
2852
|
},
|
|
2809
2853
|
{
|
|
2810
|
-
"name": "
|
|
2854
|
+
"name": "copyright",
|
|
2811
2855
|
"type": {
|
|
2812
|
-
"text": "
|
|
2856
|
+
"text": "string"
|
|
2813
2857
|
},
|
|
2814
|
-
"default": "
|
|
2815
|
-
"description": "
|
|
2816
|
-
"fieldName": "
|
|
2858
|
+
"default": "''",
|
|
2859
|
+
"description": "Overrides the default computed copyright line entirely.",
|
|
2860
|
+
"fieldName": "copyright"
|
|
2817
2861
|
},
|
|
2818
2862
|
{
|
|
2819
|
-
"name": "
|
|
2863
|
+
"name": "powered-by",
|
|
2820
2864
|
"type": {
|
|
2821
|
-
"text": "
|
|
2865
|
+
"text": "string"
|
|
2822
2866
|
},
|
|
2823
|
-
"default": "
|
|
2824
|
-
"
|
|
2825
|
-
"fieldName": "scrollHidden"
|
|
2867
|
+
"default": "''",
|
|
2868
|
+
"fieldName": "poweredBy"
|
|
2826
2869
|
},
|
|
2827
2870
|
{
|
|
2828
|
-
"name": "
|
|
2871
|
+
"name": "powered-by-link",
|
|
2829
2872
|
"type": {
|
|
2830
2873
|
"text": "string"
|
|
2831
2874
|
},
|
|
2832
2875
|
"default": "''",
|
|
2833
|
-
"fieldName": "
|
|
2876
|
+
"fieldName": "poweredByLink"
|
|
2834
2877
|
},
|
|
2835
2878
|
{
|
|
2836
|
-
"name": "
|
|
2879
|
+
"name": "version",
|
|
2837
2880
|
"type": {
|
|
2838
2881
|
"text": "string"
|
|
2839
2882
|
},
|
|
2840
|
-
"default": "'
|
|
2841
|
-
"
|
|
2883
|
+
"default": "''",
|
|
2884
|
+
"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.",
|
|
2885
|
+
"fieldName": "version"
|
|
2842
2886
|
},
|
|
2843
2887
|
{
|
|
2844
|
-
"name": "
|
|
2888
|
+
"name": "image-src",
|
|
2845
2889
|
"type": {
|
|
2846
|
-
"text": "
|
|
2890
|
+
"text": "string"
|
|
2847
2891
|
},
|
|
2848
|
-
"default": "
|
|
2849
|
-
"description": "
|
|
2850
|
-
"fieldName": "
|
|
2892
|
+
"default": "''",
|
|
2893
|
+
"description": "Logo shown in the brand block (site layout).",
|
|
2894
|
+
"fieldName": "imageSrc"
|
|
2851
2895
|
},
|
|
2852
2896
|
{
|
|
2853
|
-
"name": "
|
|
2897
|
+
"name": "description",
|
|
2854
2898
|
"type": {
|
|
2855
|
-
"text": "
|
|
2899
|
+
"text": "string"
|
|
2856
2900
|
},
|
|
2857
|
-
"default": "
|
|
2858
|
-
"description": "
|
|
2859
|
-
"fieldName": "
|
|
2901
|
+
"default": "''",
|
|
2902
|
+
"description": "Short blurb under the logo (site layout).",
|
|
2903
|
+
"fieldName": "description"
|
|
2860
2904
|
}
|
|
2861
2905
|
],
|
|
2862
2906
|
"superclass": {
|
|
2863
2907
|
"name": "LitElement",
|
|
2864
2908
|
"package": "lit"
|
|
2865
2909
|
},
|
|
2866
|
-
"tagName": "st-
|
|
2910
|
+
"tagName": "st-footer",
|
|
2867
2911
|
"customElement": true
|
|
2868
2912
|
}
|
|
2869
2913
|
],
|
|
2870
2914
|
"exports": [
|
|
2871
2915
|
{
|
|
2872
2916
|
"kind": "js",
|
|
2873
|
-
"name": "
|
|
2917
|
+
"name": "Footer",
|
|
2874
2918
|
"declaration": {
|
|
2875
|
-
"name": "
|
|
2876
|
-
"module": "src/
|
|
2919
|
+
"name": "Footer",
|
|
2920
|
+
"module": "src/footer/Footer.ts"
|
|
2877
2921
|
}
|
|
2878
2922
|
},
|
|
2879
2923
|
{
|
|
2880
2924
|
"kind": "custom-element-definition",
|
|
2881
|
-
"name": "st-
|
|
2925
|
+
"name": "st-footer",
|
|
2882
2926
|
"declaration": {
|
|
2883
|
-
"name": "
|
|
2884
|
-
"module": "src/
|
|
2927
|
+
"name": "Footer",
|
|
2928
|
+
"module": "src/footer/Footer.ts"
|
|
2885
2929
|
}
|
|
2886
2930
|
}
|
|
2887
2931
|
]
|
|
@@ -4404,12 +4448,12 @@
|
|
|
4404
4448
|
},
|
|
4405
4449
|
{
|
|
4406
4450
|
"kind": "javascript-module",
|
|
4407
|
-
"path": "src/menu-
|
|
4451
|
+
"path": "src/menu-item/MenuItem.ts",
|
|
4408
4452
|
"declarations": [
|
|
4409
4453
|
{
|
|
4410
4454
|
"kind": "class",
|
|
4411
|
-
"description": "
|
|
4412
|
-
"name": "
|
|
4455
|
+
"description": "A single flat nav row — icon (`slot=\"icon\"`) + title + badge on one line, an optional\r\ndescription below — as opposed to `st-menu-grid-item`'s card for a multi-column grid. A 1:1\r\nport of `SankhyaUI`'s React `MenuItem` (`SankhyaCMS/SankhyaUI/src/components/Menu`): same\r\nmarkup and CSS, with its `motion` effects redone in CSS — nudges right and scales to 1.01 on\r\nhover / 0.99 while pressed, the icon tilts on hover, the badge pops in, the description fades\r\nin. Colors come from the suite theme rather than per-item utility classes.\r\n\r\nRenders a real `<a href>` but fires a *cancelable* `menu-item-select` event (detail: `{ href }`)\r\nbefore navigating — a host doing client-side routing calls `event.preventDefault()` on it (the\r\nsource used react-router's `Link` here; the suite apps have no router).",
|
|
4456
|
+
"name": "MenuItem",
|
|
4413
4457
|
"members": [
|
|
4414
4458
|
{
|
|
4415
4459
|
"kind": "field",
|
|
@@ -4432,21 +4476,21 @@
|
|
|
4432
4476
|
},
|
|
4433
4477
|
{
|
|
4434
4478
|
"kind": "field",
|
|
4435
|
-
"name": "
|
|
4479
|
+
"name": "href",
|
|
4436
4480
|
"type": {
|
|
4437
4481
|
"text": "string"
|
|
4438
4482
|
},
|
|
4439
4483
|
"default": "''",
|
|
4440
|
-
"attribute": "
|
|
4484
|
+
"attribute": "href"
|
|
4441
4485
|
},
|
|
4442
4486
|
{
|
|
4443
4487
|
"kind": "field",
|
|
4444
|
-
"name": "
|
|
4488
|
+
"name": "description",
|
|
4445
4489
|
"type": {
|
|
4446
4490
|
"text": "string"
|
|
4447
4491
|
},
|
|
4448
4492
|
"default": "''",
|
|
4449
|
-
"attribute": "
|
|
4493
|
+
"attribute": "description"
|
|
4450
4494
|
},
|
|
4451
4495
|
{
|
|
4452
4496
|
"kind": "field",
|
|
@@ -4455,9 +4499,20 @@
|
|
|
4455
4499
|
"text": "string"
|
|
4456
4500
|
},
|
|
4457
4501
|
"default": "''",
|
|
4458
|
-
"description": "Small
|
|
4502
|
+
"description": "Small trailing label, e.g. a count or \"New\"/\"Beta\" — omit for none.",
|
|
4459
4503
|
"attribute": "badge"
|
|
4460
4504
|
},
|
|
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
|
+
},
|
|
4461
4516
|
{
|
|
4462
4517
|
"kind": "field",
|
|
4463
4518
|
"name": "compact",
|
|
@@ -4480,46 +4535,40 @@
|
|
|
4480
4535
|
},
|
|
4481
4536
|
{
|
|
4482
4537
|
"kind": "field",
|
|
4483
|
-
"name": "
|
|
4538
|
+
"name": "target",
|
|
4484
4539
|
"type": {
|
|
4485
|
-
"text": "
|
|
4540
|
+
"text": "string"
|
|
4486
4541
|
},
|
|
4487
|
-
"
|
|
4488
|
-
"
|
|
4489
|
-
"
|
|
4542
|
+
"default": "'_self'",
|
|
4543
|
+
"description": "`target` for the `<a>` (source default `_self`).",
|
|
4544
|
+
"attribute": "target"
|
|
4490
4545
|
},
|
|
4491
4546
|
{
|
|
4492
4547
|
"kind": "field",
|
|
4493
|
-
"name": "
|
|
4548
|
+
"name": "variant",
|
|
4494
4549
|
"type": {
|
|
4495
|
-
"text": "
|
|
4550
|
+
"text": "'default' | 'link' | 'bar'"
|
|
4496
4551
|
},
|
|
4497
|
-
"
|
|
4498
|
-
"
|
|
4499
|
-
"
|
|
4552
|
+
"default": "'default'",
|
|
4553
|
+
"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).",
|
|
4554
|
+
"attribute": "variant",
|
|
4555
|
+
"reflects": true
|
|
4500
4556
|
},
|
|
4501
4557
|
{
|
|
4502
4558
|
"kind": "field",
|
|
4503
|
-
"name": "
|
|
4559
|
+
"name": "hasIcon",
|
|
4504
4560
|
"type": {
|
|
4505
|
-
"text": "
|
|
4561
|
+
"text": "boolean"
|
|
4506
4562
|
},
|
|
4507
|
-
"privacy": "private"
|
|
4563
|
+
"privacy": "private",
|
|
4564
|
+
"default": "false",
|
|
4565
|
+
"description": "Whether `slot=\"icon\"` has content, so an omitted icon leaves no empty box."
|
|
4508
4566
|
},
|
|
4509
4567
|
{
|
|
4510
4568
|
"kind": "field",
|
|
4511
4569
|
"name": "onIconSlotChange",
|
|
4512
4570
|
"privacy": "private"
|
|
4513
4571
|
},
|
|
4514
|
-
{
|
|
4515
|
-
"kind": "field",
|
|
4516
|
-
"name": "isExternal",
|
|
4517
|
-
"type": {
|
|
4518
|
-
"text": "boolean"
|
|
4519
|
-
},
|
|
4520
|
-
"privacy": "private",
|
|
4521
|
-
"readonly": true
|
|
4522
|
-
},
|
|
4523
4572
|
{
|
|
4524
4573
|
"kind": "field",
|
|
4525
4574
|
"name": "onClick",
|
|
@@ -4536,20 +4585,20 @@
|
|
|
4536
4585
|
"fieldName": "title"
|
|
4537
4586
|
},
|
|
4538
4587
|
{
|
|
4539
|
-
"name": "
|
|
4588
|
+
"name": "href",
|
|
4540
4589
|
"type": {
|
|
4541
4590
|
"text": "string"
|
|
4542
4591
|
},
|
|
4543
4592
|
"default": "''",
|
|
4544
|
-
"fieldName": "
|
|
4593
|
+
"fieldName": "href"
|
|
4545
4594
|
},
|
|
4546
4595
|
{
|
|
4547
|
-
"name": "
|
|
4596
|
+
"name": "description",
|
|
4548
4597
|
"type": {
|
|
4549
4598
|
"text": "string"
|
|
4550
4599
|
},
|
|
4551
4600
|
"default": "''",
|
|
4552
|
-
"fieldName": "
|
|
4601
|
+
"fieldName": "description"
|
|
4553
4602
|
},
|
|
4554
4603
|
{
|
|
4555
4604
|
"name": "badge",
|
|
@@ -4557,9 +4606,18 @@
|
|
|
4557
4606
|
"text": "string"
|
|
4558
4607
|
},
|
|
4559
4608
|
"default": "''",
|
|
4560
|
-
"description": "Small
|
|
4609
|
+
"description": "Small trailing label, e.g. a count or \"New\"/\"Beta\" — omit for none.",
|
|
4561
4610
|
"fieldName": "badge"
|
|
4562
4611
|
},
|
|
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
|
+
},
|
|
4563
4621
|
{
|
|
4564
4622
|
"name": "compact",
|
|
4565
4623
|
"type": {
|
|
@@ -4576,43 +4634,61 @@
|
|
|
4576
4634
|
"default": "true",
|
|
4577
4635
|
"description": "Suppresses the description even when `description` is set (source: `showDescription`, default `true`).",
|
|
4578
4636
|
"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"
|
|
4579
4655
|
}
|
|
4580
4656
|
],
|
|
4581
4657
|
"superclass": {
|
|
4582
4658
|
"name": "LitElement",
|
|
4583
4659
|
"package": "lit"
|
|
4584
4660
|
},
|
|
4585
|
-
"tagName": "st-menu-
|
|
4661
|
+
"tagName": "st-menu-item",
|
|
4586
4662
|
"customElement": true
|
|
4587
4663
|
}
|
|
4588
4664
|
],
|
|
4589
4665
|
"exports": [
|
|
4590
4666
|
{
|
|
4591
4667
|
"kind": "js",
|
|
4592
|
-
"name": "
|
|
4668
|
+
"name": "MenuItem",
|
|
4593
4669
|
"declaration": {
|
|
4594
|
-
"name": "
|
|
4595
|
-
"module": "src/menu-
|
|
4670
|
+
"name": "MenuItem",
|
|
4671
|
+
"module": "src/menu-item/MenuItem.ts"
|
|
4596
4672
|
}
|
|
4597
4673
|
},
|
|
4598
4674
|
{
|
|
4599
4675
|
"kind": "custom-element-definition",
|
|
4600
|
-
"name": "st-menu-
|
|
4676
|
+
"name": "st-menu-item",
|
|
4601
4677
|
"declaration": {
|
|
4602
|
-
"name": "
|
|
4603
|
-
"module": "src/menu-
|
|
4678
|
+
"name": "MenuItem",
|
|
4679
|
+
"module": "src/menu-item/MenuItem.ts"
|
|
4604
4680
|
}
|
|
4605
4681
|
}
|
|
4606
4682
|
]
|
|
4607
4683
|
},
|
|
4608
4684
|
{
|
|
4609
4685
|
"kind": "javascript-module",
|
|
4610
|
-
"path": "src/menu-item/
|
|
4686
|
+
"path": "src/menu-grid-item/MenuGridItem.ts",
|
|
4611
4687
|
"declarations": [
|
|
4612
4688
|
{
|
|
4613
4689
|
"kind": "class",
|
|
4614
|
-
"description": "
|
|
4615
|
-
"name": "
|
|
4690
|
+
"description": "One entry in an `st-menu-grid` — icon (via `slot=\"icon\"`) + title on one line, an optional\r\ndescription below, and an optional corner badge (\"New\", \"Popular\", ...). A 1:1 port of\r\n`SankhyaUI`'s React `MenuGridItem` (`SankhyaCMS/SankhyaUI/src/components/Menu`): same markup and\r\nCSS, with its `motion` effects redone in CSS — fades up the first time it scrolls into view,\r\nscales to 1.02 on hover / 0.98 while pressed, the icon tilts on hover, the badge pops in.\r\nColors come from the suite theme rather than per-item utility classes.\r\n\r\nAn `http(s)` `href` opens in a new tab, like the source. Any other `href` fires a *cancelable*\r\n`menu-grid-item-select` event (detail: `{ href }`) first: a host doing client-side routing calls\r\n`event.preventDefault()` on it, which also cancels the anchor's own navigation (the source used\r\nreact-router's `Link` here; the suite apps have no router).",
|
|
4691
|
+
"name": "MenuGridItem",
|
|
4616
4692
|
"members": [
|
|
4617
4693
|
{
|
|
4618
4694
|
"kind": "field",
|
|
@@ -4635,21 +4711,21 @@
|
|
|
4635
4711
|
},
|
|
4636
4712
|
{
|
|
4637
4713
|
"kind": "field",
|
|
4638
|
-
"name": "
|
|
4714
|
+
"name": "description",
|
|
4639
4715
|
"type": {
|
|
4640
4716
|
"text": "string"
|
|
4641
4717
|
},
|
|
4642
4718
|
"default": "''",
|
|
4643
|
-
"attribute": "
|
|
4719
|
+
"attribute": "description"
|
|
4644
4720
|
},
|
|
4645
4721
|
{
|
|
4646
4722
|
"kind": "field",
|
|
4647
|
-
"name": "
|
|
4723
|
+
"name": "href",
|
|
4648
4724
|
"type": {
|
|
4649
4725
|
"text": "string"
|
|
4650
4726
|
},
|
|
4651
4727
|
"default": "''",
|
|
4652
|
-
"attribute": "
|
|
4728
|
+
"attribute": "href"
|
|
4653
4729
|
},
|
|
4654
4730
|
{
|
|
4655
4731
|
"kind": "field",
|
|
@@ -4658,20 +4734,9 @@
|
|
|
4658
4734
|
"text": "string"
|
|
4659
4735
|
},
|
|
4660
4736
|
"default": "''",
|
|
4661
|
-
"description": "Small
|
|
4737
|
+
"description": "Small corner label, e.g. \"New\"/\"Beta\" — omit for none.",
|
|
4662
4738
|
"attribute": "badge"
|
|
4663
4739
|
},
|
|
4664
|
-
{
|
|
4665
|
-
"kind": "field",
|
|
4666
|
-
"name": "active",
|
|
4667
|
-
"type": {
|
|
4668
|
-
"text": "boolean"
|
|
4669
|
-
},
|
|
4670
|
-
"default": "false",
|
|
4671
|
-
"description": "Highlights this row as the current page (source: `isActive`).",
|
|
4672
|
-
"attribute": "active",
|
|
4673
|
-
"reflects": true
|
|
4674
|
-
},
|
|
4675
4740
|
{
|
|
4676
4741
|
"kind": "field",
|
|
4677
4742
|
"name": "compact",
|
|
@@ -4694,40 +4759,46 @@
|
|
|
4694
4759
|
},
|
|
4695
4760
|
{
|
|
4696
4761
|
"kind": "field",
|
|
4697
|
-
"name": "
|
|
4762
|
+
"name": "hasIcon",
|
|
4698
4763
|
"type": {
|
|
4699
|
-
"text": "
|
|
4764
|
+
"text": "boolean"
|
|
4700
4765
|
},
|
|
4701
|
-
"
|
|
4702
|
-
"
|
|
4703
|
-
"
|
|
4766
|
+
"privacy": "private",
|
|
4767
|
+
"default": "false",
|
|
4768
|
+
"description": "Whether `slot=\"icon\"` has content, so an omitted icon leaves no empty box."
|
|
4704
4769
|
},
|
|
4705
4770
|
{
|
|
4706
4771
|
"kind": "field",
|
|
4707
|
-
"name": "
|
|
4772
|
+
"name": "pending",
|
|
4708
4773
|
"type": {
|
|
4709
|
-
"text": "
|
|
4774
|
+
"text": "boolean"
|
|
4710
4775
|
},
|
|
4711
|
-
"
|
|
4712
|
-
"
|
|
4713
|
-
"
|
|
4714
|
-
"reflects": true
|
|
4776
|
+
"privacy": "private",
|
|
4777
|
+
"default": "true",
|
|
4778
|
+
"description": "True until the item first scrolls into view (the source's `whileInView ... once`)."
|
|
4715
4779
|
},
|
|
4716
4780
|
{
|
|
4717
4781
|
"kind": "field",
|
|
4718
|
-
"name": "
|
|
4782
|
+
"name": "observer",
|
|
4719
4783
|
"type": {
|
|
4720
|
-
"text": "
|
|
4784
|
+
"text": "IntersectionObserver | undefined"
|
|
4721
4785
|
},
|
|
4722
|
-
"privacy": "private"
|
|
4723
|
-
"default": "false",
|
|
4724
|
-
"description": "Whether `slot=\"icon\"` has content, so an omitted icon leaves no empty box."
|
|
4786
|
+
"privacy": "private"
|
|
4725
4787
|
},
|
|
4726
4788
|
{
|
|
4727
4789
|
"kind": "field",
|
|
4728
4790
|
"name": "onIconSlotChange",
|
|
4729
4791
|
"privacy": "private"
|
|
4730
4792
|
},
|
|
4793
|
+
{
|
|
4794
|
+
"kind": "field",
|
|
4795
|
+
"name": "isExternal",
|
|
4796
|
+
"type": {
|
|
4797
|
+
"text": "boolean"
|
|
4798
|
+
},
|
|
4799
|
+
"privacy": "private",
|
|
4800
|
+
"readonly": true
|
|
4801
|
+
},
|
|
4731
4802
|
{
|
|
4732
4803
|
"kind": "field",
|
|
4733
4804
|
"name": "onClick",
|
|
@@ -4744,20 +4815,20 @@
|
|
|
4744
4815
|
"fieldName": "title"
|
|
4745
4816
|
},
|
|
4746
4817
|
{
|
|
4747
|
-
"name": "
|
|
4818
|
+
"name": "description",
|
|
4748
4819
|
"type": {
|
|
4749
4820
|
"text": "string"
|
|
4750
4821
|
},
|
|
4751
4822
|
"default": "''",
|
|
4752
|
-
"fieldName": "
|
|
4823
|
+
"fieldName": "description"
|
|
4753
4824
|
},
|
|
4754
4825
|
{
|
|
4755
|
-
"name": "
|
|
4826
|
+
"name": "href",
|
|
4756
4827
|
"type": {
|
|
4757
4828
|
"text": "string"
|
|
4758
4829
|
},
|
|
4759
4830
|
"default": "''",
|
|
4760
|
-
"fieldName": "
|
|
4831
|
+
"fieldName": "href"
|
|
4761
4832
|
},
|
|
4762
4833
|
{
|
|
4763
4834
|
"name": "badge",
|
|
@@ -4765,18 +4836,9 @@
|
|
|
4765
4836
|
"text": "string"
|
|
4766
4837
|
},
|
|
4767
4838
|
"default": "''",
|
|
4768
|
-
"description": "Small
|
|
4839
|
+
"description": "Small corner label, e.g. \"New\"/\"Beta\" — omit for none.",
|
|
4769
4840
|
"fieldName": "badge"
|
|
4770
4841
|
},
|
|
4771
|
-
{
|
|
4772
|
-
"name": "active",
|
|
4773
|
-
"type": {
|
|
4774
|
-
"text": "boolean"
|
|
4775
|
-
},
|
|
4776
|
-
"default": "false",
|
|
4777
|
-
"description": "Highlights this row as the current page (source: `isActive`).",
|
|
4778
|
-
"fieldName": "active"
|
|
4779
|
-
},
|
|
4780
4842
|
{
|
|
4781
4843
|
"name": "compact",
|
|
4782
4844
|
"type": {
|
|
@@ -4793,49 +4855,31 @@
|
|
|
4793
4855
|
"default": "true",
|
|
4794
4856
|
"description": "Suppresses the description even when `description` is set (source: `showDescription`, default `true`).",
|
|
4795
4857
|
"fieldName": "showDescription"
|
|
4796
|
-
},
|
|
4797
|
-
{
|
|
4798
|
-
"name": "target",
|
|
4799
|
-
"type": {
|
|
4800
|
-
"text": "string"
|
|
4801
|
-
},
|
|
4802
|
-
"default": "'_self'",
|
|
4803
|
-
"description": "`target` for the `<a>` (source default `_self`).",
|
|
4804
|
-
"fieldName": "target"
|
|
4805
|
-
},
|
|
4806
|
-
{
|
|
4807
|
-
"name": "variant",
|
|
4808
|
-
"type": {
|
|
4809
|
-
"text": "'default' | 'link'"
|
|
4810
|
-
},
|
|
4811
|
-
"default": "'default'",
|
|
4812
|
-
"description": "`default` (a row with a hover box) or `link` (a plain text link, as in `st-mega-menu-column`;\r\nmarked with an arrow when it opens a new tab).",
|
|
4813
|
-
"fieldName": "variant"
|
|
4814
4858
|
}
|
|
4815
4859
|
],
|
|
4816
4860
|
"superclass": {
|
|
4817
4861
|
"name": "LitElement",
|
|
4818
4862
|
"package": "lit"
|
|
4819
4863
|
},
|
|
4820
|
-
"tagName": "st-menu-item",
|
|
4864
|
+
"tagName": "st-menu-grid-item",
|
|
4821
4865
|
"customElement": true
|
|
4822
4866
|
}
|
|
4823
4867
|
],
|
|
4824
4868
|
"exports": [
|
|
4825
4869
|
{
|
|
4826
4870
|
"kind": "js",
|
|
4827
|
-
"name": "
|
|
4871
|
+
"name": "MenuGridItem",
|
|
4828
4872
|
"declaration": {
|
|
4829
|
-
"name": "
|
|
4830
|
-
"module": "src/menu-item/
|
|
4873
|
+
"name": "MenuGridItem",
|
|
4874
|
+
"module": "src/menu-grid-item/MenuGridItem.ts"
|
|
4831
4875
|
}
|
|
4832
4876
|
},
|
|
4833
4877
|
{
|
|
4834
4878
|
"kind": "custom-element-definition",
|
|
4835
|
-
"name": "st-menu-item",
|
|
4879
|
+
"name": "st-menu-grid-item",
|
|
4836
4880
|
"declaration": {
|
|
4837
|
-
"name": "
|
|
4838
|
-
"module": "src/menu-item/
|
|
4881
|
+
"name": "MenuGridItem",
|
|
4882
|
+
"module": "src/menu-grid-item/MenuGridItem.ts"
|
|
4839
4883
|
}
|
|
4840
4884
|
}
|
|
4841
4885
|
]
|
|
@@ -5439,77 +5483,6 @@
|
|
|
5439
5483
|
}
|
|
5440
5484
|
]
|
|
5441
5485
|
},
|
|
5442
|
-
{
|
|
5443
|
-
"kind": "javascript-module",
|
|
5444
|
-
"path": "src/stats/Stats.ts",
|
|
5445
|
-
"declarations": [
|
|
5446
|
-
{
|
|
5447
|
-
"kind": "class",
|
|
5448
|
-
"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.",
|
|
5449
|
-
"name": "Stats",
|
|
5450
|
-
"cssProperties": [
|
|
5451
|
-
{
|
|
5452
|
-
"description": "Overrides the block's padding.",
|
|
5453
|
-
"name": "--st-stats-padding"
|
|
5454
|
-
}
|
|
5455
|
-
],
|
|
5456
|
-
"members": [
|
|
5457
|
-
{
|
|
5458
|
-
"kind": "field",
|
|
5459
|
-
"name": "items",
|
|
5460
|
-
"type": {
|
|
5461
|
-
"text": "StatItem[]"
|
|
5462
|
-
},
|
|
5463
|
-
"default": "[]"
|
|
5464
|
-
},
|
|
5465
|
-
{
|
|
5466
|
-
"kind": "field",
|
|
5467
|
-
"name": "inverted",
|
|
5468
|
-
"type": {
|
|
5469
|
-
"text": "boolean"
|
|
5470
|
-
},
|
|
5471
|
-
"default": "false",
|
|
5472
|
-
"attribute": "inverted",
|
|
5473
|
-
"reflects": true
|
|
5474
|
-
}
|
|
5475
|
-
],
|
|
5476
|
-
"attributes": [
|
|
5477
|
-
{
|
|
5478
|
-
"name": "inverted",
|
|
5479
|
-
"type": {
|
|
5480
|
-
"text": "boolean"
|
|
5481
|
-
},
|
|
5482
|
-
"default": "false",
|
|
5483
|
-
"fieldName": "inverted"
|
|
5484
|
-
}
|
|
5485
|
-
],
|
|
5486
|
-
"superclass": {
|
|
5487
|
-
"name": "LitElement",
|
|
5488
|
-
"package": "lit"
|
|
5489
|
-
},
|
|
5490
|
-
"tagName": "st-stats",
|
|
5491
|
-
"customElement": true
|
|
5492
|
-
}
|
|
5493
|
-
],
|
|
5494
|
-
"exports": [
|
|
5495
|
-
{
|
|
5496
|
-
"kind": "js",
|
|
5497
|
-
"name": "Stats",
|
|
5498
|
-
"declaration": {
|
|
5499
|
-
"name": "Stats",
|
|
5500
|
-
"module": "src/stats/Stats.ts"
|
|
5501
|
-
}
|
|
5502
|
-
},
|
|
5503
|
-
{
|
|
5504
|
-
"kind": "custom-element-definition",
|
|
5505
|
-
"name": "st-stats",
|
|
5506
|
-
"declaration": {
|
|
5507
|
-
"name": "Stats",
|
|
5508
|
-
"module": "src/stats/Stats.ts"
|
|
5509
|
-
}
|
|
5510
|
-
}
|
|
5511
|
-
]
|
|
5512
|
-
},
|
|
5513
5486
|
{
|
|
5514
5487
|
"kind": "javascript-module",
|
|
5515
5488
|
"path": "src/testimonials/Testimonials.ts",
|
|
@@ -5821,6 +5794,77 @@
|
|
|
5821
5794
|
}
|
|
5822
5795
|
}
|
|
5823
5796
|
]
|
|
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
|
+
]
|
|
5824
5868
|
}
|
|
5825
5869
|
]
|
|
5826
5870
|
}
|