@watermarkinsights/ripple 5.19.0-alpha.2 → 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-e7ffcb06.js → app-globals-dcc3100b.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/ripple.cjs.js +1 -1
- package/dist/cjs/wm-file.cjs.entry.js +35 -19
- package/dist/collection/components/datepickers/datepicker.css +0 -31
- 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 +0 -31
- 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-3bb52295.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/ripple.js +1 -1
- package/dist/esm/wm-file.entry.js +35 -19
- package/dist/esm-es5/{app-globals-3bb52295.js → app-globals-2a7b9752.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/ripple.js +1 -1
- package/dist/esm-es5/wm-file.entry.js +1 -1
- package/dist/ripple/{p-55d3ca79.system.js → p-2412287d.system.js} +1 -1
- package/dist/ripple/{p-2c112c06.system.entry.js → p-74f828c5.system.entry.js} +1 -1
- package/dist/ripple/{p-70b342f9.system.js → p-7cd7d382.system.js} +1 -1
- package/dist/ripple/{p-4b4ec922.js → p-9399dbb8.js} +1 -1
- package/dist/ripple/p-e262c6af.entry.js +1 -0
- 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
|
@@ -894,47 +894,120 @@
|
|
|
894
894
|
.file-wrapper .file.condensed {
|
|
895
895
|
column-gap: 2.5rem;
|
|
896
896
|
}
|
|
897
|
+
.file-wrapper .file.extra-condensed {
|
|
898
|
+
column-gap: 0.75rem;
|
|
899
|
+
}
|
|
897
900
|
.file-wrapper .file .filename {
|
|
898
|
-
|
|
901
|
+
font-weight: 600;
|
|
902
|
+
display: inline;
|
|
903
|
+
overflow-wrap: break-word;
|
|
904
|
+
}
|
|
905
|
+
.file-wrapper .file .filename-measure {
|
|
899
906
|
white-space: nowrap;
|
|
907
|
+
visibility: hidden;
|
|
908
|
+
position: absolute;
|
|
909
|
+
pointer-events: none;
|
|
900
910
|
}
|
|
901
911
|
.file-wrapper .file .left-group {
|
|
902
|
-
|
|
903
|
-
min-inline-size: 5.3125rem;
|
|
912
|
+
min-inline-size: 0;
|
|
904
913
|
flex-grow: 1;
|
|
905
914
|
}
|
|
915
|
+
.file-wrapper .file .left-group:has(.-truncated) {
|
|
916
|
+
min-inline-size: fit-content;
|
|
917
|
+
}
|
|
906
918
|
.file-wrapper .file .right-group {
|
|
907
|
-
display:
|
|
908
|
-
|
|
919
|
+
display: grid;
|
|
920
|
+
grid-template-columns: auto min-content;
|
|
909
921
|
align-items: center;
|
|
910
922
|
gap: 1rem;
|
|
911
|
-
min-inline-size: 0;
|
|
912
|
-
max-inline-size: 50%;
|
|
913
923
|
}
|
|
914
924
|
.file-wrapper .file .right-group .file-controls {
|
|
915
925
|
display: flex;
|
|
916
926
|
gap: 1rem;
|
|
917
927
|
}
|
|
918
928
|
.file-wrapper .file .right-group .file-info {
|
|
929
|
+
min-inline-size: 4.375rem;
|
|
930
|
+
text-align: right;
|
|
931
|
+
align-items: end;
|
|
932
|
+
}
|
|
933
|
+
.file-wrapper .file .file-info {
|
|
919
934
|
display: flex;
|
|
920
935
|
flex-direction: column;
|
|
921
|
-
align-items: end;
|
|
922
936
|
gap: 0.25rem;
|
|
923
|
-
text-align: right;
|
|
924
937
|
max-inline-size: 28.125rem;
|
|
925
938
|
}
|
|
926
|
-
.file-wrapper .file .
|
|
927
|
-
max-inline-size: 100%;
|
|
939
|
+
.file-wrapper .file .file-info * {
|
|
928
940
|
overflow-wrap: break-word;
|
|
941
|
+
}
|
|
942
|
+
.file-wrapper .file .file-info .uploader-name {
|
|
943
|
+
max-inline-size: 100%;
|
|
929
944
|
text-wrap: balance;
|
|
930
945
|
}
|
|
931
|
-
.file-wrapper .file .
|
|
946
|
+
.file-wrapper .file .file-info:empty {
|
|
947
|
+
display: none;
|
|
948
|
+
}
|
|
949
|
+
.file-wrapper .file #file-details summary {
|
|
950
|
+
--icon-size: 24px;
|
|
951
|
+
display: block;
|
|
952
|
+
font-weight: 600;
|
|
953
|
+
color: var(--wmcolor-interactive);
|
|
954
|
+
}
|
|
955
|
+
.file-wrapper .file #file-details summary::before {
|
|
956
|
+
position: absolute;
|
|
957
|
+
transform: translate(0, -15%);
|
|
958
|
+
}
|
|
959
|
+
.file-wrapper .file #file-details summary:focus-visible {
|
|
960
|
+
outline: 3px solid var(--wmcolor-interactive-focus);
|
|
961
|
+
outline-offset: 2px;
|
|
962
|
+
}
|
|
963
|
+
.file-wrapper .file #file-details #summary-filename-trunc,
|
|
964
|
+
.file-wrapper .file #file-details #summary-filename-wrap,
|
|
965
|
+
.file-wrapper .file #file-details .file-info {
|
|
966
|
+
margin-inline-start: 2rem;
|
|
967
|
+
}
|
|
968
|
+
.file-wrapper .file #file-details[open] #summary-filename-trunc {
|
|
969
|
+
display: none;
|
|
970
|
+
}
|
|
971
|
+
.file-wrapper .file #file-details[open] summary:before {
|
|
972
|
+
content: "";
|
|
973
|
+
display: block;
|
|
974
|
+
background-color: var(--icon-fill, currentColor);
|
|
975
|
+
width: var(--icon-size, 0.875rem);
|
|
976
|
+
height: var(--icon-size, 0.875rem);
|
|
977
|
+
-webkit-mask-size: 100%;
|
|
978
|
+
mask-size: 100%;
|
|
979
|
+
}
|
|
980
|
+
.file-wrapper .file #file-details[open] summary:before {
|
|
981
|
+
-webkit-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='M7,10L12,15L17,10H7Z'/%3E%3C/svg%3E%0A");
|
|
982
|
+
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='M7,10L12,15L17,10H7Z'/%3E%3C/svg%3E%0A");
|
|
983
|
+
}
|
|
984
|
+
.file-wrapper .file #file-details:not([open]) #summary-filename-wrap {
|
|
985
|
+
display: none;
|
|
986
|
+
}
|
|
987
|
+
.file-wrapper .file #file-details:not([open]) summary:before {
|
|
988
|
+
content: "";
|
|
989
|
+
display: block;
|
|
990
|
+
background-color: var(--icon-fill, currentColor);
|
|
991
|
+
width: var(--icon-size, 0.875rem);
|
|
992
|
+
height: var(--icon-size, 0.875rem);
|
|
993
|
+
-webkit-mask-size: 100%;
|
|
994
|
+
mask-size: 100%;
|
|
995
|
+
}
|
|
996
|
+
.file-wrapper .file #file-details:not([open]) summary:before {
|
|
997
|
+
-webkit-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='M10,17L15,12L10,7V17Z'/%3E%3C/svg%3E%0A");
|
|
998
|
+
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='M10,17L15,12L10,7V17Z'/%3E%3C/svg%3E%0A");
|
|
999
|
+
}
|
|
1000
|
+
.file-wrapper .file #summary-filename-wrap {
|
|
1001
|
+
display: inline-block;
|
|
1002
|
+
overflow-wrap: anywhere;
|
|
1003
|
+
}
|
|
1004
|
+
.file-wrapper .file:has(#file-details) .name-wrapper {
|
|
932
1005
|
display: none;
|
|
933
1006
|
}
|
|
934
1007
|
.file-wrapper .file.--error {
|
|
935
1008
|
border: 1px solid var(--wmcolor-file-border-error);
|
|
936
1009
|
background-color: var(--wmcolor-file-background-error);
|
|
937
|
-
block-size: 3.75rem;
|
|
1010
|
+
min-block-size: 3.75rem;
|
|
938
1011
|
}
|
|
939
1012
|
.file-wrapper .file.--error .right-group {
|
|
940
1013
|
flex-shrink: 0;
|
|
@@ -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);
|
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
|
package/dist/esm/ripple.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as promiseResolve, 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
|
/*
|
|
6
6
|
Stencil Client Patch Browser v4.21.0 | MIT Licensed | https://stenciljs.com
|