@watermarkinsights/ripple 5.7.0-1 → 5.7.0-10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/dist/cjs/{global-d996c674.js → global-d1944ab2.js} +1 -1
  2. package/dist/cjs/index-e86c28b6.js +8 -12
  3. package/dist/cjs/loader.cjs.js +2 -2
  4. package/dist/cjs/priv-option-list.cjs.entry.js +27 -19
  5. package/dist/cjs/ripple.cjs.js +2 -2
  6. package/dist/cjs/wm-modal-pss_3.cjs.entry.js +213 -0
  7. package/dist/cjs/{wm-modal.cjs.entry.js → wm-modal_3.cjs.entry.js} +73 -0
  8. package/dist/cjs/wm-nested-select.cjs.entry.js +77 -32
  9. package/dist/cjs/wm-optgroup.cjs.entry.js +7 -1
  10. package/dist/cjs/wm-option_2.cjs.entry.js +10 -12
  11. package/dist/collection/collection-manifest.json +17 -5
  12. package/dist/collection/components/selects/priv-option-list/priv-option-list.css +22 -6
  13. package/dist/collection/components/selects/priv-option-list/priv-option-list.js +53 -34
  14. package/dist/collection/components/selects/wm-nested-select/wm-nested-select.css +11 -5
  15. package/dist/collection/components/selects/wm-nested-select/wm-nested-select.js +107 -36
  16. package/dist/collection/components/selects/wm-optgroup/wm-optgroup.js +24 -1
  17. package/dist/collection/components/selects/wm-option/wm-option.css +1 -1
  18. package/dist/collection/components/selects/wm-select/wm-select.css +5 -8
  19. package/dist/collection/components/selects/wm-select/wm-select.js +12 -13
  20. package/dist/collection/components/wm-modal-pss/wm-modal-pss-footer.css +61 -0
  21. package/dist/collection/components/wm-modal-pss/wm-modal-pss-footer.js +138 -0
  22. package/dist/collection/components/wm-modal-pss/wm-modal-pss-header.css +55 -0
  23. package/dist/collection/components/wm-modal-pss/wm-modal-pss-header.js +81 -0
  24. package/dist/collection/components/wm-modal-pss/wm-modal-pss.css +134 -0
  25. package/dist/collection/components/wm-modal-pss/wm-modal-pss.js +361 -0
  26. package/dist/esm/{global-dcf80bdb.js → global-687694e4.js} +1 -1
  27. package/dist/esm/index-558b5a82.js +8 -12
  28. package/dist/esm/loader.js +2 -2
  29. package/dist/esm/priv-option-list.entry.js +27 -19
  30. package/dist/esm/ripple.js +2 -2
  31. package/dist/esm/wm-modal-pss_3.entry.js +207 -0
  32. package/dist/esm/{wm-modal.entry.js → wm-modal_3.entry.js} +73 -2
  33. package/dist/esm/wm-nested-select.entry.js +78 -33
  34. package/dist/esm/wm-optgroup.entry.js +7 -1
  35. package/dist/esm/wm-option_2.entry.js +10 -12
  36. package/dist/esm-es5/global-687694e4.js +1 -0
  37. package/dist/esm-es5/index-558b5a82.js +1 -1
  38. package/dist/esm-es5/loader.js +1 -1
  39. package/dist/esm-es5/priv-option-list.entry.js +1 -1
  40. package/dist/esm-es5/ripple.js +1 -1
  41. package/dist/esm-es5/wm-modal-pss_3.entry.js +1 -0
  42. package/dist/esm-es5/wm-modal_3.entry.js +1 -0
  43. package/dist/esm-es5/wm-nested-select.entry.js +1 -1
  44. package/dist/esm-es5/wm-optgroup.entry.js +1 -1
  45. package/dist/esm-es5/wm-option_2.entry.js +1 -1
  46. package/dist/ripple/p-012cab20.entry.js +1 -0
  47. package/dist/ripple/p-02deae76.entry.js +1 -0
  48. package/dist/ripple/p-1d18d9d2.system.entry.js +1 -0
  49. package/dist/ripple/p-226fe4e0.entry.js +1 -0
  50. package/dist/ripple/p-6e725656.system.entry.js +1 -0
  51. package/dist/ripple/p-6fdfe9f4.system.entry.js +1 -0
  52. package/dist/ripple/p-77e48f61.system.entry.js +1 -0
  53. package/dist/ripple/p-ad1bdcd6.js +1 -0
  54. package/dist/ripple/p-add3ab3d.system.js +1 -0
  55. package/dist/ripple/p-bf7d98d8.entry.js +1 -0
  56. package/dist/ripple/p-ca397ba6.system.js +1 -0
  57. package/dist/ripple/p-cff5d7e9.system.entry.js +1 -0
  58. package/dist/ripple/p-f13b034e.entry.js +1 -0
  59. package/dist/ripple/p-f3f4620c.entry.js +1 -0
  60. package/dist/ripple/{p-54d9e467.system.entry.js → p-f4bcee58.system.entry.js} +1 -1
  61. package/dist/ripple/ripple.esm.js +1 -1
  62. package/dist/ripple/ripple.js +1 -1
  63. package/dist/types/components/selects/priv-option-list/priv-option-list.d.ts +6 -2
  64. package/dist/types/components/selects/wm-nested-select/wm-nested-select.d.ts +8 -5
  65. package/dist/types/components/selects/wm-optgroup/wm-optgroup.d.ts +1 -0
  66. package/dist/types/components/selects/wm-select/wm-select.d.ts +2 -2
  67. package/dist/types/components/wm-modal-pss/wm-modal-pss-footer.d.ts +14 -0
  68. package/dist/types/components/wm-modal-pss/wm-modal-pss-header.d.ts +10 -0
  69. package/dist/types/components.d.ts +98 -5
  70. package/package.json +1 -1
  71. package/dist/cjs/wm-modal-footer.cjs.entry.js +0 -47
  72. package/dist/cjs/wm-modal-header.cjs.entry.js +0 -39
  73. package/dist/esm/wm-modal-footer.entry.js +0 -43
  74. package/dist/esm/wm-modal-header.entry.js +0 -35
  75. package/dist/esm-es5/global-dcf80bdb.js +0 -1
  76. package/dist/esm-es5/wm-modal-footer.entry.js +0 -1
  77. package/dist/esm-es5/wm-modal-header.entry.js +0 -1
  78. package/dist/esm-es5/wm-modal.entry.js +0 -1
  79. package/dist/ripple/p-0c259c1a.system.entry.js +0 -1
  80. package/dist/ripple/p-13f51c06.entry.js +0 -1
  81. package/dist/ripple/p-1c170fb3.entry.js +0 -1
  82. package/dist/ripple/p-294b38ca.system.entry.js +0 -1
  83. package/dist/ripple/p-3568472c.entry.js +0 -1
  84. package/dist/ripple/p-45dc49e8.entry.js +0 -1
  85. package/dist/ripple/p-50388b6f.system.entry.js +0 -1
  86. package/dist/ripple/p-54f7d3d4.system.entry.js +0 -1
  87. package/dist/ripple/p-618300c1.entry.js +0 -1
  88. package/dist/ripple/p-76ff5d91.entry.js +0 -1
  89. package/dist/ripple/p-84603f1f.system.entry.js +0 -1
  90. package/dist/ripple/p-99058787.entry.js +0 -1
  91. package/dist/ripple/p-b176c143.system.entry.js +0 -1
  92. package/dist/ripple/p-c6a336d6.system.js +0 -1
  93. package/dist/ripple/p-e209a933.js +0 -1
  94. package/dist/ripple/p-ee4fee7d.system.js +0 -1
@@ -6,7 +6,7 @@ const index = require('./index-e86c28b6.js');
6
6
  const functions = require('./functions-e24249e6.js');
7
7
  const intl = require('./intl-5aeba788.js');
8
8
 
9
- const wmOptionCss = ":host(:not(:last-child)){border-bottom:2px solid;border-color:var(--wmcolor-select-option-border)}:host{display:block;cursor:pointer;position:relative;padding:1.25rem;background:var(--wmcolor-select-option-background);font-family:inherit;list-style:none;color:var(--wmcolor-select-option-text);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host:focus,:host.focus{outline:none;background:var(--wmcolor-select-option-background-focus)}:host.icon{color:var(--wmcolor-interactive)}:host .sr-only{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;border:0 !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;-webkit-clip-path:inset(50%) !important;clip-path:inset(50%) !important;white-space:nowrap !important;margin:-1px !important}.checkbox:before{display:inline-block;font:normal normal normal 24px/1 \"Material Design Icons\";font-size:inherit;text-rendering:auto;line-height:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:\"\\f131\";display:inline-block;margin-right:0.25rem;color:var(--wmcolor-interactive)}:host([aria-selected=true]){background:var(--wmcolor-select-option-background-selected);font-weight:500}:host([aria-selected=true]) .checkbox:before{content:\"\\f132\"}:host([aria-disabled=true]){color:var(--wmcolor-select-option-text-disabled);background:var(--wmcolor-select-option-background-disabled);cursor:default}:host([aria-disabled=true]) .checkbox:before{color:var(--wmcolor-select-option-text-disabled)}:host([aria-disabled=true]) .subinfo{color:var(--wmcolor-select-option-text-disabled)}:host(.multi-option){background:unset}:host(.clone.last){border-bottom:12px solid;border-color:var(--wmcolor-select-option-border)}:host(.hassubinfo){display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;gap:16px}:host(.hidden),:host(.filtered-out){display:none}.subinfo{font-style:italic}.option-wrapper{display:-ms-flexbox;display:flex}.option-text{display:inline-block}::slotted{font-family:inherit}::slotted(i){font-size:0.875rem}::slotted(i):before{display:inline-block;font:normal normal normal 24px/1 \"Material Design Icons\";font-size:inherit;text-rendering:auto;line-height:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;margin-right:0.625rem;pointer-events:none}:host(:focus){outline:none;background:var(--wmcolor-select-option-background-focus)}:host(:hover){background:var(--wmcolor-select-option-background-hover);outline:none}";
9
+ const wmOptionCss = ":host(:not(:last-child)){border-bottom:2px solid;border-color:var(--wmcolor-select-option-border)}:host{display:block;cursor:pointer;position:relative;padding:1.25rem;background:var(--wmcolor-select-option-background);font-family:inherit;list-style:none;color:var(--wmcolor-select-option-text);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host:focus,:host.focus{outline:none;background:var(--wmcolor-select-option-background-focus)}:host.icon{color:var(--wmcolor-interactive)}:host .sr-only{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;border:0 !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;-webkit-clip-path:inset(50%) !important;clip-path:inset(50%) !important;white-space:nowrap !important;margin:-1px !important}.checkbox:before{display:inline-block;font:normal normal normal 24px/1 \"Material Design Icons\";font-size:inherit;text-rendering:auto;line-height:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:\"\\f131\";display:inline-block;margin-right:0.25rem;color:var(--wmcolor-interactive)}:host([aria-selected=true]){background:var(--wmcolor-select-option-background-selected);font-weight:500}:host([aria-selected=true]) .checkbox:before{content:\"\\f132\"}:host([aria-disabled=true]){color:var(--wmcolor-select-option-text-disabled);background:var(--wmcolor-select-option-background-disabled);cursor:default}:host([aria-disabled=true]) .checkbox:before{color:var(--wmcolor-select-option-text-disabled)}:host([aria-disabled=true]) .subinfo{color:var(--wmcolor-select-option-text-disabled)}:host(.multi-option){background:unset}:host(.clone.last){border-bottom:12px solid;border-color:var(--wmcolor-select-option-border)}:host(.hassubinfo){display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;gap:16px}:host(.hidden),:host(.filtered-out){display:none}.subinfo{font-style:italic}.option-wrapper{display:-ms-flexbox;display:flex}.option-text{display:inline-block}::slotted{font-family:inherit}::slotted(i){font-size:0.875rem}::slotted(i):before{display:inline-block;font:normal normal normal 24px/1 \"Material Design Icons\";font-size:inherit;text-rendering:auto;line-height:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;margin-right:0.625rem;pointer-events:none}:host(:focus-visible){outline:none;background:var(--wmcolor-select-option-background-focus)}:host(:hover){background:var(--wmcolor-select-option-background-hover);outline:none}";
10
10
 
11
11
  const Option = class {
12
12
  constructor(hostRef) {
@@ -175,7 +175,7 @@ const Option = class {
175
175
  };
176
176
  Option.style = wmOptionCss;
177
177
 
178
- const wmSelectCss = ":host{--wmcolor-select-background:var(--wmcolor-background);--wmcolor-select-border:var(--wmcolor-input-border);--wmcolor-select-option-background-disabled:var(--wmcolor-option-background-disabled);--wmcolor-select-option-background-focus:var(--wmcolor-option-background-focus);--wmcolor-select-option-background-hover:var(--wmcolor-option-background-hover);--wmcolor-select-option-background-selected:var(--wmcolor-option-background-selected);--wmcolor-select-option-background:var(--wmcolor-option-background);--wmcolor-select-option-border:var(--wmcolor-option-border);--wmcolor-select-option-text-disabled:var(--wmcolor-option-text-disabled);--wmcolor-select-option-text:var(--wmcolor-option-text);--wmcolor-select-search-border:var(--wmcolor-input-border);--wmcolor-select-search-icon:var(--wmcolor-icon-accent);--wmcolor-select-searchresults-text:var(--wmcolor-text);--wmcolor-select-selectall-background:var(--wmcolor-select-option-background);--wmcolor-select-selectall-border:var(--wmcolor-select-option-border);--wmcolor-select-selectall-text:var(--wmcolor-interactive);--wmcolor-select-text:var(--wmcolor-interactive);position:relative;display:block;-webkit-box-sizing:border-box;box-sizing:border-box;font-family:inherit}:host .sr-only{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;border:0 !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;-webkit-clip-path:inset(50%) !important;clip-path:inset(50%) !important;white-space:nowrap !important;margin:-1px !important}.wrapper{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;font-size:0.875rem}.wrapper .label{display:block;line-height:normal;font-weight:600;white-space:nowrap;margin-bottom:0.25rem}.wrapper .label .required{color:var(--wmcolor-text-required)}.wrapper.label-left{-ms-flex-direction:row;flex-direction:row}.wrapper.label-left .label-wrapper{line-height:2.5rem}.wrapper.label-left .label-wrapper .label{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;min-height:2.5rem;white-space:normal;margin-bottom:0;margin-right:0.75rem}.wrapper.label-none label{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;border:0 !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;-webkit-clip-path:inset(50%) !important;clip-path:inset(50%) !important;white-space:nowrap !important;margin:-1px !important}.wrapper.invalid .label{color:var(--wmcolor-text-error)}.wrapper.invalid .label:after{display:inline-block;font:normal normal normal 24px/1 \"Material Design Icons\";font-size:inherit;text-rendering:auto;line-height:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:\"\\f026\";margin-left:0.3125rem}[dir=RTL] .wrapper.invalid .label:after{margin-left:0;margin-right:0.3125rem}.wrapper.rtl.label-left .label{margin-right:0;margin-left:0.75rem}.wrapper .button-wrapper{position:relative;-ms-flex:1;flex:1;font-size:1.125rem;color:var(--wmcolor-select-text);min-width:8.75rem}.wrapper .button-wrapper .displayedoption{-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;border-radius:3px;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-wrap:nowrap;flex-wrap:nowrap;background:var(--wmcolor-select-background);width:100%;border:solid 1px;border-color:var(--wmcolor-select-border);padding:0 1.875rem 0 0.9375rem;cursor:pointer;height:2.5rem;line-height:normal;font-family:inherit;color:var(--wmcolor-select-text);font-weight:400;font-size:0.875rem;text-transform:none;text-align:left}@media only screen and (max-width: 768px){.wrapper .button-wrapper .displayedoption{height:2.75rem}}.wrapper .button-wrapper .displayedoption:before{display:inline-block;font:normal normal normal 24px/1 \"Material Design Icons\";font-size:inherit;text-rendering:auto;line-height:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:\"\\f140\";position:absolute;right:0.5625rem;pointer-events:none;font-size:1.12rem}.wrapper .button-wrapper .displayedoption:hover:not(:disabled):not(.-disabled):not(.-raised){background:var(--wmcolor-select-background);text-decoration:none}.wrapper .button-wrapper .displayedoption:active{-ms-transform:scale(1, 1) !important;-webkit-transform:scale(1, 1) !important;transform:scale(1, 1) !important}.wrapper .button-wrapper .displayedoption:focus{outline:none}.wrapper .button-wrapper .displayedoption::-moz-focus-inner{border:0}.wrapper .button-wrapper .displayedoption:focus-visible{outline:3px solid var(--wmcolor-interactive-focus);outline-offset:2px}.wrapper .button-wrapper .displayedoption .overflowcontrol{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;-ms-flex:1;flex:1}.wrapper .button-wrapper .displayedoption .overflowcontrol.hassubinfo{display:-ms-flexbox;display:flex}.wrapper .button-wrapper .displayedoption .overflowcontrol.hassubinfo .button-text{-ms-flex:1;flex:1;text-overflow:ellipsis;overflow:hidden;min-width:0}.wrapper .button-wrapper .displayedoption .overflowcontrol.hassubinfo .subinfo{-ms-flex:none;flex:none;font-style:italic}.wrapper .button-wrapper .displayedoption .overflow-counter{font-weight:bold;margin-left:0.5rem}.wrapper .button-wrapper>.displayedoption[disabled]{color:#6b6b6b;border-color:#8a8a8a;background:#f0f0f0;cursor:default}.wrapper .button-wrapper>.dropdown{-webkit-overflow-scrolling:touch;-webkit-box-shadow:0 4px 15px 0 rgba(0, 0, 0, 0.2);-moz-box-shadow:0 4px 15px 0 rgba(0, 0, 0, 0.2);box-shadow:0 4px 15px 0 rgba(0, 0, 0, 0.2);-ms-transition:transform 0.25s ease;-webkit-transition:transform 0.25s ease;-moz-transition:transform 0.25s ease;-webkit-transition:-webkit-transform 0.25s ease;transition:-webkit-transform 0.25s ease;transition:transform 0.25s ease;transition:transform 0.25s ease, -webkit-transform 0.25s ease;-ms-transform:scale(1, 0);-webkit-transform:scale(1, 0);-moz-transform:scale(1, 0);transform:scale(1, 0);-ms-transform-origin:center top;-webkit-transform-origin:center top;-moz-transform-origin:center top;transform-origin:center top;-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;border-radius:3px;position:absolute;top:0;right:0;background:var(--wmcolor-select-option-background);z-index:100;width:100%;font-size:0.875rem}.wrapper .button-wrapper>.dropdown.upwards{top:unset;bottom:calc(100% - 2.5rem);-ms-transform-origin:center bottom;-webkit-transform-origin:center bottom;-moz-transform-origin:center bottom;transform-origin:center bottom}.wrapper .button-wrapper>.dropdown.hidden{visibility:hidden}.wrapper .button-wrapper>.dropdown.open{-ms-transform:scale(1, 1);-webkit-transform:scale(1, 1);-moz-transform:scale(1, 1);transform:scale(1, 1)}.wrapper.invalid .button-wrapper .displayedoption{-webkit-box-shadow:0 0 0 1px var(--wmcolor-input-border-error);-moz-box-shadow:0 0 0 1px var(--wmcolor-input-border-error);box-shadow:0 0 0 1px var(--wmcolor-input-border-error);border-color:var(--wmcolor-input-border-error)}.wrapper .error-message{display:block;font-style:italic;color:var(--wmcolor-text-error);font-size:0.875rem;margin-bottom:0.25rem;top:100%;left:0}.wrapper .error-message:not(:empty){margin-top:0.25rem}.options-wrapper{max-height:12.5rem;overflow:auto}.measurement-area{position:absolute;visibility:hidden;height:0px;pointer-events:none}.rtl>.dropdown{-ms-transform-origin:left top;-webkit-transform-origin:left top;-moz-transform-origin:left top;transform-origin:left top;left:0;right:auto}.rtl>.dropdown .option{padding-left:3rem;padding-right:1.25rem}.rtl>.displayedoption{padding:0 0.9375rem 0 1.875rem;text-align:right}.rtl>.displayedoption:before{right:auto;left:0.5625rem}";
178
+ const wmSelectCss = ":host{--wmcolor-select-background:var(--wmcolor-background);--wmcolor-select-border:var(--wmcolor-input-border);--wmcolor-select-option-background-disabled:var(--wmcolor-option-background-disabled);--wmcolor-select-option-background-focus:var(--wmcolor-option-background-focus);--wmcolor-select-option-background-hover:var(--wmcolor-option-background-hover);--wmcolor-select-option-background-selected:var(--wmcolor-option-background-selected);--wmcolor-select-option-background:var(--wmcolor-option-background);--wmcolor-select-option-border:var(--wmcolor-option-border);--wmcolor-select-option-text-disabled:var(--wmcolor-option-text-disabled);--wmcolor-select-option-text:var(--wmcolor-option-text);--wmcolor-select-search-border:var(--wmcolor-input-border);--wmcolor-select-search-icon:var(--wmcolor-icon-accent);--wmcolor-select-searchresults-text:var(--wmcolor-text);--wmcolor-select-selectall-background:var(--wmcolor-select-option-background);--wmcolor-select-selectall-border:var(--wmcolor-select-option-border);--wmcolor-select-selectall-text:var(--wmcolor-interactive);--wmcolor-select-text:var(--wmcolor-interactive);position:relative;display:block;-webkit-box-sizing:border-box;box-sizing:border-box;font-family:inherit}:host .sr-only{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;border:0 !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;-webkit-clip-path:inset(50%) !important;clip-path:inset(50%) !important;white-space:nowrap !important;margin:-1px !important}.wrapper{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;font-size:0.875rem}.wrapper .label{display:block;line-height:normal;font-weight:600;white-space:nowrap;margin-bottom:0.25rem}.wrapper .label .required{color:var(--wmcolor-text-required)}.wrapper.label-left{-ms-flex-direction:row;flex-direction:row}.wrapper.label-left .label-wrapper{line-height:2.5rem}.wrapper.label-left .label-wrapper .label{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;min-height:2.5rem;white-space:normal;margin-bottom:0;margin-right:0.75rem}.wrapper.label-none label{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;border:0 !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;-webkit-clip-path:inset(50%) !important;clip-path:inset(50%) !important;white-space:nowrap !important;margin:-1px !important}.wrapper.invalid .label{color:var(--wmcolor-text-error)}.wrapper.invalid .label:after{display:inline-block;font:normal normal normal 24px/1 \"Material Design Icons\";font-size:inherit;text-rendering:auto;line-height:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:\"\\f026\";margin-left:0.3125rem}[dir=RTL] .wrapper.invalid .label:after{margin-left:0;margin-right:0.3125rem}.wrapper.rtl.label-left .label{margin-right:0;margin-left:0.75rem}.wrapper .button-wrapper{position:relative;-ms-flex:1;flex:1;font-size:1.125rem;color:var(--wmcolor-select-text);min-width:8.75rem}.wrapper .button-wrapper .displayedoption{-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;border-radius:3px;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-wrap:nowrap;flex-wrap:nowrap;background:var(--wmcolor-select-background);width:100%;border:solid 1px;border-color:var(--wmcolor-select-border);padding:0 1.875rem 0 0.9375rem;cursor:pointer;height:2.5rem;line-height:normal;font-family:inherit;color:var(--wmcolor-select-text);font-weight:400;font-size:0.875rem;text-transform:none;text-align:left}@media only screen and (max-width: 768px){.wrapper .button-wrapper .displayedoption{height:2.75rem}}.wrapper .button-wrapper .displayedoption:before{display:inline-block;font:normal normal normal 24px/1 \"Material Design Icons\";font-size:inherit;text-rendering:auto;line-height:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:\"\\f140\";position:absolute;right:0.5625rem;pointer-events:none;font-size:1.12rem}.wrapper .button-wrapper .displayedoption:hover:not(:disabled):not(.-disabled):not(.-raised){background:var(--wmcolor-select-background);text-decoration:none}.wrapper .button-wrapper .displayedoption:active{-ms-transform:scale(1, 1) !important;-webkit-transform:scale(1, 1) !important;transform:scale(1, 1) !important}.wrapper .button-wrapper .displayedoption:focus{outline:none}.wrapper .button-wrapper .displayedoption::-moz-focus-inner{border:0}.wrapper .button-wrapper .displayedoption:focus-visible{outline:3px solid var(--wmcolor-interactive-focus);outline-offset:2px}.wrapper .button-wrapper .displayedoption .overflowcontrol{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;-ms-flex:1;flex:1}.wrapper .button-wrapper .displayedoption .overflowcontrol.hassubinfo{display:-ms-flexbox;display:flex}.wrapper .button-wrapper .displayedoption .overflowcontrol.hassubinfo .button-text{-ms-flex:1;flex:1;text-overflow:ellipsis;overflow:hidden;min-width:0}.wrapper .button-wrapper .displayedoption .overflowcontrol.hassubinfo .subinfo{-ms-flex:none;flex:none;font-style:italic}.wrapper .button-wrapper .displayedoption .overflow-counter{font-weight:bold;margin-left:0.5rem}.wrapper .button-wrapper>.displayedoption[disabled]{color:var(--wmcolor-select-option-text-disabled);border-color:var(--wmcolor-border-dark);background:var(--wmcolor-select-option-background-disabled);cursor:default}.wrapper .button-wrapper>.dropdown{-webkit-overflow-scrolling:touch;-webkit-box-shadow:0 4px 15px 0 rgba(0, 0, 0, 0.2);-moz-box-shadow:0 4px 15px 0 rgba(0, 0, 0, 0.2);box-shadow:0 4px 15px 0 rgba(0, 0, 0, 0.2);-ms-transition:transform 0.25s ease;-webkit-transition:transform 0.25s ease;-moz-transition:transform 0.25s ease;-webkit-transition:-webkit-transform 0.25s ease;transition:-webkit-transform 0.25s ease;transition:transform 0.25s ease;transition:transform 0.25s ease, -webkit-transform 0.25s ease;-ms-transform:scale(1, 0);-webkit-transform:scale(1, 0);-moz-transform:scale(1, 0);transform:scale(1, 0);-ms-transform-origin:center top;-webkit-transform-origin:center top;-moz-transform-origin:center top;transform-origin:center top;-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;border-radius:3px;position:absolute;top:0;right:0;background:var(--wmcolor-select-option-background);z-index:100;width:100%;font-size:0.875rem;max-height:var(--max-height);overflow-y:auto}.wrapper .button-wrapper>.dropdown.upwards{top:unset;bottom:calc(100% - 2.5rem);-ms-transform-origin:center bottom;-webkit-transform-origin:center bottom;-moz-transform-origin:center bottom;transform-origin:center bottom}.wrapper .button-wrapper>.dropdown.hidden{visibility:hidden}.wrapper .button-wrapper>.dropdown.open{-ms-transform:scale(1, 1);-webkit-transform:scale(1, 1);-moz-transform:scale(1, 1);transform:scale(1, 1)}.wrapper.invalid .button-wrapper .displayedoption{-webkit-box-shadow:0 0 0 1px var(--wmcolor-input-border-error);-moz-box-shadow:0 0 0 1px var(--wmcolor-input-border-error);box-shadow:0 0 0 1px var(--wmcolor-input-border-error);border-color:var(--wmcolor-input-border-error)}.wrapper .error-message{display:block;font-style:italic;color:var(--wmcolor-text-error);font-size:0.875rem;margin-bottom:0.25rem;top:100%;left:0}.wrapper .error-message:not(:empty){margin-top:0.25rem}.measurement-area{position:absolute;visibility:hidden;height:0px;pointer-events:none}.rtl>.dropdown{-ms-transform-origin:left top;-webkit-transform-origin:left top;-moz-transform-origin:left top;transform-origin:left top;left:0;right:auto}.rtl>.dropdown .option{padding-left:3rem;padding-right:1.25rem}.rtl>.displayedoption{padding:0 0.9375rem 0 1.875rem;text-align:right}.rtl>.displayedoption:before{right:auto;left:0.5625rem}";
179
179
 
180
180
  const Select = class {
181
181
  constructor(hostRef) {
@@ -190,7 +190,7 @@ const Select = class {
190
190
  this.overflowCount = 0;
191
191
  this.displayedOptions = [];
192
192
  this.disabled = false;
193
- this.maxHeight = undefined;
193
+ this.maxHeight = "200px";
194
194
  this.label = undefined;
195
195
  this.labelPosition = "top";
196
196
  this.requiredField = false;
@@ -287,7 +287,7 @@ const Select = class {
287
287
  console.error("wm-select should have one initial option selected");
288
288
  }
289
289
  functions.handleDisabledAttribute(this.el, this.isDisabled);
290
- const mutationObserver = new MutationObserver((mutationRecordList) => mutationRecordList.forEach((mutationRecord) => this.handleChildChange(mutationRecord)));
290
+ const mutationObserver = new MutationObserver((mutationRecordList) => mutationRecordList.forEach((_mutationRecord) => this.handleChildChange()));
291
291
  mutationObserver.observe(this.el, {
292
292
  childList: true,
293
293
  attributes: true,
@@ -295,21 +295,19 @@ const Select = class {
295
295
  attributeFilter: ["selected"],
296
296
  });
297
297
  }
298
- handleChildChange(_) {
298
+ handleChildChange() {
299
299
  // on update of children or children selected state, reset button text and rerender
300
300
  this.setButtonText();
301
- this.optionListEl.handleChildChange(_);
302
301
  index.forceUpdate(this.el);
302
+ if (this.multiple) {
303
+ // update state of clone options
304
+ this.optionListEl.handleChildChange();
305
+ }
303
306
  }
304
307
  componentDidLoad() {
305
308
  this.wmSelectDidLoad.emit();
306
309
  this.dropdownEl.classList.add("hidden");
307
310
  index.forceUpdate(this.el);
308
- // Dev can overwrite the max-height rule set in the Sass file
309
- if (this.maxHeight) {
310
- // this.listboxEl.style.maxHeight = this.maxHeight;
311
- this.dropdownEl.style.maxHeight = this.maxHeight;
312
- }
313
311
  this.setButtonText();
314
312
  }
315
313
  open(optionToSelect) {
@@ -424,7 +422,7 @@ const Select = class {
424
422
  };
425
423
  return (index.h(index.Host, { onBlur: (ev) => this.handleComponentBlur(ev) }, index.h("div", { class: `wrapper ${functions.getTextDir()} label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, index.h("div", { class: "label-wrapper" }, index.h("label", { class: "label", id: "label", htmlFor: "selectbtn" }, this.label,
426
424
  // we can't use aria-required or required attributes because it's invalid on the elements we're using (button controlling a listbox)
427
- this.requiredField ? (index.h("span", { class: "required" }, index.h("span", { class: "sr-only" }, intl.globalMessages.requiredField), index.h("span", { "aria-hidden": "true" }, "*"))) : (""))), index.h("div", { class: "button-wrapper" }, index.h("button", Object.assign({}, buttonProps, { class: "displayedoption", ref: (el) => (this.buttonEl = el), onBlur: (ev) => this.handleButtonBlur(ev), onFocus: () => this.close() }), index.h("span", { class: `overflowcontrol ${showSubinfo ? "hassubinfo" : ""}` }, index.h("span", { class: "button-text" }, this.renderButtonText()), showSubinfo && index.h("span", { class: "subinfo" }, this.selectedOptions[0].subinfo)), this.renderOverflowCount(), index.h("div", { ref: (el) => (this.measurementAreaEl = el), class: "measurement-area", "aria-hidden": "true" })), index.h("div", { class: `dropdown ${this.isExpanded ? "open" : ""} ${this.openUp ? "upwards" : ""}`, ref: (el) => (this.dropdownEl = el) }, index.h("priv-option-list", { ref: (el) => (this.optionListEl = el), multiple: this.multiple, search: this.search, selectAll: this.selectAll, searchPlaceholder: this.searchPlaceholder, onOptionListCloseRequested: () => this.close(), onOptionListAllSelected: () => this.wmSelectAllSelected.emit(), onOptionListAllDeselected: () => this.wmSelectAllDeselected.emit() }, index.h("slot", null))), index.h("div", { id: "error", class: this.errorMessage ? "error-message" : "" }, this.errorMessage), index.h("div", { id: "announcement", "aria-live": "polite", "aria-atomic": "true", class: "sr-only", ref: (el) => (this.liveRegionEl = el) }, this.announcement)))));
425
+ this.requiredField ? (index.h("span", { class: "required" }, index.h("span", { class: "sr-only" }, intl.globalMessages.requiredField), index.h("span", { "aria-hidden": "true" }, "*"))) : (""))), index.h("div", { class: "button-wrapper" }, index.h("button", Object.assign({}, buttonProps, { class: "displayedoption", ref: (el) => (this.buttonEl = el), onBlur: (ev) => this.handleButtonBlur(ev), onFocus: () => this.close() }), index.h("span", { class: `overflowcontrol ${showSubinfo ? "hassubinfo" : ""}` }, index.h("span", { class: "button-text" }, this.renderButtonText()), showSubinfo && index.h("span", { class: "subinfo" }, this.selectedOptions[0].subinfo)), this.renderOverflowCount(), index.h("div", { ref: (el) => (this.measurementAreaEl = el), class: "measurement-area", "aria-hidden": "true" })), index.h("div", { class: `dropdown ${this.isExpanded ? "open" : ""} ${this.openUp ? "upwards" : ""}`, ref: (el) => (this.dropdownEl = el) }, index.h("priv-option-list", { ref: (el) => (this.optionListEl = el), multiple: this.multiple, search: this.search, selectAll: this.selectAll, maxHeight: this.maxHeight, searchPlaceholder: this.searchPlaceholder, onOptionListCloseRequested: () => this.close(), onOptionListAllSelected: () => this.wmSelectAllSelected.emit(), onOptionListAllDeselected: () => this.wmSelectAllDeselected.emit() }, index.h("slot", null))), index.h("div", { id: "error", class: this.errorMessage ? "error-message" : "" }, this.errorMessage), index.h("div", { id: "announcement", "aria-live": "polite", "aria-atomic": "true", class: "sr-only", ref: (el) => (this.liveRegionEl = el) }, this.announcement)))));
428
426
  }
429
427
  static get delegatesFocus() { return true; }
430
428
  get el() { return index.getElement(this); }
@@ -24,6 +24,9 @@
24
24
  "components/wm-modal/wm-modal-footer.js",
25
25
  "components/wm-modal/wm-modal-header.js",
26
26
  "components/wm-modal/wm-modal.js",
27
+ "components/wm-modal-pss/wm-modal-pss-footer.js",
28
+ "components/wm-modal-pss/wm-modal-pss-header.js",
29
+ "components/wm-modal-pss/wm-modal-pss.js",
27
30
  "components/wm-navigation/wm-navigation-hamburger.js",
28
31
  "components/wm-navigation/wm-navigation-item.js",
29
32
  "components/wm-navigation/wm-navigation.js",
@@ -81,11 +84,6 @@
81
84
  "wm-input"
82
85
  ]
83
86
  },
84
- {
85
- "components": [
86
- "wm-modal"
87
- ]
88
- },
89
87
  {
90
88
  "components": [
91
89
  "wm-navigator"
@@ -153,6 +151,20 @@
153
151
  "wm-select"
154
152
  ]
155
153
  },
154
+ {
155
+ "components": [
156
+ "wm-modal",
157
+ "wm-modal-footer",
158
+ "wm-modal-header"
159
+ ]
160
+ },
161
+ {
162
+ "components": [
163
+ "wm-modal-pss",
164
+ "wm-modal-pss-footer",
165
+ "wm-modal-pss-header"
166
+ ]
167
+ },
156
168
  {
157
169
  "components": [
158
170
  "wm-navigation",
@@ -31,8 +31,6 @@
31
31
  -------------------------------------- */
32
32
  .search {
33
33
  box-sizing: border-box;
34
- border-bottom: 2px solid;
35
- border-color: var(--wmcolor-select-option-border);
36
34
  padding: 1.25rem;
37
35
  }
38
36
  .search .searchfield-wrapper {
@@ -86,10 +84,7 @@
86
84
  width: 100%;
87
85
  cursor: pointer;
88
86
  padding: 1.25rem;
89
- border: none;
90
87
  margin: 0;
91
- border-bottom: 2px solid;
92
- border-color: var(--wmcolor-select-option-border);
93
88
  background: var(--wmcolor-select-option-background);
94
89
  font-family: inherit;
95
90
  font-size: inherit;
@@ -110,12 +105,32 @@
110
105
  background: var(--wmcolor-select-option-background-focus);
111
106
  }
112
107
 
108
+ .return-btn,
109
+ .select-all,
110
+ .search {
111
+ border: none;
112
+ }
113
+ .return-btn:not(:last-child),
114
+ .select-all:not(:last-child),
115
+ .search:not(:last-child) {
116
+ border-bottom: 2px solid;
117
+ border-color: var(--wmcolor-select-option-border);
118
+ }
119
+
120
+ .options-wrapper {
121
+ overflow-y: auto;
122
+ max-height: var(--max-height);
123
+ }
124
+
125
+ .non-options-wrapper {
126
+ border-bottom: 1px solid var(--wmcolor-border-dark);
127
+ }
128
+
113
129
  .return-btn {
114
130
  display: flex;
115
131
  align-items: center;
116
132
  font-weight: 600;
117
133
  font-size: 0.875rem;
118
- border-bottom: 1px solid #4a4a4a;
119
134
  }
120
135
  .return-btn:before {
121
136
  display: inline-block;
@@ -127,5 +142,6 @@
127
142
  -moz-osx-font-smoothing: grayscale;
128
143
  content: "\f141";
129
144
  pointer-events: none;
145
+ padding-right: 0.5rem;
130
146
  font-size: 1.28rem;
131
147
  }
@@ -37,8 +37,9 @@ export class PrivOptionList {
37
37
  this.search = false;
38
38
  this.selectAll = false;
39
39
  this.searchPlaceholder = undefined;
40
- this.maxHeight = undefined;
41
40
  this.optgroupLabel = undefined;
41
+ this.maxHeight = undefined;
42
+ this.upwardsHeightLimit = null;
42
43
  this.announcement = "";
43
44
  this.searchTerm = "";
44
45
  }
@@ -52,6 +53,9 @@ export class PrivOptionList {
52
53
  // this includes both slotted wm-options and internally created wm-options
53
54
  return this.cloneOptions.concat(this.childOptions);
54
55
  }
56
+ get isInNestedSelect() {
57
+ return !!this.optgroupLabel;
58
+ }
55
59
  get visibleOptionEls() {
56
60
  return this.allOptionEls.filter((option) => !option.classList.contains("hidden") && !option.classList.contains("filtered-out"));
57
61
  }
@@ -87,6 +91,16 @@ export class PrivOptionList {
87
91
  description: "The message displayed when no options pass the search filter",
88
92
  });
89
93
  }
94
+ get effectiveMaxHeight() {
95
+ let result = this.maxHeight;
96
+ if (this.upwardsHeightLimit && this.el.parentElement.clientHeight > this.upwardsHeightLimit) {
97
+ result = `${this.upwardsHeightLimit -
98
+ (this.isInNestedSelect ? this.returnBtnEl.clientHeight : 0) -
99
+ (this.selectAll ? this.selectAllEl.clientHeight : 0) -
100
+ (this.search ? this.searchFieldWrapperEl.clientHeight : 0)}px`;
101
+ }
102
+ return result;
103
+ }
90
104
  findAndFocusOption(ev) {
91
105
  const letterPressed = ev.detail.letter.toLowerCase();
92
106
  const optionPressed = ev.detail.optionEl;
@@ -139,17 +153,10 @@ export class PrivOptionList {
139
153
  if (this.multiple) {
140
154
  this.updateOptionVisibility();
141
155
  }
142
- // Dev can overwrite the max-height rule set in the Sass file
143
- if (this.maxHeight) {
144
- // this.listboxEl.style.maxHeight = this.maxHeight;
145
- this.listboxEl.style.maxHeight = this.maxHeight;
146
- }
147
156
  }
148
- async handleChildChange(_) {
149
- if (this.multiple) {
150
- // on update of wm-options selected state, rerender to update clones state
151
- forceUpdate(this.el);
152
- }
157
+ async handleChildChange() {
158
+ // on update of wm-options selected state, rerender to update clones state
159
+ forceUpdate(this.el);
153
160
  }
154
161
  async clearSearch() {
155
162
  if (this.search) {
@@ -253,8 +260,7 @@ export class PrivOptionList {
253
260
  this.moveUp(ev.target);
254
261
  break;
255
262
  case "ArrowLeft":
256
- // if an optgroupLabel was passed, we are within a Nested Select
257
- if (!!this.optgroupLabel) {
263
+ if (this.isInNestedSelect && el != this.searchFieldEl) {
258
264
  ev.preventDefault();
259
265
  this.wmKeyLeftPressed.emit();
260
266
  }
@@ -279,6 +285,7 @@ export class PrivOptionList {
279
285
  }
280
286
  }
281
287
  close() {
288
+ this.listboxEl.scrollTop = 0;
282
289
  if (this.multiple) {
283
290
  this.updateOptionVisibility();
284
291
  }
@@ -303,8 +310,7 @@ export class PrivOptionList {
303
310
  if (this.searchFieldEl) {
304
311
  focusableEls.unshift(this.searchFieldEl);
305
312
  }
306
- // if an optgroupLabel was passed, we are is within a Nested Select
307
- if (!!this.optgroupLabel) {
313
+ if (this.isInNestedSelect) {
308
314
  focusableEls.unshift(this.returnBtnEl);
309
315
  }
310
316
  const prevEl = focusableEls[focusableEls.indexOf(el) - 1] || focusableEls[focusableEls.length - 1];
@@ -320,8 +326,7 @@ export class PrivOptionList {
320
326
  if (this.searchFieldEl) {
321
327
  focusableEls.unshift(this.searchFieldEl);
322
328
  }
323
- // if an optgroupLabel was passed, we are is within a Nested Select
324
- if (!!this.optgroupLabel) {
329
+ if (this.isInNestedSelect) {
325
330
  focusableEls.unshift(this.returnBtnEl);
326
331
  }
327
332
  const nextEl = focusableEls[focusableEls.indexOf(el) + 1] || focusableEls[0];
@@ -386,8 +391,11 @@ export class PrivOptionList {
386
391
  return (h("wm-option", { class: "clone", subinfo: option.subinfo, selected: option.selected }, option.textContent));
387
392
  });
388
393
  }
394
+ renderNonOptions() {
395
+ return (h("div", { class: "non-options-wrapper" }, this.isInNestedSelect && this.renderReturnBtn(), this.search && this.renderSearchField(), this.visibleSelectAllButton && this.renderSelectAllButton()));
396
+ }
389
397
  render() {
390
- return (h("div", { class: "list-wrapper" }, !!this.optgroupLabel && this.renderReturnBtn(), this.search && this.renderSearchField(), this.visibleSelectAllButton && this.renderSelectAllButton(), h("div", { id: "list", class: "options-wrapper", tabindex: -1, role: "listbox", "aria-multiselectable": this.multiple ? "true" : null, "aria-labelledby": "label", ref: (el) => (this.listboxEl = el) }, this.searchTerm && this.filteredOptions.length === 0 && this.renderSearchFailedMessage(), this.multiple && this.renderCloneOptions(), h("slot", null)), h("div", { id: "optionlist-announcement", "aria-live": "polite", "aria-atomic": "true", class: "sr-only", ref: (el) => (this.liveRegionEl = el) }, this.announcement)));
398
+ return (h("div", { class: "list-wrapper" }, (this.isInNestedSelect || this.search || this.visibleSelectAllButton) && this.renderNonOptions(), h("div", { 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", null)), h("div", { id: "optionlist-announcement", "aria-live": "polite", "aria-atomic": "true", class: "sr-only", ref: (el) => (this.liveRegionEl = el) }, this.announcement)));
391
399
  }
392
400
  static get is() { return "priv-option-list"; }
393
401
  static get originalStyleUrls() {
@@ -473,7 +481,7 @@ export class PrivOptionList {
473
481
  "attribute": "search-placeholder",
474
482
  "reflect": false
475
483
  },
476
- "maxHeight": {
484
+ "optgroupLabel": {
477
485
  "type": "string",
478
486
  "mutable": false,
479
487
  "complexType": {
@@ -487,25 +495,43 @@ export class PrivOptionList {
487
495
  "tags": [],
488
496
  "text": ""
489
497
  },
490
- "attribute": "max-height",
498
+ "attribute": "optgroup-label",
491
499
  "reflect": false
492
500
  },
493
- "optgroupLabel": {
501
+ "maxHeight": {
494
502
  "type": "string",
495
503
  "mutable": false,
496
504
  "complexType": {
497
505
  "original": "string",
498
- "resolved": "string | undefined",
506
+ "resolved": "string",
499
507
  "references": {}
500
508
  },
501
- "required": false,
502
- "optional": true,
509
+ "required": true,
510
+ "optional": false,
503
511
  "docs": {
504
512
  "tags": [],
505
513
  "text": ""
506
514
  },
507
- "attribute": "optgroup-label",
515
+ "attribute": "max-height",
508
516
  "reflect": false
517
+ },
518
+ "upwardsHeightLimit": {
519
+ "type": "number",
520
+ "mutable": false,
521
+ "complexType": {
522
+ "original": "number | null",
523
+ "resolved": "null | number",
524
+ "references": {}
525
+ },
526
+ "required": false,
527
+ "optional": false,
528
+ "docs": {
529
+ "tags": [],
530
+ "text": ""
531
+ },
532
+ "attribute": "upwards-height-limit",
533
+ "reflect": false,
534
+ "defaultValue": "null"
509
535
  }
510
536
  };
511
537
  }
@@ -617,19 +643,12 @@ export class PrivOptionList {
617
643
  return {
618
644
  "handleChildChange": {
619
645
  "complexType": {
620
- "signature": "(_: MutationRecord) => Promise<void>",
621
- "parameters": [{
622
- "tags": [],
623
- "text": ""
624
- }],
646
+ "signature": "() => Promise<void>",
647
+ "parameters": [],
625
648
  "references": {
626
649
  "Promise": {
627
650
  "location": "global",
628
651
  "id": "global::Promise"
629
- },
630
- "MutationRecord": {
631
- "location": "global",
632
- "id": "global::MutationRecord"
633
652
  }
634
653
  },
635
654
  "return": "Promise<void>"
@@ -218,9 +218,9 @@
218
218
  margin-left: 0.5rem;
219
219
  }
220
220
  .button-wrapper > .displayedoption[disabled] {
221
- color: #6b6b6b;
222
- border-color: #8a8a8a;
223
- background: #f0f0f0;
221
+ color: var(--wmcolor-select-option-text-disabled);
222
+ border-color: var(--wmcolor-border-dark);
223
+ background: var(--wmcolor-select-option-background-disabled);
224
224
  cursor: default;
225
225
  }
226
226
 
@@ -305,9 +305,13 @@
305
305
  width: 100%;
306
306
  display: flex;
307
307
  flex-direction: column;
308
+ max-height: var(--max-height);
309
+ overflow-y: auto;
308
310
  }
309
311
  .menu.hidden {
310
312
  position: absolute;
313
+ max-height: 100%;
314
+ overflow: hidden;
311
315
  }
312
316
  .menu .menuitem {
313
317
  display: flex;
@@ -349,11 +353,11 @@
349
353
  padding-right: 0.5rem;
350
354
  font-size: 1.12rem;
351
355
  }
352
- .menu :focus {
356
+ .menu .menuitem:focus-visible {
353
357
  outline: none;
354
358
  background: var(--wmcolor-interactive-background-focus);
355
359
  }
356
- .menu :hover {
360
+ .menu .menuitem:hover {
357
361
  background: var(--wmcolor-select-option-background-hover);
358
362
  outline: none;
359
363
  }
@@ -397,6 +401,8 @@
397
401
  transform: translateX(100%);
398
402
  position: absolute;
399
403
  top: 0px;
404
+ max-height: 100%;
405
+ overflow-y: hidden;
400
406
  }
401
407
 
402
408
  .measurement-area {