@sbb-esta/lyne-react-dev 5.12.0-dev.1792790078 → 5.12.0-dev.1792975283
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/development/accordion.js +1 -2
- package/development/action-group.js +1 -2
- package/development/alert.js +2 -4
- package/development/autocomplete.js +3 -6
- package/development/breadcrumb.js +2 -4
- package/development/button.js +15 -30
- package/development/calendar.js +6 -12
- package/development/card.js +4 -8
- package/development/carousel.js +3 -6
- package/development/checkbox-group.js +1 -2
- package/development/checkbox-panel.js +1 -2
- package/development/checkbox.js +1 -2
- package/development/chip-label.js +1 -2
- package/development/chip.js +2 -4
- package/development/clock.js +1 -2
- package/development/container.js +2 -4
- package/development/core.js +1 -2
- package/development/date-input.js +1 -2
- package/development/datepicker.js +4 -8
- package/development/dialog.js +5 -10
- package/development/divider.js +1 -2
- package/development/download.js +2 -4
- package/development/expansion-panel.js +3 -6
- package/development/file-selector.js +2 -4
- package/development/flip-card.js +3 -6
- package/development/footer.js +1 -2
- package/development/form-field.js +5 -10
- package/development/header.js +4 -8
- package/development/icon-sidebar.js +5 -10
- package/development/icon.js +1 -2
- package/development/image.js +1 -2
- package/development/journey-header.js +1 -2
- package/development/lead-container.js +1 -2
- package/development/link-list-anchor.js +1 -2
- package/development/link-list.js +1 -2
- package/development/link.js +6 -12
- package/development/loading-indicator-circle.js +1 -2
- package/development/loading-indicator.js +1 -2
- package/development/logo.js +5 -10
- package/development/map-container.js +1 -2
- package/development/menu.js +3 -6
- package/development/message.js +1 -2
- package/development/mini-calendar.js +3 -6
- package/development/navigation.js +6 -12
- package/development/notification.js +1 -2
- package/development/option.js +3 -6
- package/development/overlay.js +1 -2
- package/development/paginator.js +2 -4
- package/development/pearl-chain.js +2 -4
- package/development/popover.js +2 -4
- package/development/radio-button-group.js +1 -2
- package/development/radio-button-panel.js +1 -2
- package/development/radio-button.js +1 -2
- package/development/select.js +1 -2
- package/development/selection-action-panel.js +1 -2
- package/development/selection-expansion-panel.js +1 -2
- package/development/sidebar.js +5 -10
- package/development/signet.js +1 -2
- package/development/skiplink-list.js +1 -2
- package/development/slider.js +1 -2
- package/development/status.js +1 -2
- package/development/stepper.js +3 -6
- package/development/table.js +1 -2
- package/development/tabs.js +4 -8
- package/development/tag.js +2 -4
- package/development/teaser-hero.js +1 -2
- package/development/teaser-panel.js +1 -2
- package/development/teaser-product.js +2 -4
- package/development/teaser.js +2 -4
- package/development/time-input.js +1 -2
- package/development/timetable-form.js +4 -8
- package/development/timetable-occupancy-icon.js +1 -2
- package/development/timetable-occupancy.js +1 -2
- package/development/title.js +1 -2
- package/development/toast.js +1 -2
- package/development/toggle-check.js +1 -2
- package/development/toggle.js +2 -4
- package/development/tooltip.js +1 -2
- package/development/train.js +6 -12
- package/development/visual-checkbox.js +1 -2
- package/package.json +2 -2
package/development/accordion.js
CHANGED
|
@@ -2,12 +2,11 @@ import { createComponent } from "./core.js";
|
|
|
2
2
|
import { SbbAccordionElement } from "@sbb-esta/lyne-elements/accordion.pure.js";
|
|
3
3
|
import react from "react";
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
// src/react/accordion/accordion.component.ts
|
|
6
6
|
const SbbAccordion = createComponent({
|
|
7
7
|
tagName: "sbb-accordion",
|
|
8
8
|
elementClass: SbbAccordionElement,
|
|
9
9
|
react
|
|
10
10
|
});
|
|
11
11
|
|
|
12
|
-
//#endregion
|
|
13
12
|
export { SbbAccordion };
|
|
@@ -2,12 +2,11 @@ import { createComponent } from "./core.js";
|
|
|
2
2
|
import { SbbActionGroupElement } from "@sbb-esta/lyne-elements/action-group.pure.js";
|
|
3
3
|
import react from "react";
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
// src/react/action-group/action-group.component.ts
|
|
6
6
|
const SbbActionGroup = createComponent({
|
|
7
7
|
tagName: "sbb-action-group",
|
|
8
8
|
elementClass: SbbActionGroupElement,
|
|
9
9
|
react
|
|
10
10
|
});
|
|
11
11
|
|
|
12
|
-
//#endregion
|
|
13
12
|
export { SbbActionGroup };
|
package/development/alert.js
CHANGED
|
@@ -2,7 +2,7 @@ import { createComponent } from "./core.js";
|
|
|
2
2
|
import { SbbAlertElement, SbbAlertGroupElement } from "@sbb-esta/lyne-elements/alert.pure.js";
|
|
3
3
|
import react from "react";
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
// src/react/alert/alert/alert.component.ts
|
|
6
6
|
const SbbAlert = createComponent({
|
|
7
7
|
tagName: "sbb-alert",
|
|
8
8
|
elementClass: SbbAlertElement,
|
|
@@ -15,8 +15,7 @@ const SbbAlert = createComponent({
|
|
|
15
15
|
}
|
|
16
16
|
});
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
//#region src/react/alert/alert-group/alert-group.component.ts
|
|
18
|
+
// src/react/alert/alert-group/alert-group.component.ts
|
|
20
19
|
const SbbAlertGroup = createComponent({
|
|
21
20
|
tagName: "sbb-alert-group",
|
|
22
21
|
elementClass: SbbAlertGroupElement,
|
|
@@ -24,5 +23,4 @@ const SbbAlertGroup = createComponent({
|
|
|
24
23
|
events: { "onEmpty": "empty" }
|
|
25
24
|
});
|
|
26
25
|
|
|
27
|
-
//#endregion
|
|
28
26
|
export { SbbAlert, SbbAlertGroup };
|
|
@@ -2,7 +2,7 @@ import { createComponent } from "./core.js";
|
|
|
2
2
|
import { SbbAutocompleteButtonElement, SbbAutocompleteElement, SbbAutocompleteRowElement } from "@sbb-esta/lyne-elements/autocomplete.pure.js";
|
|
3
3
|
import react from "react";
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
// src/react/autocomplete/autocomplete/autocomplete.component.ts
|
|
6
6
|
const SbbAutocompleteComponent = SbbAutocompleteElement;
|
|
7
7
|
const SbbAutocomplete = createComponent({
|
|
8
8
|
tagName: "sbb-autocomplete",
|
|
@@ -18,21 +18,18 @@ const SbbAutocomplete = createComponent({
|
|
|
18
18
|
}
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
//#region src/react/autocomplete/autocomplete-button/autocomplete-button.component.ts
|
|
21
|
+
// src/react/autocomplete/autocomplete-button/autocomplete-button.component.ts
|
|
23
22
|
const SbbAutocompleteButton = createComponent({
|
|
24
23
|
tagName: "sbb-autocomplete-button",
|
|
25
24
|
elementClass: SbbAutocompleteButtonElement,
|
|
26
25
|
react
|
|
27
26
|
});
|
|
28
27
|
|
|
29
|
-
|
|
30
|
-
//#region src/react/autocomplete/autocomplete-row/autocomplete-row.component.ts
|
|
28
|
+
// src/react/autocomplete/autocomplete-row/autocomplete-row.component.ts
|
|
31
29
|
const SbbAutocompleteRow = createComponent({
|
|
32
30
|
tagName: "sbb-autocomplete-row",
|
|
33
31
|
elementClass: SbbAutocompleteRowElement,
|
|
34
32
|
react
|
|
35
33
|
});
|
|
36
34
|
|
|
37
|
-
//#endregion
|
|
38
35
|
export { SbbAutocomplete, SbbAutocompleteButton, SbbAutocompleteRow };
|
|
@@ -2,20 +2,18 @@ import { createComponent } from "./core.js";
|
|
|
2
2
|
import { SbbBreadcrumbElement, SbbBreadcrumbGroupElement } from "@sbb-esta/lyne-elements/breadcrumb.pure.js";
|
|
3
3
|
import react from "react";
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
// src/react/breadcrumb/breadcrumb/breadcrumb.component.ts
|
|
6
6
|
const SbbBreadcrumb = createComponent({
|
|
7
7
|
tagName: "sbb-breadcrumb",
|
|
8
8
|
elementClass: SbbBreadcrumbElement,
|
|
9
9
|
react
|
|
10
10
|
});
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
//#region src/react/breadcrumb/breadcrumb-group/breadcrumb-group.component.ts
|
|
12
|
+
// src/react/breadcrumb/breadcrumb-group/breadcrumb-group.component.ts
|
|
14
13
|
const SbbBreadcrumbGroup = createComponent({
|
|
15
14
|
tagName: "sbb-breadcrumb-group",
|
|
16
15
|
elementClass: SbbBreadcrumbGroupElement,
|
|
17
16
|
react
|
|
18
17
|
});
|
|
19
18
|
|
|
20
|
-
//#endregion
|
|
21
19
|
export { SbbBreadcrumb, SbbBreadcrumbGroup };
|
package/development/button.js
CHANGED
|
@@ -2,7 +2,7 @@ import { createComponent } from "./core.js";
|
|
|
2
2
|
import { SbbAccentButtonElement, SbbAccentButtonLinkElement, SbbAccentButtonStaticElement, SbbButtonElement, SbbButtonLinkElement, SbbButtonStaticElement, SbbMiniButtonElement, SbbMiniButtonGroupElement, SbbMiniButtonLinkElement, SbbSecondaryButtonElement, SbbSecondaryButtonLinkElement, SbbSecondaryButtonStaticElement, SbbTransparentButtonElement, SbbTransparentButtonLinkElement, SbbTransparentButtonStaticElement } from "@sbb-esta/lyne-elements/button.pure.js";
|
|
3
3
|
import react from "react";
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
// src/react/button/accent-button/accent-button.component.ts
|
|
6
6
|
const SbbAccentButtonComponent = SbbAccentButtonElement;
|
|
7
7
|
const SbbAccentButton = createComponent({
|
|
8
8
|
tagName: "sbb-accent-button",
|
|
@@ -11,8 +11,7 @@ const SbbAccentButton = createComponent({
|
|
|
11
11
|
events: { "onValidity": "validity" }
|
|
12
12
|
});
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
//#region src/react/button/accent-button-link/accent-button-link.component.ts
|
|
14
|
+
// src/react/button/accent-button-link/accent-button-link.component.ts
|
|
16
15
|
const SbbAccentButtonLinkComponent = SbbAccentButtonLinkElement;
|
|
17
16
|
const SbbAccentButtonLink = createComponent({
|
|
18
17
|
tagName: "sbb-accent-button-link",
|
|
@@ -20,8 +19,7 @@ const SbbAccentButtonLink = createComponent({
|
|
|
20
19
|
react
|
|
21
20
|
});
|
|
22
21
|
|
|
23
|
-
|
|
24
|
-
//#region src/react/button/accent-button-static/accent-button-static.component.ts
|
|
22
|
+
// src/react/button/accent-button-static/accent-button-static.component.ts
|
|
25
23
|
const SbbAccentButtonStaticComponent = SbbAccentButtonStaticElement;
|
|
26
24
|
const SbbAccentButtonStatic = createComponent({
|
|
27
25
|
tagName: "sbb-accent-button-static",
|
|
@@ -29,8 +27,7 @@ const SbbAccentButtonStatic = createComponent({
|
|
|
29
27
|
react
|
|
30
28
|
});
|
|
31
29
|
|
|
32
|
-
|
|
33
|
-
//#region src/react/button/button/button.component.ts
|
|
30
|
+
// src/react/button/button/button.component.ts
|
|
34
31
|
const SbbButtonComponent = SbbButtonElement;
|
|
35
32
|
const SbbButton = createComponent({
|
|
36
33
|
tagName: "sbb-button",
|
|
@@ -39,8 +36,7 @@ const SbbButton = createComponent({
|
|
|
39
36
|
events: { "onValidity": "validity" }
|
|
40
37
|
});
|
|
41
38
|
|
|
42
|
-
|
|
43
|
-
//#region src/react/button/button-link/button-link.component.ts
|
|
39
|
+
// src/react/button/button-link/button-link.component.ts
|
|
44
40
|
const SbbButtonLinkComponent = SbbButtonLinkElement;
|
|
45
41
|
const SbbButtonLink = createComponent({
|
|
46
42
|
tagName: "sbb-button-link",
|
|
@@ -48,8 +44,7 @@ const SbbButtonLink = createComponent({
|
|
|
48
44
|
react
|
|
49
45
|
});
|
|
50
46
|
|
|
51
|
-
|
|
52
|
-
//#region src/react/button/button-static/button-static.component.ts
|
|
47
|
+
// src/react/button/button-static/button-static.component.ts
|
|
53
48
|
const SbbButtonStaticComponent = SbbButtonStaticElement;
|
|
54
49
|
const SbbButtonStatic = createComponent({
|
|
55
50
|
tagName: "sbb-button-static",
|
|
@@ -57,8 +52,7 @@ const SbbButtonStatic = createComponent({
|
|
|
57
52
|
react
|
|
58
53
|
});
|
|
59
54
|
|
|
60
|
-
|
|
61
|
-
//#region src/react/button/mini-button/mini-button.component.ts
|
|
55
|
+
// src/react/button/mini-button/mini-button.component.ts
|
|
62
56
|
const SbbMiniButtonComponent = SbbMiniButtonElement;
|
|
63
57
|
const SbbMiniButton = createComponent({
|
|
64
58
|
tagName: "sbb-mini-button",
|
|
@@ -67,24 +61,21 @@ const SbbMiniButton = createComponent({
|
|
|
67
61
|
events: { "onValidity": "validity" }
|
|
68
62
|
});
|
|
69
63
|
|
|
70
|
-
|
|
71
|
-
//#region src/react/button/mini-button-group/mini-button-group.component.ts
|
|
64
|
+
// src/react/button/mini-button-group/mini-button-group.component.ts
|
|
72
65
|
const SbbMiniButtonGroup = createComponent({
|
|
73
66
|
tagName: "sbb-mini-button-group",
|
|
74
67
|
elementClass: SbbMiniButtonGroupElement,
|
|
75
68
|
react
|
|
76
69
|
});
|
|
77
70
|
|
|
78
|
-
|
|
79
|
-
//#region src/react/button/mini-button-link/mini-button-link.component.ts
|
|
71
|
+
// src/react/button/mini-button-link/mini-button-link.component.ts
|
|
80
72
|
const SbbMiniButtonLink = createComponent({
|
|
81
73
|
tagName: "sbb-mini-button-link",
|
|
82
74
|
elementClass: SbbMiniButtonLinkElement,
|
|
83
75
|
react
|
|
84
76
|
});
|
|
85
77
|
|
|
86
|
-
|
|
87
|
-
//#region src/react/button/secondary-button/secondary-button.component.ts
|
|
78
|
+
// src/react/button/secondary-button/secondary-button.component.ts
|
|
88
79
|
const SbbSecondaryButtonComponent = SbbSecondaryButtonElement;
|
|
89
80
|
const SbbSecondaryButton = createComponent({
|
|
90
81
|
tagName: "sbb-secondary-button",
|
|
@@ -93,8 +84,7 @@ const SbbSecondaryButton = createComponent({
|
|
|
93
84
|
events: { "onValidity": "validity" }
|
|
94
85
|
});
|
|
95
86
|
|
|
96
|
-
|
|
97
|
-
//#region src/react/button/secondary-button-link/secondary-button-link.component.ts
|
|
87
|
+
// src/react/button/secondary-button-link/secondary-button-link.component.ts
|
|
98
88
|
const SbbSecondaryButtonLinkComponent = SbbSecondaryButtonLinkElement;
|
|
99
89
|
const SbbSecondaryButtonLink = createComponent({
|
|
100
90
|
tagName: "sbb-secondary-button-link",
|
|
@@ -102,8 +92,7 @@ const SbbSecondaryButtonLink = createComponent({
|
|
|
102
92
|
react
|
|
103
93
|
});
|
|
104
94
|
|
|
105
|
-
|
|
106
|
-
//#region src/react/button/secondary-button-static/secondary-button-static.component.ts
|
|
95
|
+
// src/react/button/secondary-button-static/secondary-button-static.component.ts
|
|
107
96
|
const SbbSecondaryButtonStaticComponent = SbbSecondaryButtonStaticElement;
|
|
108
97
|
const SbbSecondaryButtonStatic = createComponent({
|
|
109
98
|
tagName: "sbb-secondary-button-static",
|
|
@@ -111,8 +100,7 @@ const SbbSecondaryButtonStatic = createComponent({
|
|
|
111
100
|
react
|
|
112
101
|
});
|
|
113
102
|
|
|
114
|
-
|
|
115
|
-
//#region src/react/button/transparent-button/transparent-button.component.ts
|
|
103
|
+
// src/react/button/transparent-button/transparent-button.component.ts
|
|
116
104
|
const SbbTransparentButtonComponent = SbbTransparentButtonElement;
|
|
117
105
|
const SbbTransparentButton = createComponent({
|
|
118
106
|
tagName: "sbb-transparent-button",
|
|
@@ -121,8 +109,7 @@ const SbbTransparentButton = createComponent({
|
|
|
121
109
|
events: { "onValidity": "validity" }
|
|
122
110
|
});
|
|
123
111
|
|
|
124
|
-
|
|
125
|
-
//#region src/react/button/transparent-button-link/transparent-button-link.component.ts
|
|
112
|
+
// src/react/button/transparent-button-link/transparent-button-link.component.ts
|
|
126
113
|
const SbbTransparentButtonLinkComponent = SbbTransparentButtonLinkElement;
|
|
127
114
|
const SbbTransparentButtonLink = createComponent({
|
|
128
115
|
tagName: "sbb-transparent-button-link",
|
|
@@ -130,8 +117,7 @@ const SbbTransparentButtonLink = createComponent({
|
|
|
130
117
|
react
|
|
131
118
|
});
|
|
132
119
|
|
|
133
|
-
|
|
134
|
-
//#region src/react/button/transparent-button-static/transparent-button-static.component.ts
|
|
120
|
+
// src/react/button/transparent-button-static/transparent-button-static.component.ts
|
|
135
121
|
const SbbTransparentButtonStaticComponent = SbbTransparentButtonStaticElement;
|
|
136
122
|
const SbbTransparentButtonStatic = createComponent({
|
|
137
123
|
tagName: "sbb-transparent-button-static",
|
|
@@ -139,5 +125,4 @@ const SbbTransparentButtonStatic = createComponent({
|
|
|
139
125
|
react
|
|
140
126
|
});
|
|
141
127
|
|
|
142
|
-
//#endregion
|
|
143
128
|
export { SbbAccentButton, SbbAccentButtonLink, SbbAccentButtonStatic, SbbButton, SbbButtonLink, SbbButtonStatic, SbbMiniButton, SbbMiniButtonGroup, SbbMiniButtonLink, SbbSecondaryButton, SbbSecondaryButtonLink, SbbSecondaryButtonStatic, SbbTransparentButton, SbbTransparentButtonLink, SbbTransparentButtonStatic };
|
package/development/calendar.js
CHANGED
|
@@ -2,7 +2,7 @@ import { createComponent } from "./core.js";
|
|
|
2
2
|
import { SbbCalendarDayElement, SbbCalendarElement, SbbCalendarMonthElement, SbbCalendarWeekdayElement, SbbCalendarWeeknumberElement, SbbCalendarYearElement } from "@sbb-esta/lyne-elements/calendar.pure.js";
|
|
3
3
|
import react from "react";
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
// src/react/calendar/calendar/calendar.component.ts
|
|
6
6
|
const SbbCalendar = createComponent({
|
|
7
7
|
tagName: "sbb-calendar",
|
|
8
8
|
elementClass: SbbCalendarElement,
|
|
@@ -16,8 +16,7 @@ const SbbCalendar = createComponent({
|
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
//#region src/react/calendar/calendar-day/calendar-day.component.ts
|
|
19
|
+
// src/react/calendar/calendar-day/calendar-day.component.ts
|
|
21
20
|
const SbbCalendarDay = createComponent({
|
|
22
21
|
tagName: "sbb-calendar-day",
|
|
23
22
|
elementClass: SbbCalendarDayElement,
|
|
@@ -25,8 +24,7 @@ const SbbCalendarDay = createComponent({
|
|
|
25
24
|
events: { "onValidity": "validity" }
|
|
26
25
|
});
|
|
27
26
|
|
|
28
|
-
|
|
29
|
-
//#region src/react/calendar/calendar-month/calendar-month.component.ts
|
|
27
|
+
// src/react/calendar/calendar-month/calendar-month.component.ts
|
|
30
28
|
const SbbCalendarMonth = createComponent({
|
|
31
29
|
tagName: "sbb-calendar-month",
|
|
32
30
|
elementClass: SbbCalendarMonthElement,
|
|
@@ -34,8 +32,7 @@ const SbbCalendarMonth = createComponent({
|
|
|
34
32
|
events: { "onValidity": "validity" }
|
|
35
33
|
});
|
|
36
34
|
|
|
37
|
-
|
|
38
|
-
//#region src/react/calendar/calendar-weekday/calendar-weekday.component.ts
|
|
35
|
+
// src/react/calendar/calendar-weekday/calendar-weekday.component.ts
|
|
39
36
|
const SbbCalendarWeekday = createComponent({
|
|
40
37
|
tagName: "sbb-calendar-weekday",
|
|
41
38
|
elementClass: SbbCalendarWeekdayElement,
|
|
@@ -43,8 +40,7 @@ const SbbCalendarWeekday = createComponent({
|
|
|
43
40
|
events: { "onValidity": "validity" }
|
|
44
41
|
});
|
|
45
42
|
|
|
46
|
-
|
|
47
|
-
//#region src/react/calendar/calendar-weeknumber/calendar-weeknumber.component.ts
|
|
43
|
+
// src/react/calendar/calendar-weeknumber/calendar-weeknumber.component.ts
|
|
48
44
|
const SbbCalendarWeeknumber = createComponent({
|
|
49
45
|
tagName: "sbb-calendar-weeknumber",
|
|
50
46
|
elementClass: SbbCalendarWeeknumberElement,
|
|
@@ -52,8 +48,7 @@ const SbbCalendarWeeknumber = createComponent({
|
|
|
52
48
|
events: { "onValidity": "validity" }
|
|
53
49
|
});
|
|
54
50
|
|
|
55
|
-
|
|
56
|
-
//#region src/react/calendar/calendar-year/calendar-year.component.ts
|
|
51
|
+
// src/react/calendar/calendar-year/calendar-year.component.ts
|
|
57
52
|
const SbbCalendarYear = createComponent({
|
|
58
53
|
tagName: "sbb-calendar-year",
|
|
59
54
|
elementClass: SbbCalendarYearElement,
|
|
@@ -61,5 +56,4 @@ const SbbCalendarYear = createComponent({
|
|
|
61
56
|
events: { "onValidity": "validity" }
|
|
62
57
|
});
|
|
63
58
|
|
|
64
|
-
//#endregion
|
|
65
59
|
export { SbbCalendar, SbbCalendarDay, SbbCalendarMonth, SbbCalendarWeekday, SbbCalendarWeeknumber, SbbCalendarYear };
|
package/development/card.js
CHANGED
|
@@ -2,23 +2,21 @@ import { createComponent } from "./core.js";
|
|
|
2
2
|
import { SbbCardBadgeElement, SbbCardButtonElement, SbbCardElement, SbbCardLinkElement } from "@sbb-esta/lyne-elements/card.pure.js";
|
|
3
3
|
import react from "react";
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
// src/react/card/card/card.component.ts
|
|
6
6
|
const SbbCard = createComponent({
|
|
7
7
|
tagName: "sbb-card",
|
|
8
8
|
elementClass: SbbCardElement,
|
|
9
9
|
react
|
|
10
10
|
});
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
//#region src/react/card/card-badge/card-badge.component.ts
|
|
12
|
+
// src/react/card/card-badge/card-badge.component.ts
|
|
14
13
|
const SbbCardBadge = createComponent({
|
|
15
14
|
tagName: "sbb-card-badge",
|
|
16
15
|
elementClass: SbbCardBadgeElement,
|
|
17
16
|
react
|
|
18
17
|
});
|
|
19
18
|
|
|
20
|
-
|
|
21
|
-
//#region src/react/card/card-button/card-button.component.ts
|
|
19
|
+
// src/react/card/card-button/card-button.component.ts
|
|
22
20
|
const SbbCardButtonComponent = SbbCardButtonElement;
|
|
23
21
|
const SbbCardButton = createComponent({
|
|
24
22
|
tagName: "sbb-card-button",
|
|
@@ -27,13 +25,11 @@ const SbbCardButton = createComponent({
|
|
|
27
25
|
events: { "onValidity": "validity" }
|
|
28
26
|
});
|
|
29
27
|
|
|
30
|
-
|
|
31
|
-
//#region src/react/card/card-link/card-link.component.ts
|
|
28
|
+
// src/react/card/card-link/card-link.component.ts
|
|
32
29
|
const SbbCardLink = createComponent({
|
|
33
30
|
tagName: "sbb-card-link",
|
|
34
31
|
elementClass: SbbCardLinkElement,
|
|
35
32
|
react
|
|
36
33
|
});
|
|
37
34
|
|
|
38
|
-
//#endregion
|
|
39
35
|
export { SbbCard, SbbCardBadge, SbbCardButton, SbbCardLink };
|
package/development/carousel.js
CHANGED
|
@@ -2,15 +2,14 @@ import { createComponent } from "./core.js";
|
|
|
2
2
|
import { SbbCarouselElement, SbbCarouselItemElement, SbbCarouselListElement } from "@sbb-esta/lyne-elements/carousel.pure.js";
|
|
3
3
|
import react from "react";
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
// src/react/carousel/carousel/carousel.component.ts
|
|
6
6
|
const SbbCarousel = createComponent({
|
|
7
7
|
tagName: "sbb-carousel",
|
|
8
8
|
elementClass: SbbCarouselElement,
|
|
9
9
|
react
|
|
10
10
|
});
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
//#region src/react/carousel/carousel-item/carousel-item.component.ts
|
|
12
|
+
// src/react/carousel/carousel-item/carousel-item.component.ts
|
|
14
13
|
const SbbCarouselItem = createComponent({
|
|
15
14
|
tagName: "sbb-carousel-item",
|
|
16
15
|
elementClass: SbbCarouselItemElement,
|
|
@@ -21,13 +20,11 @@ const SbbCarouselItem = createComponent({
|
|
|
21
20
|
}
|
|
22
21
|
});
|
|
23
22
|
|
|
24
|
-
|
|
25
|
-
//#region src/react/carousel/carousel-list/carousel-list.component.ts
|
|
23
|
+
// src/react/carousel/carousel-list/carousel-list.component.ts
|
|
26
24
|
const SbbCarouselList = createComponent({
|
|
27
25
|
tagName: "sbb-carousel-list",
|
|
28
26
|
elementClass: SbbCarouselListElement,
|
|
29
27
|
react
|
|
30
28
|
});
|
|
31
29
|
|
|
32
|
-
//#endregion
|
|
33
30
|
export { SbbCarousel, SbbCarouselItem, SbbCarouselList };
|
|
@@ -2,12 +2,11 @@ import { createComponent } from "./core.js";
|
|
|
2
2
|
import { SbbCheckboxGroupElement } from "@sbb-esta/lyne-elements/checkbox-group.pure.js";
|
|
3
3
|
import react from "react";
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
// src/react/checkbox-group/checkbox-group.component.ts
|
|
6
6
|
const SbbCheckboxGroup = createComponent({
|
|
7
7
|
tagName: "sbb-checkbox-group",
|
|
8
8
|
elementClass: SbbCheckboxGroupElement,
|
|
9
9
|
react
|
|
10
10
|
});
|
|
11
11
|
|
|
12
|
-
//#endregion
|
|
13
12
|
export { SbbCheckboxGroup };
|
|
@@ -2,7 +2,7 @@ import { createComponent } from "./core.js";
|
|
|
2
2
|
import { SbbCheckboxPanelElement } from "@sbb-esta/lyne-elements/checkbox-panel.pure.js";
|
|
3
3
|
import react from "react";
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
// src/react/checkbox-panel/checkbox-panel.component.ts
|
|
6
6
|
const SbbCheckboxPanelComponent = SbbCheckboxPanelElement;
|
|
7
7
|
const SbbCheckboxPanel = createComponent({
|
|
8
8
|
tagName: "sbb-checkbox-panel",
|
|
@@ -15,5 +15,4 @@ const SbbCheckboxPanel = createComponent({
|
|
|
15
15
|
}
|
|
16
16
|
});
|
|
17
17
|
|
|
18
|
-
//#endregion
|
|
19
18
|
export { SbbCheckboxPanel };
|
package/development/checkbox.js
CHANGED
|
@@ -2,7 +2,7 @@ import { createComponent } from "./core.js";
|
|
|
2
2
|
import { SbbCheckboxElement } from "@sbb-esta/lyne-elements/checkbox.pure.js";
|
|
3
3
|
import react from "react";
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
// src/react/checkbox/checkbox.component.ts
|
|
6
6
|
const SbbCheckbox = createComponent({
|
|
7
7
|
tagName: "sbb-checkbox",
|
|
8
8
|
elementClass: SbbCheckboxElement,
|
|
@@ -14,5 +14,4 @@ const SbbCheckbox = createComponent({
|
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
16
|
|
|
17
|
-
//#endregion
|
|
18
17
|
export { SbbCheckbox };
|
|
@@ -2,12 +2,11 @@ import { createComponent } from "./core.js";
|
|
|
2
2
|
import { SbbChipLabelElement } from "@sbb-esta/lyne-elements/chip-label.pure.js";
|
|
3
3
|
import react from "react";
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
// src/react/chip-label/chip-label.component.ts
|
|
6
6
|
const SbbChipLabel = createComponent({
|
|
7
7
|
tagName: "sbb-chip-label",
|
|
8
8
|
elementClass: SbbChipLabelElement,
|
|
9
9
|
react
|
|
10
10
|
});
|
|
11
11
|
|
|
12
|
-
//#endregion
|
|
13
12
|
export { SbbChipLabel };
|
package/development/chip.js
CHANGED
|
@@ -2,7 +2,7 @@ import { createComponent } from "./core.js";
|
|
|
2
2
|
import { SbbChipElement, SbbChipGroupElement } from "@sbb-esta/lyne-elements/chip.pure.js";
|
|
3
3
|
import react from "react";
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
// src/react/chip/chip/chip.component.ts
|
|
6
6
|
const SbbChip = createComponent({
|
|
7
7
|
tagName: "sbb-chip",
|
|
8
8
|
elementClass: SbbChipElement,
|
|
@@ -10,8 +10,7 @@ const SbbChip = createComponent({
|
|
|
10
10
|
events: { "onDelete": "delete" }
|
|
11
11
|
});
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
//#region src/react/chip/chip-group/chip-group.component.ts
|
|
13
|
+
// src/react/chip/chip-group/chip-group.component.ts
|
|
15
14
|
const SbbChipGroup = createComponent({
|
|
16
15
|
tagName: "sbb-chip-group",
|
|
17
16
|
elementClass: SbbChipGroupElement,
|
|
@@ -24,5 +23,4 @@ const SbbChipGroup = createComponent({
|
|
|
24
23
|
}
|
|
25
24
|
});
|
|
26
25
|
|
|
27
|
-
//#endregion
|
|
28
26
|
export { SbbChip, SbbChipGroup };
|
package/development/clock.js
CHANGED
|
@@ -2,12 +2,11 @@ import { createComponent } from "./core.js";
|
|
|
2
2
|
import { SbbClockElement } from "@sbb-esta/lyne-elements/clock.pure.js";
|
|
3
3
|
import react from "react";
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
// src/react/clock/clock.component.ts
|
|
6
6
|
const SbbClock = createComponent({
|
|
7
7
|
tagName: "sbb-clock",
|
|
8
8
|
elementClass: SbbClockElement,
|
|
9
9
|
react
|
|
10
10
|
});
|
|
11
11
|
|
|
12
|
-
//#endregion
|
|
13
12
|
export { SbbClock };
|
package/development/container.js
CHANGED
|
@@ -2,15 +2,14 @@ import { createComponent } from "./core.js";
|
|
|
2
2
|
import { SbbContainerElement, SbbStickyBarElement } from "@sbb-esta/lyne-elements/container.pure.js";
|
|
3
3
|
import react from "react";
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
// src/react/container/container/container.component.ts
|
|
6
6
|
const SbbContainer = createComponent({
|
|
7
7
|
tagName: "sbb-container",
|
|
8
8
|
elementClass: SbbContainerElement,
|
|
9
9
|
react
|
|
10
10
|
});
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
//#region src/react/container/sticky-bar/sticky-bar.component.ts
|
|
12
|
+
// src/react/container/sticky-bar/sticky-bar.component.ts
|
|
14
13
|
const SbbStickyBar = createComponent({
|
|
15
14
|
tagName: "sbb-sticky-bar",
|
|
16
15
|
elementClass: SbbStickyBarElement,
|
|
@@ -23,5 +22,4 @@ const SbbStickyBar = createComponent({
|
|
|
23
22
|
}
|
|
24
23
|
});
|
|
25
24
|
|
|
26
|
-
//#endregion
|
|
27
25
|
export { SbbContainer, SbbStickyBar };
|
package/development/core.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isServer } from "lit";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/react/core/create-component.ts
|
|
4
4
|
/**
|
|
5
5
|
* Copied from https://github.com/lit/lit/blob/main/packages/react/src/create-component.ts
|
|
6
6
|
* TODO: Can be removed once https://github.com/lit/lit/issues/4023 or https://github.com/lit/lit/pull/4476 is solved.
|
|
@@ -142,5 +142,4 @@ const createComponent = ({ react: React, tagName, elementClass, events, displayN
|
|
|
142
142
|
return ReactComponent;
|
|
143
143
|
};
|
|
144
144
|
|
|
145
|
-
//#endregion
|
|
146
145
|
export { createComponent };
|
|
@@ -2,7 +2,7 @@ import { createComponent } from "./core.js";
|
|
|
2
2
|
import { SbbDateInputElement } from "@sbb-esta/lyne-elements/date-input.pure.js";
|
|
3
3
|
import react from "react";
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
// src/react/date-input/date-input.component.ts
|
|
6
6
|
const SbbDateInput = createComponent({
|
|
7
7
|
tagName: "sbb-date-input",
|
|
8
8
|
elementClass: SbbDateInputElement,
|
|
@@ -14,5 +14,4 @@ const SbbDateInput = createComponent({
|
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
16
|
|
|
17
|
-
//#endregion
|
|
18
17
|
export { SbbDateInput };
|
|
@@ -4,7 +4,7 @@ import "@sbb-esta/lyne-elements/calendar.pure.js";
|
|
|
4
4
|
import "@sbb-esta/lyne-elements/popover.pure.js";
|
|
5
5
|
import react from "react";
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
// src/react/datepicker/datepicker/datepicker.component.ts
|
|
8
8
|
const SbbDatepickerComponent = SbbDatepickerElement;
|
|
9
9
|
const SbbDatepicker = createComponent({
|
|
10
10
|
tagName: "sbb-datepicker",
|
|
@@ -21,8 +21,7 @@ const SbbDatepicker = createComponent({
|
|
|
21
21
|
}
|
|
22
22
|
});
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
//#region src/react/datepicker/datepicker-next-day/datepicker-next-day.component.ts
|
|
24
|
+
// src/react/datepicker/datepicker-next-day/datepicker-next-day.component.ts
|
|
26
25
|
const SbbDatepickerNextDayComponent = SbbDatepickerNextDayElement;
|
|
27
26
|
const SbbDatepickerNextDay = createComponent({
|
|
28
27
|
tagName: "sbb-datepicker-next-day",
|
|
@@ -35,8 +34,7 @@ const SbbDatepickerNextDay = createComponent({
|
|
|
35
34
|
}
|
|
36
35
|
});
|
|
37
36
|
|
|
38
|
-
|
|
39
|
-
//#region src/react/datepicker/datepicker-previous-day/datepicker-previous-day.component.ts
|
|
37
|
+
// src/react/datepicker/datepicker-previous-day/datepicker-previous-day.component.ts
|
|
40
38
|
const SbbDatepickerPreviousDayComponent = SbbDatepickerPreviousDayElement;
|
|
41
39
|
const SbbDatepickerPreviousDay = createComponent({
|
|
42
40
|
tagName: "sbb-datepicker-previous-day",
|
|
@@ -49,8 +47,7 @@ const SbbDatepickerPreviousDay = createComponent({
|
|
|
49
47
|
}
|
|
50
48
|
});
|
|
51
49
|
|
|
52
|
-
|
|
53
|
-
//#region src/react/datepicker/datepicker-toggle/datepicker-toggle.component.ts
|
|
50
|
+
// src/react/datepicker/datepicker-toggle/datepicker-toggle.component.ts
|
|
54
51
|
const SbbDatepickerToggleComponent = SbbDatepickerToggleElement;
|
|
55
52
|
const SbbDatepickerToggle = createComponent({
|
|
56
53
|
tagName: "sbb-datepicker-toggle",
|
|
@@ -63,5 +60,4 @@ const SbbDatepickerToggle = createComponent({
|
|
|
63
60
|
}
|
|
64
61
|
});
|
|
65
62
|
|
|
66
|
-
//#endregion
|
|
67
63
|
export { SbbDatepicker, SbbDatepickerNextDay, SbbDatepickerPreviousDay, SbbDatepickerToggle };
|
package/development/dialog.js
CHANGED
|
@@ -2,7 +2,7 @@ import { createComponent } from "./core.js";
|
|
|
2
2
|
import { SbbDialogActionsElement, SbbDialogCloseButtonElement, SbbDialogContentElement, SbbDialogElement, SbbDialogTitleElement } from "@sbb-esta/lyne-elements/dialog.pure.js";
|
|
3
3
|
import react from "react";
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
// src/react/dialog/dialog/dialog.component.ts
|
|
6
6
|
const SbbDialogComponent = SbbDialogElement;
|
|
7
7
|
const SbbDialog = createComponent({
|
|
8
8
|
tagName: "sbb-dialog",
|
|
@@ -16,16 +16,14 @@ const SbbDialog = createComponent({
|
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
//#region src/react/dialog/dialog-actions/dialog-actions.component.ts
|
|
19
|
+
// src/react/dialog/dialog-actions/dialog-actions.component.ts
|
|
21
20
|
const SbbDialogActions = createComponent({
|
|
22
21
|
tagName: "sbb-dialog-actions",
|
|
23
22
|
elementClass: SbbDialogActionsElement,
|
|
24
23
|
react
|
|
25
24
|
});
|
|
26
25
|
|
|
27
|
-
|
|
28
|
-
//#region src/react/dialog/dialog-close-button/dialog-close-button.component.ts
|
|
26
|
+
// src/react/dialog/dialog-close-button/dialog-close-button.component.ts
|
|
29
27
|
const SbbDialogCloseButtonComponent = SbbDialogCloseButtonElement;
|
|
30
28
|
const SbbDialogCloseButton = createComponent({
|
|
31
29
|
tagName: "sbb-dialog-close-button",
|
|
@@ -34,21 +32,18 @@ const SbbDialogCloseButton = createComponent({
|
|
|
34
32
|
events: { "onValidity": "validity" }
|
|
35
33
|
});
|
|
36
34
|
|
|
37
|
-
|
|
38
|
-
//#region src/react/dialog/dialog-content/dialog-content.component.ts
|
|
35
|
+
// src/react/dialog/dialog-content/dialog-content.component.ts
|
|
39
36
|
const SbbDialogContent = createComponent({
|
|
40
37
|
tagName: "sbb-dialog-content",
|
|
41
38
|
elementClass: SbbDialogContentElement,
|
|
42
39
|
react
|
|
43
40
|
});
|
|
44
41
|
|
|
45
|
-
|
|
46
|
-
//#region src/react/dialog/dialog-title/dialog-title.component.ts
|
|
42
|
+
// src/react/dialog/dialog-title/dialog-title.component.ts
|
|
47
43
|
const SbbDialogTitle = createComponent({
|
|
48
44
|
tagName: "sbb-dialog-title",
|
|
49
45
|
elementClass: SbbDialogTitleElement,
|
|
50
46
|
react
|
|
51
47
|
});
|
|
52
48
|
|
|
53
|
-
//#endregion
|
|
54
49
|
export { SbbDialog, SbbDialogActions, SbbDialogCloseButton, SbbDialogContent, SbbDialogTitle };
|