@universal-material/web 3.0.31 → 3.0.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +1445 -1445
- package/package.json +1 -1
- package/shared/base.styles.js +3 -3
- package/shared/base.styles.js.map +1 -1
- package/shared/button-wrapper.d.ts.map +1 -1
- package/shared/button-wrapper.js +0 -1
- package/shared/button-wrapper.js.map +1 -1
- package/shared/selection-control/selection-control.d.ts.map +1 -1
- package/shared/selection-control/selection-control.js +0 -1
- package/shared/selection-control/selection-control.js.map +1 -1
package/custom-elements.json
CHANGED
|
@@ -238,6 +238,255 @@
|
|
|
238
238
|
}
|
|
239
239
|
]
|
|
240
240
|
},
|
|
241
|
+
{
|
|
242
|
+
"kind": "javascript-module",
|
|
243
|
+
"path": "src/app-bar/top-app-bar.styles.ts",
|
|
244
|
+
"declarations": [
|
|
245
|
+
{
|
|
246
|
+
"kind": "variable",
|
|
247
|
+
"name": "styles",
|
|
248
|
+
"default": "css `\n :host {\n display: block;\n background-color: var(--u-top-app-bar-background-color, var(--u-color-body, var(--u-color-surface, rgb(254, 247, 255))));\n color: var(--u-top-app-bar-text-color, var(--u-color-on-surface, rgb(29, 27, 32)));\n transition: background-color 100ms, inset 375ms cubic-bezier(0.19, 1, 0.22, 1);\n }\n\n :host([container-scrolled]) {\n background-color: var(--u-top-app-bar-elevated-background-color, var(--u-color-surface-container, rgb(243, 237, 247)));\n }\n\n :host(:not([has-leading-icon])) .leading-icon {\n display: none;\n }\n\n :host(:not([has-trailing-icon])) .trailing-icon {\n display: none;\n }\n\n slot[name=leading-icon],\n slot[name=trailing-icon] {\n display: inline-flex;\n align-items: center;\n gap: var(--u-top-app-bar-icons-gap, 8px);\n }\n\n slot[name=leading-icon]::slotted(u-icon-button) {\n color: inherit;\n }\n\n :host([position=absolute]) .content {\n position: absolute;\n }\n\n :host([position=fixed]) .content {\n position: fixed;\n inset-inline: 0;\n inset-block-start: 0;\n inset-inline-start: var(--u-app-bar-offset, 0);\n }\n\n :host([position=absolute]),\n :host([position=fixed]) {\n padding-top: var(--_content-height);\n }\n :host([position=absolute]) .content,\n :host([position=fixed]) .content {\n z-index: var(--u-fixed-app-bar-z-index, 1010);\n }\n\n .content {\n display: flex;\n align-items: center;\n background-color: inherit;\n transition: inherit;\n min-height: var(--u-top-app-bar-min-height, 56px);\n }\n @media (min-width: 840px) {\n .content {\n min-height: var(--u-top-app-bar-extended-min-height, 64px);\n }\n }\n\n .headline {\n font-family: var(--u-font-family, var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"));\n line-height: var(--u-top-app-bar-headline-line-height, var(--u-title-l-line-height, 1.75rem));\n font-size: var(--u-top-app-bar-headline-font-size, var(--u-title-l-font-size, 1.375rem));\n letter-spacing: var(--u-top-app-bar-headline-letter-spacing, var(--u-title-l-letter-spacing, 0rem));\n font-weight: var(--u-top-app-bar-headline-font-weight, var(--u-title-l-font-weight, var(--u-font-weight-regular, 400)));\n margin-inline: var(--u-headline-margin, 16px);\n }\n\n .leading-icon {\n margin-inline: var(--u-leading-icon-margin, 8px);\n }\n .leading-icon + .headline {\n margin-inline-start: 0;\n }\n\n .trailing-icon {\n padding-inline: var(--u-trailing-icon-margin, 8px);\n margin-inline-start: auto;\n }\n`"
|
|
249
|
+
}
|
|
250
|
+
],
|
|
251
|
+
"exports": [
|
|
252
|
+
{
|
|
253
|
+
"kind": "js",
|
|
254
|
+
"name": "styles",
|
|
255
|
+
"declaration": {
|
|
256
|
+
"name": "styles",
|
|
257
|
+
"module": "src/app-bar/top-app-bar.styles.ts"
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
]
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"kind": "javascript-module",
|
|
264
|
+
"path": "src/app-bar/top-app-bar.ts",
|
|
265
|
+
"declarations": [
|
|
266
|
+
{
|
|
267
|
+
"kind": "class",
|
|
268
|
+
"description": "",
|
|
269
|
+
"name": "UmTopAppBar",
|
|
270
|
+
"members": [
|
|
271
|
+
{
|
|
272
|
+
"kind": "field",
|
|
273
|
+
"name": "hasLeadingIcon",
|
|
274
|
+
"type": {
|
|
275
|
+
"text": "boolean"
|
|
276
|
+
},
|
|
277
|
+
"default": "false",
|
|
278
|
+
"description": "Whether the app bar has leading icon or not\n\n_Note:_ Readonly",
|
|
279
|
+
"attribute": "has-leading-icon",
|
|
280
|
+
"reflects": true
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"kind": "field",
|
|
284
|
+
"name": "hasTrailingIcon",
|
|
285
|
+
"type": {
|
|
286
|
+
"text": "boolean"
|
|
287
|
+
},
|
|
288
|
+
"default": "false",
|
|
289
|
+
"description": "Whether the app bar has trailing icon or not\n\n_Note:_ Readonly",
|
|
290
|
+
"attribute": "has-trailing-icon",
|
|
291
|
+
"reflects": true
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"kind": "field",
|
|
295
|
+
"name": "position",
|
|
296
|
+
"type": {
|
|
297
|
+
"text": "'fixed' | 'absolute' | 'static'"
|
|
298
|
+
},
|
|
299
|
+
"default": "'fixed'",
|
|
300
|
+
"attribute": "position",
|
|
301
|
+
"reflects": true
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"kind": "field",
|
|
305
|
+
"name": "scrollContainer",
|
|
306
|
+
"type": {
|
|
307
|
+
"text": "'none' | 'window' | string | undefined"
|
|
308
|
+
},
|
|
309
|
+
"attribute": "scrollContainer",
|
|
310
|
+
"reflects": true
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
"kind": "field",
|
|
314
|
+
"name": "containerScrolled",
|
|
315
|
+
"type": {
|
|
316
|
+
"text": "boolean"
|
|
317
|
+
},
|
|
318
|
+
"default": "false",
|
|
319
|
+
"attribute": "container-scrolled",
|
|
320
|
+
"reflects": true
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"kind": "field",
|
|
324
|
+
"name": "assignedLeadingIcons",
|
|
325
|
+
"type": {
|
|
326
|
+
"text": "HTMLElement[]"
|
|
327
|
+
},
|
|
328
|
+
"privacy": "private"
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"kind": "field",
|
|
332
|
+
"name": "assignedTrailingIcons",
|
|
333
|
+
"type": {
|
|
334
|
+
"text": "HTMLElement[]"
|
|
335
|
+
},
|
|
336
|
+
"privacy": "private"
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"kind": "field",
|
|
340
|
+
"name": "content",
|
|
341
|
+
"type": {
|
|
342
|
+
"text": "HTMLElement"
|
|
343
|
+
}
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
"kind": "field",
|
|
347
|
+
"name": "contentSizeObserver",
|
|
348
|
+
"type": {
|
|
349
|
+
"text": "ResizeObserver | null"
|
|
350
|
+
},
|
|
351
|
+
"privacy": "private",
|
|
352
|
+
"default": "null"
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
"kind": "field",
|
|
356
|
+
"name": "scrollContainerElement",
|
|
357
|
+
"type": {
|
|
358
|
+
"text": "{\n addEventListener: typeof window.addEventListener;\n removeEventListener: typeof window.removeEventListener;\n } | null"
|
|
359
|
+
},
|
|
360
|
+
"privacy": "private",
|
|
361
|
+
"default": "null"
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"kind": "method",
|
|
365
|
+
"name": "getScrollContainer",
|
|
366
|
+
"privacy": "private",
|
|
367
|
+
"return": {
|
|
368
|
+
"type": {
|
|
369
|
+
"text": "{\n addEventListener: typeof window.addEventListener;\n removeEventListener: typeof window.removeEventListener;\n } | undefined"
|
|
370
|
+
}
|
|
371
|
+
},
|
|
372
|
+
"parameters": [
|
|
373
|
+
{
|
|
374
|
+
"name": "idOrElement",
|
|
375
|
+
"type": {
|
|
376
|
+
"text": "string | HTMLElement | undefined"
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
]
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
"kind": "method",
|
|
383
|
+
"name": "handleLeadingIconSlotChange",
|
|
384
|
+
"privacy": "private"
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
"kind": "method",
|
|
388
|
+
"name": "handleTrailingIconSlotChange",
|
|
389
|
+
"privacy": "private"
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"kind": "field",
|
|
393
|
+
"name": "onContainerScroll"
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
"kind": "method",
|
|
397
|
+
"name": "getScrollTop",
|
|
398
|
+
"privacy": "private",
|
|
399
|
+
"static": true,
|
|
400
|
+
"return": {
|
|
401
|
+
"type": {
|
|
402
|
+
"text": "number | null"
|
|
403
|
+
}
|
|
404
|
+
},
|
|
405
|
+
"parameters": [
|
|
406
|
+
{
|
|
407
|
+
"name": "container",
|
|
408
|
+
"type": {
|
|
409
|
+
"text": "HTMLElement & Window"
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
]
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
"kind": "method",
|
|
416
|
+
"name": "setContentHeightProperty",
|
|
417
|
+
"privacy": "private"
|
|
418
|
+
}
|
|
419
|
+
],
|
|
420
|
+
"attributes": [
|
|
421
|
+
{
|
|
422
|
+
"name": "has-leading-icon",
|
|
423
|
+
"type": {
|
|
424
|
+
"text": "boolean"
|
|
425
|
+
},
|
|
426
|
+
"default": "false",
|
|
427
|
+
"description": "Whether the app bar has leading icon or not\n\n_Note:_ Readonly",
|
|
428
|
+
"fieldName": "hasLeadingIcon"
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
"name": "has-trailing-icon",
|
|
432
|
+
"type": {
|
|
433
|
+
"text": "boolean"
|
|
434
|
+
},
|
|
435
|
+
"default": "false",
|
|
436
|
+
"description": "Whether the app bar has trailing icon or not\n\n_Note:_ Readonly",
|
|
437
|
+
"fieldName": "hasTrailingIcon"
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
"name": "position",
|
|
441
|
+
"type": {
|
|
442
|
+
"text": "'fixed' | 'absolute' | 'static'"
|
|
443
|
+
},
|
|
444
|
+
"default": "'fixed'",
|
|
445
|
+
"fieldName": "position"
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
"name": "scrollContainer",
|
|
449
|
+
"type": {
|
|
450
|
+
"text": "'none' | 'window' | string | undefined"
|
|
451
|
+
},
|
|
452
|
+
"fieldName": "scrollContainer"
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
"name": "container-scrolled",
|
|
456
|
+
"type": {
|
|
457
|
+
"text": "boolean"
|
|
458
|
+
},
|
|
459
|
+
"default": "false",
|
|
460
|
+
"fieldName": "containerScrolled"
|
|
461
|
+
}
|
|
462
|
+
],
|
|
463
|
+
"superclass": {
|
|
464
|
+
"name": "LitElement",
|
|
465
|
+
"package": "lit"
|
|
466
|
+
},
|
|
467
|
+
"tagName": "u-top-app-bar",
|
|
468
|
+
"customElement": true
|
|
469
|
+
}
|
|
470
|
+
],
|
|
471
|
+
"exports": [
|
|
472
|
+
{
|
|
473
|
+
"kind": "js",
|
|
474
|
+
"name": "UmTopAppBar",
|
|
475
|
+
"declaration": {
|
|
476
|
+
"name": "UmTopAppBar",
|
|
477
|
+
"module": "src/app-bar/top-app-bar.ts"
|
|
478
|
+
}
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
"kind": "custom-element-definition",
|
|
482
|
+
"name": "u-top-app-bar",
|
|
483
|
+
"declaration": {
|
|
484
|
+
"name": "UmTopAppBar",
|
|
485
|
+
"module": "src/app-bar/top-app-bar.ts"
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
]
|
|
489
|
+
},
|
|
241
490
|
{
|
|
242
491
|
"kind": "javascript-module",
|
|
243
492
|
"path": "src/button/button-base.ts",
|
|
@@ -2289,12 +2538,12 @@
|
|
|
2289
2538
|
},
|
|
2290
2539
|
{
|
|
2291
2540
|
"kind": "javascript-module",
|
|
2292
|
-
"path": "src/
|
|
2541
|
+
"path": "src/card/card-content.styles.ts",
|
|
2293
2542
|
"declarations": [
|
|
2294
2543
|
{
|
|
2295
2544
|
"kind": "variable",
|
|
2296
2545
|
"name": "styles",
|
|
2297
|
-
"default": "css `\n :host {\n display: block;\n
|
|
2546
|
+
"default": "css `\n :host {\n display: block;\n }\n\n :host(:has(slot > *)) {\n display: none;\n }\n\n :host([has-content]) {\n padding: var(--u-card-padding, 16px);\n }\n\n slot {\n border-radius: inherit;\n }\n`"
|
|
2298
2547
|
}
|
|
2299
2548
|
],
|
|
2300
2549
|
"exports": [
|
|
@@ -2303,256 +2552,7 @@
|
|
|
2303
2552
|
"name": "styles",
|
|
2304
2553
|
"declaration": {
|
|
2305
2554
|
"name": "styles",
|
|
2306
|
-
"module": "src/
|
|
2307
|
-
}
|
|
2308
|
-
}
|
|
2309
|
-
]
|
|
2310
|
-
},
|
|
2311
|
-
{
|
|
2312
|
-
"kind": "javascript-module",
|
|
2313
|
-
"path": "src/app-bar/top-app-bar.ts",
|
|
2314
|
-
"declarations": [
|
|
2315
|
-
{
|
|
2316
|
-
"kind": "class",
|
|
2317
|
-
"description": "",
|
|
2318
|
-
"name": "UmTopAppBar",
|
|
2319
|
-
"members": [
|
|
2320
|
-
{
|
|
2321
|
-
"kind": "field",
|
|
2322
|
-
"name": "hasLeadingIcon",
|
|
2323
|
-
"type": {
|
|
2324
|
-
"text": "boolean"
|
|
2325
|
-
},
|
|
2326
|
-
"default": "false",
|
|
2327
|
-
"description": "Whether the app bar has leading icon or not\n\n_Note:_ Readonly",
|
|
2328
|
-
"attribute": "has-leading-icon",
|
|
2329
|
-
"reflects": true
|
|
2330
|
-
},
|
|
2331
|
-
{
|
|
2332
|
-
"kind": "field",
|
|
2333
|
-
"name": "hasTrailingIcon",
|
|
2334
|
-
"type": {
|
|
2335
|
-
"text": "boolean"
|
|
2336
|
-
},
|
|
2337
|
-
"default": "false",
|
|
2338
|
-
"description": "Whether the app bar has trailing icon or not\n\n_Note:_ Readonly",
|
|
2339
|
-
"attribute": "has-trailing-icon",
|
|
2340
|
-
"reflects": true
|
|
2341
|
-
},
|
|
2342
|
-
{
|
|
2343
|
-
"kind": "field",
|
|
2344
|
-
"name": "position",
|
|
2345
|
-
"type": {
|
|
2346
|
-
"text": "'fixed' | 'absolute' | 'static'"
|
|
2347
|
-
},
|
|
2348
|
-
"default": "'fixed'",
|
|
2349
|
-
"attribute": "position",
|
|
2350
|
-
"reflects": true
|
|
2351
|
-
},
|
|
2352
|
-
{
|
|
2353
|
-
"kind": "field",
|
|
2354
|
-
"name": "scrollContainer",
|
|
2355
|
-
"type": {
|
|
2356
|
-
"text": "'none' | 'window' | string | undefined"
|
|
2357
|
-
},
|
|
2358
|
-
"attribute": "scrollContainer",
|
|
2359
|
-
"reflects": true
|
|
2360
|
-
},
|
|
2361
|
-
{
|
|
2362
|
-
"kind": "field",
|
|
2363
|
-
"name": "containerScrolled",
|
|
2364
|
-
"type": {
|
|
2365
|
-
"text": "boolean"
|
|
2366
|
-
},
|
|
2367
|
-
"default": "false",
|
|
2368
|
-
"attribute": "container-scrolled",
|
|
2369
|
-
"reflects": true
|
|
2370
|
-
},
|
|
2371
|
-
{
|
|
2372
|
-
"kind": "field",
|
|
2373
|
-
"name": "assignedLeadingIcons",
|
|
2374
|
-
"type": {
|
|
2375
|
-
"text": "HTMLElement[]"
|
|
2376
|
-
},
|
|
2377
|
-
"privacy": "private"
|
|
2378
|
-
},
|
|
2379
|
-
{
|
|
2380
|
-
"kind": "field",
|
|
2381
|
-
"name": "assignedTrailingIcons",
|
|
2382
|
-
"type": {
|
|
2383
|
-
"text": "HTMLElement[]"
|
|
2384
|
-
},
|
|
2385
|
-
"privacy": "private"
|
|
2386
|
-
},
|
|
2387
|
-
{
|
|
2388
|
-
"kind": "field",
|
|
2389
|
-
"name": "content",
|
|
2390
|
-
"type": {
|
|
2391
|
-
"text": "HTMLElement"
|
|
2392
|
-
}
|
|
2393
|
-
},
|
|
2394
|
-
{
|
|
2395
|
-
"kind": "field",
|
|
2396
|
-
"name": "contentSizeObserver",
|
|
2397
|
-
"type": {
|
|
2398
|
-
"text": "ResizeObserver | null"
|
|
2399
|
-
},
|
|
2400
|
-
"privacy": "private",
|
|
2401
|
-
"default": "null"
|
|
2402
|
-
},
|
|
2403
|
-
{
|
|
2404
|
-
"kind": "field",
|
|
2405
|
-
"name": "scrollContainerElement",
|
|
2406
|
-
"type": {
|
|
2407
|
-
"text": "{\n addEventListener: typeof window.addEventListener;\n removeEventListener: typeof window.removeEventListener;\n } | null"
|
|
2408
|
-
},
|
|
2409
|
-
"privacy": "private",
|
|
2410
|
-
"default": "null"
|
|
2411
|
-
},
|
|
2412
|
-
{
|
|
2413
|
-
"kind": "method",
|
|
2414
|
-
"name": "getScrollContainer",
|
|
2415
|
-
"privacy": "private",
|
|
2416
|
-
"return": {
|
|
2417
|
-
"type": {
|
|
2418
|
-
"text": "{\n addEventListener: typeof window.addEventListener;\n removeEventListener: typeof window.removeEventListener;\n } | undefined"
|
|
2419
|
-
}
|
|
2420
|
-
},
|
|
2421
|
-
"parameters": [
|
|
2422
|
-
{
|
|
2423
|
-
"name": "idOrElement",
|
|
2424
|
-
"type": {
|
|
2425
|
-
"text": "string | HTMLElement | undefined"
|
|
2426
|
-
}
|
|
2427
|
-
}
|
|
2428
|
-
]
|
|
2429
|
-
},
|
|
2430
|
-
{
|
|
2431
|
-
"kind": "method",
|
|
2432
|
-
"name": "handleLeadingIconSlotChange",
|
|
2433
|
-
"privacy": "private"
|
|
2434
|
-
},
|
|
2435
|
-
{
|
|
2436
|
-
"kind": "method",
|
|
2437
|
-
"name": "handleTrailingIconSlotChange",
|
|
2438
|
-
"privacy": "private"
|
|
2439
|
-
},
|
|
2440
|
-
{
|
|
2441
|
-
"kind": "field",
|
|
2442
|
-
"name": "onContainerScroll"
|
|
2443
|
-
},
|
|
2444
|
-
{
|
|
2445
|
-
"kind": "method",
|
|
2446
|
-
"name": "getScrollTop",
|
|
2447
|
-
"privacy": "private",
|
|
2448
|
-
"static": true,
|
|
2449
|
-
"return": {
|
|
2450
|
-
"type": {
|
|
2451
|
-
"text": "number | null"
|
|
2452
|
-
}
|
|
2453
|
-
},
|
|
2454
|
-
"parameters": [
|
|
2455
|
-
{
|
|
2456
|
-
"name": "container",
|
|
2457
|
-
"type": {
|
|
2458
|
-
"text": "HTMLElement & Window"
|
|
2459
|
-
}
|
|
2460
|
-
}
|
|
2461
|
-
]
|
|
2462
|
-
},
|
|
2463
|
-
{
|
|
2464
|
-
"kind": "method",
|
|
2465
|
-
"name": "setContentHeightProperty",
|
|
2466
|
-
"privacy": "private"
|
|
2467
|
-
}
|
|
2468
|
-
],
|
|
2469
|
-
"attributes": [
|
|
2470
|
-
{
|
|
2471
|
-
"name": "has-leading-icon",
|
|
2472
|
-
"type": {
|
|
2473
|
-
"text": "boolean"
|
|
2474
|
-
},
|
|
2475
|
-
"default": "false",
|
|
2476
|
-
"description": "Whether the app bar has leading icon or not\n\n_Note:_ Readonly",
|
|
2477
|
-
"fieldName": "hasLeadingIcon"
|
|
2478
|
-
},
|
|
2479
|
-
{
|
|
2480
|
-
"name": "has-trailing-icon",
|
|
2481
|
-
"type": {
|
|
2482
|
-
"text": "boolean"
|
|
2483
|
-
},
|
|
2484
|
-
"default": "false",
|
|
2485
|
-
"description": "Whether the app bar has trailing icon or not\n\n_Note:_ Readonly",
|
|
2486
|
-
"fieldName": "hasTrailingIcon"
|
|
2487
|
-
},
|
|
2488
|
-
{
|
|
2489
|
-
"name": "position",
|
|
2490
|
-
"type": {
|
|
2491
|
-
"text": "'fixed' | 'absolute' | 'static'"
|
|
2492
|
-
},
|
|
2493
|
-
"default": "'fixed'",
|
|
2494
|
-
"fieldName": "position"
|
|
2495
|
-
},
|
|
2496
|
-
{
|
|
2497
|
-
"name": "scrollContainer",
|
|
2498
|
-
"type": {
|
|
2499
|
-
"text": "'none' | 'window' | string | undefined"
|
|
2500
|
-
},
|
|
2501
|
-
"fieldName": "scrollContainer"
|
|
2502
|
-
},
|
|
2503
|
-
{
|
|
2504
|
-
"name": "container-scrolled",
|
|
2505
|
-
"type": {
|
|
2506
|
-
"text": "boolean"
|
|
2507
|
-
},
|
|
2508
|
-
"default": "false",
|
|
2509
|
-
"fieldName": "containerScrolled"
|
|
2510
|
-
}
|
|
2511
|
-
],
|
|
2512
|
-
"superclass": {
|
|
2513
|
-
"name": "LitElement",
|
|
2514
|
-
"package": "lit"
|
|
2515
|
-
},
|
|
2516
|
-
"tagName": "u-top-app-bar",
|
|
2517
|
-
"customElement": true
|
|
2518
|
-
}
|
|
2519
|
-
],
|
|
2520
|
-
"exports": [
|
|
2521
|
-
{
|
|
2522
|
-
"kind": "js",
|
|
2523
|
-
"name": "UmTopAppBar",
|
|
2524
|
-
"declaration": {
|
|
2525
|
-
"name": "UmTopAppBar",
|
|
2526
|
-
"module": "src/app-bar/top-app-bar.ts"
|
|
2527
|
-
}
|
|
2528
|
-
},
|
|
2529
|
-
{
|
|
2530
|
-
"kind": "custom-element-definition",
|
|
2531
|
-
"name": "u-top-app-bar",
|
|
2532
|
-
"declaration": {
|
|
2533
|
-
"name": "UmTopAppBar",
|
|
2534
|
-
"module": "src/app-bar/top-app-bar.ts"
|
|
2535
|
-
}
|
|
2536
|
-
}
|
|
2537
|
-
]
|
|
2538
|
-
},
|
|
2539
|
-
{
|
|
2540
|
-
"kind": "javascript-module",
|
|
2541
|
-
"path": "src/card/card-content.styles.ts",
|
|
2542
|
-
"declarations": [
|
|
2543
|
-
{
|
|
2544
|
-
"kind": "variable",
|
|
2545
|
-
"name": "styles",
|
|
2546
|
-
"default": "css `\n :host {\n display: block;\n }\n\n :host(:has(slot > *)) {\n display: none;\n }\n\n :host([has-content]) {\n padding: var(--u-card-padding, 16px);\n }\n\n slot {\n border-radius: inherit;\n }\n`"
|
|
2547
|
-
}
|
|
2548
|
-
],
|
|
2549
|
-
"exports": [
|
|
2550
|
-
{
|
|
2551
|
-
"kind": "js",
|
|
2552
|
-
"name": "styles",
|
|
2553
|
-
"declaration": {
|
|
2554
|
-
"name": "styles",
|
|
2555
|
-
"module": "src/card/card-content.styles.ts"
|
|
2555
|
+
"module": "src/card/card-content.styles.ts"
|
|
2556
2556
|
}
|
|
2557
2557
|
}
|
|
2558
2558
|
]
|
|
@@ -5347,246 +5347,7 @@
|
|
|
5347
5347
|
},
|
|
5348
5348
|
{
|
|
5349
5349
|
"kind": "javascript-module",
|
|
5350
|
-
"path": "src/
|
|
5351
|
-
"declarations": [
|
|
5352
|
-
{
|
|
5353
|
-
"kind": "variable",
|
|
5354
|
-
"name": "styles",
|
|
5355
|
-
"default": "css `\n :host,\n .ripple-container::before {\n --_ripple-hover-color: var(--u-ripple-hover-color, var(--u-ripple-color, var(--u-state-layer-color, currentColor)));\n --_ripple-pressed-color: var(--u-ripple-pressed-color, var(--u-ripple-color, var(--u-state-layer-color, currentColor)));\n --_ripple-hover-opacity: var(--u-ripple-pressed-opacity, var(--u-state-hover-opacity, 0.08));\n --_ripple-pressed-opacity: var(--u-ripple-pressed-opacity, .2);\n display: block;\n inset: 0;\n isolation: isolate;\n }\n\n .ripple-container {\n position: relative;\n width: 100%;\n height: 100%;\n overflow: hidden;\n border-radius: inherit;\n }\n\n .ripple-container::before {\n content: \"\";\n background: var(--_ripple-hover-color);\n opacity: 0;\n transition: opacity 200ms;\n }\n\n @media (hover: hover) {\n :host(:not([disabled]):hover) .ripple-container::before {\n content: \"\";\n background: var(--_ripple-hover-color);\n opacity: var(--_ripple-hover-opacity);\n }\n }\n :host,\n .ripple-container::before,\n .ripple {\n position: absolute;\n border-radius: inherit;\n }\n\n .ripple {\n top: 50%;\n left: 50%;\n background: var(--_ripple-pressed-color);\n border-radius: 50%;\n box-shadow: 0 0 64px 64px var(--_ripple-pressed-color);\n opacity: var(--_ripple-pressed-opacity);\n transform: scale3d(0, 0, 1);\n pointer-events: none;\n will-change: transform;\n }\n .ripple.show {\n transition: transform calc(var(--_ripple-transition-duration) / var(--u-ripple-speed, 1)) cubic-bezier(0.19, 1, 0.22, 1), opacity calc(750ms / var(--u-ripple-speed, 1));\n transform: scale3d(1, 1, 1);\n }\n .ripple.show-forced {\n transition: transform calc(var(--_ripple-transition-duration) / var(--u-ripple-speed, 1)) cubic-bezier(0.19, 1, 0.22, 1), opacity calc(200ms / var(--u-ripple-speed, 1)) 300ms;\n transform: scale3d(2, 2, 1);\n opacity: 0;\n }\n .ripple.dismiss {\n opacity: 0;\n transform: scale3d(2, 2, 1);\n }\n\n ::slotted(*) {\n position: absolute !important;\n inset: 0;\n border-radius: inherit;\n }\n`"
|
|
5356
|
-
}
|
|
5357
|
-
],
|
|
5358
|
-
"exports": [
|
|
5359
|
-
{
|
|
5360
|
-
"kind": "js",
|
|
5361
|
-
"name": "styles",
|
|
5362
|
-
"declaration": {
|
|
5363
|
-
"name": "styles",
|
|
5364
|
-
"module": "src/ripple/ripple.styles.ts"
|
|
5365
|
-
}
|
|
5366
|
-
}
|
|
5367
|
-
]
|
|
5368
|
-
},
|
|
5369
|
-
{
|
|
5370
|
-
"kind": "javascript-module",
|
|
5371
|
-
"path": "src/ripple/ripple.ts",
|
|
5372
|
-
"declarations": [
|
|
5373
|
-
{
|
|
5374
|
-
"kind": "class",
|
|
5375
|
-
"description": "",
|
|
5376
|
-
"name": "UmRipple",
|
|
5377
|
-
"members": [
|
|
5378
|
-
{
|
|
5379
|
-
"kind": "field",
|
|
5380
|
-
"name": "isTouching",
|
|
5381
|
-
"type": {
|
|
5382
|
-
"text": "boolean"
|
|
5383
|
-
},
|
|
5384
|
-
"privacy": "private",
|
|
5385
|
-
"default": "false"
|
|
5386
|
-
},
|
|
5387
|
-
{
|
|
5388
|
-
"kind": "field",
|
|
5389
|
-
"name": "disabled",
|
|
5390
|
-
"type": {
|
|
5391
|
-
"text": "boolean"
|
|
5392
|
-
},
|
|
5393
|
-
"default": "false",
|
|
5394
|
-
"description": "Disables the ripple.",
|
|
5395
|
-
"attribute": "disabled",
|
|
5396
|
-
"reflects": true
|
|
5397
|
-
},
|
|
5398
|
-
{
|
|
5399
|
-
"kind": "field",
|
|
5400
|
-
"name": "rippleContainer",
|
|
5401
|
-
"type": {
|
|
5402
|
-
"text": "HTMLElement"
|
|
5403
|
-
},
|
|
5404
|
-
"privacy": "private"
|
|
5405
|
-
},
|
|
5406
|
-
{
|
|
5407
|
-
"kind": "method",
|
|
5408
|
-
"name": "attachEvents",
|
|
5409
|
-
"privacy": "private",
|
|
5410
|
-
"return": {
|
|
5411
|
-
"type": {
|
|
5412
|
-
"text": "void"
|
|
5413
|
-
}
|
|
5414
|
-
}
|
|
5415
|
-
},
|
|
5416
|
-
{
|
|
5417
|
-
"kind": "method",
|
|
5418
|
-
"name": "dettachEvents",
|
|
5419
|
-
"privacy": "private",
|
|
5420
|
-
"return": {
|
|
5421
|
-
"type": {
|
|
5422
|
-
"text": "void"
|
|
5423
|
-
}
|
|
5424
|
-
}
|
|
5425
|
-
},
|
|
5426
|
-
{
|
|
5427
|
-
"kind": "method",
|
|
5428
|
-
"name": "handleMouseDown",
|
|
5429
|
-
"privacy": "private",
|
|
5430
|
-
"return": {
|
|
5431
|
-
"type": {
|
|
5432
|
-
"text": "void"
|
|
5433
|
-
}
|
|
5434
|
-
},
|
|
5435
|
-
"parameters": [
|
|
5436
|
-
{
|
|
5437
|
-
"name": "e",
|
|
5438
|
-
"type": {
|
|
5439
|
-
"text": "MouseEvent"
|
|
5440
|
-
}
|
|
5441
|
-
}
|
|
5442
|
-
]
|
|
5443
|
-
},
|
|
5444
|
-
{
|
|
5445
|
-
"kind": "method",
|
|
5446
|
-
"name": "handleTouchStart",
|
|
5447
|
-
"privacy": "private",
|
|
5448
|
-
"return": {
|
|
5449
|
-
"type": {
|
|
5450
|
-
"text": "void"
|
|
5451
|
-
}
|
|
5452
|
-
},
|
|
5453
|
-
"parameters": [
|
|
5454
|
-
{
|
|
5455
|
-
"name": "e",
|
|
5456
|
-
"type": {
|
|
5457
|
-
"text": "TouchEvent"
|
|
5458
|
-
}
|
|
5459
|
-
}
|
|
5460
|
-
]
|
|
5461
|
-
},
|
|
5462
|
-
{
|
|
5463
|
-
"kind": "method",
|
|
5464
|
-
"name": "canCreateRipple",
|
|
5465
|
-
"privacy": "private",
|
|
5466
|
-
"return": {
|
|
5467
|
-
"type": {
|
|
5468
|
-
"text": "boolean"
|
|
5469
|
-
}
|
|
5470
|
-
}
|
|
5471
|
-
},
|
|
5472
|
-
{
|
|
5473
|
-
"kind": "method",
|
|
5474
|
-
"name": "createRipple",
|
|
5475
|
-
"return": {
|
|
5476
|
-
"type": {
|
|
5477
|
-
"text": "(() => void) | null"
|
|
5478
|
-
}
|
|
5479
|
-
},
|
|
5480
|
-
"parameters": [
|
|
5481
|
-
{
|
|
5482
|
-
"name": "targetX",
|
|
5483
|
-
"default": "null",
|
|
5484
|
-
"type": {
|
|
5485
|
-
"text": "number | null"
|
|
5486
|
-
}
|
|
5487
|
-
},
|
|
5488
|
-
{
|
|
5489
|
-
"name": "targetY",
|
|
5490
|
-
"default": "null",
|
|
5491
|
-
"type": {
|
|
5492
|
-
"text": "number | null"
|
|
5493
|
-
}
|
|
5494
|
-
},
|
|
5495
|
-
{
|
|
5496
|
-
"name": "releaseEventName",
|
|
5497
|
-
"default": "null",
|
|
5498
|
-
"type": {
|
|
5499
|
-
"text": "string | null"
|
|
5500
|
-
}
|
|
5501
|
-
}
|
|
5502
|
-
]
|
|
5503
|
-
},
|
|
5504
|
-
{
|
|
5505
|
-
"kind": "method",
|
|
5506
|
-
"name": "createDismissEvent",
|
|
5507
|
-
"privacy": "private",
|
|
5508
|
-
"return": {
|
|
5509
|
-
"type": {
|
|
5510
|
-
"text": "() => void"
|
|
5511
|
-
}
|
|
5512
|
-
},
|
|
5513
|
-
"parameters": [
|
|
5514
|
-
{
|
|
5515
|
-
"name": "ripple",
|
|
5516
|
-
"type": {
|
|
5517
|
-
"text": "HTMLElement"
|
|
5518
|
-
}
|
|
5519
|
-
},
|
|
5520
|
-
{
|
|
5521
|
-
"name": "releaseEventName",
|
|
5522
|
-
"type": {
|
|
5523
|
-
"text": "string"
|
|
5524
|
-
}
|
|
5525
|
-
}
|
|
5526
|
-
]
|
|
5527
|
-
},
|
|
5528
|
-
{
|
|
5529
|
-
"kind": "method",
|
|
5530
|
-
"name": "_setElementSquareSizeAndCenter",
|
|
5531
|
-
"privacy": "private",
|
|
5532
|
-
"static": true,
|
|
5533
|
-
"parameters": [
|
|
5534
|
-
{
|
|
5535
|
-
"name": "element",
|
|
5536
|
-
"type": {
|
|
5537
|
-
"text": "HTMLElement"
|
|
5538
|
-
}
|
|
5539
|
-
},
|
|
5540
|
-
{
|
|
5541
|
-
"name": "size",
|
|
5542
|
-
"type": {
|
|
5543
|
-
"text": "number"
|
|
5544
|
-
}
|
|
5545
|
-
}
|
|
5546
|
-
]
|
|
5547
|
-
}
|
|
5548
|
-
],
|
|
5549
|
-
"attributes": [
|
|
5550
|
-
{
|
|
5551
|
-
"name": "disabled",
|
|
5552
|
-
"type": {
|
|
5553
|
-
"text": "boolean"
|
|
5554
|
-
},
|
|
5555
|
-
"default": "false",
|
|
5556
|
-
"description": "Disables the ripple.",
|
|
5557
|
-
"fieldName": "disabled"
|
|
5558
|
-
}
|
|
5559
|
-
],
|
|
5560
|
-
"superclass": {
|
|
5561
|
-
"name": "LitElement",
|
|
5562
|
-
"package": "lit"
|
|
5563
|
-
},
|
|
5564
|
-
"tagName": "u-ripple",
|
|
5565
|
-
"customElement": true
|
|
5566
|
-
}
|
|
5567
|
-
],
|
|
5568
|
-
"exports": [
|
|
5569
|
-
{
|
|
5570
|
-
"kind": "js",
|
|
5571
|
-
"name": "UmRipple",
|
|
5572
|
-
"declaration": {
|
|
5573
|
-
"name": "UmRipple",
|
|
5574
|
-
"module": "src/ripple/ripple.ts"
|
|
5575
|
-
}
|
|
5576
|
-
},
|
|
5577
|
-
{
|
|
5578
|
-
"kind": "custom-element-definition",
|
|
5579
|
-
"name": "u-ripple",
|
|
5580
|
-
"declaration": {
|
|
5581
|
-
"name": "UmRipple",
|
|
5582
|
-
"module": "src/ripple/ripple.ts"
|
|
5583
|
-
}
|
|
5584
|
-
}
|
|
5585
|
-
]
|
|
5586
|
-
},
|
|
5587
|
-
{
|
|
5588
|
-
"kind": "javascript-module",
|
|
5589
|
-
"path": "src/radio/radio-list-item.ts",
|
|
5350
|
+
"path": "src/radio/radio-list-item.ts",
|
|
5590
5351
|
"declarations": [
|
|
5591
5352
|
{
|
|
5592
5353
|
"kind": "class",
|
|
@@ -6267,12 +6028,12 @@
|
|
|
6267
6028
|
},
|
|
6268
6029
|
{
|
|
6269
6030
|
"kind": "javascript-module",
|
|
6270
|
-
"path": "src/
|
|
6031
|
+
"path": "src/ripple/ripple.styles.ts",
|
|
6271
6032
|
"declarations": [
|
|
6272
6033
|
{
|
|
6273
6034
|
"kind": "variable",
|
|
6274
6035
|
"name": "styles",
|
|
6275
|
-
"default": "css `\n :host,\n
|
|
6036
|
+
"default": "css `\n :host,\n .ripple-container::before {\n --_ripple-hover-color: var(--u-ripple-hover-color, var(--u-ripple-color, var(--u-state-layer-color, currentColor)));\n --_ripple-pressed-color: var(--u-ripple-pressed-color, var(--u-ripple-color, var(--u-state-layer-color, currentColor)));\n --_ripple-hover-opacity: var(--u-ripple-pressed-opacity, var(--u-state-hover-opacity, 0.08));\n --_ripple-pressed-opacity: var(--u-ripple-pressed-opacity, .2);\n display: block;\n inset: 0;\n isolation: isolate;\n }\n\n .ripple-container {\n position: relative;\n width: 100%;\n height: 100%;\n overflow: hidden;\n border-radius: inherit;\n }\n\n .ripple-container::before {\n content: \"\";\n background: var(--_ripple-hover-color);\n opacity: 0;\n transition: opacity 200ms;\n }\n\n @media (hover: hover) {\n :host(:not([disabled]):hover) .ripple-container::before {\n content: \"\";\n background: var(--_ripple-hover-color);\n opacity: var(--_ripple-hover-opacity);\n }\n }\n :host,\n .ripple-container::before,\n .ripple {\n position: absolute;\n border-radius: inherit;\n }\n\n .ripple {\n top: 50%;\n left: 50%;\n background: var(--_ripple-pressed-color);\n border-radius: 50%;\n box-shadow: 0 0 64px 64px var(--_ripple-pressed-color);\n opacity: var(--_ripple-pressed-opacity);\n transform: scale3d(0, 0, 1);\n pointer-events: none;\n will-change: transform;\n }\n .ripple.show {\n transition: transform calc(var(--_ripple-transition-duration) / var(--u-ripple-speed, 1)) cubic-bezier(0.19, 1, 0.22, 1), opacity calc(750ms / var(--u-ripple-speed, 1));\n transform: scale3d(1, 1, 1);\n }\n .ripple.show-forced {\n transition: transform calc(var(--_ripple-transition-duration) / var(--u-ripple-speed, 1)) cubic-bezier(0.19, 1, 0.22, 1), opacity calc(200ms / var(--u-ripple-speed, 1)) 300ms;\n transform: scale3d(2, 2, 1);\n opacity: 0;\n }\n .ripple.dismiss {\n opacity: 0;\n transform: scale3d(2, 2, 1);\n }\n\n ::slotted(*) {\n position: absolute !important;\n inset: 0;\n border-radius: inherit;\n }\n`"
|
|
6276
6037
|
}
|
|
6277
6038
|
],
|
|
6278
6039
|
"exports": [
|
|
@@ -6281,32 +6042,271 @@
|
|
|
6281
6042
|
"name": "styles",
|
|
6282
6043
|
"declaration": {
|
|
6283
6044
|
"name": "styles",
|
|
6284
|
-
"module": "src/
|
|
6045
|
+
"module": "src/ripple/ripple.styles.ts"
|
|
6285
6046
|
}
|
|
6286
6047
|
}
|
|
6287
6048
|
]
|
|
6288
6049
|
},
|
|
6289
6050
|
{
|
|
6290
6051
|
"kind": "javascript-module",
|
|
6291
|
-
"path": "src/
|
|
6052
|
+
"path": "src/ripple/ripple.ts",
|
|
6292
6053
|
"declarations": [
|
|
6293
6054
|
{
|
|
6294
|
-
"kind": "
|
|
6295
|
-
"
|
|
6296
|
-
"
|
|
6297
|
-
|
|
6298
|
-
|
|
6299
|
-
|
|
6300
|
-
|
|
6301
|
-
|
|
6302
|
-
|
|
6303
|
-
|
|
6304
|
-
|
|
6305
|
-
|
|
6306
|
-
|
|
6307
|
-
|
|
6308
|
-
|
|
6309
|
-
|
|
6055
|
+
"kind": "class",
|
|
6056
|
+
"description": "",
|
|
6057
|
+
"name": "UmRipple",
|
|
6058
|
+
"members": [
|
|
6059
|
+
{
|
|
6060
|
+
"kind": "field",
|
|
6061
|
+
"name": "isTouching",
|
|
6062
|
+
"type": {
|
|
6063
|
+
"text": "boolean"
|
|
6064
|
+
},
|
|
6065
|
+
"privacy": "private",
|
|
6066
|
+
"default": "false"
|
|
6067
|
+
},
|
|
6068
|
+
{
|
|
6069
|
+
"kind": "field",
|
|
6070
|
+
"name": "disabled",
|
|
6071
|
+
"type": {
|
|
6072
|
+
"text": "boolean"
|
|
6073
|
+
},
|
|
6074
|
+
"default": "false",
|
|
6075
|
+
"description": "Disables the ripple.",
|
|
6076
|
+
"attribute": "disabled",
|
|
6077
|
+
"reflects": true
|
|
6078
|
+
},
|
|
6079
|
+
{
|
|
6080
|
+
"kind": "field",
|
|
6081
|
+
"name": "rippleContainer",
|
|
6082
|
+
"type": {
|
|
6083
|
+
"text": "HTMLElement"
|
|
6084
|
+
},
|
|
6085
|
+
"privacy": "private"
|
|
6086
|
+
},
|
|
6087
|
+
{
|
|
6088
|
+
"kind": "method",
|
|
6089
|
+
"name": "attachEvents",
|
|
6090
|
+
"privacy": "private",
|
|
6091
|
+
"return": {
|
|
6092
|
+
"type": {
|
|
6093
|
+
"text": "void"
|
|
6094
|
+
}
|
|
6095
|
+
}
|
|
6096
|
+
},
|
|
6097
|
+
{
|
|
6098
|
+
"kind": "method",
|
|
6099
|
+
"name": "dettachEvents",
|
|
6100
|
+
"privacy": "private",
|
|
6101
|
+
"return": {
|
|
6102
|
+
"type": {
|
|
6103
|
+
"text": "void"
|
|
6104
|
+
}
|
|
6105
|
+
}
|
|
6106
|
+
},
|
|
6107
|
+
{
|
|
6108
|
+
"kind": "method",
|
|
6109
|
+
"name": "handleMouseDown",
|
|
6110
|
+
"privacy": "private",
|
|
6111
|
+
"return": {
|
|
6112
|
+
"type": {
|
|
6113
|
+
"text": "void"
|
|
6114
|
+
}
|
|
6115
|
+
},
|
|
6116
|
+
"parameters": [
|
|
6117
|
+
{
|
|
6118
|
+
"name": "e",
|
|
6119
|
+
"type": {
|
|
6120
|
+
"text": "MouseEvent"
|
|
6121
|
+
}
|
|
6122
|
+
}
|
|
6123
|
+
]
|
|
6124
|
+
},
|
|
6125
|
+
{
|
|
6126
|
+
"kind": "method",
|
|
6127
|
+
"name": "handleTouchStart",
|
|
6128
|
+
"privacy": "private",
|
|
6129
|
+
"return": {
|
|
6130
|
+
"type": {
|
|
6131
|
+
"text": "void"
|
|
6132
|
+
}
|
|
6133
|
+
},
|
|
6134
|
+
"parameters": [
|
|
6135
|
+
{
|
|
6136
|
+
"name": "e",
|
|
6137
|
+
"type": {
|
|
6138
|
+
"text": "TouchEvent"
|
|
6139
|
+
}
|
|
6140
|
+
}
|
|
6141
|
+
]
|
|
6142
|
+
},
|
|
6143
|
+
{
|
|
6144
|
+
"kind": "method",
|
|
6145
|
+
"name": "canCreateRipple",
|
|
6146
|
+
"privacy": "private",
|
|
6147
|
+
"return": {
|
|
6148
|
+
"type": {
|
|
6149
|
+
"text": "boolean"
|
|
6150
|
+
}
|
|
6151
|
+
}
|
|
6152
|
+
},
|
|
6153
|
+
{
|
|
6154
|
+
"kind": "method",
|
|
6155
|
+
"name": "createRipple",
|
|
6156
|
+
"return": {
|
|
6157
|
+
"type": {
|
|
6158
|
+
"text": "(() => void) | null"
|
|
6159
|
+
}
|
|
6160
|
+
},
|
|
6161
|
+
"parameters": [
|
|
6162
|
+
{
|
|
6163
|
+
"name": "targetX",
|
|
6164
|
+
"default": "null",
|
|
6165
|
+
"type": {
|
|
6166
|
+
"text": "number | null"
|
|
6167
|
+
}
|
|
6168
|
+
},
|
|
6169
|
+
{
|
|
6170
|
+
"name": "targetY",
|
|
6171
|
+
"default": "null",
|
|
6172
|
+
"type": {
|
|
6173
|
+
"text": "number | null"
|
|
6174
|
+
}
|
|
6175
|
+
},
|
|
6176
|
+
{
|
|
6177
|
+
"name": "releaseEventName",
|
|
6178
|
+
"default": "null",
|
|
6179
|
+
"type": {
|
|
6180
|
+
"text": "string | null"
|
|
6181
|
+
}
|
|
6182
|
+
}
|
|
6183
|
+
]
|
|
6184
|
+
},
|
|
6185
|
+
{
|
|
6186
|
+
"kind": "method",
|
|
6187
|
+
"name": "createDismissEvent",
|
|
6188
|
+
"privacy": "private",
|
|
6189
|
+
"return": {
|
|
6190
|
+
"type": {
|
|
6191
|
+
"text": "() => void"
|
|
6192
|
+
}
|
|
6193
|
+
},
|
|
6194
|
+
"parameters": [
|
|
6195
|
+
{
|
|
6196
|
+
"name": "ripple",
|
|
6197
|
+
"type": {
|
|
6198
|
+
"text": "HTMLElement"
|
|
6199
|
+
}
|
|
6200
|
+
},
|
|
6201
|
+
{
|
|
6202
|
+
"name": "releaseEventName",
|
|
6203
|
+
"type": {
|
|
6204
|
+
"text": "string"
|
|
6205
|
+
}
|
|
6206
|
+
}
|
|
6207
|
+
]
|
|
6208
|
+
},
|
|
6209
|
+
{
|
|
6210
|
+
"kind": "method",
|
|
6211
|
+
"name": "_setElementSquareSizeAndCenter",
|
|
6212
|
+
"privacy": "private",
|
|
6213
|
+
"static": true,
|
|
6214
|
+
"parameters": [
|
|
6215
|
+
{
|
|
6216
|
+
"name": "element",
|
|
6217
|
+
"type": {
|
|
6218
|
+
"text": "HTMLElement"
|
|
6219
|
+
}
|
|
6220
|
+
},
|
|
6221
|
+
{
|
|
6222
|
+
"name": "size",
|
|
6223
|
+
"type": {
|
|
6224
|
+
"text": "number"
|
|
6225
|
+
}
|
|
6226
|
+
}
|
|
6227
|
+
]
|
|
6228
|
+
}
|
|
6229
|
+
],
|
|
6230
|
+
"attributes": [
|
|
6231
|
+
{
|
|
6232
|
+
"name": "disabled",
|
|
6233
|
+
"type": {
|
|
6234
|
+
"text": "boolean"
|
|
6235
|
+
},
|
|
6236
|
+
"default": "false",
|
|
6237
|
+
"description": "Disables the ripple.",
|
|
6238
|
+
"fieldName": "disabled"
|
|
6239
|
+
}
|
|
6240
|
+
],
|
|
6241
|
+
"superclass": {
|
|
6242
|
+
"name": "LitElement",
|
|
6243
|
+
"package": "lit"
|
|
6244
|
+
},
|
|
6245
|
+
"tagName": "u-ripple",
|
|
6246
|
+
"customElement": true
|
|
6247
|
+
}
|
|
6248
|
+
],
|
|
6249
|
+
"exports": [
|
|
6250
|
+
{
|
|
6251
|
+
"kind": "js",
|
|
6252
|
+
"name": "UmRipple",
|
|
6253
|
+
"declaration": {
|
|
6254
|
+
"name": "UmRipple",
|
|
6255
|
+
"module": "src/ripple/ripple.ts"
|
|
6256
|
+
}
|
|
6257
|
+
},
|
|
6258
|
+
{
|
|
6259
|
+
"kind": "custom-element-definition",
|
|
6260
|
+
"name": "u-ripple",
|
|
6261
|
+
"declaration": {
|
|
6262
|
+
"name": "UmRipple",
|
|
6263
|
+
"module": "src/ripple/ripple.ts"
|
|
6264
|
+
}
|
|
6265
|
+
}
|
|
6266
|
+
]
|
|
6267
|
+
},
|
|
6268
|
+
{
|
|
6269
|
+
"kind": "javascript-module",
|
|
6270
|
+
"path": "src/shared/base.styles.ts",
|
|
6271
|
+
"declarations": [
|
|
6272
|
+
{
|
|
6273
|
+
"kind": "variable",
|
|
6274
|
+
"name": "styles",
|
|
6275
|
+
"default": "css `\n :host,\n * {\n font-family: var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");\n box-sizing: border-box;\n outline: 0;\n }\n\n .focus-ring:focus-visible {\n --_color-primary: var(--u-color-primary, rgb(103, 80, 164));\n animation: u-focus-pulse 500ms ease;\n animation-fill-mode: forwards;\n outline-offset: 2px;\n }\n\n @keyframes u-focus-pulse {\n 0% {\n outline: 0 solid var(--_color-primary);\n }\n 50% {\n outline: 6px solid var(--_color-primary);\n }\n 100% {\n outline: 4px solid var(--_color-primary);\n }\n }\n`"
|
|
6276
|
+
}
|
|
6277
|
+
],
|
|
6278
|
+
"exports": [
|
|
6279
|
+
{
|
|
6280
|
+
"kind": "js",
|
|
6281
|
+
"name": "styles",
|
|
6282
|
+
"declaration": {
|
|
6283
|
+
"name": "styles",
|
|
6284
|
+
"module": "src/shared/base.styles.ts"
|
|
6285
|
+
}
|
|
6286
|
+
}
|
|
6287
|
+
]
|
|
6288
|
+
},
|
|
6289
|
+
{
|
|
6290
|
+
"kind": "javascript-module",
|
|
6291
|
+
"path": "src/shared/button-wrapper.styles.ts",
|
|
6292
|
+
"declarations": [
|
|
6293
|
+
{
|
|
6294
|
+
"kind": "variable",
|
|
6295
|
+
"name": "styles",
|
|
6296
|
+
"default": "css `\n :host {\n --_color-primary: var(--u-color-primary, rgb(103, 80, 164));\n -webkit-tap-highlight-color: transparent;\n --u-elevation-level: 0;\n position: relative;\n display: inline-block;\n font-family: var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");\n appearance: none !important;\n }\n\n :host([disabled]) {\n --u-elevation-level: 0 !important;\n background-color: var(--u-button-disabled-background-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-button-disabled-background-opacity, 0.12))) !important;\n color: var(--u-button-disabled-text-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-button-disabled-color, 0.38))) !important;\n }\n\n :host([disabled]) .button {\n cursor: default;\n }\n\n * {\n color: inherit;\n }\n\n u-elevation {\n z-index: -1;\n }\n\n .button {\n cursor: pointer;\n position: absolute;\n inset-inline-start: 0;\n inset-block-start: 0;\n width: 100%;\n height: 100%;\n font-family: inherit;\n border-radius: inherit;\n color: inherit;\n border: none;\n margin: 0;\n padding: 0;\n text-align: center;\n white-space: nowrap;\n background: transparent;\n user-select: none;\n text-decoration: none;\n outline: 0;\n z-index: 0;\n }\n\n .content {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n white-space: nowrap;\n width: 100%;\n height: 100%;\n }\n\n .button:focus-visible {\n animation: offset-pulse 400ms ease;\n animation-fill-mode: forwards;\n outline-offset: 2px;\n }\n\n .icon {\n display: flex;\n justify-content: center;\n align-items: center;\n width: 1em;\n height: 1em;\n line-height: 1em;\n }\n\n ::slotted([slot=icon]) {\n display: inline-block;\n }\n\n @keyframes offset-pulse {\n 0% {\n outline: 4px solid var(--_color-primary);\n }\n 50% {\n outline: 8px solid var(--_color-primary);\n }\n 100% {\n outline: 4px solid var(--_color-primary);\n }\n }\n`"
|
|
6297
|
+
}
|
|
6298
|
+
],
|
|
6299
|
+
"exports": [
|
|
6300
|
+
{
|
|
6301
|
+
"kind": "js",
|
|
6302
|
+
"name": "styles",
|
|
6303
|
+
"declaration": {
|
|
6304
|
+
"name": "styles",
|
|
6305
|
+
"module": "src/shared/button-wrapper.styles.ts"
|
|
6306
|
+
}
|
|
6307
|
+
}
|
|
6308
|
+
]
|
|
6309
|
+
},
|
|
6310
6310
|
{
|
|
6311
6311
|
"kind": "javascript-module",
|
|
6312
6312
|
"path": "src/shared/button-wrapper.ts",
|
|
@@ -6795,34 +6795,78 @@
|
|
|
6795
6795
|
},
|
|
6796
6796
|
{
|
|
6797
6797
|
"kind": "javascript-module",
|
|
6798
|
-
"path": "src/
|
|
6799
|
-
"declarations": [
|
|
6800
|
-
{
|
|
6801
|
-
"kind": "variable",
|
|
6802
|
-
"name": "styles",
|
|
6803
|
-
"default": "css `\n\n`"
|
|
6804
|
-
}
|
|
6805
|
-
],
|
|
6806
|
-
"exports": [
|
|
6807
|
-
{
|
|
6808
|
-
"kind": "js",
|
|
6809
|
-
"name": "styles",
|
|
6810
|
-
"declaration": {
|
|
6811
|
-
"name": "styles",
|
|
6812
|
-
"module": "src/text-field/text-field.styles.ts"
|
|
6813
|
-
}
|
|
6814
|
-
}
|
|
6815
|
-
]
|
|
6816
|
-
},
|
|
6817
|
-
{
|
|
6818
|
-
"kind": "javascript-module",
|
|
6819
|
-
"path": "src/text-field/text-field.ts",
|
|
6798
|
+
"path": "src/switch/switch-list-item.ts",
|
|
6820
6799
|
"declarations": [
|
|
6821
6800
|
{
|
|
6822
6801
|
"kind": "class",
|
|
6823
6802
|
"description": "",
|
|
6824
|
-
"name": "
|
|
6803
|
+
"name": "UmSwitchListItem",
|
|
6804
|
+
"mixins": [
|
|
6805
|
+
{
|
|
6806
|
+
"name": "mixinSelectionControlListItem",
|
|
6807
|
+
"module": "/src/shared/selection-control/selection-control-list-item.js"
|
|
6808
|
+
}
|
|
6809
|
+
],
|
|
6810
|
+
"superclass": {
|
|
6811
|
+
"name": "UmSwitch",
|
|
6812
|
+
"module": "/src/switch/switch.js"
|
|
6813
|
+
},
|
|
6814
|
+
"tagName": "u-switch-list-item",
|
|
6815
|
+
"customElement": true,
|
|
6825
6816
|
"members": [
|
|
6817
|
+
{
|
|
6818
|
+
"kind": "field",
|
|
6819
|
+
"name": "styles",
|
|
6820
|
+
"type": {
|
|
6821
|
+
"text": "array"
|
|
6822
|
+
},
|
|
6823
|
+
"static": true,
|
|
6824
|
+
"default": "[\n (base as unknown as typeof LitElement).styles ?? [],\n css`:host {\n --u-list-item-block-padding: 0;\n display: block;\n }`\n ]",
|
|
6825
|
+
"inheritedFrom": {
|
|
6826
|
+
"name": "mixinSelectionControlListItem",
|
|
6827
|
+
"module": "src/shared/selection-control/selection-control-list-item.ts"
|
|
6828
|
+
}
|
|
6829
|
+
},
|
|
6830
|
+
{
|
|
6831
|
+
"kind": "method",
|
|
6832
|
+
"name": "render",
|
|
6833
|
+
"return": {
|
|
6834
|
+
"type": {
|
|
6835
|
+
"text": "HTMLTemplateResult"
|
|
6836
|
+
}
|
|
6837
|
+
},
|
|
6838
|
+
"inheritedFrom": {
|
|
6839
|
+
"name": "mixinSelectionControlListItem",
|
|
6840
|
+
"module": "src/shared/selection-control/selection-control-list-item.ts"
|
|
6841
|
+
}
|
|
6842
|
+
},
|
|
6843
|
+
{
|
|
6844
|
+
"kind": "field",
|
|
6845
|
+
"name": "renderRipple",
|
|
6846
|
+
"type": {
|
|
6847
|
+
"text": "boolean"
|
|
6848
|
+
},
|
|
6849
|
+
"privacy": "protected",
|
|
6850
|
+
"default": "false",
|
|
6851
|
+
"inheritedFrom": {
|
|
6852
|
+
"name": "UmSelectionControl",
|
|
6853
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
6854
|
+
}
|
|
6855
|
+
},
|
|
6856
|
+
{
|
|
6857
|
+
"kind": "method",
|
|
6858
|
+
"name": "renderIndicator",
|
|
6859
|
+
"privacy": "protected",
|
|
6860
|
+
"return": {
|
|
6861
|
+
"type": {
|
|
6862
|
+
"text": "HTMLTemplateResult"
|
|
6863
|
+
}
|
|
6864
|
+
},
|
|
6865
|
+
"inheritedFrom": {
|
|
6866
|
+
"name": "UmSelectionControl",
|
|
6867
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
6868
|
+
}
|
|
6869
|
+
},
|
|
6826
6870
|
{
|
|
6827
6871
|
"kind": "field",
|
|
6828
6872
|
"name": "formAssociated",
|
|
@@ -6830,20 +6874,36 @@
|
|
|
6830
6874
|
"text": "boolean"
|
|
6831
6875
|
},
|
|
6832
6876
|
"static": true,
|
|
6833
|
-
"default": "true"
|
|
6877
|
+
"default": "true",
|
|
6878
|
+
"inheritedFrom": {
|
|
6879
|
+
"name": "UmSelectionControl",
|
|
6880
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
6881
|
+
}
|
|
6834
6882
|
},
|
|
6835
6883
|
{
|
|
6836
6884
|
"kind": "field",
|
|
6837
|
-
"name": "
|
|
6838
|
-
"
|
|
6885
|
+
"name": "elementInternals",
|
|
6886
|
+
"type": {
|
|
6887
|
+
"text": "ElementInternals"
|
|
6888
|
+
},
|
|
6889
|
+
"privacy": "protected",
|
|
6890
|
+
"inheritedFrom": {
|
|
6891
|
+
"name": "UmSelectionControl",
|
|
6892
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
6893
|
+
}
|
|
6839
6894
|
},
|
|
6840
6895
|
{
|
|
6841
6896
|
"kind": "field",
|
|
6842
|
-
"name": "
|
|
6897
|
+
"name": "name",
|
|
6843
6898
|
"type": {
|
|
6844
6899
|
"text": "string | undefined"
|
|
6845
6900
|
},
|
|
6846
|
-
"
|
|
6901
|
+
"default": "''",
|
|
6902
|
+
"attribute": "name",
|
|
6903
|
+
"inheritedFrom": {
|
|
6904
|
+
"name": "UmSelectionControl",
|
|
6905
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
6906
|
+
}
|
|
6847
6907
|
},
|
|
6848
6908
|
{
|
|
6849
6909
|
"kind": "field",
|
|
@@ -6853,70 +6913,104 @@
|
|
|
6853
6913
|
},
|
|
6854
6914
|
"default": "false",
|
|
6855
6915
|
"attribute": "disabled",
|
|
6856
|
-
"reflects": true
|
|
6916
|
+
"reflects": true,
|
|
6917
|
+
"inheritedFrom": {
|
|
6918
|
+
"name": "UmSelectionControl",
|
|
6919
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
6920
|
+
}
|
|
6857
6921
|
},
|
|
6858
6922
|
{
|
|
6859
6923
|
"kind": "field",
|
|
6860
|
-
"name": "
|
|
6924
|
+
"name": "input",
|
|
6861
6925
|
"type": {
|
|
6862
|
-
"text": "
|
|
6926
|
+
"text": "HTMLInputElement"
|
|
6863
6927
|
},
|
|
6864
|
-
"
|
|
6865
|
-
|
|
6866
|
-
|
|
6928
|
+
"inheritedFrom": {
|
|
6929
|
+
"name": "UmSelectionControl",
|
|
6930
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
6931
|
+
}
|
|
6867
6932
|
},
|
|
6868
6933
|
{
|
|
6869
6934
|
"kind": "field",
|
|
6870
|
-
"name": "
|
|
6871
|
-
"privacy": "private",
|
|
6935
|
+
"name": "form",
|
|
6872
6936
|
"type": {
|
|
6873
|
-
"text": "
|
|
6937
|
+
"text": "HTMLFormElement | null"
|
|
6874
6938
|
},
|
|
6875
|
-
"
|
|
6939
|
+
"inheritedFrom": {
|
|
6940
|
+
"name": "UmSelectionControl",
|
|
6941
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
6942
|
+
}
|
|
6876
6943
|
},
|
|
6877
6944
|
{
|
|
6878
6945
|
"kind": "field",
|
|
6879
|
-
"name": "
|
|
6946
|
+
"name": "#checked",
|
|
6947
|
+
"privacy": "private",
|
|
6880
6948
|
"type": {
|
|
6881
|
-
"text": "
|
|
6949
|
+
"text": "boolean"
|
|
6950
|
+
},
|
|
6951
|
+
"default": "false",
|
|
6952
|
+
"inheritedFrom": {
|
|
6953
|
+
"name": "UmSelectionControl",
|
|
6954
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
6882
6955
|
}
|
|
6883
6956
|
},
|
|
6884
6957
|
{
|
|
6885
6958
|
"kind": "field",
|
|
6886
|
-
"name": "
|
|
6887
|
-
"
|
|
6959
|
+
"name": "inputType",
|
|
6960
|
+
"type": {
|
|
6961
|
+
"text": "'checkbox' | 'radio'"
|
|
6962
|
+
},
|
|
6963
|
+
"privacy": "protected",
|
|
6964
|
+
"default": "'checkbox'",
|
|
6965
|
+
"inheritedFrom": {
|
|
6966
|
+
"name": "UmSelectionControl",
|
|
6967
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
6968
|
+
}
|
|
6888
6969
|
},
|
|
6889
6970
|
{
|
|
6890
6971
|
"kind": "field",
|
|
6891
|
-
"name": "
|
|
6892
|
-
"privacy": "private",
|
|
6972
|
+
"name": "value",
|
|
6893
6973
|
"type": {
|
|
6894
|
-
"text": "
|
|
6974
|
+
"text": "string"
|
|
6975
|
+
},
|
|
6976
|
+
"default": "'on'",
|
|
6977
|
+
"description": "The element value to use in form submission when checked.",
|
|
6978
|
+
"attribute": "value",
|
|
6979
|
+
"inheritedFrom": {
|
|
6980
|
+
"name": "UmSelectionControl",
|
|
6981
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
6895
6982
|
}
|
|
6896
6983
|
},
|
|
6897
6984
|
{
|
|
6898
6985
|
"kind": "field",
|
|
6899
|
-
"name": "
|
|
6900
|
-
"
|
|
6901
|
-
|
|
6986
|
+
"name": "checked",
|
|
6987
|
+
"attribute": "checked",
|
|
6988
|
+
"inheritedFrom": {
|
|
6989
|
+
"name": "UmSelectionControl",
|
|
6990
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
6902
6991
|
}
|
|
6903
6992
|
},
|
|
6904
6993
|
{
|
|
6905
6994
|
"kind": "method",
|
|
6906
|
-
"name": "#
|
|
6995
|
+
"name": "#handleClick",
|
|
6996
|
+
"inheritedFrom": {
|
|
6997
|
+
"name": "UmSelectionControl",
|
|
6998
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
6999
|
+
}
|
|
6907
7000
|
}
|
|
6908
7001
|
],
|
|
6909
7002
|
"attributes": [
|
|
6910
7003
|
{
|
|
6911
|
-
"name": "
|
|
6912
|
-
"fieldName": "variant"
|
|
6913
|
-
},
|
|
6914
|
-
{
|
|
6915
|
-
"name": "label",
|
|
7004
|
+
"name": "name",
|
|
6916
7005
|
"type": {
|
|
6917
7006
|
"text": "string | undefined"
|
|
6918
7007
|
},
|
|
6919
|
-
"
|
|
7008
|
+
"default": "''",
|
|
7009
|
+
"fieldName": "name",
|
|
7010
|
+
"inheritedFrom": {
|
|
7011
|
+
"name": "UmSelectionControl",
|
|
7012
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
7013
|
+
}
|
|
6920
7014
|
},
|
|
6921
7015
|
{
|
|
6922
7016
|
"name": "disabled",
|
|
@@ -6924,613 +7018,318 @@
|
|
|
6924
7018
|
"text": "boolean"
|
|
6925
7019
|
},
|
|
6926
7020
|
"default": "false",
|
|
6927
|
-
"fieldName": "disabled"
|
|
7021
|
+
"fieldName": "disabled",
|
|
7022
|
+
"inheritedFrom": {
|
|
7023
|
+
"name": "UmSelectionControl",
|
|
7024
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
7025
|
+
}
|
|
6928
7026
|
},
|
|
6929
7027
|
{
|
|
6930
|
-
"name": "
|
|
7028
|
+
"name": "value",
|
|
6931
7029
|
"type": {
|
|
6932
|
-
"text": "
|
|
7030
|
+
"text": "string"
|
|
6933
7031
|
},
|
|
6934
|
-
"default": "
|
|
6935
|
-
"
|
|
7032
|
+
"default": "'on'",
|
|
7033
|
+
"description": "The element value to use in form submission when checked.",
|
|
7034
|
+
"fieldName": "value",
|
|
7035
|
+
"inheritedFrom": {
|
|
7036
|
+
"name": "UmSelectionControl",
|
|
7037
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
7038
|
+
}
|
|
6936
7039
|
},
|
|
6937
7040
|
{
|
|
6938
|
-
"name": "
|
|
6939
|
-
"fieldName": "
|
|
7041
|
+
"name": "checked",
|
|
7042
|
+
"fieldName": "checked",
|
|
7043
|
+
"inheritedFrom": {
|
|
7044
|
+
"name": "UmSelectionControl",
|
|
7045
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
7046
|
+
}
|
|
6940
7047
|
}
|
|
6941
7048
|
],
|
|
6942
|
-
"
|
|
6943
|
-
|
|
6944
|
-
|
|
6945
|
-
|
|
6946
|
-
|
|
6947
|
-
|
|
7049
|
+
"events": [
|
|
7050
|
+
{
|
|
7051
|
+
"name": "change",
|
|
7052
|
+
"type": {
|
|
7053
|
+
"text": "Event"
|
|
7054
|
+
},
|
|
7055
|
+
"inheritedFrom": {
|
|
7056
|
+
"name": "UmSelectionControl",
|
|
7057
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
7058
|
+
}
|
|
7059
|
+
}
|
|
7060
|
+
]
|
|
6948
7061
|
}
|
|
6949
7062
|
],
|
|
6950
7063
|
"exports": [
|
|
6951
7064
|
{
|
|
6952
7065
|
"kind": "js",
|
|
6953
|
-
"name": "
|
|
7066
|
+
"name": "UmSwitchListItem",
|
|
6954
7067
|
"declaration": {
|
|
6955
|
-
"name": "
|
|
6956
|
-
"module": "src/
|
|
7068
|
+
"name": "UmSwitchListItem",
|
|
7069
|
+
"module": "src/switch/switch-list-item.ts"
|
|
6957
7070
|
}
|
|
6958
7071
|
},
|
|
6959
7072
|
{
|
|
6960
7073
|
"kind": "custom-element-definition",
|
|
6961
|
-
"name": "u-
|
|
7074
|
+
"name": "u-switch-list-item",
|
|
6962
7075
|
"declaration": {
|
|
6963
|
-
"name": "
|
|
6964
|
-
"module": "src/
|
|
6965
|
-
}
|
|
6966
|
-
}
|
|
6967
|
-
]
|
|
6968
|
-
},
|
|
6969
|
-
{
|
|
6970
|
-
"kind": "javascript-module",
|
|
6971
|
-
"path": "src/theme/color.ts",
|
|
6972
|
-
"declarations": [],
|
|
6973
|
-
"exports": []
|
|
6974
|
-
},
|
|
6975
|
-
{
|
|
6976
|
-
"kind": "javascript-module",
|
|
6977
|
-
"path": "src/theme/css-var-builder.ts",
|
|
6978
|
-
"declarations": [
|
|
6979
|
-
{
|
|
6980
|
-
"kind": "class",
|
|
6981
|
-
"description": "",
|
|
6982
|
-
"name": "CssVarBuilder",
|
|
6983
|
-
"members": [
|
|
6984
|
-
{
|
|
6985
|
-
"kind": "field",
|
|
6986
|
-
"name": "content",
|
|
6987
|
-
"type": {
|
|
6988
|
-
"text": "string"
|
|
6989
|
-
},
|
|
6990
|
-
"privacy": "private",
|
|
6991
|
-
"default": "''"
|
|
6992
|
-
},
|
|
6993
|
-
{
|
|
6994
|
-
"kind": "method",
|
|
6995
|
-
"name": "create",
|
|
6996
|
-
"static": true,
|
|
6997
|
-
"return": {
|
|
6998
|
-
"type": {
|
|
6999
|
-
"text": "CssVarBuilder"
|
|
7000
|
-
}
|
|
7001
|
-
}
|
|
7002
|
-
},
|
|
7003
|
-
{
|
|
7004
|
-
"kind": "method",
|
|
7005
|
-
"name": "add",
|
|
7006
|
-
"return": {
|
|
7007
|
-
"type": {
|
|
7008
|
-
"text": "CssVarBuilder"
|
|
7009
|
-
}
|
|
7010
|
-
},
|
|
7011
|
-
"parameters": [
|
|
7012
|
-
{
|
|
7013
|
-
"name": "name",
|
|
7014
|
-
"type": {
|
|
7015
|
-
"text": "string"
|
|
7016
|
-
}
|
|
7017
|
-
},
|
|
7018
|
-
{
|
|
7019
|
-
"name": "value",
|
|
7020
|
-
"type": {
|
|
7021
|
-
"text": "string"
|
|
7022
|
-
}
|
|
7023
|
-
}
|
|
7024
|
-
]
|
|
7025
|
-
},
|
|
7026
|
-
{
|
|
7027
|
-
"kind": "method",
|
|
7028
|
-
"name": "addFromArgb",
|
|
7029
|
-
"return": {
|
|
7030
|
-
"type": {
|
|
7031
|
-
"text": "CssVarBuilder"
|
|
7032
|
-
}
|
|
7033
|
-
},
|
|
7034
|
-
"parameters": [
|
|
7035
|
-
{
|
|
7036
|
-
"name": "name",
|
|
7037
|
-
"type": {
|
|
7038
|
-
"text": "string"
|
|
7039
|
-
}
|
|
7040
|
-
},
|
|
7041
|
-
{
|
|
7042
|
-
"name": "argb",
|
|
7043
|
-
"type": {
|
|
7044
|
-
"text": "number"
|
|
7045
|
-
}
|
|
7046
|
-
}
|
|
7047
|
-
]
|
|
7048
|
-
},
|
|
7049
|
-
{
|
|
7050
|
-
"kind": "method",
|
|
7051
|
-
"name": "build",
|
|
7052
|
-
"return": {
|
|
7053
|
-
"type": {
|
|
7054
|
-
"text": "string"
|
|
7055
|
-
}
|
|
7056
|
-
}
|
|
7057
|
-
}
|
|
7058
|
-
]
|
|
7059
|
-
}
|
|
7060
|
-
],
|
|
7061
|
-
"exports": [
|
|
7062
|
-
{
|
|
7063
|
-
"kind": "js",
|
|
7064
|
-
"name": "CssVarBuilder",
|
|
7065
|
-
"declaration": {
|
|
7066
|
-
"name": "CssVarBuilder",
|
|
7067
|
-
"module": "src/theme/css-var-builder.ts"
|
|
7068
|
-
}
|
|
7069
|
-
}
|
|
7070
|
-
]
|
|
7071
|
-
},
|
|
7072
|
-
{
|
|
7073
|
-
"kind": "javascript-module",
|
|
7074
|
-
"path": "src/theme/index.ts",
|
|
7075
|
-
"declarations": [],
|
|
7076
|
-
"exports": [
|
|
7077
|
-
{
|
|
7078
|
-
"kind": "js",
|
|
7079
|
-
"name": "*",
|
|
7080
|
-
"declaration": {
|
|
7081
|
-
"name": "*",
|
|
7082
|
-
"package": "./theme-builder.js"
|
|
7076
|
+
"name": "UmSwitchListItem",
|
|
7077
|
+
"module": "src/switch/switch-list-item.ts"
|
|
7083
7078
|
}
|
|
7084
7079
|
}
|
|
7085
7080
|
]
|
|
7086
7081
|
},
|
|
7087
7082
|
{
|
|
7088
7083
|
"kind": "javascript-module",
|
|
7089
|
-
"path": "src/
|
|
7084
|
+
"path": "src/switch/switch.styles.ts",
|
|
7090
7085
|
"declarations": [
|
|
7091
7086
|
{
|
|
7092
7087
|
"kind": "variable",
|
|
7093
|
-
"name": "
|
|
7094
|
-
"
|
|
7095
|
-
"text": "Color[]"
|
|
7096
|
-
},
|
|
7097
|
-
"default": "[\n { name: 'surface', lightTone: 98, darkTone: 6 },\n { name: 'surface-bright', lightTone: 98, darkTone: 24 },\n { name: 'surface-dim', lightTone: 87, darkTone: 6 },\n { name: 'surface-container-lowest', lightTone: 100, darkTone: 4 },\n { name: 'surface-container-low', lightTone: 96, darkTone: 10 },\n { name: 'surface-container', lightTone: 94, darkTone: 12 },\n { name: 'surface-container-high', lightTone: 92, darkTone: 17 },\n { name: 'surface-container-highest', lightTone: 90, darkTone: 22 },\n { name: 'on-surface', lightTone: 10, darkTone: 90 },\n { name: 'light', fixedTone: 98 },\n { name: 'on-light', fixedTone: 10 },\n { name: 'dark', fixedTone: 6 },\n { name: 'on-dark', fixedTone: 90 },\n { name: 'scrim', fixedTone: 0 },\n { name: 'shadow', fixedTone: 0 },\n]"
|
|
7098
|
-
},
|
|
7099
|
-
{
|
|
7100
|
-
"kind": "variable",
|
|
7101
|
-
"name": "neutralVariantColors",
|
|
7102
|
-
"type": {
|
|
7103
|
-
"text": "Color[]"
|
|
7104
|
-
},
|
|
7105
|
-
"default": "[\n { name: 'surface-variant', lightTone: 90, darkTone: 30 },\n { name: 'on-surface-variant', lightTone: 30, darkTone: 80 },\n { name: 'outline', lightTone: 50, darkTone: 60 },\n { name: 'outline-variant', lightTone: 80, darkTone: 30 }\n]"
|
|
7088
|
+
"name": "styles",
|
|
7089
|
+
"default": "css `\n :host {\n --_state-layer-padding: var(--u-switch-state-layer-padding, 4px);\n --_input-size: calc(var(--_width) - var(--_state-layer-padding) * 2);\n --_indicator-color: var(--u-switch-indicator-unselected-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n display: inline-block;\n vertical-align: middle;\n }\n\n .container {\n cursor: pointer;\n position: relative;\n width: var(--_width);\n height: var(--_height);\n padding: var(--_state-layer-padding);\n border-radius: var(--u-shape-corner-full, 9999px);\n }\n\n :host([hide-state-layer]) .container {\n width: var(--_indicator-size);\n height: var(--_indicator-size);\n padding: 0;\n }\n :host([hide-state-layer]) u-ripple {\n display: none;\n }\n\n input {\n cursor: pointer;\n width: 100%;\n height: 100%;\n padding: 0;\n margin: 0;\n border-radius: inherit;\n appearance: none;\n }\n\n u-ripple {\n padding: var(--_state-layer-padding);\n }\n\n .indicator-container {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n inset: 0;\n pointer-events: none;\n }\n\n input:checked ~ .indicator-container {\n --_indicator-color: var(--u-switch-indicator-unselected-color, var(--u-color-primary, rgb(103, 80, 164)));\n }\n\n :host([disabled]) {\n opacity: var(--u-switch-disabled-state-opacity, 0.38);\n }\n :host([disabled]) input,\n :host([disabled]) .container {\n cursor: default;\n }\n :host([disabled]) .indicator-container {\n --_indicator-color: var(--u-switch-indicator-disabled-color, var(--u-color-on-surface, rgb(29, 27, 32)));\n }\n\n :host {\n --_width: 3.25rem;\n --_height: 2rem;\n --_state-layer-padding: 0;\n --_selected-track-background: var(--u-switch-track-background-color, var(--u-color-primary, rgb(103, 80, 164)));\n --_state-layer-size: var(--u-switch-state-layer-size, 2.5rem);\n --_unselected-color: var(--u-switch-track-outline-color, var(--u-color-outline, rgb(121, 116, 126)));\n --_unselected-handle-size: var(--u-swich-unselected-handle-size, 1rem);\n --_selected-handle-size: var(--u-swich-unselected-handle-size, 1.5rem);\n --_active-handle-size: var(--u-swich-unselected-handle-size, 1.75rem);\n }\n\n .indicator-container {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n width: var(--_height);\n transition: width 200ms;\n }\n\n .state-layer,\n .indicator {\n display: flex;\n justify-content: center;\n align-items: center;\n }\n\n .indicator {\n width: var(--_height);\n height: var(--_height);\n }\n\n .state-layer {\n flex-shrink: 0;\n width: var(--_state-layer-size);\n height: var(--_state-layer-size);\n border-radius: var(--u-shape-corner-full, 9999px);\n }\n\n .handle {\n width: var(--_unselected-handle-size);\n height: var(--_unselected-handle-size);\n background-color: var(--u-switch-unselected-handle-color, var(--_unselected-color));\n border-radius: var(--u-switch-handle-shape-corner, var(--u-shape-corner-full, 9999px));\n transition: background 200ms, width 200ms, height 200ms;\n }\n\n input {\n border: var(--u-switch-track-width, 0.125rem) solid var(--u-switch-unselected-track-outline-color, var(--_unselected-color));\n background-color: var(--u-switch-unselected-track-background-color, var(--u-color-surface-container-highest, rgb(230, 224, 233)));\n transition: background 200ms, border-color 200ms;\n }\n input:checked {\n background-color: var(--_selected-track-background);\n border-color: var(--_selected-track-background);\n }\n input:checked ~ .indicator-container {\n width: 100%;\n }\n input:checked ~ .indicator-container .handle {\n width: var(--_selected-handle-size);\n height: var(--_selected-handle-size);\n background-color: var(--u-switch-selected-handle-color, var(--u-color-on-primary, rgb(255, 255, 255)));\n }\n\n @media (hover: hover) {\n :host(:not([disabled]):hover) .state-layer {\n background-color: rgba(var(--u-color-on-surface-rgb, ), var(--u-switch-state-layer-hover-opacity, var(--u-state-hover-opacity, 0.08)));\n }\n }\n :host(:not([disabled]):active) .indicator-container .handle {\n width: var(--_active-handle-size);\n height: var(--_active-handle-size);\n }\n`"
|
|
7106
7090
|
}
|
|
7107
7091
|
],
|
|
7108
7092
|
"exports": [
|
|
7109
7093
|
{
|
|
7110
7094
|
"kind": "js",
|
|
7111
|
-
"name": "
|
|
7112
|
-
"declaration": {
|
|
7113
|
-
"name": "neutralColors",
|
|
7114
|
-
"module": "src/theme/neutral-colors.ts"
|
|
7115
|
-
}
|
|
7116
|
-
},
|
|
7117
|
-
{
|
|
7118
|
-
"kind": "js",
|
|
7119
|
-
"name": "neutralVariantColors",
|
|
7095
|
+
"name": "styles",
|
|
7120
7096
|
"declaration": {
|
|
7121
|
-
"name": "
|
|
7122
|
-
"module": "src/
|
|
7097
|
+
"name": "styles",
|
|
7098
|
+
"module": "src/switch/switch.styles.ts"
|
|
7123
7099
|
}
|
|
7124
7100
|
}
|
|
7125
7101
|
]
|
|
7126
7102
|
},
|
|
7127
7103
|
{
|
|
7128
7104
|
"kind": "javascript-module",
|
|
7129
|
-
"path": "src/
|
|
7105
|
+
"path": "src/switch/switch.ts",
|
|
7130
7106
|
"declarations": [
|
|
7131
7107
|
{
|
|
7132
7108
|
"kind": "class",
|
|
7133
7109
|
"description": "",
|
|
7134
|
-
"name": "
|
|
7110
|
+
"name": "UmSwitch",
|
|
7135
7111
|
"members": [
|
|
7136
7112
|
{
|
|
7137
7113
|
"kind": "field",
|
|
7138
|
-
"name": "
|
|
7139
|
-
"type": {
|
|
7140
|
-
"text": "number"
|
|
7141
|
-
},
|
|
7142
|
-
"default": "r"
|
|
7143
|
-
},
|
|
7144
|
-
{
|
|
7145
|
-
"kind": "field",
|
|
7146
|
-
"name": "g",
|
|
7147
|
-
"type": {
|
|
7148
|
-
"text": "number"
|
|
7149
|
-
},
|
|
7150
|
-
"default": "g"
|
|
7151
|
-
},
|
|
7152
|
-
{
|
|
7153
|
-
"kind": "field",
|
|
7154
|
-
"name": "b",
|
|
7114
|
+
"name": "renderRipple",
|
|
7155
7115
|
"type": {
|
|
7156
|
-
"text": "
|
|
7116
|
+
"text": "boolean"
|
|
7157
7117
|
},
|
|
7158
|
-
"
|
|
7118
|
+
"privacy": "protected",
|
|
7119
|
+
"default": "false",
|
|
7120
|
+
"inheritedFrom": {
|
|
7121
|
+
"name": "UmSelectionControl",
|
|
7122
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
7123
|
+
}
|
|
7159
7124
|
},
|
|
7160
7125
|
{
|
|
7161
7126
|
"kind": "method",
|
|
7162
|
-
"name": "
|
|
7163
|
-
"
|
|
7127
|
+
"name": "renderIndicator",
|
|
7128
|
+
"privacy": "protected",
|
|
7164
7129
|
"return": {
|
|
7165
7130
|
"type": {
|
|
7166
|
-
"text": "
|
|
7131
|
+
"text": "HTMLTemplateResult"
|
|
7167
7132
|
}
|
|
7168
7133
|
},
|
|
7169
|
-
"
|
|
7170
|
-
|
|
7171
|
-
|
|
7172
|
-
|
|
7173
|
-
"text": "number"
|
|
7174
|
-
}
|
|
7175
|
-
}
|
|
7176
|
-
]
|
|
7134
|
+
"inheritedFrom": {
|
|
7135
|
+
"name": "UmSelectionControl",
|
|
7136
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
7137
|
+
}
|
|
7177
7138
|
},
|
|
7178
7139
|
{
|
|
7179
7140
|
"kind": "field",
|
|
7180
|
-
"name": "
|
|
7181
|
-
}
|
|
7182
|
-
]
|
|
7183
|
-
}
|
|
7184
|
-
],
|
|
7185
|
-
"exports": [
|
|
7186
|
-
{
|
|
7187
|
-
"kind": "js",
|
|
7188
|
-
"name": "RgbColor",
|
|
7189
|
-
"declaration": {
|
|
7190
|
-
"name": "RgbColor",
|
|
7191
|
-
"module": "src/theme/rgb-color.ts"
|
|
7192
|
-
}
|
|
7193
|
-
}
|
|
7194
|
-
]
|
|
7195
|
-
},
|
|
7196
|
-
{
|
|
7197
|
-
"kind": "javascript-module",
|
|
7198
|
-
"path": "src/theme/theme-builder.ts",
|
|
7199
|
-
"declarations": [
|
|
7200
|
-
{
|
|
7201
|
-
"kind": "class",
|
|
7202
|
-
"description": "",
|
|
7203
|
-
"name": "ThemeBuilder",
|
|
7204
|
-
"members": [
|
|
7205
|
-
{
|
|
7206
|
-
"kind": "field",
|
|
7207
|
-
"name": "cssClass",
|
|
7141
|
+
"name": "formAssociated",
|
|
7208
7142
|
"type": {
|
|
7209
|
-
"text": "
|
|
7143
|
+
"text": "boolean"
|
|
7210
7144
|
},
|
|
7211
|
-
"
|
|
7145
|
+
"static": true,
|
|
7146
|
+
"default": "true",
|
|
7147
|
+
"inheritedFrom": {
|
|
7148
|
+
"name": "UmSelectionControl",
|
|
7149
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
7150
|
+
}
|
|
7212
7151
|
},
|
|
7213
7152
|
{
|
|
7214
7153
|
"kind": "field",
|
|
7215
|
-
"name": "
|
|
7154
|
+
"name": "elementInternals",
|
|
7216
7155
|
"type": {
|
|
7217
|
-
"text": "
|
|
7156
|
+
"text": "ElementInternals"
|
|
7218
7157
|
},
|
|
7219
|
-
"
|
|
7220
|
-
|
|
7221
|
-
|
|
7222
|
-
|
|
7223
|
-
"name": "neutralColorPalette",
|
|
7224
|
-
"type": {
|
|
7225
|
-
"text": "TonalPalette"
|
|
7158
|
+
"privacy": "protected",
|
|
7159
|
+
"inheritedFrom": {
|
|
7160
|
+
"name": "UmSelectionControl",
|
|
7161
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
7226
7162
|
}
|
|
7227
7163
|
},
|
|
7228
7164
|
{
|
|
7229
7165
|
"kind": "field",
|
|
7230
|
-
"name": "
|
|
7166
|
+
"name": "name",
|
|
7231
7167
|
"type": {
|
|
7232
|
-
"text": "
|
|
7168
|
+
"text": "string | undefined"
|
|
7169
|
+
},
|
|
7170
|
+
"default": "''",
|
|
7171
|
+
"attribute": "name",
|
|
7172
|
+
"inheritedFrom": {
|
|
7173
|
+
"name": "UmSelectionControl",
|
|
7174
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
7233
7175
|
}
|
|
7234
7176
|
},
|
|
7235
7177
|
{
|
|
7236
7178
|
"kind": "field",
|
|
7237
|
-
"name": "
|
|
7179
|
+
"name": "disabled",
|
|
7238
7180
|
"type": {
|
|
7239
7181
|
"text": "boolean"
|
|
7240
7182
|
},
|
|
7241
|
-
"
|
|
7242
|
-
"
|
|
7183
|
+
"default": "false",
|
|
7184
|
+
"attribute": "disabled",
|
|
7185
|
+
"reflects": true,
|
|
7186
|
+
"inheritedFrom": {
|
|
7187
|
+
"name": "UmSelectionControl",
|
|
7188
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
7189
|
+
}
|
|
7243
7190
|
},
|
|
7244
7191
|
{
|
|
7245
|
-
"kind": "
|
|
7246
|
-
"name": "
|
|
7247
|
-
"
|
|
7248
|
-
|
|
7249
|
-
"type": {
|
|
7250
|
-
"text": "ThemeBuilder"
|
|
7251
|
-
}
|
|
7192
|
+
"kind": "field",
|
|
7193
|
+
"name": "input",
|
|
7194
|
+
"type": {
|
|
7195
|
+
"text": "HTMLInputElement"
|
|
7252
7196
|
},
|
|
7253
|
-
"
|
|
7254
|
-
|
|
7255
|
-
|
|
7256
|
-
"type": {
|
|
7257
|
-
"text": "string"
|
|
7258
|
-
}
|
|
7259
|
-
}
|
|
7260
|
-
]
|
|
7261
|
-
},
|
|
7262
|
-
{
|
|
7263
|
-
"kind": "method",
|
|
7264
|
-
"name": "createPartial",
|
|
7265
|
-
"static": true,
|
|
7266
|
-
"return": {
|
|
7267
|
-
"type": {
|
|
7268
|
-
"text": "ThemeBuilder"
|
|
7269
|
-
}
|
|
7197
|
+
"inheritedFrom": {
|
|
7198
|
+
"name": "UmSelectionControl",
|
|
7199
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
7270
7200
|
}
|
|
7271
7201
|
},
|
|
7272
7202
|
{
|
|
7273
|
-
"kind": "
|
|
7274
|
-
"name": "
|
|
7275
|
-
"
|
|
7276
|
-
"
|
|
7277
|
-
"text": "ThemeBuilder"
|
|
7278
|
-
}
|
|
7203
|
+
"kind": "field",
|
|
7204
|
+
"name": "form",
|
|
7205
|
+
"type": {
|
|
7206
|
+
"text": "HTMLFormElement | null"
|
|
7279
7207
|
},
|
|
7280
|
-
"
|
|
7281
|
-
|
|
7282
|
-
|
|
7283
|
-
|
|
7284
|
-
"text": "string"
|
|
7285
|
-
}
|
|
7286
|
-
},
|
|
7287
|
-
{
|
|
7288
|
-
"name": "hex",
|
|
7289
|
-
"type": {
|
|
7290
|
-
"text": "string"
|
|
7291
|
-
}
|
|
7292
|
-
}
|
|
7293
|
-
]
|
|
7208
|
+
"inheritedFrom": {
|
|
7209
|
+
"name": "UmSelectionControl",
|
|
7210
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
7211
|
+
}
|
|
7294
7212
|
},
|
|
7295
7213
|
{
|
|
7296
|
-
"kind": "
|
|
7297
|
-
"name": "
|
|
7298
|
-
"
|
|
7299
|
-
|
|
7300
|
-
|
|
7301
|
-
}
|
|
7214
|
+
"kind": "field",
|
|
7215
|
+
"name": "#checked",
|
|
7216
|
+
"privacy": "private",
|
|
7217
|
+
"type": {
|
|
7218
|
+
"text": "boolean"
|
|
7302
7219
|
},
|
|
7303
|
-
"
|
|
7304
|
-
|
|
7305
|
-
|
|
7306
|
-
|
|
7307
|
-
|
|
7308
|
-
}
|
|
7309
|
-
},
|
|
7310
|
-
{
|
|
7311
|
-
"name": "palette",
|
|
7312
|
-
"type": {
|
|
7313
|
-
"text": "TonalPalette"
|
|
7314
|
-
}
|
|
7315
|
-
}
|
|
7316
|
-
]
|
|
7220
|
+
"default": "false",
|
|
7221
|
+
"inheritedFrom": {
|
|
7222
|
+
"name": "UmSelectionControl",
|
|
7223
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
7224
|
+
}
|
|
7317
7225
|
},
|
|
7318
7226
|
{
|
|
7319
|
-
"kind": "
|
|
7320
|
-
"name": "
|
|
7321
|
-
"
|
|
7322
|
-
"
|
|
7323
|
-
"text": "ThemeBuilder"
|
|
7324
|
-
}
|
|
7227
|
+
"kind": "field",
|
|
7228
|
+
"name": "inputType",
|
|
7229
|
+
"type": {
|
|
7230
|
+
"text": "'checkbox' | 'radio'"
|
|
7325
7231
|
},
|
|
7326
|
-
"
|
|
7327
|
-
|
|
7328
|
-
|
|
7329
|
-
|
|
7330
|
-
|
|
7331
|
-
|
|
7332
|
-
},
|
|
7333
|
-
{
|
|
7334
|
-
"name": "hex",
|
|
7335
|
-
"type": {
|
|
7336
|
-
"text": "string"
|
|
7337
|
-
}
|
|
7338
|
-
}
|
|
7339
|
-
]
|
|
7232
|
+
"privacy": "protected",
|
|
7233
|
+
"default": "'checkbox'",
|
|
7234
|
+
"inheritedFrom": {
|
|
7235
|
+
"name": "UmSelectionControl",
|
|
7236
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
7237
|
+
}
|
|
7340
7238
|
},
|
|
7341
7239
|
{
|
|
7342
|
-
"kind": "
|
|
7343
|
-
"name": "
|
|
7344
|
-
"
|
|
7345
|
-
"
|
|
7346
|
-
"text": "ThemeBuilder"
|
|
7347
|
-
}
|
|
7240
|
+
"kind": "field",
|
|
7241
|
+
"name": "value",
|
|
7242
|
+
"type": {
|
|
7243
|
+
"text": "string"
|
|
7348
7244
|
},
|
|
7349
|
-
"
|
|
7350
|
-
|
|
7351
|
-
|
|
7352
|
-
|
|
7353
|
-
|
|
7354
|
-
|
|
7355
|
-
|
|
7356
|
-
]
|
|
7245
|
+
"default": "'on'",
|
|
7246
|
+
"description": "The element value to use in form submission when checked.",
|
|
7247
|
+
"attribute": "value",
|
|
7248
|
+
"inheritedFrom": {
|
|
7249
|
+
"name": "UmSelectionControl",
|
|
7250
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
7251
|
+
}
|
|
7357
7252
|
},
|
|
7358
7253
|
{
|
|
7359
|
-
"kind": "
|
|
7360
|
-
"name": "
|
|
7361
|
-
"
|
|
7362
|
-
"
|
|
7363
|
-
"
|
|
7364
|
-
|
|
7365
|
-
}
|
|
7254
|
+
"kind": "field",
|
|
7255
|
+
"name": "checked",
|
|
7256
|
+
"attribute": "checked",
|
|
7257
|
+
"inheritedFrom": {
|
|
7258
|
+
"name": "UmSelectionControl",
|
|
7259
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
7366
7260
|
}
|
|
7367
7261
|
},
|
|
7368
7262
|
{
|
|
7369
7263
|
"kind": "method",
|
|
7370
|
-
"name": "
|
|
7371
|
-
"
|
|
7372
|
-
|
|
7373
|
-
"
|
|
7374
|
-
"text": "void"
|
|
7375
|
-
}
|
|
7264
|
+
"name": "#handleClick",
|
|
7265
|
+
"inheritedFrom": {
|
|
7266
|
+
"name": "UmSelectionControl",
|
|
7267
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
7376
7268
|
}
|
|
7377
|
-
}
|
|
7269
|
+
}
|
|
7270
|
+
],
|
|
7271
|
+
"superclass": {
|
|
7272
|
+
"name": "UmSelectionControl",
|
|
7273
|
+
"module": "/src/shared/selection-control/selection-control.js"
|
|
7274
|
+
},
|
|
7275
|
+
"tagName": "u-switch",
|
|
7276
|
+
"customElement": true,
|
|
7277
|
+
"attributes": [
|
|
7378
7278
|
{
|
|
7379
|
-
"
|
|
7380
|
-
"
|
|
7381
|
-
|
|
7382
|
-
"return": {
|
|
7383
|
-
"type": {
|
|
7384
|
-
"text": "string"
|
|
7385
|
-
}
|
|
7279
|
+
"name": "name",
|
|
7280
|
+
"type": {
|
|
7281
|
+
"text": "string | undefined"
|
|
7386
7282
|
},
|
|
7387
|
-
"
|
|
7388
|
-
|
|
7389
|
-
|
|
7390
|
-
|
|
7391
|
-
|
|
7392
|
-
|
|
7393
|
-
}
|
|
7394
|
-
]
|
|
7283
|
+
"default": "''",
|
|
7284
|
+
"fieldName": "name",
|
|
7285
|
+
"inheritedFrom": {
|
|
7286
|
+
"name": "UmSelectionControl",
|
|
7287
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
7288
|
+
}
|
|
7395
7289
|
},
|
|
7396
7290
|
{
|
|
7397
|
-
"
|
|
7398
|
-
"
|
|
7399
|
-
|
|
7400
|
-
"return": {
|
|
7401
|
-
"type": {
|
|
7402
|
-
"text": "string"
|
|
7403
|
-
}
|
|
7291
|
+
"name": "disabled",
|
|
7292
|
+
"type": {
|
|
7293
|
+
"text": "boolean"
|
|
7404
7294
|
},
|
|
7405
|
-
"
|
|
7406
|
-
|
|
7407
|
-
|
|
7408
|
-
|
|
7409
|
-
|
|
7410
|
-
|
|
7411
|
-
}
|
|
7412
|
-
]
|
|
7295
|
+
"default": "false",
|
|
7296
|
+
"fieldName": "disabled",
|
|
7297
|
+
"inheritedFrom": {
|
|
7298
|
+
"name": "UmSelectionControl",
|
|
7299
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
7300
|
+
}
|
|
7413
7301
|
},
|
|
7414
7302
|
{
|
|
7415
|
-
"
|
|
7416
|
-
"
|
|
7417
|
-
|
|
7418
|
-
"type": {
|
|
7419
|
-
"text": "string"
|
|
7420
|
-
}
|
|
7303
|
+
"name": "value",
|
|
7304
|
+
"type": {
|
|
7305
|
+
"text": "string"
|
|
7421
7306
|
},
|
|
7422
|
-
"
|
|
7423
|
-
|
|
7424
|
-
|
|
7425
|
-
|
|
7426
|
-
|
|
7427
|
-
|
|
7428
|
-
|
|
7429
|
-
{
|
|
7430
|
-
"name": "dark",
|
|
7431
|
-
"type": {
|
|
7432
|
-
"text": "boolean"
|
|
7433
|
-
}
|
|
7434
|
-
}
|
|
7435
|
-
]
|
|
7436
|
-
},
|
|
7437
|
-
{
|
|
7438
|
-
"kind": "method",
|
|
7439
|
-
"name": "getColorsVariables",
|
|
7440
|
-
"privacy": "private",
|
|
7441
|
-
"return": {
|
|
7442
|
-
"type": {
|
|
7443
|
-
"text": "string"
|
|
7444
|
-
}
|
|
7445
|
-
},
|
|
7446
|
-
"parameters": [
|
|
7447
|
-
{
|
|
7448
|
-
"name": "dark",
|
|
7449
|
-
"type": {
|
|
7450
|
-
"text": "boolean"
|
|
7451
|
-
}
|
|
7452
|
-
}
|
|
7453
|
-
]
|
|
7307
|
+
"default": "'on'",
|
|
7308
|
+
"description": "The element value to use in form submission when checked.",
|
|
7309
|
+
"fieldName": "value",
|
|
7310
|
+
"inheritedFrom": {
|
|
7311
|
+
"name": "UmSelectionControl",
|
|
7312
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
7313
|
+
}
|
|
7454
7314
|
},
|
|
7455
7315
|
{
|
|
7456
|
-
"
|
|
7457
|
-
"
|
|
7458
|
-
"
|
|
7459
|
-
|
|
7460
|
-
"
|
|
7461
|
-
|
|
7462
|
-
|
|
7463
|
-
|
|
7464
|
-
|
|
7465
|
-
{
|
|
7466
|
-
"name": "builder",
|
|
7467
|
-
"type": {
|
|
7468
|
-
"text": "CssVarBuilder"
|
|
7469
|
-
}
|
|
7470
|
-
},
|
|
7471
|
-
{
|
|
7472
|
-
"name": "colors",
|
|
7473
|
-
"type": {
|
|
7474
|
-
"text": "Color[]"
|
|
7475
|
-
}
|
|
7476
|
-
},
|
|
7477
|
-
{
|
|
7478
|
-
"name": "palette",
|
|
7479
|
-
"type": {
|
|
7480
|
-
"text": "TonalPalette"
|
|
7481
|
-
}
|
|
7482
|
-
},
|
|
7483
|
-
{
|
|
7484
|
-
"name": "dark",
|
|
7485
|
-
"type": {
|
|
7486
|
-
"text": "boolean"
|
|
7487
|
-
}
|
|
7488
|
-
}
|
|
7489
|
-
]
|
|
7490
|
-
},
|
|
7316
|
+
"name": "checked",
|
|
7317
|
+
"fieldName": "checked",
|
|
7318
|
+
"inheritedFrom": {
|
|
7319
|
+
"name": "UmSelectionControl",
|
|
7320
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
7321
|
+
}
|
|
7322
|
+
}
|
|
7323
|
+
],
|
|
7324
|
+
"events": [
|
|
7491
7325
|
{
|
|
7492
|
-
"
|
|
7493
|
-
"
|
|
7494
|
-
|
|
7495
|
-
"return": {
|
|
7496
|
-
"type": {
|
|
7497
|
-
"text": "void"
|
|
7498
|
-
}
|
|
7326
|
+
"name": "change",
|
|
7327
|
+
"type": {
|
|
7328
|
+
"text": "Event"
|
|
7499
7329
|
},
|
|
7500
|
-
"
|
|
7501
|
-
|
|
7502
|
-
|
|
7503
|
-
"type": {
|
|
7504
|
-
"text": "CssVarBuilder"
|
|
7505
|
-
}
|
|
7506
|
-
},
|
|
7507
|
-
{
|
|
7508
|
-
"name": "color",
|
|
7509
|
-
"type": {
|
|
7510
|
-
"text": "Color"
|
|
7511
|
-
}
|
|
7512
|
-
},
|
|
7513
|
-
{
|
|
7514
|
-
"name": "palette",
|
|
7515
|
-
"type": {
|
|
7516
|
-
"text": "TonalPalette"
|
|
7517
|
-
}
|
|
7518
|
-
},
|
|
7519
|
-
{
|
|
7520
|
-
"name": "dark",
|
|
7521
|
-
"type": {
|
|
7522
|
-
"text": "boolean"
|
|
7523
|
-
}
|
|
7524
|
-
}
|
|
7525
|
-
]
|
|
7526
|
-
},
|
|
7527
|
-
{
|
|
7528
|
-
"kind": "method",
|
|
7529
|
-
"name": "build",
|
|
7530
|
-
"return": {
|
|
7531
|
-
"type": {
|
|
7532
|
-
"text": "string"
|
|
7533
|
-
}
|
|
7330
|
+
"inheritedFrom": {
|
|
7331
|
+
"name": "UmSelectionControl",
|
|
7332
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
7534
7333
|
}
|
|
7535
7334
|
}
|
|
7536
7335
|
]
|
|
@@ -7539,144 +7338,121 @@
|
|
|
7539
7338
|
"exports": [
|
|
7540
7339
|
{
|
|
7541
7340
|
"kind": "js",
|
|
7542
|
-
"name": "
|
|
7341
|
+
"name": "UmSwitch",
|
|
7543
7342
|
"declaration": {
|
|
7544
|
-
"name": "
|
|
7545
|
-
"module": "src/
|
|
7343
|
+
"name": "UmSwitch",
|
|
7344
|
+
"module": "src/switch/switch.ts"
|
|
7345
|
+
}
|
|
7346
|
+
},
|
|
7347
|
+
{
|
|
7348
|
+
"kind": "custom-element-definition",
|
|
7349
|
+
"name": "u-switch",
|
|
7350
|
+
"declaration": {
|
|
7351
|
+
"name": "UmSwitch",
|
|
7352
|
+
"module": "src/switch/switch.ts"
|
|
7546
7353
|
}
|
|
7547
7354
|
}
|
|
7548
7355
|
]
|
|
7549
7356
|
},
|
|
7550
7357
|
{
|
|
7551
7358
|
"kind": "javascript-module",
|
|
7552
|
-
"path": "src/
|
|
7553
|
-
"declarations": [
|
|
7554
|
-
|
|
7359
|
+
"path": "src/text-field/text-field.styles.ts",
|
|
7360
|
+
"declarations": [
|
|
7361
|
+
{
|
|
7362
|
+
"kind": "variable",
|
|
7363
|
+
"name": "styles",
|
|
7364
|
+
"default": "css `\n\n`"
|
|
7365
|
+
}
|
|
7366
|
+
],
|
|
7367
|
+
"exports": [
|
|
7368
|
+
{
|
|
7369
|
+
"kind": "js",
|
|
7370
|
+
"name": "styles",
|
|
7371
|
+
"declaration": {
|
|
7372
|
+
"name": "styles",
|
|
7373
|
+
"module": "src/text-field/text-field.styles.ts"
|
|
7374
|
+
}
|
|
7375
|
+
}
|
|
7376
|
+
]
|
|
7555
7377
|
},
|
|
7556
7378
|
{
|
|
7557
7379
|
"kind": "javascript-module",
|
|
7558
|
-
"path": "src/
|
|
7380
|
+
"path": "src/text-field/text-field.ts",
|
|
7559
7381
|
"declarations": [
|
|
7560
7382
|
{
|
|
7561
7383
|
"kind": "class",
|
|
7562
7384
|
"description": "",
|
|
7563
|
-
"name": "
|
|
7564
|
-
"mixins": [
|
|
7565
|
-
{
|
|
7566
|
-
"name": "mixinSelectionControlListItem",
|
|
7567
|
-
"module": "/src/shared/selection-control/selection-control-list-item.js"
|
|
7568
|
-
}
|
|
7569
|
-
],
|
|
7570
|
-
"superclass": {
|
|
7571
|
-
"name": "UmSwitch",
|
|
7572
|
-
"module": "/src/switch/switch.js"
|
|
7573
|
-
},
|
|
7574
|
-
"tagName": "u-switch-list-item",
|
|
7575
|
-
"customElement": true,
|
|
7385
|
+
"name": "UmTextField",
|
|
7576
7386
|
"members": [
|
|
7577
7387
|
{
|
|
7578
7388
|
"kind": "field",
|
|
7579
|
-
"name": "
|
|
7389
|
+
"name": "formAssociated",
|
|
7580
7390
|
"type": {
|
|
7581
|
-
"text": "
|
|
7391
|
+
"text": "boolean"
|
|
7582
7392
|
},
|
|
7583
7393
|
"static": true,
|
|
7584
|
-
"default": "
|
|
7585
|
-
"inheritedFrom": {
|
|
7586
|
-
"name": "mixinSelectionControlListItem",
|
|
7587
|
-
"module": "src/shared/selection-control/selection-control-list-item.ts"
|
|
7588
|
-
}
|
|
7394
|
+
"default": "true"
|
|
7589
7395
|
},
|
|
7590
7396
|
{
|
|
7591
|
-
"kind": "
|
|
7592
|
-
"name": "
|
|
7593
|
-
"
|
|
7594
|
-
|
|
7595
|
-
|
|
7596
|
-
|
|
7397
|
+
"kind": "field",
|
|
7398
|
+
"name": "variant",
|
|
7399
|
+
"attribute": "variant"
|
|
7400
|
+
},
|
|
7401
|
+
{
|
|
7402
|
+
"kind": "field",
|
|
7403
|
+
"name": "label",
|
|
7404
|
+
"type": {
|
|
7405
|
+
"text": "string | undefined"
|
|
7597
7406
|
},
|
|
7598
|
-
"
|
|
7599
|
-
"name": "mixinSelectionControlListItem",
|
|
7600
|
-
"module": "src/shared/selection-control/selection-control-list-item.ts"
|
|
7601
|
-
}
|
|
7407
|
+
"attribute": "label"
|
|
7602
7408
|
},
|
|
7603
7409
|
{
|
|
7604
7410
|
"kind": "field",
|
|
7605
|
-
"name": "
|
|
7411
|
+
"name": "disabled",
|
|
7606
7412
|
"type": {
|
|
7607
7413
|
"text": "boolean"
|
|
7608
7414
|
},
|
|
7609
|
-
"privacy": "protected",
|
|
7610
7415
|
"default": "false",
|
|
7611
|
-
"
|
|
7612
|
-
|
|
7613
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
7614
|
-
}
|
|
7416
|
+
"attribute": "disabled",
|
|
7417
|
+
"reflects": true
|
|
7615
7418
|
},
|
|
7616
7419
|
{
|
|
7617
|
-
"kind": "
|
|
7618
|
-
"name": "
|
|
7619
|
-
"
|
|
7620
|
-
|
|
7621
|
-
"type": {
|
|
7622
|
-
"text": "HTMLTemplateResult"
|
|
7623
|
-
}
|
|
7420
|
+
"kind": "field",
|
|
7421
|
+
"name": "invalid",
|
|
7422
|
+
"type": {
|
|
7423
|
+
"text": "boolean"
|
|
7624
7424
|
},
|
|
7625
|
-
"
|
|
7626
|
-
|
|
7627
|
-
|
|
7628
|
-
}
|
|
7425
|
+
"default": "false",
|
|
7426
|
+
"attribute": "invalid",
|
|
7427
|
+
"reflects": true
|
|
7629
7428
|
},
|
|
7630
7429
|
{
|
|
7631
7430
|
"kind": "field",
|
|
7632
|
-
"name": "
|
|
7431
|
+
"name": "#value",
|
|
7432
|
+
"privacy": "private",
|
|
7633
7433
|
"type": {
|
|
7634
|
-
"text": "
|
|
7434
|
+
"text": "string"
|
|
7635
7435
|
},
|
|
7636
|
-
"
|
|
7637
|
-
"default": "true",
|
|
7638
|
-
"inheritedFrom": {
|
|
7639
|
-
"name": "UmSelectionControl",
|
|
7640
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
7641
|
-
}
|
|
7436
|
+
"default": "''"
|
|
7642
7437
|
},
|
|
7643
7438
|
{
|
|
7644
7439
|
"kind": "field",
|
|
7645
|
-
"name": "
|
|
7440
|
+
"name": "form",
|
|
7646
7441
|
"type": {
|
|
7647
|
-
"text": "
|
|
7648
|
-
},
|
|
7649
|
-
"privacy": "protected",
|
|
7650
|
-
"inheritedFrom": {
|
|
7651
|
-
"name": "UmSelectionControl",
|
|
7652
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
7442
|
+
"text": "HTMLFormElement | null"
|
|
7653
7443
|
}
|
|
7654
7444
|
},
|
|
7655
7445
|
{
|
|
7656
7446
|
"kind": "field",
|
|
7657
|
-
"name": "
|
|
7658
|
-
"
|
|
7659
|
-
"text": "string | undefined"
|
|
7660
|
-
},
|
|
7661
|
-
"default": "''",
|
|
7662
|
-
"attribute": "name",
|
|
7663
|
-
"inheritedFrom": {
|
|
7664
|
-
"name": "UmSelectionControl",
|
|
7665
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
7666
|
-
}
|
|
7447
|
+
"name": "value",
|
|
7448
|
+
"attribute": "value"
|
|
7667
7449
|
},
|
|
7668
7450
|
{
|
|
7669
7451
|
"kind": "field",
|
|
7670
|
-
"name": "
|
|
7452
|
+
"name": "#elementInternals",
|
|
7453
|
+
"privacy": "private",
|
|
7671
7454
|
"type": {
|
|
7672
|
-
"text": "
|
|
7673
|
-
},
|
|
7674
|
-
"default": "false",
|
|
7675
|
-
"attribute": "disabled",
|
|
7676
|
-
"reflects": true,
|
|
7677
|
-
"inheritedFrom": {
|
|
7678
|
-
"name": "UmSelectionControl",
|
|
7679
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
7455
|
+
"text": "ElementInternals"
|
|
7680
7456
|
}
|
|
7681
7457
|
},
|
|
7682
7458
|
{
|
|
@@ -7684,93 +7460,24 @@
|
|
|
7684
7460
|
"name": "input",
|
|
7685
7461
|
"type": {
|
|
7686
7462
|
"text": "HTMLInputElement"
|
|
7687
|
-
},
|
|
7688
|
-
"inheritedFrom": {
|
|
7689
|
-
"name": "UmSelectionControl",
|
|
7690
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
7691
|
-
}
|
|
7692
|
-
},
|
|
7693
|
-
{
|
|
7694
|
-
"kind": "field",
|
|
7695
|
-
"name": "form",
|
|
7696
|
-
"type": {
|
|
7697
|
-
"text": "HTMLFormElement | null"
|
|
7698
|
-
},
|
|
7699
|
-
"inheritedFrom": {
|
|
7700
|
-
"name": "UmSelectionControl",
|
|
7701
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
7702
|
-
}
|
|
7703
|
-
},
|
|
7704
|
-
{
|
|
7705
|
-
"kind": "field",
|
|
7706
|
-
"name": "#checked",
|
|
7707
|
-
"privacy": "private",
|
|
7708
|
-
"type": {
|
|
7709
|
-
"text": "boolean"
|
|
7710
|
-
},
|
|
7711
|
-
"default": "false",
|
|
7712
|
-
"inheritedFrom": {
|
|
7713
|
-
"name": "UmSelectionControl",
|
|
7714
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
7715
|
-
}
|
|
7716
|
-
},
|
|
7717
|
-
{
|
|
7718
|
-
"kind": "field",
|
|
7719
|
-
"name": "inputType",
|
|
7720
|
-
"type": {
|
|
7721
|
-
"text": "'checkbox' | 'radio'"
|
|
7722
|
-
},
|
|
7723
|
-
"privacy": "protected",
|
|
7724
|
-
"default": "'checkbox'",
|
|
7725
|
-
"inheritedFrom": {
|
|
7726
|
-
"name": "UmSelectionControl",
|
|
7727
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
7728
|
-
}
|
|
7729
|
-
},
|
|
7730
|
-
{
|
|
7731
|
-
"kind": "field",
|
|
7732
|
-
"name": "value",
|
|
7733
|
-
"type": {
|
|
7734
|
-
"text": "string"
|
|
7735
|
-
},
|
|
7736
|
-
"default": "'on'",
|
|
7737
|
-
"description": "The element value to use in form submission when checked.",
|
|
7738
|
-
"attribute": "value",
|
|
7739
|
-
"inheritedFrom": {
|
|
7740
|
-
"name": "UmSelectionControl",
|
|
7741
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
7742
|
-
}
|
|
7743
|
-
},
|
|
7744
|
-
{
|
|
7745
|
-
"kind": "field",
|
|
7746
|
-
"name": "checked",
|
|
7747
|
-
"attribute": "checked",
|
|
7748
|
-
"inheritedFrom": {
|
|
7749
|
-
"name": "UmSelectionControl",
|
|
7750
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
7751
7463
|
}
|
|
7752
7464
|
},
|
|
7753
7465
|
{
|
|
7754
7466
|
"kind": "method",
|
|
7755
|
-
"name": "#
|
|
7756
|
-
"inheritedFrom": {
|
|
7757
|
-
"name": "UmSelectionControl",
|
|
7758
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
7759
|
-
}
|
|
7467
|
+
"name": "#handleInput"
|
|
7760
7468
|
}
|
|
7761
7469
|
],
|
|
7762
7470
|
"attributes": [
|
|
7763
7471
|
{
|
|
7764
|
-
"name": "
|
|
7472
|
+
"name": "variant",
|
|
7473
|
+
"fieldName": "variant"
|
|
7474
|
+
},
|
|
7475
|
+
{
|
|
7476
|
+
"name": "label",
|
|
7765
7477
|
"type": {
|
|
7766
7478
|
"text": "string | undefined"
|
|
7767
7479
|
},
|
|
7768
|
-
"
|
|
7769
|
-
"fieldName": "name",
|
|
7770
|
-
"inheritedFrom": {
|
|
7771
|
-
"name": "UmSelectionControl",
|
|
7772
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
7773
|
-
}
|
|
7480
|
+
"fieldName": "label"
|
|
7774
7481
|
},
|
|
7775
7482
|
{
|
|
7776
7483
|
"name": "disabled",
|
|
@@ -7778,318 +7485,613 @@
|
|
|
7778
7485
|
"text": "boolean"
|
|
7779
7486
|
},
|
|
7780
7487
|
"default": "false",
|
|
7781
|
-
"fieldName": "disabled"
|
|
7782
|
-
"inheritedFrom": {
|
|
7783
|
-
"name": "UmSelectionControl",
|
|
7784
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
7785
|
-
}
|
|
7488
|
+
"fieldName": "disabled"
|
|
7786
7489
|
},
|
|
7787
7490
|
{
|
|
7788
|
-
"name": "
|
|
7491
|
+
"name": "invalid",
|
|
7789
7492
|
"type": {
|
|
7790
|
-
"text": "
|
|
7493
|
+
"text": "boolean"
|
|
7791
7494
|
},
|
|
7792
|
-
"default": "
|
|
7793
|
-
"
|
|
7794
|
-
"fieldName": "value",
|
|
7795
|
-
"inheritedFrom": {
|
|
7796
|
-
"name": "UmSelectionControl",
|
|
7797
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
7798
|
-
}
|
|
7495
|
+
"default": "false",
|
|
7496
|
+
"fieldName": "invalid"
|
|
7799
7497
|
},
|
|
7800
7498
|
{
|
|
7801
|
-
"name": "
|
|
7802
|
-
"fieldName": "
|
|
7803
|
-
"inheritedFrom": {
|
|
7804
|
-
"name": "UmSelectionControl",
|
|
7805
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
7806
|
-
}
|
|
7499
|
+
"name": "value",
|
|
7500
|
+
"fieldName": "value"
|
|
7807
7501
|
}
|
|
7808
7502
|
],
|
|
7809
|
-
"
|
|
7810
|
-
|
|
7811
|
-
|
|
7812
|
-
|
|
7813
|
-
|
|
7814
|
-
|
|
7815
|
-
"inheritedFrom": {
|
|
7816
|
-
"name": "UmSelectionControl",
|
|
7817
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
7818
|
-
}
|
|
7819
|
-
}
|
|
7820
|
-
]
|
|
7503
|
+
"superclass": {
|
|
7504
|
+
"name": "LitElement",
|
|
7505
|
+
"package": "lit"
|
|
7506
|
+
},
|
|
7507
|
+
"tagName": "u-text-field",
|
|
7508
|
+
"customElement": true
|
|
7821
7509
|
}
|
|
7822
7510
|
],
|
|
7823
7511
|
"exports": [
|
|
7824
7512
|
{
|
|
7825
7513
|
"kind": "js",
|
|
7826
|
-
"name": "
|
|
7514
|
+
"name": "UmTextField",
|
|
7827
7515
|
"declaration": {
|
|
7828
|
-
"name": "
|
|
7829
|
-
"module": "src/
|
|
7516
|
+
"name": "UmTextField",
|
|
7517
|
+
"module": "src/text-field/text-field.ts"
|
|
7830
7518
|
}
|
|
7831
7519
|
},
|
|
7832
7520
|
{
|
|
7833
7521
|
"kind": "custom-element-definition",
|
|
7834
|
-
"name": "u-
|
|
7522
|
+
"name": "u-text-field",
|
|
7835
7523
|
"declaration": {
|
|
7836
|
-
"name": "
|
|
7837
|
-
"module": "src/
|
|
7524
|
+
"name": "UmTextField",
|
|
7525
|
+
"module": "src/text-field/text-field.ts"
|
|
7838
7526
|
}
|
|
7839
7527
|
}
|
|
7840
7528
|
]
|
|
7841
7529
|
},
|
|
7842
7530
|
{
|
|
7843
7531
|
"kind": "javascript-module",
|
|
7844
|
-
"path": "src/
|
|
7845
|
-
"declarations": [
|
|
7846
|
-
|
|
7847
|
-
"kind": "variable",
|
|
7848
|
-
"name": "styles",
|
|
7849
|
-
"default": "css `\n :host {\n --_state-layer-padding: var(--u-switch-state-layer-padding, 4px);\n --_input-size: calc(var(--_width) - var(--_state-layer-padding) * 2);\n --_indicator-color: var(--u-switch-indicator-unselected-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n display: inline-block;\n vertical-align: middle;\n }\n\n .container {\n cursor: pointer;\n position: relative;\n width: var(--_width);\n height: var(--_height);\n padding: var(--_state-layer-padding);\n border-radius: var(--u-shape-corner-full, 9999px);\n }\n\n :host([hide-state-layer]) .container {\n width: var(--_indicator-size);\n height: var(--_indicator-size);\n padding: 0;\n }\n :host([hide-state-layer]) u-ripple {\n display: none;\n }\n\n input {\n cursor: pointer;\n width: 100%;\n height: 100%;\n padding: 0;\n margin: 0;\n border-radius: inherit;\n appearance: none;\n }\n\n u-ripple {\n padding: var(--_state-layer-padding);\n }\n\n .indicator-container {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n inset: 0;\n pointer-events: none;\n }\n\n input:checked ~ .indicator-container {\n --_indicator-color: var(--u-switch-indicator-unselected-color, var(--u-color-primary, rgb(103, 80, 164)));\n }\n\n :host([disabled]) {\n opacity: var(--u-switch-disabled-state-opacity, 0.38);\n }\n :host([disabled]) input,\n :host([disabled]) .container {\n cursor: default;\n }\n :host([disabled]) .indicator-container {\n --_indicator-color: var(--u-switch-indicator-disabled-color, var(--u-color-on-surface, rgb(29, 27, 32)));\n }\n\n :host {\n --_width: 3.25rem;\n --_height: 2rem;\n --_state-layer-padding: 0;\n --_selected-track-background: var(--u-switch-track-background-color, var(--u-color-primary, rgb(103, 80, 164)));\n --_state-layer-size: var(--u-switch-state-layer-size, 2.5rem);\n --_unselected-color: var(--u-switch-track-outline-color, var(--u-color-outline, rgb(121, 116, 126)));\n --_unselected-handle-size: var(--u-swich-unselected-handle-size, 1rem);\n --_selected-handle-size: var(--u-swich-unselected-handle-size, 1.5rem);\n --_active-handle-size: var(--u-swich-unselected-handle-size, 1.75rem);\n }\n\n .indicator-container {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n width: var(--_height);\n transition: width 200ms;\n }\n\n .state-layer,\n .indicator {\n display: flex;\n justify-content: center;\n align-items: center;\n }\n\n .indicator {\n width: var(--_height);\n height: var(--_height);\n }\n\n .state-layer {\n flex-shrink: 0;\n width: var(--_state-layer-size);\n height: var(--_state-layer-size);\n border-radius: var(--u-shape-corner-full, 9999px);\n }\n\n .handle {\n width: var(--_unselected-handle-size);\n height: var(--_unselected-handle-size);\n background-color: var(--u-switch-unselected-handle-color, var(--_unselected-color));\n border-radius: var(--u-switch-handle-shape-corner, var(--u-shape-corner-full, 9999px));\n transition: background 200ms, width 200ms, height 200ms;\n }\n\n input {\n border: var(--u-switch-track-width, 0.125rem) solid var(--u-switch-unselected-track-outline-color, var(--_unselected-color));\n background-color: var(--u-switch-unselected-track-background-color, var(--u-color-surface-container-highest, rgb(230, 224, 233)));\n transition: background 200ms, border-color 200ms;\n }\n input:checked {\n background-color: var(--_selected-track-background);\n border-color: var(--_selected-track-background);\n }\n input:checked ~ .indicator-container {\n width: 100%;\n }\n input:checked ~ .indicator-container .handle {\n width: var(--_selected-handle-size);\n height: var(--_selected-handle-size);\n background-color: var(--u-switch-selected-handle-color, var(--u-color-on-primary, rgb(255, 255, 255)));\n }\n\n @media (hover: hover) {\n :host(:not([disabled]):hover) .state-layer {\n background-color: rgba(var(--u-color-on-surface-rgb, ), var(--u-switch-state-layer-hover-opacity, var(--u-state-hover-opacity, 0.08)));\n }\n }\n :host(:not([disabled]):active) .indicator-container .handle {\n width: var(--_active-handle-size);\n height: var(--_active-handle-size);\n }\n`"
|
|
7850
|
-
}
|
|
7851
|
-
],
|
|
7852
|
-
"exports": [
|
|
7853
|
-
{
|
|
7854
|
-
"kind": "js",
|
|
7855
|
-
"name": "styles",
|
|
7856
|
-
"declaration": {
|
|
7857
|
-
"name": "styles",
|
|
7858
|
-
"module": "src/switch/switch.styles.ts"
|
|
7859
|
-
}
|
|
7860
|
-
}
|
|
7861
|
-
]
|
|
7532
|
+
"path": "src/theme/color.ts",
|
|
7533
|
+
"declarations": [],
|
|
7534
|
+
"exports": []
|
|
7862
7535
|
},
|
|
7863
7536
|
{
|
|
7864
7537
|
"kind": "javascript-module",
|
|
7865
|
-
"path": "src/
|
|
7538
|
+
"path": "src/theme/css-var-builder.ts",
|
|
7866
7539
|
"declarations": [
|
|
7867
7540
|
{
|
|
7868
7541
|
"kind": "class",
|
|
7869
7542
|
"description": "",
|
|
7870
|
-
"name": "
|
|
7543
|
+
"name": "CssVarBuilder",
|
|
7871
7544
|
"members": [
|
|
7872
7545
|
{
|
|
7873
7546
|
"kind": "field",
|
|
7874
|
-
"name": "
|
|
7547
|
+
"name": "content",
|
|
7875
7548
|
"type": {
|
|
7876
|
-
"text": "
|
|
7549
|
+
"text": "string"
|
|
7877
7550
|
},
|
|
7878
|
-
"privacy": "
|
|
7879
|
-
"default": "
|
|
7880
|
-
"inheritedFrom": {
|
|
7881
|
-
"name": "UmSelectionControl",
|
|
7882
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
7883
|
-
}
|
|
7551
|
+
"privacy": "private",
|
|
7552
|
+
"default": "''"
|
|
7884
7553
|
},
|
|
7885
7554
|
{
|
|
7886
7555
|
"kind": "method",
|
|
7887
|
-
"name": "
|
|
7888
|
-
"
|
|
7556
|
+
"name": "create",
|
|
7557
|
+
"static": true,
|
|
7889
7558
|
"return": {
|
|
7890
7559
|
"type": {
|
|
7891
|
-
"text": "
|
|
7560
|
+
"text": "CssVarBuilder"
|
|
7892
7561
|
}
|
|
7893
|
-
},
|
|
7894
|
-
"inheritedFrom": {
|
|
7895
|
-
"name": "UmSelectionControl",
|
|
7896
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
7897
7562
|
}
|
|
7898
7563
|
},
|
|
7899
7564
|
{
|
|
7900
|
-
"kind": "
|
|
7901
|
-
"name": "
|
|
7902
|
-
"
|
|
7903
|
-
"
|
|
7565
|
+
"kind": "method",
|
|
7566
|
+
"name": "add",
|
|
7567
|
+
"return": {
|
|
7568
|
+
"type": {
|
|
7569
|
+
"text": "CssVarBuilder"
|
|
7570
|
+
}
|
|
7904
7571
|
},
|
|
7905
|
-
"
|
|
7906
|
-
|
|
7907
|
-
|
|
7908
|
-
|
|
7909
|
-
|
|
7910
|
-
|
|
7572
|
+
"parameters": [
|
|
7573
|
+
{
|
|
7574
|
+
"name": "name",
|
|
7575
|
+
"type": {
|
|
7576
|
+
"text": "string"
|
|
7577
|
+
}
|
|
7578
|
+
},
|
|
7579
|
+
{
|
|
7580
|
+
"name": "value",
|
|
7581
|
+
"type": {
|
|
7582
|
+
"text": "string"
|
|
7583
|
+
}
|
|
7584
|
+
}
|
|
7585
|
+
]
|
|
7911
7586
|
},
|
|
7912
7587
|
{
|
|
7913
|
-
"kind": "
|
|
7914
|
-
"name": "
|
|
7915
|
-
"
|
|
7916
|
-
"
|
|
7588
|
+
"kind": "method",
|
|
7589
|
+
"name": "addFromArgb",
|
|
7590
|
+
"return": {
|
|
7591
|
+
"type": {
|
|
7592
|
+
"text": "CssVarBuilder"
|
|
7593
|
+
}
|
|
7917
7594
|
},
|
|
7918
|
-
"
|
|
7919
|
-
|
|
7920
|
-
|
|
7921
|
-
|
|
7922
|
-
|
|
7595
|
+
"parameters": [
|
|
7596
|
+
{
|
|
7597
|
+
"name": "name",
|
|
7598
|
+
"type": {
|
|
7599
|
+
"text": "string"
|
|
7600
|
+
}
|
|
7601
|
+
},
|
|
7602
|
+
{
|
|
7603
|
+
"name": "argb",
|
|
7604
|
+
"type": {
|
|
7605
|
+
"text": "number"
|
|
7606
|
+
}
|
|
7607
|
+
}
|
|
7608
|
+
]
|
|
7923
7609
|
},
|
|
7924
7610
|
{
|
|
7925
|
-
"kind": "
|
|
7926
|
-
"name": "
|
|
7927
|
-
"
|
|
7928
|
-
"
|
|
7929
|
-
|
|
7930
|
-
|
|
7931
|
-
"attribute": "name",
|
|
7932
|
-
"inheritedFrom": {
|
|
7933
|
-
"name": "UmSelectionControl",
|
|
7934
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
7611
|
+
"kind": "method",
|
|
7612
|
+
"name": "build",
|
|
7613
|
+
"return": {
|
|
7614
|
+
"type": {
|
|
7615
|
+
"text": "string"
|
|
7616
|
+
}
|
|
7935
7617
|
}
|
|
7936
|
-
}
|
|
7618
|
+
}
|
|
7619
|
+
]
|
|
7620
|
+
}
|
|
7621
|
+
],
|
|
7622
|
+
"exports": [
|
|
7623
|
+
{
|
|
7624
|
+
"kind": "js",
|
|
7625
|
+
"name": "CssVarBuilder",
|
|
7626
|
+
"declaration": {
|
|
7627
|
+
"name": "CssVarBuilder",
|
|
7628
|
+
"module": "src/theme/css-var-builder.ts"
|
|
7629
|
+
}
|
|
7630
|
+
}
|
|
7631
|
+
]
|
|
7632
|
+
},
|
|
7633
|
+
{
|
|
7634
|
+
"kind": "javascript-module",
|
|
7635
|
+
"path": "src/theme/index.ts",
|
|
7636
|
+
"declarations": [],
|
|
7637
|
+
"exports": [
|
|
7638
|
+
{
|
|
7639
|
+
"kind": "js",
|
|
7640
|
+
"name": "*",
|
|
7641
|
+
"declaration": {
|
|
7642
|
+
"name": "*",
|
|
7643
|
+
"package": "./theme-builder.js"
|
|
7644
|
+
}
|
|
7645
|
+
}
|
|
7646
|
+
]
|
|
7647
|
+
},
|
|
7648
|
+
{
|
|
7649
|
+
"kind": "javascript-module",
|
|
7650
|
+
"path": "src/theme/neutral-colors.ts",
|
|
7651
|
+
"declarations": [
|
|
7652
|
+
{
|
|
7653
|
+
"kind": "variable",
|
|
7654
|
+
"name": "neutralColors",
|
|
7655
|
+
"type": {
|
|
7656
|
+
"text": "Color[]"
|
|
7657
|
+
},
|
|
7658
|
+
"default": "[\n { name: 'surface', lightTone: 98, darkTone: 6 },\n { name: 'surface-bright', lightTone: 98, darkTone: 24 },\n { name: 'surface-dim', lightTone: 87, darkTone: 6 },\n { name: 'surface-container-lowest', lightTone: 100, darkTone: 4 },\n { name: 'surface-container-low', lightTone: 96, darkTone: 10 },\n { name: 'surface-container', lightTone: 94, darkTone: 12 },\n { name: 'surface-container-high', lightTone: 92, darkTone: 17 },\n { name: 'surface-container-highest', lightTone: 90, darkTone: 22 },\n { name: 'on-surface', lightTone: 10, darkTone: 90 },\n { name: 'light', fixedTone: 98 },\n { name: 'on-light', fixedTone: 10 },\n { name: 'dark', fixedTone: 6 },\n { name: 'on-dark', fixedTone: 90 },\n { name: 'scrim', fixedTone: 0 },\n { name: 'shadow', fixedTone: 0 },\n]"
|
|
7659
|
+
},
|
|
7660
|
+
{
|
|
7661
|
+
"kind": "variable",
|
|
7662
|
+
"name": "neutralVariantColors",
|
|
7663
|
+
"type": {
|
|
7664
|
+
"text": "Color[]"
|
|
7665
|
+
},
|
|
7666
|
+
"default": "[\n { name: 'surface-variant', lightTone: 90, darkTone: 30 },\n { name: 'on-surface-variant', lightTone: 30, darkTone: 80 },\n { name: 'outline', lightTone: 50, darkTone: 60 },\n { name: 'outline-variant', lightTone: 80, darkTone: 30 }\n]"
|
|
7667
|
+
}
|
|
7668
|
+
],
|
|
7669
|
+
"exports": [
|
|
7670
|
+
{
|
|
7671
|
+
"kind": "js",
|
|
7672
|
+
"name": "neutralColors",
|
|
7673
|
+
"declaration": {
|
|
7674
|
+
"name": "neutralColors",
|
|
7675
|
+
"module": "src/theme/neutral-colors.ts"
|
|
7676
|
+
}
|
|
7677
|
+
},
|
|
7678
|
+
{
|
|
7679
|
+
"kind": "js",
|
|
7680
|
+
"name": "neutralVariantColors",
|
|
7681
|
+
"declaration": {
|
|
7682
|
+
"name": "neutralVariantColors",
|
|
7683
|
+
"module": "src/theme/neutral-colors.ts"
|
|
7684
|
+
}
|
|
7685
|
+
}
|
|
7686
|
+
]
|
|
7687
|
+
},
|
|
7688
|
+
{
|
|
7689
|
+
"kind": "javascript-module",
|
|
7690
|
+
"path": "src/theme/rgb-color.ts",
|
|
7691
|
+
"declarations": [
|
|
7692
|
+
{
|
|
7693
|
+
"kind": "class",
|
|
7694
|
+
"description": "",
|
|
7695
|
+
"name": "RgbColor",
|
|
7696
|
+
"members": [
|
|
7937
7697
|
{
|
|
7938
7698
|
"kind": "field",
|
|
7939
|
-
"name": "
|
|
7699
|
+
"name": "r",
|
|
7940
7700
|
"type": {
|
|
7941
|
-
"text": "
|
|
7701
|
+
"text": "number"
|
|
7942
7702
|
},
|
|
7943
|
-
"default": "
|
|
7944
|
-
"attribute": "disabled",
|
|
7945
|
-
"reflects": true,
|
|
7946
|
-
"inheritedFrom": {
|
|
7947
|
-
"name": "UmSelectionControl",
|
|
7948
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
7949
|
-
}
|
|
7703
|
+
"default": "r"
|
|
7950
7704
|
},
|
|
7951
7705
|
{
|
|
7952
7706
|
"kind": "field",
|
|
7953
|
-
"name": "
|
|
7707
|
+
"name": "g",
|
|
7954
7708
|
"type": {
|
|
7955
|
-
"text": "
|
|
7709
|
+
"text": "number"
|
|
7956
7710
|
},
|
|
7957
|
-
"
|
|
7958
|
-
"name": "UmSelectionControl",
|
|
7959
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
7960
|
-
}
|
|
7711
|
+
"default": "g"
|
|
7961
7712
|
},
|
|
7962
7713
|
{
|
|
7963
7714
|
"kind": "field",
|
|
7964
|
-
"name": "
|
|
7715
|
+
"name": "b",
|
|
7965
7716
|
"type": {
|
|
7966
|
-
"text": "
|
|
7717
|
+
"text": "number"
|
|
7967
7718
|
},
|
|
7968
|
-
"
|
|
7969
|
-
"name": "UmSelectionControl",
|
|
7970
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
7971
|
-
}
|
|
7719
|
+
"default": "b"
|
|
7972
7720
|
},
|
|
7973
7721
|
{
|
|
7974
|
-
"kind": "
|
|
7975
|
-
"name": "
|
|
7976
|
-
"
|
|
7977
|
-
"
|
|
7978
|
-
"
|
|
7722
|
+
"kind": "method",
|
|
7723
|
+
"name": "fromArgb",
|
|
7724
|
+
"static": true,
|
|
7725
|
+
"return": {
|
|
7726
|
+
"type": {
|
|
7727
|
+
"text": "RgbColor"
|
|
7728
|
+
}
|
|
7979
7729
|
},
|
|
7980
|
-
"
|
|
7981
|
-
|
|
7982
|
-
|
|
7983
|
-
|
|
7984
|
-
|
|
7730
|
+
"parameters": [
|
|
7731
|
+
{
|
|
7732
|
+
"name": "argb",
|
|
7733
|
+
"type": {
|
|
7734
|
+
"text": "number"
|
|
7735
|
+
}
|
|
7736
|
+
}
|
|
7737
|
+
]
|
|
7985
7738
|
},
|
|
7986
7739
|
{
|
|
7987
7740
|
"kind": "field",
|
|
7988
|
-
"name": "
|
|
7741
|
+
"name": "toString"
|
|
7742
|
+
}
|
|
7743
|
+
]
|
|
7744
|
+
}
|
|
7745
|
+
],
|
|
7746
|
+
"exports": [
|
|
7747
|
+
{
|
|
7748
|
+
"kind": "js",
|
|
7749
|
+
"name": "RgbColor",
|
|
7750
|
+
"declaration": {
|
|
7751
|
+
"name": "RgbColor",
|
|
7752
|
+
"module": "src/theme/rgb-color.ts"
|
|
7753
|
+
}
|
|
7754
|
+
}
|
|
7755
|
+
]
|
|
7756
|
+
},
|
|
7757
|
+
{
|
|
7758
|
+
"kind": "javascript-module",
|
|
7759
|
+
"path": "src/theme/theme-builder.ts",
|
|
7760
|
+
"declarations": [
|
|
7761
|
+
{
|
|
7762
|
+
"kind": "class",
|
|
7763
|
+
"description": "",
|
|
7764
|
+
"name": "ThemeBuilder",
|
|
7765
|
+
"members": [
|
|
7766
|
+
{
|
|
7767
|
+
"kind": "field",
|
|
7768
|
+
"name": "cssClass",
|
|
7989
7769
|
"type": {
|
|
7990
|
-
"text": "
|
|
7770
|
+
"text": "string | null"
|
|
7991
7771
|
},
|
|
7992
|
-
"
|
|
7993
|
-
"default": "'checkbox'",
|
|
7994
|
-
"inheritedFrom": {
|
|
7995
|
-
"name": "UmSelectionControl",
|
|
7996
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
7997
|
-
}
|
|
7772
|
+
"default": "null"
|
|
7998
7773
|
},
|
|
7999
7774
|
{
|
|
8000
7775
|
"kind": "field",
|
|
8001
|
-
"name": "
|
|
7776
|
+
"name": "colors",
|
|
8002
7777
|
"type": {
|
|
8003
|
-
"text": "
|
|
7778
|
+
"text": "ThemeColor[]"
|
|
8004
7779
|
},
|
|
8005
|
-
"default": "
|
|
8006
|
-
"description": "The element value to use in form submission when checked.",
|
|
8007
|
-
"attribute": "value",
|
|
8008
|
-
"inheritedFrom": {
|
|
8009
|
-
"name": "UmSelectionControl",
|
|
8010
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
8011
|
-
}
|
|
7780
|
+
"default": "[]"
|
|
8012
7781
|
},
|
|
8013
7782
|
{
|
|
8014
7783
|
"kind": "field",
|
|
8015
|
-
"name": "
|
|
8016
|
-
"
|
|
8017
|
-
|
|
8018
|
-
"name": "UmSelectionControl",
|
|
8019
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
7784
|
+
"name": "neutralColorPalette",
|
|
7785
|
+
"type": {
|
|
7786
|
+
"text": "TonalPalette"
|
|
8020
7787
|
}
|
|
8021
7788
|
},
|
|
8022
7789
|
{
|
|
8023
|
-
"kind": "
|
|
8024
|
-
"name": "
|
|
8025
|
-
"inheritedFrom": {
|
|
8026
|
-
"name": "UmSelectionControl",
|
|
8027
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
8028
|
-
}
|
|
8029
|
-
}
|
|
8030
|
-
],
|
|
8031
|
-
"superclass": {
|
|
8032
|
-
"name": "UmSelectionControl",
|
|
8033
|
-
"module": "/src/shared/selection-control/selection-control.js"
|
|
8034
|
-
},
|
|
8035
|
-
"tagName": "u-switch",
|
|
8036
|
-
"customElement": true,
|
|
8037
|
-
"attributes": [
|
|
8038
|
-
{
|
|
8039
|
-
"name": "name",
|
|
7790
|
+
"kind": "field",
|
|
7791
|
+
"name": "neutralVariantColorPalette",
|
|
8040
7792
|
"type": {
|
|
8041
|
-
"text": "
|
|
8042
|
-
},
|
|
8043
|
-
"default": "''",
|
|
8044
|
-
"fieldName": "name",
|
|
8045
|
-
"inheritedFrom": {
|
|
8046
|
-
"name": "UmSelectionControl",
|
|
8047
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
7793
|
+
"text": "TonalPalette"
|
|
8048
7794
|
}
|
|
8049
7795
|
},
|
|
8050
7796
|
{
|
|
8051
|
-
"
|
|
7797
|
+
"kind": "field",
|
|
7798
|
+
"name": "partial",
|
|
8052
7799
|
"type": {
|
|
8053
7800
|
"text": "boolean"
|
|
8054
7801
|
},
|
|
8055
|
-
"
|
|
8056
|
-
"
|
|
8057
|
-
|
|
8058
|
-
|
|
8059
|
-
|
|
7802
|
+
"privacy": "private",
|
|
7803
|
+
"default": "false"
|
|
7804
|
+
},
|
|
7805
|
+
{
|
|
7806
|
+
"kind": "method",
|
|
7807
|
+
"name": "create",
|
|
7808
|
+
"static": true,
|
|
7809
|
+
"return": {
|
|
7810
|
+
"type": {
|
|
7811
|
+
"text": "ThemeBuilder"
|
|
7812
|
+
}
|
|
7813
|
+
},
|
|
7814
|
+
"parameters": [
|
|
7815
|
+
{
|
|
7816
|
+
"name": "primaryColorHex",
|
|
7817
|
+
"type": {
|
|
7818
|
+
"text": "string"
|
|
7819
|
+
}
|
|
7820
|
+
}
|
|
7821
|
+
]
|
|
7822
|
+
},
|
|
7823
|
+
{
|
|
7824
|
+
"kind": "method",
|
|
7825
|
+
"name": "createPartial",
|
|
7826
|
+
"static": true,
|
|
7827
|
+
"return": {
|
|
7828
|
+
"type": {
|
|
7829
|
+
"text": "ThemeBuilder"
|
|
7830
|
+
}
|
|
8060
7831
|
}
|
|
8061
7832
|
},
|
|
8062
7833
|
{
|
|
8063
|
-
"
|
|
8064
|
-
"
|
|
8065
|
-
|
|
7834
|
+
"kind": "method",
|
|
7835
|
+
"name": "addColorFromHex",
|
|
7836
|
+
"return": {
|
|
7837
|
+
"type": {
|
|
7838
|
+
"text": "ThemeBuilder"
|
|
7839
|
+
}
|
|
8066
7840
|
},
|
|
8067
|
-
"
|
|
8068
|
-
|
|
8069
|
-
|
|
8070
|
-
|
|
8071
|
-
|
|
8072
|
-
|
|
7841
|
+
"parameters": [
|
|
7842
|
+
{
|
|
7843
|
+
"name": "name",
|
|
7844
|
+
"type": {
|
|
7845
|
+
"text": "string"
|
|
7846
|
+
}
|
|
7847
|
+
},
|
|
7848
|
+
{
|
|
7849
|
+
"name": "hex",
|
|
7850
|
+
"type": {
|
|
7851
|
+
"text": "string"
|
|
7852
|
+
}
|
|
7853
|
+
}
|
|
7854
|
+
]
|
|
7855
|
+
},
|
|
7856
|
+
{
|
|
7857
|
+
"kind": "method",
|
|
7858
|
+
"name": "addColorFromPalette",
|
|
7859
|
+
"return": {
|
|
7860
|
+
"type": {
|
|
7861
|
+
"text": "ThemeBuilder"
|
|
7862
|
+
}
|
|
7863
|
+
},
|
|
7864
|
+
"parameters": [
|
|
7865
|
+
{
|
|
7866
|
+
"name": "name",
|
|
7867
|
+
"type": {
|
|
7868
|
+
"text": "string"
|
|
7869
|
+
}
|
|
7870
|
+
},
|
|
7871
|
+
{
|
|
7872
|
+
"name": "palette",
|
|
7873
|
+
"type": {
|
|
7874
|
+
"text": "TonalPalette"
|
|
7875
|
+
}
|
|
7876
|
+
}
|
|
7877
|
+
]
|
|
7878
|
+
},
|
|
7879
|
+
{
|
|
7880
|
+
"kind": "method",
|
|
7881
|
+
"name": "addFixedColor",
|
|
7882
|
+
"return": {
|
|
7883
|
+
"type": {
|
|
7884
|
+
"text": "ThemeBuilder"
|
|
7885
|
+
}
|
|
7886
|
+
},
|
|
7887
|
+
"parameters": [
|
|
7888
|
+
{
|
|
7889
|
+
"name": "name",
|
|
7890
|
+
"type": {
|
|
7891
|
+
"text": "string"
|
|
7892
|
+
}
|
|
7893
|
+
},
|
|
7894
|
+
{
|
|
7895
|
+
"name": "hex",
|
|
7896
|
+
"type": {
|
|
7897
|
+
"text": "string"
|
|
7898
|
+
}
|
|
7899
|
+
}
|
|
7900
|
+
]
|
|
7901
|
+
},
|
|
7902
|
+
{
|
|
7903
|
+
"kind": "method",
|
|
7904
|
+
"name": "setCssClass",
|
|
7905
|
+
"return": {
|
|
7906
|
+
"type": {
|
|
7907
|
+
"text": "ThemeBuilder"
|
|
7908
|
+
}
|
|
7909
|
+
},
|
|
7910
|
+
"parameters": [
|
|
7911
|
+
{
|
|
7912
|
+
"name": "cssClass",
|
|
7913
|
+
"type": {
|
|
7914
|
+
"text": "string"
|
|
7915
|
+
}
|
|
7916
|
+
}
|
|
7917
|
+
]
|
|
7918
|
+
},
|
|
7919
|
+
{
|
|
7920
|
+
"kind": "method",
|
|
7921
|
+
"name": "ensureCssClassStartsWithDot",
|
|
7922
|
+
"privacy": "private",
|
|
7923
|
+
"return": {
|
|
7924
|
+
"type": {
|
|
7925
|
+
"text": "void"
|
|
7926
|
+
}
|
|
8073
7927
|
}
|
|
8074
7928
|
},
|
|
8075
7929
|
{
|
|
8076
|
-
"
|
|
8077
|
-
"
|
|
8078
|
-
"
|
|
8079
|
-
|
|
8080
|
-
"
|
|
7930
|
+
"kind": "method",
|
|
7931
|
+
"name": "ensureThemeColors",
|
|
7932
|
+
"privacy": "private",
|
|
7933
|
+
"return": {
|
|
7934
|
+
"type": {
|
|
7935
|
+
"text": "void"
|
|
7936
|
+
}
|
|
8081
7937
|
}
|
|
8082
|
-
}
|
|
8083
|
-
],
|
|
8084
|
-
"events": [
|
|
7938
|
+
},
|
|
8085
7939
|
{
|
|
8086
|
-
"
|
|
8087
|
-
"
|
|
8088
|
-
|
|
7940
|
+
"kind": "method",
|
|
7941
|
+
"name": "getNeutralVariables",
|
|
7942
|
+
"privacy": "private",
|
|
7943
|
+
"return": {
|
|
7944
|
+
"type": {
|
|
7945
|
+
"text": "string"
|
|
7946
|
+
}
|
|
8089
7947
|
},
|
|
8090
|
-
"
|
|
8091
|
-
|
|
8092
|
-
|
|
7948
|
+
"parameters": [
|
|
7949
|
+
{
|
|
7950
|
+
"name": "dark",
|
|
7951
|
+
"type": {
|
|
7952
|
+
"text": "boolean"
|
|
7953
|
+
}
|
|
7954
|
+
}
|
|
7955
|
+
]
|
|
7956
|
+
},
|
|
7957
|
+
{
|
|
7958
|
+
"kind": "method",
|
|
7959
|
+
"name": "getNeutralVariantVariables",
|
|
7960
|
+
"privacy": "private",
|
|
7961
|
+
"return": {
|
|
7962
|
+
"type": {
|
|
7963
|
+
"text": "string"
|
|
7964
|
+
}
|
|
7965
|
+
},
|
|
7966
|
+
"parameters": [
|
|
7967
|
+
{
|
|
7968
|
+
"name": "dark",
|
|
7969
|
+
"type": {
|
|
7970
|
+
"text": "boolean"
|
|
7971
|
+
}
|
|
7972
|
+
}
|
|
7973
|
+
]
|
|
7974
|
+
},
|
|
7975
|
+
{
|
|
7976
|
+
"kind": "method",
|
|
7977
|
+
"name": "getColorVariables",
|
|
7978
|
+
"return": {
|
|
7979
|
+
"type": {
|
|
7980
|
+
"text": "string"
|
|
7981
|
+
}
|
|
7982
|
+
},
|
|
7983
|
+
"parameters": [
|
|
7984
|
+
{
|
|
7985
|
+
"name": "color",
|
|
7986
|
+
"type": {
|
|
7987
|
+
"text": "ThemeColor"
|
|
7988
|
+
}
|
|
7989
|
+
},
|
|
7990
|
+
{
|
|
7991
|
+
"name": "dark",
|
|
7992
|
+
"type": {
|
|
7993
|
+
"text": "boolean"
|
|
7994
|
+
}
|
|
7995
|
+
}
|
|
7996
|
+
]
|
|
7997
|
+
},
|
|
7998
|
+
{
|
|
7999
|
+
"kind": "method",
|
|
8000
|
+
"name": "getColorsVariables",
|
|
8001
|
+
"privacy": "private",
|
|
8002
|
+
"return": {
|
|
8003
|
+
"type": {
|
|
8004
|
+
"text": "string"
|
|
8005
|
+
}
|
|
8006
|
+
},
|
|
8007
|
+
"parameters": [
|
|
8008
|
+
{
|
|
8009
|
+
"name": "dark",
|
|
8010
|
+
"type": {
|
|
8011
|
+
"text": "boolean"
|
|
8012
|
+
}
|
|
8013
|
+
}
|
|
8014
|
+
]
|
|
8015
|
+
},
|
|
8016
|
+
{
|
|
8017
|
+
"kind": "method",
|
|
8018
|
+
"name": "addColors",
|
|
8019
|
+
"privacy": "private",
|
|
8020
|
+
"return": {
|
|
8021
|
+
"type": {
|
|
8022
|
+
"text": "void"
|
|
8023
|
+
}
|
|
8024
|
+
},
|
|
8025
|
+
"parameters": [
|
|
8026
|
+
{
|
|
8027
|
+
"name": "builder",
|
|
8028
|
+
"type": {
|
|
8029
|
+
"text": "CssVarBuilder"
|
|
8030
|
+
}
|
|
8031
|
+
},
|
|
8032
|
+
{
|
|
8033
|
+
"name": "colors",
|
|
8034
|
+
"type": {
|
|
8035
|
+
"text": "Color[]"
|
|
8036
|
+
}
|
|
8037
|
+
},
|
|
8038
|
+
{
|
|
8039
|
+
"name": "palette",
|
|
8040
|
+
"type": {
|
|
8041
|
+
"text": "TonalPalette"
|
|
8042
|
+
}
|
|
8043
|
+
},
|
|
8044
|
+
{
|
|
8045
|
+
"name": "dark",
|
|
8046
|
+
"type": {
|
|
8047
|
+
"text": "boolean"
|
|
8048
|
+
}
|
|
8049
|
+
}
|
|
8050
|
+
]
|
|
8051
|
+
},
|
|
8052
|
+
{
|
|
8053
|
+
"kind": "method",
|
|
8054
|
+
"name": "addToneColor",
|
|
8055
|
+
"privacy": "private",
|
|
8056
|
+
"return": {
|
|
8057
|
+
"type": {
|
|
8058
|
+
"text": "void"
|
|
8059
|
+
}
|
|
8060
|
+
},
|
|
8061
|
+
"parameters": [
|
|
8062
|
+
{
|
|
8063
|
+
"name": "builder",
|
|
8064
|
+
"type": {
|
|
8065
|
+
"text": "CssVarBuilder"
|
|
8066
|
+
}
|
|
8067
|
+
},
|
|
8068
|
+
{
|
|
8069
|
+
"name": "color",
|
|
8070
|
+
"type": {
|
|
8071
|
+
"text": "Color"
|
|
8072
|
+
}
|
|
8073
|
+
},
|
|
8074
|
+
{
|
|
8075
|
+
"name": "palette",
|
|
8076
|
+
"type": {
|
|
8077
|
+
"text": "TonalPalette"
|
|
8078
|
+
}
|
|
8079
|
+
},
|
|
8080
|
+
{
|
|
8081
|
+
"name": "dark",
|
|
8082
|
+
"type": {
|
|
8083
|
+
"text": "boolean"
|
|
8084
|
+
}
|
|
8085
|
+
}
|
|
8086
|
+
]
|
|
8087
|
+
},
|
|
8088
|
+
{
|
|
8089
|
+
"kind": "method",
|
|
8090
|
+
"name": "build",
|
|
8091
|
+
"return": {
|
|
8092
|
+
"type": {
|
|
8093
|
+
"text": "string"
|
|
8094
|
+
}
|
|
8093
8095
|
}
|
|
8094
8096
|
}
|
|
8095
8097
|
]
|
|
@@ -8098,22 +8100,20 @@
|
|
|
8098
8100
|
"exports": [
|
|
8099
8101
|
{
|
|
8100
8102
|
"kind": "js",
|
|
8101
|
-
"name": "
|
|
8102
|
-
"declaration": {
|
|
8103
|
-
"name": "UmSwitch",
|
|
8104
|
-
"module": "src/switch/switch.ts"
|
|
8105
|
-
}
|
|
8106
|
-
},
|
|
8107
|
-
{
|
|
8108
|
-
"kind": "custom-element-definition",
|
|
8109
|
-
"name": "u-switch",
|
|
8103
|
+
"name": "ThemeBuilder",
|
|
8110
8104
|
"declaration": {
|
|
8111
|
-
"name": "
|
|
8112
|
-
"module": "src/
|
|
8105
|
+
"name": "ThemeBuilder",
|
|
8106
|
+
"module": "src/theme/theme-builder.ts"
|
|
8113
8107
|
}
|
|
8114
8108
|
}
|
|
8115
8109
|
]
|
|
8116
8110
|
},
|
|
8111
|
+
{
|
|
8112
|
+
"kind": "javascript-module",
|
|
8113
|
+
"path": "src/theme/theme-color.ts",
|
|
8114
|
+
"declarations": [],
|
|
8115
|
+
"exports": []
|
|
8116
|
+
},
|
|
8117
8117
|
{
|
|
8118
8118
|
"kind": "javascript-module",
|
|
8119
8119
|
"path": "src/shared/selection-control/selection-control-list-item.ts",
|