@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"navigation-list.d.ts","sourceRoot":"","sources":["../../../../src/react/navigation/navigation-list.ts"],"names":[],"mappings":"AAEE,OAAO,EAAE,wBAAwB,EAAE,MAAM,uDAAuD,CAAC;
|
|
1
|
+
{"version":3,"file":"navigation-list.d.ts","sourceRoot":"","sources":["../../../../src/react/navigation/navigation-list.ts"],"names":[],"mappings":"AAEE,OAAO,EAAE,wBAAwB,EAAE,MAAM,uDAAuD,CAAC;AACjG,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,iBAAiB,wbAI3B,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 { SbbNavigationListElement } from "@sbb-esta/lyne-elements/navigation/navigation-list.js";
|
|
5
|
-
|
|
4
|
+
import react from "react";
|
|
5
|
+
const SbbNavigationList = withSsrDataSlotNames(createComponent({
|
|
6
6
|
tagName: "sbb-navigation-list",
|
|
7
7
|
elementClass: SbbNavigationListElement,
|
|
8
8
|
react
|
|
9
|
-
});
|
|
9
|
+
}));
|
|
10
10
|
export {
|
|
11
11
|
SbbNavigationList
|
|
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 { SbbNavigationMarkerElement } from "@sbb-esta/lyne-elements/navigation/navigation-marker.js";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { SbbNavigationSectionElement } from '@sbb-esta/lyne-elements/navigation/navigation-section.js';
|
|
2
|
-
|
|
2
|
+
import { default as react } from 'react';
|
|
3
|
+
export declare const SbbNavigationSection: react.ComponentType<Omit<react.HTMLAttributes<SbbNavigationSectionElement>, "close" | "renderRoot" | "isUpdatePending" | "hasUpdated" | "addController" | "removeController" | "connectedCallback" | "disconnectedCallback" | "attributeChangedCallback" | "requestUpdate" | "updateComplete" | "renderOptions" | "accessibilityLabel" | "trigger" | "open" | "titleContent" | "accessibilityBackLabel"> & {} & Partial<Omit<SbbNavigationSectionElement, keyof HTMLElement>> & react.RefAttributes<SbbNavigationSectionElement>>;
|
|
3
4
|
//# sourceMappingURL=navigation-section.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"navigation-section.d.ts","sourceRoot":"","sources":["../../../../src/react/navigation/navigation-section.ts"],"names":[],"mappings":"AAEE,OAAO,EAAE,2BAA2B,EAAE,MAAM,0DAA0D,CAAC;
|
|
1
|
+
{"version":3,"file":"navigation-section.d.ts","sourceRoot":"","sources":["../../../../src/react/navigation/navigation-section.ts"],"names":[],"mappings":"AAEE,OAAO,EAAE,2BAA2B,EAAE,MAAM,0DAA0D,CAAC;AACvG,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,oBAAoB,mgBAI9B,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 { SbbNavigationSectionElement } from "@sbb-esta/lyne-elements/navigation/navigation-section.js";
|
|
5
|
-
|
|
4
|
+
import react from "react";
|
|
5
|
+
const SbbNavigationSection = withSsrDataSlotNames(createComponent({
|
|
6
6
|
tagName: "sbb-navigation-section",
|
|
7
7
|
elementClass: SbbNavigationSectionElement,
|
|
8
8
|
react
|
|
9
|
-
});
|
|
9
|
+
}));
|
|
10
10
|
export {
|
|
11
11
|
SbbNavigationSection
|
|
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 { SbbNavigationElement } from "@sbb-esta/lyne-elements/navigation/navigation.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { EventName } from './core.js';
|
|
2
1
|
import { SbbNotificationElement } from '@sbb-esta/lyne-elements/notification.js';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
import { default as react } from 'react';
|
|
3
|
+
export declare const SbbNotification: react.ComponentType<Omit<react.HTMLAttributes<SbbNotificationElement>, "close" | "renderRoot" | "isUpdatePending" | "hasUpdated" | "addController" | "removeController" | "connectedCallback" | "disconnectedCallback" | "attributeChangedCallback" | "requestUpdate" | "updateComplete" | "type" | "renderOptions" | "titleLevel" | "size" | "readonly" | "onWillOpen" | "onDidOpen" | "onWillClose" | "onDidClose" | "animation" | "titleContent"> & {
|
|
4
|
+
onWillOpen?: ((e: CustomEvent<void>) => void) | undefined;
|
|
5
|
+
onDidOpen?: ((e: CustomEvent<void>) => void) | undefined;
|
|
6
|
+
onWillClose?: ((e: CustomEvent<void>) => void) | undefined;
|
|
7
|
+
onDidClose?: ((e: CustomEvent<void>) => void) | undefined;
|
|
8
|
+
} & Partial<Omit<SbbNotificationElement, keyof HTMLElement>> & react.RefAttributes<SbbNotificationElement>>;
|
|
9
9
|
//# sourceMappingURL=notification.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notification.d.ts","sourceRoot":"","sources":["../../../src/react/notification.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"notification.d.ts","sourceRoot":"","sources":["../../../src/react/notification.ts"],"names":[],"mappings":"AAEE,OAAO,EAAE,sBAAsB,EAAE,MAAM,yCAAyC,CAAC;AACjF,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,eAAe;;;;;2GAWzB,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 { SbbNotificationElement } from "@sbb-esta/lyne-elements/notification.js";
|
|
5
|
-
|
|
4
|
+
import react from "react";
|
|
5
|
+
const SbbNotification = withSsrDataSlotNames(createComponent({
|
|
6
6
|
tagName: "sbb-notification",
|
|
7
7
|
elementClass: SbbNotificationElement,
|
|
8
8
|
react,
|
|
@@ -12,7 +12,7 @@ const SbbNotification = createComponent({
|
|
|
12
12
|
"onWillClose": "willClose",
|
|
13
13
|
"onDidClose": "didClose"
|
|
14
14
|
}
|
|
15
|
-
});
|
|
15
|
+
}));
|
|
16
16
|
export {
|
|
17
17
|
SbbNotification
|
|
18
18
|
};
|
|
@@ -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";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { EventName } from '../core.js';
|
|
2
1
|
import { SbbOptionElement } from '@sbb-esta/lyne-elements/option/option.js';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
import { default as react } from 'react';
|
|
3
|
+
export declare const SbbOption: react.ComponentType<Omit<react.HTMLAttributes<SbbOptionElement>, "value" | "disabled" | "renderRoot" | "isUpdatePending" | "hasUpdated" | "addController" | "removeController" | "connectedCallback" | "disconnectedCallback" | "attributeChangedCallback" | "requestUpdate" | "updateComplete" | "renderOptions" | "hydrationComplete" | "iconName" | "active" | "selected" | "highlight" | "setSelectedViaUserInteraction" | "setActive" | "onOptionSelectionChange" | "onOptionSelected"> & {
|
|
4
|
+
onOptionSelectionChange?: ((e: CustomEvent<void>) => void) | undefined;
|
|
5
|
+
onOptionSelected?: ((e: CustomEvent<void>) => void) | undefined;
|
|
6
|
+
} & Partial<Omit<SbbOptionElement, keyof HTMLElement>> & react.RefAttributes<SbbOptionElement>>;
|
|
7
7
|
//# sourceMappingURL=option.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"option.d.ts","sourceRoot":"","sources":["../../../../src/react/option/option.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"option.d.ts","sourceRoot":"","sources":["../../../../src/react/option/option.ts"],"names":[],"mappings":"AAEE,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAC5E,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,SAAS;;;+FASnB,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 { SbbOptionElement } from "@sbb-esta/lyne-elements/option/option.js";
|
|
5
|
-
|
|
4
|
+
import react from "react";
|
|
5
|
+
const SbbOption = withSsrDataSlotNames(createComponent({
|
|
6
6
|
tagName: "sbb-option",
|
|
7
7
|
elementClass: SbbOptionElement,
|
|
8
8
|
react,
|
|
@@ -10,7 +10,7 @@ const SbbOption = createComponent({
|
|
|
10
10
|
"onOptionSelectionChange": "optionSelectionChange",
|
|
11
11
|
"onOptionSelected": "optionSelected"
|
|
12
12
|
}
|
|
13
|
-
});
|
|
13
|
+
}));
|
|
14
14
|
export {
|
|
15
15
|
SbbOption
|
|
16
16
|
};
|
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"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { c as createComponent } from "../create-component-CSki5eOq.js";
|
|
2
|
+
import "lit";
|
|
3
|
+
import react from "react";
|
|
4
|
+
import { SbbPaginatorElement } from "@sbb-esta/lyne-elements/paginator/paginator.js";
|
|
5
|
+
import "@sbb-esta/lyne-elements/core/interfaces.js";
|
|
6
|
+
const SbbPaginator = createComponent({
|
|
7
|
+
tagName: "sbb-paginator",
|
|
8
|
+
elementClass: SbbPaginatorElement,
|
|
9
|
+
react,
|
|
10
|
+
events: {
|
|
11
|
+
"onPage": "page"
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
export {
|
|
15
|
+
SbbPaginator
|
|
16
|
+
};
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export declare const SbbPaginator: import('./core.js').ReactWebComponent<SbbPaginatorElement, {
|
|
4
|
-
onPage: EventName<CustomEvent<SbbPaginatorPageEventDetails>>;
|
|
5
|
-
}>;
|
|
1
|
+
export * from './paginator/compact-paginator.js';
|
|
2
|
+
export * from './paginator/paginator.js';
|
|
6
3
|
//# sourceMappingURL=paginator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"paginator.d.ts","sourceRoot":"","sources":["../../../src/react/paginator.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"paginator.d.ts","sourceRoot":"","sources":["../../../src/react/paginator.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAC;AACjD,cAAc,0BAA0B,CAAC"}
|
package/development/paginator.js
CHANGED
|
@@ -1,15 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "
|
|
3
|
-
import react from "react";
|
|
4
|
-
import { SbbPaginatorElement } from "@sbb-esta/lyne-elements/paginator.js";
|
|
5
|
-
const SbbPaginator = createComponent({
|
|
6
|
-
tagName: "sbb-paginator",
|
|
7
|
-
elementClass: SbbPaginatorElement,
|
|
8
|
-
react,
|
|
9
|
-
events: {
|
|
10
|
-
"onPage": "page"
|
|
11
|
-
}
|
|
12
|
-
});
|
|
1
|
+
import { SbbCompactPaginator } from "./paginator/compact-paginator.js";
|
|
2
|
+
import { SbbPaginator } from "./paginator/paginator.js";
|
|
13
3
|
export {
|
|
4
|
+
SbbCompactPaginator,
|
|
14
5
|
SbbPaginator
|
|
15
6
|
};
|
|
@@ -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 { SbbPopoverTriggerElement } from "@sbb-esta/lyne-elements/popover/popover-trigger.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 { SbbPopoverElement } from "@sbb-esta/lyne-elements/popover/popover.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { EventName } from '../core.js';
|
|
2
1
|
import { SbbRadioButtonGroupElement, SbbRadioButtonGroupEventDetail } from '@sbb-esta/lyne-elements/radio-button/radio-button-group.js';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
import { default as react } from 'react';
|
|
3
|
+
export declare const SbbRadioButtonGroup: react.ComponentType<Omit<react.HTMLAttributes<SbbRadioButtonGroupElement>, "onChange" | "onInput" | "value" | "disabled" | "renderRoot" | "isUpdatePending" | "hasUpdated" | "addController" | "removeController" | "connectedCallback" | "disconnectedCallback" | "attributeChangedCallback" | "requestUpdate" | "updateComplete" | "renderOptions" | "required" | "size" | "orientation" | "horizontalFrom" | "onDidChange" | "allowEmptySelection" | "radioButtons" | "willUpdate"> & {
|
|
4
|
+
onDidChange?: ((e: CustomEvent<SbbRadioButtonGroupEventDetail>) => void) | undefined;
|
|
5
|
+
onChange?: ((e: CustomEvent<SbbRadioButtonGroupEventDetail>) => void) | undefined;
|
|
6
|
+
onInput?: ((e: CustomEvent<SbbRadioButtonGroupEventDetail>) => void) | undefined;
|
|
7
|
+
} & Partial<Omit<SbbRadioButtonGroupElement, keyof HTMLElement>> & react.RefAttributes<SbbRadioButtonGroupElement>>;
|
|
8
8
|
//# sourceMappingURL=radio-button-group.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-button-group.d.ts","sourceRoot":"","sources":["../../../../src/react/radio-button/radio-button-group.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"radio-button-group.d.ts","sourceRoot":"","sources":["../../../../src/react/radio-button/radio-button-group.ts"],"names":[],"mappings":"AAEE,OAAO,EAAE,0BAA0B,EAAE,KAAK,8BAA8B,EAAE,MAAM,4DAA4D,CAAC;AAC7I,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,mBAAmB;;;;mHAU7B,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 { SbbRadioButtonGroupElement } from "@sbb-esta/lyne-elements/radio-button/radio-button-group.js";
|
|
5
|
-
|
|
4
|
+
import react from "react";
|
|
5
|
+
const SbbRadioButtonGroup = withSsrDataSlotNames(createComponent({
|
|
6
6
|
tagName: "sbb-radio-button-group",
|
|
7
7
|
elementClass: SbbRadioButtonGroupElement,
|
|
8
8
|
react,
|
|
@@ -11,7 +11,7 @@ const SbbRadioButtonGroup = createComponent({
|
|
|
11
11
|
"onChange": "change",
|
|
12
12
|
"onInput": "input"
|
|
13
13
|
}
|
|
14
|
-
});
|
|
14
|
+
}));
|
|
15
15
|
export {
|
|
16
16
|
SbbRadioButtonGroup
|
|
17
17
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { SbbRadioButtonPanelElement } from '@sbb-esta/lyne-elements/radio-button/radio-button-panel.js';
|
|
2
|
-
|
|
2
|
+
import { default as react } from 'react';
|
|
3
|
+
export declare const SbbRadioButtonPanel: react.ComponentType<Omit<react.HTMLAttributes<SbbRadioButtonPanelElement>, "color" | "select" | "group" | "value" | "checked" | "disabled" | "renderRoot" | "isUpdatePending" | "hasUpdated" | "addController" | "removeController" | "connectedCallback" | "disconnectedCallback" | "attributeChangedCallback" | "requestUpdate" | "updateComplete" | "renderOptions" | "required" | "borderless" | "expansionState" | "size" | "allowEmptySelection"> & {} & Partial<Omit<SbbRadioButtonPanelElement, keyof HTMLElement>> & react.RefAttributes<SbbRadioButtonPanelElement>>;
|
|
3
4
|
//# sourceMappingURL=radio-button-panel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-button-panel.d.ts","sourceRoot":"","sources":["../../../../src/react/radio-button/radio-button-panel.ts"],"names":[],"mappings":"AAEE,OAAO,EAAE,0BAA0B,EAAE,MAAM,4DAA4D,CAAC;
|
|
1
|
+
{"version":3,"file":"radio-button-panel.d.ts","sourceRoot":"","sources":["../../../../src/react/radio-button/radio-button-panel.ts"],"names":[],"mappings":"AAEE,OAAO,EAAE,0BAA0B,EAAE,MAAM,4DAA4D,CAAC;AACxG,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,mBAAmB,gjBAI7B,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 { SbbRadioButtonPanelElement } from "@sbb-esta/lyne-elements/radio-button/radio-button-panel.js";
|
|
5
|
-
|
|
4
|
+
import react from "react";
|
|
5
|
+
const SbbRadioButtonPanel = withSsrDataSlotNames(createComponent({
|
|
6
6
|
tagName: "sbb-radio-button-panel",
|
|
7
7
|
elementClass: SbbRadioButtonPanelElement,
|
|
8
8
|
react
|
|
9
|
-
});
|
|
9
|
+
}));
|
|
10
10
|
export {
|
|
11
11
|
SbbRadioButtonPanel
|
|
12
12
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { SbbRadioButtonElement } from '@sbb-esta/lyne-elements/radio-button/radio-button.js';
|
|
2
|
-
|
|
2
|
+
import { default as react } from 'react';
|
|
3
|
+
export declare const SbbRadioButton: react.ComponentType<Omit<react.HTMLAttributes<SbbRadioButtonElement>, "select" | "group" | "value" | "checked" | "disabled" | "renderRoot" | "isUpdatePending" | "hasUpdated" | "addController" | "removeController" | "connectedCallback" | "disconnectedCallback" | "attributeChangedCallback" | "requestUpdate" | "updateComplete" | "renderOptions" | "required" | "size" | "allowEmptySelection"> & {} & Partial<Omit<SbbRadioButtonElement, keyof HTMLElement>> & react.RefAttributes<SbbRadioButtonElement>>;
|
|
3
4
|
//# sourceMappingURL=radio-button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-button.d.ts","sourceRoot":"","sources":["../../../../src/react/radio-button/radio-button.ts"],"names":[],"mappings":"AAEE,OAAO,EAAE,qBAAqB,EAAE,MAAM,sDAAsD,CAAC;
|
|
1
|
+
{"version":3,"file":"radio-button.d.ts","sourceRoot":"","sources":["../../../../src/react/radio-button/radio-button.ts"],"names":[],"mappings":"AAEE,OAAO,EAAE,qBAAqB,EAAE,MAAM,sDAAsD,CAAC;AAC7F,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,cAAc,qfAIxB,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 { SbbRadioButtonElement } from "@sbb-esta/lyne-elements/radio-button/radio-button.js";
|
|
5
|
-
|
|
4
|
+
import react from "react";
|
|
5
|
+
const SbbRadioButton = withSsrDataSlotNames(createComponent({
|
|
6
6
|
tagName: "sbb-radio-button",
|
|
7
7
|
elementClass: SbbRadioButtonElement,
|
|
8
8
|
react
|
|
9
|
-
});
|
|
9
|
+
}));
|
|
10
10
|
export {
|
|
11
11
|
SbbRadioButton
|
|
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 { SbbScreenReaderOnlyElement } from "@sbb-esta/lyne-elements/screen-reader-only.js";
|
package/development/select.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { EventName } from './core.js';
|
|
2
1
|
import { SbbSelectionExpansionPanelElement } from '@sbb-esta/lyne-elements/selection-expansion-panel.js';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
import { default as react } from 'react';
|
|
3
|
+
export declare const SbbSelectionExpansionPanel: react.ComponentType<Omit<react.HTMLAttributes<SbbSelectionExpansionPanelElement>, "color" | "renderRoot" | "isUpdatePending" | "hasUpdated" | "addController" | "removeController" | "connectedCallback" | "disconnectedCallback" | "attributeChangedCallback" | "requestUpdate" | "updateComplete" | "renderOptions" | "hydrationComplete" | "borderless" | "onWillOpen" | "onDidOpen" | "onWillClose" | "onDidClose" | "forceOpen"> & {
|
|
4
|
+
onWillOpen?: ((e: CustomEvent<void>) => void) | undefined;
|
|
5
|
+
onDidOpen?: ((e: CustomEvent<void>) => void) | undefined;
|
|
6
|
+
onWillClose?: ((e: CustomEvent<void>) => void) | undefined;
|
|
7
|
+
onDidClose?: ((e: CustomEvent<void>) => void) | undefined;
|
|
8
|
+
} & Partial<Omit<SbbSelectionExpansionPanelElement, keyof HTMLElement>> & react.RefAttributes<SbbSelectionExpansionPanelElement>>;
|
|
9
9
|
//# sourceMappingURL=selection-expansion-panel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selection-expansion-panel.d.ts","sourceRoot":"","sources":["../../../src/react/selection-expansion-panel.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"selection-expansion-panel.d.ts","sourceRoot":"","sources":["../../../src/react/selection-expansion-panel.ts"],"names":[],"mappings":"AAEE,OAAO,EAAE,iCAAiC,EAAE,MAAM,sDAAsD,CAAC;AACzG,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,0BAA0B;;;;;iIAWpC,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 { SbbSelectionExpansionPanelElement } from "@sbb-esta/lyne-elements/selection-expansion-panel.js";
|
|
5
|
-
|
|
4
|
+
import react from "react";
|
|
5
|
+
const SbbSelectionExpansionPanel = withSsrDataSlotNames(createComponent({
|
|
6
6
|
tagName: "sbb-selection-expansion-panel",
|
|
7
7
|
elementClass: SbbSelectionExpansionPanelElement,
|
|
8
8
|
react,
|
|
@@ -12,7 +12,7 @@ const SbbSelectionExpansionPanel = createComponent({
|
|
|
12
12
|
"onWillClose": "willClose",
|
|
13
13
|
"onDidClose": "didClose"
|
|
14
14
|
}
|
|
15
|
-
});
|
|
15
|
+
}));
|
|
16
16
|
export {
|
|
17
17
|
SbbSelectionExpansionPanel
|
|
18
18
|
};
|
package/development/signet.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { SbbSkiplinkListElement } from '@sbb-esta/lyne-elements/skiplink-list.js';
|
|
2
|
-
|
|
2
|
+
import { default as react } from 'react';
|
|
3
|
+
export declare const SbbSkiplinkList: react.ComponentType<Omit<react.HTMLAttributes<SbbSkiplinkListElement>, "renderRoot" | "isUpdatePending" | "hasUpdated" | "addController" | "removeController" | "connectedCallback" | "disconnectedCallback" | "attributeChangedCallback" | "requestUpdate" | "updateComplete" | "renderOptions" | "hydrationComplete" | "titleLevel" | "titleContent"> & {} & Partial<Omit<SbbSkiplinkListElement, keyof HTMLElement>> & react.RefAttributes<SbbSkiplinkListElement>>;
|
|
3
4
|
//# sourceMappingURL=skiplink-list.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skiplink-list.d.ts","sourceRoot":"","sources":["../../../src/react/skiplink-list.ts"],"names":[],"mappings":"AAEE,OAAO,EAAE,sBAAsB,EAAE,MAAM,0CAA0C,CAAC;
|
|
1
|
+
{"version":3,"file":"skiplink-list.d.ts","sourceRoot":"","sources":["../../../src/react/skiplink-list.ts"],"names":[],"mappings":"AAEE,OAAO,EAAE,sBAAsB,EAAE,MAAM,0CAA0C,CAAC;AAClF,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,eAAe,wcAIzB,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 { SbbSkiplinkListElement } from "@sbb-esta/lyne-elements/skiplink-list.js";
|
|
5
|
-
|
|
4
|
+
import react from "react";
|
|
5
|
+
const SbbSkiplinkList = withSsrDataSlotNames(createComponent({
|
|
6
6
|
tagName: "sbb-skiplink-list",
|
|
7
7
|
elementClass: SbbSkiplinkListElement,
|
|
8
8
|
react
|
|
9
|
-
});
|
|
9
|
+
}));
|
|
10
10
|
export {
|
|
11
11
|
SbbSkiplinkList
|
|
12
12
|
};
|
package/development/slider.js
CHANGED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { isServer } from "lit";
|
|
2
|
+
import react, { Children, isValidElement } from "react";
|
|
3
|
+
const withSsrDataSlotNames = (component) => {
|
|
4
|
+
return !isServer ? component : (originalProps) => {
|
|
5
|
+
const props = originalProps;
|
|
6
|
+
if (!props.children) {
|
|
7
|
+
return react.createElement(component, props);
|
|
8
|
+
}
|
|
9
|
+
const slots = /* @__PURE__ */ new Set();
|
|
10
|
+
Children.forEach(props.children, (child) => slots.add(typeof child === "object" && !!child && "props" in child && "slot" in child.props && child.props.slot || "unnamed"));
|
|
11
|
+
if (!slots.size) {
|
|
12
|
+
return react.createElement(component, props);
|
|
13
|
+
}
|
|
14
|
+
const innerProps = {
|
|
15
|
+
...props,
|
|
16
|
+
"data-named-slots": [...slots].sort().join(" ")
|
|
17
|
+
};
|
|
18
|
+
return react.createElement(component, innerProps);
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
function hasDisplayName(type) {
|
|
22
|
+
return typeof type.displayName === "string";
|
|
23
|
+
}
|
|
24
|
+
const withSsrDataChildCount = (childNames, component) => {
|
|
25
|
+
return !isServer ? component : (originalProps) => {
|
|
26
|
+
const props = originalProps;
|
|
27
|
+
if (!props.children) {
|
|
28
|
+
return react.createElement(component, props);
|
|
29
|
+
}
|
|
30
|
+
let counter = 0;
|
|
31
|
+
Children.forEach(props.children, (child) => {
|
|
32
|
+
if (isValidElement(child) && hasDisplayName(child.type) && childNames.includes(child.type.displayName)) {
|
|
33
|
+
counter += 1;
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
if (!counter) {
|
|
37
|
+
return react.createElement(component, props);
|
|
38
|
+
}
|
|
39
|
+
const innerProps = {
|
|
40
|
+
...props,
|
|
41
|
+
"data-ssr-child-count": counter
|
|
42
|
+
};
|
|
43
|
+
return react.createElement(component, innerProps);
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
export {
|
|
47
|
+
withSsrDataChildCount as a,
|
|
48
|
+
withSsrDataSlotNames as w
|
|
49
|
+
};
|
package/development/status.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { SbbStatusElement } from '@sbb-esta/lyne-elements/status.js';
|
|
2
|
-
|
|
2
|
+
import { default as react } from 'react';
|
|
3
|
+
export declare const SbbStatus: react.ComponentType<Omit<react.HTMLAttributes<SbbStatusElement>, "renderRoot" | "isUpdatePending" | "hasUpdated" | "addController" | "removeController" | "connectedCallback" | "disconnectedCallback" | "attributeChangedCallback" | "requestUpdate" | "updateComplete" | "type" | "renderOptions" | "iconName" | "titleLevel" | "titleContent"> & {} & Partial<Omit<SbbStatusElement, keyof HTMLElement>> & react.RefAttributes<SbbStatusElement>>;
|
|
3
4
|
//# sourceMappingURL=status.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../../src/react/status.ts"],"names":[],"mappings":"AAEE,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;
|
|
1
|
+
{"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../../src/react/status.ts"],"names":[],"mappings":"AAEE,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AACrE,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,SAAS,sbAInB,CAAC"}
|
package/development/status.js
CHANGED
|
@@ -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 { SbbStatusElement } from "@sbb-esta/lyne-elements/status.js";
|
|
5
|
-
|
|
4
|
+
import react from "react";
|
|
5
|
+
const SbbStatus = withSsrDataSlotNames(createComponent({
|
|
6
6
|
tagName: "sbb-status",
|
|
7
7
|
elementClass: SbbStatusElement,
|
|
8
8
|
react
|
|
9
|
-
});
|
|
9
|
+
}));
|
|
10
10
|
export {
|
|
11
11
|
SbbStatus
|
|
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 { SbbStepLabelElement } from "@sbb-esta/lyne-elements/stepper/step-label.js";
|