morya-ui 0.3.0 → 0.3.1

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 (205) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/dist/{Button-B5X_R4Md.js → Button-smoDleh0.js} +1 -1
  3. package/dist/Icon-od9Ob-Ay.js +393 -0
  4. package/dist/Loading-BSsRs6v9.js +420 -0
  5. package/dist/{Pagination-CVrH8Ypi.js → Pagination-DrXmzcEy.js} +1 -1
  6. package/dist/accordion/style.css +4 -0
  7. package/dist/auto-complete/index.js +1 -1
  8. package/dist/auto-complete/style.css +18 -6
  9. package/dist/avatar/index.js +1 -1
  10. package/dist/avatar/style.css +4 -0
  11. package/dist/badge/style.css +4 -0
  12. package/dist/block-ui/style.css +4 -0
  13. package/dist/breadcrumb/style.css +4 -0
  14. package/dist/button/index.js +1 -1
  15. package/dist/button/style.css +4 -0
  16. package/dist/card/style.css +4 -0
  17. package/dist/carousel/index.js +72 -64
  18. package/dist/carousel/style.css +31 -10
  19. package/dist/cascade-select/index.js +1 -1
  20. package/dist/cascade-select/style.css +18 -6
  21. package/dist/checkbox/style.css +4 -0
  22. package/dist/chip/index.js +1 -1
  23. package/dist/chip/style.css +4 -0
  24. package/dist/command-menu/index.js +2 -2
  25. package/dist/command-menu/style.css +4 -0
  26. package/dist/components/Carousel/Carousel.vue.d.ts.map +1 -1
  27. package/dist/components/Carousel/styles.css +27 -10
  28. package/dist/components/DataView/DataView.vue.d.ts +7 -7
  29. package/dist/components/DataView/DataView.vue.d.ts.map +1 -1
  30. package/dist/components/DataView/styles.css +0 -20
  31. package/dist/components/Dropdown/Dropdown.vue.d.ts +2 -2
  32. package/dist/components/Dropdown/Dropdown.vue.d.ts.map +1 -1
  33. package/dist/components/Dropdown/DropdownNodes.vue.d.ts +8 -9
  34. package/dist/components/Dropdown/DropdownNodes.vue.d.ts.map +1 -1
  35. package/dist/components/Dropdown/styles.css +24 -5
  36. package/dist/components/Icon/Icon.vue.d.ts.map +1 -1
  37. package/dist/components/Icon/icon-categories.d.ts.map +1 -1
  38. package/dist/components/Icon/icons-types.d.ts +4 -2
  39. package/dist/components/Icon/icons-types.d.ts.map +1 -1
  40. package/dist/components/Icon/icons.d.ts +250 -561
  41. package/dist/components/Icon/icons.d.ts.map +1 -1
  42. package/dist/components/Icon/index.d.ts +2 -2
  43. package/dist/components/Icon/index.d.ts.map +1 -1
  44. package/dist/components/Layout/styles.css +5 -2
  45. package/dist/components/Menu/styles.css +6 -0
  46. package/dist/components/Menubar/Menubar.vue.d.ts.map +1 -1
  47. package/dist/components/Menubar/styles.css +4 -0
  48. package/dist/components/Scrollbar/Scrollbar.vue.d.ts +1 -1
  49. package/dist/components/Select/Select.vue.d.ts +9 -5
  50. package/dist/components/Select/Select.vue.d.ts.map +1 -1
  51. package/dist/components/Select/styles.css +30 -1
  52. package/dist/components/Select/types.d.ts +11 -1
  53. package/dist/components/Select/types.d.ts.map +1 -1
  54. package/dist/components/Slider/styles.css +9 -0
  55. package/dist/components/SplitButton/styles.css +5 -0
  56. package/dist/components/Table/Table.vue.d.ts +26 -26
  57. package/dist/components/Table/Table.vue.d.ts.map +1 -1
  58. package/dist/components/Table/TableLoadingLine.vue.d.ts.map +1 -1
  59. package/dist/components/Table/styles.css +58 -38
  60. package/dist/components/TreeSelect/TreeSelect.vue.d.ts.map +1 -1
  61. package/dist/components/TreeSelect/styles.css +1 -1
  62. package/dist/config-provider/style.css +4 -0
  63. package/dist/confirm-dialog/index.js +2 -2
  64. package/dist/confirm-dialog/style.css +4 -0
  65. package/dist/confirm-popup/index.js +2 -2
  66. package/dist/confirm-popup/style.css +4 -0
  67. package/dist/context-menu/index.js +2 -2
  68. package/dist/context-menu/style.css +4 -0
  69. package/dist/data-view/index.js +47 -47
  70. package/dist/data-view/style.css +399 -106
  71. package/dist/data-view/style.js +1 -1
  72. package/dist/date-picker/index.js +1 -1
  73. package/dist/date-picker/style.css +4 -0
  74. package/dist/dialog/index.js +2 -2
  75. package/dist/dialog/style.css +4 -0
  76. package/dist/divider/style.css +4 -0
  77. package/dist/dock/index.js +2 -2
  78. package/dist/dock/style.css +4 -0
  79. package/dist/drawer/index.js +1 -1
  80. package/dist/drawer/style.css +4 -0
  81. package/dist/dropdown/index.js +110 -91
  82. package/dist/dropdown/style.css +28 -5
  83. package/dist/empty/index.js +1 -1
  84. package/dist/empty/style.css +4 -0
  85. package/dist/fieldset/index.js +1 -1
  86. package/dist/fieldset/style.css +4 -0
  87. package/dist/file-upload/index.js +1 -1
  88. package/dist/file-upload/style.css +4 -0
  89. package/dist/flex/style.css +4 -0
  90. package/dist/float-label/style.css +4 -0
  91. package/dist/fluid/style.css +4 -0
  92. package/dist/form/style.css +4 -0
  93. package/dist/gallery/index.js +1 -1
  94. package/dist/gallery/style.css +4 -0
  95. package/dist/grid/style.css +4 -0
  96. package/dist/icon/index.js +93 -39
  97. package/dist/icon/style.css +4 -0
  98. package/dist/icon-COrt_N8A.js +18 -0
  99. package/dist/icon-field/style.css +4 -0
  100. package/dist/index.js +2733 -2801
  101. package/dist/inplace/style.css +4 -0
  102. package/dist/input/index.js +1 -1
  103. package/dist/input/style.css +4 -0
  104. package/dist/input-color/style.css +4 -0
  105. package/dist/input-group/style.css +4 -0
  106. package/dist/input-number/index.js +1 -1
  107. package/dist/input-number/style.css +4 -0
  108. package/dist/input-otp/style.css +4 -0
  109. package/dist/input-password/index.js +1 -1
  110. package/dist/input-password/style.css +4 -0
  111. package/dist/input-tags/index.js +1 -1
  112. package/dist/input-tags/style.css +4 -0
  113. package/dist/knob/style.css +4 -0
  114. package/dist/label/style.css +4 -0
  115. package/dist/layout/index.js +1 -1
  116. package/dist/layout/style.css +9 -2
  117. package/dist/listbox/style.css +4 -0
  118. package/dist/loading/index.js +32 -446
  119. package/dist/loading/style.css +4 -0
  120. package/dist/mega-menu/index.js +2 -2
  121. package/dist/mega-menu/style.css +4 -0
  122. package/dist/menu/index.js +2 -2
  123. package/dist/menu/style.css +10 -0
  124. package/dist/menubar/index.js +6 -3
  125. package/dist/menubar/style.css +8 -0
  126. package/dist/message/index.js +1 -1
  127. package/dist/message/style.css +4 -0
  128. package/dist/meter-group/style.css +4 -0
  129. package/dist/order-list/index.js +1 -1
  130. package/dist/order-list/style.css +4 -0
  131. package/dist/page/index.js +1 -1
  132. package/dist/page/style.css +4 -0
  133. package/dist/pagination/index.js +1 -1
  134. package/dist/pagination/style.css +4 -0
  135. package/dist/panel/index.js +1 -1
  136. package/dist/panel/style.css +4 -0
  137. package/dist/pick-list/index.js +1 -1
  138. package/dist/pick-list/style.css +4 -0
  139. package/dist/popover/style.css +4 -0
  140. package/dist/progress-bar/style.css +4 -0
  141. package/dist/progress-spinner/index.js +105 -2
  142. package/dist/progress-spinner/style.css +4 -0
  143. package/dist/radio/style.css +4 -0
  144. package/dist/rating/index.js +1 -1
  145. package/dist/rating/style.css +4 -0
  146. package/dist/result/index.js +1 -1
  147. package/dist/result/style.css +4 -0
  148. package/dist/scroll-top/index.js +1 -1
  149. package/dist/scroll-top/style.css +4 -0
  150. package/dist/scrollbar/style.css +4 -0
  151. package/dist/select/index.js +284 -217
  152. package/dist/select/style.css +48 -7
  153. package/dist/select-button/style.css +4 -0
  154. package/dist/shared/menu/icon.d.ts.map +1 -1
  155. package/dist/shared/styles/select-overlay.css +14 -6
  156. package/dist/sidebar/index.js +2 -2
  157. package/dist/sidebar/style.css +4 -0
  158. package/dist/skeleton/style.css +4 -0
  159. package/dist/slider/style.css +13 -0
  160. package/dist/space/style.css +4 -0
  161. package/dist/speed-dial/index.js +2 -2
  162. package/dist/speed-dial/style.css +4 -0
  163. package/dist/split-button/index.js +1 -1
  164. package/dist/split-button/style.css +9 -0
  165. package/dist/splitter/style.css +4 -0
  166. package/dist/status/index.js +1 -1
  167. package/dist/status/style.css +4 -0
  168. package/dist/stepper/index.js +1 -1
  169. package/dist/stepper/style.css +4 -0
  170. package/dist/styles/base.css +4 -0
  171. package/dist/styles.css +1 -1
  172. package/dist/switch/style.css +4 -0
  173. package/dist/table/index.js +344 -338
  174. package/dist/table/style.css +457 -124
  175. package/dist/table/style.js +1 -1
  176. package/dist/tabs/index.js +1 -1
  177. package/dist/tabs/style.css +4 -0
  178. package/dist/tag/index.js +1 -1
  179. package/dist/tag/style.css +4 -0
  180. package/dist/terminal/style.css +4 -0
  181. package/dist/textarea/index.js +1 -1
  182. package/dist/textarea/style.css +4 -0
  183. package/dist/tiered-menu/index.js +1 -1
  184. package/dist/tiered-menu/style.css +4 -0
  185. package/dist/timeline/index.js +1 -1
  186. package/dist/timeline/style.css +4 -0
  187. package/dist/toast/index.js +1 -1
  188. package/dist/toast/style.css +4 -0
  189. package/dist/toggle-button/index.js +2 -2
  190. package/dist/toggle-button/style.css +4 -0
  191. package/dist/toolbar/style.css +4 -0
  192. package/dist/tooltip/style.css +4 -0
  193. package/dist/tree/index.js +1 -1
  194. package/dist/tree/style.css +4 -0
  195. package/dist/tree-select/index.js +2 -1
  196. package/dist/tree-select/style.css +19 -7
  197. package/dist/tree-table/index.js +1 -1
  198. package/dist/tree-table/style.css +4 -0
  199. package/dist/virtual-scroller/style.css +4 -0
  200. package/package.json +1 -1
  201. package/dist/Icon-lcN1rS87.js +0 -610
  202. package/dist/ProgressSpinner-BeWVF6Jv.js +0 -105
  203. package/dist/components/Icon/icons-tabler.d.ts +0 -77
  204. package/dist/components/Icon/icons-tabler.d.ts.map +0 -1
  205. package/dist/icon-DWXkh-RM.js +0 -27
@@ -1,6 +1,6 @@
1
1
  import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
2
2
  import { t } from "../types-DGuu4Eg4.js";
3
- import { t as n } from "../Icon-lcN1rS87.js";
3
+ import { t as n } from "../Icon-od9Ob-Ay.js";
4
4
  import { t as r } from "../useMotionTransition-Bxnnb_9u.js";
5
5
  import { n as i } from "../overlay-oR-5MDuE.js";
6
6
  import { r as a, t as o } from "../content-h8POj44-.js";
@@ -529,9 +529,13 @@
529
529
  border-radius: var(--m-radius-md);
530
530
  box-shadow: var(--m-shadow-md);
531
531
  max-height: var(--m-dropdown-submenu-max-height);
532
+ max-width: calc(100vw - 2 * var(--m-space-4));
532
533
  min-width: 10rem;
533
534
  overflow: hidden;
534
535
  padding: var(--m-space-1);
536
+ /* Same as .m-dropdown__menu: size to content instead of being clamped
537
+ by the space left of the anchor in the viewport. */
538
+ width: max-content;
535
539
  }
536
540
 
537
541
  .m-dropdown__submenu--teleported {
@@ -529,9 +529,13 @@
529
529
  border-radius: var(--m-radius-md);
530
530
  box-shadow: var(--m-shadow-md);
531
531
  max-height: var(--m-dropdown-submenu-max-height);
532
+ max-width: calc(100vw - 2 * var(--m-space-4));
532
533
  min-width: 10rem;
533
534
  overflow: hidden;
534
535
  padding: var(--m-space-1);
536
+ /* Same as .m-dropdown__menu: size to content instead of being clamped
537
+ by the space left of the anchor in the viewport. */
538
+ width: max-content;
535
539
  }
536
540
 
537
541
  .m-dropdown__submenu--teleported {
@@ -1,5 +1,5 @@
1
1
  import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
2
- import { t } from "../Icon-lcN1rS87.js";
2
+ import { t } from "../Icon-od9Ob-Ay.js";
3
3
  import { t as n } from "../useMenuKeyboard-BedmYE4W.js";
4
4
  import { t as r } from "../ScrollBody-5hUnHj_M.js";
5
5
  import { n as i } from "../locale-Bzm2nbEp.js";
@@ -529,9 +529,13 @@
529
529
  border-radius: var(--m-radius-md);
530
530
  box-shadow: var(--m-shadow-md);
531
531
  max-height: var(--m-dropdown-submenu-max-height);
532
+ max-width: calc(100vw - 2 * var(--m-space-4));
532
533
  min-width: 10rem;
533
534
  overflow: hidden;
534
535
  padding: var(--m-space-1);
536
+ /* Same as .m-dropdown__menu: size to content instead of being clamped
537
+ by the space left of the anchor in the viewport. */
538
+ width: max-content;
535
539
  }
536
540
 
537
541
  .m-dropdown__submenu--teleported {
@@ -1,5 +1,5 @@
1
1
  import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
2
- import { t } from "../Icon-lcN1rS87.js";
2
+ import { t } from "../Icon-od9Ob-Ay.js";
3
3
  import { t as n } from "../Card-Dsmnzong.js";
4
4
  import { r } from "../responsive-DA5bxylA.js";
5
5
  import "./style.js";
@@ -529,9 +529,13 @@
529
529
  border-radius: var(--m-radius-md);
530
530
  box-shadow: var(--m-shadow-md);
531
531
  max-height: var(--m-dropdown-submenu-max-height);
532
+ max-width: calc(100vw - 2 * var(--m-space-4));
532
533
  min-width: 10rem;
533
534
  overflow: hidden;
534
535
  padding: var(--m-space-1);
536
+ /* Same as .m-dropdown__menu: size to content instead of being clamped
537
+ by the space left of the anchor in the viewport. */
538
+ width: max-content;
535
539
  }
536
540
 
537
541
  .m-dropdown__submenu--teleported {
@@ -1,3 +1,3 @@
1
- import { t as e } from "../Pagination-CVrH8Ypi.js";
1
+ import { t as e } from "../Pagination-DrXmzcEy.js";
2
2
  import "./style.js";
3
3
  export { e as MPagination };
@@ -529,9 +529,13 @@
529
529
  border-radius: var(--m-radius-md);
530
530
  box-shadow: var(--m-shadow-md);
531
531
  max-height: var(--m-dropdown-submenu-max-height);
532
+ max-width: calc(100vw - 2 * var(--m-space-4));
532
533
  min-width: 10rem;
533
534
  overflow: hidden;
534
535
  padding: var(--m-space-1);
536
+ /* Same as .m-dropdown__menu: size to content instead of being clamped
537
+ by the space left of the anchor in the viewport. */
538
+ width: max-content;
535
539
  }
536
540
 
537
541
  .m-dropdown__submenu--teleported {
@@ -1,7 +1,7 @@
1
1
  import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
2
2
  import { t } from "../useControllable-elmWaz23.js";
3
3
  import { i as n } from "../types-DGuu4Eg4.js";
4
- import { t as r } from "../Icon-lcN1rS87.js";
4
+ import { t as r } from "../Icon-od9Ob-Ay.js";
5
5
  import { t as i } from "../useMId-BXFYayPP.js";
6
6
  import { n as a } from "../locale-Bzm2nbEp.js";
7
7
  import "./style.js";
@@ -529,9 +529,13 @@
529
529
  border-radius: var(--m-radius-md);
530
530
  box-shadow: var(--m-shadow-md);
531
531
  max-height: var(--m-dropdown-submenu-max-height);
532
+ max-width: calc(100vw - 2 * var(--m-space-4));
532
533
  min-width: 10rem;
533
534
  overflow: hidden;
534
535
  padding: var(--m-space-1);
536
+ /* Same as .m-dropdown__menu: size to content instead of being clamped
537
+ by the space left of the anchor in the viewport. */
538
+ width: max-content;
535
539
  }
536
540
 
537
541
  .m-dropdown__submenu--teleported {
@@ -1,5 +1,5 @@
1
1
  import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
2
- import { t } from "../Icon-lcN1rS87.js";
2
+ import { t } from "../Icon-od9Ob-Ay.js";
3
3
  import { t as n } from "../ScrollBody-5hUnHj_M.js";
4
4
  import { n as r } from "../locale-Bzm2nbEp.js";
5
5
  import "./style.js";
@@ -529,9 +529,13 @@
529
529
  border-radius: var(--m-radius-md);
530
530
  box-shadow: var(--m-shadow-md);
531
531
  max-height: var(--m-dropdown-submenu-max-height);
532
+ max-width: calc(100vw - 2 * var(--m-space-4));
532
533
  min-width: 10rem;
533
534
  overflow: hidden;
534
535
  padding: var(--m-space-1);
536
+ /* Same as .m-dropdown__menu: size to content instead of being clamped
537
+ by the space left of the anchor in the viewport. */
538
+ width: max-content;
535
539
  }
536
540
 
537
541
  .m-dropdown__submenu--teleported {
@@ -529,9 +529,13 @@
529
529
  border-radius: var(--m-radius-md);
530
530
  box-shadow: var(--m-shadow-md);
531
531
  max-height: var(--m-dropdown-submenu-max-height);
532
+ max-width: calc(100vw - 2 * var(--m-space-4));
532
533
  min-width: 10rem;
533
534
  overflow: hidden;
534
535
  padding: var(--m-space-1);
536
+ /* Same as .m-dropdown__menu: size to content instead of being clamped
537
+ by the space left of the anchor in the viewport. */
538
+ width: max-content;
535
539
  }
536
540
 
537
541
  .m-dropdown__submenu--teleported {
@@ -529,9 +529,13 @@
529
529
  border-radius: var(--m-radius-md);
530
530
  box-shadow: var(--m-shadow-md);
531
531
  max-height: var(--m-dropdown-submenu-max-height);
532
+ max-width: calc(100vw - 2 * var(--m-space-4));
532
533
  min-width: 10rem;
533
534
  overflow: hidden;
534
535
  padding: var(--m-space-1);
536
+ /* Same as .m-dropdown__menu: size to content instead of being clamped
537
+ by the space left of the anchor in the viewport. */
538
+ width: max-content;
535
539
  }
536
540
 
537
541
  .m-dropdown__submenu--teleported {
@@ -1,3 +1,106 @@
1
- import { t as e } from "../ProgressSpinner-BeWVF6Jv.js";
1
+ import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
2
+ import { i as t } from "../types-DGuu4Eg4.js";
3
+ import { t as n } from "../usePauseOffscreen-BIikV_gj.js";
4
+ import { n as r } from "../locale-Bzm2nbEp.js";
2
5
  import "./style.js";
3
- export { e as MProgressSpinner };
6
+ import { computed as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, defineComponent as c, mergeProps as l, normalizeClass as u, normalizeStyle as d, onBeforeUnmount as f, openBlock as p, ref as m, renderSlot as h, toDisplayString as g, unref as _, useAttrs as v, useSlots as y, watch as b } from "vue";
7
+ //#region src/components/ProgressSpinner/ProgressSpinner.vue?vue&type=script&setup=true&lang.ts
8
+ var x = ["aria-busy"], S = ["inert"], C = {
9
+ key: 0,
10
+ class: "m-progress-spinner-wrap__overlay"
11
+ }, w = ["aria-label"], T = ["stroke-width"], E = {
12
+ key: 0,
13
+ class: "m-progress-spinner__description"
14
+ }, D = ["aria-label"], O = ["stroke-width"], k = /* @__PURE__ */ c({
15
+ inheritAttrs: !1,
16
+ __name: "ProgressSpinner",
17
+ props: {
18
+ pt: {},
19
+ strokeWidth: { default: "2" },
20
+ animationDuration: { default: "1s" },
21
+ ariaLabel: {},
22
+ show: {
23
+ type: Boolean,
24
+ default: !0
25
+ },
26
+ delay: { default: 0 },
27
+ size: {},
28
+ description: {}
29
+ },
30
+ setup(c) {
31
+ let k = c, A = v(), { rootAttrs: j } = e(A, () => k.pt), M = y(), N = r(), P = i(() => k.ariaLabel ?? N.value.loading), F = i(() => !!M.default), I = i(() => t(k.size)), L = m(k.show && k.delay <= 0), R = m(null), { pauseAttrs: z } = n(R, () => L.value), B = null;
32
+ function V() {
33
+ B !== null && (clearTimeout(B), B = null);
34
+ }
35
+ b(() => [
36
+ k.show,
37
+ k.delay,
38
+ F.value
39
+ ], ([e, t]) => {
40
+ if (V(), !e) {
41
+ L.value = !1;
42
+ return;
43
+ }
44
+ if (!t) {
45
+ L.value = !0;
46
+ return;
47
+ }
48
+ L.value = !1, B = setTimeout(() => {
49
+ L.value = !0, B = null;
50
+ }, t);
51
+ }, { immediate: !0 }), f(V);
52
+ let H = i(() => ({ animationDuration: k.animationDuration })), U = i(() => ({
53
+ "m-progress-spinner--small": I.value === "small",
54
+ "m-progress-spinner--large": I.value === "large"
55
+ }));
56
+ return (e, t) => F.value ? (p(), o("div", l({
57
+ key: 0,
58
+ ref_key: "rootRef",
59
+ ref: R
60
+ }, {
61
+ ..._(j),
62
+ ..._(z)
63
+ }, {
64
+ class: ["m-progress-spinner-wrap", { "m-progress-spinner-wrap--active": L.value }],
65
+ "aria-busy": L.value || void 0
66
+ }), [s("div", {
67
+ class: "m-progress-spinner-wrap__content",
68
+ inert: L.value || void 0
69
+ }, [h(e.$slots, "default")], 8, S), L.value ? (p(), o("div", C, [(p(), o("svg", {
70
+ class: u(["m-progress-spinner", U.value]),
71
+ viewBox: "0 0 50 50",
72
+ role: "status",
73
+ "aria-label": P.value,
74
+ style: d(H.value)
75
+ }, [s("circle", {
76
+ class: "m-progress-spinner__circle",
77
+ cx: "25",
78
+ cy: "25",
79
+ r: "20",
80
+ fill: "none",
81
+ "stroke-width": c.strokeWidth
82
+ }, null, 8, T)], 14, w)), c.description ? (p(), o("p", E, g(c.description), 1)) : a("", !0)])) : a("", !0)], 16, x)) : (p(), o("svg", l({
83
+ key: 1,
84
+ ref_key: "rootRef",
85
+ ref: R
86
+ }, {
87
+ ..._(j),
88
+ ..._(z)
89
+ }, {
90
+ class: ["m-progress-spinner", U.value],
91
+ viewBox: "0 0 50 50",
92
+ role: "status",
93
+ "aria-label": P.value,
94
+ style: H.value
95
+ }), [s("circle", {
96
+ class: "m-progress-spinner__circle",
97
+ cx: "25",
98
+ cy: "25",
99
+ r: "20",
100
+ fill: "none",
101
+ "stroke-width": c.strokeWidth
102
+ }, null, 8, O)], 16, D));
103
+ }
104
+ });
105
+ //#endregion
106
+ export { k as MProgressSpinner };
@@ -529,9 +529,13 @@
529
529
  border-radius: var(--m-radius-md);
530
530
  box-shadow: var(--m-shadow-md);
531
531
  max-height: var(--m-dropdown-submenu-max-height);
532
+ max-width: calc(100vw - 2 * var(--m-space-4));
532
533
  min-width: 10rem;
533
534
  overflow: hidden;
534
535
  padding: var(--m-space-1);
536
+ /* Same as .m-dropdown__menu: size to content instead of being clamped
537
+ by the space left of the anchor in the viewport. */
538
+ width: max-content;
535
539
  }
536
540
 
537
541
  .m-dropdown__submenu--teleported {
@@ -529,9 +529,13 @@
529
529
  border-radius: var(--m-radius-md);
530
530
  box-shadow: var(--m-shadow-md);
531
531
  max-height: var(--m-dropdown-submenu-max-height);
532
+ max-width: calc(100vw - 2 * var(--m-space-4));
532
533
  min-width: 10rem;
533
534
  overflow: hidden;
534
535
  padding: var(--m-space-1);
536
+ /* Same as .m-dropdown__menu: size to content instead of being clamped
537
+ by the space left of the anchor in the viewport. */
538
+ width: max-content;
535
539
  }
536
540
 
537
541
  .m-dropdown__submenu--teleported {
@@ -1,5 +1,5 @@
1
1
  import { i as e } from "../useComponentAttrs-e-5QAjdw.js";
2
- import { t } from "../Icon-lcN1rS87.js";
2
+ import { t } from "../Icon-od9Ob-Ay.js";
3
3
  import { t as n } from "../useMId-BXFYayPP.js";
4
4
  import { t as r } from "../useFieldFeedback-C5qIqYMK.js";
5
5
  import { o as i } from "../config-CapALqt3.js";
@@ -529,9 +529,13 @@
529
529
  border-radius: var(--m-radius-md);
530
530
  box-shadow: var(--m-shadow-md);
531
531
  max-height: var(--m-dropdown-submenu-max-height);
532
+ max-width: calc(100vw - 2 * var(--m-space-4));
532
533
  min-width: 10rem;
533
534
  overflow: hidden;
534
535
  padding: var(--m-space-1);
536
+ /* Same as .m-dropdown__menu: size to content instead of being clamped
537
+ by the space left of the anchor in the viewport. */
538
+ width: max-content;
535
539
  }
536
540
 
537
541
  .m-dropdown__submenu--teleported {
@@ -1,5 +1,5 @@
1
1
  import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
2
- import { t } from "../Icon-lcN1rS87.js";
2
+ import { t } from "../Icon-od9Ob-Ay.js";
3
3
  import { n } from "../locale-Bzm2nbEp.js";
4
4
  import "./style.js";
5
5
  import { computed as r, createCommentVNode as i, createElementBlock as a, createTextVNode as o, createVNode as s, defineComponent as c, mergeProps as l, openBlock as u, renderSlot as d, toDisplayString as f, unref as p, useAttrs as m, useSlots as h } from "vue";
@@ -529,9 +529,13 @@
529
529
  border-radius: var(--m-radius-md);
530
530
  box-shadow: var(--m-shadow-md);
531
531
  max-height: var(--m-dropdown-submenu-max-height);
532
+ max-width: calc(100vw - 2 * var(--m-space-4));
532
533
  min-width: 10rem;
533
534
  overflow: hidden;
534
535
  padding: var(--m-space-1);
536
+ /* Same as .m-dropdown__menu: size to content instead of being clamped
537
+ by the space left of the anchor in the viewport. */
538
+ width: max-content;
535
539
  }
536
540
 
537
541
  .m-dropdown__submenu--teleported {
@@ -1,5 +1,5 @@
1
1
  import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
2
- import { t } from "../Icon-lcN1rS87.js";
2
+ import { t } from "../Icon-od9Ob-Ay.js";
3
3
  import { n, t as r } from "../overlay-oR-5MDuE.js";
4
4
  import { c as i } from "../config-CapALqt3.js";
5
5
  import { n as a } from "../locale-Bzm2nbEp.js";
@@ -529,9 +529,13 @@
529
529
  border-radius: var(--m-radius-md);
530
530
  box-shadow: var(--m-shadow-md);
531
531
  max-height: var(--m-dropdown-submenu-max-height);
532
+ max-width: calc(100vw - 2 * var(--m-space-4));
532
533
  min-width: 10rem;
533
534
  overflow: hidden;
534
535
  padding: var(--m-space-1);
536
+ /* Same as .m-dropdown__menu: size to content instead of being clamped
537
+ by the space left of the anchor in the viewport. */
538
+ width: max-content;
535
539
  }
536
540
 
537
541
  .m-dropdown__submenu--teleported {
@@ -529,9 +529,13 @@
529
529
  border-radius: var(--m-radius-md);
530
530
  box-shadow: var(--m-shadow-md);
531
531
  max-height: var(--m-dropdown-submenu-max-height);
532
+ max-width: calc(100vw - 2 * var(--m-space-4));
532
533
  min-width: 10rem;
533
534
  overflow: hidden;
534
535
  padding: var(--m-space-1);
536
+ /* Same as .m-dropdown__menu: size to content instead of being clamped
537
+ by the space left of the anchor in the viewport. */
538
+ width: max-content;
535
539
  }
536
540
 
537
541
  .m-dropdown__submenu--teleported {