@sankhyatronics/sankhya-cms 0.1.1 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/custom-elements.json +1843 -952
- package/dist/carousel/index.d.ts +38 -2
- package/dist/carousel/index.js +1 -1
- package/dist/chunk-47RPYNFG.js +527 -0
- package/dist/chunk-47RPYNFG.js.map +1 -0
- package/dist/chunk-5DNVCMOO.js +509 -0
- package/dist/chunk-5DNVCMOO.js.map +1 -0
- package/dist/{chunk-RMIJVTFS.js → chunk-FWIG6GEZ.js} +8 -4
- package/dist/chunk-FWIG6GEZ.js.map +1 -0
- package/dist/{chunk-U7YKCCJG.js → chunk-K4ZICRZL.js} +134 -14
- package/dist/chunk-K4ZICRZL.js.map +1 -0
- package/dist/chunk-N63TVWK3.js +203 -0
- package/dist/chunk-N63TVWK3.js.map +1 -0
- package/dist/{chunk-23IHTBAB.js → chunk-PKTRYUGP.js} +108 -2
- package/dist/chunk-PKTRYUGP.js.map +1 -0
- package/dist/{chunk-LHU23TF6.js → chunk-TH5NZXA7.js} +5 -4
- package/dist/chunk-TH5NZXA7.js.map +1 -0
- package/dist/dropdown/index.js +1 -1
- package/dist/header/index.d.ts +18 -0
- package/dist/header/index.js +1 -1
- package/dist/hero/index.d.ts +29 -4
- package/dist/hero/index.js +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +23 -19
- package/dist/menu-item/index.js +1 -1
- package/dist/schema/index.d.ts +1 -0
- package/dist/schema/index.js +1 -0
- package/dist/schema/index.js.map +1 -1
- package/dist/section/index.d.ts +33 -0
- package/dist/section/index.js +10 -0
- package/dist/section/index.js.map +1 -0
- package/dist/testimonials/index.d.ts +62 -6
- package/dist/testimonials/index.js +2 -1
- package/package.json +25 -21
- package/dist/chunk-23IHTBAB.js.map +0 -1
- package/dist/chunk-LHU23TF6.js.map +0 -1
- package/dist/chunk-RMIJVTFS.js.map +0 -1
- package/dist/chunk-U7YKCCJG.js.map +0 -1
- package/dist/chunk-WCO7JAIK.js +0 -195
- package/dist/chunk-WCO7JAIK.js.map +0 -1
- package/dist/chunk-XHBC23TV.js +0 -254
- package/dist/chunk-XHBC23TV.js.map +0 -1
package/custom-elements.json
CHANGED
|
@@ -116,191 +116,173 @@
|
|
|
116
116
|
},
|
|
117
117
|
{
|
|
118
118
|
"kind": "javascript-module",
|
|
119
|
-
"path": "src/
|
|
119
|
+
"path": "src/carousel/Carousel.ts",
|
|
120
120
|
"declarations": [
|
|
121
121
|
{
|
|
122
122
|
"kind": "class",
|
|
123
|
-
"description": "
|
|
124
|
-
"name": "
|
|
123
|
+
"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 keeps the\ntime 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`.",
|
|
124
|
+
"name": "Carousel",
|
|
125
|
+
"cssProperties": [
|
|
126
|
+
{
|
|
127
|
+
"description": "Tab text and progress colour (default: light, for slides with a dark image).",
|
|
128
|
+
"name": "--st-carousel-tab-color"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"description": "Room kept free under each slide's content for the tabs (default `6rem`).",
|
|
132
|
+
"name": "--st-carousel-tabs-space"
|
|
133
|
+
}
|
|
134
|
+
],
|
|
135
|
+
"cssParts": [
|
|
136
|
+
{
|
|
137
|
+
"description": "The tab row.",
|
|
138
|
+
"name": "tabs"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"description": "One tab button.",
|
|
142
|
+
"name": "tab"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"description": "A tab's progress bar.",
|
|
146
|
+
"name": "progress"
|
|
147
|
+
}
|
|
148
|
+
],
|
|
125
149
|
"members": [
|
|
126
150
|
{
|
|
127
151
|
"kind": "field",
|
|
128
|
-
"name": "
|
|
152
|
+
"name": "autoPlay",
|
|
129
153
|
"type": {
|
|
130
|
-
"text": "
|
|
154
|
+
"text": "boolean"
|
|
131
155
|
},
|
|
132
|
-
"default": "
|
|
133
|
-
"attribute": "
|
|
134
|
-
"reflects": true
|
|
156
|
+
"default": "true",
|
|
157
|
+
"attribute": "auto-play"
|
|
135
158
|
},
|
|
136
159
|
{
|
|
137
160
|
"kind": "field",
|
|
138
|
-
"name": "
|
|
161
|
+
"name": "interval",
|
|
139
162
|
"type": {
|
|
140
|
-
"text": "
|
|
163
|
+
"text": "number"
|
|
141
164
|
},
|
|
142
|
-
"default": "
|
|
143
|
-
"
|
|
144
|
-
"
|
|
165
|
+
"default": "5000",
|
|
166
|
+
"description": "Autoplay delay in milliseconds.",
|
|
167
|
+
"attribute": "interval"
|
|
145
168
|
},
|
|
146
169
|
{
|
|
147
170
|
"kind": "field",
|
|
148
|
-
"name": "
|
|
171
|
+
"name": "showArrows",
|
|
149
172
|
"type": {
|
|
150
|
-
"text": "
|
|
173
|
+
"text": "boolean"
|
|
151
174
|
},
|
|
152
|
-
"default": "
|
|
153
|
-
"attribute": "
|
|
154
|
-
"reflects": true
|
|
175
|
+
"default": "true",
|
|
176
|
+
"attribute": "show-arrows"
|
|
155
177
|
},
|
|
156
178
|
{
|
|
157
179
|
"kind": "field",
|
|
158
|
-
"name": "
|
|
180
|
+
"name": "showIndicators",
|
|
159
181
|
"type": {
|
|
160
182
|
"text": "boolean"
|
|
161
183
|
},
|
|
162
|
-
"default": "
|
|
163
|
-
"attribute": "
|
|
164
|
-
"reflects": true
|
|
184
|
+
"default": "true",
|
|
185
|
+
"attribute": "show-indicators"
|
|
165
186
|
},
|
|
166
187
|
{
|
|
167
188
|
"kind": "field",
|
|
168
|
-
"name": "
|
|
189
|
+
"name": "indicatorStyle",
|
|
169
190
|
"type": {
|
|
170
|
-
"text": "
|
|
191
|
+
"text": "'dots' | 'tabs'"
|
|
171
192
|
},
|
|
172
|
-
"default": "
|
|
173
|
-
"
|
|
193
|
+
"default": "'dots'",
|
|
194
|
+
"description": "`dots` (default) or `tabs`: labelled tabs with progress bars along the bottom.",
|
|
195
|
+
"attribute": "indicator-style",
|
|
174
196
|
"reflects": true
|
|
175
|
-
}
|
|
176
|
-
],
|
|
177
|
-
"attributes": [
|
|
178
|
-
{
|
|
179
|
-
"name": "variant",
|
|
180
|
-
"type": {
|
|
181
|
-
"text": "'default' | 'bordered'"
|
|
182
|
-
},
|
|
183
|
-
"default": "'default'",
|
|
184
|
-
"fieldName": "variant"
|
|
185
197
|
},
|
|
186
198
|
{
|
|
187
|
-
"
|
|
199
|
+
"kind": "field",
|
|
200
|
+
"name": "transition",
|
|
188
201
|
"type": {
|
|
189
|
-
"text": "'
|
|
202
|
+
"text": "'slide' | 'fade'"
|
|
190
203
|
},
|
|
191
|
-
"default": "'
|
|
192
|
-
"
|
|
204
|
+
"default": "'slide'",
|
|
205
|
+
"description": "`slide` (default) or `fade`.",
|
|
206
|
+
"attribute": "transition",
|
|
207
|
+
"reflects": true
|
|
193
208
|
},
|
|
194
209
|
{
|
|
195
|
-
"
|
|
210
|
+
"kind": "field",
|
|
211
|
+
"name": "tabLabels",
|
|
196
212
|
"type": {
|
|
197
|
-
"text": "
|
|
213
|
+
"text": "string[]"
|
|
198
214
|
},
|
|
199
|
-
"default": "
|
|
200
|
-
"
|
|
215
|
+
"default": "[]",
|
|
216
|
+
"description": "Tab labels, one per slide, for `indicator-style=\"tabs\"`. Missing entries fall back to the slide's `data-tab-label`, then its `title`."
|
|
201
217
|
},
|
|
202
218
|
{
|
|
203
|
-
"
|
|
219
|
+
"kind": "field",
|
|
220
|
+
"name": "index",
|
|
204
221
|
"type": {
|
|
205
|
-
"text": "
|
|
222
|
+
"text": "number"
|
|
206
223
|
},
|
|
207
|
-
"
|
|
208
|
-
"
|
|
224
|
+
"privacy": "private",
|
|
225
|
+
"default": "0"
|
|
209
226
|
},
|
|
210
227
|
{
|
|
211
|
-
"
|
|
228
|
+
"kind": "field",
|
|
229
|
+
"name": "count",
|
|
212
230
|
"type": {
|
|
213
|
-
"text": "
|
|
231
|
+
"text": "number"
|
|
214
232
|
},
|
|
215
|
-
"
|
|
216
|
-
"
|
|
217
|
-
}
|
|
218
|
-
],
|
|
219
|
-
"superclass": {
|
|
220
|
-
"name": "LitElement",
|
|
221
|
-
"package": "lit"
|
|
222
|
-
},
|
|
223
|
-
"tagName": "st-card",
|
|
224
|
-
"customElement": true
|
|
225
|
-
}
|
|
226
|
-
],
|
|
227
|
-
"exports": [
|
|
228
|
-
{
|
|
229
|
-
"kind": "js",
|
|
230
|
-
"name": "Card",
|
|
231
|
-
"declaration": {
|
|
232
|
-
"name": "Card",
|
|
233
|
-
"module": "src/card/Card.ts"
|
|
234
|
-
}
|
|
235
|
-
},
|
|
236
|
-
{
|
|
237
|
-
"kind": "custom-element-definition",
|
|
238
|
-
"name": "st-card",
|
|
239
|
-
"declaration": {
|
|
240
|
-
"name": "Card",
|
|
241
|
-
"module": "src/card/Card.ts"
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
]
|
|
245
|
-
},
|
|
246
|
-
{
|
|
247
|
-
"kind": "javascript-module",
|
|
248
|
-
"path": "src/carousel/Carousel.ts",
|
|
249
|
-
"declarations": [
|
|
250
|
-
{
|
|
251
|
-
"kind": "class",
|
|
252
|
-
"description": "Cycles through its slotted children, one visible at a time, with optional autoplay, arrows and\r\ndot indicators. The incoming slide slides in from the travel direction (CSS keyframes in place\r\nof the source's framer-motion spring). Autoplay pauses while hovered or focused and stops when\r\nthe element is disconnected.",
|
|
253
|
-
"name": "Carousel",
|
|
254
|
-
"members": [
|
|
233
|
+
"privacy": "private",
|
|
234
|
+
"default": "0"
|
|
235
|
+
},
|
|
255
236
|
{
|
|
256
237
|
"kind": "field",
|
|
257
|
-
"name": "
|
|
238
|
+
"name": "slideLabels",
|
|
258
239
|
"type": {
|
|
259
|
-
"text": "
|
|
240
|
+
"text": "string[]"
|
|
260
241
|
},
|
|
261
|
-
"
|
|
262
|
-
"
|
|
242
|
+
"privacy": "private",
|
|
243
|
+
"default": "[]"
|
|
263
244
|
},
|
|
264
245
|
{
|
|
265
246
|
"kind": "field",
|
|
266
|
-
"name": "
|
|
247
|
+
"name": "userPaused",
|
|
267
248
|
"type": {
|
|
268
|
-
"text": "
|
|
249
|
+
"text": "boolean"
|
|
269
250
|
},
|
|
270
|
-
"
|
|
271
|
-
"
|
|
272
|
-
"
|
|
251
|
+
"privacy": "private",
|
|
252
|
+
"default": "false",
|
|
253
|
+
"description": "Paused with the pause button; stays paused until the button is pressed again."
|
|
273
254
|
},
|
|
274
255
|
{
|
|
275
256
|
"kind": "field",
|
|
276
|
-
"name": "
|
|
257
|
+
"name": "paused",
|
|
277
258
|
"type": {
|
|
278
259
|
"text": "boolean"
|
|
279
260
|
},
|
|
280
|
-
"
|
|
281
|
-
"
|
|
261
|
+
"privacy": "private",
|
|
262
|
+
"default": "false",
|
|
263
|
+
"description": "Paused while hovered or focused."
|
|
282
264
|
},
|
|
283
265
|
{
|
|
284
266
|
"kind": "field",
|
|
285
|
-
"name": "
|
|
267
|
+
"name": "timer",
|
|
286
268
|
"type": {
|
|
287
|
-
"text": "
|
|
269
|
+
"text": "ReturnType<typeof setTimeout> | undefined"
|
|
288
270
|
},
|
|
289
|
-
"
|
|
290
|
-
"attribute": "show-indicators"
|
|
271
|
+
"privacy": "private"
|
|
291
272
|
},
|
|
292
273
|
{
|
|
293
274
|
"kind": "field",
|
|
294
|
-
"name": "
|
|
275
|
+
"name": "remaining",
|
|
295
276
|
"type": {
|
|
296
277
|
"text": "number"
|
|
297
278
|
},
|
|
298
279
|
"privacy": "private",
|
|
299
|
-
"default": "0"
|
|
280
|
+
"default": "0",
|
|
281
|
+
"description": "Time left on the current slide, so a pause resumes where it stopped."
|
|
300
282
|
},
|
|
301
283
|
{
|
|
302
284
|
"kind": "field",
|
|
303
|
-
"name": "
|
|
285
|
+
"name": "startedAt",
|
|
304
286
|
"type": {
|
|
305
287
|
"text": "number"
|
|
306
288
|
},
|
|
@@ -309,20 +291,26 @@
|
|
|
309
291
|
},
|
|
310
292
|
{
|
|
311
293
|
"kind": "field",
|
|
312
|
-
"name": "
|
|
294
|
+
"name": "halted",
|
|
313
295
|
"type": {
|
|
314
296
|
"text": "boolean"
|
|
315
297
|
},
|
|
316
298
|
"privacy": "private",
|
|
317
|
-
"
|
|
299
|
+
"readonly": true
|
|
318
300
|
},
|
|
319
301
|
{
|
|
320
|
-
"kind": "
|
|
321
|
-
"name": "
|
|
322
|
-
"
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
302
|
+
"kind": "method",
|
|
303
|
+
"name": "hold",
|
|
304
|
+
"privacy": "private",
|
|
305
|
+
"parameters": [
|
|
306
|
+
{
|
|
307
|
+
"name": "update",
|
|
308
|
+
"type": {
|
|
309
|
+
"text": "() => void"
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
],
|
|
313
|
+
"description": "Applies a pause-state change, freezing or resuming the timer (and the tab progress bar)."
|
|
326
314
|
},
|
|
327
315
|
{
|
|
328
316
|
"kind": "field",
|
|
@@ -334,6 +322,11 @@
|
|
|
334
322
|
"name": "resume",
|
|
335
323
|
"privacy": "private"
|
|
336
324
|
},
|
|
325
|
+
{
|
|
326
|
+
"kind": "field",
|
|
327
|
+
"name": "togglePlay",
|
|
328
|
+
"privacy": "private"
|
|
329
|
+
},
|
|
337
330
|
{
|
|
338
331
|
"kind": "field",
|
|
339
332
|
"name": "slides",
|
|
@@ -343,6 +336,24 @@
|
|
|
343
336
|
"privacy": "private",
|
|
344
337
|
"readonly": true
|
|
345
338
|
},
|
|
339
|
+
{
|
|
340
|
+
"kind": "method",
|
|
341
|
+
"name": "labelFor",
|
|
342
|
+
"privacy": "private",
|
|
343
|
+
"return": {
|
|
344
|
+
"type": {
|
|
345
|
+
"text": "string"
|
|
346
|
+
}
|
|
347
|
+
},
|
|
348
|
+
"parameters": [
|
|
349
|
+
{
|
|
350
|
+
"name": "i",
|
|
351
|
+
"type": {
|
|
352
|
+
"text": "number"
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
]
|
|
356
|
+
},
|
|
346
357
|
{
|
|
347
358
|
"kind": "method",
|
|
348
359
|
"name": "syncSlides",
|
|
@@ -358,6 +369,11 @@
|
|
|
358
369
|
"name": "stopTimer",
|
|
359
370
|
"privacy": "private"
|
|
360
371
|
},
|
|
372
|
+
{
|
|
373
|
+
"kind": "method",
|
|
374
|
+
"name": "startTimer",
|
|
375
|
+
"privacy": "private"
|
|
376
|
+
},
|
|
361
377
|
{
|
|
362
378
|
"kind": "method",
|
|
363
379
|
"name": "restartTimer",
|
|
@@ -381,6 +397,29 @@
|
|
|
381
397
|
}
|
|
382
398
|
}
|
|
383
399
|
]
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
"kind": "method",
|
|
403
|
+
"name": "onTabKeydown",
|
|
404
|
+
"privacy": "private",
|
|
405
|
+
"parameters": [
|
|
406
|
+
{
|
|
407
|
+
"name": "event",
|
|
408
|
+
"type": {
|
|
409
|
+
"text": "KeyboardEvent"
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
]
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
"kind": "method",
|
|
416
|
+
"name": "renderTabs",
|
|
417
|
+
"privacy": "private"
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
"kind": "method",
|
|
421
|
+
"name": "renderDots",
|
|
422
|
+
"privacy": "private"
|
|
384
423
|
}
|
|
385
424
|
],
|
|
386
425
|
"events": [
|
|
@@ -388,7 +427,8 @@
|
|
|
388
427
|
"name": "carousel-change",
|
|
389
428
|
"type": {
|
|
390
429
|
"text": "CustomEvent"
|
|
391
|
-
}
|
|
430
|
+
},
|
|
431
|
+
"description": "Detail `{ index }`, when the visible slide changes."
|
|
392
432
|
}
|
|
393
433
|
],
|
|
394
434
|
"attributes": [
|
|
@@ -424,6 +464,24 @@
|
|
|
424
464
|
},
|
|
425
465
|
"default": "true",
|
|
426
466
|
"fieldName": "showIndicators"
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
"name": "indicator-style",
|
|
470
|
+
"type": {
|
|
471
|
+
"text": "'dots' | 'tabs'"
|
|
472
|
+
},
|
|
473
|
+
"default": "'dots'",
|
|
474
|
+
"description": "`dots` (default) or `tabs`: labelled tabs with progress bars along the bottom.",
|
|
475
|
+
"fieldName": "indicatorStyle"
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
"name": "transition",
|
|
479
|
+
"type": {
|
|
480
|
+
"text": "'slide' | 'fade'"
|
|
481
|
+
},
|
|
482
|
+
"default": "'slide'",
|
|
483
|
+
"description": "`slide` (default) or `fade`.",
|
|
484
|
+
"fieldName": "transition"
|
|
427
485
|
}
|
|
428
486
|
],
|
|
429
487
|
"superclass": {
|
|
@@ -455,77 +513,52 @@
|
|
|
455
513
|
},
|
|
456
514
|
{
|
|
457
515
|
"kind": "javascript-module",
|
|
458
|
-
"path": "src/
|
|
516
|
+
"path": "src/card/Card.ts",
|
|
459
517
|
"declarations": [
|
|
460
518
|
{
|
|
461
519
|
"kind": "class",
|
|
462
|
-
"description": "A
|
|
463
|
-
"name": "
|
|
520
|
+
"description": "A surfaced container — content goes in the default slot. Ports `SankhyaUI`'s React `Card`\r\n(`variant`, `padding`, `elevation`, `hoverable`, `inverted`); `onClick` is just a native `click`\r\nlistener on the element. `padding` takes `none | small | medium | large` (the source's\r\n`sm|md|lg`, spelled like `paddingScaleStyles`); `elevation` takes `none | sm | md | lg`.",
|
|
521
|
+
"name": "Card",
|
|
464
522
|
"members": [
|
|
465
523
|
{
|
|
466
524
|
"kind": "field",
|
|
467
|
-
"name": "
|
|
525
|
+
"name": "variant",
|
|
468
526
|
"type": {
|
|
469
|
-
"text": "
|
|
527
|
+
"text": "'default' | 'bordered'"
|
|
470
528
|
},
|
|
471
|
-
"default": "''",
|
|
472
|
-
"attribute": "
|
|
529
|
+
"default": "'default'",
|
|
530
|
+
"attribute": "variant",
|
|
531
|
+
"reflects": true
|
|
473
532
|
},
|
|
474
533
|
{
|
|
475
534
|
"kind": "field",
|
|
476
|
-
"name": "
|
|
535
|
+
"name": "padding",
|
|
477
536
|
"type": {
|
|
478
|
-
"text": "
|
|
537
|
+
"text": "'none' | 'small' | 'medium' | 'large'"
|
|
479
538
|
},
|
|
480
|
-
"default": "''",
|
|
481
|
-
"attribute": "
|
|
539
|
+
"default": "'medium'",
|
|
540
|
+
"attribute": "padding",
|
|
541
|
+
"reflects": true
|
|
482
542
|
},
|
|
483
543
|
{
|
|
484
544
|
"kind": "field",
|
|
485
|
-
"name": "
|
|
486
|
-
"type": {
|
|
487
|
-
"text": "string"
|
|
488
|
-
},
|
|
489
|
-
"default": "''",
|
|
490
|
-
"description": "URL of a Markdown file.",
|
|
491
|
-
"attribute": "content-src"
|
|
492
|
-
},
|
|
493
|
-
{
|
|
494
|
-
"kind": "field",
|
|
495
|
-
"name": "content",
|
|
496
|
-
"type": {
|
|
497
|
-
"text": "string"
|
|
498
|
-
},
|
|
499
|
-
"default": "''",
|
|
500
|
-
"description": "Inline Markdown, used when `content-src` is not set.",
|
|
501
|
-
"attribute": "content"
|
|
502
|
-
},
|
|
503
|
-
{
|
|
504
|
-
"kind": "field",
|
|
505
|
-
"name": "imageSrc",
|
|
506
|
-
"type": {
|
|
507
|
-
"text": "string"
|
|
508
|
-
},
|
|
509
|
-
"default": "''",
|
|
510
|
-
"attribute": "image-src"
|
|
511
|
-
},
|
|
512
|
-
{
|
|
513
|
-
"kind": "field",
|
|
514
|
-
"name": "imageAlt",
|
|
545
|
+
"name": "elevation",
|
|
515
546
|
"type": {
|
|
516
|
-
"text": "
|
|
547
|
+
"text": "'none' | 'sm' | 'md' | 'lg'"
|
|
517
548
|
},
|
|
518
|
-
"default": "''",
|
|
519
|
-
"attribute": "
|
|
549
|
+
"default": "'sm'",
|
|
550
|
+
"attribute": "elevation",
|
|
551
|
+
"reflects": true
|
|
520
552
|
},
|
|
521
553
|
{
|
|
522
554
|
"kind": "field",
|
|
523
|
-
"name": "
|
|
555
|
+
"name": "hoverable",
|
|
524
556
|
"type": {
|
|
525
|
-
"text": "
|
|
557
|
+
"text": "boolean"
|
|
526
558
|
},
|
|
527
|
-
"default": "
|
|
528
|
-
"attribute": "
|
|
559
|
+
"default": "false",
|
|
560
|
+
"attribute": "hoverable",
|
|
561
|
+
"reflects": true
|
|
529
562
|
},
|
|
530
563
|
{
|
|
531
564
|
"kind": "field",
|
|
@@ -540,62 +573,36 @@
|
|
|
540
573
|
],
|
|
541
574
|
"attributes": [
|
|
542
575
|
{
|
|
543
|
-
"name": "
|
|
544
|
-
"type": {
|
|
545
|
-
"text": "string"
|
|
546
|
-
},
|
|
547
|
-
"default": "''",
|
|
548
|
-
"fieldName": "title"
|
|
549
|
-
},
|
|
550
|
-
{
|
|
551
|
-
"name": "subtitle",
|
|
552
|
-
"type": {
|
|
553
|
-
"text": "string"
|
|
554
|
-
},
|
|
555
|
-
"default": "''",
|
|
556
|
-
"fieldName": "subtitle"
|
|
557
|
-
},
|
|
558
|
-
{
|
|
559
|
-
"name": "content-src",
|
|
560
|
-
"type": {
|
|
561
|
-
"text": "string"
|
|
562
|
-
},
|
|
563
|
-
"default": "''",
|
|
564
|
-
"description": "URL of a Markdown file.",
|
|
565
|
-
"fieldName": "contentSrc"
|
|
566
|
-
},
|
|
567
|
-
{
|
|
568
|
-
"name": "content",
|
|
576
|
+
"name": "variant",
|
|
569
577
|
"type": {
|
|
570
|
-
"text": "
|
|
578
|
+
"text": "'default' | 'bordered'"
|
|
571
579
|
},
|
|
572
|
-
"default": "''",
|
|
573
|
-
"
|
|
574
|
-
"fieldName": "content"
|
|
580
|
+
"default": "'default'",
|
|
581
|
+
"fieldName": "variant"
|
|
575
582
|
},
|
|
576
583
|
{
|
|
577
|
-
"name": "
|
|
584
|
+
"name": "padding",
|
|
578
585
|
"type": {
|
|
579
|
-
"text": "
|
|
586
|
+
"text": "'none' | 'small' | 'medium' | 'large'"
|
|
580
587
|
},
|
|
581
|
-
"default": "''",
|
|
582
|
-
"fieldName": "
|
|
588
|
+
"default": "'medium'",
|
|
589
|
+
"fieldName": "padding"
|
|
583
590
|
},
|
|
584
591
|
{
|
|
585
|
-
"name": "
|
|
592
|
+
"name": "elevation",
|
|
586
593
|
"type": {
|
|
587
|
-
"text": "
|
|
594
|
+
"text": "'none' | 'sm' | 'md' | 'lg'"
|
|
588
595
|
},
|
|
589
|
-
"default": "''",
|
|
590
|
-
"fieldName": "
|
|
596
|
+
"default": "'sm'",
|
|
597
|
+
"fieldName": "elevation"
|
|
591
598
|
},
|
|
592
599
|
{
|
|
593
|
-
"name": "
|
|
600
|
+
"name": "hoverable",
|
|
594
601
|
"type": {
|
|
595
|
-
"text": "
|
|
602
|
+
"text": "boolean"
|
|
596
603
|
},
|
|
597
|
-
"default": "
|
|
598
|
-
"fieldName": "
|
|
604
|
+
"default": "false",
|
|
605
|
+
"fieldName": "hoverable"
|
|
599
606
|
},
|
|
600
607
|
{
|
|
601
608
|
"name": "inverted",
|
|
@@ -610,25 +617,25 @@
|
|
|
610
617
|
"name": "LitElement",
|
|
611
618
|
"package": "lit"
|
|
612
619
|
},
|
|
613
|
-
"tagName": "st-
|
|
620
|
+
"tagName": "st-card",
|
|
614
621
|
"customElement": true
|
|
615
622
|
}
|
|
616
623
|
],
|
|
617
624
|
"exports": [
|
|
618
625
|
{
|
|
619
626
|
"kind": "js",
|
|
620
|
-
"name": "
|
|
627
|
+
"name": "Card",
|
|
621
628
|
"declaration": {
|
|
622
|
-
"name": "
|
|
623
|
-
"module": "src/
|
|
629
|
+
"name": "Card",
|
|
630
|
+
"module": "src/card/Card.ts"
|
|
624
631
|
}
|
|
625
632
|
},
|
|
626
633
|
{
|
|
627
634
|
"kind": "custom-element-definition",
|
|
628
|
-
"name": "st-
|
|
635
|
+
"name": "st-card",
|
|
629
636
|
"declaration": {
|
|
630
|
-
"name": "
|
|
631
|
-
"module": "src/
|
|
637
|
+
"name": "Card",
|
|
638
|
+
"module": "src/card/Card.ts"
|
|
632
639
|
}
|
|
633
640
|
}
|
|
634
641
|
]
|
|
@@ -818,637 +825,817 @@
|
|
|
818
825
|
},
|
|
819
826
|
{
|
|
820
827
|
"kind": "javascript-module",
|
|
821
|
-
"path": "src/
|
|
828
|
+
"path": "src/content-block/ContentBlock.ts",
|
|
822
829
|
"declarations": [
|
|
823
830
|
{
|
|
824
831
|
"kind": "class",
|
|
825
|
-
"description": "A
|
|
826
|
-
"name": "
|
|
832
|
+
"description": "A long-form article section: centered title/subtitle, an optional featured image with caption,\r\nthen Markdown body text. Ports `SankhyaUI`'s React `ContentBlock`. The body comes from\r\n`content-src` (a Markdown URL, as in the source) or an inline `content` string (added so the\r\nblock works without a fetch); `content-src` wins when both are set.",
|
|
833
|
+
"name": "ContentBlock",
|
|
827
834
|
"members": [
|
|
828
835
|
{
|
|
829
836
|
"kind": "field",
|
|
830
|
-
"name": "
|
|
837
|
+
"name": "title",
|
|
831
838
|
"type": {
|
|
832
|
-
"text": "
|
|
839
|
+
"text": "string"
|
|
833
840
|
},
|
|
834
|
-
"
|
|
835
|
-
"
|
|
836
|
-
"default": "null",
|
|
837
|
-
"description": "The open dropdown, if any — the source's `DropdownContext.activeDropdown`."
|
|
841
|
+
"default": "''",
|
|
842
|
+
"attribute": "title"
|
|
838
843
|
},
|
|
839
844
|
{
|
|
840
845
|
"kind": "field",
|
|
841
|
-
"name": "
|
|
846
|
+
"name": "subtitle",
|
|
842
847
|
"type": {
|
|
843
848
|
"text": "string"
|
|
844
849
|
},
|
|
845
850
|
"default": "''",
|
|
846
|
-
"
|
|
847
|
-
"attribute": "label"
|
|
851
|
+
"attribute": "subtitle"
|
|
848
852
|
},
|
|
849
853
|
{
|
|
850
854
|
"kind": "field",
|
|
851
|
-
"name": "
|
|
855
|
+
"name": "contentSrc",
|
|
852
856
|
"type": {
|
|
853
857
|
"text": "string"
|
|
854
858
|
},
|
|
855
859
|
"default": "''",
|
|
856
|
-
"description": "
|
|
857
|
-
"attribute": "
|
|
860
|
+
"description": "URL of a Markdown file.",
|
|
861
|
+
"attribute": "content-src"
|
|
858
862
|
},
|
|
859
863
|
{
|
|
860
864
|
"kind": "field",
|
|
861
|
-
"name": "
|
|
865
|
+
"name": "content",
|
|
862
866
|
"type": {
|
|
863
|
-
"text": "
|
|
867
|
+
"text": "string"
|
|
864
868
|
},
|
|
865
|
-
"default": "'
|
|
866
|
-
"
|
|
869
|
+
"default": "''",
|
|
870
|
+
"description": "Inline Markdown, used when `content-src` is not set.",
|
|
871
|
+
"attribute": "content"
|
|
867
872
|
},
|
|
868
873
|
{
|
|
869
874
|
"kind": "field",
|
|
870
|
-
"name": "
|
|
875
|
+
"name": "imageSrc",
|
|
871
876
|
"type": {
|
|
872
877
|
"text": "string"
|
|
873
878
|
},
|
|
874
|
-
"default": "'
|
|
875
|
-
"
|
|
876
|
-
"attribute": "icon-size"
|
|
879
|
+
"default": "''",
|
|
880
|
+
"attribute": "image-src"
|
|
877
881
|
},
|
|
878
882
|
{
|
|
879
883
|
"kind": "field",
|
|
880
|
-
"name": "
|
|
884
|
+
"name": "imageAlt",
|
|
881
885
|
"type": {
|
|
882
886
|
"text": "string"
|
|
883
887
|
},
|
|
884
|
-
"default": "'
|
|
885
|
-
"
|
|
886
|
-
"attribute": "icon-color"
|
|
888
|
+
"default": "''",
|
|
889
|
+
"attribute": "image-alt"
|
|
887
890
|
},
|
|
888
891
|
{
|
|
889
892
|
"kind": "field",
|
|
890
|
-
"name": "
|
|
893
|
+
"name": "imageCaption",
|
|
891
894
|
"type": {
|
|
892
|
-
"text": "
|
|
895
|
+
"text": "string"
|
|
893
896
|
},
|
|
894
|
-
"default": "'
|
|
895
|
-
"
|
|
896
|
-
"attribute": "align"
|
|
897
|
+
"default": "''",
|
|
898
|
+
"attribute": "image-caption"
|
|
897
899
|
},
|
|
898
900
|
{
|
|
899
901
|
"kind": "field",
|
|
900
|
-
"name": "
|
|
902
|
+
"name": "inverted",
|
|
903
|
+
"type": {
|
|
904
|
+
"text": "boolean"
|
|
905
|
+
},
|
|
906
|
+
"default": "false",
|
|
907
|
+
"attribute": "inverted",
|
|
908
|
+
"reflects": true
|
|
909
|
+
}
|
|
910
|
+
],
|
|
911
|
+
"attributes": [
|
|
912
|
+
{
|
|
913
|
+
"name": "title",
|
|
901
914
|
"type": {
|
|
902
915
|
"text": "string"
|
|
903
916
|
},
|
|
904
|
-
"default": "'
|
|
905
|
-
"
|
|
906
|
-
"attribute": "target"
|
|
917
|
+
"default": "''",
|
|
918
|
+
"fieldName": "title"
|
|
907
919
|
},
|
|
908
920
|
{
|
|
909
|
-
"
|
|
910
|
-
"name": "triggerClassName",
|
|
921
|
+
"name": "subtitle",
|
|
911
922
|
"type": {
|
|
912
923
|
"text": "string"
|
|
913
924
|
},
|
|
914
925
|
"default": "''",
|
|
915
|
-
"
|
|
916
|
-
"attribute": "trigger-class-name"
|
|
926
|
+
"fieldName": "subtitle"
|
|
917
927
|
},
|
|
918
928
|
{
|
|
919
|
-
"
|
|
920
|
-
"name": "itemGroupClassName",
|
|
929
|
+
"name": "content-src",
|
|
921
930
|
"type": {
|
|
922
931
|
"text": "string"
|
|
923
932
|
},
|
|
924
933
|
"default": "''",
|
|
925
|
-
"description": "
|
|
926
|
-
"
|
|
934
|
+
"description": "URL of a Markdown file.",
|
|
935
|
+
"fieldName": "contentSrc"
|
|
927
936
|
},
|
|
928
937
|
{
|
|
929
|
-
"
|
|
930
|
-
"name": "itemClassName",
|
|
938
|
+
"name": "content",
|
|
931
939
|
"type": {
|
|
932
940
|
"text": "string"
|
|
933
941
|
},
|
|
934
942
|
"default": "''",
|
|
935
|
-
"description": "
|
|
936
|
-
"
|
|
943
|
+
"description": "Inline Markdown, used when `content-src` is not set.",
|
|
944
|
+
"fieldName": "content"
|
|
937
945
|
},
|
|
938
946
|
{
|
|
939
|
-
"
|
|
940
|
-
"name": "disabled",
|
|
947
|
+
"name": "image-src",
|
|
941
948
|
"type": {
|
|
942
|
-
"text": "
|
|
949
|
+
"text": "string"
|
|
943
950
|
},
|
|
944
|
-
"default": "
|
|
945
|
-
"
|
|
946
|
-
"reflects": true
|
|
951
|
+
"default": "''",
|
|
952
|
+
"fieldName": "imageSrc"
|
|
947
953
|
},
|
|
948
954
|
{
|
|
949
|
-
"
|
|
950
|
-
"name": "active",
|
|
955
|
+
"name": "image-alt",
|
|
951
956
|
"type": {
|
|
952
|
-
"text": "
|
|
957
|
+
"text": "string"
|
|
953
958
|
},
|
|
954
|
-
"default": "
|
|
955
|
-
"
|
|
956
|
-
"attribute": "active",
|
|
957
|
-
"reflects": true
|
|
959
|
+
"default": "''",
|
|
960
|
+
"fieldName": "imageAlt"
|
|
958
961
|
},
|
|
959
962
|
{
|
|
960
|
-
"
|
|
961
|
-
"name": "inline",
|
|
963
|
+
"name": "image-caption",
|
|
962
964
|
"type": {
|
|
963
|
-
"text": "
|
|
965
|
+
"text": "string"
|
|
964
966
|
},
|
|
965
|
-
"default": "
|
|
966
|
-
"
|
|
967
|
-
"attribute": "inline",
|
|
968
|
-
"reflects": true
|
|
967
|
+
"default": "''",
|
|
968
|
+
"fieldName": "imageCaption"
|
|
969
969
|
},
|
|
970
970
|
{
|
|
971
|
-
"
|
|
972
|
-
"name": "open",
|
|
971
|
+
"name": "inverted",
|
|
973
972
|
"type": {
|
|
974
973
|
"text": "boolean"
|
|
975
974
|
},
|
|
976
975
|
"default": "false",
|
|
977
|
-
"
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
976
|
+
"fieldName": "inverted"
|
|
977
|
+
}
|
|
978
|
+
],
|
|
979
|
+
"superclass": {
|
|
980
|
+
"name": "LitElement",
|
|
981
|
+
"package": "lit"
|
|
982
|
+
},
|
|
983
|
+
"tagName": "st-content-block",
|
|
984
|
+
"customElement": true
|
|
985
|
+
}
|
|
986
|
+
],
|
|
987
|
+
"exports": [
|
|
988
|
+
{
|
|
989
|
+
"kind": "js",
|
|
990
|
+
"name": "ContentBlock",
|
|
991
|
+
"declaration": {
|
|
992
|
+
"name": "ContentBlock",
|
|
993
|
+
"module": "src/content-block/ContentBlock.ts"
|
|
994
|
+
}
|
|
995
|
+
},
|
|
996
|
+
{
|
|
997
|
+
"kind": "custom-element-definition",
|
|
998
|
+
"name": "st-content-block",
|
|
999
|
+
"declaration": {
|
|
1000
|
+
"name": "ContentBlock",
|
|
1001
|
+
"module": "src/content-block/ContentBlock.ts"
|
|
1002
|
+
}
|
|
1003
|
+
}
|
|
1004
|
+
]
|
|
1005
|
+
},
|
|
1006
|
+
{
|
|
1007
|
+
"kind": "javascript-module",
|
|
1008
|
+
"path": "src/feature-split/FeatureSplit.ts",
|
|
1009
|
+
"declarations": [
|
|
1010
|
+
{
|
|
1011
|
+
"kind": "class",
|
|
1012
|
+
"description": "A title/markdown-subtitle/feature-list block beside (or under) an image.",
|
|
1013
|
+
"name": "FeatureSplit",
|
|
1014
|
+
"members": [
|
|
1015
|
+
{
|
|
982
1016
|
"kind": "field",
|
|
983
|
-
"name": "
|
|
1017
|
+
"name": "inverted",
|
|
984
1018
|
"type": {
|
|
985
1019
|
"text": "boolean"
|
|
986
1020
|
},
|
|
987
|
-
"privacy": "private",
|
|
988
1021
|
"default": "false",
|
|
989
|
-
"
|
|
1022
|
+
"attribute": "inverted",
|
|
1023
|
+
"reflects": true
|
|
990
1024
|
},
|
|
991
1025
|
{
|
|
992
1026
|
"kind": "field",
|
|
993
|
-
"name": "
|
|
1027
|
+
"name": "title",
|
|
994
1028
|
"type": {
|
|
995
|
-
"text": "
|
|
1029
|
+
"text": "string"
|
|
996
1030
|
},
|
|
997
|
-
"
|
|
998
|
-
"
|
|
999
|
-
"description": "Whether `slot=\"icon\"` has content."
|
|
1031
|
+
"default": "''",
|
|
1032
|
+
"attribute": "title"
|
|
1000
1033
|
},
|
|
1001
1034
|
{
|
|
1002
|
-
"kind": "
|
|
1003
|
-
"name": "
|
|
1004
|
-
"
|
|
1005
|
-
|
|
1006
|
-
"type": {
|
|
1007
|
-
"text": "void"
|
|
1008
|
-
}
|
|
1035
|
+
"kind": "field",
|
|
1036
|
+
"name": "subtitle",
|
|
1037
|
+
"type": {
|
|
1038
|
+
"text": "string"
|
|
1009
1039
|
},
|
|
1010
|
-
"
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
"type": {
|
|
1014
|
-
"text": "boolean"
|
|
1015
|
-
}
|
|
1016
|
-
}
|
|
1017
|
-
]
|
|
1040
|
+
"default": "''",
|
|
1041
|
+
"description": "Markdown.",
|
|
1042
|
+
"attribute": "subtitle"
|
|
1018
1043
|
},
|
|
1019
1044
|
{
|
|
1020
1045
|
"kind": "field",
|
|
1021
|
-
"name": "
|
|
1022
|
-
"
|
|
1046
|
+
"name": "items",
|
|
1047
|
+
"type": {
|
|
1048
|
+
"text": "FeatureSplitItem[]"
|
|
1049
|
+
},
|
|
1050
|
+
"default": "[]"
|
|
1023
1051
|
},
|
|
1024
1052
|
{
|
|
1025
1053
|
"kind": "field",
|
|
1026
|
-
"name": "
|
|
1027
|
-
"
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
"
|
|
1031
|
-
"
|
|
1032
|
-
"privacy": "private",
|
|
1033
|
-
"return": {
|
|
1034
|
-
"type": {
|
|
1035
|
-
"text": "HTMLElement | null"
|
|
1036
|
-
}
|
|
1037
|
-
}
|
|
1054
|
+
"name": "imageSrc",
|
|
1055
|
+
"type": {
|
|
1056
|
+
"text": "string"
|
|
1057
|
+
},
|
|
1058
|
+
"default": "''",
|
|
1059
|
+
"attribute": "image-src"
|
|
1038
1060
|
},
|
|
1039
1061
|
{
|
|
1040
|
-
"kind": "
|
|
1041
|
-
"name": "
|
|
1042
|
-
"
|
|
1043
|
-
|
|
1044
|
-
"type": {
|
|
1045
|
-
"text": "HTMLElement[]"
|
|
1046
|
-
}
|
|
1062
|
+
"kind": "field",
|
|
1063
|
+
"name": "imageAlt",
|
|
1064
|
+
"type": {
|
|
1065
|
+
"text": "string"
|
|
1047
1066
|
},
|
|
1048
|
-
"
|
|
1067
|
+
"default": "''",
|
|
1068
|
+
"attribute": "image-alt"
|
|
1049
1069
|
},
|
|
1050
1070
|
{
|
|
1051
|
-
"kind": "
|
|
1052
|
-
"name": "
|
|
1053
|
-
"
|
|
1054
|
-
|
|
1055
|
-
"type": {
|
|
1056
|
-
"text": "void"
|
|
1057
|
-
}
|
|
1071
|
+
"kind": "field",
|
|
1072
|
+
"name": "imagePosition",
|
|
1073
|
+
"type": {
|
|
1074
|
+
"text": "FeatureSplitImagePosition"
|
|
1058
1075
|
},
|
|
1059
|
-
"
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
"type": {
|
|
1063
|
-
"text": "(items: HTMLElement[]) => HTMLElement | undefined"
|
|
1064
|
-
}
|
|
1065
|
-
}
|
|
1066
|
-
],
|
|
1067
|
-
"description": "Moves focus into the panel once it has become visible (it is `visibility: hidden` until the\r\n`show` class lands, and hidden elements can't take focus)."
|
|
1076
|
+
"default": "'right'",
|
|
1077
|
+
"attribute": "image-position",
|
|
1078
|
+
"reflects": true
|
|
1068
1079
|
},
|
|
1069
1080
|
{
|
|
1070
1081
|
"kind": "field",
|
|
1071
|
-
"name": "
|
|
1072
|
-
"
|
|
1073
|
-
|
|
1082
|
+
"name": "actionLabel",
|
|
1083
|
+
"type": {
|
|
1084
|
+
"text": "string"
|
|
1085
|
+
},
|
|
1086
|
+
"default": "''",
|
|
1087
|
+
"attribute": "action-label"
|
|
1074
1088
|
},
|
|
1075
1089
|
{
|
|
1076
1090
|
"kind": "field",
|
|
1077
|
-
"name": "
|
|
1078
|
-
"
|
|
1079
|
-
|
|
1091
|
+
"name": "href",
|
|
1092
|
+
"type": {
|
|
1093
|
+
"text": "string"
|
|
1094
|
+
},
|
|
1095
|
+
"default": "''",
|
|
1096
|
+
"attribute": "href"
|
|
1080
1097
|
},
|
|
1081
1098
|
{
|
|
1082
|
-
"kind": "
|
|
1083
|
-
"name": "
|
|
1099
|
+
"kind": "method",
|
|
1100
|
+
"name": "onAction",
|
|
1084
1101
|
"privacy": "private"
|
|
1102
|
+
}
|
|
1103
|
+
],
|
|
1104
|
+
"attributes": [
|
|
1105
|
+
{
|
|
1106
|
+
"name": "inverted",
|
|
1107
|
+
"type": {
|
|
1108
|
+
"text": "boolean"
|
|
1109
|
+
},
|
|
1110
|
+
"default": "false",
|
|
1111
|
+
"fieldName": "inverted"
|
|
1085
1112
|
},
|
|
1086
1113
|
{
|
|
1087
|
-
"
|
|
1088
|
-
"
|
|
1089
|
-
|
|
1090
|
-
|
|
1114
|
+
"name": "title",
|
|
1115
|
+
"type": {
|
|
1116
|
+
"text": "string"
|
|
1117
|
+
},
|
|
1118
|
+
"default": "''",
|
|
1119
|
+
"fieldName": "title"
|
|
1091
1120
|
},
|
|
1092
1121
|
{
|
|
1093
|
-
"
|
|
1094
|
-
"
|
|
1095
|
-
|
|
1122
|
+
"name": "subtitle",
|
|
1123
|
+
"type": {
|
|
1124
|
+
"text": "string"
|
|
1125
|
+
},
|
|
1126
|
+
"default": "''",
|
|
1127
|
+
"description": "Markdown.",
|
|
1128
|
+
"fieldName": "subtitle"
|
|
1096
1129
|
},
|
|
1097
1130
|
{
|
|
1098
|
-
"
|
|
1099
|
-
"
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1131
|
+
"name": "image-src",
|
|
1132
|
+
"type": {
|
|
1133
|
+
"text": "string"
|
|
1134
|
+
},
|
|
1135
|
+
"default": "''",
|
|
1136
|
+
"fieldName": "imageSrc"
|
|
1137
|
+
},
|
|
1104
1138
|
{
|
|
1105
|
-
"name": "
|
|
1139
|
+
"name": "image-alt",
|
|
1106
1140
|
"type": {
|
|
1107
|
-
"text": "
|
|
1108
|
-
}
|
|
1141
|
+
"text": "string"
|
|
1142
|
+
},
|
|
1143
|
+
"default": "''",
|
|
1144
|
+
"fieldName": "imageAlt"
|
|
1145
|
+
},
|
|
1146
|
+
{
|
|
1147
|
+
"name": "image-position",
|
|
1148
|
+
"type": {
|
|
1149
|
+
"text": "FeatureSplitImagePosition"
|
|
1150
|
+
},
|
|
1151
|
+
"default": "'right'",
|
|
1152
|
+
"fieldName": "imagePosition"
|
|
1153
|
+
},
|
|
1154
|
+
{
|
|
1155
|
+
"name": "action-label",
|
|
1156
|
+
"type": {
|
|
1157
|
+
"text": "string"
|
|
1158
|
+
},
|
|
1159
|
+
"default": "''",
|
|
1160
|
+
"fieldName": "actionLabel"
|
|
1161
|
+
},
|
|
1162
|
+
{
|
|
1163
|
+
"name": "href",
|
|
1164
|
+
"type": {
|
|
1165
|
+
"text": "string"
|
|
1166
|
+
},
|
|
1167
|
+
"default": "''",
|
|
1168
|
+
"fieldName": "href"
|
|
1109
1169
|
}
|
|
1110
1170
|
],
|
|
1111
|
-
"
|
|
1171
|
+
"superclass": {
|
|
1172
|
+
"name": "LitElement",
|
|
1173
|
+
"package": "lit"
|
|
1174
|
+
},
|
|
1175
|
+
"tagName": "st-feature-split",
|
|
1176
|
+
"customElement": true
|
|
1177
|
+
}
|
|
1178
|
+
],
|
|
1179
|
+
"exports": [
|
|
1180
|
+
{
|
|
1181
|
+
"kind": "js",
|
|
1182
|
+
"name": "FeatureSplit",
|
|
1183
|
+
"declaration": {
|
|
1184
|
+
"name": "FeatureSplit",
|
|
1185
|
+
"module": "src/feature-split/FeatureSplit.ts"
|
|
1186
|
+
}
|
|
1187
|
+
},
|
|
1188
|
+
{
|
|
1189
|
+
"kind": "custom-element-definition",
|
|
1190
|
+
"name": "st-feature-split",
|
|
1191
|
+
"declaration": {
|
|
1192
|
+
"name": "FeatureSplit",
|
|
1193
|
+
"module": "src/feature-split/FeatureSplit.ts"
|
|
1194
|
+
}
|
|
1195
|
+
}
|
|
1196
|
+
]
|
|
1197
|
+
},
|
|
1198
|
+
{
|
|
1199
|
+
"kind": "javascript-module",
|
|
1200
|
+
"path": "src/dropdown/Dropdown.ts",
|
|
1201
|
+
"declarations": [
|
|
1202
|
+
{
|
|
1203
|
+
"kind": "class",
|
|
1204
|
+
"description": "A labeled trigger + slotted dropdown panel — nav menus (typically holding an `st-menu-grid`),\r\naction menus, anything \"click a trigger, show content under it\". A 1:1 port of `SankhyaUI`'s\r\nReact `Dropdown` (`SankhyaCMS/SankhyaUI/src/components/Dropdown`): same markup\r\n(`.menu` > `.menu-title` + `.menu-dropdown`), sizes, 0.3s slide/fade, and behavior —\r\n\r\n- only one dropdown is open at a time (the source's `DropdownProvider`, built in here, so no\r\n provider element is needed);\r\n- a mousedown outside, Escape, or a click inside the panel closes it;\r\n- an `href` trigger toggles the panel when it has content, and is a plain link when it doesn't;\r\n- `inline` opens the panel in the flow, the source's `.touch-device` layout.\r\n\r\nColors and the panel's surface come from the suite theme (the source left those to the\r\nconsumer's `className`/`itemGroupClassName` utility classes). Two source rules are left out\r\nbecause they break existing suite uses (`st-source-bar`'s site/library menus): the 100vw panel\r\nat <=768px (overflows the screen from wherever the trigger sits; the header uses `inline`\r\ninstead) and `overflow: hidden` on slotted children (clips their focus rings). Suite additions\r\nkept on top: `align`, `active`, `disabled`, `inline`, and the `dropdown-toggle` event.",
|
|
1205
|
+
"name": "Dropdown",
|
|
1206
|
+
"members": [
|
|
1112
1207
|
{
|
|
1208
|
+
"kind": "field",
|
|
1209
|
+
"name": "openDropdown",
|
|
1210
|
+
"type": {
|
|
1211
|
+
"text": "Dropdown | null"
|
|
1212
|
+
},
|
|
1213
|
+
"privacy": "private",
|
|
1214
|
+
"static": true,
|
|
1215
|
+
"default": "null",
|
|
1216
|
+
"description": "The open dropdown, if any — the source's `DropdownContext.activeDropdown`."
|
|
1217
|
+
},
|
|
1218
|
+
{
|
|
1219
|
+
"kind": "field",
|
|
1113
1220
|
"name": "label",
|
|
1114
1221
|
"type": {
|
|
1115
1222
|
"text": "string"
|
|
1116
1223
|
},
|
|
1117
1224
|
"default": "''",
|
|
1118
1225
|
"description": "Trigger label text (source: `title`, renamed because `title` is the native tooltip\r\nattribute). Leave empty to show only `slot=\"icon\"`.",
|
|
1119
|
-
"
|
|
1226
|
+
"attribute": "label"
|
|
1120
1227
|
},
|
|
1121
1228
|
{
|
|
1229
|
+
"kind": "field",
|
|
1122
1230
|
"name": "href",
|
|
1123
1231
|
"type": {
|
|
1124
1232
|
"text": "string"
|
|
1125
1233
|
},
|
|
1126
1234
|
"default": "''",
|
|
1127
1235
|
"description": "Renders the trigger as an `<a href>`. With panel content the click toggles the panel (as in\r\nthe source); with none it navigates.",
|
|
1128
|
-
"
|
|
1236
|
+
"attribute": "href"
|
|
1129
1237
|
},
|
|
1130
1238
|
{
|
|
1131
|
-
"
|
|
1239
|
+
"kind": "field",
|
|
1240
|
+
"name": "iconPosition",
|
|
1132
1241
|
"type": {
|
|
1133
1242
|
"text": "'left' | 'right'"
|
|
1134
1243
|
},
|
|
1135
1244
|
"default": "'left'",
|
|
1136
|
-
"
|
|
1245
|
+
"attribute": "icon-position"
|
|
1137
1246
|
},
|
|
1138
1247
|
{
|
|
1139
|
-
"
|
|
1248
|
+
"kind": "field",
|
|
1249
|
+
"name": "iconSize",
|
|
1140
1250
|
"type": {
|
|
1141
1251
|
"text": "string"
|
|
1142
1252
|
},
|
|
1143
1253
|
"default": "'1.2rem'",
|
|
1144
1254
|
"description": "Inline `width`/`height` of the `slot=\"icon\"` wrapper (source: `iconSize`, default `1.2rem`).",
|
|
1145
|
-
"
|
|
1255
|
+
"attribute": "icon-size"
|
|
1146
1256
|
},
|
|
1147
1257
|
{
|
|
1148
|
-
"
|
|
1258
|
+
"kind": "field",
|
|
1259
|
+
"name": "iconColor",
|
|
1149
1260
|
"type": {
|
|
1150
1261
|
"text": "string"
|
|
1151
1262
|
},
|
|
1152
1263
|
"default": "'currentColor'",
|
|
1153
1264
|
"description": "Inline `color` of the `slot=\"icon\"` wrapper (source: `iconColor`).",
|
|
1154
|
-
"
|
|
1265
|
+
"attribute": "icon-color"
|
|
1155
1266
|
},
|
|
1156
1267
|
{
|
|
1268
|
+
"kind": "field",
|
|
1157
1269
|
"name": "align",
|
|
1158
1270
|
"type": {
|
|
1159
1271
|
"text": "'left' | 'right'"
|
|
1160
1272
|
},
|
|
1161
1273
|
"default": "'left'",
|
|
1162
1274
|
"description": "Which edge of the trigger the panel lines up with.",
|
|
1163
|
-
"
|
|
1275
|
+
"attribute": "align"
|
|
1164
1276
|
},
|
|
1165
1277
|
{
|
|
1278
|
+
"kind": "field",
|
|
1166
1279
|
"name": "target",
|
|
1167
1280
|
"type": {
|
|
1168
1281
|
"text": "string"
|
|
1169
1282
|
},
|
|
1170
1283
|
"default": "'_self'",
|
|
1171
1284
|
"description": "`target` of an `href` trigger (source default `_self`).",
|
|
1172
|
-
"
|
|
1285
|
+
"attribute": "target"
|
|
1173
1286
|
},
|
|
1174
1287
|
{
|
|
1175
|
-
"
|
|
1288
|
+
"kind": "field",
|
|
1289
|
+
"name": "triggerClassName",
|
|
1176
1290
|
"type": {
|
|
1177
1291
|
"text": "string"
|
|
1178
1292
|
},
|
|
1179
1293
|
"default": "''",
|
|
1180
1294
|
"description": "Extra class(es) on the trigger (source: `className`; a `class` on `st-dropdown` styles the host).",
|
|
1181
|
-
"
|
|
1295
|
+
"attribute": "trigger-class-name"
|
|
1182
1296
|
},
|
|
1183
1297
|
{
|
|
1184
|
-
"
|
|
1298
|
+
"kind": "field",
|
|
1299
|
+
"name": "itemGroupClassName",
|
|
1185
1300
|
"type": {
|
|
1186
1301
|
"text": "string"
|
|
1187
1302
|
},
|
|
1188
1303
|
"default": "''",
|
|
1189
1304
|
"description": "Extra class(es) on the panel (source: `itemGroupClassName`).",
|
|
1190
|
-
"
|
|
1305
|
+
"attribute": "item-group-class-name"
|
|
1191
1306
|
},
|
|
1192
1307
|
{
|
|
1193
|
-
"
|
|
1308
|
+
"kind": "field",
|
|
1309
|
+
"name": "itemClassName",
|
|
1194
1310
|
"type": {
|
|
1195
1311
|
"text": "string"
|
|
1196
1312
|
},
|
|
1197
1313
|
"default": "''",
|
|
1198
1314
|
"description": "Unused, as in the source (`itemClassName` is never read there); kept for prop parity.",
|
|
1199
|
-
"
|
|
1315
|
+
"attribute": "item-class-name"
|
|
1200
1316
|
},
|
|
1201
1317
|
{
|
|
1318
|
+
"kind": "field",
|
|
1202
1319
|
"name": "disabled",
|
|
1203
1320
|
"type": {
|
|
1204
1321
|
"text": "boolean"
|
|
1205
1322
|
},
|
|
1206
1323
|
"default": "false",
|
|
1207
|
-
"
|
|
1324
|
+
"attribute": "disabled",
|
|
1325
|
+
"reflects": true
|
|
1208
1326
|
},
|
|
1209
1327
|
{
|
|
1328
|
+
"kind": "field",
|
|
1210
1329
|
"name": "active",
|
|
1211
1330
|
"type": {
|
|
1212
1331
|
"text": "boolean"
|
|
1213
1332
|
},
|
|
1214
1333
|
"default": "false",
|
|
1215
1334
|
"description": "Highlights the trigger as the current section (e.g. the current page is one of its items).",
|
|
1216
|
-
"
|
|
1335
|
+
"attribute": "active",
|
|
1336
|
+
"reflects": true
|
|
1217
1337
|
},
|
|
1218
1338
|
{
|
|
1339
|
+
"kind": "field",
|
|
1219
1340
|
"name": "inline",
|
|
1220
1341
|
"type": {
|
|
1221
1342
|
"text": "boolean"
|
|
1222
1343
|
},
|
|
1223
1344
|
"default": "false",
|
|
1224
1345
|
"description": "Opens the panel in the flow under the trigger instead of floating over the page (see the\r\nstyles). `st-header` sets this on its own menu's dropdowns while its hamburger panel shows.",
|
|
1225
|
-
"
|
|
1346
|
+
"attribute": "inline",
|
|
1347
|
+
"reflects": true
|
|
1226
1348
|
},
|
|
1227
1349
|
{
|
|
1350
|
+
"kind": "field",
|
|
1228
1351
|
"name": "open",
|
|
1229
1352
|
"type": {
|
|
1230
1353
|
"text": "boolean"
|
|
1231
1354
|
},
|
|
1232
1355
|
"default": "false",
|
|
1233
1356
|
"description": "Whether the panel is showing. Follows user toggles; may also be set from outside.",
|
|
1234
|
-
"
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
"superclass": {
|
|
1238
|
-
"name": "LitElement",
|
|
1239
|
-
"package": "lit"
|
|
1240
|
-
},
|
|
1241
|
-
"tagName": "st-dropdown",
|
|
1242
|
-
"customElement": true
|
|
1243
|
-
}
|
|
1244
|
-
],
|
|
1245
|
-
"exports": [
|
|
1246
|
-
{
|
|
1247
|
-
"kind": "js",
|
|
1248
|
-
"name": "Dropdown",
|
|
1249
|
-
"declaration": {
|
|
1250
|
-
"name": "Dropdown",
|
|
1251
|
-
"module": "src/dropdown/Dropdown.ts"
|
|
1252
|
-
}
|
|
1253
|
-
},
|
|
1254
|
-
{
|
|
1255
|
-
"kind": "custom-element-definition",
|
|
1256
|
-
"name": "st-dropdown",
|
|
1257
|
-
"declaration": {
|
|
1258
|
-
"name": "Dropdown",
|
|
1259
|
-
"module": "src/dropdown/Dropdown.ts"
|
|
1260
|
-
}
|
|
1261
|
-
}
|
|
1262
|
-
]
|
|
1263
|
-
},
|
|
1264
|
-
{
|
|
1265
|
-
"kind": "javascript-module",
|
|
1266
|
-
"path": "src/feature-split/FeatureSplit.ts",
|
|
1267
|
-
"declarations": [
|
|
1268
|
-
{
|
|
1269
|
-
"kind": "class",
|
|
1270
|
-
"description": "A title/markdown-subtitle/feature-list block beside (or under) an image.",
|
|
1271
|
-
"name": "FeatureSplit",
|
|
1272
|
-
"members": [
|
|
1357
|
+
"attribute": "open",
|
|
1358
|
+
"reflects": true
|
|
1359
|
+
},
|
|
1273
1360
|
{
|
|
1274
1361
|
"kind": "field",
|
|
1275
|
-
"name": "
|
|
1362
|
+
"name": "hasContent",
|
|
1276
1363
|
"type": {
|
|
1277
1364
|
"text": "boolean"
|
|
1278
1365
|
},
|
|
1366
|
+
"privacy": "private",
|
|
1279
1367
|
"default": "false",
|
|
1280
|
-
"
|
|
1281
|
-
"reflects": true
|
|
1368
|
+
"description": "Whether the default slot has content — the source's `children` check."
|
|
1282
1369
|
},
|
|
1283
1370
|
{
|
|
1284
1371
|
"kind": "field",
|
|
1285
|
-
"name": "
|
|
1372
|
+
"name": "hasIcon",
|
|
1286
1373
|
"type": {
|
|
1287
|
-
"text": "
|
|
1374
|
+
"text": "boolean"
|
|
1288
1375
|
},
|
|
1289
|
-
"
|
|
1290
|
-
"
|
|
1376
|
+
"privacy": "private",
|
|
1377
|
+
"default": "false",
|
|
1378
|
+
"description": "Whether `slot=\"icon\"` has content."
|
|
1379
|
+
},
|
|
1380
|
+
{
|
|
1381
|
+
"kind": "method",
|
|
1382
|
+
"name": "setOpen",
|
|
1383
|
+
"privacy": "private",
|
|
1384
|
+
"return": {
|
|
1385
|
+
"type": {
|
|
1386
|
+
"text": "void"
|
|
1387
|
+
}
|
|
1388
|
+
},
|
|
1389
|
+
"parameters": [
|
|
1390
|
+
{
|
|
1391
|
+
"name": "open",
|
|
1392
|
+
"type": {
|
|
1393
|
+
"text": "boolean"
|
|
1394
|
+
}
|
|
1395
|
+
}
|
|
1396
|
+
]
|
|
1397
|
+
},
|
|
1398
|
+
{
|
|
1399
|
+
"kind": "field",
|
|
1400
|
+
"name": "closeOnOutsideMouseDown",
|
|
1401
|
+
"privacy": "private"
|
|
1402
|
+
},
|
|
1403
|
+
{
|
|
1404
|
+
"kind": "field",
|
|
1405
|
+
"name": "closeOnEscape",
|
|
1406
|
+
"privacy": "private"
|
|
1407
|
+
},
|
|
1408
|
+
{
|
|
1409
|
+
"kind": "method",
|
|
1410
|
+
"name": "trigger",
|
|
1411
|
+
"privacy": "private",
|
|
1412
|
+
"return": {
|
|
1413
|
+
"type": {
|
|
1414
|
+
"text": "HTMLElement | null"
|
|
1415
|
+
}
|
|
1416
|
+
}
|
|
1417
|
+
},
|
|
1418
|
+
{
|
|
1419
|
+
"kind": "method",
|
|
1420
|
+
"name": "panelItems",
|
|
1421
|
+
"privacy": "private",
|
|
1422
|
+
"return": {
|
|
1423
|
+
"type": {
|
|
1424
|
+
"text": "HTMLElement[]"
|
|
1425
|
+
}
|
|
1426
|
+
},
|
|
1427
|
+
"description": "Keyboard-reachable entries in the panel, in order: menu items (they delegate focus to their\r\nown link) plus any plain links/buttons/tabbable elements a caller slots in."
|
|
1428
|
+
},
|
|
1429
|
+
{
|
|
1430
|
+
"kind": "method",
|
|
1431
|
+
"name": "focusItem",
|
|
1432
|
+
"privacy": "private",
|
|
1433
|
+
"return": {
|
|
1434
|
+
"type": {
|
|
1435
|
+
"text": "void"
|
|
1436
|
+
}
|
|
1437
|
+
},
|
|
1438
|
+
"parameters": [
|
|
1439
|
+
{
|
|
1440
|
+
"name": "pick",
|
|
1441
|
+
"type": {
|
|
1442
|
+
"text": "(items: HTMLElement[]) => HTMLElement | undefined"
|
|
1443
|
+
}
|
|
1444
|
+
}
|
|
1445
|
+
],
|
|
1446
|
+
"description": "Moves focus into the panel once it has become visible (it is `visibility: hidden` until the\r\n`show` class lands, and hidden elements can't take focus)."
|
|
1447
|
+
},
|
|
1448
|
+
{
|
|
1449
|
+
"kind": "field",
|
|
1450
|
+
"name": "onTitleKeyDown",
|
|
1451
|
+
"privacy": "private",
|
|
1452
|
+
"description": "Enter/Space/ArrowDown open the panel and focus its first entry; ArrowUp its last."
|
|
1453
|
+
},
|
|
1454
|
+
{
|
|
1455
|
+
"kind": "field",
|
|
1456
|
+
"name": "onPanelKeyDown",
|
|
1457
|
+
"privacy": "private",
|
|
1458
|
+
"description": "Arrow keys/Home/End move between the panel's entries; Tab closes the panel and moves on."
|
|
1459
|
+
},
|
|
1460
|
+
{
|
|
1461
|
+
"kind": "field",
|
|
1462
|
+
"name": "onTitleClick",
|
|
1463
|
+
"privacy": "private"
|
|
1464
|
+
},
|
|
1465
|
+
{
|
|
1466
|
+
"kind": "field",
|
|
1467
|
+
"name": "onPanelClick",
|
|
1468
|
+
"privacy": "private",
|
|
1469
|
+
"description": "A click anywhere inside the panel closes it, as in the source."
|
|
1291
1470
|
},
|
|
1292
1471
|
{
|
|
1293
1472
|
"kind": "field",
|
|
1294
|
-
"name": "
|
|
1295
|
-
"
|
|
1296
|
-
"text": "string"
|
|
1297
|
-
},
|
|
1298
|
-
"default": "''",
|
|
1299
|
-
"description": "Markdown.",
|
|
1300
|
-
"attribute": "subtitle"
|
|
1473
|
+
"name": "onContentSlotChange",
|
|
1474
|
+
"privacy": "private"
|
|
1301
1475
|
},
|
|
1302
1476
|
{
|
|
1303
1477
|
"kind": "field",
|
|
1304
|
-
"name": "
|
|
1478
|
+
"name": "onIconSlotChange",
|
|
1479
|
+
"privacy": "private"
|
|
1480
|
+
}
|
|
1481
|
+
],
|
|
1482
|
+
"events": [
|
|
1483
|
+
{
|
|
1484
|
+
"name": "dropdown-toggle",
|
|
1305
1485
|
"type": {
|
|
1306
|
-
"text": "
|
|
1307
|
-
}
|
|
1308
|
-
|
|
1309
|
-
|
|
1486
|
+
"text": "CustomEvent"
|
|
1487
|
+
}
|
|
1488
|
+
}
|
|
1489
|
+
],
|
|
1490
|
+
"attributes": [
|
|
1310
1491
|
{
|
|
1311
|
-
"
|
|
1312
|
-
"name": "imageSrc",
|
|
1492
|
+
"name": "label",
|
|
1313
1493
|
"type": {
|
|
1314
1494
|
"text": "string"
|
|
1315
1495
|
},
|
|
1316
1496
|
"default": "''",
|
|
1317
|
-
"
|
|
1497
|
+
"description": "Trigger label text (source: `title`, renamed because `title` is the native tooltip\r\nattribute). Leave empty to show only `slot=\"icon\"`.",
|
|
1498
|
+
"fieldName": "label"
|
|
1318
1499
|
},
|
|
1319
1500
|
{
|
|
1320
|
-
"
|
|
1321
|
-
"name": "imageAlt",
|
|
1501
|
+
"name": "href",
|
|
1322
1502
|
"type": {
|
|
1323
1503
|
"text": "string"
|
|
1324
1504
|
},
|
|
1325
1505
|
"default": "''",
|
|
1326
|
-
"
|
|
1506
|
+
"description": "Renders the trigger as an `<a href>`. With panel content the click toggles the panel (as in\r\nthe source); with none it navigates.",
|
|
1507
|
+
"fieldName": "href"
|
|
1327
1508
|
},
|
|
1328
1509
|
{
|
|
1329
|
-
"
|
|
1330
|
-
"name": "imagePosition",
|
|
1510
|
+
"name": "icon-position",
|
|
1331
1511
|
"type": {
|
|
1332
|
-
"text": "
|
|
1512
|
+
"text": "'left' | 'right'"
|
|
1333
1513
|
},
|
|
1334
|
-
"default": "'
|
|
1335
|
-
"
|
|
1336
|
-
"reflects": true
|
|
1514
|
+
"default": "'left'",
|
|
1515
|
+
"fieldName": "iconPosition"
|
|
1337
1516
|
},
|
|
1338
1517
|
{
|
|
1339
|
-
"
|
|
1340
|
-
"name": "actionLabel",
|
|
1518
|
+
"name": "icon-size",
|
|
1341
1519
|
"type": {
|
|
1342
1520
|
"text": "string"
|
|
1343
1521
|
},
|
|
1344
|
-
"default": "''",
|
|
1345
|
-
"
|
|
1522
|
+
"default": "'1.2rem'",
|
|
1523
|
+
"description": "Inline `width`/`height` of the `slot=\"icon\"` wrapper (source: `iconSize`, default `1.2rem`).",
|
|
1524
|
+
"fieldName": "iconSize"
|
|
1346
1525
|
},
|
|
1347
1526
|
{
|
|
1348
|
-
"
|
|
1349
|
-
"name": "href",
|
|
1527
|
+
"name": "icon-color",
|
|
1350
1528
|
"type": {
|
|
1351
1529
|
"text": "string"
|
|
1352
1530
|
},
|
|
1353
|
-
"default": "''",
|
|
1354
|
-
"
|
|
1531
|
+
"default": "'currentColor'",
|
|
1532
|
+
"description": "Inline `color` of the `slot=\"icon\"` wrapper (source: `iconColor`).",
|
|
1533
|
+
"fieldName": "iconColor"
|
|
1355
1534
|
},
|
|
1356
1535
|
{
|
|
1357
|
-
"
|
|
1358
|
-
"name": "onAction",
|
|
1359
|
-
"privacy": "private"
|
|
1360
|
-
}
|
|
1361
|
-
],
|
|
1362
|
-
"attributes": [
|
|
1363
|
-
{
|
|
1364
|
-
"name": "inverted",
|
|
1536
|
+
"name": "align",
|
|
1365
1537
|
"type": {
|
|
1366
|
-
"text": "
|
|
1538
|
+
"text": "'left' | 'right'"
|
|
1367
1539
|
},
|
|
1368
|
-
"default": "
|
|
1369
|
-
"
|
|
1540
|
+
"default": "'left'",
|
|
1541
|
+
"description": "Which edge of the trigger the panel lines up with.",
|
|
1542
|
+
"fieldName": "align"
|
|
1370
1543
|
},
|
|
1371
1544
|
{
|
|
1372
|
-
"name": "
|
|
1545
|
+
"name": "target",
|
|
1373
1546
|
"type": {
|
|
1374
1547
|
"text": "string"
|
|
1375
1548
|
},
|
|
1376
|
-
"default": "''",
|
|
1377
|
-
"
|
|
1549
|
+
"default": "'_self'",
|
|
1550
|
+
"description": "`target` of an `href` trigger (source default `_self`).",
|
|
1551
|
+
"fieldName": "target"
|
|
1378
1552
|
},
|
|
1379
1553
|
{
|
|
1380
|
-
"name": "
|
|
1554
|
+
"name": "trigger-class-name",
|
|
1381
1555
|
"type": {
|
|
1382
1556
|
"text": "string"
|
|
1383
1557
|
},
|
|
1384
1558
|
"default": "''",
|
|
1385
|
-
"description": "
|
|
1386
|
-
"fieldName": "
|
|
1559
|
+
"description": "Extra class(es) on the trigger (source: `className`; a `class` on `st-dropdown` styles the host).",
|
|
1560
|
+
"fieldName": "triggerClassName"
|
|
1387
1561
|
},
|
|
1388
1562
|
{
|
|
1389
|
-
"name": "
|
|
1563
|
+
"name": "item-group-class-name",
|
|
1390
1564
|
"type": {
|
|
1391
1565
|
"text": "string"
|
|
1392
1566
|
},
|
|
1393
1567
|
"default": "''",
|
|
1394
|
-
"
|
|
1568
|
+
"description": "Extra class(es) on the panel (source: `itemGroupClassName`).",
|
|
1569
|
+
"fieldName": "itemGroupClassName"
|
|
1395
1570
|
},
|
|
1396
1571
|
{
|
|
1397
|
-
"name": "
|
|
1572
|
+
"name": "item-class-name",
|
|
1398
1573
|
"type": {
|
|
1399
1574
|
"text": "string"
|
|
1400
1575
|
},
|
|
1401
1576
|
"default": "''",
|
|
1402
|
-
"
|
|
1577
|
+
"description": "Unused, as in the source (`itemClassName` is never read there); kept for prop parity.",
|
|
1578
|
+
"fieldName": "itemClassName"
|
|
1403
1579
|
},
|
|
1404
1580
|
{
|
|
1405
|
-
"name": "
|
|
1581
|
+
"name": "disabled",
|
|
1406
1582
|
"type": {
|
|
1407
|
-
"text": "
|
|
1583
|
+
"text": "boolean"
|
|
1408
1584
|
},
|
|
1409
|
-
"default": "
|
|
1410
|
-
"fieldName": "
|
|
1585
|
+
"default": "false",
|
|
1586
|
+
"fieldName": "disabled"
|
|
1411
1587
|
},
|
|
1412
1588
|
{
|
|
1413
|
-
"name": "
|
|
1589
|
+
"name": "active",
|
|
1414
1590
|
"type": {
|
|
1415
|
-
"text": "
|
|
1591
|
+
"text": "boolean"
|
|
1416
1592
|
},
|
|
1417
|
-
"default": "
|
|
1418
|
-
"
|
|
1593
|
+
"default": "false",
|
|
1594
|
+
"description": "Highlights the trigger as the current section (e.g. the current page is one of its items).",
|
|
1595
|
+
"fieldName": "active"
|
|
1419
1596
|
},
|
|
1420
1597
|
{
|
|
1421
|
-
"name": "
|
|
1598
|
+
"name": "inline",
|
|
1422
1599
|
"type": {
|
|
1423
|
-
"text": "
|
|
1600
|
+
"text": "boolean"
|
|
1424
1601
|
},
|
|
1425
|
-
"default": "
|
|
1426
|
-
"
|
|
1602
|
+
"default": "false",
|
|
1603
|
+
"description": "Opens the panel in the flow under the trigger instead of floating over the page (see the\r\nstyles). `st-header` sets this on its own menu's dropdowns while its hamburger panel shows.",
|
|
1604
|
+
"fieldName": "inline"
|
|
1605
|
+
},
|
|
1606
|
+
{
|
|
1607
|
+
"name": "open",
|
|
1608
|
+
"type": {
|
|
1609
|
+
"text": "boolean"
|
|
1610
|
+
},
|
|
1611
|
+
"default": "false",
|
|
1612
|
+
"description": "Whether the panel is showing. Follows user toggles; may also be set from outside.",
|
|
1613
|
+
"fieldName": "open"
|
|
1427
1614
|
}
|
|
1428
1615
|
],
|
|
1429
1616
|
"superclass": {
|
|
1430
1617
|
"name": "LitElement",
|
|
1431
1618
|
"package": "lit"
|
|
1432
1619
|
},
|
|
1433
|
-
"tagName": "st-
|
|
1620
|
+
"tagName": "st-dropdown",
|
|
1434
1621
|
"customElement": true
|
|
1435
1622
|
}
|
|
1436
1623
|
],
|
|
1437
1624
|
"exports": [
|
|
1438
1625
|
{
|
|
1439
1626
|
"kind": "js",
|
|
1440
|
-
"name": "
|
|
1627
|
+
"name": "Dropdown",
|
|
1441
1628
|
"declaration": {
|
|
1442
|
-
"name": "
|
|
1443
|
-
"module": "src/
|
|
1629
|
+
"name": "Dropdown",
|
|
1630
|
+
"module": "src/dropdown/Dropdown.ts"
|
|
1444
1631
|
}
|
|
1445
1632
|
},
|
|
1446
1633
|
{
|
|
1447
1634
|
"kind": "custom-element-definition",
|
|
1448
|
-
"name": "st-
|
|
1635
|
+
"name": "st-dropdown",
|
|
1449
1636
|
"declaration": {
|
|
1450
|
-
"name": "
|
|
1451
|
-
"module": "src/
|
|
1637
|
+
"name": "Dropdown",
|
|
1638
|
+
"module": "src/dropdown/Dropdown.ts"
|
|
1452
1639
|
}
|
|
1453
1640
|
}
|
|
1454
1641
|
]
|
|
@@ -1737,525 +1924,665 @@
|
|
|
1737
1924
|
},
|
|
1738
1925
|
{
|
|
1739
1926
|
"kind": "javascript-module",
|
|
1740
|
-
"path": "src/
|
|
1927
|
+
"path": "src/header/Header.ts",
|
|
1741
1928
|
"declarations": [
|
|
1742
1929
|
{
|
|
1743
1930
|
"kind": "class",
|
|
1744
|
-
"description": "The
|
|
1745
|
-
"name": "
|
|
1931
|
+
"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.",
|
|
1932
|
+
"name": "Header",
|
|
1746
1933
|
"members": [
|
|
1747
1934
|
{
|
|
1748
1935
|
"kind": "field",
|
|
1749
|
-
"name": "
|
|
1936
|
+
"name": "title",
|
|
1937
|
+
"type": {
|
|
1938
|
+
"text": "string"
|
|
1939
|
+
},
|
|
1940
|
+
"default": "''",
|
|
1941
|
+
"attribute": "title"
|
|
1942
|
+
},
|
|
1943
|
+
{
|
|
1944
|
+
"kind": "field",
|
|
1945
|
+
"name": "brandImageUrl",
|
|
1946
|
+
"type": {
|
|
1947
|
+
"text": "string"
|
|
1948
|
+
},
|
|
1949
|
+
"default": "''",
|
|
1950
|
+
"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).",
|
|
1951
|
+
"attribute": "brand-image-url"
|
|
1952
|
+
},
|
|
1953
|
+
{
|
|
1954
|
+
"kind": "field",
|
|
1955
|
+
"name": "altText",
|
|
1956
|
+
"type": {
|
|
1957
|
+
"text": "string"
|
|
1958
|
+
},
|
|
1959
|
+
"default": "'Logo'",
|
|
1960
|
+
"description": "`alt` text for the brand image — matches the source component's `altText` (default `'Logo'`).",
|
|
1961
|
+
"attribute": "alt-text"
|
|
1962
|
+
},
|
|
1963
|
+
{
|
|
1964
|
+
"kind": "field",
|
|
1965
|
+
"name": "logoHref",
|
|
1966
|
+
"type": {
|
|
1967
|
+
"text": "string"
|
|
1968
|
+
},
|
|
1969
|
+
"default": "''",
|
|
1970
|
+
"description": "Wraps the brand in an `<a>` when set (e.g. `/`); a plain non-link `<div>` otherwise.",
|
|
1971
|
+
"attribute": "logoHref"
|
|
1972
|
+
},
|
|
1973
|
+
{
|
|
1974
|
+
"kind": "field",
|
|
1975
|
+
"name": "logoTarget",
|
|
1976
|
+
"type": {
|
|
1977
|
+
"text": "string"
|
|
1978
|
+
},
|
|
1979
|
+
"default": "'_self'",
|
|
1980
|
+
"description": "`target` for the brand `<a>` — matches the source component's `logoTarget` (default `_self`). No effect when `logoHref` isn't set.",
|
|
1981
|
+
"attribute": "logo-target"
|
|
1982
|
+
},
|
|
1983
|
+
{
|
|
1984
|
+
"kind": "field",
|
|
1985
|
+
"name": "logoClassName",
|
|
1986
|
+
"type": {
|
|
1987
|
+
"text": "string"
|
|
1988
|
+
},
|
|
1989
|
+
"default": "''",
|
|
1990
|
+
"description": "Extra class(es) appended to the brand link/div — matches the source component's `logoClassName`.",
|
|
1991
|
+
"attribute": "logo-class-name"
|
|
1992
|
+
},
|
|
1993
|
+
{
|
|
1994
|
+
"kind": "field",
|
|
1995
|
+
"name": "inverted",
|
|
1996
|
+
"type": {
|
|
1997
|
+
"text": "boolean"
|
|
1998
|
+
},
|
|
1999
|
+
"default": "false",
|
|
2000
|
+
"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`).",
|
|
2001
|
+
"attribute": "inverted",
|
|
2002
|
+
"reflects": true
|
|
2003
|
+
},
|
|
2004
|
+
{
|
|
2005
|
+
"kind": "field",
|
|
2006
|
+
"name": "sticky",
|
|
2007
|
+
"type": {
|
|
2008
|
+
"text": "boolean"
|
|
2009
|
+
},
|
|
2010
|
+
"default": "false",
|
|
2011
|
+
"attribute": "sticky",
|
|
2012
|
+
"reflects": true
|
|
2013
|
+
},
|
|
2014
|
+
{
|
|
2015
|
+
"kind": "field",
|
|
2016
|
+
"name": "transparent",
|
|
2017
|
+
"type": {
|
|
2018
|
+
"text": "boolean"
|
|
2019
|
+
},
|
|
2020
|
+
"default": "false",
|
|
2021
|
+
"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.",
|
|
2022
|
+
"attribute": "transparent",
|
|
2023
|
+
"reflects": true
|
|
2024
|
+
},
|
|
2025
|
+
{
|
|
2026
|
+
"kind": "field",
|
|
2027
|
+
"name": "hideOnScroll",
|
|
2028
|
+
"type": {
|
|
2029
|
+
"text": "boolean"
|
|
2030
|
+
},
|
|
2031
|
+
"default": "false",
|
|
2032
|
+
"description": "Slides the header out of view while the page scrolls down and back in when it scrolls up.",
|
|
2033
|
+
"attribute": "hide-on-scroll",
|
|
2034
|
+
"reflects": true
|
|
2035
|
+
},
|
|
2036
|
+
{
|
|
2037
|
+
"kind": "field",
|
|
2038
|
+
"name": "scrollThreshold",
|
|
2039
|
+
"type": {
|
|
2040
|
+
"text": "number"
|
|
2041
|
+
},
|
|
2042
|
+
"default": "8",
|
|
2043
|
+
"description": "Scroll distance in px after which the header counts as `scrolled`.",
|
|
2044
|
+
"attribute": "scroll-threshold"
|
|
2045
|
+
},
|
|
2046
|
+
{
|
|
2047
|
+
"kind": "field",
|
|
2048
|
+
"name": "scrolled",
|
|
1750
2049
|
"type": {
|
|
1751
2050
|
"text": "boolean"
|
|
1752
2051
|
},
|
|
1753
2052
|
"default": "false",
|
|
1754
|
-
"description": "
|
|
1755
|
-
"attribute": "
|
|
2053
|
+
"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.",
|
|
2054
|
+
"attribute": "scrolled",
|
|
1756
2055
|
"reflects": true
|
|
1757
2056
|
},
|
|
1758
2057
|
{
|
|
1759
2058
|
"kind": "field",
|
|
1760
|
-
"name": "
|
|
2059
|
+
"name": "scrollHidden",
|
|
1761
2060
|
"type": {
|
|
1762
|
-
"text": "
|
|
2061
|
+
"text": "boolean"
|
|
1763
2062
|
},
|
|
1764
|
-
"default": "
|
|
1765
|
-
"description": "
|
|
1766
|
-
"attribute": "
|
|
2063
|
+
"default": "false",
|
|
2064
|
+
"description": "True while `hide-on-scroll` has slid the header away. Set by the header, never from outside.",
|
|
2065
|
+
"attribute": "scroll-hidden",
|
|
2066
|
+
"reflects": true
|
|
1767
2067
|
},
|
|
1768
2068
|
{
|
|
1769
2069
|
"kind": "field",
|
|
1770
|
-
"name": "
|
|
2070
|
+
"name": "lastScrollY",
|
|
1771
2071
|
"type": {
|
|
1772
|
-
"text": "
|
|
2072
|
+
"text": "number"
|
|
1773
2073
|
},
|
|
1774
|
-
"
|
|
1775
|
-
"
|
|
1776
|
-
"attribute": "copyright"
|
|
2074
|
+
"privacy": "private",
|
|
2075
|
+
"default": "0"
|
|
1777
2076
|
},
|
|
1778
2077
|
{
|
|
1779
2078
|
"kind": "field",
|
|
1780
|
-
"name": "
|
|
2079
|
+
"name": "scrollFrame",
|
|
1781
2080
|
"type": {
|
|
1782
|
-
"text": "
|
|
2081
|
+
"text": "number"
|
|
1783
2082
|
},
|
|
1784
|
-
"
|
|
1785
|
-
"
|
|
2083
|
+
"privacy": "private",
|
|
2084
|
+
"default": "0"
|
|
1786
2085
|
},
|
|
1787
2086
|
{
|
|
1788
2087
|
"kind": "field",
|
|
1789
|
-
"name": "
|
|
2088
|
+
"name": "onScroll",
|
|
2089
|
+
"privacy": "private"
|
|
2090
|
+
},
|
|
2091
|
+
{
|
|
2092
|
+
"kind": "field",
|
|
2093
|
+
"name": "languages",
|
|
1790
2094
|
"type": {
|
|
1791
|
-
"text": "string"
|
|
2095
|
+
"text": "{ code: string; label: string }[]"
|
|
1792
2096
|
},
|
|
1793
|
-
"default": "
|
|
1794
|
-
"
|
|
2097
|
+
"default": "[]",
|
|
2098
|
+
"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."
|
|
1795
2099
|
},
|
|
1796
2100
|
{
|
|
1797
2101
|
"kind": "field",
|
|
1798
|
-
"name": "
|
|
2102
|
+
"name": "currentLanguageCode",
|
|
1799
2103
|
"type": {
|
|
1800
2104
|
"text": "string"
|
|
1801
2105
|
},
|
|
1802
2106
|
"default": "''",
|
|
1803
|
-
"
|
|
1804
|
-
"attribute": "version"
|
|
2107
|
+
"attribute": "current-language-code"
|
|
1805
2108
|
},
|
|
1806
2109
|
{
|
|
1807
2110
|
"kind": "field",
|
|
1808
|
-
"name": "
|
|
2111
|
+
"name": "languageMenuLabel",
|
|
1809
2112
|
"type": {
|
|
1810
2113
|
"text": "string"
|
|
1811
2114
|
},
|
|
1812
|
-
"default": "''",
|
|
1813
|
-
"
|
|
1814
|
-
"attribute": "image-src"
|
|
2115
|
+
"default": "'Language'",
|
|
2116
|
+
"attribute": "language-menu-label"
|
|
1815
2117
|
},
|
|
1816
2118
|
{
|
|
1817
2119
|
"kind": "field",
|
|
1818
|
-
"name": "
|
|
2120
|
+
"name": "mobileOpen",
|
|
1819
2121
|
"type": {
|
|
1820
|
-
"text": "
|
|
2122
|
+
"text": "boolean"
|
|
1821
2123
|
},
|
|
1822
|
-
"default": "
|
|
1823
|
-
"description": "
|
|
1824
|
-
"attribute": "
|
|
2124
|
+
"default": "false",
|
|
2125
|
+
"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.",
|
|
2126
|
+
"attribute": "mobile-open",
|
|
2127
|
+
"reflects": true
|
|
1825
2128
|
},
|
|
1826
2129
|
{
|
|
1827
2130
|
"kind": "field",
|
|
1828
|
-
"name": "
|
|
2131
|
+
"name": "compact",
|
|
1829
2132
|
"type": {
|
|
1830
|
-
"text": "
|
|
2133
|
+
"text": "boolean"
|
|
1831
2134
|
},
|
|
1832
|
-
"default": "
|
|
1833
|
-
"description": "
|
|
2135
|
+
"default": "false",
|
|
2136
|
+
"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.",
|
|
2137
|
+
"attribute": "compact",
|
|
2138
|
+
"reflects": true
|
|
1834
2139
|
},
|
|
1835
2140
|
{
|
|
1836
2141
|
"kind": "field",
|
|
1837
|
-
"name": "
|
|
2142
|
+
"name": "languageMenuOpen",
|
|
1838
2143
|
"type": {
|
|
1839
|
-
"text": "
|
|
2144
|
+
"text": "boolean"
|
|
1840
2145
|
},
|
|
1841
|
-
"
|
|
1842
|
-
"
|
|
2146
|
+
"privacy": "private",
|
|
2147
|
+
"default": "false"
|
|
1843
2148
|
},
|
|
1844
2149
|
{
|
|
1845
2150
|
"kind": "field",
|
|
1846
|
-
"name": "
|
|
2151
|
+
"name": "hasUtility",
|
|
1847
2152
|
"type": {
|
|
1848
2153
|
"text": "boolean"
|
|
1849
2154
|
},
|
|
1850
2155
|
"privacy": "private",
|
|
1851
|
-
"
|
|
2156
|
+
"default": "false",
|
|
2157
|
+
"description": "Whether `slot=\"utility\"` has content — an empty utility row (and its divider) is hidden."
|
|
1852
2158
|
},
|
|
1853
2159
|
{
|
|
1854
2160
|
"kind": "field",
|
|
1855
|
-
"name": "
|
|
2161
|
+
"name": "resizeObserver",
|
|
1856
2162
|
"type": {
|
|
1857
|
-
"text": "
|
|
2163
|
+
"text": "ResizeObserver | undefined"
|
|
2164
|
+
},
|
|
2165
|
+
"privacy": "private"
|
|
2166
|
+
},
|
|
2167
|
+
{
|
|
2168
|
+
"kind": "field",
|
|
2169
|
+
"name": "narrowQuery",
|
|
2170
|
+
"type": {
|
|
2171
|
+
"text": "MediaQueryList | undefined"
|
|
1858
2172
|
},
|
|
1859
2173
|
"privacy": "private",
|
|
1860
|
-
"
|
|
2174
|
+
"description": "Matches below BREAKPOINT_TABLET, where the hamburger layout is always on."
|
|
1861
2175
|
},
|
|
1862
2176
|
{
|
|
1863
|
-
"kind": "
|
|
1864
|
-
"name": "
|
|
2177
|
+
"kind": "field",
|
|
2178
|
+
"name": "inlinedDropdowns",
|
|
1865
2179
|
"privacy": "private",
|
|
1866
|
-
"
|
|
1867
|
-
|
|
1868
|
-
"text": "void"
|
|
1869
|
-
}
|
|
1870
|
-
},
|
|
1871
|
-
"parameters": [
|
|
1872
|
-
{
|
|
1873
|
-
"name": "event",
|
|
1874
|
-
"type": {
|
|
1875
|
-
"text": "MouseEvent"
|
|
1876
|
-
}
|
|
1877
|
-
},
|
|
1878
|
-
{
|
|
1879
|
-
"name": "href",
|
|
1880
|
-
"type": {
|
|
1881
|
-
"text": "string"
|
|
1882
|
-
}
|
|
1883
|
-
}
|
|
1884
|
-
]
|
|
2180
|
+
"default": "new Set<HTMLElement & { inline: boolean }>()",
|
|
2181
|
+
"description": "The dropdowns this header switched to `inline` — only these are switched back, so a caller's\r\nown `inline` setting is left alone."
|
|
1885
2182
|
},
|
|
1886
2183
|
{
|
|
1887
|
-
"kind": "
|
|
1888
|
-
"name": "
|
|
2184
|
+
"kind": "field",
|
|
2185
|
+
"name": "syncInlineDropdowns",
|
|
1889
2186
|
"privacy": "private",
|
|
1890
|
-
"
|
|
1891
|
-
{
|
|
1892
|
-
"name": "link",
|
|
1893
|
-
"type": {
|
|
1894
|
-
"text": "FooterLink"
|
|
1895
|
-
}
|
|
1896
|
-
}
|
|
1897
|
-
]
|
|
2187
|
+
"description": "While the hamburger layout is on, the dropdowns in the header open in the flow of the\r\nfull-screen panel instead of floating over it (SankhyaUI's touch-device layout)."
|
|
1898
2188
|
},
|
|
1899
2189
|
{
|
|
1900
|
-
"kind": "
|
|
1901
|
-
"name": "
|
|
2190
|
+
"kind": "field",
|
|
2191
|
+
"name": "onUtilitySlotChange",
|
|
1902
2192
|
"privacy": "private"
|
|
1903
2193
|
},
|
|
1904
2194
|
{
|
|
1905
|
-
"kind": "
|
|
1906
|
-
"name": "
|
|
2195
|
+
"kind": "field",
|
|
2196
|
+
"name": "onMenuSlotChange",
|
|
1907
2197
|
"privacy": "private"
|
|
1908
|
-
}
|
|
1909
|
-
],
|
|
1910
|
-
"attributes": [
|
|
2198
|
+
},
|
|
1911
2199
|
{
|
|
1912
|
-
"
|
|
2200
|
+
"kind": "field",
|
|
2201
|
+
"name": "collapsedAtWidth",
|
|
1913
2202
|
"type": {
|
|
1914
|
-
"text": "
|
|
2203
|
+
"text": "number"
|
|
1915
2204
|
},
|
|
1916
|
-
"
|
|
1917
|
-
"
|
|
1918
|
-
"
|
|
2205
|
+
"privacy": "private",
|
|
2206
|
+
"default": "0",
|
|
2207
|
+
"description": "The bar width at which the menu last overflowed — the bar only expands again once it is\r\nclearly wider than this, so it can't flip back and forth right at the threshold."
|
|
1919
2208
|
},
|
|
1920
2209
|
{
|
|
1921
|
-
"
|
|
1922
|
-
"
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
"default": "''",
|
|
1926
|
-
"description": "Used to build the default `copyright` line (`© {year} {companyName}`) when `copyright` isn't set explicitly.",
|
|
1927
|
-
"fieldName": "companyName"
|
|
2210
|
+
"kind": "field",
|
|
2211
|
+
"name": "evaluateFit",
|
|
2212
|
+
"privacy": "private",
|
|
2213
|
+
"description": "Collapses to the hamburger layout when the slotted menu overflows its row, and expands again\r\nonce there is room. The collapsed layout hides the menu, so the room it needs can't be\r\nmeasured then; the width remembered when it collapsed stands in for it."
|
|
1928
2214
|
},
|
|
1929
2215
|
{
|
|
1930
|
-
"
|
|
1931
|
-
"
|
|
1932
|
-
|
|
2216
|
+
"kind": "method",
|
|
2217
|
+
"name": "menuOverflows",
|
|
2218
|
+
"privacy": "private",
|
|
2219
|
+
"return": {
|
|
2220
|
+
"type": {
|
|
2221
|
+
"text": "boolean"
|
|
2222
|
+
}
|
|
1933
2223
|
},
|
|
1934
|
-
"
|
|
1935
|
-
"description": "Overrides the default computed copyright line entirely.",
|
|
1936
|
-
"fieldName": "copyright"
|
|
2224
|
+
"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."
|
|
1937
2225
|
},
|
|
1938
2226
|
{
|
|
1939
|
-
"
|
|
2227
|
+
"kind": "field",
|
|
2228
|
+
"name": "lightDomObserver",
|
|
1940
2229
|
"type": {
|
|
1941
|
-
"text": "
|
|
2230
|
+
"text": "MutationObserver | undefined"
|
|
1942
2231
|
},
|
|
1943
|
-
"
|
|
1944
|
-
"fieldName": "poweredBy"
|
|
2232
|
+
"privacy": "private"
|
|
1945
2233
|
},
|
|
1946
2234
|
{
|
|
1947
|
-
"
|
|
1948
|
-
"
|
|
1949
|
-
|
|
1950
|
-
},
|
|
1951
|
-
"default": "''",
|
|
1952
|
-
"fieldName": "poweredByLink"
|
|
2235
|
+
"kind": "field",
|
|
2236
|
+
"name": "closeOnEscape",
|
|
2237
|
+
"privacy": "private"
|
|
1953
2238
|
},
|
|
1954
2239
|
{
|
|
1955
|
-
"
|
|
1956
|
-
"
|
|
1957
|
-
|
|
1958
|
-
},
|
|
1959
|
-
"default": "''",
|
|
1960
|
-
"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.",
|
|
1961
|
-
"fieldName": "version"
|
|
2240
|
+
"kind": "field",
|
|
2241
|
+
"name": "closeLanguageMenuOnOutsideClick",
|
|
2242
|
+
"privacy": "private"
|
|
1962
2243
|
},
|
|
1963
2244
|
{
|
|
1964
|
-
"
|
|
1965
|
-
"
|
|
1966
|
-
|
|
1967
|
-
},
|
|
1968
|
-
"default": "''",
|
|
1969
|
-
"description": "Logo shown in the brand block (site layout).",
|
|
1970
|
-
"fieldName": "imageSrc"
|
|
2245
|
+
"kind": "method",
|
|
2246
|
+
"name": "renderLanguageMenu",
|
|
2247
|
+
"privacy": "private"
|
|
1971
2248
|
},
|
|
1972
2249
|
{
|
|
1973
|
-
"
|
|
1974
|
-
"
|
|
1975
|
-
|
|
2250
|
+
"kind": "method",
|
|
2251
|
+
"name": "onLanguageSelect",
|
|
2252
|
+
"privacy": "private",
|
|
2253
|
+
"return": {
|
|
2254
|
+
"type": {
|
|
2255
|
+
"text": "void"
|
|
2256
|
+
}
|
|
1976
2257
|
},
|
|
1977
|
-
"
|
|
1978
|
-
|
|
1979
|
-
|
|
2258
|
+
"parameters": [
|
|
2259
|
+
{
|
|
2260
|
+
"name": "code",
|
|
2261
|
+
"type": {
|
|
2262
|
+
"text": "string"
|
|
2263
|
+
}
|
|
2264
|
+
}
|
|
2265
|
+
]
|
|
2266
|
+
},
|
|
2267
|
+
{
|
|
2268
|
+
"kind": "method",
|
|
2269
|
+
"name": "renderBrand",
|
|
2270
|
+
"privacy": "private"
|
|
2271
|
+
}
|
|
2272
|
+
],
|
|
2273
|
+
"events": [
|
|
2274
|
+
{
|
|
2275
|
+
"name": "language-change",
|
|
2276
|
+
"type": {
|
|
2277
|
+
"text": "CustomEvent"
|
|
2278
|
+
}
|
|
1980
2279
|
}
|
|
1981
2280
|
],
|
|
1982
|
-
"
|
|
1983
|
-
"name": "LitElement",
|
|
1984
|
-
"package": "lit"
|
|
1985
|
-
},
|
|
1986
|
-
"tagName": "st-footer",
|
|
1987
|
-
"customElement": true
|
|
1988
|
-
}
|
|
1989
|
-
],
|
|
1990
|
-
"exports": [
|
|
1991
|
-
{
|
|
1992
|
-
"kind": "js",
|
|
1993
|
-
"name": "Footer",
|
|
1994
|
-
"declaration": {
|
|
1995
|
-
"name": "Footer",
|
|
1996
|
-
"module": "src/footer/Footer.ts"
|
|
1997
|
-
}
|
|
1998
|
-
},
|
|
1999
|
-
{
|
|
2000
|
-
"kind": "custom-element-definition",
|
|
2001
|
-
"name": "st-footer",
|
|
2002
|
-
"declaration": {
|
|
2003
|
-
"name": "Footer",
|
|
2004
|
-
"module": "src/footer/Footer.ts"
|
|
2005
|
-
}
|
|
2006
|
-
}
|
|
2007
|
-
]
|
|
2008
|
-
},
|
|
2009
|
-
{
|
|
2010
|
-
"kind": "javascript-module",
|
|
2011
|
-
"path": "src/header/Header.ts",
|
|
2012
|
-
"declarations": [
|
|
2013
|
-
{
|
|
2014
|
-
"kind": "class",
|
|
2015
|
-
"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.",
|
|
2016
|
-
"name": "Header",
|
|
2017
|
-
"members": [
|
|
2281
|
+
"attributes": [
|
|
2018
2282
|
{
|
|
2019
|
-
"kind": "field",
|
|
2020
2283
|
"name": "title",
|
|
2021
2284
|
"type": {
|
|
2022
2285
|
"text": "string"
|
|
2023
2286
|
},
|
|
2024
2287
|
"default": "''",
|
|
2025
|
-
"
|
|
2288
|
+
"fieldName": "title"
|
|
2026
2289
|
},
|
|
2027
2290
|
{
|
|
2028
|
-
"
|
|
2029
|
-
"name": "brandImageUrl",
|
|
2291
|
+
"name": "brand-image-url",
|
|
2030
2292
|
"type": {
|
|
2031
2293
|
"text": "string"
|
|
2032
2294
|
},
|
|
2033
2295
|
"default": "''",
|
|
2034
2296
|
"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).",
|
|
2035
|
-
"
|
|
2297
|
+
"fieldName": "brandImageUrl"
|
|
2036
2298
|
},
|
|
2037
2299
|
{
|
|
2038
|
-
"
|
|
2039
|
-
"name": "altText",
|
|
2300
|
+
"name": "alt-text",
|
|
2040
2301
|
"type": {
|
|
2041
2302
|
"text": "string"
|
|
2042
2303
|
},
|
|
2043
2304
|
"default": "'Logo'",
|
|
2044
2305
|
"description": "`alt` text for the brand image — matches the source component's `altText` (default `'Logo'`).",
|
|
2045
|
-
"
|
|
2306
|
+
"fieldName": "altText"
|
|
2046
2307
|
},
|
|
2047
2308
|
{
|
|
2048
|
-
"kind": "field",
|
|
2049
2309
|
"name": "logoHref",
|
|
2050
2310
|
"type": {
|
|
2051
2311
|
"text": "string"
|
|
2052
2312
|
},
|
|
2053
2313
|
"default": "''",
|
|
2054
2314
|
"description": "Wraps the brand in an `<a>` when set (e.g. `/`); a plain non-link `<div>` otherwise.",
|
|
2055
|
-
"
|
|
2315
|
+
"fieldName": "logoHref"
|
|
2056
2316
|
},
|
|
2057
2317
|
{
|
|
2058
|
-
"
|
|
2059
|
-
"name": "logoTarget",
|
|
2318
|
+
"name": "logo-target",
|
|
2060
2319
|
"type": {
|
|
2061
2320
|
"text": "string"
|
|
2062
2321
|
},
|
|
2063
2322
|
"default": "'_self'",
|
|
2064
2323
|
"description": "`target` for the brand `<a>` — matches the source component's `logoTarget` (default `_self`). No effect when `logoHref` isn't set.",
|
|
2065
|
-
"
|
|
2324
|
+
"fieldName": "logoTarget"
|
|
2066
2325
|
},
|
|
2067
2326
|
{
|
|
2068
|
-
"
|
|
2069
|
-
"name": "logoClassName",
|
|
2327
|
+
"name": "logo-class-name",
|
|
2070
2328
|
"type": {
|
|
2071
2329
|
"text": "string"
|
|
2072
2330
|
},
|
|
2073
2331
|
"default": "''",
|
|
2074
2332
|
"description": "Extra class(es) appended to the brand link/div — matches the source component's `logoClassName`.",
|
|
2075
|
-
"
|
|
2333
|
+
"fieldName": "logoClassName"
|
|
2076
2334
|
},
|
|
2077
2335
|
{
|
|
2078
|
-
"kind": "field",
|
|
2079
2336
|
"name": "inverted",
|
|
2080
2337
|
"type": {
|
|
2081
2338
|
"text": "boolean"
|
|
2082
2339
|
},
|
|
2083
2340
|
"default": "false",
|
|
2084
2341
|
"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`).",
|
|
2085
|
-
"
|
|
2086
|
-
"reflects": true
|
|
2342
|
+
"fieldName": "inverted"
|
|
2087
2343
|
},
|
|
2088
2344
|
{
|
|
2089
|
-
"kind": "field",
|
|
2090
2345
|
"name": "sticky",
|
|
2091
2346
|
"type": {
|
|
2092
2347
|
"text": "boolean"
|
|
2093
2348
|
},
|
|
2094
2349
|
"default": "false",
|
|
2095
|
-
"
|
|
2096
|
-
"reflects": true
|
|
2350
|
+
"fieldName": "sticky"
|
|
2097
2351
|
},
|
|
2098
2352
|
{
|
|
2099
|
-
"
|
|
2100
|
-
"name": "languages",
|
|
2353
|
+
"name": "transparent",
|
|
2101
2354
|
"type": {
|
|
2102
|
-
"text": "
|
|
2355
|
+
"text": "boolean"
|
|
2103
2356
|
},
|
|
2104
|
-
"default": "
|
|
2105
|
-
"description": "
|
|
2357
|
+
"default": "false",
|
|
2358
|
+
"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.",
|
|
2359
|
+
"fieldName": "transparent"
|
|
2106
2360
|
},
|
|
2107
2361
|
{
|
|
2108
|
-
"
|
|
2109
|
-
"
|
|
2362
|
+
"name": "hide-on-scroll",
|
|
2363
|
+
"type": {
|
|
2364
|
+
"text": "boolean"
|
|
2365
|
+
},
|
|
2366
|
+
"default": "false",
|
|
2367
|
+
"description": "Slides the header out of view while the page scrolls down and back in when it scrolls up.",
|
|
2368
|
+
"fieldName": "hideOnScroll"
|
|
2369
|
+
},
|
|
2370
|
+
{
|
|
2371
|
+
"name": "scroll-threshold",
|
|
2372
|
+
"type": {
|
|
2373
|
+
"text": "number"
|
|
2374
|
+
},
|
|
2375
|
+
"default": "8",
|
|
2376
|
+
"description": "Scroll distance in px after which the header counts as `scrolled`.",
|
|
2377
|
+
"fieldName": "scrollThreshold"
|
|
2378
|
+
},
|
|
2379
|
+
{
|
|
2380
|
+
"name": "scrolled",
|
|
2381
|
+
"type": {
|
|
2382
|
+
"text": "boolean"
|
|
2383
|
+
},
|
|
2384
|
+
"default": "false",
|
|
2385
|
+
"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.",
|
|
2386
|
+
"fieldName": "scrolled"
|
|
2387
|
+
},
|
|
2388
|
+
{
|
|
2389
|
+
"name": "scroll-hidden",
|
|
2390
|
+
"type": {
|
|
2391
|
+
"text": "boolean"
|
|
2392
|
+
},
|
|
2393
|
+
"default": "false",
|
|
2394
|
+
"description": "True while `hide-on-scroll` has slid the header away. Set by the header, never from outside.",
|
|
2395
|
+
"fieldName": "scrollHidden"
|
|
2396
|
+
},
|
|
2397
|
+
{
|
|
2398
|
+
"name": "current-language-code",
|
|
2110
2399
|
"type": {
|
|
2111
2400
|
"text": "string"
|
|
2112
2401
|
},
|
|
2113
2402
|
"default": "''",
|
|
2114
|
-
"
|
|
2403
|
+
"fieldName": "currentLanguageCode"
|
|
2115
2404
|
},
|
|
2116
2405
|
{
|
|
2117
|
-
"
|
|
2118
|
-
"name": "languageMenuLabel",
|
|
2406
|
+
"name": "language-menu-label",
|
|
2119
2407
|
"type": {
|
|
2120
2408
|
"text": "string"
|
|
2121
2409
|
},
|
|
2122
2410
|
"default": "'Language'",
|
|
2123
|
-
"
|
|
2411
|
+
"fieldName": "languageMenuLabel"
|
|
2124
2412
|
},
|
|
2125
2413
|
{
|
|
2126
|
-
"
|
|
2127
|
-
"name": "mobileOpen",
|
|
2414
|
+
"name": "mobile-open",
|
|
2128
2415
|
"type": {
|
|
2129
2416
|
"text": "boolean"
|
|
2130
2417
|
},
|
|
2131
2418
|
"default": "false",
|
|
2132
2419
|
"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.",
|
|
2133
|
-
"
|
|
2134
|
-
"reflects": true
|
|
2420
|
+
"fieldName": "mobileOpen"
|
|
2135
2421
|
},
|
|
2136
2422
|
{
|
|
2137
|
-
"kind": "field",
|
|
2138
2423
|
"name": "compact",
|
|
2139
2424
|
"type": {
|
|
2140
2425
|
"text": "boolean"
|
|
2141
2426
|
},
|
|
2142
2427
|
"default": "false",
|
|
2143
2428
|
"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.",
|
|
2144
|
-
"
|
|
2145
|
-
|
|
2146
|
-
|
|
2429
|
+
"fieldName": "compact"
|
|
2430
|
+
}
|
|
2431
|
+
],
|
|
2432
|
+
"superclass": {
|
|
2433
|
+
"name": "LitElement",
|
|
2434
|
+
"package": "lit"
|
|
2435
|
+
},
|
|
2436
|
+
"tagName": "st-header",
|
|
2437
|
+
"customElement": true
|
|
2438
|
+
}
|
|
2439
|
+
],
|
|
2440
|
+
"exports": [
|
|
2441
|
+
{
|
|
2442
|
+
"kind": "js",
|
|
2443
|
+
"name": "Header",
|
|
2444
|
+
"declaration": {
|
|
2445
|
+
"name": "Header",
|
|
2446
|
+
"module": "src/header/Header.ts"
|
|
2447
|
+
}
|
|
2448
|
+
},
|
|
2449
|
+
{
|
|
2450
|
+
"kind": "custom-element-definition",
|
|
2451
|
+
"name": "st-header",
|
|
2452
|
+
"declaration": {
|
|
2453
|
+
"name": "Header",
|
|
2454
|
+
"module": "src/header/Header.ts"
|
|
2455
|
+
}
|
|
2456
|
+
}
|
|
2457
|
+
]
|
|
2458
|
+
},
|
|
2459
|
+
{
|
|
2460
|
+
"kind": "javascript-module",
|
|
2461
|
+
"path": "src/footer/Footer.ts",
|
|
2462
|
+
"declarations": [
|
|
2463
|
+
{
|
|
2464
|
+
"kind": "class",
|
|
2465
|
+
"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.",
|
|
2466
|
+
"name": "Footer",
|
|
2467
|
+
"members": [
|
|
2147
2468
|
{
|
|
2148
2469
|
"kind": "field",
|
|
2149
|
-
"name": "
|
|
2470
|
+
"name": "inverted",
|
|
2150
2471
|
"type": {
|
|
2151
2472
|
"text": "boolean"
|
|
2152
2473
|
},
|
|
2153
|
-
"
|
|
2154
|
-
"
|
|
2474
|
+
"default": "false",
|
|
2475
|
+
"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.",
|
|
2476
|
+
"attribute": "inverted",
|
|
2477
|
+
"reflects": true
|
|
2155
2478
|
},
|
|
2156
2479
|
{
|
|
2157
2480
|
"kind": "field",
|
|
2158
|
-
"name": "
|
|
2481
|
+
"name": "companyName",
|
|
2159
2482
|
"type": {
|
|
2160
|
-
"text": "
|
|
2483
|
+
"text": "string"
|
|
2161
2484
|
},
|
|
2162
|
-
"
|
|
2163
|
-
"
|
|
2164
|
-
"
|
|
2485
|
+
"default": "''",
|
|
2486
|
+
"description": "Used to build the default `copyright` line (`© {year} {companyName}`) when `copyright` isn't set explicitly.",
|
|
2487
|
+
"attribute": "company-name"
|
|
2165
2488
|
},
|
|
2166
2489
|
{
|
|
2167
2490
|
"kind": "field",
|
|
2168
|
-
"name": "
|
|
2491
|
+
"name": "copyright",
|
|
2169
2492
|
"type": {
|
|
2170
|
-
"text": "
|
|
2493
|
+
"text": "string"
|
|
2171
2494
|
},
|
|
2172
|
-
"
|
|
2495
|
+
"default": "''",
|
|
2496
|
+
"description": "Overrides the default computed copyright line entirely.",
|
|
2497
|
+
"attribute": "copyright"
|
|
2173
2498
|
},
|
|
2174
2499
|
{
|
|
2175
2500
|
"kind": "field",
|
|
2176
|
-
"name": "
|
|
2501
|
+
"name": "poweredBy",
|
|
2177
2502
|
"type": {
|
|
2178
|
-
"text": "
|
|
2503
|
+
"text": "string"
|
|
2179
2504
|
},
|
|
2180
|
-
"
|
|
2181
|
-
"
|
|
2182
|
-
},
|
|
2183
|
-
{
|
|
2184
|
-
"kind": "field",
|
|
2185
|
-
"name": "inlinedDropdowns",
|
|
2186
|
-
"privacy": "private",
|
|
2187
|
-
"default": "new Set<HTMLElement & { inline: boolean }>()",
|
|
2188
|
-
"description": "The dropdowns this header switched to `inline` — only these are switched back, so a caller's\r\nown `inline` setting is left alone."
|
|
2189
|
-
},
|
|
2190
|
-
{
|
|
2191
|
-
"kind": "field",
|
|
2192
|
-
"name": "syncInlineDropdowns",
|
|
2193
|
-
"privacy": "private",
|
|
2194
|
-
"description": "While the hamburger layout is on, the dropdowns in the header open in the flow of the\r\nfull-screen panel instead of floating over it (SankhyaUI's touch-device layout)."
|
|
2505
|
+
"default": "''",
|
|
2506
|
+
"attribute": "powered-by"
|
|
2195
2507
|
},
|
|
2196
2508
|
{
|
|
2197
2509
|
"kind": "field",
|
|
2198
|
-
"name": "
|
|
2199
|
-
"
|
|
2510
|
+
"name": "poweredByLink",
|
|
2511
|
+
"type": {
|
|
2512
|
+
"text": "string"
|
|
2513
|
+
},
|
|
2514
|
+
"default": "''",
|
|
2515
|
+
"attribute": "powered-by-link"
|
|
2200
2516
|
},
|
|
2201
2517
|
{
|
|
2202
2518
|
"kind": "field",
|
|
2203
|
-
"name": "
|
|
2204
|
-
"
|
|
2519
|
+
"name": "version",
|
|
2520
|
+
"type": {
|
|
2521
|
+
"text": "string"
|
|
2522
|
+
},
|
|
2523
|
+
"default": "''",
|
|
2524
|
+
"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.",
|
|
2525
|
+
"attribute": "version"
|
|
2205
2526
|
},
|
|
2206
2527
|
{
|
|
2207
2528
|
"kind": "field",
|
|
2208
|
-
"name": "
|
|
2529
|
+
"name": "imageSrc",
|
|
2209
2530
|
"type": {
|
|
2210
|
-
"text": "
|
|
2531
|
+
"text": "string"
|
|
2211
2532
|
},
|
|
2212
|
-
"
|
|
2213
|
-
"
|
|
2214
|
-
"
|
|
2533
|
+
"default": "''",
|
|
2534
|
+
"description": "Logo shown in the brand block (site layout).",
|
|
2535
|
+
"attribute": "image-src"
|
|
2215
2536
|
},
|
|
2216
2537
|
{
|
|
2217
2538
|
"kind": "field",
|
|
2218
|
-
"name": "
|
|
2219
|
-
"
|
|
2220
|
-
|
|
2221
|
-
},
|
|
2222
|
-
{
|
|
2223
|
-
"kind": "method",
|
|
2224
|
-
"name": "menuOverflows",
|
|
2225
|
-
"privacy": "private",
|
|
2226
|
-
"return": {
|
|
2227
|
-
"type": {
|
|
2228
|
-
"text": "boolean"
|
|
2229
|
-
}
|
|
2539
|
+
"name": "description",
|
|
2540
|
+
"type": {
|
|
2541
|
+
"text": "string"
|
|
2230
2542
|
},
|
|
2231
|
-
"
|
|
2543
|
+
"default": "''",
|
|
2544
|
+
"description": "Short blurb under the logo (site layout).",
|
|
2545
|
+
"attribute": "description"
|
|
2232
2546
|
},
|
|
2233
2547
|
{
|
|
2234
2548
|
"kind": "field",
|
|
2235
|
-
"name": "
|
|
2549
|
+
"name": "columns",
|
|
2236
2550
|
"type": {
|
|
2237
|
-
"text": "
|
|
2551
|
+
"text": "FooterColumn[]"
|
|
2238
2552
|
},
|
|
2239
|
-
"
|
|
2553
|
+
"default": "[]",
|
|
2554
|
+
"description": "Link columns (site layout)."
|
|
2240
2555
|
},
|
|
2241
2556
|
{
|
|
2242
2557
|
"kind": "field",
|
|
2243
|
-
"name": "
|
|
2244
|
-
"
|
|
2558
|
+
"name": "socialLinks",
|
|
2559
|
+
"type": {
|
|
2560
|
+
"text": "FooterSocialLink[]"
|
|
2561
|
+
},
|
|
2562
|
+
"default": "[]",
|
|
2563
|
+
"description": "Social icon links under the description (site layout)."
|
|
2245
2564
|
},
|
|
2246
2565
|
{
|
|
2247
2566
|
"kind": "field",
|
|
2248
|
-
"name": "
|
|
2249
|
-
"
|
|
2567
|
+
"name": "isSite",
|
|
2568
|
+
"type": {
|
|
2569
|
+
"text": "boolean"
|
|
2570
|
+
},
|
|
2571
|
+
"privacy": "private",
|
|
2572
|
+
"readonly": true
|
|
2250
2573
|
},
|
|
2251
2574
|
{
|
|
2252
|
-
"kind": "
|
|
2253
|
-
"name": "
|
|
2254
|
-
"
|
|
2575
|
+
"kind": "field",
|
|
2576
|
+
"name": "resolvedCopyright",
|
|
2577
|
+
"type": {
|
|
2578
|
+
"text": "string"
|
|
2579
|
+
},
|
|
2580
|
+
"privacy": "private",
|
|
2581
|
+
"readonly": true
|
|
2255
2582
|
},
|
|
2256
2583
|
{
|
|
2257
2584
|
"kind": "method",
|
|
2258
|
-
"name": "
|
|
2585
|
+
"name": "onLinkClick",
|
|
2259
2586
|
"privacy": "private",
|
|
2260
2587
|
"return": {
|
|
2261
2588
|
"type": {
|
|
@@ -2264,7 +2591,13 @@
|
|
|
2264
2591
|
},
|
|
2265
2592
|
"parameters": [
|
|
2266
2593
|
{
|
|
2267
|
-
"name": "
|
|
2594
|
+
"name": "event",
|
|
2595
|
+
"type": {
|
|
2596
|
+
"text": "MouseEvent"
|
|
2597
|
+
}
|
|
2598
|
+
},
|
|
2599
|
+
{
|
|
2600
|
+
"name": "href",
|
|
2268
2601
|
"type": {
|
|
2269
2602
|
"text": "string"
|
|
2270
2603
|
}
|
|
@@ -2273,147 +2606,123 @@
|
|
|
2273
2606
|
},
|
|
2274
2607
|
{
|
|
2275
2608
|
"kind": "method",
|
|
2276
|
-
"name": "
|
|
2609
|
+
"name": "renderLink",
|
|
2610
|
+
"privacy": "private",
|
|
2611
|
+
"parameters": [
|
|
2612
|
+
{
|
|
2613
|
+
"name": "link",
|
|
2614
|
+
"type": {
|
|
2615
|
+
"text": "FooterLink"
|
|
2616
|
+
}
|
|
2617
|
+
}
|
|
2618
|
+
]
|
|
2619
|
+
},
|
|
2620
|
+
{
|
|
2621
|
+
"kind": "method",
|
|
2622
|
+
"name": "renderPoweredBy",
|
|
2277
2623
|
"privacy": "private"
|
|
2278
|
-
}
|
|
2279
|
-
],
|
|
2280
|
-
"events": [
|
|
2624
|
+
},
|
|
2281
2625
|
{
|
|
2282
|
-
"
|
|
2283
|
-
"
|
|
2284
|
-
|
|
2285
|
-
}
|
|
2626
|
+
"kind": "method",
|
|
2627
|
+
"name": "renderSite",
|
|
2628
|
+
"privacy": "private"
|
|
2286
2629
|
}
|
|
2287
2630
|
],
|
|
2288
2631
|
"attributes": [
|
|
2289
2632
|
{
|
|
2290
|
-
"name": "
|
|
2633
|
+
"name": "inverted",
|
|
2291
2634
|
"type": {
|
|
2292
|
-
"text": "
|
|
2635
|
+
"text": "boolean"
|
|
2293
2636
|
},
|
|
2294
|
-
"default": "
|
|
2295
|
-
"
|
|
2637
|
+
"default": "false",
|
|
2638
|
+
"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.",
|
|
2639
|
+
"fieldName": "inverted"
|
|
2296
2640
|
},
|
|
2297
2641
|
{
|
|
2298
|
-
"name": "
|
|
2642
|
+
"name": "company-name",
|
|
2299
2643
|
"type": {
|
|
2300
2644
|
"text": "string"
|
|
2301
2645
|
},
|
|
2302
2646
|
"default": "''",
|
|
2303
|
-
"description": "
|
|
2304
|
-
"fieldName": "
|
|
2647
|
+
"description": "Used to build the default `copyright` line (`© {year} {companyName}`) when `copyright` isn't set explicitly.",
|
|
2648
|
+
"fieldName": "companyName"
|
|
2305
2649
|
},
|
|
2306
2650
|
{
|
|
2307
|
-
"name": "
|
|
2651
|
+
"name": "copyright",
|
|
2308
2652
|
"type": {
|
|
2309
2653
|
"text": "string"
|
|
2310
2654
|
},
|
|
2311
|
-
"default": "'
|
|
2312
|
-
"description": "
|
|
2313
|
-
"fieldName": "
|
|
2655
|
+
"default": "''",
|
|
2656
|
+
"description": "Overrides the default computed copyright line entirely.",
|
|
2657
|
+
"fieldName": "copyright"
|
|
2314
2658
|
},
|
|
2315
2659
|
{
|
|
2316
|
-
"name": "
|
|
2660
|
+
"name": "powered-by",
|
|
2317
2661
|
"type": {
|
|
2318
2662
|
"text": "string"
|
|
2319
2663
|
},
|
|
2320
2664
|
"default": "''",
|
|
2321
|
-
"
|
|
2322
|
-
"fieldName": "logoHref"
|
|
2665
|
+
"fieldName": "poweredBy"
|
|
2323
2666
|
},
|
|
2324
2667
|
{
|
|
2325
|
-
"name": "
|
|
2668
|
+
"name": "powered-by-link",
|
|
2326
2669
|
"type": {
|
|
2327
2670
|
"text": "string"
|
|
2328
2671
|
},
|
|
2329
|
-
"default": "'
|
|
2330
|
-
"
|
|
2331
|
-
"fieldName": "logoTarget"
|
|
2672
|
+
"default": "''",
|
|
2673
|
+
"fieldName": "poweredByLink"
|
|
2332
2674
|
},
|
|
2333
2675
|
{
|
|
2334
|
-
"name": "
|
|
2676
|
+
"name": "version",
|
|
2335
2677
|
"type": {
|
|
2336
2678
|
"text": "string"
|
|
2337
2679
|
},
|
|
2338
2680
|
"default": "''",
|
|
2339
|
-
"description": "
|
|
2340
|
-
"fieldName": "
|
|
2341
|
-
},
|
|
2342
|
-
{
|
|
2343
|
-
"name": "inverted",
|
|
2344
|
-
"type": {
|
|
2345
|
-
"text": "boolean"
|
|
2346
|
-
},
|
|
2347
|
-
"default": "false",
|
|
2348
|
-
"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`).",
|
|
2349
|
-
"fieldName": "inverted"
|
|
2350
|
-
},
|
|
2351
|
-
{
|
|
2352
|
-
"name": "sticky",
|
|
2353
|
-
"type": {
|
|
2354
|
-
"text": "boolean"
|
|
2355
|
-
},
|
|
2356
|
-
"default": "false",
|
|
2357
|
-
"fieldName": "sticky"
|
|
2681
|
+
"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.",
|
|
2682
|
+
"fieldName": "version"
|
|
2358
2683
|
},
|
|
2359
2684
|
{
|
|
2360
|
-
"name": "
|
|
2685
|
+
"name": "image-src",
|
|
2361
2686
|
"type": {
|
|
2362
2687
|
"text": "string"
|
|
2363
2688
|
},
|
|
2364
2689
|
"default": "''",
|
|
2365
|
-
"
|
|
2690
|
+
"description": "Logo shown in the brand block (site layout).",
|
|
2691
|
+
"fieldName": "imageSrc"
|
|
2366
2692
|
},
|
|
2367
2693
|
{
|
|
2368
|
-
"name": "
|
|
2694
|
+
"name": "description",
|
|
2369
2695
|
"type": {
|
|
2370
2696
|
"text": "string"
|
|
2371
2697
|
},
|
|
2372
|
-
"default": "'
|
|
2373
|
-
"
|
|
2374
|
-
|
|
2375
|
-
{
|
|
2376
|
-
"name": "mobile-open",
|
|
2377
|
-
"type": {
|
|
2378
|
-
"text": "boolean"
|
|
2379
|
-
},
|
|
2380
|
-
"default": "false",
|
|
2381
|
-
"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.",
|
|
2382
|
-
"fieldName": "mobileOpen"
|
|
2383
|
-
},
|
|
2384
|
-
{
|
|
2385
|
-
"name": "compact",
|
|
2386
|
-
"type": {
|
|
2387
|
-
"text": "boolean"
|
|
2388
|
-
},
|
|
2389
|
-
"default": "false",
|
|
2390
|
-
"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.",
|
|
2391
|
-
"fieldName": "compact"
|
|
2698
|
+
"default": "''",
|
|
2699
|
+
"description": "Short blurb under the logo (site layout).",
|
|
2700
|
+
"fieldName": "description"
|
|
2392
2701
|
}
|
|
2393
2702
|
],
|
|
2394
2703
|
"superclass": {
|
|
2395
2704
|
"name": "LitElement",
|
|
2396
2705
|
"package": "lit"
|
|
2397
2706
|
},
|
|
2398
|
-
"tagName": "st-
|
|
2707
|
+
"tagName": "st-footer",
|
|
2399
2708
|
"customElement": true
|
|
2400
2709
|
}
|
|
2401
2710
|
],
|
|
2402
2711
|
"exports": [
|
|
2403
2712
|
{
|
|
2404
2713
|
"kind": "js",
|
|
2405
|
-
"name": "
|
|
2714
|
+
"name": "Footer",
|
|
2406
2715
|
"declaration": {
|
|
2407
|
-
"name": "
|
|
2408
|
-
"module": "src/
|
|
2716
|
+
"name": "Footer",
|
|
2717
|
+
"module": "src/footer/Footer.ts"
|
|
2409
2718
|
}
|
|
2410
2719
|
},
|
|
2411
2720
|
{
|
|
2412
2721
|
"kind": "custom-element-definition",
|
|
2413
|
-
"name": "st-
|
|
2722
|
+
"name": "st-footer",
|
|
2414
2723
|
"declaration": {
|
|
2415
|
-
"name": "
|
|
2416
|
-
"module": "src/
|
|
2724
|
+
"name": "Footer",
|
|
2725
|
+
"module": "src/footer/Footer.ts"
|
|
2417
2726
|
}
|
|
2418
2727
|
}
|
|
2419
2728
|
]
|
|
@@ -2424,8 +2733,28 @@
|
|
|
2424
2733
|
"declarations": [
|
|
2425
2734
|
{
|
|
2426
2735
|
"kind": "class",
|
|
2427
|
-
"description": "Full-width hero banner: background image with a darkening overlay,
|
|
2736
|
+
"description": "Full-width hero banner: background image with a darkening overlay, optional eyebrow, title,\r\noptional subtitle and up to two call-to-action links. Port of `SankhyaUI`'s React `Hero`; the\r\nframer-motion entrance is redone as CSS keyframes (skipped under `prefers-reduced-motion`).\r\n\r\n`size`, `content-position` and `overlay=\"gradient\"` give the large editorial layout (copy on the\r\nlower left over a gradient that darkens towards it) used by enterprise marketing heroes; the\r\ndefaults keep the original centered banner. Put several heroes in an `st-carousel` with\r\n`indicator-style=\"tabs\"` for a tabbed hero carousel.",
|
|
2428
2737
|
"name": "Hero",
|
|
2738
|
+
"cssProperties": [
|
|
2739
|
+
{
|
|
2740
|
+
"description": "Text colour over the image.",
|
|
2741
|
+
"name": "--st-hero-text-color"
|
|
2742
|
+
},
|
|
2743
|
+
{
|
|
2744
|
+
"description": "Minimum height when `size` is `large` (default `640px`).",
|
|
2745
|
+
"name": "--st-hero-min-height"
|
|
2746
|
+
}
|
|
2747
|
+
],
|
|
2748
|
+
"cssParts": [
|
|
2749
|
+
{
|
|
2750
|
+
"description": "The small label above the title.",
|
|
2751
|
+
"name": "eyebrow"
|
|
2752
|
+
},
|
|
2753
|
+
{
|
|
2754
|
+
"description": "The outlined second button.",
|
|
2755
|
+
"name": "secondary-action"
|
|
2756
|
+
}
|
|
2757
|
+
],
|
|
2429
2758
|
"members": [
|
|
2430
2759
|
{
|
|
2431
2760
|
"kind": "field",
|
|
@@ -2513,20 +2842,123 @@
|
|
|
2513
2842
|
},
|
|
2514
2843
|
{
|
|
2515
2844
|
"kind": "field",
|
|
2516
|
-
"name": "
|
|
2517
|
-
"
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
"
|
|
2521
|
-
|
|
2522
|
-
|
|
2845
|
+
"name": "eyebrow",
|
|
2846
|
+
"type": {
|
|
2847
|
+
"text": "string"
|
|
2848
|
+
},
|
|
2849
|
+
"default": "''",
|
|
2850
|
+
"description": "Small uppercase label above the title (e.g. an event or product name).",
|
|
2851
|
+
"attribute": "eyebrow"
|
|
2852
|
+
},
|
|
2853
|
+
{
|
|
2854
|
+
"kind": "field",
|
|
2855
|
+
"name": "secondaryActionLabel",
|
|
2856
|
+
"type": {
|
|
2857
|
+
"text": "string"
|
|
2858
|
+
},
|
|
2859
|
+
"default": "''",
|
|
2860
|
+
"description": "Label of an outlined second button next to the primary one.",
|
|
2861
|
+
"attribute": "secondary-action-label"
|
|
2862
|
+
},
|
|
2863
|
+
{
|
|
2864
|
+
"kind": "field",
|
|
2865
|
+
"name": "secondaryHref",
|
|
2866
|
+
"type": {
|
|
2867
|
+
"text": "string"
|
|
2868
|
+
},
|
|
2869
|
+
"default": "''",
|
|
2870
|
+
"attribute": "secondary-href"
|
|
2871
|
+
},
|
|
2872
|
+
{
|
|
2873
|
+
"kind": "field",
|
|
2874
|
+
"name": "size",
|
|
2875
|
+
"type": {
|
|
2876
|
+
"text": "'auto' | 'large' | 'full'"
|
|
2877
|
+
},
|
|
2878
|
+
"default": "'auto'",
|
|
2879
|
+
"description": "`auto` sizes to the content; `large` is a tall editorial hero (`--st-hero-min-height`); `full` fills the viewport.",
|
|
2880
|
+
"attribute": "size",
|
|
2881
|
+
"reflects": true
|
|
2882
|
+
},
|
|
2883
|
+
{
|
|
2884
|
+
"kind": "field",
|
|
2885
|
+
"name": "contentPosition",
|
|
2886
|
+
"type": {
|
|
2887
|
+
"text": "'center' | 'bottom'"
|
|
2888
|
+
},
|
|
2889
|
+
"default": "'center'",
|
|
2890
|
+
"description": "`center` keeps the copy in the middle; `bottom` puts it in the lower part of the hero, on the page container.",
|
|
2891
|
+
"attribute": "content-position",
|
|
2892
|
+
"reflects": true
|
|
2893
|
+
},
|
|
2894
|
+
{
|
|
2895
|
+
"kind": "field",
|
|
2896
|
+
"name": "overlay",
|
|
2897
|
+
"type": {
|
|
2898
|
+
"text": "'even' | 'gradient' | 'none'"
|
|
2899
|
+
},
|
|
2900
|
+
"default": "'even'",
|
|
2901
|
+
"description": "`even` darkens the whole image; `gradient` darkens behind the copy only; `none` shows the image as is.",
|
|
2902
|
+
"attribute": "overlay",
|
|
2903
|
+
"reflects": true
|
|
2904
|
+
},
|
|
2905
|
+
{
|
|
2906
|
+
"kind": "field",
|
|
2907
|
+
"name": "positions",
|
|
2908
|
+
"privacy": "private",
|
|
2909
|
+
"static": true,
|
|
2910
|
+
"default": "{ top: 'center top', left: 'left center', right: 'right center', bottom: 'center bottom', center: 'center center' }",
|
|
2911
|
+
"type": {
|
|
2912
|
+
"text": "{\r\n top: 'center top',\r\n left: 'left center',\r\n right: 'right center',\r\n bottom: 'center bottom',\r\n center: 'center center'\r\n }"
|
|
2913
|
+
}
|
|
2914
|
+
},
|
|
2915
|
+
{
|
|
2916
|
+
"kind": "method",
|
|
2917
|
+
"name": "emitAction",
|
|
2918
|
+
"privacy": "private",
|
|
2919
|
+
"return": {
|
|
2920
|
+
"type": {
|
|
2921
|
+
"text": "void"
|
|
2922
|
+
}
|
|
2923
|
+
},
|
|
2924
|
+
"parameters": [
|
|
2925
|
+
{
|
|
2926
|
+
"name": "event",
|
|
2927
|
+
"type": {
|
|
2928
|
+
"text": "MouseEvent"
|
|
2929
|
+
}
|
|
2930
|
+
},
|
|
2931
|
+
{
|
|
2932
|
+
"name": "href",
|
|
2933
|
+
"type": {
|
|
2934
|
+
"text": "string"
|
|
2935
|
+
}
|
|
2936
|
+
},
|
|
2937
|
+
{
|
|
2938
|
+
"name": "kind",
|
|
2939
|
+
"type": {
|
|
2940
|
+
"text": "'primary' | 'secondary'"
|
|
2941
|
+
}
|
|
2942
|
+
}
|
|
2943
|
+
]
|
|
2944
|
+
},
|
|
2945
|
+
{
|
|
2946
|
+
"kind": "field",
|
|
2947
|
+
"name": "onClick",
|
|
2948
|
+
"privacy": "private"
|
|
2523
2949
|
},
|
|
2524
2950
|
{
|
|
2525
2951
|
"kind": "field",
|
|
2526
|
-
"name": "
|
|
2952
|
+
"name": "onSecondaryClick",
|
|
2527
2953
|
"privacy": "private"
|
|
2528
2954
|
}
|
|
2529
2955
|
],
|
|
2956
|
+
"events": [
|
|
2957
|
+
{
|
|
2958
|
+
"description": "Cancelable, before navigating. Detail `{ href, kind }`, `kind` being `primary` or `secondary`.",
|
|
2959
|
+
"name": "action"
|
|
2960
|
+
}
|
|
2961
|
+
],
|
|
2530
2962
|
"attributes": [
|
|
2531
2963
|
{
|
|
2532
2964
|
"name": "title",
|
|
@@ -2599,6 +3031,59 @@
|
|
|
2599
3031
|
},
|
|
2600
3032
|
"default": "'center'",
|
|
2601
3033
|
"fieldName": "focalPoint"
|
|
3034
|
+
},
|
|
3035
|
+
{
|
|
3036
|
+
"name": "eyebrow",
|
|
3037
|
+
"type": {
|
|
3038
|
+
"text": "string"
|
|
3039
|
+
},
|
|
3040
|
+
"default": "''",
|
|
3041
|
+
"description": "Small uppercase label above the title (e.g. an event or product name).",
|
|
3042
|
+
"fieldName": "eyebrow"
|
|
3043
|
+
},
|
|
3044
|
+
{
|
|
3045
|
+
"name": "secondary-action-label",
|
|
3046
|
+
"type": {
|
|
3047
|
+
"text": "string"
|
|
3048
|
+
},
|
|
3049
|
+
"default": "''",
|
|
3050
|
+
"description": "Label of an outlined second button next to the primary one.",
|
|
3051
|
+
"fieldName": "secondaryActionLabel"
|
|
3052
|
+
},
|
|
3053
|
+
{
|
|
3054
|
+
"name": "secondary-href",
|
|
3055
|
+
"type": {
|
|
3056
|
+
"text": "string"
|
|
3057
|
+
},
|
|
3058
|
+
"default": "''",
|
|
3059
|
+
"fieldName": "secondaryHref"
|
|
3060
|
+
},
|
|
3061
|
+
{
|
|
3062
|
+
"name": "size",
|
|
3063
|
+
"type": {
|
|
3064
|
+
"text": "'auto' | 'large' | 'full'"
|
|
3065
|
+
},
|
|
3066
|
+
"default": "'auto'",
|
|
3067
|
+
"description": "`auto` sizes to the content; `large` is a tall editorial hero (`--st-hero-min-height`); `full` fills the viewport.",
|
|
3068
|
+
"fieldName": "size"
|
|
3069
|
+
},
|
|
3070
|
+
{
|
|
3071
|
+
"name": "content-position",
|
|
3072
|
+
"type": {
|
|
3073
|
+
"text": "'center' | 'bottom'"
|
|
3074
|
+
},
|
|
3075
|
+
"default": "'center'",
|
|
3076
|
+
"description": "`center` keeps the copy in the middle; `bottom` puts it in the lower part of the hero, on the page container.",
|
|
3077
|
+
"fieldName": "contentPosition"
|
|
3078
|
+
},
|
|
3079
|
+
{
|
|
3080
|
+
"name": "overlay",
|
|
3081
|
+
"type": {
|
|
3082
|
+
"text": "'even' | 'gradient' | 'none'"
|
|
3083
|
+
},
|
|
3084
|
+
"default": "'even'",
|
|
3085
|
+
"description": "`even` darkens the whole image; `gradient` darkens behind the copy only; `none` shows the image as is.",
|
|
3086
|
+
"fieldName": "overlay"
|
|
2602
3087
|
}
|
|
2603
3088
|
],
|
|
2604
3089
|
"superclass": {
|
|
@@ -3601,6 +4086,218 @@
|
|
|
3601
4086
|
}
|
|
3602
4087
|
]
|
|
3603
4088
|
},
|
|
4089
|
+
{
|
|
4090
|
+
"kind": "javascript-module",
|
|
4091
|
+
"path": "src/section/Section.ts",
|
|
4092
|
+
"declarations": [
|
|
4093
|
+
{
|
|
4094
|
+
"kind": "class",
|
|
4095
|
+
"description": "A page band that holds other content: sets the background, the spacing above and below, and\nthe content width, with an optional eyebrow/title/subtitle heading over its slotted children.\nUse it to give a run of components one dark or tinted backdrop and a consistent vertical rhythm,\nthe way enterprise marketing pages stack full-width sections.",
|
|
4096
|
+
"name": "Section",
|
|
4097
|
+
"cssProperties": [
|
|
4098
|
+
{
|
|
4099
|
+
"description": "Overrides the background colour picked by `background`.",
|
|
4100
|
+
"name": "--st-section-bg"
|
|
4101
|
+
}
|
|
4102
|
+
],
|
|
4103
|
+
"cssParts": [
|
|
4104
|
+
{
|
|
4105
|
+
"description": "The width-limited content box.",
|
|
4106
|
+
"name": "inner"
|
|
4107
|
+
},
|
|
4108
|
+
{
|
|
4109
|
+
"description": "The heading block.",
|
|
4110
|
+
"name": "header"
|
|
4111
|
+
}
|
|
4112
|
+
],
|
|
4113
|
+
"slots": [
|
|
4114
|
+
{
|
|
4115
|
+
"description": "The section's content.",
|
|
4116
|
+
"name": ""
|
|
4117
|
+
}
|
|
4118
|
+
],
|
|
4119
|
+
"members": [
|
|
4120
|
+
{
|
|
4121
|
+
"kind": "field",
|
|
4122
|
+
"name": "eyebrow",
|
|
4123
|
+
"type": {
|
|
4124
|
+
"text": "string"
|
|
4125
|
+
},
|
|
4126
|
+
"default": "''",
|
|
4127
|
+
"attribute": "eyebrow"
|
|
4128
|
+
},
|
|
4129
|
+
{
|
|
4130
|
+
"kind": "field",
|
|
4131
|
+
"name": "title",
|
|
4132
|
+
"type": {
|
|
4133
|
+
"text": "string"
|
|
4134
|
+
},
|
|
4135
|
+
"default": "''",
|
|
4136
|
+
"attribute": "title"
|
|
4137
|
+
},
|
|
4138
|
+
{
|
|
4139
|
+
"kind": "field",
|
|
4140
|
+
"name": "subtitle",
|
|
4141
|
+
"type": {
|
|
4142
|
+
"text": "string"
|
|
4143
|
+
},
|
|
4144
|
+
"default": "''",
|
|
4145
|
+
"attribute": "subtitle"
|
|
4146
|
+
},
|
|
4147
|
+
{
|
|
4148
|
+
"kind": "field",
|
|
4149
|
+
"name": "background",
|
|
4150
|
+
"type": {
|
|
4151
|
+
"text": "'default' | 'subtle' | 'dark' | 'accent' | 'transparent'"
|
|
4152
|
+
},
|
|
4153
|
+
"default": "'default'",
|
|
4154
|
+
"description": "`default` (page surface), `subtle`, `dark`, `accent` or `transparent`.",
|
|
4155
|
+
"attribute": "background",
|
|
4156
|
+
"reflects": true
|
|
4157
|
+
},
|
|
4158
|
+
{
|
|
4159
|
+
"kind": "field",
|
|
4160
|
+
"name": "spacingAbove",
|
|
4161
|
+
"type": {
|
|
4162
|
+
"text": "'none' | 's' | 'm' | 'l' | 'xl' | 'xxl'"
|
|
4163
|
+
},
|
|
4164
|
+
"default": "'m'",
|
|
4165
|
+
"description": "Space above the content: `none`, `s`, `m` (default), `l`, `xl` or `xxl`.",
|
|
4166
|
+
"attribute": "spacing-above",
|
|
4167
|
+
"reflects": true
|
|
4168
|
+
},
|
|
4169
|
+
{
|
|
4170
|
+
"kind": "field",
|
|
4171
|
+
"name": "spacingBelow",
|
|
4172
|
+
"type": {
|
|
4173
|
+
"text": "'none' | 's' | 'm' | 'l' | 'xl' | 'xxl'"
|
|
4174
|
+
},
|
|
4175
|
+
"default": "'m'",
|
|
4176
|
+
"description": "Space below the content: `none`, `s`, `m` (default), `l`, `xl` or `xxl`.",
|
|
4177
|
+
"attribute": "spacing-below",
|
|
4178
|
+
"reflects": true
|
|
4179
|
+
},
|
|
4180
|
+
{
|
|
4181
|
+
"kind": "field",
|
|
4182
|
+
"name": "width",
|
|
4183
|
+
"type": {
|
|
4184
|
+
"text": "'contained' | 'narrow' | 'full'"
|
|
4185
|
+
},
|
|
4186
|
+
"default": "'contained'",
|
|
4187
|
+
"description": "`contained` (default, the page container width), `narrow` (reading width) or `full` (edge to edge).",
|
|
4188
|
+
"attribute": "width",
|
|
4189
|
+
"reflects": true
|
|
4190
|
+
},
|
|
4191
|
+
{
|
|
4192
|
+
"kind": "field",
|
|
4193
|
+
"name": "textAlignment",
|
|
4194
|
+
"type": {
|
|
4195
|
+
"text": "'left' | 'center'"
|
|
4196
|
+
},
|
|
4197
|
+
"default": "'left'",
|
|
4198
|
+
"description": "Alignment of the heading.",
|
|
4199
|
+
"attribute": "text-alignment",
|
|
4200
|
+
"reflects": true
|
|
4201
|
+
}
|
|
4202
|
+
],
|
|
4203
|
+
"attributes": [
|
|
4204
|
+
{
|
|
4205
|
+
"name": "eyebrow",
|
|
4206
|
+
"type": {
|
|
4207
|
+
"text": "string"
|
|
4208
|
+
},
|
|
4209
|
+
"default": "''",
|
|
4210
|
+
"fieldName": "eyebrow"
|
|
4211
|
+
},
|
|
4212
|
+
{
|
|
4213
|
+
"name": "title",
|
|
4214
|
+
"type": {
|
|
4215
|
+
"text": "string"
|
|
4216
|
+
},
|
|
4217
|
+
"default": "''",
|
|
4218
|
+
"fieldName": "title"
|
|
4219
|
+
},
|
|
4220
|
+
{
|
|
4221
|
+
"name": "subtitle",
|
|
4222
|
+
"type": {
|
|
4223
|
+
"text": "string"
|
|
4224
|
+
},
|
|
4225
|
+
"default": "''",
|
|
4226
|
+
"fieldName": "subtitle"
|
|
4227
|
+
},
|
|
4228
|
+
{
|
|
4229
|
+
"name": "background",
|
|
4230
|
+
"type": {
|
|
4231
|
+
"text": "'default' | 'subtle' | 'dark' | 'accent' | 'transparent'"
|
|
4232
|
+
},
|
|
4233
|
+
"default": "'default'",
|
|
4234
|
+
"description": "`default` (page surface), `subtle`, `dark`, `accent` or `transparent`.",
|
|
4235
|
+
"fieldName": "background"
|
|
4236
|
+
},
|
|
4237
|
+
{
|
|
4238
|
+
"name": "spacing-above",
|
|
4239
|
+
"type": {
|
|
4240
|
+
"text": "'none' | 's' | 'm' | 'l' | 'xl' | 'xxl'"
|
|
4241
|
+
},
|
|
4242
|
+
"default": "'m'",
|
|
4243
|
+
"description": "Space above the content: `none`, `s`, `m` (default), `l`, `xl` or `xxl`.",
|
|
4244
|
+
"fieldName": "spacingAbove"
|
|
4245
|
+
},
|
|
4246
|
+
{
|
|
4247
|
+
"name": "spacing-below",
|
|
4248
|
+
"type": {
|
|
4249
|
+
"text": "'none' | 's' | 'm' | 'l' | 'xl' | 'xxl'"
|
|
4250
|
+
},
|
|
4251
|
+
"default": "'m'",
|
|
4252
|
+
"description": "Space below the content: `none`, `s`, `m` (default), `l`, `xl` or `xxl`.",
|
|
4253
|
+
"fieldName": "spacingBelow"
|
|
4254
|
+
},
|
|
4255
|
+
{
|
|
4256
|
+
"name": "width",
|
|
4257
|
+
"type": {
|
|
4258
|
+
"text": "'contained' | 'narrow' | 'full'"
|
|
4259
|
+
},
|
|
4260
|
+
"default": "'contained'",
|
|
4261
|
+
"description": "`contained` (default, the page container width), `narrow` (reading width) or `full` (edge to edge).",
|
|
4262
|
+
"fieldName": "width"
|
|
4263
|
+
},
|
|
4264
|
+
{
|
|
4265
|
+
"name": "text-alignment",
|
|
4266
|
+
"type": {
|
|
4267
|
+
"text": "'left' | 'center'"
|
|
4268
|
+
},
|
|
4269
|
+
"default": "'left'",
|
|
4270
|
+
"description": "Alignment of the heading.",
|
|
4271
|
+
"fieldName": "textAlignment"
|
|
4272
|
+
}
|
|
4273
|
+
],
|
|
4274
|
+
"superclass": {
|
|
4275
|
+
"name": "LitElement",
|
|
4276
|
+
"package": "lit"
|
|
4277
|
+
},
|
|
4278
|
+
"tagName": "st-section",
|
|
4279
|
+
"customElement": true
|
|
4280
|
+
}
|
|
4281
|
+
],
|
|
4282
|
+
"exports": [
|
|
4283
|
+
{
|
|
4284
|
+
"kind": "js",
|
|
4285
|
+
"name": "Section",
|
|
4286
|
+
"declaration": {
|
|
4287
|
+
"name": "Section",
|
|
4288
|
+
"module": "src/section/Section.ts"
|
|
4289
|
+
}
|
|
4290
|
+
},
|
|
4291
|
+
{
|
|
4292
|
+
"kind": "custom-element-definition",
|
|
4293
|
+
"name": "st-section",
|
|
4294
|
+
"declaration": {
|
|
4295
|
+
"name": "Section",
|
|
4296
|
+
"module": "src/section/Section.ts"
|
|
4297
|
+
}
|
|
4298
|
+
}
|
|
4299
|
+
]
|
|
4300
|
+
},
|
|
3604
4301
|
{
|
|
3605
4302
|
"kind": "javascript-module",
|
|
3606
4303
|
"path": "src/select/Select.ts",
|
|
@@ -3780,114 +4477,49 @@
|
|
|
3780
4477
|
},
|
|
3781
4478
|
"default": "''",
|
|
3782
4479
|
"description": "Accessible name for the trigger when there's no visible `field-label` (e.g. a filter-row select). Ignored when `field-label` is set.",
|
|
3783
|
-
"fieldName": "selectLabel"
|
|
3784
|
-
},
|
|
3785
|
-
{
|
|
3786
|
-
"name": "disabled",
|
|
3787
|
-
"type": {
|
|
3788
|
-
"text": "boolean"
|
|
3789
|
-
},
|
|
3790
|
-
"default": "false",
|
|
3791
|
-
"fieldName": "disabled"
|
|
3792
|
-
},
|
|
3793
|
-
{
|
|
3794
|
-
"name": "ghost",
|
|
3795
|
-
"type": {
|
|
3796
|
-
"text": "boolean"
|
|
3797
|
-
},
|
|
3798
|
-
"default": "false",
|
|
3799
|
-
"description": "Borderless variant for a header/toolbar utility slot — see the `:host([ghost])` styles.",
|
|
3800
|
-
"fieldName": "ghost"
|
|
3801
|
-
}
|
|
3802
|
-
],
|
|
3803
|
-
"superclass": {
|
|
3804
|
-
"name": "LitElement",
|
|
3805
|
-
"package": "lit"
|
|
3806
|
-
},
|
|
3807
|
-
"tagName": "st-select",
|
|
3808
|
-
"customElement": true
|
|
3809
|
-
}
|
|
3810
|
-
],
|
|
3811
|
-
"exports": [
|
|
3812
|
-
{
|
|
3813
|
-
"kind": "js",
|
|
3814
|
-
"name": "Select",
|
|
3815
|
-
"declaration": {
|
|
3816
|
-
"name": "Select",
|
|
3817
|
-
"module": "src/select/Select.ts"
|
|
3818
|
-
}
|
|
3819
|
-
},
|
|
3820
|
-
{
|
|
3821
|
-
"kind": "custom-element-definition",
|
|
3822
|
-
"name": "st-select",
|
|
3823
|
-
"declaration": {
|
|
3824
|
-
"name": "Select",
|
|
3825
|
-
"module": "src/select/Select.ts"
|
|
3826
|
-
}
|
|
3827
|
-
}
|
|
3828
|
-
]
|
|
3829
|
-
},
|
|
3830
|
-
{
|
|
3831
|
-
"kind": "javascript-module",
|
|
3832
|
-
"path": "src/stats/Stats.ts",
|
|
3833
|
-
"declarations": [
|
|
3834
|
-
{
|
|
3835
|
-
"kind": "class",
|
|
3836
|
-
"description": "Responsive grid of headline numbers with a label and optional description. Port of React `Stats`.",
|
|
3837
|
-
"name": "Stats",
|
|
3838
|
-
"members": [
|
|
3839
|
-
{
|
|
3840
|
-
"kind": "field",
|
|
3841
|
-
"name": "items",
|
|
3842
|
-
"type": {
|
|
3843
|
-
"text": "StatItem[]"
|
|
3844
|
-
},
|
|
3845
|
-
"default": "[]"
|
|
4480
|
+
"fieldName": "selectLabel"
|
|
3846
4481
|
},
|
|
3847
4482
|
{
|
|
3848
|
-
"
|
|
3849
|
-
"name": "inverted",
|
|
4483
|
+
"name": "disabled",
|
|
3850
4484
|
"type": {
|
|
3851
4485
|
"text": "boolean"
|
|
3852
4486
|
},
|
|
3853
4487
|
"default": "false",
|
|
3854
|
-
"
|
|
3855
|
-
|
|
3856
|
-
}
|
|
3857
|
-
],
|
|
3858
|
-
"attributes": [
|
|
4488
|
+
"fieldName": "disabled"
|
|
4489
|
+
},
|
|
3859
4490
|
{
|
|
3860
|
-
"name": "
|
|
4491
|
+
"name": "ghost",
|
|
3861
4492
|
"type": {
|
|
3862
4493
|
"text": "boolean"
|
|
3863
4494
|
},
|
|
3864
4495
|
"default": "false",
|
|
3865
|
-
"
|
|
4496
|
+
"description": "Borderless variant for a header/toolbar utility slot — see the `:host([ghost])` styles.",
|
|
4497
|
+
"fieldName": "ghost"
|
|
3866
4498
|
}
|
|
3867
4499
|
],
|
|
3868
4500
|
"superclass": {
|
|
3869
4501
|
"name": "LitElement",
|
|
3870
4502
|
"package": "lit"
|
|
3871
4503
|
},
|
|
3872
|
-
"tagName": "st-
|
|
4504
|
+
"tagName": "st-select",
|
|
3873
4505
|
"customElement": true
|
|
3874
4506
|
}
|
|
3875
4507
|
],
|
|
3876
4508
|
"exports": [
|
|
3877
4509
|
{
|
|
3878
4510
|
"kind": "js",
|
|
3879
|
-
"name": "
|
|
4511
|
+
"name": "Select",
|
|
3880
4512
|
"declaration": {
|
|
3881
|
-
"name": "
|
|
3882
|
-
"module": "src/
|
|
4513
|
+
"name": "Select",
|
|
4514
|
+
"module": "src/select/Select.ts"
|
|
3883
4515
|
}
|
|
3884
4516
|
},
|
|
3885
4517
|
{
|
|
3886
4518
|
"kind": "custom-element-definition",
|
|
3887
|
-
"name": "st-
|
|
4519
|
+
"name": "st-select",
|
|
3888
4520
|
"declaration": {
|
|
3889
|
-
"name": "
|
|
3890
|
-
"module": "src/
|
|
4521
|
+
"name": "Select",
|
|
4522
|
+
"module": "src/select/Select.ts"
|
|
3891
4523
|
}
|
|
3892
4524
|
}
|
|
3893
4525
|
]
|
|
@@ -3898,7 +4530,7 @@
|
|
|
3898
4530
|
"declarations": [
|
|
3899
4531
|
{
|
|
3900
4532
|
"kind": "class",
|
|
3901
|
-
"description": "Section heading plus
|
|
4533
|
+
"description": "Section heading plus customer quotes or stories. Port of React `Testimonials`.\n\nEach card shows whatever its item has: a cover image, the customer logo, a story headline, a\nquote with star rating, result metrics, the author and a \"See full story\" link. `layout=\"grid\"`\n(default) lays the cards out in a grid; `layout=\"carousel\"` puts them on one horizontally\nscrolling, snapping row with previous/next buttons next to the heading — the customer-story\ncarousel of enterprise marketing pages. `action-label`/`action-href` add a section-level link\n(e.g. \"Explore customer stories\").",
|
|
3902
4534
|
"name": "Testimonials",
|
|
3903
4535
|
"members": [
|
|
3904
4536
|
{
|
|
@@ -3937,6 +4569,159 @@
|
|
|
3937
4569
|
"attribute": "inverted",
|
|
3938
4570
|
"reflects": true
|
|
3939
4571
|
},
|
|
4572
|
+
{
|
|
4573
|
+
"kind": "field",
|
|
4574
|
+
"name": "layout",
|
|
4575
|
+
"type": {
|
|
4576
|
+
"text": "'grid' | 'carousel'"
|
|
4577
|
+
},
|
|
4578
|
+
"default": "'grid'",
|
|
4579
|
+
"description": "`grid` (default) or `carousel`: one scrolling row with previous/next buttons.",
|
|
4580
|
+
"attribute": "layout",
|
|
4581
|
+
"reflects": true
|
|
4582
|
+
},
|
|
4583
|
+
{
|
|
4584
|
+
"kind": "field",
|
|
4585
|
+
"name": "linkLabel",
|
|
4586
|
+
"type": {
|
|
4587
|
+
"text": "string"
|
|
4588
|
+
},
|
|
4589
|
+
"default": "'See full story'",
|
|
4590
|
+
"description": "Default text of each card's story link.",
|
|
4591
|
+
"attribute": "link-label"
|
|
4592
|
+
},
|
|
4593
|
+
{
|
|
4594
|
+
"kind": "field",
|
|
4595
|
+
"name": "actionLabel",
|
|
4596
|
+
"type": {
|
|
4597
|
+
"text": "string"
|
|
4598
|
+
},
|
|
4599
|
+
"default": "''",
|
|
4600
|
+
"description": "Section-level link text, e.g. \"Explore customer stories\".",
|
|
4601
|
+
"attribute": "action-label"
|
|
4602
|
+
},
|
|
4603
|
+
{
|
|
4604
|
+
"kind": "field",
|
|
4605
|
+
"name": "actionHref",
|
|
4606
|
+
"type": {
|
|
4607
|
+
"text": "string"
|
|
4608
|
+
},
|
|
4609
|
+
"default": "''",
|
|
4610
|
+
"attribute": "action-href"
|
|
4611
|
+
},
|
|
4612
|
+
{
|
|
4613
|
+
"kind": "field",
|
|
4614
|
+
"name": "atStart",
|
|
4615
|
+
"type": {
|
|
4616
|
+
"text": "boolean"
|
|
4617
|
+
},
|
|
4618
|
+
"privacy": "private",
|
|
4619
|
+
"default": "true"
|
|
4620
|
+
},
|
|
4621
|
+
{
|
|
4622
|
+
"kind": "field",
|
|
4623
|
+
"name": "atEnd",
|
|
4624
|
+
"type": {
|
|
4625
|
+
"text": "boolean"
|
|
4626
|
+
},
|
|
4627
|
+
"privacy": "private",
|
|
4628
|
+
"default": "false"
|
|
4629
|
+
},
|
|
4630
|
+
{
|
|
4631
|
+
"kind": "field",
|
|
4632
|
+
"name": "track",
|
|
4633
|
+
"type": {
|
|
4634
|
+
"text": "HTMLElement | null"
|
|
4635
|
+
},
|
|
4636
|
+
"privacy": "private",
|
|
4637
|
+
"readonly": true
|
|
4638
|
+
},
|
|
4639
|
+
{
|
|
4640
|
+
"kind": "field",
|
|
4641
|
+
"name": "resizeObserver",
|
|
4642
|
+
"type": {
|
|
4643
|
+
"text": "ResizeObserver | undefined"
|
|
4644
|
+
},
|
|
4645
|
+
"privacy": "private"
|
|
4646
|
+
},
|
|
4647
|
+
{
|
|
4648
|
+
"kind": "field",
|
|
4649
|
+
"name": "syncArrows",
|
|
4650
|
+
"privacy": "private"
|
|
4651
|
+
},
|
|
4652
|
+
{
|
|
4653
|
+
"kind": "method",
|
|
4654
|
+
"name": "scrollByCard",
|
|
4655
|
+
"privacy": "private",
|
|
4656
|
+
"return": {
|
|
4657
|
+
"type": {
|
|
4658
|
+
"text": "void"
|
|
4659
|
+
}
|
|
4660
|
+
},
|
|
4661
|
+
"parameters": [
|
|
4662
|
+
{
|
|
4663
|
+
"name": "direction",
|
|
4664
|
+
"type": {
|
|
4665
|
+
"text": "1 | -1"
|
|
4666
|
+
}
|
|
4667
|
+
}
|
|
4668
|
+
]
|
|
4669
|
+
},
|
|
4670
|
+
{
|
|
4671
|
+
"kind": "method",
|
|
4672
|
+
"name": "onLinkClick",
|
|
4673
|
+
"privacy": "private",
|
|
4674
|
+
"return": {
|
|
4675
|
+
"type": {
|
|
4676
|
+
"text": "void"
|
|
4677
|
+
}
|
|
4678
|
+
},
|
|
4679
|
+
"parameters": [
|
|
4680
|
+
{
|
|
4681
|
+
"name": "event",
|
|
4682
|
+
"type": {
|
|
4683
|
+
"text": "MouseEvent"
|
|
4684
|
+
}
|
|
4685
|
+
},
|
|
4686
|
+
{
|
|
4687
|
+
"name": "href",
|
|
4688
|
+
"type": {
|
|
4689
|
+
"text": "string"
|
|
4690
|
+
}
|
|
4691
|
+
}
|
|
4692
|
+
]
|
|
4693
|
+
},
|
|
4694
|
+
{
|
|
4695
|
+
"kind": "method",
|
|
4696
|
+
"name": "renderLink",
|
|
4697
|
+
"privacy": "private",
|
|
4698
|
+
"parameters": [
|
|
4699
|
+
{
|
|
4700
|
+
"name": "label",
|
|
4701
|
+
"type": {
|
|
4702
|
+
"text": "string"
|
|
4703
|
+
}
|
|
4704
|
+
},
|
|
4705
|
+
{
|
|
4706
|
+
"name": "href",
|
|
4707
|
+
"type": {
|
|
4708
|
+
"text": "string"
|
|
4709
|
+
}
|
|
4710
|
+
},
|
|
4711
|
+
{
|
|
4712
|
+
"name": "className",
|
|
4713
|
+
"type": {
|
|
4714
|
+
"text": "string"
|
|
4715
|
+
}
|
|
4716
|
+
},
|
|
4717
|
+
{
|
|
4718
|
+
"name": "part",
|
|
4719
|
+
"type": {
|
|
4720
|
+
"text": "string"
|
|
4721
|
+
}
|
|
4722
|
+
}
|
|
4723
|
+
]
|
|
4724
|
+
},
|
|
3940
4725
|
{
|
|
3941
4726
|
"kind": "method",
|
|
3942
4727
|
"name": "renderItem",
|
|
@@ -3951,6 +4736,12 @@
|
|
|
3951
4736
|
]
|
|
3952
4737
|
}
|
|
3953
4738
|
],
|
|
4739
|
+
"events": [
|
|
4740
|
+
{
|
|
4741
|
+
"description": "Cancelable, before following a story or section link. Detail `{ href }`.",
|
|
4742
|
+
"name": "testimonials-link"
|
|
4743
|
+
}
|
|
4744
|
+
],
|
|
3954
4745
|
"attributes": [
|
|
3955
4746
|
{
|
|
3956
4747
|
"name": "title",
|
|
@@ -3975,6 +4766,41 @@
|
|
|
3975
4766
|
},
|
|
3976
4767
|
"default": "false",
|
|
3977
4768
|
"fieldName": "inverted"
|
|
4769
|
+
},
|
|
4770
|
+
{
|
|
4771
|
+
"name": "layout",
|
|
4772
|
+
"type": {
|
|
4773
|
+
"text": "'grid' | 'carousel'"
|
|
4774
|
+
},
|
|
4775
|
+
"default": "'grid'",
|
|
4776
|
+
"description": "`grid` (default) or `carousel`: one scrolling row with previous/next buttons.",
|
|
4777
|
+
"fieldName": "layout"
|
|
4778
|
+
},
|
|
4779
|
+
{
|
|
4780
|
+
"name": "link-label",
|
|
4781
|
+
"type": {
|
|
4782
|
+
"text": "string"
|
|
4783
|
+
},
|
|
4784
|
+
"default": "'See full story'",
|
|
4785
|
+
"description": "Default text of each card's story link.",
|
|
4786
|
+
"fieldName": "linkLabel"
|
|
4787
|
+
},
|
|
4788
|
+
{
|
|
4789
|
+
"name": "action-label",
|
|
4790
|
+
"type": {
|
|
4791
|
+
"text": "string"
|
|
4792
|
+
},
|
|
4793
|
+
"default": "''",
|
|
4794
|
+
"description": "Section-level link text, e.g. \"Explore customer stories\".",
|
|
4795
|
+
"fieldName": "actionLabel"
|
|
4796
|
+
},
|
|
4797
|
+
{
|
|
4798
|
+
"name": "action-href",
|
|
4799
|
+
"type": {
|
|
4800
|
+
"text": "string"
|
|
4801
|
+
},
|
|
4802
|
+
"default": "''",
|
|
4803
|
+
"fieldName": "actionHref"
|
|
3978
4804
|
}
|
|
3979
4805
|
],
|
|
3980
4806
|
"superclass": {
|
|
@@ -4003,6 +4829,71 @@
|
|
|
4003
4829
|
}
|
|
4004
4830
|
}
|
|
4005
4831
|
]
|
|
4832
|
+
},
|
|
4833
|
+
{
|
|
4834
|
+
"kind": "javascript-module",
|
|
4835
|
+
"path": "src/stats/Stats.ts",
|
|
4836
|
+
"declarations": [
|
|
4837
|
+
{
|
|
4838
|
+
"kind": "class",
|
|
4839
|
+
"description": "Responsive grid of headline numbers with a label and optional description. Port of React `Stats`.",
|
|
4840
|
+
"name": "Stats",
|
|
4841
|
+
"members": [
|
|
4842
|
+
{
|
|
4843
|
+
"kind": "field",
|
|
4844
|
+
"name": "items",
|
|
4845
|
+
"type": {
|
|
4846
|
+
"text": "StatItem[]"
|
|
4847
|
+
},
|
|
4848
|
+
"default": "[]"
|
|
4849
|
+
},
|
|
4850
|
+
{
|
|
4851
|
+
"kind": "field",
|
|
4852
|
+
"name": "inverted",
|
|
4853
|
+
"type": {
|
|
4854
|
+
"text": "boolean"
|
|
4855
|
+
},
|
|
4856
|
+
"default": "false",
|
|
4857
|
+
"attribute": "inverted",
|
|
4858
|
+
"reflects": true
|
|
4859
|
+
}
|
|
4860
|
+
],
|
|
4861
|
+
"attributes": [
|
|
4862
|
+
{
|
|
4863
|
+
"name": "inverted",
|
|
4864
|
+
"type": {
|
|
4865
|
+
"text": "boolean"
|
|
4866
|
+
},
|
|
4867
|
+
"default": "false",
|
|
4868
|
+
"fieldName": "inverted"
|
|
4869
|
+
}
|
|
4870
|
+
],
|
|
4871
|
+
"superclass": {
|
|
4872
|
+
"name": "LitElement",
|
|
4873
|
+
"package": "lit"
|
|
4874
|
+
},
|
|
4875
|
+
"tagName": "st-stats",
|
|
4876
|
+
"customElement": true
|
|
4877
|
+
}
|
|
4878
|
+
],
|
|
4879
|
+
"exports": [
|
|
4880
|
+
{
|
|
4881
|
+
"kind": "js",
|
|
4882
|
+
"name": "Stats",
|
|
4883
|
+
"declaration": {
|
|
4884
|
+
"name": "Stats",
|
|
4885
|
+
"module": "src/stats/Stats.ts"
|
|
4886
|
+
}
|
|
4887
|
+
},
|
|
4888
|
+
{
|
|
4889
|
+
"kind": "custom-element-definition",
|
|
4890
|
+
"name": "st-stats",
|
|
4891
|
+
"declaration": {
|
|
4892
|
+
"name": "Stats",
|
|
4893
|
+
"module": "src/stats/Stats.ts"
|
|
4894
|
+
}
|
|
4895
|
+
}
|
|
4896
|
+
]
|
|
4006
4897
|
}
|
|
4007
4898
|
]
|
|
4008
4899
|
}
|