@sbb-esta/lyne-elements 3.6.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 (173) 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/carousel/carousel/carousel.component.d.ts +32 -0
  11. package/carousel/carousel/carousel.component.d.ts.map +1 -0
  12. package/carousel/carousel/carousel.component.js +78 -0
  13. package/carousel/carousel-item/carousel-item.component.d.ts +29 -0
  14. package/carousel/carousel-item/carousel-item.component.d.ts.map +1 -0
  15. package/carousel/carousel-item/carousel-item.component.js +26 -0
  16. package/carousel/carousel-item.d.ts +5 -0
  17. package/carousel/carousel-item.d.ts.map +1 -0
  18. package/carousel/carousel-item.js +4 -0
  19. package/carousel/carousel-list/carousel-list.component.d.ts +30 -0
  20. package/carousel/carousel-list/carousel-list.component.d.ts.map +1 -0
  21. package/carousel/carousel-list/carousel-list.component.js +78 -0
  22. package/carousel/carousel-list.d.ts +5 -0
  23. package/carousel/carousel-list.d.ts.map +1 -0
  24. package/carousel/carousel-list.js +4 -0
  25. package/carousel/carousel.d.ts +5 -0
  26. package/carousel/carousel.d.ts.map +1 -0
  27. package/carousel/carousel.js +4 -0
  28. package/carousel.d.ts +7 -0
  29. package/carousel.d.ts.map +1 -0
  30. package/carousel.js +8 -0
  31. package/core/i18n/i18n.d.ts +6 -0
  32. package/core/i18n/i18n.d.ts.map +1 -1
  33. package/core/i18n/i18n.js +196 -160
  34. package/core/i18n.js +94 -88
  35. package/core/styles/core.scss +1 -1
  36. package/core/styles/mixins/a11y.scss +1 -1
  37. package/core/styles/mixins/scrollbar.scss +5 -3
  38. package/core/styles/mixins/timetable-form.scss +63 -0
  39. package/core/styles/standard-theme.scss +1 -0
  40. package/core/styles/timetable-form.scss +27 -0
  41. package/core.css +30 -30
  42. package/custom-elements.json +2907 -0
  43. package/datepicker/datepicker/datepicker.component.js +1 -1
  44. package/development/alert/alert-group/alert-group.component.js +1 -1
  45. package/development/autocomplete/autocomplete-base-element.d.ts +14 -0
  46. package/development/autocomplete/autocomplete-base-element.d.ts.map +1 -1
  47. package/development/autocomplete/autocomplete-base-element.js +64 -9
  48. package/development/autocomplete/autocomplete.component.d.ts.map +1 -1
  49. package/development/autocomplete/autocomplete.component.js +4 -1
  50. package/development/autocomplete-grid/autocomplete-grid/autocomplete-grid.component.d.ts.map +1 -1
  51. package/development/autocomplete-grid/autocomplete-grid/autocomplete-grid.component.js +4 -1
  52. package/development/carousel/carousel/carousel.component.d.ts +32 -0
  53. package/development/carousel/carousel/carousel.component.d.ts.map +1 -0
  54. package/development/carousel/carousel/carousel.component.js +153 -0
  55. package/development/carousel/carousel-item/carousel-item.component.d.ts +29 -0
  56. package/development/carousel/carousel-item/carousel-item.component.d.ts.map +1 -0
  57. package/development/carousel/carousel-item/carousel-item.component.js +46 -0
  58. package/development/carousel/carousel-item.d.ts +5 -0
  59. package/development/carousel/carousel-item.d.ts.map +1 -0
  60. package/development/carousel/carousel-item.js +5 -0
  61. package/development/carousel/carousel-list/carousel-list.component.d.ts +30 -0
  62. package/development/carousel/carousel-list/carousel-list.component.d.ts.map +1 -0
  63. package/development/carousel/carousel-list/carousel-list.component.js +143 -0
  64. package/development/carousel/carousel-list.d.ts +5 -0
  65. package/development/carousel/carousel-list.d.ts.map +1 -0
  66. package/development/carousel/carousel-list.js +5 -0
  67. package/development/carousel/carousel.d.ts +5 -0
  68. package/development/carousel/carousel.d.ts.map +1 -0
  69. package/development/carousel/carousel.js +5 -0
  70. package/development/carousel.d.ts +7 -0
  71. package/development/carousel.d.ts.map +1 -0
  72. package/development/carousel.js +9 -0
  73. package/development/core/i18n/i18n.d.ts +6 -0
  74. package/development/core/i18n/i18n.d.ts.map +1 -1
  75. package/development/core/i18n/i18n.js +43 -1
  76. package/development/core/i18n.js +7 -1
  77. package/development/datepicker/datepicker/datepicker.component.js +1 -1
  78. package/development/file-selector/common.js +1 -1
  79. package/development/{file-selector-common-B4I8rwJE.js → file-selector-common-CRnQigIZ.js} +2 -2
  80. package/development/file-selector.js +1 -1
  81. package/development/footer/footer.component.js +1 -1
  82. package/development/form-field/form-field/form-field.component.d.ts +3 -0
  83. package/development/form-field/form-field/form-field.component.d.ts.map +1 -1
  84. package/development/form-field/form-field/form-field.component.js +4 -2
  85. package/development/header/common/header-action-common.js +8 -8
  86. package/development/link-list/link-list/link-list.component.js +8 -8
  87. package/development/navigation/navigation-section/navigation-section.component.js +1 -1
  88. package/development/paginator/paginator/paginator.component.js +1 -1
  89. package/development/radio-button/common.js +1 -1
  90. package/development/{radio-button-common-BRyEhlYf.js → radio-button-common-454JtP9b.js} +2 -2
  91. package/development/radio-button.js +1 -1
  92. package/development/screen-reader-only/screen-reader-only.component.js +1 -1
  93. package/development/skiplink-list/skiplink-list.component.js +1 -1
  94. package/development/timetable-form/timetable-form/timetable-form.component.d.ts +17 -0
  95. package/development/timetable-form/timetable-form/timetable-form.component.d.ts.map +1 -0
  96. package/development/timetable-form/timetable-form/timetable-form.component.js +40 -0
  97. package/development/timetable-form/timetable-form-details/timetable-form-details.component.d.ts +16 -0
  98. package/development/timetable-form/timetable-form-details/timetable-form-details.component.d.ts.map +1 -0
  99. package/development/timetable-form/timetable-form-details/timetable-form-details.component.js +57 -0
  100. package/development/timetable-form/timetable-form-details.d.ts +5 -0
  101. package/development/timetable-form/timetable-form-details.d.ts.map +1 -0
  102. package/development/timetable-form/timetable-form-details.js +5 -0
  103. package/development/timetable-form/timetable-form-field/timetable-form-field.component.d.ts +18 -0
  104. package/development/timetable-form/timetable-form-field/timetable-form-field.component.d.ts.map +1 -0
  105. package/development/timetable-form/timetable-form-field/timetable-form-field.component.js +130 -0
  106. package/development/timetable-form/timetable-form-field.d.ts +5 -0
  107. package/development/timetable-form/timetable-form-field.d.ts.map +1 -0
  108. package/development/timetable-form/timetable-form-field.js +5 -0
  109. package/development/timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.d.ts +23 -0
  110. package/development/timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.d.ts.map +1 -0
  111. package/development/timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.js +80 -0
  112. package/development/timetable-form/timetable-form-swap-button.d.ts +5 -0
  113. package/development/timetable-form/timetable-form-swap-button.d.ts.map +1 -0
  114. package/development/timetable-form/timetable-form-swap-button.js +5 -0
  115. package/development/timetable-form/timetable-form.d.ts +5 -0
  116. package/development/timetable-form/timetable-form.d.ts.map +1 -0
  117. package/development/timetable-form/timetable-form.js +5 -0
  118. package/development/timetable-form.d.ts +8 -0
  119. package/development/timetable-form.d.ts.map +1 -0
  120. package/development/timetable-form.js +11 -0
  121. package/development/train/train/train.component.js +1 -1
  122. package/development/train/train-wagon/train-wagon.component.js +1 -1
  123. package/file-selector/common.js +1 -1
  124. package/{file-selector-common-Cn6U8goV.js → file-selector-common-OHK9hu3a.js} +1 -1
  125. package/file-selector.js +1 -1
  126. package/footer/footer.component.js +1 -1
  127. package/form-field/form-field/form-field.component.d.ts +3 -0
  128. package/form-field/form-field/form-field.component.d.ts.map +1 -1
  129. package/form-field/form-field/form-field.component.js +1 -1
  130. package/header/common/header-action-common.js +5 -5
  131. package/index.d.ts +14 -0
  132. package/index.js +14 -0
  133. package/link-list/link-list/link-list.component.js +8 -8
  134. package/navigation/navigation-section/navigation-section.component.js +1 -1
  135. package/package.json +50 -1
  136. package/paginator/paginator/paginator.component.js +1 -1
  137. package/radio-button/common.js +1 -1
  138. package/radio-button-common-CUppr5FI.js +5 -0
  139. package/radio-button.js +1 -1
  140. package/screen-reader-only/screen-reader-only.component.js +1 -1
  141. package/skiplink-list/skiplink-list.component.js +1 -1
  142. package/standard-theme.css +105 -31
  143. package/timetable-form/timetable-form/timetable-form.component.d.ts +17 -0
  144. package/timetable-form/timetable-form/timetable-form.component.d.ts.map +1 -0
  145. package/timetable-form/timetable-form/timetable-form.component.js +19 -0
  146. package/timetable-form/timetable-form-details/timetable-form-details.component.d.ts +16 -0
  147. package/timetable-form/timetable-form-details/timetable-form-details.component.d.ts.map +1 -0
  148. package/timetable-form/timetable-form-details/timetable-form-details.component.js +19 -0
  149. package/timetable-form/timetable-form-details.d.ts +5 -0
  150. package/timetable-form/timetable-form-details.d.ts.map +1 -0
  151. package/timetable-form/timetable-form-details.js +4 -0
  152. package/timetable-form/timetable-form-field/timetable-form-field.component.d.ts +18 -0
  153. package/timetable-form/timetable-form-field/timetable-form-field.component.d.ts.map +1 -0
  154. package/timetable-form/timetable-form-field/timetable-form-field.component.js +32 -0
  155. package/timetable-form/timetable-form-field.d.ts +5 -0
  156. package/timetable-form/timetable-form-field.d.ts.map +1 -0
  157. package/timetable-form/timetable-form-field.js +4 -0
  158. package/timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.d.ts +23 -0
  159. package/timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.d.ts.map +1 -0
  160. package/timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.js +38 -0
  161. package/timetable-form/timetable-form-swap-button.d.ts +5 -0
  162. package/timetable-form/timetable-form-swap-button.d.ts.map +1 -0
  163. package/timetable-form/timetable-form-swap-button.js +4 -0
  164. package/timetable-form/timetable-form.d.ts +5 -0
  165. package/timetable-form/timetable-form.d.ts.map +1 -0
  166. package/timetable-form/timetable-form.js +4 -0
  167. package/timetable-form.css +73 -0
  168. package/timetable-form.d.ts +8 -0
  169. package/timetable-form.d.ts.map +1 -0
  170. package/timetable-form.js +10 -0
  171. package/train/train/train.component.js +1 -1
  172. package/train/train-wagon/train-wagon.component.js +1 -1
  173. package/radio-button-common-DzALx3X7.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
  };
@@ -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;
@@ -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
+ }
package/core.css CHANGED
@@ -1217,7 +1217,7 @@ html {
1217
1217
  opacity: 1;
1218
1218
  }
1219
1219
 
1220
- sbb-form-field :where(input, select, textarea, sbb-select, sbb-date-input, sbb-time-input) {
1220
+ :is(sbb-form-field, sbb-timetable-form-field) :where(input, select, textarea, sbb-select, sbb-date-input, sbb-time-input) {
1221
1221
  --sbb-text-font-size: var(--sbb-font-size-text-m);
1222
1222
  font-family: var(--sbb-typo-font-family);
1223
1223
  font-weight: normal;
@@ -1244,37 +1244,37 @@ sbb-form-field :where(input, select, textarea, sbb-select, sbb-date-input, sbb-t
1244
1244
  font-family: var(--sbb-typo-font-family) !important;
1245
1245
  line-height: var(--sbb-typo-line-height-body-text) !important;
1246
1246
  }
1247
- sbb-form-field :where(input, select, textarea, sbb-select, sbb-date-input, sbb-time-input)::placeholder {
1247
+ :is(sbb-form-field, sbb-timetable-form-field) :where(input, select, textarea, sbb-select, sbb-date-input, sbb-time-input)::placeholder {
1248
1248
  color: var(--sbb-color-metal);
1249
1249
  -webkit-text-fill-color: var(--sbb-color-metal);
1250
1250
  opacity: 1;
1251
1251
  }
1252
- sbb-form-field[floating-label] :where(input, select, textarea, sbb-select)::placeholder, sbb-form-field[floating-label] :where(sbb-date-input, sbb-time-input)::after {
1252
+ :is(sbb-form-field, sbb-timetable-form-field)[floating-label] :where(input, select, textarea, sbb-select)::placeholder, :is(sbb-form-field, sbb-timetable-form-field)[floating-label] :where(sbb-date-input, sbb-time-input)::after {
1253
1253
  color: transparent !important;
1254
1254
  -webkit-text-fill-color: transparent !important;
1255
1255
  }
1256
1256
  @media (forced-colors: active) {
1257
- sbb-form-field[floating-label] :where(input, select, textarea, sbb-select)::placeholder, sbb-form-field[floating-label] :where(sbb-date-input, sbb-time-input)::after {
1257
+ :is(sbb-form-field, sbb-timetable-form-field)[floating-label] :where(input, select, textarea, sbb-select)::placeholder, :is(sbb-form-field, sbb-timetable-form-field)[floating-label] :where(sbb-date-input, sbb-time-input)::after {
1258
1258
  color: Canvas !important;
1259
1259
  -webkit-text-fill-color: Canvas !important;
1260
1260
  }
1261
1261
  }
1262
- sbb-form-field:not([floating-label]) :where(input, select, textarea, sbb-select):disabled::placeholder {
1262
+ :is(sbb-form-field, sbb-timetable-form-field):not([floating-label]) :where(input, select, textarea, sbb-select):disabled::placeholder {
1263
1263
  color: var(--sbb-color-granite);
1264
1264
  -webkit-text-fill-color: var(--sbb-color-granite);
1265
1265
  }
1266
- sbb-form-field :where(select) {
1266
+ :is(sbb-form-field, sbb-timetable-form-field) :where(select) {
1267
1267
  vertical-align: middle;
1268
1268
  }
1269
- sbb-form-field :where(select, sbb-select) {
1269
+ :is(sbb-form-field, sbb-timetable-form-field) :where(select, sbb-select) {
1270
1270
  padding-inline-end: var(--sbb-form-field-select-inline-padding-end);
1271
1271
  }
1272
- sbb-form-field[size=s] :where(input, sbb-date-input, sbb-time-input) {
1272
+ :is(sbb-form-field, sbb-timetable-form-field)[size=s] :where(input, sbb-date-input, sbb-time-input) {
1273
1273
  height: calc(var(--sbb-form-field-input-text-size) * 1.25);
1274
1274
  line-height: 1 !important;
1275
1275
  margin-block: calc(0.5 * var(--sbb-form-field-input-text-size) * (var(--sbb-typo-line-height-body-text) - 1.25));
1276
1276
  }
1277
- sbb-form-field :where(textarea) {
1277
+ :is(sbb-form-field, sbb-timetable-form-field) :where(textarea) {
1278
1278
  --sbb-scrollbar-thumb-width: 0.125rem;
1279
1279
  --sbb-scrollbar-thumb-width-hover: 0.25rem;
1280
1280
  --sbb-scrollbar-width-firefox: thin;
@@ -1283,44 +1283,44 @@ sbb-form-field :where(textarea) {
1283
1283
  --sbb-scrollbar-track-color: transparent;
1284
1284
  --sbb-scrollbar-width: var(--sbb-spacing-fixed-3x);
1285
1285
  }
1286
- sbb-form-field :where(textarea)::-webkit-scrollbar {
1286
+ :is(sbb-form-field, sbb-timetable-form-field) :where(textarea)::-webkit-scrollbar {
1287
1287
  width: var(--sbb-scrollbar-width);
1288
1288
  height: var(--sbb-scrollbar-width);
1289
1289
  background-color: var(--sbb-scrollbar-track-color, transparent);
1290
1290
  }
1291
- sbb-form-field :where(textarea)::-webkit-scrollbar-corner {
1291
+ :is(sbb-form-field, sbb-timetable-form-field) :where(textarea)::-webkit-scrollbar-corner {
1292
1292
  background-color: var(--sbb-scrollbar-track-color, transparent);
1293
1293
  }
1294
- sbb-form-field :where(textarea)::-webkit-scrollbar-thumb {
1294
+ :is(sbb-form-field, sbb-timetable-form-field) :where(textarea)::-webkit-scrollbar-thumb {
1295
1295
  background-color: var(--sbb-scrollbar-color, currentcolor);
1296
1296
  border: calc(0.5 * (var(--sbb-scrollbar-width) - var(--sbb-scrollbar-thumb-width))) solid transparent;
1297
1297
  border-radius: var(--sbb-border-radius-4x);
1298
1298
  background-clip: padding-box;
1299
1299
  }
1300
- sbb-form-field :where(textarea)::-webkit-scrollbar-thumb:hover {
1300
+ :is(sbb-form-field, sbb-timetable-form-field) :where(textarea)::-webkit-scrollbar-thumb:hover {
1301
1301
  background-color: var(--sbb-scrollbar-color-hover, currentcolor);
1302
1302
  border-width: calc(0.5 * (var(--sbb-scrollbar-width) - var(--sbb-scrollbar-thumb-width-hover)));
1303
1303
  }
1304
- sbb-form-field :where(textarea)::-webkit-scrollbar-button, sbb-form-field :where(textarea)::-webkit-scrollbar-corner {
1304
+ :is(sbb-form-field, sbb-timetable-form-field) :where(textarea)::-webkit-scrollbar-button, :is(sbb-form-field, sbb-timetable-form-field) :where(textarea)::-webkit-scrollbar-corner {
1305
1305
  display: none;
1306
1306
  }
1307
1307
  @supports not selector(::-webkit-scrollbar) {
1308
- sbb-form-field :where(textarea) {
1308
+ :is(sbb-form-field, sbb-timetable-form-field) :where(textarea) {
1309
1309
  scrollbar-width: var(--sbb-scrollbar-width-firefox);
1310
1310
  scrollbar-color: var(--sbb-scrollbar-color, currentcolor) var(--sbb-scrollbar-track-color, transparent);
1311
1311
  }
1312
1312
  }
1313
- sbb-form-field :where(textarea) {
1313
+ :is(sbb-form-field, sbb-timetable-form-field) :where(textarea) {
1314
1314
  position: relative;
1315
1315
  resize: none;
1316
1316
  white-space: break-spaces;
1317
1317
  overflow-y: auto;
1318
1318
  min-height: calc(var(--sbb-typo-line-height-body-text) * 1em);
1319
1319
  }
1320
- sbb-form-field[size=l] :where(textarea) {
1320
+ :is(sbb-form-field, sbb-timetable-form-field)[size=l] :where(textarea) {
1321
1321
  padding-block-end: 0.34375rem;
1322
1322
  }
1323
- sbb-form-field[negative] :where(textarea) {
1323
+ :is(sbb-form-field, sbb-timetable-form-field)[negative] :where(textarea) {
1324
1324
  --sbb-scrollbar-thumb-width: 0.125rem;
1325
1325
  --sbb-scrollbar-thumb-width-hover: 0.25rem;
1326
1326
  --sbb-scrollbar-width-firefox: thin;
@@ -1329,52 +1329,52 @@ sbb-form-field[negative] :where(textarea) {
1329
1329
  --sbb-scrollbar-track-color: transparent;
1330
1330
  --sbb-scrollbar-width: var(--sbb-spacing-fixed-3x);
1331
1331
  }
1332
- sbb-form-field[negative] :where(textarea)::-webkit-scrollbar {
1332
+ :is(sbb-form-field, sbb-timetable-form-field)[negative] :where(textarea)::-webkit-scrollbar {
1333
1333
  width: var(--sbb-scrollbar-width);
1334
1334
  height: var(--sbb-scrollbar-width);
1335
1335
  background-color: var(--sbb-scrollbar-track-color, transparent);
1336
1336
  }
1337
- sbb-form-field[negative] :where(textarea)::-webkit-scrollbar-corner {
1337
+ :is(sbb-form-field, sbb-timetable-form-field)[negative] :where(textarea)::-webkit-scrollbar-corner {
1338
1338
  background-color: var(--sbb-scrollbar-track-color, transparent);
1339
1339
  }
1340
- sbb-form-field[negative] :where(textarea)::-webkit-scrollbar-thumb {
1340
+ :is(sbb-form-field, sbb-timetable-form-field)[negative] :where(textarea)::-webkit-scrollbar-thumb {
1341
1341
  background-color: var(--sbb-scrollbar-color, currentcolor);
1342
1342
  border: calc(0.5 * (var(--sbb-scrollbar-width) - var(--sbb-scrollbar-thumb-width))) solid transparent;
1343
1343
  border-radius: var(--sbb-border-radius-4x);
1344
1344
  background-clip: padding-box;
1345
1345
  }
1346
- sbb-form-field[negative] :where(textarea)::-webkit-scrollbar-thumb:hover {
1346
+ :is(sbb-form-field, sbb-timetable-form-field)[negative] :where(textarea)::-webkit-scrollbar-thumb:hover {
1347
1347
  background-color: var(--sbb-scrollbar-color-hover, currentcolor);
1348
1348
  border-width: calc(0.5 * (var(--sbb-scrollbar-width) - var(--sbb-scrollbar-thumb-width-hover)));
1349
1349
  }
1350
- sbb-form-field[negative] :where(textarea)::-webkit-scrollbar-button, sbb-form-field[negative] :where(textarea)::-webkit-scrollbar-corner {
1350
+ :is(sbb-form-field, sbb-timetable-form-field)[negative] :where(textarea)::-webkit-scrollbar-button, :is(sbb-form-field, sbb-timetable-form-field)[negative] :where(textarea)::-webkit-scrollbar-corner {
1351
1351
  display: none;
1352
1352
  }
1353
1353
  @supports not selector(::-webkit-scrollbar) {
1354
- sbb-form-field[negative] :where(textarea) {
1354
+ :is(sbb-form-field, sbb-timetable-form-field)[negative] :where(textarea) {
1355
1355
  scrollbar-width: var(--sbb-scrollbar-width-firefox);
1356
1356
  scrollbar-color: var(--sbb-scrollbar-color, currentcolor) var(--sbb-scrollbar-track-color, transparent);
1357
1357
  }
1358
1358
  }
1359
- sbb-form-field:has(:is(:is(input, textarea, select):user-invalid,
1359
+ :is(sbb-form-field, sbb-timetable-form-field):has(:is(:is(input, textarea, select):user-invalid,
1360
1360
  :is(:state(interacted),[state--interacted]):invalid,
1361
1361
  .ng-touched.ng-invalid,
1362
- .sbb-invalid)), :is(.ng-submitted, .sbb-show-errors) sbb-form-field:has(:is(:invalid, .ng-invalid)) {
1362
+ .sbb-invalid)), :is(.ng-submitted, .sbb-show-errors) :is(sbb-form-field, sbb-timetable-form-field):has(:is(:invalid, .ng-invalid)) {
1363
1363
  --sbb-form-field-border-color: var(--sbb-color-red125);
1364
1364
  --sbb-form-field-text-color: var(--sbb-color-red125);
1365
1365
  }
1366
- sbb-form-field:has(:is(:is(input, textarea, select):user-invalid,
1366
+ :is(sbb-form-field, sbb-timetable-form-field):has(:is(:is(input, textarea, select):user-invalid,
1367
1367
  :is(:state(interacted),[state--interacted]):invalid,
1368
1368
  .ng-touched.ng-invalid,
1369
- .sbb-invalid))[negative], :is(.ng-submitted, .sbb-show-errors) sbb-form-field:has(:is(:invalid, .ng-invalid))[negative] {
1369
+ .sbb-invalid))[negative], :is(.ng-submitted, .sbb-show-errors) :is(sbb-form-field, sbb-timetable-form-field):has(:is(:invalid, .ng-invalid))[negative] {
1370
1370
  --sbb-form-field-border-color: var(--sbb-color-red-mode-dark);
1371
1371
  --sbb-form-field-text-color: var(--sbb-color-red-mode-dark);
1372
1372
  }
1373
1373
  @media (forced-colors: active) {
1374
- sbb-form-field:has(:is(:is(input, textarea, select):user-invalid,
1374
+ :is(sbb-form-field, sbb-timetable-form-field):has(:is(:is(input, textarea, select):user-invalid,
1375
1375
  :is(:state(interacted),[state--interacted]):invalid,
1376
1376
  .ng-touched.ng-invalid,
1377
- .sbb-invalid)), :is(.ng-submitted, .sbb-show-errors) sbb-form-field:has(:is(:invalid, .ng-invalid)) {
1377
+ .sbb-invalid)), :is(.ng-submitted, .sbb-show-errors) :is(sbb-form-field, sbb-timetable-form-field):has(:is(:invalid, .ng-invalid)) {
1378
1378
  --sbb-form-field-border-color: LinkText !important;
1379
1379
  --sbb-form-field-text-color: LinkText !important;
1380
1380
  }