@sbb-esta/lyne-elements-dev 4.7.0-dev.1773737285 → 4.7.0-dev.1773743095

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 (116) hide show
  1. package/calendar/calendar/calendar.component.js +1 -1
  2. package/calendar/calendar-day/calendar-day.component.js +1 -1
  3. package/calendar/calendar-day.js +1 -1
  4. package/calendar/calendar-month/calendar-month.component.js +84 -0
  5. package/calendar/calendar-month.js +4 -0
  6. package/calendar/calendar-weekday/calendar-weekday.component.js +54 -0
  7. package/calendar/calendar-weekday.js +4 -0
  8. package/calendar/calendar-weeknumber/calendar-weeknumber.component.js +56 -0
  9. package/calendar/calendar-weeknumber.js +4 -0
  10. package/calendar/calendar-year/calendar-year.component.js +80 -0
  11. package/calendar/calendar-year.js +4 -0
  12. package/calendar/calendar.js +1 -1
  13. package/calendar/common/calendar-cell-base-element.js +23 -0
  14. package/calendar/common.js +6 -0
  15. package/calendar-day.component-Iewo-vBR.js +109 -0
  16. package/{calendar.component-BgZDy-rX.js → calendar.component-Cz-OGQu6.js} +140 -224
  17. package/calendar.js +8 -4
  18. package/calendar.pure.js +7 -3
  19. package/carousel/carousel/carousel.component.js +1 -1
  20. package/carousel/carousel.js +1 -1
  21. package/carousel.js +1 -1
  22. package/carousel.pure.js +1 -1
  23. package/core/styles/core.scss +8 -0
  24. package/core.css +40 -0
  25. package/custom-elements.json +4304 -406
  26. package/development/calendar/calendar/calendar.component.d.ts +7 -9
  27. package/development/calendar/calendar/calendar.component.d.ts.map +1 -1
  28. package/development/calendar/calendar/calendar.component.js +1 -1
  29. package/development/calendar/calendar-day/calendar-day.component.d.ts +7 -21
  30. package/development/calendar/calendar-day/calendar-day.component.d.ts.map +1 -1
  31. package/development/calendar/calendar-day/calendar-day.component.js +1 -1
  32. package/development/calendar/calendar-day.js +1 -1
  33. package/development/calendar/calendar-month/calendar-month.component.d.ts +33 -0
  34. package/development/calendar/calendar-month/calendar-month.component.d.ts.map +1 -0
  35. package/development/calendar/calendar-month/calendar-month.component.js +112 -0
  36. package/development/calendar/calendar-month.d.ts +2 -0
  37. package/development/calendar/calendar-month.d.ts.map +1 -0
  38. package/development/calendar/calendar-month.js +10 -0
  39. package/development/calendar/calendar-weekday/calendar-weekday.component.d.ts +23 -0
  40. package/development/calendar/calendar-weekday/calendar-weekday.component.d.ts.map +1 -0
  41. package/development/calendar/calendar-weekday/calendar-weekday.component.js +67 -0
  42. package/development/calendar/calendar-weekday.d.ts +2 -0
  43. package/development/calendar/calendar-weekday.d.ts.map +1 -0
  44. package/development/calendar/calendar-weekday.js +10 -0
  45. package/development/calendar/calendar-weeknumber/calendar-weeknumber.component.d.ts +23 -0
  46. package/development/calendar/calendar-weeknumber/calendar-weeknumber.component.d.ts.map +1 -0
  47. package/development/calendar/calendar-weeknumber/calendar-weeknumber.component.js +70 -0
  48. package/development/calendar/calendar-weeknumber.d.ts +2 -0
  49. package/development/calendar/calendar-weeknumber.d.ts.map +1 -0
  50. package/development/calendar/calendar-weeknumber.js +10 -0
  51. package/development/calendar/calendar-year/calendar-year.component.d.ts +28 -0
  52. package/development/calendar/calendar-year/calendar-year.component.d.ts.map +1 -0
  53. package/development/calendar/calendar-year/calendar-year.component.js +103 -0
  54. package/development/calendar/calendar-year.d.ts +2 -0
  55. package/development/calendar/calendar-year.d.ts.map +1 -0
  56. package/development/calendar/calendar-year.js +10 -0
  57. package/development/calendar/calendar.js +1 -1
  58. package/development/calendar/common/calendar-cell-base-element.d.ts +24 -0
  59. package/development/calendar/common/calendar-cell-base-element.d.ts.map +1 -0
  60. package/development/calendar/common/calendar-cell-base-element.js +35 -0
  61. package/development/calendar/common.d.ts +3 -0
  62. package/development/calendar/common.d.ts.map +1 -0
  63. package/development/calendar/common.js +120 -0
  64. package/development/calendar-day.component-Brz0Wyai.js +178 -0
  65. package/development/calendar.component-0Pl7qEXL.js +2222 -0
  66. package/development/calendar.d.ts.map +1 -1
  67. package/development/calendar.js +12 -4
  68. package/development/calendar.pure.d.ts +4 -0
  69. package/development/calendar.pure.d.ts.map +1 -1
  70. package/development/calendar.pure.js +7 -3
  71. package/development/carousel/carousel/carousel.component.js +1 -1
  72. package/development/carousel/carousel.js +1 -1
  73. package/development/{carousel.component-b4C-hxkj.js → carousel.component-Cs0gWroH.js} +2 -2
  74. package/development/carousel.js +1 -1
  75. package/development/carousel.pure.js +1 -1
  76. package/development/mini-calendar/mini-calendar/mini-calendar.component.js +1 -1
  77. package/development/mini-calendar/mini-calendar-day/mini-calendar-day.component.js +1 -1
  78. package/development/mini-calendar/mini-calendar-day.js +1 -1
  79. package/development/mini-calendar/mini-calendar-month/mini-calendar-month.component.js +1 -1
  80. package/development/mini-calendar/mini-calendar-month.js +1 -1
  81. package/development/mini-calendar/mini-calendar.js +1 -1
  82. package/development/{mini-calendar-day.component-DLP7Pa6R.js → mini-calendar-day.component-DdjlUG0k.js} +2 -2
  83. package/development/{mini-calendar-month.component-C1jsGlJ2.js → mini-calendar-month.component-BjxmoYz6.js} +2 -2
  84. package/development/{mini-calendar.component-BzqjMchx.js → mini-calendar.component-B38J84Gg.js} +2 -2
  85. package/development/mini-calendar.js +3 -3
  86. package/development/mini-calendar.pure.js +3 -3
  87. package/development/popover/popover.component.d.ts.map +1 -1
  88. package/development/popover/popover.component.js +1 -1
  89. package/development/{popover.component-BpYi6btR.js → popover.component-BujfGgbD.js} +5 -4
  90. package/development/popover.js +1 -1
  91. package/development/popover.pure.js +1 -1
  92. package/index.d.ts +5 -1
  93. package/index.js +5 -1
  94. package/mini-calendar/mini-calendar/mini-calendar.component.js +1 -1
  95. package/mini-calendar/mini-calendar-day/mini-calendar-day.component.js +1 -1
  96. package/mini-calendar/mini-calendar-day.js +1 -1
  97. package/mini-calendar/mini-calendar-month/mini-calendar-month.component.js +1 -1
  98. package/mini-calendar/mini-calendar-month.js +1 -1
  99. package/mini-calendar/mini-calendar.js +1 -1
  100. package/{mini-calendar.component-DpPMb47Y.js → mini-calendar.component-_YJbFi4P.js} +4 -4
  101. package/mini-calendar.js +3 -3
  102. package/mini-calendar.pure.js +3 -3
  103. package/off-brand-theme.css +40 -0
  104. package/package.json +27 -2
  105. package/popover/popover.component.js +1 -1
  106. package/{popover.component-D_nJwaqJ.js → popover.component-CktV5oiV.js} +3 -2
  107. package/popover.js +1 -1
  108. package/popover.pure.js +1 -1
  109. package/safety-theme.css +40 -0
  110. package/standard-theme.css +40 -0
  111. package/calendar-day.component-DqAXvoP3.js +0 -113
  112. package/development/calendar-day.component-De9Xn3-q.js +0 -283
  113. package/development/calendar.component-PHpgLc0z.js +0 -2458
  114. package/{carousel.component-Bd0iGUbf.js → carousel.component-BA0V2JHI.js} +1 -1
  115. package/{mini-calendar-day.component-cAawa9Gr.js → mini-calendar-day.component-D5HlCTH0.js} +1 -1
  116. package/{mini-calendar-month.component-DiYSVb-Y.js → mini-calendar-month.component-CGAOxDtz.js} +1 -1
package/calendar.js CHANGED
@@ -1,6 +1,10 @@
1
- import { t as e } from "./calendar-day.component-DqAXvoP3.js";
2
- import { n as t, t as n } from "./calendar.component-BgZDy-rX.js";
1
+ import { t as e } from "./calendar-day.component-Iewo-vBR.js";
2
+ import { SbbCalendarMonthElement as t } from "./calendar/calendar-month/calendar-month.component.js";
3
+ import { SbbCalendarYearElement as n } from "./calendar/calendar-year/calendar-year.component.js";
4
+ import { SbbCalendarWeekdayElement as r } from "./calendar/calendar-weekday/calendar-weekday.component.js";
5
+ import { SbbCalendarWeeknumberElement as i } from "./calendar/calendar-weeknumber/calendar-weeknumber.component.js";
6
+ import { n as a, t as o } from "./calendar.component-Cz-OGQu6.js";
3
7
  import "./calendar.pure.js";
4
- n.define(), e.define();
8
+ o.define(), e.define(), t.define(), n.define(), r.define(), i.define();
5
9
  //#endregion
6
- export { e as SbbCalendarDayElement, n as SbbCalendarElement, t as SbbMonthChangeEvent };
10
+ export { e as SbbCalendarDayElement, o as SbbCalendarElement, t as SbbCalendarMonthElement, r as SbbCalendarWeekdayElement, i as SbbCalendarWeeknumberElement, n as SbbCalendarYearElement, a as SbbMonthChangeEvent };
package/calendar.pure.js CHANGED
@@ -1,3 +1,7 @@
1
- import { t as e } from "./calendar-day.component-DqAXvoP3.js";
2
- import { n as t, t as n } from "./calendar.component-BgZDy-rX.js";
3
- export { e as SbbCalendarDayElement, n as SbbCalendarElement, t as SbbMonthChangeEvent };
1
+ import { t as e } from "./calendar-day.component-Iewo-vBR.js";
2
+ import { SbbCalendarMonthElement as t } from "./calendar/calendar-month/calendar-month.component.js";
3
+ import { SbbCalendarYearElement as n } from "./calendar/calendar-year/calendar-year.component.js";
4
+ import { SbbCalendarWeekdayElement as r } from "./calendar/calendar-weekday/calendar-weekday.component.js";
5
+ import { SbbCalendarWeeknumberElement as i } from "./calendar/calendar-weeknumber/calendar-weeknumber.component.js";
6
+ import { n as a, t as o } from "./calendar.component-Cz-OGQu6.js";
7
+ export { e as SbbCalendarDayElement, o as SbbCalendarElement, t as SbbCalendarMonthElement, r as SbbCalendarWeekdayElement, i as SbbCalendarWeeknumberElement, n as SbbCalendarYearElement, a as SbbMonthChangeEvent };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../carousel.component-Bd0iGUbf.js";
1
+ import { t as e } from "../../carousel.component-BA0V2JHI.js";
2
2
  export { e as SbbCarouselElement };
@@ -1,4 +1,4 @@
1
- import { t as e } from "../carousel.component-Bd0iGUbf.js";
1
+ import { t as e } from "../carousel.component-BA0V2JHI.js";
2
2
  e.define(), console.warn("The entrypoint '@sbb-esta/elements/carousel/carousel.js' has been deprecated.\nUse either '@sbb-esta/elements/carousel.js' or '@sbb-esta/elements/carousel.pure.js' instead.");
3
3
  //#endregion
4
4
  export { e as SbbCarouselElement };
package/carousel.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./carousel-item.component-kv3rY8B-.js";
2
2
  import { t } from "./carousel-list.component-DMMk66SP.js";
3
- import { t as n } from "./carousel.component-Bd0iGUbf.js";
3
+ import { t as n } from "./carousel.component-BA0V2JHI.js";
4
4
  import "./carousel.pure.js";
5
5
  n.define(), e.define(), t.define();
6
6
  //#endregion
package/carousel.pure.js CHANGED
@@ -1,4 +1,4 @@
1
1
  import { t as e } from "./carousel-item.component-kv3rY8B-.js";
2
2
  import { t } from "./carousel-list.component-DMMk66SP.js";
3
- import { t as n } from "./carousel.component-Bd0iGUbf.js";
3
+ import { t as n } from "./carousel.component-BA0V2JHI.js";
4
4
  export { n as SbbCarouselElement, e as SbbCarouselItemElement, t as SbbCarouselListElement };
@@ -30,6 +30,12 @@ $theme: 'standard' !default;
30
30
  @use '../../button/mini-button-group/mini-button-group.global' as mini-button-group with (
31
31
  $theme: $theme
32
32
  );
33
+ @use '../../calendar/calendar/calendar.global' as calendar with (
34
+ $theme: $theme
35
+ );
36
+ @use '../../calendar/common/calendar-cell-base-element.global' as calendar-cell with (
37
+ $theme: $theme
38
+ );
33
39
  @use '../../card/card/card.global' as card with (
34
40
  $theme: $theme
35
41
  );
@@ -204,6 +210,8 @@ $theme: 'standard' !default;
204
210
  @include button.base;
205
211
  @include mini-button.base;
206
212
  @include mini-button-group.base;
213
+ @include calendar.base;
214
+ @include calendar-cell.base;
207
215
  @include card.base;
208
216
  @include card-badge.base;
209
217
  @include carousel.base;
package/core.css CHANGED
@@ -1314,6 +1314,46 @@
1314
1314
  --sbb-mini-button-group-padding-inline: var(--sbb-spacing-fixed-3x);
1315
1315
  --sbb-mini-button-group-divider-height: var(--sbb-size-icon-ui-small);
1316
1316
  --sbb-mini-button-group-divider-padding: var(--sbb-spacing-fixed-1x);
1317
+ --sbb-calendar-cell-background-color: transparent;
1318
+ --sbb-calendar-cell-background-color-hover: var(--sbb-background-color-3);
1319
+ --sbb-calendar-cell-background-color-active: var(--sbb-background-color-4);
1320
+ --sbb-calendar-cell-padding: 0.125rem;
1321
+ --sbb-calendar-cell-border-width: var(--sbb-border-width-2x);
1322
+ --sbb-calendar-cell-disabled-height: 0.09375rem;
1323
+ --sbb-calendar-cell-disabled-width: 1.59375rem;
1324
+ --sbb-calendar-cell-disabled-color: var(--sbb-color-granite);
1325
+ --sbb-calendar-cell-disabled-color: light-dark(var(--sbb-color-granite), var(--sbb-color-smoke));
1326
+ --sbb-calendar-cell-transition-easing-function: var(--sbb-animation-easing);
1327
+ --sbb-calendar-control-gap: var(--sbb-spacing-fixed-2x);
1328
+ --sbb-calendar-control-margin-block-end: var(--sbb-spacing-fixed-4x);
1329
+ --sbb-calendar-control-view-change-height: 2.75rem;
1330
+ --sbb-calendar-control-view-change-color: var(--sbb-color-3);
1331
+ --sbb-calendar-control-view-change-background: var(--sbb-background-color-1);
1332
+ --sbb-calendar-control-view-change-padding-inline: var(--sbb-spacing-fixed-5x)
1333
+ var(--sbb-spacing-fixed-2x);
1334
+ --sbb-calendar-header-color: var(--sbb-color-granite);
1335
+ --sbb-calendar-header-color: light-dark(var(--sbb-color-granite), var(--sbb-color-smoke));
1336
+ --sbb-calendar-table-animation-shift: 0.00625rem;
1337
+ --sbb-calendar-table-column-spaces: 12;
1338
+ --sbb-calendar-tables-gap: var(--sbb-spacing-fixed-10x);
1339
+ --sbb-calendar-table-animation-duration: 0.1ms;
1340
+ --sbb-calendar-cell-border: var(--sbb-calendar-cell-border-width) solid
1341
+ var(--sbb-border-color-1-inverted);
1342
+ --sbb-calendar-cell-color: var(--sbb-color-2);
1343
+ --sbb-calendar-cell-cursor: var(--sbb-cursor-pointer);
1344
+ --sbb-calendar-cell-justify-content: normal;
1345
+ --sbb-calendar-cell-inset: 0.0625rem;
1346
+ --sbb-calendar-cell-font-size: var(--sbb-text-font-size-s);
1347
+ --sbb-calendar-cell-font-weight: unset;
1348
+ --sbb-calendar-cell-transition-easing-function: var(--sbb-animation-easing);
1349
+ --sbb-calendar-cell-year-month-width: 4.8125rem;
1350
+ --sbb-calendar-cell-year-month-height: 2.75rem;
1351
+ --sbb-calendar-day-width: 2.75rem;
1352
+ --sbb-calendar-day-height: 3rem;
1353
+ --sbb-calendar-day-extra-display: block;
1354
+ --sbb-calendar-day-extra-height: var(--sbb-spacing-fixed-4x);
1355
+ --sbb-calendar-day-crossed-out-top: 33%;
1356
+ --sbb-calendar-day-crossed-out-translate: translate(-50%, -33%) rotate(-45deg);
1317
1357
  --sbb-card-background-color: var(--sbb-background-color-1);
1318
1358
  --sbb-card-border-color: transparent;
1319
1359
  --sbb-card-border-radius: var(--sbb-border-radius-4x);