@eunomia/elements 1.0.0-beta.6 → 1.0.0-beta.7

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.
Files changed (245) hide show
  1. package/README.md +1 -1
  2. package/dist/cdn/components/chunks/{chunk-JYIIWN2P.js → chunk-36KLGY6U.js} +8 -8
  3. package/dist/cdn/components/chunks/chunk-3BMACIDO.js +1 -0
  4. package/dist/cdn/components/chunks/{chunk-KDN4O5W2.js → chunk-3PNGQEG4.js} +3 -3
  5. package/dist/cdn/components/chunks/{chunk-ZKZV2YG5.js → chunk-5XPOGBPL.js} +1 -1
  6. package/dist/cdn/components/chunks/{chunk-LMVW522V.js → chunk-62RLISRD.js} +1 -1
  7. package/dist/cdn/components/chunks/{chunk-PMPSJG5V.js → chunk-6FYW5TQU.js} +3 -3
  8. package/dist/cdn/components/chunks/chunk-AK2DIJX7.js +1 -0
  9. package/dist/cdn/components/chunks/chunk-B5XMGWM7.js +10 -0
  10. package/dist/cdn/components/chunks/chunk-BVASCT2V.js +109 -0
  11. package/dist/cdn/components/chunks/{chunk-VYFR364B.js → chunk-DGI7TKCU.js} +14 -9
  12. package/dist/cdn/components/chunks/chunk-GVS6IUKC.js +1 -0
  13. package/dist/cdn/components/chunks/chunk-GWLD2I3P.js +8 -0
  14. package/dist/cdn/components/chunks/{chunk-UDVB4LAE.js → chunk-I4ERDXSM.js} +5 -3
  15. package/dist/cdn/components/chunks/{chunk-QZ5SHR3I.js → chunk-J3SZBXM6.js} +2 -2
  16. package/dist/cdn/components/chunks/{chunk-MOMYII3P.js → chunk-LVKMAHMU.js} +10 -0
  17. package/dist/cdn/components/chunks/{chunk-XDPRWUKN.js → chunk-MQQJ6DID.js} +1 -1
  18. package/dist/cdn/components/chunks/{chunk-SZYEBMG6.js → chunk-PXF554MD.js} +1 -1
  19. package/dist/cdn/components/chunks/chunk-QL5GSW2A.js +1 -0
  20. package/dist/cdn/components/chunks/{chunk-7KKWYPHY.js → chunk-QXQ25SQS.js} +21 -19
  21. package/dist/cdn/components/chunks/{chunk-L2ADCEN7.js → chunk-SVGWCKWT.js} +1 -1
  22. package/dist/cdn/components/chunks/{chunk-MQQ4BGVJ.js → chunk-TFTRCIIK.js} +7 -6
  23. package/dist/cdn/components/chunks/chunk-TLBXTBMM.js +46 -0
  24. package/dist/cdn/components/chunks/chunk-UVHVQRPT.js +1 -0
  25. package/dist/cdn/components/chunks/chunk-WW4BTWMH.js +1 -0
  26. package/dist/cdn/components/chunks/{chunk-2Y2EU2CI.js → chunk-Z3OFIE7S.js} +1 -1
  27. package/dist/cdn/components/eun-alert.js +13 -6
  28. package/dist/cdn/components/eun-animate.js +3 -3
  29. package/dist/cdn/components/eun-badge.js +1 -1
  30. package/dist/cdn/components/eun-button.js +1 -1
  31. package/dist/cdn/components/eun-calendar.js +2 -2
  32. package/dist/cdn/components/eun-card.js +4 -4
  33. package/dist/cdn/components/eun-carousel.js +21 -18
  34. package/dist/cdn/components/eun-check-card.js +1 -1
  35. package/dist/cdn/components/eun-checkbox-list.js +11 -8
  36. package/dist/cdn/components/eun-checkbox.js +1 -1
  37. package/dist/cdn/components/eun-chip.js +3 -3
  38. package/dist/cdn/components/eun-color-picker.js +60 -68
  39. package/dist/cdn/components/eun-counter.js +10 -10
  40. package/dist/cdn/components/eun-date-picker.js +47 -46
  41. package/dist/cdn/components/eun-description-list.js +2 -2
  42. package/dist/cdn/components/eun-divider.js +3 -3
  43. package/dist/cdn/components/eun-drawer.js +5 -5
  44. package/dist/cdn/components/eun-dropdown-button.js +1 -1
  45. package/dist/cdn/components/eun-fab.js +2 -2
  46. package/dist/cdn/components/eun-icon.js +1 -1
  47. package/dist/cdn/components/eun-image-card.js +1 -1
  48. package/dist/cdn/components/eun-image-carousel.js +10 -10
  49. package/dist/cdn/components/eun-infinite-list.js +1 -1
  50. package/dist/cdn/components/eun-input-file.js +21 -21
  51. package/dist/cdn/components/eun-input-phone.js +10 -9
  52. package/dist/cdn/components/eun-input.js +1 -1
  53. package/dist/cdn/components/eun-link.js +2 -2
  54. package/dist/cdn/components/eun-loader.js +1 -1
  55. package/dist/cdn/components/eun-modal.js +13 -13
  56. package/dist/cdn/components/eun-pagination.js +16 -16
  57. package/dist/cdn/components/eun-password-strength.js +14 -10
  58. package/dist/cdn/components/eun-radio-card.js +1 -1
  59. package/dist/cdn/components/eun-radio-list.js +11 -8
  60. package/dist/cdn/components/eun-radio.js +1 -1
  61. package/dist/cdn/components/eun-rating.js +276 -0
  62. package/dist/cdn/components/eun-scheduler-event-editor.js +10 -10
  63. package/dist/cdn/components/eun-scheduler-event.js +1 -1
  64. package/dist/cdn/components/eun-scheduler.js +28 -28
  65. package/dist/cdn/components/eun-search.js +19 -21
  66. package/dist/cdn/components/eun-select.js +27 -27
  67. package/dist/cdn/components/eun-sidebar.js +10 -8
  68. package/dist/cdn/components/eun-skeleton.js +1 -1
  69. package/dist/cdn/components/eun-slider.js +3 -3
  70. package/dist/cdn/components/eun-sliding-card.js +1 -1
  71. package/dist/cdn/components/eun-step.js +5 -4
  72. package/dist/cdn/components/eun-stepper.js +25 -25
  73. package/dist/cdn/components/eun-switch.js +1 -1
  74. package/dist/cdn/components/eun-tab-group.js +4 -4
  75. package/dist/cdn/components/eun-tab.js +1 -1
  76. package/dist/cdn/components/eun-table-action-bar.js +1 -1
  77. package/dist/cdn/components/eun-table.js +1 -1
  78. package/dist/cdn/components/eun-tag.js +3 -3
  79. package/dist/cdn/components/eun-textarea.js +39 -34
  80. package/dist/cdn/components/eun-time-picker.js +15 -14
  81. package/dist/cdn/components/eun-toast.js +19 -10
  82. package/dist/cdn/components/eun-toggle-group.js +6 -4
  83. package/dist/cdn/components/eun-toggle-item.js +1 -1
  84. package/dist/cdn/components/eun-toggle.js +2 -2
  85. package/dist/cdn/components/eun-toolbar.js +5 -5
  86. package/dist/cdn/components/eun-tooltip.js +3 -3
  87. package/dist/components/action/button/button.d.ts +2 -1
  88. package/dist/components/action/button/button.js +3 -2
  89. package/dist/components/action/button/button.styles.js +10 -5
  90. package/dist/components/action/dropdown-button/dropdown-button.js +10 -5
  91. package/dist/components/action/toggle/toggle-group.js +1 -1
  92. package/dist/components/action/toggle/toggle-group.styles.js +4 -2
  93. package/dist/components/action/toggle/toggle.js +1 -1
  94. package/dist/components/alert/alert/alert.d.ts +9 -7
  95. package/dist/components/alert/alert/alert.js +11 -14
  96. package/dist/components/alert/alert/alert.styles.js +9 -2
  97. package/dist/components/alert/drawer/drawer.d.ts +5 -5
  98. package/dist/components/alert/drawer/drawer.js +8 -12
  99. package/dist/components/alert/drawer/drawer.styles.js +1 -1
  100. package/dist/components/alert/modal/modal.d.ts +10 -10
  101. package/dist/components/alert/modal/modal.js +13 -25
  102. package/dist/components/alert/toast/toast.d.ts +7 -5
  103. package/dist/components/alert/toast/toast.js +9 -13
  104. package/dist/components/alert/toast/toast.styles.js +15 -6
  105. package/dist/components/content/badge/badge.js +2 -2
  106. package/dist/components/content/card/card.js +1 -1
  107. package/dist/components/content/card/card.styles.js +2 -2
  108. package/dist/components/content/chip/chip.d.ts +4 -4
  109. package/dist/components/content/chip/chip.js +8 -8
  110. package/dist/components/content/description-list/description-list.js +3 -3
  111. package/dist/components/content/icon/icon.d.ts +3 -0
  112. package/dist/components/content/icon/icon.js +3 -0
  113. package/dist/components/content/icon/icon.style.d.ts +2 -0
  114. package/dist/components/content/icon/icon.style.js +4 -0
  115. package/dist/components/content/image-carousel/image-carousel.d.ts +12 -12
  116. package/dist/components/content/image-carousel/image-carousel.js +24 -24
  117. package/dist/components/content/password-strength/password-strength.d.ts +21 -6
  118. package/dist/components/content/password-strength/password-strength.js +37 -16
  119. package/dist/components/content/password-strength/password-strength.styles.js +4 -0
  120. package/dist/components/content/tag/tag.js +2 -2
  121. package/dist/components/content/tooltip/tooltip.js +3 -3
  122. package/dist/components/form/checkbox/check-card.d.ts +1 -0
  123. package/dist/components/form/checkbox/check-card.js +1 -0
  124. package/dist/components/form/checkbox/checkbox-list.d.ts +17 -0
  125. package/dist/components/form/checkbox/checkbox-list.js +39 -10
  126. package/dist/components/form/checkbox/checkbox.d.ts +1 -0
  127. package/dist/components/form/checkbox/checkbox.js +3 -1
  128. package/dist/components/form/checkbox/checkbox.styles.js +3 -2
  129. package/dist/components/form/color-picker/color-picker.d.ts +41 -28
  130. package/dist/components/form/color-picker/color-picker.js +66 -50
  131. package/dist/components/form/color-picker/color-picker.styles.js +1 -1
  132. package/dist/components/form/counter/counter.d.ts +22 -18
  133. package/dist/components/form/counter/counter.js +59 -61
  134. package/dist/components/form/date-picker/date-picker.d.ts +27 -6
  135. package/dist/components/form/date-picker/date-picker.js +75 -54
  136. package/dist/components/form/input/input.d.ts +38 -39
  137. package/dist/components/form/input/input.js +85 -109
  138. package/dist/components/form/input-file/input-file.d.ts +26 -13
  139. package/dist/components/form/input-file/input-file.js +35 -35
  140. package/dist/components/form/input-file/input-file.styles.js +4 -4
  141. package/dist/components/form/input-phone/input-phone.d.ts +22 -5
  142. package/dist/components/form/input-phone/input-phone.js +41 -13
  143. package/dist/components/form/radio/radio-card.d.ts +1 -0
  144. package/dist/components/form/radio/radio-card.js +1 -0
  145. package/dist/components/form/radio/radio-list.d.ts +23 -7
  146. package/dist/components/form/radio/radio-list.js +47 -22
  147. package/dist/components/form/radio/radio.d.ts +1 -0
  148. package/dist/components/form/radio/radio.js +1 -0
  149. package/dist/components/form/rating/rating.d.ts +349 -0
  150. package/dist/components/form/rating/rating.js +665 -0
  151. package/dist/components/form/rating/rating.styles.d.ts +1 -0
  152. package/dist/components/form/rating/rating.styles.js +213 -0
  153. package/dist/components/form/search/search.d.ts +8 -8
  154. package/dist/components/form/search/search.js +23 -41
  155. package/dist/components/form/select/select.d.ts +23 -10
  156. package/dist/components/form/select/select.js +59 -41
  157. package/dist/components/form/shared-styles/listbox.styles.js +10 -0
  158. package/dist/components/form/slider/slider.d.ts +7 -8
  159. package/dist/components/form/slider/slider.js +9 -12
  160. package/dist/components/form/switch/switch.d.ts +1 -0
  161. package/dist/components/form/switch/switch.js +1 -0
  162. package/dist/components/form/textarea/textarea.d.ts +89 -23
  163. package/dist/components/form/textarea/textarea.js +192 -43
  164. package/dist/components/form/time-picker/time-picker-columns.d.ts +2 -2
  165. package/dist/components/form/time-picker/time-picker-columns.js +8 -8
  166. package/dist/components/form/time-picker/time-picker.d.ts +24 -8
  167. package/dist/components/form/time-picker/time-picker.js +59 -38
  168. package/dist/components/layout/animate/animate.js +1 -1
  169. package/dist/components/layout/animate/animate.styles.js +2 -2
  170. package/dist/components/layout/divider/divider.js +1 -1
  171. package/dist/components/layout/divider/divider.styles.js +1 -1
  172. package/dist/components/loader/loader/loader.js +2 -2
  173. package/dist/components/loader/loader/loader.styles.js +14 -12
  174. package/dist/components/loader/skeleton/skeleton.js +1 -1
  175. package/dist/components/navigation/carousel/carousel.d.ts +31 -7
  176. package/dist/components/navigation/carousel/carousel.js +74 -35
  177. package/dist/components/navigation/carousel/carousel.styles.js +5 -2
  178. package/dist/components/navigation/pagination/pagination.d.ts +23 -21
  179. package/dist/components/navigation/pagination/pagination.js +30 -53
  180. package/dist/components/navigation/sidebar/sidebar.d.ts +15 -13
  181. package/dist/components/navigation/sidebar/sidebar.js +21 -33
  182. package/dist/components/navigation/sidebar/sidebar.styles.js +5 -3
  183. package/dist/components/navigation/stepper/step.js +9 -8
  184. package/dist/components/navigation/stepper/stepper.js +12 -5
  185. package/dist/components/navigation/tabs/tab-group/tab-group.js +2 -2
  186. package/dist/components/navigation/tabs/tab-group/tab-group.styles.js +2 -2
  187. package/dist/components/navigation/toolbar/toolbar.d.ts +13 -13
  188. package/dist/components/navigation/toolbar/toolbar.js +20 -34
  189. package/dist/features/scheduler/calendar/calendar.js +1 -1
  190. package/dist/features/scheduler/scheduler/scheduler.d.ts +7 -7
  191. package/dist/features/scheduler/scheduler/scheduler.js +15 -24
  192. package/dist/features/scheduler/scheduler-event/scheduler-event.js +3 -3
  193. package/dist/features/scheduler/scheduler-event/scheduler-event.styles.js +1 -1
  194. package/dist/features/scheduler/scheduler-event-editor/scheduler-event-editor.d.ts +6 -4
  195. package/dist/features/scheduler/scheduler-event-editor/scheduler-event-editor.js +6 -7
  196. package/dist/i18n/en.d.ts +68 -0
  197. package/dist/i18n/en.js +68 -0
  198. package/dist/i18n/fr.js +68 -2
  199. package/dist/index.d.ts +2 -0
  200. package/dist/index.js +1 -0
  201. package/dist/mixins/button.mixin.js +3 -2
  202. package/dist/mixins/check.mixin.js +11 -10
  203. package/dist/mixins/disabled.mixin.d.ts +5 -0
  204. package/dist/mixins/disabled.mixin.js +21 -1
  205. package/dist/mixins/editable.mixin.js +28 -5
  206. package/dist/mixins/field-appearance.mixin.js +3 -2
  207. package/dist/mixins/form.mixin.d.ts +4 -0
  208. package/dist/mixins/form.mixin.js +87 -13
  209. package/dist/mixins/localizable.mixin.d.ts +1 -1
  210. package/dist/mixins/localizable.mixin.js +1 -1
  211. package/dist/mixins/radio.mixin.js +11 -10
  212. package/dist/mixins/readonly.mixin.d.ts +2 -1
  213. package/dist/mixins/readonly.mixin.js +10 -3
  214. package/dist/ssr/alert-ssr.css +187 -0
  215. package/dist/ssr/badge-ssr.css +67 -0
  216. package/dist/ssr/breadcrumb-ssr.css +41 -0
  217. package/dist/ssr/card-ssr.css +27 -15
  218. package/dist/ssr/carousel-ssr.css +238 -0
  219. package/dist/ssr/checkbox-ssr.css +67 -0
  220. package/dist/ssr/chip-ssr.css +242 -0
  221. package/dist/ssr/collapse-ssr.css +151 -0
  222. package/dist/ssr/field-ssr.css +163 -0
  223. package/dist/ssr/icon-ssr.css +266 -0
  224. package/dist/ssr/image-carousel-ssr.css +24 -0
  225. package/dist/ssr/links-ssr.css +7 -1
  226. package/dist/ssr/pagination-ssr.css +4 -0
  227. package/dist/ssr/rating-ssr.css +254 -0
  228. package/dist/ssr/sidebar-ssr.css +9 -1
  229. package/dist/ssr/skeleton-ssr.css +63 -0
  230. package/dist/ssr/tabs-ssr.css +129 -0
  231. package/dist/ssr/toggle-group-ssr.css +182 -0
  232. package/dist/ssr/toolbar-ssr.css +31 -2
  233. package/dist/utils/implicit-submission.utils.d.ts +18 -0
  234. package/dist/utils/implicit-submission.utils.js +79 -0
  235. package/dist/utils/listbox-options.utils.d.ts +11 -0
  236. package/dist/utils/listbox-options.utils.js +41 -3
  237. package/package.json +26 -7
  238. package/dist/cdn/components/chunks/chunk-4PI6RDUS.js +0 -1
  239. package/dist/cdn/components/chunks/chunk-A3X4KD2X.js +0 -1
  240. package/dist/cdn/components/chunks/chunk-BQFJR2UP.js +0 -110
  241. package/dist/cdn/components/chunks/chunk-G5SBDQQ3.js +0 -1
  242. package/dist/cdn/components/chunks/chunk-KSZRQRN4.js +0 -1
  243. package/dist/cdn/components/chunks/chunk-PE4DAXHQ.js +0 -3
  244. package/dist/cdn/components/chunks/chunk-RS7TWEMQ.js +0 -1
  245. package/dist/cdn/components/chunks/chunk-VOTRXBDS.js +0 -38
@@ -10,6 +10,7 @@ import { ChangeEvent } from "../../../events/change.event.js";
10
10
  import { DialogSurfaceMixin } from "../../../mixins/dialog-surface.mixin.js";
11
11
  import { EUNOMIA_BREAKPOINTS } from "../../../breakpoints.js";
12
12
  import { toolbarStyles } from "./toolbar.styles.js";
13
+ import { LocalizableMixin } from "../../../mixins/localizable.mixin.js";
13
14
  /**
14
15
  * Tag name of the toolbar component.
15
16
  */
@@ -70,12 +71,12 @@ export const EunomiaToolbarTagName = "eun-toolbar";
70
71
  * @attr {string} panel-size - A custom open size for the mobile panel
71
72
  * @prop {boolean} [closeOnBackdrop=true] - Whether clicking outside the mobile panel closes it
72
73
  * @attr {boolean} [close-on-backdrop=true] - Whether clicking outside the mobile panel closes it
73
- * @prop {string} [ariaLabelMenuOpen='Open menu'] - The accessible label of the burger button while the panel is closed
74
- * @attr {string} [aria-label-menu-open='Open menu'] - The accessible label of the burger button while the panel is closed
75
- * @prop {string} [ariaLabelMenuClose='Close menu'] - The accessible label of the burger button while the panel is open
76
- * @attr {string} [aria-label-menu-close='Close menu'] - The accessible label of the burger button while the panel is open
77
- * @prop {string} [ariaLabelMenu='Menu'] - The accessible name of the mobile panel itself
78
- * @attr {string} [aria-label-menu='Menu'] - The accessible name of the mobile panel itself
74
+ * @prop {string} [menuOpenLabel] - The accessible label of the burger button while the panel is closed. Defaults to the localized string for the current locale (English: "Open menu")
75
+ * @attr {string} [menu-open-label] - The accessible label of the burger button while the panel is closed. Defaults to the localized string for the current locale (English: "Open menu")
76
+ * @prop {string} [menuCloseLabel] - The accessible label of the burger button while the panel is open. Defaults to the localized string for the current locale (English: "Close menu")
77
+ * @attr {string} [menu-close-label] - The accessible label of the burger button while the panel is open. Defaults to the localized string for the current locale (English: "Close menu")
78
+ * @prop {string} [menuLabel] - The accessible name of the mobile panel itself. Defaults to the localized string for the current locale (English: "Menu")
79
+ * @attr {string} [menu-label] - The accessible name of the mobile panel itself. Defaults to the localized string for the current locale (English: "Menu")
79
80
  * @attr {string} [aria-label='Main navigation'] - The accessible name of the toolbar's navigation landmark
80
81
  * @prop {boolean} [collapseOnScroll=false] - Enables the scroll-triggered collapse mode
81
82
  * @attr {boolean} [collapse-on-scroll=false] - Enables the scroll-triggered collapse mode
@@ -138,7 +139,7 @@ export const EunomiaToolbarTagName = "eun-toolbar";
138
139
  * @cssprop [--toolbar-skip-links-gap] - Sets the gap between skip links, with the divider centered in it
139
140
  * @element eun-toolbar
140
141
  */
141
- let EunomiaToolbar = class EunomiaToolbar extends DialogSurfaceMixin(LitElement) {
142
+ let EunomiaToolbar = class EunomiaToolbar extends DialogSurfaceMixin(LocalizableMixin(LitElement)) {
142
143
  constructor() {
143
144
  super(...arguments);
144
145
  /**
@@ -167,21 +168,6 @@ let EunomiaToolbar = class EunomiaToolbar extends DialogSurfaceMixin(LitElement)
167
168
  * @default true
168
169
  */
169
170
  this.closeOnBackdrop = true;
170
- /**
171
- * Accessible label of the burger button while the panel is closed.
172
- * @default Open menu
173
- */
174
- this.ariaLabelMenuOpen = "Open menu";
175
- /**
176
- * Accessible label of the burger button while the panel is open.
177
- * @default Close menu
178
- */
179
- this.ariaLabelMenuClose = "Close menu";
180
- /**
181
- * Accessible name of the mobile panel itself.
182
- * @default Menu
183
- */
184
- this.ariaLabelMenu = "Menu";
185
171
  /**
186
172
  * Enables the scroll-triggered collapse mode.
187
173
  * @default false
@@ -821,8 +807,8 @@ let EunomiaToolbar = class EunomiaToolbar extends DialogSurfaceMixin(LitElement)
821
807
  size="s"
822
808
  aria-expanded=${this.open}
823
809
  aria-label=${this.open
824
- ? this.ariaLabelMenuClose
825
- : this.ariaLabelMenuOpen}
810
+ ? (this.menuCloseLabel ?? this.dictionary.toolbar.menuClose)
811
+ : (this.menuOpenLabel ?? this.dictionary.toolbar.menuOpen)}
826
812
  @click=${() => this.toggle()}
827
813
  >
828
814
  <slot name=${slotName} @slotchange=${this.handleIconSlotChange}>
@@ -859,7 +845,7 @@ let EunomiaToolbar = class EunomiaToolbar extends DialogSurfaceMixin(LitElement)
859
845
  popover="manual"
860
846
  role="dialog"
861
847
  aria-modal="true"
862
- aria-label=${this.ariaLabelMenu}
848
+ aria-label=${this.menuLabel ?? this.dictionary.toolbar.menu}
863
849
  data-direction=${this.panelDirection}
864
850
  tabindex="-1"
865
851
  @toggle=${this.handlePanelToggle}
@@ -896,7 +882,7 @@ let EunomiaToolbar = class EunomiaToolbar extends DialogSurfaceMixin(LitElement)
896
882
  */
897
883
  EunomiaToolbar.styles = toolbarStyles;
898
884
  __decorate([
899
- property({ reflect: true })
885
+ property({ reflect: true, useDefault: true })
900
886
  ], EunomiaToolbar.prototype, "position", void 0);
901
887
  __decorate([
902
888
  property({ type: Number, attribute: "mobile-breakpoint" })
@@ -905,7 +891,7 @@ __decorate([
905
891
  property({ type: Boolean, reflect: true })
906
892
  ], EunomiaToolbar.prototype, "open", void 0);
907
893
  __decorate([
908
- property({ reflect: true, attribute: "panel-direction" })
894
+ property({ reflect: true, attribute: "panel-direction", useDefault: true })
909
895
  ], EunomiaToolbar.prototype, "panelDirection", void 0);
910
896
  __decorate([
911
897
  property({ attribute: "panel-size" })
@@ -914,14 +900,14 @@ __decorate([
914
900
  property({ type: Boolean, attribute: "close-on-backdrop" })
915
901
  ], EunomiaToolbar.prototype, "closeOnBackdrop", void 0);
916
902
  __decorate([
917
- property({ attribute: "aria-label-menu-open" })
918
- ], EunomiaToolbar.prototype, "ariaLabelMenuOpen", void 0);
903
+ property({ attribute: "menu-open-label" })
904
+ ], EunomiaToolbar.prototype, "menuOpenLabel", void 0);
919
905
  __decorate([
920
- property({ attribute: "aria-label-menu-close" })
921
- ], EunomiaToolbar.prototype, "ariaLabelMenuClose", void 0);
906
+ property({ attribute: "menu-close-label" })
907
+ ], EunomiaToolbar.prototype, "menuCloseLabel", void 0);
922
908
  __decorate([
923
- property({ attribute: "aria-label-menu" })
924
- ], EunomiaToolbar.prototype, "ariaLabelMenu", void 0);
909
+ property({ attribute: "menu-label" })
910
+ ], EunomiaToolbar.prototype, "menuLabel", void 0);
925
911
  __decorate([
926
912
  property({ type: Boolean, attribute: "collapse-on-scroll" })
927
913
  ], EunomiaToolbar.prototype, "collapseOnScroll", void 0);
@@ -947,7 +933,7 @@ __decorate([
947
933
  property({ attribute: "adaptive-theme-selector" })
948
934
  ], EunomiaToolbar.prototype, "adaptiveThemeSelector", void 0);
949
935
  __decorate([
950
- property({ reflect: true })
936
+ property({ reflect: true, useDefault: true })
951
937
  ], EunomiaToolbar.prototype, "theme", void 0);
952
938
  __decorate([
953
939
  property({ attribute: "default-theme" })
@@ -1103,7 +1103,7 @@ __decorate([
1103
1103
  property({ attribute: false })
1104
1104
  ], EunomiaCalendar.prototype, "events", void 0);
1105
1105
  __decorate([
1106
- property({ reflect: true })
1106
+ property({ reflect: true, useDefault: true })
1107
1107
  ], EunomiaCalendar.prototype, "view", void 0);
1108
1108
  __decorate([
1109
1109
  property({ attribute: false })
@@ -43,8 +43,8 @@ declare const EunomiaScheduler_base: import("../../../utils/constructor.type.js"
43
43
  * @prop {boolean} [noAnimation=false] - Disables the mobile swipe slide animation and the drawer or modal's own transitions
44
44
  * @prop {string} [todayLabel='Today'] - The label of the jump-to-today button
45
45
  * @prop {string} [newEventLabel='New event'] - The label of the create-a-new-event button
46
- * @prop {string} [ariaLabelPrevious='Previous period'] - The accessible label of the previous-period button
47
- * @prop {string} [ariaLabelNext='Next period'] - The accessible label of the next-period button
46
+ * @prop {string} [previousLabel] - The accessible label of the previous-period button. Defaults to the localized string for the current locale (English: "Previous period")
47
+ * @prop {string} [nextLabel] - The accessible label of the next-period button. Defaults to the localized string for the current locale (English: "Next period")
48
48
  * @prop {string} [viewDayLabel='Day'] - The label of the day view switcher option
49
49
  * @prop {string} [viewWeekLabel='Week'] - The label of the week view switcher option
50
50
  * @prop {string} [viewWorkWeekLabel='Work week'] - The label of the work week view switcher option
@@ -126,9 +126,9 @@ export declare class EunomiaScheduler extends EunomiaScheduler_base {
126
126
  /** @default New event */
127
127
  newEventLabel: string;
128
128
  /** @default Previous period */
129
- ariaLabelPrevious: string;
129
+ previousLabel?: string;
130
130
  /** @default Next period */
131
- ariaLabelNext: string;
131
+ nextLabel?: string;
132
132
  /** @default Day */
133
133
  viewDayLabel: string;
134
134
  /** @default Week */
@@ -142,7 +142,7 @@ export declare class EunomiaScheduler extends EunomiaScheduler_base {
142
142
  /** @default Apply */
143
143
  applyLabel: string;
144
144
  /** @default Cancel */
145
- cancelLabel: string;
145
+ cancelLabel?: string;
146
146
  /** @default Delete */
147
147
  deleteLabel: string;
148
148
  /**
@@ -152,9 +152,9 @@ export declare class EunomiaScheduler extends EunomiaScheduler_base {
152
152
  editLabel: string;
153
153
  /**
154
154
  * Accessible label of the read-only event popover's close (✕) button.
155
- * @default Close
155
+ * Falls back to the localized string for the current locale when unset.
156
156
  */
157
- closeLabel: string;
157
+ closeLabel?: string;
158
158
  /** @default +{count} more */
159
159
  moreEventsLabel: string;
160
160
  /**
@@ -67,8 +67,8 @@ const VIEWS = [
67
67
  * @prop {boolean} [noAnimation=false] - Disables the mobile swipe slide animation and the drawer or modal's own transitions
68
68
  * @prop {string} [todayLabel='Today'] - The label of the jump-to-today button
69
69
  * @prop {string} [newEventLabel='New event'] - The label of the create-a-new-event button
70
- * @prop {string} [ariaLabelPrevious='Previous period'] - The accessible label of the previous-period button
71
- * @prop {string} [ariaLabelNext='Next period'] - The accessible label of the next-period button
70
+ * @prop {string} [previousLabel] - The accessible label of the previous-period button. Defaults to the localized string for the current locale (English: "Previous period")
71
+ * @prop {string} [nextLabel] - The accessible label of the next-period button. Defaults to the localized string for the current locale (English: "Next period")
72
72
  * @prop {string} [viewDayLabel='Day'] - The label of the day view switcher option
73
73
  * @prop {string} [viewWeekLabel='Week'] - The label of the week view switcher option
74
74
  * @prop {string} [viewWorkWeekLabel='Work week'] - The label of the work week view switcher option
@@ -143,10 +143,6 @@ let EunomiaScheduler = class EunomiaScheduler extends LocalizableMixin(AnchorPos
143
143
  this.todayLabel = "Today";
144
144
  /** @default New event */
145
145
  this.newEventLabel = "New event";
146
- /** @default Previous period */
147
- this.ariaLabelPrevious = "Previous period";
148
- /** @default Next period */
149
- this.ariaLabelNext = "Next period";
150
146
  /** @default Day */
151
147
  this.viewDayLabel = "Day";
152
148
  /** @default Week */
@@ -159,8 +155,6 @@ let EunomiaScheduler = class EunomiaScheduler extends LocalizableMixin(AnchorPos
159
155
  this.viewYearLabel = "Year";
160
156
  /** @default Apply */
161
157
  this.applyLabel = "Apply";
162
- /** @default Cancel */
163
- this.cancelLabel = "Cancel";
164
158
  /** @default Delete */
165
159
  this.deleteLabel = "Delete";
166
160
  /**
@@ -168,11 +162,6 @@ let EunomiaScheduler = class EunomiaScheduler extends LocalizableMixin(AnchorPos
168
162
  * @default Edit
169
163
  */
170
164
  this.editLabel = "Edit";
171
- /**
172
- * Accessible label of the read-only event popover's close (✕) button.
173
- * @default Close
174
- */
175
- this.closeLabel = "Close";
176
165
  /** @default +{count} more */
177
166
  this.moreEventsLabel = "+{count} more";
178
167
  /**
@@ -285,7 +274,9 @@ let EunomiaScheduler = class EunomiaScheduler extends LocalizableMixin(AnchorPos
285
274
  if (!this.calendarEl) {
286
275
  return;
287
276
  }
288
- this.view = this.calendarEl.view;
277
+ if (this.view !== this.calendarEl.view) {
278
+ this.view = this.calendarEl.view;
279
+ }
289
280
  this.displayedDate = this.calendarEl.displayedDate;
290
281
  };
291
282
  /**
@@ -676,7 +667,7 @@ let EunomiaScheduler = class EunomiaScheduler extends LocalizableMixin(AnchorPos
676
667
  <eun-button
677
668
  appearance="ghost"
678
669
  size="s"
679
- aria-label=${this.ariaLabelPrevious}
670
+ aria-label=${this.previousLabel ?? this.dictionary.scheduler.previous}
680
671
  @click=${this.handlePrevious}
681
672
  >
682
673
  <eun-icon name="chevron_left" size="18"></eun-icon>
@@ -687,7 +678,7 @@ let EunomiaScheduler = class EunomiaScheduler extends LocalizableMixin(AnchorPos
687
678
  <eun-button
688
679
  appearance="ghost"
689
680
  size="s"
690
- aria-label=${this.ariaLabelNext}
681
+ aria-label=${this.nextLabel ?? this.dictionary.scheduler.next}
691
682
  @click=${this.handleNext}
692
683
  >
693
684
  <eun-icon name="chevron_right" size="18"></eun-icon>
@@ -820,7 +811,7 @@ let EunomiaScheduler = class EunomiaScheduler extends LocalizableMixin(AnchorPos
820
811
  : nothing}
821
812
  <span style="flex: 1 1 auto;"></span>
822
813
  <eun-button appearance="ghost" @click=${this.handleDrawerCancel}
823
- >${this.cancelLabel}</eun-button
814
+ >${this.cancelLabel ?? this.dictionary.common.cancel}</eun-button
824
815
  >
825
816
  <eun-button color="primary" @click=${this.handleDrawerSave}
826
817
  >${this.applyLabel}</eun-button
@@ -855,7 +846,7 @@ let EunomiaScheduler = class EunomiaScheduler extends LocalizableMixin(AnchorPos
855
846
  : nothing}
856
847
  <span style="flex: 1 1 auto;"></span>
857
848
  <eun-button color="secondary" @click=${this.handleModalCancel}
858
- >${this.cancelLabel}</eun-button
849
+ >${this.cancelLabel ?? this.dictionary.common.cancel}</eun-button
859
850
  >
860
851
  <eun-button color="primary" @click=${this.handleModalSave}
861
852
  >${this.applyLabel}</eun-button
@@ -870,7 +861,7 @@ let EunomiaScheduler = class EunomiaScheduler extends LocalizableMixin(AnchorPos
870
861
  locale: this.locale,
871
862
  editLabel: this.editLabel,
872
863
  deleteLabel: this.deleteLabel,
873
- closeLabel: this.closeLabel,
864
+ closeLabel: this.closeLabel ?? this.dictionary.common.close,
874
865
  priorityLabels: {
875
866
  low: "Low",
876
867
  medium: "Medium",
@@ -916,7 +907,7 @@ __decorate([
916
907
  property({ attribute: false })
917
908
  ], EunomiaScheduler.prototype, "events", void 0);
918
909
  __decorate([
919
- property({ reflect: true })
910
+ property({ reflect: true, useDefault: true })
920
911
  ], EunomiaScheduler.prototype, "view", void 0);
921
912
  __decorate([
922
913
  property({ attribute: false })
@@ -946,11 +937,11 @@ __decorate([
946
937
  property({ attribute: "new-event-label" })
947
938
  ], EunomiaScheduler.prototype, "newEventLabel", void 0);
948
939
  __decorate([
949
- property({ attribute: "aria-label-previous" })
950
- ], EunomiaScheduler.prototype, "ariaLabelPrevious", void 0);
940
+ property({ attribute: "previous-label" })
941
+ ], EunomiaScheduler.prototype, "previousLabel", void 0);
951
942
  __decorate([
952
- property({ attribute: "aria-label-next" })
953
- ], EunomiaScheduler.prototype, "ariaLabelNext", void 0);
943
+ property({ attribute: "next-label" })
944
+ ], EunomiaScheduler.prototype, "nextLabel", void 0);
954
945
  __decorate([
955
946
  property({ attribute: "view-day-label" })
956
947
  ], EunomiaScheduler.prototype, "viewDayLabel", void 0);
@@ -182,13 +182,13 @@ __decorate([
182
182
  property({ attribute: false })
183
183
  ], EunomiaSchedulerEventCard.prototype, "end", void 0);
184
184
  __decorate([
185
- property({ reflect: true })
185
+ property({ reflect: true, useDefault: true })
186
186
  ], EunomiaSchedulerEventCard.prototype, "color", void 0);
187
187
  __decorate([
188
- property({ reflect: true })
188
+ property({ reflect: true, useDefault: true })
189
189
  ], EunomiaSchedulerEventCard.prototype, "appearance", void 0);
190
190
  __decorate([
191
- property({ reflect: true })
191
+ property({ reflect: true, useDefault: true })
192
192
  ], EunomiaSchedulerEventCard.prototype, "direction", void 0);
193
193
  __decorate([
194
194
  property()
@@ -33,7 +33,7 @@ const base = css `
33
33
  --_accent: var(--eun-color-yellow-600, #e0e000);
34
34
  --_tintBase: var(--eun-color-yellow-500, #f0f050);
35
35
  }
36
- :host([color="blue"]) {
36
+ :host(:is([color="blue"], :not([color]))) {
37
37
  --_accent: var(--eun-color-blue-600, #0aa5a8);
38
38
  --_tintBase: var(--eun-color-blue-500, #3bb3b9);
39
39
  }
@@ -4,6 +4,7 @@ import { EunomiaSchedulerEvent, EunomiaSchedulerEventColor } from "../shared/sch
4
4
  * Tag name of the scheduler event editor component.
5
5
  */
6
6
  export declare const EunomiaSchedulerEventEditorTagName = "eun-scheduler-event-editor";
7
+ declare const EunomiaSchedulerEventEditor_base: import("../../../utils/constructor.type.js").Constructor<import("../../../mixins/localizable.mixin.js").LocalizableMixinInterface> & typeof LitElement;
7
8
  /**
8
9
  * The create and edit form for a single scheduler event: title,
9
10
  * description, date, start and end time, location, notes, priority, and
@@ -49,7 +50,7 @@ export declare const EunomiaSchedulerEventEditorTagName = "eun-scheduler-event-e
49
50
  * @prop {string} [addGuestLabel='Add guest'] - The accessible label of the guest email input's add button
50
51
  * @prop {string} [removeGuestLabel='Remove'] - A prefix combined with the guest's email to build each guest chip's delete button accessible name, such as "Remove alice@example.com"
51
52
  * @prop {string} [saveLabel='Save'] - The label of the built-in save button
52
- * @prop {string} [cancelLabel='Cancel'] - The label of the built-in cancel button. Resets the form to its last-seeded values
53
+ * @prop {string} [cancelLabel] - The label of the built-in cancel button. Resets the form to its last-seeded values. Defaults to the localized string for the current locale (English: "Cancel")
53
54
  * @prop {string} [deleteLabel='Delete'] - The label of the built-in delete button. Only shown while editing an existing event
54
55
  * @fires {EventCreateEvent} euneventcreate - Fired on a valid save, in create mode
55
56
  * @fires {EventUpdateEvent} euneventupdate - Fired on a valid save, in edit mode
@@ -58,7 +59,7 @@ export declare const EunomiaSchedulerEventEditorTagName = "eun-scheduler-event-e
58
59
  * @cssprop [--scheduler-event-editor-gap] - Sets the gap between fields
59
60
  * @element eun-scheduler-event-editor
60
61
  */
61
- export declare class EunomiaSchedulerEventEditor extends LitElement {
62
+ export declare class EunomiaSchedulerEventEditor extends EunomiaSchedulerEventEditor_base {
62
63
  /**
63
64
  * Styles to import to the component.
64
65
  *
@@ -133,14 +134,14 @@ export declare class EunomiaSchedulerEventEditor extends LitElement {
133
134
  /**
134
135
  * Prefix combined with the guest's email to build each guest chip's
135
136
  * delete button accessible name, forwarded as `eun-chip`'s own
136
- * `ariaLabelRemove`.
137
+ * `removeLabel`.
137
138
  * @default Remove
138
139
  */
139
140
  removeGuestLabel: string;
140
141
  /** @default Save */
141
142
  saveLabel: string;
142
143
  /** @default Cancel */
143
- cancelLabel: string;
144
+ cancelLabel?: string;
144
145
  /** @default Delete */
145
146
  deleteLabel: string;
146
147
  /** @internal */
@@ -321,3 +322,4 @@ declare global {
321
322
  [EunomiaSchedulerEventEditorTagName]: EunomiaSchedulerEventEditor;
322
323
  }
323
324
  }
325
+ export {};
@@ -14,6 +14,7 @@ import { EventDeleteEvent } from "../../../events/event-delete.event.js";
14
14
  import { GuestInviteEvent } from "../../../events/event-guest-invite.event.js";
15
15
  import { addHours, endOfDay, startOfDay } from "../../../utils/date.utils.js";
16
16
  import { GUEST_STATUS_ICON, GUEST_STATUS_SEMANTIC_STATE, } from "../shared/scheduler.utils.js";
17
+ import { LocalizableMixin } from "../../../mixins/localizable.mixin.js";
17
18
  /**
18
19
  * Tag name of the scheduler event editor component.
19
20
  */
@@ -96,7 +97,7 @@ const EMAIL_PATTERN = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
96
97
  * @prop {string} [addGuestLabel='Add guest'] - The accessible label of the guest email input's add button
97
98
  * @prop {string} [removeGuestLabel='Remove'] - A prefix combined with the guest's email to build each guest chip's delete button accessible name, such as "Remove alice@example.com"
98
99
  * @prop {string} [saveLabel='Save'] - The label of the built-in save button
99
- * @prop {string} [cancelLabel='Cancel'] - The label of the built-in cancel button. Resets the form to its last-seeded values
100
+ * @prop {string} [cancelLabel] - The label of the built-in cancel button. Resets the form to its last-seeded values. Defaults to the localized string for the current locale (English: "Cancel")
100
101
  * @prop {string} [deleteLabel='Delete'] - The label of the built-in delete button. Only shown while editing an existing event
101
102
  * @fires {EventCreateEvent} euneventcreate - Fired on a valid save, in create mode
102
103
  * @fires {EventUpdateEvent} euneventupdate - Fired on a valid save, in edit mode
@@ -105,7 +106,7 @@ const EMAIL_PATTERN = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
105
106
  * @cssprop [--scheduler-event-editor-gap] - Sets the gap between fields
106
107
  * @element eun-scheduler-event-editor
107
108
  */
108
- let EunomiaSchedulerEventEditor = class EunomiaSchedulerEventEditor extends LitElement {
109
+ let EunomiaSchedulerEventEditor = class EunomiaSchedulerEventEditor extends LocalizableMixin(LitElement) {
109
110
  constructor() {
110
111
  super(...arguments);
111
112
  /**
@@ -164,14 +165,12 @@ let EunomiaSchedulerEventEditor = class EunomiaSchedulerEventEditor extends LitE
164
165
  /**
165
166
  * Prefix combined with the guest's email to build each guest chip's
166
167
  * delete button accessible name, forwarded as `eun-chip`'s own
167
- * `ariaLabelRemove`.
168
+ * `removeLabel`.
168
169
  * @default Remove
169
170
  */
170
171
  this.removeGuestLabel = "Remove";
171
172
  /** @default Save */
172
173
  this.saveLabel = "Save";
173
- /** @default Cancel */
174
- this.cancelLabel = "Cancel";
175
174
  /** @default Delete */
176
175
  this.deleteLabel = "Delete";
177
176
  /** @internal */
@@ -676,7 +675,7 @@ let EunomiaSchedulerEventEditor = class EunomiaSchedulerEventEditor extends LitE
676
675
  appearance="outline"
677
676
  icon=${GUEST_STATUS_ICON[guest.status]}
678
677
  .severity=${GUEST_STATUS_SEMANTIC_STATE[guest.status]}
679
- .ariaLabelRemove=${this.removeGuestLabel}
678
+ .removeLabel=${this.removeGuestLabel}
680
679
  @eunclose=${() => this.handleRemoveGuest(guest.email)}
681
680
  >
682
681
  ${guest.email}
@@ -748,7 +747,7 @@ let EunomiaSchedulerEventEditor = class EunomiaSchedulerEventEditor extends LitE
748
747
  : nothing}
749
748
  <span class="spacer"></span>
750
749
  <eun-button appearance="ghost" @click=${this.handleCancelClick}>
751
- ${this.cancelLabel}
750
+ ${this.cancelLabel ?? this.dictionary.common.cancel}
752
751
  </eun-button>
753
752
  <eun-button color="primary" @click=${this.handleSaveClick}>
754
753
  ${this.saveLabel}
package/dist/i18n/en.d.ts CHANGED
@@ -6,7 +6,15 @@
6
6
  * silent runtime fallback.
7
7
  */
8
8
  export declare const en: {
9
+ common: {
10
+ close: string;
11
+ cancel: string;
12
+ confirm: string;
13
+ noValue: string;
14
+ save: string;
15
+ };
9
16
  datePicker: {
17
+ openCalendar: string;
10
18
  previousMonth: string;
11
19
  chooseMonthYear: string;
12
20
  nextMonth: string;
@@ -19,6 +27,11 @@ export declare const en: {
19
27
  amPm: string;
20
28
  hour: string;
21
29
  minute: string;
30
+ day: string;
31
+ month: string;
32
+ year: string;
33
+ startDate: string;
34
+ endDate: string;
22
35
  heading: {
23
36
  day: {
24
37
  single: string;
@@ -49,6 +62,7 @@ export declare const en: {
49
62
  };
50
63
  };
51
64
  timePicker: {
65
+ openClock: string;
52
66
  amPm: string;
53
67
  hour: string;
54
68
  minute: string;
@@ -58,6 +72,8 @@ export declare const en: {
58
72
  mustBeAtOrBefore: (time: string) => string;
59
73
  };
60
74
  scheduler: {
75
+ previous: string;
76
+ next: string;
61
77
  calendarView: string;
62
78
  };
63
79
  carousel: {
@@ -82,6 +98,11 @@ export declare const en: {
82
98
  chip: {
83
99
  remove: string;
84
100
  };
101
+ passwordStrength: {
102
+ label: string;
103
+ levels: string[];
104
+ caption: (label: string) => string;
105
+ };
85
106
  infiniteList: {
86
107
  loadingMore: string;
87
108
  itemsLoaded: (count: number) => string;
@@ -102,6 +123,53 @@ export declare const en: {
102
123
  link: {
103
124
  opensInNewTab: string;
104
125
  };
126
+ input: {
127
+ clear: string;
128
+ showPassword: string;
129
+ hidePassword: string;
130
+ };
131
+ search: {
132
+ panel: string;
133
+ };
134
+ counter: {
135
+ increment: string;
136
+ decrement: string;
137
+ };
138
+ inputFile: {
139
+ remove: string;
140
+ select: string;
141
+ open: string;
142
+ };
143
+ inputPhone: {
144
+ selectCountry: string;
145
+ };
146
+ colorPicker: {
147
+ noColor: string;
148
+ };
149
+ pagination: {
150
+ previous: string;
151
+ next: string;
152
+ first: string;
153
+ last: string;
154
+ page: string;
155
+ };
156
+ sidebar: {
157
+ expand: string;
158
+ collapse: string;
159
+ resize: string;
160
+ };
161
+ toolbar: {
162
+ menuOpen: string;
163
+ menuClose: string;
164
+ menu: string;
165
+ };
166
+ rating: {
167
+ label: string;
168
+ valueText: (value: string, max: string) => string;
169
+ summary: (label: string, valueText: string) => string;
170
+ noValue: string;
171
+ clear: string;
172
+ };
105
173
  validation: {
106
174
  valueMissing: string;
107
175
  tooShort: (min: number, length: number) => string;
package/dist/i18n/en.js CHANGED
@@ -6,7 +6,15 @@
6
6
  * silent runtime fallback.
7
7
  */
8
8
  export const en = {
9
+ common: {
10
+ close: "Close",
11
+ cancel: "Cancel",
12
+ confirm: "Confirm",
13
+ noValue: "No value set",
14
+ save: "Save",
15
+ },
9
16
  datePicker: {
17
+ openCalendar: "Open calendar",
10
18
  previousMonth: "Previous month",
11
19
  chooseMonthYear: "Choose month and year",
12
20
  nextMonth: "Next month",
@@ -19,6 +27,11 @@ export const en = {
19
27
  amPm: "AM/PM",
20
28
  hour: "Hour",
21
29
  minute: "Minute",
30
+ day: "Day",
31
+ month: "Month",
32
+ year: "Year",
33
+ startDate: "Start date",
34
+ endDate: "End date",
22
35
  heading: {
23
36
  day: { single: "Select a date", range: "Select a date range" },
24
37
  month: { single: "Select a month", range: "Select a month range" },
@@ -31,6 +44,7 @@ export const en = {
31
44
  },
32
45
  },
33
46
  timePicker: {
47
+ openClock: "Open clock",
34
48
  amPm: "AM/PM",
35
49
  hour: "Hour",
36
50
  minute: "Minute",
@@ -40,6 +54,8 @@ export const en = {
40
54
  mustBeAtOrBefore: (time) => `Time must be at or before ${time}`,
41
55
  },
42
56
  scheduler: {
57
+ previous: "Previous period",
58
+ next: "Next period",
43
59
  calendarView: "Calendar view",
44
60
  },
45
61
  carousel: {
@@ -64,6 +80,11 @@ export const en = {
64
80
  chip: {
65
81
  remove: "Remove",
66
82
  },
83
+ passwordStrength: {
84
+ label: "Password strength",
85
+ levels: ["Weak", "Fair", "Good", "Strong"],
86
+ caption: (label) => `${label}:`,
87
+ },
67
88
  infiniteList: {
68
89
  loadingMore: "Loading more items…",
69
90
  itemsLoaded: (count) => `${count} more item${count > 1 ? "s" : ""} loaded`,
@@ -84,6 +105,53 @@ export const en = {
84
105
  link: {
85
106
  opensInNewTab: "opens in a new tab",
86
107
  },
108
+ input: {
109
+ clear: "Clear field",
110
+ showPassword: "Show password",
111
+ hidePassword: "Hide password",
112
+ },
113
+ search: {
114
+ panel: "Search",
115
+ },
116
+ counter: {
117
+ increment: "Increase value",
118
+ decrement: "Decrease value",
119
+ },
120
+ inputFile: {
121
+ remove: "Remove file",
122
+ select: "Select file",
123
+ open: "Open in a new tab",
124
+ },
125
+ inputPhone: {
126
+ selectCountry: "Select a country",
127
+ },
128
+ colorPicker: {
129
+ noColor: "No color selected",
130
+ },
131
+ pagination: {
132
+ previous: "Previous page",
133
+ next: "Next page",
134
+ first: "First page",
135
+ last: "Last page",
136
+ page: "Page",
137
+ },
138
+ sidebar: {
139
+ expand: "Expand sidebar",
140
+ collapse: "Collapse sidebar",
141
+ resize: "Resize sidebar",
142
+ },
143
+ toolbar: {
144
+ menuOpen: "Open menu",
145
+ menuClose: "Close menu",
146
+ menu: "Menu",
147
+ },
148
+ rating: {
149
+ label: "Rating",
150
+ valueText: (value, max) => `${value} out of ${max}`,
151
+ summary: (label, valueText) => `${label}: ${valueText}`,
152
+ noValue: "Not rated",
153
+ clear: "Clear rating",
154
+ },
87
155
  validation: {
88
156
  valueMissing: "This field is required",
89
157
  tooShort: (min, length) => `Please lengthen this text to ${min} characters or more (you are currently using ${length} characters).`,