@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.
- package/calendar/calendar/calendar.component.js +1 -1
- package/calendar/calendar-day/calendar-day.component.js +1 -1
- package/calendar/calendar-day.js +1 -1
- package/calendar/calendar-month/calendar-month.component.js +84 -0
- package/calendar/calendar-month.js +4 -0
- package/calendar/calendar-weekday/calendar-weekday.component.js +54 -0
- package/calendar/calendar-weekday.js +4 -0
- package/calendar/calendar-weeknumber/calendar-weeknumber.component.js +56 -0
- package/calendar/calendar-weeknumber.js +4 -0
- package/calendar/calendar-year/calendar-year.component.js +80 -0
- package/calendar/calendar-year.js +4 -0
- package/calendar/calendar.js +1 -1
- package/calendar/common/calendar-cell-base-element.js +23 -0
- package/calendar/common.js +6 -0
- package/calendar-day.component-Iewo-vBR.js +109 -0
- package/{calendar.component-BgZDy-rX.js → calendar.component-Cz-OGQu6.js} +140 -224
- package/calendar.js +8 -4
- package/calendar.pure.js +7 -3
- package/carousel/carousel/carousel.component.js +1 -1
- package/carousel/carousel.js +1 -1
- package/carousel.js +1 -1
- package/carousel.pure.js +1 -1
- package/core/styles/core.scss +8 -0
- package/core.css +40 -0
- package/custom-elements.json +4304 -406
- package/development/calendar/calendar/calendar.component.d.ts +7 -9
- package/development/calendar/calendar/calendar.component.d.ts.map +1 -1
- package/development/calendar/calendar/calendar.component.js +1 -1
- package/development/calendar/calendar-day/calendar-day.component.d.ts +7 -21
- package/development/calendar/calendar-day/calendar-day.component.d.ts.map +1 -1
- package/development/calendar/calendar-day/calendar-day.component.js +1 -1
- package/development/calendar/calendar-day.js +1 -1
- package/development/calendar/calendar-month/calendar-month.component.d.ts +33 -0
- package/development/calendar/calendar-month/calendar-month.component.d.ts.map +1 -0
- package/development/calendar/calendar-month/calendar-month.component.js +112 -0
- package/development/calendar/calendar-month.d.ts +2 -0
- package/development/calendar/calendar-month.d.ts.map +1 -0
- package/development/calendar/calendar-month.js +10 -0
- package/development/calendar/calendar-weekday/calendar-weekday.component.d.ts +23 -0
- package/development/calendar/calendar-weekday/calendar-weekday.component.d.ts.map +1 -0
- package/development/calendar/calendar-weekday/calendar-weekday.component.js +67 -0
- package/development/calendar/calendar-weekday.d.ts +2 -0
- package/development/calendar/calendar-weekday.d.ts.map +1 -0
- package/development/calendar/calendar-weekday.js +10 -0
- package/development/calendar/calendar-weeknumber/calendar-weeknumber.component.d.ts +23 -0
- package/development/calendar/calendar-weeknumber/calendar-weeknumber.component.d.ts.map +1 -0
- package/development/calendar/calendar-weeknumber/calendar-weeknumber.component.js +70 -0
- package/development/calendar/calendar-weeknumber.d.ts +2 -0
- package/development/calendar/calendar-weeknumber.d.ts.map +1 -0
- package/development/calendar/calendar-weeknumber.js +10 -0
- package/development/calendar/calendar-year/calendar-year.component.d.ts +28 -0
- package/development/calendar/calendar-year/calendar-year.component.d.ts.map +1 -0
- package/development/calendar/calendar-year/calendar-year.component.js +103 -0
- package/development/calendar/calendar-year.d.ts +2 -0
- package/development/calendar/calendar-year.d.ts.map +1 -0
- package/development/calendar/calendar-year.js +10 -0
- package/development/calendar/calendar.js +1 -1
- package/development/calendar/common/calendar-cell-base-element.d.ts +24 -0
- package/development/calendar/common/calendar-cell-base-element.d.ts.map +1 -0
- package/development/calendar/common/calendar-cell-base-element.js +35 -0
- package/development/calendar/common.d.ts +3 -0
- package/development/calendar/common.d.ts.map +1 -0
- package/development/calendar/common.js +120 -0
- package/development/calendar-day.component-Brz0Wyai.js +178 -0
- package/development/calendar.component-0Pl7qEXL.js +2222 -0
- package/development/calendar.d.ts.map +1 -1
- package/development/calendar.js +12 -4
- package/development/calendar.pure.d.ts +4 -0
- package/development/calendar.pure.d.ts.map +1 -1
- package/development/calendar.pure.js +7 -3
- package/development/carousel/carousel/carousel.component.js +1 -1
- package/development/carousel/carousel.js +1 -1
- package/development/{carousel.component-b4C-hxkj.js → carousel.component-Cs0gWroH.js} +2 -2
- package/development/carousel.js +1 -1
- package/development/carousel.pure.js +1 -1
- package/development/mini-calendar/mini-calendar/mini-calendar.component.js +1 -1
- package/development/mini-calendar/mini-calendar-day/mini-calendar-day.component.js +1 -1
- package/development/mini-calendar/mini-calendar-day.js +1 -1
- package/development/mini-calendar/mini-calendar-month/mini-calendar-month.component.js +1 -1
- package/development/mini-calendar/mini-calendar-month.js +1 -1
- package/development/mini-calendar/mini-calendar.js +1 -1
- package/development/{mini-calendar-day.component-DLP7Pa6R.js → mini-calendar-day.component-DdjlUG0k.js} +2 -2
- package/development/{mini-calendar-month.component-C1jsGlJ2.js → mini-calendar-month.component-BjxmoYz6.js} +2 -2
- package/development/{mini-calendar.component-BzqjMchx.js → mini-calendar.component-B38J84Gg.js} +2 -2
- package/development/mini-calendar.js +3 -3
- package/development/mini-calendar.pure.js +3 -3
- package/development/popover/popover.component.d.ts.map +1 -1
- package/development/popover/popover.component.js +1 -1
- package/development/{popover.component-BpYi6btR.js → popover.component-BujfGgbD.js} +5 -4
- package/development/popover.js +1 -1
- package/development/popover.pure.js +1 -1
- package/index.d.ts +5 -1
- package/index.js +5 -1
- package/mini-calendar/mini-calendar/mini-calendar.component.js +1 -1
- package/mini-calendar/mini-calendar-day/mini-calendar-day.component.js +1 -1
- package/mini-calendar/mini-calendar-day.js +1 -1
- package/mini-calendar/mini-calendar-month/mini-calendar-month.component.js +1 -1
- package/mini-calendar/mini-calendar-month.js +1 -1
- package/mini-calendar/mini-calendar.js +1 -1
- package/{mini-calendar.component-DpPMb47Y.js → mini-calendar.component-_YJbFi4P.js} +4 -4
- package/mini-calendar.js +3 -3
- package/mini-calendar.pure.js +3 -3
- package/off-brand-theme.css +40 -0
- package/package.json +27 -2
- package/popover/popover.component.js +1 -1
- package/{popover.component-D_nJwaqJ.js → popover.component-CktV5oiV.js} +3 -2
- package/popover.js +1 -1
- package/popover.pure.js +1 -1
- package/safety-theme.css +40 -0
- package/standard-theme.css +40 -0
- package/calendar-day.component-DqAXvoP3.js +0 -113
- package/development/calendar-day.component-De9Xn3-q.js +0 -283
- package/development/calendar.component-PHpgLc0z.js +0 -2458
- package/{carousel.component-Bd0iGUbf.js → carousel.component-BA0V2JHI.js} +1 -1
- package/{mini-calendar-day.component-cAawa9Gr.js → mini-calendar-day.component-D5HlCTH0.js} +1 -1
- 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-
|
|
2
|
-
import {
|
|
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
|
-
|
|
8
|
+
o.define(), e.define(), t.define(), n.define(), r.define(), i.define();
|
|
5
9
|
//#endregion
|
|
6
|
-
export { e as SbbCalendarDayElement,
|
|
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-
|
|
2
|
-
import {
|
|
3
|
-
|
|
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-
|
|
1
|
+
import { t as e } from "../../carousel.component-BA0V2JHI.js";
|
|
2
2
|
export { e as SbbCarouselElement };
|
package/carousel/carousel.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "../carousel.component-
|
|
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-
|
|
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-
|
|
3
|
+
import { t as n } from "./carousel.component-BA0V2JHI.js";
|
|
4
4
|
export { n as SbbCarouselElement, e as SbbCarouselItemElement, t as SbbCarouselListElement };
|
package/core/styles/core.scss
CHANGED
|
@@ -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);
|