@sbb-esta/lyne-elements-dev 4.8.1-dev.1774008620 → 4.8.1-dev.1774014527

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 +223 -223
  2. package/package.json +2 -2
@@ -68244,229 +68244,6 @@
68244
68244
  }
68245
68245
  ]
68246
68246
  },
68247
- {
68248
- "kind": "javascript-module",
68249
- "path": "core/decorators/base.js",
68250
- "declarations": [],
68251
- "exports": []
68252
- },
68253
- {
68254
- "kind": "javascript-module",
68255
- "path": "core/decorators/force-type.js",
68256
- "declarations": [
68257
- {
68258
- "kind": "function",
68259
- "name": "forceType",
68260
- "return": {
68261
- "type": {
68262
- "text": "PropertyDecorator"
68263
- }
68264
- },
68265
- "parameters": [
68266
- {
68267
- "name": "convert",
68268
- "optional": true,
68269
- "type": {
68270
- "text": "(v: unknown) => V"
68271
- }
68272
- }
68273
- ],
68274
- "description": "Decorator that forces the value of a property or getter/setter\nto the defined type."
68275
- }
68276
- ],
68277
- "exports": [
68278
- {
68279
- "kind": "js",
68280
- "name": "forceType",
68281
- "declaration": {
68282
- "name": "forceType",
68283
- "module": "core/decorators/force-type.js"
68284
- }
68285
- }
68286
- ]
68287
- },
68288
- {
68289
- "kind": "javascript-module",
68290
- "path": "core/decorators/get-override.js",
68291
- "declarations": [
68292
- {
68293
- "kind": "function",
68294
- "name": "getOverride",
68295
- "parameters": [
68296
- {
68297
- "name": "callback",
68298
- "type": {
68299
- "text": "(instance: C, innerValue: V) => V"
68300
- }
68301
- }
68302
- ],
68303
- "description": "Decorator that overrides the underlying getter of the accessor."
68304
- }
68305
- ],
68306
- "exports": [
68307
- {
68308
- "kind": "js",
68309
- "name": "getOverride",
68310
- "declaration": {
68311
- "name": "getOverride",
68312
- "module": "core/decorators/get-override.js"
68313
- }
68314
- }
68315
- ]
68316
- },
68317
- {
68318
- "kind": "javascript-module",
68319
- "path": "core/decorators/handle-distinct-change.js",
68320
- "declarations": [
68321
- {
68322
- "kind": "function",
68323
- "name": "handleDistinctChange",
68324
- "parameters": [
68325
- {
68326
- "name": "callback",
68327
- "type": {
68328
- "text": "(instance: C, newValue: V, oldValue: V | undefined) => void"
68329
- }
68330
- }
68331
- ],
68332
- "description": "Decorator that calls the given callback when the value\nof the associated property is changed."
68333
- }
68334
- ],
68335
- "exports": [
68336
- {
68337
- "kind": "js",
68338
- "name": "handleDistinctChange",
68339
- "declaration": {
68340
- "name": "handleDistinctChange",
68341
- "module": "core/decorators/handle-distinct-change.js"
68342
- }
68343
- }
68344
- ]
68345
- },
68346
- {
68347
- "kind": "javascript-module",
68348
- "path": "core/decorators/host-attributes.js",
68349
- "declarations": [
68350
- {
68351
- "kind": "function",
68352
- "name": "hostAttributes",
68353
- "parameters": [
68354
- {
68355
- "name": "attributes",
68356
- "type": {
68357
- "text": "Record<string, string | null>"
68358
- },
68359
- "description": "A record of attributes to apply to the element."
68360
- }
68361
- ],
68362
- "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.",
68363
- "deprecated": "Will be removed with next major version."
68364
- }
68365
- ],
68366
- "exports": [
68367
- {
68368
- "kind": "js",
68369
- "name": "hostAttributes",
68370
- "declaration": {
68371
- "name": "hostAttributes",
68372
- "module": "core/decorators/host-attributes.js"
68373
- }
68374
- }
68375
- ]
68376
- },
68377
- {
68378
- "kind": "javascript-module",
68379
- "path": "core/decorators/id-reference.js",
68380
- "declarations": [
68381
- {
68382
- "kind": "function",
68383
- "name": "idReference",
68384
- "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."
68385
- }
68386
- ],
68387
- "exports": [
68388
- {
68389
- "kind": "js",
68390
- "name": "idReference",
68391
- "declaration": {
68392
- "name": "idReference",
68393
- "module": "core/decorators/id-reference.js"
68394
- }
68395
- }
68396
- ]
68397
- },
68398
- {
68399
- "kind": "javascript-module",
68400
- "path": "core/decorators/omit-empty-converter.js",
68401
- "declarations": [
68402
- {
68403
- "kind": "variable",
68404
- "name": "omitEmptyConverter",
68405
- "type": {
68406
- "text": "ComplexAttributeConverter"
68407
- },
68408
- "default": "{ toAttribute(value, type) { return ((type === String || type === undefined) && value === '') || (type === Number && isNaN(value as number)) ? null : defaultConverter.toAttribute!(value, type); }, }",
68409
- "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."
68410
- }
68411
- ],
68412
- "exports": [
68413
- {
68414
- "kind": "js",
68415
- "name": "omitEmptyConverter",
68416
- "declaration": {
68417
- "name": "omitEmptyConverter",
68418
- "module": "core/decorators/omit-empty-converter.js"
68419
- }
68420
- }
68421
- ]
68422
- },
68423
- {
68424
- "kind": "javascript-module",
68425
- "path": "core/decorators/plain-date.js",
68426
- "declarations": [
68427
- {
68428
- "kind": "variable",
68429
- "name": "plainDateConverter",
68430
- "type": {
68431
- "text": "ComplexAttributeConverter"
68432
- },
68433
- "default": "{ toAttribute(value, _type) { const dateAdapter = readConfig().datetime?.dateAdapter ?? defaultDateAdapter; return dateAdapter.isValid(value) ? dateAdapter.toIso8601(value) : null; }, }",
68434
- "description": "Will convert date object values to ISO8601 formatted strings as attributes.\nShould be used together with the `plainDate` decorator."
68435
- },
68436
- {
68437
- "kind": "function",
68438
- "name": "plainDate",
68439
- "parameters": [
68440
- {
68441
- "name": "config",
68442
- "optional": true,
68443
- "type": {
68444
- "text": "SbbPlainDateConfiguration"
68445
- }
68446
- }
68447
- ],
68448
- "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."
68449
- }
68450
- ],
68451
- "exports": [
68452
- {
68453
- "kind": "js",
68454
- "name": "plainDateConverter",
68455
- "declaration": {
68456
- "name": "plainDateConverter",
68457
- "module": "core/decorators/plain-date.js"
68458
- }
68459
- },
68460
- {
68461
- "kind": "js",
68462
- "name": "plainDate",
68463
- "declaration": {
68464
- "name": "plainDate",
68465
- "module": "core/decorators/plain-date.js"
68466
- }
68467
- }
68468
- ]
68469
- },
68470
68247
  {
68471
68248
  "kind": "javascript-module",
68472
68249
  "path": "core/dom/animation.js",
@@ -68905,6 +68682,229 @@
68905
68682
  }
68906
68683
  ]
68907
68684
  },
68685
+ {
68686
+ "kind": "javascript-module",
68687
+ "path": "core/decorators/base.js",
68688
+ "declarations": [],
68689
+ "exports": []
68690
+ },
68691
+ {
68692
+ "kind": "javascript-module",
68693
+ "path": "core/decorators/force-type.js",
68694
+ "declarations": [
68695
+ {
68696
+ "kind": "function",
68697
+ "name": "forceType",
68698
+ "return": {
68699
+ "type": {
68700
+ "text": "PropertyDecorator"
68701
+ }
68702
+ },
68703
+ "parameters": [
68704
+ {
68705
+ "name": "convert",
68706
+ "optional": true,
68707
+ "type": {
68708
+ "text": "(v: unknown) => V"
68709
+ }
68710
+ }
68711
+ ],
68712
+ "description": "Decorator that forces the value of a property or getter/setter\nto the defined type."
68713
+ }
68714
+ ],
68715
+ "exports": [
68716
+ {
68717
+ "kind": "js",
68718
+ "name": "forceType",
68719
+ "declaration": {
68720
+ "name": "forceType",
68721
+ "module": "core/decorators/force-type.js"
68722
+ }
68723
+ }
68724
+ ]
68725
+ },
68726
+ {
68727
+ "kind": "javascript-module",
68728
+ "path": "core/decorators/get-override.js",
68729
+ "declarations": [
68730
+ {
68731
+ "kind": "function",
68732
+ "name": "getOverride",
68733
+ "parameters": [
68734
+ {
68735
+ "name": "callback",
68736
+ "type": {
68737
+ "text": "(instance: C, innerValue: V) => V"
68738
+ }
68739
+ }
68740
+ ],
68741
+ "description": "Decorator that overrides the underlying getter of the accessor."
68742
+ }
68743
+ ],
68744
+ "exports": [
68745
+ {
68746
+ "kind": "js",
68747
+ "name": "getOverride",
68748
+ "declaration": {
68749
+ "name": "getOverride",
68750
+ "module": "core/decorators/get-override.js"
68751
+ }
68752
+ }
68753
+ ]
68754
+ },
68755
+ {
68756
+ "kind": "javascript-module",
68757
+ "path": "core/decorators/handle-distinct-change.js",
68758
+ "declarations": [
68759
+ {
68760
+ "kind": "function",
68761
+ "name": "handleDistinctChange",
68762
+ "parameters": [
68763
+ {
68764
+ "name": "callback",
68765
+ "type": {
68766
+ "text": "(instance: C, newValue: V, oldValue: V | undefined) => void"
68767
+ }
68768
+ }
68769
+ ],
68770
+ "description": "Decorator that calls the given callback when the value\nof the associated property is changed."
68771
+ }
68772
+ ],
68773
+ "exports": [
68774
+ {
68775
+ "kind": "js",
68776
+ "name": "handleDistinctChange",
68777
+ "declaration": {
68778
+ "name": "handleDistinctChange",
68779
+ "module": "core/decorators/handle-distinct-change.js"
68780
+ }
68781
+ }
68782
+ ]
68783
+ },
68784
+ {
68785
+ "kind": "javascript-module",
68786
+ "path": "core/decorators/host-attributes.js",
68787
+ "declarations": [
68788
+ {
68789
+ "kind": "function",
68790
+ "name": "hostAttributes",
68791
+ "parameters": [
68792
+ {
68793
+ "name": "attributes",
68794
+ "type": {
68795
+ "text": "Record<string, string | null>"
68796
+ },
68797
+ "description": "A record of attributes to apply to the element."
68798
+ }
68799
+ ],
68800
+ "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.",
68801
+ "deprecated": "Will be removed with next major version."
68802
+ }
68803
+ ],
68804
+ "exports": [
68805
+ {
68806
+ "kind": "js",
68807
+ "name": "hostAttributes",
68808
+ "declaration": {
68809
+ "name": "hostAttributes",
68810
+ "module": "core/decorators/host-attributes.js"
68811
+ }
68812
+ }
68813
+ ]
68814
+ },
68815
+ {
68816
+ "kind": "javascript-module",
68817
+ "path": "core/decorators/id-reference.js",
68818
+ "declarations": [
68819
+ {
68820
+ "kind": "function",
68821
+ "name": "idReference",
68822
+ "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."
68823
+ }
68824
+ ],
68825
+ "exports": [
68826
+ {
68827
+ "kind": "js",
68828
+ "name": "idReference",
68829
+ "declaration": {
68830
+ "name": "idReference",
68831
+ "module": "core/decorators/id-reference.js"
68832
+ }
68833
+ }
68834
+ ]
68835
+ },
68836
+ {
68837
+ "kind": "javascript-module",
68838
+ "path": "core/decorators/omit-empty-converter.js",
68839
+ "declarations": [
68840
+ {
68841
+ "kind": "variable",
68842
+ "name": "omitEmptyConverter",
68843
+ "type": {
68844
+ "text": "ComplexAttributeConverter"
68845
+ },
68846
+ "default": "{ toAttribute(value, type) { return ((type === String || type === undefined) && value === '') || (type === Number && isNaN(value as number)) ? null : defaultConverter.toAttribute!(value, type); }, }",
68847
+ "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."
68848
+ }
68849
+ ],
68850
+ "exports": [
68851
+ {
68852
+ "kind": "js",
68853
+ "name": "omitEmptyConverter",
68854
+ "declaration": {
68855
+ "name": "omitEmptyConverter",
68856
+ "module": "core/decorators/omit-empty-converter.js"
68857
+ }
68858
+ }
68859
+ ]
68860
+ },
68861
+ {
68862
+ "kind": "javascript-module",
68863
+ "path": "core/decorators/plain-date.js",
68864
+ "declarations": [
68865
+ {
68866
+ "kind": "variable",
68867
+ "name": "plainDateConverter",
68868
+ "type": {
68869
+ "text": "ComplexAttributeConverter"
68870
+ },
68871
+ "default": "{ toAttribute(value, _type) { const dateAdapter = readConfig().datetime?.dateAdapter ?? defaultDateAdapter; return dateAdapter.isValid(value) ? dateAdapter.toIso8601(value) : null; }, }",
68872
+ "description": "Will convert date object values to ISO8601 formatted strings as attributes.\nShould be used together with the `plainDate` decorator."
68873
+ },
68874
+ {
68875
+ "kind": "function",
68876
+ "name": "plainDate",
68877
+ "parameters": [
68878
+ {
68879
+ "name": "config",
68880
+ "optional": true,
68881
+ "type": {
68882
+ "text": "SbbPlainDateConfiguration"
68883
+ }
68884
+ }
68885
+ ],
68886
+ "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."
68887
+ }
68888
+ ],
68889
+ "exports": [
68890
+ {
68891
+ "kind": "js",
68892
+ "name": "plainDateConverter",
68893
+ "declaration": {
68894
+ "name": "plainDateConverter",
68895
+ "module": "core/decorators/plain-date.js"
68896
+ }
68897
+ },
68898
+ {
68899
+ "kind": "js",
68900
+ "name": "plainDate",
68901
+ "declaration": {
68902
+ "name": "plainDate",
68903
+ "module": "core/decorators/plain-date.js"
68904
+ }
68905
+ }
68906
+ ]
68907
+ },
68908
68908
  {
68909
68909
  "kind": "javascript-module",
68910
68910
  "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.8.1-dev.1774008620",
3
+ "version": "4.8.1-dev.1774014527",
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/447c797b0a68e0e7c665da24b594da82477b00a5"
9
+ "https://github.com/sbb-design-systems/lyne-components/commit/46ead935554285535af6fab6361b5b6b21cd1f55"
10
10
  ],
11
11
  "type": "module",
12
12
  "exports": {