@sbb-esta/lyne-elements 3.5.0 → 3.7.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 (211) hide show
  1. package/a11y.css +1 -1
  2. package/alert/alert-group/alert-group.component.js +12 -12
  3. package/autocomplete/autocomplete-base-element.d.ts +14 -0
  4. package/autocomplete/autocomplete-base-element.d.ts.map +1 -1
  5. package/autocomplete/autocomplete-base-element.js +110 -77
  6. package/autocomplete/autocomplete.component.d.ts.map +1 -1
  7. package/autocomplete/autocomplete.component.js +9 -9
  8. package/autocomplete-grid/autocomplete-grid/autocomplete-grid.component.d.ts.map +1 -1
  9. package/autocomplete-grid/autocomplete-grid/autocomplete-grid.component.js +5 -5
  10. package/button/common.js +1 -1
  11. package/button.js +1 -1
  12. package/carousel/carousel/carousel.component.d.ts +32 -0
  13. package/carousel/carousel/carousel.component.d.ts.map +1 -0
  14. package/carousel/carousel/carousel.component.js +78 -0
  15. package/carousel/carousel-item/carousel-item.component.d.ts +29 -0
  16. package/carousel/carousel-item/carousel-item.component.d.ts.map +1 -0
  17. package/carousel/carousel-item/carousel-item.component.js +26 -0
  18. package/carousel/carousel-item.d.ts +5 -0
  19. package/carousel/carousel-item.d.ts.map +1 -0
  20. package/carousel/carousel-item.js +4 -0
  21. package/carousel/carousel-list/carousel-list.component.d.ts +30 -0
  22. package/carousel/carousel-list/carousel-list.component.d.ts.map +1 -0
  23. package/carousel/carousel-list/carousel-list.component.js +78 -0
  24. package/carousel/carousel-list.d.ts +5 -0
  25. package/carousel/carousel-list.d.ts.map +1 -0
  26. package/carousel/carousel-list.js +4 -0
  27. package/carousel/carousel.d.ts +5 -0
  28. package/carousel/carousel.d.ts.map +1 -0
  29. package/carousel/carousel.js +4 -0
  30. package/carousel.d.ts +7 -0
  31. package/carousel.d.ts.map +1 -0
  32. package/carousel.js +8 -0
  33. package/core/i18n/i18n.d.ts +6 -0
  34. package/core/i18n/i18n.d.ts.map +1 -1
  35. package/core/i18n/i18n.js +196 -160
  36. package/core/i18n.js +94 -88
  37. package/core/mixins/element-internals-mixin.d.ts.map +1 -1
  38. package/core/mixins/element-internals-mixin.js +66 -62
  39. package/core/styles/core.scss +4 -4
  40. package/core/styles/mixins/a11y.scss +1 -1
  41. package/core/styles/mixins/scrollbar.scss +5 -3
  42. package/core/styles/mixins/timetable-form.scss +63 -0
  43. package/core/styles/standard-theme.scss +1 -0
  44. package/core/styles/timetable-form.scss +27 -0
  45. package/core.css +68 -54
  46. package/custom-elements.json +3143 -236
  47. package/datepicker/datepicker/datepicker.component.js +1 -1
  48. package/development/alert/alert-group/alert-group.component.js +1 -1
  49. package/development/autocomplete/autocomplete-base-element.d.ts +14 -0
  50. package/development/autocomplete/autocomplete-base-element.d.ts.map +1 -1
  51. package/development/autocomplete/autocomplete-base-element.js +64 -9
  52. package/development/autocomplete/autocomplete.component.d.ts.map +1 -1
  53. package/development/autocomplete/autocomplete.component.js +4 -1
  54. package/development/autocomplete-grid/autocomplete-grid/autocomplete-grid.component.d.ts.map +1 -1
  55. package/development/autocomplete-grid/autocomplete-grid/autocomplete-grid.component.js +4 -1
  56. package/development/button/common.js +1 -1
  57. package/development/button.js +1 -1
  58. package/development/carousel/carousel/carousel.component.d.ts +32 -0
  59. package/development/carousel/carousel/carousel.component.d.ts.map +1 -0
  60. package/development/carousel/carousel/carousel.component.js +153 -0
  61. package/development/carousel/carousel-item/carousel-item.component.d.ts +29 -0
  62. package/development/carousel/carousel-item/carousel-item.component.d.ts.map +1 -0
  63. package/development/carousel/carousel-item/carousel-item.component.js +46 -0
  64. package/development/carousel/carousel-item.d.ts +5 -0
  65. package/development/carousel/carousel-item.d.ts.map +1 -0
  66. package/development/carousel/carousel-item.js +5 -0
  67. package/development/carousel/carousel-list/carousel-list.component.d.ts +30 -0
  68. package/development/carousel/carousel-list/carousel-list.component.d.ts.map +1 -0
  69. package/development/carousel/carousel-list/carousel-list.component.js +143 -0
  70. package/development/carousel/carousel-list.d.ts +5 -0
  71. package/development/carousel/carousel-list.d.ts.map +1 -0
  72. package/development/carousel/carousel-list.js +5 -0
  73. package/development/carousel/carousel.d.ts +5 -0
  74. package/development/carousel/carousel.d.ts.map +1 -0
  75. package/development/carousel/carousel.js +5 -0
  76. package/development/carousel.d.ts +7 -0
  77. package/development/carousel.d.ts.map +1 -0
  78. package/development/carousel.js +9 -0
  79. package/development/core/i18n/i18n.d.ts +6 -0
  80. package/development/core/i18n/i18n.d.ts.map +1 -1
  81. package/development/core/i18n/i18n.js +43 -1
  82. package/development/core/i18n.js +7 -1
  83. package/development/core/mixins/element-internals-mixin.d.ts.map +1 -1
  84. package/development/core/mixins/element-internals-mixin.js +7 -2
  85. package/development/datepicker/datepicker/datepicker.component.js +1 -1
  86. package/development/dialog/dialog/dialog.component.js +2 -2
  87. package/development/file-selector/common.js +1 -1
  88. package/development/{file-selector-common-BxXdRZxt.js → file-selector-common-CRnQigIZ.js} +4 -4
  89. package/development/file-selector.js +1 -1
  90. package/development/footer/footer.component.js +1 -1
  91. package/development/form-field/form-field/form-field.component.d.ts +3 -0
  92. package/development/form-field/form-field/form-field.component.d.ts.map +1 -1
  93. package/development/form-field/form-field/form-field.component.js +31 -43
  94. package/development/header/common/header-action-common.js +8 -8
  95. package/development/header/header-environment/header-environment.component.js +6 -6
  96. package/development/link-list/link-list/link-list.component.js +8 -8
  97. package/development/navigation/navigation-section/navigation-section.component.js +1 -1
  98. package/development/notification/notification.component.js +2 -2
  99. package/development/paginator/compact-paginator/compact-paginator.component.d.ts.map +1 -1
  100. package/development/paginator/compact-paginator/compact-paginator.component.js +3 -2
  101. package/development/paginator/paginator/paginator.component.js +1 -1
  102. package/development/radio-button/common.js +1 -1
  103. package/development/{radio-button-common-hZiiLJDY.js → radio-button-common-454JtP9b.js} +7 -3
  104. package/development/radio-button.js +1 -1
  105. package/development/screen-reader-only/screen-reader-only.component.js +1 -1
  106. package/development/selection-action-panel/selection-action-panel.component.js +3 -3
  107. package/development/selection-expansion-panel/selection-expansion-panel.component.js +3 -3
  108. package/development/skiplink-list/skiplink-list.component.js +1 -1
  109. package/development/timetable-form/timetable-form/timetable-form.component.d.ts +17 -0
  110. package/development/timetable-form/timetable-form/timetable-form.component.d.ts.map +1 -0
  111. package/development/timetable-form/timetable-form/timetable-form.component.js +40 -0
  112. package/development/timetable-form/timetable-form-details/timetable-form-details.component.d.ts +16 -0
  113. package/development/timetable-form/timetable-form-details/timetable-form-details.component.d.ts.map +1 -0
  114. package/development/timetable-form/timetable-form-details/timetable-form-details.component.js +57 -0
  115. package/development/timetable-form/timetable-form-details.d.ts +5 -0
  116. package/development/timetable-form/timetable-form-details.d.ts.map +1 -0
  117. package/development/timetable-form/timetable-form-details.js +5 -0
  118. package/development/timetable-form/timetable-form-field/timetable-form-field.component.d.ts +18 -0
  119. package/development/timetable-form/timetable-form-field/timetable-form-field.component.d.ts.map +1 -0
  120. package/development/timetable-form/timetable-form-field/timetable-form-field.component.js +130 -0
  121. package/development/timetable-form/timetable-form-field.d.ts +5 -0
  122. package/development/timetable-form/timetable-form-field.d.ts.map +1 -0
  123. package/development/timetable-form/timetable-form-field.js +5 -0
  124. package/development/timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.d.ts +23 -0
  125. package/development/timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.d.ts.map +1 -0
  126. package/development/timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.js +80 -0
  127. package/development/timetable-form/timetable-form-swap-button.d.ts +5 -0
  128. package/development/timetable-form/timetable-form-swap-button.d.ts.map +1 -0
  129. package/development/timetable-form/timetable-form-swap-button.js +5 -0
  130. package/development/timetable-form/timetable-form.d.ts +5 -0
  131. package/development/timetable-form/timetable-form.d.ts.map +1 -0
  132. package/development/timetable-form/timetable-form.js +5 -0
  133. package/development/timetable-form.d.ts +8 -0
  134. package/development/timetable-form.d.ts.map +1 -0
  135. package/development/timetable-form.js +11 -0
  136. package/development/title/title-base.d.ts +1 -1
  137. package/development/title/title-base.d.ts.map +1 -1
  138. package/development/title/title-base.js +2 -2
  139. package/development/title/title.component.d.ts +3 -1
  140. package/development/title/title.component.d.ts.map +1 -1
  141. package/development/title/title.component.js +30 -4
  142. package/development/train/train/train.component.js +1 -1
  143. package/development/train/train-formation/train-formation.component.d.ts.map +1 -1
  144. package/development/train/train-formation/train-formation.component.js +6 -4
  145. package/development/train/train-wagon/train-wagon.component.js +1 -1
  146. package/development/{transparent-button-Dun6bh2G.js → transparent-button-COe-YB_U.js} +2 -2
  147. package/file-selector/common.js +1 -1
  148. package/{file-selector-common-Cn6U8goV.js → file-selector-common-OHK9hu3a.js} +1 -1
  149. package/file-selector.js +1 -1
  150. package/footer/footer.component.js +1 -1
  151. package/form-field/form-field/form-field.component.d.ts +3 -0
  152. package/form-field/form-field/form-field.component.d.ts.map +1 -1
  153. package/form-field/form-field/form-field.component.js +1 -1
  154. package/header/common/header-action-common.js +5 -5
  155. package/index.d.ts +14 -0
  156. package/index.js +14 -0
  157. package/link-list/link-list/link-list.component.js +8 -8
  158. package/navigation/navigation-section/navigation-section.component.js +1 -1
  159. package/notification/notification.component.js +1 -1
  160. package/package.json +50 -1
  161. package/paginator/compact-paginator/compact-paginator.component.d.ts.map +1 -1
  162. package/paginator/compact-paginator/compact-paginator.component.js +10 -9
  163. package/paginator/paginator/paginator.component.js +1 -1
  164. package/radio-button/common.js +1 -1
  165. package/radio-button-common-CUppr5FI.js +5 -0
  166. package/radio-button.js +1 -1
  167. package/screen-reader-only/screen-reader-only.component.js +1 -1
  168. package/selection-action-panel/selection-action-panel.component.js +3 -3
  169. package/selection-expansion-panel/selection-expansion-panel.component.js +1 -1
  170. package/skiplink-list/skiplink-list.component.js +1 -1
  171. package/standard-theme.css +143 -55
  172. package/timetable-form/timetable-form/timetable-form.component.d.ts +17 -0
  173. package/timetable-form/timetable-form/timetable-form.component.d.ts.map +1 -0
  174. package/timetable-form/timetable-form/timetable-form.component.js +19 -0
  175. package/timetable-form/timetable-form-details/timetable-form-details.component.d.ts +16 -0
  176. package/timetable-form/timetable-form-details/timetable-form-details.component.d.ts.map +1 -0
  177. package/timetable-form/timetable-form-details/timetable-form-details.component.js +19 -0
  178. package/timetable-form/timetable-form-details.d.ts +5 -0
  179. package/timetable-form/timetable-form-details.d.ts.map +1 -0
  180. package/timetable-form/timetable-form-details.js +4 -0
  181. package/timetable-form/timetable-form-field/timetable-form-field.component.d.ts +18 -0
  182. package/timetable-form/timetable-form-field/timetable-form-field.component.d.ts.map +1 -0
  183. package/timetable-form/timetable-form-field/timetable-form-field.component.js +32 -0
  184. package/timetable-form/timetable-form-field.d.ts +5 -0
  185. package/timetable-form/timetable-form-field.d.ts.map +1 -0
  186. package/timetable-form/timetable-form-field.js +4 -0
  187. package/timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.d.ts +23 -0
  188. package/timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.d.ts.map +1 -0
  189. package/timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.js +38 -0
  190. package/timetable-form/timetable-form-swap-button.d.ts +5 -0
  191. package/timetable-form/timetable-form-swap-button.d.ts.map +1 -0
  192. package/timetable-form/timetable-form-swap-button.js +4 -0
  193. package/timetable-form/timetable-form.d.ts +5 -0
  194. package/timetable-form/timetable-form.d.ts.map +1 -0
  195. package/timetable-form/timetable-form.js +4 -0
  196. package/timetable-form.css +73 -0
  197. package/timetable-form.d.ts +8 -0
  198. package/timetable-form.d.ts.map +1 -0
  199. package/timetable-form.js +10 -0
  200. package/title/title-base.d.ts +1 -1
  201. package/title/title-base.d.ts.map +1 -1
  202. package/title/title-base.js +1 -1
  203. package/title/title.component.d.ts +3 -1
  204. package/title/title.component.d.ts.map +1 -1
  205. package/title/title.component.js +34 -15
  206. package/train/train/train.component.js +1 -1
  207. package/train/train-formation/train-formation.component.d.ts.map +1 -1
  208. package/train/train-formation/train-formation.component.js +19 -17
  209. package/train/train-wagon/train-wagon.component.js +1 -1
  210. package/{transparent-button-rf30m88X.js → transparent-button-xudJxob_.js} +1 -1
  211. package/radio-button-common-DJKWrKor.js +0 -5
package/core/i18n.js CHANGED
@@ -1,99 +1,105 @@
1
- import { i18nAdditionalWagonInformationHeading as i, i18nArrival as a, i18nBlockedPassage as o, i18nBreadcrumbEllipsisButtonLabel as t, i18nCalendarDateSelection as r, i18nCalendarWeekNumber as l, i18nCheckboxRequired as u, i18nChipDelete as c, i18nChipGroupInputDescription as s, i18nClass as d, i18nClearInput as g, i18nCloseAlert as p, i18nCloseDialog as C, i18nCloseNavigation as D, i18nCloseNotification as S, i18nClosePopover as b, i18nCloseSidebar as P, i18nClosedCompartmentLabel as m, i18nCollapsed as T, i18nConnectionFrom as v, i18nConnectionRoundtrip as L, i18nConnectionTo as h, i18nCouchetteWagonLabel as x, i18nDateChangedTo as M, i18nDateInvalid as N, i18nDateMax as W, i18nDateMin as F, i18nDatePickerPlaceholder as I, i18nDeparture as f, i18nDialog as y, i18nDirection as R, i18nDurationDay as k, i18nDurationHour as B, i18nDurationMinute as O, i18nExpanded as Y, i18nFileSelectorButtonLabel as w, i18nFileSelectorButtonLabelMultiple as A, i18nFileSelectorCurrentlySelected as q, i18nFileSelectorDeleteFile as E, i18nFileSelectorSubtitleLabel as G, i18nFileSelectorSubtitleLabelMultiple as H, i18nFlipCard as Q, i18nFromPlatform as j, i18nGoBack as z, i18nInputRequired as J, i18nItemsPerPage as K, i18nLocomotiveLabel as U, i18nMapContainerButtonLabel as V, i18nMeansOfTransport as X, i18nNew as Z, i18nNextDay as _, i18nNextMonth as $, i18nNextPage as ee, i18nNextYear as ne, i18nNextYearRange as ie, i18nOccupancy as ae, i18nOptional as oe, i18nPage as te, i18nPaginatorOf as re, i18nPaginatorSelected as le, i18nPreviousDay as ue, i18nPreviousMonth as ce, i18nPreviousPage as se, i18nPreviousYear as de, i18nPreviousYearRange as ge, i18nRealTimeInfo as pe, i18nRestaurantWagonLabel as Ce, i18nReverseCard as De, i18nSector as Se, i18nSectorShort as be, i18nSelectNextDay as Pe, i18nSelectPreviousDay as me, i18nSelectedPage as Te, i18nSelectionRequired as ve, i18nShowCalendar as Le, i18nSleepingWagonLabel as he, i18nSupersaver as xe, i18nTargetOpensInNewWindow as Me, i18nTimeInputChange as Ne, i18nTimeInvalid as We, i18nTimeMax as Fe, i18nTimeMaxLength as Ie, i18nToday as fe, i18nTrain as ye, i18nTrains as Re, i18nTransferProcedure as ke, i18nTransferProcedures as Be, i18nTravelhints as Oe, i18nTripDuration as Ye, i18nTripQuayChange as we, i18nWagonLabel as Ae, i18nWagonLabelNumber as qe, i18nWagonsLabel as Ee, i18nWalkingDistanceArrival as Ge, i18nWalkingDistanceDeparture as He, i18nYearMonthSelection as Qe } from "./i18n/i18n.js";
1
+ import { i18nAdditionalWagonInformationHeading as n, i18nArrival as a, i18nBlockedPassage as o, i18nBreadcrumbEllipsisButtonLabel as t, i18nCalendarDateSelection as r, i18nCalendarWeekNumber as l, i18nCarouselArrowsNavigationHint as u, i18nCarouselItemAriaLabel as s, i18nCheckboxRequired as c, i18nChipDelete as d, i18nChipGroupInputDescription as g, i18nClass as p, i18nClearInput as C, i18nCloseAlert as S, i18nCloseDialog as D, i18nCloseNavigation as b, i18nCloseNotification as P, i18nClosePopover as m, i18nCloseSidebar as v, i18nClosedCompartmentLabel as L, i18nCollapsed as T, i18nConnectionFrom as h, i18nConnectionRoundtrip as N, i18nConnectionTo as x, i18nCouchetteWagonLabel as M, i18nDateChangedTo as F, i18nDateInvalid as I, i18nDateMax as W, i18nDateMin as f, i18nDatePickerPlaceholder as y, i18nDeparture as R, i18nDialog as B, i18nDirection as k, i18nDurationDay as w, i18nDurationHour as A, i18nDurationMinute as O, i18nExpanded as Y, i18nFileSelectorButtonLabel as q, i18nFileSelectorButtonLabelMultiple as H, i18nFileSelectorCurrentlySelected as E, i18nFileSelectorDeleteFile as G, i18nFileSelectorSubtitleLabel as Q, i18nFileSelectorSubtitleLabelMultiple as j, i18nFlipCard as z, i18nFromPlatform as J, i18nGoBack as K, i18nInputRequired as U, i18nItemsPerPage as V, i18nLocomotiveLabel as X, i18nMapContainerButtonLabel as Z, i18nMeansOfTransport as _, i18nNew as $, i18nNextDay as ee, i18nNextMonth as ie, i18nNextPage as ne, i18nNextSlide as ae, i18nNextYear as oe, i18nNextYearRange as te, i18nOccupancy as re, i18nOptional as le, i18nPage as ue, i18nPaginatorOf as se, i18nPaginatorSelected as ce, i18nPreviousDay as de, i18nPreviousMonth as ge, i18nPreviousPage as pe, i18nPreviousSlide as Ce, i18nPreviousYear as Se, i18nPreviousYearRange as De, i18nRealTimeInfo as be, i18nRestaurantWagonLabel as Pe, i18nReverseCard as me, i18nSector as ve, i18nSectorShort as Le, i18nSelectNextDay as Te, i18nSelectPreviousDay as he, i18nSelectedPage as Ne, i18nSelectionRequired as xe, i18nShowCalendar as Me, i18nSleepingWagonLabel as Fe, i18nSlide as Ie, i18nSupersaver as We, i18nTargetOpensInNewWindow as fe, i18nTimeInputChange as ye, i18nTimeInvalid as Re, i18nTimeMax as Be, i18nTimeMaxLength as ke, i18nTimetableFormSwapButtonLabel as we, i18nToday as Ae, i18nTrain as Oe, i18nTrains as Ye, i18nTransferProcedure as qe, i18nTransferProcedures as He, i18nTravelhints as Ee, i18nTripDuration as Ge, i18nTripQuayChange as Qe, i18nWagonLabel as je, i18nWagonLabelNumber as ze, i18nWagonsLabel as Je, i18nWalkingDistanceArrival as Ke, i18nWalkingDistanceDeparture as Ue, i18nYearMonthSelection as Ve } from "./i18n/i18n.js";
2
2
  export {
3
- i as i18nAdditionalWagonInformationHeading,
3
+ n as i18nAdditionalWagonInformationHeading,
4
4
  a as i18nArrival,
5
5
  o as i18nBlockedPassage,
6
6
  t as i18nBreadcrumbEllipsisButtonLabel,
7
7
  r as i18nCalendarDateSelection,
8
8
  l as i18nCalendarWeekNumber,
9
- u as i18nCheckboxRequired,
10
- c as i18nChipDelete,
11
- s as i18nChipGroupInputDescription,
12
- d as i18nClass,
13
- g as i18nClearInput,
14
- p as i18nCloseAlert,
15
- C as i18nCloseDialog,
16
- D as i18nCloseNavigation,
17
- S as i18nCloseNotification,
18
- b as i18nClosePopover,
19
- P as i18nCloseSidebar,
20
- m as i18nClosedCompartmentLabel,
9
+ u as i18nCarouselArrowsNavigationHint,
10
+ s as i18nCarouselItemAriaLabel,
11
+ c as i18nCheckboxRequired,
12
+ d as i18nChipDelete,
13
+ g as i18nChipGroupInputDescription,
14
+ p as i18nClass,
15
+ C as i18nClearInput,
16
+ S as i18nCloseAlert,
17
+ D as i18nCloseDialog,
18
+ b as i18nCloseNavigation,
19
+ P as i18nCloseNotification,
20
+ m as i18nClosePopover,
21
+ v as i18nCloseSidebar,
22
+ L as i18nClosedCompartmentLabel,
21
23
  T as i18nCollapsed,
22
- v as i18nConnectionFrom,
23
- L as i18nConnectionRoundtrip,
24
- h as i18nConnectionTo,
25
- x as i18nCouchetteWagonLabel,
26
- M as i18nDateChangedTo,
27
- N as i18nDateInvalid,
24
+ h as i18nConnectionFrom,
25
+ N as i18nConnectionRoundtrip,
26
+ x as i18nConnectionTo,
27
+ M as i18nCouchetteWagonLabel,
28
+ F as i18nDateChangedTo,
29
+ I as i18nDateInvalid,
28
30
  W as i18nDateMax,
29
- F as i18nDateMin,
30
- I as i18nDatePickerPlaceholder,
31
- f as i18nDeparture,
32
- y as i18nDialog,
33
- R as i18nDirection,
34
- k as i18nDurationDay,
35
- B as i18nDurationHour,
31
+ f as i18nDateMin,
32
+ y as i18nDatePickerPlaceholder,
33
+ R as i18nDeparture,
34
+ B as i18nDialog,
35
+ k as i18nDirection,
36
+ w as i18nDurationDay,
37
+ A as i18nDurationHour,
36
38
  O as i18nDurationMinute,
37
39
  Y as i18nExpanded,
38
- w as i18nFileSelectorButtonLabel,
39
- A as i18nFileSelectorButtonLabelMultiple,
40
- q as i18nFileSelectorCurrentlySelected,
41
- E as i18nFileSelectorDeleteFile,
42
- G as i18nFileSelectorSubtitleLabel,
43
- H as i18nFileSelectorSubtitleLabelMultiple,
44
- Q as i18nFlipCard,
45
- j as i18nFromPlatform,
46
- z as i18nGoBack,
47
- J as i18nInputRequired,
48
- K as i18nItemsPerPage,
49
- U as i18nLocomotiveLabel,
50
- V as i18nMapContainerButtonLabel,
51
- X as i18nMeansOfTransport,
52
- Z as i18nNew,
53
- _ as i18nNextDay,
54
- $ as i18nNextMonth,
55
- ee as i18nNextPage,
56
- ne as i18nNextYear,
57
- ie as i18nNextYearRange,
58
- ae as i18nOccupancy,
59
- oe as i18nOptional,
60
- te as i18nPage,
61
- re as i18nPaginatorOf,
62
- le as i18nPaginatorSelected,
63
- ue as i18nPreviousDay,
64
- ce as i18nPreviousMonth,
65
- se as i18nPreviousPage,
66
- de as i18nPreviousYear,
67
- ge as i18nPreviousYearRange,
68
- pe as i18nRealTimeInfo,
69
- Ce as i18nRestaurantWagonLabel,
70
- De as i18nReverseCard,
71
- Se as i18nSector,
72
- be as i18nSectorShort,
73
- Pe as i18nSelectNextDay,
74
- me as i18nSelectPreviousDay,
75
- Te as i18nSelectedPage,
76
- ve as i18nSelectionRequired,
77
- Le as i18nShowCalendar,
78
- he as i18nSleepingWagonLabel,
79
- xe as i18nSupersaver,
80
- Me as i18nTargetOpensInNewWindow,
81
- Ne as i18nTimeInputChange,
82
- We as i18nTimeInvalid,
83
- Fe as i18nTimeMax,
84
- Ie as i18nTimeMaxLength,
85
- fe as i18nToday,
86
- ye as i18nTrain,
87
- Re as i18nTrains,
88
- ke as i18nTransferProcedure,
89
- Be as i18nTransferProcedures,
90
- Oe as i18nTravelhints,
91
- Ye as i18nTripDuration,
92
- we as i18nTripQuayChange,
93
- Ae as i18nWagonLabel,
94
- qe as i18nWagonLabelNumber,
95
- Ee as i18nWagonsLabel,
96
- Ge as i18nWalkingDistanceArrival,
97
- He as i18nWalkingDistanceDeparture,
98
- Qe as i18nYearMonthSelection
40
+ q as i18nFileSelectorButtonLabel,
41
+ H as i18nFileSelectorButtonLabelMultiple,
42
+ E as i18nFileSelectorCurrentlySelected,
43
+ G as i18nFileSelectorDeleteFile,
44
+ Q as i18nFileSelectorSubtitleLabel,
45
+ j as i18nFileSelectorSubtitleLabelMultiple,
46
+ z as i18nFlipCard,
47
+ J as i18nFromPlatform,
48
+ K as i18nGoBack,
49
+ U as i18nInputRequired,
50
+ V as i18nItemsPerPage,
51
+ X as i18nLocomotiveLabel,
52
+ Z as i18nMapContainerButtonLabel,
53
+ _ as i18nMeansOfTransport,
54
+ $ as i18nNew,
55
+ ee as i18nNextDay,
56
+ ie as i18nNextMonth,
57
+ ne as i18nNextPage,
58
+ ae as i18nNextSlide,
59
+ oe as i18nNextYear,
60
+ te as i18nNextYearRange,
61
+ re as i18nOccupancy,
62
+ le as i18nOptional,
63
+ ue as i18nPage,
64
+ se as i18nPaginatorOf,
65
+ ce as i18nPaginatorSelected,
66
+ de as i18nPreviousDay,
67
+ ge as i18nPreviousMonth,
68
+ pe as i18nPreviousPage,
69
+ Ce as i18nPreviousSlide,
70
+ Se as i18nPreviousYear,
71
+ De as i18nPreviousYearRange,
72
+ be as i18nRealTimeInfo,
73
+ Pe as i18nRestaurantWagonLabel,
74
+ me as i18nReverseCard,
75
+ ve as i18nSector,
76
+ Le as i18nSectorShort,
77
+ Te as i18nSelectNextDay,
78
+ he as i18nSelectPreviousDay,
79
+ Ne as i18nSelectedPage,
80
+ xe as i18nSelectionRequired,
81
+ Me as i18nShowCalendar,
82
+ Fe as i18nSleepingWagonLabel,
83
+ Ie as i18nSlide,
84
+ We as i18nSupersaver,
85
+ fe as i18nTargetOpensInNewWindow,
86
+ ye as i18nTimeInputChange,
87
+ Re as i18nTimeInvalid,
88
+ Be as i18nTimeMax,
89
+ ke as i18nTimeMaxLength,
90
+ we as i18nTimetableFormSwapButtonLabel,
91
+ Ae as i18nToday,
92
+ Oe as i18nTrain,
93
+ Ye as i18nTrains,
94
+ qe as i18nTransferProcedure,
95
+ He as i18nTransferProcedures,
96
+ Ee as i18nTravelhints,
97
+ Ge as i18nTripDuration,
98
+ Qe as i18nTripQuayChange,
99
+ je as i18nWagonLabel,
100
+ ze as i18nWagonLabelNumber,
101
+ Je as i18nWagonsLabel,
102
+ Ke as i18nWalkingDistanceArrival,
103
+ Ue as i18nWalkingDistanceDeparture,
104
+ Ve as i18nYearMonthSelection
99
105
  };
@@ -1 +1 @@
1
- {"version":3,"file":"element-internals-mixin.d.ts","sourceRoot":"","sources":["../../../../src/elements/core/mixins/element-internals-mixin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,UAAU,EAA2B,MAAM,KAAK,CAAC;AAEzE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AA8C5D,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,SAAS;QACjB,2BAA2B,EAAE,OAAO,GAAG,IAAI,CAAC;QAC5C,oBAAoB,EAAE,SAAS,OAAO,EAAE,GAAG,IAAI,CAAC;QAChD,uBAAuB,EAAE,SAAS,OAAO,EAAE,GAAG,IAAI,CAAC;QACnD,mBAAmB,EAAE,SAAS,OAAO,EAAE,GAAG,IAAI,CAAC;QAC/C,wBAAwB,EAAE,SAAS,OAAO,EAAE,GAAG,IAAI,CAAC;QACpD,sBAAsB,EAAE,SAAS,OAAO,EAAE,GAAG,IAAI,CAAC;QAClD,gBAAgB,EAAE,SAAS,OAAO,EAAE,GAAG,IAAI,CAAC;KAC7C;CACF;AAyKD,MAAM,WAAW,8BAA8B;IAC7C,IAAI,CAAC,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC;CACjC;AAED,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,4BAA4B;IACxD,SAAS,CAAC,QAAQ,CAAC,SAAS,EAAE,gBAAgB,CAAC;IAC/C,SAAS,CAAC,WAAW,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,OAAO,GAAG,IAAI;CAC5D;AAED;;;GAGG;AACH,eAAO,MAAM,kBAAkB,GAC7B,WAAW,SAAS,OAAO,EAAE,GAAG,IAAI,EACpC,GAAG,aAAa,CAAC,OAAO,GAAG,IAAI,CAAC,EAAE,KACjC,OAAO,EAAE,GAAG,IAGd,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,kBAAkB,GAC7B,WAAW,SAAS,OAAO,EAAE,GAAG,IAAI,EACpC,GAAG,mBAAmB,CAAC,OAAO,GAAG,IAAI,CAAC,EAAE,KACvC,OAAO,EAAE,GAAG,IAId,CAAC;AAEF;;;GAGG;AAEH,eAAO,MAAM,wBAAwB,GAAI,CAAC,SAAS,mBAAmB,CAAC,UAAU,CAAC,EAChF,YAAY,CAAC,KACZ,mBAAmB,CAAC,4BAA4B,CAAC,GAAG,CAAC,GAAG,8BAmC1D,CAAC"}
1
+ {"version":3,"file":"element-internals-mixin.d.ts","sourceRoot":"","sources":["../../../../src/elements/core/mixins/element-internals-mixin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,UAAU,EAA2B,MAAM,KAAK,CAAC;AAEzE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AA8C5D,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,SAAS;QACjB,2BAA2B,EAAE,OAAO,GAAG,IAAI,CAAC;QAC5C,oBAAoB,EAAE,SAAS,OAAO,EAAE,GAAG,IAAI,CAAC;QAChD,uBAAuB,EAAE,SAAS,OAAO,EAAE,GAAG,IAAI,CAAC;QACnD,mBAAmB,EAAE,SAAS,OAAO,EAAE,GAAG,IAAI,CAAC;QAC/C,wBAAwB,EAAE,SAAS,OAAO,EAAE,GAAG,IAAI,CAAC;QACpD,sBAAsB,EAAE,SAAS,OAAO,EAAE,GAAG,IAAI,CAAC;QAClD,gBAAgB,EAAE,SAAS,OAAO,EAAE,GAAG,IAAI,CAAC;KAC7C;CACF;AAyKD,MAAM,WAAW,8BAA8B;IAC7C,IAAI,CAAC,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC;CACjC;AAED,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,4BAA4B;IACxD,SAAS,CAAC,QAAQ,CAAC,SAAS,EAAE,gBAAgB,CAAC;IAC/C,SAAS,CAAC,WAAW,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,OAAO,GAAG,IAAI;CAC5D;AAED;;;GAGG;AACH,eAAO,MAAM,kBAAkB,GAC7B,WAAW,SAAS,OAAO,EAAE,GAAG,IAAI,EACpC,GAAG,aAAa,CAAC,OAAO,GAAG,IAAI,CAAC,EAAE,KACjC,OAAO,EAAE,GAAG,IAGd,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,kBAAkB,GAC7B,WAAW,SAAS,OAAO,EAAE,GAAG,IAAI,EACpC,GAAG,mBAAmB,CAAC,OAAO,GAAG,IAAI,CAAC,EAAE,KACvC,OAAO,EAAE,GAAG,IAId,CAAC;AAEF;;;GAGG;AAEH,eAAO,MAAM,wBAAwB,GAAI,CAAC,SAAS,mBAAmB,CAAC,UAAU,CAAC,EAChF,YAAY,CAAC,KACZ,mBAAmB,CAAC,4BAA4B,CAAC,GAAG,CAAC,GAAG,8BA2C1D,CAAC"}
@@ -1,5 +1,5 @@
1
- import { isServer as g } from "lit";
2
- const E = !g && !CSS.supports("selector(:state(loading))") ? class extends Set {
1
+ import { isServer as E } from "lit";
2
+ const g = E || !CSS.supports("selector(:state(loading))") ? class extends Set {
3
3
  constructor(e) {
4
4
  super(), this._host = e, this._host.addController(this);
5
5
  }
@@ -19,40 +19,40 @@ const E = !g && !CSS.supports("selector(:state(loading))") ? class extends Set {
19
19
  this._host.toggleAttribute(`state--${e}`, a);
20
20
  }
21
21
  } : null;
22
- if (!g) {
23
- let d = 0;
24
- const e = (l) => l.shadowRoot?.host ?? (l instanceof Element ? l : (() => {
22
+ if (!E) {
23
+ let h = 0;
24
+ const e = (r) => r.shadowRoot?.host ?? (r instanceof Element ? r : (() => {
25
25
  throw new Error("Unable to resolve related element! This should never happen.");
26
- })()), a = { attributes: !0, attributeFilter: ["id"] }, c = (l, u, m) => {
26
+ })()), a = { attributes: !0, attributeFilter: ["id"] }, c = (r, d, m) => {
27
27
  const i = m[Element.name] ?? m[ElementInternals.name];
28
- l.setAttribute(u, i.id ||= `aria-ref-${d++}`);
29
- }, f = (l, u, m) => {
30
- l.setAttribute(u, Object.values(m).reduce((i, o) => i.concat(o)).filter((i, o, t) => t.indexOf(i) === o).map((i) => i.id || (i.id = `aria-ref-${d++}`)).join(" "));
28
+ r.setAttribute(d, i.id ||= `aria-ref-${h++}`);
29
+ }, u = (r, d, m) => {
30
+ r.setAttribute(d, Object.values(m).reduce((i, l) => i.concat(l)).filter((i, l, t) => t.indexOf(i) === l).map((i) => i.id || (i.id = `aria-ref-${h++}`)).join(" "));
31
31
  };
32
- for (const l of [ElementInternals, Element]) {
33
- const u = l.prototype;
34
- if (!("ariaActiveDescendantElement" in u)) {
32
+ for (const r of [ElementInternals, Element]) {
33
+ const d = r.prototype;
34
+ if (!("ariaActiveDescendantElement" in d)) {
35
35
  const m = "aria-activedescendant", i = /* @__PURE__ */ new WeakMap();
36
- Object.defineProperty(u, "ariaActiveDescendantElement", {
36
+ Object.defineProperty(d, "ariaActiveDescendantElement", {
37
37
  enumerable: !0,
38
38
  configurable: !0,
39
39
  get() {
40
- const o = e(this), t = o.getAttribute(m)?.split(/\s+/)[0] ?? null;
41
- return t ? o.getRootNode().getElementById?.(t) ?? null : null;
40
+ const l = e(this), t = l.getAttribute(m)?.split(/\s+/)[0] ?? null;
41
+ return t ? l.getRootNode().getElementById?.(t) ?? null : null;
42
42
  },
43
- set(o) {
44
- if (o !== null && !(o instanceof Element))
45
- throw new TypeError(`Failed to set the 'ariaActiveDescendantElement' property on '${l.name}': Failed to convert value to 'Element'.`);
46
- const t = e(this), s = i.get(t);
47
- if (s?.observer?.disconnect(), o === null)
48
- s && (delete s.elements[l.name], Object.keys(s).length ? s.observer.observe(Object.values(s.elements)[0], a) : (i.delete(t), t.removeAttribute(m)));
49
- else if (s)
50
- s.elements[l.name] = o, c(t, m, s.elements), Object.values(s.elements).forEach((n) => s.observer.observe(n, a));
43
+ set(l) {
44
+ if (l !== null && !(l instanceof Element))
45
+ throw new TypeError(`Failed to set the 'ariaActiveDescendantElement' property on '${r.name}': Failed to convert value to 'Element'.`);
46
+ const t = e(this), n = i.get(t);
47
+ if (n?.observer?.disconnect(), l === null)
48
+ n && (delete n.elements[r.name], Object.keys(n).length ? n.observer.observe(Object.values(n.elements)[0], a) : (i.delete(t), t.removeAttribute(m)));
49
+ else if (n)
50
+ n.elements[r.name] = l, c(t, m, n.elements), Object.values(n.elements).forEach((s) => n.observer.observe(s, a));
51
51
  else {
52
- const n = { [l.name]: o };
53
- c(t, m, n);
54
- const r = new MutationObserver(() => c(t, m, n));
55
- r.observe(o, a), i.set(t, { elements: n, observer: r });
52
+ const s = { [r.name]: l };
53
+ c(t, m, s);
54
+ const o = new MutationObserver(() => c(t, m, s));
55
+ o.observe(l, a), i.set(t, { elements: s, observer: o });
56
56
  }
57
57
  }
58
58
  });
@@ -65,63 +65,67 @@ if (!g) {
65
65
  "ariaLabelledByElements",
66
66
  "ariaOwnsElements"
67
67
  ])
68
- if (!(m in u)) {
69
- const i = /* @__PURE__ */ new WeakMap(), o = `aria-${m.slice(4, -8).toLowerCase()}`;
70
- Object.defineProperty(u, m, {
68
+ if (!(m in d)) {
69
+ const i = /* @__PURE__ */ new WeakMap(), l = `aria-${m.slice(4, -8).toLowerCase()}`;
70
+ Object.defineProperty(d, m, {
71
71
  enumerable: !0,
72
72
  configurable: !0,
73
73
  get() {
74
- const t = e(this), s = t.getAttribute(o)?.split(/\s+/).filter((n, r, h) => h.indexOf(n) === r).map((n) => t.getRootNode().getElementById?.(n)).filter((n) => n instanceof Element);
75
- return s?.length ? Object.freeze(s) : null;
74
+ const t = e(this), n = t.getAttribute(l)?.split(/\s+/).filter((s, o, f) => f.indexOf(s) === o).map((s) => t.getRootNode().getElementById?.(s)).filter((s) => s instanceof Element);
75
+ return n?.length ? Object.freeze(n) : null;
76
76
  },
77
77
  set(t) {
78
- if (t !== null && (!Array.isArray(t) || t.some((r) => !(r instanceof Element))))
79
- throw new TypeError(`Failed to set the '${m}' property on '${l.name}': Failed to convert value to 'Element'.`);
80
- const s = e(this);
81
- t = t?.filter((r, h, b) => b.indexOf(r) === h) ?? null;
82
- const n = i.get(s);
83
- if (n?.observer?.disconnect(), t === null)
84
- n && (delete n.elements[l.name], Object.keys(n.elements).length ? Object.values(n.elements).reduce((r, h) => r.concat(h)).forEach((r) => n.observer.observe(r, a)) : i.delete(s));
85
- else if (n)
86
- n.elements[l.name] = t, f(s, o, n.elements), Object.values(n.elements).reduce((r, h) => r.concat(h)).forEach((r) => n.observer.observe(r, a));
78
+ if (t !== null && (!Array.isArray(t) || t.some((o) => !(o instanceof Element))))
79
+ throw new TypeError(`Failed to set the '${m}' property on '${r.name}': Failed to convert value to 'Element'.`);
80
+ const n = e(this);
81
+ t = t?.filter((o, f, b) => b.indexOf(o) === f) ?? null;
82
+ const s = i.get(n);
83
+ if (s?.observer?.disconnect(), t === null)
84
+ s && (delete s.elements[r.name], Object.keys(s.elements).length ? Object.values(s.elements).reduce((o, f) => o.concat(f)).forEach((o) => s.observer.observe(o, a)) : i.delete(n));
85
+ else if (s)
86
+ s.elements[r.name] = t, u(n, l, s.elements), Object.values(s.elements).reduce((o, f) => o.concat(f)).forEach((o) => s.observer.observe(o, a));
87
87
  else {
88
- const r = { [l.name]: t };
89
- f(s, o, r);
90
- const h = new MutationObserver(() => f(s, o, r));
91
- t.forEach((b) => h.observe(b, a)), i.set(s, { elements: r, observer: h });
88
+ const o = { [r.name]: t };
89
+ u(n, l, o);
90
+ const f = new MutationObserver(() => u(n, l, o));
91
+ t.forEach((b) => f.observe(b, a)), i.set(n, { elements: o, observer: f });
92
92
  }
93
93
  }
94
94
  });
95
95
  }
96
96
  }
97
97
  }
98
- const y = (d, ...e) => {
98
+ const y = (h, ...e) => {
99
99
  const a = e.filter((c) => !!c);
100
- return d?.length ? d.concat(a) : e.length ? a : null;
101
- }, O = (d, ...e) => {
100
+ return h?.length ? h.concat(a) : e.length ? a : null;
101
+ }, O = (h, ...e) => {
102
102
  e = e.filter((c) => !!c);
103
- const a = d?.filter((c) => !e.includes(c)) ?? null;
103
+ const a = h?.filter((c) => !e.includes(c)) ?? null;
104
104
  return a?.length ? a : null;
105
- }, S = (d) => {
106
- class e extends d {
105
+ }, A = (h) => {
106
+ class e extends h {
107
107
  constructor(...c) {
108
- super(...c), this.internals = this.attachInternals(), E && Object.defineProperty(this.internals, "states", {
109
- value: new E(this),
110
- writable: !1,
111
- configurable: !1,
112
- enumerable: !1
113
- });
114
- const f = this.constructor.role;
115
- f && (this.internals.role = f);
108
+ if (super(...c), this.internals = this.attachInternals(), g)
109
+ Object.defineProperty(this.internals, "states", {
110
+ value: new g(this),
111
+ writable: !1,
112
+ configurable: !1,
113
+ enumerable: !1
114
+ });
115
+ else
116
+ for (const r of this.getAttributeNames().filter((d) => d.startsWith("state--")))
117
+ this.internals.states.add(r.slice(7)), this.removeAttribute(r);
118
+ const u = this.constructor.role;
119
+ u && (this.internals.role = u);
116
120
  }
117
- toggleState(c, f) {
118
- f || f !== !1 && !this.internals.states.has(c) ? this.internals.states.add(c) : this.internals.states.delete(c);
121
+ toggleState(c, u) {
122
+ u || u !== !1 && !this.internals.states.has(c) ? this.internals.states.add(c) : this.internals.states.delete(c);
119
123
  }
120
124
  }
121
125
  return e;
122
126
  };
123
127
  export {
124
- S as SbbElementInternalsMixin,
128
+ A as SbbElementInternalsMixin,
125
129
  y as appendAriaElements,
126
130
  O as removeAriaElements
127
131
  };
@@ -109,7 +109,7 @@ html {
109
109
  @include typo.placeholder;
110
110
  }
111
111
 
112
- sbb-form-field {
112
+ :is(sbb-form-field, sbb-timetable-form-field) {
113
113
  :where(input, select, textarea, sbb-select, sbb-date-input, sbb-time-input) {
114
114
  @include typo.text-m--regular;
115
115
  @include helpers.ellipsis;
@@ -205,7 +205,7 @@ sbb-form-field {
205
205
  &:has(
206
206
  :is(
207
207
  :is(input, textarea, select):user-invalid,
208
- :is(:state(interacted), [state--interacted]):invalid,
208
+ :state(interacted):invalid,
209
209
  .ng-touched.ng-invalid,
210
210
  .sbb-invalid
211
211
  )
@@ -563,13 +563,13 @@ sbb-dialog-actions {
563
563
  --sbb-dialog-actions-border-color: var(--sbb-color-iron);
564
564
  }
565
565
 
566
- sbb-dialog:is(:state(overflows), [state--overflows]) & {
566
+ sbb-dialog:state(overflows) & {
567
567
  --sbb-dialog-actions-border-color: transparent;
568
568
 
569
569
  @include shadows.shadow-level-9-soft;
570
570
  }
571
571
 
572
- sbb-dialog[negative]:is(:state(overflows), [state--overflows]) & {
572
+ sbb-dialog[negative]:state(overflows) & {
573
573
  @include shadows.shadow-level-9-soft-negative;
574
574
  }
575
575
  }
@@ -27,7 +27,7 @@
27
27
 
28
28
  @mixin screen-reader-only {
29
29
  border: 0;
30
- clip: rect(0 0 0 0);
30
+ clip-path: rect(0 0 0 0);
31
31
  height: 1px;
32
32
  margin: -1px;
33
33
  overflow: hidden;
@@ -40,9 +40,11 @@
40
40
  // We have to use the `not` selector as Chrome supports both, the -webkit-* and the following properties.
41
41
  // As long as possible we use the -webkit-* approach as we have more styling possibilities there.
42
42
  @supports not selector(::-webkit-scrollbar) {
43
- scrollbar-width: var(--sbb-scrollbar-width-firefox);
44
- scrollbar-color: var(--sbb-scrollbar-color, currentcolor)
45
- var(--sbb-scrollbar-track-color, transparent);
43
+ & {
44
+ scrollbar-width: var(--sbb-scrollbar-width-firefox);
45
+ scrollbar-color: var(--sbb-scrollbar-color, currentcolor)
46
+ var(--sbb-scrollbar-track-color, transparent);
47
+ }
46
48
  }
47
49
  }
48
50
 
@@ -0,0 +1,63 @@
1
+ @use '../core/functions';
2
+ @use '../core/mediaqueries';
3
+
4
+ @mixin sbb-timetable-form {
5
+ --sbb-timetable-form-content-max-width: #{functions.px-to-rem-build(740)};
6
+
7
+ position: relative;
8
+ display: flex;
9
+ flex-direction: column;
10
+ column-gap: var(--sbb-spacing-fixed-3x);
11
+ border-radius: var(--sbb-border-radius-4x);
12
+ padding-block: var(--sbb-spacing-fixed-10x) var(--sbb-spacing-responsive-l);
13
+ padding-inline: var(--sbb-spacing-fixed-5x);
14
+ background: linear-gradient(
15
+ to bottom,
16
+ var(--sbb-color-red) 0 #{functions.px-to-rem-build(178)},
17
+ var(--sbb-color-milk) #{functions.px-to-rem-build(178)} 100%
18
+ );
19
+
20
+ @include mediaqueries.mq($to: large) {
21
+ &:has(sbb-signet) {
22
+ padding-block-start: var(--sbb-spacing-fixed-4x);
23
+ }
24
+ }
25
+
26
+ sbb-signet {
27
+ width: var(--sbb-spacing-fixed-16x);
28
+ align-self: end;
29
+ margin-block-end: var(--sbb-spacing-fixed-2x);
30
+ margin-inline: 0;
31
+
32
+ @include mediaqueries.mq($from: large) {
33
+ position: absolute;
34
+ inset-block-start: var(--sbb-spacing-fixed-6x);
35
+ inset-inline-end: var(--sbb-spacing-fixed-6x);
36
+ }
37
+ }
38
+
39
+ & > * {
40
+ margin-inline: auto;
41
+ max-width: var(--sbb-timetable-form-content-max-width);
42
+ width: 100%;
43
+ }
44
+ }
45
+
46
+ @mixin timetable-form-block {
47
+ --sbb-form-field-focus-underline-z-index: 1;
48
+
49
+ width: 100%;
50
+ position: relative;
51
+
52
+ &::after {
53
+ content: '';
54
+ position: absolute;
55
+ border-block-end: var(--sbb-border-width-1x) solid var(--sbb-color-cloud);
56
+ inset-inline: var(--sbb-form-field-padding-inline);
57
+ inset-block-end: 0;
58
+ }
59
+
60
+ sbb-datepicker-toggle {
61
+ margin-inline-end: var(--sbb-spacing-fixed-6x);
62
+ }
63
+ }
@@ -11,3 +11,4 @@
11
11
  @use './lists';
12
12
  @use './scrollbar';
13
13
  @use './table';
14
+ @use './timetable-form';
@@ -0,0 +1,27 @@
1
+ @use './core/functions';
2
+ @use './core/mediaqueries';
3
+ @use './mixins/timetable-form' as mixin;
4
+
5
+ .sbb-timetable-form {
6
+ @include mixin.sbb-timetable-form;
7
+ }
8
+
9
+ sbb-timetable-form {
10
+ sbb-date-input {
11
+ min-width: #{functions.px-to-rem-build(133)}; // From FIGMA spec
12
+ }
13
+
14
+ .sbb-timetable-form-block {
15
+ @include mixin.timetable-form-block;
16
+ }
17
+
18
+ @include mediaqueries.mq($to: small) {
19
+ .sbb-timetable-form-mobile-block {
20
+ @include mixin.timetable-form-block;
21
+ }
22
+
23
+ .sbb-timetable-form-mobile-hidden {
24
+ display: none;
25
+ }
26
+ }
27
+ }