morya-ui 0.2.4 → 0.2.5
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 +167 -0
- package/dist/{Button-DnE_ns8s.js → Button-lNErA-7h.js} +1 -1
- package/dist/{Checkbox-BjtAYUUD.js → Checkbox-B758a_iB.js} +1 -1
- package/dist/{FlyoutSubmenu-BC_cl17_.js → FlyoutSubmenu-kymVjXLs.js} +2 -2
- package/dist/{Pagination-DNjDBPfR.js → Pagination-Dm2-MBnC.js} +6 -6
- package/dist/{Popover-6eE5yIT7.js → Popover-flzjtjqD.js} +10 -10
- package/dist/{ProgressSpinner-CT7IP3Yr.js → ProgressSpinner-BXHLx4Lg.js} +1 -1
- package/dist/{Radio-DcotfGnv.js → Radio-Bb21-Vk4.js} +1 -1
- package/dist/{ScrollBody-CXFNhBvq.js → ScrollBody-D2IHKP6U.js} +3 -7
- package/dist/{Scrollbar-DoNZvgX2.js → Scrollbar-BYnCO8fv.js} +23 -23
- package/dist/{Tooltip-CrKm9FMD.js → Tooltip-CeGxjP-L.js} +7 -7
- package/dist/accordion/index.js +3 -3
- package/dist/accordion/style.css +122 -29
- package/dist/auto-complete/index.js +8 -8
- package/dist/auto-complete/style.css +206 -37
- package/dist/avatar/style.css +138 -29
- package/dist/badge/style.css +132 -28
- package/dist/block-ui/style.css +137 -30
- package/dist/breadcrumb/index.js +1 -1
- package/dist/breadcrumb/style.css +126 -31
- package/dist/button/index.js +1 -1
- package/dist/button/style.css +165 -35
- package/dist/card/style.css +154 -53
- package/dist/carousel/index.js +4 -4
- package/dist/carousel/style.css +148 -28
- package/dist/cascade-select/index.js +10 -10
- package/dist/cascade-select/style.css +174 -34
- package/dist/checkbox/index.js +5 -5
- package/dist/checkbox/style.css +130 -28
- package/dist/chip/index.js +1 -1
- package/dist/chip/style.css +139 -28
- package/dist/command-menu/index.js +6 -6
- package/dist/command-menu/style.css +179 -34
- package/dist/component-registry.d.ts.map +1 -1
- package/dist/components/Accordion/Accordion.vue.d.ts.map +1 -1
- package/dist/components/Accordion/styles.css +1 -1
- package/dist/components/AutoComplete/AutoComplete.vue.d.ts.map +1 -1
- package/dist/components/AutoComplete/styles.css +48 -5
- package/dist/components/AutoComplete/types.d.ts +1 -1
- package/dist/components/AutoComplete/types.d.ts.map +1 -1
- package/dist/components/Avatar/AvatarGroup.vue.d.ts.map +1 -1
- package/dist/components/Avatar/styles.css +1 -1
- package/dist/components/Badge/styles.css +11 -0
- package/dist/components/BlockUI/BlockUI.vue.d.ts.map +1 -1
- package/dist/components/BlockUI/styles.css +16 -2
- package/dist/components/Breadcrumb/Breadcrumb.vue.d.ts.map +1 -1
- package/dist/components/Breadcrumb/styles.css +5 -3
- package/dist/components/Button/ButtonGroup.vue.d.ts.map +1 -1
- package/dist/components/Button/styles.css +28 -7
- package/dist/components/Button/types.d.ts +1 -1
- package/dist/components/Button/types.d.ts.map +1 -1
- package/dist/components/Card/Card.vue.d.ts.map +1 -1
- package/dist/components/Card/styles.css +33 -25
- package/dist/components/Carousel/Carousel.vue.d.ts.map +1 -1
- package/dist/components/Carousel/styles.css +11 -0
- package/dist/components/CascadeSelect/styles.css +16 -2
- package/dist/components/CascadeSelect/types.d.ts +1 -1
- package/dist/components/CascadeSelect/types.d.ts.map +1 -1
- package/dist/components/Checkbox/CheckboxGroup.vue.d.ts.map +1 -1
- package/dist/components/Checkbox/styles.css +9 -0
- package/dist/components/Chip/styles.css +2 -0
- package/dist/components/CommandMenu/CommandMenu.vue.d.ts.map +1 -1
- package/dist/components/CommandMenu/styles.css +21 -2
- package/dist/components/CommandMenu/types.d.ts +2 -2
- package/dist/components/CommandMenu/types.d.ts.map +1 -1
- package/dist/components/ConfigProvider/ConfigProvider.vue.d.ts +1 -1
- package/dist/components/ConfigProvider/ConfigProvider.vue.d.ts.map +1 -1
- package/dist/components/ConfirmDialog/ConfirmDialog.vue.d.ts.map +1 -1
- package/dist/components/ConfirmDialog/styles.css +2 -2
- package/dist/components/ConfirmDialog/types.d.ts +1 -1
- package/dist/components/ConfirmDialog/types.d.ts.map +1 -1
- package/dist/components/ConfirmPopup/ConfirmPopup.vue.d.ts.map +1 -1
- package/dist/components/ConfirmPopup/styles.css +3 -3
- package/dist/components/ConfirmPopup/types.d.ts +1 -1
- package/dist/components/ConfirmPopup/types.d.ts.map +1 -1
- package/dist/components/ContextMenu/ContextMenu.vue.d.ts.map +1 -1
- package/dist/components/ContextMenu/styles.css +9 -6
- package/dist/components/ContextMenu/types.d.ts +2 -2
- package/dist/components/ContextMenu/types.d.ts.map +1 -1
- package/dist/components/DatePicker/styles.css +34 -4
- package/dist/components/DatePicker/types.d.ts +1 -1
- package/dist/components/DatePicker/types.d.ts.map +1 -1
- package/dist/components/Dialog/Dialog.vue.d.ts.map +1 -1
- package/dist/components/Dialog/styles.css +50 -2
- package/dist/components/Dialog/types.d.ts +1 -1
- package/dist/components/Dialog/types.d.ts.map +1 -1
- package/dist/components/Divider/styles.css +35 -32
- package/dist/components/Dock/Dock.vue.d.ts.map +1 -1
- package/dist/components/Dock/styles.css +30 -4
- package/dist/components/Dock/types.d.ts +1 -1
- package/dist/components/Dock/types.d.ts.map +1 -1
- package/dist/components/Drawer/Drawer.vue.d.ts.map +1 -1
- package/dist/components/Drawer/styles.css +69 -4
- package/dist/components/Drawer/types.d.ts +1 -1
- package/dist/components/Drawer/types.d.ts.map +1 -1
- package/dist/components/Dropdown/styles.css +20 -3
- package/dist/components/Dropdown/types.d.ts +1 -1
- package/dist/components/Dropdown/types.d.ts.map +1 -1
- package/dist/components/Empty/Empty.vue.d.ts +29 -0
- package/dist/components/Empty/Empty.vue.d.ts.map +1 -0
- package/dist/components/Empty/index.d.ts +3 -0
- package/dist/components/Empty/index.d.ts.map +1 -0
- package/dist/components/Empty/styles.css +72 -0
- package/dist/components/Empty/types.d.ts +14 -0
- package/dist/components/Empty/types.d.ts.map +1 -0
- package/dist/components/Fieldset/Fieldset.vue.d.ts.map +1 -1
- package/dist/components/Fieldset/styles.css +16 -1
- package/dist/components/FileUpload/FileUpload.vue.d.ts.map +1 -1
- package/dist/components/FileUpload/styles.css +28 -4
- package/dist/components/Flex/Flex.vue.d.ts.map +1 -1
- package/dist/components/Flex/styles.css +1 -2
- package/dist/components/Flex/types.d.ts +1 -1
- package/dist/components/Flex/types.d.ts.map +1 -1
- package/dist/components/FloatLabel/styles.css +8 -7
- package/dist/components/Fluid/Fluid.vue.d.ts.map +1 -1
- package/dist/components/Fluid/styles.css +4 -1
- package/dist/components/Form/styles.css +5 -2
- package/dist/components/Gallery/Gallery.vue.d.ts.map +1 -1
- package/dist/components/Gallery/styles.css +19 -2
- package/dist/components/Grid/styles.css +5 -4
- package/dist/components/Icon/styles.css +16 -0
- package/dist/components/Inplace/Inplace.vue.d.ts.map +1 -1
- package/dist/components/Inplace/styles.css +10 -9
- package/dist/components/Input/styles.css +8 -1
- package/dist/components/InputColor/styles.css +26 -1
- package/dist/components/InputGroup/styles.css +5 -4
- package/dist/components/InputNumber/styles.css +25 -2
- package/dist/components/InputOtp/styles.css +15 -7
- package/dist/components/InputPassword/InputPassword.vue.d.ts +1 -1
- package/dist/components/InputPassword/index.d.ts +1 -1
- package/dist/components/InputPassword/index.d.ts.map +1 -1
- package/dist/components/InputPassword/styles.css +12 -2
- package/dist/components/InputTags/styles.css +24 -0
- package/dist/components/Knob/styles.css +27 -13
- package/dist/components/Label/styles.css +2 -2
- package/dist/components/Layout/Layout.vue.d.ts.map +1 -1
- package/dist/components/Layout/LayoutContent.vue.d.ts.map +1 -1
- package/dist/components/Layout/LayoutScrollContext.vue.d.ts.map +1 -1
- package/dist/components/Layout/LayoutScrollRegion.vue.d.ts +3 -3
- package/dist/components/Layout/LayoutScrollRegion.vue.d.ts.map +1 -1
- package/dist/components/Layout/LayoutSider.vue.d.ts.map +1 -1
- package/dist/components/Layout/composables/useLayoutScroll.d.ts +1 -1
- package/dist/components/Layout/composables/useLayoutScroll.d.ts.map +1 -1
- package/dist/components/Layout/styles.css +66 -10
- package/dist/components/Layout/types.d.ts +1 -1
- package/dist/components/Layout/types.d.ts.map +1 -1
- package/dist/components/Listbox/Listbox.vue.d.ts.map +1 -1
- package/dist/components/Listbox/styles.css +18 -1
- package/dist/components/Listbox/types.d.ts.map +1 -1
- package/dist/components/MegaMenu/MegaMenu.vue.d.ts.map +1 -1
- package/dist/components/MegaMenu/styles.css +10 -3
- package/dist/components/MegaMenu/types.d.ts +2 -2
- package/dist/components/MegaMenu/types.d.ts.map +1 -1
- package/dist/components/Menu/Menu.vue.d.ts.map +1 -1
- package/dist/components/Menu/MenuNodes.vue.d.ts.map +1 -1
- package/dist/components/Menu/styles.css +15 -1
- package/dist/components/Menu/types.d.ts +2 -2
- package/dist/components/Menu/types.d.ts.map +1 -1
- package/dist/components/Menubar/Menubar.vue.d.ts.map +1 -1
- package/dist/components/Menubar/styles.css +14 -6
- package/dist/components/Menubar/types.d.ts +2 -2
- package/dist/components/Menubar/types.d.ts.map +1 -1
- package/dist/components/Message/Message.vue.d.ts.map +1 -1
- package/dist/components/Message/messageState.d.ts +26 -0
- package/dist/components/Message/messageState.d.ts.map +1 -0
- package/dist/components/Message/styles.css +43 -1
- package/dist/components/Message/types.d.ts +1 -1
- package/dist/components/Message/types.d.ts.map +1 -1
- package/dist/components/MeterGroup/MeterGroup.vue.d.ts.map +1 -1
- package/dist/components/OrderList/OrderList.vue.d.ts.map +1 -1
- package/dist/components/Page/PageContent.vue.d.ts.map +1 -1
- package/dist/components/Page/PageFilters.vue.d.ts.map +1 -1
- package/dist/components/Page/PageHeader.vue.d.ts.map +1 -1
- package/dist/components/Page/PagePlaceholder.vue.d.ts.map +1 -1
- package/dist/components/Page/PageSection.vue.d.ts.map +1 -1
- package/dist/components/Page/PageStat.vue.d.ts.map +1 -1
- package/dist/components/Page/PageToolbar.vue.d.ts.map +1 -1
- package/dist/components/Page/styles.css +7 -1
- package/dist/components/Page/types.d.ts +1 -1
- package/dist/components/Page/types.d.ts.map +1 -1
- package/dist/components/Pagination/Pagination.vue.d.ts.map +1 -1
- package/dist/components/Pagination/styles.css +23 -1
- package/dist/components/Panel/Panel.vue.d.ts.map +1 -1
- package/dist/components/Panel/styles.css +20 -1
- package/dist/components/PickList/PickList.vue.d.ts.map +1 -1
- package/dist/components/Popover/Popover.vue.d.ts.map +1 -1
- package/dist/components/Popover/styles.css +35 -3
- package/dist/components/Popover/types.d.ts +1 -1
- package/dist/components/Popover/types.d.ts.map +1 -1
- package/dist/components/ProgressBar/styles.css +20 -0
- package/dist/components/ProgressSpinner/ProgressSpinner.vue.d.ts.map +1 -1
- package/dist/components/ProgressSpinner/styles.css +19 -0
- package/dist/components/Radio/RadioGroup.vue.d.ts.map +1 -1
- package/dist/components/Radio/styles.css +9 -0
- package/dist/components/Rating/styles.css +14 -1
- package/dist/components/Result/Result.vue.d.ts +26 -0
- package/dist/components/Result/Result.vue.d.ts.map +1 -0
- package/dist/components/Result/index.d.ts +3 -0
- package/dist/components/Result/index.d.ts.map +1 -0
- package/dist/components/Result/styles.css +80 -0
- package/dist/components/Result/types.d.ts +16 -0
- package/dist/components/Result/types.d.ts.map +1 -0
- package/dist/components/ScrollTop/ScrollTop.vue.d.ts.map +1 -1
- package/dist/components/ScrollTop/styles.css +14 -1
- package/dist/components/ScrollTop/types.d.ts +1 -1
- package/dist/components/ScrollTop/types.d.ts.map +1 -1
- package/dist/components/Scrollbar/Scrollbar.vue.d.ts.map +1 -1
- package/dist/components/Scrollbar/styles.css +21 -4
- package/dist/components/Scrollbar/types.d.ts +1 -1
- package/dist/components/Scrollbar/types.d.ts.map +1 -1
- package/dist/components/Select/Select.vue.d.ts.map +1 -1
- package/dist/components/Select/styles.css +14 -11
- package/dist/components/Select/types.d.ts +1 -1
- package/dist/components/Select/types.d.ts.map +1 -1
- package/dist/components/SelectButton/SelectButton.vue.d.ts.map +1 -1
- package/dist/components/SelectButton/styles.css +18 -2
- package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/styles.css +20 -3
- package/dist/components/Sidebar/types.d.ts +1 -1
- package/dist/components/Sidebar/types.d.ts.map +1 -1
- package/dist/components/Skeleton/Skeleton.vue.d.ts.map +1 -1
- package/dist/components/Skeleton/styles.css +11 -0
- package/dist/components/Slider/styles.css +19 -5
- package/dist/components/Space/Space.vue.d.ts.map +1 -1
- package/dist/components/Space/styles.css +2 -1
- package/dist/components/Space/types.d.ts +1 -1
- package/dist/components/Space/types.d.ts.map +1 -1
- package/dist/components/SpeedDial/styles.css +20 -4
- package/dist/components/SpeedDial/types.d.ts +2 -2
- package/dist/components/SpeedDial/types.d.ts.map +1 -1
- package/dist/components/SplitButton/SplitButton.vue.d.ts.map +1 -1
- package/dist/components/SplitButton/styles.css +32 -5
- package/dist/components/SplitButton/types.d.ts +1 -1
- package/dist/components/SplitButton/types.d.ts.map +1 -1
- package/dist/components/Splitter/Splitter.vue.d.ts.map +1 -1
- package/dist/components/Splitter/styles.css +6 -2
- package/dist/components/Splitter/types.d.ts +1 -1
- package/dist/components/Splitter/types.d.ts.map +1 -1
- package/dist/components/Status/Status.vue.d.ts +19 -0
- package/dist/components/Status/Status.vue.d.ts.map +1 -0
- package/dist/components/Status/index.d.ts +3 -0
- package/dist/components/Status/index.d.ts.map +1 -0
- package/dist/components/Status/styles.css +106 -0
- package/dist/components/Status/types.d.ts +19 -0
- package/dist/components/Status/types.d.ts.map +1 -0
- package/dist/components/Stepper/Stepper.vue.d.ts.map +1 -1
- package/dist/components/Stepper/styles.css +19 -5
- package/dist/components/Switch/styles.css +34 -5
- package/dist/components/Table/Table.vue.d.ts +1 -1
- package/dist/components/Table/Table.vue.d.ts.map +1 -1
- package/dist/components/Table/hooks/index.d.ts +1 -1
- package/dist/components/Table/hooks/index.d.ts.map +1 -1
- package/dist/components/Table/hooks/internal.d.ts +6 -6
- package/dist/components/Table/hooks/internal.d.ts.map +1 -1
- package/dist/components/Table/styles.css +29 -15
- package/dist/components/Table/types.d.ts +1 -1
- package/dist/components/Table/types.d.ts.map +1 -1
- package/dist/components/Tabs/Tabs.vue.d.ts.map +1 -1
- package/dist/components/Tabs/styles.css +34 -6
- package/dist/components/Tag/styles.css +13 -21
- package/dist/components/Terminal/Terminal.vue.d.ts.map +1 -1
- package/dist/components/Terminal/styles.css +7 -1
- package/dist/components/Textarea/index.d.ts +1 -1
- package/dist/components/Textarea/index.d.ts.map +1 -1
- package/dist/components/Textarea/styles.css +16 -0
- package/dist/components/TieredMenu/TieredMenu.vue.d.ts.map +1 -1
- package/dist/components/TieredMenu/styles.css +10 -6
- package/dist/components/TieredMenu/types.d.ts +1 -1
- package/dist/components/TieredMenu/types.d.ts.map +1 -1
- package/dist/components/Timeline/Timeline.vue.d.ts.map +1 -1
- package/dist/components/Timeline/styles.css +3 -3
- package/dist/components/Toast/Toast.vue.d.ts.map +1 -1
- package/dist/components/Toast/index.d.ts +1 -1
- package/dist/components/Toast/index.d.ts.map +1 -1
- package/dist/components/Toast/styles.css +17 -1
- package/dist/components/Toast/toastState.d.ts +26 -0
- package/dist/components/Toast/toastState.d.ts.map +1 -0
- package/dist/components/Toast/types.d.ts +1 -1
- package/dist/components/Toast/types.d.ts.map +1 -1
- package/dist/components/ToggleButton/styles.css +19 -1
- package/dist/components/Toolbar/Toolbar.vue.d.ts.map +1 -1
- package/dist/components/Toolbar/styles.css +9 -8
- package/dist/components/Tooltip/styles.css +1 -0
- package/dist/components/Tree/Tree.vue.d.ts.map +1 -1
- package/dist/components/Tree/styles.css +4 -2
- package/dist/components/TreeSelect/TreeSelectNodeItem.vue.d.ts +1 -1
- package/dist/components/TreeSelect/TreeSelectNodeItem.vue.d.ts.map +1 -1
- package/dist/components/TreeSelect/styles.css +38 -2
- package/dist/components/TreeSelect/types.d.ts +1 -1
- package/dist/components/TreeSelect/types.d.ts.map +1 -1
- package/dist/components/TreeTable/TreeTable.vue.d.ts.map +1 -1
- package/dist/components/TreeTable/TreeTableRow.vue.d.ts +1 -1
- package/dist/components/TreeTable/TreeTableRow.vue.d.ts.map +1 -1
- package/dist/components/TreeTable/styles.css +39 -6
- package/dist/{config-CI8_WBbE.js → config-Dln2-u_v.js} +7 -0
- package/dist/config-provider/index.js +1 -1
- package/dist/config-provider/style.css +159 -37
- package/dist/confirm-dialog/index.js +13 -13
- package/dist/confirm-dialog/style.css +217 -39
- package/dist/confirm-popup/index.js +8 -8
- package/dist/confirm-popup/style.css +168 -38
- package/dist/context-menu/index.js +3 -3
- package/dist/context-menu/style.css +167 -38
- package/dist/data-view/index.js +6 -6
- package/dist/data-view/style.css +163 -29
- package/dist/date-picker/index.js +8 -8
- package/dist/date-picker/style.css +171 -32
- package/dist/dialog/index.js +9 -9
- package/dist/dialog/style.css +215 -37
- package/dist/divider/style.css +156 -60
- package/dist/dock/style.css +167 -32
- package/dist/drawer/index.js +8 -8
- package/dist/drawer/style.css +206 -32
- package/dist/dropdown/index.js +4 -4
- package/dist/dropdown/style.css +178 -35
- package/dist/empty/index.js +54 -0
- package/dist/empty/style.css +1118 -0
- package/dist/empty/style.js +4 -0
- package/dist/fieldset/index.js +3 -3
- package/dist/fieldset/style.css +153 -29
- package/dist/file-upload/index.js +104 -105
- package/dist/file-upload/style.css +165 -32
- package/dist/flex/index.js +1 -1
- package/dist/flex/style.css +122 -30
- package/dist/float-label/style.css +129 -35
- package/dist/fluid/style.css +125 -29
- package/dist/form/index.js +1 -1
- package/dist/form/style.css +126 -30
- package/dist/gallery/index.js +5 -5
- package/dist/gallery/style.css +177 -34
- package/dist/grid/style.css +126 -32
- package/dist/icon/style.css +137 -28
- package/dist/icon-field/style.css +121 -28
- package/dist/index.d.ts +10 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2042 -1877
- package/dist/inplace/index.js +5 -5
- package/dist/inplace/style.css +131 -37
- package/dist/input/index.js +2 -2
- package/dist/input/style.css +145 -29
- package/dist/input-color/index.js +2 -2
- package/dist/input-color/style.css +147 -29
- package/dist/input-group/style.css +126 -32
- package/dist/input-number/index.js +2 -2
- package/dist/input-number/style.css +162 -30
- package/dist/input-otp/index.js +2 -2
- package/dist/input-otp/style.css +136 -35
- package/dist/input-password/index.js +2 -2
- package/dist/input-password/style.css +149 -30
- package/dist/input-tags/index.js +2 -2
- package/dist/input-tags/style.css +161 -28
- package/dist/knob/style.css +148 -41
- package/dist/label/style.css +123 -30
- package/dist/layout/index.js +54 -42
- package/dist/layout/style.css +224 -42
- package/dist/listbox/index.js +3 -3
- package/dist/listbox/style.css +160 -33
- package/dist/locale/en-US.d.ts.map +1 -1
- package/dist/locale/types.d.ts +7 -0
- package/dist/locale/types.d.ts.map +1 -1
- package/dist/locale/zh-CN.d.ts.map +1 -1
- package/dist/{locale-DYGhxekd.js → locale-DNYpTg5K.js} +1 -1
- package/dist/mega-menu/index.js +98 -98
- package/dist/mega-menu/style.css +147 -31
- package/dist/menu/index.js +44 -44
- package/dist/menu/style.css +209 -36
- package/dist/menubar/index.js +4 -4
- package/dist/menubar/style.css +172 -38
- package/dist/message/index.js +2 -2
- package/dist/message/style.css +180 -29
- package/dist/meter-group/style.css +121 -28
- package/dist/order-list/index.js +5 -5
- package/dist/order-list/style.css +137 -28
- package/dist/page/style.css +177 -54
- package/dist/pagination/index.js +1 -1
- package/dist/pagination/style.css +160 -29
- package/dist/panel/index.js +4 -4
- package/dist/panel/style.css +157 -29
- package/dist/pick-list/index.js +8 -8
- package/dist/pick-list/style.css +137 -28
- package/dist/popover/index.js +1 -1
- package/dist/popover/style.css +156 -31
- package/dist/progress-bar/style.css +141 -28
- package/dist/progress-spinner/index.js +1 -1
- package/dist/progress-spinner/style.css +140 -28
- package/dist/radio/index.js +4 -4
- package/dist/radio/style.css +130 -28
- package/dist/rating/index.js +4 -4
- package/dist/rating/style.css +151 -29
- package/dist/resolver-map.d.ts.map +1 -1
- package/dist/resolver.js +3 -0
- package/dist/result/index.js +74 -0
- package/dist/result/style.css +1126 -0
- package/dist/result/style.js +4 -0
- package/dist/scroll-top/index.js +2 -2
- package/dist/scroll-top/style.css +172 -33
- package/dist/scrollbar/index.js +1 -1
- package/dist/scrollbar/style.css +142 -32
- package/dist/select/index.js +8 -8
- package/dist/select/style.css +172 -43
- package/dist/select-button/index.js +5 -5
- package/dist/select-button/style.css +139 -30
- package/dist/shared/ScrollBody.vue.d.ts.map +1 -1
- package/dist/shared/useControllable.d.ts.map +1 -1
- package/dist/sidebar/index.js +1 -1
- package/dist/sidebar/style.css +157 -31
- package/dist/skeleton/style.css +132 -28
- package/dist/slider/index.js +2 -2
- package/dist/slider/style.css +140 -33
- package/dist/space/index.js +1 -1
- package/dist/space/style.css +123 -29
- package/dist/speed-dial/index.js +14 -14
- package/dist/speed-dial/style.css +157 -32
- package/dist/split-button/index.js +12 -12
- package/dist/split-button/style.css +197 -40
- package/dist/splitter/index.js +37 -37
- package/dist/splitter/style.css +127 -30
- package/dist/status/index.js +39 -0
- package/dist/status/style.css +1097 -0
- package/dist/status/style.js +3 -0
- package/dist/stepper/index.js +3 -3
- package/dist/stepper/style.css +156 -33
- package/dist/styles/base.css +95 -11
- package/dist/styles.css +1 -1
- package/dist/switch/index.js +1 -1
- package/dist/switch/style.css +155 -33
- package/dist/table/index.js +272 -275
- package/dist/table/style.css +248 -48
- package/dist/tabs/index.js +7 -7
- package/dist/tabs/style.css +192 -38
- package/dist/tag/index.js +2 -2
- package/dist/tag/style.css +150 -49
- package/dist/terminal/index.js +7 -7
- package/dist/terminal/style.css +128 -29
- package/dist/textarea/index.js +2 -2
- package/dist/textarea/style.css +153 -28
- package/dist/theme/styles.css +26 -17
- package/dist/tiered-menu/index.js +9 -9
- package/dist/tiered-menu/style.css +168 -38
- package/dist/timeline/index.js +1 -1
- package/dist/timeline/style.css +161 -35
- package/dist/toast/index.js +5 -5
- package/dist/toast/style.css +154 -29
- package/dist/toggle-button/index.js +1 -1
- package/dist/toggle-button/style.css +156 -29
- package/dist/toolbar/style.css +130 -36
- package/dist/tooltip/index.js +1 -1
- package/dist/tooltip/style.css +122 -28
- package/dist/tree/index.js +12 -12
- package/dist/tree/style.css +150 -30
- package/dist/tree-select/index.js +160 -160
- package/dist/tree-select/style.css +209 -36
- package/dist/tree-table/index.js +6 -6
- package/dist/tree-table/style.css +176 -34
- package/dist/virtual-scroller/index.js +1 -1
- package/dist/virtual-scroller/style.css +142 -32
- package/package.json +27 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,172 @@
|
|
|
1
1
|
# morya-ui
|
|
2
2
|
|
|
3
|
+
## 0.2.5
|
|
4
|
+
|
|
5
|
+
### 破坏性变更
|
|
6
|
+
|
|
7
|
+
- rebrand WiseKit to morya-ui with M-prefixed public API
|
|
8
|
+
- drop deprecated prop and CSS aliases
|
|
9
|
+
|
|
10
|
+
### 新功能
|
|
11
|
+
|
|
12
|
+
- export Empty, Result, and Status from the library
|
|
13
|
+
- add empty state component
|
|
14
|
+
- add result page component with locale strings
|
|
15
|
+
- add status indicator component
|
|
16
|
+
- extract guide page previews into demo SFCs
|
|
17
|
+
- extract component previews into shared demo SFCs
|
|
18
|
+
- support UnoCSS demos and markdown preview src=
|
|
19
|
+
- add new route for components demos page
|
|
20
|
+
- theme Tabs, Gallery, Timeline, and Textarea scrolling
|
|
21
|
+
- use MScrollbar in data and panel scroll surfaces
|
|
22
|
+
- theme popup and flyout scroll with MScrollbar
|
|
23
|
+
- use MScrollbar in dialogs, drawers, and popovers
|
|
24
|
+
- route layout scroll through MScrollbar
|
|
25
|
+
- add ScrollBody and FlyoutSubmenu for themed scrolling
|
|
26
|
+
- add page composition tooling for AI agents
|
|
27
|
+
- add MPage composition components for admin layouts
|
|
28
|
+
- add tooltip support for collapsed menu items
|
|
29
|
+
- link API table types to doc anchors
|
|
30
|
+
- add hybrid fallthrough attrs helpers
|
|
31
|
+
- enhance design token management and documentation
|
|
32
|
+
- add reduced motion policy support across components
|
|
33
|
+
- integrate WkScrollbar into AutoComplete, CascadeSelect, CommandMenu, and Listbox components
|
|
34
|
+
- enhance WkSelect component with scrollbar and max-height functionality
|
|
35
|
+
- rebrand to @wex-design/ui and reset release baseline to 0.0.1
|
|
36
|
+
- add SSR support for Nuxt, Astro, and Vite
|
|
37
|
+
- enhance admin management project with new components and feedback system
|
|
38
|
+
- enhance ConfirmDialog and Accordion components
|
|
39
|
+
- add design-system guardrails and shared primitives
|
|
40
|
+
- add admin management project with initial setup and configuration
|
|
41
|
+
- enhance Table component with scrollbar and styling improvements
|
|
42
|
+
- implement dynamic icon sizing across components
|
|
43
|
+
- enhance resource management and documentation in MCP
|
|
44
|
+
- add mobile sidebar drawer for docs and components
|
|
45
|
+
- add global site search with CommandMenu
|
|
46
|
+
- persist language in URL query
|
|
47
|
+
- add dedicated 404 page
|
|
48
|
+
- add favicon and meta description
|
|
49
|
+
- Harden MCP catalog tooling
|
|
50
|
+
- enhance package exports and sideEffects for improved component management
|
|
51
|
+
- add extra slot and enhance components in Accordion and AutoComplete
|
|
52
|
+
- enhance component defaults and improve configuration management
|
|
53
|
+
- add component registry import to index for improved component management
|
|
54
|
+
- enhance documentation and component registration for WellInsight
|
|
55
|
+
- enhance release process to include MCP build and version sync
|
|
56
|
+
- Add MCP server documentation and package reference
|
|
57
|
+
- bootstrap standalone @well-insight/ui component library
|
|
58
|
+
|
|
59
|
+
### 修复
|
|
60
|
+
|
|
61
|
+
- disable respect reduced motion for improved layout consistency
|
|
62
|
+
- tighten layout typing and demo typecheck
|
|
63
|
+
- improve dark semantic contrast and layout rem tokens
|
|
64
|
+
- import Scrollbar styles in on-demand component entries
|
|
65
|
+
- restore sider content opacity after MScrollbar
|
|
66
|
+
- leave Dialog and Drawer scroll to app code
|
|
67
|
+
- stop forcing MScrollbar on user-customizable regions
|
|
68
|
+
- register Page styles in global stylesheet
|
|
69
|
+
- support uncontrolled open and slot trigger
|
|
70
|
+
- rename Nuxt module to morya-ui-nuxt for npm publish
|
|
71
|
+
- restore wd compat import paths after bulk rename
|
|
72
|
+
- fix api with component
|
|
73
|
+
- unify suffix icons and Select clearable hover behavior
|
|
74
|
+
- restore DatePicker panel grid after teleport
|
|
75
|
+
- add invalid modifier class alongside error alias
|
|
76
|
+
- improve FloatLabel, Popover, and Slider
|
|
77
|
+
- scroll doc TOC inside WiScrollbar
|
|
78
|
+
- repair guide links and quick-start copy
|
|
79
|
+
- Fix layout header and footer padding axis
|
|
80
|
+
- Expose component-specific CSS variables and adjust layout defaults
|
|
81
|
+
- Add Configurable Layout Sizing And CSS Tokens
|
|
82
|
+
- Improve playground navigation styling
|
|
83
|
+
- Standardize Project Linting And Module Exports
|
|
84
|
+
- rename Wd to Wi in component library and documentation
|
|
85
|
+
|
|
86
|
+
### 文档
|
|
87
|
+
|
|
88
|
+
- note style polish and enable docs reduced-motion
|
|
89
|
+
- add AI setup and Agent Skill guides
|
|
90
|
+
- recommend npx @morya-ui/setup for one-shot onboarding
|
|
91
|
+
- move contributor guide out of the public docs site
|
|
92
|
+
- add type sections at end of component docs
|
|
93
|
+
- document shared types and type link conventions
|
|
94
|
+
- document pt props and trim attrs boilerplate
|
|
95
|
+
- add attrs and types guides with updated nav
|
|
96
|
+
- describe Vue 3 support with 3.5+ recommendation
|
|
97
|
+
- polish docs site home, changelog, and branding
|
|
98
|
+
- rebrand as open-source library with logo and README
|
|
99
|
+
- complete Events/Slots sections and remove migration guide
|
|
100
|
+
- add Events and a11y sections to high-traffic components
|
|
101
|
+
- rename Basic sections to 基础用法 in Chinese component docs
|
|
102
|
+
- add accessibility guide for playground
|
|
103
|
+
- expand menu and virtual scroller component pages
|
|
104
|
+
- add deprecated API migration guide
|
|
105
|
+
- Add UI MCP server and docs site links
|
|
106
|
+
- Update install docs to omit explicit Vue dependency
|
|
107
|
+
|
|
108
|
+
### 变更
|
|
109
|
+
|
|
110
|
+
- polish component styles and shared base motion
|
|
111
|
+
- refresh docs site visual polish
|
|
112
|
+
- remove redundant package declaration and update peer dependency rules
|
|
113
|
+
- regenerate design tokens for scrollbar-related CSS vars
|
|
114
|
+
- import additional styles for Card and Icon components
|
|
115
|
+
- improve submenu arrow icon and expand behavior
|
|
116
|
+
- update dataset keys from 'mu' to 'm' for consistency
|
|
117
|
+
- add component doc type section tooling
|
|
118
|
+
- add attrs audit and doc maintenance tooling
|
|
119
|
+
- apply hybrid attrs routing across library
|
|
120
|
+
- update documentation links to reflect new GitHub Pages URL
|
|
121
|
+
- rename satellite packages to @morya-ui scope
|
|
122
|
+
- migrate to Wk tokens and remove legacy compat layers
|
|
123
|
+
- rebrand to @wise-kit/ui and reset release baseline to 0.1.1
|
|
124
|
+
- update @roost-design/ui version in pnpm-lock.yaml and enhance SiteHeader component
|
|
125
|
+
- rebrand library to @roost-design/ui and reset version to 0.1.1
|
|
126
|
+
- update catalog generation timestamp and adjust component exports
|
|
127
|
+
- rebrand library from @wex-design/ui to @roost-design/ui
|
|
128
|
+
- reset release baseline to 0.1.1 with fresh changelog
|
|
129
|
+
- update Vue peer dependency and documentation references
|
|
130
|
+
- deploy docs site to GitHub Pages
|
|
131
|
+
- remove admin-manage-project from monorepo
|
|
132
|
+
- update check-docs-drift script and package.json
|
|
133
|
+
- update CHANGELOG for version 0.1.14
|
|
134
|
+
- update Table component to use columns and rows structure
|
|
135
|
+
- update Table component structure and improve functionality
|
|
136
|
+
- import Icon styles across multiple components
|
|
137
|
+
- enhance MobileSidebarShell and DocsView layout with improved flex properties
|
|
138
|
+
- unify clearable API across pickers (phase 6b)
|
|
139
|
+
- phase 6a icon unification and shared picker suffix
|
|
140
|
+
- split vendor chunks and replace eager markdown manifest
|
|
141
|
+
- add unit tests for 16 sub-components
|
|
142
|
+
- migrate remaining overlays to shared placement util
|
|
143
|
+
- add shared menu icon and key utilities
|
|
144
|
+
- replace hardcoded colors with design tokens
|
|
145
|
+
- migrate Select and Dropdown to shared overlay placement
|
|
146
|
+
- extract shared overlay placement utility
|
|
147
|
+
- lazy-load routes and markdown docs
|
|
148
|
+
- streamline MCP tools from 18 to 13
|
|
149
|
+
- Simplify layout components by removing custom scrollbar support and enhancing layout styles
|
|
150
|
+
- clean up whitespace in base.css for consistency
|
|
151
|
+
- Simplify package.json exports by removing development paths for styles and index files
|
|
152
|
+
- restructure release process and update documentation
|
|
153
|
+
|
|
154
|
+
## Unreleased
|
|
155
|
+
|
|
156
|
+
### 修复
|
|
157
|
+
|
|
158
|
+
- Dropdown / SplitButton 传送菜单层级改为 `--m-z-dropdown`(与 Select / Menu 一致)
|
|
159
|
+
- ProgressSpinner wrap 遮罩补局部 z-index,避免被内容盖住
|
|
160
|
+
- 暗色主题语义实心色(success / danger 等)加深,保证与 `--m-color-on-emphasis` 对比可读
|
|
161
|
+
- Button / Badge / 共享进出场 / Dialog / Drawer / Popover / Message / BlockUI 补齐 reduced-motion
|
|
162
|
+
- Layout 默认宽高改为 rem token;ScrollRegion 样式类型与 Scrollbar 对齐
|
|
163
|
+
- 文档站开启 `respect-reduced-motion`;修复 guide manifest 单测
|
|
164
|
+
|
|
165
|
+
### 变更
|
|
166
|
+
|
|
167
|
+
- 全库组件样式 polish(Batch 0–6):状态、token、反馈层级与布局细节
|
|
168
|
+
- Message / Toast `findDuplicate*` 补充显式返回类型
|
|
169
|
+
|
|
3
170
|
## 0.2.4
|
|
4
171
|
|
|
5
172
|
### 新功能
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as e, t } from "./types-DGuu4Eg4.js";
|
|
2
2
|
import { t as n } from "./Icon-DfpIfo2L.js";
|
|
3
|
-
import { o as r } from "./config-
|
|
3
|
+
import { o as r } from "./config-Dln2-u_v.js";
|
|
4
4
|
import { Comment as i, Fragment as a, Text as o, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createTextVNode as f, defineComponent as p, normalizeClass as m, normalizeStyle as h, openBlock as g, ref as _, renderSlot as v, resolveDynamicComponent as y, toDisplayString as b, useSlots as x } from "vue";
|
|
5
5
|
//#region src/components/Button/Button.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var S = [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./useComponentAttrs-BTYEe61P.js";
|
|
2
2
|
import { t } from "./useMId-BXFYayPP.js";
|
|
3
|
-
import { o as n } from "./config-
|
|
3
|
+
import { o as n } from "./config-Dln2-u_v.js";
|
|
4
4
|
import { computed as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createTextVNode as s, defineComponent as c, inject as l, mergeProps as u, openBlock as d, renderSlot as f, toDisplayString as p, unref as m, useAttrs as h } from "vue";
|
|
5
5
|
//#region src/components/Checkbox/types.ts
|
|
6
6
|
var g = Symbol("muCheckboxGroup"), _ = ["for"], v = [
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { n as e } from "./overlay-oR-5MDuE.js";
|
|
2
2
|
import { t } from "./overlayPlacement-Cd20JTD_.js";
|
|
3
|
-
import { c as n } from "./config-
|
|
3
|
+
import { c as n } from "./config-Dln2-u_v.js";
|
|
4
4
|
import { Teleport as r, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, defineComponent as c, nextTick as l, normalizeClass as u, normalizeStyle as d, onBeforeUnmount as f, openBlock as p, ref as m, renderSlot as h, watch as g } from "vue";
|
|
5
5
|
//#endregion
|
|
6
6
|
//#region src/shared/FlyoutSubmenu.vue
|
|
7
7
|
var _ = /* @__PURE__ */ c({
|
|
8
|
-
inheritAttrs: !1,
|
|
9
8
|
name: "MFlyoutSubmenu",
|
|
9
|
+
inheritAttrs: !1,
|
|
10
10
|
__name: "FlyoutSubmenu",
|
|
11
11
|
props: {
|
|
12
12
|
open: { type: Boolean },
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as e } from "./useComponentAttrs-BTYEe61P.js";
|
|
2
2
|
import { t } from "./Icon-DfpIfo2L.js";
|
|
3
|
-
import { n, t as r } from "./locale-
|
|
3
|
+
import { n, t as r } from "./locale-DNYpTg5K.js";
|
|
4
4
|
import { Fragment as i, computed as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, mergeProps as d, normalizeClass as f, openBlock as p, ref as m, renderList as h, toDisplayString as g, unref as _, useAttrs as v, withKeys as y, withModifiers as b } from "vue";
|
|
5
5
|
//#region src/components/Pagination/Pagination.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var x = ["aria-label"], S = ["disabled", "aria-label"], C = {
|
|
@@ -63,7 +63,7 @@ var x = ["aria-label"], S = ["disabled", "aria-label"], C = {
|
|
|
63
63
|
"update:pageSize"
|
|
64
64
|
],
|
|
65
65
|
setup(u, { expose: N, emit: P }) {
|
|
66
|
-
let F = u, I = v(), { rootAttrs:
|
|
66
|
+
let F = u, I = P, L = v(), { rootAttrs: R } = e(L, () => F.pt), z = n(), B = m(""), V = a(() => Math.max(1, F.pageSize ?? F.rows)), H = a(() => Math.max(1, Math.ceil(F.totalRecords / V.value))), U = a(() => Math.min(Math.max(1, F.modelValue), H.value)), W = a(() => (U.value - 1) * V.value), G = a(() => {
|
|
67
67
|
let e = Math.min(F.pageLinkSize, H.value), t = Math.min(Math.max(1, U.value - Math.floor(e / 2)), H.value - e + 1);
|
|
68
68
|
return Array.from({ length: e }, (e, n) => t + n);
|
|
69
69
|
}), K = a(() => {
|
|
@@ -72,13 +72,13 @@ var x = ["aria-label"], S = ["disabled", "aria-label"], C = {
|
|
|
72
72
|
});
|
|
73
73
|
function q(e) {
|
|
74
74
|
let t = Math.min(Math.max(1, e), H.value);
|
|
75
|
-
F.disabled || t === U.value || (
|
|
75
|
+
F.disabled || t === U.value || (I("update:modelValue", t), I("page", t));
|
|
76
76
|
}
|
|
77
77
|
function J(e) {
|
|
78
78
|
if (F.disabled || e === V.value) return;
|
|
79
|
-
|
|
79
|
+
I("update:rows", e), I("update:pageSize", e);
|
|
80
80
|
let t = Math.max(1, Math.ceil(F.totalRecords / e)), n = Math.min(U.value, t);
|
|
81
|
-
n !== U.value && (
|
|
81
|
+
n !== U.value && (I("update:modelValue", n), I("page", n));
|
|
82
82
|
}
|
|
83
83
|
function Y(e) {
|
|
84
84
|
let t = Number(e.target.value);
|
|
@@ -94,7 +94,7 @@ var x = ["aria-label"], S = ["disabled", "aria-label"], C = {
|
|
|
94
94
|
return N({
|
|
95
95
|
first: W,
|
|
96
96
|
pageCount: H
|
|
97
|
-
}), (e, n) => (p(), s("nav", d(_(
|
|
97
|
+
}), (e, n) => (p(), s("nav", d(_(R), {
|
|
98
98
|
class: ["m-pagination", { "m-pagination--simple": u.simple }],
|
|
99
99
|
"aria-label": _(z).pagination
|
|
100
100
|
}), [
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as e } from "./useComponentAttrs-BTYEe61P.js";
|
|
2
|
-
import { t } from "./
|
|
3
|
-
import {
|
|
4
|
-
import { t as i } from "./
|
|
5
|
-
import { c as a } from "./config-
|
|
2
|
+
import { n as t, t as n } from "./overlay-oR-5MDuE.js";
|
|
3
|
+
import { t as r } from "./overlayPlacement-Cd20JTD_.js";
|
|
4
|
+
import { t as i } from "./useMId-BXFYayPP.js";
|
|
5
|
+
import { c as a } from "./config-Dln2-u_v.js";
|
|
6
6
|
import { Teleport as o, Transition as s, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createVNode as p, defineComponent as m, mergeProps as ee, nextTick as te, normalizeClass as ne, normalizeStyle as h, onBeforeUnmount as g, openBlock as _, ref as v, renderSlot as y, unref as b, useAttrs as x, watch as S, withCtx as C } from "vue";
|
|
7
7
|
//#region src/components/Popover/Popover.vue?vue&type=script&setup=true&lang.ts
|
|
8
8
|
var w = ["aria-expanded", "aria-controls"], T = ["id"], E = /* @__PURE__ */ m({
|
|
@@ -34,9 +34,9 @@ var w = ["aria-expanded", "aria-controls"], T = ["id"], E = /* @__PURE__ */ m({
|
|
|
34
34
|
"hide"
|
|
35
35
|
],
|
|
36
36
|
setup(m, { expose: E, emit: re }) {
|
|
37
|
-
let D = m, O = x(), { rootAttrs:
|
|
37
|
+
let D = m, O = re, k = x(), { rootAttrs: A } = e(k, () => D.pt), j = a(), M = i(), N = v(null), P = v(null), F = v(null), I = v({}), L = c(() => t(D, j.value.appendTo)), R = c(() => n(D, j.value.appendTo)), z, B;
|
|
38
38
|
function V(e) {
|
|
39
|
-
e && D.disabled ||
|
|
39
|
+
e && D.disabled || O("update:modelValue", e);
|
|
40
40
|
}
|
|
41
41
|
function H() {
|
|
42
42
|
V(!0);
|
|
@@ -110,7 +110,7 @@ var w = ["aria-expanded", "aria-controls"], T = ["id"], E = /* @__PURE__ */ m({
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
function X() {
|
|
113
|
-
!R.value || !P.value || (I.value =
|
|
113
|
+
!R.value || !P.value || (I.value = r(P.value.getBoundingClientRect(), D.placement));
|
|
114
114
|
}
|
|
115
115
|
function Z(e) {
|
|
116
116
|
let t = e.target;
|
|
@@ -123,13 +123,13 @@ var w = ["aria-expanded", "aria-controls"], T = ["id"], E = /* @__PURE__ */ m({
|
|
|
123
123
|
D.modelValue && X();
|
|
124
124
|
}
|
|
125
125
|
return S(() => D.modelValue, async (e, t) => {
|
|
126
|
-
e ? (document.addEventListener("click", Z), document.addEventListener("keydown", Q), R.value && (window.addEventListener("resize", $), window.addEventListener("scroll", $, !0)),
|
|
126
|
+
e ? (document.addEventListener("click", Z), document.addEventListener("keydown", Q), R.value && (window.addEventListener("resize", $), window.addEventListener("scroll", $, !0)), O("show"), await te(), X()) : (document.removeEventListener("click", Z), document.removeEventListener("keydown", Q), window.removeEventListener("resize", $), window.removeEventListener("scroll", $, !0), t && O("hide"));
|
|
127
127
|
}, { immediate: !0 }), g(() => {
|
|
128
128
|
K(), document.removeEventListener("click", Z), document.removeEventListener("keydown", Q), window.removeEventListener("resize", $), window.removeEventListener("scroll", $, !0);
|
|
129
129
|
}), (e, t) => (_(), d("span", ee({
|
|
130
130
|
ref_key: "root",
|
|
131
131
|
ref: N
|
|
132
|
-
}, b(
|
|
132
|
+
}, b(A), {
|
|
133
133
|
class: "m-popover",
|
|
134
134
|
onMouseenter: J,
|
|
135
135
|
onMouseleave: Y
|
|
@@ -149,9 +149,9 @@ var w = ["aria-expanded", "aria-controls"], T = ["id"], E = /* @__PURE__ */ m({
|
|
|
149
149
|
}, [p(s, { name: "m-popover" }, {
|
|
150
150
|
default: C(() => [m.modelValue ? (_(), d("div", {
|
|
151
151
|
key: 0,
|
|
152
|
+
id: b(M),
|
|
152
153
|
ref_key: "panel",
|
|
153
154
|
ref: F,
|
|
154
|
-
id: b(M),
|
|
155
155
|
class: ne(["m-popover__content", [`m-popover__content--${m.placement}`, { "m-popover__content--teleported": R.value }]]),
|
|
156
156
|
style: h(R.value ? I.value : void 0),
|
|
157
157
|
role: "dialog",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as e } from "./useComponentAttrs-BTYEe61P.js";
|
|
2
2
|
import { i as t } from "./types-DGuu4Eg4.js";
|
|
3
|
-
import { n } from "./locale-
|
|
3
|
+
import { n } from "./locale-DNYpTg5K.js";
|
|
4
4
|
import { computed as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, defineComponent as s, mergeProps as c, normalizeClass as l, normalizeStyle as u, onBeforeUnmount as d, openBlock as f, ref as p, renderSlot as m, toDisplayString as h, unref as g, useAttrs as _, useSlots as v, watch as y } from "vue";
|
|
5
5
|
//#region src/components/ProgressSpinner/ProgressSpinner.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var b = ["aria-busy"], x = ["inert"], S = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./useComponentAttrs-BTYEe61P.js";
|
|
2
2
|
import { t } from "./useMId-BXFYayPP.js";
|
|
3
|
-
import { o as n } from "./config-
|
|
3
|
+
import { o as n } from "./config-Dln2-u_v.js";
|
|
4
4
|
import { computed as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createTextVNode as s, defineComponent as c, inject as l, mergeProps as u, openBlock as d, renderSlot as f, toDisplayString as p, unref as m, useAttrs as h } from "vue";
|
|
5
5
|
//#region src/components/Radio/types.ts
|
|
6
6
|
var g = Symbol("muRadioGroup"), _ = ["for"], v = [
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as e } from "./Scrollbar-
|
|
1
|
+
import { t as e } from "./Scrollbar-BYnCO8fv.js";
|
|
2
2
|
import { createBlock as t, defineComponent as n, normalizeClass as r, openBlock as i, ref as a, renderSlot as o, withCtx as s } from "vue";
|
|
3
3
|
//#endregion
|
|
4
4
|
//#region src/shared/ScrollBody.vue
|
|
5
5
|
var c = /* @__PURE__ */ n({
|
|
6
|
-
inheritAttrs: !1,
|
|
7
6
|
name: "MScrollBody",
|
|
7
|
+
inheritAttrs: !1,
|
|
8
8
|
__name: "ScrollBody",
|
|
9
9
|
props: {
|
|
10
10
|
rootClass: {},
|
|
@@ -34,11 +34,7 @@ var c = /* @__PURE__ */ n({
|
|
|
34
34
|
}), (a, c) => (i(), t(e, {
|
|
35
35
|
ref_key: "scrollbarRef",
|
|
36
36
|
ref: d,
|
|
37
|
-
class: r([
|
|
38
|
-
n.rootClass,
|
|
39
|
-
"m-scroll-body",
|
|
40
|
-
"m-scrollbar--fill"
|
|
41
|
-
]),
|
|
37
|
+
class: r(["m-scroll-body m-scrollbar--fill", [n.rootClass]]),
|
|
42
38
|
"wrap-class": n.wrapClass,
|
|
43
39
|
"wrap-style": n.wrapStyle,
|
|
44
40
|
"view-class": n.viewClass,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as e } from "./useComponentAttrs-BTYEe61P.js";
|
|
2
2
|
import { t } from "./useMId-BXFYayPP.js";
|
|
3
|
-
import { Fragment as n, Transition as r, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, inject as ee, mergeProps as d, nextTick as f, normalizeClass as p, normalizeStyle as m, onActivated as h, onBeforeUnmount as te, onMounted as g, onUpdated as _, openBlock as v, provide as y, reactive as b, ref as x, renderSlot as S, resolveDynamicComponent as C, unref as w, useAttrs as ne, vShow as T, watch as E, withCtx as re, withDirectives as
|
|
3
|
+
import { Fragment as n, Transition as r, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, inject as ee, mergeProps as d, nextTick as f, normalizeClass as p, normalizeStyle as m, onActivated as h, onBeforeUnmount as te, onMounted as g, onUpdated as _, openBlock as v, provide as y, reactive as b, ref as x, renderSlot as S, resolveDynamicComponent as C, unref as w, useAttrs as ne, vShow as T, watch as E, withCtx as re, withDirectives as D } from "vue";
|
|
4
4
|
//#region src/components/Scrollbar/constants.ts
|
|
5
|
-
var
|
|
5
|
+
var O = Symbol("muScrollbar"), ie = {
|
|
6
6
|
vertical: {
|
|
7
7
|
offset: "offsetHeight",
|
|
8
8
|
scroll: "scrollTop",
|
|
@@ -24,13 +24,13 @@ var D = Symbol("muScrollbar"), ae = {
|
|
|
24
24
|
direction: "left"
|
|
25
25
|
}
|
|
26
26
|
};
|
|
27
|
-
function
|
|
27
|
+
function k(e) {
|
|
28
28
|
if (e == null || e === "") return;
|
|
29
29
|
if (typeof e == "number") return `${e}px`;
|
|
30
30
|
let t = String(e).trim();
|
|
31
31
|
return /^\d+(\.\d+)?$/.test(t) ? `${t}px` : t;
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function ae({ move: e, size: t, bar: n }) {
|
|
34
34
|
return {
|
|
35
35
|
[n.size]: t,
|
|
36
36
|
transform: `translate${n.axis}(${e}%)`
|
|
@@ -54,15 +54,15 @@ var M = ["aria-orientation", "aria-controls"], N = /* @__PURE__ */ u({
|
|
|
54
54
|
always: { type: Boolean }
|
|
55
55
|
},
|
|
56
56
|
setup(e) {
|
|
57
|
-
let t = e, n = ee(
|
|
57
|
+
let t = e, n = ee(O);
|
|
58
58
|
if (!n) throw Error("[MScrollbar] Thumb must be used inside MScrollbar");
|
|
59
|
-
let o = n, s = x(), l = x(), u = x(!1), d = x({}), f = !1, h = !0, _ = 0, y = 0, b = null, S, C, ne = i(() => t.vertical ? "vertical" : "horizontal"),
|
|
59
|
+
let o = n, s = x(), l = x(), u = x(!1), d = x({}), f = !1, h = !0, _ = 0, y = 0, b = null, S, C, ne = i(() => t.vertical ? "vertical" : "horizontal"), k = i(() => ie[ne.value]), A = i(() => ae({
|
|
60
60
|
size: t.size,
|
|
61
61
|
move: t.move,
|
|
62
|
-
bar:
|
|
62
|
+
bar: k.value
|
|
63
63
|
})), j = i(() => t.always || u.value), N = i(() => {
|
|
64
64
|
let e = s.value, n = l.value, r = o.wrapElement;
|
|
65
|
-
return !e || !n || !r ? 1 : e[
|
|
65
|
+
return !e || !n || !r ? 1 : e[k.value.offset] ** 2 / r[k.value.scrollSize] / t.ratio / n[k.value.offset];
|
|
66
66
|
});
|
|
67
67
|
function P() {
|
|
68
68
|
typeof document > "u" || document.onselectstart !== b && (document.onselectstart = b);
|
|
@@ -70,13 +70,13 @@ var M = ["aria-orientation", "aria-controls"], N = /* @__PURE__ */ u({
|
|
|
70
70
|
function F(e) {
|
|
71
71
|
let t = s.value, n = l.value, r = o.wrapElement;
|
|
72
72
|
if (!f || !t || !n || !r) return;
|
|
73
|
-
let i = d.value[
|
|
73
|
+
let i = d.value[k.value.axis];
|
|
74
74
|
if (!i) return;
|
|
75
|
-
let a = ((t.getBoundingClientRect()[
|
|
76
|
-
|
|
75
|
+
let a = ((t.getBoundingClientRect()[k.value.direction] - e[k.value.client]) * -1 - (n[k.value.offset] - i)) * 100 * N.value / t[k.value.offset];
|
|
76
|
+
k.value.scroll === "scrollLeft" ? r.scrollLeft = a * y / 100 : r.scrollTop = a * _ / 100;
|
|
77
77
|
}
|
|
78
78
|
function I() {
|
|
79
|
-
f = !1, d.value[
|
|
79
|
+
f = !1, d.value[k.value.axis] = 0, document.removeEventListener("mousemove", F), document.removeEventListener("mouseup", I), P(), h && (u.value = !1);
|
|
80
80
|
}
|
|
81
81
|
function L(e) {
|
|
82
82
|
let t = o.wrapElement;
|
|
@@ -86,13 +86,13 @@ var M = ["aria-orientation", "aria-controls"], N = /* @__PURE__ */ u({
|
|
|
86
86
|
if (e.stopPropagation(), e.ctrlKey || [1, 2].includes(e.button)) return;
|
|
87
87
|
window.getSelection()?.removeAllRanges(), L(e);
|
|
88
88
|
let t = e.currentTarget;
|
|
89
|
-
t && (d.value[
|
|
89
|
+
t && (d.value[k.value.axis] = t[k.value.offset] - (e[k.value.client] - t.getBoundingClientRect()[k.value.direction]));
|
|
90
90
|
}
|
|
91
91
|
function z(e) {
|
|
92
92
|
let t = s.value, n = l.value, r = o.wrapElement;
|
|
93
93
|
if (!t || !n || !r) return;
|
|
94
|
-
let i = (Math.abs(e.target.getBoundingClientRect()[
|
|
95
|
-
r[
|
|
94
|
+
let i = (Math.abs(e.target.getBoundingClientRect()[k.value.direction] - e[k.value.client]) - n[k.value.offset] / 2) * 100 * N.value / t[k.value.offset];
|
|
95
|
+
r[k.value.scroll] = i * r[k.value.scrollSize] / 100;
|
|
96
96
|
}
|
|
97
97
|
function B(e) {
|
|
98
98
|
let n = o.wrapElement;
|
|
@@ -150,7 +150,7 @@ var M = ["aria-orientation", "aria-controls"], N = /* @__PURE__ */ u({
|
|
|
150
150
|
}), te(() => {
|
|
151
151
|
P(), document.removeEventListener("mousemove", F), document.removeEventListener("mouseup", I), S?.(), C?.();
|
|
152
152
|
}), (t, n) => (v(), a(r, { name: "m-scrollbar-fade" }, {
|
|
153
|
-
default: re(() => [
|
|
153
|
+
default: re(() => [D(c("div", {
|
|
154
154
|
ref_key: "trackRef",
|
|
155
155
|
ref: s,
|
|
156
156
|
class: p(["m-scrollbar__bar", e.vertical ? "m-scrollbar__bar--vertical" : "m-scrollbar__bar--horizontal"]),
|
|
@@ -222,7 +222,7 @@ var M = ["aria-orientation", "aria-controls"], N = /* @__PURE__ */ u({
|
|
|
222
222
|
},
|
|
223
223
|
emits: ["scroll", "end-reached"],
|
|
224
224
|
setup(r, { expose: u, emit: ee }) {
|
|
225
|
-
let T = r, ie = ne(), { rootAttrs: ae } = e(ie, () => T.pt),
|
|
225
|
+
let T = r, D = ee, ie = ne(), { rootAttrs: ae } = e(ie, () => T.pt), M = x(), F = x(), I = x(), L = x(0), R = x(0), z = x(""), B = x(""), V = x(1), H = x(1), U = t("m-scrollbar-view"), oe = i(() => T.id ?? U), W = 0, G = 0, K = "", q = 0, J, Y = {
|
|
226
226
|
bottom: !1,
|
|
227
227
|
top: !1,
|
|
228
228
|
right: !1,
|
|
@@ -232,16 +232,16 @@ var M = ["aria-orientation", "aria-controls"], N = /* @__PURE__ */ u({
|
|
|
232
232
|
bottom: "top",
|
|
233
233
|
left: "right",
|
|
234
234
|
right: "left"
|
|
235
|
-
}, ce = i(() => !!
|
|
235
|
+
}, ce = i(() => !!k(T.maxHeight) || !!k(T.maxWidth));
|
|
236
236
|
function X(e, t, n, r) {
|
|
237
237
|
let i = t === "height" ? "minHeight" : "minWidth";
|
|
238
238
|
n && (e[t] = n), r && (e[t === "height" ? "maxHeight" : "maxWidth"] = r, n || (e[t] = "auto", e[i] = "0"));
|
|
239
239
|
}
|
|
240
240
|
let le = i(() => {
|
|
241
241
|
let e = {};
|
|
242
|
-
return X(e, "height",
|
|
242
|
+
return X(e, "height", k(T.height), k(T.maxHeight)), X(e, "width", k(T.width), k(T.maxWidth)), e;
|
|
243
243
|
}), ue = i(() => {
|
|
244
|
-
let e = {}, t =
|
|
244
|
+
let e = {}, t = k(T.height), n = k(T.maxHeight), r = k(T.width), i = k(T.maxWidth);
|
|
245
245
|
return t ? e.height = t : n && X(e, "height", void 0, n), r ? e.width = r : i && X(e, "width", void 0, i), [T.wrapStyle, e];
|
|
246
246
|
}), de = i(() => [
|
|
247
247
|
"m-scrollbar",
|
|
@@ -252,7 +252,7 @@ var M = ["aria-orientation", "aria-controls"], N = /* @__PURE__ */ u({
|
|
|
252
252
|
T.wrapClass,
|
|
253
253
|
{ "m-scrollbar__wrap--hidden-default": !T.native }
|
|
254
254
|
]), pe = i(() => ["m-scrollbar__view", T.viewClass]), me = i(() => !!(T.always || T.trigger === "none"));
|
|
255
|
-
y(
|
|
255
|
+
y(O, b({
|
|
256
256
|
scrollbarElement: M,
|
|
257
257
|
wrapElement: F,
|
|
258
258
|
contentId: oe
|
|
@@ -289,14 +289,14 @@ var M = ["aria-orientation", "aria-controls"], N = /* @__PURE__ */ u({
|
|
|
289
289
|
right: !_e(e.scrollWidth - T.distance, e.clientWidth + G) && n !== G,
|
|
290
290
|
left: G <= T.distance && n !== 0
|
|
291
291
|
};
|
|
292
|
-
if (
|
|
292
|
+
if (D("scroll", {
|
|
293
293
|
scrollTop: W,
|
|
294
294
|
scrollLeft: G
|
|
295
295
|
}), t !== W && (K = W > t ? "bottom" : "top"), n !== G && (K = G > n ? "right" : "left"), T.distance > 0) {
|
|
296
296
|
if (ve(K)) return;
|
|
297
297
|
ye(r);
|
|
298
298
|
}
|
|
299
|
-
r[K] &&
|
|
299
|
+
r[K] && D("end-reached", K);
|
|
300
300
|
}
|
|
301
301
|
function Z() {
|
|
302
302
|
T.native || (ge(), Y[K] = !1, F.value && he(F.value));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n
|
|
3
|
-
import {
|
|
4
|
-
import { c as a } from "./config-
|
|
1
|
+
import { n as e, t } from "./overlay-oR-5MDuE.js";
|
|
2
|
+
import { n, t as r } from "./overlayPlacement-Cd20JTD_.js";
|
|
3
|
+
import { t as i } from "./useMId-BXFYayPP.js";
|
|
4
|
+
import { c as a } from "./config-Dln2-u_v.js";
|
|
5
5
|
import { Teleport as o, Transition as s, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createVNode as f, defineComponent as p, nextTick as m, normalizeClass as h, normalizeStyle as g, onBeforeUnmount as _, openBlock as v, ref as y, renderSlot as b, toDisplayString as x, unref as S, watch as C, withCtx as w } from "vue";
|
|
6
6
|
//#region src/components/Tooltip/Tooltip.vue?vue&type=script&setup=true&lang.ts
|
|
7
7
|
var T = ["aria-describedby"], E = ["id"], D = /* @__PURE__ */ p({
|
|
@@ -23,12 +23,12 @@ var T = ["aria-describedby"], E = ["id"], D = /* @__PURE__ */ p({
|
|
|
23
23
|
appendTo: {}
|
|
24
24
|
},
|
|
25
25
|
setup(p) {
|
|
26
|
-
let D = p, O = a(), k = y(null), A =
|
|
26
|
+
let D = p, O = a(), k = y(null), A = i(), j = y(!1), M = y({}), N = c(() => e(D, O.value.appendTo)), P = c(() => t(D, O.value.appendTo)), F = null, I = null;
|
|
27
27
|
function L() {
|
|
28
28
|
F !== null && (clearTimeout(F), F = null), I !== null && (clearTimeout(I), I = null);
|
|
29
29
|
}
|
|
30
30
|
function R() {
|
|
31
|
-
!P.value || !k.value || (M.value =
|
|
31
|
+
!P.value || !k.value || (M.value = r(k.value.getBoundingClientRect(), D.placement, { maxWidth: n(D.maxWidth) }));
|
|
32
32
|
}
|
|
33
33
|
function z() {
|
|
34
34
|
j.value = !0, m(R);
|
|
@@ -62,7 +62,7 @@ var T = ["aria-describedby"], E = ["id"], D = /* @__PURE__ */ p({
|
|
|
62
62
|
L(), window.removeEventListener("resize", H), window.removeEventListener("scroll", H, !0);
|
|
63
63
|
});
|
|
64
64
|
let U = c(() => {
|
|
65
|
-
let e =
|
|
65
|
+
let e = n(D.maxWidth);
|
|
66
66
|
return P.value ? M.value : e ? { maxWidth: e } : void 0;
|
|
67
67
|
});
|
|
68
68
|
return (e, t) => (v(), d("span", {
|
package/dist/accordion/index.js
CHANGED
|
@@ -24,14 +24,14 @@ var y = [
|
|
|
24
24
|
},
|
|
25
25
|
emits: ["update:modelValue"],
|
|
26
26
|
setup(s, { emit: S }) {
|
|
27
|
-
let C = s, w = h(), { rootAttrs:
|
|
27
|
+
let C = s, w = S, T = h(), { rootAttrs: E } = e(T, () => C.pt);
|
|
28
28
|
function D() {
|
|
29
29
|
return C.defaultValue === void 0 ? C.multiple ? [] : "" : C.defaultValue;
|
|
30
30
|
}
|
|
31
31
|
let { value: O, setValue: k } = t({
|
|
32
32
|
controlled: () => C.modelValue,
|
|
33
33
|
defaultValue: D()
|
|
34
|
-
}, (e) =>
|
|
34
|
+
}, (e) => w("update:modelValue", e)), A = r(() => {
|
|
35
35
|
let e = O.value;
|
|
36
36
|
return C.multiple ? Array.isArray(e) ? e : e ? [e] : [] : Array.isArray(e) ? e[0] ? [e[0]] : [] : e ? [e] : [];
|
|
37
37
|
});
|
|
@@ -54,7 +54,7 @@ var y = [
|
|
|
54
54
|
k(j(e) ? "" : e);
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
|
-
return (e, t) => (u(), a("div", c(m(
|
|
57
|
+
return (e, t) => (u(), a("div", c(m(E), { class: "m-accordion" }), [(u(!0), a(n, null, d(s.tabs, (n) => (u(), a("div", {
|
|
58
58
|
key: n.value,
|
|
59
59
|
class: "m-accordion__tab"
|
|
60
60
|
}, [o("button", {
|