@sbb-esta/lyne-elements-dev 4.0.0-dev.1775567714 → 4.0.0-dev.1775568513
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 +223 -223
- package/package.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -68537,229 +68537,6 @@
|
|
|
68537
68537
|
}
|
|
68538
68538
|
]
|
|
68539
68539
|
},
|
|
68540
|
-
{
|
|
68541
|
-
"kind": "javascript-module",
|
|
68542
|
-
"path": "core/decorators/base.js",
|
|
68543
|
-
"declarations": [],
|
|
68544
|
-
"exports": []
|
|
68545
|
-
},
|
|
68546
|
-
{
|
|
68547
|
-
"kind": "javascript-module",
|
|
68548
|
-
"path": "core/decorators/force-type.js",
|
|
68549
|
-
"declarations": [
|
|
68550
|
-
{
|
|
68551
|
-
"kind": "function",
|
|
68552
|
-
"name": "forceType",
|
|
68553
|
-
"return": {
|
|
68554
|
-
"type": {
|
|
68555
|
-
"text": "PropertyDecorator"
|
|
68556
|
-
}
|
|
68557
|
-
},
|
|
68558
|
-
"parameters": [
|
|
68559
|
-
{
|
|
68560
|
-
"name": "convert",
|
|
68561
|
-
"optional": true,
|
|
68562
|
-
"type": {
|
|
68563
|
-
"text": "(v: unknown) => V"
|
|
68564
|
-
}
|
|
68565
|
-
}
|
|
68566
|
-
],
|
|
68567
|
-
"description": "Decorator that forces the value of a property or getter/setter\nto the defined type."
|
|
68568
|
-
}
|
|
68569
|
-
],
|
|
68570
|
-
"exports": [
|
|
68571
|
-
{
|
|
68572
|
-
"kind": "js",
|
|
68573
|
-
"name": "forceType",
|
|
68574
|
-
"declaration": {
|
|
68575
|
-
"name": "forceType",
|
|
68576
|
-
"module": "core/decorators/force-type.js"
|
|
68577
|
-
}
|
|
68578
|
-
}
|
|
68579
|
-
]
|
|
68580
|
-
},
|
|
68581
|
-
{
|
|
68582
|
-
"kind": "javascript-module",
|
|
68583
|
-
"path": "core/decorators/get-override.js",
|
|
68584
|
-
"declarations": [
|
|
68585
|
-
{
|
|
68586
|
-
"kind": "function",
|
|
68587
|
-
"name": "getOverride",
|
|
68588
|
-
"parameters": [
|
|
68589
|
-
{
|
|
68590
|
-
"name": "callback",
|
|
68591
|
-
"type": {
|
|
68592
|
-
"text": "(instance: C, innerValue: V) => V"
|
|
68593
|
-
}
|
|
68594
|
-
}
|
|
68595
|
-
],
|
|
68596
|
-
"description": "Decorator that overrides the underlying getter of the accessor."
|
|
68597
|
-
}
|
|
68598
|
-
],
|
|
68599
|
-
"exports": [
|
|
68600
|
-
{
|
|
68601
|
-
"kind": "js",
|
|
68602
|
-
"name": "getOverride",
|
|
68603
|
-
"declaration": {
|
|
68604
|
-
"name": "getOverride",
|
|
68605
|
-
"module": "core/decorators/get-override.js"
|
|
68606
|
-
}
|
|
68607
|
-
}
|
|
68608
|
-
]
|
|
68609
|
-
},
|
|
68610
|
-
{
|
|
68611
|
-
"kind": "javascript-module",
|
|
68612
|
-
"path": "core/decorators/handle-distinct-change.js",
|
|
68613
|
-
"declarations": [
|
|
68614
|
-
{
|
|
68615
|
-
"kind": "function",
|
|
68616
|
-
"name": "handleDistinctChange",
|
|
68617
|
-
"parameters": [
|
|
68618
|
-
{
|
|
68619
|
-
"name": "callback",
|
|
68620
|
-
"type": {
|
|
68621
|
-
"text": "(instance: C, newValue: V, oldValue: V | undefined) => void"
|
|
68622
|
-
}
|
|
68623
|
-
}
|
|
68624
|
-
],
|
|
68625
|
-
"description": "Decorator that calls the given callback when the value\nof the associated property is changed."
|
|
68626
|
-
}
|
|
68627
|
-
],
|
|
68628
|
-
"exports": [
|
|
68629
|
-
{
|
|
68630
|
-
"kind": "js",
|
|
68631
|
-
"name": "handleDistinctChange",
|
|
68632
|
-
"declaration": {
|
|
68633
|
-
"name": "handleDistinctChange",
|
|
68634
|
-
"module": "core/decorators/handle-distinct-change.js"
|
|
68635
|
-
}
|
|
68636
|
-
}
|
|
68637
|
-
]
|
|
68638
|
-
},
|
|
68639
|
-
{
|
|
68640
|
-
"kind": "javascript-module",
|
|
68641
|
-
"path": "core/decorators/host-attributes.js",
|
|
68642
|
-
"declarations": [
|
|
68643
|
-
{
|
|
68644
|
-
"kind": "function",
|
|
68645
|
-
"name": "hostAttributes",
|
|
68646
|
-
"parameters": [
|
|
68647
|
-
{
|
|
68648
|
-
"name": "attributes",
|
|
68649
|
-
"type": {
|
|
68650
|
-
"text": "Record<string, string | null>"
|
|
68651
|
-
},
|
|
68652
|
-
"description": "A record of attributes to apply to the element."
|
|
68653
|
-
}
|
|
68654
|
-
],
|
|
68655
|
-
"description": "Applies the given attributes to the related element.\nIf an empty string is passed as a value, the attribute will be set\nwithout value.",
|
|
68656
|
-
"deprecated": "Will be removed with next major version."
|
|
68657
|
-
}
|
|
68658
|
-
],
|
|
68659
|
-
"exports": [
|
|
68660
|
-
{
|
|
68661
|
-
"kind": "js",
|
|
68662
|
-
"name": "hostAttributes",
|
|
68663
|
-
"declaration": {
|
|
68664
|
-
"name": "hostAttributes",
|
|
68665
|
-
"module": "core/decorators/host-attributes.js"
|
|
68666
|
-
}
|
|
68667
|
-
}
|
|
68668
|
-
]
|
|
68669
|
-
},
|
|
68670
|
-
{
|
|
68671
|
-
"kind": "javascript-module",
|
|
68672
|
-
"path": "core/decorators/id-reference.js",
|
|
68673
|
-
"declarations": [
|
|
68674
|
-
{
|
|
68675
|
-
"kind": "function",
|
|
68676
|
-
"name": "idReference",
|
|
68677
|
-
"description": "Accessor decorator that resolves id references dynamically.\nIf a string is passed (e.g. from an attribute), it will be resolved to the element with that id.\nThis decorator observes the connected document fragment for changes to the id attribute\nand child elements and if any id reference is established or removed, it will\nupdate the associated property."
|
|
68678
|
-
}
|
|
68679
|
-
],
|
|
68680
|
-
"exports": [
|
|
68681
|
-
{
|
|
68682
|
-
"kind": "js",
|
|
68683
|
-
"name": "idReference",
|
|
68684
|
-
"declaration": {
|
|
68685
|
-
"name": "idReference",
|
|
68686
|
-
"module": "core/decorators/id-reference.js"
|
|
68687
|
-
}
|
|
68688
|
-
}
|
|
68689
|
-
]
|
|
68690
|
-
},
|
|
68691
|
-
{
|
|
68692
|
-
"kind": "javascript-module",
|
|
68693
|
-
"path": "core/decorators/omit-empty-converter.js",
|
|
68694
|
-
"declarations": [
|
|
68695
|
-
{
|
|
68696
|
-
"kind": "variable",
|
|
68697
|
-
"name": "omitEmptyConverter",
|
|
68698
|
-
"type": {
|
|
68699
|
-
"text": "ComplexAttributeConverter"
|
|
68700
|
-
},
|
|
68701
|
-
"default": "{ toAttribute(value, type) { return ((type === String || type === undefined) && value === '') || (type === Number && isNaN(value as number)) ? null : defaultConverter.toAttribute!(value, type); }, }",
|
|
68702
|
-
"description": "Converts empty values to null, which will not be rendered as attributes.\ne.g. for string properties, an empty value '' will not be rendered as an\nempty attribute, as would be the default with lit."
|
|
68703
|
-
}
|
|
68704
|
-
],
|
|
68705
|
-
"exports": [
|
|
68706
|
-
{
|
|
68707
|
-
"kind": "js",
|
|
68708
|
-
"name": "omitEmptyConverter",
|
|
68709
|
-
"declaration": {
|
|
68710
|
-
"name": "omitEmptyConverter",
|
|
68711
|
-
"module": "core/decorators/omit-empty-converter.js"
|
|
68712
|
-
}
|
|
68713
|
-
}
|
|
68714
|
-
]
|
|
68715
|
-
},
|
|
68716
|
-
{
|
|
68717
|
-
"kind": "javascript-module",
|
|
68718
|
-
"path": "core/decorators/plain-date.js",
|
|
68719
|
-
"declarations": [
|
|
68720
|
-
{
|
|
68721
|
-
"kind": "variable",
|
|
68722
|
-
"name": "plainDateConverter",
|
|
68723
|
-
"type": {
|
|
68724
|
-
"text": "ComplexAttributeConverter"
|
|
68725
|
-
},
|
|
68726
|
-
"default": "{ toAttribute(value, _type) { const dateAdapter = readConfig().datetime?.dateAdapter ?? defaultDateAdapter; return dateAdapter.isValid(value) ? dateAdapter.toIso8601(value) : null; }, }",
|
|
68727
|
-
"description": "Will convert date object values to ISO8601 formatted strings as attributes.\nShould be used together with the `plainDate` decorator."
|
|
68728
|
-
},
|
|
68729
|
-
{
|
|
68730
|
-
"kind": "function",
|
|
68731
|
-
"name": "plainDate",
|
|
68732
|
-
"parameters": [
|
|
68733
|
-
{
|
|
68734
|
-
"name": "config",
|
|
68735
|
-
"optional": true,
|
|
68736
|
-
"type": {
|
|
68737
|
-
"text": "SbbPlainDateConfiguration"
|
|
68738
|
-
}
|
|
68739
|
-
}
|
|
68740
|
-
],
|
|
68741
|
-
"description": "Decorator that tries to deserialize the given value to a date object\nand adapts the getter to only return a copy of the internal value,\nin order to avoid outside manipulation of date objects."
|
|
68742
|
-
}
|
|
68743
|
-
],
|
|
68744
|
-
"exports": [
|
|
68745
|
-
{
|
|
68746
|
-
"kind": "js",
|
|
68747
|
-
"name": "plainDateConverter",
|
|
68748
|
-
"declaration": {
|
|
68749
|
-
"name": "plainDateConverter",
|
|
68750
|
-
"module": "core/decorators/plain-date.js"
|
|
68751
|
-
}
|
|
68752
|
-
},
|
|
68753
|
-
{
|
|
68754
|
-
"kind": "js",
|
|
68755
|
-
"name": "plainDate",
|
|
68756
|
-
"declaration": {
|
|
68757
|
-
"name": "plainDate",
|
|
68758
|
-
"module": "core/decorators/plain-date.js"
|
|
68759
|
-
}
|
|
68760
|
-
}
|
|
68761
|
-
]
|
|
68762
|
-
},
|
|
68763
68540
|
{
|
|
68764
68541
|
"kind": "javascript-module",
|
|
68765
68542
|
"path": "core/dom/animation.js",
|
|
@@ -69198,6 +68975,229 @@
|
|
|
69198
68975
|
}
|
|
69199
68976
|
]
|
|
69200
68977
|
},
|
|
68978
|
+
{
|
|
68979
|
+
"kind": "javascript-module",
|
|
68980
|
+
"path": "core/decorators/base.js",
|
|
68981
|
+
"declarations": [],
|
|
68982
|
+
"exports": []
|
|
68983
|
+
},
|
|
68984
|
+
{
|
|
68985
|
+
"kind": "javascript-module",
|
|
68986
|
+
"path": "core/decorators/force-type.js",
|
|
68987
|
+
"declarations": [
|
|
68988
|
+
{
|
|
68989
|
+
"kind": "function",
|
|
68990
|
+
"name": "forceType",
|
|
68991
|
+
"return": {
|
|
68992
|
+
"type": {
|
|
68993
|
+
"text": "PropertyDecorator"
|
|
68994
|
+
}
|
|
68995
|
+
},
|
|
68996
|
+
"parameters": [
|
|
68997
|
+
{
|
|
68998
|
+
"name": "convert",
|
|
68999
|
+
"optional": true,
|
|
69000
|
+
"type": {
|
|
69001
|
+
"text": "(v: unknown) => V"
|
|
69002
|
+
}
|
|
69003
|
+
}
|
|
69004
|
+
],
|
|
69005
|
+
"description": "Decorator that forces the value of a property or getter/setter\nto the defined type."
|
|
69006
|
+
}
|
|
69007
|
+
],
|
|
69008
|
+
"exports": [
|
|
69009
|
+
{
|
|
69010
|
+
"kind": "js",
|
|
69011
|
+
"name": "forceType",
|
|
69012
|
+
"declaration": {
|
|
69013
|
+
"name": "forceType",
|
|
69014
|
+
"module": "core/decorators/force-type.js"
|
|
69015
|
+
}
|
|
69016
|
+
}
|
|
69017
|
+
]
|
|
69018
|
+
},
|
|
69019
|
+
{
|
|
69020
|
+
"kind": "javascript-module",
|
|
69021
|
+
"path": "core/decorators/get-override.js",
|
|
69022
|
+
"declarations": [
|
|
69023
|
+
{
|
|
69024
|
+
"kind": "function",
|
|
69025
|
+
"name": "getOverride",
|
|
69026
|
+
"parameters": [
|
|
69027
|
+
{
|
|
69028
|
+
"name": "callback",
|
|
69029
|
+
"type": {
|
|
69030
|
+
"text": "(instance: C, innerValue: V) => V"
|
|
69031
|
+
}
|
|
69032
|
+
}
|
|
69033
|
+
],
|
|
69034
|
+
"description": "Decorator that overrides the underlying getter of the accessor."
|
|
69035
|
+
}
|
|
69036
|
+
],
|
|
69037
|
+
"exports": [
|
|
69038
|
+
{
|
|
69039
|
+
"kind": "js",
|
|
69040
|
+
"name": "getOverride",
|
|
69041
|
+
"declaration": {
|
|
69042
|
+
"name": "getOverride",
|
|
69043
|
+
"module": "core/decorators/get-override.js"
|
|
69044
|
+
}
|
|
69045
|
+
}
|
|
69046
|
+
]
|
|
69047
|
+
},
|
|
69048
|
+
{
|
|
69049
|
+
"kind": "javascript-module",
|
|
69050
|
+
"path": "core/decorators/handle-distinct-change.js",
|
|
69051
|
+
"declarations": [
|
|
69052
|
+
{
|
|
69053
|
+
"kind": "function",
|
|
69054
|
+
"name": "handleDistinctChange",
|
|
69055
|
+
"parameters": [
|
|
69056
|
+
{
|
|
69057
|
+
"name": "callback",
|
|
69058
|
+
"type": {
|
|
69059
|
+
"text": "(instance: C, newValue: V, oldValue: V | undefined) => void"
|
|
69060
|
+
}
|
|
69061
|
+
}
|
|
69062
|
+
],
|
|
69063
|
+
"description": "Decorator that calls the given callback when the value\nof the associated property is changed."
|
|
69064
|
+
}
|
|
69065
|
+
],
|
|
69066
|
+
"exports": [
|
|
69067
|
+
{
|
|
69068
|
+
"kind": "js",
|
|
69069
|
+
"name": "handleDistinctChange",
|
|
69070
|
+
"declaration": {
|
|
69071
|
+
"name": "handleDistinctChange",
|
|
69072
|
+
"module": "core/decorators/handle-distinct-change.js"
|
|
69073
|
+
}
|
|
69074
|
+
}
|
|
69075
|
+
]
|
|
69076
|
+
},
|
|
69077
|
+
{
|
|
69078
|
+
"kind": "javascript-module",
|
|
69079
|
+
"path": "core/decorators/host-attributes.js",
|
|
69080
|
+
"declarations": [
|
|
69081
|
+
{
|
|
69082
|
+
"kind": "function",
|
|
69083
|
+
"name": "hostAttributes",
|
|
69084
|
+
"parameters": [
|
|
69085
|
+
{
|
|
69086
|
+
"name": "attributes",
|
|
69087
|
+
"type": {
|
|
69088
|
+
"text": "Record<string, string | null>"
|
|
69089
|
+
},
|
|
69090
|
+
"description": "A record of attributes to apply to the element."
|
|
69091
|
+
}
|
|
69092
|
+
],
|
|
69093
|
+
"description": "Applies the given attributes to the related element.\nIf an empty string is passed as a value, the attribute will be set\nwithout value.",
|
|
69094
|
+
"deprecated": "Will be removed with next major version."
|
|
69095
|
+
}
|
|
69096
|
+
],
|
|
69097
|
+
"exports": [
|
|
69098
|
+
{
|
|
69099
|
+
"kind": "js",
|
|
69100
|
+
"name": "hostAttributes",
|
|
69101
|
+
"declaration": {
|
|
69102
|
+
"name": "hostAttributes",
|
|
69103
|
+
"module": "core/decorators/host-attributes.js"
|
|
69104
|
+
}
|
|
69105
|
+
}
|
|
69106
|
+
]
|
|
69107
|
+
},
|
|
69108
|
+
{
|
|
69109
|
+
"kind": "javascript-module",
|
|
69110
|
+
"path": "core/decorators/id-reference.js",
|
|
69111
|
+
"declarations": [
|
|
69112
|
+
{
|
|
69113
|
+
"kind": "function",
|
|
69114
|
+
"name": "idReference",
|
|
69115
|
+
"description": "Accessor decorator that resolves id references dynamically.\nIf a string is passed (e.g. from an attribute), it will be resolved to the element with that id.\nThis decorator observes the connected document fragment for changes to the id attribute\nand child elements and if any id reference is established or removed, it will\nupdate the associated property."
|
|
69116
|
+
}
|
|
69117
|
+
],
|
|
69118
|
+
"exports": [
|
|
69119
|
+
{
|
|
69120
|
+
"kind": "js",
|
|
69121
|
+
"name": "idReference",
|
|
69122
|
+
"declaration": {
|
|
69123
|
+
"name": "idReference",
|
|
69124
|
+
"module": "core/decorators/id-reference.js"
|
|
69125
|
+
}
|
|
69126
|
+
}
|
|
69127
|
+
]
|
|
69128
|
+
},
|
|
69129
|
+
{
|
|
69130
|
+
"kind": "javascript-module",
|
|
69131
|
+
"path": "core/decorators/omit-empty-converter.js",
|
|
69132
|
+
"declarations": [
|
|
69133
|
+
{
|
|
69134
|
+
"kind": "variable",
|
|
69135
|
+
"name": "omitEmptyConverter",
|
|
69136
|
+
"type": {
|
|
69137
|
+
"text": "ComplexAttributeConverter"
|
|
69138
|
+
},
|
|
69139
|
+
"default": "{ toAttribute(value, type) { return ((type === String || type === undefined) && value === '') || (type === Number && isNaN(value as number)) ? null : defaultConverter.toAttribute!(value, type); }, }",
|
|
69140
|
+
"description": "Converts empty values to null, which will not be rendered as attributes.\ne.g. for string properties, an empty value '' will not be rendered as an\nempty attribute, as would be the default with lit."
|
|
69141
|
+
}
|
|
69142
|
+
],
|
|
69143
|
+
"exports": [
|
|
69144
|
+
{
|
|
69145
|
+
"kind": "js",
|
|
69146
|
+
"name": "omitEmptyConverter",
|
|
69147
|
+
"declaration": {
|
|
69148
|
+
"name": "omitEmptyConverter",
|
|
69149
|
+
"module": "core/decorators/omit-empty-converter.js"
|
|
69150
|
+
}
|
|
69151
|
+
}
|
|
69152
|
+
]
|
|
69153
|
+
},
|
|
69154
|
+
{
|
|
69155
|
+
"kind": "javascript-module",
|
|
69156
|
+
"path": "core/decorators/plain-date.js",
|
|
69157
|
+
"declarations": [
|
|
69158
|
+
{
|
|
69159
|
+
"kind": "variable",
|
|
69160
|
+
"name": "plainDateConverter",
|
|
69161
|
+
"type": {
|
|
69162
|
+
"text": "ComplexAttributeConverter"
|
|
69163
|
+
},
|
|
69164
|
+
"default": "{ toAttribute(value, _type) { const dateAdapter = readConfig().datetime?.dateAdapter ?? defaultDateAdapter; return dateAdapter.isValid(value) ? dateAdapter.toIso8601(value) : null; }, }",
|
|
69165
|
+
"description": "Will convert date object values to ISO8601 formatted strings as attributes.\nShould be used together with the `plainDate` decorator."
|
|
69166
|
+
},
|
|
69167
|
+
{
|
|
69168
|
+
"kind": "function",
|
|
69169
|
+
"name": "plainDate",
|
|
69170
|
+
"parameters": [
|
|
69171
|
+
{
|
|
69172
|
+
"name": "config",
|
|
69173
|
+
"optional": true,
|
|
69174
|
+
"type": {
|
|
69175
|
+
"text": "SbbPlainDateConfiguration"
|
|
69176
|
+
}
|
|
69177
|
+
}
|
|
69178
|
+
],
|
|
69179
|
+
"description": "Decorator that tries to deserialize the given value to a date object\nand adapts the getter to only return a copy of the internal value,\nin order to avoid outside manipulation of date objects."
|
|
69180
|
+
}
|
|
69181
|
+
],
|
|
69182
|
+
"exports": [
|
|
69183
|
+
{
|
|
69184
|
+
"kind": "js",
|
|
69185
|
+
"name": "plainDateConverter",
|
|
69186
|
+
"declaration": {
|
|
69187
|
+
"name": "plainDateConverter",
|
|
69188
|
+
"module": "core/decorators/plain-date.js"
|
|
69189
|
+
}
|
|
69190
|
+
},
|
|
69191
|
+
{
|
|
69192
|
+
"kind": "js",
|
|
69193
|
+
"name": "plainDate",
|
|
69194
|
+
"declaration": {
|
|
69195
|
+
"name": "plainDate",
|
|
69196
|
+
"module": "core/decorators/plain-date.js"
|
|
69197
|
+
}
|
|
69198
|
+
}
|
|
69199
|
+
]
|
|
69200
|
+
},
|
|
69201
69201
|
{
|
|
69202
69202
|
"kind": "javascript-module",
|
|
69203
69203
|
"path": "core/eventing/composed-path-has-attribute.js",
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sbb-esta/lyne-elements-dev",
|
|
3
|
-
"version": "4.0.0-dev.
|
|
3
|
+
"version": "4.0.0-dev.1775568513",
|
|
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/a15403927d9c6d84c48e52bf8296c9c6ed0f085f"
|
|
10
10
|
],
|
|
11
11
|
"type": "module",
|
|
12
12
|
"exports": {
|