@m3e/web 2.1.3 → 2.2.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.
- package/README.md +3 -0
- package/dist/all.js +2765 -343
- package/dist/all.js.map +1 -1
- package/dist/all.min.js +77 -41
- package/dist/all.min.js.map +1 -1
- package/dist/app-bar.js +14 -7
- package/dist/app-bar.js.map +1 -1
- package/dist/app-bar.min.js +1 -1
- package/dist/app-bar.min.js.map +1 -1
- package/dist/autocomplete.js +5 -9
- package/dist/autocomplete.js.map +1 -1
- package/dist/autocomplete.min.js +1 -1
- package/dist/autocomplete.min.js.map +1 -1
- package/dist/bottom-sheet.js +8 -27
- package/dist/bottom-sheet.js.map +1 -1
- package/dist/bottom-sheet.min.js +1 -1
- package/dist/bottom-sheet.min.js.map +1 -1
- package/dist/calendar.js +1082 -0
- package/dist/calendar.js.map +1 -0
- package/dist/calendar.min.js +43 -0
- package/dist/calendar.min.js.map +1 -0
- package/dist/chips.js +2 -6
- package/dist/chips.js.map +1 -1
- package/dist/chips.min.js +1 -1
- package/dist/chips.min.js.map +1 -1
- package/dist/core-a11y.js +23 -9
- package/dist/core-a11y.js.map +1 -1
- package/dist/core-a11y.min.js +4 -4
- package/dist/core-a11y.min.js.map +1 -1
- package/dist/core-anchoring.js +135 -15
- package/dist/core-anchoring.js.map +1 -1
- package/dist/core-anchoring.min.js +1 -1
- package/dist/core-anchoring.min.js.map +1 -1
- package/dist/core.js +101 -1
- package/dist/core.js.map +1 -1
- package/dist/core.min.js +1 -1
- package/dist/core.min.js.map +1 -1
- package/dist/css-custom-data.json +819 -319
- package/dist/custom-elements.json +16252 -11972
- package/dist/datepicker.js +552 -0
- package/dist/datepicker.js.map +1 -0
- package/dist/datepicker.min.js +7 -0
- package/dist/datepicker.min.js.map +1 -0
- package/dist/fab-menu.js +1 -1
- package/dist/fab-menu.js.map +1 -1
- package/dist/fab-menu.min.js +1 -1
- package/dist/fab-menu.min.js.map +1 -1
- package/dist/form-field.js +2 -6
- package/dist/form-field.js.map +1 -1
- package/dist/form-field.min.js +3 -3
- package/dist/form-field.min.js.map +1 -1
- package/dist/html-custom-data.json +478 -112
- package/dist/menu.js +3 -7
- package/dist/menu.js.map +1 -1
- package/dist/menu.min.js +1 -1
- package/dist/menu.min.js.map +1 -1
- package/dist/nav-menu.js +3 -11
- package/dist/nav-menu.js.map +1 -1
- package/dist/nav-menu.min.js +1 -1
- package/dist/nav-menu.min.js.map +1 -1
- package/dist/nav-rail.js +2 -6
- package/dist/nav-rail.js.map +1 -1
- package/dist/nav-rail.min.js +1 -1
- package/dist/nav-rail.min.js.map +1 -1
- package/dist/option.js +3 -7
- package/dist/option.js.map +1 -1
- package/dist/option.min.js +1 -1
- package/dist/option.min.js.map +1 -1
- package/dist/paginator.js.map +1 -1
- package/dist/paginator.min.js.map +1 -1
- package/dist/search.js +805 -0
- package/dist/search.js.map +1 -0
- package/dist/search.min.js +7 -0
- package/dist/search.min.js.map +1 -0
- package/dist/select.js +3 -14
- package/dist/select.js.map +1 -1
- package/dist/select.min.js +1 -1
- package/dist/select.min.js.map +1 -1
- package/dist/snackbar.js +2 -6
- package/dist/snackbar.js.map +1 -1
- package/dist/snackbar.min.js +1 -1
- package/dist/snackbar.min.js.map +1 -1
- package/dist/src/all.d.ts +3 -0
- package/dist/src/all.d.ts.map +1 -1
- package/dist/src/app-bar/AppBarElement.d.ts +6 -4
- package/dist/src/app-bar/AppBarElement.d.ts.map +1 -1
- package/dist/src/autocomplete/AutocompleteElement.d.ts +2 -2
- package/dist/src/autocomplete/AutocompleteElement.d.ts.map +1 -1
- package/dist/src/autocomplete/AutocompleteQueryEventDetail.d.ts +12 -0
- package/dist/src/autocomplete/AutocompleteQueryEventDetail.d.ts.map +1 -0
- package/dist/src/autocomplete/QueryEventDetail.d.ts +3 -8
- package/dist/src/autocomplete/QueryEventDetail.d.ts.map +1 -1
- package/dist/src/autocomplete/index.d.ts +1 -0
- package/dist/src/autocomplete/index.d.ts.map +1 -1
- package/dist/src/bottom-sheet/BottomSheetElement.d.ts.map +1 -1
- package/dist/src/calendar/CalendarElement.d.ts +213 -0
- package/dist/src/calendar/CalendarElement.d.ts.map +1 -0
- package/dist/src/calendar/CalendarView.d.ts +3 -0
- package/dist/src/calendar/CalendarView.d.ts.map +1 -0
- package/dist/src/calendar/CalendarViewElementBase.d.ts +28 -0
- package/dist/src/calendar/CalendarViewElementBase.d.ts.map +1 -0
- package/dist/src/calendar/MonthViewElement.d.ts +36 -0
- package/dist/src/calendar/MonthViewElement.d.ts.map +1 -0
- package/dist/src/calendar/MultiYearViewElement.d.ts +27 -0
- package/dist/src/calendar/MultiYearViewElement.d.ts.map +1 -0
- package/dist/src/calendar/YearViewElement.d.ts +27 -0
- package/dist/src/calendar/YearViewElement.d.ts.map +1 -0
- package/dist/src/calendar/index.d.ts +7 -0
- package/dist/src/calendar/index.d.ts.map +1 -0
- package/dist/src/calendar/utils.d.ts +24 -0
- package/dist/src/calendar/utils.d.ts.map +1 -0
- package/dist/src/chips/InputChipSetElement.d.ts.map +1 -1
- package/dist/src/core/a11y/FocusTrapElement.d.ts.map +1 -1
- package/dist/src/core/a11y/InteractivityChecker.d.ts.map +1 -1
- package/dist/src/core/anchoring/AnchorOptions.d.ts +1 -1
- package/dist/src/core/anchoring/AnchorOptions.d.ts.map +1 -1
- package/dist/src/core/anchoring/FloatingPanelElement.d.ts +18 -3
- package/dist/src/core/anchoring/FloatingPanelElement.d.ts.map +1 -1
- package/dist/src/core/anchoring/positionAnchor.d.ts.map +1 -1
- package/dist/src/core/shared/controllers/InertController.d.ts +19 -0
- package/dist/src/core/shared/controllers/InertController.d.ts.map +1 -0
- package/dist/src/core/shared/controllers/index.d.ts +1 -0
- package/dist/src/core/shared/controllers/index.d.ts.map +1 -1
- package/dist/src/core/shared/converters/dateConverter.d.ts +4 -0
- package/dist/src/core/shared/converters/dateConverter.d.ts.map +1 -0
- package/dist/src/core/shared/converters/index.d.ts +1 -0
- package/dist/src/core/shared/converters/index.d.ts.map +1 -1
- package/dist/src/core/shared/utils/index.d.ts +1 -0
- package/dist/src/core/shared/utils/index.d.ts.map +1 -1
- package/dist/src/core/shared/utils/registerStyleSheet.d.ts +7 -0
- package/dist/src/core/shared/utils/registerStyleSheet.d.ts.map +1 -0
- package/dist/src/datepicker/DatepickerElement.d.ts +237 -0
- package/dist/src/datepicker/DatepickerElement.d.ts.map +1 -0
- package/dist/src/datepicker/DatepickerToggleElement.d.ts +21 -0
- package/dist/src/datepicker/DatepickerToggleElement.d.ts.map +1 -0
- package/dist/src/datepicker/DatepickerVariant.d.ts +3 -0
- package/dist/src/datepicker/DatepickerVariant.d.ts.map +1 -0
- package/dist/src/datepicker/index.d.ts +4 -0
- package/dist/src/datepicker/index.d.ts.map +1 -0
- package/dist/src/form-field/FormFieldElement.d.ts.map +1 -1
- package/dist/src/menu/MenuElement.d.ts.map +1 -1
- package/dist/src/nav-menu/NavMenuElement.d.ts.map +1 -1
- package/dist/src/nav-menu/NavMenuItemElement.d.ts.map +1 -1
- package/dist/src/nav-rail/NavRailElement.d.ts.map +1 -1
- package/dist/src/option/OptionPanelElement.d.ts.map +1 -1
- package/dist/src/paginator/PageEventDetail.d.ts +6 -11
- package/dist/src/paginator/PageEventDetail.d.ts.map +1 -1
- package/dist/src/paginator/PaginatorElement.d.ts +2 -2
- package/dist/src/paginator/PaginatorElement.d.ts.map +1 -1
- package/dist/src/paginator/PaginatorPageEventDetail.d.ts +12 -0
- package/dist/src/paginator/PaginatorPageEventDetail.d.ts.map +1 -0
- package/dist/src/paginator/index.d.ts +1 -0
- package/dist/src/paginator/index.d.ts.map +1 -1
- package/dist/src/search/SearchBarElement.d.ts +92 -0
- package/dist/src/search/SearchBarElement.d.ts.map +1 -0
- package/dist/src/search/SearchViewElement.d.ts +146 -0
- package/dist/src/search/SearchViewElement.d.ts.map +1 -0
- package/dist/src/search/SearchViewMode.d.ts +3 -0
- package/dist/src/search/SearchViewMode.d.ts.map +1 -0
- package/dist/src/search/SearchViewQueryEventDetail.d.ts +12 -0
- package/dist/src/search/SearchViewQueryEventDetail.d.ts.map +1 -0
- package/dist/src/search/index.d.ts +5 -0
- package/dist/src/search/index.d.ts.map +1 -0
- package/dist/src/search/styles/SearchBarStyle.d.ts +12 -0
- package/dist/src/search/styles/SearchBarStyle.d.ts.map +1 -0
- package/dist/src/search/styles/SearchBarToken.d.ts +27 -0
- package/dist/src/search/styles/SearchBarToken.d.ts.map +1 -0
- package/dist/src/search/styles/SearchViewStyle.d.ts +12 -0
- package/dist/src/search/styles/SearchViewStyle.d.ts.map +1 -0
- package/dist/src/search/styles/SearchViewToken.d.ts +26 -0
- package/dist/src/search/styles/SearchViewToken.d.ts.map +1 -0
- package/dist/src/search/styles/index.d.ts +3 -0
- package/dist/src/search/styles/index.d.ts.map +1 -0
- package/dist/src/select/SelectElement.d.ts.map +1 -1
- package/dist/src/snackbar/SnackbarElement.d.ts.map +1 -1
- package/dist/src/stepper/StepperElement.d.ts.map +1 -1
- package/dist/stepper.js +2 -6
- package/dist/stepper.js.map +1 -1
- package/dist/stepper.min.js +1 -1
- package/dist/stepper.min.js.map +1 -1
- package/dist/tooltip.js +1 -1
- package/dist/tooltip.js.map +1 -1
- package/dist/tooltip.min.js +1 -1
- package/dist/tooltip.min.js.map +1 -1
- package/package.json +16 -1
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import { LitElement, PropertyValues } from "lit";
|
|
2
|
+
import "@m3e/web/core/a11y";
|
|
3
|
+
import { SearchViewMode } from "./SearchViewMode";
|
|
4
|
+
import { SearchViewQueryEventDetail } from "./SearchViewQueryEventDetail";
|
|
5
|
+
import "./SearchBarElement";
|
|
6
|
+
declare const M3eSearchViewElement_base: import("../core/shared/mixins/Constructor").Constructor<import("@m3e/web/core").AttachInternalsMixin> & typeof LitElement;
|
|
7
|
+
/**
|
|
8
|
+
* A surface that presents suggestions and results for a search.
|
|
9
|
+
*
|
|
10
|
+
* @description
|
|
11
|
+
* The `m3e-search-view` component presents the surface for suggestions,
|
|
12
|
+
* history, and results, managing the open and close lifecycle around an
|
|
13
|
+
* embedded search bar. It emits `query`, `clear`, and `toggle`, events to
|
|
14
|
+
* support application driven search logic, and exposes CSS properties for
|
|
15
|
+
* container, shape, spacing, and layout across contained, docked, and full
|
|
16
|
+
* screen configurations.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* The following example shows a contained view in docked mode with a simple set of search results.
|
|
20
|
+
* ```html
|
|
21
|
+
* <m3e-search-view mode="docked" contained>
|
|
22
|
+
* <input slot="input" placeholder="Search..." />
|
|
23
|
+
* <m3e-list>
|
|
24
|
+
* <m3e-list-item>Result One</m3e-list-item>
|
|
25
|
+
* <m3e-list-item>Result Two</m3e-list-item>
|
|
26
|
+
* <m3e-list-item>Result Three</m3e-list-item>
|
|
27
|
+
* </m3e-list>
|
|
28
|
+
* </m3e-search-view>
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
31
|
+
* @tag m3e-search-view
|
|
32
|
+
*
|
|
33
|
+
* @attr contained - Whether the view features a persistent, filled search container.
|
|
34
|
+
* @attr mode - The behavior mode of the view.
|
|
35
|
+
* @attr open - Whether the view is expanded to show results.
|
|
36
|
+
* @attr clear-label - The accessible label given to the button used to clear the search term.
|
|
37
|
+
* @attr close-label - The accessible label given to the button used to collapse the view.
|
|
38
|
+
* @attr hide-search-icon - Whether to hide the search icon.
|
|
39
|
+
*
|
|
40
|
+
* @slot - When open, renders the results content of the view.
|
|
41
|
+
* @slot input - Renders the input of the view.
|
|
42
|
+
* @slot open-leading - When open, renders content before the input of the view.
|
|
43
|
+
* @slot open-trailing - When open, renders content after the input of the view.
|
|
44
|
+
* @slot closed-leading - When closed, renders content before the input of the view.
|
|
45
|
+
* @slot closed-trailing - When closed, renders content after the input of the view.
|
|
46
|
+
*
|
|
47
|
+
* @fires clear - Dispatched when the search term is cleared.
|
|
48
|
+
* @fires query - Dispatched when the view is opened or when the user modifies the search term.
|
|
49
|
+
* @fires beforetoggle - Dispatched before the toggle state changes.
|
|
50
|
+
* @fires toggle - Dispatched after the toggle state has changed.
|
|
51
|
+
*
|
|
52
|
+
* @cssprop --m3e-search-view-container-color - Background color of the view container.
|
|
53
|
+
* @cssprop --m3e-search-view-contained-container-color - Background color of the contained view container.
|
|
54
|
+
* @cssprop --m3e-search-view-divider-color - Color of the divider separating header and results.
|
|
55
|
+
* @cssprop --m3e-search-view-divider-thickness - Thickness of the divider separating header and results.
|
|
56
|
+
* @cssprop --m3e-search-view-full-screen-container-shape - Shape of the fullscreen view container.
|
|
57
|
+
* @cssprop --m3e-search-view-full-screen-header-container-height - Height of the header container in fullscreen mode.
|
|
58
|
+
* @cssprop --m3e-search-view-docked-container-shape - Shape of the docked view container.
|
|
59
|
+
* @cssprop --m3e-search-view-docked-header-container-height - Height of the header container in docked mode.
|
|
60
|
+
* @cssprop --m3e-search-view-contained-leading-margin - Leading margin for the contained view.
|
|
61
|
+
* @cssprop --m3e-search-view-contained-trailing-margin - Trailing margin for the contained view.
|
|
62
|
+
* @cssprop --m3e-search-view-contained-focused-leading-margin - Leading margin when the contained view is focused.
|
|
63
|
+
* @cssprop --m3e-search-view-contained-focused-trailing-margin - Trailing margin when the contained view is focused.
|
|
64
|
+
* @cssprop --m3e-search-view-contained-docked-bar-results-gap - Gap between the contained docked bar and results.
|
|
65
|
+
* @cssprop --m3e-search-view-contained-docked-results-shape - Shape of the results container in contained docked mode.
|
|
66
|
+
* @cssprop --m3e-search-view-contained-docked-bar-shape - Shape of the bar in contained docked mode.
|
|
67
|
+
* @cssprop --m3e-search-view-contained-full-screen-bar-container-height - Height of the bar container in contained fullscreen mode.
|
|
68
|
+
* @cssprop --m3e-search-view-docked-container-min-height - Minimum height of the docked view container.
|
|
69
|
+
* @cssprop --m3e-search-view-docked-container-max-height - Maximum height of the docked view container.
|
|
70
|
+
* @cssprop --m3e-search-view-contained-docked-results-space - Space above the results in contained docked mode.
|
|
71
|
+
* @cssprop --m3e-search-view-docked-results-bottom-space - Space below the results in docked mode.
|
|
72
|
+
* @cssprop --m3e-search-view-docked-scrim-color - Color of the scrim behind the docked view.
|
|
73
|
+
* @cssprop --m3e-search-view-docked-scrim-opacity - Opacity of the scrim behind the docked view.
|
|
74
|
+
*/
|
|
75
|
+
export declare class M3eSearchViewElement extends M3eSearchViewElement_base {
|
|
76
|
+
#private;
|
|
77
|
+
/** The styles of the element. */
|
|
78
|
+
static styles: import("lit").CSSResultGroup;
|
|
79
|
+
/** @private */ private _clearable;
|
|
80
|
+
/** @private */ private _mode?;
|
|
81
|
+
/** @private */ private readonly _anchor;
|
|
82
|
+
/** @private */ private readonly _view;
|
|
83
|
+
constructor();
|
|
84
|
+
/**
|
|
85
|
+
* Whether the view features a persistent, filled search container.
|
|
86
|
+
* @default false
|
|
87
|
+
*/
|
|
88
|
+
contained: boolean;
|
|
89
|
+
/**
|
|
90
|
+
* The behavior mode of the view.
|
|
91
|
+
* @default "docked"
|
|
92
|
+
*/
|
|
93
|
+
mode: SearchViewMode;
|
|
94
|
+
/**
|
|
95
|
+
* Whether the view is expanded to show results.
|
|
96
|
+
* @default false
|
|
97
|
+
*/
|
|
98
|
+
open: boolean;
|
|
99
|
+
/**
|
|
100
|
+
* The accessible label given to the button used to clear the search term.
|
|
101
|
+
* @default "Clear"
|
|
102
|
+
*/
|
|
103
|
+
clearLabel: string;
|
|
104
|
+
/**
|
|
105
|
+
* The accessible label given to the button used to collapse the view.
|
|
106
|
+
* @default "Close"
|
|
107
|
+
*/
|
|
108
|
+
closeLabel: string;
|
|
109
|
+
/**
|
|
110
|
+
* Whether to hide the search icon.
|
|
111
|
+
* @default false;
|
|
112
|
+
*/
|
|
113
|
+
hideSearchIcon: boolean;
|
|
114
|
+
/** The current mode applied to the view. */
|
|
115
|
+
get currentMode(): Exclude<SearchViewMode, "auto">;
|
|
116
|
+
set currentMode(value: Exclude<SearchViewMode, "auto">);
|
|
117
|
+
/** Clears the search term. */
|
|
118
|
+
clear(): void;
|
|
119
|
+
/** @inheritdoc */
|
|
120
|
+
protected willUpdate(changedProperties: PropertyValues): void;
|
|
121
|
+
/** @inheritdoc */
|
|
122
|
+
protected updated(_changedProperties: PropertyValues<this>): void;
|
|
123
|
+
/** @inheritdoc */
|
|
124
|
+
protected render(): unknown;
|
|
125
|
+
/** @private */
|
|
126
|
+
private _handleFocusChange;
|
|
127
|
+
}
|
|
128
|
+
interface M3eSearchViewElementEventMap extends HTMLElementEventMap {
|
|
129
|
+
clear: Event;
|
|
130
|
+
query: CustomEvent<SearchViewQueryEventDetail>;
|
|
131
|
+
beforetoggle: ToggleEvent;
|
|
132
|
+
toggle: ToggleEvent;
|
|
133
|
+
}
|
|
134
|
+
export interface M3eSearchViewElement {
|
|
135
|
+
addEventListener<K extends keyof M3eSearchViewElementEventMap>(type: K, listener: (this: M3eSearchViewElement, ev: M3eSearchViewElementEventMap[K]) => void, options?: boolean | AddEventListenerOptions): void;
|
|
136
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
137
|
+
removeEventListener<K extends keyof M3eSearchViewElementEventMap>(type: K, listener: (this: M3eSearchViewElement, ev: M3eSearchViewElementEventMap[K]) => void, options?: boolean | EventListenerOptions): void;
|
|
138
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
139
|
+
}
|
|
140
|
+
declare global {
|
|
141
|
+
interface HTMLElementTagNameMap {
|
|
142
|
+
"m3e-search-view": M3eSearchViewElement;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
export {};
|
|
146
|
+
//# sourceMappingURL=SearchViewElement.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchViewElement.d.ts","sourceRoot":"","sources":["../../../src/search/SearchViewElement.ts"],"names":[],"mappings":"AACA,OAAO,EAAQ,UAAU,EAAW,cAAc,EAAO,MAAM,KAAK,CAAC;AAqBrE,OAAO,oBAAoB,CAAC;AAG5B,OAAO,E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AE,WAAW,CAAC,0BAA0B,CAAC,CAAC;IAC/C,YAAY,EAAE,WAAW,CAAC;IAC1B,MAAM,EAAE,WAAW,CAAC;CACrB;AAED,MAAM,WAAW,oBAAoB;IACnC,gBAAgB,CAAC,CAAC,SAAS,MAAM,4BAA4B,EAC3D,IAAI,EAAE,CAAC,EACP,QAAQ,EAAE,CAAC,IAAI,EAAE,oBAAoB,EAAE,EAAE,EAAE,4BAA4B,CAAC,CAAC,CAAC,KAAK,IAAI,EACnF,OAAO,CAAC,EAAE,OAAO,GAAG,uBAAuB,GAC1C,IAAI,CAAC;IAER,gBAAgB,CACd,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,kCAAkC,EAC5C,OAAO,CAAC,EAAE,OAAO,GAAG,uBAAuB,GAC1C,IAAI,CAAC;IAER,mBAAmB,CAAC,CAAC,SAAS,MAAM,4BAA4B,EAC9D,IAAI,EAAE,CAAC,EACP,QAAQ,EAAE,CAAC,IAAI,EAAE,oBAAoB,EAAE,EAAE,EAAE,4BAA4B,CAAC,CAAC,CAAC,KAAK,IAAI,EACnF,OAAO,CAAC,EAAE,OAAO,GAAG,oBAAoB,GACvC,IAAI,CAAC;IAER,mBAAmB,CACjB,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,kCAAkC,EAC5C,OAAO,CAAC,EAAE,OAAO,GAAG,oBAAoB,GACvC,IAAI,CAAC;CACT;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,iBAAiB,EAAE,oBAAoB,CAAC;KACzC;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchViewMode.d.ts","sourceRoot":"","sources":["../../../src/search/SearchViewMode.ts"],"names":[],"mappings":"AAAA,8DAA8D;AAC9D,MAAM,MAAM,cAAc,GAAG,YAAY,GAAG,QAAQ,GAAG,MAAM,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emitted when the search view needs data for the current term.
|
|
3
|
+
*
|
|
4
|
+
* This event fires in two situations:
|
|
5
|
+
* - When the search view opened
|
|
6
|
+
* - When the user changes the input value (the term)
|
|
7
|
+
*/
|
|
8
|
+
export interface SearchViewQueryEventDetail {
|
|
9
|
+
/** The term for which the component is requesting data. */
|
|
10
|
+
term: string;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=SearchViewQueryEventDetail.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchViewQueryEventDetail.d.ts","sourceRoot":"","sources":["../../../src/search/SearchViewQueryEventDetail.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,WAAW,0BAA0B;IACzC,2DAA2D;IAC3D,IAAI,EAAE,MAAM,CAAC;CACd"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/search/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CSSResultGroup } from "lit";
|
|
2
|
+
/**
|
|
3
|
+
* Light DOM styles for `M3eSearchBarElement`.
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const SearchBarLightDomStyle: import("lit").CSSResult;
|
|
7
|
+
/**
|
|
8
|
+
* Styles for `M3eSearchBarElement`.
|
|
9
|
+
* @internal
|
|
10
|
+
*/
|
|
11
|
+
export declare const SearchBarStyle: CSSResultGroup;
|
|
12
|
+
//# sourceMappingURL=SearchBarStyle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchBarStyle.d.ts","sourceRoot":"","sources":["../../../../src/search/styles/SearchBarStyle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,cAAc,EAAE,MAAM,KAAK,CAAC;AAI1C;;;GAGG;AACH,eAAO,MAAM,sBAAsB,yBASlC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,cAAc,EAAE,cAkG5B,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/** @internal */
|
|
2
|
+
export declare const SearchBarToken: {
|
|
3
|
+
readonly containerColor: import("lit").CSSResult;
|
|
4
|
+
readonly leadingIconColor: import("lit").CSSResult;
|
|
5
|
+
readonly trailingIconColor: import("lit").CSSResult;
|
|
6
|
+
readonly containerHeight: import("lit").CSSResult;
|
|
7
|
+
readonly containerShape: import("lit").CSSResult;
|
|
8
|
+
readonly iconSize: import("lit").CSSResult;
|
|
9
|
+
readonly supportingTextColor: import("lit").CSSResult;
|
|
10
|
+
readonly supportingTextFontSize: import("lit").CSSResult;
|
|
11
|
+
readonly supportingTextFontWeight: import("lit").CSSResult;
|
|
12
|
+
readonly supportingTextLineHeight: import("lit").CSSResult;
|
|
13
|
+
readonly supportingTextTracking: import("lit").CSSResult;
|
|
14
|
+
readonly inputColor: import("lit").CSSResult;
|
|
15
|
+
readonly inputTextFontSize: import("lit").CSSResult;
|
|
16
|
+
readonly inputTextFontWeight: import("lit").CSSResult;
|
|
17
|
+
readonly inputTextLineHeight: import("lit").CSSResult;
|
|
18
|
+
readonly inputTextTracking: import("lit").CSSResult;
|
|
19
|
+
readonly leadingSpace: import("lit").CSSResult;
|
|
20
|
+
readonly trailingSpace: import("lit").CSSResult;
|
|
21
|
+
readonly noActionsLeadingSpace: import("lit").CSSResult;
|
|
22
|
+
readonly noActionsTrailingSpace: import("lit").CSSResult;
|
|
23
|
+
readonly leadingActionsTrailingSpace: import("lit").CSSResult;
|
|
24
|
+
readonly trailingActionsLeadingSpace: import("lit").CSSResult;
|
|
25
|
+
readonly actionsGap: import("lit").CSSResult;
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=SearchBarToken.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchBarToken.d.ts","sourceRoot":"","sources":["../../../../src/search/styles/SearchBarToken.ts"],"names":[],"mappings":"AAIA,gBAAgB;AAChB,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;CAwCjB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CSSResultGroup } from "lit";
|
|
2
|
+
/**
|
|
3
|
+
* Light DOM styles for `M3eSearchViewElement`.
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const SearchViewLightDomStyle: import("lit").CSSResult;
|
|
7
|
+
/**
|
|
8
|
+
* Styles for `M3eSearchViewElement`.
|
|
9
|
+
* @internal
|
|
10
|
+
*/
|
|
11
|
+
export declare const SearchViewStyle: CSSResultGroup;
|
|
12
|
+
//# sourceMappingURL=SearchViewStyle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchViewStyle.d.ts","sourceRoot":"","sources":["../../../../src/search/styles/SearchViewStyle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,cAAc,EAAa,MAAM,KAAK,CAAC;AAOrD;;;GAGG;AACH,eAAO,MAAM,uBAAuB,yBASnC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAE,cAsO7B,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/** @internal */
|
|
2
|
+
export declare const SearchViewToken: {
|
|
3
|
+
readonly containerColor: import("lit").CSSResult;
|
|
4
|
+
readonly containedContainerColor: import("lit").CSSResult;
|
|
5
|
+
readonly dividerColor: import("lit").CSSResult;
|
|
6
|
+
readonly dividerThickness: import("lit").CSSResult;
|
|
7
|
+
readonly fullScreenContainerShape: import("lit").CSSResult;
|
|
8
|
+
readonly fullScreenHeaderContainerHeight: import("lit").CSSResult;
|
|
9
|
+
readonly dockedContainerShape: import("lit").CSSResult;
|
|
10
|
+
readonly dockedHeaderContainerHeight: import("lit").CSSResult;
|
|
11
|
+
readonly containedLeadingMargin: import("lit").CSSResult;
|
|
12
|
+
readonly containedTrailingMargin: import("lit").CSSResult;
|
|
13
|
+
readonly containedFocusedLeadingMargin: import("lit").CSSResult;
|
|
14
|
+
readonly containedFocusedTrailingMargin: import("lit").CSSResult;
|
|
15
|
+
readonly containedDockedBarResultsGap: import("lit").CSSResult;
|
|
16
|
+
readonly containedDockedResultsShape: import("lit").CSSResult;
|
|
17
|
+
readonly containedDockedBarShape: import("lit").CSSResult;
|
|
18
|
+
readonly containedFullScreenBarContainerHeight: import("lit").CSSResult;
|
|
19
|
+
readonly dockedContainerMinHeight: import("lit").CSSResult;
|
|
20
|
+
readonly dockedContainerMaxHeight: import("lit").CSSResult;
|
|
21
|
+
readonly containedDockedResultsSpace: import("lit").CSSResult;
|
|
22
|
+
readonly dockedResultsBottomSpace: import("lit").CSSResult;
|
|
23
|
+
readonly dockedScrimColor: import("lit").CSSResult;
|
|
24
|
+
readonly dockedScrimOpacity: import("lit").CSSResult;
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=SearchViewToken.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchViewToken.d.ts","sourceRoot":"","sources":["../../../../src/search/styles/SearchViewToken.ts"],"names":[],"mappings":"AAIA,gBAAgB;AAChB,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;CAmClB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/search/styles/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectElement.d.ts","sourceRoot":"","sources":["../../../src/select/SelectElement.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,cAAc,EAAQ,UAAU,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAG5E,OAAO,
|
|
1
|
+
{"version":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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SnackbarElement.d.ts","sourceRoot":"","sources":["../../../src/snackbar/SnackbarElement.ts"],"names":[],"mappings":"AAEA,OAAO,EAAO,cAAc,EAAQ,UAAU,EAAW,cAAc,EAAa,MAAM,KAAK,CAAC;AAKhG,OAAO,iBAAiB,CAAC;AACzB,OAAO,sBAAsB,CAAC;;AAE9B;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,qBACa,kBAAmB,SAAQ,uBAA0B;;
|
|
1
|
+
{"version":3,"file":"SnackbarElement.d.ts","sourceRoot":"","sources":["../../../src/snackbar/SnackbarElement.ts"],"names":[],"mappings":"AAEA,OAAO,EAAO,cAAc,EAAQ,UAAU,EAAW,cAAc,EAAa,MAAM,KAAK,CAAC;AAKhG,OAAO,iBAAiB,CAAC;AACzB,OAAO,sBAAsB,CAAC;;AAE9B;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,qBACa,kBAAmB,SAAQ,uBAA0B;;IAQhE,iCAAiC;IACjC,OAAgB,MAAM,EAAE,cAAc,CA0IpC;IAEF,eAAe,CAAC,MAAM,CAAC,SAAS,EAAE,kBAAkB,GAAG,IAAI,CAAQ;IAMnE,mCAAmC;IACnC,MAAM,KAAK,OAAO,IAAI,kBAAkB,GAAG,IAAI,CAE9C;IAED;;;OAGG;IACyB,QAAQ,SAAQ;IAE5C;;;OAGG;IACS,MAAM,SAAM;IAExB;;;OAGG;IACyC,WAAW,UAAS;IAEhE;;;OAGG;IACqC,UAAU,SAAW;IAE7D,2CAA2C;IAC3C,IAAI,aAAa,IAAI,OAAO,CAE3B;IAED,kBAAkB;IACT,iBAAiB,IAAI,IAAI;IAQlC,kBAAkB;IACT,oBAAoB,IAAI,IAAI;IAMrC,kBAAkB;cACC,MAAM;IAOzB,kBAAkB;cACC,OAAO,CAAC,kBAAkB,EAAE,cAAc,GAAG,IAAI;CAqDrE;AAED,UAAU,0BAA2B,SAAQ,mBAAmB;IAC9D,YAAY,EAAE,WAAW,CAAC;IAC1B,MAAM,EAAE,WAAW,CAAC;CACrB;AAED,MAAM,WAAW,kBAAkB;IACjC,gBAAgB,CAAC,CAAC,SAAS,MAAM,0BAA0B,EACzD,IAAI,EAAE,CAAC,EACP,QAAQ,EAAE,CAAC,IAAI,EAAE,kBAAkB,EAAE,EAAE,EAAE,0BAA0B,CAAC,CAAC,CAAC,KAAK,IAAI,EAC/E,OAAO,CAAC,EAAE,OAAO,GAAG,uBAAuB,GAC1C,IAAI,CAAC;IAER,gBAAgB,CACd,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,kCAAkC,EAC5C,OAAO,CAAC,EAAE,OAAO,GAAG,uBAAuB,GAC1C,IAAI,CAAC;IAER,mBAAmB,CAAC,CAAC,SAAS,MAAM,0BAA0B,EAC5D,IAAI,EAAE,CAAC,EACP,QAAQ,EAAE,CAAC,IAAI,EAAE,kBAAkB,EAAE,EAAE,EAAE,0BAA0B,CAAC,CAAC,CAAC,KAAK,IAAI,EAC/E,OAAO,CAAC,EAAE,OAAO,GAAG,oBAAoB,GACvC,IAAI,CAAC;IAER,mBAAmB,CACjB,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,kCAAkC,EAC5C,OAAO,CAAC,EAAE,OAAO,GAAG,oBAAoB,GACvC,IAAI,CAAC;CACT;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,cAAc,EAAE,kBAAkB,CAAC;KACpC;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepperElement.d.ts","sourceRoot":"","sources":["../../../src/stepper/StepperElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,cAAc,EAAQ,UAAU,EAAW,cAAc,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"StepperElement.d.ts","sourceRoot":"","sources":["../../../src/stepper/StepperElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,cAAc,EAAQ,UAAU,EAAW,cAAc,EAAE,MA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oB,IAAI,IAAI;IAOrC,kBAAkB;cACC,UAAU,CAAC,iBAAiB,EAAE,cAAc,GAAG,IAAI;IAqBtE,kBAAkB;cACC,MAAM,IAAI,OAAO;CA8HrC;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,aAAa,EAAE,iBAAiB,CAAC;KAClC;CACF"}
|
package/dist/stepper.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import { __decorate, __classPrivateFieldGet, __classPrivateFieldSet } from 'tslib';
|
|
7
7
|
import { LitElement, html, css, nothing } from 'lit';
|
|
8
8
|
import { state, query, property } from 'lit/decorators.js';
|
|
9
|
-
import { Role, customElement, Selected, KeyboardClick, Focusable, HtmlFor, Disabled, AttachInternals, DesignToken, ActionElementBase, addCustomState, hasCustomState, deleteCustomState, setCustomState } from '@m3e/web/core';
|
|
9
|
+
import { Role, customElement, Selected, KeyboardClick, Focusable, HtmlFor, Disabled, AttachInternals, DesignToken, ActionElementBase, addCustomState, hasCustomState, deleteCustomState, setCustomState, registerStyleSheet } from '@m3e/web/core';
|
|
10
10
|
import { addAriaReferencedId, removeAriaReferencedId, selectionManager, SelectionManager } from '@m3e/web/core/a11y';
|
|
11
11
|
import { ifDefined } from 'lit/directives/if-defined.js';
|
|
12
12
|
import { M3eBreakpointObserver, Breakpoint } from '@m3e/web/core/layout';
|
|
@@ -685,11 +685,7 @@ _M3eStepperElement_updateDisplayOrder = function _M3eStepperElement_updateDispla
|
|
|
685
685
|
}
|
|
686
686
|
};
|
|
687
687
|
(() => {
|
|
688
|
-
|
|
689
|
-
const lightDomStyle = new CSSStyleSheet();
|
|
690
|
-
lightDomStyle.replaceSync(css`m3e-stepper:not(:state(-vertical)) > .-m3e-step-divider::before { border-bottom-width: var(--m3e-step-divider-thickness, 1px); border-bottom-style: solid; border-bottom-color: var(--m3e-step-divider-color, ${DesignToken.color.outline}); } m3e-stepper:not(:state(-vertical)) > [slot="step"]:not(.-m3e-step-divider):not(:first-of-type)::before, m3e-stepper:not(:state(-vertical)) > [slot="step"]:not(.-m3e-step-divider):not(:last-of-type)::after { border-bottom-width: var(--m3e-step-divider-thickness, 1px); border-bottom-style: solid; border-bottom-color: var(--m3e-step-divider-color, ${DesignToken.color.outline}); } m3e-stepper:not(:state(-vertical))[label-position="end"] > .-m3e-step-divider { margin-block: auto; } m3e-stepper:not(:state(-vertical))[label-position="below"] > .-m3e-step-divider::before, m3e-stepper:not(:state(-vertical))[label-position="below"] > [slot="step"]:not(.-m3e-step-divider):not(:first-of-type)::before, m3e-stepper:not(:state(-vertical))[label-position="below"] > [slot="step"]:not(.-m3e-step-divider):not(:last-of-type)::after { margin-block-start: calc(var(--m3e-step-padding, 1.5rem) + calc(var(--m3e-step-icon-size, 1.5rem) / 2)); } m3e-stepper:state(-vertical) > [slot="panel"] { margin-inline-start: calc(var(--m3e-step-padding, 1.5rem) + calc(var(--m3e-step-icon-size, 1.5rem) / 2)); } m3e-stepper:state(-vertical) > [slot="panel"]:not(:last-of-type) { border-inline-start-width: var(--m3e-step-divider-thickness, 1px); border-inline-start-style: solid; border-inline-start-color: var(--m3e-step-divider-color, ${DesignToken.color.outline}); } m3e-stepper:state(-vertical) > [slot="step"]:not(.-m3e-step-divider):not(:first-of-type)::before, m3e-stepper:state(-vertical) > [slot="step"]:not(.-m3e-step-divider):not(:last-of-type)::after { margin-inline-start: calc(var(--m3e-step-padding, 1.5rem) + calc(var(--m3e-step-icon-size, 1.5rem) / 2)); border-inline-start-width: var(--m3e-step-divider-thickness, 1px); border-inline-start-style: solid; border-inline-start-color: var(--m3e-step-divider-color, ${DesignToken.color.outline}); }`.toString());
|
|
691
|
-
document.adoptedStyleSheets = [...document.adoptedStyleSheets, lightDomStyle];
|
|
692
|
-
}
|
|
688
|
+
registerStyleSheet(css`m3e-stepper:not(:state(-vertical)) > .-m3e-step-divider::before { border-bottom-width: var(--m3e-step-divider-thickness, 1px); border-bottom-style: solid; border-bottom-color: var(--m3e-step-divider-color, ${DesignToken.color.outline}); } m3e-stepper:not(:state(-vertical)) > [slot="step"]:not(.-m3e-step-divider):not(:first-of-type)::before, m3e-stepper:not(:state(-vertical)) > [slot="step"]:not(.-m3e-step-divider):not(:last-of-type)::after { border-bottom-width: var(--m3e-step-divider-thickness, 1px); border-bottom-style: solid; border-bottom-color: var(--m3e-step-divider-color, ${DesignToken.color.outline}); } m3e-stepper:not(:state(-vertical))[label-position="end"] > .-m3e-step-divider { margin-block: auto; } m3e-stepper:not(:state(-vertical))[label-position="below"] > .-m3e-step-divider::before, m3e-stepper:not(:state(-vertical))[label-position="below"] > [slot="step"]:not(.-m3e-step-divider):not(:first-of-type)::before, m3e-stepper:not(:state(-vertical))[label-position="below"] > [slot="step"]:not(.-m3e-step-divider):not(:last-of-type)::after { margin-block-start: calc(var(--m3e-step-padding, 1.5rem) + calc(var(--m3e-step-icon-size, 1.5rem) / 2)); } m3e-stepper:state(-vertical) > [slot="panel"] { margin-inline-start: calc(var(--m3e-step-padding, 1.5rem) + calc(var(--m3e-step-icon-size, 1.5rem) / 2)); } m3e-stepper:state(-vertical) > [slot="panel"]:not(:last-of-type) { border-inline-start-width: var(--m3e-step-divider-thickness, 1px); border-inline-start-style: solid; border-inline-start-color: var(--m3e-step-divider-color, ${DesignToken.color.outline}); } m3e-stepper:state(-vertical) > [slot="step"]:not(.-m3e-step-divider):not(:first-of-type)::before, m3e-stepper:state(-vertical) > [slot="step"]:not(.-m3e-step-divider):not(:last-of-type)::after { margin-inline-start: calc(var(--m3e-step-padding, 1.5rem) + calc(var(--m3e-step-icon-size, 1.5rem) / 2)); border-inline-start-width: var(--m3e-step-divider-thickness, 1px); border-inline-start-style: solid; border-inline-start-color: var(--m3e-step-divider-color, ${DesignToken.color.outline}); }`);
|
|
693
689
|
})();
|
|
694
690
|
/** The styles of the element. */
|
|
695
691
|
M3eStepperElement.styles = css`:host { display: flex; flex-direction: column; position: relative; } :host(:not(:state(-vertical))) .header { display: flex; align-items: flex-start; flex-wrap: nowrap; } :host(:not(:state(-vertical))) ::slotted(.-m3e-step-divider) { flex: 1 1 auto; position: relative; min-width: 2rem; } :host(:not(:state(-vertical))) ::slotted(.-m3e-step-divider)::before { content: ""; position: absolute; left: 0; right: 0; } :host(:not(:state(-vertical)):not([label-position="below"])) ::slotted(.-m3e-step-divider)::before { top: 50%; } :host(:not(:state(-vertical))) ::slotted([slot="step"]) { align-self: stretch; } :host(:not(:state(-vertical))) ::slotted([slot="step"]:not(.-m3e-step-divider):not(:first-of-type))::before, :host(:not(:state(-vertical))) ::slotted([slot="step"]:not(.-m3e-step-divider):not(:last-of-type))::after { content: ""; display: block; position: absolute; top: 0; } :host(:not(:state(-vertical))[label-position="end"]) ::slotted([slot="step"]:not(.-m3e-step-divider):not(:first-of-type))::before, :host(:not(:state(-vertical))[label-position="end"]) ::slotted([slot="step"]:not(.-m3e-step-divider):not(:last-of-type))::after { top: 50%; } :host(:not(:dir(rtl)):not(:state(-vertical))[label-position="end"]) ::slotted([slot="step"]:not(.-m3e-step-divider):not(:first-of-type))::before { left: 0; right: calc(100% - var(--m3e-step-padding, 1.5rem) + var(--m3e-step-divider-inset, 0.5rem)); } :host(:dir(rtl):not(:state(-vertical))[label-position="end"]) ::slotted([slot="step"]:not(.-m3e-step-divider):not(:first-of-type))::before { right: 0; left: calc(100% - var(--m3e-step-padding, 1.5rem) + var(--m3e-step-divider-inset, 0.5rem)); } :host(:not(:dir(rtl)):not(:state(-vertical))[label-position="end"]) ::slotted([slot="step"]:not(.-m3e-step-divider):not(:last-of-type))::after { left: calc(100% - var(--m3e-step-padding, 1.5rem) + var(--m3e-step-divider-inset, 0.5rem)); right: 0; } :host(:dir(rtl):not(:state(-vertical))[label-position="end"]) ::slotted([slot="step"]:not(.-m3e-step-divider):not(:last-of-type))::after { right: calc(100% - var(--m3e-step-padding, 1.5rem) + var(--m3e-step-divider-inset, 0.5rem)); left: 0; } :host(:not(:dir(rtl)):not(:state(-vertical))[label-position="below"]) ::slotted([slot="step"]:not(.-m3e-step-divider):not(:first-of-type))::before { left: 0; right: calc(50% + calc(var(--m3e-step-icon-size, 1.5rem) / 2) + var(--m3e-step-divider-inset, 0.5rem)); } :host(:dir(rtl):not(:state(-vertical))[label-position="below"]) ::slotted([slot="step"]:not(.-m3e-step-divider):not(:first-of-type))::before { right: 0; left: calc(50% + calc(var(--m3e-step-icon-size, 1.5rem) / 2) + var(--m3e-step-divider-inset, 0.5rem)); } :host(:not(:dir(rtl)):not(:state(-vertical))[label-position="below"]) ::slotted([slot="step"]:not(.-m3e-step-divider):not(:last-of-type))::after { left: calc(50% + calc(var(--m3e-step-icon-size, 1.5rem) / 2) + var(--m3e-step-divider-inset, 0.5rem)); right: 0; } :host(:dir(rtl):not(:state(-vertical))[label-position="below"]) ::slotted([slot="step"]:not(.-m3e-step-divider):not(:last-of-type))::after { right: calc(50% + calc(var(--m3e-step-icon-size, 1.5rem) / 2) + var(--m3e-step-divider-inset, 0.5rem)); left: 0; } :host(:not(:state(-vertical))[label-position="below"]) { --_step-direction: column; --_step-label-align-items: center; } :host(:state(-vertical)) .header { display: contents; } :host(:state(-vertical)) ::slotted([slot="step"]:not(.-m3e-step-divider)) { flex: none; } :host(:state(-vertical)) ::slotted([slot="step"]:not(.-m3e-step-divider):not(:first-of-type))::before, :host(:state(-vertical)) ::slotted([slot="step"]:not(.-m3e-step-divider):not(:last-of-type))::after { content: ""; display: block; position: absolute; left: 0; } :host(:state(-vertical)) ::slotted([slot="step"]:not(.-m3e-step-divider):not(:first-of-type))::before { top: 0; bottom: calc(100% - var(--m3e-step-padding, 1.5rem) + var(--m3e-step-divider-inset, 0.5rem)); } :host(:state(-vertical)) ::slotted([slot="step"]:not(.-m3e-step-divider):not(:last-of-type))::after { top: calc(100% - var(--m3e-step-padding, 1.5rem) + var(--m3e-step-divider-inset, 0.5rem)); bottom: 0; } :host(:not(:state(-vertical))) { --m3e-collapsible-animation-duration: 0ms; } :host(:state(-no-animate)) { --m3e-collapsible-animation-duration: 0ms; }`;
|