@sbb-esta/lyne-elements-dev 5.0.0-next-dev.1777021773 → 5.0.0-next-dev.1777034920

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 +210 -210
  2. package/package.json +2 -2
@@ -159839,25 +159839,12 @@
159839
159839
  },
159840
159840
  {
159841
159841
  "kind": "javascript-module",
159842
- "path": "train/train-formation/train-formation.component.js",
159842
+ "path": "train/train-blocked-passage/train-blocked-passage.component.js",
159843
159843
  "declarations": [
159844
159844
  {
159845
159845
  "kind": "class",
159846
- "description": "It displays a train composition, acting as a container for one or more `sbb-train` component.",
159847
- "name": "SbbTrainFormationElement",
159848
- "cssProperties": [
159849
- {
159850
- "description": "Defines the inline padding inside the horizontal scrolling area.",
159851
- "name": "--sbb-train-formation-padding-inline",
159852
- "default": "0px"
159853
- }
159854
- ],
159855
- "slots": [
159856
- {
159857
- "description": "Use the unnamed slot to add 'sbb-train' elements to the `sbb-train-formation`.",
159858
- "name": ""
159859
- }
159860
- ],
159846
+ "description": "It visually displays a blocked passage between train wagons.",
159847
+ "name": "SbbTrainBlockedPassageElement",
159861
159848
  "members": [
159862
159849
  {
159863
159850
  "kind": "field",
@@ -159868,7 +159855,7 @@
159868
159855
  "privacy": "public",
159869
159856
  "static": true,
159870
159857
  "readonly": true,
159871
- "default": "'sbb-train-formation'",
159858
+ "default": "'sbb-train-blocked-passage'",
159872
159859
  "inheritedFrom": {
159873
159860
  "name": "SbbElement",
159874
159861
  "module": "core/base-elements/element.js"
@@ -159876,74 +159863,13 @@
159876
159863
  },
159877
159864
  {
159878
159865
  "kind": "field",
159879
- "name": "listChildLocalNames",
159880
- "type": {
159881
- "text": "array"
159882
- },
159883
- "privacy": "protected",
159884
- "readonly": true,
159885
- "description": "A list of lower-cased tag names to match against. (e.g. `sbb-link`)",
159886
- "default": "['sbb-train']",
159887
- "inheritedFrom": {
159888
- "name": "SbbNamedSlotListMixin",
159889
- "module": "core/mixins/named-slot-list-mixin.js"
159890
- }
159891
- },
159892
- {
159893
- "kind": "field",
159894
- "name": "view",
159895
- "type": {
159896
- "text": "'side' | 'top'"
159897
- },
159898
- "privacy": "public",
159899
- "default": "'side'",
159900
- "description": "Whether the view of the wagons is from side or top perspective.",
159901
- "attribute": "view",
159902
- "reflects": true
159903
- },
159904
- {
159905
- "kind": "field",
159906
- "name": "_sectors",
159907
- "type": {
159908
- "text": "AggregatedSector[]"
159909
- },
159910
- "privacy": "private",
159911
- "default": "[]"
159912
- },
159913
- {
159914
- "kind": "field",
159915
- "name": "_language",
159916
- "privacy": "private",
159917
- "default": "new SbbLanguageController(this)"
159918
- },
159919
- {
159920
- "kind": "method",
159921
- "name": "_readSectors",
159922
- "privacy": "private",
159923
- "return": {
159924
- "type": {
159925
- "text": "void"
159926
- }
159927
- },
159928
- "parameters": [
159929
- {
159930
- "name": "event",
159931
- "optional": true,
159932
- "type": {
159933
- "text": "Event"
159934
- }
159935
- }
159936
- ]
159937
- },
159938
- {
159939
- "kind": "field",
159940
- "name": "elementDependencies",
159866
+ "name": "['_$sbbElement$']",
159941
159867
  "type": {
159942
- "text": "SbbElementType[]"
159868
+ "text": "boolean"
159943
159869
  },
159944
159870
  "privacy": "public",
159945
159871
  "static": true,
159946
- "default": "[SbbScreenReaderOnlyElement]",
159872
+ "default": "true",
159947
159873
  "inheritedFrom": {
159948
159874
  "name": "SbbElement",
159949
159875
  "module": "core/base-elements/element.js"
@@ -159951,105 +159877,12 @@
159951
159877
  },
159952
159878
  {
159953
159879
  "kind": "field",
159954
- "name": "listChildren",
159955
- "type": {
159956
- "text": "C[]"
159957
- },
159958
- "privacy": "protected",
159959
- "default": "[]",
159960
- "description": "A list of children with the defined tag names.\nThis array is only updated if there is an actual change\nto the child elements.",
159961
- "inheritedFrom": {
159962
- "name": "SbbNamedSlotListMixin",
159963
- "module": "core/mixins/named-slot-list-mixin.js"
159964
- }
159965
- },
159966
- {
159967
- "kind": "field",
159968
- "name": "_handleSlotchange",
159969
- "privacy": "private",
159970
- "inheritedFrom": {
159971
- "name": "SbbNamedSlotListMixin",
159972
- "module": "core/mixins/named-slot-list-mixin.js"
159973
- }
159974
- },
159975
- {
159976
- "kind": "method",
159977
- "name": "renderList",
159978
- "privacy": "protected",
159979
- "return": {
159980
- "type": {
159981
- "text": "TemplateResult"
159982
- }
159983
- },
159984
- "parameters": [
159985
- {
159986
- "name": "attributes",
159987
- "default": "{}",
159988
- "type": {
159989
- "text": "{ class?: string; ariaLabel?: string; ariaLabelledby?: string }"
159990
- }
159991
- },
159992
- {
159993
- "name": "listItemAttributes",
159994
- "default": "{}",
159995
- "type": {
159996
- "text": "{ localNameVisualOnly?: string[] }"
159997
- }
159998
- }
159999
- ],
160000
- "description": "Renders list and list slots for slotted children or a number of list slots\ncorresponding to the `data-ssr-child-count` attribute value.\n\nThis is a possible optimization for SSR, as in an SSR Lit environment\nother elements are not available, but might be available in the meta\nframework wrapper (like e.g. React). This allows to provide the number of\nchildren to be passed via the `data-ssr-child-count` attribute value.",
160001
- "inheritedFrom": {
160002
- "name": "SbbNamedSlotListMixin",
160003
- "module": "core/mixins/named-slot-list-mixin.js"
160004
- }
160005
- },
160006
- {
160007
- "kind": "method",
160008
- "name": "listSlotEntries",
160009
- "privacy": "protected",
160010
- "return": {
160011
- "type": {
160012
- "text": "SbbNamedSlotProperties[]"
160013
- }
160014
- },
160015
- "parameters": [
160016
- {
160017
- "name": "listItemAttributes",
160018
- "type": {
160019
- "text": "{\n localNameVisualOnly?: string[];\n }"
160020
- }
160021
- }
160022
- ],
160023
- "description": "Returns an array of SbbNamedSlotProperties, which holds the list slot names and the hidden property;\nits length corresponds to the number of matched children or the `data-ssr-child-count` attribute value.\n\nThis is a possible optimization for SSR, as in an SSR Lit environment\nother elements are not available, but might be available in the meta\nframework wrapper (like e.g. React). This allows to provide the number of\nchildren to be passed via the `data-ssr-child-count` attribute value.",
160024
- "inheritedFrom": {
160025
- "name": "SbbNamedSlotListMixin",
160026
- "module": "core/mixins/named-slot-list-mixin.js"
160027
- }
160028
- },
160029
- {
160030
- "kind": "method",
160031
- "name": "renderHiddenSlot",
160032
- "privacy": "protected",
160033
- "return": {
160034
- "type": {
160035
- "text": "TemplateResult"
160036
- }
160037
- },
160038
- "description": "Returns a hidden slot, which is intended as the children change detection.\nWhen an element without a slot attribute is slotted to the element, it triggers\nthe slotchange event, which can be used to assign it to the appropriate named slot.",
160039
- "inheritedFrom": {
160040
- "name": "SbbNamedSlotListMixin",
160041
- "module": "core/mixins/named-slot-list-mixin.js"
160042
- }
160043
- },
160044
- {
160045
- "kind": "field",
160046
- "name": "['_$sbbElement$']",
159880
+ "name": "elementDependencies",
160047
159881
  "type": {
160048
- "text": "boolean"
159882
+ "text": "SbbElementType[] | undefined"
160049
159883
  },
160050
159884
  "privacy": "public",
160051
159885
  "static": true,
160052
- "default": "true",
160053
159886
  "inheritedFrom": {
160054
159887
  "name": "SbbElement",
160055
159888
  "module": "core/base-elements/element.js"
@@ -160288,50 +160121,46 @@
160288
160121
  }
160289
160122
  }
160290
160123
  ],
160291
- "attributes": [
160292
- {
160293
- "name": "view",
160294
- "type": {
160295
- "text": "'side' | 'top'"
160296
- },
160297
- "default": "'side'",
160298
- "description": "Whether the view of the wagons is from side or top perspective.",
160299
- "fieldName": "view"
160300
- }
160301
- ],
160302
- "mixins": [
160303
- {
160304
- "name": "SbbNamedSlotListMixin",
160305
- "module": "core.js"
160306
- }
160307
- ],
160308
160124
  "superclass": {
160309
160125
  "name": "SbbElement",
160310
160126
  "module": "core.js"
160311
160127
  },
160312
- "tagName": "sbb-train-formation",
160128
+ "tagName": "sbb-train-blocked-passage",
160313
160129
  "customElement": true
160314
160130
  }
160315
160131
  ],
160316
160132
  "exports": [
160317
160133
  {
160318
160134
  "kind": "js",
160319
- "name": "SbbTrainFormationElement",
160135
+ "name": "SbbTrainBlockedPassageElement",
160320
160136
  "declaration": {
160321
- "name": "SbbTrainFormationElement",
160322
- "module": "train/train-formation/train-formation.component.js"
160137
+ "name": "SbbTrainBlockedPassageElement",
160138
+ "module": "train/train-blocked-passage/train-blocked-passage.component.js"
160323
160139
  }
160324
160140
  }
160325
160141
  ]
160326
160142
  },
160327
160143
  {
160328
160144
  "kind": "javascript-module",
160329
- "path": "train/train-blocked-passage/train-blocked-passage.component.js",
160145
+ "path": "train/train-formation/train-formation.component.js",
160330
160146
  "declarations": [
160331
160147
  {
160332
160148
  "kind": "class",
160333
- "description": "It visually displays a blocked passage between train wagons.",
160334
- "name": "SbbTrainBlockedPassageElement",
160149
+ "description": "It displays a train composition, acting as a container for one or more `sbb-train` component.",
160150
+ "name": "SbbTrainFormationElement",
160151
+ "cssProperties": [
160152
+ {
160153
+ "description": "Defines the inline padding inside the horizontal scrolling area.",
160154
+ "name": "--sbb-train-formation-padding-inline",
160155
+ "default": "0px"
160156
+ }
160157
+ ],
160158
+ "slots": [
160159
+ {
160160
+ "description": "Use the unnamed slot to add 'sbb-train' elements to the `sbb-train-formation`.",
160161
+ "name": ""
160162
+ }
160163
+ ],
160335
160164
  "members": [
160336
160165
  {
160337
160166
  "kind": "field",
@@ -160342,7 +160171,7 @@
160342
160171
  "privacy": "public",
160343
160172
  "static": true,
160344
160173
  "readonly": true,
160345
- "default": "'sbb-train-blocked-passage'",
160174
+ "default": "'sbb-train-formation'",
160346
160175
  "inheritedFrom": {
160347
160176
  "name": "SbbElement",
160348
160177
  "module": "core/base-elements/element.js"
@@ -160350,13 +160179,74 @@
160350
160179
  },
160351
160180
  {
160352
160181
  "kind": "field",
160353
- "name": "['_$sbbElement$']",
160182
+ "name": "listChildLocalNames",
160354
160183
  "type": {
160355
- "text": "boolean"
160184
+ "text": "array"
160185
+ },
160186
+ "privacy": "protected",
160187
+ "readonly": true,
160188
+ "description": "A list of lower-cased tag names to match against. (e.g. `sbb-link`)",
160189
+ "default": "['sbb-train']",
160190
+ "inheritedFrom": {
160191
+ "name": "SbbNamedSlotListMixin",
160192
+ "module": "core/mixins/named-slot-list-mixin.js"
160193
+ }
160194
+ },
160195
+ {
160196
+ "kind": "field",
160197
+ "name": "view",
160198
+ "type": {
160199
+ "text": "'side' | 'top'"
160200
+ },
160201
+ "privacy": "public",
160202
+ "default": "'side'",
160203
+ "description": "Whether the view of the wagons is from side or top perspective.",
160204
+ "attribute": "view",
160205
+ "reflects": true
160206
+ },
160207
+ {
160208
+ "kind": "field",
160209
+ "name": "_sectors",
160210
+ "type": {
160211
+ "text": "AggregatedSector[]"
160212
+ },
160213
+ "privacy": "private",
160214
+ "default": "[]"
160215
+ },
160216
+ {
160217
+ "kind": "field",
160218
+ "name": "_language",
160219
+ "privacy": "private",
160220
+ "default": "new SbbLanguageController(this)"
160221
+ },
160222
+ {
160223
+ "kind": "method",
160224
+ "name": "_readSectors",
160225
+ "privacy": "private",
160226
+ "return": {
160227
+ "type": {
160228
+ "text": "void"
160229
+ }
160230
+ },
160231
+ "parameters": [
160232
+ {
160233
+ "name": "event",
160234
+ "optional": true,
160235
+ "type": {
160236
+ "text": "Event"
160237
+ }
160238
+ }
160239
+ ]
160240
+ },
160241
+ {
160242
+ "kind": "field",
160243
+ "name": "elementDependencies",
160244
+ "type": {
160245
+ "text": "SbbElementType[]"
160356
160246
  },
160357
160247
  "privacy": "public",
160358
160248
  "static": true,
160359
- "default": "true",
160249
+ "default": "[SbbScreenReaderOnlyElement]",
160360
160250
  "inheritedFrom": {
160361
160251
  "name": "SbbElement",
160362
160252
  "module": "core/base-elements/element.js"
@@ -160364,12 +160254,105 @@
160364
160254
  },
160365
160255
  {
160366
160256
  "kind": "field",
160367
- "name": "elementDependencies",
160257
+ "name": "listChildren",
160368
160258
  "type": {
160369
- "text": "SbbElementType[] | undefined"
160259
+ "text": "C[]"
160260
+ },
160261
+ "privacy": "protected",
160262
+ "default": "[]",
160263
+ "description": "A list of children with the defined tag names.\nThis array is only updated if there is an actual change\nto the child elements.",
160264
+ "inheritedFrom": {
160265
+ "name": "SbbNamedSlotListMixin",
160266
+ "module": "core/mixins/named-slot-list-mixin.js"
160267
+ }
160268
+ },
160269
+ {
160270
+ "kind": "field",
160271
+ "name": "_handleSlotchange",
160272
+ "privacy": "private",
160273
+ "inheritedFrom": {
160274
+ "name": "SbbNamedSlotListMixin",
160275
+ "module": "core/mixins/named-slot-list-mixin.js"
160276
+ }
160277
+ },
160278
+ {
160279
+ "kind": "method",
160280
+ "name": "renderList",
160281
+ "privacy": "protected",
160282
+ "return": {
160283
+ "type": {
160284
+ "text": "TemplateResult"
160285
+ }
160286
+ },
160287
+ "parameters": [
160288
+ {
160289
+ "name": "attributes",
160290
+ "default": "{}",
160291
+ "type": {
160292
+ "text": "{ class?: string; ariaLabel?: string; ariaLabelledby?: string }"
160293
+ }
160294
+ },
160295
+ {
160296
+ "name": "listItemAttributes",
160297
+ "default": "{}",
160298
+ "type": {
160299
+ "text": "{ localNameVisualOnly?: string[] }"
160300
+ }
160301
+ }
160302
+ ],
160303
+ "description": "Renders list and list slots for slotted children or a number of list slots\ncorresponding to the `data-ssr-child-count` attribute value.\n\nThis is a possible optimization for SSR, as in an SSR Lit environment\nother elements are not available, but might be available in the meta\nframework wrapper (like e.g. React). This allows to provide the number of\nchildren to be passed via the `data-ssr-child-count` attribute value.",
160304
+ "inheritedFrom": {
160305
+ "name": "SbbNamedSlotListMixin",
160306
+ "module": "core/mixins/named-slot-list-mixin.js"
160307
+ }
160308
+ },
160309
+ {
160310
+ "kind": "method",
160311
+ "name": "listSlotEntries",
160312
+ "privacy": "protected",
160313
+ "return": {
160314
+ "type": {
160315
+ "text": "SbbNamedSlotProperties[]"
160316
+ }
160317
+ },
160318
+ "parameters": [
160319
+ {
160320
+ "name": "listItemAttributes",
160321
+ "type": {
160322
+ "text": "{\n localNameVisualOnly?: string[];\n }"
160323
+ }
160324
+ }
160325
+ ],
160326
+ "description": "Returns an array of SbbNamedSlotProperties, which holds the list slot names and the hidden property;\nits length corresponds to the number of matched children or the `data-ssr-child-count` attribute value.\n\nThis is a possible optimization for SSR, as in an SSR Lit environment\nother elements are not available, but might be available in the meta\nframework wrapper (like e.g. React). This allows to provide the number of\nchildren to be passed via the `data-ssr-child-count` attribute value.",
160327
+ "inheritedFrom": {
160328
+ "name": "SbbNamedSlotListMixin",
160329
+ "module": "core/mixins/named-slot-list-mixin.js"
160330
+ }
160331
+ },
160332
+ {
160333
+ "kind": "method",
160334
+ "name": "renderHiddenSlot",
160335
+ "privacy": "protected",
160336
+ "return": {
160337
+ "type": {
160338
+ "text": "TemplateResult"
160339
+ }
160340
+ },
160341
+ "description": "Returns a hidden slot, which is intended as the children change detection.\nWhen an element without a slot attribute is slotted to the element, it triggers\nthe slotchange event, which can be used to assign it to the appropriate named slot.",
160342
+ "inheritedFrom": {
160343
+ "name": "SbbNamedSlotListMixin",
160344
+ "module": "core/mixins/named-slot-list-mixin.js"
160345
+ }
160346
+ },
160347
+ {
160348
+ "kind": "field",
160349
+ "name": "['_$sbbElement$']",
160350
+ "type": {
160351
+ "text": "boolean"
160370
160352
  },
160371
160353
  "privacy": "public",
160372
160354
  "static": true,
160355
+ "default": "true",
160373
160356
  "inheritedFrom": {
160374
160357
  "name": "SbbElement",
160375
160358
  "module": "core/base-elements/element.js"
@@ -160608,21 +160591,38 @@
160608
160591
  }
160609
160592
  }
160610
160593
  ],
160594
+ "attributes": [
160595
+ {
160596
+ "name": "view",
160597
+ "type": {
160598
+ "text": "'side' | 'top'"
160599
+ },
160600
+ "default": "'side'",
160601
+ "description": "Whether the view of the wagons is from side or top perspective.",
160602
+ "fieldName": "view"
160603
+ }
160604
+ ],
160605
+ "mixins": [
160606
+ {
160607
+ "name": "SbbNamedSlotListMixin",
160608
+ "module": "core.js"
160609
+ }
160610
+ ],
160611
160611
  "superclass": {
160612
160612
  "name": "SbbElement",
160613
160613
  "module": "core.js"
160614
160614
  },
160615
- "tagName": "sbb-train-blocked-passage",
160615
+ "tagName": "sbb-train-formation",
160616
160616
  "customElement": true
160617
160617
  }
160618
160618
  ],
160619
160619
  "exports": [
160620
160620
  {
160621
160621
  "kind": "js",
160622
- "name": "SbbTrainBlockedPassageElement",
160622
+ "name": "SbbTrainFormationElement",
160623
160623
  "declaration": {
160624
- "name": "SbbTrainBlockedPassageElement",
160625
- "module": "train/train-blocked-passage/train-blocked-passage.component.js"
160624
+ "name": "SbbTrainFormationElement",
160625
+ "module": "train/train-formation/train-formation.component.js"
160626
160626
  }
160627
160627
  }
160628
160628
  ]
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@sbb-esta/lyne-elements-dev",
3
- "version": "5.0.0-next-dev.1777021773",
3
+ "version": "5.0.0-next-dev.1777034920",
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/680d92fc621a7c7dc2731425cff976e041079d2f"
9
+ "https://github.com/sbb-design-systems/lyne-components/commit/dc1484a70dd94e9f3170a2f9c5d367583835f45d"
10
10
  ],
11
11
  "type": "module",
12
12
  "exports": {