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
@@ -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 { i as r, o as i, s as a } from "../config-CapALqt3.js";
5
5
  import { n as o } 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 "../useMotionTransition-Bxnnb_9u.js";
4
4
  import { n as ee, t as te } from "../overlay-oR-5MDuE.js";
5
5
  import { t as r } from "../overlayPlacement-Cd20JTD_.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,6 +1,6 @@
1
1
  import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
2
2
  import { t } from "../types-DGuu4Eg4.js";
3
- import { a as n, t as r } from "../Icon-lcN1rS87.js";
3
+ import { a as n, t as r } from "../Icon-od9Ob-Ay.js";
4
4
  import { t as i } from "../Scrollbar-DTeJ8P5b.js";
5
5
  import "./style.js";
6
6
  import { Fragment as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createTextVNode as d, defineComponent as f, mergeProps as p, normalizeClass as m, normalizeStyle as h, openBlock as g, renderList as _, renderSlot as v, toDisplayString as y, unref as b, useAttrs as x, withCtx as S } 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,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 ee } from "../overlay-oR-5MDuE.js";
6
6
  import { n as i, r as a } 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 {
@@ -1,5 +1,5 @@
1
- import { t as e } from "../Icon-lcN1rS87.js";
2
- import { t } from "../icon-DWXkh-RM.js";
1
+ import { t as e } from "../Icon-od9Ob-Ay.js";
2
+ import { t } from "../icon-COrt_N8A.js";
3
3
  import { o as n } from "../config-CapALqt3.js";
4
4
  import "./style.js";
5
5
  import { computed as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createVNode as s, defineComponent as c, normalizeClass as l, openBlock as u, renderSlot as d, toDisplayString as f } 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 {
@@ -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 { a as t, t as n } from "../Icon-lcN1rS87.js";
2
+ import { a as t, t as n } from "../Icon-od9Ob-Ay.js";
3
3
  import { t as r } from "../useMenuKeyboard-BedmYE4W.js";
4
4
  import { t as i } from "../Checkbox-BzbAUfyZ.js";
5
5
  import { a, c as ee, n as o, o as s, s as c, t as l } from "../checkStrategy-CZzuUKDI.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 { 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 "../useMotionTransition-Bxnnb_9u.js";
4
4
  import { n as r, t as i } from "../overlay-oR-5MDuE.js";
5
5
  import { t as ee } from "../overlayPlacement-Cd20JTD_.js";
@@ -467,6 +467,7 @@ var T = [
467
467
  "onUpdate:modelValue": n[0] ||= (e) => F.value = e,
468
468
  class: "m-treeselect__filter",
469
469
  type: "search",
470
+ size: "1",
470
471
  placeholder: S(j).searchPlaceholder,
471
472
  onClick: n[1] ||= w(() => {}, ["stop"]),
472
473
  onKeydown: ot
@@ -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 {
@@ -1578,21 +1582,29 @@
1578
1582
 
1579
1583
  .m-select__filter,
1580
1584
  .m-treeselect__filter {
1585
+ /* size="1" + min-width:0 keep intrinsic width from inflating width:max-content menus */
1586
+ align-self: stretch;
1581
1587
  background: var(--m-color-surface);
1582
- border: 0;
1583
- border-bottom: var(--m-border-width) solid var(--m-color-border);
1588
+ border: var(--m-border-width) solid var(--m-color-border);
1584
1589
  border-radius: var(--m-radius-sm);
1585
1590
  box-sizing: border-box;
1586
1591
  color: var(--m-color-text);
1587
1592
  flex: 0 0 auto;
1588
- font: inherit;
1589
- margin: calc(var(--m-space-1) * -1) calc(var(--m-space-1) * -1) 0;
1590
- padding: var(--m-space-2) var(--m-space-3);
1591
- width: calc(100% + var(--m-space-1) * 2);
1593
+ font-family: var(--m-font-sans);
1594
+ font-size: var(--m-control-font-small);
1595
+ height: var(--m-control-height-small);
1596
+ line-height: calc(var(--m-control-height-small) - 2 * var(--m-border-width));
1597
+ margin: var(--m-space-2);
1598
+ max-width: calc(100% - 2 * var(--m-space-2));
1599
+ min-width: 0;
1600
+ outline: none;
1601
+ padding: 0 var(--m-control-padding-x-small);
1602
+ width: auto;
1592
1603
  }
1593
1604
 
1594
1605
  .m-select__filter:focus-visible,
1595
1606
  .m-treeselect__filter:focus-visible {
1607
+ border-color: var(--m-color-primary-hover);
1596
1608
  box-shadow: var(--m-focus-shadow);
1597
1609
  outline: none;
1598
1610
  }
@@ -2049,7 +2061,7 @@
2049
2061
 
2050
2062
  .m-treeselect__panel:has(.m-treeselect__filter) {
2051
2063
  --m-treeselect-list-max-height: calc(
2052
- var(--m-treeselect-panel-max-height) - var(--m-control-height-medium) - var(--m-space-2)
2064
+ var(--m-treeselect-panel-max-height) - var(--m-control-height-small) - var(--m-space-6)
2053
2065
  );
2054
2066
  }
2055
2067
 
@@ -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 {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "morya-ui",
3
3
  "type": "module",
4
- "version": "0.3.0",
4
+ "version": "0.3.1",
5
5
  "description": "Open-source Vue 3 component library with design tokens, themes, and interactive docs.",
6
6
  "license": "MIT",
7
7
  "homepage": "https://morya-space.github.io/morya-ui/",