@sbb-esta/lyne-react 1.13.0 → 1.14.1
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.d.ts +2 -1
- package/autocomplete-grid/autocomplete-grid-button.d.ts.map +1 -1
- package/autocomplete-grid/autocomplete-grid-button.js +7 -7
- package/autocomplete-grid/autocomplete-grid-cell.js +1 -1
- package/autocomplete-grid/autocomplete-grid-optgroup.js +1 -1
- package/autocomplete-grid/autocomplete-grid-option.d.ts +5 -5
- package/autocomplete-grid/autocomplete-grid-option.d.ts.map +1 -1
- package/autocomplete-grid/autocomplete-grid-option.js +6 -6
- 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.d.ts +2 -1
- package/button/mini-button.d.ts.map +1 -1
- package/button/mini-button.js +7 -7
- 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.d.ts +2 -1
- package/checkbox/checkbox-group.d.ts.map +1 -1
- package/checkbox/checkbox-group.js +6 -6
- package/checkbox/checkbox-panel.d.ts +6 -6
- package/checkbox/checkbox-panel.d.ts.map +1 -1
- package/checkbox/checkbox-panel.js +9 -9
- package/checkbox/checkbox.d.ts +6 -6
- package/checkbox/checkbox.d.ts.map +1 -1
- package/checkbox/checkbox.js +9 -9
- package/chip.js +1 -1
- package/clock.js +1 -1
- package/container/container.d.ts +2 -1
- package/container/container.d.ts.map +1 -1
- package/container/container.js +9 -9
- package/container/sticky-bar.js +1 -1
- package/core.js +5 -42
- 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.d.ts +2 -1
- package/development/autocomplete-grid/autocomplete-grid-button.d.ts.map +1 -1
- package/development/autocomplete-grid/autocomplete-grid-button.js +5 -5
- 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.d.ts +5 -5
- package/development/autocomplete-grid/autocomplete-grid-option.d.ts.map +1 -1
- package/development/autocomplete-grid/autocomplete-grid-option.js +5 -5
- 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.d.ts +2 -1
- package/development/button/mini-button.d.ts.map +1 -1
- package/development/button/mini-button.js +5 -5
- 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.d.ts +2 -1
- package/development/checkbox/checkbox-group.d.ts.map +1 -1
- package/development/checkbox/checkbox-group.js +5 -5
- package/development/checkbox/checkbox-panel.d.ts +6 -6
- package/development/checkbox/checkbox-panel.d.ts.map +1 -1
- package/development/checkbox/checkbox-panel.js +5 -5
- package/development/checkbox/checkbox.d.ts +6 -6
- package/development/checkbox/checkbox.d.ts.map +1 -1
- package/development/checkbox/checkbox.js +5 -5
- package/development/chip.js +1 -1
- package/development/clock.js +1 -1
- package/development/container/container.d.ts +2 -1
- package/development/container/container.d.ts.map +1 -1
- package/development/container/container.js +5 -5
- package/development/container/sticky-bar.js +1 -1
- package/development/core.js +4 -53
- 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.d.ts +4 -4
- package/development/expansion-panel/expansion-panel-header.d.ts.map +1 -1
- package/development/expansion-panel/expansion-panel-header.js +5 -5
- package/development/expansion-panel/expansion-panel.js +1 -1
- package/development/file-selector.d.ts +6 -6
- package/development/file-selector.d.ts.map +1 -1
- package/development/file-selector.js +5 -5
- 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.d.ts +2 -1
- package/development/form-field/form-field.d.ts.map +1 -1
- package/development/form-field/form-field.js +5 -5
- 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.d.ts +2 -1
- package/development/link-list/link-list-anchor.d.ts.map +1 -1
- package/development/link-list/link-list-anchor.js +5 -5
- package/development/link-list/link-list.d.ts +2 -1
- package/development/link-list/link-list.d.ts.map +1 -1
- package/development/link-list/link-list.js +5 -5
- 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.d.ts +2 -1
- package/development/navigation/navigation-list.d.ts.map +1 -1
- package/development/navigation/navigation-list.js +5 -5
- package/development/navigation/navigation-marker.js +1 -1
- package/development/navigation/navigation-section.d.ts +2 -1
- package/development/navigation/navigation-section.d.ts.map +1 -1
- package/development/navigation/navigation-section.js +5 -5
- package/development/navigation/navigation.js +1 -1
- package/development/notification.d.ts +7 -7
- package/development/notification.d.ts.map +1 -1
- package/development/notification.js +5 -5
- package/development/option/optgroup.js +1 -1
- package/development/option/option.d.ts +5 -5
- package/development/option/option.d.ts.map +1 -1
- package/development/option/option.js +5 -5
- 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.d.ts +6 -6
- package/development/radio-button/radio-button-group.d.ts.map +1 -1
- package/development/radio-button/radio-button-group.js +5 -5
- package/development/radio-button/radio-button-panel.d.ts +2 -1
- package/development/radio-button/radio-button-panel.d.ts.map +1 -1
- package/development/radio-button/radio-button-panel.js +5 -5
- package/development/radio-button/radio-button.d.ts +2 -1
- package/development/radio-button/radio-button.d.ts.map +1 -1
- package/development/radio-button/radio-button.js +5 -5
- package/development/screen-reader-only.js +1 -1
- package/development/select.js +1 -1
- package/development/selection-expansion-panel.d.ts +7 -7
- package/development/selection-expansion-panel.d.ts.map +1 -1
- package/development/selection-expansion-panel.js +5 -5
- package/development/signet.js +1 -1
- package/development/skiplink-list.d.ts +2 -1
- package/development/skiplink-list.d.ts.map +1 -1
- package/development/skiplink-list.js +5 -5
- package/development/slider.js +1 -1
- package/development/ssr-extensions-CqgUbNPR.js +49 -0
- package/development/status.d.ts +2 -1
- package/development/status.d.ts.map +1 -1
- package/development/status.js +5 -5
- 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.d.ts +2 -1
- package/development/tabs/tab-label.d.ts.map +1 -1
- package/development/tabs/tab-label.js +5 -5
- package/development/tabs/tab.js +1 -1
- package/development/tag/tag-group.js +1 -1
- package/development/tag/tag.d.ts +6 -6
- package/development/tag/tag.d.ts.map +1 -1
- package/development/tag/tag.js +5 -5
- package/development/teaser-hero.d.ts +2 -1
- package/development/teaser-hero.d.ts.map +1 -1
- package/development/teaser-hero.js +5 -5
- package/development/teaser-product/teaser-product-static.js +1 -1
- package/development/teaser-product/teaser-product.js +1 -1
- package/development/teaser.d.ts +2 -1
- package/development/teaser.d.ts.map +1 -1
- package/development/teaser.js +5 -5
- 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.d.ts +7 -7
- package/development/toast.d.ts.map +1 -1
- package/development/toast.js +5 -5
- package/development/toggle/toggle-option.d.ts +2 -1
- package/development/toggle/toggle-option.d.ts.map +1 -1
- package/development/toggle/toggle-option.js +5 -5
- package/development/toggle/toggle.js +1 -1
- package/development/toggle-check.d.ts +6 -6
- package/development/toggle-check.d.ts.map +1 -1
- package/development/toggle-check.js +5 -5
- 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.d.ts +4 -4
- package/expansion-panel/expansion-panel-header.d.ts.map +1 -1
- package/expansion-panel/expansion-panel-header.js +7 -7
- package/expansion-panel/expansion-panel.js +1 -1
- package/file-selector.d.ts +6 -6
- package/file-selector.d.ts.map +1 -1
- package/file-selector.js +7 -7
- 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.d.ts +2 -1
- package/form-field/form-field.d.ts.map +1 -1
- package/form-field/form-field.js +9 -9
- 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.d.ts +2 -1
- package/link-list/link-list-anchor.d.ts.map +1 -1
- package/link-list/link-list-anchor.js +6 -6
- package/link-list/link-list.d.ts +2 -1
- package/link-list/link-list.d.ts.map +1 -1
- package/link-list/link-list.js +7 -7
- 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.d.ts +2 -1
- package/navigation/navigation-list.d.ts.map +1 -1
- package/navigation/navigation-list.js +8 -8
- package/navigation/navigation-marker.js +1 -1
- package/navigation/navigation-section.d.ts +2 -1
- package/navigation/navigation-section.d.ts.map +1 -1
- package/navigation/navigation-section.js +9 -9
- package/navigation/navigation.js +1 -1
- package/notification.d.ts +7 -7
- package/notification.d.ts.map +1 -1
- package/notification.js +7 -7
- package/option/optgroup.js +1 -1
- package/option/option.d.ts +5 -5
- package/option/option.d.ts.map +1 -1
- package/option/option.js +8 -8
- package/overlay.js +1 -1
- package/package.json +24 -3
- 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.d.ts +6 -6
- package/radio-button/radio-button-group.d.ts.map +1 -1
- package/radio-button/radio-button-group.js +8 -8
- package/radio-button/radio-button-panel.d.ts +2 -1
- package/radio-button/radio-button-panel.d.ts.map +1 -1
- package/radio-button/radio-button-panel.js +9 -9
- package/radio-button/radio-button.d.ts +2 -1
- package/radio-button/radio-button.d.ts.map +1 -1
- package/radio-button/radio-button.js +9 -9
- package/screen-reader-only.js +1 -1
- package/select.js +1 -1
- package/selection-expansion-panel.d.ts +7 -7
- package/selection-expansion-panel.d.ts.map +1 -1
- package/selection-expansion-panel.js +9 -9
- package/signet.js +1 -1
- package/skiplink-list.d.ts +2 -1
- package/skiplink-list.d.ts.map +1 -1
- package/skiplink-list.js +9 -9
- package/slider.js +1 -1
- package/ssr-extensions-DNMI7L0q.js +37 -0
- package/status.d.ts +2 -1
- package/status.d.ts.map +1 -1
- package/status.js +7 -7
- 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.d.ts +2 -1
- package/tabs/tab-label.d.ts.map +1 -1
- package/tabs/tab-label.js +9 -9
- package/tabs/tab.js +1 -1
- package/tag/tag-group.js +1 -1
- package/tag/tag.d.ts +6 -6
- package/tag/tag.d.ts.map +1 -1
- package/tag/tag.js +8 -8
- package/teaser-hero.d.ts +2 -1
- package/teaser-hero.d.ts.map +1 -1
- package/teaser-hero.js +7 -7
- package/teaser-product/teaser-product-static.js +1 -1
- package/teaser-product/teaser-product.js +1 -1
- package/teaser.d.ts +2 -1
- package/teaser.d.ts.map +1 -1
- package/teaser.js +9 -9
- 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.d.ts +7 -7
- package/toast.d.ts.map +1 -1
- package/toast.js +6 -6
- package/toggle/toggle-option.d.ts +2 -1
- package/toggle/toggle-option.d.ts.map +1 -1
- package/toggle/toggle-option.js +7 -7
- package/toggle/toggle.js +1 -1
- package/toggle-check.d.ts +6 -6
- package/toggle-check.d.ts.map +1 -1
- package/toggle-check.js +7 -7
- 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
package/development/core.js
CHANGED
|
@@ -1,56 +1,7 @@
|
|
|
1
|
-
import { c } from "./create-component-
|
|
2
|
-
import {
|
|
3
|
-
import react, { Children, isValidElement } from "react";
|
|
4
|
-
const withSsrDataSlotNames = (component) => {
|
|
5
|
-
return !isServer ? component : (originalProps) => {
|
|
6
|
-
const props = originalProps;
|
|
7
|
-
if (!props.children) {
|
|
8
|
-
return react.createElement(component, props);
|
|
9
|
-
}
|
|
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
|
-
);
|
|
17
|
-
if (!slots.size) {
|
|
18
|
-
return react.createElement(component, props);
|
|
19
|
-
}
|
|
20
|
-
const innerProps = {
|
|
21
|
-
...props,
|
|
22
|
-
"data-named-slots": [...slots].sort().join(" ")
|
|
23
|
-
};
|
|
24
|
-
return react.createElement(component, innerProps);
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
function hasDisplayName(type) {
|
|
28
|
-
return typeof type.displayName === "string";
|
|
29
|
-
}
|
|
30
|
-
const withSsrDataChildCount = (childNames, component) => {
|
|
31
|
-
return !isServer ? component : (originalProps) => {
|
|
32
|
-
const props = originalProps;
|
|
33
|
-
if (!props.children) {
|
|
34
|
-
return react.createElement(component, props);
|
|
35
|
-
}
|
|
36
|
-
let counter = 0;
|
|
37
|
-
Children.forEach(props.children, (child) => {
|
|
38
|
-
if (isValidElement(child) && hasDisplayName(child.type) && childNames.includes(child.type.displayName)) {
|
|
39
|
-
counter += 1;
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
if (!counter) {
|
|
43
|
-
return react.createElement(component, props);
|
|
44
|
-
}
|
|
45
|
-
const innerProps = {
|
|
46
|
-
...props,
|
|
47
|
-
"data-ssr-child-count": counter
|
|
48
|
-
};
|
|
49
|
-
return react.createElement(component, innerProps);
|
|
50
|
-
};
|
|
51
|
-
};
|
|
1
|
+
import { c } from "./create-component-CSki5eOq.js";
|
|
2
|
+
import { a, w } from "./ssr-extensions-CqgUbNPR.js";
|
|
52
3
|
export {
|
|
53
4
|
c as createComponent,
|
|
54
|
-
withSsrDataChildCount,
|
|
55
|
-
withSsrDataSlotNames
|
|
5
|
+
a as withSsrDataChildCount,
|
|
6
|
+
w as withSsrDataSlotNames
|
|
56
7
|
};
|
|
@@ -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,6 +1,6 @@
|
|
|
1
|
-
import { EventName } from '../core.js';
|
|
2
1
|
import { SbbExpansionPanelHeaderElement } from '@sbb-esta/lyne-elements/expansion-panel/expansion-panel-header.js';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
import { default as react } from 'react';
|
|
3
|
+
export declare const SbbExpansionPanelHeader: react.ComponentType<Omit<react.HTMLAttributes<SbbExpansionPanelHeaderElement>, "form" | "value" | "disabled" | "name" | "renderRoot" | "isUpdatePending" | "hasUpdated" | "addController" | "removeController" | "connectedCallback" | "disconnectedCallback" | "attributeChangedCallback" | "requestUpdate" | "updateComplete" | "type" | "disabledInteractive" | "renderOptions" | "iconName" | "onToggleExpanded"> & {
|
|
4
|
+
onToggleExpanded?: ((e: CustomEvent<void>) => void) | undefined;
|
|
5
|
+
} & Partial<Omit<SbbExpansionPanelHeaderElement, keyof HTMLElement>> & react.RefAttributes<SbbExpansionPanelHeaderElement>>;
|
|
6
6
|
//# sourceMappingURL=expansion-panel-header.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"expansion-panel-header.d.ts","sourceRoot":"","sources":["../../../../src/react/expansion-panel/expansion-panel-header.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"expansion-panel-header.d.ts","sourceRoot":"","sources":["../../../../src/react/expansion-panel/expansion-panel-header.ts"],"names":[],"mappings":"AAEE,OAAO,EAAE,8BAA8B,EAAE,MAAM,mEAAmE,CAAC;AACnH,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,uBAAuB;;2HAQjC,CAAC"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { c as createComponent } from "../create-component-
|
|
2
|
-
import "
|
|
3
|
-
import react from "react";
|
|
1
|
+
import { c as createComponent } from "../create-component-CSki5eOq.js";
|
|
2
|
+
import { w as withSsrDataSlotNames } from "../ssr-extensions-CqgUbNPR.js";
|
|
4
3
|
import { SbbExpansionPanelHeaderElement } from "@sbb-esta/lyne-elements/expansion-panel/expansion-panel-header.js";
|
|
5
|
-
|
|
4
|
+
import react from "react";
|
|
5
|
+
const SbbExpansionPanelHeader = withSsrDataSlotNames(createComponent({
|
|
6
6
|
tagName: "sbb-expansion-panel-header",
|
|
7
7
|
elementClass: SbbExpansionPanelHeaderElement,
|
|
8
8
|
react,
|
|
9
9
|
events: {
|
|
10
10
|
"onToggleExpanded": "toggleExpanded"
|
|
11
11
|
}
|
|
12
|
-
});
|
|
12
|
+
}));
|
|
13
13
|
export {
|
|
14
14
|
SbbExpansionPanelHeader
|
|
15
15
|
};
|
|
@@ -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,8 +1,8 @@
|
|
|
1
|
-
import { EventName } from './core.js';
|
|
2
1
|
import { SbbFileSelectorElement } from '@sbb-esta/lyne-elements/file-selector.js';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
import { default as react } from 'react';
|
|
3
|
+
export declare const SbbFileSelector: react.ComponentType<Omit<react.HTMLAttributes<SbbFileSelectorElement>, "onChange" | "onInput" | "form" | "value" | "disabled" | "name" | "renderRoot" | "isUpdatePending" | "hasUpdated" | "addController" | "removeController" | "connectedCallback" | "disconnectedCallback" | "attributeChangedCallback" | "requestUpdate" | "updateComplete" | "type" | "renderOptions" | "validity" | "validationMessage" | "willValidate" | "checkValidity" | "reportValidity" | "formAssociatedCallback" | "formDisabledCallback" | "formResetCallback" | "formStateRestoreCallback" | "multiple" | "accessibilityLabel" | "size" | "variant" | "multipleMode" | "accept" | "titleContent" | "files" | "onFileChanged" | "getFiles"> & {
|
|
4
|
+
onInput?: ((e: Event) => void) | undefined;
|
|
5
|
+
onChange?: ((e: Event) => void) | undefined;
|
|
6
|
+
onFileChanged?: ((e: CustomEvent<File[]>) => void) | undefined;
|
|
7
|
+
} & Partial<Omit<SbbFileSelectorElement, keyof HTMLElement>> & react.RefAttributes<SbbFileSelectorElement>>;
|
|
8
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":"
|
|
1
|
+
{"version":3,"file":"file-selector.d.ts","sourceRoot":"","sources":["../../../src/react/file-selector.ts"],"names":[],"mappings":"AAEE,OAAO,EAAE,sBAAsB,EAAE,MAAM,0CAA0C,CAAC;AAClF,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,eAAe;;;;2GAUzB,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { c as createComponent } from "./create-component-
|
|
2
|
-
import "
|
|
3
|
-
import react from "react";
|
|
1
|
+
import { c as createComponent } from "./create-component-CSki5eOq.js";
|
|
2
|
+
import { w as withSsrDataSlotNames } from "./ssr-extensions-CqgUbNPR.js";
|
|
4
3
|
import { SbbFileSelectorElement } from "@sbb-esta/lyne-elements/file-selector.js";
|
|
5
|
-
|
|
4
|
+
import react from "react";
|
|
5
|
+
const SbbFileSelector = withSsrDataSlotNames(createComponent({
|
|
6
6
|
tagName: "sbb-file-selector",
|
|
7
7
|
elementClass: SbbFileSelectorElement,
|
|
8
8
|
react,
|
|
@@ -11,7 +11,7 @@ const SbbFileSelector = createComponent({
|
|
|
11
11
|
"onChange": "change",
|
|
12
12
|
"onFileChanged": "fileChanged"
|
|
13
13
|
}
|
|
14
|
-
});
|
|
14
|
+
}));
|
|
15
15
|
export {
|
|
16
16
|
SbbFileSelector
|
|
17
17
|
};
|
|
@@ -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,3 +1,4 @@
|
|
|
1
1
|
import { SbbFormFieldElement } from '@sbb-esta/lyne-elements/form-field/form-field.js';
|
|
2
|
-
|
|
2
|
+
import { default as react } from 'react';
|
|
3
|
+
export declare const SbbFormField: react.ComponentType<Omit<react.HTMLAttributes<SbbFormFieldElement>, "reset" | "renderRoot" | "isUpdatePending" | "hasUpdated" | "addController" | "removeController" | "connectedCallback" | "disconnectedCallback" | "attributeChangedCallback" | "requestUpdate" | "updateComplete" | "renderOptions" | "hydrationComplete" | "negative" | "borderless" | "size" | "inputElement" | "errorSpace" | "optional" | "width" | "hiddenLabel" | "floatingLabel" | "clear" | "getInputElement"> & {} & Partial<Omit<SbbFormFieldElement, keyof HTMLElement>> & react.RefAttributes<SbbFormFieldElement>>;
|
|
3
4
|
//# sourceMappingURL=form-field.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-field.d.ts","sourceRoot":"","sources":["../../../../src/react/form-field/form-field.ts"],"names":[],"mappings":"AAEE,OAAO,EAAE,mBAAmB,EAAE,MAAM,kDAAkD,CAAC;
|
|
1
|
+
{"version":3,"file":"form-field.d.ts","sourceRoot":"","sources":["../../../../src/react/form-field/form-field.ts"],"names":[],"mappings":"AAEE,OAAO,EAAE,mBAAmB,EAAE,MAAM,kDAAkD,CAAC;AACvF,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,YAAY,qkBAItB,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { c as createComponent } from "../create-component-
|
|
2
|
-
import "
|
|
3
|
-
import react from "react";
|
|
1
|
+
import { c as createComponent } from "../create-component-CSki5eOq.js";
|
|
2
|
+
import { w as withSsrDataSlotNames } from "../ssr-extensions-CqgUbNPR.js";
|
|
4
3
|
import { SbbFormFieldElement } from "@sbb-esta/lyne-elements/form-field/form-field.js";
|
|
5
|
-
|
|
4
|
+
import react from "react";
|
|
5
|
+
const SbbFormField = withSsrDataSlotNames(createComponent({
|
|
6
6
|
tagName: "sbb-form-field",
|
|
7
7
|
elementClass: SbbFormFieldElement,
|
|
8
8
|
react
|
|
9
|
-
});
|
|
9
|
+
}));
|
|
10
10
|
export {
|
|
11
11
|
SbbFormField
|
|
12
12
|
};
|
|
@@ -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,3 +1,4 @@
|
|
|
1
1
|
import { SbbLinkListAnchorElement } from '@sbb-esta/lyne-elements/link-list/link-list-anchor.js';
|
|
2
|
-
|
|
2
|
+
import { default as react } from 'react';
|
|
3
|
+
export declare const SbbLinkListAnchor: react.ComponentType<Omit<react.HTMLAttributes<SbbLinkListAnchorElement>, "renderRoot" | "isUpdatePending" | "hasUpdated" | "addController" | "removeController" | "connectedCallback" | "disconnectedCallback" | "attributeChangedCallback" | "requestUpdate" | "updateComplete" | "renderOptions" | "hydrationComplete" | "negative" | "titleLevel" | "size" | "titleContent"> & {} & Partial<Omit<SbbLinkListAnchorElement, keyof HTMLElement>> & react.RefAttributes<SbbLinkListAnchorElement>>;
|
|
3
4
|
//# sourceMappingURL=link-list-anchor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"link-list-anchor.d.ts","sourceRoot":"","sources":["../../../../src/react/link-list/link-list-anchor.ts"],"names":[],"mappings":"AAEE,OAAO,EAAE,wBAAwB,EAAE,MAAM,uDAAuD,CAAC;
|
|
1
|
+
{"version":3,"file":"link-list-anchor.d.ts","sourceRoot":"","sources":["../../../../src/react/link-list/link-list-anchor.ts"],"names":[],"mappings":"AAEE,OAAO,EAAE,wBAAwB,EAAE,MAAM,uDAAuD,CAAC;AACjG,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,iBAAiB,oeAI3B,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { c as createComponent } from "../create-component-
|
|
2
|
-
import "
|
|
3
|
-
import react from "react";
|
|
1
|
+
import { c as createComponent } from "../create-component-CSki5eOq.js";
|
|
2
|
+
import { w as withSsrDataSlotNames } from "../ssr-extensions-CqgUbNPR.js";
|
|
4
3
|
import { SbbLinkListAnchorElement } from "@sbb-esta/lyne-elements/link-list/link-list-anchor.js";
|
|
5
|
-
|
|
4
|
+
import react from "react";
|
|
5
|
+
const SbbLinkListAnchor = withSsrDataSlotNames(createComponent({
|
|
6
6
|
tagName: "sbb-link-list-anchor",
|
|
7
7
|
elementClass: SbbLinkListAnchorElement,
|
|
8
8
|
react
|
|
9
|
-
});
|
|
9
|
+
}));
|
|
10
10
|
export {
|
|
11
11
|
SbbLinkListAnchor
|
|
12
12
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { SbbLinkListElement } from '@sbb-esta/lyne-elements/link-list/link-list.js';
|
|
2
|
-
|
|
2
|
+
import { default as react } from 'react';
|
|
3
|
+
export declare const SbbLinkList: react.ComponentType<Omit<react.HTMLAttributes<SbbLinkListElement>, "renderRoot" | "isUpdatePending" | "hasUpdated" | "addController" | "removeController" | "connectedCallback" | "disconnectedCallback" | "attributeChangedCallback" | "requestUpdate" | "updateComplete" | "renderOptions" | "hydrationComplete" | "negative" | "titleLevel" | "size" | "orientation" | "horizontalFrom" | "titleContent"> & {} & Partial<Omit<SbbLinkListElement, keyof HTMLElement>> & react.RefAttributes<SbbLinkListElement>>;
|
|
3
4
|
//# sourceMappingURL=link-list.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"link-list.d.ts","sourceRoot":"","sources":["../../../../src/react/link-list/link-list.ts"],"names":[],"mappings":"AAEE,OAAO,EAAE,kBAAkB,EAAE,MAAM,gDAAgD,CAAC;
|
|
1
|
+
{"version":3,"file":"link-list.d.ts","sourceRoot":"","sources":["../../../../src/react/link-list/link-list.ts"],"names":[],"mappings":"AAEE,OAAO,EAAE,kBAAkB,EAAE,MAAM,gDAAgD,CAAC;AACpF,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,WAAW,qfAIrB,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { c as createComponent } from "../create-component-
|
|
2
|
-
import "
|
|
3
|
-
import react from "react";
|
|
1
|
+
import { c as createComponent } from "../create-component-CSki5eOq.js";
|
|
2
|
+
import { w as withSsrDataSlotNames } from "../ssr-extensions-CqgUbNPR.js";
|
|
4
3
|
import { SbbLinkListElement } from "@sbb-esta/lyne-elements/link-list/link-list.js";
|
|
5
|
-
|
|
4
|
+
import react from "react";
|
|
5
|
+
const SbbLinkList = withSsrDataSlotNames(createComponent({
|
|
6
6
|
tagName: "sbb-link-list",
|
|
7
7
|
elementClass: SbbLinkListElement,
|
|
8
8
|
react
|
|
9
|
-
});
|
|
9
|
+
}));
|
|
10
10
|
export {
|
|
11
11
|
SbbLinkList
|
|
12
12
|
};
|
|
@@ -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,3 +1,4 @@
|
|
|
1
1
|
import { SbbNavigationListElement } from '@sbb-esta/lyne-elements/navigation/navigation-list.js';
|
|
2
|
-
|
|
2
|
+
import { default as react } from 'react';
|
|
3
|
+
export declare const SbbNavigationList: react.ComponentType<Omit<react.HTMLAttributes<SbbNavigationListElement>, "label" | "renderRoot" | "isUpdatePending" | "hasUpdated" | "addController" | "removeController" | "connectedCallback" | "disconnectedCallback" | "attributeChangedCallback" | "requestUpdate" | "updateComplete" | "renderOptions" | "hydrationComplete"> & {} & Partial<Omit<SbbNavigationListElement, keyof HTMLElement>> & react.RefAttributes<SbbNavigationListElement>>;
|
|
3
4
|
//# sourceMappingURL=navigation-list.d.ts.map
|