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.
- package/CHANGELOG.md +32 -0
- package/dist/{Button-B5X_R4Md.js → Button-smoDleh0.js} +1 -1
- package/dist/Icon-od9Ob-Ay.js +393 -0
- package/dist/Loading-BSsRs6v9.js +420 -0
- package/dist/{Pagination-CVrH8Ypi.js → Pagination-DrXmzcEy.js} +1 -1
- package/dist/accordion/style.css +4 -0
- package/dist/auto-complete/index.js +1 -1
- package/dist/auto-complete/style.css +18 -6
- package/dist/avatar/index.js +1 -1
- package/dist/avatar/style.css +4 -0
- package/dist/badge/style.css +4 -0
- package/dist/block-ui/style.css +4 -0
- package/dist/breadcrumb/style.css +4 -0
- package/dist/button/index.js +1 -1
- package/dist/button/style.css +4 -0
- package/dist/card/style.css +4 -0
- package/dist/carousel/index.js +72 -64
- package/dist/carousel/style.css +31 -10
- package/dist/cascade-select/index.js +1 -1
- package/dist/cascade-select/style.css +18 -6
- package/dist/checkbox/style.css +4 -0
- package/dist/chip/index.js +1 -1
- package/dist/chip/style.css +4 -0
- package/dist/command-menu/index.js +2 -2
- package/dist/command-menu/style.css +4 -0
- package/dist/components/Carousel/Carousel.vue.d.ts.map +1 -1
- package/dist/components/Carousel/styles.css +27 -10
- package/dist/components/DataView/DataView.vue.d.ts +7 -7
- package/dist/components/DataView/DataView.vue.d.ts.map +1 -1
- package/dist/components/DataView/styles.css +0 -20
- package/dist/components/Dropdown/Dropdown.vue.d.ts +2 -2
- package/dist/components/Dropdown/Dropdown.vue.d.ts.map +1 -1
- package/dist/components/Dropdown/DropdownNodes.vue.d.ts +8 -9
- package/dist/components/Dropdown/DropdownNodes.vue.d.ts.map +1 -1
- package/dist/components/Dropdown/styles.css +24 -5
- package/dist/components/Icon/Icon.vue.d.ts.map +1 -1
- package/dist/components/Icon/icon-categories.d.ts.map +1 -1
- package/dist/components/Icon/icons-types.d.ts +4 -2
- package/dist/components/Icon/icons-types.d.ts.map +1 -1
- package/dist/components/Icon/icons.d.ts +250 -561
- package/dist/components/Icon/icons.d.ts.map +1 -1
- package/dist/components/Icon/index.d.ts +2 -2
- package/dist/components/Icon/index.d.ts.map +1 -1
- package/dist/components/Layout/styles.css +5 -2
- package/dist/components/Menu/styles.css +6 -0
- package/dist/components/Menubar/Menubar.vue.d.ts.map +1 -1
- package/dist/components/Menubar/styles.css +4 -0
- package/dist/components/Scrollbar/Scrollbar.vue.d.ts +1 -1
- package/dist/components/Select/Select.vue.d.ts +9 -5
- package/dist/components/Select/Select.vue.d.ts.map +1 -1
- package/dist/components/Select/styles.css +30 -1
- package/dist/components/Select/types.d.ts +11 -1
- package/dist/components/Select/types.d.ts.map +1 -1
- package/dist/components/Slider/styles.css +9 -0
- package/dist/components/SplitButton/styles.css +5 -0
- package/dist/components/Table/Table.vue.d.ts +26 -26
- package/dist/components/Table/Table.vue.d.ts.map +1 -1
- package/dist/components/Table/TableLoadingLine.vue.d.ts.map +1 -1
- package/dist/components/Table/styles.css +58 -38
- package/dist/components/TreeSelect/TreeSelect.vue.d.ts.map +1 -1
- package/dist/components/TreeSelect/styles.css +1 -1
- package/dist/config-provider/style.css +4 -0
- package/dist/confirm-dialog/index.js +2 -2
- package/dist/confirm-dialog/style.css +4 -0
- package/dist/confirm-popup/index.js +2 -2
- package/dist/confirm-popup/style.css +4 -0
- package/dist/context-menu/index.js +2 -2
- package/dist/context-menu/style.css +4 -0
- package/dist/data-view/index.js +47 -47
- package/dist/data-view/style.css +399 -106
- package/dist/data-view/style.js +1 -1
- package/dist/date-picker/index.js +1 -1
- package/dist/date-picker/style.css +4 -0
- package/dist/dialog/index.js +2 -2
- package/dist/dialog/style.css +4 -0
- package/dist/divider/style.css +4 -0
- package/dist/dock/index.js +2 -2
- package/dist/dock/style.css +4 -0
- package/dist/drawer/index.js +1 -1
- package/dist/drawer/style.css +4 -0
- package/dist/dropdown/index.js +110 -91
- package/dist/dropdown/style.css +28 -5
- package/dist/empty/index.js +1 -1
- package/dist/empty/style.css +4 -0
- package/dist/fieldset/index.js +1 -1
- package/dist/fieldset/style.css +4 -0
- package/dist/file-upload/index.js +1 -1
- package/dist/file-upload/style.css +4 -0
- package/dist/flex/style.css +4 -0
- package/dist/float-label/style.css +4 -0
- package/dist/fluid/style.css +4 -0
- package/dist/form/style.css +4 -0
- package/dist/gallery/index.js +1 -1
- package/dist/gallery/style.css +4 -0
- package/dist/grid/style.css +4 -0
- package/dist/icon/index.js +93 -39
- package/dist/icon/style.css +4 -0
- package/dist/icon-COrt_N8A.js +18 -0
- package/dist/icon-field/style.css +4 -0
- package/dist/index.js +2733 -2801
- package/dist/inplace/style.css +4 -0
- package/dist/input/index.js +1 -1
- package/dist/input/style.css +4 -0
- package/dist/input-color/style.css +4 -0
- package/dist/input-group/style.css +4 -0
- package/dist/input-number/index.js +1 -1
- package/dist/input-number/style.css +4 -0
- package/dist/input-otp/style.css +4 -0
- package/dist/input-password/index.js +1 -1
- package/dist/input-password/style.css +4 -0
- package/dist/input-tags/index.js +1 -1
- package/dist/input-tags/style.css +4 -0
- package/dist/knob/style.css +4 -0
- package/dist/label/style.css +4 -0
- package/dist/layout/index.js +1 -1
- package/dist/layout/style.css +9 -2
- package/dist/listbox/style.css +4 -0
- package/dist/loading/index.js +32 -446
- package/dist/loading/style.css +4 -0
- package/dist/mega-menu/index.js +2 -2
- package/dist/mega-menu/style.css +4 -0
- package/dist/menu/index.js +2 -2
- package/dist/menu/style.css +10 -0
- package/dist/menubar/index.js +6 -3
- package/dist/menubar/style.css +8 -0
- package/dist/message/index.js +1 -1
- package/dist/message/style.css +4 -0
- package/dist/meter-group/style.css +4 -0
- package/dist/order-list/index.js +1 -1
- package/dist/order-list/style.css +4 -0
- package/dist/page/index.js +1 -1
- package/dist/page/style.css +4 -0
- package/dist/pagination/index.js +1 -1
- package/dist/pagination/style.css +4 -0
- package/dist/panel/index.js +1 -1
- package/dist/panel/style.css +4 -0
- package/dist/pick-list/index.js +1 -1
- package/dist/pick-list/style.css +4 -0
- package/dist/popover/style.css +4 -0
- package/dist/progress-bar/style.css +4 -0
- package/dist/progress-spinner/index.js +105 -2
- package/dist/progress-spinner/style.css +4 -0
- package/dist/radio/style.css +4 -0
- package/dist/rating/index.js +1 -1
- package/dist/rating/style.css +4 -0
- package/dist/result/index.js +1 -1
- package/dist/result/style.css +4 -0
- package/dist/scroll-top/index.js +1 -1
- package/dist/scroll-top/style.css +4 -0
- package/dist/scrollbar/style.css +4 -0
- package/dist/select/index.js +284 -217
- package/dist/select/style.css +48 -7
- package/dist/select-button/style.css +4 -0
- package/dist/shared/menu/icon.d.ts.map +1 -1
- package/dist/shared/styles/select-overlay.css +14 -6
- package/dist/sidebar/index.js +2 -2
- package/dist/sidebar/style.css +4 -0
- package/dist/skeleton/style.css +4 -0
- package/dist/slider/style.css +13 -0
- package/dist/space/style.css +4 -0
- package/dist/speed-dial/index.js +2 -2
- package/dist/speed-dial/style.css +4 -0
- package/dist/split-button/index.js +1 -1
- package/dist/split-button/style.css +9 -0
- package/dist/splitter/style.css +4 -0
- package/dist/status/index.js +1 -1
- package/dist/status/style.css +4 -0
- package/dist/stepper/index.js +1 -1
- package/dist/stepper/style.css +4 -0
- package/dist/styles/base.css +4 -0
- package/dist/styles.css +1 -1
- package/dist/switch/style.css +4 -0
- package/dist/table/index.js +344 -338
- package/dist/table/style.css +457 -124
- package/dist/table/style.js +1 -1
- package/dist/tabs/index.js +1 -1
- package/dist/tabs/style.css +4 -0
- package/dist/tag/index.js +1 -1
- package/dist/tag/style.css +4 -0
- package/dist/terminal/style.css +4 -0
- package/dist/textarea/index.js +1 -1
- package/dist/textarea/style.css +4 -0
- package/dist/tiered-menu/index.js +1 -1
- package/dist/tiered-menu/style.css +4 -0
- package/dist/timeline/index.js +1 -1
- package/dist/timeline/style.css +4 -0
- package/dist/toast/index.js +1 -1
- package/dist/toast/style.css +4 -0
- package/dist/toggle-button/index.js +2 -2
- package/dist/toggle-button/style.css +4 -0
- package/dist/toolbar/style.css +4 -0
- package/dist/tooltip/style.css +4 -0
- package/dist/tree/index.js +1 -1
- package/dist/tree/style.css +4 -0
- package/dist/tree-select/index.js +2 -1
- package/dist/tree-select/style.css +19 -7
- package/dist/tree-table/index.js +1 -1
- package/dist/tree-table/style.css +4 -0
- package/dist/virtual-scroller/style.css +4 -0
- package/package.json +1 -1
- package/dist/Icon-lcN1rS87.js +0 -610
- package/dist/ProgressSpinner-BeWVF6Jv.js +0 -105
- package/dist/components/Icon/icons-tabler.d.ts +0 -77
- package/dist/components/Icon/icons-tabler.d.ts.map +0 -1
- package/dist/icon-DWXkh-RM.js +0 -27
package/dist/tag/style.css
CHANGED
|
@@ -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/dist/terminal/style.css
CHANGED
|
@@ -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/dist/textarea/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as e } from "../useComponentAttrs-e-5QAjdw.js";
|
|
2
|
-
import { t } from "../Icon-
|
|
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";
|
package/dist/textarea/style.css
CHANGED
|
@@ -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-
|
|
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 {
|
package/dist/timeline/index.js
CHANGED
|
@@ -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-
|
|
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";
|
package/dist/timeline/style.css
CHANGED
|
@@ -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/dist/toast/index.js
CHANGED
|
@@ -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-
|
|
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";
|
package/dist/toast/style.css
CHANGED
|
@@ -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-
|
|
2
|
-
import { t } from "../icon-
|
|
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 {
|
package/dist/toolbar/style.css
CHANGED
|
@@ -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/dist/tooltip/style.css
CHANGED
|
@@ -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/dist/tree/index.js
CHANGED
|
@@ -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-
|
|
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";
|
package/dist/tree/style.css
CHANGED
|
@@ -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-
|
|
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:
|
|
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:
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
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-
|
|
2064
|
+
var(--m-treeselect-panel-max-height) - var(--m-control-height-small) - var(--m-space-6)
|
|
2053
2065
|
);
|
|
2054
2066
|
}
|
|
2055
2067
|
|
package/dist/tree-table/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
|
|
2
|
-
import { t } from "../Icon-
|
|
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.
|
|
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/",
|