@sbb-esta/lyne-elements-dev 5.13.2-dev.1794820732 → 5.13.2-dev.1794833748
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 +9 -9
- package/development/autocomplete/autocomplete/autocomplete-base-element.d.ts +2 -2
- package/development/autocomplete.pure.js +2 -2
- package/development/button/mini-button/mini-button.component.d.ts +1 -1
- package/development/button.pure.js +1 -1
- package/development/chip/chip-group/chip-group.component.d.ts +4 -4
- package/development/chip.pure.js +4 -4
- package/development/download.pure.js +1 -1
- package/development/icon-sidebar/icon-sidebar/icon-sidebar.component.d.ts +1 -1
- package/development/icon-sidebar.pure.js +1 -1
- package/development/icon.pure.js +1 -1
- package/package.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -40305,7 +40305,7 @@
|
|
|
40305
40305
|
"declarations": [
|
|
40306
40306
|
{
|
|
40307
40307
|
"kind": "class",
|
|
40308
|
-
"description": "It displays an icon-only button enhanced with the SBB Design;\nit's meant to be used mainly within the sbb-form-field in prefix/suffix slot\nor the `sbb-mini-button-group`.
|
|
40308
|
+
"description": "It displays an icon-only button enhanced with the SBB Design;\nit's meant to be used mainly within the sbb-form-field in prefix/suffix slot\nor the `sbb-mini-button-group`.",
|
|
40309
40309
|
"name": "SbbMiniButtonElement",
|
|
40310
40310
|
"slots": [
|
|
40311
40311
|
{
|
|
@@ -59566,7 +59566,7 @@
|
|
|
59566
59566
|
"text": "SbbChipElement<T>[]"
|
|
59567
59567
|
}
|
|
59568
59568
|
},
|
|
59569
|
-
"description": "Return the list of chip elements
|
|
59569
|
+
"description": "Return the list of chip elements"
|
|
59570
59570
|
},
|
|
59571
59571
|
{
|
|
59572
59572
|
"kind": "method",
|
|
@@ -59577,7 +59577,7 @@
|
|
|
59577
59577
|
"text": "SbbChipElement<T>[]"
|
|
59578
59578
|
}
|
|
59579
59579
|
},
|
|
59580
|
-
"description": "Return the list of enabled chip elements
|
|
59580
|
+
"description": "Return the list of enabled chip elements"
|
|
59581
59581
|
},
|
|
59582
59582
|
{
|
|
59583
59583
|
"kind": "method",
|
|
@@ -66844,7 +66844,7 @@
|
|
|
66844
66844
|
"text": "string"
|
|
66845
66845
|
},
|
|
66846
66846
|
"privacy": "protected",
|
|
66847
|
-
"deprecated": "
|
|
66847
|
+
"deprecated": "true",
|
|
66848
66848
|
"readonly": true
|
|
66849
66849
|
},
|
|
66850
66850
|
{
|
|
@@ -66855,7 +66855,7 @@
|
|
|
66855
66855
|
},
|
|
66856
66856
|
"privacy": "protected",
|
|
66857
66857
|
"default": "''",
|
|
66858
|
-
"deprecated": "
|
|
66858
|
+
"deprecated": "true"
|
|
66859
66859
|
},
|
|
66860
66860
|
{
|
|
66861
66861
|
"kind": "field",
|
|
@@ -69447,7 +69447,7 @@
|
|
|
69447
69447
|
"text": "string"
|
|
69448
69448
|
},
|
|
69449
69449
|
"privacy": "protected",
|
|
69450
|
-
"deprecated": "
|
|
69450
|
+
"deprecated": "true",
|
|
69451
69451
|
"readonly": true,
|
|
69452
69452
|
"inheritedFrom": {
|
|
69453
69453
|
"name": "SbbAutocompleteBaseElement",
|
|
@@ -69462,7 +69462,7 @@
|
|
|
69462
69462
|
},
|
|
69463
69463
|
"privacy": "protected",
|
|
69464
69464
|
"default": "''",
|
|
69465
|
-
"deprecated": "
|
|
69465
|
+
"deprecated": "true",
|
|
69466
69466
|
"inheritedFrom": {
|
|
69467
69467
|
"name": "SbbAutocompleteBaseElement",
|
|
69468
69468
|
"module": "autocomplete/autocomplete/autocomplete-base-element.js"
|
|
@@ -123357,7 +123357,7 @@
|
|
|
123357
123357
|
},
|
|
123358
123358
|
"privacy": "public",
|
|
123359
123359
|
"default": "'white'",
|
|
123360
|
-
"description": "Background color of the icon sidebar. Either `white` or `milk`.
|
|
123360
|
+
"description": "Background color of the icon sidebar. Either `white` or `milk`.",
|
|
123361
123361
|
"attribute": "color",
|
|
123362
123362
|
"reflects": true
|
|
123363
123363
|
},
|
|
@@ -123649,7 +123649,7 @@
|
|
|
123649
123649
|
"text": "'white' | 'milk'"
|
|
123650
123650
|
},
|
|
123651
123651
|
"default": "'white'",
|
|
123652
|
-
"description": "Background color of the icon sidebar. Either `white` or `milk`.
|
|
123652
|
+
"description": "Background color of the icon sidebar. Either `white` or `milk`.",
|
|
123653
123653
|
"fieldName": "color"
|
|
123654
123654
|
}
|
|
123655
123655
|
],
|
|
@@ -68,9 +68,9 @@ export declare abstract class SbbAutocompleteBaseElement<T = string> extends Sbb
|
|
|
68
68
|
/** Returns the trigger element. */
|
|
69
69
|
get triggerElement(): HTMLInputElement | null;
|
|
70
70
|
private _triggerElement?;
|
|
71
|
-
/** @deprecated
|
|
71
|
+
/** @deprecated */
|
|
72
72
|
protected get overlayId(): string;
|
|
73
|
-
/** @deprecated
|
|
73
|
+
/** @deprecated */
|
|
74
74
|
protected generatedId: string;
|
|
75
75
|
protected activeOption: SbbOptionBaseElement<T> | null;
|
|
76
76
|
protected pendingAutoSelectedOption: SbbOptionBaseElement<T> | null;
|
|
@@ -362,7 +362,7 @@ let SbbAutocompleteBaseElement = (() => {
|
|
|
362
362
|
get triggerElement() {
|
|
363
363
|
return this._triggerElement ?? null;
|
|
364
364
|
}
|
|
365
|
-
/** @deprecated
|
|
365
|
+
/** @deprecated */
|
|
366
366
|
get overlayId() {
|
|
367
367
|
return this.id;
|
|
368
368
|
}
|
|
@@ -379,7 +379,7 @@ let SbbAutocompleteBaseElement = (() => {
|
|
|
379
379
|
this.#requireSelection_accessor_storage = (__runInitializers(this, _autoSelectActiveOptionOnBlur_extraInitializers), __runInitializers(this, _requireSelection_initializers, false));
|
|
380
380
|
this.#position_accessor_storage = (__runInitializers(this, _requireSelection_extraInitializers), __runInitializers(this, _position_initializers, "auto"));
|
|
381
381
|
this._triggerElement = __runInitializers(this, _position_extraInitializers);
|
|
382
|
-
/** @deprecated
|
|
382
|
+
/** @deprecated */
|
|
383
383
|
this.generatedId = "";
|
|
384
384
|
this.activeOption = null;
|
|
385
385
|
this.pendingAutoSelectedOption = null;
|
|
@@ -4,7 +4,7 @@ declare const SbbMiniButtonElement_base: import("../../core.ts").AbstractConstru
|
|
|
4
4
|
/**
|
|
5
5
|
* It displays an icon-only button enhanced with the SBB Design;
|
|
6
6
|
* it's meant to be used mainly within the sbb-form-field in prefix/suffix slot
|
|
7
|
-
* or the `sbb-mini-button-group`.
|
|
7
|
+
* or the `sbb-mini-button-group`.
|
|
8
8
|
* @slot - Use the unnamed slot to add a label to the mini-button.
|
|
9
9
|
* @slot icon - Slot used to display the icon, if one is set
|
|
10
10
|
*/
|
|
@@ -210,7 +210,7 @@ var SbbTransparentButtonElement = class extends SbbButtonCommonElementMixin(SbbD
|
|
|
210
210
|
/**
|
|
211
211
|
* It displays an icon-only button enhanced with the SBB Design;
|
|
212
212
|
* it's meant to be used mainly within the sbb-form-field in prefix/suffix slot
|
|
213
|
-
* or the `sbb-mini-button-group`.
|
|
213
|
+
* or the `sbb-mini-button-group`.
|
|
214
214
|
* @slot - Use the unnamed slot to add a label to the mini-button.
|
|
215
215
|
* @slot icon - Slot used to display the icon, if one is set
|
|
216
216
|
*/
|
|
@@ -62,9 +62,9 @@ export declare class SbbChipGroupElement<T = string> extends SbbChipGroupElement
|
|
|
62
62
|
private _readFormData;
|
|
63
63
|
protected shouldValidate(name: PropertyKey | undefined): boolean;
|
|
64
64
|
protected validate(): void;
|
|
65
|
-
/** Return the list of chip elements
|
|
65
|
+
/** Return the list of chip elements */
|
|
66
66
|
private _chipElements;
|
|
67
|
-
/** Return the list of enabled chip elements
|
|
67
|
+
/** Return the list of enabled chip elements */
|
|
68
68
|
private _enabledChipElements;
|
|
69
69
|
private _setupComponent;
|
|
70
70
|
/**
|
|
@@ -73,11 +73,11 @@ export declare class SbbChipGroupElement<T = string> extends SbbChipGroupElement
|
|
|
73
73
|
private _onChipKeyDown;
|
|
74
74
|
/**
|
|
75
75
|
* Listen for keyboard events on the input
|
|
76
|
-
|
|
76
|
+
*/
|
|
77
77
|
private _onInputKeyDown;
|
|
78
78
|
/**
|
|
79
79
|
* Handle blur event on the input
|
|
80
|
-
|
|
80
|
+
*/
|
|
81
81
|
private _onInputBlur;
|
|
82
82
|
/**
|
|
83
83
|
* If the input is not empty, create a chip with its value
|
package/development/chip.pure.js
CHANGED
|
@@ -356,11 +356,11 @@ let SbbChipGroupElement = (() => {
|
|
|
356
356
|
if (this.required && this.value.length === 0) this.setValidityFlag("valueMissing", i18nSelectionRequired[this._language.current]);
|
|
357
357
|
else this.removeValidityFlag("valueMissing");
|
|
358
358
|
}
|
|
359
|
-
/** Return the list of chip elements
|
|
359
|
+
/** Return the list of chip elements */
|
|
360
360
|
_chipElements() {
|
|
361
361
|
return Array.from(this.querySelectorAll?.("sbb-chip") ?? []);
|
|
362
362
|
}
|
|
363
|
-
/** Return the list of enabled chip elements
|
|
363
|
+
/** Return the list of enabled chip elements */
|
|
364
364
|
_enabledChipElements() {
|
|
365
365
|
return Array.from(this.querySelectorAll?.("sbb-chip:not([disabled])") ?? []);
|
|
366
366
|
}
|
|
@@ -409,7 +409,7 @@ let SbbChipGroupElement = (() => {
|
|
|
409
409
|
}
|
|
410
410
|
/**
|
|
411
411
|
* Listen for keyboard events on the input
|
|
412
|
-
|
|
412
|
+
*/
|
|
413
413
|
_onInputKeyDown(event) {
|
|
414
414
|
switch (event.key) {
|
|
415
415
|
case "Backspace":
|
|
@@ -425,7 +425,7 @@ let SbbChipGroupElement = (() => {
|
|
|
425
425
|
}
|
|
426
426
|
/**
|
|
427
427
|
* Handle blur event on the input
|
|
428
|
-
|
|
428
|
+
*/
|
|
429
429
|
_onInputBlur() {
|
|
430
430
|
if (this.addOnBlur) this._createChipFromInput("input");
|
|
431
431
|
}
|
|
@@ -353,7 +353,7 @@ let SbbDownloadInfoElement = (() => {
|
|
|
353
353
|
this._typeRedundant = false;
|
|
354
354
|
this._resolvedSize = "";
|
|
355
355
|
this._resolvedChanged = "";
|
|
356
|
-
/** @internal
|
|
356
|
+
/** @internal */
|
|
357
357
|
this.internals.ariaHidden = "true";
|
|
358
358
|
this.addController(new SbbPropertyWatcherController(this, () => this.closest("sbb-download"), {
|
|
359
359
|
href: () => this.requestUpdate(),
|
|
@@ -10,7 +10,7 @@ export declare class SbbIconSidebarElement extends SbbElement {
|
|
|
10
10
|
static readonly elementName: string;
|
|
11
11
|
static readonly role = "navigation";
|
|
12
12
|
static styles: CSSResultGroup;
|
|
13
|
-
/** Background color of the icon sidebar. Either `white` or `milk`.
|
|
13
|
+
/** Background color of the icon sidebar. Either `white` or `milk`. */
|
|
14
14
|
accessor color: 'white' | 'milk';
|
|
15
15
|
/** Returns the SbbIconSidebarContainerElement where this icon-sidebar is contained. */
|
|
16
16
|
get container(): SbbIconSidebarContainerElement | null;
|
|
@@ -175,7 +175,7 @@ let SbbIconSidebarElement = (() => {
|
|
|
175
175
|
this.styles = [hostScrollbarStyles, unsafeCSS(icon_sidebar_default)];
|
|
176
176
|
}
|
|
177
177
|
#color_accessor_storage = __runInitializers(this, _color_initializers, "white");
|
|
178
|
-
/** Background color of the icon sidebar. Either `white` or `milk`.
|
|
178
|
+
/** Background color of the icon sidebar. Either `white` or `milk`. */
|
|
179
179
|
get color() {
|
|
180
180
|
return this.#color_accessor_storage;
|
|
181
181
|
}
|
package/development/icon.pure.js
CHANGED
|
@@ -329,7 +329,7 @@ let SbbIconElement = (() => {
|
|
|
329
329
|
constructor() {
|
|
330
330
|
super();
|
|
331
331
|
__runInitializers(this, __sbbAngularCompatibility_extraInitializers);
|
|
332
|
-
/** @internal
|
|
332
|
+
/** @internal */
|
|
333
333
|
this.internals.ariaHidden = "true";
|
|
334
334
|
}
|
|
335
335
|
async fetchSvgIcon(namespace, name) {
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sbb-esta/lyne-elements-dev",
|
|
3
|
-
"version": "5.13.2-dev.
|
|
3
|
+
"version": "5.13.2-dev.1794833748",
|
|
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/93adc44403a4eaf2dfc7f580826a12d9be73415f"
|
|
10
10
|
],
|
|
11
11
|
"type": "module",
|
|
12
12
|
"exports": {
|