@sbb-esta/lyne-elements-dev 4.12.1-dev.1778482021 → 4.12.1-dev.1778485310
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +340 -340
- package/package.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -99463,15 +99463,15 @@
|
|
|
99463
99463
|
},
|
|
99464
99464
|
{
|
|
99465
99465
|
"kind": "javascript-module",
|
|
99466
|
-
"path": "icon-sidebar/icon-sidebar-
|
|
99466
|
+
"path": "icon-sidebar/icon-sidebar-content/icon-sidebar-content.component.js",
|
|
99467
99467
|
"declarations": [
|
|
99468
99468
|
{
|
|
99469
99469
|
"kind": "class",
|
|
99470
|
-
"description": "
|
|
99471
|
-
"name": "
|
|
99470
|
+
"description": "Container for the icon sidebar content. Intended to be placed inside an `sbb-icon-sidebar-container` element.",
|
|
99471
|
+
"name": "SbbIconSidebarContentElement",
|
|
99472
99472
|
"slots": [
|
|
99473
99473
|
{
|
|
99474
|
-
"description": "Use the unnamed slot to add
|
|
99474
|
+
"description": "Use the unnamed slot to add any content elements.",
|
|
99475
99475
|
"name": ""
|
|
99476
99476
|
}
|
|
99477
99477
|
],
|
|
@@ -99485,42 +99485,12 @@
|
|
|
99485
99485
|
"privacy": "public",
|
|
99486
99486
|
"static": true,
|
|
99487
99487
|
"readonly": true,
|
|
99488
|
-
"default": "'sbb-icon-sidebar-
|
|
99488
|
+
"default": "'sbb-icon-sidebar-content'",
|
|
99489
99489
|
"inheritedFrom": {
|
|
99490
99490
|
"name": "SbbElement",
|
|
99491
99491
|
"module": "core/base-elements/element.js"
|
|
99492
99492
|
}
|
|
99493
99493
|
},
|
|
99494
|
-
{
|
|
99495
|
-
"kind": "field",
|
|
99496
|
-
"name": "sidebars",
|
|
99497
|
-
"type": {
|
|
99498
|
-
"text": "SbbIconSidebarElement[]"
|
|
99499
|
-
},
|
|
99500
|
-
"privacy": "public",
|
|
99501
|
-
"description": "The icon-sidebar children.",
|
|
99502
|
-
"readonly": true
|
|
99503
|
-
},
|
|
99504
|
-
{
|
|
99505
|
-
"kind": "field",
|
|
99506
|
-
"name": "start",
|
|
99507
|
-
"type": {
|
|
99508
|
-
"text": "SbbIconSidebarElement | null"
|
|
99509
|
-
},
|
|
99510
|
-
"privacy": "public",
|
|
99511
|
-
"description": "The icon-sidebar child at the start position.",
|
|
99512
|
-
"readonly": true
|
|
99513
|
-
},
|
|
99514
|
-
{
|
|
99515
|
-
"kind": "field",
|
|
99516
|
-
"name": "end",
|
|
99517
|
-
"type": {
|
|
99518
|
-
"text": "SbbIconSidebarElement | null"
|
|
99519
|
-
},
|
|
99520
|
-
"privacy": "public",
|
|
99521
|
-
"description": "The icon-sidebar child at the end position.",
|
|
99522
|
-
"readonly": true
|
|
99523
|
-
},
|
|
99524
99494
|
{
|
|
99525
99495
|
"kind": "field",
|
|
99526
99496
|
"name": "_hydrationRequired",
|
|
@@ -99631,32 +99601,32 @@
|
|
|
99631
99601
|
"name": "SbbElement",
|
|
99632
99602
|
"module": "core/base-elements.js"
|
|
99633
99603
|
},
|
|
99634
|
-
"tagName": "sbb-icon-sidebar-
|
|
99604
|
+
"tagName": "sbb-icon-sidebar-content",
|
|
99635
99605
|
"customElement": true
|
|
99636
99606
|
}
|
|
99637
99607
|
],
|
|
99638
99608
|
"exports": [
|
|
99639
99609
|
{
|
|
99640
99610
|
"kind": "js",
|
|
99641
|
-
"name": "
|
|
99611
|
+
"name": "SbbIconSidebarContentElement",
|
|
99642
99612
|
"declaration": {
|
|
99643
|
-
"name": "
|
|
99644
|
-
"module": "icon-sidebar/icon-sidebar-
|
|
99613
|
+
"name": "SbbIconSidebarContentElement",
|
|
99614
|
+
"module": "icon-sidebar/icon-sidebar-content/icon-sidebar-content.component.js"
|
|
99645
99615
|
}
|
|
99646
99616
|
}
|
|
99647
99617
|
]
|
|
99648
99618
|
},
|
|
99649
99619
|
{
|
|
99650
99620
|
"kind": "javascript-module",
|
|
99651
|
-
"path": "icon-sidebar/icon-sidebar-
|
|
99621
|
+
"path": "icon-sidebar/icon-sidebar-container/icon-sidebar-container.component.js",
|
|
99652
99622
|
"declarations": [
|
|
99653
99623
|
{
|
|
99654
99624
|
"kind": "class",
|
|
99655
|
-
"description": "
|
|
99656
|
-
"name": "
|
|
99625
|
+
"description": "This is the parent component to one or two `<sbb-icon-sidebar>`s and one `<sbb-icon-sidebar-content>` element.",
|
|
99626
|
+
"name": "SbbIconSidebarContainerElement",
|
|
99657
99627
|
"slots": [
|
|
99658
99628
|
{
|
|
99659
|
-
"description": "Use the unnamed slot to add
|
|
99629
|
+
"description": "Use the unnamed slot to add `sbb-sidebar` and `sbb-sidebar-content` elements.",
|
|
99660
99630
|
"name": ""
|
|
99661
99631
|
}
|
|
99662
99632
|
],
|
|
@@ -99670,12 +99640,42 @@
|
|
|
99670
99640
|
"privacy": "public",
|
|
99671
99641
|
"static": true,
|
|
99672
99642
|
"readonly": true,
|
|
99673
|
-
"default": "'sbb-icon-sidebar-
|
|
99643
|
+
"default": "'sbb-icon-sidebar-container'",
|
|
99674
99644
|
"inheritedFrom": {
|
|
99675
99645
|
"name": "SbbElement",
|
|
99676
99646
|
"module": "core/base-elements/element.js"
|
|
99677
99647
|
}
|
|
99678
99648
|
},
|
|
99649
|
+
{
|
|
99650
|
+
"kind": "field",
|
|
99651
|
+
"name": "sidebars",
|
|
99652
|
+
"type": {
|
|
99653
|
+
"text": "SbbIconSidebarElement[]"
|
|
99654
|
+
},
|
|
99655
|
+
"privacy": "public",
|
|
99656
|
+
"description": "The icon-sidebar children.",
|
|
99657
|
+
"readonly": true
|
|
99658
|
+
},
|
|
99659
|
+
{
|
|
99660
|
+
"kind": "field",
|
|
99661
|
+
"name": "start",
|
|
99662
|
+
"type": {
|
|
99663
|
+
"text": "SbbIconSidebarElement | null"
|
|
99664
|
+
},
|
|
99665
|
+
"privacy": "public",
|
|
99666
|
+
"description": "The icon-sidebar child at the start position.",
|
|
99667
|
+
"readonly": true
|
|
99668
|
+
},
|
|
99669
|
+
{
|
|
99670
|
+
"kind": "field",
|
|
99671
|
+
"name": "end",
|
|
99672
|
+
"type": {
|
|
99673
|
+
"text": "SbbIconSidebarElement | null"
|
|
99674
|
+
},
|
|
99675
|
+
"privacy": "public",
|
|
99676
|
+
"description": "The icon-sidebar child at the end position.",
|
|
99677
|
+
"readonly": true
|
|
99678
|
+
},
|
|
99679
99679
|
{
|
|
99680
99680
|
"kind": "field",
|
|
99681
99681
|
"name": "_hydrationRequired",
|
|
@@ -99786,17 +99786,17 @@
|
|
|
99786
99786
|
"name": "SbbElement",
|
|
99787
99787
|
"module": "core/base-elements.js"
|
|
99788
99788
|
},
|
|
99789
|
-
"tagName": "sbb-icon-sidebar-
|
|
99789
|
+
"tagName": "sbb-icon-sidebar-container",
|
|
99790
99790
|
"customElement": true
|
|
99791
99791
|
}
|
|
99792
99792
|
],
|
|
99793
99793
|
"exports": [
|
|
99794
99794
|
{
|
|
99795
99795
|
"kind": "js",
|
|
99796
|
-
"name": "
|
|
99796
|
+
"name": "SbbIconSidebarContainerElement",
|
|
99797
99797
|
"declaration": {
|
|
99798
|
-
"name": "
|
|
99799
|
-
"module": "icon-sidebar/icon-sidebar-
|
|
99798
|
+
"name": "SbbIconSidebarContainerElement",
|
|
99799
|
+
"module": "icon-sidebar/icon-sidebar-container/icon-sidebar-container.component.js"
|
|
99800
99800
|
}
|
|
99801
99801
|
}
|
|
99802
99802
|
]
|
|
@@ -121194,28 +121194,16 @@
|
|
|
121194
121194
|
},
|
|
121195
121195
|
{
|
|
121196
121196
|
"kind": "javascript-module",
|
|
121197
|
-
"path": "sidebar/sidebar-
|
|
121197
|
+
"path": "sidebar/sidebar-container/sidebar-container.component.js",
|
|
121198
121198
|
"declarations": [
|
|
121199
121199
|
{
|
|
121200
121200
|
"kind": "class",
|
|
121201
|
-
"description": "
|
|
121202
|
-
"name": "
|
|
121201
|
+
"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.",
|
|
121202
|
+
"name": "SbbSidebarContainerElement",
|
|
121203
121203
|
"slots": [
|
|
121204
121204
|
{
|
|
121205
|
-
"description": "Use the unnamed slot to add
|
|
121206
|
-
"name": ""
|
|
121207
|
-
"inheritedFrom": {
|
|
121208
|
-
"name": "SbbSecondaryButtonElement",
|
|
121209
|
-
"module": "button/secondary-button/secondary-button.component.js"
|
|
121210
|
-
}
|
|
121211
|
-
},
|
|
121212
|
-
{
|
|
121213
|
-
"description": "Slot used to display the icon, if one is set. Not intended to be used in this context.",
|
|
121214
|
-
"name": "icon",
|
|
121215
|
-
"inheritedFrom": {
|
|
121216
|
-
"name": "SbbSecondaryButtonElement",
|
|
121217
|
-
"module": "button/secondary-button/secondary-button.component.js"
|
|
121218
|
-
}
|
|
121205
|
+
"description": "Use the unnamed slot to add `sbb-sidebar` and `sbb-sidebar-content` elements.",
|
|
121206
|
+
"name": ""
|
|
121219
121207
|
}
|
|
121220
121208
|
],
|
|
121221
121209
|
"members": [
|
|
@@ -121228,132 +121216,356 @@
|
|
|
121228
121216
|
"privacy": "public",
|
|
121229
121217
|
"static": true,
|
|
121230
121218
|
"readonly": true,
|
|
121219
|
+
"default": "'sbb-sidebar-container'",
|
|
121231
121220
|
"inheritedFrom": {
|
|
121232
121221
|
"name": "SbbElement",
|
|
121233
121222
|
"module": "core/base-elements/element.js"
|
|
121223
|
+
}
|
|
121224
|
+
},
|
|
121225
|
+
{
|
|
121226
|
+
"kind": "field",
|
|
121227
|
+
"name": "sidebars",
|
|
121228
|
+
"type": {
|
|
121229
|
+
"text": "SbbSidebarElement[]"
|
|
121234
121230
|
},
|
|
121235
|
-
"
|
|
121231
|
+
"privacy": "public",
|
|
121232
|
+
"description": "The sidebar children.",
|
|
121233
|
+
"readonly": true
|
|
121236
121234
|
},
|
|
121237
121235
|
{
|
|
121238
121236
|
"kind": "field",
|
|
121239
|
-
"name": "
|
|
121237
|
+
"name": "start",
|
|
121238
|
+
"type": {
|
|
121239
|
+
"text": "SbbSidebarElement | null"
|
|
121240
|
+
},
|
|
121241
|
+
"privacy": "public",
|
|
121242
|
+
"description": "The sidebar child with the `start` position.",
|
|
121243
|
+
"readonly": true
|
|
121244
|
+
},
|
|
121245
|
+
{
|
|
121246
|
+
"kind": "field",
|
|
121247
|
+
"name": "end",
|
|
121248
|
+
"type": {
|
|
121249
|
+
"text": "SbbSidebarElement | null"
|
|
121250
|
+
},
|
|
121251
|
+
"privacy": "public",
|
|
121252
|
+
"description": "The sidebar child with the `end` position.",
|
|
121253
|
+
"readonly": true
|
|
121254
|
+
},
|
|
121255
|
+
{
|
|
121256
|
+
"kind": "field",
|
|
121257
|
+
"name": "_forcedClosedSidebars",
|
|
121240
121258
|
"privacy": "private",
|
|
121241
|
-
"default": "new
|
|
121259
|
+
"default": "new WeakSet<SbbSidebarElement>()"
|
|
121242
121260
|
},
|
|
121243
121261
|
{
|
|
121244
121262
|
"kind": "method",
|
|
121245
|
-
"name": "
|
|
121246
|
-
"privacy": "
|
|
121263
|
+
"name": "_handleWidthChange",
|
|
121264
|
+
"privacy": "private",
|
|
121247
121265
|
"return": {
|
|
121248
121266
|
"type": {
|
|
121249
|
-
"text": "
|
|
121267
|
+
"text": "void"
|
|
121250
121268
|
}
|
|
121251
|
-
},
|
|
121252
|
-
"description": "Override this method to render the component template.",
|
|
121253
|
-
"inheritedFrom": {
|
|
121254
|
-
"name": "SbbActionBaseElement",
|
|
121255
|
-
"module": "core/base-elements/action-base-element.js"
|
|
121256
121269
|
}
|
|
121257
121270
|
},
|
|
121258
121271
|
{
|
|
121259
121272
|
"kind": "method",
|
|
121260
|
-
"name": "
|
|
121261
|
-
"privacy": "
|
|
121273
|
+
"name": "_calculateSpaceState",
|
|
121274
|
+
"privacy": "private",
|
|
121262
121275
|
"return": {
|
|
121263
121276
|
"type": {
|
|
121264
|
-
"text": "
|
|
121277
|
+
"text": "Promise<void>"
|
|
121265
121278
|
}
|
|
121266
121279
|
},
|
|
121267
|
-
"
|
|
121268
|
-
"name": "SbbIconNameMixin",
|
|
121269
|
-
"module": "icon/icon-name-mixin.js"
|
|
121270
|
-
}
|
|
121280
|
+
"description": "Closes and opens sidebars depending on available width\nof the container and its parent container."
|
|
121271
121281
|
},
|
|
121272
121282
|
{
|
|
121273
121283
|
"kind": "field",
|
|
121274
|
-
"name": "
|
|
121284
|
+
"name": "_hydrationRequired",
|
|
121275
121285
|
"type": {
|
|
121276
|
-
"text": "
|
|
121286
|
+
"text": "boolean"
|
|
121277
121287
|
},
|
|
121278
|
-
"privacy": "
|
|
121279
|
-
"
|
|
121280
|
-
"default": "'s'",
|
|
121281
|
-
"attribute": "size",
|
|
121282
|
-
"reflects": true,
|
|
121288
|
+
"privacy": "private",
|
|
121289
|
+
"default": "!!this.shadowRoot",
|
|
121283
121290
|
"inheritedFrom": {
|
|
121284
|
-
"name": "
|
|
121285
|
-
"module": "
|
|
121291
|
+
"name": "SbbElement",
|
|
121292
|
+
"module": "core/base-elements/element.js"
|
|
121286
121293
|
}
|
|
121287
121294
|
},
|
|
121288
121295
|
{
|
|
121289
121296
|
"kind": "field",
|
|
121290
|
-
"name": "
|
|
121291
|
-
"
|
|
121292
|
-
|
|
121293
|
-
},
|
|
121294
|
-
"privacy": "public",
|
|
121295
|
-
"default": "false",
|
|
121296
|
-
"description": "Whether the button indicates a loading state.\nThe animation kicks in after a delay of 300ms, configurable with --sbb-button-loading-delay CSS variable.",
|
|
121297
|
-
"attribute": "loading",
|
|
121298
|
-
"reflects": true,
|
|
121297
|
+
"name": "_hydrationComplete",
|
|
121298
|
+
"privacy": "private",
|
|
121299
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
121299
121300
|
"inheritedFrom": {
|
|
121300
|
-
"name": "
|
|
121301
|
-
"module": "
|
|
121301
|
+
"name": "SbbElement",
|
|
121302
|
+
"module": "core/base-elements/element.js"
|
|
121302
121303
|
}
|
|
121303
121304
|
},
|
|
121304
121305
|
{
|
|
121305
121306
|
"kind": "field",
|
|
121306
|
-
"name": "
|
|
121307
|
+
"name": "_resolveHydration",
|
|
121307
121308
|
"type": {
|
|
121308
|
-
"text": "boolean"
|
|
121309
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
121309
121310
|
},
|
|
121310
|
-
"privacy": "
|
|
121311
|
-
"default": "false",
|
|
121312
|
-
"description": "Negative coloring variant flag.",
|
|
121313
|
-
"attribute": "negative",
|
|
121314
|
-
"reflects": true,
|
|
121311
|
+
"privacy": "private",
|
|
121315
121312
|
"inheritedFrom": {
|
|
121316
|
-
"name": "
|
|
121317
|
-
"module": "core/
|
|
121313
|
+
"name": "SbbElement",
|
|
121314
|
+
"module": "core/base-elements/element.js"
|
|
121318
121315
|
}
|
|
121319
121316
|
},
|
|
121320
121317
|
{
|
|
121321
121318
|
"kind": "field",
|
|
121322
|
-
"name": "
|
|
121319
|
+
"name": "hydrationRequired",
|
|
121323
121320
|
"type": {
|
|
121324
|
-
"text": "
|
|
121321
|
+
"text": "boolean"
|
|
121325
121322
|
},
|
|
121326
|
-
"privacy": "
|
|
121327
|
-
"
|
|
121328
|
-
"
|
|
121329
|
-
"attribute": "icon-name",
|
|
121323
|
+
"privacy": "protected",
|
|
121324
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
121325
|
+
"readonly": true,
|
|
121330
121326
|
"inheritedFrom": {
|
|
121331
|
-
"name": "
|
|
121332
|
-
"module": "
|
|
121333
|
-
}
|
|
121327
|
+
"name": "SbbElement",
|
|
121328
|
+
"module": "core/base-elements/element.js"
|
|
121329
|
+
},
|
|
121330
|
+
"default": "!!this.shadowRoot"
|
|
121334
121331
|
},
|
|
121335
121332
|
{
|
|
121336
121333
|
"kind": "method",
|
|
121337
|
-
"name": "
|
|
121334
|
+
"name": "toggleState",
|
|
121338
121335
|
"privacy": "protected",
|
|
121339
121336
|
"return": {
|
|
121340
121337
|
"type": {
|
|
121341
|
-
"text": "
|
|
121338
|
+
"text": "void"
|
|
121342
121339
|
}
|
|
121343
121340
|
},
|
|
121344
121341
|
"parameters": [
|
|
121345
121342
|
{
|
|
121346
|
-
"name": "
|
|
121347
|
-
"optional": true,
|
|
121343
|
+
"name": "value",
|
|
121348
121344
|
"type": {
|
|
121349
121345
|
"text": "string"
|
|
121350
121346
|
}
|
|
121347
|
+
},
|
|
121348
|
+
{
|
|
121349
|
+
"name": "force",
|
|
121350
|
+
"optional": true,
|
|
121351
|
+
"type": {
|
|
121352
|
+
"text": "boolean"
|
|
121353
|
+
}
|
|
121351
121354
|
}
|
|
121352
121355
|
],
|
|
121353
121356
|
"inheritedFrom": {
|
|
121354
|
-
"name": "
|
|
121355
|
-
"module": "
|
|
121356
|
-
}
|
|
121357
|
+
"name": "SbbElement",
|
|
121358
|
+
"module": "core/base-elements/element.js"
|
|
121359
|
+
}
|
|
121360
|
+
},
|
|
121361
|
+
{
|
|
121362
|
+
"kind": "field",
|
|
121363
|
+
"name": "['_$sbbElement$']",
|
|
121364
|
+
"type": {
|
|
121365
|
+
"text": "boolean"
|
|
121366
|
+
},
|
|
121367
|
+
"privacy": "public",
|
|
121368
|
+
"static": true,
|
|
121369
|
+
"default": "true",
|
|
121370
|
+
"inheritedFrom": {
|
|
121371
|
+
"name": "SbbElement",
|
|
121372
|
+
"module": "core/base-elements/element.js"
|
|
121373
|
+
}
|
|
121374
|
+
},
|
|
121375
|
+
{
|
|
121376
|
+
"kind": "field",
|
|
121377
|
+
"name": "_controllers",
|
|
121378
|
+
"type": {
|
|
121379
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
121380
|
+
},
|
|
121381
|
+
"privacy": "private",
|
|
121382
|
+
"inheritedFrom": {
|
|
121383
|
+
"name": "SbbElement",
|
|
121384
|
+
"module": "core/base-elements/element.js"
|
|
121385
|
+
}
|
|
121386
|
+
}
|
|
121387
|
+
],
|
|
121388
|
+
"superclass": {
|
|
121389
|
+
"name": "SbbElement",
|
|
121390
|
+
"module": "core/base-elements.js"
|
|
121391
|
+
},
|
|
121392
|
+
"tagName": "sbb-sidebar-container",
|
|
121393
|
+
"customElement": true
|
|
121394
|
+
}
|
|
121395
|
+
],
|
|
121396
|
+
"exports": [
|
|
121397
|
+
{
|
|
121398
|
+
"kind": "js",
|
|
121399
|
+
"name": "SbbSidebarContainerElement",
|
|
121400
|
+
"declaration": {
|
|
121401
|
+
"name": "SbbSidebarContainerElement",
|
|
121402
|
+
"module": "sidebar/sidebar-container/sidebar-container.component.js"
|
|
121403
|
+
}
|
|
121404
|
+
}
|
|
121405
|
+
]
|
|
121406
|
+
},
|
|
121407
|
+
{
|
|
121408
|
+
"kind": "javascript-module",
|
|
121409
|
+
"path": "sidebar/sidebar-close-button/sidebar-close-button.component.js",
|
|
121410
|
+
"declarations": [
|
|
121411
|
+
{
|
|
121412
|
+
"kind": "class",
|
|
121413
|
+
"description": "Sidebar close button, intended to be placed inside sbb-sidebar.",
|
|
121414
|
+
"name": "SbbSidebarCloseButtonElement",
|
|
121415
|
+
"slots": [
|
|
121416
|
+
{
|
|
121417
|
+
"description": "Use the unnamed slot to add content to the sidebar-close-button. Not intended to be used in this context.",
|
|
121418
|
+
"name": "",
|
|
121419
|
+
"inheritedFrom": {
|
|
121420
|
+
"name": "SbbSecondaryButtonElement",
|
|
121421
|
+
"module": "button/secondary-button/secondary-button.component.js"
|
|
121422
|
+
}
|
|
121423
|
+
},
|
|
121424
|
+
{
|
|
121425
|
+
"description": "Slot used to display the icon, if one is set. Not intended to be used in this context.",
|
|
121426
|
+
"name": "icon",
|
|
121427
|
+
"inheritedFrom": {
|
|
121428
|
+
"name": "SbbSecondaryButtonElement",
|
|
121429
|
+
"module": "button/secondary-button/secondary-button.component.js"
|
|
121430
|
+
}
|
|
121431
|
+
}
|
|
121432
|
+
],
|
|
121433
|
+
"members": [
|
|
121434
|
+
{
|
|
121435
|
+
"kind": "field",
|
|
121436
|
+
"name": "elementName",
|
|
121437
|
+
"type": {
|
|
121438
|
+
"text": "string"
|
|
121439
|
+
},
|
|
121440
|
+
"privacy": "public",
|
|
121441
|
+
"static": true,
|
|
121442
|
+
"readonly": true,
|
|
121443
|
+
"inheritedFrom": {
|
|
121444
|
+
"name": "SbbElement",
|
|
121445
|
+
"module": "core/base-elements/element.js"
|
|
121446
|
+
},
|
|
121447
|
+
"default": "'sbb-sidebar-close-button'"
|
|
121448
|
+
},
|
|
121449
|
+
{
|
|
121450
|
+
"kind": "field",
|
|
121451
|
+
"name": "_languageController",
|
|
121452
|
+
"privacy": "private",
|
|
121453
|
+
"default": "new SbbLanguageController(this)"
|
|
121454
|
+
},
|
|
121455
|
+
{
|
|
121456
|
+
"kind": "method",
|
|
121457
|
+
"name": "renderTemplate",
|
|
121458
|
+
"privacy": "protected",
|
|
121459
|
+
"return": {
|
|
121460
|
+
"type": {
|
|
121461
|
+
"text": "TemplateResult"
|
|
121462
|
+
}
|
|
121463
|
+
},
|
|
121464
|
+
"description": "Override this method to render the component template.",
|
|
121465
|
+
"inheritedFrom": {
|
|
121466
|
+
"name": "SbbActionBaseElement",
|
|
121467
|
+
"module": "core/base-elements/action-base-element.js"
|
|
121468
|
+
}
|
|
121469
|
+
},
|
|
121470
|
+
{
|
|
121471
|
+
"kind": "method",
|
|
121472
|
+
"name": "renderIconName",
|
|
121473
|
+
"privacy": "protected",
|
|
121474
|
+
"return": {
|
|
121475
|
+
"type": {
|
|
121476
|
+
"text": "string"
|
|
121477
|
+
}
|
|
121478
|
+
},
|
|
121479
|
+
"inheritedFrom": {
|
|
121480
|
+
"name": "SbbIconNameMixin",
|
|
121481
|
+
"module": "icon/icon-name-mixin.js"
|
|
121482
|
+
}
|
|
121483
|
+
},
|
|
121484
|
+
{
|
|
121485
|
+
"kind": "field",
|
|
121486
|
+
"name": "size",
|
|
121487
|
+
"type": {
|
|
121488
|
+
"text": "SbbButtonSize"
|
|
121489
|
+
},
|
|
121490
|
+
"privacy": "public",
|
|
121491
|
+
"description": "Size variant, either l, m or s.",
|
|
121492
|
+
"default": "'s'",
|
|
121493
|
+
"attribute": "size",
|
|
121494
|
+
"reflects": true,
|
|
121495
|
+
"inheritedFrom": {
|
|
121496
|
+
"name": "SbbButtonCommonElementMixin",
|
|
121497
|
+
"module": "button/common/button-common.js"
|
|
121498
|
+
}
|
|
121499
|
+
},
|
|
121500
|
+
{
|
|
121501
|
+
"kind": "field",
|
|
121502
|
+
"name": "loading",
|
|
121503
|
+
"type": {
|
|
121504
|
+
"text": "boolean"
|
|
121505
|
+
},
|
|
121506
|
+
"privacy": "public",
|
|
121507
|
+
"default": "false",
|
|
121508
|
+
"description": "Whether the button indicates a loading state.\nThe animation kicks in after a delay of 300ms, configurable with --sbb-button-loading-delay CSS variable.",
|
|
121509
|
+
"attribute": "loading",
|
|
121510
|
+
"reflects": true,
|
|
121511
|
+
"inheritedFrom": {
|
|
121512
|
+
"name": "SbbButtonCommonElementMixin",
|
|
121513
|
+
"module": "button/common/button-common.js"
|
|
121514
|
+
}
|
|
121515
|
+
},
|
|
121516
|
+
{
|
|
121517
|
+
"kind": "field",
|
|
121518
|
+
"name": "negative",
|
|
121519
|
+
"type": {
|
|
121520
|
+
"text": "boolean"
|
|
121521
|
+
},
|
|
121522
|
+
"privacy": "public",
|
|
121523
|
+
"default": "false",
|
|
121524
|
+
"description": "Negative coloring variant flag.",
|
|
121525
|
+
"attribute": "negative",
|
|
121526
|
+
"reflects": true,
|
|
121527
|
+
"inheritedFrom": {
|
|
121528
|
+
"name": "SbbNegativeMixin",
|
|
121529
|
+
"module": "core/mixins/negative-mixin.js"
|
|
121530
|
+
}
|
|
121531
|
+
},
|
|
121532
|
+
{
|
|
121533
|
+
"kind": "field",
|
|
121534
|
+
"name": "iconName",
|
|
121535
|
+
"type": {
|
|
121536
|
+
"text": "string"
|
|
121537
|
+
},
|
|
121538
|
+
"privacy": "public",
|
|
121539
|
+
"default": "''",
|
|
121540
|
+
"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.",
|
|
121541
|
+
"attribute": "icon-name",
|
|
121542
|
+
"inheritedFrom": {
|
|
121543
|
+
"name": "SbbIconNameMixin",
|
|
121544
|
+
"module": "icon/icon-name-mixin.js"
|
|
121545
|
+
}
|
|
121546
|
+
},
|
|
121547
|
+
{
|
|
121548
|
+
"kind": "method",
|
|
121549
|
+
"name": "renderIconSlot",
|
|
121550
|
+
"privacy": "protected",
|
|
121551
|
+
"return": {
|
|
121552
|
+
"type": {
|
|
121553
|
+
"text": "TemplateResult"
|
|
121554
|
+
}
|
|
121555
|
+
},
|
|
121556
|
+
"parameters": [
|
|
121557
|
+
{
|
|
121558
|
+
"name": "classname",
|
|
121559
|
+
"optional": true,
|
|
121560
|
+
"type": {
|
|
121561
|
+
"text": "string"
|
|
121562
|
+
}
|
|
121563
|
+
}
|
|
121564
|
+
],
|
|
121565
|
+
"inheritedFrom": {
|
|
121566
|
+
"name": "SbbIconNameMixin",
|
|
121567
|
+
"module": "icon/icon-name-mixin.js"
|
|
121568
|
+
}
|
|
121357
121569
|
},
|
|
121358
121570
|
{
|
|
121359
121571
|
"kind": "method",
|
|
@@ -122212,218 +122424,6 @@
|
|
|
122212
122424
|
}
|
|
122213
122425
|
]
|
|
122214
122426
|
},
|
|
122215
|
-
{
|
|
122216
|
-
"kind": "javascript-module",
|
|
122217
|
-
"path": "sidebar/sidebar-container/sidebar-container.component.js",
|
|
122218
|
-
"declarations": [
|
|
122219
|
-
{
|
|
122220
|
-
"kind": "class",
|
|
122221
|
-
"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.",
|
|
122222
|
-
"name": "SbbSidebarContainerElement",
|
|
122223
|
-
"slots": [
|
|
122224
|
-
{
|
|
122225
|
-
"description": "Use the unnamed slot to add `sbb-sidebar` and `sbb-sidebar-content` elements.",
|
|
122226
|
-
"name": ""
|
|
122227
|
-
}
|
|
122228
|
-
],
|
|
122229
|
-
"members": [
|
|
122230
|
-
{
|
|
122231
|
-
"kind": "field",
|
|
122232
|
-
"name": "elementName",
|
|
122233
|
-
"type": {
|
|
122234
|
-
"text": "string"
|
|
122235
|
-
},
|
|
122236
|
-
"privacy": "public",
|
|
122237
|
-
"static": true,
|
|
122238
|
-
"readonly": true,
|
|
122239
|
-
"default": "'sbb-sidebar-container'",
|
|
122240
|
-
"inheritedFrom": {
|
|
122241
|
-
"name": "SbbElement",
|
|
122242
|
-
"module": "core/base-elements/element.js"
|
|
122243
|
-
}
|
|
122244
|
-
},
|
|
122245
|
-
{
|
|
122246
|
-
"kind": "field",
|
|
122247
|
-
"name": "sidebars",
|
|
122248
|
-
"type": {
|
|
122249
|
-
"text": "SbbSidebarElement[]"
|
|
122250
|
-
},
|
|
122251
|
-
"privacy": "public",
|
|
122252
|
-
"description": "The sidebar children.",
|
|
122253
|
-
"readonly": true
|
|
122254
|
-
},
|
|
122255
|
-
{
|
|
122256
|
-
"kind": "field",
|
|
122257
|
-
"name": "start",
|
|
122258
|
-
"type": {
|
|
122259
|
-
"text": "SbbSidebarElement | null"
|
|
122260
|
-
},
|
|
122261
|
-
"privacy": "public",
|
|
122262
|
-
"description": "The sidebar child with the `start` position.",
|
|
122263
|
-
"readonly": true
|
|
122264
|
-
},
|
|
122265
|
-
{
|
|
122266
|
-
"kind": "field",
|
|
122267
|
-
"name": "end",
|
|
122268
|
-
"type": {
|
|
122269
|
-
"text": "SbbSidebarElement | null"
|
|
122270
|
-
},
|
|
122271
|
-
"privacy": "public",
|
|
122272
|
-
"description": "The sidebar child with the `end` position.",
|
|
122273
|
-
"readonly": true
|
|
122274
|
-
},
|
|
122275
|
-
{
|
|
122276
|
-
"kind": "field",
|
|
122277
|
-
"name": "_forcedClosedSidebars",
|
|
122278
|
-
"privacy": "private",
|
|
122279
|
-
"default": "new WeakSet<SbbSidebarElement>()"
|
|
122280
|
-
},
|
|
122281
|
-
{
|
|
122282
|
-
"kind": "method",
|
|
122283
|
-
"name": "_handleWidthChange",
|
|
122284
|
-
"privacy": "private",
|
|
122285
|
-
"return": {
|
|
122286
|
-
"type": {
|
|
122287
|
-
"text": "void"
|
|
122288
|
-
}
|
|
122289
|
-
}
|
|
122290
|
-
},
|
|
122291
|
-
{
|
|
122292
|
-
"kind": "method",
|
|
122293
|
-
"name": "_calculateSpaceState",
|
|
122294
|
-
"privacy": "private",
|
|
122295
|
-
"return": {
|
|
122296
|
-
"type": {
|
|
122297
|
-
"text": "Promise<void>"
|
|
122298
|
-
}
|
|
122299
|
-
},
|
|
122300
|
-
"description": "Closes and opens sidebars depending on available width\nof the container and its parent container."
|
|
122301
|
-
},
|
|
122302
|
-
{
|
|
122303
|
-
"kind": "field",
|
|
122304
|
-
"name": "_hydrationRequired",
|
|
122305
|
-
"type": {
|
|
122306
|
-
"text": "boolean"
|
|
122307
|
-
},
|
|
122308
|
-
"privacy": "private",
|
|
122309
|
-
"default": "!!this.shadowRoot",
|
|
122310
|
-
"inheritedFrom": {
|
|
122311
|
-
"name": "SbbElement",
|
|
122312
|
-
"module": "core/base-elements/element.js"
|
|
122313
|
-
}
|
|
122314
|
-
},
|
|
122315
|
-
{
|
|
122316
|
-
"kind": "field",
|
|
122317
|
-
"name": "_hydrationComplete",
|
|
122318
|
-
"privacy": "private",
|
|
122319
|
-
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
122320
|
-
"inheritedFrom": {
|
|
122321
|
-
"name": "SbbElement",
|
|
122322
|
-
"module": "core/base-elements/element.js"
|
|
122323
|
-
}
|
|
122324
|
-
},
|
|
122325
|
-
{
|
|
122326
|
-
"kind": "field",
|
|
122327
|
-
"name": "_resolveHydration",
|
|
122328
|
-
"type": {
|
|
122329
|
-
"text": "(hydrationRequired: boolean) => void"
|
|
122330
|
-
},
|
|
122331
|
-
"privacy": "private",
|
|
122332
|
-
"inheritedFrom": {
|
|
122333
|
-
"name": "SbbElement",
|
|
122334
|
-
"module": "core/base-elements/element.js"
|
|
122335
|
-
}
|
|
122336
|
-
},
|
|
122337
|
-
{
|
|
122338
|
-
"kind": "field",
|
|
122339
|
-
"name": "hydrationRequired",
|
|
122340
|
-
"type": {
|
|
122341
|
-
"text": "boolean"
|
|
122342
|
-
},
|
|
122343
|
-
"privacy": "protected",
|
|
122344
|
-
"description": "Returns whether hydration is required and not completed.",
|
|
122345
|
-
"readonly": true,
|
|
122346
|
-
"inheritedFrom": {
|
|
122347
|
-
"name": "SbbElement",
|
|
122348
|
-
"module": "core/base-elements/element.js"
|
|
122349
|
-
},
|
|
122350
|
-
"default": "!!this.shadowRoot"
|
|
122351
|
-
},
|
|
122352
|
-
{
|
|
122353
|
-
"kind": "method",
|
|
122354
|
-
"name": "toggleState",
|
|
122355
|
-
"privacy": "protected",
|
|
122356
|
-
"return": {
|
|
122357
|
-
"type": {
|
|
122358
|
-
"text": "void"
|
|
122359
|
-
}
|
|
122360
|
-
},
|
|
122361
|
-
"parameters": [
|
|
122362
|
-
{
|
|
122363
|
-
"name": "value",
|
|
122364
|
-
"type": {
|
|
122365
|
-
"text": "string"
|
|
122366
|
-
}
|
|
122367
|
-
},
|
|
122368
|
-
{
|
|
122369
|
-
"name": "force",
|
|
122370
|
-
"optional": true,
|
|
122371
|
-
"type": {
|
|
122372
|
-
"text": "boolean"
|
|
122373
|
-
}
|
|
122374
|
-
}
|
|
122375
|
-
],
|
|
122376
|
-
"inheritedFrom": {
|
|
122377
|
-
"name": "SbbElement",
|
|
122378
|
-
"module": "core/base-elements/element.js"
|
|
122379
|
-
}
|
|
122380
|
-
},
|
|
122381
|
-
{
|
|
122382
|
-
"kind": "field",
|
|
122383
|
-
"name": "['_$sbbElement$']",
|
|
122384
|
-
"type": {
|
|
122385
|
-
"text": "boolean"
|
|
122386
|
-
},
|
|
122387
|
-
"privacy": "public",
|
|
122388
|
-
"static": true,
|
|
122389
|
-
"default": "true",
|
|
122390
|
-
"inheritedFrom": {
|
|
122391
|
-
"name": "SbbElement",
|
|
122392
|
-
"module": "core/base-elements/element.js"
|
|
122393
|
-
}
|
|
122394
|
-
},
|
|
122395
|
-
{
|
|
122396
|
-
"kind": "field",
|
|
122397
|
-
"name": "_controllers",
|
|
122398
|
-
"type": {
|
|
122399
|
-
"text": "Set<SbbReactiveController> | undefined"
|
|
122400
|
-
},
|
|
122401
|
-
"privacy": "private",
|
|
122402
|
-
"inheritedFrom": {
|
|
122403
|
-
"name": "SbbElement",
|
|
122404
|
-
"module": "core/base-elements/element.js"
|
|
122405
|
-
}
|
|
122406
|
-
}
|
|
122407
|
-
],
|
|
122408
|
-
"superclass": {
|
|
122409
|
-
"name": "SbbElement",
|
|
122410
|
-
"module": "core/base-elements.js"
|
|
122411
|
-
},
|
|
122412
|
-
"tagName": "sbb-sidebar-container",
|
|
122413
|
-
"customElement": true
|
|
122414
|
-
}
|
|
122415
|
-
],
|
|
122416
|
-
"exports": [
|
|
122417
|
-
{
|
|
122418
|
-
"kind": "js",
|
|
122419
|
-
"name": "SbbSidebarContainerElement",
|
|
122420
|
-
"declaration": {
|
|
122421
|
-
"name": "SbbSidebarContainerElement",
|
|
122422
|
-
"module": "sidebar/sidebar-container/sidebar-container.component.js"
|
|
122423
|
-
}
|
|
122424
|
-
}
|
|
122425
|
-
]
|
|
122426
|
-
},
|
|
122427
122427
|
{
|
|
122428
122428
|
"kind": "javascript-module",
|
|
122429
122429
|
"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": "4.12.1-dev.
|
|
3
|
+
"version": "4.12.1-dev.1778485310",
|
|
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/
|
|
9
|
+
"https://github.com/sbb-design-systems/lyne-components/commit/9321db0a125efaa949fda3efc288a78377700c55"
|
|
10
10
|
],
|
|
11
11
|
"type": "module",
|
|
12
12
|
"exports": {
|