@sbb-esta/lyne-react 1.12.1 → 1.14.0
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/accordion.js +1 -1
- package/action-group.js +1 -1
- package/alert/alert-group.js +1 -1
- package/alert/alert.js +1 -1
- package/autocomplete-grid/autocomplete-grid-button.js +1 -1
- package/autocomplete-grid/autocomplete-grid-cell.js +1 -1
- package/autocomplete-grid/autocomplete-grid-optgroup.js +1 -1
- package/autocomplete-grid/autocomplete-grid-option.js +1 -1
- package/autocomplete-grid/autocomplete-grid-row.js +1 -1
- package/autocomplete-grid/autocomplete-grid.js +1 -1
- package/autocomplete.js +1 -1
- package/breadcrumb/breadcrumb-group.js +1 -1
- package/breadcrumb/breadcrumb.js +1 -1
- package/button/button-link.js +1 -1
- package/button/button-static.js +1 -1
- package/button/button.js +1 -1
- package/button/mini-button-group.js +1 -1
- package/button/mini-button.js +1 -1
- package/button/secondary-button-link.js +1 -1
- package/button/secondary-button-static.js +1 -1
- package/button/secondary-button.js +1 -1
- package/button/tertiary-button-link.js +1 -1
- package/button/tertiary-button-static.js +1 -1
- package/button/tertiary-button.js +1 -1
- package/button/transparent-button-link.js +1 -1
- package/button/transparent-button-static.js +1 -1
- package/button/transparent-button.js +1 -1
- package/calendar.js +1 -1
- package/card/card-badge.js +1 -1
- package/card/card-button.js +1 -1
- package/card/card-link.js +1 -1
- package/card/card.js +1 -1
- package/checkbox/checkbox-group.js +1 -1
- package/checkbox/checkbox-panel.js +1 -1
- package/checkbox/checkbox.js +1 -1
- package/chip.js +1 -1
- package/clock.js +1 -1
- package/container/container.js +1 -1
- package/container/sticky-bar.js +1 -1
- package/core.js +2 -7
- package/{create-component-bN9SzDs_.js → create-component-DKl3-Au3.js} +5 -20
- package/datepicker/datepicker-next-day.js +1 -1
- package/datepicker/datepicker-previous-day.js +1 -1
- package/datepicker/datepicker-toggle.js +1 -1
- package/datepicker/datepicker.js +1 -1
- package/development/accordion.js +1 -1
- package/development/action-group.js +1 -1
- package/development/alert/alert-group.js +1 -1
- package/development/alert/alert.js +1 -1
- package/development/autocomplete-grid/autocomplete-grid-button.js +1 -1
- package/development/autocomplete-grid/autocomplete-grid-cell.js +1 -1
- package/development/autocomplete-grid/autocomplete-grid-optgroup.js +1 -1
- package/development/autocomplete-grid/autocomplete-grid-option.js +1 -1
- package/development/autocomplete-grid/autocomplete-grid-row.js +1 -1
- package/development/autocomplete-grid/autocomplete-grid.js +1 -1
- package/development/autocomplete.js +1 -1
- package/development/breadcrumb/breadcrumb-group.js +1 -1
- package/development/breadcrumb/breadcrumb.js +1 -1
- package/development/button/button-link.js +1 -1
- package/development/button/button-static.js +1 -1
- package/development/button/button.js +1 -1
- package/development/button/mini-button-group.js +1 -1
- package/development/button/mini-button.js +1 -1
- package/development/button/secondary-button-link.js +1 -1
- package/development/button/secondary-button-static.js +1 -1
- package/development/button/secondary-button.js +1 -1
- package/development/button/tertiary-button-link.js +1 -1
- package/development/button/tertiary-button-static.js +1 -1
- package/development/button/tertiary-button.js +1 -1
- package/development/button/transparent-button-link.js +1 -1
- package/development/button/transparent-button-static.js +1 -1
- package/development/button/transparent-button.js +1 -1
- package/development/calendar.js +1 -1
- package/development/card/card-badge.js +1 -1
- package/development/card/card-button.js +1 -1
- package/development/card/card-link.js +1 -1
- package/development/card/card.js +1 -1
- package/development/checkbox/checkbox-group.js +1 -1
- package/development/checkbox/checkbox-panel.js +1 -1
- package/development/checkbox/checkbox.js +1 -1
- package/development/chip.js +1 -1
- package/development/clock.js +1 -1
- package/development/container/container.js +1 -1
- package/development/container/sticky-bar.js +1 -1
- package/development/core.js +2 -7
- package/development/{create-component-BwAhIvZh.js → create-component-CSki5eOq.js} +11 -28
- package/development/datepicker/datepicker-next-day.js +1 -1
- package/development/datepicker/datepicker-previous-day.js +1 -1
- package/development/datepicker/datepicker-toggle.js +1 -1
- package/development/datepicker/datepicker.js +1 -1
- package/development/dialog/dialog-actions.js +1 -1
- package/development/dialog/dialog-content.js +1 -1
- package/development/dialog/dialog-title.js +1 -1
- package/development/dialog/dialog.js +1 -1
- package/development/divider.js +1 -1
- package/development/expansion-panel/expansion-panel-content.js +1 -1
- package/development/expansion-panel/expansion-panel-header.js +1 -1
- package/development/expansion-panel/expansion-panel.js +1 -1
- package/development/file-selector.d.ts +2 -0
- package/development/file-selector.d.ts.map +1 -1
- package/development/file-selector.js +3 -1
- package/development/flip-card/flip-card-details.js +1 -1
- package/development/flip-card/flip-card-summary.js +1 -1
- package/development/flip-card/flip-card.js +1 -1
- package/development/footer.js +1 -1
- package/development/form-error.js +1 -1
- package/development/form-field/form-field-clear.js +1 -1
- package/development/form-field/form-field.js +1 -1
- package/development/header/header-button.js +1 -1
- package/development/header/header-link.js +1 -1
- package/development/header/header.js +1 -1
- package/development/icon.js +1 -1
- package/development/image.js +1 -1
- package/development/journey-header.js +1 -1
- package/development/lead-container.js +1 -1
- package/development/link/block-link-button.js +1 -1
- package/development/link/block-link-static.js +1 -1
- package/development/link/block-link.js +1 -1
- package/development/link/link-button.js +1 -1
- package/development/link/link-static.js +1 -1
- package/development/link/link.js +1 -1
- package/development/link-list/link-list-anchor.js +1 -1
- package/development/link-list/link-list.js +1 -1
- package/development/loading-indicator.js +1 -1
- package/development/logo.js +1 -1
- package/development/map-container.js +1 -1
- package/development/menu/menu-button.js +1 -1
- package/development/menu/menu-link.js +1 -1
- package/development/menu/menu.js +1 -1
- package/development/message.js +1 -1
- package/development/navigation/navigation-button.js +1 -1
- package/development/navigation/navigation-link.js +1 -1
- package/development/navigation/navigation-list.js +1 -1
- package/development/navigation/navigation-marker.js +1 -1
- package/development/navigation/navigation-section.js +1 -1
- package/development/navigation/navigation.js +1 -1
- package/development/notification.js +1 -1
- package/development/option/optgroup.js +1 -1
- package/development/option/option.js +1 -1
- package/development/overlay.js +1 -1
- package/development/paginator/compact-paginator.d.ts +7 -0
- package/development/paginator/compact-paginator.d.ts.map +1 -0
- package/development/paginator/compact-paginator.js +16 -0
- package/development/paginator/paginator.d.ts +7 -0
- package/development/paginator/paginator.d.ts.map +1 -0
- package/development/paginator/paginator.js +16 -0
- package/development/paginator.d.ts +2 -5
- package/development/paginator.d.ts.map +1 -1
- package/development/paginator.js +3 -12
- package/development/popover/popover-trigger.js +1 -1
- package/development/popover/popover.js +1 -1
- package/development/radio-button/radio-button-group.js +1 -1
- package/development/radio-button/radio-button-panel.js +1 -1
- package/development/radio-button/radio-button.js +1 -1
- package/development/screen-reader-only.js +1 -1
- package/development/select.js +1 -1
- package/development/selection-expansion-panel.js +1 -1
- package/development/signet.js +1 -1
- package/development/skiplink-list.js +1 -1
- package/development/slider.js +1 -1
- package/development/status.js +1 -1
- package/development/stepper/step-label.js +1 -1
- package/development/stepper/step.js +1 -1
- package/development/stepper/stepper.js +1 -1
- package/development/table/table-wrapper.js +1 -1
- package/development/tabs/tab-group.js +1 -1
- package/development/tabs/tab-label.js +1 -1
- package/development/tabs/tab.js +1 -1
- package/development/tag/tag-group.js +1 -1
- package/development/tag/tag.js +1 -1
- package/development/teaser-hero.js +1 -1
- package/development/teaser-product/teaser-product-static.js +1 -1
- package/development/teaser-product/teaser-product.js +1 -1
- package/development/teaser.js +1 -1
- package/development/time-input.js +1 -1
- package/development/timetable-occupancy-icon.js +1 -1
- package/development/timetable-occupancy.js +1 -1
- package/development/title.js +1 -1
- package/development/toast.js +1 -1
- package/development/toggle/toggle-option.js +1 -1
- package/development/toggle/toggle.js +1 -1
- package/development/toggle-check.js +1 -1
- package/development/train/train-blocked-passage.js +1 -1
- package/development/train/train-formation.js +1 -1
- package/development/train/train-wagon.js +1 -1
- package/development/train/train.js +1 -1
- package/development/visual-checkbox.js +1 -1
- package/dialog/dialog-actions.js +1 -1
- package/dialog/dialog-content.js +1 -1
- package/dialog/dialog-title.js +1 -1
- package/dialog/dialog.js +1 -1
- package/divider.js +1 -1
- package/expansion-panel/expansion-panel-content.js +1 -1
- package/expansion-panel/expansion-panel-header.js +1 -1
- package/expansion-panel/expansion-panel.js +1 -1
- package/file-selector.d.ts +2 -0
- package/file-selector.d.ts.map +1 -1
- package/file-selector.js +5 -3
- package/flip-card/flip-card-details.js +1 -1
- package/flip-card/flip-card-summary.js +1 -1
- package/flip-card/flip-card.js +1 -1
- package/footer.js +1 -1
- package/form-error.js +1 -1
- package/form-field/form-field-clear.js +1 -1
- package/form-field/form-field.js +1 -1
- package/header/header-button.js +1 -1
- package/header/header-link.js +1 -1
- package/header/header.js +1 -1
- package/icon.js +1 -1
- package/image.js +1 -1
- package/journey-header.js +1 -1
- package/lead-container.js +1 -1
- package/link/block-link-button.js +1 -1
- package/link/block-link-static.js +1 -1
- package/link/block-link.js +1 -1
- package/link/link-button.js +1 -1
- package/link/link-static.js +1 -1
- package/link/link.js +1 -1
- package/link-list/link-list-anchor.js +1 -1
- package/link-list/link-list.js +1 -1
- package/loading-indicator.js +1 -1
- package/logo.js +1 -1
- package/map-container.js +1 -1
- package/menu/menu-button.js +1 -1
- package/menu/menu-link.js +1 -1
- package/menu/menu.js +1 -1
- package/message.js +1 -1
- package/navigation/navigation-button.js +1 -1
- package/navigation/navigation-link.js +1 -1
- package/navigation/navigation-list.js +1 -1
- package/navigation/navigation-marker.js +1 -1
- package/navigation/navigation-section.js +1 -1
- package/navigation/navigation.js +1 -1
- package/notification.js +1 -1
- package/option/optgroup.js +1 -1
- package/option/option.js +1 -1
- package/overlay.js +1 -1
- package/package.json +25 -4
- package/paginator/compact-paginator.d.ts +7 -0
- package/paginator/compact-paginator.d.ts.map +1 -0
- package/paginator/compact-paginator.js +16 -0
- package/paginator/paginator.d.ts +7 -0
- package/paginator/paginator.d.ts.map +1 -0
- package/paginator/paginator.js +16 -0
- package/paginator.d.ts +2 -5
- package/paginator.d.ts.map +1 -1
- package/paginator.js +4 -13
- package/popover/popover-trigger.js +1 -1
- package/popover/popover.js +1 -1
- package/radio-button/radio-button-group.js +1 -1
- package/radio-button/radio-button-panel.js +1 -1
- package/radio-button/radio-button.js +1 -1
- package/screen-reader-only.js +1 -1
- package/select.js +1 -1
- package/selection-expansion-panel.js +1 -1
- package/signet.js +1 -1
- package/skiplink-list.js +1 -1
- package/slider.js +1 -1
- package/status.js +1 -1
- package/stepper/step-label.js +1 -1
- package/stepper/step.js +1 -1
- package/stepper/stepper.js +1 -1
- package/table/table-wrapper.js +1 -1
- package/tabs/tab-group.js +1 -1
- package/tabs/tab-label.js +1 -1
- package/tabs/tab.js +1 -1
- package/tag/tag-group.js +1 -1
- package/tag/tag.js +1 -1
- package/teaser-hero.js +1 -1
- package/teaser-product/teaser-product-static.js +1 -1
- package/teaser-product/teaser-product.js +1 -1
- package/teaser.js +1 -1
- package/time-input.js +1 -1
- package/timetable-occupancy-icon.js +1 -1
- package/timetable-occupancy.js +1 -1
- package/title.js +1 -1
- package/toast.js +1 -1
- package/toggle/toggle-option.js +1 -1
- package/toggle/toggle.js +1 -1
- package/toggle-check.js +1 -1
- package/train/train-blocked-passage.js +1 -1
- package/train/train-formation.js +1 -1
- package/train/train-wagon.js +1 -1
- package/train/train.js +1 -1
- package/visual-checkbox.js +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../create-component-
|
|
1
|
+
import { c as createComponent } from "../create-component-CSki5eOq.js";
|
|
2
2
|
import "lit";
|
|
3
3
|
import react from "react";
|
|
4
4
|
import { SbbCardLinkElement } from "@sbb-esta/lyne-elements/card/card-link.js";
|
package/development/card/card.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../create-component-
|
|
1
|
+
import { c as createComponent } from "../create-component-CSki5eOq.js";
|
|
2
2
|
import "lit";
|
|
3
3
|
import react from "react";
|
|
4
4
|
import { SbbCheckboxGroupElement } from "@sbb-esta/lyne-elements/checkbox/checkbox-group.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../create-component-
|
|
1
|
+
import { c as createComponent } from "../create-component-CSki5eOq.js";
|
|
2
2
|
import "lit";
|
|
3
3
|
import react from "react";
|
|
4
4
|
import { SbbCheckboxPanelElement } from "@sbb-esta/lyne-elements/checkbox/checkbox-panel.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../create-component-
|
|
1
|
+
import { c as createComponent } from "../create-component-CSki5eOq.js";
|
|
2
2
|
import "lit";
|
|
3
3
|
import react from "react";
|
|
4
4
|
import { SbbCheckboxElement } from "@sbb-esta/lyne-elements/checkbox/checkbox.js";
|
package/development/chip.js
CHANGED
package/development/clock.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../create-component-
|
|
1
|
+
import { c as createComponent } from "../create-component-CSki5eOq.js";
|
|
2
2
|
import "lit";
|
|
3
3
|
import react from "react";
|
|
4
4
|
import { SbbContainerElement } from "@sbb-esta/lyne-elements/container/container.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../create-component-
|
|
1
|
+
import { c as createComponent } from "../create-component-CSki5eOq.js";
|
|
2
2
|
import "lit";
|
|
3
3
|
import react from "react";
|
|
4
4
|
import { SbbStickyBarElement } from "@sbb-esta/lyne-elements/container/sticky-bar.js";
|
package/development/core.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c } from "./create-component-
|
|
1
|
+
import { c } from "./create-component-CSki5eOq.js";
|
|
2
2
|
import { isServer } from "lit";
|
|
3
3
|
import react, { Children, isValidElement } from "react";
|
|
4
4
|
const withSsrDataSlotNames = (component) => {
|
|
@@ -8,12 +8,7 @@ const withSsrDataSlotNames = (component) => {
|
|
|
8
8
|
return react.createElement(component, props);
|
|
9
9
|
}
|
|
10
10
|
const slots = /* @__PURE__ */ new Set();
|
|
11
|
-
Children.forEach(
|
|
12
|
-
props.children,
|
|
13
|
-
(child) => slots.add(
|
|
14
|
-
typeof child === "object" && !!child && "props" in child && "slot" in child.props && child.props.slot || "unnamed"
|
|
15
|
-
)
|
|
16
|
-
);
|
|
11
|
+
Children.forEach(props.children, (child) => slots.add(typeof child === "object" && !!child && "props" in child && "slot" in child.props && child.props.slot || "unnamed"));
|
|
17
12
|
if (!slots.size) {
|
|
18
13
|
return react.createElement(component, props);
|
|
19
14
|
}
|
|
@@ -48,20 +48,12 @@ const setProperty = (node, name, value, old, events) => {
|
|
|
48
48
|
node.removeAttribute(name);
|
|
49
49
|
}
|
|
50
50
|
};
|
|
51
|
-
const createComponent = ({
|
|
52
|
-
react: React,
|
|
53
|
-
tagName,
|
|
54
|
-
elementClass,
|
|
55
|
-
events,
|
|
56
|
-
displayName
|
|
57
|
-
}) => {
|
|
51
|
+
const createComponent = ({ react: React, tagName, elementClass, events, displayName }) => {
|
|
58
52
|
const eventProps = new Set(Object.keys(events ?? {}));
|
|
59
53
|
if (!NODE_MODE) {
|
|
60
54
|
for (const p of reservedReactProperties) {
|
|
61
55
|
if (p in elementClass.prototype && !(p in HTMLElement.prototype)) {
|
|
62
|
-
console.warn(
|
|
63
|
-
`${tagName} contains property ${p} which is a React reserved property. It will be used by React and not set on the element.`
|
|
64
|
-
);
|
|
56
|
+
console.warn(`${tagName} contains property ${p} which is a React reserved property. It will be used by React and not set on the element.`);
|
|
65
57
|
}
|
|
66
58
|
}
|
|
67
59
|
}
|
|
@@ -103,13 +95,7 @@ const createComponent = ({
|
|
|
103
95
|
}
|
|
104
96
|
const newElemProps = /* @__PURE__ */ new Map();
|
|
105
97
|
for (const key in elementProps) {
|
|
106
|
-
setProperty(
|
|
107
|
-
elementRef.current,
|
|
108
|
-
key,
|
|
109
|
-
props[key],
|
|
110
|
-
prevElemPropsRef.current.get(key),
|
|
111
|
-
events
|
|
112
|
-
);
|
|
98
|
+
setProperty(elementRef.current, key, props[key], prevElemPropsRef.current.get(key), events);
|
|
113
99
|
prevElemPropsRef.current.delete(key);
|
|
114
100
|
newElemProps.set(key, props[key]);
|
|
115
101
|
}
|
|
@@ -132,17 +118,14 @@ const createComponent = ({
|
|
|
132
118
|
}
|
|
133
119
|
return React.createElement(tagName, {
|
|
134
120
|
...reactProps,
|
|
135
|
-
ref: React.useCallback(
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
},
|
|
144
|
-
[ref]
|
|
145
|
-
)
|
|
121
|
+
ref: React.useCallback((node) => {
|
|
122
|
+
elementRef.current = node;
|
|
123
|
+
if (typeof ref === "function") {
|
|
124
|
+
ref(node);
|
|
125
|
+
} else if (ref !== null) {
|
|
126
|
+
ref.current = node;
|
|
127
|
+
}
|
|
128
|
+
}, [ref])
|
|
146
129
|
});
|
|
147
130
|
});
|
|
148
131
|
ReactComponent.displayName = displayName ?? elementClass.name;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../create-component-
|
|
1
|
+
import { c as createComponent } from "../create-component-CSki5eOq.js";
|
|
2
2
|
import "lit";
|
|
3
3
|
import react from "react";
|
|
4
4
|
import { SbbDatepickerNextDayElement } from "@sbb-esta/lyne-elements/datepicker/datepicker-next-day.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../create-component-
|
|
1
|
+
import { c as createComponent } from "../create-component-CSki5eOq.js";
|
|
2
2
|
import "lit";
|
|
3
3
|
import react from "react";
|
|
4
4
|
import { SbbDatepickerPreviousDayElement } from "@sbb-esta/lyne-elements/datepicker/datepicker-previous-day.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../create-component-
|
|
1
|
+
import { c as createComponent } from "../create-component-CSki5eOq.js";
|
|
2
2
|
import "lit";
|
|
3
3
|
import react from "react";
|
|
4
4
|
import { SbbDatepickerToggleElement } from "@sbb-esta/lyne-elements/datepicker/datepicker-toggle.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../create-component-
|
|
1
|
+
import { c as createComponent } from "../create-component-CSki5eOq.js";
|
|
2
2
|
import "lit";
|
|
3
3
|
import react from "react";
|
|
4
4
|
import { SbbDatepickerElement } from "@sbb-esta/lyne-elements/datepicker/datepicker.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../create-component-
|
|
1
|
+
import { c as createComponent } from "../create-component-CSki5eOq.js";
|
|
2
2
|
import "lit";
|
|
3
3
|
import react from "react";
|
|
4
4
|
import { SbbDialogActionsElement } from "@sbb-esta/lyne-elements/dialog/dialog-actions.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../create-component-
|
|
1
|
+
import { c as createComponent } from "../create-component-CSki5eOq.js";
|
|
2
2
|
import "lit";
|
|
3
3
|
import react from "react";
|
|
4
4
|
import { SbbDialogContentElement } from "@sbb-esta/lyne-elements/dialog/dialog-content.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../create-component-
|
|
1
|
+
import { c as createComponent } from "../create-component-CSki5eOq.js";
|
|
2
2
|
import "lit";
|
|
3
3
|
import react from "react";
|
|
4
4
|
import { SbbDialogTitleElement } from "@sbb-esta/lyne-elements/dialog/dialog-title.js";
|
package/development/divider.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../create-component-
|
|
1
|
+
import { c as createComponent } from "../create-component-CSki5eOq.js";
|
|
2
2
|
import "lit";
|
|
3
3
|
import react from "react";
|
|
4
4
|
import { SbbExpansionPanelContentElement } from "@sbb-esta/lyne-elements/expansion-panel/expansion-panel-content.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../create-component-
|
|
1
|
+
import { c as createComponent } from "../create-component-CSki5eOq.js";
|
|
2
2
|
import "lit";
|
|
3
3
|
import react from "react";
|
|
4
4
|
import { SbbExpansionPanelHeaderElement } from "@sbb-esta/lyne-elements/expansion-panel/expansion-panel-header.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../create-component-
|
|
1
|
+
import { c as createComponent } from "../create-component-CSki5eOq.js";
|
|
2
2
|
import "lit";
|
|
3
3
|
import react from "react";
|
|
4
4
|
import { SbbExpansionPanelElement } from "@sbb-esta/lyne-elements/expansion-panel/expansion-panel.js";
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { EventName } from './core.js';
|
|
2
2
|
import { SbbFileSelectorElement } from '@sbb-esta/lyne-elements/file-selector.js';
|
|
3
3
|
export declare const SbbFileSelector: import('./core.js').ReactWebComponent<SbbFileSelectorElement, {
|
|
4
|
+
onInput: EventName<Event>;
|
|
5
|
+
onChange: EventName<Event>;
|
|
4
6
|
onFileChanged: EventName<CustomEvent<File[]>>;
|
|
5
7
|
}>;
|
|
6
8
|
//# sourceMappingURL=file-selector.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-selector.d.ts","sourceRoot":"","sources":["../../../src/react/file-selector.ts"],"names":[],"mappings":"AACE,OAAO,EAAmB,KAAK,SAAS,EAAE,MAAM,WAAW,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,0CAA0C,CAAC;AAIlF,eAAO,MAAM,eAAe;
|
|
1
|
+
{"version":3,"file":"file-selector.d.ts","sourceRoot":"","sources":["../../../src/react/file-selector.ts"],"names":[],"mappings":"AACE,OAAO,EAAmB,KAAK,SAAS,EAAE,MAAM,WAAW,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,0CAA0C,CAAC;AAIlF,eAAO,MAAM,eAAe;aAKJ,SAAS,CAAC,KAAK,CAAC;cACd,SAAS,CAAC,KAAK,CAAC;mBACN,SAAS,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC,CAAC;EAGhE,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "./create-component-
|
|
1
|
+
import { c as createComponent } from "./create-component-CSki5eOq.js";
|
|
2
2
|
import "lit";
|
|
3
3
|
import react from "react";
|
|
4
4
|
import { SbbFileSelectorElement } from "@sbb-esta/lyne-elements/file-selector.js";
|
|
@@ -7,6 +7,8 @@ const SbbFileSelector = createComponent({
|
|
|
7
7
|
elementClass: SbbFileSelectorElement,
|
|
8
8
|
react,
|
|
9
9
|
events: {
|
|
10
|
+
"onInput": "input",
|
|
11
|
+
"onChange": "change",
|
|
10
12
|
"onFileChanged": "fileChanged"
|
|
11
13
|
}
|
|
12
14
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../create-component-
|
|
1
|
+
import { c as createComponent } from "../create-component-CSki5eOq.js";
|
|
2
2
|
import "lit";
|
|
3
3
|
import react from "react";
|
|
4
4
|
import { SbbFlipCardDetailsElement } from "@sbb-esta/lyne-elements/flip-card/flip-card-details.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../create-component-
|
|
1
|
+
import { c as createComponent } from "../create-component-CSki5eOq.js";
|
|
2
2
|
import "lit";
|
|
3
3
|
import react from "react";
|
|
4
4
|
import { SbbFlipCardSummaryElement } from "@sbb-esta/lyne-elements/flip-card/flip-card-summary.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../create-component-
|
|
1
|
+
import { c as createComponent } from "../create-component-CSki5eOq.js";
|
|
2
2
|
import "lit";
|
|
3
3
|
import react from "react";
|
|
4
4
|
import { SbbFlipCardElement } from "@sbb-esta/lyne-elements/flip-card/flip-card.js";
|
package/development/footer.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../create-component-
|
|
1
|
+
import { c as createComponent } from "../create-component-CSki5eOq.js";
|
|
2
2
|
import "lit";
|
|
3
3
|
import react from "react";
|
|
4
4
|
import { SbbFormFieldClearElement } from "@sbb-esta/lyne-elements/form-field/form-field-clear.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../create-component-
|
|
1
|
+
import { c as createComponent } from "../create-component-CSki5eOq.js";
|
|
2
2
|
import "lit";
|
|
3
3
|
import react from "react";
|
|
4
4
|
import { SbbFormFieldElement } from "@sbb-esta/lyne-elements/form-field/form-field.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../create-component-
|
|
1
|
+
import { c as createComponent } from "../create-component-CSki5eOq.js";
|
|
2
2
|
import "lit";
|
|
3
3
|
import react from "react";
|
|
4
4
|
import { SbbHeaderButtonElement } from "@sbb-esta/lyne-elements/header/header-button.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../create-component-
|
|
1
|
+
import { c as createComponent } from "../create-component-CSki5eOq.js";
|
|
2
2
|
import "lit";
|
|
3
3
|
import react from "react";
|
|
4
4
|
import { SbbHeaderLinkElement } from "@sbb-esta/lyne-elements/header/header-link.js";
|
package/development/icon.js
CHANGED
package/development/image.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "./create-component-
|
|
1
|
+
import { c as createComponent } from "./create-component-CSki5eOq.js";
|
|
2
2
|
import "lit";
|
|
3
3
|
import react from "react";
|
|
4
4
|
import { SbbJourneyHeaderElement } from "@sbb-esta/lyne-elements/journey-header.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "./create-component-
|
|
1
|
+
import { c as createComponent } from "./create-component-CSki5eOq.js";
|
|
2
2
|
import "lit";
|
|
3
3
|
import react from "react";
|
|
4
4
|
import { SbbLeadContainerElement } from "@sbb-esta/lyne-elements/lead-container.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../create-component-
|
|
1
|
+
import { c as createComponent } from "../create-component-CSki5eOq.js";
|
|
2
2
|
import "lit";
|
|
3
3
|
import react from "react";
|
|
4
4
|
import { SbbBlockLinkButtonElement } from "@sbb-esta/lyne-elements/link/block-link-button.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../create-component-
|
|
1
|
+
import { c as createComponent } from "../create-component-CSki5eOq.js";
|
|
2
2
|
import "lit";
|
|
3
3
|
import react from "react";
|
|
4
4
|
import { SbbBlockLinkStaticElement } from "@sbb-esta/lyne-elements/link/block-link-static.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../create-component-
|
|
1
|
+
import { c as createComponent } from "../create-component-CSki5eOq.js";
|
|
2
2
|
import "lit";
|
|
3
3
|
import react from "react";
|
|
4
4
|
import { SbbBlockLinkElement } from "@sbb-esta/lyne-elements/link/block-link.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../create-component-
|
|
1
|
+
import { c as createComponent } from "../create-component-CSki5eOq.js";
|
|
2
2
|
import "lit";
|
|
3
3
|
import react from "react";
|
|
4
4
|
import { SbbLinkButtonElement } from "@sbb-esta/lyne-elements/link/link-button.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../create-component-
|
|
1
|
+
import { c as createComponent } from "../create-component-CSki5eOq.js";
|
|
2
2
|
import "lit";
|
|
3
3
|
import react from "react";
|
|
4
4
|
import { SbbLinkStaticElement } from "@sbb-esta/lyne-elements/link/link-static.js";
|
package/development/link/link.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../create-component-
|
|
1
|
+
import { c as createComponent } from "../create-component-CSki5eOq.js";
|
|
2
2
|
import "lit";
|
|
3
3
|
import react from "react";
|
|
4
4
|
import { SbbLinkListAnchorElement } from "@sbb-esta/lyne-elements/link-list/link-list-anchor.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../create-component-
|
|
1
|
+
import { c as createComponent } from "../create-component-CSki5eOq.js";
|
|
2
2
|
import "lit";
|
|
3
3
|
import react from "react";
|
|
4
4
|
import { SbbLinkListElement } from "@sbb-esta/lyne-elements/link-list/link-list.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "./create-component-
|
|
1
|
+
import { c as createComponent } from "./create-component-CSki5eOq.js";
|
|
2
2
|
import "lit";
|
|
3
3
|
import react from "react";
|
|
4
4
|
import { SbbLoadingIndicatorElement } from "@sbb-esta/lyne-elements/loading-indicator.js";
|
package/development/logo.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "./create-component-
|
|
1
|
+
import { c as createComponent } from "./create-component-CSki5eOq.js";
|
|
2
2
|
import "lit";
|
|
3
3
|
import react from "react";
|
|
4
4
|
import { SbbMapContainerElement } from "@sbb-esta/lyne-elements/map-container.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../create-component-
|
|
1
|
+
import { c as createComponent } from "../create-component-CSki5eOq.js";
|
|
2
2
|
import "lit";
|
|
3
3
|
import react from "react";
|
|
4
4
|
import { SbbMenuButtonElement } from "@sbb-esta/lyne-elements/menu/menu-button.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../create-component-
|
|
1
|
+
import { c as createComponent } from "../create-component-CSki5eOq.js";
|
|
2
2
|
import "lit";
|
|
3
3
|
import react from "react";
|
|
4
4
|
import { SbbMenuLinkElement } from "@sbb-esta/lyne-elements/menu/menu-link.js";
|
package/development/menu/menu.js
CHANGED
package/development/message.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../create-component-
|
|
1
|
+
import { c as createComponent } from "../create-component-CSki5eOq.js";
|
|
2
2
|
import "lit";
|
|
3
3
|
import react from "react";
|
|
4
4
|
import { SbbNavigationButtonElement } from "@sbb-esta/lyne-elements/navigation/navigation-button.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../create-component-
|
|
1
|
+
import { c as createComponent } from "../create-component-CSki5eOq.js";
|
|
2
2
|
import "lit";
|
|
3
3
|
import react from "react";
|
|
4
4
|
import { SbbNavigationLinkElement } from "@sbb-esta/lyne-elements/navigation/navigation-link.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../create-component-
|
|
1
|
+
import { c as createComponent } from "../create-component-CSki5eOq.js";
|
|
2
2
|
import "lit";
|
|
3
3
|
import react from "react";
|
|
4
4
|
import { SbbNavigationListElement } from "@sbb-esta/lyne-elements/navigation/navigation-list.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../create-component-
|
|
1
|
+
import { c as createComponent } from "../create-component-CSki5eOq.js";
|
|
2
2
|
import "lit";
|
|
3
3
|
import react from "react";
|
|
4
4
|
import { SbbNavigationMarkerElement } from "@sbb-esta/lyne-elements/navigation/navigation-marker.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../create-component-
|
|
1
|
+
import { c as createComponent } from "../create-component-CSki5eOq.js";
|
|
2
2
|
import "lit";
|
|
3
3
|
import react from "react";
|
|
4
4
|
import { SbbNavigationSectionElement } from "@sbb-esta/lyne-elements/navigation/navigation-section.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../create-component-
|
|
1
|
+
import { c as createComponent } from "../create-component-CSki5eOq.js";
|
|
2
2
|
import "lit";
|
|
3
3
|
import react from "react";
|
|
4
4
|
import { SbbNavigationElement } from "@sbb-esta/lyne-elements/navigation/navigation.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "./create-component-
|
|
1
|
+
import { c as createComponent } from "./create-component-CSki5eOq.js";
|
|
2
2
|
import "lit";
|
|
3
3
|
import react from "react";
|
|
4
4
|
import { SbbNotificationElement } from "@sbb-esta/lyne-elements/notification.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../create-component-
|
|
1
|
+
import { c as createComponent } from "../create-component-CSki5eOq.js";
|
|
2
2
|
import "lit";
|
|
3
3
|
import react from "react";
|
|
4
4
|
import { SbbOptGroupElement } from "@sbb-esta/lyne-elements/option/optgroup.js";
|
package/development/overlay.js
CHANGED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { EventName } from '../core.js';
|
|
2
|
+
import { SbbCompactPaginatorElement } from '@sbb-esta/lyne-elements/paginator/compact-paginator.js';
|
|
3
|
+
import { SbbPaginatorPageEventDetails } from '@sbb-esta/lyne-elements/core/interfaces.js';
|
|
4
|
+
export declare const SbbCompactPaginator: import('../core.js').ReactWebComponent<SbbCompactPaginatorElement, {
|
|
5
|
+
onPage: EventName<CustomEvent<SbbPaginatorPageEventDetails>>;
|
|
6
|
+
}>;
|
|
7
|
+
//# sourceMappingURL=compact-paginator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compact-paginator.d.ts","sourceRoot":"","sources":["../../../../src/react/paginator/compact-paginator.ts"],"names":[],"mappings":"AACE,OAAO,EAAmB,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAC7D,OAAO,EAAE,0BAA0B,EAAE,MAAM,wDAAwD,CAAC;AACtG,OAAO,EAAE,KAAK,4BAA4B,EAAE,MAAM,4CAA4C,CAAC;AAI7F,eAAO,MAAM,mBAAmB;YAKV,SAAS,CAAC,WAAW,CAAC,4BAA4B,CAAC,CAAC;EAGxE,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { c as createComponent } from "../create-component-CSki5eOq.js";
|
|
2
|
+
import "lit";
|
|
3
|
+
import react from "react";
|
|
4
|
+
import { SbbCompactPaginatorElement } from "@sbb-esta/lyne-elements/paginator/compact-paginator.js";
|
|
5
|
+
import "@sbb-esta/lyne-elements/core/interfaces.js";
|
|
6
|
+
const SbbCompactPaginator = createComponent({
|
|
7
|
+
tagName: "sbb-compact-paginator",
|
|
8
|
+
elementClass: SbbCompactPaginatorElement,
|
|
9
|
+
react,
|
|
10
|
+
events: {
|
|
11
|
+
"onPage": "page"
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
export {
|
|
15
|
+
SbbCompactPaginator
|
|
16
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { EventName } from '../core.js';
|
|
2
|
+
import { SbbPaginatorElement } from '@sbb-esta/lyne-elements/paginator/paginator.js';
|
|
3
|
+
import { SbbPaginatorPageEventDetails } from '@sbb-esta/lyne-elements/core/interfaces.js';
|
|
4
|
+
export declare const SbbPaginator: import('../core.js').ReactWebComponent<SbbPaginatorElement, {
|
|
5
|
+
onPage: EventName<CustomEvent<SbbPaginatorPageEventDetails>>;
|
|
6
|
+
}>;
|
|
7
|
+
//# sourceMappingURL=paginator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"paginator.d.ts","sourceRoot":"","sources":["../../../../src/react/paginator/paginator.ts"],"names":[],"mappings":"AACE,OAAO,EAAmB,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAC7D,OAAO,EAAE,mBAAmB,EAAE,MAAM,gDAAgD,CAAC;AACvF,OAAO,EAAE,KAAK,4BAA4B,EAAE,MAAM,4CAA4C,CAAC;AAI7F,eAAO,MAAM,YAAY;YAKH,SAAS,CAAC,WAAW,CAAC,4BAA4B,CAAC,CAAC;EAGxE,CAAC"}
|