@sbb-esta/lyne-elements-dev 4.11.0-dev.1776143908 → 4.11.0-dev.1776240805

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.
Files changed (2) hide show
  1. package/custom-elements.json +1072 -1072
  2. package/package.json +2 -2
@@ -106279,27 +106279,23 @@
106279
106279
  },
106280
106280
  {
106281
106281
  "kind": "javascript-module",
106282
- "path": "menu/menu-button/menu-button.component.js",
106282
+ "path": "menu/menu/menu.component.js",
106283
106283
  "declarations": [
106284
106284
  {
106285
106285
  "kind": "class",
106286
- "description": "It displays a button element that can be used in the `sbb-menu` component.",
106287
- "name": "SbbMenuButtonElement",
106286
+ "description": "It displays a contextual menu with one or more action element.",
106287
+ "name": "SbbMenuElement",
106288
106288
  "cssProperties": [
106289
106289
  {
106290
- "description": "Can be used to modify horizontal padding.",
106291
- "name": "--sbb-menu-action-outer-horizontal-padding",
106292
- "default": "var(--sbb-spacing-fixed-3x)"
106290
+ "description": "To specify a custom stack order, the `z-index` can be overridden by defining this CSS variable. The default `z-index` of the component is set to `var(--sbb-overlay-default-z-index)` with a value of `1000`.",
106291
+ "name": "--sbb-menu-z-index",
106292
+ "default": "var(--sbb-overlay-default-z-index)"
106293
106293
  }
106294
106294
  ],
106295
106295
  "slots": [
106296
106296
  {
106297
- "description": "Use the unnamed slot to add content to the `sbb-menu-button`.",
106297
+ "description": "Use the unnamed slot to add `sbb-menu-button`/`sbb-menu-link` or other elements to the menu.",
106298
106298
  "name": ""
106299
- },
106300
- {
106301
- "description": "Use this slot to provide an icon. If `icon-name` is set, a `sbb-icon` will be used.",
106302
- "name": "icon"
106303
106299
  }
106304
106300
  ],
106305
106301
  "members": [
@@ -106316,261 +106312,274 @@
106316
106312
  "name": "SbbElement",
106317
106313
  "module": "core/base-elements/element.js"
106318
106314
  },
106319
- "default": "'sbb-menu-button'"
106315
+ "default": "'sbb-menu'"
106320
106316
  },
106321
106317
  {
106322
106318
  "kind": "field",
106323
106319
  "name": "role",
106324
106320
  "type": {
106325
- "text": "ElementInternals['role']"
106321
+ "text": "string"
106326
106322
  },
106327
106323
  "privacy": "public",
106328
106324
  "static": true,
106329
106325
  "readonly": true,
106330
- "default": "'menuitem'",
106331
- "inheritedFrom": {
106332
- "name": "SbbButtonLikeBaseElement",
106333
- "module": "core/base-elements/button-base-element.js"
106334
- }
106326
+ "default": "'menu'"
106335
106327
  },
106336
106328
  {
106337
106329
  "kind": "field",
106338
- "name": "disabledInteractive",
106330
+ "name": "trigger",
106339
106331
  "type": {
106340
- "text": "boolean"
106332
+ "text": "HTMLElement | null"
106341
106333
  },
106342
106334
  "privacy": "public",
106343
- "default": "false",
106344
- "description": "Whether the button should be aria-disabled but stay interactive.",
106345
- "attribute": "disabled-interactive",
106346
- "reflects": true,
106347
- "inheritedFrom": {
106348
- "name": "SbbDisabledInteractiveMixin",
106349
- "module": "core/mixins/disabled-mixin.js"
106350
- }
106335
+ "default": "null",
106336
+ "description": "The element that will trigger the menu overlay.\n\nFor attribute usage, provide an id reference.",
106337
+ "attribute": "trigger"
106351
106338
  },
106352
106339
  {
106353
106340
  "kind": "field",
106354
- "name": "disabled",
106355
- "privacy": "public",
106356
- "description": "Whether the component is disabled.",
106357
- "default": "false",
106341
+ "name": "_menu",
106358
106342
  "type": {
106359
- "text": "boolean"
106343
+ "text": "HTMLDivElement"
106360
106344
  },
106361
- "attribute": "disabled",
106362
- "reflects": true,
106363
- "inheritedFrom": {
106364
- "name": "SbbDisabledMixin",
106365
- "module": "core/mixins/disabled-mixin.js"
106366
- }
106345
+ "privacy": "private"
106367
106346
  },
106368
106347
  {
106369
106348
  "kind": "field",
106370
- "name": "#disabled",
106349
+ "name": "_triggerElement",
106350
+ "type": {
106351
+ "text": "HTMLElement | null"
106352
+ },
106371
106353
  "privacy": "private",
106354
+ "default": "null"
106355
+ },
106356
+ {
106357
+ "kind": "field",
106358
+ "name": "_triggerAbortController",
106359
+ "type": {
106360
+ "text": "AbortController"
106361
+ },
106362
+ "privacy": "private"
106363
+ },
106364
+ {
106365
+ "kind": "field",
106366
+ "name": "_isPointerDownEventOnMenu",
106372
106367
  "type": {
106373
106368
  "text": "boolean"
106374
106369
  },
106375
- "default": "false",
106376
- "inheritedFrom": {
106377
- "name": "SbbDisabledMixin",
106378
- "module": "core/mixins/disabled-mixin.js"
106379
- }
106370
+ "privacy": "private",
106371
+ "default": "false"
106372
+ },
106373
+ {
106374
+ "kind": "field",
106375
+ "name": "_windowEventsController",
106376
+ "type": {
106377
+ "text": "AbortController"
106378
+ },
106379
+ "privacy": "private"
106380
+ },
106381
+ {
106382
+ "kind": "field",
106383
+ "name": "_escapableOverlayController",
106384
+ "privacy": "private",
106385
+ "default": "new SbbEscapableOverlayController(this)"
106386
+ },
106387
+ {
106388
+ "kind": "field",
106389
+ "name": "_focusTrapController",
106390
+ "privacy": "private",
106391
+ "default": "new SbbFocusTrapController(this)"
106392
+ },
106393
+ {
106394
+ "kind": "field",
106395
+ "name": "_scrollHandler",
106396
+ "privacy": "private",
106397
+ "default": "new SbbScrollHandler()"
106398
+ },
106399
+ {
106400
+ "kind": "field",
106401
+ "name": "_inertController",
106402
+ "privacy": "private",
106403
+ "default": "new SbbInertController(this)"
106404
+ },
106405
+ {
106406
+ "kind": "field",
106407
+ "name": "_mobileBreakpoint",
106408
+ "privacy": "private",
106409
+ "default": "SbbMediaQueryBreakpointSmallAndBelow"
106410
+ },
106411
+ {
106412
+ "kind": "field",
106413
+ "name": "_mediaMatcher",
106414
+ "privacy": "private",
106415
+ "default": "new SbbMediaMatcherController(this, { [this._mobileBreakpoint]: (matches) => { if (matches && (this.state === 'opening' || this.state === 'opened')) { this._scrollHandler.disableScroll(); } else { this._scrollHandler.enableScroll(); } }, })"
106416
+ },
106417
+ {
106418
+ "kind": "field",
106419
+ "name": "_darkModeController",
106420
+ "privacy": "private",
106421
+ "default": "new SbbDarkModeController(this, () => this._syncNegative())"
106422
+ },
106423
+ {
106424
+ "kind": "field",
106425
+ "name": "_language",
106426
+ "privacy": "private",
106427
+ "default": "new SbbLanguageController(this)"
106428
+ },
106429
+ {
106430
+ "kind": "field",
106431
+ "name": "_nestedMenu",
106432
+ "type": {
106433
+ "text": "SbbMenuElement | null"
106434
+ },
106435
+ "privacy": "private",
106436
+ "default": "null"
106380
106437
  },
106381
106438
  {
106382
106439
  "kind": "method",
106383
- "name": "isDisabledExternally",
106384
- "privacy": "protected",
106440
+ "name": "escapeStrategy",
106441
+ "privacy": "public",
106385
106442
  "return": {
106386
106443
  "type": {
106387
- "text": "boolean"
106444
+ "text": "void"
106388
106445
  }
106389
106446
  },
106390
- "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
106447
+ "description": "The method which is called on escape key press. Defaults to calling close()",
106391
106448
  "inheritedFrom": {
106392
- "name": "SbbDisabledMixin",
106393
- "module": "core/mixins/disabled-mixin.js"
106449
+ "name": "SbbOpenCloseBaseElement",
106450
+ "module": "core/base-elements/open-close-base-element.js"
106394
106451
  }
106395
106452
  },
106396
106453
  {
106397
- "kind": "field",
106398
- "name": "styles",
106399
- "type": {
106400
- "text": "CSSResultGroup"
106401
- },
106454
+ "kind": "method",
106455
+ "name": "open",
106402
106456
  "privacy": "public",
106403
- "static": true,
106404
- "default": "[boxSizingStyles, unsafeCSS(style)]",
106457
+ "return": {
106458
+ "type": {
106459
+ "text": "void"
106460
+ }
106461
+ },
106462
+ "description": "Opens the menu on trigger click.",
106405
106463
  "inheritedFrom": {
106406
- "name": "SbbMenuActionCommonElementMixin",
106407
- "module": "menu/common/menu-action-common.js"
106464
+ "name": "SbbOpenCloseBaseElement",
106465
+ "module": "core/base-elements/open-close-base-element.js"
106408
106466
  }
106409
106467
  },
106410
106468
  {
106411
106469
  "kind": "method",
106412
- "name": "renderTemplate",
106413
- "privacy": "protected",
106470
+ "name": "close",
106471
+ "privacy": "public",
106414
106472
  "return": {
106415
106473
  "type": {
106416
- "text": "TemplateResult"
106474
+ "text": "void"
106417
106475
  }
106418
106476
  },
106419
- "description": "Override this method to render the component template.",
106477
+ "description": "Closes the menu and all its nested menus.",
106420
106478
  "inheritedFrom": {
106421
- "name": "SbbActionBaseElement",
106422
- "module": "core/base-elements/action-base-element.js"
106479
+ "name": "SbbOpenCloseBaseElement",
106480
+ "module": "core/base-elements/open-close-base-element.js"
106423
106481
  }
106424
106482
  },
106425
106483
  {
106426
- "kind": "field",
106427
- "name": "iconName",
106428
- "type": {
106429
- "text": "string"
106430
- },
106484
+ "kind": "method",
106485
+ "name": "closeAll",
106431
106486
  "privacy": "public",
106432
- "default": "''",
106433
- "description": "The icon name we want to use, choose from the small icon variants\nfrom the ui-icons category from here\nhttps://icons.app.sbb.ch.",
106434
- "attribute": "icon-name",
106435
- "inheritedFrom": {
106436
- "name": "SbbIconNameMixin",
106437
- "module": "icon/icon-name-mixin.js"
106438
- }
106487
+ "return": {
106488
+ "type": {
106489
+ "text": "void"
106490
+ }
106491
+ },
106492
+ "description": "Closes the menu and all related menus (nested and parent menus)."
106439
106493
  },
106440
106494
  {
106441
106495
  "kind": "method",
106442
- "name": "renderIconSlot",
106443
- "privacy": "protected",
106496
+ "name": "_close",
106497
+ "privacy": "private",
106444
106498
  "return": {
106445
106499
  "type": {
106446
- "text": "TemplateResult"
106500
+ "text": "void"
106447
106501
  }
106448
106502
  },
106449
106503
  "parameters": [
106450
106504
  {
106451
- "name": "classname",
106452
- "optional": true,
106453
- "type": {
106454
- "text": "string"
106455
- }
106505
+ "name": "closeAll",
106506
+ "default": "false",
106507
+ "description": "If true, it ensures animations are correct by toggling some states when closing all related menus at once.",
106508
+ "optional": true
106456
106509
  }
106457
- ],
106458
- "inheritedFrom": {
106459
- "name": "SbbIconNameMixin",
106460
- "module": "icon/icon-name-mixin.js"
106461
- }
106510
+ ]
106462
106511
  },
106463
106512
  {
106464
106513
  "kind": "method",
106465
- "name": "renderIconName",
106466
- "privacy": "protected",
106514
+ "name": "_isZeroAnimationDuration",
106515
+ "privacy": "private",
106467
106516
  "return": {
106468
106517
  "type": {
106469
- "text": "string"
106518
+ "text": "boolean"
106470
106519
  }
106471
- },
106472
- "inheritedFrom": {
106473
- "name": "SbbIconNameMixin",
106474
- "module": "icon/icon-name-mixin.js"
106475
106520
  }
106476
106521
  },
106477
106522
  {
106478
106523
  "kind": "method",
106479
- "name": "_renderIconName",
106524
+ "name": "_handleOpening",
106480
106525
  "privacy": "private",
106481
106526
  "return": {
106482
106527
  "type": {
106483
- "text": "string"
106528
+ "text": "void"
106484
106529
  }
106485
- },
106486
- "inheritedFrom": {
106487
- "name": "SbbIconNameMixin",
106488
- "module": "icon/icon-name-mixin.js"
106489
106530
  }
106490
106531
  },
106491
106532
  {
106492
- "kind": "field",
106493
- "name": "_elementsOnWhichEnterPressTriggersSubmit",
106494
- "type": {
106495
- "text": "array"
106496
- },
106533
+ "kind": "method",
106534
+ "name": "_handleClosing",
106497
106535
  "privacy": "private",
106498
- "readonly": true,
106499
- "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
106500
- "inheritedFrom": {
106501
- "name": "SbbButtonBaseElement",
106502
- "module": "core/base-elements/button-base-element.js"
106503
- }
106504
- },
106505
- {
106506
- "kind": "field",
106507
- "name": "value",
106508
- "type": {
106509
- "text": "string"
106510
- },
106511
- "privacy": "public",
106512
- "inheritedFrom": {
106513
- "name": "SbbButtonBaseElement",
106514
- "module": "core/base-elements/button-base-element.js"
106515
- },
106516
- "default": "''",
106517
- "description": "Value of the form element.",
106518
- "attribute": "value"
106519
- },
106520
- {
106521
- "kind": "field",
106522
- "name": "type",
106523
- "privacy": "public",
106524
- "description": "The type attribute to use for the button.",
106525
- "default": "'button'",
106526
- "type": {
106527
- "text": "SbbButtonType"
106528
- },
106529
- "attribute": "type",
106530
- "inheritedFrom": {
106531
- "name": "SbbButtonBaseElement",
106532
- "module": "core/base-elements/button-base-element.js"
106536
+ "return": {
106537
+ "type": {
106538
+ "text": "void"
106539
+ }
106533
106540
  }
106534
106541
  },
106535
106542
  {
106536
- "kind": "field",
106537
- "name": "form",
106538
- "type": {
106539
- "text": "HTMLFormElement | null"
106540
- },
106541
- "privacy": "public",
106542
- "description": "The `<form>` element to associate the button with.",
106543
- "inheritedFrom": {
106544
- "name": "SbbButtonBaseElement",
106545
- "module": "core/base-elements/button-base-element.js"
106543
+ "kind": "method",
106544
+ "name": "_handleKeyDown",
106545
+ "privacy": "private",
106546
+ "return": {
106547
+ "type": {
106548
+ "text": "void"
106549
+ }
106546
106550
  },
106547
- "attribute": "form"
106551
+ "parameters": [
106552
+ {
106553
+ "name": "evt",
106554
+ "type": {
106555
+ "text": "KeyboardEvent"
106556
+ }
106557
+ }
106558
+ ]
106548
106559
  },
106549
106560
  {
106550
- "kind": "field",
106551
- "name": "_formId",
106552
- "type": {
106553
- "text": "string"
106554
- },
106561
+ "kind": "method",
106562
+ "name": "_configureTrigger",
106555
106563
  "privacy": "private",
106556
- "default": "''",
106557
- "inheritedFrom": {
106558
- "name": "SbbButtonBaseElement",
106559
- "module": "core/base-elements/button-base-element.js"
106564
+ "return": {
106565
+ "type": {
106566
+ "text": "void"
106567
+ }
106560
106568
  }
106561
106569
  },
106562
106570
  {
106563
- "kind": "field",
106564
- "name": "_handleButtonClick",
106571
+ "kind": "method",
106572
+ "name": "_attachWindowEvents",
106565
106573
  "privacy": "private",
106566
- "inheritedFrom": {
106567
- "name": "SbbButtonBaseElement",
106568
- "module": "core/base-elements/button-base-element.js"
106574
+ "return": {
106575
+ "type": {
106576
+ "text": "void"
106577
+ }
106569
106578
  }
106570
106579
  },
106571
106580
  {
106572
106581
  "kind": "method",
106573
- "name": "_requestSubmit",
106582
+ "name": "_interactiveElementClick",
106574
106583
  "privacy": "private",
106575
106584
  "return": {
106576
106585
  "type": {
@@ -106579,220 +106588,79 @@
106579
106588
  },
106580
106589
  "parameters": [
106581
106590
  {
106582
- "name": "form",
106591
+ "name": "event",
106583
106592
  "type": {
106584
- "text": "HTMLFormElement"
106593
+ "text": "Event"
106585
106594
  }
106586
106595
  }
106587
- ],
106588
- "inheritedFrom": {
106589
- "name": "SbbButtonBaseElement",
106590
- "module": "core/base-elements/button-base-element.js"
106591
- }
106592
- },
106593
- {
106594
- "kind": "field",
106595
- "name": "_formKeyDown",
106596
- "privacy": "private",
106597
- "inheritedFrom": {
106598
- "name": "SbbButtonBaseElement",
106599
- "module": "core/base-elements/button-base-element.js"
106600
- }
106601
- },
106602
- {
106603
- "kind": "field",
106604
- "name": "formAssociated",
106605
- "type": {
106606
- "text": "boolean"
106607
- },
106608
- "privacy": "public",
106609
- "static": true,
106610
- "default": "true",
106611
- "inheritedFrom": {
106612
- "name": "SbbFormAssociatedMixin",
106613
- "module": "core/mixins/form-associated-mixin.js"
106614
- }
106615
- },
106616
- {
106617
- "kind": "field",
106618
- "name": "name",
106619
- "privacy": "public",
106620
- "description": "Name of the form element. Will be read from name attribute.",
106621
- "type": {
106622
- "text": "string"
106623
- },
106624
- "attribute": "name",
106625
- "inheritedFrom": {
106626
- "name": "SbbFormAssociatedMixin",
106627
- "module": "core/mixins/form-associated-mixin.js"
106628
- }
106629
- },
106630
- {
106631
- "kind": "field",
106632
- "name": "validity",
106633
- "type": {
106634
- "text": "ValidityState"
106635
- },
106636
- "privacy": "public",
106637
- "description": "Returns the ValidityState object for this element.",
106638
- "readonly": true,
106639
- "inheritedFrom": {
106640
- "name": "SbbFormAssociatedMixin",
106641
- "module": "core/mixins/form-associated-mixin.js"
106642
- }
106643
- },
106644
- {
106645
- "kind": "field",
106646
- "name": "validationMessage",
106647
- "type": {
106648
- "text": "string"
106649
- },
106650
- "privacy": "public",
106651
- "description": "Returns the current error message, if available, which corresponds\nto the current validation state.\nPlease note that only one message is returned at a time (e.g. if\nmultiple validity states are invalid, only the chronologically first one\nis returned until it is fixed, at which point the next message might be\nreturned, if it is still applicable). Also, a custom validity message\n(see below) has precedence over native validation messages.",
106652
- "readonly": true,
106653
- "inheritedFrom": {
106654
- "name": "SbbFormAssociatedMixin",
106655
- "module": "core/mixins/form-associated-mixin.js"
106656
- }
106657
- },
106658
- {
106659
- "kind": "field",
106660
- "name": "willValidate",
106661
- "type": {
106662
- "text": "boolean"
106663
- },
106664
- "privacy": "public",
106665
- "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
106666
- "readonly": true,
106667
- "inheritedFrom": {
106668
- "name": "SbbFormAssociatedMixin",
106669
- "module": "core/mixins/form-associated-mixin.js"
106670
- }
106596
+ ]
106671
106597
  },
106672
106598
  {
106673
106599
  "kind": "field",
106674
- "name": "_validityStates",
106675
- "privacy": "private",
106676
- "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
106677
- "inheritedFrom": {
106678
- "name": "SbbFormAssociatedMixin",
106679
- "module": "core/mixins/form-associated-mixin.js"
106680
- }
106600
+ "name": "_pointerDownListener",
106601
+ "privacy": "private"
106681
106602
  },
106682
106603
  {
106683
106604
  "kind": "field",
106684
- "name": "formDisabled",
106685
- "type": {
106686
- "text": "boolean"
106687
- },
106688
- "privacy": "protected",
106689
- "default": "false",
106690
- "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
106691
- "inheritedFrom": {
106692
- "name": "SbbFormAssociatedMixin",
106693
- "module": "core/mixins/form-associated-mixin.js"
106694
- }
106605
+ "name": "_closeOnBackdropClick",
106606
+ "privacy": "private"
106695
106607
  },
106696
106608
  {
106697
106609
  "kind": "method",
106698
- "name": "checkValidity",
106699
- "privacy": "public",
106610
+ "name": "_nestedMenus",
106611
+ "privacy": "private",
106700
106612
  "return": {
106701
106613
  "type": {
106702
- "text": "boolean"
106614
+ "text": "SbbMenuElement[]"
106703
106615
  }
106704
106616
  },
106705
- "description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
106706
- "inheritedFrom": {
106707
- "name": "SbbFormAssociatedMixin",
106708
- "module": "core/mixins/form-associated-mixin.js"
106709
- }
106617
+ "description": "Converts the linked list into an array of SbbMenuElement."
106710
106618
  },
106711
106619
  {
106712
106620
  "kind": "method",
106713
- "name": "reportValidity",
106714
- "privacy": "public",
106621
+ "name": "_parentMenu",
106622
+ "privacy": "private",
106715
106623
  "return": {
106716
106624
  "type": {
106717
- "text": "boolean"
106625
+ "text": "SbbMenuElement | null"
106718
106626
  }
106719
- },
106720
- "description": "Returns true if this element has no validity problems; otherwise,\nreturns false, fires an invalid event at the element,\nand (if the event isn't canceled) reports the problem to the user.",
106721
- "inheritedFrom": {
106722
- "name": "SbbFormAssociatedMixin",
106723
- "module": "core/mixins/form-associated-mixin.js"
106724
106627
  }
106725
106628
  },
106726
106629
  {
106727
106630
  "kind": "method",
106728
- "name": "setCustomValidity",
106729
- "privacy": "public",
106631
+ "name": "_mainMenu",
106632
+ "privacy": "private",
106730
106633
  "return": {
106731
106634
  "type": {
106732
- "text": "void"
106635
+ "text": "SbbMenuElement"
106733
106636
  }
106734
106637
  },
106735
- "parameters": [
106736
- {
106737
- "name": "message",
106738
- "type": {
106739
- "text": "string"
106740
- }
106741
- }
106742
- ],
106743
- "description": "Sets the custom validity message for this element. Use the empty string\nto indicate that the element does not have a custom validity error.",
106744
- "inheritedFrom": {
106745
- "name": "SbbFormAssociatedMixin",
106746
- "module": "core/mixins/form-associated-mixin.js"
106747
- }
106638
+ "description": "The outermost menu."
106748
106639
  },
106749
106640
  {
106750
106641
  "kind": "method",
106751
- "name": "_hasDisabledAncestor",
106642
+ "name": "_isNested",
106752
106643
  "privacy": "private",
106753
106644
  "return": {
106754
106645
  "type": {
106755
106646
  "text": "boolean"
106756
106647
  }
106757
- },
106758
- "inheritedFrom": {
106759
- "name": "SbbFormAssociatedMixin",
106760
- "module": "core/mixins/form-associated-mixin.js"
106761
106648
  }
106762
106649
  },
106763
106650
  {
106764
106651
  "kind": "method",
106765
- "name": "updateFormValue",
106766
- "privacy": "protected",
106652
+ "name": "_updateNestedInert",
106653
+ "privacy": "private",
106767
106654
  "return": {
106768
106655
  "type": {
106769
106656
  "text": "void"
106770
106657
  }
106771
- },
106772
- "description": "Should be called when form value is changed.\nAdapts and sets the formValue in the supported format (string | FormData | File | null)\nhttps://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/setFormValue",
106773
- "inheritedFrom": {
106774
- "name": "SbbFormAssociatedMixin",
106775
- "module": "core/mixins/form-associated-mixin.js"
106776
- }
106777
- },
106778
- {
106779
- "kind": "method",
106780
- "name": "formState",
106781
- "privacy": "protected",
106782
- "return": {
106783
- "type": {
106784
- "text": "FormRestoreState"
106785
- }
106786
- },
106787
- "inheritedFrom": {
106788
- "name": "SbbFormAssociatedMixin",
106789
- "module": "core/mixins/form-associated-mixin.js"
106790
106658
  }
106791
106659
  },
106792
106660
  {
106793
106661
  "kind": "method",
106794
- "name": "setValidityFlag",
106795
- "privacy": "protected",
106662
+ "name": "_handleMouseOver",
106663
+ "privacy": "private",
106796
106664
  "return": {
106797
106665
  "type": {
106798
106666
  "text": "void"
@@ -106800,35 +106668,17 @@
106800
106668
  },
106801
106669
  "parameters": [
106802
106670
  {
106803
- "name": "flag",
106804
- "type": {
106805
- "text": "T"
106806
- }
106807
- },
106808
- {
106809
- "name": "message",
106810
- "type": {
106811
- "text": "string"
106812
- }
106813
- },
106814
- {
106815
- "name": "flagValue",
106816
- "optional": true,
106671
+ "name": "event",
106817
106672
  "type": {
106818
- "text": "ValidityStateFlags[T]"
106673
+ "text": "MouseEvent"
106819
106674
  }
106820
106675
  }
106821
- ],
106822
- "description": "Marks this element as suffering from the constraint indicated by the\nflag argument and associates the given message to it.\nNote that only one message is displayed at a time and custom messages by\nconsumers are always displayed before internal messages and internal\nmessages are displayed in the order they were added.\nTo set/define custom validity state flags, you need to extend the\nValidityState prototype (and the CustomValidityState interface).",
106823
- "inheritedFrom": {
106824
- "name": "SbbFormAssociatedMixin",
106825
- "module": "core/mixins/form-associated-mixin.js"
106826
- }
106676
+ ]
106827
106677
  },
106828
106678
  {
106829
106679
  "kind": "method",
106830
- "name": "removeValidityFlag",
106831
- "privacy": "protected",
106680
+ "name": "_onMenuAnimationEnd",
106681
+ "privacy": "private",
106832
106682
  "return": {
106833
106683
  "type": {
106834
106684
  "text": "void"
@@ -106836,158 +106686,152 @@
106836
106686
  },
106837
106687
  "parameters": [
106838
106688
  {
106839
- "name": "flag",
106689
+ "name": "event",
106840
106690
  "type": {
106841
- "text": "T"
106691
+ "text": "AnimationEvent"
106842
106692
  }
106843
106693
  }
106844
- ],
106845
- "description": "Removes the validity state flag entry and updates validity state.",
106846
- "inheritedFrom": {
106847
- "name": "SbbFormAssociatedMixin",
106848
- "module": "core/mixins/form-associated-mixin.js"
106849
- }
106694
+ ]
106850
106695
  },
106851
106696
  {
106852
106697
  "kind": "method",
106853
- "name": "validate",
106854
- "privacy": "protected",
106698
+ "name": "_setMenuPosition",
106699
+ "privacy": "private",
106855
106700
  "return": {
106856
106701
  "type": {
106857
106702
  "text": "void"
106858
- }
106859
- },
106860
- "description": "To be called whenever the current element needs to be validated.",
106861
- "inheritedFrom": {
106862
- "name": "SbbFormAssociatedMixin",
106863
- "module": "core/mixins/form-associated-mixin.js"
106864
- }
106865
- },
106866
- {
106867
- "kind": "method",
106868
- "name": "shouldValidate",
106869
- "privacy": "protected",
106870
- "return": {
106871
- "type": {
106872
- "text": "boolean"
106873
- }
106874
- },
106875
- "parameters": [
106876
- {
106877
- "name": "name",
106878
- "type": {
106879
- "text": "PropertyKey | undefined"
106880
- }
106881
- }
106882
- ],
106883
- "description": "Whether validation should be run on a property change with the given name.",
106884
- "inheritedFrom": {
106885
- "name": "SbbFormAssociatedMixin",
106886
- "module": "core/mixins/form-associated-mixin.js"
106703
+ }
106887
106704
  }
106888
106705
  },
106889
106706
  {
106890
106707
  "kind": "method",
106891
- "name": "_setInternalValidity",
106708
+ "name": "_syncNegative",
106892
106709
  "privacy": "private",
106893
106710
  "return": {
106894
106711
  "type": {
106895
106712
  "text": "void"
106896
106713
  }
106897
- },
106898
- "inheritedFrom": {
106899
- "name": "SbbFormAssociatedMixin",
106900
- "module": "core/mixins/form-associated-mixin.js"
106901
106714
  }
106902
106715
  },
106903
106716
  {
106904
- "kind": "field",
106905
- "name": "_preventScrollOnSpaceKeydown",
106717
+ "kind": "method",
106718
+ "name": "_isMobile",
106906
106719
  "privacy": "private",
106907
- "description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
106908
- "parameters": [
106909
- {
106910
- "description": "The origin event.",
106911
- "name": "event"
106720
+ "return": {
106721
+ "type": {
106722
+ "text": "boolean"
106912
106723
  }
106913
- ],
106914
- "inheritedFrom": {
106915
- "name": "SbbButtonLikeBaseElement",
106916
- "module": "core/base-elements/button-base-element.js"
106917
106724
  }
106918
106725
  },
106919
106726
  {
106920
106727
  "kind": "field",
106921
- "name": "_removeActiveMarker",
106922
- "privacy": "private",
106728
+ "name": "events",
106729
+ "privacy": "public",
106730
+ "static": true,
106731
+ "readonly": true,
106732
+ "default": "{ beforeopen: 'beforeopen', open: 'open', beforeclose: 'beforeclose', close: 'close', }",
106733
+ "type": {
106734
+ "text": "{\n beforeopen: 'beforeopen',\n open: 'open',\n beforeclose: 'beforeclose',\n close: 'close',\n }"
106735
+ },
106923
106736
  "inheritedFrom": {
106924
- "name": "SbbButtonLikeBaseElement",
106925
- "module": "core/base-elements/button-base-element.js"
106737
+ "name": "SbbOpenCloseBaseElement",
106738
+ "module": "core/base-elements/open-close-base-element.js"
106926
106739
  }
106927
106740
  },
106928
106741
  {
106929
106742
  "kind": "field",
106930
- "name": "_dispatchClickEventOnSpaceKeyup",
106931
- "privacy": "private",
106932
- "description": "Dispatches a 'click' PointerEvent if the original keyboard event is a 'Space' press.\nAs verified with the native button, when 'Space' is pressed, a 'click' event is dispatched\nafter the 'keyup' event.",
106933
- "parameters": [
106934
- {
106935
- "description": "The origin event.",
106936
- "name": "event"
106937
- }
106938
- ],
106743
+ "name": "state",
106744
+ "privacy": "protected",
106745
+ "description": "The state of the component.",
106746
+ "type": {
106747
+ "text": "SbbOpenedClosedState"
106748
+ },
106749
+ "default": "'closed'",
106939
106750
  "inheritedFrom": {
106940
- "name": "SbbButtonLikeBaseElement",
106941
- "module": "core/base-elements/button-base-element.js"
106751
+ "name": "SbbOpenCloseBaseElement",
106752
+ "module": "core/base-elements/open-close-base-element.js"
106942
106753
  }
106943
106754
  },
106944
106755
  {
106945
106756
  "kind": "field",
106946
- "name": "_dispatchClickEvent",
106757
+ "name": "_state",
106758
+ "type": {
106759
+ "text": "SbbOpenedClosedState"
106760
+ },
106947
106761
  "privacy": "private",
106948
106762
  "inheritedFrom": {
106949
- "name": "SbbButtonLikeBaseElement",
106950
- "module": "core/base-elements/button-base-element.js"
106763
+ "name": "SbbOpenCloseBaseElement",
106764
+ "module": "core/base-elements/open-close-base-element.js"
106951
106765
  }
106952
106766
  },
106953
106767
  {
106954
106768
  "kind": "field",
106955
- "name": "maybeDisabled",
106769
+ "name": "isOpen",
106956
106770
  "type": {
106957
- "text": "boolean | undefined"
106771
+ "text": "boolean"
106958
106772
  },
106959
- "privacy": "protected",
106773
+ "privacy": "public",
106774
+ "description": "Whether the element is open.",
106960
106775
  "readonly": true,
106961
106776
  "inheritedFrom": {
106962
- "name": "SbbActionBaseElement",
106963
- "module": "core/base-elements/action-base-element.js"
106777
+ "name": "SbbOpenCloseBaseElement",
106778
+ "module": "core/base-elements/open-close-base-element.js"
106964
106779
  }
106965
106780
  },
106966
106781
  {
106967
- "kind": "field",
106968
- "name": "maybeDisabledInteractive",
106969
- "type": {
106970
- "text": "boolean | undefined"
106782
+ "kind": "method",
106783
+ "name": "dispatchBeforeOpenEvent",
106784
+ "privacy": "protected",
106785
+ "return": {
106786
+ "type": {
106787
+ "text": "boolean"
106788
+ }
106789
+ },
106790
+ "inheritedFrom": {
106791
+ "name": "SbbOpenCloseBaseElement",
106792
+ "module": "core/base-elements/open-close-base-element.js"
106793
+ }
106794
+ },
106795
+ {
106796
+ "kind": "method",
106797
+ "name": "dispatchOpenEvent",
106798
+ "privacy": "protected",
106799
+ "return": {
106800
+ "type": {
106801
+ "text": "boolean"
106802
+ }
106971
106803
  },
106804
+ "inheritedFrom": {
106805
+ "name": "SbbOpenCloseBaseElement",
106806
+ "module": "core/base-elements/open-close-base-element.js"
106807
+ }
106808
+ },
106809
+ {
106810
+ "kind": "method",
106811
+ "name": "dispatchBeforeCloseEvent",
106972
106812
  "privacy": "protected",
106973
- "readonly": true,
106813
+ "return": {
106814
+ "type": {
106815
+ "text": "boolean"
106816
+ }
106817
+ },
106974
106818
  "inheritedFrom": {
106975
- "name": "SbbActionBaseElement",
106976
- "module": "core/base-elements/action-base-element.js"
106819
+ "name": "SbbOpenCloseBaseElement",
106820
+ "module": "core/base-elements/open-close-base-element.js"
106977
106821
  }
106978
106822
  },
106979
106823
  {
106980
106824
  "kind": "method",
106981
- "name": "setupBaseEventHandlers",
106825
+ "name": "dispatchCloseEvent",
106982
106826
  "privacy": "protected",
106983
106827
  "return": {
106984
106828
  "type": {
106985
- "text": "void"
106829
+ "text": "boolean"
106986
106830
  }
106987
106831
  },
106988
106832
  "inheritedFrom": {
106989
- "name": "SbbActionBaseElement",
106990
- "module": "core/base-elements/action-base-element.js"
106833
+ "name": "SbbOpenCloseBaseElement",
106834
+ "module": "core/base-elements/open-close-base-element.js"
106991
106835
  }
106992
106836
  },
106993
106837
  {
@@ -107096,110 +106940,66 @@
107096
106940
  }
107097
106941
  }
107098
106942
  ],
107099
- "mixins": [
107100
- {
107101
- "name": "SbbDisabledTabIndexActionMixin",
107102
- "module": "core/mixins.js"
107103
- },
106943
+ "attributes": [
107104
106944
  {
107105
- "name": "SbbMenuActionCommonElementMixin",
107106
- "module": "menu/common/menu-action-common.js"
106945
+ "name": "trigger",
106946
+ "type": {
106947
+ "text": "HTMLElement | null"
106948
+ },
106949
+ "default": "null",
106950
+ "description": "The element that will trigger the menu overlay.\n\nFor attribute usage, provide an id reference.",
106951
+ "fieldName": "trigger"
107107
106952
  }
107108
106953
  ],
107109
106954
  "superclass": {
107110
- "name": "SbbButtonBaseElement",
106955
+ "name": "SbbOpenCloseBaseElement",
107111
106956
  "module": "core/base-elements.js"
107112
106957
  },
107113
- "tagName": "sbb-menu-button",
106958
+ "tagName": "sbb-menu",
107114
106959
  "customElement": true,
107115
- "attributes": [
107116
- {
107117
- "name": "disabled-interactive",
107118
- "type": {
107119
- "text": "boolean"
107120
- },
107121
- "default": "false",
107122
- "description": "Whether the button should be aria-disabled but stay interactive.",
107123
- "fieldName": "disabledInteractive",
107124
- "inheritedFrom": {
107125
- "name": "SbbDisabledInteractiveMixin",
107126
- "module": "core/mixins/disabled-mixin.js"
107127
- }
107128
- },
107129
- {
107130
- "name": "disabled",
107131
- "description": "Whether the component is disabled.",
107132
- "default": "false",
107133
- "type": {
107134
- "text": "boolean"
107135
- },
107136
- "fieldName": "disabled",
107137
- "inheritedFrom": {
107138
- "name": "SbbDisabledMixin",
107139
- "module": "core/mixins/disabled-mixin.js"
107140
- }
107141
- },
107142
- {
107143
- "name": "icon-name",
107144
- "type": {
107145
- "text": "string"
107146
- },
107147
- "default": "''",
107148
- "description": "The icon name we want to use, choose from the small icon variants\nfrom the ui-icons category from here\nhttps://icons.app.sbb.ch.",
107149
- "fieldName": "iconName",
107150
- "inheritedFrom": {
107151
- "name": "SbbIconNameMixin",
107152
- "module": "icon/icon-name-mixin.js"
107153
- }
107154
- },
106960
+ "events": [
107155
106961
  {
107156
- "name": "value",
106962
+ "name": "beforeopen",
107157
106963
  "type": {
107158
- "text": "string"
106964
+ "text": "Event"
107159
106965
  },
107160
- "default": "''",
107161
- "description": "Value of the form element.",
107162
- "fieldName": "value",
106966
+ "description": "Emits whenever the component starts the opening transition. Can be canceled.",
107163
106967
  "inheritedFrom": {
107164
- "name": "SbbButtonBaseElement",
107165
- "module": "core/base-elements/button-base-element.js"
106968
+ "name": "SbbOpenCloseBaseElement",
106969
+ "module": "core/base-elements/open-close-base-element.js"
107166
106970
  }
107167
106971
  },
107168
106972
  {
107169
- "name": "type",
107170
- "description": "The type attribute to use for the button.",
107171
- "default": "'button'",
106973
+ "name": "open",
107172
106974
  "type": {
107173
- "text": "SbbButtonType"
106975
+ "text": "Event"
107174
106976
  },
107175
- "fieldName": "type",
106977
+ "description": "Emits whenever the component is opened.",
107176
106978
  "inheritedFrom": {
107177
- "name": "SbbButtonBaseElement",
107178
- "module": "core/base-elements/button-base-element.js"
106979
+ "name": "SbbOpenCloseBaseElement",
106980
+ "module": "core/base-elements/open-close-base-element.js"
107179
106981
  }
107180
106982
  },
107181
106983
  {
107182
- "name": "form",
107183
- "description": "The `<form>` element to associate the button with.",
106984
+ "name": "beforeclose",
107184
106985
  "type": {
107185
- "text": "HTMLFormElement | null"
106986
+ "text": "Event"
107186
106987
  },
107187
- "fieldName": "form",
106988
+ "description": "Emits whenever the component begins the closing transition. Can be canceled.",
107188
106989
  "inheritedFrom": {
107189
- "name": "SbbButtonBaseElement",
107190
- "module": "core/base-elements/button-base-element.js"
106990
+ "name": "SbbOpenCloseBaseElement",
106991
+ "module": "core/base-elements/open-close-base-element.js"
107191
106992
  }
107192
106993
  },
107193
106994
  {
107194
- "name": "name",
107195
- "description": "Name of the form element. Will be read from name attribute.",
106995
+ "name": "close",
107196
106996
  "type": {
107197
- "text": "string"
106997
+ "text": "Event"
107198
106998
  },
107199
- "fieldName": "name",
106999
+ "description": "Emits whenever the component is closed.",
107200
107000
  "inheritedFrom": {
107201
- "name": "SbbFormAssociatedMixin",
107202
- "module": "core/mixins/form-associated-mixin.js"
107001
+ "name": "SbbOpenCloseBaseElement",
107002
+ "module": "core/base-elements/open-close-base-element.js"
107203
107003
  }
107204
107004
  }
107205
107005
  ]
@@ -107208,33 +107008,37 @@
107208
107008
  "exports": [
107209
107009
  {
107210
107010
  "kind": "js",
107211
- "name": "SbbMenuButtonElement",
107011
+ "name": "SbbMenuElement",
107212
107012
  "declaration": {
107213
- "name": "SbbMenuButtonElement",
107214
- "module": "menu/menu-button/menu-button.component.js"
107013
+ "name": "SbbMenuElement",
107014
+ "module": "menu/menu/menu.component.js"
107215
107015
  }
107216
107016
  }
107217
107017
  ]
107218
107018
  },
107219
107019
  {
107220
107020
  "kind": "javascript-module",
107221
- "path": "menu/menu/menu.component.js",
107021
+ "path": "menu/menu-button/menu-button.component.js",
107222
107022
  "declarations": [
107223
107023
  {
107224
107024
  "kind": "class",
107225
- "description": "It displays a contextual menu with one or more action element.",
107226
- "name": "SbbMenuElement",
107025
+ "description": "It displays a button element that can be used in the `sbb-menu` component.",
107026
+ "name": "SbbMenuButtonElement",
107227
107027
  "cssProperties": [
107228
107028
  {
107229
- "description": "To specify a custom stack order, the `z-index` can be overridden by defining this CSS variable. The default `z-index` of the component is set to `var(--sbb-overlay-default-z-index)` with a value of `1000`.",
107230
- "name": "--sbb-menu-z-index",
107231
- "default": "var(--sbb-overlay-default-z-index)"
107029
+ "description": "Can be used to modify horizontal padding.",
107030
+ "name": "--sbb-menu-action-outer-horizontal-padding",
107031
+ "default": "var(--sbb-spacing-fixed-3x)"
107232
107032
  }
107233
107033
  ],
107234
107034
  "slots": [
107235
107035
  {
107236
- "description": "Use the unnamed slot to add `sbb-menu-button`/`sbb-menu-link` or other elements to the menu.",
107036
+ "description": "Use the unnamed slot to add content to the `sbb-menu-button`.",
107237
107037
  "name": ""
107038
+ },
107039
+ {
107040
+ "description": "Use this slot to provide an icon. If `icon-name` is set, a `sbb-icon` will be used.",
107041
+ "name": "icon"
107238
107042
  }
107239
107043
  ],
107240
107044
  "members": [
@@ -107251,275 +107055,417 @@
107251
107055
  "name": "SbbElement",
107252
107056
  "module": "core/base-elements/element.js"
107253
107057
  },
107254
- "default": "'sbb-menu'"
107058
+ "default": "'sbb-menu-button'"
107255
107059
  },
107256
107060
  {
107257
107061
  "kind": "field",
107258
107062
  "name": "role",
107259
107063
  "type": {
107260
- "text": "string"
107064
+ "text": "ElementInternals['role']"
107261
107065
  },
107262
107066
  "privacy": "public",
107263
107067
  "static": true,
107264
107068
  "readonly": true,
107265
- "default": "'menu'"
107069
+ "default": "'menuitem'",
107070
+ "inheritedFrom": {
107071
+ "name": "SbbButtonLikeBaseElement",
107072
+ "module": "core/base-elements/button-base-element.js"
107073
+ }
107266
107074
  },
107267
107075
  {
107268
107076
  "kind": "field",
107269
- "name": "trigger",
107077
+ "name": "disabledInteractive",
107270
107078
  "type": {
107271
- "text": "HTMLElement | null"
107079
+ "text": "boolean"
107272
107080
  },
107273
107081
  "privacy": "public",
107274
- "default": "null",
107275
- "description": "The element that will trigger the menu overlay.\n\nFor attribute usage, provide an id reference.",
107276
- "attribute": "trigger"
107082
+ "default": "false",
107083
+ "description": "Whether the button should be aria-disabled but stay interactive.",
107084
+ "attribute": "disabled-interactive",
107085
+ "reflects": true,
107086
+ "inheritedFrom": {
107087
+ "name": "SbbDisabledInteractiveMixin",
107088
+ "module": "core/mixins/disabled-mixin.js"
107089
+ }
107277
107090
  },
107278
107091
  {
107279
107092
  "kind": "field",
107280
- "name": "_menu",
107093
+ "name": "disabled",
107094
+ "privacy": "public",
107095
+ "description": "Whether the component is disabled.",
107096
+ "default": "false",
107281
107097
  "type": {
107282
- "text": "HTMLDivElement"
107098
+ "text": "boolean"
107283
107099
  },
107284
- "privacy": "private"
107100
+ "attribute": "disabled",
107101
+ "reflects": true,
107102
+ "inheritedFrom": {
107103
+ "name": "SbbDisabledMixin",
107104
+ "module": "core/mixins/disabled-mixin.js"
107105
+ }
107285
107106
  },
107286
107107
  {
107287
107108
  "kind": "field",
107288
- "name": "_triggerElement",
107109
+ "name": "#disabled",
107110
+ "privacy": "private",
107289
107111
  "type": {
107290
- "text": "HTMLElement | null"
107112
+ "text": "boolean"
107291
107113
  },
107292
- "privacy": "private",
107293
- "default": "null"
107114
+ "default": "false",
107115
+ "inheritedFrom": {
107116
+ "name": "SbbDisabledMixin",
107117
+ "module": "core/mixins/disabled-mixin.js"
107118
+ }
107294
107119
  },
107295
107120
  {
107296
- "kind": "field",
107297
- "name": "_triggerAbortController",
107298
- "type": {
107299
- "text": "AbortController"
107121
+ "kind": "method",
107122
+ "name": "isDisabledExternally",
107123
+ "privacy": "protected",
107124
+ "return": {
107125
+ "type": {
107126
+ "text": "boolean"
107127
+ }
107300
107128
  },
107301
- "privacy": "private"
107129
+ "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
107130
+ "inheritedFrom": {
107131
+ "name": "SbbDisabledMixin",
107132
+ "module": "core/mixins/disabled-mixin.js"
107133
+ }
107302
107134
  },
107303
107135
  {
107304
107136
  "kind": "field",
107305
- "name": "_isPointerDownEventOnMenu",
107137
+ "name": "styles",
107306
107138
  "type": {
107307
- "text": "boolean"
107139
+ "text": "CSSResultGroup"
107308
107140
  },
107309
- "privacy": "private",
107310
- "default": "false"
107141
+ "privacy": "public",
107142
+ "static": true,
107143
+ "default": "[boxSizingStyles, unsafeCSS(style)]",
107144
+ "inheritedFrom": {
107145
+ "name": "SbbMenuActionCommonElementMixin",
107146
+ "module": "menu/common/menu-action-common.js"
107147
+ }
107148
+ },
107149
+ {
107150
+ "kind": "method",
107151
+ "name": "renderTemplate",
107152
+ "privacy": "protected",
107153
+ "return": {
107154
+ "type": {
107155
+ "text": "TemplateResult"
107156
+ }
107157
+ },
107158
+ "description": "Override this method to render the component template.",
107159
+ "inheritedFrom": {
107160
+ "name": "SbbActionBaseElement",
107161
+ "module": "core/base-elements/action-base-element.js"
107162
+ }
107311
107163
  },
107312
107164
  {
107313
107165
  "kind": "field",
107314
- "name": "_windowEventsController",
107166
+ "name": "iconName",
107315
107167
  "type": {
107316
- "text": "AbortController"
107168
+ "text": "string"
107317
107169
  },
107318
- "privacy": "private"
107170
+ "privacy": "public",
107171
+ "default": "''",
107172
+ "description": "The icon name we want to use, choose from the small icon variants\nfrom the ui-icons category from here\nhttps://icons.app.sbb.ch.",
107173
+ "attribute": "icon-name",
107174
+ "inheritedFrom": {
107175
+ "name": "SbbIconNameMixin",
107176
+ "module": "icon/icon-name-mixin.js"
107177
+ }
107319
107178
  },
107320
107179
  {
107321
- "kind": "field",
107322
- "name": "_escapableOverlayController",
107180
+ "kind": "method",
107181
+ "name": "renderIconSlot",
107182
+ "privacy": "protected",
107183
+ "return": {
107184
+ "type": {
107185
+ "text": "TemplateResult"
107186
+ }
107187
+ },
107188
+ "parameters": [
107189
+ {
107190
+ "name": "classname",
107191
+ "optional": true,
107192
+ "type": {
107193
+ "text": "string"
107194
+ }
107195
+ }
107196
+ ],
107197
+ "inheritedFrom": {
107198
+ "name": "SbbIconNameMixin",
107199
+ "module": "icon/icon-name-mixin.js"
107200
+ }
107201
+ },
107202
+ {
107203
+ "kind": "method",
107204
+ "name": "renderIconName",
107205
+ "privacy": "protected",
107206
+ "return": {
107207
+ "type": {
107208
+ "text": "string"
107209
+ }
107210
+ },
107211
+ "inheritedFrom": {
107212
+ "name": "SbbIconNameMixin",
107213
+ "module": "icon/icon-name-mixin.js"
107214
+ }
107215
+ },
107216
+ {
107217
+ "kind": "method",
107218
+ "name": "_renderIconName",
107323
107219
  "privacy": "private",
107324
- "default": "new SbbEscapableOverlayController(this)"
107220
+ "return": {
107221
+ "type": {
107222
+ "text": "string"
107223
+ }
107224
+ },
107225
+ "inheritedFrom": {
107226
+ "name": "SbbIconNameMixin",
107227
+ "module": "icon/icon-name-mixin.js"
107228
+ }
107325
107229
  },
107326
107230
  {
107327
107231
  "kind": "field",
107328
- "name": "_focusTrapController",
107232
+ "name": "_elementsOnWhichEnterPressTriggersSubmit",
107233
+ "type": {
107234
+ "text": "array"
107235
+ },
107329
107236
  "privacy": "private",
107330
- "default": "new SbbFocusTrapController(this)"
107237
+ "readonly": true,
107238
+ "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
107239
+ "inheritedFrom": {
107240
+ "name": "SbbButtonBaseElement",
107241
+ "module": "core/base-elements/button-base-element.js"
107242
+ }
107331
107243
  },
107332
107244
  {
107333
107245
  "kind": "field",
107334
- "name": "_scrollHandler",
107335
- "privacy": "private",
107336
- "default": "new SbbScrollHandler()"
107246
+ "name": "value",
107247
+ "type": {
107248
+ "text": "string"
107249
+ },
107250
+ "privacy": "public",
107251
+ "inheritedFrom": {
107252
+ "name": "SbbButtonBaseElement",
107253
+ "module": "core/base-elements/button-base-element.js"
107254
+ },
107255
+ "default": "''",
107256
+ "description": "Value of the form element.",
107257
+ "attribute": "value"
107337
107258
  },
107338
107259
  {
107339
107260
  "kind": "field",
107340
- "name": "_inertController",
107341
- "privacy": "private",
107342
- "default": "new SbbInertController(this)"
107261
+ "name": "type",
107262
+ "privacy": "public",
107263
+ "description": "The type attribute to use for the button.",
107264
+ "default": "'button'",
107265
+ "type": {
107266
+ "text": "SbbButtonType"
107267
+ },
107268
+ "attribute": "type",
107269
+ "inheritedFrom": {
107270
+ "name": "SbbButtonBaseElement",
107271
+ "module": "core/base-elements/button-base-element.js"
107272
+ }
107343
107273
  },
107344
107274
  {
107345
107275
  "kind": "field",
107346
- "name": "_mobileBreakpoint",
107347
- "privacy": "private",
107348
- "default": "SbbMediaQueryBreakpointSmallAndBelow"
107276
+ "name": "form",
107277
+ "type": {
107278
+ "text": "HTMLFormElement | null"
107279
+ },
107280
+ "privacy": "public",
107281
+ "description": "The `<form>` element to associate the button with.",
107282
+ "inheritedFrom": {
107283
+ "name": "SbbButtonBaseElement",
107284
+ "module": "core/base-elements/button-base-element.js"
107285
+ },
107286
+ "attribute": "form"
107349
107287
  },
107350
107288
  {
107351
107289
  "kind": "field",
107352
- "name": "_mediaMatcher",
107290
+ "name": "_formId",
107291
+ "type": {
107292
+ "text": "string"
107293
+ },
107353
107294
  "privacy": "private",
107354
- "default": "new SbbMediaMatcherController(this, { [this._mobileBreakpoint]: (matches) => { if (matches && (this.state === 'opening' || this.state === 'opened')) { this._scrollHandler.disableScroll(); } else { this._scrollHandler.enableScroll(); } }, })"
107295
+ "default": "''",
107296
+ "inheritedFrom": {
107297
+ "name": "SbbButtonBaseElement",
107298
+ "module": "core/base-elements/button-base-element.js"
107299
+ }
107355
107300
  },
107356
107301
  {
107357
107302
  "kind": "field",
107358
- "name": "_darkModeController",
107303
+ "name": "_handleButtonClick",
107359
107304
  "privacy": "private",
107360
- "default": "new SbbDarkModeController(this, () => this._syncNegative())"
107305
+ "inheritedFrom": {
107306
+ "name": "SbbButtonBaseElement",
107307
+ "module": "core/base-elements/button-base-element.js"
107308
+ }
107309
+ },
107310
+ {
107311
+ "kind": "method",
107312
+ "name": "_requestSubmit",
107313
+ "privacy": "private",
107314
+ "return": {
107315
+ "type": {
107316
+ "text": "void"
107317
+ }
107318
+ },
107319
+ "parameters": [
107320
+ {
107321
+ "name": "form",
107322
+ "type": {
107323
+ "text": "HTMLFormElement"
107324
+ }
107325
+ }
107326
+ ],
107327
+ "inheritedFrom": {
107328
+ "name": "SbbButtonBaseElement",
107329
+ "module": "core/base-elements/button-base-element.js"
107330
+ }
107361
107331
  },
107362
107332
  {
107363
107333
  "kind": "field",
107364
- "name": "_language",
107334
+ "name": "_formKeyDown",
107365
107335
  "privacy": "private",
107366
- "default": "new SbbLanguageController(this)"
107336
+ "inheritedFrom": {
107337
+ "name": "SbbButtonBaseElement",
107338
+ "module": "core/base-elements/button-base-element.js"
107339
+ }
107367
107340
  },
107368
107341
  {
107369
107342
  "kind": "field",
107370
- "name": "_nestedMenu",
107343
+ "name": "formAssociated",
107371
107344
  "type": {
107372
- "text": "SbbMenuElement | null"
107345
+ "text": "boolean"
107373
107346
  },
107374
- "privacy": "private",
107375
- "default": "null"
107376
- },
107377
- {
107378
- "kind": "method",
107379
- "name": "escapeStrategy",
107380
107347
  "privacy": "public",
107381
- "return": {
107382
- "type": {
107383
- "text": "void"
107384
- }
107385
- },
107386
- "description": "The method which is called on escape key press. Defaults to calling close()",
107348
+ "static": true,
107349
+ "default": "true",
107387
107350
  "inheritedFrom": {
107388
- "name": "SbbOpenCloseBaseElement",
107389
- "module": "core/base-elements/open-close-base-element.js"
107351
+ "name": "SbbFormAssociatedMixin",
107352
+ "module": "core/mixins/form-associated-mixin.js"
107390
107353
  }
107391
107354
  },
107392
107355
  {
107393
- "kind": "method",
107394
- "name": "open",
107356
+ "kind": "field",
107357
+ "name": "name",
107395
107358
  "privacy": "public",
107396
- "return": {
107397
- "type": {
107398
- "text": "void"
107399
- }
107359
+ "description": "Name of the form element. Will be read from name attribute.",
107360
+ "type": {
107361
+ "text": "string"
107400
107362
  },
107401
- "description": "Opens the menu on trigger click.",
107363
+ "attribute": "name",
107402
107364
  "inheritedFrom": {
107403
- "name": "SbbOpenCloseBaseElement",
107404
- "module": "core/base-elements/open-close-base-element.js"
107365
+ "name": "SbbFormAssociatedMixin",
107366
+ "module": "core/mixins/form-associated-mixin.js"
107405
107367
  }
107406
107368
  },
107407
107369
  {
107408
- "kind": "method",
107409
- "name": "close",
107410
- "privacy": "public",
107411
- "return": {
107412
- "type": {
107413
- "text": "void"
107414
- }
107370
+ "kind": "field",
107371
+ "name": "validity",
107372
+ "type": {
107373
+ "text": "ValidityState"
107415
107374
  },
107416
- "description": "Closes the menu and all its nested menus.",
107375
+ "privacy": "public",
107376
+ "description": "Returns the ValidityState object for this element.",
107377
+ "readonly": true,
107417
107378
  "inheritedFrom": {
107418
- "name": "SbbOpenCloseBaseElement",
107419
- "module": "core/base-elements/open-close-base-element.js"
107379
+ "name": "SbbFormAssociatedMixin",
107380
+ "module": "core/mixins/form-associated-mixin.js"
107420
107381
  }
107421
107382
  },
107422
107383
  {
107423
- "kind": "method",
107424
- "name": "closeAll",
107425
- "privacy": "public",
107426
- "return": {
107427
- "type": {
107428
- "text": "void"
107429
- }
107384
+ "kind": "field",
107385
+ "name": "validationMessage",
107386
+ "type": {
107387
+ "text": "string"
107430
107388
  },
107431
- "description": "Closes the menu and all related menus (nested and parent menus)."
107389
+ "privacy": "public",
107390
+ "description": "Returns the current error message, if available, which corresponds\nto the current validation state.\nPlease note that only one message is returned at a time (e.g. if\nmultiple validity states are invalid, only the chronologically first one\nis returned until it is fixed, at which point the next message might be\nreturned, if it is still applicable). Also, a custom validity message\n(see below) has precedence over native validation messages.",
107391
+ "readonly": true,
107392
+ "inheritedFrom": {
107393
+ "name": "SbbFormAssociatedMixin",
107394
+ "module": "core/mixins/form-associated-mixin.js"
107395
+ }
107432
107396
  },
107433
107397
  {
107434
- "kind": "method",
107435
- "name": "_close",
107436
- "privacy": "private",
107437
- "return": {
107438
- "type": {
107439
- "text": "void"
107440
- }
107398
+ "kind": "field",
107399
+ "name": "willValidate",
107400
+ "type": {
107401
+ "text": "boolean"
107441
107402
  },
107442
- "parameters": [
107443
- {
107444
- "name": "closeAll",
107445
- "default": "false",
107446
- "description": "If true, it ensures animations are correct by toggling some states when closing all related menus at once.",
107447
- "optional": true
107448
- }
107449
- ]
107450
- },
107451
- {
107452
- "kind": "method",
107453
- "name": "_isZeroAnimationDuration",
107454
- "privacy": "private",
107455
- "return": {
107456
- "type": {
107457
- "text": "boolean"
107458
- }
107403
+ "privacy": "public",
107404
+ "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
107405
+ "readonly": true,
107406
+ "inheritedFrom": {
107407
+ "name": "SbbFormAssociatedMixin",
107408
+ "module": "core/mixins/form-associated-mixin.js"
107459
107409
  }
107460
107410
  },
107461
107411
  {
107462
- "kind": "method",
107463
- "name": "_handleOpening",
107412
+ "kind": "field",
107413
+ "name": "_validityStates",
107464
107414
  "privacy": "private",
107465
- "return": {
107466
- "type": {
107467
- "text": "void"
107468
- }
107415
+ "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
107416
+ "inheritedFrom": {
107417
+ "name": "SbbFormAssociatedMixin",
107418
+ "module": "core/mixins/form-associated-mixin.js"
107469
107419
  }
107470
107420
  },
107471
107421
  {
107472
- "kind": "method",
107473
- "name": "_handleClosing",
107474
- "privacy": "private",
107475
- "return": {
107476
- "type": {
107477
- "text": "void"
107478
- }
107422
+ "kind": "field",
107423
+ "name": "formDisabled",
107424
+ "type": {
107425
+ "text": "boolean"
107426
+ },
107427
+ "privacy": "protected",
107428
+ "default": "false",
107429
+ "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
107430
+ "inheritedFrom": {
107431
+ "name": "SbbFormAssociatedMixin",
107432
+ "module": "core/mixins/form-associated-mixin.js"
107479
107433
  }
107480
107434
  },
107481
107435
  {
107482
107436
  "kind": "method",
107483
- "name": "_handleKeyDown",
107484
- "privacy": "private",
107437
+ "name": "checkValidity",
107438
+ "privacy": "public",
107485
107439
  "return": {
107486
107440
  "type": {
107487
- "text": "void"
107441
+ "text": "boolean"
107488
107442
  }
107489
107443
  },
107490
- "parameters": [
107491
- {
107492
- "name": "evt",
107493
- "type": {
107494
- "text": "KeyboardEvent"
107495
- }
107496
- }
107497
- ]
107498
- },
107499
- {
107500
- "kind": "method",
107501
- "name": "_configureTrigger",
107502
- "privacy": "private",
107503
- "return": {
107504
- "type": {
107505
- "text": "void"
107506
- }
107444
+ "description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
107445
+ "inheritedFrom": {
107446
+ "name": "SbbFormAssociatedMixin",
107447
+ "module": "core/mixins/form-associated-mixin.js"
107507
107448
  }
107508
107449
  },
107509
107450
  {
107510
107451
  "kind": "method",
107511
- "name": "_attachWindowEvents",
107512
- "privacy": "private",
107452
+ "name": "reportValidity",
107453
+ "privacy": "public",
107513
107454
  "return": {
107514
107455
  "type": {
107515
- "text": "void"
107456
+ "text": "boolean"
107516
107457
  }
107458
+ },
107459
+ "description": "Returns true if this element has no validity problems; otherwise,\nreturns false, fires an invalid event at the element,\nand (if the event isn't canceled) reports the problem to the user.",
107460
+ "inheritedFrom": {
107461
+ "name": "SbbFormAssociatedMixin",
107462
+ "module": "core/mixins/form-associated-mixin.js"
107517
107463
  }
107518
107464
  },
107519
107465
  {
107520
107466
  "kind": "method",
107521
- "name": "_interactiveElementClick",
107522
- "privacy": "private",
107467
+ "name": "setCustomValidity",
107468
+ "privacy": "public",
107523
107469
  "return": {
107524
107470
  "type": {
107525
107471
  "text": "void"
@@ -107527,79 +107473,65 @@
107527
107473
  },
107528
107474
  "parameters": [
107529
107475
  {
107530
- "name": "event",
107476
+ "name": "message",
107531
107477
  "type": {
107532
- "text": "Event"
107478
+ "text": "string"
107533
107479
  }
107534
107480
  }
107535
- ]
107536
- },
107537
- {
107538
- "kind": "field",
107539
- "name": "_pointerDownListener",
107540
- "privacy": "private"
107541
- },
107542
- {
107543
- "kind": "field",
107544
- "name": "_closeOnBackdropClick",
107545
- "privacy": "private"
107481
+ ],
107482
+ "description": "Sets the custom validity message for this element. Use the empty string\nto indicate that the element does not have a custom validity error.",
107483
+ "inheritedFrom": {
107484
+ "name": "SbbFormAssociatedMixin",
107485
+ "module": "core/mixins/form-associated-mixin.js"
107486
+ }
107546
107487
  },
107547
107488
  {
107548
107489
  "kind": "method",
107549
- "name": "_nestedMenus",
107490
+ "name": "_hasDisabledAncestor",
107550
107491
  "privacy": "private",
107551
107492
  "return": {
107552
107493
  "type": {
107553
- "text": "SbbMenuElement[]"
107494
+ "text": "boolean"
107554
107495
  }
107555
107496
  },
107556
- "description": "Converts the linked list into an array of SbbMenuElement."
107557
- },
107558
- {
107559
- "kind": "method",
107560
- "name": "_parentMenu",
107561
- "privacy": "private",
107562
- "return": {
107563
- "type": {
107564
- "text": "SbbMenuElement | null"
107565
- }
107497
+ "inheritedFrom": {
107498
+ "name": "SbbFormAssociatedMixin",
107499
+ "module": "core/mixins/form-associated-mixin.js"
107566
107500
  }
107567
107501
  },
107568
107502
  {
107569
107503
  "kind": "method",
107570
- "name": "_mainMenu",
107571
- "privacy": "private",
107504
+ "name": "updateFormValue",
107505
+ "privacy": "protected",
107572
107506
  "return": {
107573
107507
  "type": {
107574
- "text": "SbbMenuElement"
107508
+ "text": "void"
107575
107509
  }
107576
107510
  },
107577
- "description": "The outermost menu."
107578
- },
107579
- {
107580
- "kind": "method",
107581
- "name": "_isNested",
107582
- "privacy": "private",
107583
- "return": {
107584
- "type": {
107585
- "text": "boolean"
107586
- }
107511
+ "description": "Should be called when form value is changed.\nAdapts and sets the formValue in the supported format (string | FormData | File | null)\nhttps://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/setFormValue",
107512
+ "inheritedFrom": {
107513
+ "name": "SbbFormAssociatedMixin",
107514
+ "module": "core/mixins/form-associated-mixin.js"
107587
107515
  }
107588
107516
  },
107589
107517
  {
107590
107518
  "kind": "method",
107591
- "name": "_updateNestedInert",
107592
- "privacy": "private",
107519
+ "name": "formState",
107520
+ "privacy": "protected",
107593
107521
  "return": {
107594
107522
  "type": {
107595
- "text": "void"
107523
+ "text": "FormRestoreState"
107596
107524
  }
107525
+ },
107526
+ "inheritedFrom": {
107527
+ "name": "SbbFormAssociatedMixin",
107528
+ "module": "core/mixins/form-associated-mixin.js"
107597
107529
  }
107598
107530
  },
107599
107531
  {
107600
107532
  "kind": "method",
107601
- "name": "_handleMouseOver",
107602
- "privacy": "private",
107533
+ "name": "setValidityFlag",
107534
+ "privacy": "protected",
107603
107535
  "return": {
107604
107536
  "type": {
107605
107537
  "text": "void"
@@ -107607,17 +107539,35 @@
107607
107539
  },
107608
107540
  "parameters": [
107609
107541
  {
107610
- "name": "event",
107542
+ "name": "flag",
107611
107543
  "type": {
107612
- "text": "MouseEvent"
107544
+ "text": "T"
107545
+ }
107546
+ },
107547
+ {
107548
+ "name": "message",
107549
+ "type": {
107550
+ "text": "string"
107551
+ }
107552
+ },
107553
+ {
107554
+ "name": "flagValue",
107555
+ "optional": true,
107556
+ "type": {
107557
+ "text": "ValidityStateFlags[T]"
107613
107558
  }
107614
107559
  }
107615
- ]
107560
+ ],
107561
+ "description": "Marks this element as suffering from the constraint indicated by the\nflag argument and associates the given message to it.\nNote that only one message is displayed at a time and custom messages by\nconsumers are always displayed before internal messages and internal\nmessages are displayed in the order they were added.\nTo set/define custom validity state flags, you need to extend the\nValidityState prototype (and the CustomValidityState interface).",
107562
+ "inheritedFrom": {
107563
+ "name": "SbbFormAssociatedMixin",
107564
+ "module": "core/mixins/form-associated-mixin.js"
107565
+ }
107616
107566
  },
107617
107567
  {
107618
107568
  "kind": "method",
107619
- "name": "_onMenuAnimationEnd",
107620
- "privacy": "private",
107569
+ "name": "removeValidityFlag",
107570
+ "privacy": "protected",
107621
107571
  "return": {
107622
107572
  "type": {
107623
107573
  "text": "void"
@@ -107625,152 +107575,158 @@
107625
107575
  },
107626
107576
  "parameters": [
107627
107577
  {
107628
- "name": "event",
107578
+ "name": "flag",
107629
107579
  "type": {
107630
- "text": "AnimationEvent"
107580
+ "text": "T"
107631
107581
  }
107632
107582
  }
107633
- ]
107583
+ ],
107584
+ "description": "Removes the validity state flag entry and updates validity state.",
107585
+ "inheritedFrom": {
107586
+ "name": "SbbFormAssociatedMixin",
107587
+ "module": "core/mixins/form-associated-mixin.js"
107588
+ }
107634
107589
  },
107635
107590
  {
107636
107591
  "kind": "method",
107637
- "name": "_setMenuPosition",
107638
- "privacy": "private",
107592
+ "name": "validate",
107593
+ "privacy": "protected",
107639
107594
  "return": {
107640
107595
  "type": {
107641
107596
  "text": "void"
107642
107597
  }
107598
+ },
107599
+ "description": "To be called whenever the current element needs to be validated.",
107600
+ "inheritedFrom": {
107601
+ "name": "SbbFormAssociatedMixin",
107602
+ "module": "core/mixins/form-associated-mixin.js"
107643
107603
  }
107644
107604
  },
107645
107605
  {
107646
107606
  "kind": "method",
107647
- "name": "_syncNegative",
107648
- "privacy": "private",
107607
+ "name": "shouldValidate",
107608
+ "privacy": "protected",
107649
107609
  "return": {
107650
107610
  "type": {
107651
- "text": "void"
107611
+ "text": "boolean"
107612
+ }
107613
+ },
107614
+ "parameters": [
107615
+ {
107616
+ "name": "name",
107617
+ "type": {
107618
+ "text": "PropertyKey | undefined"
107619
+ }
107652
107620
  }
107621
+ ],
107622
+ "description": "Whether validation should be run on a property change with the given name.",
107623
+ "inheritedFrom": {
107624
+ "name": "SbbFormAssociatedMixin",
107625
+ "module": "core/mixins/form-associated-mixin.js"
107653
107626
  }
107654
107627
  },
107655
107628
  {
107656
107629
  "kind": "method",
107657
- "name": "_isMobile",
107630
+ "name": "_setInternalValidity",
107658
107631
  "privacy": "private",
107659
107632
  "return": {
107660
107633
  "type": {
107661
- "text": "boolean"
107634
+ "text": "void"
107662
107635
  }
107663
- }
107664
- },
107665
- {
107666
- "kind": "field",
107667
- "name": "events",
107668
- "privacy": "public",
107669
- "static": true,
107670
- "readonly": true,
107671
- "default": "{ beforeopen: 'beforeopen', open: 'open', beforeclose: 'beforeclose', close: 'close', }",
107672
- "type": {
107673
- "text": "{\n beforeopen: 'beforeopen',\n open: 'open',\n beforeclose: 'beforeclose',\n close: 'close',\n }"
107674
107636
  },
107675
107637
  "inheritedFrom": {
107676
- "name": "SbbOpenCloseBaseElement",
107677
- "module": "core/base-elements/open-close-base-element.js"
107638
+ "name": "SbbFormAssociatedMixin",
107639
+ "module": "core/mixins/form-associated-mixin.js"
107678
107640
  }
107679
107641
  },
107680
107642
  {
107681
107643
  "kind": "field",
107682
- "name": "state",
107683
- "privacy": "protected",
107684
- "description": "The state of the component.",
107685
- "type": {
107686
- "text": "SbbOpenedClosedState"
107687
- },
107688
- "default": "'closed'",
107644
+ "name": "_preventScrollOnSpaceKeydown",
107645
+ "privacy": "private",
107646
+ "description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
107647
+ "parameters": [
107648
+ {
107649
+ "description": "The origin event.",
107650
+ "name": "event"
107651
+ }
107652
+ ],
107689
107653
  "inheritedFrom": {
107690
- "name": "SbbOpenCloseBaseElement",
107691
- "module": "core/base-elements/open-close-base-element.js"
107654
+ "name": "SbbButtonLikeBaseElement",
107655
+ "module": "core/base-elements/button-base-element.js"
107692
107656
  }
107693
107657
  },
107694
107658
  {
107695
107659
  "kind": "field",
107696
- "name": "_state",
107697
- "type": {
107698
- "text": "SbbOpenedClosedState"
107699
- },
107660
+ "name": "_removeActiveMarker",
107700
107661
  "privacy": "private",
107701
107662
  "inheritedFrom": {
107702
- "name": "SbbOpenCloseBaseElement",
107703
- "module": "core/base-elements/open-close-base-element.js"
107663
+ "name": "SbbButtonLikeBaseElement",
107664
+ "module": "core/base-elements/button-base-element.js"
107704
107665
  }
107705
107666
  },
107706
107667
  {
107707
107668
  "kind": "field",
107708
- "name": "isOpen",
107709
- "type": {
107710
- "text": "boolean"
107711
- },
107712
- "privacy": "public",
107713
- "description": "Whether the element is open.",
107714
- "readonly": true,
107669
+ "name": "_dispatchClickEventOnSpaceKeyup",
107670
+ "privacy": "private",
107671
+ "description": "Dispatches a 'click' PointerEvent if the original keyboard event is a 'Space' press.\nAs verified with the native button, when 'Space' is pressed, a 'click' event is dispatched\nafter the 'keyup' event.",
107672
+ "parameters": [
107673
+ {
107674
+ "description": "The origin event.",
107675
+ "name": "event"
107676
+ }
107677
+ ],
107715
107678
  "inheritedFrom": {
107716
- "name": "SbbOpenCloseBaseElement",
107717
- "module": "core/base-elements/open-close-base-element.js"
107679
+ "name": "SbbButtonLikeBaseElement",
107680
+ "module": "core/base-elements/button-base-element.js"
107718
107681
  }
107719
107682
  },
107720
107683
  {
107721
- "kind": "method",
107722
- "name": "dispatchBeforeOpenEvent",
107723
- "privacy": "protected",
107724
- "return": {
107725
- "type": {
107726
- "text": "boolean"
107727
- }
107728
- },
107684
+ "kind": "field",
107685
+ "name": "_dispatchClickEvent",
107686
+ "privacy": "private",
107729
107687
  "inheritedFrom": {
107730
- "name": "SbbOpenCloseBaseElement",
107731
- "module": "core/base-elements/open-close-base-element.js"
107688
+ "name": "SbbButtonLikeBaseElement",
107689
+ "module": "core/base-elements/button-base-element.js"
107732
107690
  }
107733
107691
  },
107734
107692
  {
107735
- "kind": "method",
107736
- "name": "dispatchOpenEvent",
107737
- "privacy": "protected",
107738
- "return": {
107739
- "type": {
107740
- "text": "boolean"
107741
- }
107693
+ "kind": "field",
107694
+ "name": "maybeDisabled",
107695
+ "type": {
107696
+ "text": "boolean | undefined"
107742
107697
  },
107698
+ "privacy": "protected",
107699
+ "readonly": true,
107743
107700
  "inheritedFrom": {
107744
- "name": "SbbOpenCloseBaseElement",
107745
- "module": "core/base-elements/open-close-base-element.js"
107701
+ "name": "SbbActionBaseElement",
107702
+ "module": "core/base-elements/action-base-element.js"
107746
107703
  }
107747
107704
  },
107748
107705
  {
107749
- "kind": "method",
107750
- "name": "dispatchBeforeCloseEvent",
107751
- "privacy": "protected",
107752
- "return": {
107753
- "type": {
107754
- "text": "boolean"
107755
- }
107706
+ "kind": "field",
107707
+ "name": "maybeDisabledInteractive",
107708
+ "type": {
107709
+ "text": "boolean | undefined"
107756
107710
  },
107711
+ "privacy": "protected",
107712
+ "readonly": true,
107757
107713
  "inheritedFrom": {
107758
- "name": "SbbOpenCloseBaseElement",
107759
- "module": "core/base-elements/open-close-base-element.js"
107714
+ "name": "SbbActionBaseElement",
107715
+ "module": "core/base-elements/action-base-element.js"
107760
107716
  }
107761
107717
  },
107762
107718
  {
107763
107719
  "kind": "method",
107764
- "name": "dispatchCloseEvent",
107720
+ "name": "setupBaseEventHandlers",
107765
107721
  "privacy": "protected",
107766
107722
  "return": {
107767
107723
  "type": {
107768
- "text": "boolean"
107724
+ "text": "void"
107769
107725
  }
107770
107726
  },
107771
107727
  "inheritedFrom": {
107772
- "name": "SbbOpenCloseBaseElement",
107773
- "module": "core/base-elements/open-close-base-element.js"
107728
+ "name": "SbbActionBaseElement",
107729
+ "module": "core/base-elements/action-base-element.js"
107774
107730
  }
107775
107731
  },
107776
107732
  {
@@ -107879,66 +107835,110 @@
107879
107835
  }
107880
107836
  }
107881
107837
  ],
107882
- "attributes": [
107838
+ "mixins": [
107883
107839
  {
107884
- "name": "trigger",
107885
- "type": {
107886
- "text": "HTMLElement | null"
107887
- },
107888
- "default": "null",
107889
- "description": "The element that will trigger the menu overlay.\n\nFor attribute usage, provide an id reference.",
107890
- "fieldName": "trigger"
107840
+ "name": "SbbDisabledTabIndexActionMixin",
107841
+ "module": "core/mixins.js"
107842
+ },
107843
+ {
107844
+ "name": "SbbMenuActionCommonElementMixin",
107845
+ "module": "menu/common/menu-action-common.js"
107891
107846
  }
107892
107847
  ],
107893
107848
  "superclass": {
107894
- "name": "SbbOpenCloseBaseElement",
107849
+ "name": "SbbButtonBaseElement",
107895
107850
  "module": "core/base-elements.js"
107896
107851
  },
107897
- "tagName": "sbb-menu",
107852
+ "tagName": "sbb-menu-button",
107898
107853
  "customElement": true,
107899
- "events": [
107854
+ "attributes": [
107855
+ {
107856
+ "name": "disabled-interactive",
107857
+ "type": {
107858
+ "text": "boolean"
107859
+ },
107860
+ "default": "false",
107861
+ "description": "Whether the button should be aria-disabled but stay interactive.",
107862
+ "fieldName": "disabledInteractive",
107863
+ "inheritedFrom": {
107864
+ "name": "SbbDisabledInteractiveMixin",
107865
+ "module": "core/mixins/disabled-mixin.js"
107866
+ }
107867
+ },
107868
+ {
107869
+ "name": "disabled",
107870
+ "description": "Whether the component is disabled.",
107871
+ "default": "false",
107872
+ "type": {
107873
+ "text": "boolean"
107874
+ },
107875
+ "fieldName": "disabled",
107876
+ "inheritedFrom": {
107877
+ "name": "SbbDisabledMixin",
107878
+ "module": "core/mixins/disabled-mixin.js"
107879
+ }
107880
+ },
107881
+ {
107882
+ "name": "icon-name",
107883
+ "type": {
107884
+ "text": "string"
107885
+ },
107886
+ "default": "''",
107887
+ "description": "The icon name we want to use, choose from the small icon variants\nfrom the ui-icons category from here\nhttps://icons.app.sbb.ch.",
107888
+ "fieldName": "iconName",
107889
+ "inheritedFrom": {
107890
+ "name": "SbbIconNameMixin",
107891
+ "module": "icon/icon-name-mixin.js"
107892
+ }
107893
+ },
107900
107894
  {
107901
- "name": "beforeopen",
107895
+ "name": "value",
107902
107896
  "type": {
107903
- "text": "Event"
107897
+ "text": "string"
107904
107898
  },
107905
- "description": "Emits whenever the component starts the opening transition. Can be canceled.",
107899
+ "default": "''",
107900
+ "description": "Value of the form element.",
107901
+ "fieldName": "value",
107906
107902
  "inheritedFrom": {
107907
- "name": "SbbOpenCloseBaseElement",
107908
- "module": "core/base-elements/open-close-base-element.js"
107903
+ "name": "SbbButtonBaseElement",
107904
+ "module": "core/base-elements/button-base-element.js"
107909
107905
  }
107910
107906
  },
107911
107907
  {
107912
- "name": "open",
107908
+ "name": "type",
107909
+ "description": "The type attribute to use for the button.",
107910
+ "default": "'button'",
107913
107911
  "type": {
107914
- "text": "Event"
107912
+ "text": "SbbButtonType"
107915
107913
  },
107916
- "description": "Emits whenever the component is opened.",
107914
+ "fieldName": "type",
107917
107915
  "inheritedFrom": {
107918
- "name": "SbbOpenCloseBaseElement",
107919
- "module": "core/base-elements/open-close-base-element.js"
107916
+ "name": "SbbButtonBaseElement",
107917
+ "module": "core/base-elements/button-base-element.js"
107920
107918
  }
107921
107919
  },
107922
107920
  {
107923
- "name": "beforeclose",
107921
+ "name": "form",
107922
+ "description": "The `<form>` element to associate the button with.",
107924
107923
  "type": {
107925
- "text": "Event"
107924
+ "text": "HTMLFormElement | null"
107926
107925
  },
107927
- "description": "Emits whenever the component begins the closing transition. Can be canceled.",
107926
+ "fieldName": "form",
107928
107927
  "inheritedFrom": {
107929
- "name": "SbbOpenCloseBaseElement",
107930
- "module": "core/base-elements/open-close-base-element.js"
107928
+ "name": "SbbButtonBaseElement",
107929
+ "module": "core/base-elements/button-base-element.js"
107931
107930
  }
107932
107931
  },
107933
107932
  {
107934
- "name": "close",
107933
+ "name": "name",
107934
+ "description": "Name of the form element. Will be read from name attribute.",
107935
107935
  "type": {
107936
- "text": "Event"
107936
+ "text": "string"
107937
107937
  },
107938
- "description": "Emits whenever the component is closed.",
107938
+ "fieldName": "name",
107939
107939
  "inheritedFrom": {
107940
- "name": "SbbOpenCloseBaseElement",
107941
- "module": "core/base-elements/open-close-base-element.js"
107940
+ "name": "SbbFormAssociatedMixin",
107941
+ "module": "core/mixins/form-associated-mixin.js"
107942
107942
  }
107943
107943
  }
107944
107944
  ]
@@ -107947,10 +107947,10 @@
107947
107947
  "exports": [
107948
107948
  {
107949
107949
  "kind": "js",
107950
- "name": "SbbMenuElement",
107950
+ "name": "SbbMenuButtonElement",
107951
107951
  "declaration": {
107952
- "name": "SbbMenuElement",
107953
- "module": "menu/menu/menu.component.js"
107952
+ "name": "SbbMenuButtonElement",
107953
+ "module": "menu/menu-button/menu-button.component.js"
107954
107954
  }
107955
107955
  }
107956
107956
  ]
@@ -120927,42 +120927,254 @@
120927
120927
  },
120928
120928
  "description": "Emits whenever the component is opened.",
120929
120929
  "inheritedFrom": {
120930
- "name": "SbbOpenCloseBaseElement",
120931
- "module": "core/base-elements/open-close-base-element.js"
120930
+ "name": "SbbOpenCloseBaseElement",
120931
+ "module": "core/base-elements/open-close-base-element.js"
120932
+ }
120933
+ },
120934
+ {
120935
+ "name": "beforeclose",
120936
+ "type": {
120937
+ "text": "Event"
120938
+ },
120939
+ "description": "Emits whenever the component begins the closing transition. Can be canceled.",
120940
+ "inheritedFrom": {
120941
+ "name": "SbbOpenCloseBaseElement",
120942
+ "module": "core/base-elements/open-close-base-element.js"
120943
+ }
120944
+ },
120945
+ {
120946
+ "name": "close",
120947
+ "type": {
120948
+ "text": "Event"
120949
+ },
120950
+ "description": "Emits whenever the component is closed.",
120951
+ "inheritedFrom": {
120952
+ "name": "SbbOpenCloseBaseElement",
120953
+ "module": "core/base-elements/open-close-base-element.js"
120954
+ }
120955
+ }
120956
+ ]
120957
+ }
120958
+ ],
120959
+ "exports": [
120960
+ {
120961
+ "kind": "js",
120962
+ "name": "SbbSidebarElement",
120963
+ "declaration": {
120964
+ "name": "SbbSidebarElement",
120965
+ "module": "sidebar/sidebar/sidebar.component.js"
120966
+ }
120967
+ }
120968
+ ]
120969
+ },
120970
+ {
120971
+ "kind": "javascript-module",
120972
+ "path": "sidebar/sidebar-container/sidebar-container.component.js",
120973
+ "declarations": [
120974
+ {
120975
+ "kind": "class",
120976
+ "description": "This is the parent component to one or two `<sbb-sidebar>`s that validates the state internally\nand coordinates the backdrop and content styling.",
120977
+ "name": "SbbSidebarContainerElement",
120978
+ "slots": [
120979
+ {
120980
+ "description": "Use the unnamed slot to add `sbb-sidebar` and `sbb-sidebar-content` elements.",
120981
+ "name": ""
120982
+ }
120983
+ ],
120984
+ "members": [
120985
+ {
120986
+ "kind": "field",
120987
+ "name": "elementName",
120988
+ "type": {
120989
+ "text": "string"
120990
+ },
120991
+ "privacy": "public",
120992
+ "static": true,
120993
+ "readonly": true,
120994
+ "default": "'sbb-sidebar-container'",
120995
+ "inheritedFrom": {
120996
+ "name": "SbbElement",
120997
+ "module": "core/base-elements/element.js"
120998
+ }
120999
+ },
121000
+ {
121001
+ "kind": "field",
121002
+ "name": "sidebars",
121003
+ "type": {
121004
+ "text": "SbbSidebarElement[]"
121005
+ },
121006
+ "privacy": "public",
121007
+ "description": "The sidebar children.",
121008
+ "readonly": true
121009
+ },
121010
+ {
121011
+ "kind": "field",
121012
+ "name": "start",
121013
+ "type": {
121014
+ "text": "SbbSidebarElement | null"
121015
+ },
121016
+ "privacy": "public",
121017
+ "description": "The sidebar child with the `start` position.",
121018
+ "readonly": true
121019
+ },
121020
+ {
121021
+ "kind": "field",
121022
+ "name": "end",
121023
+ "type": {
121024
+ "text": "SbbSidebarElement | null"
121025
+ },
121026
+ "privacy": "public",
121027
+ "description": "The sidebar child with the `end` position.",
121028
+ "readonly": true
121029
+ },
121030
+ {
121031
+ "kind": "field",
121032
+ "name": "_forcedClosedSidebars",
121033
+ "privacy": "private",
121034
+ "default": "new WeakSet<SbbSidebarElement>()"
121035
+ },
121036
+ {
121037
+ "kind": "method",
121038
+ "name": "_handleWidthChange",
121039
+ "privacy": "private",
121040
+ "return": {
121041
+ "type": {
121042
+ "text": "void"
121043
+ }
121044
+ }
121045
+ },
121046
+ {
121047
+ "kind": "method",
121048
+ "name": "_calculateSpaceState",
121049
+ "privacy": "private",
121050
+ "return": {
121051
+ "type": {
121052
+ "text": "Promise<void>"
121053
+ }
121054
+ },
121055
+ "description": "Closes and opens sidebars depending on available width\nof the container and its parent container."
121056
+ },
121057
+ {
121058
+ "kind": "field",
121059
+ "name": "_hydrationRequired",
121060
+ "type": {
121061
+ "text": "boolean"
121062
+ },
121063
+ "privacy": "private",
121064
+ "default": "!!this.shadowRoot",
121065
+ "inheritedFrom": {
121066
+ "name": "SbbElement",
121067
+ "module": "core/base-elements/element.js"
121068
+ }
121069
+ },
121070
+ {
121071
+ "kind": "field",
121072
+ "name": "_hydrationComplete",
121073
+ "privacy": "private",
121074
+ "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
121075
+ "inheritedFrom": {
121076
+ "name": "SbbElement",
121077
+ "module": "core/base-elements/element.js"
121078
+ }
121079
+ },
121080
+ {
121081
+ "kind": "field",
121082
+ "name": "_resolveHydration",
121083
+ "type": {
121084
+ "text": "(hydrationRequired: boolean) => void"
121085
+ },
121086
+ "privacy": "private",
121087
+ "inheritedFrom": {
121088
+ "name": "SbbElement",
121089
+ "module": "core/base-elements/element.js"
121090
+ }
121091
+ },
121092
+ {
121093
+ "kind": "field",
121094
+ "name": "hydrationRequired",
121095
+ "type": {
121096
+ "text": "boolean"
121097
+ },
121098
+ "privacy": "protected",
121099
+ "description": "Returns whether hydration is required and not completed.",
121100
+ "readonly": true,
121101
+ "inheritedFrom": {
121102
+ "name": "SbbElement",
121103
+ "module": "core/base-elements/element.js"
121104
+ },
121105
+ "default": "!!this.shadowRoot"
121106
+ },
121107
+ {
121108
+ "kind": "method",
121109
+ "name": "toggleState",
121110
+ "privacy": "protected",
121111
+ "return": {
121112
+ "type": {
121113
+ "text": "void"
121114
+ }
121115
+ },
121116
+ "parameters": [
121117
+ {
121118
+ "name": "value",
121119
+ "type": {
121120
+ "text": "string"
121121
+ }
121122
+ },
121123
+ {
121124
+ "name": "force",
121125
+ "optional": true,
121126
+ "type": {
121127
+ "text": "boolean"
121128
+ }
121129
+ }
121130
+ ],
121131
+ "inheritedFrom": {
121132
+ "name": "SbbElement",
121133
+ "module": "core/base-elements/element.js"
120932
121134
  }
120933
121135
  },
120934
121136
  {
120935
- "name": "beforeclose",
121137
+ "kind": "field",
121138
+ "name": "['_$sbbElement$']",
120936
121139
  "type": {
120937
- "text": "Event"
121140
+ "text": "boolean"
120938
121141
  },
120939
- "description": "Emits whenever the component begins the closing transition. Can be canceled.",
121142
+ "privacy": "public",
121143
+ "static": true,
121144
+ "default": "true",
120940
121145
  "inheritedFrom": {
120941
- "name": "SbbOpenCloseBaseElement",
120942
- "module": "core/base-elements/open-close-base-element.js"
121146
+ "name": "SbbElement",
121147
+ "module": "core/base-elements/element.js"
120943
121148
  }
120944
121149
  },
120945
121150
  {
120946
- "name": "close",
121151
+ "kind": "field",
121152
+ "name": "_controllers",
120947
121153
  "type": {
120948
- "text": "Event"
121154
+ "text": "Set<SbbReactiveController> | undefined"
120949
121155
  },
120950
- "description": "Emits whenever the component is closed.",
121156
+ "privacy": "private",
120951
121157
  "inheritedFrom": {
120952
- "name": "SbbOpenCloseBaseElement",
120953
- "module": "core/base-elements/open-close-base-element.js"
121158
+ "name": "SbbElement",
121159
+ "module": "core/base-elements/element.js"
120954
121160
  }
120955
121161
  }
120956
- ]
121162
+ ],
121163
+ "superclass": {
121164
+ "name": "SbbElement",
121165
+ "module": "core/base-elements.js"
121166
+ },
121167
+ "tagName": "sbb-sidebar-container",
121168
+ "customElement": true
120957
121169
  }
120958
121170
  ],
120959
121171
  "exports": [
120960
121172
  {
120961
121173
  "kind": "js",
120962
- "name": "SbbSidebarElement",
121174
+ "name": "SbbSidebarContainerElement",
120963
121175
  "declaration": {
120964
- "name": "SbbSidebarElement",
120965
- "module": "sidebar/sidebar/sidebar.component.js"
121176
+ "name": "SbbSidebarContainerElement",
121177
+ "module": "sidebar/sidebar-container/sidebar-container.component.js"
120966
121178
  }
120967
121179
  }
120968
121180
  ]
@@ -121987,218 +122199,6 @@
121987
122199
  }
121988
122200
  ]
121989
122201
  },
121990
- {
121991
- "kind": "javascript-module",
121992
- "path": "sidebar/sidebar-container/sidebar-container.component.js",
121993
- "declarations": [
121994
- {
121995
- "kind": "class",
121996
- "description": "This is the parent component to one or two `<sbb-sidebar>`s that validates the state internally\nand coordinates the backdrop and content styling.",
121997
- "name": "SbbSidebarContainerElement",
121998
- "slots": [
121999
- {
122000
- "description": "Use the unnamed slot to add `sbb-sidebar` and `sbb-sidebar-content` elements.",
122001
- "name": ""
122002
- }
122003
- ],
122004
- "members": [
122005
- {
122006
- "kind": "field",
122007
- "name": "elementName",
122008
- "type": {
122009
- "text": "string"
122010
- },
122011
- "privacy": "public",
122012
- "static": true,
122013
- "readonly": true,
122014
- "default": "'sbb-sidebar-container'",
122015
- "inheritedFrom": {
122016
- "name": "SbbElement",
122017
- "module": "core/base-elements/element.js"
122018
- }
122019
- },
122020
- {
122021
- "kind": "field",
122022
- "name": "sidebars",
122023
- "type": {
122024
- "text": "SbbSidebarElement[]"
122025
- },
122026
- "privacy": "public",
122027
- "description": "The sidebar children.",
122028
- "readonly": true
122029
- },
122030
- {
122031
- "kind": "field",
122032
- "name": "start",
122033
- "type": {
122034
- "text": "SbbSidebarElement | null"
122035
- },
122036
- "privacy": "public",
122037
- "description": "The sidebar child with the `start` position.",
122038
- "readonly": true
122039
- },
122040
- {
122041
- "kind": "field",
122042
- "name": "end",
122043
- "type": {
122044
- "text": "SbbSidebarElement | null"
122045
- },
122046
- "privacy": "public",
122047
- "description": "The sidebar child with the `end` position.",
122048
- "readonly": true
122049
- },
122050
- {
122051
- "kind": "field",
122052
- "name": "_forcedClosedSidebars",
122053
- "privacy": "private",
122054
- "default": "new WeakSet<SbbSidebarElement>()"
122055
- },
122056
- {
122057
- "kind": "method",
122058
- "name": "_handleWidthChange",
122059
- "privacy": "private",
122060
- "return": {
122061
- "type": {
122062
- "text": "void"
122063
- }
122064
- }
122065
- },
122066
- {
122067
- "kind": "method",
122068
- "name": "_calculateSpaceState",
122069
- "privacy": "private",
122070
- "return": {
122071
- "type": {
122072
- "text": "Promise<void>"
122073
- }
122074
- },
122075
- "description": "Closes and opens sidebars depending on available width\nof the container and its parent container."
122076
- },
122077
- {
122078
- "kind": "field",
122079
- "name": "_hydrationRequired",
122080
- "type": {
122081
- "text": "boolean"
122082
- },
122083
- "privacy": "private",
122084
- "default": "!!this.shadowRoot",
122085
- "inheritedFrom": {
122086
- "name": "SbbElement",
122087
- "module": "core/base-elements/element.js"
122088
- }
122089
- },
122090
- {
122091
- "kind": "field",
122092
- "name": "_hydrationComplete",
122093
- "privacy": "private",
122094
- "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
122095
- "inheritedFrom": {
122096
- "name": "SbbElement",
122097
- "module": "core/base-elements/element.js"
122098
- }
122099
- },
122100
- {
122101
- "kind": "field",
122102
- "name": "_resolveHydration",
122103
- "type": {
122104
- "text": "(hydrationRequired: boolean) => void"
122105
- },
122106
- "privacy": "private",
122107
- "inheritedFrom": {
122108
- "name": "SbbElement",
122109
- "module": "core/base-elements/element.js"
122110
- }
122111
- },
122112
- {
122113
- "kind": "field",
122114
- "name": "hydrationRequired",
122115
- "type": {
122116
- "text": "boolean"
122117
- },
122118
- "privacy": "protected",
122119
- "description": "Returns whether hydration is required and not completed.",
122120
- "readonly": true,
122121
- "inheritedFrom": {
122122
- "name": "SbbElement",
122123
- "module": "core/base-elements/element.js"
122124
- },
122125
- "default": "!!this.shadowRoot"
122126
- },
122127
- {
122128
- "kind": "method",
122129
- "name": "toggleState",
122130
- "privacy": "protected",
122131
- "return": {
122132
- "type": {
122133
- "text": "void"
122134
- }
122135
- },
122136
- "parameters": [
122137
- {
122138
- "name": "value",
122139
- "type": {
122140
- "text": "string"
122141
- }
122142
- },
122143
- {
122144
- "name": "force",
122145
- "optional": true,
122146
- "type": {
122147
- "text": "boolean"
122148
- }
122149
- }
122150
- ],
122151
- "inheritedFrom": {
122152
- "name": "SbbElement",
122153
- "module": "core/base-elements/element.js"
122154
- }
122155
- },
122156
- {
122157
- "kind": "field",
122158
- "name": "['_$sbbElement$']",
122159
- "type": {
122160
- "text": "boolean"
122161
- },
122162
- "privacy": "public",
122163
- "static": true,
122164
- "default": "true",
122165
- "inheritedFrom": {
122166
- "name": "SbbElement",
122167
- "module": "core/base-elements/element.js"
122168
- }
122169
- },
122170
- {
122171
- "kind": "field",
122172
- "name": "_controllers",
122173
- "type": {
122174
- "text": "Set<SbbReactiveController> | undefined"
122175
- },
122176
- "privacy": "private",
122177
- "inheritedFrom": {
122178
- "name": "SbbElement",
122179
- "module": "core/base-elements/element.js"
122180
- }
122181
- }
122182
- ],
122183
- "superclass": {
122184
- "name": "SbbElement",
122185
- "module": "core/base-elements.js"
122186
- },
122187
- "tagName": "sbb-sidebar-container",
122188
- "customElement": true
122189
- }
122190
- ],
122191
- "exports": [
122192
- {
122193
- "kind": "js",
122194
- "name": "SbbSidebarContainerElement",
122195
- "declaration": {
122196
- "name": "SbbSidebarContainerElement",
122197
- "module": "sidebar/sidebar-container/sidebar-container.component.js"
122198
- }
122199
- }
122200
- ]
122201
- },
122202
122202
  {
122203
122203
  "kind": "javascript-module",
122204
122204
  "path": "sidebar/sidebar-content/sidebar-content.component.js",