morya-ui 0.2.8 → 0.3.0
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 +71 -0
- package/README.md +1 -0
- package/README.zh-CN.md +1 -0
- package/dist/{Button--RkQybU-.js → Button-B5X_R4Md.js} +2 -2
- package/dist/{Card-BQfmv5Iw.js → Card-Dsmnzong.js} +1 -1
- package/dist/{Checkbox-CL05RRUD.js → Checkbox-BzbAUfyZ.js} +2 -2
- package/dist/FlyoutSubmenu-BrUPmJa1.js +45 -0
- package/dist/Icon-lcN1rS87.js +610 -0
- package/dist/{Pagination-BKvR-RUW.js → Pagination-CVrH8Ypi.js} +3 -3
- package/dist/Popover-BQ07q4VV.js +179 -0
- package/dist/ProgressSpinner-BeWVF6Jv.js +105 -0
- package/dist/{Radio-DsaKvbhk.js → Radio-rF6zdR5Y.js} +2 -2
- package/dist/{ScrollBody-D2IHKP6U.js → ScrollBody-5hUnHj_M.js} +1 -1
- package/dist/{Scrollbar-BYnCO8fv.js → Scrollbar-DTeJ8P5b.js} +2 -2
- package/dist/Tooltip-D5DO0B3z.js +105 -0
- package/dist/VirtualScroller-CHoFCmpP.js +75 -0
- package/dist/accordion/index.js +42 -39
- package/dist/accordion/style.css +293 -40
- package/dist/auto-complete/index.js +185 -124
- package/dist/auto-complete/style.css +497 -96
- package/dist/auto-complete/style.js +2 -0
- package/dist/avatar/index.js +2 -2
- package/dist/avatar/style.css +255 -45
- package/dist/badge/index.js +25 -20
- package/dist/badge/style.css +275 -47
- package/dist/block-ui/index.js +26 -13
- package/dist/block-ui/style.css +250 -40
- package/dist/breadcrumb/index.js +2 -2
- package/dist/breadcrumb/style.css +250 -40
- package/dist/button/index.js +2 -2
- package/dist/button/style.css +251 -41
- package/dist/card/index.js +1 -1
- package/dist/card/style.css +250 -40
- package/dist/carousel/index.js +3 -3
- package/dist/carousel/style.css +251 -41
- package/dist/cascade-select/index.js +172 -143
- package/dist/cascade-select/style.css +475 -85
- package/dist/cascade-select/style.js +1 -0
- package/dist/checkbox/index.js +2 -2
- package/dist/checkbox/style.css +250 -40
- package/dist/chip/index.js +2 -2
- package/dist/chip/style.css +258 -42
- package/dist/command-menu/index.js +58 -45
- package/dist/command-menu/style.css +256 -44
- package/dist/components/Accordion/Accordion.vue.d.ts +2 -2
- package/dist/components/Accordion/Accordion.vue.d.ts.map +1 -1
- package/dist/components/Accordion/styles.css +43 -0
- package/dist/components/AutoComplete/AutoComplete.vue.d.ts +11 -4
- package/dist/components/AutoComplete/AutoComplete.vue.d.ts.map +1 -1
- package/dist/components/AutoComplete/styles.css +47 -52
- package/dist/components/AutoComplete/types.d.ts +8 -0
- package/dist/components/AutoComplete/types.d.ts.map +1 -1
- package/dist/components/Avatar/styles.css +4 -4
- package/dist/components/Badge/Badge.vue.d.ts.map +1 -1
- package/dist/components/Badge/styles.css +25 -7
- package/dist/components/BlockUI/BlockUI.vue.d.ts +2 -0
- package/dist/components/BlockUI/BlockUI.vue.d.ts.map +1 -1
- package/dist/components/BlockUI/types.d.ts +3 -0
- package/dist/components/BlockUI/types.d.ts.map +1 -1
- package/dist/components/Button/index.d.ts.map +1 -1
- package/dist/components/CascadeSelect/CascadeSelect.vue.d.ts +2 -0
- package/dist/components/CascadeSelect/CascadeSelect.vue.d.ts.map +1 -1
- package/dist/components/CascadeSelect/styles.css +39 -38
- package/dist/components/CascadeSelect/types.d.ts +3 -0
- package/dist/components/CascadeSelect/types.d.ts.map +1 -1
- package/dist/components/Chip/styles.css +7 -1
- package/dist/components/CommandMenu/CommandMenu.vue.d.ts +2 -0
- package/dist/components/CommandMenu/CommandMenu.vue.d.ts.map +1 -1
- package/dist/components/CommandMenu/styles.css +2 -0
- package/dist/components/CommandMenu/types.d.ts +3 -0
- package/dist/components/CommandMenu/types.d.ts.map +1 -1
- package/dist/components/ConfigProvider/ConfigProvider.vue.d.ts +2 -0
- package/dist/components/ConfigProvider/ConfigProvider.vue.d.ts.map +1 -1
- package/dist/components/ConfigProvider/types.d.ts +1 -1
- package/dist/components/ConfigProvider/types.d.ts.map +1 -1
- package/dist/components/ConfirmDialog/ConfirmDialog.vue.d.ts +2 -1
- package/dist/components/ConfirmDialog/ConfirmDialog.vue.d.ts.map +1 -1
- package/dist/components/ConfirmDialog/types.d.ts +3 -0
- package/dist/components/ConfirmDialog/types.d.ts.map +1 -1
- package/dist/components/ConfirmPopup/ConfirmPopup.vue.d.ts +2 -0
- package/dist/components/ConfirmPopup/ConfirmPopup.vue.d.ts.map +1 -1
- package/dist/components/ConfirmPopup/types.d.ts +3 -0
- package/dist/components/ConfirmPopup/types.d.ts.map +1 -1
- package/dist/components/ContextMenu/ContextMenu.vue.d.ts +2 -0
- package/dist/components/ContextMenu/ContextMenu.vue.d.ts.map +1 -1
- package/dist/components/ContextMenu/styles.css +2 -0
- package/dist/components/ContextMenu/types.d.ts +3 -0
- package/dist/components/ContextMenu/types.d.ts.map +1 -1
- package/dist/components/DatePicker/DatePicker.vue.d.ts +2 -0
- package/dist/components/DatePicker/DatePicker.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/styles.css +65 -21
- package/dist/components/DatePicker/types.d.ts +3 -0
- package/dist/components/DatePicker/types.d.ts.map +1 -1
- package/dist/components/Dialog/Dialog.vue.d.ts +2 -0
- package/dist/components/Dialog/Dialog.vue.d.ts.map +1 -1
- package/dist/components/Dialog/index.d.ts.map +1 -1
- package/dist/components/Dialog/styles.css +190 -4
- package/dist/components/Dialog/types.d.ts +3 -0
- package/dist/components/Dialog/types.d.ts.map +1 -1
- package/dist/components/Drawer/Drawer.vue.d.ts +2 -0
- package/dist/components/Drawer/Drawer.vue.d.ts.map +1 -1
- package/dist/components/Drawer/styles.css +189 -4
- package/dist/components/Drawer/types.d.ts +3 -0
- package/dist/components/Drawer/types.d.ts.map +1 -1
- package/dist/components/Dropdown/Dropdown.vue.d.ts +2 -0
- package/dist/components/Dropdown/Dropdown.vue.d.ts.map +1 -1
- package/dist/components/Dropdown/styles.css +4 -0
- package/dist/components/Dropdown/types.d.ts +3 -0
- package/dist/components/Dropdown/types.d.ts.map +1 -1
- package/dist/components/Empty/index.d.ts.map +1 -1
- package/dist/components/Empty/styles.css +6 -6
- package/dist/components/Fieldset/Fieldset.vue.d.ts.map +1 -1
- package/dist/components/Fieldset/styles.css +17 -6
- package/dist/components/FileUpload/FileUpload.vue.d.ts +1 -1
- package/dist/components/FloatLabel/styles.css +19 -7
- package/dist/components/Form/styles.css +21 -0
- package/dist/components/Icon/Icon.vue.d.ts.map +1 -1
- package/dist/components/Icon/icon-categories.d.ts +21 -0
- package/dist/components/Icon/icon-categories.d.ts.map +1 -0
- package/dist/components/Icon/icons-tabler.d.ts +77 -0
- package/dist/components/Icon/icons-tabler.d.ts.map +1 -0
- package/dist/components/Icon/icons-types.d.ts +36 -0
- package/dist/components/Icon/icons-types.d.ts.map +1 -0
- package/dist/components/Icon/icons.d.ts +75 -32
- package/dist/components/Icon/icons.d.ts.map +1 -1
- package/dist/components/Icon/index.d.ts +2 -0
- package/dist/components/Icon/index.d.ts.map +1 -1
- package/dist/components/Icon/styles.css +1 -1
- package/dist/components/IconField/IconField.vue.d.ts +3 -1
- package/dist/components/IconField/IconField.vue.d.ts.map +1 -1
- package/dist/components/IconField/styles.css +306 -31
- package/dist/components/Input/Input.vue.d.ts.map +1 -1
- package/dist/components/Input/index.d.ts.map +1 -1
- package/dist/components/Input/styles.css +191 -35
- package/dist/components/InputNumber/styles.css +103 -40
- package/dist/components/InputPassword/InputPassword.vue.d.ts.map +1 -1
- package/dist/components/InputPassword/styles.css +79 -79
- package/dist/components/InputTags/styles.css +3 -1
- package/dist/components/Layout/LayoutContent.vue.d.ts +4 -8
- package/dist/components/Layout/LayoutContent.vue.d.ts.map +1 -1
- package/dist/components/Layout/LayoutSider.vue.d.ts +4 -6
- package/dist/components/Layout/LayoutSider.vue.d.ts.map +1 -1
- package/dist/components/Layout/composables/useLayoutRegionStyle.d.ts +2 -0
- package/dist/components/Layout/composables/useLayoutRegionStyle.d.ts.map +1 -1
- package/dist/components/Layout/styles.css +29 -54
- package/dist/components/Layout/types.d.ts +6 -7
- package/dist/components/Layout/types.d.ts.map +1 -1
- package/dist/components/Listbox/Listbox.vue.d.ts +7 -2
- package/dist/components/Listbox/Listbox.vue.d.ts.map +1 -1
- package/dist/components/Listbox/styles.css +10 -0
- package/dist/components/Listbox/types.d.ts +5 -0
- package/dist/components/Listbox/types.d.ts.map +1 -1
- package/dist/components/Loading/Loading.vue.d.ts +2 -0
- package/dist/components/Loading/Loading.vue.d.ts.map +1 -1
- package/dist/components/Loading/LoadingIndicator.vue.d.ts.map +1 -1
- package/dist/components/Loading/loading.d.ts.map +1 -1
- package/dist/components/Loading/styles.css +25 -17
- package/dist/components/Loading/types.d.ts +3 -0
- package/dist/components/Loading/types.d.ts.map +1 -1
- package/dist/components/MegaMenu/MegaMenu.vue.d.ts +2 -0
- package/dist/components/MegaMenu/MegaMenu.vue.d.ts.map +1 -1
- package/dist/components/MegaMenu/styles.css +1 -0
- package/dist/components/MegaMenu/types.d.ts +3 -0
- package/dist/components/MegaMenu/types.d.ts.map +1 -1
- package/dist/components/Menu/Menu.vue.d.ts +3 -1
- package/dist/components/Menu/Menu.vue.d.ts.map +1 -1
- package/dist/components/Menu/styles.css +14 -10
- package/dist/components/Menu/types.d.ts +3 -0
- package/dist/components/Menu/types.d.ts.map +1 -1
- package/dist/components/Menubar/Menubar.vue.d.ts +2 -0
- package/dist/components/Menubar/Menubar.vue.d.ts.map +1 -1
- package/dist/components/Menubar/styles.css +4 -0
- package/dist/components/Menubar/types.d.ts +3 -0
- package/dist/components/Menubar/types.d.ts.map +1 -1
- package/dist/components/Message/Message.vue.d.ts +2 -0
- package/dist/components/Message/Message.vue.d.ts.map +1 -1
- package/dist/components/Message/types.d.ts +3 -0
- package/dist/components/Message/types.d.ts.map +1 -1
- package/dist/components/MeterGroup/styles.css +2 -2
- package/dist/components/Panel/Panel.vue.d.ts.map +1 -1
- package/dist/components/Panel/styles.css +21 -6
- package/dist/components/Popover/Popover.vue.d.ts +2 -0
- package/dist/components/Popover/Popover.vue.d.ts.map +1 -1
- package/dist/components/Popover/types.d.ts +3 -0
- package/dist/components/Popover/types.d.ts.map +1 -1
- package/dist/components/ProgressBar/ProgressBar.vue.d.ts.map +1 -1
- package/dist/components/ProgressBar/styles.css +30 -8
- package/dist/components/ProgressSpinner/ProgressSpinner.vue.d.ts.map +1 -1
- package/dist/components/ProgressSpinner/styles.css +3 -3
- package/dist/components/Result/index.d.ts.map +1 -1
- package/dist/components/Result/styles.css +17 -17
- package/dist/components/ScrollTop/ScrollTop.vue.d.ts +1 -1
- package/dist/components/Scrollbar/Scrollbar.vue.d.ts.map +1 -1
- package/dist/components/Scrollbar/styles.css +3 -3
- package/dist/components/Select/Select.vue.d.ts +10 -3
- package/dist/components/Select/Select.vue.d.ts.map +1 -1
- package/dist/components/Select/index.d.ts.map +1 -1
- package/dist/components/Select/styles.css +13 -91
- package/dist/components/Select/types.d.ts +8 -0
- package/dist/components/Select/types.d.ts.map +1 -1
- package/dist/components/Sidebar/styles.css +8 -10
- package/dist/components/Skeleton/Skeleton.vue.d.ts +1 -1
- package/dist/components/Skeleton/Skeleton.vue.d.ts.map +1 -1
- package/dist/components/Slider/Slider.vue.d.ts +1 -1
- package/dist/components/SpeedDial/SpeedDial.vue.d.ts +2 -0
- package/dist/components/SpeedDial/SpeedDial.vue.d.ts.map +1 -1
- package/dist/components/SpeedDial/types.d.ts +3 -0
- package/dist/components/SpeedDial/types.d.ts.map +1 -1
- package/dist/components/SplitButton/SplitButton.vue.d.ts +2 -0
- package/dist/components/SplitButton/SplitButton.vue.d.ts.map +1 -1
- package/dist/components/SplitButton/types.d.ts +3 -0
- package/dist/components/SplitButton/types.d.ts.map +1 -1
- package/dist/components/Splitter/Splitter.vue.d.ts +5 -3
- package/dist/components/Splitter/Splitter.vue.d.ts.map +1 -1
- package/dist/components/Splitter/index.d.ts +1 -1
- package/dist/components/Splitter/index.d.ts.map +1 -1
- package/dist/components/Splitter/styles.css +12 -0
- package/dist/components/Splitter/types.d.ts +9 -3
- package/dist/components/Splitter/types.d.ts.map +1 -1
- package/dist/components/Status/Status.vue.d.ts.map +1 -1
- package/dist/components/Status/index.d.ts.map +1 -1
- package/dist/components/Status/styles.css +18 -16
- package/dist/components/Switch/Switch.vue.d.ts +1 -1
- package/dist/components/Table/hooks/useTotalItems.d.ts.map +1 -1
- package/dist/components/Table/styles.css +8 -8
- package/dist/components/Tag/styles.css +4 -2
- package/dist/components/Textarea/styles.css +15 -1
- package/dist/components/TieredMenu/TieredMenu.vue.d.ts +3 -1
- package/dist/components/TieredMenu/TieredMenu.vue.d.ts.map +1 -1
- package/dist/components/TieredMenu/styles.css +2 -0
- package/dist/components/TieredMenu/types.d.ts +3 -0
- package/dist/components/TieredMenu/types.d.ts.map +1 -1
- package/dist/components/Toast/Toast.vue.d.ts +2 -0
- package/dist/components/Toast/Toast.vue.d.ts.map +1 -1
- package/dist/components/Toast/types.d.ts +3 -0
- package/dist/components/Toast/types.d.ts.map +1 -1
- package/dist/components/Toolbar/styles.css +1 -0
- package/dist/components/Tooltip/Tooltip.vue.d.ts +2 -0
- package/dist/components/Tooltip/Tooltip.vue.d.ts.map +1 -1
- package/dist/components/Tooltip/types.d.ts +3 -0
- package/dist/components/Tooltip/types.d.ts.map +1 -1
- package/dist/components/Tree/styles.css +1 -1
- package/dist/components/TreeSelect/TreeSelect.vue.d.ts +2 -0
- package/dist/components/TreeSelect/TreeSelect.vue.d.ts.map +1 -1
- package/dist/components/TreeSelect/TreeSelectNodeItem.vue.d.ts +2 -0
- package/dist/components/TreeSelect/TreeSelectNodeItem.vue.d.ts.map +1 -1
- package/dist/components/TreeSelect/styles.css +5 -57
- package/dist/components/TreeSelect/types.d.ts +3 -0
- package/dist/components/TreeSelect/types.d.ts.map +1 -1
- package/dist/components/TreeTable/styles.css +1 -1
- package/dist/components/VirtualScroller/VirtualScroller.vue.d.ts +7 -3
- package/dist/components/VirtualScroller/VirtualScroller.vue.d.ts.map +1 -1
- package/dist/components/VirtualScroller/index.d.ts +1 -1
- package/dist/components/VirtualScroller/index.d.ts.map +1 -1
- package/dist/components/VirtualScroller/types.d.ts +5 -0
- package/dist/components/VirtualScroller/types.d.ts.map +1 -1
- package/dist/{config-BdK5ccNT.js → config-CapALqt3.js} +10 -2
- package/dist/config-provider/index.js +5 -3
- package/dist/config-provider/style.css +441 -75
- package/dist/confirm-dialog/index.js +87 -74
- package/dist/confirm-dialog/style.css +441 -45
- package/dist/confirm-popup/index.js +82 -68
- package/dist/confirm-popup/style.css +251 -41
- package/dist/context-menu/index.js +112 -99
- package/dist/context-menu/style.css +256 -44
- package/dist/data-view/index.js +4 -4
- package/dist/data-view/style.css +253 -43
- package/dist/date-picker/index.js +166 -152
- package/dist/date-picker/style.css +316 -62
- package/dist/dialog/index.js +76 -63
- package/dist/dialog/style.css +441 -45
- package/dist/divider/style.css +250 -40
- package/dist/dock/index.js +3 -3
- package/dist/dock/style.css +251 -41
- package/dist/drawer/index.js +72 -61
- package/dist/drawer/style.css +440 -45
- package/dist/dropdown/index.js +145 -131
- package/dist/dropdown/style.css +258 -44
- package/dist/empty/index.js +3 -3
- package/dist/empty/style.css +257 -47
- package/dist/fieldset/index.js +19 -19
- package/dist/fieldset/style.css +268 -47
- package/dist/file-upload/index.js +3 -3
- package/dist/file-upload/style.css +251 -41
- package/dist/flex/index.js +2 -2
- package/dist/flex/style.css +250 -40
- package/dist/float-label/index.js +1 -1
- package/dist/float-label/style.css +269 -47
- package/dist/fluid/index.js +1 -1
- package/dist/fluid/style.css +250 -40
- package/dist/form/index.js +2 -2
- package/dist/form/style.css +271 -40
- package/dist/gallery/index.js +4 -4
- package/dist/gallery/style.css +254 -44
- package/dist/grid/index.js +1 -1
- package/dist/grid/style.css +250 -40
- package/dist/icon/index.js +212 -2
- package/dist/icon/style.css +251 -41
- package/dist/{icon-xUOyawgJ.js → icon-DWXkh-RM.js} +1 -1
- package/dist/icon-field/index.js +42 -8
- package/dist/icon-field/style.css +913 -71
- package/dist/icon-field/style.js +1 -0
- package/dist/index.d.ts +7 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5336 -4326
- package/dist/inplace/index.js +1 -1
- package/dist/inplace/style.css +250 -40
- package/dist/input/index.js +79 -81
- package/dist/input/style.css +442 -76
- package/dist/input-color/index.js +3 -3
- package/dist/input-color/style.css +250 -40
- package/dist/input-group/index.js +1 -1
- package/dist/input-group/style.css +250 -40
- package/dist/input-number/index.js +4 -4
- package/dist/input-number/style.css +354 -81
- package/dist/input-otp/index.js +3 -3
- package/dist/input-otp/style.css +250 -40
- package/dist/input-password/index.js +86 -85
- package/dist/input-password/style.css +330 -120
- package/dist/input-tags/index.js +4 -4
- package/dist/input-tags/style.css +254 -42
- package/dist/knob/index.js +1 -1
- package/dist/knob/style.css +250 -40
- package/dist/label/index.js +1 -1
- package/dist/label/style.css +250 -40
- package/dist/layout/index.js +65 -88
- package/dist/layout/style.css +283 -98
- package/dist/listbox/index.js +142 -87
- package/dist/listbox/style.css +291 -43
- package/dist/listbox/style.js +1 -0
- package/dist/loading/index.js +195 -156
- package/dist/loading/style.css +275 -57
- package/dist/{locale-B36KH7c3.js → locale-Bzm2nbEp.js} +1 -1
- package/dist/mega-menu/index.js +131 -119
- package/dist/mega-menu/style.css +252 -41
- package/dist/menu/index.js +278 -261
- package/dist/menu/style.css +268 -54
- package/dist/menubar/index.js +145 -133
- package/dist/menubar/style.css +258 -44
- package/dist/message/index.js +120 -107
- package/dist/message/style.css +251 -41
- package/dist/meter-group/index.js +1 -1
- package/dist/meter-group/style.css +252 -42
- package/dist/order-list/index.js +4 -4
- package/dist/order-list/style.css +251 -41
- package/dist/page/index.js +3 -3
- package/dist/page/style.css +251 -41
- package/dist/pagination/index.js +1 -1
- package/dist/pagination/style.css +251 -41
- package/dist/panel/index.js +31 -31
- package/dist/panel/style.css +272 -47
- package/dist/pick-list/index.js +4 -4
- package/dist/pick-list/style.css +251 -41
- package/dist/popover/index.js +1 -1
- package/dist/popover/style.css +250 -40
- package/dist/progress-bar/index.js +5 -2
- package/dist/progress-bar/style.css +280 -48
- package/dist/progress-spinner/index.js +1 -1
- package/dist/progress-spinner/style.css +253 -43
- package/dist/radio/index.js +2 -2
- package/dist/radio/style.css +250 -40
- package/dist/rating/index.js +4 -4
- package/dist/rating/style.css +251 -41
- package/dist/result/index.js +3 -3
- package/dist/result/style.css +268 -58
- package/dist/scroll-top/index.js +4 -4
- package/dist/scroll-top/style.css +254 -44
- package/dist/scrollbar/index.js +1 -1
- package/dist/scrollbar/style.css +253 -43
- package/dist/select/index.js +247 -152
- package/dist/select/style.css +477 -138
- package/dist/select/style.js +2 -0
- package/dist/select-button/index.js +2 -2
- package/dist/select-button/style.css +250 -40
- package/dist/shared/FlyoutSubmenu.vue.d.ts.map +1 -1
- package/dist/shared/componentDefaults.d.ts +62 -0
- package/dist/shared/componentDefaults.d.ts.map +1 -1
- package/dist/shared/config.d.ts +13 -2
- package/dist/shared/config.d.ts.map +1 -1
- package/dist/shared/styles/control-suffix.css +14 -3
- package/dist/shared/styles/select-overlay.css +167 -0
- package/dist/shared/useFloatingViewportSync.d.ts +10 -0
- package/dist/shared/useFloatingViewportSync.d.ts.map +1 -0
- package/dist/shared/usePauseOffscreen.d.ts +14 -0
- package/dist/shared/usePauseOffscreen.d.ts.map +1 -0
- package/dist/sidebar/index.js +4 -4
- package/dist/sidebar/style.css +259 -51
- package/dist/skeleton/index.js +34 -19
- package/dist/skeleton/style.css +250 -40
- package/dist/slider/index.js +3 -3
- package/dist/slider/style.css +250 -40
- package/dist/space/index.js +2 -2
- package/dist/space/style.css +250 -40
- package/dist/speed-dial/index.js +112 -98
- package/dist/speed-dial/style.css +251 -41
- package/dist/split-button/index.js +106 -92
- package/dist/split-button/style.css +251 -41
- package/dist/splitter/index.js +94 -80
- package/dist/splitter/style.css +262 -40
- package/dist/status/index.js +30 -26
- package/dist/status/style.css +269 -57
- package/dist/stepper/index.js +2 -2
- package/dist/stepper/style.css +251 -41
- package/dist/styles/base.css +154 -28
- package/dist/styles.css +1 -1
- package/dist/switch/index.js +2 -2
- package/dist/switch/style.css +250 -40
- package/dist/table/index.js +11 -15
- package/dist/table/style.css +265 -55
- package/dist/tabs/index.js +4 -4
- package/dist/tabs/style.css +254 -44
- package/dist/tag/index.js +3 -3
- package/dist/tag/style.css +255 -43
- package/dist/terminal/index.js +3 -3
- package/dist/terminal/style.css +250 -40
- package/dist/textarea/index.js +4 -4
- package/dist/textarea/style.css +266 -42
- package/dist/theme/index.d.ts +4 -0
- package/dist/theme/index.d.ts.map +1 -1
- package/dist/theme/motionPresets.d.ts +30 -0
- package/dist/theme/motionPresets.d.ts.map +1 -0
- package/dist/theme/styles.css +96 -12
- package/dist/theme/tokens.d.ts +17 -0
- package/dist/theme/tokens.d.ts.map +1 -1
- package/dist/theme/useMotion.d.ts.map +1 -1
- package/dist/theme/useMotionTransition.d.ts +19 -0
- package/dist/theme/useMotionTransition.d.ts.map +1 -0
- package/dist/tiered-menu/index.js +81 -67
- package/dist/tiered-menu/style.css +256 -44
- package/dist/timeline/index.js +3 -3
- package/dist/timeline/style.css +254 -44
- package/dist/toast/index.js +49 -36
- package/dist/toast/style.css +251 -41
- package/dist/toggle-button/index.js +3 -3
- package/dist/toggle-button/style.css +251 -41
- package/dist/toolbar/index.js +1 -1
- package/dist/toolbar/style.css +251 -40
- package/dist/tooltip/index.js +1 -1
- package/dist/tooltip/style.css +250 -40
- package/dist/tree/index.js +5 -8
- package/dist/tree/style.css +252 -42
- package/dist/tree-select/index.js +227 -203
- package/dist/tree-select/style.css +442 -105
- package/dist/tree-select/style.js +1 -0
- package/dist/tree-table/index.js +4 -4
- package/dist/tree-table/style.css +252 -42
- package/dist/{useComponentAttrs-BTYEe61P.js → useComponentAttrs-e-5QAjdw.js} +1 -1
- package/dist/useFloatingViewportSync-DZdJ7W8n.js +19 -0
- package/dist/useMotionTransition-Bxnnb_9u.js +49 -0
- package/dist/usePauseOffscreen-BIikV_gj.js +25 -0
- package/dist/virtual-scroller/index.js +2 -56
- package/dist/virtual-scroller/style.css +253 -43
- package/package.json +2 -1
- package/dist/FlyoutSubmenu-B_bkgKag.js +0 -49
- package/dist/Icon-DfpIfo2L.js +0 -521
- package/dist/Popover-Dq_p0vib.js +0 -166
- package/dist/ProgressSpinner-DuBpPkna.js +0 -90
- package/dist/Tooltip-CU1xFt_N.js +0 -93
package/dist/inplace/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
|
|
2
2
|
import "./style.js";
|
|
3
3
|
import { computed as t, createElementBlock as n, defineComponent as r, mergeProps as i, nextTick as a, onBeforeUnmount as o, openBlock as s, ref as c, renderSlot as l, unref as u, useAttrs as d, watch as f, withKeys as p, withModifiers as m } from "vue";
|
|
4
4
|
//#region src/components/Inplace/Inplace.vue?vue&type=script&setup=true&lang.ts
|
package/dist/inplace/style.css
CHANGED
|
@@ -60,9 +60,22 @@
|
|
|
60
60
|
--m-z-toast: calc(var(--m-z-base) + 100);
|
|
61
61
|
--m-z-popper: 40;
|
|
62
62
|
|
|
63
|
-
|
|
63
|
+
/* Affix hitbox tracks control height so small/compact shells do not overflow */
|
|
64
|
+
--m-control-affix-size: calc(
|
|
65
|
+
var(--m-control-height-medium) - 2 * var(--m-border-width)
|
|
66
|
+
);
|
|
64
67
|
--m-control-affix-gap: 2.35rem;
|
|
65
68
|
--m-control-affix-padding: 2.5rem;
|
|
69
|
+
--m-meter-track-height: var(--m-space-5);
|
|
70
|
+
--m-tree-toggler-size: var(--m-checkbox-control-size);
|
|
71
|
+
--m-nav-rail-width: 12.5rem;
|
|
72
|
+
--m-nav-rail-collapsed-width: 4rem;
|
|
73
|
+
--m-layout-header-height: calc(
|
|
74
|
+
var(--m-control-height-medium) + 2 * var(--m-space-3)
|
|
75
|
+
);
|
|
76
|
+
--m-layout-footer-height: calc(
|
|
77
|
+
var(--m-control-height-medium) + 2 * var(--m-space-2)
|
|
78
|
+
);
|
|
66
79
|
--m-space-1: 0.25rem;
|
|
67
80
|
--m-space-2: 0.5rem;
|
|
68
81
|
--m-space-3: 0.75rem;
|
|
@@ -80,7 +93,7 @@
|
|
|
80
93
|
--m-motion-ease: cubic-bezier(0.2, 0, 0, 1);
|
|
81
94
|
--m-motion-enter: 180ms;
|
|
82
95
|
--m-motion-exit: 130ms;
|
|
83
|
-
--m-motion-distance:
|
|
96
|
+
--m-motion-distance: 1rem;
|
|
84
97
|
--m-motion-spin: 1s;
|
|
85
98
|
--m-motion-spin-dash: 1.5s;
|
|
86
99
|
--m-motion-spin-fast: 0.8s;
|
|
@@ -89,6 +102,11 @@
|
|
|
89
102
|
--m-motion-pulse: 1.2s;
|
|
90
103
|
--m-motion-scrollbar-show: 340ms;
|
|
91
104
|
--m-motion-scrollbar-hide: 120ms;
|
|
105
|
+
--m-motion-loading-aurora: 3s;
|
|
106
|
+
--m-motion-loading-bounce: 0.6s;
|
|
107
|
+
--m-motion-loading-pulse: 1.8s;
|
|
108
|
+
--m-motion-loading-stardust: 1.6s;
|
|
109
|
+
--m-motion-loading-circular-rotate: 2s;
|
|
92
110
|
--m-dataview-grid-min: 10rem;
|
|
93
111
|
--m-tree-indent: 0.7rem;
|
|
94
112
|
--m-tree-indent-padding: var(--m-space-3);
|
|
@@ -135,6 +153,20 @@
|
|
|
135
153
|
--m-motion-enter: 100ms;
|
|
136
154
|
--m-motion-exit: 80ms;
|
|
137
155
|
--m-motion-distance: 0;
|
|
156
|
+
/* Looping indicators: keep a short pulse so state is still perceptible */
|
|
157
|
+
--m-motion-spin: 0ms;
|
|
158
|
+
--m-motion-spin-dash: 0ms;
|
|
159
|
+
--m-motion-spin-fast: 0ms;
|
|
160
|
+
--m-motion-spin-medium: 0ms;
|
|
161
|
+
--m-motion-skeleton: 0ms;
|
|
162
|
+
--m-motion-pulse: 0ms;
|
|
163
|
+
--m-motion-scrollbar-show: 160ms;
|
|
164
|
+
--m-motion-scrollbar-hide: 80ms;
|
|
165
|
+
--m-motion-loading-aurora: 0ms;
|
|
166
|
+
--m-motion-loading-bounce: 0ms;
|
|
167
|
+
--m-motion-loading-pulse: 0ms;
|
|
168
|
+
--m-motion-loading-stardust: 0ms;
|
|
169
|
+
--m-motion-loading-circular-rotate: 0ms;
|
|
138
170
|
}
|
|
139
171
|
|
|
140
172
|
:root[data-m-motion="none"] {
|
|
@@ -143,6 +175,64 @@
|
|
|
143
175
|
--m-motion-enter: 0ms;
|
|
144
176
|
--m-motion-exit: 0ms;
|
|
145
177
|
--m-motion-distance: 0;
|
|
178
|
+
--m-motion-spin: 0ms;
|
|
179
|
+
--m-motion-spin-dash: 0ms;
|
|
180
|
+
--m-motion-spin-fast: 0ms;
|
|
181
|
+
--m-motion-spin-medium: 0ms;
|
|
182
|
+
--m-motion-skeleton: 0ms;
|
|
183
|
+
--m-motion-pulse: 0ms;
|
|
184
|
+
--m-motion-scrollbar-show: 0ms;
|
|
185
|
+
--m-motion-scrollbar-hide: 0ms;
|
|
186
|
+
--m-motion-loading-aurora: 0ms;
|
|
187
|
+
--m-motion-loading-bounce: 0ms;
|
|
188
|
+
--m-motion-loading-pulse: 0ms;
|
|
189
|
+
--m-motion-loading-stardust: 0ms;
|
|
190
|
+
--m-motion-loading-circular-rotate: 0ms;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
/*
|
|
194
|
+
* Global motion policy (complements per-component rules):
|
|
195
|
+
* - `reduced` / OS prefers-reduced-motion: keep short paint transitions; stop loops
|
|
196
|
+
* and layout/transform size animation.
|
|
197
|
+
* - `none`: zero all transition/animation durations.
|
|
198
|
+
*/
|
|
199
|
+
@media (prefers-reduced-motion: reduce) {
|
|
200
|
+
html:not([data-m-ignore-reduced-motion]) *,
|
|
201
|
+
html:not([data-m-ignore-reduced-motion]) *::before,
|
|
202
|
+
html:not([data-m-ignore-reduced-motion]) *::after {
|
|
203
|
+
animation-duration: 0.01ms !important;
|
|
204
|
+
animation-iteration-count: 1 !important;
|
|
205
|
+
transition-property: background-color, border-color, color, opacity, box-shadow,
|
|
206
|
+
outline, fill, stroke, stroke-dashoffset !important;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
[data-m-motion="reduced"] *,
|
|
211
|
+
[data-m-motion="reduced"] *::before,
|
|
212
|
+
[data-m-motion="reduced"] *::after {
|
|
213
|
+
animation-duration: 0.01ms !important;
|
|
214
|
+
animation-iteration-count: 1 !important;
|
|
215
|
+
transition-property: background-color, border-color, color, opacity, box-shadow, outline,
|
|
216
|
+
fill, stroke, stroke-dashoffset !important;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
[data-m-motion="none"] *,
|
|
220
|
+
[data-m-motion="none"] *::before,
|
|
221
|
+
[data-m-motion="none"] *::after {
|
|
222
|
+
animation-duration: 0.01ms !important;
|
|
223
|
+
animation-iteration-count: 1 !important;
|
|
224
|
+
transition-duration: 0.01ms !important;
|
|
225
|
+
scroll-behavior: auto !important;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
/* Off-screen looping indicators (usePauseOffscreen → data-m-anim-paused) */
|
|
229
|
+
[data-m-anim-paused],
|
|
230
|
+
[data-m-anim-paused]::before,
|
|
231
|
+
[data-m-anim-paused]::after,
|
|
232
|
+
[data-m-anim-paused] *,
|
|
233
|
+
[data-m-anim-paused] *::before,
|
|
234
|
+
[data-m-anim-paused] *::after {
|
|
235
|
+
animation-play-state: paused !important;
|
|
146
236
|
}
|
|
147
237
|
|
|
148
238
|
/* Global density: scales spacing + control heights (Vuetify-inspired, WD tokens) */
|
|
@@ -158,6 +248,8 @@
|
|
|
158
248
|
--m-control-affix-padding: 2.15rem;
|
|
159
249
|
--m-control-affix-gap: 2rem;
|
|
160
250
|
--m-checkbox-control-size: 1rem;
|
|
251
|
+
--m-nav-rail-width: 15rem;
|
|
252
|
+
--m-nav-rail-collapsed-width: 3.25rem;
|
|
161
253
|
--m-space-1: 0.2rem;
|
|
162
254
|
--m-space-2: 0.4rem;
|
|
163
255
|
--m-space-3: 0.6rem;
|
|
@@ -185,6 +277,8 @@
|
|
|
185
277
|
--m-control-affix-padding: 2.85rem;
|
|
186
278
|
--m-control-affix-gap: 2.65rem;
|
|
187
279
|
--m-checkbox-control-size: 1.25rem;
|
|
280
|
+
--m-nav-rail-width: 18rem;
|
|
281
|
+
--m-nav-rail-collapsed-width: 4.5rem;
|
|
188
282
|
--m-space-1: 0.3rem;
|
|
189
283
|
--m-space-2: 0.6rem;
|
|
190
284
|
--m-space-3: 0.9rem;
|
|
@@ -215,11 +309,6 @@
|
|
|
215
309
|
--m-layout-footer-height: 2.5rem;
|
|
216
310
|
}
|
|
217
311
|
|
|
218
|
-
[data-m-density="compact"] .m-layout-sider {
|
|
219
|
-
--m-layout-sider-width: 15rem;
|
|
220
|
-
--m-layout-sider-collapsed-width: 3.25rem;
|
|
221
|
-
}
|
|
222
|
-
|
|
223
312
|
[data-m-density="spacious"] .m-layout-header {
|
|
224
313
|
--m-layout-header-height: 4rem;
|
|
225
314
|
}
|
|
@@ -228,11 +317,6 @@
|
|
|
228
317
|
--m-layout-footer-height: 3.5rem;
|
|
229
318
|
}
|
|
230
319
|
|
|
231
|
-
[data-m-density="spacious"] .m-layout-sider {
|
|
232
|
-
--m-layout-sider-width: 18rem;
|
|
233
|
-
--m-layout-sider-collapsed-width: 4.5rem;
|
|
234
|
-
}
|
|
235
|
-
|
|
236
320
|
[data-theme="dark"] {
|
|
237
321
|
--m-color-primary: #60a5fa;
|
|
238
322
|
--m-color-primary-hover: #93c5fd;
|
|
@@ -319,6 +403,8 @@
|
|
|
319
403
|
.m-datepicker,
|
|
320
404
|
.m-listbox,
|
|
321
405
|
.m-togglebutton,
|
|
406
|
+
.m-select,
|
|
407
|
+
.m-textarea,
|
|
322
408
|
.m-selectbutton,
|
|
323
409
|
.m-inputotp,
|
|
324
410
|
.m-knob,
|
|
@@ -373,6 +459,17 @@
|
|
|
373
459
|
opacity: var(--m-opacity-disabled);
|
|
374
460
|
}
|
|
375
461
|
|
|
462
|
+
.m-input-field__control--prefixed .m-input:disabled,
|
|
463
|
+
.m-input-field__control--suffixed .m-input:disabled,
|
|
464
|
+
.m-input-field__control--clearable .m-input:disabled,
|
|
465
|
+
.m-password--disabled .m-password__input,
|
|
466
|
+
.m-inputnumber--disabled .m-inputnumber__input,
|
|
467
|
+
.m-datepicker--disabled .m-datepicker__input,
|
|
468
|
+
.m-icon-field--anchored .m-input:disabled,
|
|
469
|
+
.m-icon-field--anchored .m-textarea:disabled {
|
|
470
|
+
opacity: 1;
|
|
471
|
+
}
|
|
472
|
+
|
|
376
473
|
.m-input::placeholder,
|
|
377
474
|
.m-textarea::placeholder,
|
|
378
475
|
.m-password__input::placeholder,
|
|
@@ -477,7 +574,7 @@
|
|
|
477
574
|
.m-scale-fade-enter-from,
|
|
478
575
|
.m-scale-fade-leave-to {
|
|
479
576
|
opacity: 0;
|
|
480
|
-
transform: translateY(calc(var(--m-motion-distance) * -1)) scale(0.
|
|
577
|
+
transform: translateY(calc(var(--m-motion-distance) * -1)) scale(0.96);
|
|
481
578
|
}
|
|
482
579
|
|
|
483
580
|
.m-slide-fade-enter-active {
|
|
@@ -498,20 +595,101 @@
|
|
|
498
595
|
transform: translateY(calc(var(--m-motion-distance) * -1));
|
|
499
596
|
}
|
|
500
597
|
|
|
598
|
+
/* Generic center zoom (opacity + scale on the transitioning root) */
|
|
599
|
+
.m-zoom-enter-active {
|
|
600
|
+
transition:
|
|
601
|
+
opacity var(--m-motion-enter) var(--m-motion-ease),
|
|
602
|
+
transform var(--m-motion-enter) var(--m-motion-ease);
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
.m-zoom-leave-active {
|
|
606
|
+
transition:
|
|
607
|
+
opacity var(--m-motion-exit) var(--m-motion-ease),
|
|
608
|
+
transform var(--m-motion-exit) var(--m-motion-ease);
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
.m-zoom-enter-from,
|
|
612
|
+
.m-zoom-leave-to {
|
|
613
|
+
opacity: 0;
|
|
614
|
+
transform: scale(0.9);
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
.m-slide-up-enter-active,
|
|
618
|
+
.m-slide-down-enter-active,
|
|
619
|
+
.m-slide-left-enter-active,
|
|
620
|
+
.m-slide-right-enter-active {
|
|
621
|
+
transition:
|
|
622
|
+
opacity var(--m-motion-enter) var(--m-motion-ease),
|
|
623
|
+
transform var(--m-motion-enter) var(--m-motion-ease);
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
.m-slide-up-leave-active,
|
|
627
|
+
.m-slide-down-leave-active,
|
|
628
|
+
.m-slide-left-leave-active,
|
|
629
|
+
.m-slide-right-leave-active {
|
|
630
|
+
transition:
|
|
631
|
+
opacity var(--m-motion-exit) var(--m-motion-ease),
|
|
632
|
+
transform var(--m-motion-exit) var(--m-motion-ease);
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
.m-slide-up-enter-from,
|
|
636
|
+
.m-slide-up-leave-to {
|
|
637
|
+
opacity: 0;
|
|
638
|
+
transform: translateY(var(--m-motion-distance));
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
.m-slide-down-enter-from,
|
|
642
|
+
.m-slide-down-leave-to {
|
|
643
|
+
opacity: 0;
|
|
644
|
+
transform: translateY(calc(var(--m-motion-distance) * -1));
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
.m-slide-left-enter-from,
|
|
648
|
+
.m-slide-left-leave-to {
|
|
649
|
+
opacity: 0;
|
|
650
|
+
transform: translateX(var(--m-motion-distance));
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
.m-slide-right-enter-from,
|
|
654
|
+
.m-slide-right-leave-to {
|
|
655
|
+
opacity: 0;
|
|
656
|
+
transform: translateX(calc(var(--m-motion-distance) * -1));
|
|
657
|
+
}
|
|
658
|
+
|
|
501
659
|
@media (prefers-reduced-motion: reduce) {
|
|
502
660
|
html:not([data-m-ignore-reduced-motion]) .m-fade-enter-active,
|
|
503
661
|
html:not([data-m-ignore-reduced-motion]) .m-fade-leave-active,
|
|
504
662
|
html:not([data-m-ignore-reduced-motion]) .m-scale-fade-enter-active,
|
|
505
663
|
html:not([data-m-ignore-reduced-motion]) .m-scale-fade-leave-active,
|
|
506
664
|
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
|
|
665
|
+
html:not([data-m-ignore-reduced-motion]) .m-slide-fade-leave-active,
|
|
666
|
+
html:not([data-m-ignore-reduced-motion]) .m-zoom-enter-active,
|
|
667
|
+
html:not([data-m-ignore-reduced-motion]) .m-zoom-leave-active,
|
|
668
|
+
html:not([data-m-ignore-reduced-motion]) .m-slide-up-enter-active,
|
|
669
|
+
html:not([data-m-ignore-reduced-motion]) .m-slide-up-leave-active,
|
|
670
|
+
html:not([data-m-ignore-reduced-motion]) .m-slide-down-enter-active,
|
|
671
|
+
html:not([data-m-ignore-reduced-motion]) .m-slide-down-leave-active,
|
|
672
|
+
html:not([data-m-ignore-reduced-motion]) .m-slide-left-enter-active,
|
|
673
|
+
html:not([data-m-ignore-reduced-motion]) .m-slide-left-leave-active,
|
|
674
|
+
html:not([data-m-ignore-reduced-motion]) .m-slide-right-enter-active,
|
|
675
|
+
html:not([data-m-ignore-reduced-motion]) .m-slide-right-leave-active {
|
|
508
676
|
transition: none;
|
|
509
677
|
}
|
|
510
678
|
|
|
511
679
|
html:not([data-m-ignore-reduced-motion]) .m-scale-fade-enter-from,
|
|
512
680
|
html:not([data-m-ignore-reduced-motion]) .m-scale-fade-leave-to,
|
|
513
681
|
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
|
|
682
|
+
html:not([data-m-ignore-reduced-motion]) .m-slide-fade-leave-to,
|
|
683
|
+
html:not([data-m-ignore-reduced-motion]) .m-zoom-enter-from,
|
|
684
|
+
html:not([data-m-ignore-reduced-motion]) .m-zoom-leave-to,
|
|
685
|
+
html:not([data-m-ignore-reduced-motion]) .m-slide-up-enter-from,
|
|
686
|
+
html:not([data-m-ignore-reduced-motion]) .m-slide-up-leave-to,
|
|
687
|
+
html:not([data-m-ignore-reduced-motion]) .m-slide-down-enter-from,
|
|
688
|
+
html:not([data-m-ignore-reduced-motion]) .m-slide-down-leave-to,
|
|
689
|
+
html:not([data-m-ignore-reduced-motion]) .m-slide-left-enter-from,
|
|
690
|
+
html:not([data-m-ignore-reduced-motion]) .m-slide-left-leave-to,
|
|
691
|
+
html:not([data-m-ignore-reduced-motion]) .m-slide-right-enter-from,
|
|
692
|
+
html:not([data-m-ignore-reduced-motion]) .m-slide-right-leave-to {
|
|
515
693
|
transform: none;
|
|
516
694
|
}
|
|
517
695
|
}
|
|
@@ -522,12 +700,32 @@
|
|
|
522
700
|
[data-m-motion="reduced"] .m-scale-fade-leave-active,
|
|
523
701
|
[data-m-motion="reduced"] .m-slide-fade-enter-active,
|
|
524
702
|
[data-m-motion="reduced"] .m-slide-fade-leave-active,
|
|
703
|
+
[data-m-motion="reduced"] .m-zoom-enter-active,
|
|
704
|
+
[data-m-motion="reduced"] .m-zoom-leave-active,
|
|
705
|
+
[data-m-motion="reduced"] .m-slide-up-enter-active,
|
|
706
|
+
[data-m-motion="reduced"] .m-slide-up-leave-active,
|
|
707
|
+
[data-m-motion="reduced"] .m-slide-down-enter-active,
|
|
708
|
+
[data-m-motion="reduced"] .m-slide-down-leave-active,
|
|
709
|
+
[data-m-motion="reduced"] .m-slide-left-enter-active,
|
|
710
|
+
[data-m-motion="reduced"] .m-slide-left-leave-active,
|
|
711
|
+
[data-m-motion="reduced"] .m-slide-right-enter-active,
|
|
712
|
+
[data-m-motion="reduced"] .m-slide-right-leave-active,
|
|
525
713
|
[data-m-motion="none"] .m-fade-enter-active,
|
|
526
714
|
[data-m-motion="none"] .m-fade-leave-active,
|
|
527
715
|
[data-m-motion="none"] .m-scale-fade-enter-active,
|
|
528
716
|
[data-m-motion="none"] .m-scale-fade-leave-active,
|
|
529
717
|
[data-m-motion="none"] .m-slide-fade-enter-active,
|
|
530
|
-
[data-m-motion="none"] .m-slide-fade-leave-active
|
|
718
|
+
[data-m-motion="none"] .m-slide-fade-leave-active,
|
|
719
|
+
[data-m-motion="none"] .m-zoom-enter-active,
|
|
720
|
+
[data-m-motion="none"] .m-zoom-leave-active,
|
|
721
|
+
[data-m-motion="none"] .m-slide-up-enter-active,
|
|
722
|
+
[data-m-motion="none"] .m-slide-up-leave-active,
|
|
723
|
+
[data-m-motion="none"] .m-slide-down-enter-active,
|
|
724
|
+
[data-m-motion="none"] .m-slide-down-leave-active,
|
|
725
|
+
[data-m-motion="none"] .m-slide-left-enter-active,
|
|
726
|
+
[data-m-motion="none"] .m-slide-left-leave-active,
|
|
727
|
+
[data-m-motion="none"] .m-slide-right-enter-active,
|
|
728
|
+
[data-m-motion="none"] .m-slide-right-leave-active {
|
|
531
729
|
transition: none;
|
|
532
730
|
}
|
|
533
731
|
|
|
@@ -535,10 +733,30 @@
|
|
|
535
733
|
[data-m-motion="reduced"] .m-scale-fade-leave-to,
|
|
536
734
|
[data-m-motion="reduced"] .m-slide-fade-enter-from,
|
|
537
735
|
[data-m-motion="reduced"] .m-slide-fade-leave-to,
|
|
736
|
+
[data-m-motion="reduced"] .m-zoom-enter-from,
|
|
737
|
+
[data-m-motion="reduced"] .m-zoom-leave-to,
|
|
738
|
+
[data-m-motion="reduced"] .m-slide-up-enter-from,
|
|
739
|
+
[data-m-motion="reduced"] .m-slide-up-leave-to,
|
|
740
|
+
[data-m-motion="reduced"] .m-slide-down-enter-from,
|
|
741
|
+
[data-m-motion="reduced"] .m-slide-down-leave-to,
|
|
742
|
+
[data-m-motion="reduced"] .m-slide-left-enter-from,
|
|
743
|
+
[data-m-motion="reduced"] .m-slide-left-leave-to,
|
|
744
|
+
[data-m-motion="reduced"] .m-slide-right-enter-from,
|
|
745
|
+
[data-m-motion="reduced"] .m-slide-right-leave-to,
|
|
538
746
|
[data-m-motion="none"] .m-scale-fade-enter-from,
|
|
539
747
|
[data-m-motion="none"] .m-scale-fade-leave-to,
|
|
540
748
|
[data-m-motion="none"] .m-slide-fade-enter-from,
|
|
541
|
-
[data-m-motion="none"] .m-slide-fade-leave-to
|
|
749
|
+
[data-m-motion="none"] .m-slide-fade-leave-to,
|
|
750
|
+
[data-m-motion="none"] .m-zoom-enter-from,
|
|
751
|
+
[data-m-motion="none"] .m-zoom-leave-to,
|
|
752
|
+
[data-m-motion="none"] .m-slide-up-enter-from,
|
|
753
|
+
[data-m-motion="none"] .m-slide-up-leave-to,
|
|
754
|
+
[data-m-motion="none"] .m-slide-down-enter-from,
|
|
755
|
+
[data-m-motion="none"] .m-slide-down-leave-to,
|
|
756
|
+
[data-m-motion="none"] .m-slide-left-enter-from,
|
|
757
|
+
[data-m-motion="none"] .m-slide-left-leave-to,
|
|
758
|
+
[data-m-motion="none"] .m-slide-right-enter-from,
|
|
759
|
+
[data-m-motion="none"] .m-slide-right-leave-to {
|
|
542
760
|
transform: none;
|
|
543
761
|
}
|
|
544
762
|
|
|
@@ -692,14 +910,6 @@
|
|
|
692
910
|
opacity: var(--m-opacity-disabled);
|
|
693
911
|
}
|
|
694
912
|
|
|
695
|
-
.m-icon-field--left :is(.m-input, .m-password__input, .m-inputnumber__input, input) {
|
|
696
|
-
padding-left: var(--m-control-affix-padding);
|
|
697
|
-
}
|
|
698
|
-
|
|
699
|
-
.m-icon-field--right :is(.m-input, .m-password__input, .m-inputnumber__input, input) {
|
|
700
|
-
padding-right: var(--m-control-affix-padding);
|
|
701
|
-
}
|
|
702
|
-
|
|
703
913
|
.m-inputgroup > .m-input,
|
|
704
914
|
.m-inputgroup > .m-input-field,
|
|
705
915
|
.m-inputgroup > .m-password-field,
|
|
@@ -718,16 +928,22 @@
|
|
|
718
928
|
|
|
719
929
|
.m-inputgroup > .m-input,
|
|
720
930
|
.m-inputgroup .m-input,
|
|
721
|
-
.m-inputgroup .m-
|
|
722
|
-
.m-inputgroup .m-inputnumber__input
|
|
931
|
+
.m-inputgroup .m-password,
|
|
932
|
+
.m-inputgroup .m-inputnumber__input-wrap,
|
|
933
|
+
.m-inputgroup .m-input-field__control--prefixed,
|
|
934
|
+
.m-inputgroup .m-input-field__control--suffixed,
|
|
935
|
+
.m-inputgroup .m-input-field__control--clearable {
|
|
723
936
|
border-radius: 0;
|
|
724
937
|
width: 100%;
|
|
725
938
|
}
|
|
726
939
|
|
|
727
940
|
.m-inputgroup > :first-child.m-input,
|
|
728
941
|
.m-inputgroup > :first-child .m-input,
|
|
729
|
-
.m-inputgroup > :first-child .m-
|
|
730
|
-
.m-inputgroup > :first-child .m-inputnumber__input,
|
|
942
|
+
.m-inputgroup > :first-child .m-password,
|
|
943
|
+
.m-inputgroup > :first-child .m-inputnumber__input-wrap,
|
|
944
|
+
.m-inputgroup > :first-child .m-input-field__control--prefixed,
|
|
945
|
+
.m-inputgroup > :first-child .m-input-field__control--suffixed,
|
|
946
|
+
.m-inputgroup > :first-child .m-input-field__control--clearable,
|
|
731
947
|
.m-inputgroup > :first-child.m-inputgroup-addon {
|
|
732
948
|
border-bottom-left-radius: var(--m-radius-control);
|
|
733
949
|
border-top-left-radius: var(--m-radius-control);
|
|
@@ -735,8 +951,11 @@
|
|
|
735
951
|
|
|
736
952
|
.m-inputgroup > :last-child.m-input,
|
|
737
953
|
.m-inputgroup > :last-child .m-input,
|
|
738
|
-
.m-inputgroup > :last-child .m-
|
|
739
|
-
.m-inputgroup > :last-child .m-inputnumber__input,
|
|
954
|
+
.m-inputgroup > :last-child .m-password,
|
|
955
|
+
.m-inputgroup > :last-child .m-inputnumber__input-wrap,
|
|
956
|
+
.m-inputgroup > :last-child .m-input-field__control--prefixed,
|
|
957
|
+
.m-inputgroup > :last-child .m-input-field__control--suffixed,
|
|
958
|
+
.m-inputgroup > :last-child .m-input-field__control--clearable,
|
|
740
959
|
.m-inputgroup > :last-child.m-inputgroup-addon {
|
|
741
960
|
border-bottom-right-radius: var(--m-radius-control);
|
|
742
961
|
border-top-right-radius: var(--m-radius-control);
|
|
@@ -887,9 +1106,6 @@
|
|
|
887
1106
|
}
|
|
888
1107
|
|
|
889
1108
|
/* Shared Naive-like hover/focus for remaining form triggers */
|
|
890
|
-
.m-inputnumber__input:hover:not(:disabled):not(:focus),
|
|
891
|
-
.m-password__input:hover:not(:disabled):not(:focus),
|
|
892
|
-
.m-datepicker__input:hover:not(:disabled):not(:focus),
|
|
893
1109
|
.m-inputotp__input:hover:not(:disabled):not(:focus),
|
|
894
1110
|
.m-cascadeselect__trigger:hover:not(:disabled):not(:focus-visible),
|
|
895
1111
|
.m-treeselect__trigger:hover:not(:disabled):not(:focus-visible),
|
|
@@ -900,9 +1116,6 @@
|
|
|
900
1116
|
border-color: var(--m-color-primary-hover);
|
|
901
1117
|
}
|
|
902
1118
|
|
|
903
|
-
.m-inputnumber__input:focus-visible,
|
|
904
|
-
.m-password__input:focus-visible,
|
|
905
|
-
.m-datepicker__input:focus-visible,
|
|
906
1119
|
.m-inputotp__input:focus-visible,
|
|
907
1120
|
.m-cascadeselect__trigger:focus-visible,
|
|
908
1121
|
.m-treeselect__trigger:focus-visible,
|
|
@@ -919,9 +1132,6 @@
|
|
|
919
1132
|
outline: none;
|
|
920
1133
|
}
|
|
921
1134
|
|
|
922
|
-
.m-inputnumber--invalid .m-inputnumber__input:focus-visible,
|
|
923
|
-
.m-password--invalid .m-password__input:focus-visible,
|
|
924
|
-
.m-datepicker--invalid .m-datepicker__input:focus-visible,
|
|
925
1135
|
.m-inputotp--invalid .m-inputotp__input:focus-visible,
|
|
926
1136
|
.m-inputtags--invalid:focus-within,
|
|
927
1137
|
.m-inputcolor--invalid .m-inputcolor__text:focus-visible {
|
package/dist/input/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t } from "../Icon-
|
|
1
|
+
import { i as e } from "../useComponentAttrs-e-5QAjdw.js";
|
|
2
|
+
import { t } from "../Icon-lcN1rS87.js";
|
|
3
3
|
import { t as n } from "../useMId-BXFYayPP.js";
|
|
4
|
-
import { i as r, o as i, s as
|
|
5
|
-
import { n as
|
|
4
|
+
import { i as r, o as i, s as ee } from "../config-CapALqt3.js";
|
|
5
|
+
import { n as a } from "../locale-Bzm2nbEp.js";
|
|
6
6
|
import "./style.js";
|
|
7
|
-
import { computed as
|
|
7
|
+
import { computed as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createVNode as u, defineComponent as d, mergeProps as f, normalizeClass as p, openBlock as m, ref as h, renderSlot as g, toDisplayString as _, unref as v, useAttrs as y, useSlots as b } from "vue";
|
|
8
8
|
//#region src/components/Input/Input.vue?vue&type=script&setup=true&lang.ts
|
|
9
|
-
var
|
|
9
|
+
var x = ["for"], S = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "m-input__prefix"
|
|
12
|
-
},
|
|
12
|
+
}, C = [
|
|
13
13
|
"id",
|
|
14
14
|
"type",
|
|
15
15
|
"value",
|
|
@@ -22,13 +22,13 @@ var S = ["for"], C = {
|
|
|
22
22
|
"autofocus",
|
|
23
23
|
"aria-invalid",
|
|
24
24
|
"aria-describedby"
|
|
25
|
-
],
|
|
25
|
+
], w = {
|
|
26
26
|
key: 1,
|
|
27
27
|
class: "m-input__suffix"
|
|
28
|
-
},
|
|
28
|
+
}, T = ["aria-label", "disabled"], E = {
|
|
29
29
|
key: 1,
|
|
30
30
|
class: "m-input-field__meta"
|
|
31
|
-
},
|
|
31
|
+
}, D = ["id", "role"], te = ["id"], O = /* @__PURE__ */ d({
|
|
32
32
|
inheritAttrs: !1,
|
|
33
33
|
__name: "Input",
|
|
34
34
|
props: {
|
|
@@ -78,100 +78,98 @@ var S = ["for"], C = {
|
|
|
78
78
|
"blur",
|
|
79
79
|
"change"
|
|
80
80
|
],
|
|
81
|
-
setup(
|
|
82
|
-
let
|
|
81
|
+
setup(d, { expose: O, emit: k }) {
|
|
82
|
+
let A = d, j = k, M = y(), { rootAttrs: N, controlAttrs: P } = e(M, () => A.pt), F = b(), I = r("Input"), L = a(), R = h(null), z = n("m-input"), B = o(() => A.id ?? z), V = o(() => A.invalid || !!A.errorMessage), H = i("Input", () => A.size), U = ee("Input", () => A.variant), ne = o(() => A.clearable ?? I.value.clearable ?? !1), W = o(() => A.showCount ?? I.value.showCount ?? !1), G = o(() => A.fluid ?? I.value.fluid ?? !1), K = o(() => A.modelValue.length), q = o(() => A.maxlength == null ? String(K.value) : `${K.value} / ${A.maxlength}`), J = o(() => A.errorMessage || A.helpText), Y = o(() => !!A.errorMessage || V.value && !!A.helpText), X = o(() => !!F.prefix), Z = o(() => !!F.suffix), re = o(() => {
|
|
83
83
|
let e = [];
|
|
84
|
-
return
|
|
85
|
-
}),
|
|
84
|
+
return J.value && e.push(`${B.value}-help`), W.value && e.push(`${B.value}-count`), e.length ? e.join(" ") : void 0;
|
|
85
|
+
}), ie = o(() => [
|
|
86
86
|
"m-input",
|
|
87
|
-
`m-input--${
|
|
87
|
+
`m-input--${H.value}`,
|
|
88
88
|
{
|
|
89
|
-
"m-input--filled":
|
|
90
|
-
"m-input--fluid":
|
|
91
|
-
"m-input--invalid":
|
|
92
|
-
"m-input--has-prefix": Q.value,
|
|
93
|
-
"m-input--has-suffix": $.value
|
|
89
|
+
"m-input--filled": U.value === "filled",
|
|
90
|
+
"m-input--fluid": G.value,
|
|
91
|
+
"m-input--invalid": V.value
|
|
94
92
|
}
|
|
95
|
-
])
|
|
96
|
-
|
|
97
|
-
|
|
93
|
+
]), Q = o(() => ne.value && !!A.modelValue), ae = o(() => ({
|
|
94
|
+
"m-input-field__control--clearable": Q.value,
|
|
95
|
+
"m-input-field__control--counted": W.value,
|
|
96
|
+
"m-input-field__control--prefixed": X.value,
|
|
97
|
+
"m-input-field__control--suffixed": Z.value
|
|
98
|
+
}));
|
|
99
|
+
function oe(e) {
|
|
100
|
+
j("update:modelValue", e.target.value);
|
|
98
101
|
}
|
|
99
|
-
function
|
|
100
|
-
|
|
102
|
+
function $() {
|
|
103
|
+
A.disabled || A.readonly || (j("update:modelValue", ""), j("clear"), R.value?.focus());
|
|
101
104
|
}
|
|
102
|
-
function
|
|
103
|
-
|
|
105
|
+
function se() {
|
|
106
|
+
R.value?.focus();
|
|
104
107
|
}
|
|
105
|
-
function
|
|
106
|
-
|
|
108
|
+
function ce() {
|
|
109
|
+
R.value?.blur();
|
|
107
110
|
}
|
|
108
|
-
function
|
|
109
|
-
|
|
111
|
+
function le() {
|
|
112
|
+
R.value?.select();
|
|
110
113
|
}
|
|
111
|
-
return
|
|
112
|
-
focus:
|
|
113
|
-
blur:
|
|
114
|
-
select:
|
|
115
|
-
}), (e, n) => (
|
|
116
|
-
|
|
114
|
+
return O({
|
|
115
|
+
focus: se,
|
|
116
|
+
blur: ce,
|
|
117
|
+
select: le
|
|
118
|
+
}), (e, n) => (m(), c("div", f(v(N), { class: ["m-input-field", { "m-input-field--fluid": G.value }] }), [
|
|
119
|
+
d.label ? (m(), c("label", {
|
|
117
120
|
key: 0,
|
|
118
121
|
class: "m-input-field__label",
|
|
119
|
-
for:
|
|
120
|
-
},
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
"
|
|
124
|
-
|
|
125
|
-
"m-input-field__control--suffixed": !!e.$slots.suffix
|
|
126
|
-
}]) }, [
|
|
127
|
-
e.$slots.prefix ? (h(), l("span", C, [_(e.$slots, "prefix")])) : c("", !0),
|
|
128
|
-
u("input", p(y(I), {
|
|
129
|
-
id: H.value,
|
|
122
|
+
for: B.value
|
|
123
|
+
}, _(d.label), 9, x)) : s("", !0),
|
|
124
|
+
l("div", { class: p(["m-input-field__control", ae.value]) }, [
|
|
125
|
+
X.value ? (m(), c("span", S, [g(e.$slots, "prefix")])) : s("", !0),
|
|
126
|
+
l("input", f(v(P), {
|
|
127
|
+
id: B.value,
|
|
130
128
|
ref_key: "inputElement",
|
|
131
|
-
ref:
|
|
132
|
-
class:
|
|
133
|
-
type:
|
|
134
|
-
value:
|
|
135
|
-
disabled:
|
|
136
|
-
readonly:
|
|
137
|
-
maxlength:
|
|
138
|
-
placeholder:
|
|
139
|
-
name:
|
|
140
|
-
autocomplete:
|
|
141
|
-
autofocus:
|
|
142
|
-
"aria-invalid":
|
|
143
|
-
"aria-describedby":
|
|
144
|
-
onInput:
|
|
145
|
-
onFocus: n[0] ||= (e) =>
|
|
146
|
-
onBlur: n[1] ||= (e) =>
|
|
147
|
-
onChange: n[2] ||= (e) =>
|
|
148
|
-
}), null, 16,
|
|
149
|
-
|
|
150
|
-
|
|
129
|
+
ref: R,
|
|
130
|
+
class: ie.value,
|
|
131
|
+
type: d.type,
|
|
132
|
+
value: d.modelValue,
|
|
133
|
+
disabled: d.disabled,
|
|
134
|
+
readonly: d.readonly,
|
|
135
|
+
maxlength: d.maxlength,
|
|
136
|
+
placeholder: d.placeholder,
|
|
137
|
+
name: d.name,
|
|
138
|
+
autocomplete: d.autocomplete,
|
|
139
|
+
autofocus: d.autofocus || void 0,
|
|
140
|
+
"aria-invalid": V.value || void 0,
|
|
141
|
+
"aria-describedby": re.value,
|
|
142
|
+
onInput: oe,
|
|
143
|
+
onFocus: n[0] ||= (e) => j("focus", e),
|
|
144
|
+
onBlur: n[1] ||= (e) => j("blur", e),
|
|
145
|
+
onChange: n[2] ||= (e) => j("change", e.target.value)
|
|
146
|
+
}), null, 16, C),
|
|
147
|
+
Z.value ? (m(), c("span", w, [g(e.$slots, "suffix")])) : s("", !0),
|
|
148
|
+
Q.value ? (m(), c("button", {
|
|
151
149
|
key: 2,
|
|
152
150
|
class: "m-input__clear",
|
|
153
151
|
type: "button",
|
|
154
|
-
"aria-label":
|
|
155
|
-
disabled:
|
|
156
|
-
onClick:
|
|
157
|
-
}, [
|
|
152
|
+
"aria-label": v(L).clearInput,
|
|
153
|
+
disabled: d.disabled || d.readonly,
|
|
154
|
+
onClick: $
|
|
155
|
+
}, [u(t, {
|
|
158
156
|
name: "close",
|
|
159
157
|
size: "sm"
|
|
160
|
-
})], 8,
|
|
158
|
+
})], 8, T)) : s("", !0)
|
|
161
159
|
], 2),
|
|
162
|
-
|
|
160
|
+
J.value || W.value ? (m(), c("div", E, [J.value ? (m(), c("span", {
|
|
163
161
|
key: 0,
|
|
164
|
-
id: `${
|
|
165
|
-
class:
|
|
166
|
-
role:
|
|
167
|
-
},
|
|
162
|
+
id: `${B.value}-help`,
|
|
163
|
+
class: p(["m-input-field__help", { "m-input-field__help--invalid": Y.value }]),
|
|
164
|
+
role: Y.value ? "alert" : void 0
|
|
165
|
+
}, _(J.value), 11, D)) : s("", !0), W.value ? (m(), c("span", {
|
|
168
166
|
key: 1,
|
|
169
|
-
id: `${
|
|
167
|
+
id: `${B.value}-count`,
|
|
170
168
|
class: "m-input-field__count",
|
|
171
169
|
"aria-live": "polite"
|
|
172
|
-
},
|
|
170
|
+
}, _(q.value), 9, te)) : s("", !0)])) : s("", !0)
|
|
173
171
|
], 16));
|
|
174
172
|
}
|
|
175
173
|
});
|
|
176
174
|
//#endregion
|
|
177
|
-
export {
|
|
175
|
+
export { O as MInput };
|