@sbb-esta/lyne-elements-dev 5.0.0-next.2-dev.1777960809 → 5.0.0-next.2-dev.1777962297

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 +614 -614
  2. package/package.json +2 -2
@@ -94518,6 +94518,50 @@
94518
94518
  }
94519
94519
  ]
94520
94520
  },
94521
+ {
94522
+ "kind": "javascript-module",
94523
+ "path": "core/styles/styles.js",
94524
+ "declarations": [
94525
+ {
94526
+ "kind": "variable",
94527
+ "name": "hostScrollbarStyles"
94528
+ },
94529
+ {
94530
+ "kind": "variable",
94531
+ "name": "screenReaderOnlyStyles"
94532
+ },
94533
+ {
94534
+ "kind": "variable",
94535
+ "name": "scrollbarStyles"
94536
+ }
94537
+ ],
94538
+ "exports": [
94539
+ {
94540
+ "kind": "js",
94541
+ "name": "hostScrollbarStyles",
94542
+ "declaration": {
94543
+ "name": "hostScrollbarStyles",
94544
+ "module": "core/styles/styles.js"
94545
+ }
94546
+ },
94547
+ {
94548
+ "kind": "js",
94549
+ "name": "screenReaderOnlyStyles",
94550
+ "declaration": {
94551
+ "name": "screenReaderOnlyStyles",
94552
+ "module": "core/styles/styles.js"
94553
+ }
94554
+ },
94555
+ {
94556
+ "kind": "js",
94557
+ "name": "scrollbarStyles",
94558
+ "declaration": {
94559
+ "name": "scrollbarStyles",
94560
+ "module": "core/styles/styles.js"
94561
+ }
94562
+ }
94563
+ ]
94564
+ },
94521
94565
  {
94522
94566
  "kind": "javascript-module",
94523
94567
  "path": "core/testing/event-spy.js",
@@ -94915,50 +94959,6 @@
94915
94959
  }
94916
94960
  ]
94917
94961
  },
94918
- {
94919
- "kind": "javascript-module",
94920
- "path": "core/styles/styles.js",
94921
- "declarations": [
94922
- {
94923
- "kind": "variable",
94924
- "name": "hostScrollbarStyles"
94925
- },
94926
- {
94927
- "kind": "variable",
94928
- "name": "screenReaderOnlyStyles"
94929
- },
94930
- {
94931
- "kind": "variable",
94932
- "name": "scrollbarStyles"
94933
- }
94934
- ],
94935
- "exports": [
94936
- {
94937
- "kind": "js",
94938
- "name": "hostScrollbarStyles",
94939
- "declaration": {
94940
- "name": "hostScrollbarStyles",
94941
- "module": "core/styles/styles.js"
94942
- }
94943
- },
94944
- {
94945
- "kind": "js",
94946
- "name": "screenReaderOnlyStyles",
94947
- "declaration": {
94948
- "name": "screenReaderOnlyStyles",
94949
- "module": "core/styles/styles.js"
94950
- }
94951
- },
94952
- {
94953
- "kind": "js",
94954
- "name": "scrollbarStyles",
94955
- "declaration": {
94956
- "name": "scrollbarStyles",
94957
- "module": "core/styles/styles.js"
94958
- }
94959
- }
94960
- ]
94961
- },
94962
94962
  {
94963
94963
  "kind": "javascript-module",
94964
94964
  "path": "datepicker/common/datepicker-button.js",
@@ -135384,6 +135384,186 @@
135384
135384
  }
135385
135385
  ]
135386
135386
  },
135387
+ {
135388
+ "kind": "javascript-module",
135389
+ "path": "navigation/common/navigation-action-common.js",
135390
+ "declarations": [
135391
+ {
135392
+ "kind": "class",
135393
+ "description": "",
135394
+ "name": "SbbNavigationActionCommonElementMixinType",
135395
+ "members": [
135396
+ {
135397
+ "kind": "field",
135398
+ "name": "size",
135399
+ "type": {
135400
+ "text": "SbbNavigationActionSize"
135401
+ },
135402
+ "privacy": "public"
135403
+ },
135404
+ {
135405
+ "kind": "field",
135406
+ "name": "marker",
135407
+ "type": {
135408
+ "text": "SbbNavigationMarkerElement | null"
135409
+ },
135410
+ "privacy": "public",
135411
+ "readonly": true
135412
+ },
135413
+ {
135414
+ "kind": "field",
135415
+ "name": "section",
135416
+ "type": {
135417
+ "text": "SbbNavigationSectionElement | null"
135418
+ },
135419
+ "privacy": "public",
135420
+ "readonly": true
135421
+ },
135422
+ {
135423
+ "kind": "field",
135424
+ "name": "connectedSection",
135425
+ "type": {
135426
+ "text": "SbbNavigationSectionElement | undefined"
135427
+ },
135428
+ "privacy": "public"
135429
+ }
135430
+ ]
135431
+ },
135432
+ {
135433
+ "kind": "mixin",
135434
+ "description": "",
135435
+ "name": "SbbNavigationActionCommonElementMixin",
135436
+ "members": [
135437
+ {
135438
+ "kind": "field",
135439
+ "name": "elementDependencies",
135440
+ "type": {
135441
+ "text": "SbbElementType[]"
135442
+ },
135443
+ "privacy": "public",
135444
+ "static": true,
135445
+ "default": "[SbbIconElement]"
135446
+ },
135447
+ {
135448
+ "kind": "field",
135449
+ "name": "styles",
135450
+ "type": {
135451
+ "text": "CSSResultGroup"
135452
+ },
135453
+ "privacy": "public",
135454
+ "static": true,
135455
+ "default": "[unsafeCSS(style)]"
135456
+ },
135457
+ {
135458
+ "kind": "field",
135459
+ "name": "size",
135460
+ "type": {
135461
+ "text": "SbbNavigationActionSize"
135462
+ },
135463
+ "privacy": "public",
135464
+ "default": "'l'",
135465
+ "description": "Action size variant, either s, m or l.",
135466
+ "attribute": "size",
135467
+ "reflects": true
135468
+ },
135469
+ {
135470
+ "kind": "field",
135471
+ "name": "connectedSection",
135472
+ "type": {
135473
+ "text": "SbbNavigationSectionElement | undefined"
135474
+ },
135475
+ "privacy": "public",
135476
+ "description": "The section that is being controlled by the action, if any."
135477
+ },
135478
+ {
135479
+ "kind": "field",
135480
+ "name": "marker",
135481
+ "type": {
135482
+ "text": "SbbNavigationMarkerElement | null"
135483
+ },
135484
+ "privacy": "public",
135485
+ "description": "The navigation marker in which the action is nested.",
135486
+ "readonly": true
135487
+ },
135488
+ {
135489
+ "kind": "field",
135490
+ "name": "section",
135491
+ "type": {
135492
+ "text": "SbbNavigationSectionElement | null"
135493
+ },
135494
+ "privacy": "public",
135495
+ "description": "The section in which the action is nested.",
135496
+ "readonly": true
135497
+ },
135498
+ {
135499
+ "kind": "field",
135500
+ "name": "_navigationMarker",
135501
+ "type": {
135502
+ "text": "SbbNavigationMarkerElement | null"
135503
+ },
135504
+ "privacy": "private",
135505
+ "default": "null"
135506
+ },
135507
+ {
135508
+ "kind": "field",
135509
+ "name": "_navigationSection",
135510
+ "type": {
135511
+ "text": "SbbNavigationSectionElement | null"
135512
+ },
135513
+ "privacy": "private",
135514
+ "default": "null"
135515
+ },
135516
+ {
135517
+ "kind": "method",
135518
+ "name": "renderTemplate",
135519
+ "privacy": "protected",
135520
+ "return": {
135521
+ "type": {
135522
+ "text": "TemplateResult"
135523
+ }
135524
+ }
135525
+ }
135526
+ ],
135527
+ "attributes": [
135528
+ {
135529
+ "name": "size",
135530
+ "type": {
135531
+ "text": "SbbNavigationActionSize"
135532
+ },
135533
+ "default": "'l'",
135534
+ "description": "Action size variant, either s, m or l.",
135535
+ "fieldName": "size"
135536
+ }
135537
+ ],
135538
+ "parameters": [
135539
+ {
135540
+ "name": "superClass",
135541
+ "type": {
135542
+ "text": "T"
135543
+ }
135544
+ }
135545
+ ]
135546
+ }
135547
+ ],
135548
+ "exports": [
135549
+ {
135550
+ "kind": "js",
135551
+ "name": "SbbNavigationActionCommonElementMixinType",
135552
+ "declaration": {
135553
+ "name": "SbbNavigationActionCommonElementMixinType",
135554
+ "module": "navigation/common/navigation-action-common.js"
135555
+ }
135556
+ },
135557
+ {
135558
+ "kind": "js",
135559
+ "name": "SbbNavigationActionCommonElementMixin",
135560
+ "declaration": {
135561
+ "name": "SbbNavigationActionCommonElementMixin",
135562
+ "module": "navigation/common/navigation-action-common.js"
135563
+ }
135564
+ }
135565
+ ]
135566
+ },
135387
135567
  {
135388
135568
  "kind": "javascript-module",
135389
135569
  "path": "mini-calendar/mini-calendar-month/mini-calendar-month.component.js",
@@ -135780,186 +135960,6 @@
135780
135960
  }
135781
135961
  ]
135782
135962
  },
135783
- {
135784
- "kind": "javascript-module",
135785
- "path": "navigation/common/navigation-action-common.js",
135786
- "declarations": [
135787
- {
135788
- "kind": "class",
135789
- "description": "",
135790
- "name": "SbbNavigationActionCommonElementMixinType",
135791
- "members": [
135792
- {
135793
- "kind": "field",
135794
- "name": "size",
135795
- "type": {
135796
- "text": "SbbNavigationActionSize"
135797
- },
135798
- "privacy": "public"
135799
- },
135800
- {
135801
- "kind": "field",
135802
- "name": "marker",
135803
- "type": {
135804
- "text": "SbbNavigationMarkerElement | null"
135805
- },
135806
- "privacy": "public",
135807
- "readonly": true
135808
- },
135809
- {
135810
- "kind": "field",
135811
- "name": "section",
135812
- "type": {
135813
- "text": "SbbNavigationSectionElement | null"
135814
- },
135815
- "privacy": "public",
135816
- "readonly": true
135817
- },
135818
- {
135819
- "kind": "field",
135820
- "name": "connectedSection",
135821
- "type": {
135822
- "text": "SbbNavigationSectionElement | undefined"
135823
- },
135824
- "privacy": "public"
135825
- }
135826
- ]
135827
- },
135828
- {
135829
- "kind": "mixin",
135830
- "description": "",
135831
- "name": "SbbNavigationActionCommonElementMixin",
135832
- "members": [
135833
- {
135834
- "kind": "field",
135835
- "name": "elementDependencies",
135836
- "type": {
135837
- "text": "SbbElementType[]"
135838
- },
135839
- "privacy": "public",
135840
- "static": true,
135841
- "default": "[SbbIconElement]"
135842
- },
135843
- {
135844
- "kind": "field",
135845
- "name": "styles",
135846
- "type": {
135847
- "text": "CSSResultGroup"
135848
- },
135849
- "privacy": "public",
135850
- "static": true,
135851
- "default": "[unsafeCSS(style)]"
135852
- },
135853
- {
135854
- "kind": "field",
135855
- "name": "size",
135856
- "type": {
135857
- "text": "SbbNavigationActionSize"
135858
- },
135859
- "privacy": "public",
135860
- "default": "'l'",
135861
- "description": "Action size variant, either s, m or l.",
135862
- "attribute": "size",
135863
- "reflects": true
135864
- },
135865
- {
135866
- "kind": "field",
135867
- "name": "connectedSection",
135868
- "type": {
135869
- "text": "SbbNavigationSectionElement | undefined"
135870
- },
135871
- "privacy": "public",
135872
- "description": "The section that is being controlled by the action, if any."
135873
- },
135874
- {
135875
- "kind": "field",
135876
- "name": "marker",
135877
- "type": {
135878
- "text": "SbbNavigationMarkerElement | null"
135879
- },
135880
- "privacy": "public",
135881
- "description": "The navigation marker in which the action is nested.",
135882
- "readonly": true
135883
- },
135884
- {
135885
- "kind": "field",
135886
- "name": "section",
135887
- "type": {
135888
- "text": "SbbNavigationSectionElement | null"
135889
- },
135890
- "privacy": "public",
135891
- "description": "The section in which the action is nested.",
135892
- "readonly": true
135893
- },
135894
- {
135895
- "kind": "field",
135896
- "name": "_navigationMarker",
135897
- "type": {
135898
- "text": "SbbNavigationMarkerElement | null"
135899
- },
135900
- "privacy": "private",
135901
- "default": "null"
135902
- },
135903
- {
135904
- "kind": "field",
135905
- "name": "_navigationSection",
135906
- "type": {
135907
- "text": "SbbNavigationSectionElement | null"
135908
- },
135909
- "privacy": "private",
135910
- "default": "null"
135911
- },
135912
- {
135913
- "kind": "method",
135914
- "name": "renderTemplate",
135915
- "privacy": "protected",
135916
- "return": {
135917
- "type": {
135918
- "text": "TemplateResult"
135919
- }
135920
- }
135921
- }
135922
- ],
135923
- "attributes": [
135924
- {
135925
- "name": "size",
135926
- "type": {
135927
- "text": "SbbNavigationActionSize"
135928
- },
135929
- "default": "'l'",
135930
- "description": "Action size variant, either s, m or l.",
135931
- "fieldName": "size"
135932
- }
135933
- ],
135934
- "parameters": [
135935
- {
135936
- "name": "superClass",
135937
- "type": {
135938
- "text": "T"
135939
- }
135940
- }
135941
- ]
135942
- }
135943
- ],
135944
- "exports": [
135945
- {
135946
- "kind": "js",
135947
- "name": "SbbNavigationActionCommonElementMixinType",
135948
- "declaration": {
135949
- "name": "SbbNavigationActionCommonElementMixinType",
135950
- "module": "navigation/common/navigation-action-common.js"
135951
- }
135952
- },
135953
- {
135954
- "kind": "js",
135955
- "name": "SbbNavigationActionCommonElementMixin",
135956
- "declaration": {
135957
- "name": "SbbNavigationActionCommonElementMixin",
135958
- "module": "navigation/common/navigation-action-common.js"
135959
- }
135960
- }
135961
- ]
135962
- },
135963
135963
  {
135964
135964
  "kind": "javascript-module",
135965
135965
  "path": "navigation/navigation/navigation.component.js",
@@ -149629,396 +149629,6 @@
149629
149629
  }
149630
149630
  ]
149631
149631
  },
149632
- {
149633
- "kind": "javascript-module",
149634
- "path": "sidebar/sidebar-container/sidebar-container.component.js",
149635
- "declarations": [
149636
- {
149637
- "kind": "class",
149638
- "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.",
149639
- "name": "SbbSidebarContainerElement",
149640
- "slots": [
149641
- {
149642
- "description": "Use the unnamed slot to add `sbb-sidebar` and `sbb-sidebar-content` elements.",
149643
- "name": ""
149644
- }
149645
- ],
149646
- "members": [
149647
- {
149648
- "kind": "field",
149649
- "name": "elementName",
149650
- "type": {
149651
- "text": "string"
149652
- },
149653
- "privacy": "public",
149654
- "static": true,
149655
- "readonly": true,
149656
- "default": "'sbb-sidebar-container'",
149657
- "inheritedFrom": {
149658
- "name": "SbbElement",
149659
- "module": "core/base-elements/element.js"
149660
- }
149661
- },
149662
- {
149663
- "kind": "field",
149664
- "name": "sidebars",
149665
- "type": {
149666
- "text": "SbbSidebarElement[]"
149667
- },
149668
- "privacy": "public",
149669
- "description": "The sidebar children.",
149670
- "readonly": true
149671
- },
149672
- {
149673
- "kind": "field",
149674
- "name": "start",
149675
- "type": {
149676
- "text": "SbbSidebarElement | null"
149677
- },
149678
- "privacy": "public",
149679
- "description": "The sidebar child with the `start` position.",
149680
- "readonly": true
149681
- },
149682
- {
149683
- "kind": "field",
149684
- "name": "end",
149685
- "type": {
149686
- "text": "SbbSidebarElement | null"
149687
- },
149688
- "privacy": "public",
149689
- "description": "The sidebar child with the `end` position.",
149690
- "readonly": true
149691
- },
149692
- {
149693
- "kind": "field",
149694
- "name": "_forcedClosedSidebars",
149695
- "privacy": "private",
149696
- "default": "new WeakSet<SbbSidebarElement>()"
149697
- },
149698
- {
149699
- "kind": "method",
149700
- "name": "_handleWidthChange",
149701
- "privacy": "private",
149702
- "return": {
149703
- "type": {
149704
- "text": "void"
149705
- }
149706
- }
149707
- },
149708
- {
149709
- "kind": "method",
149710
- "name": "_calculateSpaceState",
149711
- "privacy": "private",
149712
- "return": {
149713
- "type": {
149714
- "text": "Promise<void>"
149715
- }
149716
- },
149717
- "description": "Closes and opens sidebars depending on available width\nof the container and its parent container."
149718
- },
149719
- {
149720
- "kind": "field",
149721
- "name": "['_$sbbElement$']",
149722
- "type": {
149723
- "text": "boolean"
149724
- },
149725
- "privacy": "public",
149726
- "static": true,
149727
- "default": "true",
149728
- "inheritedFrom": {
149729
- "name": "SbbElement",
149730
- "module": "core/base-elements/element.js"
149731
- }
149732
- },
149733
- {
149734
- "kind": "field",
149735
- "name": "elementDependencies",
149736
- "type": {
149737
- "text": "SbbElementType[] | undefined"
149738
- },
149739
- "privacy": "public",
149740
- "static": true,
149741
- "inheritedFrom": {
149742
- "name": "SbbElement",
149743
- "module": "core/base-elements/element.js"
149744
- }
149745
- },
149746
- {
149747
- "kind": "field",
149748
- "name": "role",
149749
- "type": {
149750
- "text": "ElementInternals['role'] | undefined"
149751
- },
149752
- "privacy": "public",
149753
- "static": true,
149754
- "inheritedFrom": {
149755
- "name": "SbbElement",
149756
- "module": "core/base-elements/element.js"
149757
- }
149758
- },
149759
- {
149760
- "kind": "field",
149761
- "name": "_controllers",
149762
- "type": {
149763
- "text": "Set<SbbReactiveController> | undefined"
149764
- },
149765
- "privacy": "private",
149766
- "inheritedFrom": {
149767
- "name": "SbbElement",
149768
- "module": "core/base-elements/element.js"
149769
- }
149770
- },
149771
- {
149772
- "kind": "field",
149773
- "name": "_hydrationRequired",
149774
- "type": {
149775
- "text": "boolean"
149776
- },
149777
- "privacy": "private",
149778
- "default": "!!this.shadowRoot",
149779
- "inheritedFrom": {
149780
- "name": "SbbElement",
149781
- "module": "core/base-elements/element.js"
149782
- }
149783
- },
149784
- {
149785
- "kind": "field",
149786
- "name": "_hydrationComplete",
149787
- "privacy": "private",
149788
- "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
149789
- "inheritedFrom": {
149790
- "name": "SbbElement",
149791
- "module": "core/base-elements/element.js"
149792
- }
149793
- },
149794
- {
149795
- "kind": "field",
149796
- "name": "_resolveHydration",
149797
- "type": {
149798
- "text": "(hydrationRequired: boolean) => void"
149799
- },
149800
- "privacy": "private",
149801
- "inheritedFrom": {
149802
- "name": "SbbElement",
149803
- "module": "core/base-elements/element.js"
149804
- }
149805
- },
149806
- {
149807
- "kind": "field",
149808
- "name": "_textObserver",
149809
- "type": {
149810
- "text": "MutationObserver | undefined"
149811
- },
149812
- "privacy": "private",
149813
- "inheritedFrom": {
149814
- "name": "SbbElement",
149815
- "module": "core/base-elements/element.js"
149816
- }
149817
- },
149818
- {
149819
- "kind": "field",
149820
- "name": "hydrationRequired",
149821
- "type": {
149822
- "text": "boolean"
149823
- },
149824
- "privacy": "protected",
149825
- "description": "Returns whether hydration is required and not completed.",
149826
- "readonly": true,
149827
- "inheritedFrom": {
149828
- "name": "SbbElement",
149829
- "module": "core/base-elements/element.js"
149830
- },
149831
- "default": "!!this.shadowRoot"
149832
- },
149833
- {
149834
- "kind": "method",
149835
- "name": "finalizeStyles",
149836
- "privacy": "protected",
149837
- "static": true,
149838
- "return": {
149839
- "type": {
149840
- "text": "CSSResultOrNative[]"
149841
- }
149842
- },
149843
- "parameters": [
149844
- {
149845
- "name": "_styles",
149846
- "type": {
149847
- "text": "CSSResultGroup"
149848
- }
149849
- }
149850
- ],
149851
- "description": "Collects `styles` from every class in the prototype chain (using `Object.hasOwn`)\nand merges them in top-down order. This means each class/mixin only needs to declare\nits **own** styles — there is no need to reference `super.styles`.\n\nLit's default behaviour already walks the chain, but fails for mixins where\n`super.styles` resolves to the wrong class. This override fixes that.",
149852
- "inheritedFrom": {
149853
- "name": "SbbElement",
149854
- "module": "core/base-elements/element.js"
149855
- }
149856
- },
149857
- {
149858
- "kind": "method",
149859
- "name": "toggleState",
149860
- "privacy": "protected",
149861
- "return": {
149862
- "type": {
149863
- "text": "void"
149864
- }
149865
- },
149866
- "parameters": [
149867
- {
149868
- "name": "value",
149869
- "type": {
149870
- "text": "string"
149871
- }
149872
- },
149873
- {
149874
- "name": "force",
149875
- "optional": true,
149876
- "type": {
149877
- "text": "boolean"
149878
- }
149879
- }
149880
- ],
149881
- "inheritedFrom": {
149882
- "name": "SbbElement",
149883
- "module": "core/base-elements/element.js"
149884
- }
149885
- },
149886
- {
149887
- "kind": "method",
149888
- "name": "_slotchangeHandler",
149889
- "privacy": "private",
149890
- "return": {
149891
- "type": {
149892
- "text": "void"
149893
- }
149894
- },
149895
- "parameters": [
149896
- {
149897
- "name": "event",
149898
- "type": {
149899
- "text": "Event"
149900
- }
149901
- },
149902
- {
149903
- "name": "slot",
149904
- "type": {
149905
- "text": "HTMLSlotElement"
149906
- }
149907
- }
149908
- ],
149909
- "inheritedFrom": {
149910
- "name": "SbbElement",
149911
- "module": "core/base-elements/element.js"
149912
- }
149913
- },
149914
- {
149915
- "kind": "method",
149916
- "name": "_handleSlotChangeForSlottedState",
149917
- "privacy": "private",
149918
- "return": {
149919
- "type": {
149920
- "text": "void"
149921
- }
149922
- },
149923
- "parameters": [
149924
- {
149925
- "name": "slot",
149926
- "type": {
149927
- "text": "HTMLSlotElement"
149928
- }
149929
- }
149930
- ],
149931
- "inheritedFrom": {
149932
- "name": "SbbElement",
149933
- "module": "core/base-elements/element.js"
149934
- }
149935
- },
149936
- {
149937
- "kind": "method",
149938
- "name": "_updateSlottedState",
149939
- "privacy": "private",
149940
- "return": {
149941
- "type": {
149942
- "text": "void"
149943
- }
149944
- },
149945
- "parameters": [
149946
- {
149947
- "name": "slot",
149948
- "type": {
149949
- "text": "HTMLSlotElement"
149950
- }
149951
- }
149952
- ],
149953
- "inheritedFrom": {
149954
- "name": "SbbElement",
149955
- "module": "core/base-elements/element.js"
149956
- }
149957
- },
149958
- {
149959
- "kind": "method",
149960
- "name": "_observeTextNodesInSlot",
149961
- "privacy": "private",
149962
- "return": {
149963
- "type": {
149964
- "text": "void"
149965
- }
149966
- },
149967
- "parameters": [
149968
- {
149969
- "name": "slot",
149970
- "type": {
149971
- "text": "HTMLSlotElement"
149972
- }
149973
- }
149974
- ],
149975
- "inheritedFrom": {
149976
- "name": "SbbElement",
149977
- "module": "core/base-elements/element.js"
149978
- }
149979
- },
149980
- {
149981
- "kind": "method",
149982
- "name": "_hasSlottedContent",
149983
- "privacy": "private",
149984
- "return": {
149985
- "type": {
149986
- "text": "boolean"
149987
- }
149988
- },
149989
- "parameters": [
149990
- {
149991
- "name": "slot",
149992
- "type": {
149993
- "text": "HTMLSlotElement"
149994
- }
149995
- }
149996
- ],
149997
- "inheritedFrom": {
149998
- "name": "SbbElement",
149999
- "module": "core/base-elements/element.js"
150000
- }
150001
- }
150002
- ],
150003
- "superclass": {
150004
- "name": "SbbElement",
150005
- "module": "core.js"
150006
- },
150007
- "tagName": "sbb-sidebar-container",
150008
- "customElement": true
150009
- }
150010
- ],
150011
- "exports": [
150012
- {
150013
- "kind": "js",
150014
- "name": "SbbSidebarContainerElement",
150015
- "declaration": {
150016
- "name": "SbbSidebarContainerElement",
150017
- "module": "sidebar/sidebar-container/sidebar-container.component.js"
150018
- }
150019
- }
150020
- ]
150021
- },
150022
149632
  {
150023
149633
  "kind": "javascript-module",
150024
149634
  "path": "sidebar/sidebar-close-button/sidebar-close-button.component.js",
@@ -151219,6 +150829,396 @@
151219
150829
  }
151220
150830
  ]
151221
150831
  },
150832
+ {
150833
+ "kind": "javascript-module",
150834
+ "path": "sidebar/sidebar-container/sidebar-container.component.js",
150835
+ "declarations": [
150836
+ {
150837
+ "kind": "class",
150838
+ "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.",
150839
+ "name": "SbbSidebarContainerElement",
150840
+ "slots": [
150841
+ {
150842
+ "description": "Use the unnamed slot to add `sbb-sidebar` and `sbb-sidebar-content` elements.",
150843
+ "name": ""
150844
+ }
150845
+ ],
150846
+ "members": [
150847
+ {
150848
+ "kind": "field",
150849
+ "name": "elementName",
150850
+ "type": {
150851
+ "text": "string"
150852
+ },
150853
+ "privacy": "public",
150854
+ "static": true,
150855
+ "readonly": true,
150856
+ "default": "'sbb-sidebar-container'",
150857
+ "inheritedFrom": {
150858
+ "name": "SbbElement",
150859
+ "module": "core/base-elements/element.js"
150860
+ }
150861
+ },
150862
+ {
150863
+ "kind": "field",
150864
+ "name": "sidebars",
150865
+ "type": {
150866
+ "text": "SbbSidebarElement[]"
150867
+ },
150868
+ "privacy": "public",
150869
+ "description": "The sidebar children.",
150870
+ "readonly": true
150871
+ },
150872
+ {
150873
+ "kind": "field",
150874
+ "name": "start",
150875
+ "type": {
150876
+ "text": "SbbSidebarElement | null"
150877
+ },
150878
+ "privacy": "public",
150879
+ "description": "The sidebar child with the `start` position.",
150880
+ "readonly": true
150881
+ },
150882
+ {
150883
+ "kind": "field",
150884
+ "name": "end",
150885
+ "type": {
150886
+ "text": "SbbSidebarElement | null"
150887
+ },
150888
+ "privacy": "public",
150889
+ "description": "The sidebar child with the `end` position.",
150890
+ "readonly": true
150891
+ },
150892
+ {
150893
+ "kind": "field",
150894
+ "name": "_forcedClosedSidebars",
150895
+ "privacy": "private",
150896
+ "default": "new WeakSet<SbbSidebarElement>()"
150897
+ },
150898
+ {
150899
+ "kind": "method",
150900
+ "name": "_handleWidthChange",
150901
+ "privacy": "private",
150902
+ "return": {
150903
+ "type": {
150904
+ "text": "void"
150905
+ }
150906
+ }
150907
+ },
150908
+ {
150909
+ "kind": "method",
150910
+ "name": "_calculateSpaceState",
150911
+ "privacy": "private",
150912
+ "return": {
150913
+ "type": {
150914
+ "text": "Promise<void>"
150915
+ }
150916
+ },
150917
+ "description": "Closes and opens sidebars depending on available width\nof the container and its parent container."
150918
+ },
150919
+ {
150920
+ "kind": "field",
150921
+ "name": "['_$sbbElement$']",
150922
+ "type": {
150923
+ "text": "boolean"
150924
+ },
150925
+ "privacy": "public",
150926
+ "static": true,
150927
+ "default": "true",
150928
+ "inheritedFrom": {
150929
+ "name": "SbbElement",
150930
+ "module": "core/base-elements/element.js"
150931
+ }
150932
+ },
150933
+ {
150934
+ "kind": "field",
150935
+ "name": "elementDependencies",
150936
+ "type": {
150937
+ "text": "SbbElementType[] | undefined"
150938
+ },
150939
+ "privacy": "public",
150940
+ "static": true,
150941
+ "inheritedFrom": {
150942
+ "name": "SbbElement",
150943
+ "module": "core/base-elements/element.js"
150944
+ }
150945
+ },
150946
+ {
150947
+ "kind": "field",
150948
+ "name": "role",
150949
+ "type": {
150950
+ "text": "ElementInternals['role'] | undefined"
150951
+ },
150952
+ "privacy": "public",
150953
+ "static": true,
150954
+ "inheritedFrom": {
150955
+ "name": "SbbElement",
150956
+ "module": "core/base-elements/element.js"
150957
+ }
150958
+ },
150959
+ {
150960
+ "kind": "field",
150961
+ "name": "_controllers",
150962
+ "type": {
150963
+ "text": "Set<SbbReactiveController> | undefined"
150964
+ },
150965
+ "privacy": "private",
150966
+ "inheritedFrom": {
150967
+ "name": "SbbElement",
150968
+ "module": "core/base-elements/element.js"
150969
+ }
150970
+ },
150971
+ {
150972
+ "kind": "field",
150973
+ "name": "_hydrationRequired",
150974
+ "type": {
150975
+ "text": "boolean"
150976
+ },
150977
+ "privacy": "private",
150978
+ "default": "!!this.shadowRoot",
150979
+ "inheritedFrom": {
150980
+ "name": "SbbElement",
150981
+ "module": "core/base-elements/element.js"
150982
+ }
150983
+ },
150984
+ {
150985
+ "kind": "field",
150986
+ "name": "_hydrationComplete",
150987
+ "privacy": "private",
150988
+ "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
150989
+ "inheritedFrom": {
150990
+ "name": "SbbElement",
150991
+ "module": "core/base-elements/element.js"
150992
+ }
150993
+ },
150994
+ {
150995
+ "kind": "field",
150996
+ "name": "_resolveHydration",
150997
+ "type": {
150998
+ "text": "(hydrationRequired: boolean) => void"
150999
+ },
151000
+ "privacy": "private",
151001
+ "inheritedFrom": {
151002
+ "name": "SbbElement",
151003
+ "module": "core/base-elements/element.js"
151004
+ }
151005
+ },
151006
+ {
151007
+ "kind": "field",
151008
+ "name": "_textObserver",
151009
+ "type": {
151010
+ "text": "MutationObserver | undefined"
151011
+ },
151012
+ "privacy": "private",
151013
+ "inheritedFrom": {
151014
+ "name": "SbbElement",
151015
+ "module": "core/base-elements/element.js"
151016
+ }
151017
+ },
151018
+ {
151019
+ "kind": "field",
151020
+ "name": "hydrationRequired",
151021
+ "type": {
151022
+ "text": "boolean"
151023
+ },
151024
+ "privacy": "protected",
151025
+ "description": "Returns whether hydration is required and not completed.",
151026
+ "readonly": true,
151027
+ "inheritedFrom": {
151028
+ "name": "SbbElement",
151029
+ "module": "core/base-elements/element.js"
151030
+ },
151031
+ "default": "!!this.shadowRoot"
151032
+ },
151033
+ {
151034
+ "kind": "method",
151035
+ "name": "finalizeStyles",
151036
+ "privacy": "protected",
151037
+ "static": true,
151038
+ "return": {
151039
+ "type": {
151040
+ "text": "CSSResultOrNative[]"
151041
+ }
151042
+ },
151043
+ "parameters": [
151044
+ {
151045
+ "name": "_styles",
151046
+ "type": {
151047
+ "text": "CSSResultGroup"
151048
+ }
151049
+ }
151050
+ ],
151051
+ "description": "Collects `styles` from every class in the prototype chain (using `Object.hasOwn`)\nand merges them in top-down order. This means each class/mixin only needs to declare\nits **own** styles — there is no need to reference `super.styles`.\n\nLit's default behaviour already walks the chain, but fails for mixins where\n`super.styles` resolves to the wrong class. This override fixes that.",
151052
+ "inheritedFrom": {
151053
+ "name": "SbbElement",
151054
+ "module": "core/base-elements/element.js"
151055
+ }
151056
+ },
151057
+ {
151058
+ "kind": "method",
151059
+ "name": "toggleState",
151060
+ "privacy": "protected",
151061
+ "return": {
151062
+ "type": {
151063
+ "text": "void"
151064
+ }
151065
+ },
151066
+ "parameters": [
151067
+ {
151068
+ "name": "value",
151069
+ "type": {
151070
+ "text": "string"
151071
+ }
151072
+ },
151073
+ {
151074
+ "name": "force",
151075
+ "optional": true,
151076
+ "type": {
151077
+ "text": "boolean"
151078
+ }
151079
+ }
151080
+ ],
151081
+ "inheritedFrom": {
151082
+ "name": "SbbElement",
151083
+ "module": "core/base-elements/element.js"
151084
+ }
151085
+ },
151086
+ {
151087
+ "kind": "method",
151088
+ "name": "_slotchangeHandler",
151089
+ "privacy": "private",
151090
+ "return": {
151091
+ "type": {
151092
+ "text": "void"
151093
+ }
151094
+ },
151095
+ "parameters": [
151096
+ {
151097
+ "name": "event",
151098
+ "type": {
151099
+ "text": "Event"
151100
+ }
151101
+ },
151102
+ {
151103
+ "name": "slot",
151104
+ "type": {
151105
+ "text": "HTMLSlotElement"
151106
+ }
151107
+ }
151108
+ ],
151109
+ "inheritedFrom": {
151110
+ "name": "SbbElement",
151111
+ "module": "core/base-elements/element.js"
151112
+ }
151113
+ },
151114
+ {
151115
+ "kind": "method",
151116
+ "name": "_handleSlotChangeForSlottedState",
151117
+ "privacy": "private",
151118
+ "return": {
151119
+ "type": {
151120
+ "text": "void"
151121
+ }
151122
+ },
151123
+ "parameters": [
151124
+ {
151125
+ "name": "slot",
151126
+ "type": {
151127
+ "text": "HTMLSlotElement"
151128
+ }
151129
+ }
151130
+ ],
151131
+ "inheritedFrom": {
151132
+ "name": "SbbElement",
151133
+ "module": "core/base-elements/element.js"
151134
+ }
151135
+ },
151136
+ {
151137
+ "kind": "method",
151138
+ "name": "_updateSlottedState",
151139
+ "privacy": "private",
151140
+ "return": {
151141
+ "type": {
151142
+ "text": "void"
151143
+ }
151144
+ },
151145
+ "parameters": [
151146
+ {
151147
+ "name": "slot",
151148
+ "type": {
151149
+ "text": "HTMLSlotElement"
151150
+ }
151151
+ }
151152
+ ],
151153
+ "inheritedFrom": {
151154
+ "name": "SbbElement",
151155
+ "module": "core/base-elements/element.js"
151156
+ }
151157
+ },
151158
+ {
151159
+ "kind": "method",
151160
+ "name": "_observeTextNodesInSlot",
151161
+ "privacy": "private",
151162
+ "return": {
151163
+ "type": {
151164
+ "text": "void"
151165
+ }
151166
+ },
151167
+ "parameters": [
151168
+ {
151169
+ "name": "slot",
151170
+ "type": {
151171
+ "text": "HTMLSlotElement"
151172
+ }
151173
+ }
151174
+ ],
151175
+ "inheritedFrom": {
151176
+ "name": "SbbElement",
151177
+ "module": "core/base-elements/element.js"
151178
+ }
151179
+ },
151180
+ {
151181
+ "kind": "method",
151182
+ "name": "_hasSlottedContent",
151183
+ "privacy": "private",
151184
+ "return": {
151185
+ "type": {
151186
+ "text": "boolean"
151187
+ }
151188
+ },
151189
+ "parameters": [
151190
+ {
151191
+ "name": "slot",
151192
+ "type": {
151193
+ "text": "HTMLSlotElement"
151194
+ }
151195
+ }
151196
+ ],
151197
+ "inheritedFrom": {
151198
+ "name": "SbbElement",
151199
+ "module": "core/base-elements/element.js"
151200
+ }
151201
+ }
151202
+ ],
151203
+ "superclass": {
151204
+ "name": "SbbElement",
151205
+ "module": "core.js"
151206
+ },
151207
+ "tagName": "sbb-sidebar-container",
151208
+ "customElement": true
151209
+ }
151210
+ ],
151211
+ "exports": [
151212
+ {
151213
+ "kind": "js",
151214
+ "name": "SbbSidebarContainerElement",
151215
+ "declaration": {
151216
+ "name": "SbbSidebarContainerElement",
151217
+ "module": "sidebar/sidebar-container/sidebar-container.component.js"
151218
+ }
151219
+ }
151220
+ ]
151221
+ },
151222
151222
  {
151223
151223
  "kind": "javascript-module",
151224
151224
  "path": "sidebar/sidebar-content/sidebar-content.component.js",
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@sbb-esta/lyne-elements-dev",
3
- "version": "5.0.0-next.2-dev.1777960809",
3
+ "version": "5.0.0-next.2-dev.1777962297",
4
4
  "description": "Lyne Design System",
5
5
  "keywords": [
6
6
  "design system",
7
7
  "web components",
8
8
  "lit",
9
- "https://github.com/sbb-design-systems/lyne-components/commit/d0064b39c172ba6c1e58629137781caee3d46202"
9
+ "https://github.com/sbb-design-systems/lyne-components/commit/200b5726df2553cd396237ac1493e8183e3cd07d"
10
10
  ],
11
11
  "type": "module",
12
12
  "exports": {