@watermarkinsights/ripple 5.30.0-alpha.2 → 5.30.0-alpha.4
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-da307af6.js → app-globals-33a95391.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/priv-calendar.cjs.entry.js +3 -31
- package/dist/cjs/ripple.cjs.js +1 -1
- package/dist/cjs/wm-search.cjs.entry.js +1 -1
- package/dist/cjs/wm-tag-input.cjs.entry.js +1 -1
- package/dist/collection/components/datepickers/datepicker.css +31 -0
- package/dist/collection/components/datepickers/priv-calendar/priv-calendar.js +3 -31
- package/dist/collection/components/wm-menuitem/wm-menuitem.css +31 -0
- package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.css +31 -0
- package/dist/collection/components/wm-pagination/wm-pagination.css +31 -0
- package/dist/collection/components/wm-search/wm-search.css +38 -1
- package/dist/collection/components/wm-snackbar/wm-snackbar.css +31 -0
- package/dist/collection/components/wm-tag-input/wm-tag-input.css +2 -1
- package/dist/collection/components/wm-timepicker/wm-timepicker.css +31 -0
- package/dist/collection/components/wm-uploader/wm-uploader.css +31 -0
- package/dist/esm/{app-globals-ed99915f.js → app-globals-672c8a7d.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-calendar.entry.js +3 -31
- package/dist/esm/ripple.js +1 -1
- package/dist/esm/wm-search.entry.js +1 -1
- package/dist/esm/wm-tag-input.entry.js +1 -1
- package/dist/esm-es5/{app-globals-ed99915f.js → app-globals-672c8a7d.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/ripple.js +1 -1
- package/dist/esm-es5/wm-search.entry.js +1 -1
- package/dist/esm-es5/wm-tag-input.entry.js +1 -1
- package/dist/ripple/{p-4ede31c6.system.js → p-2818d018.system.js} +1 -1
- package/dist/ripple/p-356cc61e.entry.js +1 -0
- package/dist/ripple/{p-98e55ce5.system.js → p-392a9242.system.js} +1 -1
- package/dist/ripple/{p-7dfbb70c.system.entry.js → p-628fd7bc.system.entry.js} +1 -1
- package/dist/ripple/{p-7b3af4e4.system.entry.js → p-84802e9c.system.entry.js} +1 -1
- package/dist/ripple/{p-7adf3041.js → p-98d96bca.js} +1 -1
- package/dist/ripple/{p-88ad02cd.entry.js → p-cdeb3766.entry.js} +1 -1
- package/dist/ripple/{p-9aecafc6.entry.js → p-d3f7034f.entry.js} +1 -1
- package/dist/ripple/{p-02727181.system.entry.js → p-d66b977f.system.entry.js} +1 -1
- package/dist/ripple/ripple.esm.js +1 -1
- package/dist/ripple/ripple.js +1 -1
- package/package.json +2 -2
- package/dist/ripple/p-75227418.entry.js +0 -1
package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.css
CHANGED
|
@@ -887,6 +887,37 @@
|
|
|
887
887
|
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");
|
|
888
888
|
}
|
|
889
889
|
|
|
890
|
+
/* --------------------------------------
|
|
891
|
+
1. Box-shadow
|
|
892
|
+
-------------------------------------- */
|
|
893
|
+
/* --------------------------------------
|
|
894
|
+
2. Border-radius
|
|
895
|
+
-------------------------------------- */
|
|
896
|
+
/* --------------------------------------
|
|
897
|
+
3. Transforms
|
|
898
|
+
-------------------------------------- */
|
|
899
|
+
/* --------------------------------------
|
|
900
|
+
4. Button Focus
|
|
901
|
+
-------------------------------------- */
|
|
902
|
+
/* --------------------------------------
|
|
903
|
+
5. Flex
|
|
904
|
+
-------------------------------------- */
|
|
905
|
+
/* --------------------------------------
|
|
906
|
+
7. Screen Reader Only
|
|
907
|
+
-------------------------------------- */
|
|
908
|
+
/* --------------------------------------
|
|
909
|
+
8. Label styles
|
|
910
|
+
this mixin includes all the styles for the label
|
|
911
|
+
+ flex rules on the parent container to switch between top and left position
|
|
912
|
+
+ srOnly when label is hidden
|
|
913
|
+
Assumes the following markup:
|
|
914
|
+
div.wrapper[.label-left.invalid] > div.label-wrapper > label.label > span.required
|
|
915
|
+
.wrapper is for the flex rules
|
|
916
|
+
.label-wrapper is to set the height of the label when positioned left so it's the same height as
|
|
917
|
+
the input. It can't be done directly on .label because of possible line wrapping.
|
|
918
|
+
When the label is on top there's no line wrapping at all to ensure proper alignment of inlined elements
|
|
919
|
+
(they can't be aligned on the baseline because of possible description text and error message)
|
|
920
|
+
-------------------------------------- */
|
|
890
921
|
:host * {
|
|
891
922
|
box-sizing: border-box;
|
|
892
923
|
}
|
|
@@ -887,6 +887,37 @@
|
|
|
887
887
|
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");
|
|
888
888
|
}
|
|
889
889
|
|
|
890
|
+
/* --------------------------------------
|
|
891
|
+
1. Box-shadow
|
|
892
|
+
-------------------------------------- */
|
|
893
|
+
/* --------------------------------------
|
|
894
|
+
2. Border-radius
|
|
895
|
+
-------------------------------------- */
|
|
896
|
+
/* --------------------------------------
|
|
897
|
+
3. Transforms
|
|
898
|
+
-------------------------------------- */
|
|
899
|
+
/* --------------------------------------
|
|
900
|
+
4. Button Focus
|
|
901
|
+
-------------------------------------- */
|
|
902
|
+
/* --------------------------------------
|
|
903
|
+
5. Flex
|
|
904
|
+
-------------------------------------- */
|
|
905
|
+
/* --------------------------------------
|
|
906
|
+
7. Screen Reader Only
|
|
907
|
+
-------------------------------------- */
|
|
908
|
+
/* --------------------------------------
|
|
909
|
+
8. Label styles
|
|
910
|
+
this mixin includes all the styles for the label
|
|
911
|
+
+ flex rules on the parent container to switch between top and left position
|
|
912
|
+
+ srOnly when label is hidden
|
|
913
|
+
Assumes the following markup:
|
|
914
|
+
div.wrapper[.label-left.invalid] > div.label-wrapper > label.label > span.required
|
|
915
|
+
.wrapper is for the flex rules
|
|
916
|
+
.label-wrapper is to set the height of the label when positioned left so it's the same height as
|
|
917
|
+
the input. It can't be done directly on .label because of possible line wrapping.
|
|
918
|
+
When the label is on top there's no line wrapping at all to ensure proper alignment of inlined elements
|
|
919
|
+
(they can't be aligned on the baseline because of possible description text and error message)
|
|
920
|
+
-------------------------------------- */
|
|
890
921
|
:host,
|
|
891
922
|
wm-pagination {
|
|
892
923
|
display: block;
|
|
@@ -887,6 +887,37 @@
|
|
|
887
887
|
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");
|
|
888
888
|
}
|
|
889
889
|
|
|
890
|
+
/* --------------------------------------
|
|
891
|
+
1. Box-shadow
|
|
892
|
+
-------------------------------------- */
|
|
893
|
+
/* --------------------------------------
|
|
894
|
+
2. Border-radius
|
|
895
|
+
-------------------------------------- */
|
|
896
|
+
/* --------------------------------------
|
|
897
|
+
3. Transforms
|
|
898
|
+
-------------------------------------- */
|
|
899
|
+
/* --------------------------------------
|
|
900
|
+
4. Button Focus
|
|
901
|
+
-------------------------------------- */
|
|
902
|
+
/* --------------------------------------
|
|
903
|
+
5. Flex
|
|
904
|
+
-------------------------------------- */
|
|
905
|
+
/* --------------------------------------
|
|
906
|
+
7. Screen Reader Only
|
|
907
|
+
-------------------------------------- */
|
|
908
|
+
/* --------------------------------------
|
|
909
|
+
8. Label styles
|
|
910
|
+
this mixin includes all the styles for the label
|
|
911
|
+
+ flex rules on the parent container to switch between top and left position
|
|
912
|
+
+ srOnly when label is hidden
|
|
913
|
+
Assumes the following markup:
|
|
914
|
+
div.wrapper[.label-left.invalid] > div.label-wrapper > label.label > span.required
|
|
915
|
+
.wrapper is for the flex rules
|
|
916
|
+
.label-wrapper is to set the height of the label when positioned left so it's the same height as
|
|
917
|
+
the input. It can't be done directly on .label because of possible line wrapping.
|
|
918
|
+
When the label is on top there's no line wrapping at all to ensure proper alignment of inlined elements
|
|
919
|
+
(they can't be aligned on the baseline because of possible description text and error message)
|
|
920
|
+
-------------------------------------- */
|
|
890
921
|
:host * {
|
|
891
922
|
box-sizing: border-box;
|
|
892
923
|
}
|
|
@@ -903,6 +934,12 @@
|
|
|
903
934
|
display: flex;
|
|
904
935
|
justify-content: space-between;
|
|
905
936
|
align-items: center;
|
|
937
|
+
height: 2.5rem;
|
|
938
|
+
}
|
|
939
|
+
@media only screen and (max-width: 768px) {
|
|
940
|
+
:host .wm-search-wrapper {
|
|
941
|
+
height: 2.75rem;
|
|
942
|
+
}
|
|
906
943
|
}
|
|
907
944
|
:host .wm-search-wrapper .svg-search {
|
|
908
945
|
--icon-size: 1.125rem;
|
|
@@ -911,7 +948,7 @@
|
|
|
911
948
|
}
|
|
912
949
|
:host .wm-search-wrapper input {
|
|
913
950
|
border: none;
|
|
914
|
-
|
|
951
|
+
align-self: stretch;
|
|
915
952
|
padding: 0 1.75rem;
|
|
916
953
|
background: var(--wmcolor-background);
|
|
917
954
|
overflow: visible;
|
|
@@ -887,6 +887,37 @@
|
|
|
887
887
|
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");
|
|
888
888
|
}
|
|
889
889
|
|
|
890
|
+
/* --------------------------------------
|
|
891
|
+
1. Box-shadow
|
|
892
|
+
-------------------------------------- */
|
|
893
|
+
/* --------------------------------------
|
|
894
|
+
2. Border-radius
|
|
895
|
+
-------------------------------------- */
|
|
896
|
+
/* --------------------------------------
|
|
897
|
+
3. Transforms
|
|
898
|
+
-------------------------------------- */
|
|
899
|
+
/* --------------------------------------
|
|
900
|
+
4. Button Focus
|
|
901
|
+
-------------------------------------- */
|
|
902
|
+
/* --------------------------------------
|
|
903
|
+
5. Flex
|
|
904
|
+
-------------------------------------- */
|
|
905
|
+
/* --------------------------------------
|
|
906
|
+
7. Screen Reader Only
|
|
907
|
+
-------------------------------------- */
|
|
908
|
+
/* --------------------------------------
|
|
909
|
+
8. Label styles
|
|
910
|
+
this mixin includes all the styles for the label
|
|
911
|
+
+ flex rules on the parent container to switch between top and left position
|
|
912
|
+
+ srOnly when label is hidden
|
|
913
|
+
Assumes the following markup:
|
|
914
|
+
div.wrapper[.label-left.invalid] > div.label-wrapper > label.label > span.required
|
|
915
|
+
.wrapper is for the flex rules
|
|
916
|
+
.label-wrapper is to set the height of the label when positioned left so it's the same height as
|
|
917
|
+
the input. It can't be done directly on .label because of possible line wrapping.
|
|
918
|
+
When the label is on top there's no line wrapping at all to ensure proper alignment of inlined elements
|
|
919
|
+
(they can't be aligned on the baseline because of possible description text and error message)
|
|
920
|
+
-------------------------------------- */
|
|
890
921
|
:host * {
|
|
891
922
|
box-sizing: border-box;
|
|
892
923
|
margin: unset;
|
|
@@ -1021,6 +1021,7 @@
|
|
|
1021
1021
|
-moz-border-radius: 3px;
|
|
1022
1022
|
-ms-border-radius: 3px;
|
|
1023
1023
|
border-radius: 3px;
|
|
1024
|
+
overflow: clip;
|
|
1024
1025
|
}
|
|
1025
1026
|
:host .field-wrapper.focused {
|
|
1026
1027
|
outline: 2px solid var(--wmcolor-border-focus);
|
|
@@ -1062,7 +1063,7 @@
|
|
|
1062
1063
|
--icon-size: 1.125rem;
|
|
1063
1064
|
flex-shrink: 0;
|
|
1064
1065
|
align-self: center;
|
|
1065
|
-
margin: 0.75rem 0.5rem 0.75rem 0.75rem;
|
|
1066
|
+
margin-inline: 0.75rem 0.5rem 0.75rem 0.75rem;
|
|
1066
1067
|
color: var(--wmcolor-taginput-icon);
|
|
1067
1068
|
}
|
|
1068
1069
|
:host .lower-row {
|
|
@@ -887,6 +887,37 @@
|
|
|
887
887
|
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");
|
|
888
888
|
}
|
|
889
889
|
|
|
890
|
+
/* --------------------------------------
|
|
891
|
+
1. Box-shadow
|
|
892
|
+
-------------------------------------- */
|
|
893
|
+
/* --------------------------------------
|
|
894
|
+
2. Border-radius
|
|
895
|
+
-------------------------------------- */
|
|
896
|
+
/* --------------------------------------
|
|
897
|
+
3. Transforms
|
|
898
|
+
-------------------------------------- */
|
|
899
|
+
/* --------------------------------------
|
|
900
|
+
4. Button Focus
|
|
901
|
+
-------------------------------------- */
|
|
902
|
+
/* --------------------------------------
|
|
903
|
+
5. Flex
|
|
904
|
+
-------------------------------------- */
|
|
905
|
+
/* --------------------------------------
|
|
906
|
+
7. Screen Reader Only
|
|
907
|
+
-------------------------------------- */
|
|
908
|
+
/* --------------------------------------
|
|
909
|
+
8. Label styles
|
|
910
|
+
this mixin includes all the styles for the label
|
|
911
|
+
+ flex rules on the parent container to switch between top and left position
|
|
912
|
+
+ srOnly when label is hidden
|
|
913
|
+
Assumes the following markup:
|
|
914
|
+
div.wrapper[.label-left.invalid] > div.label-wrapper > label.label > span.required
|
|
915
|
+
.wrapper is for the flex rules
|
|
916
|
+
.label-wrapper is to set the height of the label when positioned left so it's the same height as
|
|
917
|
+
the input. It can't be done directly on .label because of possible line wrapping.
|
|
918
|
+
When the label is on top there's no line wrapping at all to ensure proper alignment of inlined elements
|
|
919
|
+
(they can't be aligned on the baseline because of possible description text and error message)
|
|
920
|
+
-------------------------------------- */
|
|
890
921
|
:host * {
|
|
891
922
|
box-sizing: border-box;
|
|
892
923
|
}
|
|
@@ -1587,6 +1587,37 @@
|
|
|
1587
1587
|
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");
|
|
1588
1588
|
}
|
|
1589
1589
|
|
|
1590
|
+
/* --------------------------------------
|
|
1591
|
+
1. Box-shadow
|
|
1592
|
+
-------------------------------------- */
|
|
1593
|
+
/* --------------------------------------
|
|
1594
|
+
2. Border-radius
|
|
1595
|
+
-------------------------------------- */
|
|
1596
|
+
/* --------------------------------------
|
|
1597
|
+
3. Transforms
|
|
1598
|
+
-------------------------------------- */
|
|
1599
|
+
/* --------------------------------------
|
|
1600
|
+
4. Button Focus
|
|
1601
|
+
-------------------------------------- */
|
|
1602
|
+
/* --------------------------------------
|
|
1603
|
+
5. Flex
|
|
1604
|
+
-------------------------------------- */
|
|
1605
|
+
/* --------------------------------------
|
|
1606
|
+
7. Screen Reader Only
|
|
1607
|
+
-------------------------------------- */
|
|
1608
|
+
/* --------------------------------------
|
|
1609
|
+
8. Label styles
|
|
1610
|
+
this mixin includes all the styles for the label
|
|
1611
|
+
+ flex rules on the parent container to switch between top and left position
|
|
1612
|
+
+ srOnly when label is hidden
|
|
1613
|
+
Assumes the following markup:
|
|
1614
|
+
div.wrapper[.label-left.invalid] > div.label-wrapper > label.label > span.required
|
|
1615
|
+
.wrapper is for the flex rules
|
|
1616
|
+
.label-wrapper is to set the height of the label when positioned left so it's the same height as
|
|
1617
|
+
the input. It can't be done directly on .label because of possible line wrapping.
|
|
1618
|
+
When the label is on top there's no line wrapping at all to ensure proper alignment of inlined elements
|
|
1619
|
+
(they can't be aligned on the baseline because of possible description text and error message)
|
|
1620
|
+
-------------------------------------- */
|
|
1590
1621
|
:host {
|
|
1591
1622
|
display: block;
|
|
1592
1623
|
position: relative;
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { b as bootstrapLazy } from './index-3425d80d.js';
|
|
2
2
|
export { s as setNonce } from './index-3425d80d.js';
|
|
3
|
-
import { g as globalScripts } from './app-globals-
|
|
3
|
+
import { g as globalScripts } from './app-globals-672c8a7d.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
|
|
@@ -554,45 +554,17 @@ const PrivCalendar = class {
|
|
|
554
554
|
// the start and end date, set in either of the calendars
|
|
555
555
|
const eitherStart = this.startDate || (this.otherCalEl && this.otherCalEl.startDate);
|
|
556
556
|
const eitherEnd = this.endDate || (this.otherCalEl && this.otherCalEl.endDate);
|
|
557
|
-
return (h("div", { "aria-labelledby": "popup-title-month", role: "grid", class: "date-grid" }, h("div", { role: "rowgroup", class: "date-header" }, h("div", { role: "row", class: "header-row" }, h("div", { role: "columnheader", class: "header-cell", "aria-label": weekdays[0] }, h("
|
|
558
|
-
id: "date.su",
|
|
559
|
-
defaultMessage: "Su",
|
|
560
|
-
description: "Abbreviated day of the week",
|
|
561
|
-
}))), h("div", { role: "columnheader", class: "header-cell", "aria-label": weekdays[1] }, h("span", { "aria-hidden": "true" }, intl.formatMessage({
|
|
562
|
-
id: "date.mo",
|
|
563
|
-
defaultMessage: "Mo",
|
|
564
|
-
description: "Abbreviated day of the week",
|
|
565
|
-
}))), h("div", { role: "columnheader", class: "header-cell", "aria-label": weekdays[2] }, h("span", { "aria-hidden": "true" }, intl.formatMessage({
|
|
566
|
-
id: "date.tu",
|
|
567
|
-
defaultMessage: "Tu",
|
|
568
|
-
description: "Abbreviated day of the week",
|
|
569
|
-
}))), h("div", { role: "columnheader", class: "header-cell", "aria-label": weekdays[3] }, h("span", { "aria-hidden": "true" }, intl.formatMessage({
|
|
570
|
-
id: "date.we",
|
|
571
|
-
defaultMessage: "We",
|
|
572
|
-
description: "Abbreviated day of the week",
|
|
573
|
-
}))), h("div", { role: "columnheader", class: "header-cell", "aria-label": weekdays[4] }, h("span", { "aria-hidden": "true" }, intl.formatMessage({
|
|
574
|
-
id: "date.th",
|
|
575
|
-
defaultMessage: "Th",
|
|
576
|
-
description: "Abbreviated day of the week",
|
|
577
|
-
}))), h("div", { role: "columnheader", class: "header-cell", "aria-label": weekdays[5] }, h("span", { "aria-hidden": "true" }, intl.formatMessage({
|
|
578
|
-
id: "date.fr",
|
|
579
|
-
defaultMessage: "Fr",
|
|
580
|
-
description: "Abbreviated day of the week",
|
|
581
|
-
}))), h("div", { role: "columnheader", class: "header-cell", "aria-label": weekdays[6] }, h("span", { "aria-hidden": "true" }, intl.formatMessage({
|
|
582
|
-
id: "date.sa",
|
|
583
|
-
defaultMessage: "Sa",
|
|
584
|
-
description: "Abbreviated day of the week",
|
|
585
|
-
}))))), h("div", { role: "rowgroup" }, h("div", { role: "row", class: "date-row" }, dates.slice(0, 7).map((date) => this.renderCalendarDate(date, eitherStart, eitherEnd))), h("div", { role: "row" }, dates.slice(7, 14).map((date) => this.renderCalendarDate(date, eitherStart, eitherEnd))), h("div", { role: "row" }, dates.slice(14, 21).map((date) => this.renderCalendarDate(date, eitherStart, eitherEnd))), h("div", { role: "row" }, dates.slice(21, 28).map((date) => this.renderCalendarDate(date, eitherStart, eitherEnd))), h("div", { role: "row" }, dates.slice(28, 35).map((date) => this.renderCalendarDate(date, eitherStart, eitherEnd))), dates.length > 35 ? (h("div", { role: "row" }, dates.slice(35).map((date) => this.renderCalendarDate(date, eitherStart, eitherEnd)))) : (""))));
|
|
557
|
+
return (h("div", { "aria-labelledby": "popup-title-month", role: "grid", class: "date-grid" }, h("div", { role: "rowgroup", class: "date-header" }, h("div", { role: "row", class: "header-row" }, h("div", { role: "columnheader", class: "header-cell", "aria-label": weekdays[0] }, intl.formatMessage({ id: "date.su", defaultMessage: "Su", description: "Abbreviated day of the week" })), h("div", { role: "columnheader", class: "header-cell", "aria-label": weekdays[1] }, intl.formatMessage({ id: "date.mo", defaultMessage: "Mo", description: "Abbreviated day of the week" })), h("div", { role: "columnheader", class: "header-cell", "aria-label": weekdays[2] }, intl.formatMessage({ id: "date.tu", defaultMessage: "Tu", description: "Abbreviated day of the week" })), h("div", { role: "columnheader", class: "header-cell", "aria-label": weekdays[3] }, intl.formatMessage({ id: "date.we", defaultMessage: "We", description: "Abbreviated day of the week" })), h("div", { role: "columnheader", class: "header-cell", "aria-label": weekdays[4] }, intl.formatMessage({ id: "date.th", defaultMessage: "Th", description: "Abbreviated day of the week" })), h("div", { role: "columnheader", class: "header-cell", "aria-label": weekdays[5] }, intl.formatMessage({ id: "date.fr", defaultMessage: "Fr", description: "Abbreviated day of the week" })), h("div", { role: "columnheader", class: "header-cell", "aria-label": weekdays[6] }, intl.formatMessage({ id: "date.sa", defaultMessage: "Sa", description: "Abbreviated day of the week" })))), h("div", { role: "rowgroup" }, h("div", { role: "row", class: "date-row" }, dates.slice(0, 7).map((date) => this.renderCalendarDate(date, eitherStart, eitherEnd))), h("div", { role: "row" }, dates.slice(7, 14).map((date) => this.renderCalendarDate(date, eitherStart, eitherEnd))), h("div", { role: "row" }, dates.slice(14, 21).map((date) => this.renderCalendarDate(date, eitherStart, eitherEnd))), h("div", { role: "row" }, dates.slice(21, 28).map((date) => this.renderCalendarDate(date, eitherStart, eitherEnd))), h("div", { role: "row" }, dates.slice(28, 35).map((date) => this.renderCalendarDate(date, eitherStart, eitherEnd))), dates.length > 35 ? (h("div", { role: "row" }, dates.slice(35).map((date) => this.renderCalendarDate(date, eitherStart, eitherEnd)))) : (""))));
|
|
586
558
|
}
|
|
587
559
|
renderMonthView() {
|
|
588
560
|
return (h("div", { class: "month-view" }, 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))))));
|
|
589
561
|
}
|
|
590
562
|
render() {
|
|
591
|
-
return (h(Host, { key: '
|
|
563
|
+
return (h(Host, { key: '13c2fb6cb68b7e3a35c76bc05dd266ba4525db1f', onMouseOut: (ev) => {
|
|
592
564
|
// @ts-ignore
|
|
593
565
|
if (!this.el.parentElement.contains(ev.toElement))
|
|
594
566
|
this.outOfCal.emit();
|
|
595
|
-
}, role: "application", "aria-describedby": `application-${this.uid}` }, h("div", { key: '
|
|
567
|
+
}, role: "application", "aria-describedby": `application-${this.uid}` }, h("div", { key: '3faf7478450cdcfbd6aa61fee7b9f8e9d71a4dcb', class: `popup ${this.view}-view` }, this.renderHeader(), this.view === "day" ? this.renderDayView() : this.renderMonthView()), h("div", { key: '17e9cbb2b2ac43846a5eca6db7ef5ce5cb78bbf9', id: `application-${this.uid}`, class: "sr-only" }, this.calName, this.calInstructions), h("div", { key: '0d770c5bdb6c9b788a0ca3be07346d14bfc1a763', ref: (el) => (this.liveRegionEl = el), class: "sr-only", "aria-live": "assertive", "aria-atomic": "true" }, this.announcement)));
|
|
596
568
|
}
|
|
597
569
|
get el() { return getElement(this); }
|
|
598
570
|
static get watchers() { return {
|
package/dist/esm/ripple.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as promiseResolve, b as bootstrapLazy } from './index-3425d80d.js';
|
|
2
2
|
export { s as setNonce } from './index-3425d80d.js';
|
|
3
|
-
import { g as globalScripts } from './app-globals-
|
|
3
|
+
import { g as globalScripts } from './app-globals-672c8a7d.js';
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
6
|
Stencil Client Patch Browser v4.21.0 | MIT Licensed | https://stenciljs.com
|