@watermarkinsights/ripple 5.19.0 → 5.19.1-alpha.1
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/dist/cjs/{app-globals-8b6a68ee.js → app-globals-655125a4.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/priv-option-list.cjs.entry.js +2 -4
- package/dist/cjs/ripple.cjs.js +2 -2
- package/dist/cjs/wm-option_2.cjs.entry.js +186 -95
- package/dist/collection/components/selects/priv-option-list/priv-option-list.js +2 -4
- package/dist/collection/components/selects/wm-select/wm-select.css +79 -51
- package/dist/collection/components/selects/wm-select/wm-select.js +197 -110
- package/dist/esm/{app-globals-c35ae7d2.js → app-globals-a1fae3d1.js} +1 -1
- package/dist/esm/{chartFunctions-3a54f8ac.js → chartFunctions-613e9c87.js} +1 -1
- package/dist/esm/{functions-669184a6.js → functions-38e392cb.js} +1 -1
- package/dist/esm/{intl-7906e2d7.js → intl-0b8f342e.js} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/priv-calendar.entry.js +1 -1
- package/dist/esm/priv-chart-popover.entry.js +1 -1
- package/dist/esm/priv-option-list.entry.js +4 -6
- package/dist/esm/ripple.js +2 -2
- package/dist/esm/wm-action-menu_2.entry.js +1 -1
- package/dist/esm/wm-button.entry.js +1 -1
- package/dist/esm/wm-chart.entry.js +3 -3
- package/dist/esm/wm-date-range.entry.js +1 -1
- package/dist/esm/wm-datepicker.entry.js +1 -1
- package/dist/esm/wm-file.entry.js +1 -1
- package/dist/esm/wm-flyout.entry.js +2 -2
- package/dist/esm/wm-input.entry.js +2 -2
- package/dist/esm/wm-line-chart.entry.js +3 -3
- package/dist/esm/wm-modal-pss_3.entry.js +2 -2
- package/dist/esm/wm-modal_3.entry.js +2 -2
- package/dist/esm/wm-navigation_3.entry.js +2 -2
- package/dist/esm/wm-navigator.entry.js +1 -1
- package/dist/esm/wm-nested-select.entry.js +2 -2
- package/dist/esm/wm-optgroup.entry.js +1 -1
- package/dist/esm/wm-option_2.entry.js +188 -97
- package/dist/esm/wm-pagination.entry.js +2 -2
- package/dist/esm/wm-progress-indicator_3.entry.js +2 -2
- package/dist/esm/wm-search.entry.js +2 -2
- package/dist/esm/wm-snackbar.entry.js +2 -2
- package/dist/esm/wm-tab-item_3.entry.js +1 -1
- package/dist/esm/wm-tag-input.entry.js +2 -2
- package/dist/esm/wm-tag-option.entry.js +1 -1
- package/dist/esm/wm-textarea.entry.js +2 -2
- package/dist/esm/wm-timepicker.entry.js +1 -1
- package/dist/esm/wm-toggletip.entry.js +1 -1
- package/dist/esm/wm-uploader.entry.js +2 -2
- package/dist/esm-es5/app-globals-a1fae3d1.js +1 -0
- package/dist/esm-es5/{chartFunctions-3a54f8ac.js → chartFunctions-613e9c87.js} +1 -1
- package/dist/esm-es5/{functions-669184a6.js → functions-38e392cb.js} +1 -1
- package/dist/esm-es5/{intl-7906e2d7.js → intl-0b8f342e.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/priv-calendar.entry.js +1 -1
- package/dist/esm-es5/priv-chart-popover.entry.js +1 -1
- package/dist/esm-es5/priv-option-list.entry.js +1 -1
- package/dist/esm-es5/ripple.js +1 -1
- package/dist/esm-es5/wm-action-menu_2.entry.js +1 -1
- package/dist/esm-es5/wm-button.entry.js +1 -1
- package/dist/esm-es5/wm-chart.entry.js +1 -1
- package/dist/esm-es5/wm-date-range.entry.js +1 -1
- package/dist/esm-es5/wm-datepicker.entry.js +1 -1
- package/dist/esm-es5/wm-file.entry.js +1 -1
- package/dist/esm-es5/wm-flyout.entry.js +1 -1
- package/dist/esm-es5/wm-input.entry.js +1 -1
- package/dist/esm-es5/wm-line-chart.entry.js +1 -1
- package/dist/esm-es5/wm-modal-pss_3.entry.js +1 -1
- package/dist/esm-es5/wm-modal_3.entry.js +1 -1
- package/dist/esm-es5/wm-navigation_3.entry.js +1 -1
- package/dist/esm-es5/wm-navigator.entry.js +1 -1
- package/dist/esm-es5/wm-nested-select.entry.js +1 -1
- package/dist/esm-es5/wm-optgroup.entry.js +1 -1
- package/dist/esm-es5/wm-option_2.entry.js +1 -1
- package/dist/esm-es5/wm-pagination.entry.js +1 -1
- package/dist/esm-es5/wm-progress-indicator_3.entry.js +1 -1
- package/dist/esm-es5/wm-search.entry.js +1 -1
- package/dist/esm-es5/wm-snackbar.entry.js +1 -1
- package/dist/esm-es5/wm-tab-item_3.entry.js +1 -1
- package/dist/esm-es5/wm-tag-input.entry.js +1 -1
- package/dist/esm-es5/wm-tag-option.entry.js +1 -1
- package/dist/esm-es5/wm-textarea.entry.js +1 -1
- package/dist/esm-es5/wm-timepicker.entry.js +1 -1
- package/dist/esm-es5/wm-toggletip.entry.js +1 -1
- package/dist/esm-es5/wm-uploader.entry.js +1 -1
- package/dist/ripple/{p-6d32911c.system.entry.js → p-00eaa361.system.entry.js} +1 -1
- package/dist/ripple/{p-c85dae6b.entry.js → p-0825151e.entry.js} +1 -1
- package/dist/ripple/{p-4886fc88.entry.js → p-0a46b050.entry.js} +1 -1
- package/dist/ripple/{p-c70fa14f.entry.js → p-0bce3f83.entry.js} +1 -1
- package/dist/ripple/{p-69b38da5.entry.js → p-118093e1.entry.js} +1 -1
- package/dist/ripple/{p-1eb2ec31.system.entry.js → p-1de87de8.system.entry.js} +1 -1
- package/dist/ripple/p-2109b442.system.js +1 -0
- package/dist/ripple/{p-ec9f782e.entry.js → p-26667070.entry.js} +1 -1
- package/dist/ripple/{p-55cdfcb4.system.entry.js → p-2b7259cb.system.entry.js} +1 -1
- package/dist/ripple/{p-ff6b7376.system.entry.js → p-2db6573e.system.entry.js} +1 -1
- package/dist/ripple/{p-96a7c1b9.system.entry.js → p-2f82bfb9.system.entry.js} +1 -1
- package/dist/ripple/{p-6bf103b8.system.entry.js → p-303bf140.system.entry.js} +1 -1
- package/dist/ripple/{p-1efa25b5.system.entry.js → p-3133ce3c.system.entry.js} +1 -1
- package/dist/ripple/{p-9ac6957b.entry.js → p-31bac55d.entry.js} +1 -1
- package/dist/ripple/{p-57f9c7c3.entry.js → p-35d93c19.entry.js} +1 -1
- package/dist/ripple/{p-c1d6740e.entry.js → p-374f46f4.entry.js} +1 -1
- package/dist/ripple/p-39936fc9.system.entry.js +1 -0
- package/dist/ripple/{p-21c100d8.entry.js → p-39a4934f.entry.js} +1 -1
- package/dist/ripple/{p-0c20a096.system.entry.js → p-3d8754ba.system.entry.js} +1 -1
- package/dist/ripple/p-3d9e7bad.js +1 -0
- package/dist/ripple/{p-54759960.entry.js → p-41664372.entry.js} +1 -1
- package/dist/ripple/{p-c8dfc321.system.entry.js → p-44cc05f6.system.entry.js} +1 -1
- package/dist/ripple/{p-c73882de.system.entry.js → p-4602304a.system.entry.js} +1 -1
- package/dist/ripple/p-4b322285.entry.js +1 -0
- package/dist/ripple/{p-bb364d6b.entry.js → p-4b8f7d1e.entry.js} +1 -1
- package/dist/ripple/{p-b55883ee.entry.js → p-4d0abf7a.entry.js} +1 -1
- package/dist/ripple/{p-26ab5004.system.entry.js → p-5405df80.system.entry.js} +1 -1
- package/dist/ripple/{p-88a7ccee.system.js → p-608971f2.system.js} +1 -1
- package/dist/ripple/{p-6ec4129b.entry.js → p-60e16c79.entry.js} +1 -1
- package/dist/ripple/{p-dfdcdae0.system.entry.js → p-63233a4b.system.entry.js} +1 -1
- package/dist/ripple/p-63caa791.system.js +1 -0
- package/dist/ripple/{p-95f19440.system.js → p-65abcbb4.system.js} +1 -1
- package/dist/ripple/{p-65d3f9c4.system.entry.js → p-667fdcbb.system.entry.js} +1 -1
- package/dist/ripple/{p-68e90b50.system.entry.js → p-6a70dc0b.system.entry.js} +1 -1
- package/dist/ripple/{p-7d708fab.entry.js → p-6f38976c.entry.js} +1 -1
- package/dist/ripple/{p-d784f4b4.entry.js → p-700ca4a0.entry.js} +1 -1
- package/dist/ripple/{p-7394f4e9.system.entry.js → p-7134a305.system.entry.js} +1 -1
- package/dist/ripple/{p-047e510d.entry.js → p-7c3bf608.entry.js} +1 -1
- package/dist/ripple/{p-176dcfc0.system.js → p-7edd25f7.system.js} +1 -1
- package/dist/ripple/{p-8c73dadf.system.entry.js → p-85830dbc.system.entry.js} +1 -1
- package/dist/ripple/{p-ebfa5876.entry.js → p-86a61a2a.entry.js} +1 -1
- package/dist/ripple/{p-009a6e5a.entry.js → p-8e2f3a45.entry.js} +1 -1
- package/dist/ripple/{p-a0ef456d.entry.js → p-8ec6ec53.entry.js} +1 -1
- package/dist/ripple/{p-71cc21a4.entry.js → p-908057b2.entry.js} +1 -1
- package/dist/ripple/{p-dbc3a44d.entry.js → p-9202d9e9.entry.js} +1 -1
- package/dist/ripple/{p-0ae9b6d3.js → p-92c8361f.js} +1 -1
- package/dist/ripple/{p-ad10664f.entry.js → p-957f13fb.entry.js} +1 -1
- package/dist/ripple/{p-1ad6c15b.entry.js → p-9609d8e7.entry.js} +1 -1
- package/dist/ripple/{p-3c9972a6.system.entry.js → p-960d2cf0.system.entry.js} +1 -1
- package/dist/ripple/{p-22d4c7e0.system.entry.js → p-96f86eb4.system.entry.js} +1 -1
- package/dist/ripple/{p-ea10c498.entry.js → p-9e89655f.entry.js} +1 -1
- package/dist/ripple/{p-f8fd7172.system.entry.js → p-a14dee02.system.entry.js} +1 -1
- package/dist/ripple/{p-222624ae.entry.js → p-a5c5c64c.entry.js} +1 -1
- package/dist/ripple/{p-dfa30c3d.entry.js → p-a7cde3fc.entry.js} +1 -1
- package/dist/ripple/{p-acb4d87c.system.entry.js → p-abcdd7be.system.entry.js} +1 -1
- package/dist/ripple/{p-6a40014e.system.entry.js → p-b1fb99e4.system.entry.js} +1 -1
- package/dist/ripple/{p-91669f66.js → p-b511ebfd.js} +1 -1
- package/dist/ripple/{p-036fd03b.system.entry.js → p-bde7e77b.system.entry.js} +1 -1
- package/dist/ripple/{p-328b9560.entry.js → p-be87d02c.entry.js} +1 -1
- package/dist/ripple/{p-c0f4f1ea.system.entry.js → p-c7f3ef7f.system.entry.js} +1 -1
- package/dist/ripple/{p-4b0b66e0.system.entry.js → p-ce9bb8ac.system.entry.js} +1 -1
- package/dist/ripple/{p-1806e50b.js → p-d815809f.js} +1 -1
- package/dist/ripple/{p-fb61a10e.system.entry.js → p-e5c34af5.system.entry.js} +1 -1
- package/dist/ripple/{p-e1a15515.system.entry.js → p-e660d0b8.system.entry.js} +1 -1
- package/dist/ripple/{p-66489ded.entry.js → p-ecd1c2ba.entry.js} +1 -1
- package/dist/ripple/{p-5bf2eb50.system.entry.js → p-f4390a0a.system.entry.js} +1 -1
- package/dist/ripple/{p-ae2520e4.entry.js → p-f91fc18d.entry.js} +1 -1
- package/dist/ripple/{p-1841c319.system.entry.js → p-f9bbb123.system.entry.js} +1 -1
- package/dist/ripple/{p-25c17efe.system.entry.js → p-fbad04d7.system.entry.js} +1 -1
- package/dist/ripple/ripple.esm.js +1 -1
- package/dist/ripple/ripple.js +1 -1
- package/dist/types/components/selects/wm-select/wm-select.d.ts +17 -9
- package/package.json +2 -2
- package/dist/esm-es5/app-globals-c35ae7d2.js +0 -1
- package/dist/ripple/p-03759d86.system.entry.js +0 -1
- package/dist/ripple/p-365c4ea1.js +0 -1
- package/dist/ripple/p-63a10406.system.js +0 -1
- package/dist/ripple/p-7e6353f2.system.js +0 -1
- package/dist/ripple/p-9e1ea6e2.entry.js +0 -1
|
@@ -349,9 +349,7 @@ export class PrivOptionList {
|
|
|
349
349
|
: selectMessages.optgroupSingleSelectionCount())))));
|
|
350
350
|
}
|
|
351
351
|
renderSearchField() {
|
|
352
|
-
return (h("div", { class: "search" }, h("div", { class: "searchfield-wrapper", ref: (el) => (this.searchFieldWrapperEl = el) }, h("div", { class: "svg-icon svg-search" }), h("input", { ref: (el) => (this.searchFieldEl = el), class: "searchfield", role: "combobox", "aria-controls": "list",
|
|
353
|
-
// aria-expanded={this.isExpanded ? "true" : "false"}
|
|
354
|
-
onKeyDown: (ev) => this.handleKeyDown(ev), onFocus: () => this.searchFieldWrapperEl.classList.add("focus"), onBlur: (ev) => this.handleSearchFieldBlur(ev), onInput: () => this.debouncedSearch(), placeholder: this.searchPlaceholder }))));
|
|
352
|
+
return (h("div", { class: "search" }, h("div", { class: "searchfield-wrapper", ref: (el) => (this.searchFieldWrapperEl = el) }, h("div", { class: "svg-icon svg-search" }), h("input", { ref: (el) => (this.searchFieldEl = el), class: "searchfield", role: "combobox", "aria-controls": "list", onKeyDown: (ev) => this.handleKeyDown(ev), onFocus: () => this.searchFieldWrapperEl.classList.add("focus"), onBlur: (ev) => this.handleSearchFieldBlur(ev), onInput: () => this.debouncedSearch(), placeholder: this.searchPlaceholder }))));
|
|
355
353
|
}
|
|
356
354
|
renderSearchFailedMessage() {
|
|
357
355
|
return h("div", { class: "search-results-message" }, selectMessages.noSearchResults);
|
|
@@ -369,7 +367,7 @@ export class PrivOptionList {
|
|
|
369
367
|
return (h("div", { class: "non-options-wrapper" }, this.isInNestedSelect && this.renderReturnBtn(), this.search && this.renderSearchField(), this.visibleSelectAllButton && this.renderSelectAllButton()));
|
|
370
368
|
}
|
|
371
369
|
render() {
|
|
372
|
-
return (h("div", { key: '
|
|
370
|
+
return (h("div", { key: '9f19650526738eefcf2e2de58b812d9d0d3a21af', class: "list-wrapper" }, (this.isInNestedSelect || this.search || this.visibleSelectAllButton) && this.renderNonOptions(), h("div", { key: '381b60f8cb2dc58f7c268e75e6d0e78879393f0d', id: "list", class: "options-wrapper", tabindex: -1, role: "listbox", "aria-multiselectable": this.multiple ? "true" : null, "aria-labelledby": "label", ref: (el) => (this.listboxEl = el), style: { "--max-height": this.effectiveMaxHeight } }, this.searchTerm && this.filteredOptions.length === 0 && this.renderSearchFailedMessage(), this.multiple && this.renderCloneOptions(), h("slot", { key: '6a99161cdb2d3c4b6b1bfbe9b4af333daa4704de' })), h("div", { key: '8cee667df6aa79c7db5511858a73f68e911cc566', id: "optionlist-announcement", "aria-live": "polite", "aria-atomic": "true", class: "sr-only", ref: (el) => (this.liveRegionEl = el) }, this.announcement)));
|
|
373
371
|
}
|
|
374
372
|
static get is() { return "priv-option-list"; }
|
|
375
373
|
static get originalStyleUrls() {
|
|
@@ -878,6 +878,10 @@
|
|
|
878
878
|
--wmcolor-select-selectall-border: var(--wmcolor-select-option-border);
|
|
879
879
|
--wmcolor-select-selectall-text: var(--wmcolor-interactive);
|
|
880
880
|
--wmcolor-select-text: var(--wmcolor-interactive);
|
|
881
|
+
--button-width: auto;
|
|
882
|
+
--dropdown-left: 0;
|
|
883
|
+
--dropdown-translate-y: 0;
|
|
884
|
+
--dropdown-max-height: none;
|
|
881
885
|
position: relative;
|
|
882
886
|
display: block;
|
|
883
887
|
box-sizing: border-box;
|
|
@@ -975,14 +979,16 @@
|
|
|
975
979
|
margin-left: 0.75rem;
|
|
976
980
|
}
|
|
977
981
|
|
|
978
|
-
.
|
|
982
|
+
.button-wrapper {
|
|
979
983
|
position: relative;
|
|
980
984
|
flex: 1;
|
|
981
985
|
font-size: 1.125rem;
|
|
982
986
|
color: var(--wmcolor-select-text);
|
|
983
987
|
min-width: 8.75rem;
|
|
984
988
|
}
|
|
985
|
-
|
|
989
|
+
|
|
990
|
+
.displayedoption {
|
|
991
|
+
anchor-name: --select-button;
|
|
986
992
|
-webkit-border-radius: 3px;
|
|
987
993
|
-moz-border-radius: 3px;
|
|
988
994
|
-ms-border-radius: 3px;
|
|
@@ -1009,118 +1015,124 @@
|
|
|
1009
1015
|
text-align: left;
|
|
1010
1016
|
}
|
|
1011
1017
|
@media only screen and (max-width: 768px) {
|
|
1012
|
-
.
|
|
1018
|
+
.displayedoption {
|
|
1013
1019
|
height: 2.75rem;
|
|
1014
1020
|
}
|
|
1015
1021
|
}
|
|
1016
|
-
.
|
|
1022
|
+
.displayedoption .expand-icon {
|
|
1017
1023
|
--icon-size: 1.125rem;
|
|
1018
1024
|
position: absolute;
|
|
1019
1025
|
inset-inline-end: 0.5625rem;
|
|
1020
1026
|
}
|
|
1021
|
-
.
|
|
1027
|
+
.displayedoption:hover:not(:disabled):not(.-disabled):not(.-raised) {
|
|
1022
1028
|
background: var(--wmcolor-select-background);
|
|
1023
1029
|
text-decoration: none;
|
|
1024
1030
|
}
|
|
1025
|
-
.
|
|
1031
|
+
.displayedoption:active {
|
|
1026
1032
|
-ms-transform: initial;
|
|
1027
1033
|
transform: initial;
|
|
1028
1034
|
}
|
|
1029
|
-
.
|
|
1035
|
+
.displayedoption:focus {
|
|
1030
1036
|
outline: none;
|
|
1031
1037
|
}
|
|
1032
|
-
.
|
|
1038
|
+
.displayedoption::-moz-focus-inner {
|
|
1033
1039
|
border: 0;
|
|
1034
1040
|
}
|
|
1035
|
-
.
|
|
1041
|
+
.displayedoption:focus-visible {
|
|
1036
1042
|
outline: 3px solid var(--wmcolor-interactive-focus);
|
|
1037
1043
|
outline-offset: 2px;
|
|
1038
1044
|
}
|
|
1039
|
-
.
|
|
1045
|
+
.displayedoption .overflowcontrol {
|
|
1040
1046
|
display: block;
|
|
1041
1047
|
white-space: nowrap;
|
|
1042
1048
|
text-overflow: ellipsis;
|
|
1043
1049
|
overflow: hidden;
|
|
1044
1050
|
flex: 1;
|
|
1045
1051
|
}
|
|
1046
|
-
.
|
|
1052
|
+
.displayedoption .overflowcontrol.hassubinfo {
|
|
1047
1053
|
display: flex;
|
|
1048
1054
|
}
|
|
1049
|
-
.
|
|
1055
|
+
.displayedoption .overflowcontrol.hassubinfo .button-text {
|
|
1050
1056
|
flex: 1;
|
|
1051
1057
|
text-overflow: ellipsis;
|
|
1052
1058
|
overflow: hidden;
|
|
1053
1059
|
min-width: 0;
|
|
1054
1060
|
}
|
|
1055
|
-
.
|
|
1061
|
+
.displayedoption .overflowcontrol.hassubinfo .subinfo {
|
|
1056
1062
|
flex: none;
|
|
1057
1063
|
font-style: italic;
|
|
1058
1064
|
}
|
|
1059
|
-
.
|
|
1065
|
+
.displayedoption .overflow-counter {
|
|
1060
1066
|
font-weight: bold;
|
|
1061
1067
|
margin-left: 0.5rem;
|
|
1062
1068
|
}
|
|
1063
|
-
|
|
1069
|
+
|
|
1070
|
+
.displayedoption[disabled] {
|
|
1064
1071
|
color: var(--wmcolor-select-option-text-disabled);
|
|
1065
1072
|
border-color: var(--wmcolor-border-dark);
|
|
1066
1073
|
background: var(--wmcolor-select-option-background-disabled);
|
|
1067
1074
|
cursor: default;
|
|
1068
1075
|
}
|
|
1069
|
-
|
|
1070
|
-
|
|
1076
|
+
|
|
1077
|
+
.dropdown {
|
|
1078
|
+
margin: 0;
|
|
1079
|
+
padding: 0;
|
|
1080
|
+
width: unset;
|
|
1071
1081
|
-webkit-box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.2);
|
|
1072
1082
|
-moz-box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.2);
|
|
1073
1083
|
box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.2);
|
|
1074
|
-
|
|
1075
|
-
-webkit-transition: transform 0.25s ease;
|
|
1076
|
-
-moz-transition: transform 0.25s ease;
|
|
1077
|
-
transition: transform 0.25s ease;
|
|
1078
|
-
-ms-transform: scale(1, 0);
|
|
1079
|
-
-webkit-transform: scale(1, 0);
|
|
1080
|
-
-moz-transform: scale(1, 0);
|
|
1081
|
-
transform: scale(1, 0);
|
|
1082
|
-
-ms-transform-origin: center top;
|
|
1083
|
-
-webkit-transform-origin: center top;
|
|
1084
|
-
-moz-transform-origin: center top;
|
|
1085
|
-
transform-origin: center top;
|
|
1084
|
+
border: none;
|
|
1086
1085
|
-webkit-border-radius: 3px;
|
|
1087
1086
|
-moz-border-radius: 3px;
|
|
1088
1087
|
-ms-border-radius: 3px;
|
|
1089
1088
|
border-radius: 3px;
|
|
1090
|
-
|
|
1091
|
-
top: 40px;
|
|
1092
|
-
right: 0;
|
|
1089
|
+
-webkit-overflow-scrolling: touch;
|
|
1093
1090
|
background: var(--wmcolor-select-option-background);
|
|
1094
|
-
z-index: 100;
|
|
1095
|
-
width: 100%;
|
|
1096
1091
|
font-size: 0.875rem;
|
|
1097
1092
|
max-height: var(--max-height);
|
|
1098
1093
|
overflow-y: auto;
|
|
1099
1094
|
}
|
|
1100
|
-
.
|
|
1101
|
-
top: unset;
|
|
1102
|
-
bottom: 100%;
|
|
1103
|
-
-ms-transform-origin: center bottom;
|
|
1104
|
-
-webkit-transform-origin: center bottom;
|
|
1105
|
-
-moz-transform-origin: center bottom;
|
|
1106
|
-
transform-origin: center bottom;
|
|
1107
|
-
}
|
|
1108
|
-
.wrapper .button-wrapper > .dropdown.hidden {
|
|
1095
|
+
.dropdown.hidden {
|
|
1109
1096
|
visibility: hidden;
|
|
1110
1097
|
}
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1098
|
+
|
|
1099
|
+
@supports (top: anchor(bottom)) {
|
|
1100
|
+
.dropdown:popover-open {
|
|
1101
|
+
transform: scaleY(1);
|
|
1102
|
+
transition: transform 0.25s ease;
|
|
1103
|
+
position: absolute;
|
|
1104
|
+
position-anchor: --select-button;
|
|
1105
|
+
top: anchor(bottom);
|
|
1106
|
+
left: anchor(left);
|
|
1107
|
+
right: anchor(right);
|
|
1108
|
+
position-try-fallbacks: --pop-downward, --pop-upward;
|
|
1109
|
+
transform-origin: center top;
|
|
1110
|
+
}
|
|
1111
|
+
.dropdown:popover-open.upward {
|
|
1112
|
+
transform-origin: center bottom;
|
|
1113
|
+
}
|
|
1114
|
+
@starting-style {
|
|
1115
|
+
.dropdown:popover-open {
|
|
1116
|
+
transform: scaleY(0);
|
|
1117
|
+
}
|
|
1118
|
+
}
|
|
1119
|
+
@position-try --pop-downward {
|
|
1120
|
+
bottom: unset;
|
|
1121
|
+
top: anchor(bottom);
|
|
1122
|
+
}
|
|
1123
|
+
@position-try --pop-upward {
|
|
1124
|
+
top: unset;
|
|
1125
|
+
bottom: anchor(top);
|
|
1126
|
+
}
|
|
1116
1127
|
}
|
|
1117
|
-
.
|
|
1128
|
+
.invalid .displayedoption {
|
|
1118
1129
|
-webkit-box-shadow: 0 0 0 1px var(--wmcolor-border-error);
|
|
1119
1130
|
-moz-box-shadow: 0 0 0 1px var(--wmcolor-border-error);
|
|
1120
1131
|
box-shadow: 0 0 0 1px var(--wmcolor-border-error);
|
|
1121
1132
|
border-color: var(--wmcolor-border-error);
|
|
1122
1133
|
}
|
|
1123
|
-
|
|
1134
|
+
|
|
1135
|
+
.error-message {
|
|
1124
1136
|
display: block;
|
|
1125
1137
|
font-style: italic;
|
|
1126
1138
|
color: var(--wmcolor-text-error);
|
|
@@ -1129,7 +1141,7 @@
|
|
|
1129
1141
|
top: 100%;
|
|
1130
1142
|
left: 0;
|
|
1131
1143
|
}
|
|
1132
|
-
.
|
|
1144
|
+
.error-message:not(:empty) {
|
|
1133
1145
|
margin-top: 0.25rem;
|
|
1134
1146
|
}
|
|
1135
1147
|
|
|
@@ -1159,4 +1171,20 @@
|
|
|
1159
1171
|
.rtl > .displayedoption:before {
|
|
1160
1172
|
right: auto;
|
|
1161
1173
|
left: 0.5625rem;
|
|
1174
|
+
}
|
|
1175
|
+
|
|
1176
|
+
@supports not (top: anchor(bottom)) {
|
|
1177
|
+
.dropdown {
|
|
1178
|
+
position: fixed !important;
|
|
1179
|
+
z-index: 30;
|
|
1180
|
+
inset: auto;
|
|
1181
|
+
width: var(--button-width, auto) !important;
|
|
1182
|
+
top: 0 !important;
|
|
1183
|
+
left: var(--dropdown-left, 0) !important;
|
|
1184
|
+
transform: translate(0, var(--dropdown-translate-y, 0)) !important;
|
|
1185
|
+
max-height: var(--dropdown-max-height, none) !important;
|
|
1186
|
+
}
|
|
1187
|
+
.dropdown.hidden {
|
|
1188
|
+
visibility: hidden;
|
|
1189
|
+
}
|
|
1162
1190
|
}
|