@sbb-esta/lyne-react 3.0.0-next.1 → 3.0.0-next.3
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/accordion.component.js +1 -1
- package/action-group/action-group.component.js +1 -1
- package/alert/alert/alert.component.js +1 -1
- package/alert/alert-group/alert-group.component.js +1 -1
- package/autocomplete/autocomplete.component.js +1 -1
- package/autocomplete-grid/autocomplete-grid/autocomplete-grid.component.js +1 -1
- package/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.component.js +1 -1
- package/autocomplete-grid/autocomplete-grid-cell/autocomplete-grid-cell.component.js +1 -1
- package/autocomplete-grid/autocomplete-grid-optgroup/autocomplete-grid-optgroup.component.js +1 -1
- package/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.js +1 -1
- package/autocomplete-grid/autocomplete-grid-row/autocomplete-grid-row.component.js +1 -1
- package/breadcrumb/breadcrumb/breadcrumb.component.js +1 -1
- package/breadcrumb/breadcrumb-group/breadcrumb-group.component.js +1 -1
- package/button/accent-button/accent-button.component.js +1 -1
- package/button/accent-button-link/accent-button-link.component.js +1 -1
- package/button/accent-button-static/accent-button-static.component.js +1 -1
- package/button/button/button.component.js +1 -1
- package/button/button-link/button-link.component.js +1 -1
- package/button/button-static/button-static.component.js +1 -1
- package/button/mini-button/mini-button.component.js +1 -1
- package/button/mini-button-group/mini-button-group.component.js +1 -1
- package/button/secondary-button/secondary-button.component.js +1 -1
- package/button/secondary-button-link/secondary-button-link.component.js +1 -1
- package/button/secondary-button-static/secondary-button-static.component.js +1 -1
- package/button/transparent-button/transparent-button.component.js +1 -1
- package/button/transparent-button-link/transparent-button-link.component.js +1 -1
- package/button/transparent-button-static/transparent-button-static.component.js +1 -1
- package/calendar/calendar.component.js +1 -1
- package/card/card/card.component.js +1 -1
- package/card/card-badge/card-badge.component.js +1 -1
- package/card/card-button/card-button.component.js +1 -1
- package/card/card-link/card-link.component.js +1 -1
- package/checkbox/checkbox/checkbox.component.js +1 -1
- package/checkbox/checkbox-group/checkbox-group.component.js +1 -1
- package/checkbox/checkbox-panel/checkbox-panel.component.js +1 -1
- package/chip/chip/chip.component.js +1 -1
- package/chip/chip-group/chip-group.component.js +1 -1
- package/chip-label/chip-label.component.js +1 -1
- package/clock/clock.component.js +1 -1
- package/container/container/container.component.js +1 -1
- package/container/sticky-bar/sticky-bar.component.js +1 -1
- package/core.js +1 -1
- package/create-component-BzQJ4c_K.js +70 -0
- package/date-input/date-input.component.js +1 -1
- package/datepicker/datepicker/datepicker.component.d.ts +10 -7
- package/datepicker/datepicker/datepicker.component.d.ts.map +1 -1
- package/datepicker/datepicker/datepicker.component.js +12 -13
- package/datepicker/datepicker-next-day/datepicker-next-day.component.js +1 -1
- package/datepicker/datepicker-previous-day/datepicker-previous-day.component.js +1 -1
- package/datepicker/datepicker-toggle/datepicker-toggle.component.js +1 -1
- package/development/accordion/accordion.component.js +1 -1
- package/development/action-group/action-group.component.js +1 -1
- package/development/alert/alert/alert.component.js +1 -1
- package/development/alert/alert-group/alert-group.component.js +1 -1
- package/development/autocomplete/autocomplete.component.js +1 -1
- package/development/autocomplete-grid/autocomplete-grid/autocomplete-grid.component.js +1 -1
- package/development/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.component.js +1 -1
- package/development/autocomplete-grid/autocomplete-grid-cell/autocomplete-grid-cell.component.js +1 -1
- package/development/autocomplete-grid/autocomplete-grid-optgroup/autocomplete-grid-optgroup.component.js +1 -1
- package/development/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.js +1 -1
- package/development/autocomplete-grid/autocomplete-grid-row/autocomplete-grid-row.component.js +1 -1
- package/development/breadcrumb/breadcrumb/breadcrumb.component.js +1 -1
- package/development/breadcrumb/breadcrumb-group/breadcrumb-group.component.js +1 -1
- package/development/button/accent-button/accent-button.component.js +1 -1
- package/development/button/accent-button-link/accent-button-link.component.js +1 -1
- package/development/button/accent-button-static/accent-button-static.component.js +1 -1
- package/development/button/button/button.component.js +1 -1
- package/development/button/button-link/button-link.component.js +1 -1
- package/development/button/button-static/button-static.component.js +1 -1
- package/development/button/mini-button/mini-button.component.js +1 -1
- package/development/button/mini-button-group/mini-button-group.component.js +1 -1
- package/development/button/secondary-button/secondary-button.component.js +1 -1
- package/development/button/secondary-button-link/secondary-button-link.component.js +1 -1
- package/development/button/secondary-button-static/secondary-button-static.component.js +1 -1
- package/development/button/transparent-button/transparent-button.component.js +1 -1
- package/development/button/transparent-button-link/transparent-button-link.component.js +1 -1
- package/development/button/transparent-button-static/transparent-button-static.component.js +1 -1
- package/development/calendar/calendar.component.js +1 -1
- package/development/card/card/card.component.js +1 -1
- package/development/card/card-badge/card-badge.component.js +1 -1
- package/development/card/card-button/card-button.component.js +1 -1
- package/development/card/card-link/card-link.component.js +1 -1
- package/development/checkbox/checkbox/checkbox.component.js +1 -1
- package/development/checkbox/checkbox-group/checkbox-group.component.js +1 -1
- package/development/checkbox/checkbox-panel/checkbox-panel.component.js +1 -1
- package/development/chip/chip/chip.component.js +1 -1
- package/development/chip/chip-group/chip-group.component.js +1 -1
- package/development/chip-label/chip-label.component.js +1 -1
- package/development/clock/clock.component.js +1 -1
- package/development/container/container/container.component.js +1 -1
- package/development/container/sticky-bar/sticky-bar.component.js +1 -1
- package/development/core.js +1 -1
- package/development/{create-component-CSki5eOq.js → create-component-D2eL6dzj.js} +4 -6
- package/development/date-input/date-input.component.js +1 -1
- package/development/datepicker/datepicker/datepicker.component.d.ts +10 -7
- package/development/datepicker/datepicker/datepicker.component.d.ts.map +1 -1
- package/development/datepicker/datepicker/datepicker.component.js +6 -7
- package/development/datepicker/datepicker-next-day/datepicker-next-day.component.js +1 -1
- package/development/datepicker/datepicker-previous-day/datepicker-previous-day.component.js +1 -1
- package/development/datepicker/datepicker-toggle/datepicker-toggle.component.js +1 -1
- package/development/dialog/dialog/dialog.component.js +1 -1
- package/development/dialog/dialog-actions/dialog-actions.component.js +1 -1
- package/development/dialog/dialog-content/dialog-content.component.js +1 -1
- package/development/dialog/dialog-title/dialog-title.component.d.ts +1 -4
- package/development/dialog/dialog-title/dialog-title.component.d.ts.map +1 -1
- package/development/dialog/dialog-title/dialog-title.component.js +2 -5
- package/development/divider/divider.component.js +1 -1
- package/development/expansion-panel/expansion-panel/expansion-panel.component.js +1 -1
- package/development/expansion-panel/expansion-panel-content/expansion-panel-content.component.js +1 -1
- package/development/expansion-panel/expansion-panel-header/expansion-panel-header.component.js +1 -1
- package/development/file-selector/file-selector/file-selector.component.js +1 -1
- package/development/file-selector/file-selector-dropzone/file-selector-dropzone.component.js +1 -1
- package/development/flip-card/flip-card/flip-card.component.js +1 -1
- package/development/flip-card/flip-card-details/flip-card-details.component.js +1 -1
- package/development/flip-card/flip-card-summary/flip-card-summary.component.js +1 -1
- package/development/footer/footer.component.js +1 -1
- package/development/form-error/form-error.component.js +1 -1
- package/development/form-field/form-field/form-field.component.js +1 -1
- package/development/form-field/form-field-clear/form-field-clear.component.js +1 -1
- package/development/header/header/header.component.js +1 -1
- package/development/header/header-button/header-button.component.js +1 -1
- package/development/header/header-link/header-link.component.js +1 -1
- package/development/icon/icon.component.js +1 -1
- package/development/image/image.component.js +1 -1
- package/development/journey-header/journey-header.component.js +1 -1
- package/development/lead-container/lead-container.component.js +1 -1
- package/development/link/block-link/block-link.component.js +1 -1
- package/development/link/block-link-button/block-link-button.component.js +1 -1
- package/development/link/block-link-static/block-link-static.component.js +1 -1
- package/development/link/link/link.component.js +1 -1
- package/development/link/link-button/link-button.component.js +1 -1
- package/development/link/link-static/link-static.component.js +1 -1
- package/development/link-list/link-list/link-list.component.js +1 -1
- package/development/link-list/link-list-anchor/link-list-anchor.component.js +1 -1
- package/development/loading-indicator/loading-indicator.component.js +1 -1
- package/development/loading-indicator-circle/loading-indicator-circle.component.js +1 -1
- package/development/logo/logo.component.js +1 -1
- package/development/map-container/map-container.component.js +1 -1
- package/development/menu/menu/menu.component.js +1 -1
- package/development/menu/menu-button/menu-button.component.js +1 -1
- package/development/menu/menu-link/menu-link.component.js +1 -1
- package/development/message/message.component.js +1 -1
- package/development/navigation/navigation/navigation.component.js +1 -1
- package/development/navigation/navigation-button/navigation-button.component.js +1 -1
- package/development/navigation/navigation-link/navigation-link.component.js +1 -1
- package/development/navigation/navigation-list/navigation-list.component.js +1 -1
- package/development/navigation/navigation-marker/navigation-marker.component.js +1 -1
- package/development/navigation/navigation-section/navigation-section.component.js +1 -1
- package/development/notification/notification.component.js +1 -1
- package/development/option/optgroup/optgroup.component.js +1 -1
- package/development/option/option/option.component.js +1 -1
- package/development/overlay/overlay.component.d.ts +0 -1
- package/development/overlay/overlay.component.d.ts.map +1 -1
- package/development/overlay/overlay.component.js +2 -3
- package/development/paginator/compact-paginator/compact-paginator.component.js +1 -1
- package/development/paginator/paginator/paginator.component.js +1 -1
- package/development/popover/popover/popover.component.js +1 -1
- package/development/popover/popover-trigger/popover-trigger.component.js +1 -1
- package/development/radio-button/radio-button/radio-button.component.js +1 -1
- package/development/radio-button/radio-button-group/radio-button-group.component.js +1 -1
- package/development/radio-button/radio-button-panel/radio-button-panel.component.js +1 -1
- package/development/screen-reader-only/screen-reader-only.component.js +1 -1
- package/development/select/select.component.js +1 -1
- package/development/selection-expansion-panel/selection-expansion-panel.component.js +1 -1
- package/development/sidebar/icon-sidebar/icon-sidebar.component.js +1 -1
- package/development/sidebar/icon-sidebar-button/icon-sidebar-button.component.js +1 -1
- package/development/sidebar/icon-sidebar-container/icon-sidebar-container.component.js +1 -1
- package/development/sidebar/icon-sidebar-content/icon-sidebar-content.component.js +1 -1
- package/development/sidebar/icon-sidebar-link/icon-sidebar-link.component.js +1 -1
- package/development/sidebar/sidebar/sidebar.component.js +1 -1
- package/development/sidebar/sidebar-close-button/sidebar-close-button.component.js +1 -1
- package/development/sidebar/sidebar-container/sidebar-container.component.js +1 -1
- package/development/sidebar/sidebar-content/sidebar-content.component.js +1 -1
- package/development/sidebar/sidebar-title/sidebar-title.component.js +1 -1
- package/development/signet/signet.component.js +1 -1
- package/development/skiplink-list/skiplink-list.component.js +1 -1
- package/development/slider/slider.component.js +1 -1
- package/development/status/status.component.js +1 -1
- package/development/stepper/step/step.component.js +1 -1
- package/development/stepper/step-label/step-label.component.js +1 -1
- package/development/stepper/stepper/stepper.component.js +1 -1
- package/development/table/table-wrapper/table-wrapper.component.js +1 -1
- package/development/tabs/tab/tab.component.js +1 -1
- package/development/tabs/tab-group/tab-group.component.js +1 -1
- package/development/tabs/tab-label/tab-label.component.js +1 -1
- package/development/tag/tag/tag.component.js +1 -1
- package/development/tag/tag-group/tag-group.component.js +1 -1
- package/development/teaser/teaser.component.js +1 -1
- package/development/teaser-hero/teaser-hero.component.js +1 -1
- package/development/teaser-product/teaser-product/teaser-product.component.js +1 -1
- package/development/teaser-product/teaser-product-static/teaser-product-static.component.js +1 -1
- package/development/time-input/time-input.component.js +1 -1
- package/development/timetable-occupancy/timetable-occupancy.component.js +1 -1
- package/development/timetable-occupancy-icon/timetable-occupancy-icon.component.js +1 -1
- package/development/title/title.component.js +1 -1
- package/development/toast/toast.component.js +1 -1
- package/development/toggle/toggle/toggle.component.js +1 -1
- package/development/toggle/toggle-option/toggle-option.component.js +1 -1
- package/development/toggle-check/toggle-check.component.js +1 -1
- package/development/train/train/train.component.js +1 -1
- package/development/train/train-blocked-passage/train-blocked-passage.component.js +1 -1
- package/development/train/train-formation/train-formation.component.js +1 -1
- package/development/train/train-wagon/train-wagon.component.js +1 -1
- package/development/visual-checkbox/visual-checkbox.component.js +1 -1
- package/dialog/dialog/dialog.component.js +1 -1
- package/dialog/dialog-actions/dialog-actions.component.js +1 -1
- package/dialog/dialog-content/dialog-content.component.js +1 -1
- package/dialog/dialog-title/dialog-title.component.d.ts +1 -4
- package/dialog/dialog-title/dialog-title.component.d.ts.map +1 -1
- package/dialog/dialog-title/dialog-title.component.js +6 -9
- package/divider/divider.component.js +1 -1
- package/expansion-panel/expansion-panel/expansion-panel.component.js +1 -1
- package/expansion-panel/expansion-panel-content/expansion-panel-content.component.js +1 -1
- package/expansion-panel/expansion-panel-header/expansion-panel-header.component.js +1 -1
- package/file-selector/file-selector/file-selector.component.js +1 -1
- package/file-selector/file-selector-dropzone/file-selector-dropzone.component.js +1 -1
- package/flip-card/flip-card/flip-card.component.js +1 -1
- package/flip-card/flip-card-details/flip-card-details.component.js +1 -1
- package/flip-card/flip-card-summary/flip-card-summary.component.js +1 -1
- package/footer/footer.component.js +1 -1
- package/form-error/form-error.component.js +1 -1
- package/form-field/form-field/form-field.component.js +1 -1
- package/form-field/form-field-clear/form-field-clear.component.js +1 -1
- package/header/header/header.component.js +1 -1
- package/header/header-button/header-button.component.js +1 -1
- package/header/header-link/header-link.component.js +1 -1
- package/icon/icon.component.js +1 -1
- package/image/image.component.js +1 -1
- package/journey-header/journey-header.component.js +1 -1
- package/lead-container/lead-container.component.js +1 -1
- package/link/block-link/block-link.component.js +1 -1
- package/link/block-link-button/block-link-button.component.js +1 -1
- package/link/block-link-static/block-link-static.component.js +1 -1
- package/link/link/link.component.js +1 -1
- package/link/link-button/link-button.component.js +1 -1
- package/link/link-static/link-static.component.js +1 -1
- package/link-list/link-list/link-list.component.js +1 -1
- package/link-list/link-list-anchor/link-list-anchor.component.js +1 -1
- package/loading-indicator/loading-indicator.component.js +1 -1
- package/loading-indicator-circle/loading-indicator-circle.component.js +1 -1
- package/logo/logo.component.js +1 -1
- package/map-container/map-container.component.js +1 -1
- package/menu/menu/menu.component.js +1 -1
- package/menu/menu-button/menu-button.component.js +1 -1
- package/menu/menu-link/menu-link.component.js +1 -1
- package/message/message.component.js +1 -1
- package/navigation/navigation/navigation.component.js +1 -1
- package/navigation/navigation-button/navigation-button.component.js +1 -1
- package/navigation/navigation-link/navigation-link.component.js +1 -1
- package/navigation/navigation-list/navigation-list.component.js +1 -1
- package/navigation/navigation-marker/navigation-marker.component.js +1 -1
- package/navigation/navigation-section/navigation-section.component.js +1 -1
- package/notification/notification.component.js +1 -1
- package/option/optgroup/optgroup.component.js +1 -1
- package/option/option/option.component.js +1 -1
- package/overlay/overlay.component.d.ts +0 -1
- package/overlay/overlay.component.d.ts.map +1 -1
- package/overlay/overlay.component.js +4 -5
- package/package.json +2 -2
- package/paginator/compact-paginator/compact-paginator.component.js +1 -1
- package/paginator/paginator/paginator.component.js +1 -1
- package/popover/popover/popover.component.js +1 -1
- package/popover/popover-trigger/popover-trigger.component.js +1 -1
- package/radio-button/radio-button/radio-button.component.js +1 -1
- package/radio-button/radio-button-group/radio-button-group.component.js +1 -1
- package/radio-button/radio-button-panel/radio-button-panel.component.js +1 -1
- package/screen-reader-only/screen-reader-only.component.js +1 -1
- package/select/select.component.js +1 -1
- package/selection-expansion-panel/selection-expansion-panel.component.js +1 -1
- package/sidebar/icon-sidebar/icon-sidebar.component.js +1 -1
- package/sidebar/icon-sidebar-button/icon-sidebar-button.component.js +1 -1
- package/sidebar/icon-sidebar-container/icon-sidebar-container.component.js +1 -1
- package/sidebar/icon-sidebar-content/icon-sidebar-content.component.js +1 -1
- package/sidebar/icon-sidebar-link/icon-sidebar-link.component.js +1 -1
- package/sidebar/sidebar/sidebar.component.js +1 -1
- package/sidebar/sidebar-close-button/sidebar-close-button.component.js +1 -1
- package/sidebar/sidebar-container/sidebar-container.component.js +1 -1
- package/sidebar/sidebar-content/sidebar-content.component.js +1 -1
- package/sidebar/sidebar-title/sidebar-title.component.js +1 -1
- package/signet/signet.component.js +1 -1
- package/skiplink-list/skiplink-list.component.js +1 -1
- package/slider/slider.component.js +1 -1
- package/status/status.component.js +1 -1
- package/stepper/step/step.component.js +1 -1
- package/stepper/step-label/step-label.component.js +1 -1
- package/stepper/stepper/stepper.component.js +1 -1
- package/table/table-wrapper/table-wrapper.component.js +1 -1
- package/tabs/tab/tab.component.js +1 -1
- package/tabs/tab-group/tab-group.component.js +1 -1
- package/tabs/tab-label/tab-label.component.js +1 -1
- package/tag/tag/tag.component.js +1 -1
- package/tag/tag-group/tag-group.component.js +1 -1
- package/teaser/teaser.component.js +1 -1
- package/teaser-hero/teaser-hero.component.js +1 -1
- package/teaser-product/teaser-product/teaser-product.component.js +1 -1
- package/teaser-product/teaser-product-static/teaser-product-static.component.js +1 -1
- package/time-input/time-input.component.js +1 -1
- package/timetable-occupancy/timetable-occupancy.component.js +1 -1
- package/timetable-occupancy-icon/timetable-occupancy-icon.component.js +1 -1
- package/title/title.component.js +1 -1
- package/toast/toast.component.js +1 -1
- package/toggle/toggle/toggle.component.js +1 -1
- package/toggle/toggle-option/toggle-option.component.js +1 -1
- package/toggle-check/toggle-check.component.js +1 -1
- package/train/train/train.component.js +1 -1
- package/train/train-blocked-passage/train-blocked-passage.component.js +1 -1
- package/train/train-formation/train-formation.component.js +1 -1
- package/train/train-wagon/train-wagon.component.js +1 -1
- package/visual-checkbox/visual-checkbox.component.js +1 -1
- package/create-component-DKl3-Au3.js +0 -72
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as e } from "../../create-component-
|
|
1
|
+
import { c as e } from "../../create-component-BzQJ4c_K.js";
|
|
2
2
|
import { SbbAutocompleteGridElement as o } from "@sbb-esta/lyne-elements/autocomplete-grid/autocomplete-grid.js";
|
|
3
3
|
import l from "react";
|
|
4
4
|
const m = e({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as t } from "../../create-component-
|
|
1
|
+
import { c as t } from "../../create-component-BzQJ4c_K.js";
|
|
2
2
|
import { SbbAutocompleteGridButtonElement as o } from "@sbb-esta/lyne-elements/autocomplete-grid/autocomplete-grid-button.js";
|
|
3
3
|
import e from "react";
|
|
4
4
|
const p = t({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as e } from "../../create-component-
|
|
1
|
+
import { c as e } from "../../create-component-BzQJ4c_K.js";
|
|
2
2
|
import { SbbAutocompleteGridCellElement as t } from "@sbb-esta/lyne-elements/autocomplete-grid/autocomplete-grid-cell.js";
|
|
3
3
|
import o from "react";
|
|
4
4
|
const c = e({
|
package/autocomplete-grid/autocomplete-grid-optgroup/autocomplete-grid-optgroup.component.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as o } from "../../create-component-
|
|
1
|
+
import { c as o } from "../../create-component-BzQJ4c_K.js";
|
|
2
2
|
import { SbbAutocompleteGridOptgroupElement as t } from "@sbb-esta/lyne-elements/autocomplete-grid/autocomplete-grid-optgroup.js";
|
|
3
3
|
import e from "react";
|
|
4
4
|
const a = o({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as e } from "../../create-component-
|
|
1
|
+
import { c as e } from "../../create-component-BzQJ4c_K.js";
|
|
2
2
|
import { SbbAutocompleteGridOptionElement as t } from "@sbb-esta/lyne-elements/autocomplete-grid/autocomplete-grid-option.js";
|
|
3
3
|
import o from "react";
|
|
4
4
|
const r = e({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as o } from "../../create-component-
|
|
1
|
+
import { c as o } from "../../create-component-BzQJ4c_K.js";
|
|
2
2
|
import { SbbAutocompleteGridRowElement as e } from "@sbb-esta/lyne-elements/autocomplete-grid/autocomplete-grid-row.js";
|
|
3
3
|
import t from "react";
|
|
4
4
|
const a = o({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as t } from "../../create-component-
|
|
1
|
+
import { c as t } from "../../create-component-BzQJ4c_K.js";
|
|
2
2
|
import { SbbAccentButtonStaticElement as e } from "@sbb-esta/lyne-elements/button/accent-button-static.js";
|
|
3
3
|
import c from "react";
|
|
4
4
|
const m = t({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as t } from "../../create-component-
|
|
1
|
+
import { c as t } from "../../create-component-BzQJ4c_K.js";
|
|
2
2
|
import { SbbSecondaryButtonLinkElement as o } from "@sbb-esta/lyne-elements/button/secondary-button-link.js";
|
|
3
3
|
import e from "react";
|
|
4
4
|
const a = t({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as t } from "../../create-component-
|
|
1
|
+
import { c as t } from "../../create-component-BzQJ4c_K.js";
|
|
2
2
|
import { SbbSecondaryButtonStaticElement as o } from "@sbb-esta/lyne-elements/button/secondary-button-static.js";
|
|
3
3
|
import e from "react";
|
|
4
4
|
const c = t({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as t } from "../../create-component-
|
|
1
|
+
import { c as t } from "../../create-component-BzQJ4c_K.js";
|
|
2
2
|
import { SbbTransparentButtonLinkElement as n } from "@sbb-esta/lyne-elements/button/transparent-button-link.js";
|
|
3
3
|
import r from "react";
|
|
4
4
|
const m = t({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as t } from "../../create-component-
|
|
1
|
+
import { c as t } from "../../create-component-BzQJ4c_K.js";
|
|
2
2
|
import { SbbTransparentButtonStaticElement as a } from "@sbb-esta/lyne-elements/button/transparent-button-static.js";
|
|
3
3
|
import r from "react";
|
|
4
4
|
const m = t({
|
package/clock/clock.component.js
CHANGED
package/core.js
CHANGED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { isServer as g } from "lit";
|
|
2
|
+
/**
|
|
3
|
+
* Copied from https://github.com/lit/lit/blob/main/packages/react/src/create-component.ts
|
|
4
|
+
* TODO: Can be removed once https://github.com/lit/lit/issues/4023 or https://github.com/lit/lit/pull/4476 is solved.
|
|
5
|
+
*
|
|
6
|
+
* @license
|
|
7
|
+
* Copyright 2018 Google LLC
|
|
8
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
9
|
+
*/
|
|
10
|
+
const v = g, k = /* @__PURE__ */ new Set([
|
|
11
|
+
"children",
|
|
12
|
+
"localName",
|
|
13
|
+
"ref",
|
|
14
|
+
"style",
|
|
15
|
+
"className",
|
|
16
|
+
"id"
|
|
17
|
+
]), P = /* @__PURE__ */ new WeakMap(), L = (t, o, n) => {
|
|
18
|
+
let s = P.get(t);
|
|
19
|
+
s === void 0 && P.set(t, s = /* @__PURE__ */ new Map());
|
|
20
|
+
let i = s.get(o);
|
|
21
|
+
n !== void 0 ? i === void 0 ? (s.set(o, i = { handleEvent: n }), t.addEventListener(o, i)) : i.handleEvent = n : i !== void 0 && (s.delete(o), t.removeEventListener(o, i));
|
|
22
|
+
}, h = (t, o, n, s, i) => {
|
|
23
|
+
const p = i?.[o];
|
|
24
|
+
if (p !== void 0) {
|
|
25
|
+
n !== s && L(t, p, n);
|
|
26
|
+
return;
|
|
27
|
+
}
|
|
28
|
+
t[o] = n, n == null && o in HTMLElement.prototype && t.removeAttribute(o);
|
|
29
|
+
}, N = ({ react: t, tagName: o, elementClass: n, events: s, displayName: i }) => {
|
|
30
|
+
const p = new Set(Object.keys(s ?? {})), E = t.forwardRef((m, f) => {
|
|
31
|
+
const d = t.useRef(/* @__PURE__ */ new Map()), u = t.useRef(null), l = {}, a = {}, w = n.elementProperties;
|
|
32
|
+
for (const [e, r] of Object.entries(m)) {
|
|
33
|
+
if (k.has(e)) {
|
|
34
|
+
l[e === "className" ? "class" : e] = r;
|
|
35
|
+
continue;
|
|
36
|
+
} else if (p.has(e) || e in n.prototype) {
|
|
37
|
+
const c = w?.get(e), y = c?.converter?.toAttribute;
|
|
38
|
+
if (!c || c.attribute === !1 || typeof r == "object" && !y) {
|
|
39
|
+
a[e] = r;
|
|
40
|
+
continue;
|
|
41
|
+
}
|
|
42
|
+
const b = c.attribute === !0 ? e : c.attribute || e;
|
|
43
|
+
c.type !== Boolean ? l[b] = y ? y(r) : r : r ? (l[b] = "", a[e] = r) : a[e] = !1;
|
|
44
|
+
continue;
|
|
45
|
+
}
|
|
46
|
+
l[e] = r;
|
|
47
|
+
}
|
|
48
|
+
return v || (t.useLayoutEffect(() => {
|
|
49
|
+
if (u.current === null)
|
|
50
|
+
return;
|
|
51
|
+
const e = /* @__PURE__ */ new Map();
|
|
52
|
+
for (const r in a)
|
|
53
|
+
h(u.current, r, m[r], d.current.get(r), s), d.current.delete(r), e.set(r, m[r]);
|
|
54
|
+
for (const [r, c] of d.current)
|
|
55
|
+
h(u.current, r, void 0, c, s);
|
|
56
|
+
d.current = e;
|
|
57
|
+
}), t.useLayoutEffect(() => {
|
|
58
|
+
u.current?.removeAttribute("defer-hydration");
|
|
59
|
+
}, [])), v ? (t.createElement.name === "litPatchedCreateElement" || globalThis.litSsrReactEnabled) && Object.keys(a).length && (l._$litProps$ = a) : l.suppressHydrationWarning = !0, t.createElement(o, {
|
|
60
|
+
...l,
|
|
61
|
+
ref: t.useCallback((e) => {
|
|
62
|
+
u.current = e, typeof f == "function" ? f(e) : f !== null && (f.current = e);
|
|
63
|
+
}, [f])
|
|
64
|
+
});
|
|
65
|
+
});
|
|
66
|
+
return E.displayName = i ?? n.name, E;
|
|
67
|
+
};
|
|
68
|
+
export {
|
|
69
|
+
N as c
|
|
70
|
+
};
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { EventName } from '../../core.js';
|
|
2
|
-
import { SbbDatepickerElement
|
|
3
|
-
import { SbbValidationChangeEvent } from '@sbb-esta/lyne-elements/core/interfaces.js';
|
|
2
|
+
import { SbbDatepickerElement } from '@sbb-esta/lyne-elements/datepicker/datepicker.js';
|
|
4
3
|
export declare const SbbDatepicker: import('../../core.js').ReactWebComponent<SbbDatepickerElement<Date>, {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
onWillOpen: EventName<CustomEvent<void>>;
|
|
5
|
+
onDidOpen: EventName<CustomEvent<void>>;
|
|
6
|
+
onWillClose: EventName<CustomEvent<{
|
|
7
|
+
closeTarget: HTMLElement;
|
|
8
|
+
}>>;
|
|
9
|
+
onDidClose: EventName<CustomEvent<{
|
|
10
|
+
closeTarget: HTMLElement;
|
|
11
|
+
}>>;
|
|
12
|
+
onDateSelected: EventName<CustomEvent<any>>;
|
|
10
13
|
}>;
|
|
11
14
|
//# sourceMappingURL=datepicker.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datepicker.component.d.ts","sourceRoot":"","sources":["../../../../src/react/datepicker/datepicker/datepicker.component.ts"],"names":[],"mappings":"AACE,OAAO,EAAmB,KAAK,SAAS,EAAE,MAAM,eAAe,CAAC;AAChE,OAAO,EAAE,oBAAoB,EAAE,
|
|
1
|
+
{"version":3,"file":"datepicker.component.d.ts","sourceRoot":"","sources":["../../../../src/react/datepicker/datepicker/datepicker.component.ts"],"names":[],"mappings":"AACE,OAAO,EAAmB,KAAK,SAAS,EAAE,MAAM,eAAe,CAAC;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,kDAAkD,CAAC;AAIxF,eAAO,MAAM,aAAa;gBAKI,SAAS,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;eAC9B,SAAS,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;iBACxB,SAAS,CAAC,WAAW,CAAC;QAAE,WAAW,EAAE,WAAW,CAAA;KAAE,CAAC,CAAC;gBACtD,SAAS,CAAC,WAAW,CAAC;QAAE,WAAW,EAAE,WAAW,CAAA;KAAE,CAAC,CAAC;oBAC5C,SAAS,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;EAG/D,CAAC"}
|
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
import { c as e } from "../../create-component-
|
|
2
|
-
import { SbbDatepickerElement as
|
|
3
|
-
import "
|
|
4
|
-
|
|
5
|
-
const r = e({
|
|
1
|
+
import { c as e } from "../../create-component-BzQJ4c_K.js";
|
|
2
|
+
import { SbbDatepickerElement as o } from "@sbb-esta/lyne-elements/datepicker/datepicker.js";
|
|
3
|
+
import t from "react";
|
|
4
|
+
const p = e({
|
|
6
5
|
tagName: "sbb-datepicker",
|
|
7
|
-
elementClass:
|
|
8
|
-
react:
|
|
6
|
+
elementClass: o,
|
|
7
|
+
react: t,
|
|
9
8
|
events: {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
9
|
+
onWillOpen: "willOpen",
|
|
10
|
+
onDidOpen: "didOpen",
|
|
11
|
+
onWillClose: "willClose",
|
|
12
|
+
onDidClose: "didClose",
|
|
13
|
+
onDateSelected: "dateSelected"
|
|
15
14
|
}
|
|
16
15
|
});
|
|
17
16
|
export {
|
|
18
|
-
|
|
17
|
+
p as SbbDatepicker
|
|
19
18
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as e } from "../../create-component-
|
|
1
|
+
import { c as e } from "../../create-component-BzQJ4c_K.js";
|
|
2
2
|
import { SbbDatepickerNextDayElement as t } from "@sbb-esta/lyne-elements/datepicker/datepicker-next-day.js";
|
|
3
3
|
import a from "react";
|
|
4
4
|
const p = e({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as e } from "../../create-component-
|
|
1
|
+
import { c as e } from "../../create-component-BzQJ4c_K.js";
|
|
2
2
|
import { SbbDatepickerPreviousDayElement as r } from "@sbb-esta/lyne-elements/datepicker/datepicker-previous-day.js";
|
|
3
3
|
import t from "react";
|
|
4
4
|
const i = e({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as e } from "../../create-component-
|
|
1
|
+
import { c as e } from "../../create-component-BzQJ4c_K.js";
|
|
2
2
|
import { SbbDatepickerToggleElement as t } from "@sbb-esta/lyne-elements/datepicker/datepicker-toggle.js";
|
|
3
3
|
import o from "react";
|
|
4
4
|
const p = e({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../create-component-
|
|
1
|
+
import { c as createComponent } from "../create-component-D2eL6dzj.js";
|
|
2
2
|
import { SbbAccordionElement } from "@sbb-esta/lyne-elements/accordion.js";
|
|
3
3
|
import react from "react";
|
|
4
4
|
const SbbAccordion = createComponent({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../create-component-
|
|
1
|
+
import { c as createComponent } from "../create-component-D2eL6dzj.js";
|
|
2
2
|
import { SbbActionGroupElement } from "@sbb-esta/lyne-elements/action-group.js";
|
|
3
3
|
import react from "react";
|
|
4
4
|
const SbbActionGroup = createComponent({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../../create-component-
|
|
1
|
+
import { c as createComponent } from "../../create-component-D2eL6dzj.js";
|
|
2
2
|
import { SbbAlertElement } from "@sbb-esta/lyne-elements/alert/alert.js";
|
|
3
3
|
import react from "react";
|
|
4
4
|
const SbbAlert = createComponent({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../../create-component-
|
|
1
|
+
import { c as createComponent } from "../../create-component-D2eL6dzj.js";
|
|
2
2
|
import { SbbAlertGroupElement } from "@sbb-esta/lyne-elements/alert/alert-group.js";
|
|
3
3
|
import react from "react";
|
|
4
4
|
const SbbAlertGroup = createComponent({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../create-component-
|
|
1
|
+
import { c as createComponent } from "../create-component-D2eL6dzj.js";
|
|
2
2
|
import { SbbAutocompleteElement } from "@sbb-esta/lyne-elements/autocomplete.js";
|
|
3
3
|
import react from "react";
|
|
4
4
|
const SbbAutocomplete = createComponent({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../../create-component-
|
|
1
|
+
import { c as createComponent } from "../../create-component-D2eL6dzj.js";
|
|
2
2
|
import { SbbAutocompleteGridElement } from "@sbb-esta/lyne-elements/autocomplete-grid/autocomplete-grid.js";
|
|
3
3
|
import react from "react";
|
|
4
4
|
const SbbAutocompleteGrid = createComponent({
|
package/development/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.component.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../../create-component-
|
|
1
|
+
import { c as createComponent } from "../../create-component-D2eL6dzj.js";
|
|
2
2
|
import { SbbAutocompleteGridButtonElement } from "@sbb-esta/lyne-elements/autocomplete-grid/autocomplete-grid-button.js";
|
|
3
3
|
import react from "react";
|
|
4
4
|
const SbbAutocompleteGridButton = createComponent({
|
package/development/autocomplete-grid/autocomplete-grid-cell/autocomplete-grid-cell.component.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../../create-component-
|
|
1
|
+
import { c as createComponent } from "../../create-component-D2eL6dzj.js";
|
|
2
2
|
import { SbbAutocompleteGridCellElement } from "@sbb-esta/lyne-elements/autocomplete-grid/autocomplete-grid-cell.js";
|
|
3
3
|
import react from "react";
|
|
4
4
|
const SbbAutocompleteGridCell = createComponent({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../../create-component-
|
|
1
|
+
import { c as createComponent } from "../../create-component-D2eL6dzj.js";
|
|
2
2
|
import { SbbAutocompleteGridOptgroupElement } from "@sbb-esta/lyne-elements/autocomplete-grid/autocomplete-grid-optgroup.js";
|
|
3
3
|
import react from "react";
|
|
4
4
|
const SbbAutocompleteGridOptgroup = createComponent({
|
package/development/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../../create-component-
|
|
1
|
+
import { c as createComponent } from "../../create-component-D2eL6dzj.js";
|
|
2
2
|
import { SbbAutocompleteGridOptionElement } from "@sbb-esta/lyne-elements/autocomplete-grid/autocomplete-grid-option.js";
|
|
3
3
|
import react from "react";
|
|
4
4
|
const SbbAutocompleteGridOption = createComponent({
|
package/development/autocomplete-grid/autocomplete-grid-row/autocomplete-grid-row.component.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../../create-component-
|
|
1
|
+
import { c as createComponent } from "../../create-component-D2eL6dzj.js";
|
|
2
2
|
import { SbbAutocompleteGridRowElement } from "@sbb-esta/lyne-elements/autocomplete-grid/autocomplete-grid-row.js";
|
|
3
3
|
import react from "react";
|
|
4
4
|
const SbbAutocompleteGridRow = createComponent({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../../create-component-
|
|
1
|
+
import { c as createComponent } from "../../create-component-D2eL6dzj.js";
|
|
2
2
|
import { SbbBreadcrumbElement } from "@sbb-esta/lyne-elements/breadcrumb/breadcrumb.js";
|
|
3
3
|
import react from "react";
|
|
4
4
|
const SbbBreadcrumb = createComponent({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../../create-component-
|
|
1
|
+
import { c as createComponent } from "../../create-component-D2eL6dzj.js";
|
|
2
2
|
import { SbbBreadcrumbGroupElement } from "@sbb-esta/lyne-elements/breadcrumb/breadcrumb-group.js";
|
|
3
3
|
import react from "react";
|
|
4
4
|
const SbbBreadcrumbGroup = createComponent({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../../create-component-
|
|
1
|
+
import { c as createComponent } from "../../create-component-D2eL6dzj.js";
|
|
2
2
|
import { SbbAccentButtonElement } from "@sbb-esta/lyne-elements/button/accent-button.js";
|
|
3
3
|
import react from "react";
|
|
4
4
|
const SbbAccentButton = createComponent({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../../create-component-
|
|
1
|
+
import { c as createComponent } from "../../create-component-D2eL6dzj.js";
|
|
2
2
|
import { SbbAccentButtonLinkElement } from "@sbb-esta/lyne-elements/button/accent-button-link.js";
|
|
3
3
|
import react from "react";
|
|
4
4
|
const SbbAccentButtonLink = createComponent({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../../create-component-
|
|
1
|
+
import { c as createComponent } from "../../create-component-D2eL6dzj.js";
|
|
2
2
|
import { SbbAccentButtonStaticElement } from "@sbb-esta/lyne-elements/button/accent-button-static.js";
|
|
3
3
|
import react from "react";
|
|
4
4
|
const SbbAccentButtonStatic = createComponent({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../../create-component-
|
|
1
|
+
import { c as createComponent } from "../../create-component-D2eL6dzj.js";
|
|
2
2
|
import { SbbButtonElement } from "@sbb-esta/lyne-elements/button/button.js";
|
|
3
3
|
import react from "react";
|
|
4
4
|
const SbbButton = createComponent({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createComponent } from "../../create-component-
|
|
1
|
+
import { c as createComponent } from "../../create-component-D2eL6dzj.js";
|
|
2
2
|
import { SbbButtonLinkElement } from "@sbb-esta/lyne-elements/button/button-link.js";
|
|
3
3
|
import react from "react";
|
|
4
4
|
const SbbButtonLink = createComponent({
|