@universal-material/web 3.0.128 → 3.0.129

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.
@@ -12370,358 +12370,353 @@
12370
12370
  },
12371
12371
  {
12372
12372
  "kind": "javascript-module",
12373
- "path": "src/switch/switch-list-item.ts",
12373
+ "path": "src/shared/base.styles.ts",
12374
+ "declarations": [
12375
+ {
12376
+ "kind": "variable",
12377
+ "name": "styles",
12378
+ "default": "css `\n :host,\n * {\n --_focus-ring-outline-offset: var(--u-focus-ring-outline-offset, 2px);\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 :host(.force-focus-ring) .focus-ring,\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: var(--_focus-ring-outline-offset);\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`"
12379
+ }
12380
+ ],
12381
+ "exports": [
12382
+ {
12383
+ "kind": "js",
12384
+ "name": "styles",
12385
+ "declaration": {
12386
+ "name": "styles",
12387
+ "module": "src/shared/base.styles.ts"
12388
+ }
12389
+ }
12390
+ ]
12391
+ },
12392
+ {
12393
+ "kind": "javascript-module",
12394
+ "path": "src/shared/button-wrapper.styles.ts",
12395
+ "declarations": [
12396
+ {
12397
+ "kind": "variable",
12398
+ "name": "styles",
12399
+ "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-bg-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`"
12400
+ }
12401
+ ],
12402
+ "exports": [
12403
+ {
12404
+ "kind": "js",
12405
+ "name": "styles",
12406
+ "declaration": {
12407
+ "name": "styles",
12408
+ "module": "src/shared/button-wrapper.styles.ts"
12409
+ }
12410
+ }
12411
+ ]
12412
+ },
12413
+ {
12414
+ "kind": "javascript-module",
12415
+ "path": "src/shared/button-wrapper.ts",
12374
12416
  "declarations": [
12375
12417
  {
12376
12418
  "kind": "class",
12377
12419
  "description": "",
12378
- "name": "UmSwitchListItem",
12379
- "mixins": [
12380
- {
12381
- "name": "mixinSelectionControlListItem",
12382
- "module": "/src/shared/selection-control/selection-control-list-item.js"
12383
- }
12384
- ],
12385
- "superclass": {
12386
- "name": "UmSwitch",
12387
- "module": "/src/switch/switch.js"
12388
- },
12389
- "tagName": "u-switch-list-item",
12390
- "customElement": true,
12391
- "attributes": [
12420
+ "name": "UmButtonWrapper",
12421
+ "members": [
12392
12422
  {
12393
- "name": "leading",
12423
+ "kind": "field",
12424
+ "name": "disabled",
12394
12425
  "type": {
12395
12426
  "text": "boolean"
12396
12427
  },
12397
12428
  "default": "false",
12398
- "fieldName": "leading",
12399
- "inheritedFrom": {
12400
- "name": "mixinSelectionControlListItem",
12401
- "module": "src/shared/selection-control/selection-control-list-item.ts"
12402
- }
12429
+ "description": "Whether the button is disabled or not.",
12430
+ "attribute": "disabled",
12431
+ "reflects": true
12403
12432
  },
12404
12433
  {
12405
- "name": "name",
12434
+ "kind": "field",
12435
+ "name": "renderRipple",
12406
12436
  "type": {
12407
- "text": "string | undefined"
12437
+ "text": "boolean"
12408
12438
  },
12409
- "default": "''",
12410
- "fieldName": "name",
12411
- "inheritedFrom": {
12412
- "name": "UmSelectionControl",
12413
- "module": "src/shared/selection-control/selection-control.ts"
12414
- }
12439
+ "default": "true"
12415
12440
  },
12416
12441
  {
12417
- "name": "disabled",
12442
+ "kind": "field",
12443
+ "name": "href",
12418
12444
  "type": {
12419
- "text": "boolean"
12445
+ "text": "string | undefined"
12420
12446
  },
12421
- "default": "false",
12422
- "fieldName": "disabled",
12423
- "inheritedFrom": {
12424
- "name": "UmSelectionControl",
12425
- "module": "src/shared/selection-control/selection-control.ts"
12426
- }
12447
+ "description": "The URL that the link button points to.",
12448
+ "attribute": "href"
12427
12449
  },
12428
12450
  {
12429
- "name": "value",
12451
+ "kind": "field",
12452
+ "name": "target",
12430
12453
  "type": {
12431
- "text": "string"
12454
+ "text": "string | undefined"
12432
12455
  },
12433
- "default": "'on'",
12434
- "description": "The element value to use in form submission when checked.",
12435
- "fieldName": "value",
12436
- "inheritedFrom": {
12437
- "name": "UmSelectionControl",
12438
- "module": "src/shared/selection-control/selection-control.ts"
12439
- }
12456
+ "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
12457
+ "attribute": "target"
12440
12458
  },
12441
12459
  {
12442
- "name": "checked",
12443
- "fieldName": "_checkedAttribute",
12460
+ "kind": "field",
12461
+ "name": "name",
12444
12462
  "type": {
12445
- "text": "boolean"
12463
+ "text": "string | undefined"
12446
12464
  },
12447
- "default": "false",
12448
- "inheritedFrom": {
12449
- "name": "UmSelectionControl",
12450
- "module": "src/shared/selection-control/selection-control.ts"
12451
- }
12452
- }
12453
- ],
12454
- "members": [
12465
+ "attribute": "name"
12466
+ },
12455
12467
  {
12456
12468
  "kind": "field",
12457
- "name": "styles",
12469
+ "name": "buttonElement",
12458
12470
  "type": {
12459
- "text": "array"
12460
- },
12461
- "static": true,
12462
- "default": "[\n (base as unknown as typeof LitElement).styles ?? [],\n css`\n :host {\n --u-list-item-block-padding: 0;\n display: block;\n }\n\n :host(:not([disabled])) {\n cursor: pointer;\n }\n `,\n ]",
12463
- "inheritedFrom": {
12464
- "name": "mixinSelectionControlListItem",
12465
- "module": "src/shared/selection-control/selection-control-list-item.ts"
12471
+ "text": "HTMLElement"
12466
12472
  }
12467
12473
  },
12468
12474
  {
12469
12475
  "kind": "field",
12470
- "name": "leading",
12476
+ "name": "ripple",
12471
12477
  "type": {
12472
- "text": "boolean"
12478
+ "text": "UmRipple"
12473
12479
  },
12474
- "default": "false",
12475
- "attribute": "leading",
12476
- "inheritedFrom": {
12477
- "name": "mixinSelectionControlListItem",
12478
- "module": "src/shared/selection-control/selection-control-list-item.ts"
12479
- }
12480
+ "privacy": "private"
12480
12481
  },
12481
12482
  {
12482
- "kind": "method",
12483
- "name": "render",
12484
- "return": {
12485
- "type": {
12486
- "text": "HTMLTemplateResult"
12487
- }
12483
+ "kind": "field",
12484
+ "name": "innerRole",
12485
+ "type": {
12486
+ "text": "string | null"
12488
12487
  },
12489
- "inheritedFrom": {
12490
- "name": "mixinSelectionControlListItem",
12491
- "module": "src/shared/selection-control/selection-control-list-item.ts"
12492
- }
12488
+ "privacy": "protected",
12489
+ "default": "null"
12493
12490
  },
12494
12491
  {
12495
12492
  "kind": "field",
12496
- "name": "renderRipple",
12493
+ "name": "pathname",
12497
12494
  "type": {
12498
- "text": "boolean"
12499
- },
12500
- "privacy": "protected",
12501
- "default": "false",
12502
- "inheritedFrom": {
12503
- "name": "UmSelectionControl",
12504
- "module": "src/shared/selection-control/selection-control.ts"
12495
+ "text": "string"
12505
12496
  }
12506
12497
  },
12507
12498
  {
12508
12499
  "kind": "method",
12509
- "name": "renderIndicator",
12500
+ "name": "renderButton",
12501
+ "privacy": "private"
12502
+ },
12503
+ {
12504
+ "kind": "method",
12505
+ "name": "renderLink",
12506
+ "privacy": "private"
12507
+ },
12508
+ {
12509
+ "kind": "method",
12510
+ "name": "renderContent",
12510
12511
  "privacy": "protected",
12511
12512
  "return": {
12512
12513
  "type": {
12513
12514
  "text": "HTMLTemplateResult"
12514
12515
  }
12515
- },
12516
- "inheritedFrom": {
12517
- "name": "UmSelectionControl",
12518
- "module": "src/shared/selection-control/selection-control.ts"
12519
12516
  }
12520
12517
  },
12521
12518
  {
12522
- "kind": "field",
12523
- "name": "formAssociated",
12524
- "type": {
12525
- "text": "boolean"
12526
- },
12527
- "static": true,
12528
- "default": "true",
12529
- "inheritedFrom": {
12530
- "name": "UmSelectionControl",
12531
- "module": "src/shared/selection-control/selection-control.ts"
12532
- }
12519
+ "kind": "method",
12520
+ "name": "focus"
12533
12521
  },
12534
12522
  {
12535
- "kind": "field",
12536
- "name": "shadowRootOptions",
12537
- "type": {
12538
- "text": "ShadowRootInit"
12539
- },
12540
- "static": true,
12541
- "default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }",
12542
- "inheritedFrom": {
12543
- "name": "UmSelectionControl",
12544
- "module": "src/shared/selection-control/selection-control.ts"
12545
- }
12523
+ "kind": "method",
12524
+ "name": "blur"
12546
12525
  },
12547
12526
  {
12548
- "kind": "field",
12549
- "name": "elementInternals",
12550
- "type": {
12551
- "text": "ElementInternals"
12552
- },
12527
+ "kind": "method",
12528
+ "name": "getAriaLabel",
12553
12529
  "privacy": "protected",
12554
- "inheritedFrom": {
12555
- "name": "UmSelectionControl",
12556
- "module": "src/shared/selection-control/selection-control.ts"
12530
+ "return": {
12531
+ "type": {
12532
+ "text": "string | null"
12533
+ }
12557
12534
  }
12558
12535
  },
12559
12536
  {
12560
- "kind": "field",
12561
- "name": "name",
12562
- "type": {
12563
- "text": "string | undefined"
12564
- },
12565
- "default": "''",
12566
- "attribute": "name",
12567
- "reflects": true,
12568
- "inheritedFrom": {
12569
- "name": "UmSelectionControl",
12570
- "module": "src/shared/selection-control/selection-control.ts"
12537
+ "kind": "method",
12538
+ "name": "innerFocusHandler",
12539
+ "privacy": "private",
12540
+ "return": {
12541
+ "type": {
12542
+ "text": "void"
12543
+ }
12571
12544
  }
12572
12545
  },
12573
12546
  {
12574
- "kind": "field",
12575
- "name": "disabled",
12576
- "type": {
12577
- "text": "boolean"
12578
- },
12579
- "default": "false",
12580
- "attribute": "disabled",
12581
- "reflects": true,
12582
- "inheritedFrom": {
12583
- "name": "UmSelectionControl",
12584
- "module": "src/shared/selection-control/selection-control.ts"
12585
- }
12586
- },
12587
- {
12588
- "kind": "field",
12589
- "name": "input",
12590
- "type": {
12591
- "text": "HTMLInputElement"
12592
- },
12593
- "inheritedFrom": {
12594
- "name": "UmSelectionControl",
12595
- "module": "src/shared/selection-control/selection-control.ts"
12596
- }
12597
- },
12598
- {
12599
- "kind": "field",
12600
- "name": "form",
12601
- "type": {
12602
- "text": "HTMLFormElement | null"
12547
+ "kind": "method",
12548
+ "name": "#innerClickHandler",
12549
+ "return": {
12550
+ "type": {
12551
+ "text": "void"
12552
+ }
12603
12553
  },
12604
- "inheritedFrom": {
12605
- "name": "UmSelectionControl",
12606
- "module": "src/shared/selection-control/selection-control.ts"
12607
- }
12554
+ "parameters": [
12555
+ {
12556
+ "name": "event",
12557
+ "type": {
12558
+ "text": "MouseEvent"
12559
+ }
12560
+ }
12561
+ ]
12608
12562
  },
12609
12563
  {
12610
12564
  "kind": "method",
12611
- "name": "focus",
12565
+ "name": "handleClick",
12566
+ "privacy": "protected",
12567
+ "return": {
12568
+ "type": {
12569
+ "text": "void"
12570
+ }
12571
+ },
12612
12572
  "parameters": [
12613
12573
  {
12614
- "name": "options",
12615
- "optional": true,
12574
+ "name": "_",
12616
12575
  "type": {
12617
- "text": "FocusOptions"
12576
+ "text": "UIEvent"
12618
12577
  }
12619
12578
  }
12620
- ],
12621
- "inheritedFrom": {
12622
- "name": "UmSelectionControl",
12623
- "module": "src/shared/selection-control/selection-control.ts"
12624
- }
12625
- },
12579
+ ]
12580
+ }
12581
+ ],
12582
+ "attributes": [
12626
12583
  {
12627
- "kind": "field",
12628
- "name": "#checked",
12629
- "privacy": "private",
12584
+ "name": "disabled",
12630
12585
  "type": {
12631
12586
  "text": "boolean"
12632
12587
  },
12633
12588
  "default": "false",
12634
- "inheritedFrom": {
12635
- "name": "UmSelectionControl",
12636
- "module": "src/shared/selection-control/selection-control.ts"
12637
- }
12589
+ "description": "Whether the button is disabled or not.",
12590
+ "fieldName": "disabled"
12638
12591
  },
12639
12592
  {
12640
- "kind": "field",
12641
- "name": "inputType",
12593
+ "name": "href",
12642
12594
  "type": {
12643
- "text": "'checkbox' | 'radio'"
12595
+ "text": "string | undefined"
12644
12596
  },
12645
- "privacy": "protected",
12646
- "default": "'checkbox'",
12647
- "inheritedFrom": {
12648
- "name": "UmSelectionControl",
12649
- "module": "src/shared/selection-control/selection-control.ts"
12650
- }
12597
+ "description": "The URL that the link button points to.",
12598
+ "fieldName": "href"
12651
12599
  },
12652
12600
  {
12653
- "kind": "field",
12654
- "name": "value",
12601
+ "name": "target",
12655
12602
  "type": {
12656
- "text": "string"
12603
+ "text": "string | undefined"
12657
12604
  },
12658
- "default": "'on'",
12659
- "description": "The element value to use in form submission when checked.",
12660
- "attribute": "value",
12661
- "inheritedFrom": {
12662
- "name": "UmSelectionControl",
12663
- "module": "src/shared/selection-control/selection-control.ts"
12664
- }
12605
+ "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
12606
+ "fieldName": "target"
12665
12607
  },
12666
12608
  {
12667
- "kind": "field",
12668
- "name": "checked",
12669
- "attribute": "checked",
12670
- "inheritedFrom": {
12671
- "name": "UmSelectionControl",
12672
- "module": "src/shared/selection-control/selection-control.ts"
12609
+ "name": "name",
12610
+ "type": {
12611
+ "text": "string | undefined"
12612
+ },
12613
+ "fieldName": "name"
12614
+ }
12615
+ ],
12616
+ "superclass": {
12617
+ "name": "LitElement",
12618
+ "package": "lit"
12619
+ },
12620
+ "customElement": true
12621
+ }
12622
+ ],
12623
+ "exports": [
12624
+ {
12625
+ "kind": "js",
12626
+ "name": "UmButtonWrapper",
12627
+ "declaration": {
12628
+ "name": "UmButtonWrapper",
12629
+ "module": "src/shared/button-wrapper.ts"
12630
+ }
12631
+ }
12632
+ ]
12633
+ },
12634
+ {
12635
+ "kind": "javascript-module",
12636
+ "path": "src/shared/compare-text.ts",
12637
+ "declarations": [
12638
+ {
12639
+ "kind": "function",
12640
+ "name": "normalizedStartsWith",
12641
+ "return": {
12642
+ "type": {
12643
+ "text": "boolean"
12644
+ }
12645
+ },
12646
+ "parameters": [
12647
+ {
12648
+ "name": "text",
12649
+ "type": {
12650
+ "text": "string | null"
12673
12651
  }
12674
12652
  },
12675
12653
  {
12676
- "kind": "field",
12677
- "name": "_checkedAttribute",
12654
+ "name": "term",
12678
12655
  "type": {
12679
- "text": "boolean"
12680
- },
12681
- "privacy": "private",
12682
- "default": "false",
12683
- "attribute": "checked",
12684
- "inheritedFrom": {
12685
- "name": "UmSelectionControl",
12686
- "module": "src/shared/selection-control/selection-control.ts"
12656
+ "text": "string | null"
12687
12657
  }
12688
- },
12658
+ }
12659
+ ]
12660
+ }
12661
+ ],
12662
+ "exports": [
12663
+ {
12664
+ "kind": "js",
12665
+ "name": "normalizedStartsWith",
12666
+ "declaration": {
12667
+ "name": "normalizedStartsWith",
12668
+ "module": "src/shared/compare-text.ts"
12669
+ }
12670
+ }
12671
+ ]
12672
+ },
12673
+ {
12674
+ "kind": "javascript-module",
12675
+ "path": "src/shared/extract-template-html.ts",
12676
+ "declarations": [
12677
+ {
12678
+ "kind": "function",
12679
+ "name": "extractTemplateHtml",
12680
+ "parameters": [
12689
12681
  {
12690
- "kind": "method",
12691
- "name": "#handleClick",
12692
- "parameters": [
12693
- {
12694
- "name": "e",
12695
- "type": {
12696
- "text": "Event"
12697
- }
12698
- }
12699
- ],
12700
- "inheritedFrom": {
12701
- "name": "UmSelectionControl",
12702
- "module": "src/shared/selection-control/selection-control.ts"
12682
+ "name": "template",
12683
+ "type": {
12684
+ "text": "HTMLTemplateElement"
12703
12685
  }
12704
12686
  }
12705
- ],
12706
- "events": [
12687
+ ]
12688
+ }
12689
+ ],
12690
+ "exports": [
12691
+ {
12692
+ "kind": "js",
12693
+ "name": "extractTemplateHtml",
12694
+ "declaration": {
12695
+ "name": "extractTemplateHtml",
12696
+ "module": "src/shared/extract-template-html.ts"
12697
+ }
12698
+ }
12699
+ ]
12700
+ },
12701
+ {
12702
+ "kind": "javascript-module",
12703
+ "path": "src/shared/mixin-attribute-properties.ts",
12704
+ "declarations": [
12705
+ {
12706
+ "kind": "mixin",
12707
+ "description": "",
12708
+ "name": "mixinAttributeProperties",
12709
+ "parameters": [
12707
12710
  {
12708
- "name": "input",
12711
+ "name": "base",
12709
12712
  "type": {
12710
- "text": "InputEvent"
12711
- },
12712
- "inheritedFrom": {
12713
- "name": "UmSelectionControl",
12714
- "module": "src/shared/selection-control/selection-control.ts"
12713
+ "text": "T"
12715
12714
  }
12716
12715
  },
12717
12716
  {
12718
- "name": "change",
12717
+ "name": "properties",
12719
12718
  "type": {
12720
- "text": "Event"
12721
- },
12722
- "inheritedFrom": {
12723
- "name": "UmSelectionControl",
12724
- "module": "src/shared/selection-control/selection-control.ts"
12719
+ "text": "string[]"
12725
12720
  }
12726
12721
  }
12727
12722
  ]
@@ -12730,52 +12725,176 @@
12730
12725
  "exports": [
12731
12726
  {
12732
12727
  "kind": "js",
12733
- "name": "UmSwitchListItem",
12734
- "declaration": {
12735
- "name": "UmSwitchListItem",
12736
- "module": "src/switch/switch-list-item.ts"
12737
- }
12738
- },
12739
- {
12740
- "kind": "custom-element-definition",
12741
- "name": "u-switch-list-item",
12728
+ "name": "mixinAttributeProperties",
12742
12729
  "declaration": {
12743
- "name": "UmSwitchListItem",
12744
- "module": "src/switch/switch-list-item.ts"
12730
+ "name": "mixinAttributeProperties",
12731
+ "module": "src/shared/mixin-attribute-properties.ts"
12745
12732
  }
12746
12733
  }
12747
12734
  ]
12748
12735
  },
12749
12736
  {
12750
12737
  "kind": "javascript-module",
12751
- "path": "src/switch/switch.styles.ts",
12738
+ "path": "src/shared/mixin.ts",
12739
+ "declarations": [],
12740
+ "exports": []
12741
+ },
12742
+ {
12743
+ "kind": "javascript-module",
12744
+ "path": "src/shared/normalize-text.ts",
12752
12745
  "declarations": [
12753
12746
  {
12754
- "kind": "variable",
12755
- "name": "styles",
12756
- "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 pointer-events: 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-selected-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-bg-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-bg-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`"
12747
+ "kind": "function",
12748
+ "name": "normalizeText",
12749
+ "return": {
12750
+ "type": {
12751
+ "text": "string"
12752
+ }
12753
+ },
12754
+ "parameters": [
12755
+ {
12756
+ "name": "text",
12757
+ "type": {
12758
+ "text": "string | null"
12759
+ }
12760
+ }
12761
+ ]
12757
12762
  }
12758
12763
  ],
12759
12764
  "exports": [
12760
12765
  {
12761
12766
  "kind": "js",
12762
- "name": "styles",
12767
+ "name": "normalizeText",
12763
12768
  "declaration": {
12764
- "name": "styles",
12765
- "module": "src/switch/switch.styles.ts"
12769
+ "name": "normalizeText",
12770
+ "module": "src/shared/normalize-text.ts"
12766
12771
  }
12767
12772
  }
12768
12773
  ]
12769
12774
  },
12770
12775
  {
12771
12776
  "kind": "javascript-module",
12772
- "path": "src/switch/switch.ts",
12777
+ "path": "src/switch/switch-list-item.ts",
12773
12778
  "declarations": [
12774
12779
  {
12775
12780
  "kind": "class",
12776
12781
  "description": "",
12777
- "name": "UmSwitch",
12782
+ "name": "UmSwitchListItem",
12783
+ "mixins": [
12784
+ {
12785
+ "name": "mixinSelectionControlListItem",
12786
+ "module": "/src/shared/selection-control/selection-control-list-item.js"
12787
+ }
12788
+ ],
12789
+ "superclass": {
12790
+ "name": "UmSwitch",
12791
+ "module": "/src/switch/switch.js"
12792
+ },
12793
+ "tagName": "u-switch-list-item",
12794
+ "customElement": true,
12795
+ "attributes": [
12796
+ {
12797
+ "name": "leading",
12798
+ "type": {
12799
+ "text": "boolean"
12800
+ },
12801
+ "default": "false",
12802
+ "fieldName": "leading",
12803
+ "inheritedFrom": {
12804
+ "name": "mixinSelectionControlListItem",
12805
+ "module": "src/shared/selection-control/selection-control-list-item.ts"
12806
+ }
12807
+ },
12808
+ {
12809
+ "name": "name",
12810
+ "type": {
12811
+ "text": "string | undefined"
12812
+ },
12813
+ "default": "''",
12814
+ "fieldName": "name",
12815
+ "inheritedFrom": {
12816
+ "name": "UmSelectionControl",
12817
+ "module": "src/shared/selection-control/selection-control.ts"
12818
+ }
12819
+ },
12820
+ {
12821
+ "name": "disabled",
12822
+ "type": {
12823
+ "text": "boolean"
12824
+ },
12825
+ "default": "false",
12826
+ "fieldName": "disabled",
12827
+ "inheritedFrom": {
12828
+ "name": "UmSelectionControl",
12829
+ "module": "src/shared/selection-control/selection-control.ts"
12830
+ }
12831
+ },
12832
+ {
12833
+ "name": "value",
12834
+ "type": {
12835
+ "text": "string"
12836
+ },
12837
+ "default": "'on'",
12838
+ "description": "The element value to use in form submission when checked.",
12839
+ "fieldName": "value",
12840
+ "inheritedFrom": {
12841
+ "name": "UmSelectionControl",
12842
+ "module": "src/shared/selection-control/selection-control.ts"
12843
+ }
12844
+ },
12845
+ {
12846
+ "name": "checked",
12847
+ "fieldName": "_checkedAttribute",
12848
+ "type": {
12849
+ "text": "boolean"
12850
+ },
12851
+ "default": "false",
12852
+ "inheritedFrom": {
12853
+ "name": "UmSelectionControl",
12854
+ "module": "src/shared/selection-control/selection-control.ts"
12855
+ }
12856
+ }
12857
+ ],
12778
12858
  "members": [
12859
+ {
12860
+ "kind": "field",
12861
+ "name": "styles",
12862
+ "type": {
12863
+ "text": "array"
12864
+ },
12865
+ "static": true,
12866
+ "default": "[\n (base as unknown as typeof LitElement).styles ?? [],\n css`\n :host {\n --u-list-item-block-padding: 0;\n display: block;\n }\n\n :host(:not([disabled])) {\n cursor: pointer;\n }\n `,\n ]",
12867
+ "inheritedFrom": {
12868
+ "name": "mixinSelectionControlListItem",
12869
+ "module": "src/shared/selection-control/selection-control-list-item.ts"
12870
+ }
12871
+ },
12872
+ {
12873
+ "kind": "field",
12874
+ "name": "leading",
12875
+ "type": {
12876
+ "text": "boolean"
12877
+ },
12878
+ "default": "false",
12879
+ "attribute": "leading",
12880
+ "inheritedFrom": {
12881
+ "name": "mixinSelectionControlListItem",
12882
+ "module": "src/shared/selection-control/selection-control-list-item.ts"
12883
+ }
12884
+ },
12885
+ {
12886
+ "kind": "method",
12887
+ "name": "render",
12888
+ "return": {
12889
+ "type": {
12890
+ "text": "HTMLTemplateResult"
12891
+ }
12892
+ },
12893
+ "inheritedFrom": {
12894
+ "name": "mixinSelectionControlListItem",
12895
+ "module": "src/shared/selection-control/selection-control-list-item.ts"
12896
+ }
12897
+ },
12779
12898
  {
12780
12899
  "kind": "field",
12781
12900
  "name": "renderRipple",
@@ -12988,63 +13107,6 @@
12988
13107
  }
12989
13108
  }
12990
13109
  ],
12991
- "superclass": {
12992
- "name": "UmSelectionControl",
12993
- "module": "/src/shared/selection-control/selection-control.js"
12994
- },
12995
- "tagName": "u-switch",
12996
- "customElement": true,
12997
- "attributes": [
12998
- {
12999
- "name": "name",
13000
- "type": {
13001
- "text": "string | undefined"
13002
- },
13003
- "default": "''",
13004
- "fieldName": "name",
13005
- "inheritedFrom": {
13006
- "name": "UmSelectionControl",
13007
- "module": "src/shared/selection-control/selection-control.ts"
13008
- }
13009
- },
13010
- {
13011
- "name": "disabled",
13012
- "type": {
13013
- "text": "boolean"
13014
- },
13015
- "default": "false",
13016
- "fieldName": "disabled",
13017
- "inheritedFrom": {
13018
- "name": "UmSelectionControl",
13019
- "module": "src/shared/selection-control/selection-control.ts"
13020
- }
13021
- },
13022
- {
13023
- "name": "value",
13024
- "type": {
13025
- "text": "string"
13026
- },
13027
- "default": "'on'",
13028
- "description": "The element value to use in form submission when checked.",
13029
- "fieldName": "value",
13030
- "inheritedFrom": {
13031
- "name": "UmSelectionControl",
13032
- "module": "src/shared/selection-control/selection-control.ts"
13033
- }
13034
- },
13035
- {
13036
- "name": "checked",
13037
- "fieldName": "_checkedAttribute",
13038
- "type": {
13039
- "text": "boolean"
13040
- },
13041
- "default": "false",
13042
- "inheritedFrom": {
13043
- "name": "UmSelectionControl",
13044
- "module": "src/shared/selection-control/selection-control.ts"
13045
- }
13046
- }
13047
- ],
13048
13110
  "events": [
13049
13111
  {
13050
13112
  "name": "input",
@@ -13072,30 +13134,30 @@
13072
13134
  "exports": [
13073
13135
  {
13074
13136
  "kind": "js",
13075
- "name": "UmSwitch",
13137
+ "name": "UmSwitchListItem",
13076
13138
  "declaration": {
13077
- "name": "UmSwitch",
13078
- "module": "src/switch/switch.ts"
13139
+ "name": "UmSwitchListItem",
13140
+ "module": "src/switch/switch-list-item.ts"
13079
13141
  }
13080
13142
  },
13081
13143
  {
13082
13144
  "kind": "custom-element-definition",
13083
- "name": "u-switch",
13145
+ "name": "u-switch-list-item",
13084
13146
  "declaration": {
13085
- "name": "UmSwitch",
13086
- "module": "src/switch/switch.ts"
13147
+ "name": "UmSwitchListItem",
13148
+ "module": "src/switch/switch-list-item.ts"
13087
13149
  }
13088
13150
  }
13089
13151
  ]
13090
13152
  },
13091
13153
  {
13092
13154
  "kind": "javascript-module",
13093
- "path": "src/tab-bar/tab-bar.styles.ts",
13155
+ "path": "src/switch/switch.styles.ts",
13094
13156
  "declarations": [
13095
13157
  {
13096
13158
  "kind": "variable",
13097
13159
  "name": "styles",
13098
- "default": "css `\n :host {\n position: relative;\n display: block;\n --_active-color: var(--u-tab-active-color, var(--u-color-primary, rgb(103, 80, 164)));\n --_active-label-color: var(--u-tab-active-label-color, var(--u-color-primary, rgb(103, 80, 164)));\n overflow: hidden;\n }\n\n .container {\n position: relative;\n display: flex;\n flex-direction: row;\n width: 100%;\n min-height: var(--u-tab-bar-min-height, 48px);\n overflow: auto;\n scroll-padding-inline: 128px;\n scrollbar-width: none;\n }\n .container::-webkit-scrollbar {\n display: none;\n }\n\n .scroll-indicator {\n --u-elevation-level: 2;\n cursor: pointer;\n position: absolute;\n display: none;\n align-items: center;\n justify-content: center;\n top: 0;\n width: var(--u-tab-bar-scroll-indicator-size, 32px);\n background-color: var(--u-scroll-indicator-bg-color, var(--u-current-bg-color, var(--u-color-surface, rgb(254, 247, 255))));\n font-size: 1.5rem;\n height: 100%;\n z-index: 1;\n }\n @media (hover: hover) {\n :host(:hover) .scroll-indicator.active {\n display: flex;\n }\n }\n\n .scroll-left {\n left: 0;\n }\n\n .scroll-right {\n right: 0;\n }\n\n .tab-indicator {\n position: absolute;\n background-color: var(--_active-color);\n height: 3px;\n bottom: 0;\n transition: inset 200ms ease-out, width 200ms ease-out;\n }\n\n .container:not(.secondary) .tab-indicator {\n border-radius: var(--u-tab-bar-primary-border-radius, 9999px 9999px 0 0);\n }\n\n .secondary {\n --_active-label-color: var(--u-tab-secondary-active-label-color, var(--u-color-on-surface, rgb(29, 27, 32)));\n --_tab-content-direction: row;\n --_tab-content-gap: 8px;\n --u-tab-with-icon-height: var(--u-tab-secondary-with-icon-height, 48px);\n }\n`"
13160
+ "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 pointer-events: 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-selected-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-bg-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-bg-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`"
13099
13161
  }
13100
13162
  ],
13101
13163
  "exports": [
@@ -13104,193 +13166,340 @@
13104
13166
  "name": "styles",
13105
13167
  "declaration": {
13106
13168
  "name": "styles",
13107
- "module": "src/tab-bar/tab-bar.styles.ts"
13169
+ "module": "src/switch/switch.styles.ts"
13108
13170
  }
13109
13171
  }
13110
13172
  ]
13111
13173
  },
13112
13174
  {
13113
13175
  "kind": "javascript-module",
13114
- "path": "src/tab-bar/tab-bar.ts",
13176
+ "path": "src/switch/switch.ts",
13115
13177
  "declarations": [
13116
13178
  {
13117
13179
  "kind": "class",
13118
13180
  "description": "",
13119
- "name": "UmTabBar",
13181
+ "name": "UmSwitch",
13120
13182
  "members": [
13121
13183
  {
13122
13184
  "kind": "field",
13123
- "name": "#tabs",
13124
- "privacy": "private",
13185
+ "name": "renderRipple",
13125
13186
  "type": {
13126
- "text": "UmTab[]"
13187
+ "text": "boolean"
13127
13188
  },
13128
- "default": "[]"
13189
+ "privacy": "protected",
13190
+ "default": "false",
13191
+ "inheritedFrom": {
13192
+ "name": "UmSelectionControl",
13193
+ "module": "src/shared/selection-control/selection-control.ts"
13194
+ }
13195
+ },
13196
+ {
13197
+ "kind": "method",
13198
+ "name": "renderIndicator",
13199
+ "privacy": "protected",
13200
+ "return": {
13201
+ "type": {
13202
+ "text": "HTMLTemplateResult"
13203
+ }
13204
+ },
13205
+ "inheritedFrom": {
13206
+ "name": "UmSelectionControl",
13207
+ "module": "src/shared/selection-control/selection-control.ts"
13208
+ }
13129
13209
  },
13130
13210
  {
13131
13211
  "kind": "field",
13132
- "name": "#activeTab",
13133
- "privacy": "private",
13212
+ "name": "formAssociated",
13134
13213
  "type": {
13135
- "text": "UmTab | null"
13214
+ "text": "boolean"
13136
13215
  },
13137
- "default": "null"
13216
+ "static": true,
13217
+ "default": "true",
13218
+ "inheritedFrom": {
13219
+ "name": "UmSelectionControl",
13220
+ "module": "src/shared/selection-control/selection-control.ts"
13221
+ }
13138
13222
  },
13139
13223
  {
13140
13224
  "kind": "field",
13141
- "name": "#resizeObserver",
13142
- "privacy": "private",
13225
+ "name": "shadowRootOptions",
13143
13226
  "type": {
13144
- "text": "ResizeObserver"
13227
+ "text": "ShadowRootInit"
13145
13228
  },
13146
- "default": "new ResizeObserver(() => {\n this._setScrollIndicatorsActive();\n this._updateTabIndicator();\n })"
13229
+ "static": true,
13230
+ "default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }",
13231
+ "inheritedFrom": {
13232
+ "name": "UmSelectionControl",
13233
+ "module": "src/shared/selection-control/selection-control.ts"
13234
+ }
13147
13235
  },
13148
13236
  {
13149
13237
  "kind": "field",
13150
- "name": "variant",
13238
+ "name": "elementInternals",
13151
13239
  "type": {
13152
- "text": "'primary' | 'secondary'"
13240
+ "text": "ElementInternals"
13153
13241
  },
13154
- "default": "'primary'",
13155
- "attribute": "variant",
13156
- "reflects": true
13242
+ "privacy": "protected",
13243
+ "inheritedFrom": {
13244
+ "name": "UmSelectionControl",
13245
+ "module": "src/shared/selection-control/selection-control.ts"
13246
+ }
13157
13247
  },
13158
13248
  {
13159
13249
  "kind": "field",
13160
- "name": "_scrollLeft",
13250
+ "name": "name",
13161
13251
  "type": {
13162
- "text": "HTMLElement"
13252
+ "text": "string | undefined"
13163
13253
  },
13164
- "privacy": "private"
13254
+ "default": "''",
13255
+ "attribute": "name",
13256
+ "reflects": true,
13257
+ "inheritedFrom": {
13258
+ "name": "UmSelectionControl",
13259
+ "module": "src/shared/selection-control/selection-control.ts"
13260
+ }
13165
13261
  },
13166
13262
  {
13167
13263
  "kind": "field",
13168
- "name": "_scrollRight",
13264
+ "name": "disabled",
13169
13265
  "type": {
13170
- "text": "HTMLElement"
13266
+ "text": "boolean"
13171
13267
  },
13172
- "privacy": "private"
13268
+ "default": "false",
13269
+ "attribute": "disabled",
13270
+ "reflects": true,
13271
+ "inheritedFrom": {
13272
+ "name": "UmSelectionControl",
13273
+ "module": "src/shared/selection-control/selection-control.ts"
13274
+ }
13173
13275
  },
13174
13276
  {
13175
13277
  "kind": "field",
13176
- "name": "_container",
13278
+ "name": "input",
13177
13279
  "type": {
13178
- "text": "HTMLElement"
13280
+ "text": "HTMLInputElement"
13179
13281
  },
13180
- "privacy": "private"
13282
+ "inheritedFrom": {
13283
+ "name": "UmSelectionControl",
13284
+ "module": "src/shared/selection-control/selection-control.ts"
13285
+ }
13181
13286
  },
13182
13287
  {
13183
13288
  "kind": "field",
13184
- "name": "_tabIndicator",
13289
+ "name": "form",
13185
13290
  "type": {
13186
- "text": "HTMLElement | undefined"
13291
+ "text": "HTMLFormElement | null"
13187
13292
  },
13188
- "privacy": "private"
13293
+ "inheritedFrom": {
13294
+ "name": "UmSelectionControl",
13295
+ "module": "src/shared/selection-control/selection-control.ts"
13296
+ }
13297
+ },
13298
+ {
13299
+ "kind": "method",
13300
+ "name": "focus",
13301
+ "parameters": [
13302
+ {
13303
+ "name": "options",
13304
+ "optional": true,
13305
+ "type": {
13306
+ "text": "FocusOptions"
13307
+ }
13308
+ }
13309
+ ],
13310
+ "inheritedFrom": {
13311
+ "name": "UmSelectionControl",
13312
+ "module": "src/shared/selection-control/selection-control.ts"
13313
+ }
13189
13314
  },
13190
13315
  {
13191
13316
  "kind": "field",
13192
- "name": "assignedElements",
13317
+ "name": "#checked",
13318
+ "privacy": "private",
13193
13319
  "type": {
13194
- "text": "HTMLElement[]"
13320
+ "text": "boolean"
13321
+ },
13322
+ "default": "false",
13323
+ "inheritedFrom": {
13324
+ "name": "UmSelectionControl",
13325
+ "module": "src/shared/selection-control/selection-control.ts"
13195
13326
  }
13196
13327
  },
13197
13328
  {
13198
13329
  "kind": "field",
13199
- "name": "activeTabIndex",
13330
+ "name": "inputType",
13200
13331
  "type": {
13201
- "text": "number"
13332
+ "text": "'checkbox' | 'radio'"
13333
+ },
13334
+ "privacy": "protected",
13335
+ "default": "'checkbox'",
13336
+ "inheritedFrom": {
13337
+ "name": "UmSelectionControl",
13338
+ "module": "src/shared/selection-control/selection-control.ts"
13202
13339
  }
13203
13340
  },
13204
13341
  {
13205
13342
  "kind": "field",
13206
- "name": "activeTab",
13343
+ "name": "value",
13207
13344
  "type": {
13208
- "text": "UmTab | null"
13345
+ "text": "string"
13346
+ },
13347
+ "default": "'on'",
13348
+ "description": "The element value to use in form submission when checked.",
13349
+ "attribute": "value",
13350
+ "inheritedFrom": {
13351
+ "name": "UmSelectionControl",
13352
+ "module": "src/shared/selection-control/selection-control.ts"
13209
13353
  }
13210
13354
  },
13211
13355
  {
13212
13356
  "kind": "field",
13213
- "name": "#handleSlotChange",
13214
- "privacy": "private"
13357
+ "name": "checked",
13358
+ "attribute": "checked",
13359
+ "inheritedFrom": {
13360
+ "name": "UmSelectionControl",
13361
+ "module": "src/shared/selection-control/selection-control.ts"
13362
+ }
13215
13363
  },
13216
13364
  {
13217
13365
  "kind": "field",
13218
- "name": "#handleContainerScrollEnd",
13219
- "privacy": "private"
13366
+ "name": "_checkedAttribute",
13367
+ "type": {
13368
+ "text": "boolean"
13369
+ },
13370
+ "privacy": "private",
13371
+ "default": "false",
13372
+ "attribute": "checked",
13373
+ "inheritedFrom": {
13374
+ "name": "UmSelectionControl",
13375
+ "module": "src/shared/selection-control/selection-control.ts"
13376
+ }
13220
13377
  },
13221
13378
  {
13222
13379
  "kind": "method",
13223
- "name": "_updateTabIndicator"
13224
- },
13380
+ "name": "#handleClick",
13381
+ "parameters": [
13382
+ {
13383
+ "name": "e",
13384
+ "type": {
13385
+ "text": "Event"
13386
+ }
13387
+ }
13388
+ ],
13389
+ "inheritedFrom": {
13390
+ "name": "UmSelectionControl",
13391
+ "module": "src/shared/selection-control/selection-control.ts"
13392
+ }
13393
+ }
13394
+ ],
13395
+ "superclass": {
13396
+ "name": "UmSelectionControl",
13397
+ "module": "/src/shared/selection-control/selection-control.js"
13398
+ },
13399
+ "tagName": "u-switch",
13400
+ "customElement": true,
13401
+ "attributes": [
13225
13402
  {
13226
- "kind": "field",
13227
- "name": "#scrollToLeft",
13228
- "privacy": "private"
13403
+ "name": "name",
13404
+ "type": {
13405
+ "text": "string | undefined"
13406
+ },
13407
+ "default": "''",
13408
+ "fieldName": "name",
13409
+ "inheritedFrom": {
13410
+ "name": "UmSelectionControl",
13411
+ "module": "src/shared/selection-control/selection-control.ts"
13412
+ }
13229
13413
  },
13230
13414
  {
13231
- "kind": "field",
13232
- "name": "#scrollToRight",
13233
- "privacy": "private"
13415
+ "name": "disabled",
13416
+ "type": {
13417
+ "text": "boolean"
13418
+ },
13419
+ "default": "false",
13420
+ "fieldName": "disabled",
13421
+ "inheritedFrom": {
13422
+ "name": "UmSelectionControl",
13423
+ "module": "src/shared/selection-control/selection-control.ts"
13424
+ }
13234
13425
  },
13235
13426
  {
13236
- "kind": "method",
13237
- "name": "_setScrollIndicatorsActive"
13427
+ "name": "value",
13428
+ "type": {
13429
+ "text": "string"
13430
+ },
13431
+ "default": "'on'",
13432
+ "description": "The element value to use in form submission when checked.",
13433
+ "fieldName": "value",
13434
+ "inheritedFrom": {
13435
+ "name": "UmSelectionControl",
13436
+ "module": "src/shared/selection-control/selection-control.ts"
13437
+ }
13238
13438
  },
13239
13439
  {
13240
- "kind": "method",
13241
- "name": "#attach",
13242
- "return": {
13243
- "type": {
13244
- "text": "Promise<void>"
13245
- }
13440
+ "name": "checked",
13441
+ "fieldName": "_checkedAttribute",
13442
+ "type": {
13443
+ "text": "boolean"
13444
+ },
13445
+ "default": "false",
13446
+ "inheritedFrom": {
13447
+ "name": "UmSelectionControl",
13448
+ "module": "src/shared/selection-control/selection-control.ts"
13246
13449
  }
13247
13450
  }
13248
13451
  ],
13249
- "attributes": [
13452
+ "events": [
13250
13453
  {
13251
- "name": "variant",
13454
+ "name": "input",
13252
13455
  "type": {
13253
- "text": "'primary' | 'secondary'"
13456
+ "text": "InputEvent"
13254
13457
  },
13255
- "default": "'primary'",
13256
- "fieldName": "variant"
13458
+ "inheritedFrom": {
13459
+ "name": "UmSelectionControl",
13460
+ "module": "src/shared/selection-control/selection-control.ts"
13461
+ }
13462
+ },
13463
+ {
13464
+ "name": "change",
13465
+ "type": {
13466
+ "text": "Event"
13467
+ },
13468
+ "inheritedFrom": {
13469
+ "name": "UmSelectionControl",
13470
+ "module": "src/shared/selection-control/selection-control.ts"
13471
+ }
13257
13472
  }
13258
- ],
13259
- "superclass": {
13260
- "name": "LitElement",
13261
- "package": "lit"
13262
- },
13263
- "tagName": "u-tab-bar",
13264
- "customElement": true
13473
+ ]
13265
13474
  }
13266
13475
  ],
13267
13476
  "exports": [
13268
13477
  {
13269
13478
  "kind": "js",
13270
- "name": "UmTabBar",
13479
+ "name": "UmSwitch",
13271
13480
  "declaration": {
13272
- "name": "UmTabBar",
13273
- "module": "src/tab-bar/tab-bar.ts"
13481
+ "name": "UmSwitch",
13482
+ "module": "src/switch/switch.ts"
13274
13483
  }
13275
13484
  },
13276
13485
  {
13277
13486
  "kind": "custom-element-definition",
13278
- "name": "u-tab-bar",
13487
+ "name": "u-switch",
13279
13488
  "declaration": {
13280
- "name": "UmTabBar",
13281
- "module": "src/tab-bar/tab-bar.ts"
13489
+ "name": "UmSwitch",
13490
+ "module": "src/switch/switch.ts"
13282
13491
  }
13283
13492
  }
13284
13493
  ]
13285
13494
  },
13286
13495
  {
13287
13496
  "kind": "javascript-module",
13288
- "path": "src/tab-bar/tab.styles.ts",
13497
+ "path": "src/tab-bar/tab-bar.styles.ts",
13289
13498
  "declarations": [
13290
13499
  {
13291
13500
  "kind": "variable",
13292
13501
  "name": "styles",
13293
- "default": "css `\n :host {\n --u-focus-ring-outline-offset: -4px;\n --_tab-height: var(--u-tab-height, 48px);\n display: block;\n flex: 0.5;\n padding-inline: var(--u-tab-padding, 16px);\n }\n\n .tab-content {\n display: flex;\n flex-direction: var(--_tab-content-direction, column);\n align-items: center;\n justify-content: center;\n max-width: 100%;\n height: var(--_tab-height);\n gap: var(--_tab-content-gap, 0);\n }\n\n .has-icon {\n --_tab-height: var(--u-tab-with-icon-height, 64px);\n }\n\n :host(.force-focus-ring) .button,\n .button:focus-visible {\n border-radius: var(--u-spacing-small, 8px);\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-tab-label-line-height, var(--u-title-s-line-height, 1.25rem));\n font-size: var(--u-tab-label-font-size, var(--u-title-s-font-size, 0.875rem));\n letter-spacing: var(--u-tab-label-letter-spacing, var(--u-title-s-letter-spacing, 0.0071428571rem));\n font-weight: var(--u-tab-label-font-weight, var(--u-title-s-font-weight, var(--u-font-weight-medium, 500)));\n color: var(--u-tab-label-text-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n max-width: 100%;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n }\n\n .icon {\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 1.5rem;\n color: var(--u-tab-label-text-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n }\n\n .active .icon,\n .active .label {\n color: var(--_active-label-color);\n }\n`"
13502
+ "default": "css `\n :host {\n position: relative;\n display: block;\n --_active-color: var(--u-tab-active-color, var(--u-color-primary, rgb(103, 80, 164)));\n --_active-label-color: var(--u-tab-active-label-color, var(--u-color-primary, rgb(103, 80, 164)));\n overflow: hidden;\n }\n\n .container {\n position: relative;\n display: flex;\n flex-direction: row;\n width: 100%;\n min-height: var(--u-tab-bar-min-height, 48px);\n overflow: auto;\n scroll-padding-inline: 128px;\n scrollbar-width: none;\n }\n .container::-webkit-scrollbar {\n display: none;\n }\n\n .scroll-indicator {\n --u-elevation-level: 2;\n cursor: pointer;\n position: absolute;\n display: none;\n align-items: center;\n justify-content: center;\n top: 0;\n width: var(--u-tab-bar-scroll-indicator-size, 32px);\n background-color: var(--u-scroll-indicator-bg-color, var(--u-current-bg-color, var(--u-color-surface, rgb(254, 247, 255))));\n font-size: 1.5rem;\n height: 100%;\n z-index: 1;\n }\n @media (hover: hover) {\n :host(:hover) .scroll-indicator.active {\n display: flex;\n }\n }\n\n .scroll-left {\n left: 0;\n }\n\n .scroll-right {\n right: 0;\n }\n\n .tab-indicator {\n position: absolute;\n background-color: var(--_active-color);\n height: 3px;\n bottom: 0;\n transition: inset 200ms ease-out, width 200ms ease-out;\n }\n\n .container:not(.secondary) .tab-indicator {\n border-radius: var(--u-tab-bar-primary-border-radius, 9999px 9999px 0 0);\n }\n\n .secondary {\n --_active-label-color: var(--u-tab-secondary-active-label-color, var(--u-color-on-surface, rgb(29, 27, 32)));\n --_tab-content-direction: row;\n --_tab-content-gap: 8px;\n --u-tab-with-icon-height: var(--u-tab-secondary-with-icon-height, 48px);\n }\n`"
13294
13503
  }
13295
13504
  ],
13296
13505
  "exports": [
@@ -13299,411 +13508,193 @@
13299
13508
  "name": "styles",
13300
13509
  "declaration": {
13301
13510
  "name": "styles",
13302
- "module": "src/tab-bar/tab.styles.ts"
13511
+ "module": "src/tab-bar/tab-bar.styles.ts"
13303
13512
  }
13304
13513
  }
13305
13514
  ]
13306
13515
  },
13307
13516
  {
13308
- "kind": "javascript-module",
13309
- "path": "src/tab-bar/tab.ts",
13310
- "declarations": [
13311
- {
13312
- "kind": "class",
13313
- "description": "",
13314
- "name": "UmTab",
13315
- "members": [
13316
- {
13317
- "kind": "field",
13318
- "name": "_bar",
13319
- "type": {
13320
- "text": "UmTabBar | null"
13321
- },
13322
- "default": "null"
13323
- },
13324
- {
13325
- "kind": "field",
13326
- "name": "#resizeObserver",
13327
- "privacy": "private",
13328
- "type": {
13329
- "text": "ResizeObserver"
13330
- },
13331
- "default": "new ResizeObserver(() => {\n if (this.active) {\n this._bar?._updateTabIndicator();\n }\n })"
13332
- },
13333
- {
13334
- "kind": "field",
13335
- "name": "active",
13336
- "type": {
13337
- "text": "boolean"
13338
- }
13339
- },
13340
- {
13341
- "kind": "field",
13342
- "name": "hasIcon",
13343
- "type": {
13344
- "text": "boolean"
13345
- },
13346
- "default": "false",
13347
- "attribute": "hasIcon"
13348
- },
13349
- {
13350
- "kind": "method",
13351
- "name": "renderContent",
13352
- "privacy": "protected",
13353
- "return": {
13354
- "type": {
13355
- "text": "HTMLTemplateResult"
13356
- }
13357
- },
13358
- "inheritedFrom": {
13359
- "name": "UmButtonWrapper",
13360
- "module": "src/shared/button-wrapper.ts"
13361
- }
13362
- },
13363
- {
13364
- "kind": "method",
13365
- "name": "handleClick",
13366
- "privacy": "protected",
13367
- "return": {
13368
- "type": {
13369
- "text": "void"
13370
- }
13371
- },
13372
- "parameters": [
13373
- {
13374
- "name": "_",
13375
- "type": {
13376
- "text": "UIEvent"
13377
- }
13378
- }
13379
- ],
13380
- "inheritedFrom": {
13381
- "name": "UmButtonWrapper",
13382
- "module": "src/shared/button-wrapper.ts"
13383
- }
13384
- },
13517
+ "kind": "javascript-module",
13518
+ "path": "src/tab-bar/tab-bar.ts",
13519
+ "declarations": [
13520
+ {
13521
+ "kind": "class",
13522
+ "description": "",
13523
+ "name": "UmTabBar",
13524
+ "members": [
13385
13525
  {
13386
- "kind": "method",
13387
- "name": "#iconSlotChange",
13388
- "parameters": [
13389
- {
13390
- "name": "e",
13391
- "type": {
13392
- "text": "Event"
13393
- }
13394
- }
13395
- ]
13526
+ "kind": "field",
13527
+ "name": "#tabs",
13528
+ "privacy": "private",
13529
+ "type": {
13530
+ "text": "UmTab[]"
13531
+ },
13532
+ "default": "[]"
13396
13533
  },
13397
13534
  {
13398
13535
  "kind": "field",
13399
- "name": "disabled",
13536
+ "name": "#activeTab",
13537
+ "privacy": "private",
13400
13538
  "type": {
13401
- "text": "boolean"
13539
+ "text": "UmTab | null"
13402
13540
  },
13403
- "default": "false",
13404
- "description": "Whether the button is disabled or not.",
13405
- "attribute": "disabled",
13406
- "reflects": true,
13407
- "inheritedFrom": {
13408
- "name": "UmButtonWrapper",
13409
- "module": "src/shared/button-wrapper.ts"
13410
- }
13541
+ "default": "null"
13411
13542
  },
13412
13543
  {
13413
13544
  "kind": "field",
13414
- "name": "renderRipple",
13545
+ "name": "#resizeObserver",
13546
+ "privacy": "private",
13415
13547
  "type": {
13416
- "text": "boolean"
13548
+ "text": "ResizeObserver"
13417
13549
  },
13418
- "default": "true",
13419
- "inheritedFrom": {
13420
- "name": "UmButtonWrapper",
13421
- "module": "src/shared/button-wrapper.ts"
13422
- }
13550
+ "default": "new ResizeObserver(() => {\n this._setScrollIndicatorsActive();\n this._updateTabIndicator();\n })"
13423
13551
  },
13424
13552
  {
13425
13553
  "kind": "field",
13426
- "name": "href",
13554
+ "name": "variant",
13427
13555
  "type": {
13428
- "text": "string | undefined"
13556
+ "text": "'primary' | 'secondary'"
13429
13557
  },
13430
- "description": "The URL that the link button points to.",
13431
- "attribute": "href",
13432
- "inheritedFrom": {
13433
- "name": "UmButtonWrapper",
13434
- "module": "src/shared/button-wrapper.ts"
13435
- }
13558
+ "default": "'primary'",
13559
+ "attribute": "variant",
13560
+ "reflects": true
13436
13561
  },
13437
13562
  {
13438
13563
  "kind": "field",
13439
- "name": "target",
13564
+ "name": "_scrollLeft",
13440
13565
  "type": {
13441
- "text": "string | undefined"
13566
+ "text": "HTMLElement"
13442
13567
  },
13443
- "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
13444
- "attribute": "target",
13445
- "inheritedFrom": {
13446
- "name": "UmButtonWrapper",
13447
- "module": "src/shared/button-wrapper.ts"
13448
- }
13568
+ "privacy": "private"
13449
13569
  },
13450
13570
  {
13451
13571
  "kind": "field",
13452
- "name": "name",
13572
+ "name": "_scrollRight",
13453
13573
  "type": {
13454
- "text": "string | undefined"
13574
+ "text": "HTMLElement"
13455
13575
  },
13456
- "attribute": "name",
13457
- "inheritedFrom": {
13458
- "name": "UmButtonWrapper",
13459
- "module": "src/shared/button-wrapper.ts"
13460
- }
13576
+ "privacy": "private"
13461
13577
  },
13462
13578
  {
13463
13579
  "kind": "field",
13464
- "name": "buttonElement",
13580
+ "name": "_container",
13465
13581
  "type": {
13466
13582
  "text": "HTMLElement"
13467
13583
  },
13468
- "inheritedFrom": {
13469
- "name": "UmButtonWrapper",
13470
- "module": "src/shared/button-wrapper.ts"
13471
- }
13584
+ "privacy": "private"
13472
13585
  },
13473
13586
  {
13474
13587
  "kind": "field",
13475
- "name": "ripple",
13588
+ "name": "_tabIndicator",
13476
13589
  "type": {
13477
- "text": "UmRipple"
13590
+ "text": "HTMLElement | undefined"
13478
13591
  },
13479
- "privacy": "private",
13480
- "inheritedFrom": {
13481
- "name": "UmButtonWrapper",
13482
- "module": "src/shared/button-wrapper.ts"
13483
- }
13592
+ "privacy": "private"
13484
13593
  },
13485
13594
  {
13486
13595
  "kind": "field",
13487
- "name": "innerRole",
13596
+ "name": "assignedElements",
13488
13597
  "type": {
13489
- "text": "string | null"
13490
- },
13491
- "privacy": "protected",
13492
- "default": "null",
13493
- "inheritedFrom": {
13494
- "name": "UmButtonWrapper",
13495
- "module": "src/shared/button-wrapper.ts"
13598
+ "text": "HTMLElement[]"
13496
13599
  }
13497
13600
  },
13498
13601
  {
13499
13602
  "kind": "field",
13500
- "name": "pathname",
13603
+ "name": "activeTabIndex",
13501
13604
  "type": {
13502
- "text": "string"
13503
- },
13504
- "inheritedFrom": {
13505
- "name": "UmButtonWrapper",
13506
- "module": "src/shared/button-wrapper.ts"
13605
+ "text": "number"
13507
13606
  }
13508
13607
  },
13509
13608
  {
13510
- "kind": "method",
13511
- "name": "renderButton",
13512
- "privacy": "private",
13513
- "inheritedFrom": {
13514
- "name": "UmButtonWrapper",
13515
- "module": "src/shared/button-wrapper.ts"
13609
+ "kind": "field",
13610
+ "name": "activeTab",
13611
+ "type": {
13612
+ "text": "UmTab | null"
13516
13613
  }
13517
13614
  },
13518
13615
  {
13519
- "kind": "method",
13520
- "name": "renderLink",
13521
- "privacy": "private",
13522
- "inheritedFrom": {
13523
- "name": "UmButtonWrapper",
13524
- "module": "src/shared/button-wrapper.ts"
13525
- }
13616
+ "kind": "field",
13617
+ "name": "#handleSlotChange",
13618
+ "privacy": "private"
13526
13619
  },
13527
13620
  {
13528
- "kind": "method",
13529
- "name": "focus",
13530
- "inheritedFrom": {
13531
- "name": "UmButtonWrapper",
13532
- "module": "src/shared/button-wrapper.ts"
13533
- }
13621
+ "kind": "field",
13622
+ "name": "#handleContainerScrollEnd",
13623
+ "privacy": "private"
13534
13624
  },
13535
13625
  {
13536
13626
  "kind": "method",
13537
- "name": "blur",
13538
- "inheritedFrom": {
13539
- "name": "UmButtonWrapper",
13540
- "module": "src/shared/button-wrapper.ts"
13541
- }
13627
+ "name": "_updateTabIndicator"
13542
13628
  },
13543
13629
  {
13544
- "kind": "method",
13545
- "name": "getAriaLabel",
13546
- "privacy": "protected",
13547
- "return": {
13548
- "type": {
13549
- "text": "string | null"
13550
- }
13551
- },
13552
- "inheritedFrom": {
13553
- "name": "UmButtonWrapper",
13554
- "module": "src/shared/button-wrapper.ts"
13555
- }
13630
+ "kind": "field",
13631
+ "name": "#scrollToLeft",
13632
+ "privacy": "private"
13633
+ },
13634
+ {
13635
+ "kind": "field",
13636
+ "name": "#scrollToRight",
13637
+ "privacy": "private"
13556
13638
  },
13557
13639
  {
13558
13640
  "kind": "method",
13559
- "name": "innerFocusHandler",
13560
- "privacy": "private",
13561
- "return": {
13562
- "type": {
13563
- "text": "void"
13564
- }
13565
- },
13566
- "inheritedFrom": {
13567
- "name": "UmButtonWrapper",
13568
- "module": "src/shared/button-wrapper.ts"
13569
- }
13641
+ "name": "_setScrollIndicatorsActive"
13570
13642
  },
13571
13643
  {
13572
13644
  "kind": "method",
13573
- "name": "#innerClickHandler",
13645
+ "name": "#attach",
13574
13646
  "return": {
13575
13647
  "type": {
13576
- "text": "void"
13577
- }
13578
- },
13579
- "parameters": [
13580
- {
13581
- "name": "event",
13582
- "type": {
13583
- "text": "MouseEvent"
13584
- }
13648
+ "text": "Promise<void>"
13585
13649
  }
13586
- ],
13587
- "inheritedFrom": {
13588
- "name": "UmButtonWrapper",
13589
- "module": "src/shared/button-wrapper.ts"
13590
13650
  }
13591
13651
  }
13592
13652
  ],
13593
13653
  "attributes": [
13594
13654
  {
13595
- "name": "hasIcon",
13596
- "type": {
13597
- "text": "boolean"
13598
- },
13599
- "default": "false",
13600
- "fieldName": "hasIcon"
13601
- },
13602
- {
13603
- "name": "disabled",
13604
- "type": {
13605
- "text": "boolean"
13606
- },
13607
- "default": "false",
13608
- "description": "Whether the button is disabled or not.",
13609
- "fieldName": "disabled",
13610
- "inheritedFrom": {
13611
- "name": "UmButtonWrapper",
13612
- "module": "src/shared/button-wrapper.ts"
13613
- }
13614
- },
13615
- {
13616
- "name": "href",
13617
- "type": {
13618
- "text": "string | undefined"
13619
- },
13620
- "description": "The URL that the link button points to.",
13621
- "fieldName": "href",
13622
- "inheritedFrom": {
13623
- "name": "UmButtonWrapper",
13624
- "module": "src/shared/button-wrapper.ts"
13625
- }
13626
- },
13627
- {
13628
- "name": "target",
13629
- "type": {
13630
- "text": "string | undefined"
13631
- },
13632
- "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
13633
- "fieldName": "target",
13634
- "inheritedFrom": {
13635
- "name": "UmButtonWrapper",
13636
- "module": "src/shared/button-wrapper.ts"
13637
- }
13638
- },
13639
- {
13640
- "name": "name",
13655
+ "name": "variant",
13641
13656
  "type": {
13642
- "text": "string | undefined"
13657
+ "text": "'primary' | 'secondary'"
13643
13658
  },
13644
- "fieldName": "name",
13645
- "inheritedFrom": {
13646
- "name": "UmButtonWrapper",
13647
- "module": "src/shared/button-wrapper.ts"
13648
- }
13659
+ "default": "'primary'",
13660
+ "fieldName": "variant"
13649
13661
  }
13650
13662
  ],
13651
13663
  "superclass": {
13652
- "name": "UmButtonWrapper",
13653
- "module": "/src/shared/button-wrapper.js"
13664
+ "name": "LitElement",
13665
+ "package": "lit"
13654
13666
  },
13655
- "tagName": "u-tab",
13667
+ "tagName": "u-tab-bar",
13656
13668
  "customElement": true
13657
13669
  }
13658
13670
  ],
13659
13671
  "exports": [
13660
13672
  {
13661
13673
  "kind": "js",
13662
- "name": "UmTab",
13674
+ "name": "UmTabBar",
13663
13675
  "declaration": {
13664
- "name": "UmTab",
13665
- "module": "src/tab-bar/tab.ts"
13676
+ "name": "UmTabBar",
13677
+ "module": "src/tab-bar/tab-bar.ts"
13666
13678
  }
13667
13679
  },
13668
13680
  {
13669
13681
  "kind": "custom-element-definition",
13670
- "name": "u-tab",
13671
- "declaration": {
13672
- "name": "UmTab",
13673
- "module": "src/tab-bar/tab.ts"
13674
- }
13675
- }
13676
- ]
13677
- },
13678
- {
13679
- "kind": "javascript-module",
13680
- "path": "src/shared/base.styles.ts",
13681
- "declarations": [
13682
- {
13683
- "kind": "variable",
13684
- "name": "styles",
13685
- "default": "css `\n :host,\n * {\n --_focus-ring-outline-offset: var(--u-focus-ring-outline-offset, 2px);\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 :host(.force-focus-ring) .focus-ring,\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: var(--_focus-ring-outline-offset);\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`"
13686
- }
13687
- ],
13688
- "exports": [
13689
- {
13690
- "kind": "js",
13691
- "name": "styles",
13682
+ "name": "u-tab-bar",
13692
13683
  "declaration": {
13693
- "name": "styles",
13694
- "module": "src/shared/base.styles.ts"
13684
+ "name": "UmTabBar",
13685
+ "module": "src/tab-bar/tab-bar.ts"
13695
13686
  }
13696
13687
  }
13697
13688
  ]
13698
13689
  },
13699
13690
  {
13700
13691
  "kind": "javascript-module",
13701
- "path": "src/shared/button-wrapper.styles.ts",
13692
+ "path": "src/tab-bar/tab.styles.ts",
13702
13693
  "declarations": [
13703
13694
  {
13704
13695
  "kind": "variable",
13705
13696
  "name": "styles",
13706
- "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-bg-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`"
13697
+ "default": "css `\n :host {\n --u-focus-ring-outline-offset: -4px;\n --_tab-height: var(--u-tab-height, 48px);\n display: block;\n flex: 0.5;\n padding-inline: var(--u-tab-padding, 16px);\n }\n\n .tab-content {\n display: flex;\n flex-direction: var(--_tab-content-direction, column);\n align-items: center;\n justify-content: center;\n max-width: 100%;\n height: var(--_tab-height);\n gap: var(--_tab-content-gap, 0);\n }\n\n .has-icon {\n --_tab-height: var(--u-tab-with-icon-height, 64px);\n }\n\n :host(.force-focus-ring) .button,\n .button:focus-visible {\n border-radius: var(--u-spacing-small, 8px);\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-tab-label-line-height, var(--u-title-s-line-height, 1.25rem));\n font-size: var(--u-tab-label-font-size, var(--u-title-s-font-size, 0.875rem));\n letter-spacing: var(--u-tab-label-letter-spacing, var(--u-title-s-letter-spacing, 0.0071428571rem));\n font-weight: var(--u-tab-label-font-weight, var(--u-title-s-font-weight, var(--u-font-weight-medium, 500)));\n color: var(--u-tab-label-text-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n max-width: 100%;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n }\n\n .icon {\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 1.5rem;\n color: var(--u-tab-label-text-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n }\n\n .active .icon,\n .active .label {\n color: var(--_active-label-color);\n }\n`"
13707
13698
  }
13708
13699
  ],
13709
13700
  "exports": [
@@ -13712,20 +13703,101 @@
13712
13703
  "name": "styles",
13713
13704
  "declaration": {
13714
13705
  "name": "styles",
13715
- "module": "src/shared/button-wrapper.styles.ts"
13706
+ "module": "src/tab-bar/tab.styles.ts"
13716
13707
  }
13717
13708
  }
13718
13709
  ]
13719
13710
  },
13720
13711
  {
13721
13712
  "kind": "javascript-module",
13722
- "path": "src/shared/button-wrapper.ts",
13713
+ "path": "src/tab-bar/tab.ts",
13723
13714
  "declarations": [
13724
13715
  {
13725
13716
  "kind": "class",
13726
13717
  "description": "",
13727
- "name": "UmButtonWrapper",
13718
+ "name": "UmTab",
13728
13719
  "members": [
13720
+ {
13721
+ "kind": "field",
13722
+ "name": "_bar",
13723
+ "type": {
13724
+ "text": "UmTabBar | null"
13725
+ },
13726
+ "default": "null"
13727
+ },
13728
+ {
13729
+ "kind": "field",
13730
+ "name": "#resizeObserver",
13731
+ "privacy": "private",
13732
+ "type": {
13733
+ "text": "ResizeObserver"
13734
+ },
13735
+ "default": "new ResizeObserver(() => {\n if (this.active) {\n this._bar?._updateTabIndicator();\n }\n })"
13736
+ },
13737
+ {
13738
+ "kind": "field",
13739
+ "name": "active",
13740
+ "type": {
13741
+ "text": "boolean"
13742
+ }
13743
+ },
13744
+ {
13745
+ "kind": "field",
13746
+ "name": "hasIcon",
13747
+ "type": {
13748
+ "text": "boolean"
13749
+ },
13750
+ "default": "false",
13751
+ "attribute": "hasIcon"
13752
+ },
13753
+ {
13754
+ "kind": "method",
13755
+ "name": "renderContent",
13756
+ "privacy": "protected",
13757
+ "return": {
13758
+ "type": {
13759
+ "text": "HTMLTemplateResult"
13760
+ }
13761
+ },
13762
+ "inheritedFrom": {
13763
+ "name": "UmButtonWrapper",
13764
+ "module": "src/shared/button-wrapper.ts"
13765
+ }
13766
+ },
13767
+ {
13768
+ "kind": "method",
13769
+ "name": "handleClick",
13770
+ "privacy": "protected",
13771
+ "return": {
13772
+ "type": {
13773
+ "text": "void"
13774
+ }
13775
+ },
13776
+ "parameters": [
13777
+ {
13778
+ "name": "_",
13779
+ "type": {
13780
+ "text": "UIEvent"
13781
+ }
13782
+ }
13783
+ ],
13784
+ "inheritedFrom": {
13785
+ "name": "UmButtonWrapper",
13786
+ "module": "src/shared/button-wrapper.ts"
13787
+ }
13788
+ },
13789
+ {
13790
+ "kind": "method",
13791
+ "name": "#iconSlotChange",
13792
+ "parameters": [
13793
+ {
13794
+ "name": "e",
13795
+ "type": {
13796
+ "text": "Event"
13797
+ }
13798
+ }
13799
+ ]
13800
+ },
13729
13801
  {
13730
13802
  "kind": "field",
13731
13803
  "name": "disabled",
@@ -13735,7 +13807,11 @@
13735
13807
  "default": "false",
13736
13808
  "description": "Whether the button is disabled or not.",
13737
13809
  "attribute": "disabled",
13738
- "reflects": true
13810
+ "reflects": true,
13811
+ "inheritedFrom": {
13812
+ "name": "UmButtonWrapper",
13813
+ "module": "src/shared/button-wrapper.ts"
13814
+ }
13739
13815
  },
13740
13816
  {
13741
13817
  "kind": "field",
@@ -13743,7 +13819,11 @@
13743
13819
  "type": {
13744
13820
  "text": "boolean"
13745
13821
  },
13746
- "default": "true"
13822
+ "default": "true",
13823
+ "inheritedFrom": {
13824
+ "name": "UmButtonWrapper",
13825
+ "module": "src/shared/button-wrapper.ts"
13826
+ }
13747
13827
  },
13748
13828
  {
13749
13829
  "kind": "field",
@@ -13752,7 +13832,11 @@
13752
13832
  "text": "string | undefined"
13753
13833
  },
13754
13834
  "description": "The URL that the link button points to.",
13755
- "attribute": "href"
13835
+ "attribute": "href",
13836
+ "inheritedFrom": {
13837
+ "name": "UmButtonWrapper",
13838
+ "module": "src/shared/button-wrapper.ts"
13839
+ }
13756
13840
  },
13757
13841
  {
13758
13842
  "kind": "field",
@@ -13761,7 +13845,11 @@
13761
13845
  "text": "string | undefined"
13762
13846
  },
13763
13847
  "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
13764
- "attribute": "target"
13848
+ "attribute": "target",
13849
+ "inheritedFrom": {
13850
+ "name": "UmButtonWrapper",
13851
+ "module": "src/shared/button-wrapper.ts"
13852
+ }
13765
13853
  },
13766
13854
  {
13767
13855
  "kind": "field",
@@ -13769,13 +13857,21 @@
13769
13857
  "type": {
13770
13858
  "text": "string | undefined"
13771
13859
  },
13772
- "attribute": "name"
13860
+ "attribute": "name",
13861
+ "inheritedFrom": {
13862
+ "name": "UmButtonWrapper",
13863
+ "module": "src/shared/button-wrapper.ts"
13864
+ }
13773
13865
  },
13774
13866
  {
13775
13867
  "kind": "field",
13776
13868
  "name": "buttonElement",
13777
13869
  "type": {
13778
13870
  "text": "HTMLElement"
13871
+ },
13872
+ "inheritedFrom": {
13873
+ "name": "UmButtonWrapper",
13874
+ "module": "src/shared/button-wrapper.ts"
13779
13875
  }
13780
13876
  },
13781
13877
  {
@@ -13784,7 +13880,11 @@
13784
13880
  "type": {
13785
13881
  "text": "UmRipple"
13786
13882
  },
13787
- "privacy": "private"
13883
+ "privacy": "private",
13884
+ "inheritedFrom": {
13885
+ "name": "UmButtonWrapper",
13886
+ "module": "src/shared/button-wrapper.ts"
13887
+ }
13788
13888
  },
13789
13889
  {
13790
13890
  "kind": "field",
@@ -13793,42 +13893,56 @@
13793
13893
  "text": "string | null"
13794
13894
  },
13795
13895
  "privacy": "protected",
13796
- "default": "null"
13896
+ "default": "null",
13897
+ "inheritedFrom": {
13898
+ "name": "UmButtonWrapper",
13899
+ "module": "src/shared/button-wrapper.ts"
13900
+ }
13797
13901
  },
13798
13902
  {
13799
13903
  "kind": "field",
13800
13904
  "name": "pathname",
13801
13905
  "type": {
13802
13906
  "text": "string"
13907
+ },
13908
+ "inheritedFrom": {
13909
+ "name": "UmButtonWrapper",
13910
+ "module": "src/shared/button-wrapper.ts"
13803
13911
  }
13804
13912
  },
13805
13913
  {
13806
13914
  "kind": "method",
13807
13915
  "name": "renderButton",
13808
- "privacy": "private"
13916
+ "privacy": "private",
13917
+ "inheritedFrom": {
13918
+ "name": "UmButtonWrapper",
13919
+ "module": "src/shared/button-wrapper.ts"
13920
+ }
13809
13921
  },
13810
13922
  {
13811
13923
  "kind": "method",
13812
13924
  "name": "renderLink",
13813
- "privacy": "private"
13814
- },
13815
- {
13816
- "kind": "method",
13817
- "name": "renderContent",
13818
- "privacy": "protected",
13819
- "return": {
13820
- "type": {
13821
- "text": "HTMLTemplateResult"
13822
- }
13925
+ "privacy": "private",
13926
+ "inheritedFrom": {
13927
+ "name": "UmButtonWrapper",
13928
+ "module": "src/shared/button-wrapper.ts"
13823
13929
  }
13824
13930
  },
13825
13931
  {
13826
13932
  "kind": "method",
13827
- "name": "focus"
13933
+ "name": "focus",
13934
+ "inheritedFrom": {
13935
+ "name": "UmButtonWrapper",
13936
+ "module": "src/shared/button-wrapper.ts"
13937
+ }
13828
13938
  },
13829
13939
  {
13830
13940
  "kind": "method",
13831
- "name": "blur"
13941
+ "name": "blur",
13942
+ "inheritedFrom": {
13943
+ "name": "UmButtonWrapper",
13944
+ "module": "src/shared/button-wrapper.ts"
13945
+ }
13832
13946
  },
13833
13947
  {
13834
13948
  "kind": "method",
@@ -13838,6 +13952,10 @@
13838
13952
  "type": {
13839
13953
  "text": "string | null"
13840
13954
  }
13955
+ },
13956
+ "inheritedFrom": {
13957
+ "name": "UmButtonWrapper",
13958
+ "module": "src/shared/button-wrapper.ts"
13841
13959
  }
13842
13960
  },
13843
13961
  {
@@ -13848,6 +13966,10 @@
13848
13966
  "type": {
13849
13967
  "text": "void"
13850
13968
  }
13969
+ },
13970
+ "inheritedFrom": {
13971
+ "name": "UmButtonWrapper",
13972
+ "module": "src/shared/button-wrapper.ts"
13851
13973
  }
13852
13974
  },
13853
13975
  {
@@ -13865,28 +13987,22 @@
13865
13987
  "text": "MouseEvent"
13866
13988
  }
13867
13989
  }
13868
- ]
13869
- },
13870
- {
13871
- "kind": "method",
13872
- "name": "handleClick",
13873
- "privacy": "protected",
13874
- "return": {
13875
- "type": {
13876
- "text": "void"
13877
- }
13878
- },
13879
- "parameters": [
13880
- {
13881
- "name": "_",
13882
- "type": {
13883
- "text": "UIEvent"
13884
- }
13885
- }
13886
- ]
13990
+ ],
13991
+ "inheritedFrom": {
13992
+ "name": "UmButtonWrapper",
13993
+ "module": "src/shared/button-wrapper.ts"
13994
+ }
13887
13995
  }
13888
13996
  ],
13889
13997
  "attributes": [
13998
+ {
13999
+ "name": "hasIcon",
14000
+ "type": {
14001
+ "text": "boolean"
14002
+ },
14003
+ "default": "false",
14004
+ "fieldName": "hasIcon"
14005
+ },
13890
14006
  {
13891
14007
  "name": "disabled",
13892
14008
  "type": {
@@ -13894,7 +14010,11 @@
13894
14010
  },
13895
14011
  "default": "false",
13896
14012
  "description": "Whether the button is disabled or not.",
13897
- "fieldName": "disabled"
14013
+ "fieldName": "disabled",
14014
+ "inheritedFrom": {
14015
+ "name": "UmButtonWrapper",
14016
+ "module": "src/shared/button-wrapper.ts"
14017
+ }
13898
14018
  },
13899
14019
  {
13900
14020
  "name": "href",
@@ -13902,7 +14022,11 @@
13902
14022
  "text": "string | undefined"
13903
14023
  },
13904
14024
  "description": "The URL that the link button points to.",
13905
- "fieldName": "href"
14025
+ "fieldName": "href",
14026
+ "inheritedFrom": {
14027
+ "name": "UmButtonWrapper",
14028
+ "module": "src/shared/button-wrapper.ts"
14029
+ }
13906
14030
  },
13907
14031
  {
13908
14032
  "name": "target",
@@ -13910,171 +14034,47 @@
13910
14034
  "text": "string | undefined"
13911
14035
  },
13912
14036
  "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
13913
- "fieldName": "target"
14037
+ "fieldName": "target",
14038
+ "inheritedFrom": {
14039
+ "name": "UmButtonWrapper",
14040
+ "module": "src/shared/button-wrapper.ts"
14041
+ }
13914
14042
  },
13915
14043
  {
13916
14044
  "name": "name",
13917
14045
  "type": {
13918
14046
  "text": "string | undefined"
13919
14047
  },
13920
- "fieldName": "name"
14048
+ "fieldName": "name",
14049
+ "inheritedFrom": {
14050
+ "name": "UmButtonWrapper",
14051
+ "module": "src/shared/button-wrapper.ts"
14052
+ }
13921
14053
  }
13922
14054
  ],
13923
14055
  "superclass": {
13924
- "name": "LitElement",
13925
- "package": "lit"
13926
- },
13927
- "customElement": true
13928
- }
13929
- ],
13930
- "exports": [
13931
- {
13932
- "kind": "js",
13933
- "name": "UmButtonWrapper",
13934
- "declaration": {
13935
14056
  "name": "UmButtonWrapper",
13936
- "module": "src/shared/button-wrapper.ts"
13937
- }
13938
- }
13939
- ]
13940
- },
13941
- {
13942
- "kind": "javascript-module",
13943
- "path": "src/shared/compare-text.ts",
13944
- "declarations": [
13945
- {
13946
- "kind": "function",
13947
- "name": "normalizedStartsWith",
13948
- "return": {
13949
- "type": {
13950
- "text": "boolean"
13951
- }
14057
+ "module": "/src/shared/button-wrapper.js"
13952
14058
  },
13953
- "parameters": [
13954
- {
13955
- "name": "text",
13956
- "type": {
13957
- "text": "string | null"
13958
- }
13959
- },
13960
- {
13961
- "name": "term",
13962
- "type": {
13963
- "text": "string | null"
13964
- }
13965
- }
13966
- ]
13967
- }
13968
- ],
13969
- "exports": [
13970
- {
13971
- "kind": "js",
13972
- "name": "normalizedStartsWith",
13973
- "declaration": {
13974
- "name": "normalizedStartsWith",
13975
- "module": "src/shared/compare-text.ts"
13976
- }
13977
- }
13978
- ]
13979
- },
13980
- {
13981
- "kind": "javascript-module",
13982
- "path": "src/shared/extract-template-html.ts",
13983
- "declarations": [
13984
- {
13985
- "kind": "function",
13986
- "name": "extractTemplateHtml",
13987
- "parameters": [
13988
- {
13989
- "name": "template",
13990
- "type": {
13991
- "text": "HTMLTemplateElement"
13992
- }
13993
- }
13994
- ]
13995
- }
13996
- ],
13997
- "exports": [
13998
- {
13999
- "kind": "js",
14000
- "name": "extractTemplateHtml",
14001
- "declaration": {
14002
- "name": "extractTemplateHtml",
14003
- "module": "src/shared/extract-template-html.ts"
14004
- }
14005
- }
14006
- ]
14007
- },
14008
- {
14009
- "kind": "javascript-module",
14010
- "path": "src/shared/mixin-attribute-properties.ts",
14011
- "declarations": [
14012
- {
14013
- "kind": "mixin",
14014
- "description": "",
14015
- "name": "mixinAttributeProperties",
14016
- "parameters": [
14017
- {
14018
- "name": "base",
14019
- "type": {
14020
- "text": "T"
14021
- }
14022
- },
14023
- {
14024
- "name": "properties",
14025
- "type": {
14026
- "text": "string[]"
14027
- }
14028
- }
14029
- ]
14059
+ "tagName": "u-tab",
14060
+ "customElement": true
14030
14061
  }
14031
14062
  ],
14032
14063
  "exports": [
14033
14064
  {
14034
14065
  "kind": "js",
14035
- "name": "mixinAttributeProperties",
14066
+ "name": "UmTab",
14036
14067
  "declaration": {
14037
- "name": "mixinAttributeProperties",
14038
- "module": "src/shared/mixin-attribute-properties.ts"
14068
+ "name": "UmTab",
14069
+ "module": "src/tab-bar/tab.ts"
14039
14070
  }
14040
- }
14041
- ]
14042
- },
14043
- {
14044
- "kind": "javascript-module",
14045
- "path": "src/shared/mixin.ts",
14046
- "declarations": [],
14047
- "exports": []
14048
- },
14049
- {
14050
- "kind": "javascript-module",
14051
- "path": "src/shared/normalize-text.ts",
14052
- "declarations": [
14053
- {
14054
- "kind": "function",
14055
- "name": "normalizeText",
14056
- "return": {
14057
- "type": {
14058
- "text": "string"
14059
- }
14060
- },
14061
- "parameters": [
14062
- {
14063
- "name": "text",
14064
- "type": {
14065
- "text": "string | null"
14066
- }
14067
- }
14068
- ]
14069
- }
14070
- ],
14071
- "exports": [
14071
+ },
14072
14072
  {
14073
- "kind": "js",
14074
- "name": "normalizeText",
14073
+ "kind": "custom-element-definition",
14074
+ "name": "u-tab",
14075
14075
  "declaration": {
14076
- "name": "normalizeText",
14077
- "module": "src/shared/normalize-text.ts"
14076
+ "name": "UmTab",
14077
+ "module": "src/tab-bar/tab.ts"
14078
14078
  }
14079
14079
  }
14080
14080
  ]
@@ -16915,46 +16915,6 @@
16915
16915
  }
16916
16916
  ]
16917
16917
  },
16918
- {
16919
- "kind": "javascript-module",
16920
- "path": "src/shared/events/dispatch-event.ts",
16921
- "declarations": [],
16922
- "exports": []
16923
- },
16924
- {
16925
- "kind": "javascript-module",
16926
- "path": "src/shared/events/redispatch-event.ts",
16927
- "declarations": [
16928
- {
16929
- "kind": "function",
16930
- "name": "redispatchEvent",
16931
- "parameters": [
16932
- {
16933
- "name": "element",
16934
- "type": {
16935
- "text": "Element"
16936
- }
16937
- },
16938
- {
16939
- "name": "event",
16940
- "type": {
16941
- "text": "Event"
16942
- }
16943
- }
16944
- ]
16945
- }
16946
- ],
16947
- "exports": [
16948
- {
16949
- "kind": "js",
16950
- "name": "redispatchEvent",
16951
- "declaration": {
16952
- "name": "redispatchEvent",
16953
- "module": "src/shared/events/redispatch-event.ts"
16954
- }
16955
- }
16956
- ]
16957
- },
16958
16918
  {
16959
16919
  "kind": "javascript-module",
16960
16920
  "path": "src/shared/char-count-text-field/native-text-field-wrapper.ts",
@@ -17635,6 +17595,46 @@
17635
17595
  }
17636
17596
  ]
17637
17597
  },
17598
+ {
17599
+ "kind": "javascript-module",
17600
+ "path": "src/shared/events/dispatch-event.ts",
17601
+ "declarations": [],
17602
+ "exports": []
17603
+ },
17604
+ {
17605
+ "kind": "javascript-module",
17606
+ "path": "src/shared/events/redispatch-event.ts",
17607
+ "declarations": [
17608
+ {
17609
+ "kind": "function",
17610
+ "name": "redispatchEvent",
17611
+ "parameters": [
17612
+ {
17613
+ "name": "element",
17614
+ "type": {
17615
+ "text": "Element"
17616
+ }
17617
+ },
17618
+ {
17619
+ "name": "event",
17620
+ "type": {
17621
+ "text": "Event"
17622
+ }
17623
+ }
17624
+ ]
17625
+ }
17626
+ ],
17627
+ "exports": [
17628
+ {
17629
+ "kind": "js",
17630
+ "name": "redispatchEvent",
17631
+ "declaration": {
17632
+ "name": "redispatchEvent",
17633
+ "module": "src/shared/events/redispatch-event.ts"
17634
+ }
17635
+ }
17636
+ ]
17637
+ },
17638
17638
  {
17639
17639
  "kind": "javascript-module",
17640
17640
  "path": "src/shared/menu-field/menu-field-navigation-controller.ts",