@watermarkinsights/ripple 5.19.0-alpha.1 → 5.19.0-alpha.3
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-c7500647.js → app-globals-dcc3100b.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/priv-option-list.cjs.entry.js +1 -1
- package/dist/cjs/ripple.cjs.js +1 -1
- package/dist/cjs/wm-action-menu_2.cjs.entry.js +1 -1
- package/dist/cjs/wm-file.cjs.entry.js +35 -19
- package/dist/cjs/wm-nested-select.cjs.entry.js +1 -1
- package/dist/cjs/wm-option_2.cjs.entry.js +1 -1
- package/dist/collection/components/datepickers/datepicker.css +0 -31
- package/dist/collection/components/selects/priv-option-list/priv-option-list.css +1 -1
- package/dist/collection/components/selects/wm-nested-select/wm-nested-select.css +1 -1
- package/dist/collection/components/selects/wm-option/wm-option.css +3 -3
- package/dist/collection/components/wm-file/wm-file.css +86 -13
- package/dist/collection/components/wm-file/wm-file.js +34 -18
- package/dist/collection/components/wm-menuitem/wm-menuitem.css +12 -43
- package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.css +0 -31
- package/dist/collection/components/wm-pagination/wm-pagination.css +0 -31
- package/dist/collection/components/wm-search/wm-search.css +0 -31
- package/dist/collection/components/wm-snackbar/wm-snackbar.css +0 -31
- package/dist/collection/components/wm-timepicker/wm-timepicker.css +0 -31
- package/dist/collection/components/wm-uploader/wm-uploader.css +0 -31
- package/dist/esm/{app-globals-f089afb3.js → app-globals-2a7b9752.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/polyfills/core-js.js +0 -0
- package/dist/esm/polyfills/dom.js +0 -0
- package/dist/esm/polyfills/es5-html-element.js +0 -0
- package/dist/esm/polyfills/index.js +0 -0
- package/dist/esm/polyfills/system.js +0 -0
- package/dist/esm/priv-option-list.entry.js +1 -1
- package/dist/esm/ripple.js +1 -1
- package/dist/esm/wm-action-menu_2.entry.js +1 -1
- package/dist/esm/wm-file.entry.js +35 -19
- package/dist/esm/wm-nested-select.entry.js +1 -1
- package/dist/esm/wm-option_2.entry.js +1 -1
- package/dist/esm-es5/{app-globals-f089afb3.js → app-globals-2a7b9752.js} +1 -1
- package/dist/esm-es5/loader.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-file.entry.js +1 -1
- package/dist/esm-es5/wm-nested-select.entry.js +1 -1
- package/dist/esm-es5/wm-option_2.entry.js +1 -1
- package/dist/ripple/{p-eb8461e0.system.js → p-2412287d.system.js} +1 -1
- package/dist/ripple/{p-85ac07c7.system.entry.js → p-2509fcb5.system.entry.js} +1 -1
- package/dist/ripple/{p-b29393d0.entry.js → p-4df24f6d.entry.js} +1 -1
- package/dist/ripple/{p-8fb8253e.entry.js → p-57f9c7c3.entry.js} +1 -1
- package/dist/ripple/{p-386d990c.entry.js → p-6843fab7.entry.js} +1 -1
- package/dist/ripple/{p-2d9328dd.system.entry.js → p-6bf103b8.system.entry.js} +1 -1
- package/dist/ripple/{p-2c112c06.system.entry.js → p-74f828c5.system.entry.js} +1 -1
- package/dist/ripple/{p-00a48988.system.js → p-7cd7d382.system.js} +1 -1
- package/dist/ripple/{p-494d52b3.js → p-9399dbb8.js} +1 -1
- package/dist/ripple/{p-6e331d01.system.entry.js → p-c73882de.system.entry.js} +1 -1
- package/dist/ripple/p-e262c6af.entry.js +1 -0
- package/dist/ripple/{p-2763a193.entry.js → p-ea10c498.entry.js} +1 -1
- package/dist/ripple/{p-99e4e12d.system.entry.js → p-f12888dd.system.entry.js} +1 -1
- package/dist/ripple/ripple.esm.js +1 -1
- package/dist/ripple/ripple.js +1 -1
- package/dist/types/components/wm-file/wm-file.d.ts +4 -1
- package/package.json +2 -2
- package/dist/ripple/p-39cf240f.entry.js +0 -1
|
@@ -17,8 +17,21 @@ export class File {
|
|
|
17
17
|
this.showInfo = "last-updated";
|
|
18
18
|
}
|
|
19
19
|
get isCondensed() {
|
|
20
|
+
// Breakpoint at which file actions are moved into an action menu
|
|
20
21
|
return this.el.clientWidth < 500;
|
|
21
22
|
}
|
|
23
|
+
get isExtraCondensed() {
|
|
24
|
+
// Breakpoint at which file info is moved into a details element
|
|
25
|
+
return this.el.clientWidth < 414;
|
|
26
|
+
}
|
|
27
|
+
get needsTruncation() {
|
|
28
|
+
const boundsEl = this.el.shadowRoot.querySelector(".left-group");
|
|
29
|
+
const measureEl = this.el.shadowRoot.querySelector(".filename-measure");
|
|
30
|
+
if (boundsEl && measureEl && boundsEl.clientWidth < measureEl.clientWidth) {
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
return false;
|
|
34
|
+
}
|
|
22
35
|
get isUploading() {
|
|
23
36
|
return this.progress !== undefined && this.progress < 100;
|
|
24
37
|
}
|
|
@@ -107,22 +120,20 @@ export class File {
|
|
|
107
120
|
const resizeObserver = new ResizeObserver(() => this.debouncedUpdate());
|
|
108
121
|
resizeObserver.observe(this.el);
|
|
109
122
|
}
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
fileNameEl.textContent = truncateText(fileNameEl, this.fullFilename, rightBoundary - leftBoundary, 7);
|
|
122
|
-
});
|
|
123
|
+
truncateFilename() {
|
|
124
|
+
let summaryFilenameEl = this.el.shadowRoot.querySelector("#summary-filename-trunc");
|
|
125
|
+
if (summaryFilenameEl) {
|
|
126
|
+
summaryFilenameEl.textContent = truncateText(summaryFilenameEl, this.fullFilename, summaryFilenameEl.parentElement.clientWidth - 32, 7);
|
|
127
|
+
if (summaryFilenameEl.textContent === this.fullFilename) {
|
|
128
|
+
summaryFilenameEl.classList.remove("-truncated");
|
|
129
|
+
}
|
|
130
|
+
else {
|
|
131
|
+
summaryFilenameEl.classList.add("-truncated");
|
|
132
|
+
}
|
|
133
|
+
}
|
|
123
134
|
}
|
|
124
135
|
componentDidRender() {
|
|
125
|
-
this.
|
|
136
|
+
this.truncateFilename();
|
|
126
137
|
}
|
|
127
138
|
previewFile() {
|
|
128
139
|
this.wmFilePreview.emit();
|
|
@@ -140,10 +151,11 @@ export class File {
|
|
|
140
151
|
}
|
|
141
152
|
}
|
|
142
153
|
renderFileName() {
|
|
143
|
-
|
|
154
|
+
const showDetailsToggle = this.isExtraCondensed && (this.needsTruncation || (this.showInfo !== "none" && !this.errorMessage));
|
|
155
|
+
return (h("div", { class: "left-group" }, h("div", { class: "name-wrapper" }, h("span", { class: "sr-only" }, this.fullFilename), h("span", { "aria-hidden": "true", class: "filename" }, this.fullFilename), this.isUploading && h("span", { class: "sr-only" }, "uploading")), showDetailsToggle && this.renderDetailsToggle()));
|
|
144
156
|
}
|
|
145
157
|
renderFileInfo() {
|
|
146
|
-
return (h("div", { class: "file-info" }, (this.showInfo === "uploaded-by" || this.showInfo === "all") && (h("div", { class: "
|
|
158
|
+
return (h("div", { class: "file-info" }, (this.showInfo === "uploaded-by" || this.showInfo === "all") && (h("div", { class: "uploader-name" }, this.uploadedBy)), (this.showInfo === "last-updated" || this.showInfo === "all") && h("div", null, this.lastUpdated), (this.showInfo === "size" || this.showInfo === "all") && h("div", null, this.size)));
|
|
147
159
|
}
|
|
148
160
|
renderActionMenu() {
|
|
149
161
|
const previewItem = (h("wm-menuitem", { icon: "#show", onClick: () => this.previewFile() }, this.previewActionMessage));
|
|
@@ -167,11 +179,15 @@ export class File {
|
|
|
167
179
|
const showActionMenu = this.isCondensed && !hasSingleFileAction;
|
|
168
180
|
return showActionMenu ? this.renderActionMenu() : this.renderFileActionButtons();
|
|
169
181
|
}
|
|
182
|
+
renderDetailsToggle() {
|
|
183
|
+
return (h("details", { id: "file-details" }, h("summary", null, h("div", { class: "filename-measure", "aria-hidden": "true" }, this.fullFilename), h("span", { id: "summary-filename-trunc", onMouseEnter: (ev) => this.handleFilenameMouseEnter(ev), onMouseLeave: () => hideTooltip() }, this.fullFilename), h("span", { id: "summary-filename-wrap" }, this.fullFilename)), !this.errorMessage && this.renderFileInfo()));
|
|
184
|
+
}
|
|
170
185
|
renderFile() {
|
|
171
|
-
|
|
186
|
+
const showRightGroup = !this.errorMessage && (this.fileActions !== "" || this.showInfo !== "none");
|
|
187
|
+
return (h("div", { class: `file-wrapper` }, h("div", { class: `file ${this.errorMessage ? "--error" : ""} ${this.isCondensed ? "condensed" : ""} ${this.isExtraCondensed ? "extra-condensed" : ""}` }, this.renderFileName(), showRightGroup && (h("div", { class: "right-group" }, !this.isExtraCondensed && this.renderFileInfo(), this.fileActions !== "" && this.renderFileControls())), this.errorMessage && (h("div", { class: "right-group" }, 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)));
|
|
172
188
|
}
|
|
173
189
|
render() {
|
|
174
|
-
return h(Host, { key: '
|
|
190
|
+
return h(Host, { key: '06c3ffd69504051197990d33f05c672d5828847f', role: "listitem" }, this.isUploading ? this.renderFileInProgress() : this.renderFile());
|
|
175
191
|
}
|
|
176
192
|
static get is() { return "wm-file"; }
|
|
177
193
|
static get encapsulation() { return "shadow"; }
|
|
@@ -860,37 +860,6 @@
|
|
|
860
860
|
mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath style='fill: var(--icon-fill, currentColor)' d='M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z'/%3E%3C/svg%3E%0A");
|
|
861
861
|
}
|
|
862
862
|
|
|
863
|
-
/* --------------------------------------
|
|
864
|
-
1. Box-shadow
|
|
865
|
-
-------------------------------------- */
|
|
866
|
-
/* --------------------------------------
|
|
867
|
-
2. Border-radius
|
|
868
|
-
-------------------------------------- */
|
|
869
|
-
/* --------------------------------------
|
|
870
|
-
3. Transforms
|
|
871
|
-
-------------------------------------- */
|
|
872
|
-
/* --------------------------------------
|
|
873
|
-
4. Button Focus
|
|
874
|
-
-------------------------------------- */
|
|
875
|
-
/* --------------------------------------
|
|
876
|
-
5. Flex
|
|
877
|
-
-------------------------------------- */
|
|
878
|
-
/* --------------------------------------
|
|
879
|
-
7. Screen Reader Only
|
|
880
|
-
-------------------------------------- */
|
|
881
|
-
/* --------------------------------------
|
|
882
|
-
8. Label styles
|
|
883
|
-
this mixin includes all the styles for the label
|
|
884
|
-
+ flex rules on the parent container to switch between top and left position
|
|
885
|
-
+ srOnly when label is hidden
|
|
886
|
-
Assumes the following markup:
|
|
887
|
-
div.wrapper[.label-left.invalid] > div.label-wrapper > label.label > span.required
|
|
888
|
-
.wrapper is for the flex rules
|
|
889
|
-
.label-wrapper is to set the height of the label when positioned left so it's the same height as
|
|
890
|
-
the input. It can't be done directly on .label because of possible line wrapping.
|
|
891
|
-
When the label is on top there's no line wrapping at all to ensure proper alignment of inlined elements
|
|
892
|
-
(they can't be aligned on the baseline because of possible description text and error message)
|
|
893
|
-
-------------------------------------- */
|
|
894
863
|
:host {
|
|
895
864
|
--wmcolor-actionmenu-item-background-hover: var(--wmcolor-option-background-hover);
|
|
896
865
|
--wmcolor-actionmenu-item-background-focus: var(--wmcolor-option-background-focus);
|
|
@@ -954,18 +923,6 @@
|
|
|
954
923
|
font-size: 1.12rem;
|
|
955
924
|
}
|
|
956
925
|
|
|
957
|
-
:host(:focus-visible) {
|
|
958
|
-
outline: none;
|
|
959
|
-
}
|
|
960
|
-
:host(:focus-visible) .wrapper {
|
|
961
|
-
outline: none;
|
|
962
|
-
background: var(--wmcolor-actionmenu-item-background-focus);
|
|
963
|
-
color: #fff;
|
|
964
|
-
}
|
|
965
|
-
:host(:focus-visible) .wrapper .description {
|
|
966
|
-
color: #fff;
|
|
967
|
-
}
|
|
968
|
-
|
|
969
926
|
:host([aria-disabled=true]) {
|
|
970
927
|
pointer-events: none;
|
|
971
928
|
}
|
|
@@ -975,4 +932,16 @@
|
|
|
975
932
|
}
|
|
976
933
|
:host([aria-disabled=true]) .description {
|
|
977
934
|
color: var(--wmcolor-actionmenu-text-disabled);
|
|
935
|
+
}
|
|
936
|
+
|
|
937
|
+
:host(:focus-visible) {
|
|
938
|
+
outline: none;
|
|
939
|
+
}
|
|
940
|
+
:host(:focus-visible) .wrapper {
|
|
941
|
+
outline: none;
|
|
942
|
+
background: var(--wmcolor-actionmenu-item-background-focus);
|
|
943
|
+
color: var(--wmcolor-interactive-text);
|
|
944
|
+
}
|
|
945
|
+
:host(:focus-visible) .wrapper .description {
|
|
946
|
+
color: var(--wmcolor-interactive-text);
|
|
978
947
|
}
|
package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.css
CHANGED
|
@@ -860,37 +860,6 @@
|
|
|
860
860
|
mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath style='fill: var(--icon-fill, currentColor)' d='M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z'/%3E%3C/svg%3E%0A");
|
|
861
861
|
}
|
|
862
862
|
|
|
863
|
-
/* --------------------------------------
|
|
864
|
-
1. Box-shadow
|
|
865
|
-
-------------------------------------- */
|
|
866
|
-
/* --------------------------------------
|
|
867
|
-
2. Border-radius
|
|
868
|
-
-------------------------------------- */
|
|
869
|
-
/* --------------------------------------
|
|
870
|
-
3. Transforms
|
|
871
|
-
-------------------------------------- */
|
|
872
|
-
/* --------------------------------------
|
|
873
|
-
4. Button Focus
|
|
874
|
-
-------------------------------------- */
|
|
875
|
-
/* --------------------------------------
|
|
876
|
-
5. Flex
|
|
877
|
-
-------------------------------------- */
|
|
878
|
-
/* --------------------------------------
|
|
879
|
-
7. Screen Reader Only
|
|
880
|
-
-------------------------------------- */
|
|
881
|
-
/* --------------------------------------
|
|
882
|
-
8. Label styles
|
|
883
|
-
this mixin includes all the styles for the label
|
|
884
|
-
+ flex rules on the parent container to switch between top and left position
|
|
885
|
-
+ srOnly when label is hidden
|
|
886
|
-
Assumes the following markup:
|
|
887
|
-
div.wrapper[.label-left.invalid] > div.label-wrapper > label.label > span.required
|
|
888
|
-
.wrapper is for the flex rules
|
|
889
|
-
.label-wrapper is to set the height of the label when positioned left so it's the same height as
|
|
890
|
-
the input. It can't be done directly on .label because of possible line wrapping.
|
|
891
|
-
When the label is on top there's no line wrapping at all to ensure proper alignment of inlined elements
|
|
892
|
-
(they can't be aligned on the baseline because of possible description text and error message)
|
|
893
|
-
-------------------------------------- */
|
|
894
863
|
:host * {
|
|
895
864
|
box-sizing: border-box;
|
|
896
865
|
}
|
|
@@ -860,37 +860,6 @@
|
|
|
860
860
|
mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath style='fill: var(--icon-fill, currentColor)' d='M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z'/%3E%3C/svg%3E%0A");
|
|
861
861
|
}
|
|
862
862
|
|
|
863
|
-
/* --------------------------------------
|
|
864
|
-
1. Box-shadow
|
|
865
|
-
-------------------------------------- */
|
|
866
|
-
/* --------------------------------------
|
|
867
|
-
2. Border-radius
|
|
868
|
-
-------------------------------------- */
|
|
869
|
-
/* --------------------------------------
|
|
870
|
-
3. Transforms
|
|
871
|
-
-------------------------------------- */
|
|
872
|
-
/* --------------------------------------
|
|
873
|
-
4. Button Focus
|
|
874
|
-
-------------------------------------- */
|
|
875
|
-
/* --------------------------------------
|
|
876
|
-
5. Flex
|
|
877
|
-
-------------------------------------- */
|
|
878
|
-
/* --------------------------------------
|
|
879
|
-
7. Screen Reader Only
|
|
880
|
-
-------------------------------------- */
|
|
881
|
-
/* --------------------------------------
|
|
882
|
-
8. Label styles
|
|
883
|
-
this mixin includes all the styles for the label
|
|
884
|
-
+ flex rules on the parent container to switch between top and left position
|
|
885
|
-
+ srOnly when label is hidden
|
|
886
|
-
Assumes the following markup:
|
|
887
|
-
div.wrapper[.label-left.invalid] > div.label-wrapper > label.label > span.required
|
|
888
|
-
.wrapper is for the flex rules
|
|
889
|
-
.label-wrapper is to set the height of the label when positioned left so it's the same height as
|
|
890
|
-
the input. It can't be done directly on .label because of possible line wrapping.
|
|
891
|
-
When the label is on top there's no line wrapping at all to ensure proper alignment of inlined elements
|
|
892
|
-
(they can't be aligned on the baseline because of possible description text and error message)
|
|
893
|
-
-------------------------------------- */
|
|
894
863
|
:host,
|
|
895
864
|
wm-pagination {
|
|
896
865
|
--wmcolor-pagination-arrow-disabled: var(--wmcolor-interactive-disabled);
|
|
@@ -860,37 +860,6 @@
|
|
|
860
860
|
mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath style='fill: var(--icon-fill, currentColor)' d='M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z'/%3E%3C/svg%3E%0A");
|
|
861
861
|
}
|
|
862
862
|
|
|
863
|
-
/* --------------------------------------
|
|
864
|
-
1. Box-shadow
|
|
865
|
-
-------------------------------------- */
|
|
866
|
-
/* --------------------------------------
|
|
867
|
-
2. Border-radius
|
|
868
|
-
-------------------------------------- */
|
|
869
|
-
/* --------------------------------------
|
|
870
|
-
3. Transforms
|
|
871
|
-
-------------------------------------- */
|
|
872
|
-
/* --------------------------------------
|
|
873
|
-
4. Button Focus
|
|
874
|
-
-------------------------------------- */
|
|
875
|
-
/* --------------------------------------
|
|
876
|
-
5. Flex
|
|
877
|
-
-------------------------------------- */
|
|
878
|
-
/* --------------------------------------
|
|
879
|
-
7. Screen Reader Only
|
|
880
|
-
-------------------------------------- */
|
|
881
|
-
/* --------------------------------------
|
|
882
|
-
8. Label styles
|
|
883
|
-
this mixin includes all the styles for the label
|
|
884
|
-
+ flex rules on the parent container to switch between top and left position
|
|
885
|
-
+ srOnly when label is hidden
|
|
886
|
-
Assumes the following markup:
|
|
887
|
-
div.wrapper[.label-left.invalid] > div.label-wrapper > label.label > span.required
|
|
888
|
-
.wrapper is for the flex rules
|
|
889
|
-
.label-wrapper is to set the height of the label when positioned left so it's the same height as
|
|
890
|
-
the input. It can't be done directly on .label because of possible line wrapping.
|
|
891
|
-
When the label is on top there's no line wrapping at all to ensure proper alignment of inlined elements
|
|
892
|
-
(they can't be aligned on the baseline because of possible description text and error message)
|
|
893
|
-
-------------------------------------- */
|
|
894
863
|
:host * {
|
|
895
864
|
box-sizing: border-box;
|
|
896
865
|
}
|
|
@@ -860,37 +860,6 @@
|
|
|
860
860
|
mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath style='fill: var(--icon-fill, currentColor)' d='M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z'/%3E%3C/svg%3E%0A");
|
|
861
861
|
}
|
|
862
862
|
|
|
863
|
-
/* --------------------------------------
|
|
864
|
-
1. Box-shadow
|
|
865
|
-
-------------------------------------- */
|
|
866
|
-
/* --------------------------------------
|
|
867
|
-
2. Border-radius
|
|
868
|
-
-------------------------------------- */
|
|
869
|
-
/* --------------------------------------
|
|
870
|
-
3. Transforms
|
|
871
|
-
-------------------------------------- */
|
|
872
|
-
/* --------------------------------------
|
|
873
|
-
4. Button Focus
|
|
874
|
-
-------------------------------------- */
|
|
875
|
-
/* --------------------------------------
|
|
876
|
-
5. Flex
|
|
877
|
-
-------------------------------------- */
|
|
878
|
-
/* --------------------------------------
|
|
879
|
-
7. Screen Reader Only
|
|
880
|
-
-------------------------------------- */
|
|
881
|
-
/* --------------------------------------
|
|
882
|
-
8. Label styles
|
|
883
|
-
this mixin includes all the styles for the label
|
|
884
|
-
+ flex rules on the parent container to switch between top and left position
|
|
885
|
-
+ srOnly when label is hidden
|
|
886
|
-
Assumes the following markup:
|
|
887
|
-
div.wrapper[.label-left.invalid] > div.label-wrapper > label.label > span.required
|
|
888
|
-
.wrapper is for the flex rules
|
|
889
|
-
.label-wrapper is to set the height of the label when positioned left so it's the same height as
|
|
890
|
-
the input. It can't be done directly on .label because of possible line wrapping.
|
|
891
|
-
When the label is on top there's no line wrapping at all to ensure proper alignment of inlined elements
|
|
892
|
-
(they can't be aligned on the baseline because of possible description text and error message)
|
|
893
|
-
-------------------------------------- */
|
|
894
863
|
:host * {
|
|
895
864
|
box-sizing: border-box;
|
|
896
865
|
margin: unset;
|
|
@@ -860,37 +860,6 @@
|
|
|
860
860
|
mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath style='fill: var(--icon-fill, currentColor)' d='M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z'/%3E%3C/svg%3E%0A");
|
|
861
861
|
}
|
|
862
862
|
|
|
863
|
-
/* --------------------------------------
|
|
864
|
-
1. Box-shadow
|
|
865
|
-
-------------------------------------- */
|
|
866
|
-
/* --------------------------------------
|
|
867
|
-
2. Border-radius
|
|
868
|
-
-------------------------------------- */
|
|
869
|
-
/* --------------------------------------
|
|
870
|
-
3. Transforms
|
|
871
|
-
-------------------------------------- */
|
|
872
|
-
/* --------------------------------------
|
|
873
|
-
4. Button Focus
|
|
874
|
-
-------------------------------------- */
|
|
875
|
-
/* --------------------------------------
|
|
876
|
-
5. Flex
|
|
877
|
-
-------------------------------------- */
|
|
878
|
-
/* --------------------------------------
|
|
879
|
-
7. Screen Reader Only
|
|
880
|
-
-------------------------------------- */
|
|
881
|
-
/* --------------------------------------
|
|
882
|
-
8. Label styles
|
|
883
|
-
this mixin includes all the styles for the label
|
|
884
|
-
+ flex rules on the parent container to switch between top and left position
|
|
885
|
-
+ srOnly when label is hidden
|
|
886
|
-
Assumes the following markup:
|
|
887
|
-
div.wrapper[.label-left.invalid] > div.label-wrapper > label.label > span.required
|
|
888
|
-
.wrapper is for the flex rules
|
|
889
|
-
.label-wrapper is to set the height of the label when positioned left so it's the same height as
|
|
890
|
-
the input. It can't be done directly on .label because of possible line wrapping.
|
|
891
|
-
When the label is on top there's no line wrapping at all to ensure proper alignment of inlined elements
|
|
892
|
-
(they can't be aligned on the baseline because of possible description text and error message)
|
|
893
|
-
-------------------------------------- */
|
|
894
863
|
:host * {
|
|
895
864
|
box-sizing: border-box;
|
|
896
865
|
}
|
|
@@ -1556,37 +1556,6 @@
|
|
|
1556
1556
|
mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath style='fill: var(--icon-fill, currentColor)' d='M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z'/%3E%3C/svg%3E%0A");
|
|
1557
1557
|
}
|
|
1558
1558
|
|
|
1559
|
-
/* --------------------------------------
|
|
1560
|
-
1. Box-shadow
|
|
1561
|
-
-------------------------------------- */
|
|
1562
|
-
/* --------------------------------------
|
|
1563
|
-
2. Border-radius
|
|
1564
|
-
-------------------------------------- */
|
|
1565
|
-
/* --------------------------------------
|
|
1566
|
-
3. Transforms
|
|
1567
|
-
-------------------------------------- */
|
|
1568
|
-
/* --------------------------------------
|
|
1569
|
-
4. Button Focus
|
|
1570
|
-
-------------------------------------- */
|
|
1571
|
-
/* --------------------------------------
|
|
1572
|
-
5. Flex
|
|
1573
|
-
-------------------------------------- */
|
|
1574
|
-
/* --------------------------------------
|
|
1575
|
-
7. Screen Reader Only
|
|
1576
|
-
-------------------------------------- */
|
|
1577
|
-
/* --------------------------------------
|
|
1578
|
-
8. Label styles
|
|
1579
|
-
this mixin includes all the styles for the label
|
|
1580
|
-
+ flex rules on the parent container to switch between top and left position
|
|
1581
|
-
+ srOnly when label is hidden
|
|
1582
|
-
Assumes the following markup:
|
|
1583
|
-
div.wrapper[.label-left.invalid] > div.label-wrapper > label.label > span.required
|
|
1584
|
-
.wrapper is for the flex rules
|
|
1585
|
-
.label-wrapper is to set the height of the label when positioned left so it's the same height as
|
|
1586
|
-
the input. It can't be done directly on .label because of possible line wrapping.
|
|
1587
|
-
When the label is on top there's no line wrapping at all to ensure proper alignment of inlined elements
|
|
1588
|
-
(they can't be aligned on the baseline because of possible description text and error message)
|
|
1589
|
-
-------------------------------------- */
|
|
1590
1559
|
:host {
|
|
1591
1560
|
display: block;
|
|
1592
1561
|
position: relative;
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { b as bootstrapLazy } from './index-130e07bb.js';
|
|
2
2
|
export { s as setNonce } from './index-130e07bb.js';
|
|
3
|
-
import { g as globalScripts } from './app-globals-
|
|
3
|
+
import { g as globalScripts } from './app-globals-2a7b9752.js';
|
|
4
4
|
|
|
5
5
|
const defineCustomElements = async (win, options) => {
|
|
6
6
|
if (typeof window === 'undefined') return undefined;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|