@watermarkinsights/ripple 5.13.0-alpha.11 → 5.13.0-alpha.12
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/ripple/priv-calendar.entry.js +2 -2
- package/dist/ripple/priv-chart-popover.entry.js +2 -2
- package/dist/ripple/priv-navigator-button.entry.js +1 -1
- package/dist/ripple/priv-navigator-item.entry.js +1 -1
- package/dist/ripple/priv-option-list.entry.js +1 -1
- package/dist/ripple/wm-action-menu.entry.js +1 -1
- package/dist/ripple/wm-button.entry.js +1 -1
- package/dist/ripple/wm-chart.entry.js +1 -1
- package/dist/ripple/wm-date-range.entry.js +5 -5
- package/dist/ripple/wm-datepicker.entry.js +5 -5
- package/dist/ripple/wm-file-list.entry.js +1 -1
- package/dist/ripple/wm-file.entry.js +1 -1
- package/dist/ripple/wm-flyout.entry.js +4 -3
- package/dist/ripple/wm-input.entry.js +1 -1
- package/dist/ripple/wm-line-chart.entry.js +2 -2
- package/dist/ripple/wm-menuitem.entry.js +1 -1
- package/dist/ripple/wm-modal-footer.entry.js +1 -1
- package/dist/ripple/wm-modal-header.entry.js +1 -1
- package/dist/ripple/wm-modal-pss-footer.entry.js +1 -1
- package/dist/ripple/wm-modal-pss-header.entry.js +1 -1
- package/dist/ripple/wm-modal-pss.entry.js +2 -2
- package/dist/ripple/wm-modal.entry.js +2 -2
- package/dist/ripple/wm-navigation-hamburger.entry.js +1 -1
- package/dist/ripple/wm-navigation-item.entry.js +1 -1
- package/dist/ripple/wm-navigation.entry.js +2 -2
- package/dist/ripple/wm-nested-select.entry.js +3 -3
- package/dist/ripple/wm-optgroup.entry.js +1 -1
- package/dist/ripple/wm-option.entry.js +1 -1
- package/dist/ripple/wm-pagination.entry.js +1 -1
- package/dist/ripple/wm-progress-indicator.entry.js +1 -1
- package/dist/ripple/wm-progress-monitor.entry.js +1 -1
- package/dist/ripple/wm-search.entry.js +2 -2
- package/dist/ripple/wm-select.entry.js +2 -2
- package/dist/ripple/wm-snackbar.entry.js +2 -2
- package/dist/ripple/wm-tab-item.entry.js +1 -1
- package/dist/ripple/wm-tab-list.entry.js +1 -1
- package/dist/ripple/wm-tab-panel.entry.js +1 -1
- package/dist/ripple/wm-tag-input.entry.js +3 -3
- package/dist/ripple/wm-textarea.entry.js +1 -1
- package/dist/ripple/wm-timepicker.entry.js +2 -2
- package/dist/ripple/wm-toggletip.entry.js +2 -2
- package/dist/ripple/wm-uploader.entry.js +2 -2
- package/package.json +2 -2
|
@@ -550,11 +550,11 @@ const PrivCalendar = class {
|
|
|
550
550
|
}), class: "header-btn arw-btn" }, h("span", { class: "svg-icon svg-next" }))), h("div", { "aria-labelledby": "popup-title-year", role: "grid", class: "months" }, h("div", { role: "row", class: "month-row" }, calendar_months.slice(0, 3).map((month, index) => this.renderMonth(month, index))), h("div", { role: "row", class: "month-row" }, calendar_months.slice(3, 6).map((month, index) => this.renderMonth(month, index + 3))), h("div", { role: "row", class: "month-row" }, calendar_months.slice(6, 9).map((month, index) => this.renderMonth(month, index + 6))), h("div", { role: "row", class: "month-row" }, calendar_months.slice(9).map((month, index) => this.renderMonth(month, index + 9))))));
|
|
551
551
|
}
|
|
552
552
|
render() {
|
|
553
|
-
return (h(Host, { key: '
|
|
553
|
+
return (h(Host, { key: '500ef2d223ffe8e8b5ff8303b45f26b7538adb06', onMouseOut: (ev) => {
|
|
554
554
|
// @ts-ignore
|
|
555
555
|
if (!this.el.parentElement.contains(ev.toElement))
|
|
556
556
|
this.outOfCal.emit();
|
|
557
|
-
}, role: "application", "aria-describedby": "application" }, this.view === "day" ? this.renderDayView() : this.renderMonthView(), h("div", { key: '
|
|
557
|
+
}, role: "application", "aria-describedby": "application" }, this.view === "day" ? this.renderDayView() : this.renderMonthView(), h("div", { key: 'd91690922cc11ad991937dd87cd618d175bca76f', id: "application", class: "sr-only" }, this.calName, this.calInstructions)));
|
|
558
558
|
}
|
|
559
559
|
get el() { return getElement(this); }
|
|
560
560
|
static get watchers() { return {
|
|
@@ -117,11 +117,11 @@ const ChartPopover = class {
|
|
|
117
117
|
const titleAffordance = this.sliceDetails &&
|
|
118
118
|
this.sliceDetails.title &&
|
|
119
119
|
(this.sliceDetails.title[0] === "-" ? "negative" : this.sliceDetails.title[0] === "+" ? "positive" : "");
|
|
120
|
-
return (h(Host, { key: '
|
|
120
|
+
return (h(Host, { key: 'd62b06c6554267fda571e17ec1cab1f38e9749cd' }, !!this.open && this.sliceDetails ? (h("div", { "aria-hidden": "true", class: "popover" }, h("h1", { class: `title ${titleAffordance}` }, this.sliceDetails.title), h("p", { class: "text" }, this.sliceDetails.text), this.sliceDetails.buttonText ? (
|
|
121
121
|
// @ts-ignore
|
|
122
122
|
h("button", { tabindex: "-1",
|
|
123
123
|
// @ts-ignore
|
|
124
|
-
focusable: "false", class: "popover-button", onClick: () => this.handleButtonClick() }, h("svg", { class: "btn-icon", height: "9", width: "9" }, h("path", { fill: "#575195", d: "M0 3.38v2.25h9V3.38H0zM0 0v2.25h4.5V0H0zm6.19 6.75H0V9h6.19V6.75z" })), h("span", { class: "button-text" }, this.sliceDetails.buttonText))) : (""))) : (""), h("div", { key: '
|
|
124
|
+
focusable: "false", class: "popover-button", onClick: () => this.handleButtonClick() }, h("svg", { class: "btn-icon", height: "9", width: "9" }, h("path", { fill: "#575195", d: "M0 3.38v2.25h9V3.38H0zM0 0v2.25h4.5V0H0zm6.19 6.75H0V9h6.19V6.75z" })), h("span", { class: "button-text" }, this.sliceDetails.buttonText))) : (""))) : (""), h("div", { key: 'fb7f82f2ea6b6b37a6c25fdc542792244aeb3975', ref: (el) => (this.liveRegion = el), class: "live-region sr-only", "aria-live": "polite", "aria-atomic": "true" }, this.open && this.renderLiveRegion())));
|
|
125
125
|
}
|
|
126
126
|
get el() { return getElement(this); }
|
|
127
127
|
static get watchers() { return {
|
|
@@ -14,7 +14,7 @@ const PrivNavigatorButton = class {
|
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
16
|
const { handleClick, altText } = this;
|
|
17
|
-
return (h("button", { key: '
|
|
17
|
+
return (h("button", { key: '9d52ef2d181f38e3ee6ebc418e13f6760f5f5467', "aria-expanded": this.expanded.toString(), class: "navigator", onClick: handleClick.bind(this), "aria-label": altText }));
|
|
18
18
|
}
|
|
19
19
|
static get delegatesFocus() { return true; }
|
|
20
20
|
get el() { return getElement(this); }
|
|
@@ -21,7 +21,7 @@ const PrivNavigatorItem = class {
|
|
|
21
21
|
render() {
|
|
22
22
|
const selectedClass = this.selected ? "selected" : "";
|
|
23
23
|
const focusedClass = this.focused ? "focused" : "";
|
|
24
|
-
return (h("div", { key: '
|
|
24
|
+
return (h("div", { key: '69ada1c549c3ac13aadcff7344161da84bd9d456', class: `navoption ${selectedClass} ${focusedClass}` }, h("slot", { key: 'ad2a5ffde366484618d918f064b728e4f0caecb3' })));
|
|
25
25
|
}
|
|
26
26
|
get el() { return getElement(this); }
|
|
27
27
|
};
|
|
@@ -376,7 +376,7 @@ const PrivOptionList = class {
|
|
|
376
376
|
return (h("div", { class: "non-options-wrapper" }, this.isInNestedSelect && this.renderReturnBtn(), this.search && this.renderSearchField(), this.visibleSelectAllButton && this.renderSelectAllButton()));
|
|
377
377
|
}
|
|
378
378
|
render() {
|
|
379
|
-
return (h("div", { key: '
|
|
379
|
+
return (h("div", { key: '9bff5e1fd9c47e6a53a08771b7828006df908d65', class: "list-wrapper" }, (this.isInNestedSelect || this.search || this.visibleSelectAllButton) && this.renderNonOptions(), h("div", { key: '9064ef7a435327acd64c8789fd17fdd68c915892', id: "list", class: "options-wrapper", tabindex: -1, role: "listbox", "aria-multiselectable": this.multiple ? "true" : null, "aria-labelledby": "label", ref: (el) => (this.listboxEl = el), style: { "--max-height": this.effectiveMaxHeight } }, this.searchTerm && this.filteredOptions.length === 0 && this.renderSearchFailedMessage(), this.multiple && this.renderCloneOptions(), h("slot", { key: '42862b03eebe938669c91532d6bf5802912be520' })), h("div", { key: 'e74fd4a6d036b8eeade85b7048530b664147ccc3', id: "optionlist-announcement", "aria-live": "polite", "aria-atomic": "true", class: "sr-only", ref: (el) => (this.liveRegionEl = el) }, this.announcement)));
|
|
380
380
|
}
|
|
381
381
|
get el() { return getElement(this); }
|
|
382
382
|
};
|
|
@@ -191,7 +191,7 @@ const ActionMenu = class {
|
|
|
191
191
|
return null;
|
|
192
192
|
}
|
|
193
193
|
render() {
|
|
194
|
-
return (h(Host, { key: '
|
|
194
|
+
return (h(Host, { key: 'c6dfb14c3fe2e1a65238554ca585e94c7a5e8ed8', onBlur: () => this.close(false) }, h("div", { key: 'ae43b9b2e4da167c035ab018620f55f06cfdf17d', class: getTextDir() }, h("wm-button", { key: '22fbc47fb5e2430e2607bce4e820066906959ab7', "button-type": this.internalButtonType, tooltip: this.tooltip, "custom-background": this.darkMode ? "dark" : undefined, "label-for-identical-buttons": this.labelForIdenticalButtons, icon: this.actionMenuType === "icon" ? "#more-options" : "", iconSize: this.actionMenuType === "icon" ? "24px" : undefined, id: "menubtn", onClick: () => (this.isExpanded ? this.close() : this.open()), onBlur: (ev) => this.handleButtonBlur(ev), disabled: this.disabled, ref: (el) => (this.wmButtonEl = el), "tooltip-position": this.tooltipPosition || this.horizontalPosition, "aria-haspopup": "true", "aria-expanded": this.isExpanded ? "true" : "false", "aria-controls": "menu" }, this.buttonText), h("div", { key: '90dd3b0691b50a06eb8cc4c27d2f7febdc6a00a4', class: `dropdown ${this.openUp ? "open-up" : ""} ${this.horizontalPosition} ${this.isExpanded ? "open" : ""} hidden`, id: "menu", tabindex: -1, role: "menu", ref: (el) => (this.itemsEl = el) }, h("slot", { key: '5c6eeb1aa8b90c2b679d593d81f90cde7d10ff79' })))));
|
|
195
195
|
}
|
|
196
196
|
static get delegatesFocus() { return true; }
|
|
197
197
|
get el() { return getElement(this); }
|
|
@@ -182,7 +182,7 @@ const Button = class {
|
|
|
182
182
|
}
|
|
183
183
|
}
|
|
184
184
|
render() {
|
|
185
|
-
return (h(Host, { key: '
|
|
185
|
+
return (h(Host, { key: 'ae038ae6dddcd3220b1c3d027390d743e85ff3bc', class: `${this.isDisabled ? "button-disabled" : ""} -${this.buttonType}` }, h("button", { key: 'e10a7276c46e73fc93b2e26b6f2f81b37625d08e', id: this.id, class: `${this.buttonClasses}`, disabled: this.isDisabled, ref: (el) => (this.buttonEl = el), "aria-label": this.getAriaLabel(), "aria-hasPopup": this.ariaPopup ? "menu" : null, onMouseEnter: (ev) => this.handleMouseEnter(ev), onMouseLeave: () => hideTooltip(), onFocus: (ev) => this.handleFocus(ev), onBlur: () => hideTooltip(), onClick: () => hideTooltip() }, this.icon && this.renderIcon(), h("span", { key: '3dbdd426484b9265107fe994c160af6f2bbd6958', class: "button-text" }, h("slot", { key: 'f5e28ec3acb64b330185f9b65d0f221fd95f1399' })), (this.buttonType == "selector" || this.buttonType == "selector-primary") && (h("div", { key: 'c2b16a69daf975cf6996aa365756574d1f74920f', class: "selector-icon svg-icon svg-expand-more" })))));
|
|
186
186
|
}
|
|
187
187
|
static get delegatesFocus() { return true; }
|
|
188
188
|
get el() { return getElement(this); }
|
|
@@ -147,7 +147,7 @@ const Chart = class {
|
|
|
147
147
|
}
|
|
148
148
|
}
|
|
149
149
|
render() {
|
|
150
|
-
return (h(Host, { key: '
|
|
150
|
+
return (h(Host, { key: '495e0455dbad63e662f11ea1c2f61713c9ad52b6', onBlur: () => exitChart.call(this) }, h("div", { key: '8a51cc400c25ea93797a01bb0ae2eb4fdbce8300', ref: (el) => (this.componentWrapperEl = el), class: `component-wrapper ${this.currentChartType} ${this.isTabbing && !this.userIsNavigating ? "user-is-tabbing" : ""} ${this.labelPosition === "left" && this.currentChartType === "bar4" ? "left-label" : ""}`, role: "application", "aria-label": this.ariaLabelText, tabindex: 0, "aria-roledescription": chartMessages.interactiveChart, "aria-describedby": "chart-instructions" }, h("label", { key: 'c4cf7b324a1347e4fc2d97ca9b7c2e50d5526a63', id: `label-${this.uid}`, class: `label --${this.labelPosition}`, htmlFor: `graphic-${this.uid}` }, h("span", { key: '950e135dca88ae28d156047daee4618628753b49', class: "label-text" }, this.label), this.subinfo ? h("span", { class: "subinfo" }, this.subinfo) : ""), this.isBar && renderLegend.call(this, this.currentChartType), this.renderChart(), this.isDoughnut && renderLegend.call(this, this.currentChartType), h("priv-chart-popover", { key: '303b440f6098d37b8c1851b65d9e61d5792441ea', class: this.isTabbing ? "user-is-tabbing" : "", onIntChartPopoverOpenChanged: (ev) => this.handlePopoverOpenChanged(ev) }), this.isBar && !this.printMode && renderHiddenValuesMessage()), renderInstructionsText()));
|
|
151
151
|
}
|
|
152
152
|
static get delegatesFocus() { return true; }
|
|
153
153
|
get el() { return getElement(this); }
|
|
@@ -445,23 +445,23 @@ const DateRange = class {
|
|
|
445
445
|
}
|
|
446
446
|
}
|
|
447
447
|
render() {
|
|
448
|
-
return (h(Host, { key: '
|
|
448
|
+
return (h(Host, { key: 'e15e7d0122385b7038ab66267c6bd97a0484403e', "aria-busy": "false" }, h("div", { key: '1074c893c309a965181575e65ddab158e7b34661', ref: (d) => (this.wrapperEl = d), class: "wrapper" }, h("div", { key: '318998d9218b262a13c2842a03c8e493f889b327', class: `range-wrapper ${this.calWidth <= this.availSpace ? "cal" : ""}` }, h("div", { key: 'e2df44669d920d0fa287d3020a0ad29485cd03d7', class: "label-wrapper", id: "start-label-wrapper" }, h("label", { key: '34bdc1d6844cfca7b50c79c7dd2f7115889665a2', ref: (e) => (this.labelEl = e), id: "startlabel", htmlFor: "start-date-input", class: "label", title: `${this.labelStart} (${this.dateFormat})` }, this.labelStart, this.requiredField && (h("span", { key: '50d76500d1ddd31478ec3a1fb737fca8a2957e24', "aria-hidden": "true", class: "required" }, "*")))), h("div", { key: 'e7d8fcb4399881832d7a37042aee7a820512e2f0', class: "label-wrapper", id: "end-label-wrapper" }, h("label", { key: '86b127ee4ecc42fca26521bf19777553c55bdc79', id: "endlabel", htmlFor: "end-date-input", class: "label", title: `${this.labelEnd} (${this.dateFormat})` }, this.labelEnd, this.requiredField && (h("span", { key: '14ccfb0e9fee57f645112e1925b47e6697852f76', "aria-hidden": "true", class: "required" }, "*")))), h("input", { key: '4fbee8adcdd045ff543c530dcce96b8e1c812561', disabled: this._disabled, type: "text", id: "start-date-input", class: `date-input input ${this.invalidStart ? "invalid" : ""}`, name: "start-date", placeholder: this.dateFormat, value: this.valueStart, onFocus: () => this.handleFocus(), onInput: (ev) => this.handleStartInput(ev), onBlur: () => this.handleStartInputBlur(), ref: (input) => (this.startInputEl = input), "aria-describedby": "error", "aria-label": this.labelStart, "aria-required": this.requiredField ? "true" : null }), h("div", { key: '8532a1ee3ab5ed0eb678e0626d15ed59a30b159d', id: "hyphen" }, "\u00A0-\u00A0"), h("input", { key: '5083b4873f884f26221b756f1ab2b39f359aecdd', disabled: this._disabled, type: "text", id: "end-date-input", class: `date-input input ${this.invalidEnd ? "invalid" : ""}`, name: "end-date", placeholder: this.dateFormat, value: this.valueEnd, onFocus: () => this.handleFocus(), onInput: (ev) => this.handleEndInput(ev), onBlur: () => this.handleEndInputBlur(), ref: (input) => (this.endInputEl = input), "aria-describedby": "error", "aria-label": this.labelEnd, "aria-required": this.requiredField ? "true" : null }), h("div", { key: '4c6fefec380fae6c6964e10bc2e6eeae1dbb560a', class: "toggle-wrapper", id: "toggle-wrapper" }, this.calWidth <= this.availSpace && (h("button", { key: 'dd11cd572ddf6ce4c44af9bdffc6a129174ede8b', disabled: this.disabled, onClick: this.togglePopup.bind(this), "aria-describedby": "start-date-input end-date-input", "aria-label": intl.formatMessage({
|
|
449
449
|
id: "date.selectRange",
|
|
450
450
|
defaultMessage: "Select range",
|
|
451
451
|
description: "Button text for screen readers.",
|
|
452
|
-
}), ref: (el) => (this.toggleEl = el), "aria-expanded": `${this.isExpanded}`, class: "toggle", id: "toggle" }, h("span", { key: '
|
|
452
|
+
}), ref: (el) => (this.toggleEl = el), "aria-expanded": `${this.isExpanded}`, class: "toggle", id: "toggle" }, h("span", { key: '4539c027127c567bfd09039e63975e849dd96fae', class: "svg-icon svg-date" }), h("span", { key: '0fcd41cd2415908975cc8b8f7cebd4bd47f01d3e', class: "calendar", title: intl.formatMessage({
|
|
453
453
|
id: "date.calendarView",
|
|
454
454
|
defaultMessage: "Calendar View",
|
|
455
455
|
description: "Calendar button",
|
|
456
|
-
}) })))), this.renderCalendars()), h("div", { key: '
|
|
456
|
+
}) })))), this.renderCalendars()), h("div", { key: '96d2b3a31aafb89abdbd80e58ecc0efab1a582c4' }, h("div", { key: '75a3aca3bd7ef18924b81f47ab017eef108c10df', id: "live-region", "aria-live": "polite", "aria-relevant": "text", class: "sr-only" }), h("div", { key: 'f7af6d97177bdf7cef6516950eee49e242826e06', id: "month-title", class: "sr-only" }, intl.formatMessage({
|
|
457
457
|
id: "date.selectMonth",
|
|
458
458
|
defaultMessage: "Activate to select a month.",
|
|
459
459
|
description: "Calendar button",
|
|
460
|
-
})), h("div", { key: '
|
|
460
|
+
})), h("div", { key: 'aab9385f49a28dc1306e59451234a9a7368aca4d', id: "year-title", class: "sr-only" }, intl.formatMessage({
|
|
461
461
|
id: "date.selectYear",
|
|
462
462
|
defaultMessage: "Activate to select a year.",
|
|
463
463
|
description: "Calendar button",
|
|
464
|
-
}))), h("div", { key: '
|
|
464
|
+
}))), h("div", { key: '21c76d46ebc51dbfd8b2658512f7e6f7ef4f4ae7', id: "error", class: "error" }, this.errorMessage), h("div", { key: '0312341364d0cf20c63be7f38724b64b13ffd424', ref: (el) => (this.liveRegionEl = el), class: "sr-only", "aria-live": "polite", "aria-atomic": "true" }))));
|
|
465
465
|
}
|
|
466
466
|
static get delegatesFocus() { return true; }
|
|
467
467
|
get el() { return getElement(this); }
|
|
@@ -216,23 +216,23 @@ const DatePicker = class {
|
|
|
216
216
|
this.liveRegionEl.textContent = message;
|
|
217
217
|
}
|
|
218
218
|
render() {
|
|
219
|
-
return (h(Host, { key: '
|
|
219
|
+
return (h(Host, { key: '85687dcb3b87ff6b660797b7e8ceef84a9710deb', "aria-busy": "false", class: `${this.errorMessage ? "invalid" : ""}` }, h("div", { key: 'c64159f0ecc1ce84fda38106b54d7fa49a79fc65', ref: (d) => (this.dpWrapperEl = d), class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: '43bed05cd8ddf12279fd007fac3be60ce20864f8', class: "label-wrapper", ref: (e) => (this.labelWrapperEl = e) }, this.labelPosition !== "none" && (h("label", { key: '9acaee7a5ed8a29971813a06a5051c2838c13065', id: "datepickerLabel", htmlFor: "date-input", class: "label", title: `${this.label} (${this.dateFormat})` }, this.label, this.requiredField && (h("span", { key: 'f3e1f8719fcc6ead12968215e2731d95b2603956', "aria-hidden": "true", class: "required" }, "*"))))), h("div", { key: '0c041afacda26e06e15275eb92f430f7d9a16520' }, h("div", { key: '25af5c4db0a4efa3310c039046541651c2f58a25', class: "single-wrapper input" }, h("input", { key: 'ba297de98ddb0c85ddac0b20f5f177b186956ded', disabled: this.isDisabled, type: "text", id: "single-date-input", class: "date-input", name: "date", placeholder: this.dateFormat, value: this.value, onFocus: () => this.handleInputFocus(), onInput: (ev) => this.handleInput(ev), onBlur: () => this.handleInputBlur(), onChange: () => this.handleInputChange(), ref: (input) => (this.inputEl = input), "aria-describedby": "error", "aria-label": this.label, "aria-required": this.requiredField ? "true" : null }), h("div", { key: 'd4c145ebda9243d464b077a250ea272090e1e9bd', class: "container", id: "wm-container" }, h("button", { key: '630191453f20cbe48e919a91928c2120ca41f66e', disabled: this.disabled, onClick: this.togglePopup.bind(this), "aria-label": intl.formatMessage({
|
|
220
220
|
id: "date.selectDate",
|
|
221
221
|
defaultMessage: "Select date",
|
|
222
222
|
description: "Button text for screen readers.",
|
|
223
|
-
}), "aria-describedby": "single-date-input", ref: (el) => (this.toggleEl = el), "aria-expanded": `${this.isExpanded}`, class: "toggle", id: "toggle" }, h("span", { key: '
|
|
223
|
+
}), "aria-describedby": "single-date-input", ref: (el) => (this.toggleEl = el), "aria-expanded": `${this.isExpanded}`, class: "toggle", id: "toggle" }, h("span", { key: '8d418c81d6dcb4ab2155729be5634ee7a2566048', class: "svg-icon svg-date" }), h("span", { key: '5100cad9f4ed307d753499710853de95e81c04e8', class: "calendar", title: intl.formatMessage({
|
|
224
224
|
id: "date.calendarView",
|
|
225
225
|
defaultMessage: "Calendar View",
|
|
226
226
|
description: "Calendar button",
|
|
227
|
-
}) })), h("div", { key: '
|
|
227
|
+
}) })), h("div", { key: '36d24aeb7e59ae59284596ad362eb5459a9ad1de', class: `popup-wrapper ${this.calEl && this.calEl.view}-view ${this.openUp ? "expand-upwards" : ""}`, id: "popup-wrapper", ref: (el) => (this.popupEl = el), onClick: () => (this.popupClicked = true) }, h("div", { key: '52e0c98a890204e111f6c508177181bf69c5af28', tabIndex: 0, onFocus: () => this.calEl.focusLastFocusable() }), h("priv-calendar", { key: '12ed17f4c034aff9be9421046d52ffc4e745c929', ref: (el) => (this.calEl = el), startDate: this.calendarDate, focusDate: this.calendarDate, class: "inside" }), h("div", { key: 'c4b913e51442e1e57805934fd9071cc8796ca551', tabIndex: 0, onFocus: () => this.calEl.focusFirstFocusable() })), h("div", { key: '4194d3665db2426ea6600f01f014735c6f49c7c4', id: "live-region", "aria-live": "polite", "aria-relevant": "text", class: "sr-only" }), h("div", { key: '538a624beb90096a1368873b8f044b0ff32bf125', id: "month-title", class: "sr-only" }, intl.formatMessage({
|
|
228
228
|
id: "date.selectMonth",
|
|
229
229
|
defaultMessage: "Activate to select a month.",
|
|
230
230
|
description: "Calendar button",
|
|
231
|
-
})), h("div", { key: '
|
|
231
|
+
})), h("div", { key: '37b0366f3742eff0d38993c60e132759683cfc18', id: "year-title", class: "sr-only" }, intl.formatMessage({
|
|
232
232
|
id: "date.selectYear",
|
|
233
233
|
defaultMessage: "Activate to select a year.",
|
|
234
234
|
description: "Calendar button",
|
|
235
|
-
})))), h("div", { key: '
|
|
235
|
+
})))), h("div", { key: 'b21dcace67f1f10949bfa1ed0238ddbff738a2f5', id: "error", class: "error" }, this.errorMessage), h("div", { key: 'cf362caa31e7a5951365a3e3a63d119d58f746f5', ref: (el) => (this.liveRegionEl = el), class: "sr-only", "aria-live": "polite", "aria-atomic": "true" })))));
|
|
236
236
|
}
|
|
237
237
|
static get delegatesFocus() { return true; }
|
|
238
238
|
get el() { return getElement(this); }
|
|
@@ -8,7 +8,7 @@ const FileList = class {
|
|
|
8
8
|
this.showInfo = "last-updated";
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h("div", { key: '
|
|
11
|
+
return (h("div", { key: '69e557483f15721fc39315353da4cc1db7b6405d', role: "list", class: "list-wrapper" }, h("slot", { key: '1f00bd3aa0961aa99298eacb90b65717e8a5fd87' })));
|
|
12
12
|
}
|
|
13
13
|
static get delegatesFocus() { return true; }
|
|
14
14
|
get el() { return getElement(this); }
|
|
@@ -172,7 +172,7 @@ const File = class {
|
|
|
172
172
|
return (h("div", { class: `file-wrapper` }, h("div", { class: `file ${this.errorMessage ? "--error" : ""} ${this.isCondensed ? "condensed" : ""}` }, this.renderFileName(), !this.errorMessage && (h("div", { class: "right-group" }, this.renderFileInfo(), this.fileActions !== "" && this.renderFileControls())), this.errorMessage && (h("wm-button", { "permanently-delete": true, "button-type": "textonly", "label-for-identical-buttons": this.generateClearButtonLabel(this.name), onClick: () => this.wmFileErrorCleared.emit() }, this.clearButtonText)), this.progress == 100 && h("span", { class: "svg-icon svg-success" })), this.errorMessage && h("div", { class: "error-message" }, this.errorMessage)));
|
|
173
173
|
}
|
|
174
174
|
render() {
|
|
175
|
-
return h(Host, { key: '
|
|
175
|
+
return h(Host, { key: '534c481a5423a9f1a1ec811ec6b736e462a981ea', role: "listitem" }, this.isUploading ? this.renderFileInProgress() : this.renderFile());
|
|
176
176
|
}
|
|
177
177
|
static get delegatesFocus() { return true; }
|
|
178
178
|
get el() { return getElement(this); }
|