@universal-material/web 3.0.37 → 3.0.38

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.
@@ -270,6 +270,255 @@
270
270
  }
271
271
  ]
272
272
  },
273
+ {
274
+ "kind": "javascript-module",
275
+ "path": "src/app-bar/top-app-bar.styles.ts",
276
+ "declarations": [
277
+ {
278
+ "kind": "variable",
279
+ "name": "styles",
280
+ "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`"
281
+ }
282
+ ],
283
+ "exports": [
284
+ {
285
+ "kind": "js",
286
+ "name": "styles",
287
+ "declaration": {
288
+ "name": "styles",
289
+ "module": "src/app-bar/top-app-bar.styles.ts"
290
+ }
291
+ }
292
+ ]
293
+ },
294
+ {
295
+ "kind": "javascript-module",
296
+ "path": "src/app-bar/top-app-bar.ts",
297
+ "declarations": [
298
+ {
299
+ "kind": "class",
300
+ "description": "",
301
+ "name": "UmTopAppBar",
302
+ "members": [
303
+ {
304
+ "kind": "field",
305
+ "name": "hasLeadingIcon",
306
+ "type": {
307
+ "text": "boolean"
308
+ },
309
+ "default": "false",
310
+ "description": "Whether the app bar has leading icon or not\n\n_Note:_ Readonly",
311
+ "attribute": "has-leading-icon",
312
+ "reflects": true
313
+ },
314
+ {
315
+ "kind": "field",
316
+ "name": "hasTrailingIcon",
317
+ "type": {
318
+ "text": "boolean"
319
+ },
320
+ "default": "false",
321
+ "description": "Whether the app bar has trailing icon or not\n\n_Note:_ Readonly",
322
+ "attribute": "has-trailing-icon",
323
+ "reflects": true
324
+ },
325
+ {
326
+ "kind": "field",
327
+ "name": "position",
328
+ "type": {
329
+ "text": "'fixed' | 'absolute' | 'static'"
330
+ },
331
+ "default": "'fixed'",
332
+ "attribute": "position",
333
+ "reflects": true
334
+ },
335
+ {
336
+ "kind": "field",
337
+ "name": "scrollContainer",
338
+ "type": {
339
+ "text": "'none' | 'window' | string | undefined"
340
+ },
341
+ "attribute": "scrollContainer",
342
+ "reflects": true
343
+ },
344
+ {
345
+ "kind": "field",
346
+ "name": "containerScrolled",
347
+ "type": {
348
+ "text": "boolean"
349
+ },
350
+ "default": "false",
351
+ "attribute": "container-scrolled",
352
+ "reflects": true
353
+ },
354
+ {
355
+ "kind": "field",
356
+ "name": "assignedLeadingIcons",
357
+ "type": {
358
+ "text": "HTMLElement[]"
359
+ },
360
+ "privacy": "private"
361
+ },
362
+ {
363
+ "kind": "field",
364
+ "name": "assignedTrailingIcons",
365
+ "type": {
366
+ "text": "HTMLElement[]"
367
+ },
368
+ "privacy": "private"
369
+ },
370
+ {
371
+ "kind": "field",
372
+ "name": "content",
373
+ "type": {
374
+ "text": "HTMLElement"
375
+ }
376
+ },
377
+ {
378
+ "kind": "field",
379
+ "name": "contentSizeObserver",
380
+ "type": {
381
+ "text": "ResizeObserver | null"
382
+ },
383
+ "privacy": "private",
384
+ "default": "null"
385
+ },
386
+ {
387
+ "kind": "field",
388
+ "name": "scrollContainerElement",
389
+ "type": {
390
+ "text": "{\n addEventListener: typeof window.addEventListener;\n removeEventListener: typeof window.removeEventListener;\n } | null"
391
+ },
392
+ "privacy": "private",
393
+ "default": "null"
394
+ },
395
+ {
396
+ "kind": "method",
397
+ "name": "getScrollContainer",
398
+ "privacy": "private",
399
+ "return": {
400
+ "type": {
401
+ "text": "{\n addEventListener: typeof window.addEventListener;\n removeEventListener: typeof window.removeEventListener;\n } | undefined"
402
+ }
403
+ },
404
+ "parameters": [
405
+ {
406
+ "name": "idOrElement",
407
+ "type": {
408
+ "text": "string | HTMLElement | undefined"
409
+ }
410
+ }
411
+ ]
412
+ },
413
+ {
414
+ "kind": "method",
415
+ "name": "handleLeadingIconSlotChange",
416
+ "privacy": "private"
417
+ },
418
+ {
419
+ "kind": "method",
420
+ "name": "handleTrailingIconSlotChange",
421
+ "privacy": "private"
422
+ },
423
+ {
424
+ "kind": "field",
425
+ "name": "onContainerScroll"
426
+ },
427
+ {
428
+ "kind": "method",
429
+ "name": "getScrollTop",
430
+ "privacy": "private",
431
+ "static": true,
432
+ "return": {
433
+ "type": {
434
+ "text": "number | null"
435
+ }
436
+ },
437
+ "parameters": [
438
+ {
439
+ "name": "container",
440
+ "type": {
441
+ "text": "HTMLElement & Window"
442
+ }
443
+ }
444
+ ]
445
+ },
446
+ {
447
+ "kind": "method",
448
+ "name": "setContentHeightProperty",
449
+ "privacy": "private"
450
+ }
451
+ ],
452
+ "attributes": [
453
+ {
454
+ "name": "has-leading-icon",
455
+ "type": {
456
+ "text": "boolean"
457
+ },
458
+ "default": "false",
459
+ "description": "Whether the app bar has leading icon or not\n\n_Note:_ Readonly",
460
+ "fieldName": "hasLeadingIcon"
461
+ },
462
+ {
463
+ "name": "has-trailing-icon",
464
+ "type": {
465
+ "text": "boolean"
466
+ },
467
+ "default": "false",
468
+ "description": "Whether the app bar has trailing icon or not\n\n_Note:_ Readonly",
469
+ "fieldName": "hasTrailingIcon"
470
+ },
471
+ {
472
+ "name": "position",
473
+ "type": {
474
+ "text": "'fixed' | 'absolute' | 'static'"
475
+ },
476
+ "default": "'fixed'",
477
+ "fieldName": "position"
478
+ },
479
+ {
480
+ "name": "scrollContainer",
481
+ "type": {
482
+ "text": "'none' | 'window' | string | undefined"
483
+ },
484
+ "fieldName": "scrollContainer"
485
+ },
486
+ {
487
+ "name": "container-scrolled",
488
+ "type": {
489
+ "text": "boolean"
490
+ },
491
+ "default": "false",
492
+ "fieldName": "containerScrolled"
493
+ }
494
+ ],
495
+ "superclass": {
496
+ "name": "LitElement",
497
+ "package": "lit"
498
+ },
499
+ "tagName": "u-top-app-bar",
500
+ "customElement": true
501
+ }
502
+ ],
503
+ "exports": [
504
+ {
505
+ "kind": "js",
506
+ "name": "UmTopAppBar",
507
+ "declaration": {
508
+ "name": "UmTopAppBar",
509
+ "module": "src/app-bar/top-app-bar.ts"
510
+ }
511
+ },
512
+ {
513
+ "kind": "custom-element-definition",
514
+ "name": "u-top-app-bar",
515
+ "declaration": {
516
+ "name": "UmTopAppBar",
517
+ "module": "src/app-bar/top-app-bar.ts"
518
+ }
519
+ }
520
+ ]
521
+ },
273
522
  {
274
523
  "kind": "javascript-module",
275
524
  "path": "src/button/button-base.ts",
@@ -2333,12 +2582,12 @@
2333
2582
  },
2334
2583
  {
2335
2584
  "kind": "javascript-module",
2336
- "path": "src/app-bar/top-app-bar.styles.ts",
2585
+ "path": "src/card/card-content.styles.ts",
2337
2586
  "declarations": [
2338
2587
  {
2339
2588
  "kind": "variable",
2340
2589
  "name": "styles",
2341
- "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`"
2590
+ "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`"
2342
2591
  }
2343
2592
  ],
2344
2593
  "exports": [
@@ -2347,256 +2596,7 @@
2347
2596
  "name": "styles",
2348
2597
  "declaration": {
2349
2598
  "name": "styles",
2350
- "module": "src/app-bar/top-app-bar.styles.ts"
2351
- }
2352
- }
2353
- ]
2354
- },
2355
- {
2356
- "kind": "javascript-module",
2357
- "path": "src/app-bar/top-app-bar.ts",
2358
- "declarations": [
2359
- {
2360
- "kind": "class",
2361
- "description": "",
2362
- "name": "UmTopAppBar",
2363
- "members": [
2364
- {
2365
- "kind": "field",
2366
- "name": "hasLeadingIcon",
2367
- "type": {
2368
- "text": "boolean"
2369
- },
2370
- "default": "false",
2371
- "description": "Whether the app bar has leading icon or not\n\n_Note:_ Readonly",
2372
- "attribute": "has-leading-icon",
2373
- "reflects": true
2374
- },
2375
- {
2376
- "kind": "field",
2377
- "name": "hasTrailingIcon",
2378
- "type": {
2379
- "text": "boolean"
2380
- },
2381
- "default": "false",
2382
- "description": "Whether the app bar has trailing icon or not\n\n_Note:_ Readonly",
2383
- "attribute": "has-trailing-icon",
2384
- "reflects": true
2385
- },
2386
- {
2387
- "kind": "field",
2388
- "name": "position",
2389
- "type": {
2390
- "text": "'fixed' | 'absolute' | 'static'"
2391
- },
2392
- "default": "'fixed'",
2393
- "attribute": "position",
2394
- "reflects": true
2395
- },
2396
- {
2397
- "kind": "field",
2398
- "name": "scrollContainer",
2399
- "type": {
2400
- "text": "'none' | 'window' | string | undefined"
2401
- },
2402
- "attribute": "scrollContainer",
2403
- "reflects": true
2404
- },
2405
- {
2406
- "kind": "field",
2407
- "name": "containerScrolled",
2408
- "type": {
2409
- "text": "boolean"
2410
- },
2411
- "default": "false",
2412
- "attribute": "container-scrolled",
2413
- "reflects": true
2414
- },
2415
- {
2416
- "kind": "field",
2417
- "name": "assignedLeadingIcons",
2418
- "type": {
2419
- "text": "HTMLElement[]"
2420
- },
2421
- "privacy": "private"
2422
- },
2423
- {
2424
- "kind": "field",
2425
- "name": "assignedTrailingIcons",
2426
- "type": {
2427
- "text": "HTMLElement[]"
2428
- },
2429
- "privacy": "private"
2430
- },
2431
- {
2432
- "kind": "field",
2433
- "name": "content",
2434
- "type": {
2435
- "text": "HTMLElement"
2436
- }
2437
- },
2438
- {
2439
- "kind": "field",
2440
- "name": "contentSizeObserver",
2441
- "type": {
2442
- "text": "ResizeObserver | null"
2443
- },
2444
- "privacy": "private",
2445
- "default": "null"
2446
- },
2447
- {
2448
- "kind": "field",
2449
- "name": "scrollContainerElement",
2450
- "type": {
2451
- "text": "{\n addEventListener: typeof window.addEventListener;\n removeEventListener: typeof window.removeEventListener;\n } | null"
2452
- },
2453
- "privacy": "private",
2454
- "default": "null"
2455
- },
2456
- {
2457
- "kind": "method",
2458
- "name": "getScrollContainer",
2459
- "privacy": "private",
2460
- "return": {
2461
- "type": {
2462
- "text": "{\n addEventListener: typeof window.addEventListener;\n removeEventListener: typeof window.removeEventListener;\n } | undefined"
2463
- }
2464
- },
2465
- "parameters": [
2466
- {
2467
- "name": "idOrElement",
2468
- "type": {
2469
- "text": "string | HTMLElement | undefined"
2470
- }
2471
- }
2472
- ]
2473
- },
2474
- {
2475
- "kind": "method",
2476
- "name": "handleLeadingIconSlotChange",
2477
- "privacy": "private"
2478
- },
2479
- {
2480
- "kind": "method",
2481
- "name": "handleTrailingIconSlotChange",
2482
- "privacy": "private"
2483
- },
2484
- {
2485
- "kind": "field",
2486
- "name": "onContainerScroll"
2487
- },
2488
- {
2489
- "kind": "method",
2490
- "name": "getScrollTop",
2491
- "privacy": "private",
2492
- "static": true,
2493
- "return": {
2494
- "type": {
2495
- "text": "number | null"
2496
- }
2497
- },
2498
- "parameters": [
2499
- {
2500
- "name": "container",
2501
- "type": {
2502
- "text": "HTMLElement & Window"
2503
- }
2504
- }
2505
- ]
2506
- },
2507
- {
2508
- "kind": "method",
2509
- "name": "setContentHeightProperty",
2510
- "privacy": "private"
2511
- }
2512
- ],
2513
- "attributes": [
2514
- {
2515
- "name": "has-leading-icon",
2516
- "type": {
2517
- "text": "boolean"
2518
- },
2519
- "default": "false",
2520
- "description": "Whether the app bar has leading icon or not\n\n_Note:_ Readonly",
2521
- "fieldName": "hasLeadingIcon"
2522
- },
2523
- {
2524
- "name": "has-trailing-icon",
2525
- "type": {
2526
- "text": "boolean"
2527
- },
2528
- "default": "false",
2529
- "description": "Whether the app bar has trailing icon or not\n\n_Note:_ Readonly",
2530
- "fieldName": "hasTrailingIcon"
2531
- },
2532
- {
2533
- "name": "position",
2534
- "type": {
2535
- "text": "'fixed' | 'absolute' | 'static'"
2536
- },
2537
- "default": "'fixed'",
2538
- "fieldName": "position"
2539
- },
2540
- {
2541
- "name": "scrollContainer",
2542
- "type": {
2543
- "text": "'none' | 'window' | string | undefined"
2544
- },
2545
- "fieldName": "scrollContainer"
2546
- },
2547
- {
2548
- "name": "container-scrolled",
2549
- "type": {
2550
- "text": "boolean"
2551
- },
2552
- "default": "false",
2553
- "fieldName": "containerScrolled"
2554
- }
2555
- ],
2556
- "superclass": {
2557
- "name": "LitElement",
2558
- "package": "lit"
2559
- },
2560
- "tagName": "u-top-app-bar",
2561
- "customElement": true
2562
- }
2563
- ],
2564
- "exports": [
2565
- {
2566
- "kind": "js",
2567
- "name": "UmTopAppBar",
2568
- "declaration": {
2569
- "name": "UmTopAppBar",
2570
- "module": "src/app-bar/top-app-bar.ts"
2571
- }
2572
- },
2573
- {
2574
- "kind": "custom-element-definition",
2575
- "name": "u-top-app-bar",
2576
- "declaration": {
2577
- "name": "UmTopAppBar",
2578
- "module": "src/app-bar/top-app-bar.ts"
2579
- }
2580
- }
2581
- ]
2582
- },
2583
- {
2584
- "kind": "javascript-module",
2585
- "path": "src/card/card-content.styles.ts",
2586
- "declarations": [
2587
- {
2588
- "kind": "variable",
2589
- "name": "styles",
2590
- "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`"
2591
- }
2592
- ],
2593
- "exports": [
2594
- {
2595
- "kind": "js",
2596
- "name": "styles",
2597
- "declaration": {
2598
- "name": "styles",
2599
- "module": "src/card/card-content.styles.ts"
2599
+ "module": "src/card/card-content.styles.ts"
2600
2600
  }
2601
2601
  }
2602
2602
  ]
@@ -2831,279 +2831,105 @@
2831
2831
  },
2832
2832
  {
2833
2833
  "kind": "javascript-module",
2834
- "path": "src/chip/chip-set.styles.ts",
2835
- "declarations": [
2836
- {
2837
- "kind": "variable",
2838
- "name": "styles",
2839
- "default": "css `\n :host {\n display: flex;\n gap: 8px;\n align-items: center;\n flex-wrap: nowrap;\n }\n\n :host([alignment=start]) {\n justify-content: flex-start;\n }\n\n :host([alignment=center]) {\n justify-content: center;\n }\n\n :host([alignment=end]) {\n justify-content: flex-end;\n }\n\n :host {\n flex-wrap: wrap;\n }\n`"
2840
- }
2841
- ],
2842
- "exports": [
2843
- {
2844
- "kind": "js",
2845
- "name": "styles",
2846
- "declaration": {
2847
- "name": "styles",
2848
- "module": "src/chip/chip-set.styles.ts"
2849
- }
2850
- }
2851
- ]
2852
- },
2853
- {
2854
- "kind": "javascript-module",
2855
- "path": "src/chip/chip-set.ts",
2834
+ "path": "src/checkbox/checkbox-list-item.ts",
2856
2835
  "declarations": [
2857
2836
  {
2858
2837
  "kind": "class",
2859
2838
  "description": "",
2860
- "name": "UmChipSet",
2861
- "members": [
2839
+ "name": "UmCheckboxListItem",
2840
+ "mixins": [
2862
2841
  {
2863
- "kind": "field",
2864
- "name": "alignment",
2865
- "type": {
2866
- "text": "'start' | 'center' | 'end'"
2867
- },
2868
- "default": "'start'",
2869
- "description": "Set the alignment of the set at the `start`, `center` or at the `end`.",
2870
- "attribute": "alignment",
2871
- "reflects": true,
2872
- "inheritedFrom": {
2873
- "name": "UmSetBase",
2874
- "module": "src/shared/sets/set-base.ts"
2875
- }
2842
+ "name": "mixinSelectionControlListItem",
2843
+ "module": "/src/shared/selection-control/selection-control-list-item.js"
2876
2844
  }
2877
2845
  ],
2878
2846
  "superclass": {
2879
- "name": "UmSetBase",
2880
- "module": "/src/shared/sets/set-base.js"
2847
+ "name": "UmCheckbox",
2848
+ "module": "/src/checkbox/checkbox.js"
2881
2849
  },
2882
- "tagName": "u-chip-set",
2850
+ "tagName": "u-checkbox-list-item",
2883
2851
  "customElement": true,
2884
- "attributes": [
2885
- {
2886
- "name": "alignment",
2887
- "type": {
2888
- "text": "'start' | 'center' | 'end'"
2889
- },
2890
- "default": "'start'",
2891
- "description": "Set the alignment of the set at the `start`, `center` or at the `end`.",
2892
- "fieldName": "alignment",
2893
- "inheritedFrom": {
2894
- "name": "UmSetBase",
2895
- "module": "src/shared/sets/set-base.ts"
2896
- }
2897
- }
2898
- ]
2899
- }
2900
- ],
2901
- "exports": [
2902
- {
2903
- "kind": "js",
2904
- "name": "UmChipSet",
2905
- "declaration": {
2906
- "name": "UmChipSet",
2907
- "module": "src/chip/chip-set.ts"
2908
- }
2909
- },
2910
- {
2911
- "kind": "custom-element-definition",
2912
- "name": "u-chip-set",
2913
- "declaration": {
2914
- "name": "UmChipSet",
2915
- "module": "src/chip/chip-set.ts"
2916
- }
2917
- }
2918
- ]
2919
- },
2920
- {
2921
- "kind": "javascript-module",
2922
- "path": "src/chip/chip.styles.ts",
2923
- "declarations": [
2924
- {
2925
- "kind": "variable",
2926
- "name": "styles",
2927
- "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 :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 border-radius: inherit;\n width: 100%;\n height: 100%;\n }\n\n :host {\n --_height: var(--u-chip-height, 32px);\n --_outline-width: var(--u-chip-outline-width, 1px);\n --_outline-color: var(--u-chip-outline-color, var(--u-color-outline, rgb(121, 116, 126)));\n --_shape: var(--u-chip-shape, var(--u-shape-corner-small, 8px));\n --_gap: var(--u-chip-gap, 8px);\n --_icon-size: var(--u-chip-icon-size, 1.125rem);\n --_action-margin: var(--u-chip-action-margin, 2px);\n --_action-size: calc(var(--_height) - var(--_action-margin) * 2);\n display: inline-block;\n height: var(--_height);\n border-radius: var(--_shape);\n }\n\n :host(:not([disabled])) {\n cursor: pointer;\n }\n\n :host(:not([disabled]):not([elevated]):not([selected])) .outline {\n border: var(--_outline-width) solid var(--_outline-color);\n }\n\n :host([elevated]:not([disabled])) {\n --u-elevation-level: var(--u-elevated-chip-elevation-level, 1);\n }\n\n @media (hover: hover) {\n :host([elevated]:not([disabled]):hover) {\n --u-elevation-level: var(--u-elevated-chip-hover-elevation-level, 2);\n }\n }\n .outline {\n position: absolute;\n inset: 0;\n border-radius: inherit;\n pointer-events: none;\n }\n\n .container {\n display: flex;\n align-items: center;\n border-radius: inherit;\n height: 100%;\n padding-inline: var(--u-chip-padding, 16px);\n gap: var(--_gap);\n }\n\n .icon {\n width: var(--_icon-size);\n height: var(--_icon-size);\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: var(--_icon-size);\n }\n\n .leading {\n color: var(--u-chip-leading-icon-color, var(--u-color-primary, rgb(103, 80, 164)));\n }\n\n .trailing {\n color: var(--u-chip-trailing-icon-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n }\n\n .action {\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n width: var(--_action-size);\n height: var(--_action-size);\n cursor: pointer;\n padding: 0;\n margin: 0;\n margin-inline: calc((var(--_action-size) - var(--_icon-size)) * -0.5);\n background: gray;\n border: none;\n border-radius: var(--u-chip-action-border-radius, var(--u-shape-corner-full, 9999px));\n background: none;\n appearance: none;\n outline: 0;\n outline-offset: 0;\n z-index: 1;\n }\n\n ::slotted([slot=leading-icon]),\n ::slotted([slot=trailing-icon]) {\n font-size: inherit !important;\n }\n\n slot[name=selected-icon] {\n display: none;\n }\n\n :host([selected][has-selected-icon]) slot[name=leading-icon] {\n display: none;\n }\n :host([selected][has-selected-icon]) slot[name=selected-icon] {\n display: flex;\n }\n\n :host([selected]:not([disabled])) {\n background-color: var(--u-chip-selected-background-color, var(--u-color-secondary-container, rgb(232, 222, 248)));\n }\n :host([selected]:not([disabled])) .leading {\n color: var(--u-chip-selected-leading-icon-color, var(--u-color-on-secondary-container, rgb(29, 25, 43)));\n }\n :host([selected]:not([disabled])) .trailing {\n color: var(--u-chip-selected-trailing-icon-color, var(--u-color-on-secondary-container, rgb(29, 25, 43)));\n }\n\n :host([has-leading-icon]) .container {\n padding-inline-start: var(--_gap);\n }\n\n :host([has-trailing-icon]) .container {\n padding-inline-end: var(--_gap);\n }\n\n :host(:not([has-leading-icon])) .leading {\n display: none;\n }\n\n :host(:not([has-trailing-icon])) .trailing,\n :host(:not([has-trailing-icon])) .action {\n display: none;\n }\n`"
2928
- }
2929
- ],
2930
- "exports": [
2931
- {
2932
- "kind": "js",
2933
- "name": "styles",
2934
- "declaration": {
2935
- "name": "styles",
2936
- "module": "src/chip/chip.styles.ts"
2937
- }
2938
- }
2939
- ]
2940
- },
2941
- {
2942
- "kind": "javascript-module",
2943
- "path": "src/chip/chip.ts",
2944
- "declarations": [
2945
- {
2946
- "kind": "class",
2947
- "description": "",
2948
- "name": "UmChip",
2949
2852
  "members": [
2950
2853
  {
2951
2854
  "kind": "field",
2952
- "name": "selected",
2953
- "type": {
2954
- "text": "boolean"
2955
- },
2956
- "default": "false",
2957
- "description": "Whether the chip is selected or not",
2958
- "attribute": "selected",
2959
- "reflects": true
2960
- },
2961
- {
2962
- "kind": "field",
2963
- "name": "elevated",
2855
+ "name": "styles",
2964
2856
  "type": {
2965
- "text": "boolean"
2857
+ "text": "array"
2966
2858
  },
2967
- "default": "false",
2968
- "description": "Adds elevation to the chip",
2969
- "attribute": "elevated",
2970
- "reflects": true
2859
+ "static": true,
2860
+ "default": "[\n (base as unknown as typeof LitElement).styles ?? [],\n css`:host {\n --u-list-item-block-padding: 0;\n display: block;\n }`\n ]",
2861
+ "inheritedFrom": {
2862
+ "name": "mixinSelectionControlListItem",
2863
+ "module": "src/shared/selection-control/selection-control-list-item.ts"
2864
+ }
2971
2865
  },
2972
2866
  {
2973
- "kind": "field",
2974
- "name": "toggle",
2975
- "type": {
2976
- "text": "boolean"
2867
+ "kind": "method",
2868
+ "name": "render",
2869
+ "return": {
2870
+ "type": {
2871
+ "text": "HTMLTemplateResult"
2872
+ }
2977
2873
  },
2978
- "default": "false",
2979
- "description": "When true, the chip will toggle between selected and unselected\nstates",
2980
- "attribute": "toggle",
2981
- "reflects": true
2874
+ "inheritedFrom": {
2875
+ "name": "mixinSelectionControlListItem",
2876
+ "module": "src/shared/selection-control/selection-control-list-item.ts"
2877
+ }
2982
2878
  },
2983
2879
  {
2984
2880
  "kind": "field",
2985
- "name": "action",
2881
+ "name": "#indeterminate",
2882
+ "privacy": "private",
2986
2883
  "type": {
2987
2884
  "text": "boolean"
2988
2885
  },
2989
2886
  "default": "false",
2990
- "description": "Set the trailing icon as an action",
2991
- "attribute": "action",
2992
- "reflects": true
2887
+ "inheritedFrom": {
2888
+ "name": "UmCheckbox",
2889
+ "module": "src/checkbox/checkbox.ts"
2890
+ }
2993
2891
  },
2994
2892
  {
2995
2893
  "kind": "field",
2996
- "name": "hasLeadingIcon",
2894
+ "name": "hideStateLayer",
2997
2895
  "type": {
2998
2896
  "text": "boolean"
2999
2897
  },
3000
2898
  "default": "false",
3001
- "description": "Whether the chip has a leading icon or not\n\n_Note:_ Readonly",
3002
- "attribute": "has-leading-icon",
3003
- "reflects": true
2899
+ "attribute": "hide-state-layer",
2900
+ "reflects": true,
2901
+ "inheritedFrom": {
2902
+ "name": "UmCheckbox",
2903
+ "module": "src/checkbox/checkbox.ts"
2904
+ }
3004
2905
  },
3005
2906
  {
3006
2907
  "kind": "field",
3007
- "name": "hasSelectedIcon",
2908
+ "name": "indeterminate",
3008
2909
  "type": {
3009
2910
  "text": "boolean"
3010
2911
  },
3011
- "default": "false",
3012
- "description": "Whether the chip has a selected icon or not\n\n_Note:_ Readonly",
3013
- "attribute": "has-selected-icon",
3014
- "reflects": true
2912
+ "attribute": "indeterminate",
2913
+ "inheritedFrom": {
2914
+ "name": "UmCheckbox",
2915
+ "module": "src/checkbox/checkbox.ts"
2916
+ }
3015
2917
  },
3016
2918
  {
3017
2919
  "kind": "field",
3018
- "name": "hasTrailingIcon",
2920
+ "name": "checked",
2921
+ "attribute": "checked",
3019
2922
  "type": {
3020
2923
  "text": "boolean"
3021
2924
  },
3022
- "default": "false",
3023
- "description": "Whether the chip has a trailing icon or not\n\n_Note:_ Readonly",
3024
- "attribute": "has-trailing-icon",
3025
- "reflects": true
3026
- },
3027
- {
3028
- "kind": "field",
3029
- "name": "assignedLeadingIcons",
3030
- "type": {
3031
- "text": "HTMLElement[]"
3032
- },
3033
- "privacy": "private"
3034
- },
3035
- {
3036
- "kind": "field",
3037
- "name": "assignedSelectedIcons",
3038
- "type": {
3039
- "text": "HTMLElement[]"
3040
- },
3041
- "privacy": "private"
3042
- },
3043
- {
3044
- "kind": "field",
3045
- "name": "assignedTrailingIcons",
3046
- "type": {
3047
- "text": "HTMLElement[]"
3048
- },
3049
- "privacy": "private"
3050
- },
3051
- {
3052
- "kind": "field",
3053
- "name": "actionRipple",
3054
- "type": {
3055
- "text": "UmRipple"
3056
- }
3057
- },
3058
- {
3059
- "kind": "method",
3060
- "name": "#handleActionClick",
3061
- "parameters": [
3062
- {
3063
- "name": "e",
3064
- "type": {
3065
- "text": "Event"
3066
- }
3067
- }
3068
- ]
3069
- },
3070
- {
3071
- "kind": "method",
3072
- "name": "#handleTrailingIconSlotChange"
3073
- },
3074
- {
3075
- "kind": "method",
3076
- "name": "#handleLeadingIconSlotChange"
3077
- },
3078
- {
3079
- "kind": "method",
3080
- "name": "#handleSelectedIconSlotChange"
3081
- },
3082
- {
3083
- "kind": "method",
3084
- "name": "handleClick",
3085
- "privacy": "protected",
3086
- "return": {
3087
- "type": {
3088
- "text": "void"
3089
- }
3090
- },
3091
- "parameters": [
3092
- {
3093
- "name": "event",
3094
- "type": {
3095
- "text": "UIEvent"
3096
- }
3097
- }
3098
- ],
3099
2925
  "inheritedFrom": {
3100
- "name": "UmButtonWrapper",
3101
- "module": "src/shared/button-wrapper.ts"
2926
+ "name": "UmSelectionControl",
2927
+ "module": "src/shared/selection-control/selection-control.ts"
3102
2928
  }
3103
2929
  },
3104
2930
  {
3105
2931
  "kind": "method",
3106
- "name": "renderContent",
2932
+ "name": "renderIndicator",
3107
2933
  "privacy": "protected",
3108
2934
  "return": {
3109
2935
  "type": {
@@ -3111,272 +2937,189 @@
3111
2937
  }
3112
2938
  },
3113
2939
  "inheritedFrom": {
3114
- "name": "UmButtonWrapper",
3115
- "module": "src/shared/button-wrapper.ts"
2940
+ "name": "UmSelectionControl",
2941
+ "module": "src/shared/selection-control/selection-control.ts"
3116
2942
  }
3117
2943
  },
3118
2944
  {
3119
2945
  "kind": "field",
3120
- "name": "disabled",
2946
+ "name": "formAssociated",
3121
2947
  "type": {
3122
2948
  "text": "boolean"
3123
2949
  },
3124
- "default": "false",
3125
- "description": "Whether the button is disabled or not.",
3126
- "attribute": "disabled",
3127
- "reflects": true,
2950
+ "static": true,
2951
+ "default": "true",
3128
2952
  "inheritedFrom": {
3129
- "name": "UmButtonWrapper",
3130
- "module": "src/shared/button-wrapper.ts"
2953
+ "name": "UmSelectionControl",
2954
+ "module": "src/shared/selection-control/selection-control.ts"
3131
2955
  }
3132
2956
  },
3133
2957
  {
3134
2958
  "kind": "field",
3135
- "name": "href",
2959
+ "name": "elementInternals",
3136
2960
  "type": {
3137
- "text": "string | undefined"
2961
+ "text": "ElementInternals"
3138
2962
  },
3139
- "description": "The URL that the link button points to.",
3140
- "attribute": "href",
2963
+ "privacy": "protected",
3141
2964
  "inheritedFrom": {
3142
- "name": "UmButtonWrapper",
3143
- "module": "src/shared/button-wrapper.ts"
2965
+ "name": "UmSelectionControl",
2966
+ "module": "src/shared/selection-control/selection-control.ts"
3144
2967
  }
3145
2968
  },
3146
2969
  {
3147
2970
  "kind": "field",
3148
- "name": "target",
2971
+ "name": "name",
3149
2972
  "type": {
3150
2973
  "text": "string | undefined"
3151
2974
  },
3152
- "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
3153
- "attribute": "target",
2975
+ "default": "''",
2976
+ "attribute": "name",
3154
2977
  "inheritedFrom": {
3155
- "name": "UmButtonWrapper",
3156
- "module": "src/shared/button-wrapper.ts"
2978
+ "name": "UmSelectionControl",
2979
+ "module": "src/shared/selection-control/selection-control.ts"
3157
2980
  }
3158
2981
  },
3159
2982
  {
3160
2983
  "kind": "field",
3161
- "name": "name",
2984
+ "name": "disabled",
3162
2985
  "type": {
3163
- "text": "string | undefined"
2986
+ "text": "boolean"
3164
2987
  },
3165
- "attribute": "name",
2988
+ "default": "false",
2989
+ "attribute": "disabled",
2990
+ "reflects": true,
3166
2991
  "inheritedFrom": {
3167
- "name": "UmButtonWrapper",
3168
- "module": "src/shared/button-wrapper.ts"
2992
+ "name": "UmSelectionControl",
2993
+ "module": "src/shared/selection-control/selection-control.ts"
3169
2994
  }
3170
2995
  },
3171
2996
  {
3172
2997
  "kind": "field",
3173
- "name": "buttonElement",
2998
+ "name": "input",
3174
2999
  "type": {
3175
- "text": "HTMLElement"
3000
+ "text": "HTMLInputElement"
3176
3001
  },
3177
- "privacy": "protected",
3178
3002
  "inheritedFrom": {
3179
- "name": "UmButtonWrapper",
3180
- "module": "src/shared/button-wrapper.ts"
3003
+ "name": "UmSelectionControl",
3004
+ "module": "src/shared/selection-control/selection-control.ts"
3181
3005
  }
3182
3006
  },
3183
3007
  {
3184
3008
  "kind": "field",
3185
- "name": "ripple",
3009
+ "name": "form",
3186
3010
  "type": {
3187
- "text": "UmRipple"
3011
+ "text": "HTMLFormElement | null"
3188
3012
  },
3189
- "privacy": "private",
3190
3013
  "inheritedFrom": {
3191
- "name": "UmButtonWrapper",
3192
- "module": "src/shared/button-wrapper.ts"
3014
+ "name": "UmSelectionControl",
3015
+ "module": "src/shared/selection-control/selection-control.ts"
3193
3016
  }
3194
3017
  },
3195
3018
  {
3196
3019
  "kind": "field",
3197
- "name": "innerRole",
3020
+ "name": "#checked",
3021
+ "privacy": "private",
3198
3022
  "type": {
3199
- "text": "string | null"
3023
+ "text": "boolean"
3200
3024
  },
3201
- "privacy": "protected",
3202
- "default": "null",
3025
+ "default": "false",
3203
3026
  "inheritedFrom": {
3204
- "name": "UmButtonWrapper",
3205
- "module": "src/shared/button-wrapper.ts"
3027
+ "name": "UmSelectionControl",
3028
+ "module": "src/shared/selection-control/selection-control.ts"
3206
3029
  }
3207
3030
  },
3208
3031
  {
3209
3032
  "kind": "field",
3210
- "name": "pathname",
3033
+ "name": "inputType",
3211
3034
  "type": {
3212
- "text": "string"
3035
+ "text": "'checkbox' | 'radio'"
3213
3036
  },
3037
+ "privacy": "protected",
3038
+ "default": "'checkbox'",
3214
3039
  "inheritedFrom": {
3215
- "name": "UmButtonWrapper",
3216
- "module": "src/shared/button-wrapper.ts"
3217
- }
3218
- },
3219
- {
3220
- "kind": "method",
3221
- "name": "renderButton",
3222
- "privacy": "private",
3223
- "inheritedFrom": {
3224
- "name": "UmButtonWrapper",
3225
- "module": "src/shared/button-wrapper.ts"
3226
- }
3227
- },
3228
- {
3229
- "kind": "method",
3230
- "name": "renderLink",
3231
- "privacy": "private",
3232
- "inheritedFrom": {
3233
- "name": "UmButtonWrapper",
3234
- "module": "src/shared/button-wrapper.ts"
3235
- }
3236
- },
3237
- {
3238
- "kind": "method",
3239
- "name": "focus",
3240
- "inheritedFrom": {
3241
- "name": "UmButtonWrapper",
3242
- "module": "src/shared/button-wrapper.ts"
3243
- }
3244
- },
3245
- {
3246
- "kind": "method",
3247
- "name": "blur",
3248
- "inheritedFrom": {
3249
- "name": "UmButtonWrapper",
3250
- "module": "src/shared/button-wrapper.ts"
3040
+ "name": "UmSelectionControl",
3041
+ "module": "src/shared/selection-control/selection-control.ts"
3251
3042
  }
3252
3043
  },
3253
3044
  {
3254
- "kind": "method",
3255
- "name": "getAriaLabel",
3256
- "privacy": "protected",
3257
- "return": {
3258
- "type": {
3259
- "text": "string | null"
3260
- }
3045
+ "kind": "field",
3046
+ "name": "renderRipple",
3047
+ "type": {
3048
+ "text": "boolean"
3261
3049
  },
3050
+ "privacy": "protected",
3051
+ "default": "true",
3262
3052
  "inheritedFrom": {
3263
- "name": "UmButtonWrapper",
3264
- "module": "src/shared/button-wrapper.ts"
3053
+ "name": "UmSelectionControl",
3054
+ "module": "src/shared/selection-control/selection-control.ts"
3265
3055
  }
3266
3056
  },
3267
3057
  {
3268
- "kind": "method",
3269
- "name": "innerFocusHandler",
3270
- "privacy": "private",
3271
- "return": {
3272
- "type": {
3273
- "text": "void"
3274
- }
3058
+ "kind": "field",
3059
+ "name": "value",
3060
+ "type": {
3061
+ "text": "string"
3275
3062
  },
3063
+ "default": "'on'",
3064
+ "description": "The element value to use in form submission when checked.",
3065
+ "attribute": "value",
3276
3066
  "inheritedFrom": {
3277
- "name": "UmButtonWrapper",
3278
- "module": "src/shared/button-wrapper.ts"
3067
+ "name": "UmSelectionControl",
3068
+ "module": "src/shared/selection-control/selection-control.ts"
3279
3069
  }
3280
3070
  },
3281
3071
  {
3282
3072
  "kind": "method",
3283
- "name": "#innerClickHandler",
3284
- "return": {
3285
- "type": {
3286
- "text": "void"
3287
- }
3288
- },
3073
+ "name": "#handleClick",
3289
3074
  "parameters": [
3290
3075
  {
3291
- "name": "event",
3076
+ "name": "e",
3292
3077
  "type": {
3293
- "text": "MouseEvent"
3078
+ "text": "Event"
3294
3079
  }
3295
3080
  }
3296
3081
  ],
3297
3082
  "inheritedFrom": {
3298
- "name": "UmButtonWrapper",
3299
- "module": "src/shared/button-wrapper.ts"
3300
- }
3301
- }
3302
- ],
3303
- "events": [
3304
- {
3305
- "name": "action",
3306
- "type": {
3307
- "text": "Event"
3308
- }
3309
- },
3310
- {
3311
- "name": "change",
3312
- "type": {
3313
- "text": "Event"
3083
+ "name": "UmSelectionControl",
3084
+ "module": "src/shared/selection-control/selection-control.ts"
3314
3085
  }
3315
3086
  }
3316
3087
  ],
3317
3088
  "attributes": [
3318
3089
  {
3319
- "name": "selected",
3320
- "type": {
3321
- "text": "boolean"
3322
- },
3323
- "default": "false",
3324
- "description": "Whether the chip is selected or not",
3325
- "fieldName": "selected"
3326
- },
3327
- {
3328
- "name": "elevated",
3329
- "type": {
3330
- "text": "boolean"
3331
- },
3332
- "default": "false",
3333
- "description": "Adds elevation to the chip",
3334
- "fieldName": "elevated"
3335
- },
3336
- {
3337
- "name": "toggle",
3338
- "type": {
3339
- "text": "boolean"
3340
- },
3341
- "default": "false",
3342
- "description": "When true, the chip will toggle between selected and unselected\nstates",
3343
- "fieldName": "toggle"
3344
- },
3345
- {
3346
- "name": "action",
3347
- "type": {
3348
- "text": "boolean"
3349
- },
3350
- "default": "false",
3351
- "description": "Set the trailing icon as an action",
3352
- "fieldName": "action"
3353
- },
3354
- {
3355
- "name": "has-leading-icon",
3090
+ "name": "hide-state-layer",
3356
3091
  "type": {
3357
3092
  "text": "boolean"
3358
3093
  },
3359
3094
  "default": "false",
3360
- "description": "Whether the chip has a leading icon or not\n\n_Note:_ Readonly",
3361
- "fieldName": "hasLeadingIcon"
3095
+ "fieldName": "hideStateLayer",
3096
+ "inheritedFrom": {
3097
+ "name": "UmCheckbox",
3098
+ "module": "src/checkbox/checkbox.ts"
3099
+ }
3362
3100
  },
3363
3101
  {
3364
- "name": "has-selected-icon",
3102
+ "name": "indeterminate",
3365
3103
  "type": {
3366
3104
  "text": "boolean"
3367
3105
  },
3368
- "default": "false",
3369
- "description": "Whether the chip has a selected icon or not\n\n_Note:_ Readonly",
3370
- "fieldName": "hasSelectedIcon"
3106
+ "fieldName": "indeterminate",
3107
+ "inheritedFrom": {
3108
+ "name": "UmCheckbox",
3109
+ "module": "src/checkbox/checkbox.ts"
3110
+ }
3371
3111
  },
3372
3112
  {
3373
- "name": "has-trailing-icon",
3113
+ "name": "name",
3374
3114
  "type": {
3375
- "text": "boolean"
3115
+ "text": "string | undefined"
3376
3116
  },
3377
- "default": "false",
3378
- "description": "Whether the chip has a trailing icon or not\n\n_Note:_ Readonly",
3379
- "fieldName": "hasTrailingIcon"
3117
+ "default": "''",
3118
+ "fieldName": "name",
3119
+ "inheritedFrom": {
3120
+ "name": "UmSelectionControl",
3121
+ "module": "src/shared/selection-control/selection-control.ts"
3122
+ }
3380
3123
  },
3381
3124
  {
3382
3125
  "name": "disabled",
@@ -3384,123 +3127,107 @@
3384
3127
  "text": "boolean"
3385
3128
  },
3386
3129
  "default": "false",
3387
- "description": "Whether the button is disabled or not.",
3388
3130
  "fieldName": "disabled",
3389
3131
  "inheritedFrom": {
3390
- "name": "UmButtonWrapper",
3391
- "module": "src/shared/button-wrapper.ts"
3132
+ "name": "UmSelectionControl",
3133
+ "module": "src/shared/selection-control/selection-control.ts"
3392
3134
  }
3393
3135
  },
3394
3136
  {
3395
- "name": "href",
3137
+ "name": "value",
3396
3138
  "type": {
3397
- "text": "string | undefined"
3139
+ "text": "string"
3398
3140
  },
3399
- "description": "The URL that the link button points to.",
3400
- "fieldName": "href",
3141
+ "default": "'on'",
3142
+ "description": "The element value to use in form submission when checked.",
3143
+ "fieldName": "value",
3401
3144
  "inheritedFrom": {
3402
- "name": "UmButtonWrapper",
3403
- "module": "src/shared/button-wrapper.ts"
3145
+ "name": "UmSelectionControl",
3146
+ "module": "src/shared/selection-control/selection-control.ts"
3404
3147
  }
3405
3148
  },
3406
3149
  {
3407
- "name": "target",
3150
+ "name": "checked",
3151
+ "fieldName": "checked",
3152
+ "inheritedFrom": {
3153
+ "name": "UmSelectionControl",
3154
+ "module": "src/shared/selection-control/selection-control.ts"
3155
+ }
3156
+ }
3157
+ ],
3158
+ "events": [
3159
+ {
3160
+ "name": "input",
3408
3161
  "type": {
3409
- "text": "string | undefined"
3162
+ "text": "InputEvent"
3410
3163
  },
3411
- "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
3412
- "fieldName": "target",
3413
3164
  "inheritedFrom": {
3414
- "name": "UmButtonWrapper",
3415
- "module": "src/shared/button-wrapper.ts"
3165
+ "name": "UmSelectionControl",
3166
+ "module": "src/shared/selection-control/selection-control.ts"
3416
3167
  }
3417
3168
  },
3418
3169
  {
3419
- "name": "name",
3170
+ "name": "change",
3420
3171
  "type": {
3421
- "text": "string | undefined"
3172
+ "text": "Event"
3422
3173
  },
3423
- "fieldName": "name",
3424
3174
  "inheritedFrom": {
3425
- "name": "UmButtonWrapper",
3426
- "module": "src/shared/button-wrapper.ts"
3175
+ "name": "UmSelectionControl",
3176
+ "module": "src/shared/selection-control/selection-control.ts"
3427
3177
  }
3428
3178
  }
3429
- ],
3430
- "superclass": {
3431
- "name": "UmButtonWrapper",
3432
- "module": "/src/shared/button-wrapper.js"
3433
- },
3434
- "tagName": "u-chip",
3435
- "customElement": true
3179
+ ]
3436
3180
  }
3437
3181
  ],
3438
3182
  "exports": [
3439
3183
  {
3440
3184
  "kind": "js",
3441
- "name": "UmChip",
3185
+ "name": "UmCheckboxListItem",
3442
3186
  "declaration": {
3443
- "name": "UmChip",
3444
- "module": "src/chip/chip.ts"
3187
+ "name": "UmCheckboxListItem",
3188
+ "module": "src/checkbox/checkbox-list-item.ts"
3445
3189
  }
3446
3190
  },
3447
3191
  {
3448
3192
  "kind": "custom-element-definition",
3449
- "name": "u-chip",
3193
+ "name": "u-checkbox-list-item",
3450
3194
  "declaration": {
3451
- "name": "UmChip",
3452
- "module": "src/chip/chip.ts"
3195
+ "name": "UmCheckboxListItem",
3196
+ "module": "src/checkbox/checkbox-list-item.ts"
3453
3197
  }
3454
3198
  }
3455
3199
  ]
3456
3200
  },
3457
3201
  {
3458
3202
  "kind": "javascript-module",
3459
- "path": "src/checkbox/checkbox-list-item.ts",
3203
+ "path": "src/checkbox/checkbox.styles.ts",
3204
+ "declarations": [
3205
+ {
3206
+ "kind": "variable",
3207
+ "name": "styles",
3208
+ "default": "css `\n :host {\n --_state-layer-padding: var(--u-checkbox-state-layer-padding, 4px);\n --_input-size: calc(var(--_width) - var(--_state-layer-padding) * 2);\n --_indicator-color: var(--u-checkbox-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-checkbox-indicator-unselected-color, var(--u-color-primary, rgb(103, 80, 164)));\n }\n\n :host([disabled]) {\n opacity: var(--u-checkbox-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-checkbox-indicator-disabled-color, var(--u-color-on-surface, rgb(29, 27, 32)));\n }\n\n :host {\n --_indicator-size: var(--u-checkbox-size, 1.125rem);\n --_width: var(--u-checkbox-size, 3rem);\n --_height: var(--_width);\n }\n\n .border {\n width: var(--_indicator-size);\n height: var(--_indicator-size);\n box-shadow: 0 0 0 var(--u-checkbox-indicator-border-width, 0.125rem) var(--_indicator-color) inset;\n border-radius: var(--u-checkbox-indicator-shaper-coner, 2px);\n transition: box-shadow 175ms 175ms;\n }\n\n .indicator {\n position: absolute;\n display: flex;\n justify-content: center;\n width: var(--_indicator-size);\n height: var(--_indicator-size);\n overflow: hidden;\n clip: rect(0, 0, var(--_indicator-size), 0);\n transition: clip 275ms;\n }\n .indicator::before {\n position: relative;\n top: 25%;\n box-sizing: border-box;\n display: block;\n width: 0.75rem;\n height: 0.35rem;\n content: \"\";\n border: var(--u-checkbox-indicator-border-width, 0.125rem) solid var(--u-color-on-primary, rgb(255, 255, 255));\n border-top-style: none;\n border-right-style: none;\n transform: rotate(-45deg);\n transition: border 175ms, transform 175ms;\n }\n\n input.indeterminate ~ .indicator-container .border,\n input:checked ~ .indicator-container .border {\n box-shadow: 0 0 0 calc(var(--_indicator-size) / 2) var(--_indicator-color) inset;\n transition: box-shadow 175ms;\n }\n input.indeterminate ~ .indicator-container .indicator,\n input:checked ~ .indicator-container .indicator {\n clip: rect(0, var(--_indicator-size), var(--_indicator-size), 0);\n transition: clip 175ms 175ms;\n }\n\n input.indeterminate ~ .indicator-container {\n --_indicator-color: var(--u-checkbox-indicator-indeterminate-color, var(--u-color-primary, rgb(103, 80, 164)));\n }\n input.indeterminate ~ .indicator-container .indicator::before {\n border-left-style: none;\n transform: rotate(0);\n width: 0.6rem;\n }\n`"
3209
+ }
3210
+ ],
3211
+ "exports": [
3212
+ {
3213
+ "kind": "js",
3214
+ "name": "styles",
3215
+ "declaration": {
3216
+ "name": "styles",
3217
+ "module": "src/checkbox/checkbox.styles.ts"
3218
+ }
3219
+ }
3220
+ ]
3221
+ },
3222
+ {
3223
+ "kind": "javascript-module",
3224
+ "path": "src/checkbox/checkbox.ts",
3460
3225
  "declarations": [
3461
3226
  {
3462
3227
  "kind": "class",
3463
3228
  "description": "",
3464
- "name": "UmCheckboxListItem",
3465
- "mixins": [
3466
- {
3467
- "name": "mixinSelectionControlListItem",
3468
- "module": "/src/shared/selection-control/selection-control-list-item.js"
3469
- }
3470
- ],
3471
- "superclass": {
3472
- "name": "UmCheckbox",
3473
- "module": "/src/checkbox/checkbox.js"
3474
- },
3475
- "tagName": "u-checkbox-list-item",
3476
- "customElement": true,
3229
+ "name": "UmCheckbox",
3477
3230
  "members": [
3478
- {
3479
- "kind": "field",
3480
- "name": "styles",
3481
- "type": {
3482
- "text": "array"
3483
- },
3484
- "static": true,
3485
- "default": "[\n (base as unknown as typeof LitElement).styles ?? [],\n css`:host {\n --u-list-item-block-padding: 0;\n display: block;\n }`\n ]",
3486
- "inheritedFrom": {
3487
- "name": "mixinSelectionControlListItem",
3488
- "module": "src/shared/selection-control/selection-control-list-item.ts"
3489
- }
3490
- },
3491
- {
3492
- "kind": "method",
3493
- "name": "render",
3494
- "return": {
3495
- "type": {
3496
- "text": "HTMLTemplateResult"
3497
- }
3498
- },
3499
- "inheritedFrom": {
3500
- "name": "mixinSelectionControlListItem",
3501
- "module": "src/shared/selection-control/selection-control-list-item.ts"
3502
- }
3503
- },
3504
3231
  {
3505
3232
  "kind": "field",
3506
3233
  "name": "#indeterminate",
@@ -3508,11 +3235,7 @@
3508
3235
  "type": {
3509
3236
  "text": "boolean"
3510
3237
  },
3511
- "default": "false",
3512
- "inheritedFrom": {
3513
- "name": "UmCheckbox",
3514
- "module": "src/checkbox/checkbox.ts"
3515
- }
3238
+ "default": "false"
3516
3239
  },
3517
3240
  {
3518
3241
  "kind": "field",
@@ -3522,11 +3245,7 @@
3522
3245
  },
3523
3246
  "default": "false",
3524
3247
  "attribute": "hide-state-layer",
3525
- "reflects": true,
3526
- "inheritedFrom": {
3527
- "name": "UmCheckbox",
3528
- "module": "src/checkbox/checkbox.ts"
3529
- }
3248
+ "reflects": true
3530
3249
  },
3531
3250
  {
3532
3251
  "kind": "field",
@@ -3534,11 +3253,7 @@
3534
3253
  "type": {
3535
3254
  "text": "boolean"
3536
3255
  },
3537
- "attribute": "indeterminate",
3538
- "inheritedFrom": {
3539
- "name": "UmCheckbox",
3540
- "module": "src/checkbox/checkbox.ts"
3541
- }
3256
+ "attribute": "indeterminate"
3542
3257
  },
3543
3258
  {
3544
3259
  "kind": "field",
@@ -3717,22 +3432,14 @@
3717
3432
  "text": "boolean"
3718
3433
  },
3719
3434
  "default": "false",
3720
- "fieldName": "hideStateLayer",
3721
- "inheritedFrom": {
3722
- "name": "UmCheckbox",
3723
- "module": "src/checkbox/checkbox.ts"
3724
- }
3435
+ "fieldName": "hideStateLayer"
3725
3436
  },
3726
3437
  {
3727
3438
  "name": "indeterminate",
3728
3439
  "type": {
3729
3440
  "text": "boolean"
3730
3441
  },
3731
- "fieldName": "indeterminate",
3732
- "inheritedFrom": {
3733
- "name": "UmCheckbox",
3734
- "module": "src/checkbox/checkbox.ts"
3735
- }
3442
+ "fieldName": "indeterminate"
3736
3443
  },
3737
3444
  {
3738
3445
  "name": "name",
@@ -3780,6 +3487,12 @@
3780
3487
  }
3781
3488
  }
3782
3489
  ],
3490
+ "superclass": {
3491
+ "name": "UmSelectionControl",
3492
+ "module": "/src/shared/selection-control/selection-control.js"
3493
+ },
3494
+ "tagName": "u-checkbox",
3495
+ "customElement": true,
3783
3496
  "events": [
3784
3497
  {
3785
3498
  "name": "input",
@@ -3792,13 +3505,101 @@
3792
3505
  }
3793
3506
  },
3794
3507
  {
3795
- "name": "change",
3508
+ "name": "change",
3509
+ "type": {
3510
+ "text": "Event"
3511
+ },
3512
+ "inheritedFrom": {
3513
+ "name": "UmSelectionControl",
3514
+ "module": "src/shared/selection-control/selection-control.ts"
3515
+ }
3516
+ }
3517
+ ]
3518
+ }
3519
+ ],
3520
+ "exports": [
3521
+ {
3522
+ "kind": "js",
3523
+ "name": "UmCheckbox",
3524
+ "declaration": {
3525
+ "name": "UmCheckbox",
3526
+ "module": "src/checkbox/checkbox.ts"
3527
+ }
3528
+ },
3529
+ {
3530
+ "kind": "custom-element-definition",
3531
+ "name": "u-checkbox",
3532
+ "declaration": {
3533
+ "name": "UmCheckbox",
3534
+ "module": "src/checkbox/checkbox.ts"
3535
+ }
3536
+ }
3537
+ ]
3538
+ },
3539
+ {
3540
+ "kind": "javascript-module",
3541
+ "path": "src/chip/chip-set.styles.ts",
3542
+ "declarations": [
3543
+ {
3544
+ "kind": "variable",
3545
+ "name": "styles",
3546
+ "default": "css `\n :host {\n display: flex;\n gap: 8px;\n align-items: center;\n flex-wrap: nowrap;\n }\n\n :host([alignment=start]) {\n justify-content: flex-start;\n }\n\n :host([alignment=center]) {\n justify-content: center;\n }\n\n :host([alignment=end]) {\n justify-content: flex-end;\n }\n\n :host {\n flex-wrap: wrap;\n }\n`"
3547
+ }
3548
+ ],
3549
+ "exports": [
3550
+ {
3551
+ "kind": "js",
3552
+ "name": "styles",
3553
+ "declaration": {
3554
+ "name": "styles",
3555
+ "module": "src/chip/chip-set.styles.ts"
3556
+ }
3557
+ }
3558
+ ]
3559
+ },
3560
+ {
3561
+ "kind": "javascript-module",
3562
+ "path": "src/chip/chip-set.ts",
3563
+ "declarations": [
3564
+ {
3565
+ "kind": "class",
3566
+ "description": "",
3567
+ "name": "UmChipSet",
3568
+ "members": [
3569
+ {
3570
+ "kind": "field",
3571
+ "name": "alignment",
3572
+ "type": {
3573
+ "text": "'start' | 'center' | 'end'"
3574
+ },
3575
+ "default": "'start'",
3576
+ "description": "Set the alignment of the set at the `start`, `center` or at the `end`.",
3577
+ "attribute": "alignment",
3578
+ "reflects": true,
3579
+ "inheritedFrom": {
3580
+ "name": "UmSetBase",
3581
+ "module": "src/shared/sets/set-base.ts"
3582
+ }
3583
+ }
3584
+ ],
3585
+ "superclass": {
3586
+ "name": "UmSetBase",
3587
+ "module": "/src/shared/sets/set-base.js"
3588
+ },
3589
+ "tagName": "u-chip-set",
3590
+ "customElement": true,
3591
+ "attributes": [
3592
+ {
3593
+ "name": "alignment",
3796
3594
  "type": {
3797
- "text": "Event"
3595
+ "text": "'start' | 'center' | 'end'"
3798
3596
  },
3597
+ "default": "'start'",
3598
+ "description": "Set the alignment of the set at the `start`, `center` or at the `end`.",
3599
+ "fieldName": "alignment",
3799
3600
  "inheritedFrom": {
3800
- "name": "UmSelectionControl",
3801
- "module": "src/shared/selection-control/selection-control.ts"
3601
+ "name": "UmSetBase",
3602
+ "module": "src/shared/sets/set-base.ts"
3802
3603
  }
3803
3604
  }
3804
3605
  ]
@@ -3807,30 +3608,30 @@
3807
3608
  "exports": [
3808
3609
  {
3809
3610
  "kind": "js",
3810
- "name": "UmCheckboxListItem",
3611
+ "name": "UmChipSet",
3811
3612
  "declaration": {
3812
- "name": "UmCheckboxListItem",
3813
- "module": "src/checkbox/checkbox-list-item.ts"
3613
+ "name": "UmChipSet",
3614
+ "module": "src/chip/chip-set.ts"
3814
3615
  }
3815
3616
  },
3816
3617
  {
3817
3618
  "kind": "custom-element-definition",
3818
- "name": "u-checkbox-list-item",
3619
+ "name": "u-chip-set",
3819
3620
  "declaration": {
3820
- "name": "UmCheckboxListItem",
3821
- "module": "src/checkbox/checkbox-list-item.ts"
3621
+ "name": "UmChipSet",
3622
+ "module": "src/chip/chip-set.ts"
3822
3623
  }
3823
3624
  }
3824
3625
  ]
3825
3626
  },
3826
3627
  {
3827
3628
  "kind": "javascript-module",
3828
- "path": "src/checkbox/checkbox.styles.ts",
3629
+ "path": "src/chip/chip.styles.ts",
3829
3630
  "declarations": [
3830
3631
  {
3831
3632
  "kind": "variable",
3832
3633
  "name": "styles",
3833
- "default": "css `\n :host {\n --_state-layer-padding: var(--u-checkbox-state-layer-padding, 4px);\n --_input-size: calc(var(--_width) - var(--_state-layer-padding) * 2);\n --_indicator-color: var(--u-checkbox-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-checkbox-indicator-unselected-color, var(--u-color-primary, rgb(103, 80, 164)));\n }\n\n :host([disabled]) {\n opacity: var(--u-checkbox-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-checkbox-indicator-disabled-color, var(--u-color-on-surface, rgb(29, 27, 32)));\n }\n\n :host {\n --_indicator-size: var(--u-checkbox-size, 1.125rem);\n --_width: var(--u-checkbox-size, 3rem);\n --_height: var(--_width);\n }\n\n .border {\n width: var(--_indicator-size);\n height: var(--_indicator-size);\n box-shadow: 0 0 0 var(--u-checkbox-indicator-border-width, 0.125rem) var(--_indicator-color) inset;\n border-radius: var(--u-checkbox-indicator-shaper-coner, 2px);\n transition: box-shadow 175ms 175ms;\n }\n\n .indicator {\n position: absolute;\n display: flex;\n justify-content: center;\n width: var(--_indicator-size);\n height: var(--_indicator-size);\n overflow: hidden;\n clip: rect(0, 0, var(--_indicator-size), 0);\n transition: clip 275ms;\n }\n .indicator::before {\n position: relative;\n top: 25%;\n box-sizing: border-box;\n display: block;\n width: 0.75rem;\n height: 0.35rem;\n content: \"\";\n border: var(--u-checkbox-indicator-border-width, 0.125rem) solid var(--u-color-on-primary, rgb(255, 255, 255));\n border-top-style: none;\n border-right-style: none;\n transform: rotate(-45deg);\n transition: border 175ms, transform 175ms;\n }\n\n input.indeterminate ~ .indicator-container .border,\n input:checked ~ .indicator-container .border {\n box-shadow: 0 0 0 calc(var(--_indicator-size) / 2) var(--_indicator-color) inset;\n transition: box-shadow 175ms;\n }\n input.indeterminate ~ .indicator-container .indicator,\n input:checked ~ .indicator-container .indicator {\n clip: rect(0, var(--_indicator-size), var(--_indicator-size), 0);\n transition: clip 175ms 175ms;\n }\n\n input.indeterminate ~ .indicator-container {\n --_indicator-color: var(--u-checkbox-indicator-indeterminate-color, var(--u-color-primary, rgb(103, 80, 164)));\n }\n input.indeterminate ~ .indicator-container .indicator::before {\n border-left-style: none;\n transform: rotate(0);\n width: 0.6rem;\n }\n`"
3634
+ "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 :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 border-radius: inherit;\n width: 100%;\n height: 100%;\n }\n\n :host {\n --_height: var(--u-chip-height, 32px);\n --_outline-width: var(--u-chip-outline-width, 1px);\n --_outline-color: var(--u-chip-outline-color, var(--u-color-outline, rgb(121, 116, 126)));\n --_shape: var(--u-chip-shape, var(--u-shape-corner-small, 8px));\n --_gap: var(--u-chip-gap, 8px);\n --_icon-size: var(--u-chip-icon-size, 1.125rem);\n --_action-margin: var(--u-chip-action-margin, 2px);\n --_action-size: calc(var(--_height) - var(--_action-margin) * 2);\n display: inline-block;\n height: var(--_height);\n border-radius: var(--_shape);\n }\n\n :host(:not([disabled])) {\n cursor: pointer;\n }\n\n :host(:not([disabled]):not([elevated]):not([selected])) .outline {\n border: var(--_outline-width) solid var(--_outline-color);\n }\n\n :host([elevated]:not([disabled])) {\n --u-elevation-level: var(--u-elevated-chip-elevation-level, 1);\n }\n\n @media (hover: hover) {\n :host([elevated]:not([disabled]):hover) {\n --u-elevation-level: var(--u-elevated-chip-hover-elevation-level, 2);\n }\n }\n .outline {\n position: absolute;\n inset: 0;\n border-radius: inherit;\n pointer-events: none;\n }\n\n .container {\n display: flex;\n align-items: center;\n border-radius: inherit;\n height: 100%;\n padding-inline: var(--u-chip-padding, 16px);\n gap: var(--_gap);\n }\n\n .icon {\n width: var(--_icon-size);\n height: var(--_icon-size);\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: var(--_icon-size);\n }\n\n .leading {\n color: var(--u-chip-leading-icon-color, var(--u-color-primary, rgb(103, 80, 164)));\n }\n\n .trailing {\n color: var(--u-chip-trailing-icon-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n }\n\n .label {\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-chip-label-line-height, var(--u-label-l-line-height, 1.25rem));\n font-size: var(--u-chip-label-font-size, var(--u-label-l-font-size, 0.875rem));\n letter-spacing: var(--u-chip-label-letter-spacing, var(--u-label-l-letter-spacing, 0.0071428571rem));\n font-weight: var(--u-chip-label-font-weight, var(--u-label-l-font-weight, var(--u-font-weight-medium, 500)));\n }\n\n .action {\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n width: var(--_action-size);\n height: var(--_action-size);\n cursor: pointer;\n padding: 0;\n margin: 0;\n margin-inline: calc((var(--_action-size) - var(--_icon-size)) * -0.5);\n background: gray;\n border: none;\n border-radius: var(--u-chip-action-border-radius, var(--u-shape-corner-full, 9999px));\n background: none;\n appearance: none;\n outline: 0;\n outline-offset: 0;\n z-index: 1;\n }\n\n ::slotted([slot=leading-icon]),\n ::slotted([slot=trailing-icon]) {\n font-size: inherit !important;\n }\n\n slot[name=selected-icon] {\n display: none;\n }\n\n :host([selected][has-selected-icon]) slot[name=leading-icon] {\n display: none;\n }\n :host([selected][has-selected-icon]) slot[name=selected-icon] {\n display: flex;\n }\n\n :host([selected]:not([disabled])) {\n background-color: var(--u-chip-selected-background-color, var(--u-color-secondary-container, rgb(232, 222, 248)));\n }\n :host([selected]:not([disabled])) .leading {\n color: var(--u-chip-selected-leading-icon-color, var(--u-color-on-secondary-container, rgb(29, 25, 43)));\n }\n :host([selected]:not([disabled])) .trailing {\n color: var(--u-chip-selected-trailing-icon-color, var(--u-color-on-secondary-container, rgb(29, 25, 43)));\n }\n\n :host([has-leading-icon]) .container {\n padding-inline-start: var(--_gap);\n }\n\n :host([has-trailing-icon]) .container {\n padding-inline-end: var(--_gap);\n }\n\n :host(:not([has-leading-icon])) .leading {\n display: none;\n }\n\n :host(:not([has-trailing-icon])) .trailing,\n :host(:not([has-trailing-icon])) .action {\n display: none;\n }\n`"
3834
3635
  }
3835
3636
  ],
3836
3637
  "exports": [
@@ -3839,62 +3640,177 @@
3839
3640
  "name": "styles",
3840
3641
  "declaration": {
3841
3642
  "name": "styles",
3842
- "module": "src/checkbox/checkbox.styles.ts"
3643
+ "module": "src/chip/chip.styles.ts"
3843
3644
  }
3844
3645
  }
3845
3646
  ]
3846
3647
  },
3847
3648
  {
3848
3649
  "kind": "javascript-module",
3849
- "path": "src/checkbox/checkbox.ts",
3650
+ "path": "src/chip/chip.ts",
3850
3651
  "declarations": [
3851
3652
  {
3852
3653
  "kind": "class",
3853
3654
  "description": "",
3854
- "name": "UmCheckbox",
3655
+ "name": "UmChip",
3855
3656
  "members": [
3856
3657
  {
3857
3658
  "kind": "field",
3858
- "name": "#indeterminate",
3859
- "privacy": "private",
3659
+ "name": "selected",
3860
3660
  "type": {
3861
3661
  "text": "boolean"
3862
3662
  },
3863
- "default": "false"
3663
+ "default": "false",
3664
+ "description": "Whether the chip is selected or not",
3665
+ "attribute": "selected",
3666
+ "reflects": true
3864
3667
  },
3865
3668
  {
3866
3669
  "kind": "field",
3867
- "name": "hideStateLayer",
3670
+ "name": "elevated",
3868
3671
  "type": {
3869
3672
  "text": "boolean"
3870
3673
  },
3871
3674
  "default": "false",
3872
- "attribute": "hide-state-layer",
3675
+ "description": "Adds elevation to the chip",
3676
+ "attribute": "elevated",
3873
3677
  "reflects": true
3874
3678
  },
3875
3679
  {
3876
3680
  "kind": "field",
3877
- "name": "indeterminate",
3681
+ "name": "toggle",
3878
3682
  "type": {
3879
3683
  "text": "boolean"
3880
3684
  },
3881
- "attribute": "indeterminate"
3685
+ "default": "false",
3686
+ "description": "When true, the chip will toggle between selected and unselected\nstates",
3687
+ "attribute": "toggle",
3688
+ "reflects": true
3882
3689
  },
3883
3690
  {
3884
3691
  "kind": "field",
3885
- "name": "checked",
3886
- "attribute": "checked",
3692
+ "name": "action",
3693
+ "type": {
3694
+ "text": "boolean"
3695
+ },
3696
+ "default": "false",
3697
+ "description": "Set the trailing icon as an action",
3698
+ "attribute": "action",
3699
+ "reflects": true
3700
+ },
3701
+ {
3702
+ "kind": "field",
3703
+ "name": "hasLeadingIcon",
3704
+ "type": {
3705
+ "text": "boolean"
3706
+ },
3707
+ "default": "false",
3708
+ "description": "Whether the chip has a leading icon or not\n\n_Note:_ Readonly",
3709
+ "attribute": "has-leading-icon",
3710
+ "reflects": true
3711
+ },
3712
+ {
3713
+ "kind": "field",
3714
+ "name": "hasSelectedIcon",
3715
+ "type": {
3716
+ "text": "boolean"
3717
+ },
3718
+ "default": "false",
3719
+ "description": "Whether the chip has a selected icon or not\n\n_Note:_ Readonly",
3720
+ "attribute": "has-selected-icon",
3721
+ "reflects": true
3722
+ },
3723
+ {
3724
+ "kind": "field",
3725
+ "name": "hasTrailingIcon",
3887
3726
  "type": {
3888
3727
  "text": "boolean"
3889
3728
  },
3729
+ "default": "false",
3730
+ "description": "Whether the chip has a trailing icon or not\n\n_Note:_ Readonly",
3731
+ "attribute": "has-trailing-icon",
3732
+ "reflects": true
3733
+ },
3734
+ {
3735
+ "kind": "field",
3736
+ "name": "assignedLeadingIcons",
3737
+ "type": {
3738
+ "text": "HTMLElement[]"
3739
+ },
3740
+ "privacy": "private"
3741
+ },
3742
+ {
3743
+ "kind": "field",
3744
+ "name": "assignedSelectedIcons",
3745
+ "type": {
3746
+ "text": "HTMLElement[]"
3747
+ },
3748
+ "privacy": "private"
3749
+ },
3750
+ {
3751
+ "kind": "field",
3752
+ "name": "assignedTrailingIcons",
3753
+ "type": {
3754
+ "text": "HTMLElement[]"
3755
+ },
3756
+ "privacy": "private"
3757
+ },
3758
+ {
3759
+ "kind": "field",
3760
+ "name": "actionRipple",
3761
+ "type": {
3762
+ "text": "UmRipple"
3763
+ }
3764
+ },
3765
+ {
3766
+ "kind": "method",
3767
+ "name": "#handleActionClick",
3768
+ "parameters": [
3769
+ {
3770
+ "name": "e",
3771
+ "type": {
3772
+ "text": "Event"
3773
+ }
3774
+ }
3775
+ ]
3776
+ },
3777
+ {
3778
+ "kind": "method",
3779
+ "name": "#handleTrailingIconSlotChange"
3780
+ },
3781
+ {
3782
+ "kind": "method",
3783
+ "name": "#handleLeadingIconSlotChange"
3784
+ },
3785
+ {
3786
+ "kind": "method",
3787
+ "name": "#handleSelectedIconSlotChange"
3788
+ },
3789
+ {
3790
+ "kind": "method",
3791
+ "name": "handleClick",
3792
+ "privacy": "protected",
3793
+ "return": {
3794
+ "type": {
3795
+ "text": "void"
3796
+ }
3797
+ },
3798
+ "parameters": [
3799
+ {
3800
+ "name": "event",
3801
+ "type": {
3802
+ "text": "UIEvent"
3803
+ }
3804
+ }
3805
+ ],
3890
3806
  "inheritedFrom": {
3891
- "name": "UmSelectionControl",
3892
- "module": "src/shared/selection-control/selection-control.ts"
3807
+ "name": "UmButtonWrapper",
3808
+ "module": "src/shared/button-wrapper.ts"
3893
3809
  }
3894
3810
  },
3895
3811
  {
3896
3812
  "kind": "method",
3897
- "name": "renderIndicator",
3813
+ "name": "renderContent",
3898
3814
  "privacy": "protected",
3899
3815
  "return": {
3900
3816
  "type": {
@@ -3902,33 +3818,49 @@
3902
3818
  }
3903
3819
  },
3904
3820
  "inheritedFrom": {
3905
- "name": "UmSelectionControl",
3906
- "module": "src/shared/selection-control/selection-control.ts"
3821
+ "name": "UmButtonWrapper",
3822
+ "module": "src/shared/button-wrapper.ts"
3907
3823
  }
3908
3824
  },
3909
3825
  {
3910
3826
  "kind": "field",
3911
- "name": "formAssociated",
3827
+ "name": "disabled",
3912
3828
  "type": {
3913
3829
  "text": "boolean"
3914
3830
  },
3915
- "static": true,
3916
- "default": "true",
3831
+ "default": "false",
3832
+ "description": "Whether the button is disabled or not.",
3833
+ "attribute": "disabled",
3834
+ "reflects": true,
3917
3835
  "inheritedFrom": {
3918
- "name": "UmSelectionControl",
3919
- "module": "src/shared/selection-control/selection-control.ts"
3836
+ "name": "UmButtonWrapper",
3837
+ "module": "src/shared/button-wrapper.ts"
3920
3838
  }
3921
3839
  },
3922
3840
  {
3923
3841
  "kind": "field",
3924
- "name": "elementInternals",
3842
+ "name": "href",
3925
3843
  "type": {
3926
- "text": "ElementInternals"
3844
+ "text": "string | undefined"
3927
3845
  },
3928
- "privacy": "protected",
3846
+ "description": "The URL that the link button points to.",
3847
+ "attribute": "href",
3929
3848
  "inheritedFrom": {
3930
- "name": "UmSelectionControl",
3931
- "module": "src/shared/selection-control/selection-control.ts"
3849
+ "name": "UmButtonWrapper",
3850
+ "module": "src/shared/button-wrapper.ts"
3851
+ }
3852
+ },
3853
+ {
3854
+ "kind": "field",
3855
+ "name": "target",
3856
+ "type": {
3857
+ "text": "string | undefined"
3858
+ },
3859
+ "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
3860
+ "attribute": "target",
3861
+ "inheritedFrom": {
3862
+ "name": "UmButtonWrapper",
3863
+ "module": "src/shared/button-wrapper.ts"
3932
3864
  }
3933
3865
  },
3934
3866
  {
@@ -3937,146 +3869,221 @@
3937
3869
  "type": {
3938
3870
  "text": "string | undefined"
3939
3871
  },
3940
- "default": "''",
3941
3872
  "attribute": "name",
3942
3873
  "inheritedFrom": {
3943
- "name": "UmSelectionControl",
3944
- "module": "src/shared/selection-control/selection-control.ts"
3874
+ "name": "UmButtonWrapper",
3875
+ "module": "src/shared/button-wrapper.ts"
3945
3876
  }
3946
3877
  },
3947
3878
  {
3948
3879
  "kind": "field",
3949
- "name": "disabled",
3880
+ "name": "buttonElement",
3950
3881
  "type": {
3951
- "text": "boolean"
3882
+ "text": "HTMLElement"
3952
3883
  },
3953
- "default": "false",
3954
- "attribute": "disabled",
3955
- "reflects": true,
3884
+ "privacy": "protected",
3885
+ "inheritedFrom": {
3886
+ "name": "UmButtonWrapper",
3887
+ "module": "src/shared/button-wrapper.ts"
3888
+ }
3889
+ },
3890
+ {
3891
+ "kind": "field",
3892
+ "name": "ripple",
3893
+ "type": {
3894
+ "text": "UmRipple"
3895
+ },
3896
+ "privacy": "private",
3897
+ "inheritedFrom": {
3898
+ "name": "UmButtonWrapper",
3899
+ "module": "src/shared/button-wrapper.ts"
3900
+ }
3901
+ },
3902
+ {
3903
+ "kind": "field",
3904
+ "name": "innerRole",
3905
+ "type": {
3906
+ "text": "string | null"
3907
+ },
3908
+ "privacy": "protected",
3909
+ "default": "null",
3956
3910
  "inheritedFrom": {
3957
- "name": "UmSelectionControl",
3958
- "module": "src/shared/selection-control/selection-control.ts"
3911
+ "name": "UmButtonWrapper",
3912
+ "module": "src/shared/button-wrapper.ts"
3959
3913
  }
3960
3914
  },
3961
3915
  {
3962
3916
  "kind": "field",
3963
- "name": "input",
3917
+ "name": "pathname",
3964
3918
  "type": {
3965
- "text": "HTMLInputElement"
3919
+ "text": "string"
3966
3920
  },
3967
3921
  "inheritedFrom": {
3968
- "name": "UmSelectionControl",
3969
- "module": "src/shared/selection-control/selection-control.ts"
3922
+ "name": "UmButtonWrapper",
3923
+ "module": "src/shared/button-wrapper.ts"
3970
3924
  }
3971
3925
  },
3972
3926
  {
3973
- "kind": "field",
3974
- "name": "form",
3975
- "type": {
3976
- "text": "HTMLFormElement | null"
3977
- },
3927
+ "kind": "method",
3928
+ "name": "renderButton",
3929
+ "privacy": "private",
3978
3930
  "inheritedFrom": {
3979
- "name": "UmSelectionControl",
3980
- "module": "src/shared/selection-control/selection-control.ts"
3931
+ "name": "UmButtonWrapper",
3932
+ "module": "src/shared/button-wrapper.ts"
3981
3933
  }
3982
3934
  },
3983
3935
  {
3984
- "kind": "field",
3985
- "name": "#checked",
3936
+ "kind": "method",
3937
+ "name": "renderLink",
3986
3938
  "privacy": "private",
3987
- "type": {
3988
- "text": "boolean"
3989
- },
3990
- "default": "false",
3991
3939
  "inheritedFrom": {
3992
- "name": "UmSelectionControl",
3993
- "module": "src/shared/selection-control/selection-control.ts"
3940
+ "name": "UmButtonWrapper",
3941
+ "module": "src/shared/button-wrapper.ts"
3994
3942
  }
3995
3943
  },
3996
3944
  {
3997
- "kind": "field",
3998
- "name": "inputType",
3999
- "type": {
4000
- "text": "'checkbox' | 'radio'"
4001
- },
4002
- "privacy": "protected",
4003
- "default": "'checkbox'",
3945
+ "kind": "method",
3946
+ "name": "focus",
4004
3947
  "inheritedFrom": {
4005
- "name": "UmSelectionControl",
4006
- "module": "src/shared/selection-control/selection-control.ts"
3948
+ "name": "UmButtonWrapper",
3949
+ "module": "src/shared/button-wrapper.ts"
4007
3950
  }
4008
3951
  },
4009
3952
  {
4010
- "kind": "field",
4011
- "name": "renderRipple",
4012
- "type": {
4013
- "text": "boolean"
4014
- },
3953
+ "kind": "method",
3954
+ "name": "blur",
3955
+ "inheritedFrom": {
3956
+ "name": "UmButtonWrapper",
3957
+ "module": "src/shared/button-wrapper.ts"
3958
+ }
3959
+ },
3960
+ {
3961
+ "kind": "method",
3962
+ "name": "getAriaLabel",
4015
3963
  "privacy": "protected",
4016
- "default": "true",
3964
+ "return": {
3965
+ "type": {
3966
+ "text": "string | null"
3967
+ }
3968
+ },
4017
3969
  "inheritedFrom": {
4018
- "name": "UmSelectionControl",
4019
- "module": "src/shared/selection-control/selection-control.ts"
3970
+ "name": "UmButtonWrapper",
3971
+ "module": "src/shared/button-wrapper.ts"
4020
3972
  }
4021
3973
  },
4022
3974
  {
4023
- "kind": "field",
4024
- "name": "value",
4025
- "type": {
4026
- "text": "string"
3975
+ "kind": "method",
3976
+ "name": "innerFocusHandler",
3977
+ "privacy": "private",
3978
+ "return": {
3979
+ "type": {
3980
+ "text": "void"
3981
+ }
4027
3982
  },
4028
- "default": "'on'",
4029
- "description": "The element value to use in form submission when checked.",
4030
- "attribute": "value",
4031
3983
  "inheritedFrom": {
4032
- "name": "UmSelectionControl",
4033
- "module": "src/shared/selection-control/selection-control.ts"
3984
+ "name": "UmButtonWrapper",
3985
+ "module": "src/shared/button-wrapper.ts"
4034
3986
  }
4035
3987
  },
4036
3988
  {
4037
3989
  "kind": "method",
4038
- "name": "#handleClick",
3990
+ "name": "#innerClickHandler",
3991
+ "return": {
3992
+ "type": {
3993
+ "text": "void"
3994
+ }
3995
+ },
4039
3996
  "parameters": [
4040
3997
  {
4041
- "name": "e",
3998
+ "name": "event",
4042
3999
  "type": {
4043
- "text": "Event"
4000
+ "text": "MouseEvent"
4044
4001
  }
4045
4002
  }
4046
4003
  ],
4047
4004
  "inheritedFrom": {
4048
- "name": "UmSelectionControl",
4049
- "module": "src/shared/selection-control/selection-control.ts"
4005
+ "name": "UmButtonWrapper",
4006
+ "module": "src/shared/button-wrapper.ts"
4007
+ }
4008
+ }
4009
+ ],
4010
+ "events": [
4011
+ {
4012
+ "name": "action",
4013
+ "type": {
4014
+ "text": "Event"
4015
+ }
4016
+ },
4017
+ {
4018
+ "name": "change",
4019
+ "type": {
4020
+ "text": "Event"
4050
4021
  }
4051
4022
  }
4052
4023
  ],
4053
4024
  "attributes": [
4054
4025
  {
4055
- "name": "hide-state-layer",
4026
+ "name": "selected",
4056
4027
  "type": {
4057
4028
  "text": "boolean"
4058
4029
  },
4059
4030
  "default": "false",
4060
- "fieldName": "hideStateLayer"
4031
+ "description": "Whether the chip is selected or not",
4032
+ "fieldName": "selected"
4061
4033
  },
4062
4034
  {
4063
- "name": "indeterminate",
4035
+ "name": "elevated",
4064
4036
  "type": {
4065
4037
  "text": "boolean"
4066
4038
  },
4067
- "fieldName": "indeterminate"
4039
+ "default": "false",
4040
+ "description": "Adds elevation to the chip",
4041
+ "fieldName": "elevated"
4068
4042
  },
4069
4043
  {
4070
- "name": "name",
4044
+ "name": "toggle",
4071
4045
  "type": {
4072
- "text": "string | undefined"
4046
+ "text": "boolean"
4073
4047
  },
4074
- "default": "''",
4075
- "fieldName": "name",
4076
- "inheritedFrom": {
4077
- "name": "UmSelectionControl",
4078
- "module": "src/shared/selection-control/selection-control.ts"
4079
- }
4048
+ "default": "false",
4049
+ "description": "When true, the chip will toggle between selected and unselected\nstates",
4050
+ "fieldName": "toggle"
4051
+ },
4052
+ {
4053
+ "name": "action",
4054
+ "type": {
4055
+ "text": "boolean"
4056
+ },
4057
+ "default": "false",
4058
+ "description": "Set the trailing icon as an action",
4059
+ "fieldName": "action"
4060
+ },
4061
+ {
4062
+ "name": "has-leading-icon",
4063
+ "type": {
4064
+ "text": "boolean"
4065
+ },
4066
+ "default": "false",
4067
+ "description": "Whether the chip has a leading icon or not\n\n_Note:_ Readonly",
4068
+ "fieldName": "hasLeadingIcon"
4069
+ },
4070
+ {
4071
+ "name": "has-selected-icon",
4072
+ "type": {
4073
+ "text": "boolean"
4074
+ },
4075
+ "default": "false",
4076
+ "description": "Whether the chip has a selected icon or not\n\n_Note:_ Readonly",
4077
+ "fieldName": "hasSelectedIcon"
4078
+ },
4079
+ {
4080
+ "name": "has-trailing-icon",
4081
+ "type": {
4082
+ "text": "boolean"
4083
+ },
4084
+ "default": "false",
4085
+ "description": "Whether the chip has a trailing icon or not\n\n_Note:_ Readonly",
4086
+ "fieldName": "hasTrailingIcon"
4080
4087
  },
4081
4088
  {
4082
4089
  "name": "disabled",
@@ -4084,79 +4091,72 @@
4084
4091
  "text": "boolean"
4085
4092
  },
4086
4093
  "default": "false",
4094
+ "description": "Whether the button is disabled or not.",
4087
4095
  "fieldName": "disabled",
4088
4096
  "inheritedFrom": {
4089
- "name": "UmSelectionControl",
4090
- "module": "src/shared/selection-control/selection-control.ts"
4097
+ "name": "UmButtonWrapper",
4098
+ "module": "src/shared/button-wrapper.ts"
4091
4099
  }
4092
4100
  },
4093
4101
  {
4094
- "name": "value",
4102
+ "name": "href",
4095
4103
  "type": {
4096
- "text": "string"
4104
+ "text": "string | undefined"
4097
4105
  },
4098
- "default": "'on'",
4099
- "description": "The element value to use in form submission when checked.",
4100
- "fieldName": "value",
4106
+ "description": "The URL that the link button points to.",
4107
+ "fieldName": "href",
4101
4108
  "inheritedFrom": {
4102
- "name": "UmSelectionControl",
4103
- "module": "src/shared/selection-control/selection-control.ts"
4109
+ "name": "UmButtonWrapper",
4110
+ "module": "src/shared/button-wrapper.ts"
4104
4111
  }
4105
4112
  },
4106
4113
  {
4107
- "name": "checked",
4108
- "fieldName": "checked",
4109
- "inheritedFrom": {
4110
- "name": "UmSelectionControl",
4111
- "module": "src/shared/selection-control/selection-control.ts"
4112
- }
4113
- }
4114
- ],
4115
- "superclass": {
4116
- "name": "UmSelectionControl",
4117
- "module": "/src/shared/selection-control/selection-control.js"
4118
- },
4119
- "tagName": "u-checkbox",
4120
- "customElement": true,
4121
- "events": [
4122
- {
4123
- "name": "input",
4114
+ "name": "target",
4124
4115
  "type": {
4125
- "text": "InputEvent"
4116
+ "text": "string | undefined"
4126
4117
  },
4118
+ "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
4119
+ "fieldName": "target",
4127
4120
  "inheritedFrom": {
4128
- "name": "UmSelectionControl",
4129
- "module": "src/shared/selection-control/selection-control.ts"
4121
+ "name": "UmButtonWrapper",
4122
+ "module": "src/shared/button-wrapper.ts"
4130
4123
  }
4131
4124
  },
4132
4125
  {
4133
- "name": "change",
4126
+ "name": "name",
4134
4127
  "type": {
4135
- "text": "Event"
4128
+ "text": "string | undefined"
4136
4129
  },
4130
+ "fieldName": "name",
4137
4131
  "inheritedFrom": {
4138
- "name": "UmSelectionControl",
4139
- "module": "src/shared/selection-control/selection-control.ts"
4132
+ "name": "UmButtonWrapper",
4133
+ "module": "src/shared/button-wrapper.ts"
4140
4134
  }
4141
4135
  }
4142
- ]
4136
+ ],
4137
+ "superclass": {
4138
+ "name": "UmButtonWrapper",
4139
+ "module": "/src/shared/button-wrapper.js"
4140
+ },
4141
+ "tagName": "u-chip",
4142
+ "customElement": true
4143
4143
  }
4144
4144
  ],
4145
4145
  "exports": [
4146
4146
  {
4147
4147
  "kind": "js",
4148
- "name": "UmCheckbox",
4148
+ "name": "UmChip",
4149
4149
  "declaration": {
4150
- "name": "UmCheckbox",
4151
- "module": "src/checkbox/checkbox.ts"
4150
+ "name": "UmChip",
4151
+ "module": "src/chip/chip.ts"
4152
4152
  }
4153
4153
  },
4154
4154
  {
4155
4155
  "kind": "custom-element-definition",
4156
- "name": "u-checkbox",
4156
+ "name": "u-chip",
4157
4157
  "declaration": {
4158
- "name": "UmCheckbox",
4159
- "module": "src/checkbox/checkbox.ts"
4158
+ "name": "UmChip",
4159
+ "module": "src/chip/chip.ts"
4160
4160
  }
4161
4161
  }
4162
4162
  ]
@@ -8316,7 +8316,7 @@
8316
8316
  "type": {
8317
8317
  "text": "string | undefined"
8318
8318
  },
8319
- "attribute": "supportingText"
8319
+ "attribute": "supporting-text"
8320
8320
  },
8321
8321
  {
8322
8322
  "kind": "field",
@@ -8324,7 +8324,7 @@
8324
8324
  "type": {
8325
8325
  "text": "string | undefined"
8326
8326
  },
8327
- "attribute": "errorText"
8327
+ "attribute": "error-text"
8328
8328
  },
8329
8329
  {
8330
8330
  "kind": "field",
@@ -8441,14 +8441,14 @@
8441
8441
  "fieldName": "placeholder"
8442
8442
  },
8443
8443
  {
8444
- "name": "supportingText",
8444
+ "name": "supporting-text",
8445
8445
  "type": {
8446
8446
  "text": "string | undefined"
8447
8447
  },
8448
8448
  "fieldName": "supportingText"
8449
8449
  },
8450
8450
  {
8451
- "name": "errorText",
8451
+ "name": "error-text",
8452
8452
  "type": {
8453
8453
  "text": "string | undefined"
8454
8454
  },