@watermarkinsights/ripple 5.23.0-alpha.1 → 5.23.0-alpha.5
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-d5560aa2.js → app-globals-7b533418.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/priv-calendar.cjs.entry.js +25 -12
- package/dist/cjs/priv-chart-popover_2.cjs.entry.js +1 -1
- package/dist/cjs/priv-navigator-button.cjs.entry.js +1 -1
- package/dist/cjs/priv-navigator-item.cjs.entry.js +1 -1
- package/dist/cjs/priv-option-list.cjs.entry.js +1 -1
- package/dist/cjs/ripple.cjs.js +2 -2
- package/dist/cjs/wm-action-menu_2.cjs.entry.js +2 -2
- package/dist/cjs/wm-button.cjs.entry.js +2 -2
- package/dist/cjs/wm-file-list.cjs.entry.js +1 -1
- package/dist/cjs/wm-file.cjs.entry.js +1 -1
- package/dist/cjs/wm-flyout.cjs.entry.js +1 -1
- package/dist/cjs/wm-input.cjs.entry.js +1 -1
- package/dist/cjs/wm-modal-pss_3.cjs.entry.js +4 -4
- package/dist/cjs/wm-modal_3.cjs.entry.js +4 -4
- package/dist/cjs/wm-navigation_3.cjs.entry.js +4 -4
- package/dist/cjs/wm-nested-select.cjs.entry.js +3 -3
- package/dist/cjs/wm-optgroup.cjs.entry.js +1 -1
- package/dist/cjs/wm-option_2.cjs.entry.js +5 -5
- package/dist/cjs/wm-pagination.cjs.entry.js +2 -2
- package/dist/cjs/wm-search.cjs.entry.js +3 -3
- package/dist/cjs/wm-snackbar.cjs.entry.js +3 -3
- package/dist/cjs/wm-tab-item_3.cjs.entry.js +7 -7
- package/dist/cjs/wm-tag-input.cjs.entry.js +2 -2
- package/dist/cjs/wm-textarea.cjs.entry.js +1 -1
- package/dist/cjs/wm-timepicker.cjs.entry.js +2 -2
- package/dist/cjs/wm-toggletip.cjs.entry.js +3 -3
- package/dist/cjs/wm-uploader.cjs.entry.js +3 -3
- package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.css +10 -10
- package/dist/collection/components/datepickers/priv-calendar/priv-calendar.js +30 -12
- package/dist/collection/components/selects/priv-option-list/priv-option-list.js +1 -1
- package/dist/collection/components/selects/wm-nested-select/wm-nested-select.js +3 -3
- package/dist/collection/components/selects/wm-optgroup/wm-optgroup.js +1 -1
- package/dist/collection/components/selects/wm-option/wm-option.js +1 -1
- package/dist/collection/components/selects/wm-select/wm-select.js +4 -4
- package/dist/collection/components/wm-action-menu/wm-action-menu.js +1 -1
- package/dist/collection/components/wm-button/wm-button.css +14 -15
- package/dist/collection/components/wm-button/wm-button.js +1 -1
- package/dist/collection/components/wm-file/wm-file.js +1 -1
- package/dist/collection/components/wm-file-list/wm-file-list.js +1 -1
- package/dist/collection/components/wm-flyout/wm-flyout.js +1 -1
- package/dist/collection/components/wm-input/wm-input.js +1 -1
- package/dist/collection/components/wm-menuitem/wm-menuitem.js +1 -1
- package/dist/collection/components/wm-modal/wm-modal-footer.js +1 -1
- package/dist/collection/components/wm-modal/wm-modal-header.js +1 -1
- package/dist/collection/components/wm-modal/wm-modal.js +2 -2
- package/dist/collection/components/wm-modal-pss/wm-modal-pss-footer.js +1 -1
- package/dist/collection/components/wm-modal-pss/wm-modal-pss-header.js +1 -1
- package/dist/collection/components/wm-modal-pss/wm-modal-pss.js +2 -2
- package/dist/collection/components/wm-navigation/wm-navigation-hamburger.js +1 -1
- package/dist/collection/components/wm-navigation/wm-navigation-item.js +1 -1
- package/dist/collection/components/wm-navigation/wm-navigation.js +2 -2
- package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.js +1 -1
- package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.js +1 -1
- package/dist/collection/components/wm-pagination/wm-pagination.css +12 -17
- package/dist/collection/components/wm-pagination/wm-pagination.js +1 -1
- package/dist/collection/components/wm-search/wm-search.css +8 -8
- package/dist/collection/components/wm-search/wm-search.js +2 -2
- package/dist/collection/components/wm-snackbar/wm-snackbar.css +10 -13
- package/dist/collection/components/wm-snackbar/wm-snackbar.js +2 -2
- package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.css +3 -2
- package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.js +2 -2
- package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.js +3 -3
- package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.js +1 -1
- package/dist/collection/components/wm-tag-input/wm-tag-input.js +2 -2
- package/dist/collection/components/wm-textarea/wm-textarea.js +1 -1
- package/dist/collection/components/wm-timepicker/wm-timepicker.js +2 -2
- package/dist/collection/components/wm-toggletip/wm-toggletip.js +3 -3
- package/dist/collection/components/wm-uploader/wm-uploader.css +23 -16
- package/dist/collection/components/wm-uploader/wm-uploader.js +2 -2
- package/dist/esm/{app-globals-2d0df1cb.js → app-globals-e00b1feb.js} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/priv-calendar.entry.js +26 -13
- package/dist/esm/priv-chart-popover_2.entry.js +1 -1
- package/dist/esm/priv-navigator-button.entry.js +1 -1
- package/dist/esm/priv-navigator-item.entry.js +1 -1
- package/dist/esm/priv-option-list.entry.js +1 -1
- package/dist/esm/ripple.js +2 -2
- package/dist/esm/wm-action-menu_2.entry.js +2 -2
- package/dist/esm/wm-button.entry.js +2 -2
- package/dist/esm/wm-file-list.entry.js +1 -1
- package/dist/esm/wm-file.entry.js +1 -1
- package/dist/esm/wm-flyout.entry.js +1 -1
- package/dist/esm/wm-input.entry.js +1 -1
- package/dist/esm/wm-modal-pss_3.entry.js +4 -4
- package/dist/esm/wm-modal_3.entry.js +4 -4
- package/dist/esm/wm-navigation_3.entry.js +4 -4
- package/dist/esm/wm-nested-select.entry.js +3 -3
- package/dist/esm/wm-optgroup.entry.js +1 -1
- package/dist/esm/wm-option_2.entry.js +5 -5
- package/dist/esm/wm-pagination.entry.js +2 -2
- package/dist/esm/wm-search.entry.js +3 -3
- package/dist/esm/wm-snackbar.entry.js +3 -3
- package/dist/esm/wm-tab-item_3.entry.js +7 -7
- package/dist/esm/wm-tag-input.entry.js +2 -2
- package/dist/esm/wm-textarea.entry.js +1 -1
- package/dist/esm/wm-timepicker.entry.js +2 -2
- package/dist/esm/wm-toggletip.entry.js +3 -3
- package/dist/esm/wm-uploader.entry.js +3 -3
- package/dist/esm-es5/{app-globals-2d0df1cb.js → app-globals-e00b1feb.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_2.entry.js +1 -1
- package/dist/esm-es5/priv-navigator-button.entry.js +1 -1
- package/dist/esm-es5/priv-navigator-item.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-file-list.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-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-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-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-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-9dc0fcd6.system.entry.js → p-00a9e425.system.entry.js} +1 -1
- package/dist/ripple/p-02b50251.entry.js +1 -0
- package/dist/ripple/{p-26d92a96.system.entry.js → p-07b703b6.system.entry.js} +1 -1
- package/dist/ripple/{p-2f925b25.system.entry.js → p-08063ac2.system.entry.js} +1 -1
- package/dist/ripple/{p-377cf709.entry.js → p-0a226179.entry.js} +1 -1
- package/dist/ripple/{p-909f8797.entry.js → p-1641d37f.entry.js} +1 -1
- package/dist/ripple/p-1720b84f.entry.js +1 -0
- package/dist/ripple/{p-2e71fe42.entry.js → p-25c56231.entry.js} +1 -1
- package/dist/ripple/{p-15ab0cf9.system.entry.js → p-278accdb.system.entry.js} +1 -1
- package/dist/ripple/{p-78edd963.entry.js → p-30f1afd4.entry.js} +1 -1
- package/dist/ripple/{p-874cc540.system.js → p-38a6a099.system.js} +1 -1
- package/dist/ripple/{p-8d858325.system.entry.js → p-4934d53f.system.entry.js} +1 -1
- package/dist/ripple/{p-1c9c0cf2.system.entry.js → p-4eb3a4a9.system.entry.js} +1 -1
- package/dist/ripple/{p-1124978e.system.entry.js → p-55cdf672.system.entry.js} +1 -1
- package/dist/ripple/{p-84d88288.entry.js → p-5b0fe876.entry.js} +1 -1
- package/dist/ripple/{p-32f95573.system.entry.js → p-5f822c17.system.entry.js} +1 -1
- package/dist/ripple/{p-34574dc8.system.entry.js → p-6a6e4645.system.entry.js} +1 -1
- package/dist/ripple/{p-576f4d06.system.entry.js → p-6c01961b.system.entry.js} +1 -1
- package/dist/ripple/p-719ade3d.system.entry.js +1 -0
- package/dist/ripple/{p-35ef7bba.entry.js → p-73f81790.entry.js} +1 -1
- package/dist/ripple/{p-d4877cbc.system.entry.js → p-7457705b.system.entry.js} +1 -1
- package/dist/ripple/{p-0b2a0825.system.entry.js → p-74b5624a.system.entry.js} +1 -1
- package/dist/ripple/p-7616ddda.system.entry.js +1 -0
- package/dist/ripple/{p-bf83369d.system.entry.js → p-79e2e6f0.system.entry.js} +1 -1
- package/dist/ripple/{p-cf845266.entry.js → p-7e56aca4.entry.js} +1 -1
- package/dist/ripple/{p-c4e4a44c.entry.js → p-7f333b52.entry.js} +1 -1
- package/dist/ripple/{p-b089276a.entry.js → p-828afdbe.entry.js} +1 -1
- package/dist/ripple/{p-bc271e17.system.entry.js → p-83a41243.system.entry.js} +1 -1
- package/dist/ripple/{p-0ef91339.entry.js → p-842dcfd6.entry.js} +1 -1
- package/dist/ripple/{p-f2a1f116.entry.js → p-84d41f0e.entry.js} +1 -1
- package/dist/ripple/{p-7e0efb95.entry.js → p-8c0ba5b7.entry.js} +1 -1
- package/dist/ripple/{p-b313c3d3.system.entry.js → p-8f4fcdf4.system.entry.js} +1 -1
- package/dist/ripple/{p-d62f5fd3.entry.js → p-95677d9b.entry.js} +1 -1
- package/dist/ripple/{p-0d03f838.js → p-98b9e488.js} +1 -1
- package/dist/ripple/{p-966f2c9e.entry.js → p-9bcdb6ae.entry.js} +1 -1
- package/dist/ripple/{p-1802aedc.system.entry.js → p-a1f2ce53.system.entry.js} +1 -1
- package/dist/ripple/p-a35a0e24.entry.js +1 -0
- package/dist/ripple/{p-f6d60ed8.system.entry.js → p-acdfbdb8.system.entry.js} +1 -1
- package/dist/ripple/{p-21114d99.entry.js → p-aecb621d.entry.js} +1 -1
- package/dist/ripple/{p-575f24e8.system.entry.js → p-b200dc04.system.entry.js} +1 -1
- package/dist/ripple/{p-6646191c.entry.js → p-b7f12170.entry.js} +1 -1
- package/dist/ripple/{p-d6ca433c.entry.js → p-b9a55887.entry.js} +1 -1
- package/dist/ripple/{p-0ad87064.system.entry.js → p-bf42cf44.system.entry.js} +1 -1
- package/dist/ripple/{p-8aee3856.system.js → p-c9e6cb3d.system.js} +1 -1
- package/dist/ripple/{p-3e10eb3d.entry.js → p-d28816c9.entry.js} +1 -1
- package/dist/ripple/{p-cab65a05.system.entry.js → p-d404695d.system.entry.js} +1 -1
- package/dist/ripple/{p-21480984.entry.js → p-d4fe10ec.entry.js} +1 -1
- package/dist/ripple/{p-0abc1b51.system.entry.js → p-d5e5c55a.system.entry.js} +1 -1
- package/dist/ripple/{p-6394d25d.entry.js → p-dddeb54c.entry.js} +1 -1
- package/dist/ripple/{p-6d375c14.system.entry.js → p-e2a2f3ca.system.entry.js} +1 -1
- package/dist/ripple/{p-8c20ccd2.entry.js → p-e7615737.entry.js} +1 -1
- package/dist/ripple/{p-60aa6bec.system.entry.js → p-e7988695.system.entry.js} +1 -1
- package/dist/ripple/{p-ad8132aa.entry.js → p-f63ef9c1.entry.js} +1 -1
- package/dist/ripple/{p-8888e7f0.system.entry.js → p-fab7195d.system.entry.js} +1 -1
- package/dist/ripple/{p-51cd1c0f.entry.js → p-ff70ddd9.entry.js} +1 -1
- package/dist/ripple/ripple.esm.js +1 -1
- package/dist/ripple/ripple.js +1 -1
- package/dist/types/components/charts/wm-chart/wm-chart.d.ts +1 -1
- package/dist/types/components/charts/wm-progress-monitor/wm-progress-indicator.d.ts +1 -1
- package/dist/types/components/datepickers/priv-calendar/priv-calendar.d.ts +5 -1
- package/package.json +3 -3
- package/dist/ripple/p-1430f504.entry.js +0 -1
- package/dist/ripple/p-157468c5.entry.js +0 -1
- package/dist/ripple/p-3989274d.system.entry.js +0 -1
- package/dist/ripple/p-7ee3f5ab.system.entry.js +0 -1
- package/dist/ripple/p-b4ce79cd.entry.js +0 -1
|
@@ -96,9 +96,9 @@ export class Navigation {
|
|
|
96
96
|
} }));
|
|
97
97
|
}
|
|
98
98
|
render() {
|
|
99
|
-
return (h(Host, { key: '
|
|
99
|
+
return (h(Host, { key: '40e8ea08dd4de4b325b8157563b2053448ca90f5', role: "navigation", "aria-expanded": this.ariaExpanded, "aria-label": this.mainNavigationMessage }, this.open ? this.renderOverlay() : "", this.isCollapsible && (h("div", { key: '906975fbaad775dde78cf94e7ace20caa32027f6', class: "trapfocus", tabindex: this.open ? 0 : undefined, onFocus: () => this.focusLastItem() })), h("div", { key: '29a269e61ef8ca8bcccf1d4bbfe7d3c6f8ba2758', class: "tray" }, h("div", { key: '38b207f710cc26163b7eff2ad3eca963f5bdab3c', class: "toggle-wrapper" }, h("wm-button", { key: 'f5bae797529433205ec8abd0f025db335277e3df', ref: (el) => (this.toggleEl = el), class: "toggle", "button-type": "navigational", icon: this.open ? "#close" : "#menu", "icon-size": "2rem", tooltip: this.open ? globalMessages.close : globalMessages.open, "tooltip-position": "right", tabIndex: this.open ? undefined : -1, onClick: () => {
|
|
100
100
|
this.open = !this.open;
|
|
101
|
-
} })), h("ul", { key: '
|
|
101
|
+
} })), h("ul", { key: '956f80bb6f1f873186e9787836c0748fbd6de708', class: "navlist" }, h("slot", { key: '4846ab62c5a8cd2d76b3b74f6fa9370ea12ff7de' }))), this.isCollapsible && (h("div", { key: '9639e7b704cc88fd8227aa4a30cd88d21951c015', class: "trapfocus", tabindex: this.open ? 0 : undefined, onFocus: () => this.toggleEl.focus() }))));
|
|
102
102
|
}
|
|
103
103
|
static get is() { return "wm-navigation"; }
|
|
104
104
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.js
CHANGED
|
@@ -9,7 +9,7 @@ export class PrivNavigatorButton {
|
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
11
|
const { handleClick, altText } = this;
|
|
12
|
-
return (h("button", { key: '
|
|
12
|
+
return (h("button", { key: 'b3055b43aaad031a91e8c10eed63e302e0dda804', "aria-expanded": this.expanded.toString(), class: "navigator", onClick: handleClick.bind(this), "aria-label": altText }));
|
|
13
13
|
}
|
|
14
14
|
static get is() { return "priv-navigator-button"; }
|
|
15
15
|
static get encapsulation() { return "shadow"; }
|
|
@@ -16,7 +16,7 @@ export class PrivNavigatorItem {
|
|
|
16
16
|
render() {
|
|
17
17
|
const selectedClass = this.selected ? "selected" : "";
|
|
18
18
|
const focusedClass = this.focused ? "focused" : "";
|
|
19
|
-
return (h("div", { key: '
|
|
19
|
+
return (h("div", { key: 'd7c6a68612221b0207c84b48531c144b26d6393a', class: `navoption ${selectedClass} ${focusedClass}` }, h("slot", { key: 'd36a383f3a6964954ab722d9fbc23accd6763622' })));
|
|
20
20
|
}
|
|
21
21
|
static get is() { return "priv-navigator-item"; }
|
|
22
22
|
static get encapsulation() { return "shadow"; }
|
|
@@ -862,15 +862,6 @@
|
|
|
862
862
|
|
|
863
863
|
:host,
|
|
864
864
|
wm-pagination {
|
|
865
|
-
--wmcolor-pagination-arrow-disabled: var(--wmcolor-interactive-disabled);
|
|
866
|
-
--wmcolor-pagination-arrow: var(--wmcolor-interactive);
|
|
867
|
-
--wmcolor-pagination-arrow: var(--wmcolor-interactive);
|
|
868
|
-
--wmcolor-pagination-button-text-disabled: var(--wmcolor-interactive-disabled);
|
|
869
|
-
--wmcolor-pagination-button-text: var(--wmcolor-interactive);
|
|
870
|
-
--wmcolor-pagination-current-background-hover: var(--wmcolor-interactive-hover);
|
|
871
|
-
--wmcolor-pagination-current-background: var(--wmcolor-interactive);
|
|
872
|
-
--wmcolor-pagination-current-text: var(--wmcolor-interactive-text);
|
|
873
|
-
--wmcolor-pagination-focus: var(--wmcolor-interactive-focus);
|
|
874
865
|
display: block;
|
|
875
866
|
}
|
|
876
867
|
|
|
@@ -903,7 +894,10 @@ nav .smallscreen .paginationbtn {
|
|
|
903
894
|
-moz-transition: none;
|
|
904
895
|
transition: none;
|
|
905
896
|
border: none;
|
|
906
|
-
color: var(--wmcolor-
|
|
897
|
+
color: var(--wmcolor-link-text);
|
|
898
|
+
text-decoration: underline;
|
|
899
|
+
text-decoration-thickness: 0.0714285714em;
|
|
900
|
+
text-underline-offset: 0.1428571429em;
|
|
907
901
|
background-color: transparent;
|
|
908
902
|
margin: 0;
|
|
909
903
|
padding: 0;
|
|
@@ -919,11 +913,12 @@ nav .smallscreen .paginationbtn {
|
|
|
919
913
|
}
|
|
920
914
|
nav .largescreen .paginationbtn svg *,
|
|
921
915
|
nav .smallscreen .paginationbtn svg * {
|
|
922
|
-
fill: var(--wmcolor-
|
|
916
|
+
fill: var(--wmcolor-interactive);
|
|
923
917
|
}
|
|
924
918
|
nav .largescreen .paginationbtn:hover:not([aria-current=page]):not([disabled]),
|
|
925
919
|
nav .smallscreen .paginationbtn:hover:not([aria-current=page]):not([disabled]) {
|
|
926
|
-
text-
|
|
920
|
+
color: var(--wmcolor-link-text-hover);
|
|
921
|
+
text-decoration-thickness: 0.1428571429em;
|
|
927
922
|
}
|
|
928
923
|
nav .largescreen .paginationbtn:focus,
|
|
929
924
|
nav .smallscreen .paginationbtn:focus {
|
|
@@ -936,12 +931,12 @@ nav .smallscreen .paginationbtn::-moz-focus-inner {
|
|
|
936
931
|
}
|
|
937
932
|
nav .largescreen .paginationbtn[disabled],
|
|
938
933
|
nav .smallscreen .paginationbtn[disabled] {
|
|
939
|
-
color: var(--wmcolor-
|
|
934
|
+
color: var(--wmcolor-interactive-disabled);
|
|
940
935
|
pointer-events: none;
|
|
941
936
|
}
|
|
942
937
|
nav .largescreen .paginationbtn[disabled] svg *,
|
|
943
938
|
nav .smallscreen .paginationbtn[disabled] svg * {
|
|
944
|
-
fill: var(--wmcolor-
|
|
939
|
+
fill: var(--wmcolor-interactive-disabled);
|
|
945
940
|
}
|
|
946
941
|
nav .largescreen .previousbtn,
|
|
947
942
|
nav .smallscreen .previousbtn {
|
|
@@ -1001,11 +996,11 @@ nav .largescreen .paginationbtn[aria-current=page] {
|
|
|
1001
996
|
-ms-border-radius: 50%;
|
|
1002
997
|
border-radius: 50%;
|
|
1003
998
|
box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.14), 0 3px 4px 0 rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
|
|
1004
|
-
background: var(--wmcolor-
|
|
1005
|
-
color: var(--wmcolor-
|
|
999
|
+
background: var(--wmcolor-interactive);
|
|
1000
|
+
color: var(--wmcolor-interactive-text);
|
|
1006
1001
|
}
|
|
1007
1002
|
nav .largescreen .paginationbtn[aria-current=page]:hover {
|
|
1008
|
-
background: var(--wmcolor-
|
|
1003
|
+
background: var(--wmcolor-interactive-hover);
|
|
1009
1004
|
}
|
|
1010
1005
|
|
|
1011
1006
|
.sr-only {
|
|
@@ -203,7 +203,7 @@ export class Pagination {
|
|
|
203
203
|
render() {
|
|
204
204
|
return (
|
|
205
205
|
// do not render the component if there's only one page
|
|
206
|
-
this.totalItems > this.itemsPerPage && (h("nav", { key: '
|
|
206
|
+
this.totalItems > this.itemsPerPage && (h("nav", { key: '0dd1e2de8fe412fcdb1e9dd55ae0aa50182bdc5f', "aria-label": `${this.navigationLabel} ${this.getCurrentPagesInView()}. ${this.currentPageAnnouncement(this.currentPage)}` }, this.isLargeSize ? this.renderLarge() : this.renderSmall(), h("div", { key: 'a2b34da3b059df6b42522d19ee4841fc02553fcf', id: "status", class: "sr-only", "aria-live": "polite", "aria-relevant": "text", "aria-atomic": "true" }, this.srAnnouncement))));
|
|
207
207
|
}
|
|
208
208
|
static get is() { return "wm-pagination"; }
|
|
209
209
|
static get encapsulation() { return "shadow"; }
|
|
@@ -865,17 +865,13 @@
|
|
|
865
865
|
}
|
|
866
866
|
|
|
867
867
|
:host {
|
|
868
|
-
--wmcolor-search-background: var(--wmcolor-background);
|
|
869
|
-
--wmcolor-search-border: var(--wmcolor-border-dark);
|
|
870
|
-
--wmcolor-search-jump-text-focus: var(--wmcolor-interactive-focus);
|
|
871
|
-
--wmcolor-search-jump-text: var(--wmcolor-interactive);
|
|
872
868
|
width: 100%;
|
|
873
869
|
font-size: 0.875rem;
|
|
874
870
|
}
|
|
875
871
|
:host .wm-search-wrapper {
|
|
876
872
|
border-radius: 3px;
|
|
877
873
|
position: relative;
|
|
878
|
-
border: 1px solid var(--wmcolor-
|
|
874
|
+
border: 1px solid var(--wmcolor-border-dark);
|
|
879
875
|
display: flex;
|
|
880
876
|
justify-content: space-between;
|
|
881
877
|
align-items: center;
|
|
@@ -889,7 +885,7 @@
|
|
|
889
885
|
border: none;
|
|
890
886
|
height: 40px;
|
|
891
887
|
padding: 0 1.75rem;
|
|
892
|
-
background: var(--wmcolor-
|
|
888
|
+
background: var(--wmcolor-background);
|
|
893
889
|
overflow: visible;
|
|
894
890
|
width: 100%;
|
|
895
891
|
flex: 1;
|
|
@@ -935,14 +931,18 @@
|
|
|
935
931
|
}
|
|
936
932
|
:host .jump-results {
|
|
937
933
|
all: unset;
|
|
938
|
-
color: var(--wmcolor-
|
|
939
|
-
text-decoration:
|
|
934
|
+
color: var(--wmcolor-link-text);
|
|
935
|
+
text-decoration: underline;
|
|
936
|
+
text-decoration-thickness: 0.0714285714em;
|
|
937
|
+
text-underline-offset: 0.1428571429em;
|
|
940
938
|
font-weight: 500;
|
|
941
939
|
font-size: 0.875rem;
|
|
942
940
|
display: inline-block;
|
|
943
941
|
margin: 8px 0;
|
|
944
942
|
}
|
|
945
943
|
:host .jump-results:focus-visible {
|
|
944
|
+
color: var(--wmcolor-link-text-hover);
|
|
945
|
+
text-decoration-thickness: 0.1428571429em;
|
|
946
946
|
outline: 3px solid var(--wmcolor-interactive-focus);
|
|
947
947
|
outline-offset: 2px;
|
|
948
948
|
}
|
|
@@ -168,10 +168,10 @@ export class Search {
|
|
|
168
168
|
* End search and find render helpers
|
|
169
169
|
*/
|
|
170
170
|
render() {
|
|
171
|
-
return (h(Host, { key: '
|
|
171
|
+
return (h(Host, { key: '0badc426e30ae7a816fb78fd187060c615adf238' }, h("div", { key: '66fe953f705a2c90c628855c0864477e62b3ebf3', id: "wm-search-wrapper", class: `wm-search-wrapper ${this.searchType}` }, h("input", { key: '52c205e6873386f5cb270666eb0e6f86aa635549', disabled: this.isDisabled, id: "wm-search-input", placeholder: this.placeholder, "aria-label": `${this.label ? this.label + ". " : ""}${intl.formatMessage({
|
|
172
172
|
id: "search.typeToFilterResults",
|
|
173
173
|
defaultMessage: "Type to filter the results",
|
|
174
|
-
})}`, onInput: (ev) => this.updateValue(ev.target.value), onBlur: () => this.handleBlur(), "aria-autocomplete": "none", autocomplete: "off", value: this.value }), h("span", { key: '
|
|
174
|
+
})}`, onInput: (ev) => this.updateValue(ev.target.value), onBlur: () => this.handleBlur(), "aria-autocomplete": "none", autocomplete: "off", value: this.value }), h("span", { key: '71dbaea311e49a6a576787232a10a66da287eb09', class: "svg-icon svg-search" }), this.searchType === "find" && this.renderResultsAndBrowseButtons(), h("div", { key: '3e0ede8efc35452092bd42e684a4be6287118e44', id: "wm-search-live", class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.resultsLiveRegion = el) }, this.announcement)), this.searchType === "find" && this.renderJumpToLink()));
|
|
175
175
|
}
|
|
176
176
|
static get is() { return "wm-search"; }
|
|
177
177
|
static get encapsulation() { return "shadow"; }
|
|
@@ -866,12 +866,6 @@
|
|
|
866
866
|
}
|
|
867
867
|
|
|
868
868
|
:host {
|
|
869
|
-
--wmcolor-snackbar-background: var(--wmcolor-background-dark);
|
|
870
|
-
--wmcolor-snackbar-close-background-hover: var(--wmcolor-interactive-ondark);
|
|
871
|
-
--wmcolor-snackbar-close-background: var(--wmcolor-background-transparent);
|
|
872
|
-
--wmcolor-snackbar-close-icon-hover: var(--wmcolor-interactive);
|
|
873
|
-
--wmcolor-snackbar-close-icon: var(--wmcolor-interactive-ondark);
|
|
874
|
-
--wmcolor-snackbar-text: var(--wmcolor-text-ondark);
|
|
875
869
|
position: fixed;
|
|
876
870
|
bottom: 0;
|
|
877
871
|
z-index: 2001;
|
|
@@ -915,10 +909,10 @@
|
|
|
915
909
|
-moz-transition: all 0.25s 0ms cubic-bezier(0.4, 0, 1, 1);
|
|
916
910
|
transition: all 0.25s 0ms cubic-bezier(0.4, 0, 1, 1);
|
|
917
911
|
font-size: 0.875rem;
|
|
918
|
-
color: var(--wmcolor-
|
|
912
|
+
color: var(--wmcolor-text-ondark);
|
|
919
913
|
padding: 1rem;
|
|
920
914
|
min-block-size: 3.75rem;
|
|
921
|
-
background: var(--wmcolor-
|
|
915
|
+
background: var(--wmcolor-background-dark);
|
|
922
916
|
opacity: 0;
|
|
923
917
|
left: 0;
|
|
924
918
|
position: relative;
|
|
@@ -967,12 +961,15 @@
|
|
|
967
961
|
text-decoration: none;
|
|
968
962
|
font-weight: 600;
|
|
969
963
|
cursor: pointer;
|
|
964
|
+
text-decoration: underline;
|
|
965
|
+
text-decoration-thickness: 0.0714285714em;
|
|
966
|
+
text-underline-offset: 0.1428571429em;
|
|
970
967
|
}
|
|
971
968
|
:host .wm-snack-wrapper .wm-snackbar .link .svg-open-in-new {
|
|
972
969
|
margin-inline-start: 0.25rem;
|
|
973
970
|
}
|
|
974
971
|
:host .wm-snack-wrapper .wm-snackbar .link:hover {
|
|
975
|
-
text-decoration:
|
|
972
|
+
text-decoration-thickness: 0.1428571429em;
|
|
976
973
|
}
|
|
977
974
|
:host .wm-snack-wrapper .wm-snackbar .link:focus {
|
|
978
975
|
outline: none;
|
|
@@ -1033,8 +1030,8 @@
|
|
|
1033
1030
|
-moz-border-radius: 50%;
|
|
1034
1031
|
-ms-border-radius: 50%;
|
|
1035
1032
|
border-radius: 50%;
|
|
1036
|
-
background-color: var(--wmcolor-
|
|
1037
|
-
color: var(--wmcolor-
|
|
1033
|
+
background-color: var(--wmcolor-background-transparent);
|
|
1034
|
+
color: var(--wmcolor-interactive-ondark);
|
|
1038
1035
|
cursor: pointer;
|
|
1039
1036
|
border: none;
|
|
1040
1037
|
font-size: 1rem;
|
|
@@ -1050,8 +1047,8 @@
|
|
|
1050
1047
|
--icon-size: 1.125rem;
|
|
1051
1048
|
}
|
|
1052
1049
|
:host .wm-snack-wrapper .wm-snackbar .content-wrapper .closesnack:hover {
|
|
1053
|
-
background-color: var(--wmcolor-
|
|
1054
|
-
color: var(--wmcolor-
|
|
1050
|
+
background-color: var(--wmcolor-interactive-ondark);
|
|
1051
|
+
color: var(--wmcolor-interactive);
|
|
1055
1052
|
}
|
|
1056
1053
|
:host .wm-snack-wrapper .wm-snackbar .content-wrapper .closesnack:focus {
|
|
1057
1054
|
outline: none;
|
|
@@ -145,11 +145,11 @@ export class Snackbar {
|
|
|
145
145
|
}, onKeyDown: (ev) => ev.key === "Enter" && this.snackLinkClicked(notification) }, h("span", { "aria-hidden": "true" }, notification.link), notification.newWindow && h("div", { class: "svg-icon svg-open-in-new" })))), h("button", { id: `close-button-${notification.id}`, "aria-label": this.closeSnackMessage, class: "closesnack", tabindex: notification.link ? 0 : -1, onClick: () => this.snackDismissed(notification), onMouseEnter: (ev) => showTooltip("bottom", ev.target, globalMessages.close), onMouseLeave: () => hideTooltip(), onFocus: (ev) => this.isTabbing && showTooltip("bottom", ev.target, globalMessages.close), onBlur: () => hideTooltip() }, h("div", { class: "svg-icon svg-close" }))), h("div", { class: "sr-only", tabindex: notification.link ? 0 : -1, onFocus: () => notification.link && this.snackDismissed(notification) })))));
|
|
146
146
|
}
|
|
147
147
|
render() {
|
|
148
|
-
return (h(Host, { key: '
|
|
148
|
+
return (h(Host, { key: '84273f446de24a6f61ae4e057e49d3da182149ce' }, h("div", { key: '7adcbc01ac51d68ccdc6e5c1e6876adb9fdb956d', ref: (el) => (this.snackAreaEl = el), class: {
|
|
149
149
|
"list-wrapper": true,
|
|
150
150
|
"user-is-tabbing": this.isTabbing,
|
|
151
151
|
empty: this.parsedNotifications.length == 0,
|
|
152
|
-
} }, this.renderSnackbars()), h("div", { key: '
|
|
152
|
+
} }, this.renderSnackbars()), h("div", { key: '3314ee4b261b884600ff98ae8e9a1087f66b7d12', class: "sr-only", "aria-live": "polite", "aria-atomic": "false", id: `wm-live-region-${this.uid}`, ref: (el) => (this.liveRegionEl = el) }, this.announcement)));
|
|
153
153
|
}
|
|
154
154
|
static get is() { return "wm-snackbar"; }
|
|
155
155
|
static get encapsulation() { return "shadow"; }
|
|
@@ -891,7 +891,7 @@
|
|
|
891
891
|
-moz-border-radius: 0;
|
|
892
892
|
-ms-border-radius: 0;
|
|
893
893
|
border-radius: 0;
|
|
894
|
-
color: var(--wmcolor-
|
|
894
|
+
color: var(--wmcolor-link-text);
|
|
895
895
|
text-decoration: none;
|
|
896
896
|
font-size: 0.875rem;
|
|
897
897
|
font-weight: 600;
|
|
@@ -909,6 +909,7 @@
|
|
|
909
909
|
font-weight: 700;
|
|
910
910
|
}
|
|
911
911
|
.tab-item .tab:hover, .tab-item .tab:active, .tab-item .tab:focus {
|
|
912
|
+
color: var(--wmcolor-link-text-hover);
|
|
912
913
|
outline: none;
|
|
913
914
|
}
|
|
914
915
|
.tab-item.dark .tab {
|
|
@@ -919,7 +920,7 @@
|
|
|
919
920
|
opacity: 1;
|
|
920
921
|
}
|
|
921
922
|
.tab-item:has(.tab[aria-selected=true]) {
|
|
922
|
-
box-shadow: inset 0 -4px 0 0 var(--wmcolor-
|
|
923
|
+
box-shadow: inset 0 -4px 0 0 var(--wmcolor-link-text);
|
|
923
924
|
}
|
|
924
925
|
.tab-item:has(.tab[aria-selected=true]).dark {
|
|
925
926
|
box-shadow: inset 0 -4px 0 0 var(--wmcolor-interactive-ondark);
|
|
@@ -27,9 +27,9 @@ export class TabItem {
|
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
29
|
const isDark = this.parentTabList && this.parentTabList.customBackground == "dark";
|
|
30
|
-
return (h(Host, { key: '
|
|
30
|
+
return (h(Host, { key: 'a3428f7215247e174dd989f31df553ec7c2e76bf', role: "presentation" }, h("li", { key: '351d39f9a6fe217ca4d43d7421d20979e5c6a5df', class: `tab-item ${isDark ? "dark" : ""}`, role: "presentation" }, h("a", { key: 'b0934afc00da6283016f2245840f7c98eba023e0', class: `tab`, role: "tab", ref: (el) => (this.linkEl = el), id: `tab-link-${this.tabId}`, onKeyDown: (ev) => this.tabPressed(ev), "aria-selected": this.selected ? "true" : "false", tabindex: this.selected ? 0 : -1, onClick: this.tabClicked, onFocus: () => {
|
|
31
31
|
this.wmIntTabFocused.emit({ tabItem: this.el });
|
|
32
|
-
} }, h("slot", { key: '
|
|
32
|
+
} }, h("slot", { key: 'b1f7659a3f4d34d3ba80acaf04bd7403765c120f' })))));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "wm-tab-item"; }
|
|
35
35
|
static get encapsulation() { return "shadow"; }
|
|
@@ -257,15 +257,15 @@ export class TabList {
|
|
|
257
257
|
this.announcement = message;
|
|
258
258
|
}
|
|
259
259
|
render() {
|
|
260
|
-
return (h(Host, { key: '
|
|
260
|
+
return (h(Host, { key: '4d96241689596a458d8d51e03e4c68c503fbde32' }, h("div", { key: '97c6656543c22d7970403f3dc4233a78ef63b74d', class: "component-wrapper" }, h("wm-button", { key: '713d8219abec2f3743d95022302ae6083c538446', class: `left-arrow ${this.scrollArrowsVisible ? "visible" : ""}`, "aria-controls": "tablist", customBackground: this.customBackground, buttonType: "navigational", icon: "#previous", tooltip: intl.formatMessage({
|
|
261
261
|
id: "tabs.showPreviousTabs",
|
|
262
262
|
defaultMessage: "Show previous tabs",
|
|
263
263
|
description: "Tooltip for button scrolling tab group.",
|
|
264
|
-
}), onClick: (ev) => this.handleLeftArrowClick(ev) }), h("ul", { key: '
|
|
264
|
+
}), onClick: (ev) => this.handleLeftArrowClick(ev) }), h("ul", { key: 'fe8e2e2ae3d7b13f0f55167da243a60c35df3144', id: "tablist", ref: (el) => (this.tabContainerEl = el), class: `tabcontainer ${this.customBackground || ""} ${this.containerFadeLeft ? "fade-left" : ""} ${this.containerFadeRight ? "fade-right" : ""}`, role: "tablist", tabIndex: -1 }, h("slot", { key: 'ec32591d2a5668df5088be59b13846f5fd356b42' })), h("wm-button", { key: '3918f7e86164e23294c48b209fea2ce91103f76f', class: `right-arrow ${this.scrollArrowsVisible ? "visible" : ""}`, "aria-controls": "tablist", customBackground: this.customBackground, buttonType: "navigational", icon: "#next", tooltip: intl.formatMessage({
|
|
265
265
|
id: "tabs.showNextTabs",
|
|
266
266
|
defaultMessage: "Show next tabs",
|
|
267
267
|
description: "Tooltip for button scrolling tab group.",
|
|
268
|
-
}), onClick: (ev) => this.handleRightArrowClick(ev) }), h("span", { key: '
|
|
268
|
+
}), onClick: (ev) => this.handleRightArrowClick(ev) }), h("span", { key: '96fb1196fcddd7b3454bce22f4febe0d57e9a40a', "aria-live": "assertive", class: "sr-only", ref: (el) => (this.liveRegionEl = el) }, this.announcement))));
|
|
269
269
|
}
|
|
270
270
|
static get is() { return "wm-tab-list"; }
|
|
271
271
|
static get encapsulation() { return "shadow"; }
|
|
@@ -12,7 +12,7 @@ export class TabPanel {
|
|
|
12
12
|
this.tabPanelLoaded.emit({ tabId: this.tabId });
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return h(Host, { key: '
|
|
15
|
+
return h(Host, { key: '385e332f10a9fc6221353fb83be59b0037ffefc2', role: "tabpanel", tabIndex: "-1", class: { "tab-hidden": !this.active } });
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "wm-tab-panel"; }
|
|
18
18
|
static get originalStyleUrls() {
|
|
@@ -927,10 +927,10 @@ export class TagInput {
|
|
|
927
927
|
}
|
|
928
928
|
}
|
|
929
929
|
render() {
|
|
930
|
-
return (h("div", { key: '
|
|
930
|
+
return (h("div", { key: 'bc7ceb341af4255f65128f6a525a3e20e12167c5', class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: 'f6fdfac85220dfd3b631243fca8cadb4597d6bc8', class: "label-wrapper" }, h("label", { key: 'f9e85609dd7073deed0387a7a067d3d5d4a758ee', class: "label", htmlFor: "input", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => hideTooltip() }, this.label), this.requiredField && (h("div", { key: '43019cbc3f96e62f9777747ef549453cad428b84', class: "required", "aria-hidden": "true" }, "*"))), h("div", { key: 'be53d57e66fafb2c8d6e8df43a37f494a35083d4', class: `field-wrapper ${this.el.shadowRoot.activeElement === this.inputEl ? "focused" : ""} ${this.errorMessage ? "invalid" : ""}`, ref: (el) => (this.fieldWrapperEl = el) }, h("div", { key: 'a61a1bd233e6fcc89aaa0487931c2c451ebaf98b', class: "upper-row" }, h("div", { key: 'fb86580cf7cbaf89d7cad4410d619ef1e73aa9b0', class: "svg-icon svg-search" }), h("div", { key: 'b4e1479be2e46d37be3fddbc165a48730beabaad', class: `tags-and-input-wrapper` }, h("ul", { key: 'a650280f8c311c0b8ce2e5fca09fd943583eabec', ref: (el) => (this.tagAreaEl = el), class: `tag-area ${this.taggedOptions.length === 0 && "empty"} ${this.isKeying ? "user-is-keying" : ""}`, role: "listbox", "aria-activedescendant": this.focusedTag ? this.focusedTag.id : null, "aria-orientation": "horizontal", "aria-label": `${this.label} ${this.tagAreaInstructions}`, tabindex: this._tagEls.length > 0 ? 0 : -1, "aria-describedby": `info max-tags`, onFocus: (ev) => this.handleTagAreaFocus(ev), onBlur: (ev) => {
|
|
931
931
|
this.focusedTagIndex = undefined;
|
|
932
932
|
this.handleBlur(ev);
|
|
933
|
-
}, onKeyDown: (ev) => this.handleTagAreaKeyDown(ev) }, this.renderTags()), this.isDropdown && this.renderDropdownInput(), this.isTable && this.renderTableInput()), this.isDropdown && (h("div", { key: '
|
|
933
|
+
}, onKeyDown: (ev) => this.handleTagAreaKeyDown(ev) }, this.renderTags()), this.isDropdown && this.renderDropdownInput(), this.isTable && this.renderTableInput()), this.isDropdown && (h("div", { key: 'c76ccb17e08ff237a00fc56e592cd8453582f654', class: "character-count" }, this.charCount, "/", this.characterLimit))), this.renderTagCounter(), this.isDropdown && this.renderDropdown()), this.info && (h("div", { key: '329efa16d0e5cbb0d7d9c527675340493baf2bca', id: "info", class: "info-text" }, this.info)), h("div", { key: '650c06b1b0380ef7cc5fd32eb91159754ac7da38', id: "error" }, this.errorMessage), h("div", { key: 'd4dcdd58f76c5a81e7480973a366e80fb6be51cd', class: "sr-only", "aria-live": "polite", ref: (el) => (this.liveRegionEl = el), "aria-atomic": "true" }, this.liveRegionMessage), this.isTable && this.renderTable()));
|
|
934
934
|
}
|
|
935
935
|
static get is() { return "wm-tag-input"; }
|
|
936
936
|
static get encapsulation() { return "shadow"; }
|
|
@@ -71,7 +71,7 @@ export class Textarea {
|
|
|
71
71
|
this.announcement = message;
|
|
72
72
|
}
|
|
73
73
|
render() {
|
|
74
|
-
return (h("div", { key: '
|
|
74
|
+
return (h("div", { key: '98a1bc4a7b2d670703dda7312b3f54e243a42ca4', class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: 'cd0bb8321d1986dc0c0289fed28b6edca0106a9b', class: "label-wrapper" }, h("label", { key: '26ea0c3c4f0d337ce17a94994bc9c84e7260a931', htmlFor: "inputfield", class: "label", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => hideTooltip() }, this.label, this.characterLimit && (h("span", { key: '3771ee7ef88d6a067fd27e7ab19d946ab5284044', class: "sr-only" }, " ", globalMessages.getCharacterLimit(this.characterLimit)))), this.requiredField && (h("span", { key: 'a7d6d49787677a5adbf3280ade5a40b5480c26a1', class: "required", "aria-hidden": "true" }, "*"))), h("div", { key: '73318c22acbc096af93935b9ffd4907ccd978e3f', class: "inner-wrapper" }, h("div", { key: 'dc51d20aa1ac358c7c4b4b75f007a37e7f557bab', class: `inputfield-wrapper ${this.errorMessage ? "invalid" : ""}`, style: this.inputWidth ? { width: this.inputWidth } : {} }, h("textarea", { key: '4515ea10856ef034f4aca1d71ec82a11b3db75c5', id: "inputfield", disabled: this.isDisabled, "aria-describedby": "info error", onInput: (ev) => this.handleInput(ev), onBlur: () => this.handleBlur(), placeholder: this.placeholder, autocomplete: "off", "aria-required": this.requiredField ? "true" : null, value: this.value, rows: 3, style: { height: this.inputHeight } }), this.characterLimit && typeof this.characterLimit === "number" ? (h("div", { class: `character-count ${this.value.length > this.characterLimit ? "exceeded" : ""}` }, this.charCount, "/", this.characterLimit)) : ("")), this.info && (h("div", { key: 'c7fe059676f069e8fcdfe9cb3140261857da96c7', id: "info", class: "info" }, this.info)), h("div", { key: 'ef21da1faba7f0f7441baa2023c9de9a63c91d22', id: "error", class: "error-message" }, this.errorMessage), h("div", { key: 'c4cbc2ffd6efa2456618d97974ca14a51a970223', id: "live-polite", class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.liveRegionEl = el) }, this.announcement))));
|
|
75
75
|
}
|
|
76
76
|
static get is() { return "wm-textarea"; }
|
|
77
77
|
static get encapsulation() { return "shadow"; }
|
|
@@ -281,13 +281,13 @@ export class Timepicker {
|
|
|
281
281
|
return this.times.map((time, index) => (h("li", { id: `option${index + 1}`, "data-time": time, role: "option", onClick: () => this.handleOptionClick(time) }, this.reformatTimeInternal("12", time))));
|
|
282
282
|
}
|
|
283
283
|
render() {
|
|
284
|
-
return (h(Host, { key: '
|
|
284
|
+
return (h(Host, { key: 'f98804829acffe149895961cd4886b3474f6faf5', onBlur: () => this.close(false) }, h("div", { key: '8cf42648463b6a583a80a1aea2c0557d05b212bb', class: `wrapper label-${this.labelPosition} ${!!this.errorMessage ? "invalid" : ""}`, ref: (t) => (this.tpWrapper = t) }, h("div", { key: 'e95387c48dfaa41cfae939a34a491ab2f6068252', class: "label-wrapper" }, this.labelPosition !== "none" && (h("label", { key: 'b2320f7692e4f53ef8650496b4ace2c0f895133e', id: "label", class: "label", htmlFor: "time-input", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => hideTooltip() }, this.label)), this.labelPosition !== "none" && this.requiredField && (h("div", { key: 'f203eda85f04e464b6ebbf4d083ab2a57c38e552', "aria-hidden": "true", class: "required" }, "*"))), h("div", { key: 'e111ce9e656608013a06e35d03c2a94b0a131c20' }, h("div", { key: '5247aef8ff1ea9b8852d7a5f37e279832bc97396', class: "inner-wrapper" }, h("input", { key: 'bd9d8ed36234a3e27fdc4e13a52e94a9939f6327', id: "time-input", "aria-label": this.label, "aria-describedby": "error", ref: (el) => (this.inputEl = el), onBlur: () => this.handleInputBlur(), onInput: () => (this.value = this.inputEl.value), disabled: this.isDisabled, "aria-required": this.requiredField ? "true" : null, placeholder: this.timeFormat, autocomplete: "off", value: this.value, onFocus: () => this.tpWrapper.classList.add("focus") }), h("button", { key: 'a9b02c4853528bb5175f6002ac2f5acf6f7b132e', id: "btn", ref: (el) => (this.buttonEl = el), disabled: this.isDisabled, "aria-controls": "list", "aria-expanded": this.isExpanded ? "true" : "false", "aria-label": this.buttonAriaLabel, "aria-describedby": "time-input", onClick: () => (this.isExpanded ? this.close() : this.open()),
|
|
285
285
|
// This addresses an issue in Safari, where clicking buttons does not focus them
|
|
286
286
|
// if the button does not receive focus when clicked, Timepicker incorrectly emits a blur event
|
|
287
287
|
onMouseDown: (ev) => {
|
|
288
288
|
ev.preventDefault();
|
|
289
289
|
this.buttonEl.focus();
|
|
290
|
-
} }, h("span", { key: '
|
|
290
|
+
} }, h("span", { key: '5a056cfb78d1cbe04dcb406a193ef4805ad307da', class: "svg-icon svg-time" })), h("ul", { key: '5dea217b8288309b4928f5ac796770f35980c57a', class: `options ${this.isExpanded ? "open" : ""} ${this.openUp ? "upwards" : ""}`, id: "list", role: "listbox", "aria-labelledby": "label", "aria-describedby": this.isExpanded ? "collapsed" : null, tabindex: -1, ref: (el) => (this.optionsEl = el) }, this.renderOptions())), h("div", { key: 'aef93e8dab933cdfa73fa63fd223c76f8b739285', id: "error", class: "error" }, this.errorMessage)), h("div", { key: '03be6148df4a4b474c91b03dbd1764b01b841e18', id: "live-polite", class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.liveRegionEl = el) }))));
|
|
291
291
|
}
|
|
292
292
|
static get is() { return "wm-timepicker"; }
|
|
293
293
|
static get encapsulation() { return "shadow"; }
|
|
@@ -229,11 +229,11 @@ export class Toggletip {
|
|
|
229
229
|
}
|
|
230
230
|
}
|
|
231
231
|
render() {
|
|
232
|
-
return (h(Host, { key: '
|
|
232
|
+
return (h(Host, { key: '56260e54c520a577c7aea91ab8bc96f17c289a31', class: `size-${this.targetSize}` }, h("button", { key: '6607e14bc37144ca2fe0e8d2625772510faa9ea0', ref: (el) => (this.buttonEl = el), class: "button", type: "button", "aria-label": this.label, popoverTarget: "toggletip", popoverTargetAction: "toggle", onClick: () => this.open(),
|
|
233
233
|
// In order to position the tooltip identically to the toggletip, its presence is determined by these four events
|
|
234
|
-
onMouseEnter: () => !this.isOpen && showTooltip(this.toggletipPosition, this.el, this.tooltipMessage), onMouseLeave: () => hideTooltip(), onFocus: () => !this.isOpen && showTooltip(this.toggletipPosition, this.el, this.tooltipMessage), onBlur: () => this.handleBlur() }, this.renderIcon()), h("div", { key: '
|
|
234
|
+
onMouseEnter: () => !this.isOpen && showTooltip(this.toggletipPosition, this.el, this.tooltipMessage), onMouseLeave: () => hideTooltip(), onFocus: () => !this.isOpen && showTooltip(this.toggletipPosition, this.el, this.tooltipMessage), onBlur: () => this.handleBlur() }, this.renderIcon()), h("div", { key: '8771bfc3780775227334f2fb23df98fe8df6f191', popover: "", ref: (el) => (this.toggletipEl = el), class: `toggletip ${this.targetSize} ${this.isHidden ? "hidden" : ""}`, id: "toggletip",
|
|
235
235
|
// @ts-ignore - despite what Typescript says, this is a valid event for popover elements
|
|
236
|
-
onToggle: (ev) => this.handlePopoverToggle(ev) }, this.tooltip), h("div", { key: '
|
|
236
|
+
onToggle: (ev) => this.handlePopoverToggle(ev) }, this.tooltip), h("div", { key: 'cc3081f4a2446a79f05a057cb42bf4057c1a3047', ref: (el) => (this.liveRegionEl = el), class: "live-region sr-only", role: "status", "aria-live": "polite", "aria-atomic": "true" })));
|
|
237
237
|
}
|
|
238
238
|
static get is() { return "wm-toggletip"; }
|
|
239
239
|
static get encapsulation() { return "shadow"; }
|
|
@@ -161,7 +161,7 @@
|
|
|
161
161
|
:host .wm-button.nowrap {
|
|
162
162
|
display: inline-block;
|
|
163
163
|
width: 100%;
|
|
164
|
-
overflow: hidden;
|
|
164
|
+
overflow-x: hidden;
|
|
165
165
|
white-space: nowrap;
|
|
166
166
|
text-overflow: ellipsis;
|
|
167
167
|
}
|
|
@@ -233,7 +233,10 @@
|
|
|
233
233
|
border-color: transparent;
|
|
234
234
|
}
|
|
235
235
|
:host .wm-button.-textonly {
|
|
236
|
-
color: var(--wmcolor-
|
|
236
|
+
color: var(--wmcolor-link-text);
|
|
237
|
+
text-decoration: underline;
|
|
238
|
+
text-decoration-thickness: 0.0714285714em;
|
|
239
|
+
text-underline-offset: 0.1428571429em;
|
|
237
240
|
box-shadow: none;
|
|
238
241
|
display: inline-block;
|
|
239
242
|
letter-spacing: 0;
|
|
@@ -245,31 +248,27 @@
|
|
|
245
248
|
padding: 0;
|
|
246
249
|
height: auto;
|
|
247
250
|
min-height: unset;
|
|
248
|
-
line-height: 1;
|
|
249
251
|
overflow-wrap: anywhere;
|
|
250
252
|
border-radius: 2px;
|
|
251
253
|
}
|
|
252
254
|
:host .wm-button.-textonly.small {
|
|
253
255
|
font-size: 0.625rem;
|
|
254
256
|
}
|
|
255
|
-
:host .wm-button.-textonly:hover:not(:disabled):not(.disabled)
|
|
256
|
-
text-decoration:
|
|
257
|
+
:host .wm-button.-textonly:hover:not(:disabled):not(.disabled) {
|
|
258
|
+
text-decoration-thickness: 0.1428571429em;
|
|
257
259
|
}
|
|
258
|
-
:host .wm-button.-textonly.
|
|
259
|
-
color: var(--wmcolor-
|
|
260
|
+
:host .wm-button.-textonly:hover:not(:disabled):not(.disabled):not(.-permanentlydelete):not(.ai) {
|
|
261
|
+
color: var(--wmcolor-link-text-hover);
|
|
260
262
|
}
|
|
261
|
-
:host .wm-button.-textonly.dark:
|
|
262
|
-
text-
|
|
263
|
+
:host .wm-button.-textonly.dark:not(:disabled):not(.disabled):not(.-permanentlydelete):not(.ai) {
|
|
264
|
+
color: var(--wmcolor-link-text-ondark);
|
|
265
|
+
}
|
|
266
|
+
:host .wm-button.-textonly.dark:not(:disabled):not(.disabled):not(.-permanentlydelete):not(.ai):hover {
|
|
267
|
+
color: var(--wmcolor-link-text-hover-ondark);
|
|
263
268
|
}
|
|
264
269
|
:host .wm-button.-textonly.-permanentlydelete {
|
|
265
270
|
color: var(--wmcolor-button-background-delete);
|
|
266
271
|
}
|
|
267
|
-
:host .wm-button.-textonly.-permanentlydelete:hover:not(:disabled):not(.disabled):not(.dark) {
|
|
268
|
-
text-decoration: underline;
|
|
269
|
-
}
|
|
270
|
-
:host .wm-button.-textonly.-permanentlydelete.dark:not(:disabled):not(.disabled) {
|
|
271
|
-
color: var(--wmcolor-button-text-textonly-ondark);
|
|
272
|
-
}
|
|
273
272
|
:host .wm-button.-icononly, :host .wm-button.-navigational {
|
|
274
273
|
-webkit-border-radius: 50%;
|
|
275
274
|
-moz-border-radius: 50%;
|
|
@@ -1832,9 +1831,17 @@
|
|
|
1832
1831
|
.requirements summary {
|
|
1833
1832
|
list-style-type: none;
|
|
1834
1833
|
font-weight: 700;
|
|
1835
|
-
color: var(--wmcolor-interactive);
|
|
1836
1834
|
padding-inline-end: 0.5rem;
|
|
1837
1835
|
width: fit-content;
|
|
1836
|
+
color: var(--wmcolor-link-text);
|
|
1837
|
+
cursor: default;
|
|
1838
|
+
text-decoration: underline;
|
|
1839
|
+
text-decoration-thickness: 0.0714285714em;
|
|
1840
|
+
text-underline-offset: 0.1428571429em;
|
|
1841
|
+
}
|
|
1842
|
+
.requirements summary:hover {
|
|
1843
|
+
color: var(--wmcolor-link-text-hover);
|
|
1844
|
+
text-decoration-thickness: 0.1428571429em;
|
|
1838
1845
|
}
|
|
1839
1846
|
.requirements summary .title-text {
|
|
1840
1847
|
margin-inline-start: 1.5rem;
|
|
@@ -316,9 +316,9 @@ export class Uploader {
|
|
|
316
316
|
return (h("div", { class: `drop-area -${this.dropArea}`, ref: (el) => (this.dropAreaEl = el), onDragEnter: (ev) => this.handleDragEnter(ev), onDragOver: (ev) => this.handleDragOver(ev), onDragLeave: (ev) => this.handleDragLeave(ev), onDrop: (ev) => this.handleDrop(ev) }, this.dropArea == "page" && (h("div", { ref: (el) => (this.dropOverlayEl = el), class: "drop-overlay", popover: "manual" }, h("span", { class: "upload-arrow" }), h("span", null, "Drop to Upload")))));
|
|
317
317
|
}
|
|
318
318
|
render() {
|
|
319
|
-
return (h(Host, { key: '
|
|
319
|
+
return (h(Host, { key: '2845280b1c6de75ac92b5ca4c331c5ab7d783e66', class: `-${this.dropArea}` }, this.uploaderType == "drop" && this.renderDropArea(), this.label && this.renderLabel(), this.renderHeader(), this.renderListContainer(), h("div", { key: '23f86b3cd9edf9123c5c0f8a625cf04649a863bc', ref: (el) => (this.assertiveLiveRegionEl = el), class: "live-region sr-only", "aria-live": "assertive" // since it's directly linked to the action the user took, it should be read in priority. With polite, some messages get dismissed in favor of the page title
|
|
320
320
|
,
|
|
321
|
-
"aria-atomic": "true" }), h("div", { key: '
|
|
321
|
+
"aria-atomic": "true" }), h("div", { key: '7f42eefcc7e94e67ec3821d6b2c2db61e901b571', ref: (el) => (this.politeLiveRegionEl = el), class: "live-region sr-only", "aria-live": "polite", "aria-atomic": "true" })));
|
|
322
322
|
}
|
|
323
323
|
static get is() { return "wm-uploader"; }
|
|
324
324
|
static get encapsulation() { return "shadow"; }
|