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
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export type IconPrimitive = {
|
|
2
|
+
tag: 'path';
|
|
3
|
+
d: string;
|
|
4
|
+
} | {
|
|
5
|
+
tag: 'circle';
|
|
6
|
+
cx: number;
|
|
7
|
+
cy: number;
|
|
8
|
+
r: number;
|
|
9
|
+
fill?: 'currentColor' | 'none';
|
|
10
|
+
} | {
|
|
11
|
+
tag: 'line';
|
|
12
|
+
x1: number;
|
|
13
|
+
y1: number;
|
|
14
|
+
x2: number;
|
|
15
|
+
y2: number;
|
|
16
|
+
} | {
|
|
17
|
+
tag: 'polyline';
|
|
18
|
+
points: string;
|
|
19
|
+
} | {
|
|
20
|
+
tag: 'rect';
|
|
21
|
+
x: number;
|
|
22
|
+
y: number;
|
|
23
|
+
width: number;
|
|
24
|
+
height: number;
|
|
25
|
+
rx?: number;
|
|
26
|
+
};
|
|
27
|
+
export interface IconDefinition {
|
|
28
|
+
primitives: readonly IconPrimitive[];
|
|
29
|
+
/** Optional CSS modifier on the host (e.g. spin for loader). */
|
|
30
|
+
spin?: boolean;
|
|
31
|
+
/** SVG viewBox. Defaults to `0 0 16 16` for legacy system icons. */
|
|
32
|
+
viewBox?: string;
|
|
33
|
+
/** Stroke width matching the viewBox scale. Defaults to `1.8`. */
|
|
34
|
+
strokeWidth?: number;
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=icons-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icons-types.d.ts","sourceRoot":"","sources":["../../../src/components/Icon/icons-types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GACrB;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,GAC1B;IAAE,GAAG,EAAE,QAAQ,CAAC;IAAC,EAAE,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,cAAc,GAAG,MAAM,CAAA;CAAE,GACpF;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAA;CAAE,GAC/D;IAAE,GAAG,EAAE,UAAU,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,GACnC;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,EAAE,CAAC,EAAE,MAAM,CAAA;CAAE,CAAA;AAErF,MAAM,WAAW,cAAc;IAC7B,UAAU,EAAE,SAAS,aAAa,EAAE,CAAA;IACpC,gEAAgE;IAChE,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,oEAAoE;IACpE,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,kEAAkE;IAClE,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB"}
|
|
@@ -1,36 +1,79 @@
|
|
|
1
|
-
|
|
2
|
-
export type IconPrimitive
|
|
3
|
-
tag: 'path';
|
|
4
|
-
d: string;
|
|
5
|
-
} | {
|
|
6
|
-
tag: 'circle';
|
|
7
|
-
cx: number;
|
|
8
|
-
cy: number;
|
|
9
|
-
r: number;
|
|
10
|
-
fill?: 'currentColor' | 'none';
|
|
11
|
-
} | {
|
|
12
|
-
tag: 'line';
|
|
13
|
-
x1: number;
|
|
14
|
-
y1: number;
|
|
15
|
-
x2: number;
|
|
16
|
-
y2: number;
|
|
17
|
-
} | {
|
|
18
|
-
tag: 'polyline';
|
|
19
|
-
points: string;
|
|
20
|
-
} | {
|
|
21
|
-
tag: 'rect';
|
|
22
|
-
x: number;
|
|
23
|
-
y: number;
|
|
24
|
-
width: number;
|
|
25
|
-
height: number;
|
|
26
|
-
rx?: number;
|
|
27
|
-
};
|
|
28
|
-
export interface IconDefinition {
|
|
29
|
-
primitives: readonly IconPrimitive[];
|
|
30
|
-
/** Optional CSS modifier on the host (e.g. spin for loader). */
|
|
31
|
-
spin?: boolean;
|
|
32
|
-
}
|
|
1
|
+
import { IconDefinition } from './icons-types';
|
|
2
|
+
export type { IconDefinition, IconPrimitive } from './icons-types';
|
|
33
3
|
export declare const iconRegistry: {
|
|
4
|
+
readonly 'layout-dashboard': IconDefinition;
|
|
5
|
+
readonly 'layout-grid': IconDefinition;
|
|
6
|
+
readonly users: IconDefinition;
|
|
7
|
+
readonly 'user-plus': IconDefinition;
|
|
8
|
+
readonly folder: IconDefinition;
|
|
9
|
+
readonly 'folder-open': IconDefinition;
|
|
10
|
+
readonly file: IconDefinition;
|
|
11
|
+
readonly 'file-text': IconDefinition;
|
|
12
|
+
readonly paperclip: IconDefinition;
|
|
13
|
+
readonly clipboard: IconDefinition;
|
|
14
|
+
readonly activity: IconDefinition;
|
|
15
|
+
readonly box: IconDefinition;
|
|
16
|
+
readonly package: IconDefinition;
|
|
17
|
+
readonly stack: IconDefinition;
|
|
18
|
+
readonly cloud: IconDefinition;
|
|
19
|
+
readonly server: IconDefinition;
|
|
20
|
+
readonly components: IconDefinition;
|
|
21
|
+
readonly palette: IconDefinition;
|
|
22
|
+
readonly bell: IconDefinition;
|
|
23
|
+
readonly logout: IconDefinition;
|
|
24
|
+
readonly login: IconDefinition;
|
|
25
|
+
readonly photo: IconDefinition;
|
|
26
|
+
readonly phone: IconDefinition;
|
|
27
|
+
readonly 'map-pin': IconDefinition;
|
|
28
|
+
readonly world: IconDefinition;
|
|
29
|
+
readonly 'shopping-cart': IconDefinition;
|
|
30
|
+
readonly 'credit-card': IconDefinition;
|
|
31
|
+
readonly message: IconDefinition;
|
|
32
|
+
readonly send: IconDefinition;
|
|
33
|
+
readonly share: IconDefinition;
|
|
34
|
+
readonly 'device-floppy': IconDefinition;
|
|
35
|
+
readonly printer: IconDefinition;
|
|
36
|
+
readonly 'zoom-in': IconDefinition;
|
|
37
|
+
readonly 'zoom-out': IconDefinition;
|
|
38
|
+
readonly ban: IconDefinition;
|
|
39
|
+
readonly 'help-circle': IconDefinition;
|
|
40
|
+
readonly 'info-circle': IconDefinition;
|
|
41
|
+
readonly sun: IconDefinition;
|
|
42
|
+
readonly moon: IconDefinition;
|
|
43
|
+
readonly code: IconDefinition;
|
|
44
|
+
readonly terminal: IconDefinition;
|
|
45
|
+
readonly building: IconDefinition;
|
|
46
|
+
readonly briefcase: IconDefinition;
|
|
47
|
+
readonly list: IconDefinition;
|
|
48
|
+
readonly table: IconDefinition;
|
|
49
|
+
readonly 'chart-line': IconDefinition;
|
|
50
|
+
readonly 'chart-pie': IconDefinition;
|
|
51
|
+
readonly 'player-play': IconDefinition;
|
|
52
|
+
readonly 'player-pause': IconDefinition;
|
|
53
|
+
readonly 'device-desktop': IconDefinition;
|
|
54
|
+
readonly 'device-mobile': IconDefinition;
|
|
55
|
+
readonly 'adjustments-horizontal': IconDefinition;
|
|
56
|
+
readonly rocket: IconDefinition;
|
|
57
|
+
readonly sparkles: IconDefinition;
|
|
58
|
+
readonly history: IconDefinition;
|
|
59
|
+
readonly archive: IconDefinition;
|
|
60
|
+
readonly key: IconDefinition;
|
|
61
|
+
readonly wifi: IconDefinition;
|
|
62
|
+
readonly video: IconDefinition;
|
|
63
|
+
readonly microphone: IconDefinition;
|
|
64
|
+
readonly scissors: IconDefinition;
|
|
65
|
+
readonly 'arrow-back-up': IconDefinition;
|
|
66
|
+
readonly 'arrow-forward-up': IconDefinition;
|
|
67
|
+
readonly save: IconDefinition;
|
|
68
|
+
readonly image: IconDefinition;
|
|
69
|
+
readonly cut: IconDefinition;
|
|
70
|
+
readonly play: IconDefinition;
|
|
71
|
+
readonly pause: IconDefinition;
|
|
72
|
+
readonly undo: IconDefinition;
|
|
73
|
+
readonly redo: IconDefinition;
|
|
74
|
+
readonly layers: IconDefinition;
|
|
75
|
+
readonly sliders: IconDefinition;
|
|
76
|
+
readonly grid: IconDefinition;
|
|
34
77
|
readonly check: {
|
|
35
78
|
readonly primitives: readonly [{
|
|
36
79
|
readonly tag: "path";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../src/components/Icon/icons.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../src/components/Icon/icons.ts"],"names":[],"mappings":"AAAA,wGAAwG;AAGxG,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAEnD,YAAY,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA;AAElE,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiR0B,CAAA;AAEnD,MAAM,MAAM,QAAQ,GAAG,MAAM,OAAO,YAAY,CAAA;AAEhD,eAAO,MAAM,SAAS,EAAgC,QAAQ,EAAE,CAAA;AAEhE,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,QAAQ,CAE3D;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,QAAQ,GAAG,cAAc,CAEhE"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export { default as MIcon } from './Icon.vue';
|
|
2
2
|
export { getIconDefinition, iconNames, iconRegistry, isIconName, } from './icons';
|
|
3
|
+
export { getIconCategory, getIconCategoryGroups, iconCategoryMeta, } from './icon-categories';
|
|
4
|
+
export type { IconCategoryGroup, IconCategoryId, IconCategoryMeta, } from './icon-categories';
|
|
3
5
|
export type { IconDefinition, IconName, IconPrimitive } from './icons';
|
|
4
6
|
export type { IconProps, IconSize } from './types';
|
|
5
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Icon/index.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Icon/index.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,CAAA;AAChB,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,YAAY,CAAA;AAC7C,OAAO,EACL,iBAAiB,EACjB,SAAS,EACT,YAAY,EACZ,UAAU,GACX,MAAM,SAAS,CAAA;AAChB,OAAO,EACL,eAAe,EACf,qBAAqB,EACrB,gBAAgB,GACjB,MAAM,mBAAmB,CAAA;AAC1B,YAAY,EACV,iBAAiB,EACjB,cAAc,EACd,gBAAgB,GACjB,MAAM,mBAAmB,CAAA;AAC1B,YAAY,EAAE,cAAc,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AACtE,YAAY,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { IconFieldProps } from './types';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
-
declare var __VLS_1: {}, __VLS_3: {};
|
|
3
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_11: {};
|
|
4
4
|
type __VLS_Slots = {} & {
|
|
5
5
|
icon?: (props: typeof __VLS_1) => any;
|
|
6
6
|
} & {
|
|
7
7
|
default?: (props: typeof __VLS_3) => any;
|
|
8
|
+
} & {
|
|
9
|
+
icon?: (props: typeof __VLS_11) => any;
|
|
8
10
|
};
|
|
9
11
|
declare const __VLS_base: DefineComponent<IconFieldProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IconFieldProps> & Readonly<{}>, {
|
|
10
12
|
iconPosition: "left" | "right";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconField.vue.d.ts","sourceRoot":"","sources":["../../../src/components/IconField/IconField.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"IconField.vue.d.ts","sourceRoot":"","sources":["../../../src/components/IconField/IconField.vue"],"names":[],"mappings":";AA8EA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAyH7C,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,QAAQ,IAAY,CAAE;AAChE,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GACzC;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAO7C,QAAA,MAAM,UAAU;;6EAGd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1,75 +1,350 @@
|
|
|
1
1
|
/* —— Form: IconField —— */
|
|
2
2
|
.m-icon-field {
|
|
3
|
-
|
|
4
|
-
display: inline-flex;
|
|
3
|
+
display: block;
|
|
5
4
|
max-width: 100%;
|
|
6
5
|
position: relative;
|
|
7
6
|
width: 100%;
|
|
8
7
|
}
|
|
9
8
|
|
|
9
|
+
.m-icon-field__body {
|
|
10
|
+
min-width: 0;
|
|
11
|
+
width: 100%;
|
|
12
|
+
}
|
|
13
|
+
|
|
10
14
|
.m-icon-field__icon {
|
|
11
15
|
align-items: center;
|
|
12
16
|
color: var(--m-color-text-muted);
|
|
13
17
|
display: inline-flex;
|
|
18
|
+
flex: 0 0 auto;
|
|
19
|
+
line-height: 1;
|
|
14
20
|
pointer-events: none;
|
|
21
|
+
z-index: 1;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/* Fallback when slot is a bare input/textarea (no control shell to anchor into). */
|
|
25
|
+
.m-icon-field:not(.m-icon-field--anchored) .m-icon-field__icon {
|
|
15
26
|
position: absolute;
|
|
16
27
|
top: 50%;
|
|
17
28
|
transform: translateY(-50%);
|
|
18
|
-
z-index: 1;
|
|
19
29
|
}
|
|
20
30
|
|
|
21
|
-
.m-icon-field--left .m-icon-field__icon {
|
|
22
|
-
left: var(--m-
|
|
31
|
+
.m-icon-field--left:not(.m-icon-field--anchored) .m-icon-field__icon {
|
|
32
|
+
left: var(--m-space-2);
|
|
23
33
|
}
|
|
24
34
|
|
|
25
|
-
.m-icon-field--right .m-icon-field__icon {
|
|
26
|
-
right: var(--m-
|
|
35
|
+
.m-icon-field--right:not(.m-icon-field--anchored) .m-icon-field__icon {
|
|
36
|
+
right: var(--m-space-2);
|
|
27
37
|
}
|
|
28
38
|
|
|
29
|
-
.m-icon-field--left
|
|
39
|
+
.m-icon-field--left:not(.m-icon-field--anchored)
|
|
40
|
+
:is(.m-input, .m-textarea, input, textarea) {
|
|
30
41
|
padding-left: var(--m-control-affix-padding);
|
|
31
42
|
}
|
|
32
43
|
|
|
33
|
-
.m-icon-field--right
|
|
44
|
+
.m-icon-field--right:not(.m-icon-field--anchored)
|
|
45
|
+
:is(.m-input, .m-textarea, input, textarea) {
|
|
34
46
|
padding-right: var(--m-control-affix-padding);
|
|
35
47
|
}
|
|
36
48
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
49
|
+
/*
|
|
50
|
+
* Anchored mode: icon teleports into the control shell and participates in
|
|
51
|
+
* flex flow (same model as Input prefix/suffix).
|
|
52
|
+
*/
|
|
53
|
+
.m-icon-field--anchored :is(
|
|
54
|
+
.m-input-field__control,
|
|
55
|
+
.m-textarea-field__control,
|
|
56
|
+
.m-password,
|
|
57
|
+
.m-inputnumber__input-wrap,
|
|
58
|
+
.m-autocomplete__control,
|
|
59
|
+
.m-datepicker__control
|
|
60
|
+
) {
|
|
61
|
+
align-items: center;
|
|
62
|
+
display: flex;
|
|
40
63
|
}
|
|
41
64
|
|
|
42
|
-
.m-icon-field--
|
|
43
|
-
|
|
44
|
-
|
|
65
|
+
.m-icon-field--anchored .m-icon-field__icon {
|
|
66
|
+
position: static;
|
|
67
|
+
transform: none;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.m-icon-field--left.m-icon-field--anchored .m-icon-field__icon {
|
|
71
|
+
order: -1;
|
|
72
|
+
padding-inline: var(--m-space-2);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.m-icon-field--right.m-icon-field--anchored .m-icon-field__icon {
|
|
76
|
+
order: 1;
|
|
77
|
+
padding-inline: var(--m-space-2);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.m-icon-field--right.m-icon-field--anchored :is(
|
|
81
|
+
.m-input__clear,
|
|
82
|
+
.m-password__clear,
|
|
83
|
+
.m-textarea__clear,
|
|
84
|
+
.m-inputnumber__clear,
|
|
85
|
+
.m-autocomplete__clear,
|
|
86
|
+
.m-autocomplete__spinner,
|
|
87
|
+
.m-autocomplete__dropdown,
|
|
88
|
+
.m-datepicker__clear,
|
|
89
|
+
.m-password__toggle
|
|
90
|
+
) {
|
|
91
|
+
order: 2;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/* Promote plain bordered inputs into the control shell when IconField anchors. */
|
|
95
|
+
.m-icon-field--anchored
|
|
96
|
+
.m-input-field__control:not(
|
|
97
|
+
.m-input-field__control--prefixed,
|
|
98
|
+
.m-input-field__control--suffixed,
|
|
99
|
+
.m-input-field__control--clearable
|
|
100
|
+
) {
|
|
101
|
+
background: var(--m-color-surface);
|
|
102
|
+
border: var(--m-border-width) solid var(--m-color-border);
|
|
103
|
+
border-radius: var(--m-radius-control);
|
|
104
|
+
box-sizing: border-box;
|
|
105
|
+
min-height: var(--m-control-height-medium);
|
|
106
|
+
transition:
|
|
107
|
+
border-color var(--m-motion-fast) var(--m-motion-ease),
|
|
108
|
+
box-shadow var(--m-motion-fast) var(--m-motion-ease);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.m-icon-field--anchored
|
|
112
|
+
.m-textarea-field__control:not(.m-textarea-field__control--clearable) {
|
|
113
|
+
background: var(--m-color-surface);
|
|
114
|
+
border: var(--m-border-width) solid var(--m-color-border);
|
|
115
|
+
border-radius: var(--m-radius-control);
|
|
116
|
+
box-sizing: border-box;
|
|
117
|
+
transition:
|
|
118
|
+
border-color var(--m-motion-fast) var(--m-motion-ease),
|
|
119
|
+
box-shadow var(--m-motion-fast) var(--m-motion-ease);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.m-icon-field--anchored
|
|
123
|
+
.m-input-field__control:not(
|
|
124
|
+
.m-input-field__control--prefixed,
|
|
125
|
+
.m-input-field__control--suffixed,
|
|
126
|
+
.m-input-field__control--clearable
|
|
127
|
+
)
|
|
128
|
+
.m-input {
|
|
129
|
+
background: transparent;
|
|
130
|
+
border: 0;
|
|
131
|
+
border-radius: 0;
|
|
132
|
+
box-shadow: none;
|
|
133
|
+
flex: 1 1 auto;
|
|
134
|
+
height: calc(var(--m-control-height-medium) - 2 * var(--m-border-width));
|
|
135
|
+
line-height: calc(var(--m-control-height-medium) - 2 * var(--m-border-width));
|
|
136
|
+
min-height: 0;
|
|
137
|
+
min-width: 0;
|
|
138
|
+
width: auto;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.m-icon-field--anchored
|
|
142
|
+
.m-textarea-field__control:not(.m-textarea-field__control--clearable)
|
|
143
|
+
.m-textarea {
|
|
144
|
+
background: transparent;
|
|
145
|
+
border: 0;
|
|
146
|
+
border-radius: 0;
|
|
147
|
+
box-shadow: none;
|
|
148
|
+
flex: 1 1 auto;
|
|
149
|
+
min-width: 0;
|
|
150
|
+
width: auto;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.m-icon-field--anchored
|
|
154
|
+
.m-input-field__control:not(
|
|
155
|
+
.m-input-field__control--prefixed,
|
|
156
|
+
.m-input-field__control--suffixed,
|
|
157
|
+
.m-input-field__control--clearable
|
|
158
|
+
):hover:not(:focus-within):has(.m-input:not(:disabled)),
|
|
159
|
+
.m-icon-field--anchored
|
|
160
|
+
.m-textarea-field__control:not(.m-textarea-field__control--clearable):hover:not(
|
|
161
|
+
:focus-within
|
|
162
|
+
):has(.m-textarea:not(:disabled)) {
|
|
163
|
+
border-color: var(--m-color-primary-hover);
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.m-icon-field--anchored
|
|
167
|
+
.m-input-field__control:not(
|
|
168
|
+
.m-input-field__control--prefixed,
|
|
169
|
+
.m-input-field__control--suffixed,
|
|
170
|
+
.m-input-field__control--clearable
|
|
171
|
+
):has(.m-input--filled),
|
|
172
|
+
.m-icon-field--anchored
|
|
173
|
+
.m-textarea-field__control:not(.m-textarea-field__control--clearable):has(
|
|
174
|
+
.m-textarea--filled
|
|
175
|
+
) {
|
|
176
|
+
background: color-mix(
|
|
177
|
+
in srgb,
|
|
178
|
+
var(--m-color-text-muted) 12%,
|
|
179
|
+
var(--m-color-surface)
|
|
180
|
+
);
|
|
181
|
+
border-color: transparent;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.m-icon-field--anchored
|
|
185
|
+
.m-input-field__control:not(
|
|
186
|
+
.m-input-field__control--prefixed,
|
|
187
|
+
.m-input-field__control--suffixed,
|
|
188
|
+
.m-input-field__control--clearable
|
|
189
|
+
):has(.m-input--invalid),
|
|
190
|
+
.m-icon-field--anchored
|
|
191
|
+
.m-textarea-field__control:not(.m-textarea-field__control--clearable):has(
|
|
192
|
+
.m-textarea--invalid
|
|
193
|
+
) {
|
|
194
|
+
border-color: var(--m-color-danger);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.m-icon-field--anchored
|
|
198
|
+
.m-input-field__control:has(.m-input:disabled),
|
|
199
|
+
.m-icon-field--anchored
|
|
200
|
+
.m-textarea-field__control:has(.m-textarea:disabled) {
|
|
201
|
+
cursor: not-allowed;
|
|
202
|
+
opacity: var(--m-opacity-disabled);
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.m-icon-field--anchored
|
|
206
|
+
.m-input-field__control:not(
|
|
207
|
+
.m-input-field__control--prefixed,
|
|
208
|
+
.m-input-field__control--suffixed,
|
|
209
|
+
.m-input-field__control--clearable
|
|
210
|
+
):focus-within,
|
|
211
|
+
.m-icon-field--anchored
|
|
212
|
+
.m-textarea-field__control:not(.m-textarea-field__control--clearable):focus-within {
|
|
213
|
+
border-color: var(--m-color-primary-hover);
|
|
214
|
+
box-shadow: var(--m-focus-shadow);
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.m-icon-field--anchored
|
|
218
|
+
.m-input-field__control:not(
|
|
219
|
+
.m-input-field__control--prefixed,
|
|
220
|
+
.m-input-field__control--suffixed,
|
|
221
|
+
.m-input-field__control--clearable
|
|
222
|
+
)
|
|
223
|
+
.m-input:focus-visible,
|
|
224
|
+
.m-icon-field--anchored
|
|
225
|
+
.m-textarea-field__control:not(.m-textarea-field__control--clearable)
|
|
226
|
+
.m-textarea:focus-visible {
|
|
227
|
+
border-color: transparent;
|
|
228
|
+
box-shadow: none;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.m-icon-field--left.m-icon-field--anchored :is(
|
|
232
|
+
.m-input,
|
|
233
|
+
.m-textarea,
|
|
234
|
+
.m-password__input,
|
|
235
|
+
.m-inputnumber__input,
|
|
236
|
+
.m-autocomplete__input,
|
|
237
|
+
.m-datepicker__input
|
|
238
|
+
) {
|
|
239
|
+
padding-left: 0;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.m-icon-field--right.m-icon-field--anchored :is(
|
|
243
|
+
.m-input,
|
|
244
|
+
.m-textarea,
|
|
245
|
+
.m-password__input,
|
|
246
|
+
.m-inputnumber__input,
|
|
247
|
+
.m-autocomplete__input,
|
|
248
|
+
.m-datepicker__input
|
|
249
|
+
) {
|
|
250
|
+
padding-right: 0;
|
|
45
251
|
}
|
|
46
252
|
|
|
47
|
-
|
|
253
|
+
/* Size-aware icon inset */
|
|
254
|
+
.m-icon-field--anchored:has(
|
|
255
|
+
.m-input--small,
|
|
256
|
+
.m-textarea--small,
|
|
257
|
+
.m-password--small,
|
|
258
|
+
.m-inputnumber--small,
|
|
259
|
+
.m-autocomplete--small,
|
|
260
|
+
.m-datepicker--small,
|
|
261
|
+
.m-input--sm,
|
|
262
|
+
.m-textarea--sm
|
|
263
|
+
)
|
|
48
264
|
.m-icon-field__icon {
|
|
49
|
-
|
|
265
|
+
padding-inline: var(--m-space-2);
|
|
50
266
|
}
|
|
51
267
|
|
|
52
|
-
.m-icon-field--
|
|
268
|
+
.m-icon-field--anchored:has(
|
|
269
|
+
.m-input--large,
|
|
270
|
+
.m-textarea--large,
|
|
271
|
+
.m-password--large,
|
|
272
|
+
.m-inputnumber--large,
|
|
273
|
+
.m-autocomplete--large,
|
|
274
|
+
.m-datepicker--large,
|
|
275
|
+
.m-input--lg,
|
|
276
|
+
.m-textarea--lg
|
|
277
|
+
)
|
|
53
278
|
.m-icon-field__icon {
|
|
54
|
-
|
|
279
|
+
padding-inline: var(--m-space-3);
|
|
55
280
|
}
|
|
56
281
|
|
|
57
|
-
.m-icon-field--
|
|
58
|
-
|
|
59
|
-
|
|
282
|
+
.m-icon-field--anchored:has(
|
|
283
|
+
.m-input--small,
|
|
284
|
+
.m-textarea--small,
|
|
285
|
+
.m-password--small,
|
|
286
|
+
.m-inputnumber--small,
|
|
287
|
+
.m-autocomplete--small,
|
|
288
|
+
.m-datepicker--small,
|
|
289
|
+
.m-input--sm,
|
|
290
|
+
.m-textarea--sm
|
|
291
|
+
)
|
|
292
|
+
.m-input-field__control:not(
|
|
293
|
+
.m-input-field__control--prefixed,
|
|
294
|
+
.m-input-field__control--suffixed,
|
|
295
|
+
.m-input-field__control--clearable
|
|
296
|
+
) {
|
|
297
|
+
min-height: var(--m-control-height-small);
|
|
60
298
|
}
|
|
61
299
|
|
|
62
|
-
.m-icon-field--
|
|
63
|
-
|
|
64
|
-
|
|
300
|
+
.m-icon-field--anchored:has(
|
|
301
|
+
.m-input--small,
|
|
302
|
+
.m-inputnumber--small,
|
|
303
|
+
.m-autocomplete--small,
|
|
304
|
+
.m-datepicker--small,
|
|
305
|
+
.m-password--small,
|
|
306
|
+
.m-input--sm
|
|
307
|
+
)
|
|
308
|
+
.m-input-field__control:not(
|
|
309
|
+
.m-input-field__control--prefixed,
|
|
310
|
+
.m-input-field__control--suffixed,
|
|
311
|
+
.m-input-field__control--clearable
|
|
312
|
+
)
|
|
313
|
+
.m-input {
|
|
314
|
+
height: calc(var(--m-control-height-small) - 2 * var(--m-border-width));
|
|
315
|
+
line-height: calc(var(--m-control-height-small) - 2 * var(--m-border-width));
|
|
65
316
|
}
|
|
66
317
|
|
|
67
|
-
.m-icon-field--
|
|
68
|
-
|
|
69
|
-
|
|
318
|
+
.m-icon-field--anchored:has(
|
|
319
|
+
.m-input--large,
|
|
320
|
+
.m-password--large,
|
|
321
|
+
.m-inputnumber--large,
|
|
322
|
+
.m-autocomplete--large,
|
|
323
|
+
.m-datepicker--large,
|
|
324
|
+
.m-input--lg
|
|
325
|
+
)
|
|
326
|
+
.m-input-field__control:not(
|
|
327
|
+
.m-input-field__control--prefixed,
|
|
328
|
+
.m-input-field__control--suffixed,
|
|
329
|
+
.m-input-field__control--clearable
|
|
330
|
+
) {
|
|
331
|
+
min-height: var(--m-control-height-large);
|
|
70
332
|
}
|
|
71
333
|
|
|
72
|
-
.m-icon-field--
|
|
73
|
-
|
|
74
|
-
|
|
334
|
+
.m-icon-field--anchored:has(
|
|
335
|
+
.m-input--large,
|
|
336
|
+
.m-password--large,
|
|
337
|
+
.m-inputnumber--large,
|
|
338
|
+
.m-autocomplete--large,
|
|
339
|
+
.m-datepicker--large,
|
|
340
|
+
.m-input--lg
|
|
341
|
+
)
|
|
342
|
+
.m-input-field__control:not(
|
|
343
|
+
.m-input-field__control--prefixed,
|
|
344
|
+
.m-input-field__control--suffixed,
|
|
345
|
+
.m-input-field__control--clearable
|
|
346
|
+
)
|
|
347
|
+
.m-input {
|
|
348
|
+
height: calc(var(--m-control-height-large) - 2 * var(--m-border-width));
|
|
349
|
+
line-height: calc(var(--m-control-height-large) - 2 * var(--m-border-width));
|
|
75
350
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Input/Input.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Input.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Input/Input.vue"],"names":[],"mappings":";AA2KA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAuFzC,iBAAS,KAAK,SAEb;AAED,iBAAS,IAAI,SAEZ;AAED,iBAAS,MAAM,SAEd;AAwKD,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAW,CAAE;AAC3C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC3C;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAO9C,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;6EAKd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Input/index.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Input/index.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,CAAA;AAChB,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,aAAa,CAAA;AAC/C,YAAY,EAAE,UAAU,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA"}
|