@sbb-esta/lyne-elements-dev 5.14.0-dev.1795700814 → 5.14.0-dev.1795700861
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.js +1 -1
- package/calendar.pure.js +98 -128
- package/core.js +13 -13
- package/custom-elements.json +1821 -398
- package/development/calendar/calendar/calendar.component.d.ts +55 -21
- package/development/calendar/calendar-select-all/calendar-select-all.component.d.ts +18 -0
- package/development/calendar/calendar-weeknumber/calendar-weeknumber.component.d.ts +0 -1
- package/development/calendar/common/calendar-cell-base-element.d.ts +2 -2
- package/development/calendar.js +2 -1
- package/development/calendar.pure.d.ts +1 -0
- package/development/calendar.pure.js +304 -354
- package/development/core/datetime/date-adapter.d.ts +10 -0
- package/development/core/datetime/temporal-date-adapter.d.ts +5 -0
- package/development/core/i18n/i18n.d.ts +7 -0
- package/development/core.js +91 -1
- package/index.d.ts +2 -1
- package/index.js +2 -1
- package/package.json +2 -2
|
@@ -155,6 +155,16 @@ export declare abstract class DateAdapter<T = any> {
|
|
|
155
155
|
* Calculates the day of the week of the first day of the month, and then its offset from the first day of the week.
|
|
156
156
|
*/
|
|
157
157
|
getFirstWeekOffset(date: T): number;
|
|
158
|
+
/**
|
|
159
|
+
* Gets the ISO 8601 week number and week-numbering year of the given date.
|
|
160
|
+
* Weeks start on Monday and belong to the year of their Thursday,
|
|
161
|
+
* e.g. 2025-12-29 is in week 1 of 2026 and 2027-01-01 is in week 53 of 2026.
|
|
162
|
+
* @param date The date to get the week of.
|
|
163
|
+
*/
|
|
164
|
+
getIsoWeek(date: T): {
|
|
165
|
+
week: number;
|
|
166
|
+
year: number;
|
|
167
|
+
};
|
|
158
168
|
/**
|
|
159
169
|
* Compares two dates.
|
|
160
170
|
* @param first The first date to compare.
|
|
@@ -33,6 +33,11 @@ export declare class TemporalDateAdapter extends DateAdapter<Temporal.PlainDate>
|
|
|
33
33
|
getDayOfWeekNames(style: 'long' | 'short' | 'narrow'): string[];
|
|
34
34
|
/** Defines which is the first day of the week (0: sunday; 1: monday; etc.). */
|
|
35
35
|
getFirstDayOfWeek(): number;
|
|
36
|
+
/** Gets the ISO 8601 week number and week-numbering year of the given date. */
|
|
37
|
+
getIsoWeek(date: Temporal.PlainDate): {
|
|
38
|
+
week: number;
|
|
39
|
+
year: number;
|
|
40
|
+
};
|
|
36
41
|
/** Calculates the number of days in a month given the year and the month. */
|
|
37
42
|
getNumDaysInMonth(date: Temporal.PlainDate): number;
|
|
38
43
|
/** Creates today's date. */
|
|
@@ -97,6 +97,13 @@ export declare const i18nTimeMaxLength: Record<string, string>;
|
|
|
97
97
|
export declare const i18nChipDelete: Record<string, string>;
|
|
98
98
|
export declare const i18nChipGroupInputDescription: Record<string, string>;
|
|
99
99
|
export declare const i18nCalendarWeekNumber: Record<string, string>;
|
|
100
|
+
export declare const i18nCalendarSelectAll: (monthYear: string) => Record<string, string>;
|
|
101
|
+
export declare const i18nCalendarDeselectAll: (monthYear: string) => Record<string, string>;
|
|
102
|
+
export declare const i18nCalendarHeaderNavigationHint: (cells: "weekdays" | "weekNumbers", orientation: "horizontal" | "vertical") => Record<string, string>;
|
|
103
|
+
export declare const i18nCalendarSelectWeekday: (weekday: string, monthYear: string) => Record<string, string>;
|
|
104
|
+
export declare const i18nCalendarDeselectWeekday: (weekday: string, monthYear: string) => Record<string, string>;
|
|
105
|
+
export declare const i18nCalendarSelectWeek: (weekNumber: number | string, year: number | string) => Record<string, string>;
|
|
106
|
+
export declare const i18nCalendarDeselectWeek: (weekNumber: number | string, year: number | string) => Record<string, string>;
|
|
100
107
|
export declare const i18nTimetableFormSwapButtonLabel: Record<string, string>;
|
|
101
108
|
export declare const i18nCarouselItemAriaLabel: (index: number, total: number) => Record<string, string>;
|
|
102
109
|
export declare const i18nCarouselArrowsNavigationHint: Record<string, string>;
|
package/development/core.js
CHANGED
|
@@ -2432,6 +2432,72 @@ const i18nCalendarWeekNumber = {
|
|
|
2432
2432
|
fr: "Semaine",
|
|
2433
2433
|
it: "Settimana"
|
|
2434
2434
|
};
|
|
2435
|
+
const i18nCalendarSelectAll = (monthYear) => ({
|
|
2436
|
+
de: `Alle Tage des Monats ${monthYear} auswählen`,
|
|
2437
|
+
en: `Select all days of ${monthYear}`,
|
|
2438
|
+
fr: `Sélectionner tous les jours du ${monthYear}`,
|
|
2439
|
+
it: `Selezionare tutti i giorni del ${monthYear}`
|
|
2440
|
+
});
|
|
2441
|
+
const i18nCalendarDeselectAll = (monthYear) => ({
|
|
2442
|
+
de: `Alle Tage des Monats ${monthYear} abwählen`,
|
|
2443
|
+
en: `Deselect all days of ${monthYear}`,
|
|
2444
|
+
fr: `Désélectionner tous les jours du ${monthYear}`,
|
|
2445
|
+
it: `Deselezionare tutti i giorni del ${monthYear}`
|
|
2446
|
+
});
|
|
2447
|
+
const i18nCalendarHeaderNavigationHint = (cells, orientation) => {
|
|
2448
|
+
const keys = cells === "weekdays" === (orientation === "horizontal") ? {
|
|
2449
|
+
de: "links und rechts",
|
|
2450
|
+
en: "left and right",
|
|
2451
|
+
fr: "gauche et droite",
|
|
2452
|
+
it: "sinistra e destra"
|
|
2453
|
+
} : {
|
|
2454
|
+
de: "oben und unten",
|
|
2455
|
+
en: "up and down",
|
|
2456
|
+
fr: "haut et bas",
|
|
2457
|
+
it: "su e giù"
|
|
2458
|
+
};
|
|
2459
|
+
const target = cells === "weekdays" ? {
|
|
2460
|
+
de: "Wochentage",
|
|
2461
|
+
en: "weekdays",
|
|
2462
|
+
fr: "jours de la semaine",
|
|
2463
|
+
it: "giorni della settimana"
|
|
2464
|
+
} : {
|
|
2465
|
+
de: "Wochennummern",
|
|
2466
|
+
en: "week numbers",
|
|
2467
|
+
fr: "numéros de semaine",
|
|
2468
|
+
it: "numeri delle settimane"
|
|
2469
|
+
};
|
|
2470
|
+
return {
|
|
2471
|
+
de: `Mit den Pfeiltasten ${keys.de} durch die ${target.de} navigieren.`,
|
|
2472
|
+
en: `Use the ${keys.en} arrow keys to navigate through the ${target.en}.`,
|
|
2473
|
+
fr: `Utilisez les flèches ${keys.fr} pour naviguer parmi les ${target.fr}.`,
|
|
2474
|
+
it: `Usare le frecce ${keys.it} per navigare tra i ${target.it}.`
|
|
2475
|
+
};
|
|
2476
|
+
};
|
|
2477
|
+
const i18nCalendarSelectWeekday = (weekday, monthYear) => ({
|
|
2478
|
+
de: `Jeden ${weekday} im ${monthYear} auswählen`,
|
|
2479
|
+
en: `Select every ${weekday} in ${monthYear}`,
|
|
2480
|
+
fr: `Sélectionner chaque ${weekday} du ${monthYear}`,
|
|
2481
|
+
it: `Selezionare ogni ${weekday} del ${monthYear}`
|
|
2482
|
+
});
|
|
2483
|
+
const i18nCalendarDeselectWeekday = (weekday, monthYear) => ({
|
|
2484
|
+
de: `Jeden ${weekday} im ${monthYear} abwählen`,
|
|
2485
|
+
en: `Deselect every ${weekday} in ${monthYear}`,
|
|
2486
|
+
fr: `Désélectionner chaque ${weekday} du ${monthYear}`,
|
|
2487
|
+
it: `Deselezionare ogni ${weekday} del ${monthYear}`
|
|
2488
|
+
});
|
|
2489
|
+
const i18nCalendarSelectWeek = (weekNumber, year) => ({
|
|
2490
|
+
de: `Woche ${weekNumber} des Jahres ${year} auswählen`,
|
|
2491
|
+
en: `Select week ${weekNumber} of year ${year}`,
|
|
2492
|
+
fr: `Sélectionner la semaine ${weekNumber} de l’année ${year}`,
|
|
2493
|
+
it: `Selezionare la settimana ${weekNumber} dell’anno ${year}`
|
|
2494
|
+
});
|
|
2495
|
+
const i18nCalendarDeselectWeek = (weekNumber, year) => ({
|
|
2496
|
+
de: `Woche ${weekNumber} des Jahres ${year} abwählen`,
|
|
2497
|
+
en: `Deselect week ${weekNumber} of year ${year}`,
|
|
2498
|
+
fr: `Désélectionner la semaine ${weekNumber} de l’année ${year}`,
|
|
2499
|
+
it: `Deselezionare la settimana ${weekNumber} dell’anno ${year}`
|
|
2500
|
+
});
|
|
2435
2501
|
const i18nTimetableFormSwapButtonLabel = {
|
|
2436
2502
|
de: "Von und Nach tauschen",
|
|
2437
2503
|
en: "Swap from and to",
|
|
@@ -4138,6 +4204,23 @@ var DateAdapter = class {
|
|
|
4138
4204
|
return (7 + this.getDayOfWeek(firstOfMonth) - this.getFirstDayOfWeek()) % 7;
|
|
4139
4205
|
}
|
|
4140
4206
|
/**
|
|
4207
|
+
* Gets the ISO 8601 week number and week-numbering year of the given date.
|
|
4208
|
+
* Weeks start on Monday and belong to the year of their Thursday,
|
|
4209
|
+
* e.g. 2025-12-29 is in week 1 of 2026 and 2027-01-01 is in week 53 of 2026.
|
|
4210
|
+
* @param date The date to get the week of.
|
|
4211
|
+
*/
|
|
4212
|
+
getIsoWeek(date) {
|
|
4213
|
+
const daysSinceMonday = (this.getDayOfWeek(date) + 6) % 7;
|
|
4214
|
+
const thursday = this.addCalendarDays(date, 3 - daysSinceMonday);
|
|
4215
|
+
const year = this.getYear(thursday);
|
|
4216
|
+
let dayOfYear = this.getDate(thursday);
|
|
4217
|
+
for (let month = 1; month < this.getMonth(thursday); month++) dayOfYear += this.getNumDaysInMonth(this.createDate(year, month, 1));
|
|
4218
|
+
return {
|
|
4219
|
+
week: Math.ceil(dayOfYear / 7),
|
|
4220
|
+
year
|
|
4221
|
+
};
|
|
4222
|
+
}
|
|
4223
|
+
/**
|
|
4141
4224
|
* Compares two dates.
|
|
4142
4225
|
* @param first The first date to compare.
|
|
4143
4226
|
* @param second The second date to compare.
|
|
@@ -4398,6 +4481,13 @@ var TemporalDateAdapter = class extends DateAdapter {
|
|
|
4398
4481
|
getFirstDayOfWeek() {
|
|
4399
4482
|
return 1;
|
|
4400
4483
|
}
|
|
4484
|
+
/** Gets the ISO 8601 week number and week-numbering year of the given date. */
|
|
4485
|
+
getIsoWeek(date) {
|
|
4486
|
+
return {
|
|
4487
|
+
week: date.weekOfYear,
|
|
4488
|
+
year: date.yearOfWeek
|
|
4489
|
+
};
|
|
4490
|
+
}
|
|
4401
4491
|
/** Calculates the number of days in a month given the year and the month. */
|
|
4402
4492
|
getNumDaysInMonth(date) {
|
|
4403
4493
|
return date.daysInMonth;
|
|
@@ -6427,4 +6517,4 @@ function removeAriaComboBoxAttributes(trigger) {
|
|
|
6427
6517
|
trigger.removeAttribute("aria-expanded");
|
|
6428
6518
|
}
|
|
6429
6519
|
|
|
6430
|
-
export { DateAdapter, FORMAT_DATE, FRIDAY, ISO8601_FORMAT_DATE, IS_FOCUSABLE_QUERY, InteractivityChecker, IsFocusableConfig, MONDAY, NativeDateAdapter, NumberOrNull, SATURDAY, SEPARATORLESS_FORMAT_DATE, SUNDAY, SbbActionBaseElement, SbbAnimationCompleteMixin, SbbButtonBaseElement, SbbButtonLikeBaseElement, SbbDarkModeController, SbbDisabledInteractiveMixin, SbbDisabledMixin, SbbDisabledTabIndexActionMixin, SbbDynamicStylesheetMixin, SbbElement, SbbEscapableOverlayController, SbbFocusTrapController, SbbFocusVisibleWithinController, SbbFormAssociatedCheckboxMixin, SbbFormAssociatedInputMixin, SbbFormAssociatedMixin, SbbFormAssociatedRadioButtonMixin, SbbIdReferenceController, SbbInertController, SbbLanguageController, SbbLinkBaseElement, SbbLiveAnnouncer, SbbMediaMatcherController, SbbMediaQueryBreakpointLargeAndAbove, SbbMediaQueryBreakpointLargeAndBelow, SbbMediaQueryBreakpointSmallAndAbove, SbbMediaQueryBreakpointSmallAndBelow, SbbMediaQueryBreakpointUltraAndAbove, SbbMediaQueryBreakpointZeroAndAbove, SbbMediaQueryDarkMode, SbbMediaQueryForcedColors, SbbMediaQueryHover, SbbMediaQueryPointerCoarse, SbbNamedSlotListMixin, SbbNegativeMixin, SbbOpenCloseBaseElement, SbbOverlayOutsidePointerEventListener, SbbOverlayPositionController, SbbPanelMixin, SbbPropertyWatcherController, SbbReadonlyMixin, SbbRequiredMixin, SbbScrollController, SbbScrollHandler, SbbSelectionGroupBaseElement, SbbSelectionPanelMixin, SbbSlottedChangeEvent, SbbTemporaryFocusController, SbbUpdateSchedulerMixin, THURSDAY, TUESDAY, TemporalDateAdapter, WEDNESDAY, appendAriaElements, buttonResetStyles, containsPierceShadowDom, defaultDateAdapter, forceType, forwardEvent, getElementPosition, getElementPositionHorizontal, getElementRectangle, getEventTarget, getNextElementIndex, getOverride, handleDistinctChange, hostScrollbarStyles, i18nAdditionalWagonInformationHeading, i18nAnd, i18nArrival, i18nAutocompleteActionsHint, i18nBlockedPassage, i18nBreadcrumbEllipsisButtonLabel, i18nButton, i18nCalendarDateSelection, i18nCalendarWeekNumber, i18nCarouselArrowsNavigationHint, i18nCarouselItemAriaLabel, i18nCheckboxRequired, i18nChipDelete, i18nChipGroupInputDescription, i18nClass, i18nClearInput, i18nCloseAlert, i18nCloseDialog, i18nCloseNavigation, i18nCloseNotification, i18nClosePopover, i18nCloseSidebar, i18nClosedCompartmentLabel, i18nCollapsed, i18nConnectionFrom, i18nConnectionRoundtrip, i18nConnectionTo, i18nCouchetteWagonLabel, i18nDateChangedTo, i18nDateInvalid, i18nDateMax, i18nDateMin, i18nDatePickerPlaceholder, i18nDeparture, i18nDialog, i18nDirection, i18nDownload, i18nDurationDay, i18nDurationHour, i18nDurationMinute, i18nExpanded, i18nFileSelectorButtonLabel, i18nFileSelectorButtonLabelMultiple, i18nFileSelectorCurrentlySelected, i18nFileSelectorDeleteFile, i18nFileSelectorSubtitleLabel, i18nFileSelectorSubtitleLabelMultiple, i18nFlipCard, i18nFromPlatform, i18nGoBack, i18nInputRequired, i18nItemsPerPage, i18nLocomotiveLabel, i18nLogo125Anniversary, i18nLogo125AnniversaryYears, i18nMapContainerButtonLabel, i18nMeansOfTransport, i18nMultipleSelectionPossible, i18nNew, i18nNextDay, i18nNextMonth, i18nNextPage, i18nNextSlide, i18nNextYear, i18nNextYearRange, i18nNonAccessible, i18nOccupancy, i18nPage, i18nPaginatorOf, i18nPaginatorSelected, i18nPreviousDay, i18nPreviousMonth, i18nPreviousPage, i18nPreviousSlide, i18nPreviousYear, i18nPreviousYearRange, i18nRealTimeInfo, i18nRemainingCharacters, i18nRestaurantWagonLabel, i18nReverseCard, i18nSector, i18nSectorShort, i18nSelectNextDay, i18nSelectPreviousDay, i18nSelectionRequired, i18nShowCalendar, i18nSleepingWagonLabel, i18nSlide, i18nSupersaver, i18nTargetOpensInNewWindow, i18nTimeInputChange, i18nTimeInvalid, i18nTimeMax, i18nTimeMaxLength, i18nTimetableFormSwapButtonLabel, i18nToday, i18nTrain, i18nTrains, i18nTransferProcedure, i18nTransferProcedures, i18nTravelhints, i18nTripDuration, i18nTripQuayChange, i18nWagonLabel, i18nWagonLabelNumber, i18nWagonsLabel, i18nWalkingDistanceArrival, i18nWalkingDistanceDeparture, i18nYearMonthSelection, idReference, interactivityChecker, isAndroid, isArrowKeyOrPageKeysPressed, isArrowKeyPressed, isBlink, isChromium, isEdge, isEventOnElement, isEventPrevented, isFakeMousedownFromScreenReader, isFakeTouchstartFromScreenReader, isFirefox, isIOS, isMacOS, isNextArrowKeyPressed, isNextjs, isPreviousArrowKeyPressed, isSafari, isTrident, isWebkit, isZeroAnimationDuration, listResetStyles, mergeConfig, omitEmptyConverter, pageScrollDisabled, plainDate, plainDateConverter, popoverResetStyles, preventScrollOnSpacebarPress, queueDomContentLoaded, radioButtonRegistry, readConfig, removeAriaComboBoxAttributes, removeAriaElements, removeAriaOverlayTriggerProperties, sbbInputModalityDetector, sbbLiveAnnouncer, sbbOverlayOutsidePointerEventListener, screenReaderOnlyStyles, scrollbarStyles, setAriaComboBoxAttributes, setAriaOverlayTriggerProperties, setOrRemoveAttribute, setOverlayPosition, ɵstateController };
|
|
6520
|
+
export { DateAdapter, FORMAT_DATE, FRIDAY, ISO8601_FORMAT_DATE, IS_FOCUSABLE_QUERY, InteractivityChecker, IsFocusableConfig, MONDAY, NativeDateAdapter, NumberOrNull, SATURDAY, SEPARATORLESS_FORMAT_DATE, SUNDAY, SbbActionBaseElement, SbbAnimationCompleteMixin, SbbButtonBaseElement, SbbButtonLikeBaseElement, SbbDarkModeController, SbbDisabledInteractiveMixin, SbbDisabledMixin, SbbDisabledTabIndexActionMixin, SbbDynamicStylesheetMixin, SbbElement, SbbEscapableOverlayController, SbbFocusTrapController, SbbFocusVisibleWithinController, SbbFormAssociatedCheckboxMixin, SbbFormAssociatedInputMixin, SbbFormAssociatedMixin, SbbFormAssociatedRadioButtonMixin, SbbIdReferenceController, SbbInertController, SbbLanguageController, SbbLinkBaseElement, SbbLiveAnnouncer, SbbMediaMatcherController, SbbMediaQueryBreakpointLargeAndAbove, SbbMediaQueryBreakpointLargeAndBelow, SbbMediaQueryBreakpointSmallAndAbove, SbbMediaQueryBreakpointSmallAndBelow, SbbMediaQueryBreakpointUltraAndAbove, SbbMediaQueryBreakpointZeroAndAbove, SbbMediaQueryDarkMode, SbbMediaQueryForcedColors, SbbMediaQueryHover, SbbMediaQueryPointerCoarse, SbbNamedSlotListMixin, SbbNegativeMixin, SbbOpenCloseBaseElement, SbbOverlayOutsidePointerEventListener, SbbOverlayPositionController, SbbPanelMixin, SbbPropertyWatcherController, SbbReadonlyMixin, SbbRequiredMixin, SbbScrollController, SbbScrollHandler, SbbSelectionGroupBaseElement, SbbSelectionPanelMixin, SbbSlottedChangeEvent, SbbTemporaryFocusController, SbbUpdateSchedulerMixin, THURSDAY, TUESDAY, TemporalDateAdapter, WEDNESDAY, appendAriaElements, buttonResetStyles, containsPierceShadowDom, defaultDateAdapter, forceType, forwardEvent, getElementPosition, getElementPositionHorizontal, getElementRectangle, getEventTarget, getNextElementIndex, getOverride, handleDistinctChange, hostScrollbarStyles, i18nAdditionalWagonInformationHeading, i18nAnd, i18nArrival, i18nAutocompleteActionsHint, i18nBlockedPassage, i18nBreadcrumbEllipsisButtonLabel, i18nButton, i18nCalendarDateSelection, i18nCalendarDeselectAll, i18nCalendarDeselectWeek, i18nCalendarDeselectWeekday, i18nCalendarHeaderNavigationHint, i18nCalendarSelectAll, i18nCalendarSelectWeek, i18nCalendarSelectWeekday, i18nCalendarWeekNumber, i18nCarouselArrowsNavigationHint, i18nCarouselItemAriaLabel, i18nCheckboxRequired, i18nChipDelete, i18nChipGroupInputDescription, i18nClass, i18nClearInput, i18nCloseAlert, i18nCloseDialog, i18nCloseNavigation, i18nCloseNotification, i18nClosePopover, i18nCloseSidebar, i18nClosedCompartmentLabel, i18nCollapsed, i18nConnectionFrom, i18nConnectionRoundtrip, i18nConnectionTo, i18nCouchetteWagonLabel, i18nDateChangedTo, i18nDateInvalid, i18nDateMax, i18nDateMin, i18nDatePickerPlaceholder, i18nDeparture, i18nDialog, i18nDirection, i18nDownload, i18nDurationDay, i18nDurationHour, i18nDurationMinute, i18nExpanded, i18nFileSelectorButtonLabel, i18nFileSelectorButtonLabelMultiple, i18nFileSelectorCurrentlySelected, i18nFileSelectorDeleteFile, i18nFileSelectorSubtitleLabel, i18nFileSelectorSubtitleLabelMultiple, i18nFlipCard, i18nFromPlatform, i18nGoBack, i18nInputRequired, i18nItemsPerPage, i18nLocomotiveLabel, i18nLogo125Anniversary, i18nLogo125AnniversaryYears, i18nMapContainerButtonLabel, i18nMeansOfTransport, i18nMultipleSelectionPossible, i18nNew, i18nNextDay, i18nNextMonth, i18nNextPage, i18nNextSlide, i18nNextYear, i18nNextYearRange, i18nNonAccessible, i18nOccupancy, i18nPage, i18nPaginatorOf, i18nPaginatorSelected, i18nPreviousDay, i18nPreviousMonth, i18nPreviousPage, i18nPreviousSlide, i18nPreviousYear, i18nPreviousYearRange, i18nRealTimeInfo, i18nRemainingCharacters, i18nRestaurantWagonLabel, i18nReverseCard, i18nSector, i18nSectorShort, i18nSelectNextDay, i18nSelectPreviousDay, i18nSelectionRequired, i18nShowCalendar, i18nSleepingWagonLabel, i18nSlide, i18nSupersaver, i18nTargetOpensInNewWindow, i18nTimeInputChange, i18nTimeInvalid, i18nTimeMax, i18nTimeMaxLength, i18nTimetableFormSwapButtonLabel, i18nToday, i18nTrain, i18nTrains, i18nTransferProcedure, i18nTransferProcedures, i18nTravelhints, i18nTripDuration, i18nTripQuayChange, i18nWagonLabel, i18nWagonLabelNumber, i18nWagonsLabel, i18nWalkingDistanceArrival, i18nWalkingDistanceDeparture, i18nYearMonthSelection, idReference, interactivityChecker, isAndroid, isArrowKeyOrPageKeysPressed, isArrowKeyPressed, isBlink, isChromium, isEdge, isEventOnElement, isEventPrevented, isFakeMousedownFromScreenReader, isFakeTouchstartFromScreenReader, isFirefox, isIOS, isMacOS, isNextArrowKeyPressed, isNextjs, isPreviousArrowKeyPressed, isSafari, isTrident, isWebkit, isZeroAnimationDuration, listResetStyles, mergeConfig, omitEmptyConverter, pageScrollDisabled, plainDate, plainDateConverter, popoverResetStyles, preventScrollOnSpacebarPress, queueDomContentLoaded, radioButtonRegistry, readConfig, removeAriaComboBoxAttributes, removeAriaElements, removeAriaOverlayTriggerProperties, sbbInputModalityDetector, sbbLiveAnnouncer, sbbOverlayOutsidePointerEventListener, screenReaderOnlyStyles, scrollbarStyles, setAriaComboBoxAttributes, setAriaOverlayTriggerProperties, setOrRemoveAttribute, setOverlayPosition, ɵstateController };
|
package/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { SbbAlertElement, SbbAlertGroupElement } from "./alert.js";
|
|
|
4
4
|
import { SbbAutocompleteButtonElement, SbbAutocompleteElement, SbbAutocompleteRowElement } from "./autocomplete.js";
|
|
5
5
|
import { SbbBreadcrumbElement, SbbBreadcrumbGroupElement } from "./breadcrumb.js";
|
|
6
6
|
import { SbbAccentButtonElement, SbbAccentButtonLinkElement, SbbAccentButtonStaticElement, SbbButtonElement, SbbButtonLinkElement, SbbButtonStaticElement, SbbMiniButtonElement, SbbMiniButtonGroupElement, SbbMiniButtonLinkElement, SbbSecondaryButtonElement, SbbSecondaryButtonLinkElement, SbbSecondaryButtonStaticElement, SbbTransparentButtonElement, SbbTransparentButtonLinkElement, SbbTransparentButtonStaticElement } from "./button.js";
|
|
7
|
-
import { SbbCalendarDayElement, SbbCalendarElement, SbbCalendarMonthElement, SbbCalendarWeekdayElement, SbbCalendarWeeknumberElement, SbbCalendarYearElement } from "./calendar.js";
|
|
7
|
+
import { SbbCalendarDayElement, SbbCalendarElement, SbbCalendarMonthElement, SbbCalendarSelectAllElement, SbbCalendarWeekdayElement, SbbCalendarWeeknumberElement, SbbCalendarYearElement } from "./calendar.js";
|
|
8
8
|
import { SbbCardBadgeElement, SbbCardButtonElement, SbbCardElement, SbbCardLinkElement } from "./card.js";
|
|
9
9
|
import { SbbCarouselElement, SbbCarouselItemElement, SbbCarouselListElement } from "./carousel.js";
|
|
10
10
|
import { SbbCheckboxElement } from "./checkbox.js";
|
|
@@ -99,6 +99,7 @@ declare global {
|
|
|
99
99
|
var SbbCalendarDayElement: SbbCalendarDayElement;
|
|
100
100
|
var SbbCalendarElement: SbbCalendarElement;
|
|
101
101
|
var SbbCalendarMonthElement: SbbCalendarMonthElement;
|
|
102
|
+
var SbbCalendarSelectAllElement: SbbCalendarSelectAllElement;
|
|
102
103
|
var SbbCalendarWeekdayElement: SbbCalendarWeekdayElement;
|
|
103
104
|
var SbbCalendarWeeknumberElement: SbbCalendarWeeknumberElement;
|
|
104
105
|
var SbbCalendarYearElement: SbbCalendarYearElement;
|
package/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import { SbbAlertElement, SbbAlertGroupElement } from "./alert.js";
|
|
|
4
4
|
import { SbbAutocompleteButtonElement, SbbAutocompleteElement, SbbAutocompleteRowElement } from "./autocomplete.js";
|
|
5
5
|
import { SbbBreadcrumbElement, SbbBreadcrumbGroupElement } from "./breadcrumb.js";
|
|
6
6
|
import { SbbAccentButtonElement, SbbAccentButtonLinkElement, SbbAccentButtonStaticElement, SbbButtonElement, SbbButtonLinkElement, SbbButtonStaticElement, SbbMiniButtonElement, SbbMiniButtonGroupElement, SbbMiniButtonLinkElement, SbbSecondaryButtonElement, SbbSecondaryButtonLinkElement, SbbSecondaryButtonStaticElement, SbbTransparentButtonElement, SbbTransparentButtonLinkElement, SbbTransparentButtonStaticElement } from "./button.js";
|
|
7
|
-
import { SbbCalendarDayElement, SbbCalendarElement, SbbCalendarMonthElement, SbbCalendarWeekdayElement, SbbCalendarWeeknumberElement, SbbCalendarYearElement } from "./calendar.js";
|
|
7
|
+
import { SbbCalendarDayElement, SbbCalendarElement, SbbCalendarMonthElement, SbbCalendarSelectAllElement, SbbCalendarWeekdayElement, SbbCalendarWeeknumberElement, SbbCalendarYearElement } from "./calendar.js";
|
|
8
8
|
import { SbbCardBadgeElement, SbbCardButtonElement, SbbCardElement, SbbCardLinkElement } from "./card.js";
|
|
9
9
|
import { SbbCarouselElement, SbbCarouselItemElement, SbbCarouselListElement } from "./carousel.js";
|
|
10
10
|
import { SbbCheckboxElement } from "./checkbox.js";
|
|
@@ -99,6 +99,7 @@ globalThis.SbbButtonStaticElement = SbbButtonStaticElement;
|
|
|
99
99
|
globalThis.SbbCalendarDayElement = SbbCalendarDayElement;
|
|
100
100
|
globalThis.SbbCalendarElement = SbbCalendarElement;
|
|
101
101
|
globalThis.SbbCalendarMonthElement = SbbCalendarMonthElement;
|
|
102
|
+
globalThis.SbbCalendarSelectAllElement = SbbCalendarSelectAllElement;
|
|
102
103
|
globalThis.SbbCalendarWeekdayElement = SbbCalendarWeekdayElement;
|
|
103
104
|
globalThis.SbbCalendarWeeknumberElement = SbbCalendarWeeknumberElement;
|
|
104
105
|
globalThis.SbbCalendarYearElement = SbbCalendarYearElement;
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sbb-esta/lyne-elements-dev",
|
|
3
|
-
"version": "5.14.0-dev.
|
|
3
|
+
"version": "5.14.0-dev.1795700861",
|
|
4
4
|
"description": "Lyne Design System",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"design system",
|
|
7
7
|
"web components",
|
|
8
8
|
"lit",
|
|
9
|
-
"https://github.com/sbb-design-systems/lyne-components/commit/
|
|
9
|
+
"https://github.com/sbb-design-systems/lyne-components/commit/32e26cacee89bf05f0ebf44db71a05cf7af06f7a"
|
|
10
10
|
],
|
|
11
11
|
"type": "module",
|
|
12
12
|
"exports": {
|