@sbb-esta/lyne-react 2.0.2 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (137) hide show
  1. package/accordion.js +1 -1
  2. package/action-group.js +1 -1
  3. package/alert/alert-group.js +1 -1
  4. package/alert/alert.js +1 -1
  5. package/autocomplete-grid/autocomplete-grid-button.js +1 -1
  6. package/autocomplete-grid/autocomplete-grid-cell.js +1 -1
  7. package/autocomplete-grid/autocomplete-grid-optgroup.js +1 -1
  8. package/autocomplete-grid/autocomplete-grid-option.js +1 -1
  9. package/autocomplete-grid/autocomplete-grid-row.js +1 -1
  10. package/autocomplete-grid/autocomplete-grid.js +1 -1
  11. package/autocomplete.js +1 -1
  12. package/breadcrumb/breadcrumb-group.js +1 -1
  13. package/breadcrumb/breadcrumb.js +1 -1
  14. package/button/accent-button-link.js +1 -1
  15. package/button/accent-button-static.js +1 -1
  16. package/button/accent-button.js +1 -1
  17. package/button/button-link.js +1 -1
  18. package/button/button-static.js +1 -1
  19. package/button/button.js +1 -1
  20. package/button/mini-button-group.js +1 -1
  21. package/button/mini-button.js +1 -1
  22. package/button/secondary-button-link.js +1 -1
  23. package/button/secondary-button-static.js +1 -1
  24. package/button/secondary-button.js +1 -1
  25. package/button/transparent-button-link.js +1 -1
  26. package/button/transparent-button-static.js +1 -1
  27. package/button/transparent-button.js +1 -1
  28. package/calendar.js +1 -1
  29. package/card/card-badge.js +1 -1
  30. package/card/card-button.js +1 -1
  31. package/card/card-link.js +1 -1
  32. package/card/card.js +1 -1
  33. package/checkbox/checkbox-group.js +1 -1
  34. package/checkbox/checkbox-panel.js +1 -1
  35. package/checkbox/checkbox.js +1 -1
  36. package/chip-label.js +1 -1
  37. package/clock.js +1 -1
  38. package/container/container.js +1 -1
  39. package/container/sticky-bar.js +1 -1
  40. package/core.js +1 -1
  41. package/create-component-as6VKs1g.js +72 -0
  42. package/datepicker/datepicker-next-day.js +1 -1
  43. package/datepicker/datepicker-previous-day.js +1 -1
  44. package/datepicker/datepicker-toggle.js +1 -1
  45. package/datepicker/datepicker.js +1 -1
  46. package/dialog/dialog-actions.js +1 -1
  47. package/dialog/dialog-content.js +1 -1
  48. package/dialog/dialog-title.js +1 -1
  49. package/dialog/dialog.js +1 -1
  50. package/divider.js +1 -1
  51. package/expansion-panel/expansion-panel-content.js +1 -1
  52. package/expansion-panel/expansion-panel-header.js +1 -1
  53. package/expansion-panel/expansion-panel.js +1 -1
  54. package/file-selector/file-selector-dropzone.js +1 -1
  55. package/file-selector/file-selector.js +1 -1
  56. package/flip-card/flip-card-details.js +1 -1
  57. package/flip-card/flip-card-summary.js +1 -1
  58. package/flip-card/flip-card.js +1 -1
  59. package/footer.js +1 -1
  60. package/form-error.js +1 -1
  61. package/form-field/form-field-clear.js +1 -1
  62. package/form-field/form-field.js +1 -1
  63. package/header/header-button.js +1 -1
  64. package/header/header-link.js +1 -1
  65. package/header/header.js +1 -1
  66. package/icon.js +1 -1
  67. package/image.js +1 -1
  68. package/journey-header.js +1 -1
  69. package/lead-container.js +1 -1
  70. package/link/block-link-button.js +1 -1
  71. package/link/block-link-static.js +1 -1
  72. package/link/block-link.js +1 -1
  73. package/link/link-button.js +1 -1
  74. package/link/link-static.js +1 -1
  75. package/link/link.js +1 -1
  76. package/link-list/link-list-anchor.js +1 -1
  77. package/link-list/link-list.js +1 -1
  78. package/loading-indicator-circle.js +1 -1
  79. package/loading-indicator.js +1 -1
  80. package/logo.js +1 -1
  81. package/map-container.js +1 -1
  82. package/menu/menu-button.js +1 -1
  83. package/menu/menu-link.js +1 -1
  84. package/menu/menu.js +1 -1
  85. package/message.js +1 -1
  86. package/navigation/navigation-button.js +1 -1
  87. package/navigation/navigation-link.js +1 -1
  88. package/navigation/navigation-list.js +1 -1
  89. package/navigation/navigation-marker.js +1 -1
  90. package/navigation/navigation-section.js +1 -1
  91. package/navigation/navigation.js +1 -1
  92. package/notification.js +1 -1
  93. package/option/optgroup.js +1 -1
  94. package/option/option.js +1 -1
  95. package/overlay.js +1 -1
  96. package/package.json +3 -3
  97. package/paginator/compact-paginator.js +1 -1
  98. package/paginator/paginator.js +1 -1
  99. package/popover/popover-trigger.js +1 -1
  100. package/popover/popover.js +1 -1
  101. package/radio-button/radio-button-group.js +1 -1
  102. package/radio-button/radio-button-panel.js +1 -1
  103. package/radio-button/radio-button.js +1 -1
  104. package/screen-reader-only.js +1 -1
  105. package/select.js +1 -1
  106. package/selection-expansion-panel.js +1 -1
  107. package/signet.js +1 -1
  108. package/skiplink-list.js +1 -1
  109. package/slider.js +1 -1
  110. package/status.js +1 -1
  111. package/stepper/step-label.js +1 -1
  112. package/stepper/step.js +1 -1
  113. package/stepper/stepper.js +1 -1
  114. package/table/table-wrapper.js +1 -1
  115. package/tabs/tab-group.js +1 -1
  116. package/tabs/tab-label.js +1 -1
  117. package/tabs/tab.js +1 -1
  118. package/tag/tag-group.js +1 -1
  119. package/tag/tag.js +1 -1
  120. package/teaser-hero.js +1 -1
  121. package/teaser-product/teaser-product-static.js +1 -1
  122. package/teaser-product/teaser-product.js +1 -1
  123. package/teaser.js +1 -1
  124. package/time-input.js +1 -1
  125. package/timetable-occupancy-icon.js +1 -1
  126. package/timetable-occupancy.js +1 -1
  127. package/title.js +1 -1
  128. package/toast.js +1 -1
  129. package/toggle/toggle-option.js +1 -1
  130. package/toggle/toggle.js +1 -1
  131. package/toggle-check.js +1 -1
  132. package/train/train-blocked-passage.js +1 -1
  133. package/train/train-formation.js +1 -1
  134. package/train/train-wagon.js +1 -1
  135. package/train/train.js +1 -1
  136. package/visual-checkbox.js +1 -1
  137. package/create-component-DKl3-Au3.js +0 -72
package/link/link.js CHANGED
@@ -1,4 +1,4 @@
1
- import { c as e } from "../create-component-DKl3-Au3.js";
1
+ import { c as e } from "../create-component-as6VKs1g.js";
2
2
  import { SbbLinkElement as t } from "@sbb-esta/lyne-elements/link/link.js";
3
3
  import m from "react";
4
4
  const a = e({
@@ -1,4 +1,4 @@
1
- import { c as t } from "../create-component-DKl3-Au3.js";
1
+ import { c as t } from "../create-component-as6VKs1g.js";
2
2
  import { SbbLinkListAnchorElement as o } from "@sbb-esta/lyne-elements/link-list/link-list-anchor.js";
3
3
  import r from "react";
4
4
  const i = t({
@@ -1,4 +1,4 @@
1
- import { c as t } from "../create-component-DKl3-Au3.js";
1
+ import { c as t } from "../create-component-as6VKs1g.js";
2
2
  import { SbbLinkListElement as e } from "@sbb-esta/lyne-elements/link-list/link-list.js";
3
3
  import m from "react";
4
4
  const n = t({
@@ -1,4 +1,4 @@
1
- import { c as o } from "./create-component-DKl3-Au3.js";
1
+ import { c as o } from "./create-component-as6VKs1g.js";
2
2
  import { SbbLoadingIndicatorCircleElement as r } from "@sbb-esta/lyne-elements/loading-indicator-circle.js";
3
3
  import e from "react";
4
4
  const c = o({
@@ -1,4 +1,4 @@
1
- import { c as o } from "./create-component-DKl3-Au3.js";
1
+ import { c as o } from "./create-component-as6VKs1g.js";
2
2
  import { SbbLoadingIndicatorElement as t } from "@sbb-esta/lyne-elements/loading-indicator.js";
3
3
  import a from "react";
4
4
  const i = o({
package/logo.js CHANGED
@@ -1,4 +1,4 @@
1
- import { c as o } from "./create-component-DKl3-Au3.js";
1
+ import { c as o } from "./create-component-as6VKs1g.js";
2
2
  import { SbbLogoElement as e } from "@sbb-esta/lyne-elements/logo.js";
3
3
  import t from "react";
4
4
  const b = o({
package/map-container.js CHANGED
@@ -1,4 +1,4 @@
1
- import { c as e } from "./create-component-DKl3-Au3.js";
1
+ import { c as e } from "./create-component-as6VKs1g.js";
2
2
  import { SbbMapContainerElement as t } from "@sbb-esta/lyne-elements/map-container.js";
3
3
  import o from "react";
4
4
  const n = e({
@@ -1,4 +1,4 @@
1
- import { c as t } from "../create-component-DKl3-Au3.js";
1
+ import { c as t } from "../create-component-as6VKs1g.js";
2
2
  import { SbbMenuButtonElement as e } from "@sbb-esta/lyne-elements/menu/menu-button.js";
3
3
  import o from "react";
4
4
  const b = t({
package/menu/menu-link.js CHANGED
@@ -1,4 +1,4 @@
1
- import { c as e } from "../create-component-DKl3-Au3.js";
1
+ import { c as e } from "../create-component-as6VKs1g.js";
2
2
  import { SbbMenuLinkElement as m } from "@sbb-esta/lyne-elements/menu/menu-link.js";
3
3
  import n from "react";
4
4
  const a = e({
package/menu/menu.js CHANGED
@@ -1,4 +1,4 @@
1
- import { c as e } from "../create-component-DKl3-Au3.js";
1
+ import { c as e } from "../create-component-as6VKs1g.js";
2
2
  import { SbbMenuElement as o } from "@sbb-esta/lyne-elements/menu/menu.js";
3
3
  import n from "react";
4
4
  const m = e({
package/message.js CHANGED
@@ -1,4 +1,4 @@
1
- import { c as e } from "./create-component-DKl3-Au3.js";
1
+ import { c as e } from "./create-component-as6VKs1g.js";
2
2
  import { SbbMessageElement as m } from "@sbb-esta/lyne-elements/message.js";
3
3
  import s from "react";
4
4
  const r = e({
@@ -1,4 +1,4 @@
1
- import { c as t } from "../create-component-DKl3-Au3.js";
1
+ import { c as t } from "../create-component-as6VKs1g.js";
2
2
  import { SbbNavigationButtonElement as o } from "@sbb-esta/lyne-elements/navigation/navigation-button.js";
3
3
  import a from "react";
4
4
  const i = t({
@@ -1,4 +1,4 @@
1
- import { c as t } from "../create-component-DKl3-Au3.js";
1
+ import { c as t } from "../create-component-as6VKs1g.js";
2
2
  import { SbbNavigationLinkElement as o } from "@sbb-esta/lyne-elements/navigation/navigation-link.js";
3
3
  import a from "react";
4
4
  const m = t({
@@ -1,4 +1,4 @@
1
- import { c as t } from "../create-component-DKl3-Au3.js";
1
+ import { c as t } from "../create-component-as6VKs1g.js";
2
2
  import { SbbNavigationListElement as o } from "@sbb-esta/lyne-elements/navigation/navigation-list.js";
3
3
  import a from "react";
4
4
  const n = t({
@@ -1,4 +1,4 @@
1
- import { c as a } from "../create-component-DKl3-Au3.js";
1
+ import { c as a } from "../create-component-as6VKs1g.js";
2
2
  import { SbbNavigationMarkerElement as r } from "@sbb-esta/lyne-elements/navigation/navigation-marker.js";
3
3
  import e from "react";
4
4
  const i = a({
@@ -1,4 +1,4 @@
1
- import { c as t } from "../create-component-DKl3-Au3.js";
1
+ import { c as t } from "../create-component-as6VKs1g.js";
2
2
  import { SbbNavigationSectionElement as o } from "@sbb-esta/lyne-elements/navigation/navigation-section.js";
3
3
  import e from "react";
4
4
  const m = t({
@@ -1,4 +1,4 @@
1
- import { c as e } from "../create-component-DKl3-Au3.js";
1
+ import { c as e } from "../create-component-as6VKs1g.js";
2
2
  import { SbbNavigationElement as o } from "@sbb-esta/lyne-elements/navigation/navigation.js";
3
3
  import n from "react";
4
4
  const a = e({
package/notification.js CHANGED
@@ -1,4 +1,4 @@
1
- import { c as o } from "./create-component-DKl3-Au3.js";
1
+ import { c as o } from "./create-component-as6VKs1g.js";
2
2
  import { SbbNotificationElement as e } from "@sbb-esta/lyne-elements/notification.js";
3
3
  import i from "react";
4
4
  const m = o({
@@ -1,4 +1,4 @@
1
- import { c as o } from "../create-component-DKl3-Au3.js";
1
+ import { c as o } from "../create-component-as6VKs1g.js";
2
2
  import { SbbOptGroupElement as t } from "@sbb-esta/lyne-elements/option/optgroup.js";
3
3
  import r from "react";
4
4
  const a = o({
package/option/option.js CHANGED
@@ -1,4 +1,4 @@
1
- import { c as e } from "../create-component-DKl3-Au3.js";
1
+ import { c as e } from "../create-component-as6VKs1g.js";
2
2
  import { SbbOptionElement as o } from "@sbb-esta/lyne-elements/option/option.js";
3
3
  import t from "react";
4
4
  const m = e({
package/overlay.js CHANGED
@@ -1,4 +1,4 @@
1
- import { c as e } from "./create-component-DKl3-Au3.js";
1
+ import { c as e } from "./create-component-as6VKs1g.js";
2
2
  import { SbbOverlayElement as o } from "@sbb-esta/lyne-elements/overlay.js";
3
3
  import "@sbb-esta/lyne-elements/core/interfaces.js";
4
4
  import l from "react";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sbb-esta/lyne-react",
3
- "version": "2.0.2",
3
+ "version": "2.1.0",
4
4
  "description": "Lyne Design System React Library",
5
5
  "keywords": [
6
6
  "design system",
@@ -10,11 +10,11 @@
10
10
  ],
11
11
  "type": "module",
12
12
  "peerDependencies": {
13
- "@sbb-esta/lyne-elements": "2.0.2",
13
+ "@sbb-esta/lyne-elements": "2.1.0",
14
14
  "react": "^18.2.0 || ^19.0.0"
15
15
  },
16
16
  "dependencies": {
17
- "@lit/react": "^1.0.6",
17
+ "@lit/react": "^1.0.7",
18
18
  "tslib": "^2.8.1"
19
19
  },
20
20
  "publishConfig": {
@@ -1,4 +1,4 @@
1
- import { c as t } from "../create-component-DKl3-Au3.js";
1
+ import { c as t } from "../create-component-as6VKs1g.js";
2
2
  import { SbbCompactPaginatorElement as o } from "@sbb-esta/lyne-elements/paginator/compact-paginator.js";
3
3
  import "@sbb-esta/lyne-elements/core/interfaces.js";
4
4
  import a from "react";
@@ -1,4 +1,4 @@
1
- import { c as t } from "../create-component-DKl3-Au3.js";
1
+ import { c as t } from "../create-component-as6VKs1g.js";
2
2
  import { SbbPaginatorElement as e } from "@sbb-esta/lyne-elements/paginator/paginator.js";
3
3
  import "@sbb-esta/lyne-elements/core/interfaces.js";
4
4
  import o from "react";
@@ -1,4 +1,4 @@
1
- import { c as r } from "../create-component-DKl3-Au3.js";
1
+ import { c as r } from "../create-component-as6VKs1g.js";
2
2
  import { SbbPopoverTriggerElement as e } from "@sbb-esta/lyne-elements/popover/popover-trigger.js";
3
3
  import o from "react";
4
4
  const g = r({
@@ -1,4 +1,4 @@
1
- import { c as e } from "../create-component-DKl3-Au3.js";
1
+ import { c as e } from "../create-component-as6VKs1g.js";
2
2
  import { SbbPopoverElement as o } from "@sbb-esta/lyne-elements/popover/popover.js";
3
3
  import l from "react";
4
4
  const t = e({
@@ -1,4 +1,4 @@
1
- import { c as o } from "../create-component-DKl3-Au3.js";
1
+ import { c as o } from "../create-component-as6VKs1g.js";
2
2
  import { SbbRadioButtonGroupElement as t } from "@sbb-esta/lyne-elements/radio-button/radio-button-group.js";
3
3
  import e from "react";
4
4
  const m = o({
@@ -1,4 +1,4 @@
1
- import { c as t } from "../create-component-DKl3-Au3.js";
1
+ import { c as t } from "../create-component-as6VKs1g.js";
2
2
  import { SbbRadioButtonPanelElement as e } from "@sbb-esta/lyne-elements/radio-button/radio-button-panel.js";
3
3
  import n from "react";
4
4
  const r = t({
@@ -1,4 +1,4 @@
1
- import { c as t } from "../create-component-DKl3-Au3.js";
1
+ import { c as t } from "../create-component-as6VKs1g.js";
2
2
  import { SbbRadioButtonElement as o } from "@sbb-esta/lyne-elements/radio-button/radio-button.js";
3
3
  import e from "react";
4
4
  const r = t({
@@ -1,4 +1,4 @@
1
- import { c as e } from "./create-component-DKl3-Au3.js";
1
+ import { c as e } from "./create-component-as6VKs1g.js";
2
2
  import { SbbScreenReaderOnlyElement as r } from "@sbb-esta/lyne-elements/screen-reader-only.js";
3
3
  import n from "react";
4
4
  const a = e({
package/select.js CHANGED
@@ -1,4 +1,4 @@
1
- import { c as e } from "./create-component-DKl3-Au3.js";
1
+ import { c as e } from "./create-component-as6VKs1g.js";
2
2
  import { SbbSelectElement as n } from "@sbb-esta/lyne-elements/select.js";
3
3
  import o from "react";
4
4
  const p = e({
@@ -1,4 +1,4 @@
1
- import { c as e } from "./create-component-DKl3-Au3.js";
1
+ import { c as e } from "./create-component-as6VKs1g.js";
2
2
  import { SbbSelectionExpansionPanelElement as n } from "@sbb-esta/lyne-elements/selection-expansion-panel.js";
3
3
  import o from "react";
4
4
  const s = e({
package/signet.js CHANGED
@@ -1,4 +1,4 @@
1
- import { c as e } from "./create-component-DKl3-Au3.js";
1
+ import { c as e } from "./create-component-as6VKs1g.js";
2
2
  import { SbbSignetElement as t } from "@sbb-esta/lyne-elements/signet.js";
3
3
  import m from "react";
4
4
  const a = e({
package/skiplink-list.js CHANGED
@@ -1,4 +1,4 @@
1
- import { c as t } from "./create-component-DKl3-Au3.js";
1
+ import { c as t } from "./create-component-as6VKs1g.js";
2
2
  import { SbbSkiplinkListElement as i } from "@sbb-esta/lyne-elements/skiplink-list.js";
3
3
  import e from "react";
4
4
  const s = t({
package/slider.js CHANGED
@@ -1,4 +1,4 @@
1
- import { c as e } from "./create-component-DKl3-Au3.js";
1
+ import { c as e } from "./create-component-as6VKs1g.js";
2
2
  import { SbbSliderElement as r } from "@sbb-esta/lyne-elements/slider.js";
3
3
  import t from "react";
4
4
  const a = e({
package/status.js CHANGED
@@ -1,4 +1,4 @@
1
- import { c as t } from "./create-component-DKl3-Au3.js";
1
+ import { c as t } from "./create-component-as6VKs1g.js";
2
2
  import { SbbStatusElement as e } from "@sbb-esta/lyne-elements/status.js";
3
3
  import m from "react";
4
4
  const s = t({
@@ -1,4 +1,4 @@
1
- import { c as e } from "../create-component-DKl3-Au3.js";
1
+ import { c as e } from "../create-component-as6VKs1g.js";
2
2
  import { SbbStepLabelElement as t } from "@sbb-esta/lyne-elements/stepper/step-label.js";
3
3
  import m from "react";
4
4
  const r = e({
package/stepper/step.js CHANGED
@@ -1,4 +1,4 @@
1
- import { c as e } from "../create-component-DKl3-Au3.js";
1
+ import { c as e } from "../create-component-as6VKs1g.js";
2
2
  import { SbbStepElement as t } from "@sbb-esta/lyne-elements/stepper/step.js";
3
3
  import o from "react";
4
4
  const p = e({
@@ -1,4 +1,4 @@
1
- import { c as e } from "../create-component-DKl3-Au3.js";
1
+ import { c as e } from "../create-component-as6VKs1g.js";
2
2
  import { SbbStepperElement as t } from "@sbb-esta/lyne-elements/stepper/stepper.js";
3
3
  import r from "react";
4
4
  const a = e({
@@ -1,4 +1,4 @@
1
- import { c as e } from "../create-component-DKl3-Au3.js";
1
+ import { c as e } from "../create-component-as6VKs1g.js";
2
2
  import { SbbTableWrapperElement as r } from "@sbb-esta/lyne-elements/table/table-wrapper.js";
3
3
  import a from "react";
4
4
  const o = e({
package/tabs/tab-group.js CHANGED
@@ -1,4 +1,4 @@
1
- import { c as e } from "../create-component-DKl3-Au3.js";
1
+ import { c as e } from "../create-component-as6VKs1g.js";
2
2
  import { SbbTabGroupElement as o } from "@sbb-esta/lyne-elements/tabs/tab-group.js";
3
3
  import t from "react";
4
4
  const b = e({
package/tabs/tab-label.js CHANGED
@@ -1,4 +1,4 @@
1
- import { c as e } from "../create-component-DKl3-Au3.js";
1
+ import { c as e } from "../create-component-as6VKs1g.js";
2
2
  import { SbbTabLabelElement as a } from "@sbb-esta/lyne-elements/tabs/tab-label.js";
3
3
  import b from "react";
4
4
  const r = e({
package/tabs/tab.js CHANGED
@@ -1,4 +1,4 @@
1
- import { c as t } from "../create-component-DKl3-Au3.js";
1
+ import { c as t } from "../create-component-as6VKs1g.js";
2
2
  import { SbbTabElement as e } from "@sbb-esta/lyne-elements/tabs/tab.js";
3
3
  import m from "react";
4
4
  const r = t({
package/tag/tag-group.js CHANGED
@@ -1,4 +1,4 @@
1
- import { c as o } from "../create-component-DKl3-Au3.js";
1
+ import { c as o } from "../create-component-as6VKs1g.js";
2
2
  import { SbbTagGroupElement as r } from "@sbb-esta/lyne-elements/tag/tag-group.js";
3
3
  import t from "react";
4
4
  const p = o({
package/tag/tag.js CHANGED
@@ -1,4 +1,4 @@
1
- import { c as e } from "../create-component-DKl3-Au3.js";
1
+ import { c as e } from "../create-component-as6VKs1g.js";
2
2
  import { SbbTagElement as n } from "@sbb-esta/lyne-elements/tag/tag.js";
3
3
  import t from "react";
4
4
  const r = e({
package/teaser-hero.js CHANGED
@@ -1,4 +1,4 @@
1
- import { c as e } from "./create-component-DKl3-Au3.js";
1
+ import { c as e } from "./create-component-as6VKs1g.js";
2
2
  import { SbbTeaserHeroElement as r } from "@sbb-esta/lyne-elements/teaser-hero.js";
3
3
  import o from "react";
4
4
  const s = e({
@@ -1,4 +1,4 @@
1
- import { c as t } from "../create-component-DKl3-Au3.js";
1
+ import { c as t } from "../create-component-as6VKs1g.js";
2
2
  import { SbbTeaserProductStaticElement as e } from "@sbb-esta/lyne-elements/teaser-product/teaser-product-static.js";
3
3
  import r from "react";
4
4
  const m = t({
@@ -1,4 +1,4 @@
1
- import { c as e } from "../create-component-DKl3-Au3.js";
1
+ import { c as e } from "../create-component-as6VKs1g.js";
2
2
  import { SbbTeaserProductElement as r } from "@sbb-esta/lyne-elements/teaser-product/teaser-product.js";
3
3
  import t from "react";
4
4
  const s = e({
package/teaser.js CHANGED
@@ -1,4 +1,4 @@
1
- import { c as e } from "./create-component-DKl3-Au3.js";
1
+ import { c as e } from "./create-component-as6VKs1g.js";
2
2
  import { SbbTeaserElement as r } from "@sbb-esta/lyne-elements/teaser.js";
3
3
  import t from "react";
4
4
  const s = e({
package/time-input.js CHANGED
@@ -1,4 +1,4 @@
1
- import { c as e } from "./create-component-DKl3-Au3.js";
1
+ import { c as e } from "./create-component-as6VKs1g.js";
2
2
  import { SbbTimeInputElement as t } from "@sbb-esta/lyne-elements/time-input.js";
3
3
  import "@sbb-esta/lyne-elements/core/interfaces.js";
4
4
  import n from "react";
@@ -1,4 +1,4 @@
1
- import { c as e } from "./create-component-DKl3-Au3.js";
1
+ import { c as e } from "./create-component-as6VKs1g.js";
2
2
  import { SbbTimetableOccupancyIconElement as c } from "@sbb-esta/lyne-elements/timetable-occupancy-icon.js";
3
3
  import t from "react";
4
4
  const n = e({
@@ -1,4 +1,4 @@
1
- import { c as e } from "./create-component-DKl3-Au3.js";
1
+ import { c as e } from "./create-component-as6VKs1g.js";
2
2
  import { SbbTimetableOccupancyElement as t } from "@sbb-esta/lyne-elements/timetable-occupancy.js";
3
3
  import c from "react";
4
4
  const b = e({
package/title.js CHANGED
@@ -1,4 +1,4 @@
1
- import { c as t } from "./create-component-DKl3-Au3.js";
1
+ import { c as t } from "./create-component-as6VKs1g.js";
2
2
  import { SbbTitleElement as e } from "@sbb-esta/lyne-elements/title.js";
3
3
  import m from "react";
4
4
  const b = t({
package/toast.js CHANGED
@@ -1,4 +1,4 @@
1
- import { c as e } from "./create-component-DKl3-Au3.js";
1
+ import { c as e } from "./create-component-as6VKs1g.js";
2
2
  import { SbbToastElement as o } from "@sbb-esta/lyne-elements/toast.js";
3
3
  import t from "react";
4
4
  const i = e({
@@ -1,4 +1,4 @@
1
- import { c as o } from "../create-component-DKl3-Au3.js";
1
+ import { c as o } from "../create-component-as6VKs1g.js";
2
2
  import { SbbToggleOptionElement as t } from "@sbb-esta/lyne-elements/toggle/toggle-option.js";
3
3
  import e from "react";
4
4
  const p = o({
package/toggle/toggle.js CHANGED
@@ -1,4 +1,4 @@
1
- import { c as e } from "../create-component-DKl3-Au3.js";
1
+ import { c as e } from "../create-component-as6VKs1g.js";
2
2
  import { SbbToggleElement as o } from "@sbb-esta/lyne-elements/toggle/toggle.js";
3
3
  import t from "react";
4
4
  const r = e({
package/toggle-check.js CHANGED
@@ -1,4 +1,4 @@
1
- import { c as e } from "./create-component-DKl3-Au3.js";
1
+ import { c as e } from "./create-component-as6VKs1g.js";
2
2
  import { SbbToggleCheckElement as o } from "@sbb-esta/lyne-elements/toggle-check.js";
3
3
  import t from "react";
4
4
  const g = e({
@@ -1,4 +1,4 @@
1
- import { c as e } from "../create-component-DKl3-Au3.js";
1
+ import { c as e } from "../create-component-as6VKs1g.js";
2
2
  import { SbbTrainBlockedPassageElement as a } from "@sbb-esta/lyne-elements/train/train-blocked-passage.js";
3
3
  import o from "react";
4
4
  const m = e({
@@ -1,4 +1,4 @@
1
- import { c as o } from "../create-component-DKl3-Au3.js";
1
+ import { c as o } from "../create-component-as6VKs1g.js";
2
2
  import { SbbTrainFormationElement as r } from "@sbb-esta/lyne-elements/train/train-formation.js";
3
3
  import t from "react";
4
4
  const n = o({
@@ -1,4 +1,4 @@
1
- import { c as o } from "../create-component-DKl3-Au3.js";
1
+ import { c as o } from "../create-component-as6VKs1g.js";
2
2
  import { SbbTrainWagonElement as a } from "@sbb-esta/lyne-elements/train/train-wagon.js";
3
3
  import r from "react";
4
4
  const m = o({
package/train/train.js CHANGED
@@ -1,4 +1,4 @@
1
- import { c as r } from "../create-component-DKl3-Au3.js";
1
+ import { c as r } from "../create-component-as6VKs1g.js";
2
2
  import { SbbTrainElement as t } from "@sbb-esta/lyne-elements/train/train.js";
3
3
  import e from "react";
4
4
  const n = r({
@@ -1,4 +1,4 @@
1
- import { c as e } from "./create-component-DKl3-Au3.js";
1
+ import { c as e } from "./create-component-as6VKs1g.js";
2
2
  import { SbbVisualCheckboxElement as o } from "@sbb-esta/lyne-elements/visual-checkbox.js";
3
3
  import t from "react";
4
4
  const r = e({
@@ -1,72 +0,0 @@
1
- import { isServer as k } 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 w = k, L = /* @__PURE__ */ new Set([
11
- "children",
12
- "localName",
13
- "ref",
14
- "style",
15
- "className",
16
- "id"
17
- ]), P = /* @__PURE__ */ new WeakMap(), M = (t, o, n) => {
18
- let i = P.get(t);
19
- i === void 0 && P.set(t, i = /* @__PURE__ */ new Map());
20
- let s = i.get(o);
21
- n !== void 0 ? s === void 0 ? (i.set(o, s = { handleEvent: n }), t.addEventListener(o, s)) : s.handleEvent = n : s !== void 0 && (i.delete(o), t.removeEventListener(o, s));
22
- }, g = (t, o, n, i, s) => {
23
- const p = s == null ? void 0 : s[o];
24
- if (p !== void 0) {
25
- n !== i && M(t, p, n);
26
- return;
27
- }
28
- t[o] = n, n == null && o in HTMLElement.prototype && t.removeAttribute(o);
29
- }, O = ({ react: t, tagName: o, elementClass: n, events: i, displayName: s }) => {
30
- const p = new Set(Object.keys(i ?? {})), y = t.forwardRef((E, f) => {
31
- var v;
32
- const d = t.useRef(/* @__PURE__ */ new Map()), u = t.useRef(null), l = {}, a = {}, m = n.elementProperties;
33
- for (const [e, r] of Object.entries(E)) {
34
- if (L.has(e)) {
35
- l[e === "className" ? "class" : e] = r;
36
- continue;
37
- } else if (p.has(e) || e in n.prototype) {
38
- const c = m == null ? void 0 : m.get(e), b = (v = c == null ? void 0 : c.converter) == null ? void 0 : v.toAttribute;
39
- if (!c || c.attribute === !1 || typeof r == "object" && !b) {
40
- a[e] = r;
41
- continue;
42
- }
43
- const h = c.attribute === !0 ? e : c.attribute || e;
44
- c.type !== Boolean ? l[h] = b ? b(r) : r : r ? (l[h] = "", a[e] = r) : a[e] = !1;
45
- continue;
46
- }
47
- l[e] = r;
48
- }
49
- return w || (t.useLayoutEffect(() => {
50
- if (u.current === null)
51
- return;
52
- const e = /* @__PURE__ */ new Map();
53
- for (const r in a)
54
- g(u.current, r, E[r], d.current.get(r), i), d.current.delete(r), e.set(r, E[r]);
55
- for (const [r, c] of d.current)
56
- g(u.current, r, void 0, c, i);
57
- d.current = e;
58
- }), t.useLayoutEffect(() => {
59
- var e;
60
- (e = u.current) == null || e.removeAttribute("defer-hydration");
61
- }, [])), w ? (t.createElement.name === "litPatchedCreateElement" || globalThis.litSsrReactEnabled) && Object.keys(a).length && (l._$litProps$ = a) : l.suppressHydrationWarning = !0, t.createElement(o, {
62
- ...l,
63
- ref: t.useCallback((e) => {
64
- u.current = e, typeof f == "function" ? f(e) : f !== null && (f.current = e);
65
- }, [f])
66
- });
67
- });
68
- return y.displayName = s ?? n.name, y;
69
- };
70
- export {
71
- O as c
72
- };