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
|
@@ -38,8 +38,12 @@
|
|
|
38
38
|
--m-shadow-sm: 0 1px 2px rgb(15 23 42 / 0.25);
|
|
39
39
|
--m-shadow-md: 0 0.75rem 2rem rgb(15 23 42 / 0.16);
|
|
40
40
|
--m-shadow-lg: 0 1rem 3rem rgb(15 23 42 / 0.25);
|
|
41
|
-
--m-shadow-
|
|
42
|
-
|
|
41
|
+
--m-shadow-raised: 0 0.25rem 0.75rem
|
|
42
|
+
color-mix(in srgb, var(--m-color-text) 14%, transparent);
|
|
43
|
+
--m-shadow-sticky: 4px 0 8px
|
|
44
|
+
color-mix(in srgb, var(--m-color-text) 6%, transparent);
|
|
45
|
+
--m-shadow-sticky-end: -4px 0 8px
|
|
46
|
+
color-mix(in srgb, var(--m-color-text) 6%, transparent);
|
|
43
47
|
|
|
44
48
|
/* Typography scale (component text, not control-height fonts) */
|
|
45
49
|
--m-font-size-xs: 0.75rem;
|
|
@@ -204,29 +208,29 @@
|
|
|
204
208
|
}
|
|
205
209
|
|
|
206
210
|
[data-m-density="compact"] .m-layout-header {
|
|
207
|
-
--m-layout-header-height:
|
|
211
|
+
--m-layout-header-height: 3rem;
|
|
208
212
|
}
|
|
209
213
|
|
|
210
214
|
[data-m-density="compact"] .m-layout-footer {
|
|
211
|
-
--m-layout-footer-height:
|
|
215
|
+
--m-layout-footer-height: 2.5rem;
|
|
212
216
|
}
|
|
213
217
|
|
|
214
218
|
[data-m-density="compact"] .m-layout-sider {
|
|
215
|
-
--m-layout-sider-width:
|
|
216
|
-
--m-layout-sider-collapsed-width:
|
|
219
|
+
--m-layout-sider-width: 15rem;
|
|
220
|
+
--m-layout-sider-collapsed-width: 3.25rem;
|
|
217
221
|
}
|
|
218
222
|
|
|
219
223
|
[data-m-density="spacious"] .m-layout-header {
|
|
220
|
-
--m-layout-header-height:
|
|
224
|
+
--m-layout-header-height: 4rem;
|
|
221
225
|
}
|
|
222
226
|
|
|
223
227
|
[data-m-density="spacious"] .m-layout-footer {
|
|
224
|
-
--m-layout-footer-height:
|
|
228
|
+
--m-layout-footer-height: 3.5rem;
|
|
225
229
|
}
|
|
226
230
|
|
|
227
231
|
[data-m-density="spacious"] .m-layout-sider {
|
|
228
|
-
--m-layout-sider-width:
|
|
229
|
-
--m-layout-sider-collapsed-width:
|
|
232
|
+
--m-layout-sider-width: 18rem;
|
|
233
|
+
--m-layout-sider-collapsed-width: 4.5rem;
|
|
230
234
|
}
|
|
231
235
|
|
|
232
236
|
[data-theme="dark"] {
|
|
@@ -241,12 +245,13 @@
|
|
|
241
245
|
color-mix(in srgb, var(--m-color-primary) 28%, transparent);
|
|
242
246
|
--m-focus-shadow-danger: 0 0 0 2px
|
|
243
247
|
color-mix(in srgb, var(--m-color-danger) 28%, transparent);
|
|
244
|
-
--m-color-
|
|
245
|
-
--m-color-
|
|
246
|
-
--m-color-
|
|
248
|
+
/* Mid solids: keep ≥~4.5:1 with --m-color-on-emphasis on dark surfaces */
|
|
249
|
+
--m-color-success: #0f766e;
|
|
250
|
+
--m-color-info: #1d4ed8;
|
|
251
|
+
--m-color-warning: #b45309;
|
|
247
252
|
--m-color-warn: var(--m-color-warning);
|
|
248
|
-
--m-color-help: #
|
|
249
|
-
--m-color-danger: #
|
|
253
|
+
--m-color-help: #7e22ce;
|
|
254
|
+
--m-color-danger: #dc2626;
|
|
250
255
|
--m-color-contrast: #f8fafc;
|
|
251
256
|
--m-color-contrast-fg: #0f172a;
|
|
252
257
|
--m-color-contrast-hover: #e2e8f0;
|
|
@@ -255,8 +260,12 @@
|
|
|
255
260
|
--m-shadow-sm: 0 1px 2px rgb(0 0 0 / 0.45);
|
|
256
261
|
--m-shadow-md: 0 0.75rem 2rem rgb(0 0 0 / 0.45);
|
|
257
262
|
--m-shadow-lg: 0 1rem 3rem rgb(0 0 0 / 0.55);
|
|
258
|
-
--m-shadow-
|
|
259
|
-
|
|
263
|
+
--m-shadow-raised: 0 0.25rem 0.75rem
|
|
264
|
+
color-mix(in srgb, var(--m-color-text) 22%, transparent);
|
|
265
|
+
--m-shadow-sticky: 4px 0 8px
|
|
266
|
+
color-mix(in srgb, #000 35%, transparent);
|
|
267
|
+
--m-shadow-sticky-end: -4px 0 8px
|
|
268
|
+
color-mix(in srgb, #000 35%, transparent);
|
|
260
269
|
|
|
261
270
|
--m-table-border-color: color-mix(in srgb, var(--m-color-border) 88%, var(--m-color-text));
|
|
262
271
|
--m-color-fill-light: color-mix(in srgb, var(--m-color-text) 10%, var(--m-color-surface));
|
|
@@ -297,13 +306,20 @@
|
|
|
297
306
|
.m-splitter,
|
|
298
307
|
.m-stepper,
|
|
299
308
|
.m-toolbar,
|
|
309
|
+
.m-page-content,
|
|
310
|
+
.m-page-header,
|
|
311
|
+
.m-page-toolbar,
|
|
300
312
|
.m-menu,
|
|
301
313
|
.m-menubar,
|
|
302
314
|
.m-contextmenu,
|
|
303
315
|
.m-tieredmenu,
|
|
316
|
+
.m-dropdown,
|
|
317
|
+
.m-breadcrumb,
|
|
318
|
+
.m-tabs,
|
|
304
319
|
.m-datepicker,
|
|
305
320
|
.m-listbox,
|
|
306
321
|
.m-togglebutton,
|
|
322
|
+
.m-selectbutton,
|
|
307
323
|
.m-inputotp,
|
|
308
324
|
.m-knob,
|
|
309
325
|
.m-autocomplete,
|
|
@@ -315,6 +331,12 @@
|
|
|
315
331
|
.m-scrolltop,
|
|
316
332
|
.m-blockui,
|
|
317
333
|
.m-inplace,
|
|
334
|
+
.m-message,
|
|
335
|
+
.m-toast,
|
|
336
|
+
.m-tooltip,
|
|
337
|
+
.m-empty,
|
|
338
|
+
.m-result,
|
|
339
|
+
.m-progress-spinner,
|
|
318
340
|
.m-cascadeselect,
|
|
319
341
|
.m-treeselect,
|
|
320
342
|
.m-inputcolor,
|
|
@@ -340,11 +362,27 @@
|
|
|
340
362
|
}
|
|
341
363
|
|
|
342
364
|
.m-button:disabled,
|
|
343
|
-
.m-input:disabled
|
|
365
|
+
.m-input:disabled,
|
|
366
|
+
.m-password__input:disabled,
|
|
367
|
+
.m-inputnumber__input:disabled,
|
|
368
|
+
.m-inputotp__input:disabled,
|
|
369
|
+
.m-inputcolor__text:disabled,
|
|
370
|
+
.m-inputcolor__swatch:disabled,
|
|
371
|
+
.m-inputtags--disabled {
|
|
344
372
|
cursor: not-allowed;
|
|
345
373
|
opacity: var(--m-opacity-disabled);
|
|
346
374
|
}
|
|
347
375
|
|
|
376
|
+
.m-input::placeholder,
|
|
377
|
+
.m-textarea::placeholder,
|
|
378
|
+
.m-password__input::placeholder,
|
|
379
|
+
.m-inputnumber__input::placeholder,
|
|
380
|
+
.m-inputtags__input::placeholder,
|
|
381
|
+
.m-inputcolor__text::placeholder {
|
|
382
|
+
color: var(--m-color-text-muted);
|
|
383
|
+
opacity: 1;
|
|
384
|
+
}
|
|
385
|
+
|
|
348
386
|
.m-input-field__meta,
|
|
349
387
|
.m-textarea-field__meta,
|
|
350
388
|
.m-password-field__meta {
|
|
@@ -460,6 +498,50 @@
|
|
|
460
498
|
transform: translateY(calc(var(--m-motion-distance) * -1));
|
|
461
499
|
}
|
|
462
500
|
|
|
501
|
+
@media (prefers-reduced-motion: reduce) {
|
|
502
|
+
html:not([data-m-ignore-reduced-motion]) .m-fade-enter-active,
|
|
503
|
+
html:not([data-m-ignore-reduced-motion]) .m-fade-leave-active,
|
|
504
|
+
html:not([data-m-ignore-reduced-motion]) .m-scale-fade-enter-active,
|
|
505
|
+
html:not([data-m-ignore-reduced-motion]) .m-scale-fade-leave-active,
|
|
506
|
+
html:not([data-m-ignore-reduced-motion]) .m-slide-fade-enter-active,
|
|
507
|
+
html:not([data-m-ignore-reduced-motion]) .m-slide-fade-leave-active {
|
|
508
|
+
transition: none;
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
html:not([data-m-ignore-reduced-motion]) .m-scale-fade-enter-from,
|
|
512
|
+
html:not([data-m-ignore-reduced-motion]) .m-scale-fade-leave-to,
|
|
513
|
+
html:not([data-m-ignore-reduced-motion]) .m-slide-fade-enter-from,
|
|
514
|
+
html:not([data-m-ignore-reduced-motion]) .m-slide-fade-leave-to {
|
|
515
|
+
transform: none;
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
[data-m-motion="reduced"] .m-fade-enter-active,
|
|
520
|
+
[data-m-motion="reduced"] .m-fade-leave-active,
|
|
521
|
+
[data-m-motion="reduced"] .m-scale-fade-enter-active,
|
|
522
|
+
[data-m-motion="reduced"] .m-scale-fade-leave-active,
|
|
523
|
+
[data-m-motion="reduced"] .m-slide-fade-enter-active,
|
|
524
|
+
[data-m-motion="reduced"] .m-slide-fade-leave-active,
|
|
525
|
+
[data-m-motion="none"] .m-fade-enter-active,
|
|
526
|
+
[data-m-motion="none"] .m-fade-leave-active,
|
|
527
|
+
[data-m-motion="none"] .m-scale-fade-enter-active,
|
|
528
|
+
[data-m-motion="none"] .m-scale-fade-leave-active,
|
|
529
|
+
[data-m-motion="none"] .m-slide-fade-enter-active,
|
|
530
|
+
[data-m-motion="none"] .m-slide-fade-leave-active {
|
|
531
|
+
transition: none;
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
[data-m-motion="reduced"] .m-scale-fade-enter-from,
|
|
535
|
+
[data-m-motion="reduced"] .m-scale-fade-leave-to,
|
|
536
|
+
[data-m-motion="reduced"] .m-slide-fade-enter-from,
|
|
537
|
+
[data-m-motion="reduced"] .m-slide-fade-leave-to,
|
|
538
|
+
[data-m-motion="none"] .m-scale-fade-enter-from,
|
|
539
|
+
[data-m-motion="none"] .m-scale-fade-leave-to,
|
|
540
|
+
[data-m-motion="none"] .m-slide-fade-enter-from,
|
|
541
|
+
[data-m-motion="none"] .m-slide-fade-leave-to {
|
|
542
|
+
transform: none;
|
|
543
|
+
}
|
|
544
|
+
|
|
463
545
|
/* Shared loading spinner rotation (ProgressSpinner, Switch, ProgressBar, AutoComplete) */
|
|
464
546
|
@keyframes m-progress-spinner-rotate {
|
|
465
547
|
100% {
|
|
@@ -518,7 +600,8 @@
|
|
|
518
600
|
justify-content: center;
|
|
519
601
|
transition:
|
|
520
602
|
background-color var(--m-motion-fast) var(--m-motion-ease),
|
|
521
|
-
border-color var(--m-motion-fast) var(--m-motion-ease)
|
|
603
|
+
border-color var(--m-motion-fast) var(--m-motion-ease),
|
|
604
|
+
box-shadow var(--m-motion-fast) var(--m-motion-ease);
|
|
522
605
|
width: var(--m-checkbox-control-size, 1.125rem);
|
|
523
606
|
}
|
|
524
607
|
|
|
@@ -565,6 +648,7 @@
|
|
|
565
648
|
.m-textarea-field__label,
|
|
566
649
|
.m-select-field__label {
|
|
567
650
|
color: var(--m-color-text);
|
|
651
|
+
font-family: var(--m-font-sans);
|
|
568
652
|
font-size: var(--m-font-size-md);
|
|
569
653
|
font-weight: 600;
|
|
570
654
|
}
|
|
@@ -609,7 +693,7 @@
|
|
|
609
693
|
}
|
|
610
694
|
|
|
611
695
|
.m-icon-field--left :is(.m-input, .m-password__input, .m-inputnumber__input, input) {
|
|
612
|
-
padding-left:
|
|
696
|
+
padding-left: var(--m-control-affix-padding);
|
|
613
697
|
}
|
|
614
698
|
|
|
615
699
|
.m-icon-field--right :is(.m-input, .m-password__input, .m-inputnumber__input, input) {
|
|
@@ -662,7 +746,7 @@
|
|
|
662
746
|
.m-inputgroup > .m-inputgroup-addon + .m-input-field .m-input,
|
|
663
747
|
.m-inputgroup > .m-input + .m-inputgroup-addon,
|
|
664
748
|
.m-inputgroup > .m-input-field + .m-inputgroup-addon {
|
|
665
|
-
margin-left: -
|
|
749
|
+
margin-left: calc(var(--m-border-width) * -1);
|
|
666
750
|
}
|
|
667
751
|
|
|
668
752
|
.m-layout__scrollbar > .m-scrollbar__wrap {
|
|
@@ -712,12 +796,18 @@
|
|
|
712
796
|
padding: var(--m-space-1) var(--m-space-2);
|
|
713
797
|
}
|
|
714
798
|
|
|
715
|
-
.m-orderlist__btn:hover,
|
|
716
|
-
.m-picklist__btn:hover {
|
|
799
|
+
.m-orderlist__btn:hover:not(:disabled),
|
|
800
|
+
.m-picklist__btn:hover:not(:disabled) {
|
|
717
801
|
border-color: var(--m-color-primary);
|
|
718
802
|
color: var(--m-color-primary);
|
|
719
803
|
}
|
|
720
804
|
|
|
805
|
+
.m-orderlist__btn:disabled,
|
|
806
|
+
.m-picklist__btn:disabled {
|
|
807
|
+
cursor: not-allowed;
|
|
808
|
+
opacity: var(--m-opacity-disabled);
|
|
809
|
+
}
|
|
810
|
+
|
|
721
811
|
.m-orderlist__btn:focus-visible,
|
|
722
812
|
.m-picklist__btn:focus-visible {
|
|
723
813
|
border-color: var(--m-color-primary);
|
|
@@ -831,7 +921,10 @@
|
|
|
831
921
|
|
|
832
922
|
.m-inputnumber--invalid .m-inputnumber__input:focus-visible,
|
|
833
923
|
.m-password--invalid .m-password__input:focus-visible,
|
|
834
|
-
.m-datepicker--invalid .m-datepicker__input:focus-visible
|
|
924
|
+
.m-datepicker--invalid .m-datepicker__input:focus-visible,
|
|
925
|
+
.m-inputotp--invalid .m-inputotp__input:focus-visible,
|
|
926
|
+
.m-inputtags--invalid:focus-within,
|
|
927
|
+
.m-inputcolor--invalid .m-inputcolor__text:focus-visible {
|
|
835
928
|
border-color: var(--m-color-danger);
|
|
836
929
|
box-shadow: var(--m-focus-shadow-danger);
|
|
837
930
|
}
|
|
@@ -875,14 +968,14 @@
|
|
|
875
968
|
}
|
|
876
969
|
|
|
877
970
|
[data-m-motion="reduced"] .m-progress-spinner,
|
|
878
|
-
[data-m-motion="reduced"] .m-progress-
|
|
971
|
+
[data-m-motion="reduced"] .m-progress-spinner__circle,
|
|
879
972
|
[data-m-motion="reduced"] .m-skeleton,
|
|
880
|
-
[data-m-motion="reduced"] .m-badge--
|
|
973
|
+
[data-m-motion="reduced"] .m-badge--processing,
|
|
881
974
|
[data-m-motion="reduced"] .m-icon--spin,
|
|
882
|
-
[data-m-motion="reduced"] .m-
|
|
975
|
+
[data-m-motion="reduced"] .m-button__spinner,
|
|
883
976
|
[data-m-motion="reduced"] .m-select__loading-icon,
|
|
884
977
|
[data-m-motion="reduced"] .m-switch__loading-icon {
|
|
885
|
-
animation
|
|
978
|
+
animation: none !important;
|
|
886
979
|
}
|
|
887
980
|
|
|
888
981
|
@media (prefers-reduced-motion: reduce) {
|
|
@@ -927,6 +1020,7 @@
|
|
|
927
1020
|
cursor: pointer;
|
|
928
1021
|
display: inline-flex;
|
|
929
1022
|
flex-direction: row;
|
|
1023
|
+
font-family: var(--m-font-sans);
|
|
930
1024
|
font-size: var(--m-control-font-medium);
|
|
931
1025
|
font-weight: 600;
|
|
932
1026
|
gap: var(--m-space-2);
|
|
@@ -939,7 +1033,8 @@
|
|
|
939
1033
|
background-color var(--m-motion-fast) var(--m-motion-ease),
|
|
940
1034
|
border-color var(--m-motion-fast) var(--m-motion-ease),
|
|
941
1035
|
color var(--m-motion-fast) var(--m-motion-ease),
|
|
942
|
-
box-shadow var(--m-motion-fast) var(--m-motion-ease)
|
|
1036
|
+
box-shadow var(--m-motion-fast) var(--m-motion-ease),
|
|
1037
|
+
opacity var(--m-motion-fast) var(--m-motion-ease);
|
|
943
1038
|
vertical-align: middle;
|
|
944
1039
|
white-space: nowrap;
|
|
945
1040
|
}
|
|
@@ -964,6 +1059,11 @@
|
|
|
964
1059
|
outline: none;
|
|
965
1060
|
}
|
|
966
1061
|
|
|
1062
|
+
.m-button:disabled {
|
|
1063
|
+
cursor: not-allowed;
|
|
1064
|
+
opacity: var(--m-opacity-disabled);
|
|
1065
|
+
}
|
|
1066
|
+
|
|
967
1067
|
.m-button--primary {
|
|
968
1068
|
--m-button-bg: var(--m-color-primary);
|
|
969
1069
|
--m-button-fg: var(--m-color-on-emphasis);
|
|
@@ -1390,18 +1490,21 @@
|
|
|
1390
1490
|
}
|
|
1391
1491
|
|
|
1392
1492
|
.m-button-group > .m-button:first-child {
|
|
1393
|
-
border-top-left-radius: var(--m-radius-
|
|
1394
|
-
border-bottom-left-radius: var(--m-radius-
|
|
1493
|
+
border-top-left-radius: var(--m-radius-control);
|
|
1494
|
+
border-bottom-left-radius: var(--m-radius-control);
|
|
1395
1495
|
}
|
|
1396
1496
|
|
|
1397
1497
|
.m-button-group > .m-button:last-child {
|
|
1398
|
-
border-top-right-radius: var(--m-radius-
|
|
1399
|
-
border-bottom-right-radius: var(--m-radius-
|
|
1498
|
+
border-top-right-radius: var(--m-radius-control);
|
|
1499
|
+
border-bottom-right-radius: var(--m-radius-control);
|
|
1400
1500
|
}
|
|
1401
1501
|
|
|
1402
1502
|
.m-button--raised {
|
|
1403
|
-
box-shadow:
|
|
1404
|
-
|
|
1503
|
+
box-shadow: var(--m-shadow-raised);
|
|
1504
|
+
}
|
|
1505
|
+
|
|
1506
|
+
.m-button--raised:focus-visible {
|
|
1507
|
+
box-shadow: var(--m-focus-shadow), var(--m-shadow-raised);
|
|
1405
1508
|
}
|
|
1406
1509
|
|
|
1407
1510
|
.m-button--rounded {
|
|
@@ -1550,13 +1653,29 @@
|
|
|
1550
1653
|
}
|
|
1551
1654
|
}
|
|
1552
1655
|
|
|
1656
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1657
|
+
html:not([data-m-ignore-reduced-motion]) .m-button__spinner {
|
|
1658
|
+
animation: none;
|
|
1659
|
+
}
|
|
1660
|
+
}
|
|
1661
|
+
|
|
1662
|
+
[data-m-motion="reduced"] .m-button__spinner,
|
|
1663
|
+
[data-m-motion="none"] .m-button__spinner {
|
|
1664
|
+
animation: none;
|
|
1665
|
+
}
|
|
1666
|
+
|
|
1553
1667
|
.m-icon {
|
|
1668
|
+
color: currentColor;
|
|
1554
1669
|
display: inline-flex;
|
|
1670
|
+
flex-shrink: 0;
|
|
1555
1671
|
height: 1rem;
|
|
1672
|
+
line-height: 0;
|
|
1673
|
+
vertical-align: middle;
|
|
1556
1674
|
width: 1rem;
|
|
1557
1675
|
}
|
|
1558
1676
|
|
|
1559
1677
|
.m-icon svg {
|
|
1678
|
+
display: block;
|
|
1560
1679
|
height: 100%;
|
|
1561
1680
|
width: 100%;
|
|
1562
1681
|
}
|
|
@@ -1588,6 +1707,17 @@
|
|
|
1588
1707
|
transform: rotate(360deg);
|
|
1589
1708
|
}
|
|
1590
1709
|
}
|
|
1710
|
+
|
|
1711
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1712
|
+
.m-icon--spin svg {
|
|
1713
|
+
animation: none;
|
|
1714
|
+
}
|
|
1715
|
+
}
|
|
1716
|
+
|
|
1717
|
+
:root[data-m-motion='none'] .m-icon--spin svg,
|
|
1718
|
+
:root[data-m-motion='reduced'] .m-icon--spin svg {
|
|
1719
|
+
animation: none;
|
|
1720
|
+
}
|
|
1591
1721
|
|
|
1592
1722
|
/* —— Primitive: SplitButton —— */
|
|
1593
1723
|
.m-splitbutton {
|
|
@@ -1609,11 +1739,17 @@
|
|
|
1609
1739
|
cursor: pointer;
|
|
1610
1740
|
display: inline-flex;
|
|
1611
1741
|
font: inherit;
|
|
1742
|
+
font-family: var(--m-font-sans);
|
|
1612
1743
|
font-size: var(--m-control-font-medium);
|
|
1613
1744
|
font-weight: 600;
|
|
1614
1745
|
gap: var(--m-space-2);
|
|
1615
1746
|
min-height: var(--m-control-height-medium);
|
|
1616
1747
|
padding: 0 var(--m-button-padding-x-medium);
|
|
1748
|
+
transition:
|
|
1749
|
+
background-color var(--m-motion-fast) var(--m-motion-ease),
|
|
1750
|
+
border-color var(--m-motion-fast) var(--m-motion-ease),
|
|
1751
|
+
color var(--m-motion-fast) var(--m-motion-ease),
|
|
1752
|
+
box-shadow var(--m-motion-fast) var(--m-motion-ease);
|
|
1617
1753
|
}
|
|
1618
1754
|
|
|
1619
1755
|
.m-splitbutton__main {
|
|
@@ -1635,19 +1771,34 @@
|
|
|
1635
1771
|
|
|
1636
1772
|
.m-splitbutton__main:hover:not(:disabled),
|
|
1637
1773
|
.m-splitbutton__trigger:hover:not(:disabled) {
|
|
1638
|
-
|
|
1774
|
+
background: var(--m-color-primary-hover);
|
|
1775
|
+
border-color: var(--m-color-primary-hover);
|
|
1639
1776
|
}
|
|
1640
1777
|
|
|
1641
1778
|
.m-splitbutton--outlined .m-splitbutton__main:hover:not(:disabled),
|
|
1642
|
-
.m-splitbutton--outlined .m-splitbutton__trigger:hover:not(:disabled)
|
|
1779
|
+
.m-splitbutton--outlined .m-splitbutton__trigger:hover:not(:disabled) {
|
|
1780
|
+
background: color-mix(
|
|
1781
|
+
in srgb,
|
|
1782
|
+
var(--m-color-primary) 10%,
|
|
1783
|
+
transparent
|
|
1784
|
+
);
|
|
1785
|
+
border-color: var(--m-color-primary);
|
|
1786
|
+
}
|
|
1787
|
+
|
|
1643
1788
|
.m-splitbutton--secondary .m-splitbutton__main:hover:not(:disabled),
|
|
1644
1789
|
.m-splitbutton--secondary .m-splitbutton__trigger:hover:not(:disabled) {
|
|
1645
1790
|
background: color-mix(
|
|
1646
1791
|
in srgb,
|
|
1647
|
-
var(--m-color-
|
|
1792
|
+
var(--m-color-text-muted) 24%,
|
|
1648
1793
|
var(--m-color-surface)
|
|
1649
1794
|
);
|
|
1650
|
-
|
|
1795
|
+
border-color: var(--m-color-border);
|
|
1796
|
+
}
|
|
1797
|
+
|
|
1798
|
+
.m-splitbutton--danger .m-splitbutton__main:hover:not(:disabled),
|
|
1799
|
+
.m-splitbutton--danger .m-splitbutton__trigger:hover:not(:disabled) {
|
|
1800
|
+
background: color-mix(in srgb, var(--m-color-danger) 85%, black);
|
|
1801
|
+
border-color: color-mix(in srgb, var(--m-color-danger) 85%, black);
|
|
1651
1802
|
}
|
|
1652
1803
|
|
|
1653
1804
|
.m-splitbutton__main:focus-visible,
|
|
@@ -1720,10 +1871,16 @@
|
|
|
1720
1871
|
}
|
|
1721
1872
|
|
|
1722
1873
|
.m-splitbutton--disabled {
|
|
1874
|
+
cursor: not-allowed;
|
|
1723
1875
|
opacity: var(--m-opacity-disabled);
|
|
1724
1876
|
pointer-events: none;
|
|
1725
1877
|
}
|
|
1726
1878
|
|
|
1879
|
+
.m-splitbutton__item:focus-visible {
|
|
1880
|
+
box-shadow: var(--m-focus-shadow);
|
|
1881
|
+
outline: none;
|
|
1882
|
+
}
|
|
1883
|
+
|
|
1727
1884
|
.m-splitbutton__menu {
|
|
1728
1885
|
background: var(--m-color-surface);
|
|
1729
1886
|
border: var(--m-border-width) solid var(--m-color-border);
|
|
@@ -1745,7 +1902,7 @@
|
|
|
1745
1902
|
position: fixed;
|
|
1746
1903
|
right: auto;
|
|
1747
1904
|
top: auto;
|
|
1748
|
-
z-index: var(--m-z-
|
|
1905
|
+
z-index: var(--m-z-dropdown);
|
|
1749
1906
|
}
|
|
1750
1907
|
|
|
1751
1908
|
.m-splitbutton__item {
|
package/dist/splitter/index.js
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { r as e } from "../useComponentAttrs-BTYEe61P.js";
|
|
2
|
-
import { n as t } from "../locale-
|
|
2
|
+
import { n as t } from "../locale-DNYpTg5K.js";
|
|
3
3
|
import "./style.js";
|
|
4
|
-
import { Comment as n, Fragment as r, Text as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, defineComponent as u, mergeProps as d, normalizeClass as f, normalizeStyle as p, onBeforeUnmount as
|
|
4
|
+
import { Comment as n, Fragment as r, Text as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, defineComponent as u, mergeProps as d, normalizeClass as f, normalizeStyle as p, onBeforeUnmount as m, openBlock as h, ref as g, renderSlot as _, resolveDynamicComponent as v, unref as y, useAttrs as ee, useSlots as te, watch as b } from "vue";
|
|
5
5
|
//#region src/components/Splitter/size.ts
|
|
6
|
-
function
|
|
6
|
+
function x(e, t = "percent") {
|
|
7
7
|
return e == null ? t : typeof e == "string" ? "px" : e <= 1 ? "ratio" : "percent";
|
|
8
8
|
}
|
|
9
|
-
function
|
|
9
|
+
function S(e, t, n) {
|
|
10
10
|
if (typeof e == "string") {
|
|
11
11
|
let t = Number.parseFloat(e);
|
|
12
12
|
return Number.isFinite(t) ? t : 0;
|
|
13
13
|
}
|
|
14
14
|
return n === "ratio" ? e * t : e / 100 * t;
|
|
15
15
|
}
|
|
16
|
-
function
|
|
16
|
+
function ne(e, t, n) {
|
|
17
17
|
return t <= 0 ? n === "px" ? "0px" : 0 : n === "px" ? `${Math.round(e)}px` : Number(n === "ratio" ? (e / t).toFixed(4) : (e / t * 100).toFixed(1));
|
|
18
18
|
}
|
|
19
|
-
function
|
|
19
|
+
function C(e, t) {
|
|
20
20
|
return t === "px" || typeof e == "string" ? typeof e == "string" ? e : `${e}px` : t === "ratio" ? `${e * 100}%` : `${e}%`;
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function w(e, t, n, r) {
|
|
23
23
|
let i = Math.min(n, r);
|
|
24
24
|
return Math.min(i, Math.max(Math.min(t, i), e));
|
|
25
25
|
}
|
|
26
26
|
//#endregion
|
|
27
27
|
//#region src/components/Splitter/Splitter.vue?vue&type=script&setup=true&lang.ts
|
|
28
|
-
var
|
|
28
|
+
var re = ["aria-orientation"], ie = [
|
|
29
29
|
"tabindex",
|
|
30
30
|
"aria-orientation",
|
|
31
31
|
"aria-valuenow",
|
|
@@ -33,7 +33,7 @@ var ne = ["aria-orientation"], re = [
|
|
|
33
33
|
"aria-valuemax",
|
|
34
34
|
"aria-disabled",
|
|
35
35
|
"aria-label"
|
|
36
|
-
],
|
|
36
|
+
], T = /* @__PURE__ */ u({
|
|
37
37
|
inheritAttrs: !1,
|
|
38
38
|
__name: "Splitter",
|
|
39
39
|
props: {
|
|
@@ -61,15 +61,15 @@ var ne = ["aria-orientation"], re = [
|
|
|
61
61
|
"drag-move",
|
|
62
62
|
"drag-end"
|
|
63
63
|
],
|
|
64
|
-
setup(u, { emit:
|
|
65
|
-
let
|
|
66
|
-
if (
|
|
64
|
+
setup(u, { emit: T }) {
|
|
65
|
+
let E = u, D = T, O = ee(), { rootAttrs: k } = e(O, () => E.pt), A = t(), j = te(), M = g(null), N = g(!1), P = a(() => E.layout ?? E.direction ?? "horizontal"), F = a(() => P.value === "vertical"), I = a(() => E.size !== void 0), L = a(() => x(E.size ?? E.defaultSize, "percent")), R = a(() => E.min === void 0 ? L.value === "ratio" ? .1 : L.value === "px" ? "40px" : 10 : E.min), z = a(() => {
|
|
66
|
+
if (E.max !== void 0) return E.max;
|
|
67
67
|
if (L.value === "ratio") return .9;
|
|
68
68
|
if (L.value !== "px") return 90;
|
|
69
|
-
}), B =
|
|
70
|
-
|
|
69
|
+
}), B = g(E.defaultSize), V = a(() => I.value ? E.size : B.value);
|
|
70
|
+
b(() => E.size, (e) => {
|
|
71
71
|
e !== void 0 && !N.value && (B.value = e);
|
|
72
|
-
}),
|
|
72
|
+
}), b(() => E.defaultSize, (e) => {
|
|
73
73
|
I.value || (B.value = e);
|
|
74
74
|
});
|
|
75
75
|
let H = 0, U = 0, W = 0;
|
|
@@ -92,43 +92,43 @@ var ne = ["aria-orientation"], re = [
|
|
|
92
92
|
let e = M.value;
|
|
93
93
|
if (!e) return 0;
|
|
94
94
|
let t = e.getBoundingClientRect(), n = F.value ? t.height : t.width;
|
|
95
|
-
return Math.max(0, n -
|
|
95
|
+
return Math.max(0, n - E.resizeTriggerSize);
|
|
96
96
|
}
|
|
97
97
|
function J(e) {
|
|
98
98
|
return typeof e == "string" || e == null ? void 0 : e;
|
|
99
99
|
}
|
|
100
100
|
let ae = a(() => ({
|
|
101
|
-
flex: `0 0 ${
|
|
102
|
-
...J(
|
|
103
|
-
})), oe = a(() => J(
|
|
101
|
+
flex: `0 0 ${C(V.value, L.value)}`,
|
|
102
|
+
...J(E.pane1Style)
|
|
103
|
+
})), oe = a(() => J(E.pane2Style)), se = a(() => ({}));
|
|
104
104
|
function ce(e) {
|
|
105
|
-
e !== V.value && (B.value = e,
|
|
105
|
+
e !== V.value && (B.value = e, D("update:size", e), D("resize", e));
|
|
106
106
|
}
|
|
107
107
|
function Y(e, t) {
|
|
108
108
|
let n = L.value;
|
|
109
109
|
if (t <= 0) return;
|
|
110
|
-
let r =
|
|
111
|
-
ce(
|
|
110
|
+
let r = S(R.value, t, x(R.value, n)), i = z.value;
|
|
111
|
+
ce(ne(w(e, r, i === void 0 && n === "px" ? t : S(i ?? (n === "ratio" ? 1 : 100), t, x(i ?? 100, n)), t), t, n));
|
|
112
112
|
}
|
|
113
113
|
function X(e) {
|
|
114
|
-
if (!N.value || W <= 0 ||
|
|
114
|
+
if (!N.value || W <= 0 || E.disabled) return;
|
|
115
115
|
let t = F.value ? e.clientY : e.clientX;
|
|
116
|
-
Y(U + (t - H), W),
|
|
116
|
+
Y(U + (t - H), W), D("drag-move", e);
|
|
117
117
|
}
|
|
118
118
|
function Z(e) {
|
|
119
|
-
N.value && (N.value = !1, window.removeEventListener("mousemove", X, !0), window.removeEventListener("mouseup", Q, !0), window.removeEventListener("pointermove", X, !0), window.removeEventListener("pointerup", Q, !0), document.body.style.removeProperty("cursor"), document.body.style.removeProperty("user-select"), e &&
|
|
119
|
+
N.value && (N.value = !1, window.removeEventListener("mousemove", X, !0), window.removeEventListener("mouseup", Q, !0), window.removeEventListener("pointermove", X, !0), window.removeEventListener("pointerup", Q, !0), document.body.style.removeProperty("cursor"), document.body.style.removeProperty("user-select"), e && D("drag-end", e));
|
|
120
120
|
}
|
|
121
121
|
function Q(e) {
|
|
122
122
|
Z(e);
|
|
123
123
|
}
|
|
124
124
|
function $(e) {
|
|
125
|
-
|
|
125
|
+
E.disabled || "button" in e && e.button > 0 || M.value && (e.preventDefault(), W = q(), !(W <= 0) && (H = F.value ? e.clientY : e.clientX, U = S(V.value, W, L.value), N.value = !0, document.body.style.cursor = F.value ? "row-resize" : "col-resize", document.body.style.userSelect = "none", D("drag-start", e), window.addEventListener("mousemove", X, !0), window.addEventListener("mouseup", Q, !0), window.addEventListener("pointermove", X, !0), window.addEventListener("pointerup", Q, !0)));
|
|
126
126
|
}
|
|
127
127
|
function le(e) {
|
|
128
|
-
if (
|
|
128
|
+
if (E.disabled) return;
|
|
129
129
|
let t = L.value, n = q();
|
|
130
130
|
n <= 0 && t !== "px" && (n = 100);
|
|
131
|
-
let r =
|
|
131
|
+
let r = S(V.value, n, t), i = e.shiftKey ? n * .05 : n * .01, a = (t) => {
|
|
132
132
|
e.preventDefault(), Y(r + t, n);
|
|
133
133
|
};
|
|
134
134
|
if (F.value) {
|
|
@@ -147,12 +147,12 @@ var ne = ["aria-orientation"], re = [
|
|
|
147
147
|
let e = z.value;
|
|
148
148
|
if (e !== void 0) return typeof e == "string" ? Math.round(Number.parseFloat(e)) : L.value === "ratio" ? Math.round(e * 100) : Math.round(e);
|
|
149
149
|
});
|
|
150
|
-
return
|
|
150
|
+
return m(() => {
|
|
151
151
|
Z();
|
|
152
|
-
}), (e, t) => (
|
|
152
|
+
}), (e, t) => (h(), c("div", d({
|
|
153
153
|
ref_key: "root",
|
|
154
154
|
ref: M
|
|
155
|
-
},
|
|
155
|
+
}, y(k), {
|
|
156
156
|
class: ["m-splitter", [`m-splitter--${P.value}`, {
|
|
157
157
|
"m-splitter--dragging": N.value,
|
|
158
158
|
"m-splitter--disabled": u.disabled
|
|
@@ -163,7 +163,7 @@ var ne = ["aria-orientation"], re = [
|
|
|
163
163
|
l("div", {
|
|
164
164
|
class: f(["m-splitter__panel", u.pane1Class]),
|
|
165
165
|
style: p(ae.value)
|
|
166
|
-
}, [
|
|
166
|
+
}, [y(j).panel1 ? _(e.$slots, "panel1", {}, void 0, void 0, 0) : y(j)[1] ? _(e.$slots, "1", {}, void 0, void 0, 1) : K.value[0] ? (h(), o(v(K.value[0]), { key: 2 })) : s("", !0)], 6),
|
|
167
167
|
l("div", {
|
|
168
168
|
class: "m-splitter__gutter",
|
|
169
169
|
role: "separator",
|
|
@@ -173,18 +173,18 @@ var ne = ["aria-orientation"], re = [
|
|
|
173
173
|
"aria-valuemin": de.value,
|
|
174
174
|
"aria-valuemax": fe.value,
|
|
175
175
|
"aria-disabled": u.disabled || void 0,
|
|
176
|
-
"aria-label": F.value ?
|
|
176
|
+
"aria-label": F.value ? y(A).resizeVertical : y(A).resizeHorizontal,
|
|
177
177
|
style: p(se.value),
|
|
178
178
|
onPointerdown: $,
|
|
179
179
|
onMousedown: $,
|
|
180
180
|
onKeydown: le
|
|
181
|
-
}, [
|
|
181
|
+
}, [_(e.$slots, "resize-trigger")], 44, ie),
|
|
182
182
|
l("div", {
|
|
183
183
|
class: f(["m-splitter__panel m-splitter__panel--fill", u.pane2Class]),
|
|
184
184
|
style: p(oe.value)
|
|
185
|
-
}, [
|
|
186
|
-
], 16,
|
|
185
|
+
}, [y(j).panel2 ? _(e.$slots, "panel2", {}, void 0, void 0, 0) : y(j)[2] ? _(e.$slots, "2", {}, void 0, void 0, 1) : K.value[1] ? (h(), o(v(K.value[1]), { key: 2 })) : s("", !0)], 6)
|
|
186
|
+
], 16, re));
|
|
187
187
|
}
|
|
188
188
|
});
|
|
189
189
|
//#endregion
|
|
190
|
-
export {
|
|
190
|
+
export { T as MSplitter };
|