@sbb-esta/lyne-elements-dev 5.0.0-next-dev.1776760633 → 5.0.0-next-dev.1776772852
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/core/styles/core.scss +6 -0
- package/core/styles/mixins/panel.scss +5 -1
- package/core.css +21 -0
- package/custom-elements.json +664 -325
- package/development/teaser/teaser.component.js +1 -1
- package/development/teaser-hero/teaser-hero.component.d.ts.map +1 -1
- package/development/teaser-hero/teaser-hero.component.js +1 -1
- package/development/teaser-hero.component-De621iKn.js +100 -0
- package/development/teaser-hero.js +1 -1
- package/development/teaser-hero.pure.js +1 -1
- package/development/teaser-panel/teaser-panel.component.d.ts +19 -0
- package/development/teaser-panel/teaser-panel.component.d.ts.map +1 -0
- package/development/teaser-panel/teaser-panel.component.js +2 -0
- package/development/teaser-panel.component-Dhka2dPT.js +32 -0
- package/development/teaser-panel.d.ts +2 -0
- package/development/teaser-panel.d.ts.map +1 -0
- package/development/teaser-panel.js +9 -0
- package/development/teaser-panel.pure.d.ts +3 -0
- package/development/teaser-panel.pure.d.ts.map +1 -0
- package/development/teaser-panel.pure.js +2 -0
- package/development/teaser-product/common/teaser-product-common.js +1 -1
- package/development/teaser-product/teaser-product/teaser-product.component.js +1 -1
- package/development/{teaser-product-common-DhbAGnQN.js → teaser-product-common-DasV_SDa.js} +1 -1
- package/development/{teaser-product.component-C3PZbA5W.js → teaser-product.component-CB6fOX7T.js} +1 -1
- package/development/teaser-product.js +2 -2
- package/development/teaser-product.pure.js +2 -2
- package/development/{teaser.component-BJso_6lz.js → teaser.component-DwM26tMt.js} +1 -1
- package/development/teaser.js +1 -1
- package/development/teaser.pure.js +1 -1
- package/development/time-input/time-input.component.js +1 -1
- package/development/{time-input.component-BWMBV6fm.js → time-input.component-x-QOtbwE.js} +1 -1
- package/development/time-input.js +1 -1
- package/development/time-input.pure.js +1 -1
- package/development/timetable-form/timetable-form/timetable-form.component.js +1 -1
- package/development/timetable-form/timetable-form-details/timetable-form-details.component.js +1 -1
- package/development/timetable-form/timetable-form-field/timetable-form-field.component.js +1 -1
- package/development/timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.js +1 -1
- package/development/{timetable-form-details.component-C8EdT4rZ.js → timetable-form-details.component-B7mwIQoz.js} +1 -1
- package/development/{timetable-form-field.component-CoANLGWk.js → timetable-form-field.component-BIpoMaJW.js} +1 -1
- package/development/{timetable-form-swap-button.component-_EUhzoww.js → timetable-form-swap-button.component-DM7UFhGh.js} +1 -1
- package/development/{timetable-form.component-DLjBbFRv.js → timetable-form.component-BBkeono7.js} +1 -1
- package/development/timetable-form.js +4 -4
- package/development/timetable-form.pure.js +4 -4
- package/development/timetable-occupancy/timetable-occupancy.component.js +1 -1
- package/development/timetable-occupancy-icon/timetable-occupancy-icon.component.js +1 -1
- package/development/{timetable-occupancy-icon.component-DXFUx67a.js → timetable-occupancy-icon.component-CRayfWIo.js} +1 -1
- package/development/timetable-occupancy-icon.js +1 -1
- package/development/timetable-occupancy-icon.pure.js +1 -1
- package/development/{timetable-occupancy.component-By7X3Sj2.js → timetable-occupancy.component-D6BIvkpY.js} +1 -1
- package/development/timetable-occupancy.js +1 -1
- package/development/timetable-occupancy.pure.js +1 -1
- package/development/title/title-base.js +1 -1
- package/development/title/title.component.js +1 -1
- package/development/{title-base-Bc3biGfy.js → title-base-CWLTIRh_.js} +1 -1
- package/development/{title.component-B7rIqG0N.js → title.component-TCKohHBO.js} +2 -2
- package/development/title.js +2 -2
- package/development/title.pure.js +2 -2
- package/development/toast/toast.component.js +1 -1
- package/development/{toast.component-lPPTFudM.js → toast.component-CZL72aVO.js} +1 -1
- package/development/toast.js +1 -1
- package/development/toast.pure.js +1 -1
- package/development/toggle/toggle/toggle.component.js +1 -1
- package/development/toggle/toggle-option/toggle-option.component.js +1 -1
- package/development/toggle-check/toggle-check.component.js +1 -1
- package/development/{toggle-check.component-CuODx4cx.js → toggle-check.component-BPcuOvOu.js} +1 -1
- package/development/toggle-check.js +1 -1
- package/development/toggle-check.pure.js +1 -1
- package/development/{toggle-option.component-DscH6K3b.js → toggle-option.component-DRAJ11fp.js} +1 -1
- package/development/{toggle.component-Dap1d4rK.js → toggle.component-BeHHTgRh.js} +1 -1
- package/development/toggle.js +2 -2
- package/development/toggle.pure.js +2 -2
- package/development/tooltip/tooltip.component.js +1 -1
- package/development/{tooltip.component-lvElko6C.js → tooltip.component-BV0yBh9f.js} +1 -1
- package/development/tooltip.js +1 -1
- package/development/tooltip.pure.js +1 -1
- package/development/train/train/train.component.js +1 -1
- package/development/train/train-blocked-passage/train-blocked-passage.component.js +1 -1
- package/development/train/train-formation/train-formation.component.js +1 -1
- package/development/train/train-wagon/train-wagon.component.js +1 -1
- package/development/{train-blocked-passage.component-C6XmqBo_.js → train-blocked-passage.component-Bh2dR1gn.js} +1 -1
- package/development/{train-formation.component-BoQcwy6n.js → train-formation.component-Dm0t9N_h.js} +1 -1
- package/development/{train-wagon.component-zQVbqhIL.js → train-wagon.component-X0XSMLK_.js} +1 -1
- package/development/{train.component-D5Z4vgej.js → train.component-BvbNBkZF.js} +1 -1
- package/development/train.js +4 -4
- package/development/train.pure.js +4 -4
- package/development/visual-checkbox/visual-checkbox.component.js +1 -1
- package/development/{visual-checkbox.component-jRksxrOu.js → visual-checkbox.component-DJ30EugM.js} +1 -1
- package/development/visual-checkbox.js +1 -1
- package/development/visual-checkbox.pure.js +1 -1
- package/index.d.ts +2 -0
- package/index.js +2 -0
- package/off-brand-theme.css +21 -0
- package/package.json +12 -2
- package/safety-theme.css +21 -0
- package/standard-theme.css +21 -0
- package/teaser/teaser.component.js +1 -1
- package/teaser-hero/teaser-hero.component.js +1 -1
- package/teaser-hero.component-BUhWjc2i.js +80 -0
- package/teaser-hero.js +1 -1
- package/teaser-hero.pure.js +1 -1
- package/teaser-panel/teaser-panel.component.js +2 -0
- package/teaser-panel.component-zejDYKkU.js +21 -0
- package/teaser-panel.js +6 -0
- package/teaser-panel.pure.js +2 -0
- package/teaser-product/common/teaser-product-common.js +1 -1
- package/teaser-product/teaser-product/teaser-product.component.js +1 -1
- package/teaser-product.js +2 -2
- package/teaser-product.pure.js +2 -2
- package/teaser.js +1 -1
- package/teaser.pure.js +1 -1
- package/time-input/time-input.component.js +1 -1
- package/time-input.js +1 -1
- package/time-input.pure.js +1 -1
- package/timetable-form/timetable-form/timetable-form.component.js +1 -1
- package/timetable-form/timetable-form-details/timetable-form-details.component.js +1 -1
- package/timetable-form/timetable-form-field/timetable-form-field.component.js +1 -1
- package/timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.js +1 -1
- package/timetable-form.js +4 -4
- package/timetable-form.pure.js +4 -4
- package/timetable-occupancy/timetable-occupancy.component.js +1 -1
- package/timetable-occupancy-icon/timetable-occupancy-icon.component.js +1 -1
- package/timetable-occupancy-icon.js +1 -1
- package/timetable-occupancy-icon.pure.js +1 -1
- package/timetable-occupancy.js +1 -1
- package/timetable-occupancy.pure.js +1 -1
- package/title/title-base.js +1 -1
- package/title/title.component.js +1 -1
- package/{title.component-7zqQqbRJ.js → title.component-CjDkG7gT.js} +1 -1
- package/title.js +2 -2
- package/title.pure.js +2 -2
- package/toast/toast.component.js +1 -1
- package/toast.js +1 -1
- package/toast.pure.js +1 -1
- package/toggle/toggle/toggle.component.js +1 -1
- package/toggle/toggle-option/toggle-option.component.js +1 -1
- package/toggle-check/toggle-check.component.js +1 -1
- package/toggle-check.js +1 -1
- package/toggle-check.pure.js +1 -1
- package/toggle.js +2 -2
- package/toggle.pure.js +2 -2
- package/tooltip/tooltip.component.js +1 -1
- package/tooltip.js +1 -1
- package/tooltip.pure.js +1 -1
- package/train/train/train.component.js +1 -1
- package/train/train-blocked-passage/train-blocked-passage.component.js +1 -1
- package/train/train-formation/train-formation.component.js +1 -1
- package/train/train-wagon/train-wagon.component.js +1 -1
- package/train.js +4 -4
- package/train.pure.js +4 -4
- package/visual-checkbox/visual-checkbox.component.js +1 -1
- package/visual-checkbox.js +1 -1
- package/visual-checkbox.pure.js +1 -1
- package/development/teaser-hero.component-7KeR7bPf.js +0 -101
- package/teaser-hero.component-CLuVP2ba.js +0 -81
- /package/{teaser-product-common-B8NakRRV.js → teaser-product-common-Kz3ApcVE.js} +0 -0
- /package/{teaser-product.component-Dqapk40c.js → teaser-product.component-C7KoSqcP.js} +0 -0
- /package/{teaser.component-BaxumXCl.js → teaser.component-Bl_Myx2h.js} +0 -0
- /package/{time-input.component-N0DexLd9.js → time-input.component-BVoO7JLV.js} +0 -0
- /package/{timetable-form-details.component-CIY5ZAQJ.js → timetable-form-details.component-BQmF3WLu.js} +0 -0
- /package/{timetable-form-field.component-LuzgeDdh.js → timetable-form-field.component-DrQuTOJr.js} +0 -0
- /package/{timetable-form-swap-button.component-BT36u2L9.js → timetable-form-swap-button.component-C9dU9vDV.js} +0 -0
- /package/{timetable-form.component-YNDnJnkX.js → timetable-form.component-AbZF15Tg.js} +0 -0
- /package/{timetable-occupancy-icon.component-DPNwMhLs.js → timetable-occupancy-icon.component-B6pF-j0D.js} +0 -0
- /package/{timetable-occupancy.component-BbHtiw_F.js → timetable-occupancy.component-CLpJ-rjI.js} +0 -0
- /package/{title-base-Cbe4eNS1.js → title-base-HD0z6npS.js} +0 -0
- /package/{toast.component-ccBpQmCC.js → toast.component-DzsaWxPV.js} +0 -0
- /package/{toggle-check.component-DkOBgRQM.js → toggle-check.component-CnZBajpA.js} +0 -0
- /package/{toggle-option.component-BiyjKQB1.js → toggle-option.component-DeePQ-NW.js} +0 -0
- /package/{toggle.component-CVbRdQDM.js → toggle.component-D7X0E_hM.js} +0 -0
- /package/{tooltip.component-Do4V1jGd.js → tooltip.component-BCRFxBuV.js} +0 -0
- /package/{train-blocked-passage.component-EET0Kobk.js → train-blocked-passage.component-DIh8dbU9.js} +0 -0
- /package/{train-formation.component-B8IFJ_7b.js → train-formation.component-DS4EDwPY.js} +0 -0
- /package/{train-wagon.component-CLMLEf6I.js → train-wagon.component-CZiVPOaZ.js} +0 -0
- /package/{train.component-D_ysGCwu.js → train.component-DuFi_iBX.js} +0 -0
- /package/{visual-checkbox.component-CdqoYyEe.js → visual-checkbox.component-BsjmJgcn.js} +0 -0
package/custom-elements.json
CHANGED
|
@@ -3267,6 +3267,36 @@
|
|
|
3267
3267
|
}
|
|
3268
3268
|
]
|
|
3269
3269
|
},
|
|
3270
|
+
{
|
|
3271
|
+
"kind": "javascript-module",
|
|
3272
|
+
"path": "teaser-panel.pure.js",
|
|
3273
|
+
"declarations": [],
|
|
3274
|
+
"exports": [
|
|
3275
|
+
{
|
|
3276
|
+
"kind": "js",
|
|
3277
|
+
"name": "*",
|
|
3278
|
+
"declaration": {
|
|
3279
|
+
"name": "*",
|
|
3280
|
+
"module": "teaser-panel/teaser-panel.component.js"
|
|
3281
|
+
}
|
|
3282
|
+
}
|
|
3283
|
+
]
|
|
3284
|
+
},
|
|
3285
|
+
{
|
|
3286
|
+
"kind": "javascript-module",
|
|
3287
|
+
"path": "teaser-panel.js",
|
|
3288
|
+
"declarations": [],
|
|
3289
|
+
"exports": [
|
|
3290
|
+
{
|
|
3291
|
+
"kind": "js",
|
|
3292
|
+
"name": "*",
|
|
3293
|
+
"declaration": {
|
|
3294
|
+
"name": "*",
|
|
3295
|
+
"module": "teaser-panel.pure.js"
|
|
3296
|
+
}
|
|
3297
|
+
}
|
|
3298
|
+
]
|
|
3299
|
+
},
|
|
3270
3300
|
{
|
|
3271
3301
|
"kind": "javascript-module",
|
|
3272
3302
|
"path": "teaser-product.pure.js",
|
|
@@ -33168,7 +33198,7 @@
|
|
|
33168
33198
|
},
|
|
33169
33199
|
"privacy": "public",
|
|
33170
33200
|
"static": true,
|
|
33171
|
-
"default": "[SbbBlockLinkStaticElement]",
|
|
33201
|
+
"default": "[ SbbBlockLinkStaticElement, SbbTeaserPanelElement, ]",
|
|
33172
33202
|
"inheritedFrom": {
|
|
33173
33203
|
"name": "SbbElement",
|
|
33174
33204
|
"module": "core/base-elements/element.js"
|
|
@@ -33755,6 +33785,315 @@
|
|
|
33755
33785
|
}
|
|
33756
33786
|
]
|
|
33757
33787
|
},
|
|
33788
|
+
{
|
|
33789
|
+
"kind": "javascript-module",
|
|
33790
|
+
"path": "teaser-panel/teaser-panel.component.js",
|
|
33791
|
+
"declarations": [
|
|
33792
|
+
{
|
|
33793
|
+
"kind": "class",
|
|
33794
|
+
"description": "It displays the content in a vertically centered trapezoidal shape.\nThe component matches the parent element size and positions the panel accordingly.",
|
|
33795
|
+
"name": "SbbTeaserPanelElement",
|
|
33796
|
+
"slots": [
|
|
33797
|
+
{
|
|
33798
|
+
"description": "Use the unnamed slot to add text content to the panel",
|
|
33799
|
+
"name": ""
|
|
33800
|
+
}
|
|
33801
|
+
],
|
|
33802
|
+
"members": [
|
|
33803
|
+
{
|
|
33804
|
+
"kind": "field",
|
|
33805
|
+
"name": "elementName",
|
|
33806
|
+
"type": {
|
|
33807
|
+
"text": "string"
|
|
33808
|
+
},
|
|
33809
|
+
"privacy": "public",
|
|
33810
|
+
"static": true,
|
|
33811
|
+
"readonly": true,
|
|
33812
|
+
"default": "'sbb-teaser-panel'",
|
|
33813
|
+
"inheritedFrom": {
|
|
33814
|
+
"name": "SbbElement",
|
|
33815
|
+
"module": "core/base-elements/element.js"
|
|
33816
|
+
}
|
|
33817
|
+
},
|
|
33818
|
+
{
|
|
33819
|
+
"kind": "field",
|
|
33820
|
+
"name": "['_$sbbElement$']",
|
|
33821
|
+
"type": {
|
|
33822
|
+
"text": "boolean"
|
|
33823
|
+
},
|
|
33824
|
+
"privacy": "public",
|
|
33825
|
+
"static": true,
|
|
33826
|
+
"default": "true",
|
|
33827
|
+
"inheritedFrom": {
|
|
33828
|
+
"name": "SbbElement",
|
|
33829
|
+
"module": "core/base-elements/element.js"
|
|
33830
|
+
}
|
|
33831
|
+
},
|
|
33832
|
+
{
|
|
33833
|
+
"kind": "field",
|
|
33834
|
+
"name": "elementDependencies",
|
|
33835
|
+
"type": {
|
|
33836
|
+
"text": "SbbElementType[] | undefined"
|
|
33837
|
+
},
|
|
33838
|
+
"privacy": "public",
|
|
33839
|
+
"static": true,
|
|
33840
|
+
"inheritedFrom": {
|
|
33841
|
+
"name": "SbbElement",
|
|
33842
|
+
"module": "core/base-elements/element.js"
|
|
33843
|
+
}
|
|
33844
|
+
},
|
|
33845
|
+
{
|
|
33846
|
+
"kind": "field",
|
|
33847
|
+
"name": "role",
|
|
33848
|
+
"type": {
|
|
33849
|
+
"text": "ElementInternals['role'] | undefined"
|
|
33850
|
+
},
|
|
33851
|
+
"privacy": "public",
|
|
33852
|
+
"static": true,
|
|
33853
|
+
"inheritedFrom": {
|
|
33854
|
+
"name": "SbbElement",
|
|
33855
|
+
"module": "core/base-elements/element.js"
|
|
33856
|
+
}
|
|
33857
|
+
},
|
|
33858
|
+
{
|
|
33859
|
+
"kind": "field",
|
|
33860
|
+
"name": "_controllers",
|
|
33861
|
+
"type": {
|
|
33862
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
33863
|
+
},
|
|
33864
|
+
"privacy": "private",
|
|
33865
|
+
"inheritedFrom": {
|
|
33866
|
+
"name": "SbbElement",
|
|
33867
|
+
"module": "core/base-elements/element.js"
|
|
33868
|
+
}
|
|
33869
|
+
},
|
|
33870
|
+
{
|
|
33871
|
+
"kind": "field",
|
|
33872
|
+
"name": "_hydrationRequired",
|
|
33873
|
+
"type": {
|
|
33874
|
+
"text": "boolean"
|
|
33875
|
+
},
|
|
33876
|
+
"privacy": "private",
|
|
33877
|
+
"default": "!!this.shadowRoot",
|
|
33878
|
+
"inheritedFrom": {
|
|
33879
|
+
"name": "SbbElement",
|
|
33880
|
+
"module": "core/base-elements/element.js"
|
|
33881
|
+
}
|
|
33882
|
+
},
|
|
33883
|
+
{
|
|
33884
|
+
"kind": "field",
|
|
33885
|
+
"name": "_hydrationComplete",
|
|
33886
|
+
"privacy": "private",
|
|
33887
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
33888
|
+
"inheritedFrom": {
|
|
33889
|
+
"name": "SbbElement",
|
|
33890
|
+
"module": "core/base-elements/element.js"
|
|
33891
|
+
}
|
|
33892
|
+
},
|
|
33893
|
+
{
|
|
33894
|
+
"kind": "field",
|
|
33895
|
+
"name": "_resolveHydration",
|
|
33896
|
+
"type": {
|
|
33897
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
33898
|
+
},
|
|
33899
|
+
"privacy": "private",
|
|
33900
|
+
"inheritedFrom": {
|
|
33901
|
+
"name": "SbbElement",
|
|
33902
|
+
"module": "core/base-elements/element.js"
|
|
33903
|
+
}
|
|
33904
|
+
},
|
|
33905
|
+
{
|
|
33906
|
+
"kind": "field",
|
|
33907
|
+
"name": "_textObserver",
|
|
33908
|
+
"type": {
|
|
33909
|
+
"text": "MutationObserver | undefined"
|
|
33910
|
+
},
|
|
33911
|
+
"privacy": "private",
|
|
33912
|
+
"inheritedFrom": {
|
|
33913
|
+
"name": "SbbElement",
|
|
33914
|
+
"module": "core/base-elements/element.js"
|
|
33915
|
+
}
|
|
33916
|
+
},
|
|
33917
|
+
{
|
|
33918
|
+
"kind": "field",
|
|
33919
|
+
"name": "hydrationRequired",
|
|
33920
|
+
"type": {
|
|
33921
|
+
"text": "boolean"
|
|
33922
|
+
},
|
|
33923
|
+
"privacy": "protected",
|
|
33924
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
33925
|
+
"readonly": true,
|
|
33926
|
+
"inheritedFrom": {
|
|
33927
|
+
"name": "SbbElement",
|
|
33928
|
+
"module": "core/base-elements/element.js"
|
|
33929
|
+
},
|
|
33930
|
+
"default": "!!this.shadowRoot"
|
|
33931
|
+
},
|
|
33932
|
+
{
|
|
33933
|
+
"kind": "method",
|
|
33934
|
+
"name": "toggleState",
|
|
33935
|
+
"privacy": "protected",
|
|
33936
|
+
"return": {
|
|
33937
|
+
"type": {
|
|
33938
|
+
"text": "void"
|
|
33939
|
+
}
|
|
33940
|
+
},
|
|
33941
|
+
"parameters": [
|
|
33942
|
+
{
|
|
33943
|
+
"name": "value",
|
|
33944
|
+
"type": {
|
|
33945
|
+
"text": "string"
|
|
33946
|
+
}
|
|
33947
|
+
},
|
|
33948
|
+
{
|
|
33949
|
+
"name": "force",
|
|
33950
|
+
"optional": true,
|
|
33951
|
+
"type": {
|
|
33952
|
+
"text": "boolean"
|
|
33953
|
+
}
|
|
33954
|
+
}
|
|
33955
|
+
],
|
|
33956
|
+
"inheritedFrom": {
|
|
33957
|
+
"name": "SbbElement",
|
|
33958
|
+
"module": "core/base-elements/element.js"
|
|
33959
|
+
}
|
|
33960
|
+
},
|
|
33961
|
+
{
|
|
33962
|
+
"kind": "method",
|
|
33963
|
+
"name": "_slotchangeHandler",
|
|
33964
|
+
"privacy": "private",
|
|
33965
|
+
"return": {
|
|
33966
|
+
"type": {
|
|
33967
|
+
"text": "void"
|
|
33968
|
+
}
|
|
33969
|
+
},
|
|
33970
|
+
"parameters": [
|
|
33971
|
+
{
|
|
33972
|
+
"name": "event",
|
|
33973
|
+
"type": {
|
|
33974
|
+
"text": "Event"
|
|
33975
|
+
}
|
|
33976
|
+
},
|
|
33977
|
+
{
|
|
33978
|
+
"name": "slot",
|
|
33979
|
+
"type": {
|
|
33980
|
+
"text": "HTMLSlotElement"
|
|
33981
|
+
}
|
|
33982
|
+
}
|
|
33983
|
+
],
|
|
33984
|
+
"inheritedFrom": {
|
|
33985
|
+
"name": "SbbElement",
|
|
33986
|
+
"module": "core/base-elements/element.js"
|
|
33987
|
+
}
|
|
33988
|
+
},
|
|
33989
|
+
{
|
|
33990
|
+
"kind": "method",
|
|
33991
|
+
"name": "_handleSlotChangeForSlottedState",
|
|
33992
|
+
"privacy": "private",
|
|
33993
|
+
"return": {
|
|
33994
|
+
"type": {
|
|
33995
|
+
"text": "void"
|
|
33996
|
+
}
|
|
33997
|
+
},
|
|
33998
|
+
"parameters": [
|
|
33999
|
+
{
|
|
34000
|
+
"name": "slot",
|
|
34001
|
+
"type": {
|
|
34002
|
+
"text": "HTMLSlotElement"
|
|
34003
|
+
}
|
|
34004
|
+
}
|
|
34005
|
+
],
|
|
34006
|
+
"inheritedFrom": {
|
|
34007
|
+
"name": "SbbElement",
|
|
34008
|
+
"module": "core/base-elements/element.js"
|
|
34009
|
+
}
|
|
34010
|
+
},
|
|
34011
|
+
{
|
|
34012
|
+
"kind": "method",
|
|
34013
|
+
"name": "_updateSlottedState",
|
|
34014
|
+
"privacy": "private",
|
|
34015
|
+
"return": {
|
|
34016
|
+
"type": {
|
|
34017
|
+
"text": "void"
|
|
34018
|
+
}
|
|
34019
|
+
},
|
|
34020
|
+
"parameters": [
|
|
34021
|
+
{
|
|
34022
|
+
"name": "slot",
|
|
34023
|
+
"type": {
|
|
34024
|
+
"text": "HTMLSlotElement"
|
|
34025
|
+
}
|
|
34026
|
+
}
|
|
34027
|
+
],
|
|
34028
|
+
"inheritedFrom": {
|
|
34029
|
+
"name": "SbbElement",
|
|
34030
|
+
"module": "core/base-elements/element.js"
|
|
34031
|
+
}
|
|
34032
|
+
},
|
|
34033
|
+
{
|
|
34034
|
+
"kind": "method",
|
|
34035
|
+
"name": "_observeTextNodesInSlot",
|
|
34036
|
+
"privacy": "private",
|
|
34037
|
+
"return": {
|
|
34038
|
+
"type": {
|
|
34039
|
+
"text": "void"
|
|
34040
|
+
}
|
|
34041
|
+
},
|
|
34042
|
+
"parameters": [
|
|
34043
|
+
{
|
|
34044
|
+
"name": "slot",
|
|
34045
|
+
"type": {
|
|
34046
|
+
"text": "HTMLSlotElement"
|
|
34047
|
+
}
|
|
34048
|
+
}
|
|
34049
|
+
],
|
|
34050
|
+
"inheritedFrom": {
|
|
34051
|
+
"name": "SbbElement",
|
|
34052
|
+
"module": "core/base-elements/element.js"
|
|
34053
|
+
}
|
|
34054
|
+
},
|
|
34055
|
+
{
|
|
34056
|
+
"kind": "method",
|
|
34057
|
+
"name": "_hasSlottedContent",
|
|
34058
|
+
"privacy": "private",
|
|
34059
|
+
"return": {
|
|
34060
|
+
"type": {
|
|
34061
|
+
"text": "boolean"
|
|
34062
|
+
}
|
|
34063
|
+
},
|
|
34064
|
+
"parameters": [
|
|
34065
|
+
{
|
|
34066
|
+
"name": "slot",
|
|
34067
|
+
"type": {
|
|
34068
|
+
"text": "HTMLSlotElement"
|
|
34069
|
+
}
|
|
34070
|
+
}
|
|
34071
|
+
],
|
|
34072
|
+
"inheritedFrom": {
|
|
34073
|
+
"name": "SbbElement",
|
|
34074
|
+
"module": "core/base-elements/element.js"
|
|
34075
|
+
}
|
|
34076
|
+
}
|
|
34077
|
+
],
|
|
34078
|
+
"superclass": {
|
|
34079
|
+
"name": "SbbElement",
|
|
34080
|
+
"module": "core.js"
|
|
34081
|
+
},
|
|
34082
|
+
"tagName": "sbb-teaser-panel",
|
|
34083
|
+
"customElement": true
|
|
34084
|
+
}
|
|
34085
|
+
],
|
|
34086
|
+
"exports": [
|
|
34087
|
+
{
|
|
34088
|
+
"kind": "js",
|
|
34089
|
+
"name": "SbbTeaserPanelElement",
|
|
34090
|
+
"declaration": {
|
|
34091
|
+
"name": "SbbTeaserPanelElement",
|
|
34092
|
+
"module": "teaser-panel/teaser-panel.component.js"
|
|
34093
|
+
}
|
|
34094
|
+
}
|
|
34095
|
+
]
|
|
34096
|
+
},
|
|
33758
34097
|
{
|
|
33759
34098
|
"kind": "javascript-module",
|
|
33760
34099
|
"path": "time-input/time-input.component.js",
|
|
@@ -71123,30 +71462,32 @@
|
|
|
71123
71462
|
},
|
|
71124
71463
|
{
|
|
71125
71464
|
"kind": "javascript-module",
|
|
71126
|
-
"path": "container/
|
|
71465
|
+
"path": "container/sticky-bar/sticky-bar.component.js",
|
|
71127
71466
|
"declarations": [
|
|
71128
71467
|
{
|
|
71129
71468
|
"kind": "class",
|
|
71130
|
-
"description": "
|
|
71131
|
-
"name": "
|
|
71469
|
+
"description": "A container that sticks to the bottom of the page if slotted into `sbb-container`.",
|
|
71470
|
+
"name": "SbbStickyBarElement",
|
|
71132
71471
|
"cssProperties": [
|
|
71133
71472
|
{
|
|
71134
|
-
"description": "
|
|
71135
|
-
"name": "--sbb-
|
|
71473
|
+
"description": "Block padding of the sticky bar.",
|
|
71474
|
+
"name": "--sbb-sticky-bar-padding-block",
|
|
71475
|
+
"default": "var(--sbb-spacing-responsive-xs)"
|
|
71476
|
+
},
|
|
71477
|
+
{
|
|
71478
|
+
"description": "Define an additional area where the sticky bar overlaps the following content on the bottom. This area becomes visible when the sticky bar transitions from sticky to the normal document flow.",
|
|
71479
|
+
"name": "--sbb-sticky-bar-bottom-overlapping-height",
|
|
71480
|
+
"default": "0px"
|
|
71481
|
+
},
|
|
71482
|
+
{
|
|
71483
|
+
"description": "To specify a custom stack order, the `z-index` can be overridden by defining this CSS variable.",
|
|
71484
|
+
"name": "--sbb-sticky-bar-z-index"
|
|
71136
71485
|
}
|
|
71137
71486
|
],
|
|
71138
71487
|
"slots": [
|
|
71139
71488
|
{
|
|
71140
|
-
"description": "Use the unnamed slot to add
|
|
71489
|
+
"description": "Use the unnamed slot to add content to the sticky bar.",
|
|
71141
71490
|
"name": ""
|
|
71142
|
-
},
|
|
71143
|
-
{
|
|
71144
|
-
"description": "The slot used by the sbb-sticky-bar component.",
|
|
71145
|
-
"name": "sticky-bar"
|
|
71146
|
-
},
|
|
71147
|
-
{
|
|
71148
|
-
"description": "The slot used to slot an `sbb-image` to use as background.",
|
|
71149
|
-
"name": "image"
|
|
71150
71491
|
}
|
|
71151
71492
|
],
|
|
71152
71493
|
"members": [
|
|
@@ -71159,7 +71500,7 @@
|
|
|
71159
71500
|
"privacy": "public",
|
|
71160
71501
|
"static": true,
|
|
71161
71502
|
"readonly": true,
|
|
71162
|
-
"default": "'sbb-
|
|
71503
|
+
"default": "'sbb-sticky-bar'",
|
|
71163
71504
|
"inheritedFrom": {
|
|
71164
71505
|
"name": "SbbElement",
|
|
71165
71506
|
"module": "core/base-elements/element.js"
|
|
@@ -71167,39 +71508,238 @@
|
|
|
71167
71508
|
},
|
|
71168
71509
|
{
|
|
71169
71510
|
"kind": "field",
|
|
71170
|
-
"name": "
|
|
71511
|
+
"name": "events",
|
|
71512
|
+
"privacy": "public",
|
|
71513
|
+
"static": true,
|
|
71514
|
+
"readonly": true,
|
|
71515
|
+
"default": "{ beforestick: 'beforestick', stick: 'stick', beforeunstick: 'beforeunstick', unstick: 'unstick', }",
|
|
71171
71516
|
"type": {
|
|
71172
|
-
"text": "
|
|
71517
|
+
"text": "{\n beforestick: 'beforestick',\n stick: 'stick',\n beforeunstick: 'beforeunstick',\n unstick: 'unstick',\n }"
|
|
71518
|
+
}
|
|
71519
|
+
},
|
|
71520
|
+
{
|
|
71521
|
+
"kind": "field",
|
|
71522
|
+
"name": "color",
|
|
71523
|
+
"type": {
|
|
71524
|
+
"text": "| 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'\n | null"
|
|
71173
71525
|
},
|
|
71174
71526
|
"privacy": "public",
|
|
71175
|
-
"default": "
|
|
71176
|
-
"description": "
|
|
71177
|
-
"attribute": "
|
|
71527
|
+
"default": "null",
|
|
71528
|
+
"description": "Color of the container, like transparent, white etc.",
|
|
71529
|
+
"attribute": "color",
|
|
71178
71530
|
"reflects": true
|
|
71179
71531
|
},
|
|
71180
71532
|
{
|
|
71181
71533
|
"kind": "field",
|
|
71182
|
-
"name": "
|
|
71534
|
+
"name": "size",
|
|
71183
71535
|
"type": {
|
|
71184
|
-
"text": "
|
|
71536
|
+
"text": "'m' | 's'"
|
|
71185
71537
|
},
|
|
71186
71538
|
"privacy": "public",
|
|
71187
|
-
"
|
|
71188
|
-
"
|
|
71189
|
-
"attribute": "
|
|
71539
|
+
"description": "Size of the container.",
|
|
71540
|
+
"default": "'m' / 's' (lean)",
|
|
71541
|
+
"attribute": "size",
|
|
71190
71542
|
"reflects": true
|
|
71191
71543
|
},
|
|
71192
71544
|
{
|
|
71193
71545
|
"kind": "field",
|
|
71194
|
-
"name": "
|
|
71546
|
+
"name": "_state",
|
|
71547
|
+
"privacy": "private",
|
|
71548
|
+
"description": "The state of the component.",
|
|
71195
71549
|
"type": {
|
|
71196
|
-
"text": "
|
|
71550
|
+
"text": "StickyState"
|
|
71551
|
+
},
|
|
71552
|
+
"default": "'sticky'"
|
|
71553
|
+
},
|
|
71554
|
+
{
|
|
71555
|
+
"kind": "field",
|
|
71556
|
+
"name": "_stateInternal",
|
|
71557
|
+
"type": {
|
|
71558
|
+
"text": "StickyState"
|
|
71559
|
+
},
|
|
71560
|
+
"privacy": "private"
|
|
71561
|
+
},
|
|
71562
|
+
{
|
|
71563
|
+
"kind": "field",
|
|
71564
|
+
"name": "_intersector",
|
|
71565
|
+
"type": {
|
|
71566
|
+
"text": "HTMLSpanElement | undefined"
|
|
71197
71567
|
},
|
|
71568
|
+
"privacy": "private"
|
|
71569
|
+
},
|
|
71570
|
+
{
|
|
71571
|
+
"kind": "field",
|
|
71572
|
+
"name": "_observer",
|
|
71573
|
+
"privacy": "private",
|
|
71574
|
+
"default": "new IntersectionController(this, { // Although `this` is observed, we have to postpone observing // into firstUpdated() to achieve a correct initial state. target: null, callback: (entries) => this._detectStickyState(entries[0]), })"
|
|
71575
|
+
},
|
|
71576
|
+
{
|
|
71577
|
+
"kind": "method",
|
|
71578
|
+
"name": "_isZeroAnimationDuration",
|
|
71579
|
+
"privacy": "private",
|
|
71580
|
+
"return": {
|
|
71581
|
+
"type": {
|
|
71582
|
+
"text": "boolean"
|
|
71583
|
+
}
|
|
71584
|
+
}
|
|
71585
|
+
},
|
|
71586
|
+
{
|
|
71587
|
+
"kind": "method",
|
|
71588
|
+
"name": "_detectStickyState",
|
|
71589
|
+
"privacy": "private",
|
|
71590
|
+
"return": {
|
|
71591
|
+
"type": {
|
|
71592
|
+
"text": "void"
|
|
71593
|
+
}
|
|
71594
|
+
},
|
|
71595
|
+
"parameters": [
|
|
71596
|
+
{
|
|
71597
|
+
"name": "entry",
|
|
71598
|
+
"type": {
|
|
71599
|
+
"text": "IntersectionObserverEntry"
|
|
71600
|
+
}
|
|
71601
|
+
}
|
|
71602
|
+
]
|
|
71603
|
+
},
|
|
71604
|
+
{
|
|
71605
|
+
"kind": "method",
|
|
71606
|
+
"name": "stick",
|
|
71198
71607
|
"privacy": "public",
|
|
71199
|
-
"
|
|
71200
|
-
|
|
71201
|
-
|
|
71202
|
-
|
|
71608
|
+
"return": {
|
|
71609
|
+
"type": {
|
|
71610
|
+
"text": "void"
|
|
71611
|
+
}
|
|
71612
|
+
},
|
|
71613
|
+
"description": "Animates from normal content flow position to `position: sticky`."
|
|
71614
|
+
},
|
|
71615
|
+
{
|
|
71616
|
+
"kind": "method",
|
|
71617
|
+
"name": "unstick",
|
|
71618
|
+
"privacy": "public",
|
|
71619
|
+
"return": {
|
|
71620
|
+
"type": {
|
|
71621
|
+
"text": "void"
|
|
71622
|
+
}
|
|
71623
|
+
},
|
|
71624
|
+
"description": "Animates `position: sticky` to normal content flow position."
|
|
71625
|
+
},
|
|
71626
|
+
{
|
|
71627
|
+
"kind": "method",
|
|
71628
|
+
"name": "_stickyCallback",
|
|
71629
|
+
"privacy": "private",
|
|
71630
|
+
"return": {
|
|
71631
|
+
"type": {
|
|
71632
|
+
"text": "void"
|
|
71633
|
+
}
|
|
71634
|
+
}
|
|
71635
|
+
},
|
|
71636
|
+
{
|
|
71637
|
+
"kind": "method",
|
|
71638
|
+
"name": "_unstickyCallback",
|
|
71639
|
+
"privacy": "private",
|
|
71640
|
+
"return": {
|
|
71641
|
+
"type": {
|
|
71642
|
+
"text": "void"
|
|
71643
|
+
}
|
|
71644
|
+
}
|
|
71645
|
+
},
|
|
71646
|
+
{
|
|
71647
|
+
"kind": "method",
|
|
71648
|
+
"name": "_onAnimationEnd",
|
|
71649
|
+
"privacy": "private",
|
|
71650
|
+
"return": {
|
|
71651
|
+
"type": {
|
|
71652
|
+
"text": "void"
|
|
71653
|
+
}
|
|
71654
|
+
},
|
|
71655
|
+
"parameters": [
|
|
71656
|
+
{
|
|
71657
|
+
"name": "event",
|
|
71658
|
+
"type": {
|
|
71659
|
+
"text": "AnimationEvent"
|
|
71660
|
+
}
|
|
71661
|
+
}
|
|
71662
|
+
]
|
|
71663
|
+
},
|
|
71664
|
+
{
|
|
71665
|
+
"kind": "method",
|
|
71666
|
+
"name": "_dispatchBeforeStickEvent",
|
|
71667
|
+
"privacy": "private",
|
|
71668
|
+
"return": {
|
|
71669
|
+
"type": {
|
|
71670
|
+
"text": "boolean"
|
|
71671
|
+
}
|
|
71672
|
+
}
|
|
71673
|
+
},
|
|
71674
|
+
{
|
|
71675
|
+
"kind": "method",
|
|
71676
|
+
"name": "_dispatchBeforeUnStickEvent",
|
|
71677
|
+
"privacy": "private",
|
|
71678
|
+
"return": {
|
|
71679
|
+
"type": {
|
|
71680
|
+
"text": "boolean"
|
|
71681
|
+
}
|
|
71682
|
+
}
|
|
71683
|
+
},
|
|
71684
|
+
{
|
|
71685
|
+
"kind": "field",
|
|
71686
|
+
"name": "_updatePromise",
|
|
71687
|
+
"privacy": "private",
|
|
71688
|
+
"inheritedFrom": {
|
|
71689
|
+
"name": "SbbUpdateSchedulerMixin",
|
|
71690
|
+
"module": "core/mixins/update-scheduler-mixin.js"
|
|
71691
|
+
}
|
|
71692
|
+
},
|
|
71693
|
+
{
|
|
71694
|
+
"kind": "field",
|
|
71695
|
+
"name": "_updateResolve",
|
|
71696
|
+
"privacy": "private",
|
|
71697
|
+
"inheritedFrom": {
|
|
71698
|
+
"name": "SbbUpdateSchedulerMixin",
|
|
71699
|
+
"module": "core/mixins/update-scheduler-mixin.js"
|
|
71700
|
+
}
|
|
71701
|
+
},
|
|
71702
|
+
{
|
|
71703
|
+
"kind": "method",
|
|
71704
|
+
"name": "startUpdate",
|
|
71705
|
+
"privacy": "protected",
|
|
71706
|
+
"return": {
|
|
71707
|
+
"type": {
|
|
71708
|
+
"text": "void"
|
|
71709
|
+
}
|
|
71710
|
+
},
|
|
71711
|
+
"inheritedFrom": {
|
|
71712
|
+
"name": "SbbUpdateSchedulerMixin",
|
|
71713
|
+
"module": "core/mixins/update-scheduler-mixin.js"
|
|
71714
|
+
}
|
|
71715
|
+
},
|
|
71716
|
+
{
|
|
71717
|
+
"kind": "method",
|
|
71718
|
+
"name": "completeUpdate",
|
|
71719
|
+
"privacy": "protected",
|
|
71720
|
+
"return": {
|
|
71721
|
+
"type": {
|
|
71722
|
+
"text": "void"
|
|
71723
|
+
}
|
|
71724
|
+
},
|
|
71725
|
+
"inheritedFrom": {
|
|
71726
|
+
"name": "SbbUpdateSchedulerMixin",
|
|
71727
|
+
"module": "core/mixins/update-scheduler-mixin.js"
|
|
71728
|
+
}
|
|
71729
|
+
},
|
|
71730
|
+
{
|
|
71731
|
+
"kind": "method",
|
|
71732
|
+
"name": "getUpdateComplete",
|
|
71733
|
+
"privacy": "protected",
|
|
71734
|
+
"return": {
|
|
71735
|
+
"type": {
|
|
71736
|
+
"text": "Promise<boolean>"
|
|
71737
|
+
}
|
|
71738
|
+
},
|
|
71739
|
+
"inheritedFrom": {
|
|
71740
|
+
"name": "SbbUpdateSchedulerMixin",
|
|
71741
|
+
"module": "core/mixins/update-scheduler-mixin.js"
|
|
71742
|
+
}
|
|
71203
71743
|
},
|
|
71204
71744
|
{
|
|
71205
71745
|
"kind": "field",
|
|
@@ -71461,82 +72001,107 @@
|
|
|
71461
72001
|
}
|
|
71462
72002
|
}
|
|
71463
72003
|
],
|
|
71464
|
-
"
|
|
72004
|
+
"events": [
|
|
71465
72005
|
{
|
|
71466
|
-
"name": "
|
|
72006
|
+
"name": "stick",
|
|
71467
72007
|
"type": {
|
|
71468
|
-
"text": "
|
|
72008
|
+
"text": "Event"
|
|
71469
72009
|
},
|
|
71470
|
-
"
|
|
71471
|
-
"description": "Whether the container is expanded.",
|
|
71472
|
-
"fieldName": "expanded"
|
|
72010
|
+
"description": "Emits when the animation from normal content flow to `position: sticky` ends."
|
|
71473
72011
|
},
|
|
71474
72012
|
{
|
|
71475
|
-
"name": "
|
|
72013
|
+
"name": "unstick",
|
|
71476
72014
|
"type": {
|
|
71477
|
-
"text": "
|
|
72015
|
+
"text": "Event"
|
|
71478
72016
|
},
|
|
71479
|
-
"
|
|
71480
|
-
"description": "Whether the background color is shown on full container width on large screens.",
|
|
71481
|
-
"fieldName": "backgroundExpanded"
|
|
72017
|
+
"description": "Emits when the animation from `position: sticky` to normal content flow ends."
|
|
71482
72018
|
},
|
|
72019
|
+
{
|
|
72020
|
+
"name": "beforestick",
|
|
72021
|
+
"type": {
|
|
72022
|
+
"text": "Event"
|
|
72023
|
+
},
|
|
72024
|
+
"description": "Emits when the animation from normal content flow to `position: sticky` starts. Can be canceled."
|
|
72025
|
+
},
|
|
72026
|
+
{
|
|
72027
|
+
"name": "beforeunstick",
|
|
72028
|
+
"type": {
|
|
72029
|
+
"text": "Event"
|
|
72030
|
+
},
|
|
72031
|
+
"description": "Emits when the animation from `position: sticky` to normal content flow starts. Can be canceled."
|
|
72032
|
+
}
|
|
72033
|
+
],
|
|
72034
|
+
"attributes": [
|
|
71483
72035
|
{
|
|
71484
72036
|
"name": "color",
|
|
71485
72037
|
"type": {
|
|
71486
|
-
"text": "| '
|
|
72038
|
+
"text": "| 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'\n | null"
|
|
71487
72039
|
},
|
|
71488
|
-
"default": "
|
|
72040
|
+
"default": "null",
|
|
71489
72041
|
"description": "Color of the container, like transparent, white etc.",
|
|
71490
72042
|
"fieldName": "color"
|
|
72043
|
+
},
|
|
72044
|
+
{
|
|
72045
|
+
"name": "size",
|
|
72046
|
+
"type": {
|
|
72047
|
+
"text": "'m' | 's'"
|
|
72048
|
+
},
|
|
72049
|
+
"description": "Size of the container.",
|
|
72050
|
+
"default": "'m' / 's' (lean)",
|
|
72051
|
+
"fieldName": "size"
|
|
72052
|
+
}
|
|
72053
|
+
],
|
|
72054
|
+
"mixins": [
|
|
72055
|
+
{
|
|
72056
|
+
"name": "SbbUpdateSchedulerMixin",
|
|
72057
|
+
"module": "core.js"
|
|
71491
72058
|
}
|
|
71492
72059
|
],
|
|
71493
72060
|
"superclass": {
|
|
71494
72061
|
"name": "SbbElement",
|
|
71495
72062
|
"module": "core.js"
|
|
71496
72063
|
},
|
|
71497
|
-
"tagName": "sbb-
|
|
72064
|
+
"tagName": "sbb-sticky-bar",
|
|
71498
72065
|
"customElement": true
|
|
71499
72066
|
}
|
|
71500
72067
|
],
|
|
71501
72068
|
"exports": [
|
|
71502
72069
|
{
|
|
71503
72070
|
"kind": "js",
|
|
71504
|
-
"name": "
|
|
72071
|
+
"name": "SbbStickyBarElement",
|
|
71505
72072
|
"declaration": {
|
|
71506
|
-
"name": "
|
|
71507
|
-
"module": "container/
|
|
72073
|
+
"name": "SbbStickyBarElement",
|
|
72074
|
+
"module": "container/sticky-bar/sticky-bar.component.js"
|
|
71508
72075
|
}
|
|
71509
72076
|
}
|
|
71510
72077
|
]
|
|
71511
72078
|
},
|
|
71512
72079
|
{
|
|
71513
72080
|
"kind": "javascript-module",
|
|
71514
|
-
"path": "container/
|
|
72081
|
+
"path": "container/container/container.component.js",
|
|
71515
72082
|
"declarations": [
|
|
71516
72083
|
{
|
|
71517
72084
|
"kind": "class",
|
|
71518
|
-
"description": "
|
|
71519
|
-
"name": "
|
|
72085
|
+
"description": "It displays its content with the default page spacing.",
|
|
72086
|
+
"name": "SbbContainerElement",
|
|
71520
72087
|
"cssProperties": [
|
|
71521
72088
|
{
|
|
71522
|
-
"description": "
|
|
71523
|
-
"name": "--sbb-
|
|
71524
|
-
"default": "var(--sbb-spacing-responsive-xs)"
|
|
71525
|
-
},
|
|
71526
|
-
{
|
|
71527
|
-
"description": "Define an additional area where the sticky bar overlaps the following content on the bottom. This area becomes visible when the sticky bar transitions from sticky to the normal document flow.",
|
|
71528
|
-
"name": "--sbb-sticky-bar-bottom-overlapping-height",
|
|
71529
|
-
"default": "0px"
|
|
71530
|
-
},
|
|
71531
|
-
{
|
|
71532
|
-
"description": "To specify a custom stack order, the `z-index` can be overridden by defining this CSS variable.",
|
|
71533
|
-
"name": "--sbb-sticky-bar-z-index"
|
|
72089
|
+
"description": "Use this variable to override the default page spacing. Note that overriding this will disable the standard responsive spacing behavior of the container.",
|
|
72090
|
+
"name": "--sbb-page-spacing-padding"
|
|
71534
72091
|
}
|
|
71535
72092
|
],
|
|
71536
72093
|
"slots": [
|
|
71537
72094
|
{
|
|
71538
|
-
"description": "Use the unnamed slot to add
|
|
72095
|
+
"description": "Use the unnamed slot to add anything to the container.",
|
|
71539
72096
|
"name": ""
|
|
72097
|
+
},
|
|
72098
|
+
{
|
|
72099
|
+
"description": "The slot used by the sbb-sticky-bar component.",
|
|
72100
|
+
"name": "sticky-bar"
|
|
72101
|
+
},
|
|
72102
|
+
{
|
|
72103
|
+
"description": "The slot used to slot an `sbb-image` to use as background.",
|
|
72104
|
+
"name": "image"
|
|
71540
72105
|
}
|
|
71541
72106
|
],
|
|
71542
72107
|
"members": [
|
|
@@ -71549,7 +72114,7 @@
|
|
|
71549
72114
|
"privacy": "public",
|
|
71550
72115
|
"static": true,
|
|
71551
72116
|
"readonly": true,
|
|
71552
|
-
"default": "'sbb-
|
|
72117
|
+
"default": "'sbb-container'",
|
|
71553
72118
|
"inheritedFrom": {
|
|
71554
72119
|
"name": "SbbElement",
|
|
71555
72120
|
"module": "core/base-elements/element.js"
|
|
@@ -71557,238 +72122,39 @@
|
|
|
71557
72122
|
},
|
|
71558
72123
|
{
|
|
71559
72124
|
"kind": "field",
|
|
71560
|
-
"name": "
|
|
71561
|
-
"privacy": "public",
|
|
71562
|
-
"static": true,
|
|
71563
|
-
"readonly": true,
|
|
71564
|
-
"default": "{ beforestick: 'beforestick', stick: 'stick', beforeunstick: 'beforeunstick', unstick: 'unstick', }",
|
|
71565
|
-
"type": {
|
|
71566
|
-
"text": "{\n beforestick: 'beforestick',\n stick: 'stick',\n beforeunstick: 'beforeunstick',\n unstick: 'unstick',\n }"
|
|
71567
|
-
}
|
|
71568
|
-
},
|
|
71569
|
-
{
|
|
71570
|
-
"kind": "field",
|
|
71571
|
-
"name": "color",
|
|
72125
|
+
"name": "expanded",
|
|
71572
72126
|
"type": {
|
|
71573
|
-
"text": "
|
|
72127
|
+
"text": "boolean"
|
|
71574
72128
|
},
|
|
71575
72129
|
"privacy": "public",
|
|
71576
|
-
"default": "
|
|
71577
|
-
"description": "
|
|
71578
|
-
"attribute": "
|
|
72130
|
+
"default": "false",
|
|
72131
|
+
"description": "Whether the container is expanded.",
|
|
72132
|
+
"attribute": "expanded",
|
|
71579
72133
|
"reflects": true
|
|
71580
72134
|
},
|
|
71581
72135
|
{
|
|
71582
72136
|
"kind": "field",
|
|
71583
|
-
"name": "
|
|
72137
|
+
"name": "backgroundExpanded",
|
|
71584
72138
|
"type": {
|
|
71585
|
-
"text": "
|
|
72139
|
+
"text": "boolean"
|
|
71586
72140
|
},
|
|
71587
72141
|
"privacy": "public",
|
|
71588
|
-
"
|
|
71589
|
-
"
|
|
71590
|
-
"attribute": "
|
|
72142
|
+
"default": "false",
|
|
72143
|
+
"description": "Whether the background color is shown on full container width on large screens.",
|
|
72144
|
+
"attribute": "background-expanded",
|
|
71591
72145
|
"reflects": true
|
|
71592
72146
|
},
|
|
71593
72147
|
{
|
|
71594
72148
|
"kind": "field",
|
|
71595
|
-
"name": "
|
|
71596
|
-
"privacy": "private",
|
|
71597
|
-
"description": "The state of the component.",
|
|
71598
|
-
"type": {
|
|
71599
|
-
"text": "StickyState"
|
|
71600
|
-
},
|
|
71601
|
-
"default": "'sticky'"
|
|
71602
|
-
},
|
|
71603
|
-
{
|
|
71604
|
-
"kind": "field",
|
|
71605
|
-
"name": "_stateInternal",
|
|
71606
|
-
"type": {
|
|
71607
|
-
"text": "StickyState"
|
|
71608
|
-
},
|
|
71609
|
-
"privacy": "private"
|
|
71610
|
-
},
|
|
71611
|
-
{
|
|
71612
|
-
"kind": "field",
|
|
71613
|
-
"name": "_intersector",
|
|
72149
|
+
"name": "color",
|
|
71614
72150
|
"type": {
|
|
71615
|
-
"text": "
|
|
71616
|
-
},
|
|
71617
|
-
"privacy": "private"
|
|
71618
|
-
},
|
|
71619
|
-
{
|
|
71620
|
-
"kind": "field",
|
|
71621
|
-
"name": "_observer",
|
|
71622
|
-
"privacy": "private",
|
|
71623
|
-
"default": "new IntersectionController(this, { // Although `this` is observed, we have to postpone observing // into firstUpdated() to achieve a correct initial state. target: null, callback: (entries) => this._detectStickyState(entries[0]), })"
|
|
71624
|
-
},
|
|
71625
|
-
{
|
|
71626
|
-
"kind": "method",
|
|
71627
|
-
"name": "_isZeroAnimationDuration",
|
|
71628
|
-
"privacy": "private",
|
|
71629
|
-
"return": {
|
|
71630
|
-
"type": {
|
|
71631
|
-
"text": "boolean"
|
|
71632
|
-
}
|
|
71633
|
-
}
|
|
71634
|
-
},
|
|
71635
|
-
{
|
|
71636
|
-
"kind": "method",
|
|
71637
|
-
"name": "_detectStickyState",
|
|
71638
|
-
"privacy": "private",
|
|
71639
|
-
"return": {
|
|
71640
|
-
"type": {
|
|
71641
|
-
"text": "void"
|
|
71642
|
-
}
|
|
71643
|
-
},
|
|
71644
|
-
"parameters": [
|
|
71645
|
-
{
|
|
71646
|
-
"name": "entry",
|
|
71647
|
-
"type": {
|
|
71648
|
-
"text": "IntersectionObserverEntry"
|
|
71649
|
-
}
|
|
71650
|
-
}
|
|
71651
|
-
]
|
|
71652
|
-
},
|
|
71653
|
-
{
|
|
71654
|
-
"kind": "method",
|
|
71655
|
-
"name": "stick",
|
|
71656
|
-
"privacy": "public",
|
|
71657
|
-
"return": {
|
|
71658
|
-
"type": {
|
|
71659
|
-
"text": "void"
|
|
71660
|
-
}
|
|
72151
|
+
"text": "| 'transparent'\n | 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'"
|
|
71661
72152
|
},
|
|
71662
|
-
"description": "Animates from normal content flow position to `position: sticky`."
|
|
71663
|
-
},
|
|
71664
|
-
{
|
|
71665
|
-
"kind": "method",
|
|
71666
|
-
"name": "unstick",
|
|
71667
72153
|
"privacy": "public",
|
|
71668
|
-
"
|
|
71669
|
-
|
|
71670
|
-
|
|
71671
|
-
|
|
71672
|
-
},
|
|
71673
|
-
"description": "Animates `position: sticky` to normal content flow position."
|
|
71674
|
-
},
|
|
71675
|
-
{
|
|
71676
|
-
"kind": "method",
|
|
71677
|
-
"name": "_stickyCallback",
|
|
71678
|
-
"privacy": "private",
|
|
71679
|
-
"return": {
|
|
71680
|
-
"type": {
|
|
71681
|
-
"text": "void"
|
|
71682
|
-
}
|
|
71683
|
-
}
|
|
71684
|
-
},
|
|
71685
|
-
{
|
|
71686
|
-
"kind": "method",
|
|
71687
|
-
"name": "_unstickyCallback",
|
|
71688
|
-
"privacy": "private",
|
|
71689
|
-
"return": {
|
|
71690
|
-
"type": {
|
|
71691
|
-
"text": "void"
|
|
71692
|
-
}
|
|
71693
|
-
}
|
|
71694
|
-
},
|
|
71695
|
-
{
|
|
71696
|
-
"kind": "method",
|
|
71697
|
-
"name": "_onAnimationEnd",
|
|
71698
|
-
"privacy": "private",
|
|
71699
|
-
"return": {
|
|
71700
|
-
"type": {
|
|
71701
|
-
"text": "void"
|
|
71702
|
-
}
|
|
71703
|
-
},
|
|
71704
|
-
"parameters": [
|
|
71705
|
-
{
|
|
71706
|
-
"name": "event",
|
|
71707
|
-
"type": {
|
|
71708
|
-
"text": "AnimationEvent"
|
|
71709
|
-
}
|
|
71710
|
-
}
|
|
71711
|
-
]
|
|
71712
|
-
},
|
|
71713
|
-
{
|
|
71714
|
-
"kind": "method",
|
|
71715
|
-
"name": "_dispatchBeforeStickEvent",
|
|
71716
|
-
"privacy": "private",
|
|
71717
|
-
"return": {
|
|
71718
|
-
"type": {
|
|
71719
|
-
"text": "boolean"
|
|
71720
|
-
}
|
|
71721
|
-
}
|
|
71722
|
-
},
|
|
71723
|
-
{
|
|
71724
|
-
"kind": "method",
|
|
71725
|
-
"name": "_dispatchBeforeUnStickEvent",
|
|
71726
|
-
"privacy": "private",
|
|
71727
|
-
"return": {
|
|
71728
|
-
"type": {
|
|
71729
|
-
"text": "boolean"
|
|
71730
|
-
}
|
|
71731
|
-
}
|
|
71732
|
-
},
|
|
71733
|
-
{
|
|
71734
|
-
"kind": "field",
|
|
71735
|
-
"name": "_updatePromise",
|
|
71736
|
-
"privacy": "private",
|
|
71737
|
-
"inheritedFrom": {
|
|
71738
|
-
"name": "SbbUpdateSchedulerMixin",
|
|
71739
|
-
"module": "core/mixins/update-scheduler-mixin.js"
|
|
71740
|
-
}
|
|
71741
|
-
},
|
|
71742
|
-
{
|
|
71743
|
-
"kind": "field",
|
|
71744
|
-
"name": "_updateResolve",
|
|
71745
|
-
"privacy": "private",
|
|
71746
|
-
"inheritedFrom": {
|
|
71747
|
-
"name": "SbbUpdateSchedulerMixin",
|
|
71748
|
-
"module": "core/mixins/update-scheduler-mixin.js"
|
|
71749
|
-
}
|
|
71750
|
-
},
|
|
71751
|
-
{
|
|
71752
|
-
"kind": "method",
|
|
71753
|
-
"name": "startUpdate",
|
|
71754
|
-
"privacy": "protected",
|
|
71755
|
-
"return": {
|
|
71756
|
-
"type": {
|
|
71757
|
-
"text": "void"
|
|
71758
|
-
}
|
|
71759
|
-
},
|
|
71760
|
-
"inheritedFrom": {
|
|
71761
|
-
"name": "SbbUpdateSchedulerMixin",
|
|
71762
|
-
"module": "core/mixins/update-scheduler-mixin.js"
|
|
71763
|
-
}
|
|
71764
|
-
},
|
|
71765
|
-
{
|
|
71766
|
-
"kind": "method",
|
|
71767
|
-
"name": "completeUpdate",
|
|
71768
|
-
"privacy": "protected",
|
|
71769
|
-
"return": {
|
|
71770
|
-
"type": {
|
|
71771
|
-
"text": "void"
|
|
71772
|
-
}
|
|
71773
|
-
},
|
|
71774
|
-
"inheritedFrom": {
|
|
71775
|
-
"name": "SbbUpdateSchedulerMixin",
|
|
71776
|
-
"module": "core/mixins/update-scheduler-mixin.js"
|
|
71777
|
-
}
|
|
71778
|
-
},
|
|
71779
|
-
{
|
|
71780
|
-
"kind": "method",
|
|
71781
|
-
"name": "getUpdateComplete",
|
|
71782
|
-
"privacy": "protected",
|
|
71783
|
-
"return": {
|
|
71784
|
-
"type": {
|
|
71785
|
-
"text": "Promise<boolean>"
|
|
71786
|
-
}
|
|
71787
|
-
},
|
|
71788
|
-
"inheritedFrom": {
|
|
71789
|
-
"name": "SbbUpdateSchedulerMixin",
|
|
71790
|
-
"module": "core/mixins/update-scheduler-mixin.js"
|
|
71791
|
-
}
|
|
72154
|
+
"default": "'white'",
|
|
72155
|
+
"description": "Color of the container, like transparent, white etc.",
|
|
72156
|
+
"attribute": "color",
|
|
72157
|
+
"reflects": true
|
|
71792
72158
|
},
|
|
71793
72159
|
{
|
|
71794
72160
|
"kind": "field",
|
|
@@ -72050,77 +72416,50 @@
|
|
|
72050
72416
|
}
|
|
72051
72417
|
}
|
|
72052
72418
|
],
|
|
72053
|
-
"
|
|
72054
|
-
{
|
|
72055
|
-
"name": "stick",
|
|
72056
|
-
"type": {
|
|
72057
|
-
"text": "Event"
|
|
72058
|
-
},
|
|
72059
|
-
"description": "Emits when the animation from normal content flow to `position: sticky` ends."
|
|
72060
|
-
},
|
|
72419
|
+
"attributes": [
|
|
72061
72420
|
{
|
|
72062
|
-
"name": "
|
|
72421
|
+
"name": "expanded",
|
|
72063
72422
|
"type": {
|
|
72064
|
-
"text": "
|
|
72423
|
+
"text": "boolean"
|
|
72065
72424
|
},
|
|
72066
|
-
"
|
|
72425
|
+
"default": "false",
|
|
72426
|
+
"description": "Whether the container is expanded.",
|
|
72427
|
+
"fieldName": "expanded"
|
|
72067
72428
|
},
|
|
72068
72429
|
{
|
|
72069
|
-
"name": "
|
|
72430
|
+
"name": "background-expanded",
|
|
72070
72431
|
"type": {
|
|
72071
|
-
"text": "
|
|
72432
|
+
"text": "boolean"
|
|
72072
72433
|
},
|
|
72073
|
-
"
|
|
72434
|
+
"default": "false",
|
|
72435
|
+
"description": "Whether the background color is shown on full container width on large screens.",
|
|
72436
|
+
"fieldName": "backgroundExpanded"
|
|
72074
72437
|
},
|
|
72075
|
-
{
|
|
72076
|
-
"name": "beforeunstick",
|
|
72077
|
-
"type": {
|
|
72078
|
-
"text": "Event"
|
|
72079
|
-
},
|
|
72080
|
-
"description": "Emits when the animation from `position: sticky` to normal content flow starts. Can be canceled."
|
|
72081
|
-
}
|
|
72082
|
-
],
|
|
72083
|
-
"attributes": [
|
|
72084
72438
|
{
|
|
72085
72439
|
"name": "color",
|
|
72086
72440
|
"type": {
|
|
72087
|
-
"text": "| '
|
|
72441
|
+
"text": "| 'transparent'\n | 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'"
|
|
72088
72442
|
},
|
|
72089
|
-
"default": "
|
|
72443
|
+
"default": "'white'",
|
|
72090
72444
|
"description": "Color of the container, like transparent, white etc.",
|
|
72091
72445
|
"fieldName": "color"
|
|
72092
|
-
},
|
|
72093
|
-
{
|
|
72094
|
-
"name": "size",
|
|
72095
|
-
"type": {
|
|
72096
|
-
"text": "'m' | 's'"
|
|
72097
|
-
},
|
|
72098
|
-
"description": "Size of the container.",
|
|
72099
|
-
"default": "'m' / 's' (lean)",
|
|
72100
|
-
"fieldName": "size"
|
|
72101
|
-
}
|
|
72102
|
-
],
|
|
72103
|
-
"mixins": [
|
|
72104
|
-
{
|
|
72105
|
-
"name": "SbbUpdateSchedulerMixin",
|
|
72106
|
-
"module": "core.js"
|
|
72107
72446
|
}
|
|
72108
72447
|
],
|
|
72109
72448
|
"superclass": {
|
|
72110
72449
|
"name": "SbbElement",
|
|
72111
72450
|
"module": "core.js"
|
|
72112
72451
|
},
|
|
72113
|
-
"tagName": "sbb-
|
|
72452
|
+
"tagName": "sbb-container",
|
|
72114
72453
|
"customElement": true
|
|
72115
72454
|
}
|
|
72116
72455
|
],
|
|
72117
72456
|
"exports": [
|
|
72118
72457
|
{
|
|
72119
72458
|
"kind": "js",
|
|
72120
|
-
"name": "
|
|
72459
|
+
"name": "SbbContainerElement",
|
|
72121
72460
|
"declaration": {
|
|
72122
|
-
"name": "
|
|
72123
|
-
"module": "container/
|
|
72461
|
+
"name": "SbbContainerElement",
|
|
72462
|
+
"module": "container/container/container.component.js"
|
|
72124
72463
|
}
|
|
72125
72464
|
}
|
|
72126
72465
|
]
|