morya-ui 0.3.8 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +123 -0
- package/dist/{Button-3vJoiEQC.js → Button-TaJ0LKtP.js} +45 -38
- package/dist/{Checkbox-B2gcDJHM.js → Checkbox-BKt8hdhV.js} +1 -1
- package/dist/DatePicker-CSoMFEvh.js +630 -0
- package/dist/{Empty-5pTDp3ZM.js → Empty-iNcc0G-q.js} +6 -6
- package/dist/{FlyoutSubmenu-C_OrDaPN.js → FlyoutSubmenu-C1RfFRzH.js} +1 -1
- package/dist/Input-DQHYqvNk.js +181 -0
- package/dist/{Loading-Ba-Js5-u.js → Loading-BPpR-jGa.js} +113 -112
- package/dist/{Pagination-lJ7cce6g.js → Pagination-DLphD6LC.js} +44 -39
- package/dist/{Popover-CQ2VYpFJ.js → Popover-B_2c9NWs.js} +8 -8
- package/dist/ProgressSpinner-B_OJG_0l.js +106 -0
- package/dist/{Radio-BbJ_Jyil.js → Radio-Bxd806ys.js} +1 -1
- package/dist/Segmented-BRMSmXCl.js +115 -0
- package/dist/Select-DxMlpgc5.js +661 -0
- package/dist/Textarea-BBvpgIQL.js +195 -0
- package/dist/{Tooltip-D3WUemno.js → Tooltip-BJp-ZMqQ.js} +11 -11
- package/dist/accordion/style.css +150 -91
- package/dist/affix/index.js +142 -0
- package/dist/affix/style.css +1223 -0
- package/dist/affix/style.js +3 -0
- package/dist/alert/index.js +89 -0
- package/dist/alert/style.css +1387 -0
- package/dist/alert/style.js +4 -0
- package/dist/anchor/index.js +251 -0
- package/dist/anchor/style.css +1296 -0
- package/dist/anchor/style.js +3 -0
- package/dist/auto-complete/index.js +81 -81
- package/dist/auto-complete/style.css +159 -98
- package/dist/avatar/style.css +150 -91
- package/dist/badge/index.js +29 -28
- package/dist/badge/style.css +149 -90
- package/dist/block-ui/index.js +1 -1
- package/dist/block-ui/style.css +149 -90
- package/dist/breadcrumb/index.js +16 -9
- package/dist/breadcrumb/style.css +155 -94
- package/dist/button/index.js +1 -1
- package/dist/button/style.css +235 -122
- package/dist/calendar/index.js +304 -0
- package/dist/calendar/style.css +2184 -0
- package/dist/calendar/style.js +6 -0
- package/dist/card/style.css +153 -94
- package/dist/carousel/index.js +313 -119
- package/dist/carousel/style.css +1415 -187
- package/dist/carousel/style.js +1 -1
- package/dist/cascade-select/index.js +31 -31
- package/dist/cascade-select/style.css +171 -99
- package/dist/checkbox/index.js +1 -1
- package/dist/checkbox/style.css +151 -91
- package/dist/chip/index.js +39 -36
- package/dist/chip/style.css +150 -91
- package/dist/command-menu/index.js +49 -49
- package/dist/command-menu/style.css +150 -91
- package/dist/component-registry.d.ts.map +1 -1
- package/dist/components/Accordion/styles.css +1 -1
- package/dist/components/Affix/Affix.vue.d.ts +22 -0
- package/dist/components/Affix/Affix.vue.d.ts.map +1 -0
- package/dist/components/Affix/affixUtils.d.ts +9 -0
- package/dist/components/Affix/affixUtils.d.ts.map +1 -0
- package/dist/components/Affix/index.d.ts +3 -0
- package/dist/components/Affix/index.d.ts.map +1 -0
- package/dist/components/Affix/styles.css +16 -0
- package/dist/components/Affix/types.d.ts +16 -0
- package/dist/components/Affix/types.d.ts.map +1 -0
- package/dist/components/Alert/Alert.vue.d.ts +31 -0
- package/dist/components/Alert/Alert.vue.d.ts.map +1 -0
- package/dist/components/Alert/index.d.ts +3 -0
- package/dist/components/Alert/index.d.ts.map +1 -0
- package/dist/components/Alert/styles.css +131 -0
- package/dist/components/Alert/types.d.ts +26 -0
- package/dist/components/Alert/types.d.ts.map +1 -0
- package/dist/components/Anchor/Anchor.vue.d.ts +35 -0
- package/dist/components/Anchor/Anchor.vue.d.ts.map +1 -0
- package/dist/components/Anchor/AnchorItems.vue.d.ts +9 -0
- package/dist/components/Anchor/AnchorItems.vue.d.ts.map +1 -0
- package/dist/components/Anchor/AnchorLink.vue.d.ts +22 -0
- package/dist/components/Anchor/AnchorLink.vue.d.ts.map +1 -0
- package/dist/components/Anchor/anchorContext.d.ts +17 -0
- package/dist/components/Anchor/anchorContext.d.ts.map +1 -0
- package/dist/components/Anchor/anchorUtils.d.ts +7 -0
- package/dist/components/Anchor/anchorUtils.d.ts.map +1 -0
- package/dist/components/Anchor/index.d.ts +4 -0
- package/dist/components/Anchor/index.d.ts.map +1 -0
- package/dist/components/Anchor/styles.css +89 -0
- package/dist/components/Anchor/types.d.ts +54 -0
- package/dist/components/Anchor/types.d.ts.map +1 -0
- package/dist/components/AutoComplete/AutoComplete.vue.d.ts +2 -2
- package/dist/components/Avatar/styles.css +1 -1
- package/dist/components/Badge/Badge.vue.d.ts.map +1 -1
- package/dist/components/Badge/types.d.ts +3 -0
- package/dist/components/Badge/types.d.ts.map +1 -1
- package/dist/components/Breadcrumb/Breadcrumb.vue.d.ts.map +1 -1
- package/dist/components/Breadcrumb/styles.css +6 -4
- package/dist/components/Breadcrumb/types.d.ts +6 -1
- package/dist/components/Breadcrumb/types.d.ts.map +1 -1
- package/dist/components/Button/Button.vue.d.ts +5 -3
- package/dist/components/Button/Button.vue.d.ts.map +1 -1
- package/dist/components/Button/index.d.ts +1 -1
- package/dist/components/Button/index.d.ts.map +1 -1
- package/dist/components/Button/styles.css +86 -32
- package/dist/components/Button/types.d.ts +10 -4
- package/dist/components/Button/types.d.ts.map +1 -1
- package/dist/components/Calendar/Calendar.vue.d.ts +47 -0
- package/dist/components/Calendar/Calendar.vue.d.ts.map +1 -0
- package/dist/components/Calendar/calendarUtils.d.ts +6 -0
- package/dist/components/Calendar/calendarUtils.d.ts.map +1 -0
- package/dist/components/Calendar/index.d.ts +3 -0
- package/dist/components/Calendar/index.d.ts.map +1 -0
- package/dist/components/Calendar/styles.css +180 -0
- package/dist/components/Calendar/types.d.ts +38 -0
- package/dist/components/Calendar/types.d.ts.map +1 -0
- package/dist/components/Card/styles.css +4 -4
- package/dist/components/Carousel/Carousel.vue.d.ts +41 -11
- package/dist/components/Carousel/Carousel.vue.d.ts.map +1 -1
- package/dist/components/Carousel/CarouselItem.vue.d.ts +16 -0
- package/dist/components/Carousel/CarouselItem.vue.d.ts.map +1 -0
- package/dist/components/Carousel/context.d.ts +10 -0
- package/dist/components/Carousel/context.d.ts.map +1 -0
- package/dist/components/Carousel/index.d.ts +2 -1
- package/dist/components/Carousel/index.d.ts.map +1 -1
- package/dist/components/Carousel/styles.css +250 -49
- package/dist/components/Carousel/types.d.ts +64 -9
- package/dist/components/Carousel/types.d.ts.map +1 -1
- package/dist/components/CascadeSelect/CascadeSelect.vue.d.ts +1 -1
- package/dist/components/CascadeSelect/styles.css +12 -1
- package/dist/components/Checkbox/styles.css +2 -1
- package/dist/components/Chip/Chip.vue.d.ts.map +1 -1
- package/dist/components/Chip/styles.css +1 -1
- package/dist/components/Chip/types.d.ts +3 -0
- package/dist/components/Chip/types.d.ts.map +1 -1
- package/dist/components/CommandMenu/styles.css +1 -1
- package/dist/components/ConfigProvider/ConfigProvider.vue.d.ts +6 -0
- package/dist/components/ConfigProvider/ConfigProvider.vue.d.ts.map +1 -1
- package/dist/components/ConfigProvider/types.d.ts +2 -1
- package/dist/components/ConfigProvider/types.d.ts.map +1 -1
- package/dist/components/ConfirmPopup/ConfirmPopup.vue.d.ts +1 -1
- package/dist/components/DataView/DataView.vue.d.ts +1 -1
- package/dist/components/DatePicker/DatePicker.vue.d.ts +2 -1
- package/dist/components/DatePicker/DatePicker.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/dateUtils.d.ts +25 -0
- package/dist/components/DatePicker/dateUtils.d.ts.map +1 -0
- package/dist/components/DatePicker/styles.css +124 -6
- package/dist/components/DatePicker/types.d.ts +7 -2
- package/dist/components/DatePicker/types.d.ts.map +1 -1
- package/dist/components/Descriptions/Descriptions.vue.d.ts +25 -0
- package/dist/components/Descriptions/Descriptions.vue.d.ts.map +1 -0
- package/dist/components/Descriptions/DescriptionsItem.vue.d.ts +20 -0
- package/dist/components/Descriptions/DescriptionsItem.vue.d.ts.map +1 -0
- package/dist/components/Descriptions/index.d.ts +4 -0
- package/dist/components/Descriptions/index.d.ts.map +1 -0
- package/dist/components/Descriptions/styles.css +128 -0
- package/dist/components/Descriptions/types.d.ts +34 -0
- package/dist/components/Descriptions/types.d.ts.map +1 -0
- package/dist/components/Dialog/Dialog.vue.d.ts +6 -2
- package/dist/components/Dialog/Dialog.vue.d.ts.map +1 -1
- package/dist/components/Dialog/index.d.ts +2 -0
- package/dist/components/Dialog/index.d.ts.map +1 -1
- package/dist/components/Dialog/styles.css +2 -2
- package/dist/components/Dialog/types.d.ts +9 -1
- package/dist/components/Dialog/types.d.ts.map +1 -1
- package/dist/components/Dialog/useModal.d.ts +59 -0
- package/dist/components/Dialog/useModal.d.ts.map +1 -0
- package/dist/components/Divider/Divider.vue.d.ts +1 -0
- package/dist/components/Divider/Divider.vue.d.ts.map +1 -1
- package/dist/components/Divider/styles.css +34 -3
- package/dist/components/Divider/types.d.ts +18 -1
- package/dist/components/Divider/types.d.ts.map +1 -1
- package/dist/components/Drawer/Drawer.vue.d.ts +1 -1
- package/dist/components/Drawer/styles.css +2 -2
- package/dist/components/Dropdown/Dropdown.vue.d.ts +1 -0
- package/dist/components/Dropdown/Dropdown.vue.d.ts.map +1 -1
- package/dist/components/Dropdown/styles.css +5 -0
- package/dist/components/Dropdown/types.d.ts +2 -0
- package/dist/components/Dropdown/types.d.ts.map +1 -1
- package/dist/components/Empty/Empty.vue.d.ts +2 -2
- package/dist/components/Fieldset/styles.css +2 -2
- package/dist/components/FileUpload/FileUpload.vue.d.ts +6 -6
- package/dist/components/FileUpload/styles.css +3 -3
- package/dist/components/Flex/types.d.ts +3 -1
- package/dist/components/Flex/types.d.ts.map +1 -1
- package/dist/components/Form/Form.vue.d.ts +18 -14
- package/dist/components/Form/Form.vue.d.ts.map +1 -1
- package/dist/components/Form/FormItem.vue.d.ts.map +1 -1
- package/dist/components/Form/FormList.types.d.ts +32 -0
- package/dist/components/Form/FormList.types.d.ts.map +1 -0
- package/dist/components/Form/FormList.vue.d.ts +38 -0
- package/dist/components/Form/FormList.vue.d.ts.map +1 -0
- package/dist/components/Form/context.d.ts +22 -7
- package/dist/components/Form/context.d.ts.map +1 -1
- package/dist/components/Form/index.d.ts +8 -3
- package/dist/components/Form/index.d.ts.map +1 -1
- package/dist/components/Form/paths.d.ts +22 -0
- package/dist/components/Form/paths.d.ts.map +1 -0
- package/dist/components/Form/rules.d.ts +11 -1
- package/dist/components/Form/rules.d.ts.map +1 -1
- package/dist/components/Form/styles.css +13 -2
- package/dist/components/Form/types.d.ts +54 -11
- package/dist/components/Form/types.d.ts.map +1 -1
- package/dist/components/Form/useForm.d.ts +58 -0
- package/dist/components/Form/useForm.d.ts.map +1 -0
- package/dist/components/Grid/Col.vue.d.ts +22 -0
- package/dist/components/Grid/Col.vue.d.ts.map +1 -0
- package/dist/components/Grid/Row.vue.d.ts +22 -0
- package/dist/components/Grid/Row.vue.d.ts.map +1 -0
- package/dist/components/Grid/index.d.ts +6 -0
- package/dist/components/Grid/index.d.ts.map +1 -1
- package/dist/components/Grid/rowColTypes.d.ts +64 -0
- package/dist/components/Grid/rowColTypes.d.ts.map +1 -0
- package/dist/components/Grid/styles.css +59 -0
- package/dist/components/Grid/useGridBreakpoint.d.ts +21 -0
- package/dist/components/Grid/useGridBreakpoint.d.ts.map +1 -0
- package/dist/components/IconField/styles.css +1 -1
- package/dist/components/Image/Image.vue.d.ts +13 -0
- package/dist/components/Image/Image.vue.d.ts.map +1 -0
- package/dist/components/Image/ImagePreviewGroup.vue.d.ts +16 -0
- package/dist/components/Image/ImagePreviewGroup.vue.d.ts.map +1 -0
- package/dist/components/Image/index.d.ts +4 -0
- package/dist/components/Image/index.d.ts.map +1 -0
- package/dist/components/Image/styles.css +96 -0
- package/dist/components/Image/types.d.ts +31 -0
- package/dist/components/Image/types.d.ts.map +1 -0
- package/dist/components/Input/Input.vue.d.ts +3 -2
- package/dist/components/Input/Input.vue.d.ts.map +1 -1
- package/dist/components/Input/styles.css +46 -10
- package/dist/components/Input/types.d.ts +8 -1
- package/dist/components/Input/types.d.ts.map +1 -1
- package/dist/components/InputColor/styles.css +12 -2
- package/dist/components/InputNumber/InputNumber.vue.d.ts +2 -2
- package/dist/components/InputNumber/styles.css +4 -3
- package/dist/components/InputOtp/styles.css +8 -0
- package/dist/components/InputPassword/InputPassword.vue.d.ts +4 -3
- package/dist/components/InputPassword/InputPassword.vue.d.ts.map +1 -1
- package/dist/components/InputPassword/styles.css +15 -4
- package/dist/components/InputPassword/types.d.ts +8 -1
- package/dist/components/InputPassword/types.d.ts.map +1 -1
- package/dist/components/InputTags/styles.css +11 -2
- package/dist/components/Knob/styles.css +2 -2
- package/dist/components/Label/styles.css +1 -1
- package/dist/components/Layout/styles.css +3 -3
- package/dist/components/List/List.vue.d.ts +39 -0
- package/dist/components/List/List.vue.d.ts.map +1 -0
- package/dist/components/List/ListItem.vue.d.ts +26 -0
- package/dist/components/List/ListItem.vue.d.ts.map +1 -0
- package/dist/components/List/ListItemMeta.vue.d.ts +22 -0
- package/dist/components/List/ListItemMeta.vue.d.ts.map +1 -0
- package/dist/components/List/index.d.ts +5 -0
- package/dist/components/List/index.d.ts.map +1 -0
- package/dist/components/List/styles.css +229 -0
- package/dist/components/List/types.d.ts +63 -0
- package/dist/components/List/types.d.ts.map +1 -0
- package/dist/components/Listbox/styles.css +7 -4
- package/dist/components/Loading/Loading.vue.d.ts +1 -1
- package/dist/components/Loading/Loading.vue.d.ts.map +1 -1
- package/dist/components/Loading/types.d.ts +7 -1
- package/dist/components/Loading/types.d.ts.map +1 -1
- package/dist/components/Mentions/Mentions.vue.d.ts +36 -0
- package/dist/components/Mentions/Mentions.vue.d.ts.map +1 -0
- package/dist/components/Mentions/index.d.ts +3 -0
- package/dist/components/Mentions/index.d.ts.map +1 -0
- package/dist/components/Mentions/mentionUtils.d.ts +17 -0
- package/dist/components/Mentions/mentionUtils.d.ts.map +1 -0
- package/dist/components/Mentions/styles.css +205 -0
- package/dist/components/Mentions/types.d.ts +42 -0
- package/dist/components/Mentions/types.d.ts.map +1 -0
- package/dist/components/Menu/styles.css +5 -4
- package/dist/components/Message/Message.vue.d.ts +1 -1
- package/dist/components/Page/PagePlaceholder.vue.d.ts +1 -1
- package/dist/components/Pagination/Pagination.vue.d.ts +3 -1
- package/dist/components/Pagination/Pagination.vue.d.ts.map +1 -1
- package/dist/components/Pagination/styles.css +31 -12
- package/dist/components/Pagination/types.d.ts +6 -0
- package/dist/components/Pagination/types.d.ts.map +1 -1
- package/dist/components/Panel/styles.css +3 -3
- package/dist/components/ProgressBar/ProgressBar.vue.d.ts.map +1 -1
- package/dist/components/ProgressBar/styles.css +30 -2
- package/dist/components/ProgressBar/types.d.ts +15 -2
- package/dist/components/ProgressBar/types.d.ts.map +1 -1
- package/dist/components/ProgressSpinner/ProgressSpinner.vue.d.ts.map +1 -1
- package/dist/components/ProgressSpinner/types.d.ts +2 -0
- package/dist/components/ProgressSpinner/types.d.ts.map +1 -1
- package/dist/components/QRCode/QRCode.vue.d.ts +29 -0
- package/dist/components/QRCode/QRCode.vue.d.ts.map +1 -0
- package/dist/components/QRCode/index.d.ts +3 -0
- package/dist/components/QRCode/index.d.ts.map +1 -0
- package/dist/components/QRCode/qrEncoder.d.ts +20 -0
- package/dist/components/QRCode/qrEncoder.d.ts.map +1 -0
- package/dist/components/QRCode/qrcodegen.d.ts +66 -0
- package/dist/components/QRCode/qrcodegen.d.ts.map +1 -0
- package/dist/components/QRCode/styles.css +40 -0
- package/dist/components/QRCode/types.d.ts +24 -0
- package/dist/components/QRCode/types.d.ts.map +1 -0
- package/dist/components/Radio/styles.css +2 -1
- package/dist/components/Rating/Rating.vue.d.ts +2 -2
- package/dist/components/Rating/styles.css +2 -2
- package/dist/components/Result/styles.css +1 -1
- package/dist/components/ScrollTop/ScrollTop.vue.d.ts +4 -3
- package/dist/components/ScrollTop/ScrollTop.vue.d.ts.map +1 -1
- package/dist/components/ScrollTop/styles.css +4 -0
- package/dist/components/ScrollTop/types.d.ts +4 -0
- package/dist/components/ScrollTop/types.d.ts.map +1 -1
- package/dist/components/Scrollbar/Scrollbar.vue.d.ts +1 -1
- package/dist/components/Segmented/Segmented.vue.d.ts +14 -0
- package/dist/components/Segmented/Segmented.vue.d.ts.map +1 -0
- package/dist/components/Segmented/index.d.ts +3 -0
- package/dist/components/Segmented/index.d.ts.map +1 -0
- package/dist/components/Segmented/styles.css +119 -0
- package/dist/components/Segmented/types.d.ts +27 -0
- package/dist/components/Segmented/types.d.ts.map +1 -0
- package/dist/components/Select/Select.vue.d.ts +23 -18
- package/dist/components/Select/Select.vue.d.ts.map +1 -1
- package/dist/components/Select/index.d.ts +1 -1
- package/dist/components/Select/index.d.ts.map +1 -1
- package/dist/components/Select/selectOptions.d.ts +27 -9
- package/dist/components/Select/selectOptions.d.ts.map +1 -1
- package/dist/components/Select/styles.css +33 -3
- package/dist/components/Select/types.d.ts +73 -25
- package/dist/components/Select/types.d.ts.map +1 -1
- package/dist/components/SelectButton/styles.css +4 -2
- package/dist/components/Slider/Slider.vue.d.ts +1 -1
- package/dist/components/Slider/styles.css +3 -3
- package/dist/components/SpeedDial/SpeedDial.vue.d.ts +4 -2
- package/dist/components/SpeedDial/SpeedDial.vue.d.ts.map +1 -1
- package/dist/components/SpeedDial/styles.css +16 -0
- package/dist/components/SpeedDial/types.d.ts +8 -0
- package/dist/components/SpeedDial/types.d.ts.map +1 -1
- package/dist/components/SplitButton/styles.css +2 -2
- package/dist/components/Splitter/Splitter.vue.d.ts.map +1 -1
- package/dist/components/Splitter/types.d.ts +5 -0
- package/dist/components/Splitter/types.d.ts.map +1 -1
- package/dist/components/Statistic/Statistic.vue.d.ts +28 -0
- package/dist/components/Statistic/Statistic.vue.d.ts.map +1 -0
- package/dist/components/Statistic/StatisticCountdown.vue.d.ts +16 -0
- package/dist/components/Statistic/StatisticCountdown.vue.d.ts.map +1 -0
- package/dist/components/Statistic/index.d.ts +7 -0
- package/dist/components/Statistic/index.d.ts.map +1 -0
- package/dist/components/Statistic/styles.css +38 -0
- package/dist/components/Statistic/types.d.ts +26 -0
- package/dist/components/Statistic/types.d.ts.map +1 -0
- package/dist/components/Statistic/utils.d.ts +6 -0
- package/dist/components/Statistic/utils.d.ts.map +1 -0
- package/dist/components/Stepper/Stepper.vue.d.ts +3 -1
- package/dist/components/Stepper/Stepper.vue.d.ts.map +1 -1
- package/dist/components/Stepper/styles.css +21 -4
- package/dist/components/Stepper/types.d.ts +5 -0
- package/dist/components/Stepper/types.d.ts.map +1 -1
- package/dist/components/Switch/Switch.vue.d.ts +1 -1
- package/dist/components/Table/Table.vue.d.ts +5 -5
- package/dist/components/Table/Table.vue.d.ts.map +1 -1
- package/dist/components/Table/render/TableHeaderFilter.vue.d.ts.map +1 -1
- package/dist/components/Table/styles.css +19 -9
- package/dist/components/Tabs/Tabs.vue.d.ts +5 -3
- package/dist/components/Tabs/Tabs.vue.d.ts.map +1 -1
- package/dist/components/Tabs/styles.css +38 -4
- package/dist/components/Tabs/types.d.ts +6 -0
- package/dist/components/Tabs/types.d.ts.map +1 -1
- package/dist/components/Tag/Tag.vue.d.ts +7 -1
- package/dist/components/Tag/Tag.vue.d.ts.map +1 -1
- package/dist/components/Tag/styles.css +54 -14
- package/dist/components/Tag/types.d.ts +14 -2
- package/dist/components/Tag/types.d.ts.map +1 -1
- package/dist/components/Terminal/styles.css +1 -0
- package/dist/components/Textarea/Textarea.vue.d.ts +4 -3
- package/dist/components/Textarea/Textarea.vue.d.ts.map +1 -1
- package/dist/components/Textarea/styles.css +25 -5
- package/dist/components/Textarea/types.d.ts +8 -1
- package/dist/components/Textarea/types.d.ts.map +1 -1
- package/dist/components/TimePicker/TimePicker.vue.d.ts +27 -0
- package/dist/components/TimePicker/TimePicker.vue.d.ts.map +1 -0
- package/dist/components/TimePicker/index.d.ts +3 -0
- package/dist/components/TimePicker/index.d.ts.map +1 -0
- package/dist/components/TimePicker/types.d.ts +9 -0
- package/dist/components/TimePicker/types.d.ts.map +1 -0
- package/dist/components/Timeline/styles.css +2 -2
- package/dist/components/Toast/Toast.vue.d.ts +1 -1
- package/dist/components/Toast/Toast.vue.d.ts.map +1 -1
- package/dist/components/Toast/index.d.ts +2 -0
- package/dist/components/Toast/index.d.ts.map +1 -1
- package/dist/components/Toast/styles.css +18 -0
- package/dist/components/Toast/toast.d.ts +5 -1
- package/dist/components/Toast/toast.d.ts.map +1 -1
- package/dist/components/Toast/toastState.d.ts +2 -0
- package/dist/components/Toast/toastState.d.ts.map +1 -1
- package/dist/components/Toast/types.d.ts +7 -0
- package/dist/components/Toast/types.d.ts.map +1 -1
- package/dist/components/Toast/useNotification.d.ts +48 -0
- package/dist/components/Toast/useNotification.d.ts.map +1 -0
- package/dist/components/ToggleButton/styles.css +4 -3
- package/dist/components/Tour/Tour.vue.d.ts +31 -0
- package/dist/components/Tour/Tour.vue.d.ts.map +1 -0
- package/dist/components/Tour/index.d.ts +3 -0
- package/dist/components/Tour/index.d.ts.map +1 -0
- package/dist/components/Tour/styles.css +111 -0
- package/dist/components/Tour/types.d.ts +49 -0
- package/dist/components/Tour/types.d.ts.map +1 -0
- package/dist/components/Tree/Tree.vue.d.ts +1 -1
- package/dist/components/TreeSelect/TreeSelect.vue.d.ts +2 -2
- package/dist/components/TreeSelect/styles.css +12 -1
- package/dist/components/Typography/Link.vue.d.ts +19 -0
- package/dist/components/Typography/Link.vue.d.ts.map +1 -0
- package/dist/components/Typography/Paragraph.vue.d.ts +26 -0
- package/dist/components/Typography/Paragraph.vue.d.ts.map +1 -0
- package/dist/components/Typography/Text.vue.d.ts +25 -0
- package/dist/components/Typography/Text.vue.d.ts.map +1 -0
- package/dist/components/Typography/Title.vue.d.ts +25 -0
- package/dist/components/Typography/Title.vue.d.ts.map +1 -0
- package/dist/components/Typography/Typography.vue.d.ts +16 -0
- package/dist/components/Typography/Typography.vue.d.ts.map +1 -0
- package/dist/components/Typography/TypographyContent.vue.d.ts +24 -0
- package/dist/components/Typography/TypographyContent.vue.d.ts.map +1 -0
- package/dist/components/Typography/behavior.d.ts +47 -0
- package/dist/components/Typography/behavior.d.ts.map +1 -0
- package/dist/components/Typography/decoration.d.ts +13 -0
- package/dist/components/Typography/decoration.d.ts.map +1 -0
- package/dist/components/Typography/index.d.ts +9 -0
- package/dist/components/Typography/index.d.ts.map +1 -0
- package/dist/components/Typography/styles.css +212 -0
- package/dist/components/Typography/types.d.ts +92 -0
- package/dist/components/Typography/types.d.ts.map +1 -0
- package/dist/components/Watermark/Watermark.vue.d.ts +19 -0
- package/dist/components/Watermark/Watermark.vue.d.ts.map +1 -0
- package/dist/components/Watermark/index.d.ts +3 -0
- package/dist/components/Watermark/index.d.ts.map +1 -0
- package/dist/components/Watermark/styles.css +10 -0
- package/dist/components/Watermark/types.d.ts +22 -0
- package/dist/components/Watermark/types.d.ts.map +1 -0
- package/dist/components/Watermark/watermarkCanvas.d.ts +30 -0
- package/dist/components/Watermark/watermarkCanvas.d.ts.map +1 -0
- package/dist/{config-De8ueCY-.js → config-COgrsSV2.js} +32 -0
- package/dist/config-provider/index.js +757 -72
- package/dist/config-provider/style.css +281 -132
- package/dist/confirm-dialog/index.js +11 -11
- package/dist/confirm-dialog/style.css +237 -124
- package/dist/confirm-popup/index.js +16 -16
- package/dist/confirm-popup/style.css +235 -122
- package/dist/context-CIx8fy-I.js +4 -0
- package/dist/context-menu/index.js +30 -30
- package/dist/context-menu/style.css +149 -90
- package/dist/data-view/index.js +3 -3
- package/dist/data-view/style.css +180 -102
- package/dist/date-picker/index.js +2 -428
- package/dist/date-picker/style.css +273 -96
- package/dist/dateUtils-D8qKPhos.js +75 -0
- package/dist/descriptions/index.js +75 -0
- package/dist/descriptions/style.css +1335 -0
- package/dist/descriptions/style.js +3 -0
- package/dist/dialog/index.js +244 -117
- package/dist/dialog/style.css +237 -124
- package/dist/divider/index.js +33 -19
- package/dist/divider/style.css +183 -93
- package/dist/dock/style.css +149 -90
- package/dist/drawer/index.js +9 -9
- package/dist/drawer/style.css +151 -92
- package/dist/dropdown/index.js +80 -68
- package/dist/dropdown/style.css +154 -90
- package/dist/empty/index.js +1 -1
- package/dist/empty/style.css +149 -90
- package/dist/fieldset/index.js +4 -4
- package/dist/fieldset/style.css +151 -92
- package/dist/file-upload/index.js +1 -1
- package/dist/file-upload/style.css +152 -93
- package/dist/flex/index.js +9 -7
- package/dist/flex/style.css +149 -90
- package/dist/float-label/style.css +149 -90
- package/dist/fluid/style.css +149 -90
- package/dist/form/index.js +536 -190
- package/dist/form/style.css +162 -92
- package/dist/gallery/index.js +7 -7
- package/dist/gallery/style.css +149 -90
- package/dist/gap-D2TKUbEY.js +44 -0
- package/dist/grid/index.js +162 -12
- package/dist/grid/style.css +208 -90
- package/dist/icon/style.css +149 -90
- package/dist/icon-field/style.css +196 -101
- package/dist/image/index.js +180 -0
- package/dist/image/style.css +1352 -0
- package/dist/image/style.js +4 -0
- package/dist/index.d.ts +62 -13
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +13887 -6812
- package/dist/inplace/style.css +149 -90
- package/dist/input/index.js +1 -1
- package/dist/input/style.css +321 -100
- package/dist/input/style.js +1 -0
- package/dist/input-color/index.js +5 -5
- package/dist/input-color/style.css +161 -92
- package/dist/input-group/style.css +149 -90
- package/dist/input-number/index.js +16 -16
- package/dist/input-number/style.css +153 -93
- package/dist/input-otp/index.js +2 -2
- package/dist/input-otp/style.css +157 -90
- package/dist/input-password/index.js +87 -80
- package/dist/input-password/style.css +290 -94
- package/dist/input-password/style.js +1 -0
- package/dist/input-tags/index.js +11 -11
- package/dist/input-tags/style.css +160 -92
- package/dist/knob/style.css +151 -92
- package/dist/label/style.css +150 -91
- package/dist/layout/index.js +1 -1
- package/dist/layout/style.css +152 -93
- package/dist/list/index.js +281 -0
- package/dist/list/style.css +2087 -0
- package/dist/list/style.js +6 -0
- package/dist/listbox/index.js +9 -9
- package/dist/listbox/style.css +156 -94
- package/dist/loading/index.js +2 -2
- package/dist/loading/style.css +149 -90
- package/dist/locale/de-DE.d.ts +3 -0
- package/dist/locale/de-DE.d.ts.map +1 -0
- package/dist/locale/en-US.d.ts.map +1 -1
- package/dist/locale/es-ES.d.ts +3 -0
- package/dist/locale/es-ES.d.ts.map +1 -0
- package/dist/locale/fr-FR.d.ts +3 -0
- package/dist/locale/fr-FR.d.ts.map +1 -0
- package/dist/locale/index.d.ts +8 -0
- package/dist/locale/index.d.ts.map +1 -1
- package/dist/locale/ja-JP.d.ts +3 -0
- package/dist/locale/ja-JP.d.ts.map +1 -0
- package/dist/locale/ko-KR.d.ts +3 -0
- package/dist/locale/ko-KR.d.ts.map +1 -0
- package/dist/locale/pt-BR.d.ts +3 -0
- package/dist/locale/pt-BR.d.ts.map +1 -0
- package/dist/locale/ru-RU.d.ts +3 -0
- package/dist/locale/ru-RU.d.ts.map +1 -0
- package/dist/locale/types.d.ts +22 -2
- package/dist/locale/types.d.ts.map +1 -1
- package/dist/locale/zh-CN.d.ts.map +1 -1
- package/dist/locale/zh-TW.d.ts +3 -0
- package/dist/locale/zh-TW.d.ts.map +1 -0
- package/dist/{locale-xavS6-Hw.js → locale-Dnk0UIie.js} +1 -1
- package/dist/mega-menu/index.js +22 -22
- package/dist/mega-menu/style.css +149 -90
- package/dist/mentions/index.js +258 -0
- package/dist/mentions/style.css +1666 -0
- package/dist/mentions/style.js +6 -0
- package/dist/menu/index.js +295 -295
- package/dist/menu/style.css +154 -94
- package/dist/menubar/index.js +52 -52
- package/dist/menubar/style.css +149 -90
- package/dist/message/index.js +19 -19
- package/dist/message/style.css +149 -90
- package/dist/meter-group/style.css +149 -90
- package/dist/order-list/index.js +13 -13
- package/dist/order-list/style.css +149 -90
- package/dist/page/index.js +3 -3
- package/dist/page/style.css +239 -126
- package/dist/pagination/index.js +1 -1
- package/dist/pagination/style.css +213 -105
- package/dist/panel/index.js +6 -6
- package/dist/panel/style.css +152 -93
- package/dist/pick-list/index.js +1 -1
- package/dist/pick-list/style.css +149 -90
- package/dist/popover/index.js +1 -1
- package/dist/popover/style.css +149 -90
- package/dist/progress-bar/index.js +38 -34
- package/dist/progress-bar/style.css +179 -92
- package/dist/progress-spinner/index.js +2 -105
- package/dist/progress-spinner/style.css +149 -90
- package/dist/qr-code/index.js +907 -0
- package/dist/qr-code/style.css +2392 -0
- package/dist/qr-code/style.js +6 -0
- package/dist/radio/index.js +1 -1
- package/dist/radio/style.css +151 -91
- package/dist/rating/index.js +18 -18
- package/dist/rating/style.css +151 -92
- package/dist/resolveCssColor-_FEXlI02.js +11 -0
- package/dist/resolver-map.d.ts.map +1 -1
- package/dist/resolver.js +30 -1
- package/dist/result/index.js +1 -1
- package/dist/result/style.css +150 -91
- package/dist/scroll-top/index.js +17 -12
- package/dist/scroll-top/style.css +153 -90
- package/dist/scrollbar/style.css +149 -90
- package/dist/segmented/index.js +3 -0
- package/dist/segmented/style.css +1375 -0
- package/dist/segmented/style.js +4 -0
- package/dist/select/index.js +1 -1
- package/dist/select/style.css +318 -101
- package/dist/select/style.js +1 -0
- package/dist/select-button/index.js +1 -1
- package/dist/select-button/style.css +153 -92
- package/dist/shared/componentDefaults.d.ts +9 -0
- package/dist/shared/componentDefaults.d.ts.map +1 -1
- package/dist/shared/config.d.ts +25 -0
- package/dist/shared/config.d.ts.map +1 -1
- package/dist/shared/resolveCssColor.d.ts +8 -0
- package/dist/shared/resolveCssColor.d.ts.map +1 -0
- package/dist/shared/styles/select-overlay.css +10 -8
- package/dist/shared/types.d.ts +5 -0
- package/dist/shared/types.d.ts.map +1 -1
- package/dist/sidebar/index.js +1 -1
- package/dist/sidebar/style.css +149 -90
- package/dist/skeleton/style.css +149 -90
- package/dist/slider/index.js +5 -5
- package/dist/slider/style.css +152 -93
- package/dist/space/index.js +8 -7
- package/dist/space/style.css +149 -90
- package/dist/speed-dial/index.js +52 -48
- package/dist/speed-dial/style.css +165 -90
- package/dist/split-button/index.js +17 -17
- package/dist/split-button/style.css +237 -124
- package/dist/splitter/index.js +55 -32
- package/dist/splitter/style.css +149 -90
- package/dist/statistic/index.js +189 -0
- package/dist/statistic/style.css +1293 -0
- package/dist/statistic/style.js +4 -0
- package/dist/status/index.js +1 -1
- package/dist/status/style.css +149 -90
- package/dist/stepper/index.js +9 -3
- package/dist/stepper/style.css +170 -94
- package/dist/styles/base.css +31 -15
- package/dist/styles.css +1 -1
- package/dist/switch/index.js +1 -1
- package/dist/switch/style.css +149 -90
- package/dist/table/index.js +145 -140
- package/dist/table/style.css +199 -111
- package/dist/tabs/index.js +23 -14
- package/dist/tabs/style.css +187 -94
- package/dist/tag/index.js +77 -38
- package/dist/tag/style.css +203 -104
- package/dist/terminal/index.js +1 -1
- package/dist/terminal/style.css +150 -90
- package/dist/textarea/index.js +2 -188
- package/dist/textarea/style.css +300 -95
- package/dist/textarea/style.js +1 -0
- package/dist/theme/color.d.ts +68 -0
- package/dist/theme/color.d.ts.map +1 -0
- package/dist/theme/createTheme.d.ts +44 -0
- package/dist/theme/createTheme.d.ts.map +1 -0
- package/dist/theme/derive.d.ts +36 -0
- package/dist/theme/derive.d.ts.map +1 -0
- package/dist/theme/index.d.ts +6 -0
- package/dist/theme/index.d.ts.map +1 -1
- package/dist/theme/seed.d.ts +53 -0
- package/dist/theme/seed.d.ts.map +1 -0
- package/dist/theme/styles.css +117 -74
- package/dist/theme/tokens.d.ts.map +1 -1
- package/dist/tiered-menu/index.js +63 -63
- package/dist/tiered-menu/style.css +149 -90
- package/dist/time-picker/index.js +73 -0
- package/dist/time-picker/style.css +1660 -0
- package/dist/time-picker/style.js +3 -0
- package/dist/timeline/style.css +151 -92
- package/dist/toast/index.js +177 -98
- package/dist/toast/style.css +1184 -90
- package/dist/toast/style.js +1 -0
- package/dist/toggle-button/index.js +1 -1
- package/dist/toggle-button/style.css +153 -93
- package/dist/toolbar/style.css +149 -90
- package/dist/tooltip/index.js +1 -1
- package/dist/tooltip/style.css +149 -90
- package/dist/tour/index.js +214 -0
- package/dist/tour/style.css +2384 -0
- package/dist/tour/style.js +5 -0
- package/dist/tree/index.js +2 -2
- package/dist/tree/style.css +151 -91
- package/dist/tree-select/index.js +117 -117
- package/dist/tree-select/style.css +173 -100
- package/dist/typography/index.js +466 -0
- package/dist/typography/style.css +1615 -0
- package/dist/typography/style.js +5 -0
- package/dist/{useMotionTransition-tW0yeJsy.js → useMotionTransition-S2rlviyZ.js} +1 -1
- package/dist/virtual-scroller/style.css +149 -90
- package/dist/vnode-PJWBO7_h.js +16 -0
- package/dist/watermark/index.js +168 -0
- package/dist/watermark/style.css +1217 -0
- package/dist/watermark/style.js +3 -0
- package/package.json +117 -4
- package/dist/Input-DQiiKSm3.js +0 -174
- package/dist/Select-DyxORH6Q.js +0 -572
- package/dist/vnode-CmdNQlN7.js +0 -59
package/dist/toast/style.css
CHANGED
|
@@ -1,60 +1,83 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--m
|
|
3
|
-
--m-color-primary
|
|
2
|
+
/* Default morya palette (--m-* token names) */
|
|
3
|
+
--m-color-primary: #1677ff;
|
|
4
|
+
--m-color-primary-hover: #4096ff;
|
|
5
|
+
--m-color-primary-active: #0958d9;
|
|
4
6
|
--m-color-surface: #ffffff;
|
|
5
|
-
--m-color-text:
|
|
6
|
-
--m-color-text-muted:
|
|
7
|
-
--m-color-border: #
|
|
8
|
-
--m-color-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
--m-control-
|
|
7
|
+
--m-color-text: rgba(0, 0, 0, 0.88);
|
|
8
|
+
--m-color-text-muted: rgba(0, 0, 0, 0.45);
|
|
9
|
+
--m-color-border: #d9d9d9;
|
|
10
|
+
--m-color-split: #f0f0f0;
|
|
11
|
+
--m-color-focus-ring: #1677ff;
|
|
12
|
+
/* Soft translucent control-outline ring (primary bg composited over container) */
|
|
13
|
+
--m-color-control-outline: rgba(5, 145, 255, 0.1);
|
|
14
|
+
--m-color-control-outline-danger: rgba(255, 38, 5, 0.06);
|
|
15
|
+
--m-color-control-outline-warning: rgba(255, 215, 5, 0.1);
|
|
16
|
+
/* Control sizing: medium control height 32px */
|
|
17
|
+
--m-control-height-small: 24px;
|
|
18
|
+
--m-control-height-medium: 32px;
|
|
12
19
|
--m-control-height-large: 40px;
|
|
13
20
|
--m-control-font-small: 14px;
|
|
14
21
|
--m-control-font-medium: 14px;
|
|
15
22
|
--m-control-font-large: 15px;
|
|
16
23
|
--m-control-padding-x-small: 10px;
|
|
17
|
-
--m-control-padding-x-medium:
|
|
18
|
-
--m-control-padding-x-large:
|
|
24
|
+
--m-control-padding-x-medium: 15px;
|
|
25
|
+
--m-control-padding-x-large: 16px;
|
|
19
26
|
|
|
20
|
-
--m-radius-control:
|
|
27
|
+
--m-radius-control: 6px;
|
|
21
28
|
--m-border-width: 1px;
|
|
22
|
-
--m-focus-
|
|
23
|
-
|
|
24
|
-
--m-focus-shadow-danger: 0 0 0
|
|
25
|
-
|
|
26
|
-
--m-
|
|
27
|
-
|
|
28
|
-
--m-color-
|
|
29
|
+
--m-focus-outline-width: 2px;
|
|
30
|
+
--m-focus-shadow: 0 0 0 var(--m-focus-outline-width) var(--m-color-control-outline);
|
|
31
|
+
--m-focus-shadow-danger: 0 0 0 var(--m-focus-outline-width)
|
|
32
|
+
var(--m-color-control-outline-danger);
|
|
33
|
+
--m-focus-shadow-warning: 0 0 0 var(--m-focus-outline-width)
|
|
34
|
+
var(--m-color-control-outline-warning);
|
|
35
|
+
--m-color-success: #52c41a;
|
|
36
|
+
--m-color-info: #1677ff;
|
|
37
|
+
--m-color-warning: #faad14;
|
|
29
38
|
--m-color-warn: var(--m-color-warning);
|
|
30
39
|
--m-color-help: #9333ea;
|
|
31
|
-
--m-color-danger: #
|
|
32
|
-
--m-color-contrast:
|
|
40
|
+
--m-color-danger: #ff4d4f;
|
|
41
|
+
--m-color-contrast: rgba(0, 0, 0, 0.88);
|
|
33
42
|
--m-color-contrast-fg: #ffffff;
|
|
34
|
-
--m-color-contrast-hover: #
|
|
35
|
-
--m-color-contrast-active: #
|
|
43
|
+
--m-color-contrast-hover: #1f1f1f;
|
|
44
|
+
--m-color-contrast-active: #141414;
|
|
36
45
|
--m-color-on-emphasis: #ffffff;
|
|
37
|
-
--m-
|
|
38
|
-
--m-
|
|
39
|
-
--m-shadow-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
--m-shadow-
|
|
46
|
-
|
|
46
|
+
--m-color-on-primary: var(--m-color-on-emphasis);
|
|
47
|
+
--m-overlay-scrim: rgb(0 0 0 / 0.45);
|
|
48
|
+
--m-shadow-sm:
|
|
49
|
+
0 1px 2px 0 rgb(0 0 0 / 0.03), 0 1px 6px -1px rgb(0 0 0 / 0.02),
|
|
50
|
+
0 2px 4px 0 rgb(0 0 0 / 0.02);
|
|
51
|
+
--m-shadow-md:
|
|
52
|
+
0 6px 16px 0 rgb(0 0 0 / 0.08), 0 3px 6px -4px rgb(0 0 0 / 0.12),
|
|
53
|
+
0 9px 28px 8px rgb(0 0 0 / 0.05);
|
|
54
|
+
--m-shadow-lg:
|
|
55
|
+
0 6px 16px 0 rgb(0 0 0 / 0.08), 0 3px 6px -4px rgb(0 0 0 / 0.12),
|
|
56
|
+
0 9px 28px 8px rgb(0 0 0 / 0.05);
|
|
57
|
+
--m-shadow-raised:
|
|
58
|
+
0 1px 2px -2px rgb(0 0 0 / 0.16), 0 3px 6px 0 rgb(0 0 0 / 0.12),
|
|
59
|
+
0 5px 12px 4px rgb(0 0 0 / 0.09);
|
|
60
|
+
--m-shadow-sticky: 6px 0 16px -8px rgb(0 0 0 / 0.08);
|
|
61
|
+
--m-shadow-sticky-end: -6px 0 16px -8px rgb(0 0 0 / 0.08);
|
|
47
62
|
|
|
48
63
|
/* Typography scale (component text, not control-height fonts) */
|
|
49
64
|
--m-font-size-xs: 0.75rem;
|
|
50
65
|
--m-font-size-sm: 0.8125rem;
|
|
51
66
|
--m-font-size-md: 0.875rem;
|
|
52
67
|
--m-font-size-lg: 1.125rem;
|
|
68
|
+
--m-line-height-sm: 1.6667;
|
|
69
|
+
--m-line-height-md: 1.5714;
|
|
70
|
+
--m-line-height-lg: 1.5;
|
|
53
71
|
/* Display scale (page titles, KPI figures) */
|
|
54
72
|
--m-font-size-xl: 1.25rem;
|
|
55
73
|
--m-font-size-2xl: 1.5rem;
|
|
56
74
|
--m-font-size-3xl: 1.75rem;
|
|
57
75
|
--m-opacity-disabled: 0.55;
|
|
76
|
+
--m-color-text-disabled: rgba(0, 0, 0, 0.25);
|
|
77
|
+
--m-color-bg-disabled: rgba(0, 0, 0, 0.04);
|
|
78
|
+
--m-font-weight: 400;
|
|
79
|
+
--m-font-weight-medium: 500;
|
|
80
|
+
--m-font-weight-strong: 600;
|
|
58
81
|
/* Layering: override --m-z-base via ConfigProvider / createMoryaUI */
|
|
59
82
|
--m-z-base: 1000;
|
|
60
83
|
--m-z-overlay: var(--m-z-base);
|
|
@@ -63,6 +86,7 @@
|
|
|
63
86
|
--m-z-tooltip: calc(var(--m-z-base) + 60);
|
|
64
87
|
--m-z-toast: calc(var(--m-z-base) + 100);
|
|
65
88
|
--m-z-popper: 40;
|
|
89
|
+
--m-z-sticky: 10;
|
|
66
90
|
|
|
67
91
|
/* Affix hitbox tracks control height so small/compact shells do not overflow */
|
|
68
92
|
--m-control-affix-size: calc(
|
|
@@ -73,7 +97,7 @@
|
|
|
73
97
|
--m-meter-track-height: var(--m-space-5);
|
|
74
98
|
--m-tree-toggler-size: var(--m-checkbox-control-size);
|
|
75
99
|
--m-nav-rail-width: 12.5rem;
|
|
76
|
-
--m-nav-rail-collapsed-width:
|
|
100
|
+
--m-nav-rail-collapsed-width: 5rem;
|
|
77
101
|
--m-layout-header-height: calc(
|
|
78
102
|
var(--m-control-height-medium) + 2 * var(--m-space-3)
|
|
79
103
|
);
|
|
@@ -89,15 +113,19 @@
|
|
|
89
113
|
--m-space-8: 2rem;
|
|
90
114
|
--m-radius-sm: 0.25rem;
|
|
91
115
|
--m-radius-md: 0.5rem;
|
|
92
|
-
--m-radius-lg: 0.
|
|
116
|
+
--m-radius-lg: 0.5rem;
|
|
93
117
|
--m-radius-full: 9999px;
|
|
94
|
-
--m-
|
|
118
|
+
--m-radius-pill: var(--m-radius-full);
|
|
119
|
+
--m-font-sans:
|
|
120
|
+
-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
|
|
121
|
+
Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
|
|
122
|
+
"Segoe UI Symbol", "Noto Color Emoji";
|
|
95
123
|
--m-motion-fast: 150ms;
|
|
96
124
|
--m-motion-normal: 250ms;
|
|
97
|
-
--m-motion-ease: cubic-bezier(0.
|
|
98
|
-
--m-motion-enter:
|
|
99
|
-
--m-motion-exit:
|
|
100
|
-
--m-motion-distance:
|
|
125
|
+
--m-motion-ease: cubic-bezier(0.215, 0.61, 0.355, 1);
|
|
126
|
+
--m-motion-enter: 200ms;
|
|
127
|
+
--m-motion-exit: 150ms;
|
|
128
|
+
--m-motion-distance: 0.5rem;
|
|
101
129
|
--m-motion-spin: 1s;
|
|
102
130
|
--m-motion-spin-dash: 1.5s;
|
|
103
131
|
--m-motion-spin-fast: 0.8s;
|
|
@@ -135,7 +163,7 @@
|
|
|
135
163
|
/* Table */
|
|
136
164
|
--m-color-fill-light: color-mix(in srgb, var(--m-color-text) 6%, var(--m-color-surface));
|
|
137
165
|
--m-color-fill-lighter: color-mix(in srgb, var(--m-color-text) 3.5%, var(--m-color-surface));
|
|
138
|
-
--m-table-border-color: var(--m-color-
|
|
166
|
+
--m-table-border-color: var(--m-color-split);
|
|
139
167
|
--m-table-header-bg: var(--m-color-fill-light);
|
|
140
168
|
--m-table-header-text: var(--m-color-text);
|
|
141
169
|
--m-table-text: var(--m-color-text);
|
|
@@ -229,7 +257,7 @@
|
|
|
229
257
|
animation-play-state: paused !important;
|
|
230
258
|
}
|
|
231
259
|
|
|
232
|
-
/* Global density: scales spacing + control heights (
|
|
260
|
+
/* Global density: scales spacing + control heights (WD tokens) */
|
|
233
261
|
:root,
|
|
234
262
|
[data-m-density="comfortable"] {
|
|
235
263
|
--m-density-scale: 1;
|
|
@@ -243,7 +271,7 @@
|
|
|
243
271
|
--m-control-affix-gap: 2rem;
|
|
244
272
|
--m-checkbox-control-size: 1rem;
|
|
245
273
|
--m-nav-rail-width: 15rem;
|
|
246
|
-
--m-nav-rail-collapsed-width:
|
|
274
|
+
--m-nav-rail-collapsed-width: 4rem;
|
|
247
275
|
--m-space-1: 0.2rem;
|
|
248
276
|
--m-space-2: 0.4rem;
|
|
249
277
|
--m-space-3: 0.6rem;
|
|
@@ -272,7 +300,7 @@
|
|
|
272
300
|
--m-control-affix-gap: 2.65rem;
|
|
273
301
|
--m-checkbox-control-size: 1.25rem;
|
|
274
302
|
--m-nav-rail-width: 18rem;
|
|
275
|
-
--m-nav-rail-collapsed-width:
|
|
303
|
+
--m-nav-rail-collapsed-width: 5.5rem;
|
|
276
304
|
--m-space-1: 0.3rem;
|
|
277
305
|
--m-space-2: 0.6rem;
|
|
278
306
|
--m-space-3: 0.9rem;
|
|
@@ -312,40 +340,55 @@
|
|
|
312
340
|
}
|
|
313
341
|
|
|
314
342
|
[data-theme="dark"] {
|
|
315
|
-
|
|
316
|
-
--m-color-primary
|
|
317
|
-
--m-color-
|
|
318
|
-
--m-color-
|
|
319
|
-
--m-color-
|
|
320
|
-
--m-color-
|
|
321
|
-
--m-color-
|
|
322
|
-
--m-
|
|
323
|
-
|
|
324
|
-
--m-
|
|
325
|
-
|
|
343
|
+
/* Dark theme solids on dark surfaces (readable mid tones) */
|
|
344
|
+
--m-color-primary: #1668dc;
|
|
345
|
+
--m-color-primary-hover: #3c89e8;
|
|
346
|
+
--m-color-primary-active: #1554ad;
|
|
347
|
+
--m-color-surface: #141414;
|
|
348
|
+
--m-color-text: rgba(255, 255, 255, 0.85);
|
|
349
|
+
--m-color-text-muted: rgba(255, 255, 255, 0.45);
|
|
350
|
+
--m-color-text-disabled: rgba(255, 255, 255, 0.3);
|
|
351
|
+
--m-color-bg-disabled: rgba(255, 255, 255, 0.08);
|
|
352
|
+
--m-color-border: #424242;
|
|
353
|
+
--m-color-split: #303030;
|
|
354
|
+
--m-color-focus-ring: #3c89e8;
|
|
355
|
+
/* Dark: getAlphaColor(color*Bg, colorBgContainer) */
|
|
356
|
+
--m-color-control-outline: rgba(23, 117, 249, 0.31);
|
|
357
|
+
--m-color-control-outline-danger: rgba(249, 75, 78, 0.31);
|
|
358
|
+
--m-color-control-outline-warning: rgba(250, 173, 20, 0.3);
|
|
359
|
+
--m-focus-shadow: 0 0 0 var(--m-focus-outline-width) var(--m-color-control-outline);
|
|
360
|
+
--m-focus-shadow-danger: 0 0 0 var(--m-focus-outline-width)
|
|
361
|
+
var(--m-color-control-outline-danger);
|
|
362
|
+
--m-focus-shadow-warning: 0 0 0 var(--m-focus-outline-width)
|
|
363
|
+
var(--m-color-control-outline-warning);
|
|
326
364
|
/* Mid solids: keep ≥~4.5:1 with --m-color-on-emphasis on dark surfaces */
|
|
327
|
-
--m-color-success: #
|
|
328
|
-
--m-color-info: #
|
|
329
|
-
--m-color-warning: #
|
|
365
|
+
--m-color-success: #49aa19;
|
|
366
|
+
--m-color-info: #1668dc;
|
|
367
|
+
--m-color-warning: #d89614;
|
|
330
368
|
--m-color-warn: var(--m-color-warning);
|
|
331
369
|
--m-color-help: #7e22ce;
|
|
332
|
-
--m-color-danger: #
|
|
333
|
-
--m-color-contrast:
|
|
334
|
-
--m-color-contrast-fg: #
|
|
335
|
-
--m-color-contrast-hover: #
|
|
336
|
-
--m-color-contrast-active: #
|
|
337
|
-
--m-overlay-scrim: rgb(
|
|
338
|
-
--m-shadow-sm:
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
--m-shadow-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
370
|
+
--m-color-danger: #dc4446;
|
|
371
|
+
--m-color-contrast: rgba(255, 255, 255, 0.85);
|
|
372
|
+
--m-color-contrast-fg: #141414;
|
|
373
|
+
--m-color-contrast-hover: #f5f5f5;
|
|
374
|
+
--m-color-contrast-active: #d9d9d9;
|
|
375
|
+
--m-overlay-scrim: rgb(0 0 0 / 0.65);
|
|
376
|
+
--m-shadow-sm:
|
|
377
|
+
0 1px 2px 0 rgb(0 0 0 / 0.16), 0 1px 6px -1px rgb(0 0 0 / 0.12),
|
|
378
|
+
0 2px 4px 0 rgb(0 0 0 / 0.08);
|
|
379
|
+
--m-shadow-md:
|
|
380
|
+
0 6px 16px 0 rgb(0 0 0 / 0.32), 0 3px 6px -4px rgb(0 0 0 / 0.48),
|
|
381
|
+
0 9px 28px 8px rgb(0 0 0 / 0.2);
|
|
382
|
+
--m-shadow-lg:
|
|
383
|
+
0 6px 16px 0 rgb(0 0 0 / 0.32), 0 3px 6px -4px rgb(0 0 0 / 0.48),
|
|
384
|
+
0 9px 28px 8px rgb(0 0 0 / 0.2);
|
|
385
|
+
--m-shadow-raised:
|
|
386
|
+
0 1px 2px -2px rgb(0 0 0 / 0.64), 0 3px 6px 0 rgb(0 0 0 / 0.48),
|
|
387
|
+
0 5px 12px 4px rgb(0 0 0 / 0.36);
|
|
388
|
+
--m-shadow-sticky: 6px 0 16px -8px rgb(0 0 0 / 0.45);
|
|
389
|
+
--m-shadow-sticky-end: -6px 0 16px -8px rgb(0 0 0 / 0.45);
|
|
390
|
+
|
|
391
|
+
--m-table-border-color: var(--m-color-split);
|
|
349
392
|
--m-color-fill-light: color-mix(in srgb, var(--m-color-text) 10%, var(--m-color-surface));
|
|
350
393
|
--m-color-fill-lighter: color-mix(in srgb, var(--m-color-text) 6%, var(--m-color-surface));
|
|
351
394
|
--m-table-header-bg: var(--m-color-fill-light);
|
|
@@ -440,16 +483,18 @@
|
|
|
440
483
|
box-sizing: border-box;
|
|
441
484
|
}
|
|
442
485
|
|
|
443
|
-
.m-button:disabled,
|
|
444
486
|
.m-input:disabled,
|
|
487
|
+
.m-textarea:disabled,
|
|
445
488
|
.m-password__input:disabled,
|
|
446
489
|
.m-inputnumber__input:disabled,
|
|
447
490
|
.m-inputotp__input:disabled,
|
|
448
491
|
.m-inputcolor__text:disabled,
|
|
449
492
|
.m-inputcolor__swatch:disabled,
|
|
450
493
|
.m-inputtags--disabled {
|
|
494
|
+
background-color: var(--m-color-bg-disabled);
|
|
495
|
+
color: var(--m-color-text-disabled);
|
|
451
496
|
cursor: not-allowed;
|
|
452
|
-
opacity:
|
|
497
|
+
opacity: 1;
|
|
453
498
|
}
|
|
454
499
|
|
|
455
500
|
.m-input-field__control--prefixed .m-input:disabled,
|
|
@@ -735,16 +780,16 @@
|
|
|
735
780
|
display: inline-flex;
|
|
736
781
|
font-family: var(--m-font-sans);
|
|
737
782
|
gap: var(--m-space-2);
|
|
738
|
-
/*
|
|
783
|
+
/* 与输入框圆角保持一致,配合 MScrollbar 使用 */
|
|
739
784
|
position: relative;
|
|
740
785
|
}
|
|
741
786
|
|
|
742
787
|
.m-checkbox--disabled,
|
|
743
788
|
.m-radio--disabled,
|
|
744
789
|
.m-switch--disabled {
|
|
745
|
-
color: var(--m-color-text-
|
|
790
|
+
color: var(--m-color-text-disabled);
|
|
746
791
|
cursor: not-allowed;
|
|
747
|
-
opacity:
|
|
792
|
+
opacity: 1;
|
|
748
793
|
}
|
|
749
794
|
|
|
750
795
|
.m-checkbox--invalid .m-checkbox__control,
|
|
@@ -827,7 +872,7 @@
|
|
|
827
872
|
color: var(--m-color-text);
|
|
828
873
|
font-family: var(--m-font-sans);
|
|
829
874
|
font-size: var(--m-font-size-md);
|
|
830
|
-
font-weight:
|
|
875
|
+
font-weight: 500;
|
|
831
876
|
}
|
|
832
877
|
|
|
833
878
|
.m-textarea-field__help,
|
|
@@ -855,8 +900,10 @@
|
|
|
855
900
|
width: 100%;
|
|
856
901
|
}
|
|
857
902
|
|
|
903
|
+
.m-textarea--invalid:focus,
|
|
858
904
|
.m-textarea--invalid:focus-visible,
|
|
859
905
|
.m-select--invalid.m-select--open,
|
|
906
|
+
.m-select--invalid:focus,
|
|
860
907
|
.m-select--invalid:focus-visible {
|
|
861
908
|
border-color: var(--m-color-danger);
|
|
862
909
|
box-shadow: var(--m-focus-shadow-danger);
|
|
@@ -865,8 +912,10 @@
|
|
|
865
912
|
.m-textarea:disabled,
|
|
866
913
|
.m-select:disabled,
|
|
867
914
|
.m-select--disabled {
|
|
915
|
+
background-color: var(--m-color-bg-disabled);
|
|
916
|
+
color: var(--m-color-text-disabled);
|
|
868
917
|
cursor: not-allowed;
|
|
869
|
-
opacity:
|
|
918
|
+
opacity: 1;
|
|
870
919
|
}
|
|
871
920
|
|
|
872
921
|
.m-inputgroup > .m-input,
|
|
@@ -1041,7 +1090,7 @@
|
|
|
1041
1090
|
.m-picklist__item--selected {
|
|
1042
1091
|
background: color-mix(in srgb, var(--m-color-primary) 14%, var(--m-color-surface));
|
|
1043
1092
|
color: var(--m-color-primary);
|
|
1044
|
-
font-weight:
|
|
1093
|
+
font-weight: 500;
|
|
1045
1094
|
}
|
|
1046
1095
|
|
|
1047
1096
|
.m-carousel__nav,
|
|
@@ -1063,20 +1112,28 @@
|
|
|
1063
1112
|
opacity: var(--m-opacity-disabled);
|
|
1064
1113
|
}
|
|
1065
1114
|
|
|
1066
|
-
/* Shared
|
|
1115
|
+
/* Shared hover/focus for remaining form triggers */
|
|
1067
1116
|
.m-inputotp__input:hover:not(:disabled):not(:focus),
|
|
1068
|
-
.m-
|
|
1069
|
-
.m-
|
|
1117
|
+
.m-cascadeselect:not(.m-cascadeselect--open)
|
|
1118
|
+
.m-cascadeselect__trigger:hover:not(:disabled):not(:focus):not(:focus-visible),
|
|
1119
|
+
.m-treeselect:not(.m-treeselect--open)
|
|
1120
|
+
.m-treeselect__trigger:hover:not(:disabled):not(:focus):not(:focus-visible),
|
|
1070
1121
|
.m-inputcolor__text:hover:not(:disabled):not(:focus),
|
|
1071
|
-
.m-inputtags:hover:not(.m-inputtags--disabled),
|
|
1072
|
-
.m-togglebutton:hover:not(:disabled):not(.m-togglebutton--checked),
|
|
1073
|
-
.m-inplace__display:hover {
|
|
1122
|
+
.m-inputtags:hover:not(.m-inputtags--disabled):not(:focus-within),
|
|
1123
|
+
.m-togglebutton:hover:not(:disabled):not(.m-togglebutton--checked):not(:focus-visible),
|
|
1124
|
+
.m-inplace__display:hover:not(:focus-visible) {
|
|
1074
1125
|
border-color: var(--m-color-primary-hover);
|
|
1075
1126
|
}
|
|
1076
1127
|
|
|
1128
|
+
.m-inputotp__input:focus,
|
|
1077
1129
|
.m-inputotp__input:focus-visible,
|
|
1130
|
+
.m-cascadeselect--open .m-cascadeselect__trigger,
|
|
1131
|
+
.m-cascadeselect__trigger:focus,
|
|
1078
1132
|
.m-cascadeselect__trigger:focus-visible,
|
|
1133
|
+
.m-treeselect--open .m-treeselect__trigger,
|
|
1134
|
+
.m-treeselect__trigger:focus,
|
|
1079
1135
|
.m-treeselect__trigger:focus-visible,
|
|
1136
|
+
.m-inputcolor__text:focus,
|
|
1080
1137
|
.m-inputcolor__text:focus-visible,
|
|
1081
1138
|
.m-inputtags:focus-within,
|
|
1082
1139
|
.m-togglebutton:focus-visible,
|
|
@@ -1085,13 +1142,15 @@
|
|
|
1085
1142
|
.m-splitbutton__trigger:focus-visible,
|
|
1086
1143
|
.m-inplace__display:focus-visible,
|
|
1087
1144
|
.m-pagination__button:focus-visible {
|
|
1088
|
-
border-color: var(--m-color-primary
|
|
1145
|
+
border-color: var(--m-color-primary);
|
|
1089
1146
|
box-shadow: var(--m-focus-shadow);
|
|
1090
1147
|
outline: none;
|
|
1091
1148
|
}
|
|
1092
1149
|
|
|
1150
|
+
.m-inputotp--invalid .m-inputotp__input:focus,
|
|
1093
1151
|
.m-inputotp--invalid .m-inputotp__input:focus-visible,
|
|
1094
1152
|
.m-inputtags--invalid:focus-within,
|
|
1153
|
+
.m-inputcolor--invalid .m-inputcolor__text:focus,
|
|
1095
1154
|
.m-inputcolor--invalid .m-inputcolor__text:focus-visible {
|
|
1096
1155
|
border-color: var(--m-color-danger);
|
|
1097
1156
|
box-shadow: var(--m-focus-shadow-danger);
|
|
@@ -1146,6 +1205,1023 @@
|
|
|
1146
1205
|
animation: none !important;
|
|
1147
1206
|
}
|
|
1148
1207
|
|
|
1208
|
+
.m-button {
|
|
1209
|
+
--m-button-padding-x-small: var(--m-control-padding-x-small);
|
|
1210
|
+
--m-button-padding-x-medium: calc(
|
|
1211
|
+
var(--m-control-padding-x-medium) + var(--m-space-1)
|
|
1212
|
+
);
|
|
1213
|
+
--m-button-padding-x-large: calc(
|
|
1214
|
+
var(--m-control-padding-x-large) + var(--m-space-1)
|
|
1215
|
+
);
|
|
1216
|
+
--m-button-icon-stack-min-height: 3.25rem;
|
|
1217
|
+
--m-button-badge-min-width: 1.15rem;
|
|
1218
|
+
--m-button-spinner-size: 0.875rem;
|
|
1219
|
+
--m-button-icon-size: 1rem;
|
|
1220
|
+
--m-button-bg: var(--m-color-primary);
|
|
1221
|
+
--m-button-fg: var(--m-color-on-emphasis);
|
|
1222
|
+
--m-button-border: var(--m-color-primary);
|
|
1223
|
+
--m-button-hover-bg: var(--m-color-primary-hover);
|
|
1224
|
+
--m-button-hover-fg: var(--m-color-on-emphasis);
|
|
1225
|
+
--m-button-hover-border: var(--m-color-primary-hover);
|
|
1226
|
+
--m-button-active-bg: var(--m-color-primary-active);
|
|
1227
|
+
align-items: center;
|
|
1228
|
+
background: var(--m-button-bg);
|
|
1229
|
+
border: var(--m-border-width) solid var(--m-button-border);
|
|
1230
|
+
border-radius: var(--m-radius-control);
|
|
1231
|
+
color: var(--m-button-fg);
|
|
1232
|
+
cursor: pointer;
|
|
1233
|
+
display: inline-flex;
|
|
1234
|
+
flex-direction: row;
|
|
1235
|
+
font-family: var(--m-font-sans);
|
|
1236
|
+
font-size: var(--m-control-font-medium);
|
|
1237
|
+
font-weight: 400;
|
|
1238
|
+
gap: var(--m-space-2);
|
|
1239
|
+
justify-content: center;
|
|
1240
|
+
line-height: 1;
|
|
1241
|
+
min-height: var(--m-control-height-medium);
|
|
1242
|
+
padding: 0 var(--m-button-padding-x-medium);
|
|
1243
|
+
position: relative;
|
|
1244
|
+
transition:
|
|
1245
|
+
background-color var(--m-motion-fast) var(--m-motion-ease),
|
|
1246
|
+
border-color var(--m-motion-fast) var(--m-motion-ease),
|
|
1247
|
+
color var(--m-motion-fast) var(--m-motion-ease),
|
|
1248
|
+
box-shadow var(--m-motion-fast) var(--m-motion-ease),
|
|
1249
|
+
opacity var(--m-motion-fast) var(--m-motion-ease),
|
|
1250
|
+
transform 160ms var(--m-motion-ease);
|
|
1251
|
+
vertical-align: middle;
|
|
1252
|
+
white-space: nowrap;
|
|
1253
|
+
}
|
|
1254
|
+
|
|
1255
|
+
@media (hover: hover) and (pointer: fine) {
|
|
1256
|
+
.m-button:hover:not(:disabled) {
|
|
1257
|
+
background: var(--m-button-hover-bg);
|
|
1258
|
+
border-color: var(--m-button-hover-border);
|
|
1259
|
+
color: var(--m-button-hover-fg);
|
|
1260
|
+
}
|
|
1261
|
+
}
|
|
1262
|
+
|
|
1263
|
+
.m-button:active:not(:disabled) {
|
|
1264
|
+
background: var(--m-button-active-bg);
|
|
1265
|
+
}
|
|
1266
|
+
|
|
1267
|
+
.m-button--press:active:not(:disabled) {
|
|
1268
|
+
transform: scale(0.97);
|
|
1269
|
+
}
|
|
1270
|
+
|
|
1271
|
+
/* Soft glow focus, not outline-offset ring */
|
|
1272
|
+
.m-button:focus {
|
|
1273
|
+
outline: none;
|
|
1274
|
+
}
|
|
1275
|
+
|
|
1276
|
+
.m-button:focus-visible {
|
|
1277
|
+
box-shadow: var(--m-focus-shadow);
|
|
1278
|
+
outline: none;
|
|
1279
|
+
}
|
|
1280
|
+
|
|
1281
|
+
.m-button:disabled {
|
|
1282
|
+
background: color-mix(in srgb, var(--m-color-text) 4%, var(--m-color-surface));
|
|
1283
|
+
border-color: var(--m-color-border);
|
|
1284
|
+
color: color-mix(in srgb, var(--m-color-text) 35%, var(--m-color-surface));
|
|
1285
|
+
cursor: not-allowed;
|
|
1286
|
+
opacity: 1;
|
|
1287
|
+
}
|
|
1288
|
+
|
|
1289
|
+
.m-button--text:disabled,
|
|
1290
|
+
.m-button--link:disabled,
|
|
1291
|
+
.m-button--ghost:disabled,
|
|
1292
|
+
.m-button--quaternary:disabled {
|
|
1293
|
+
background: transparent;
|
|
1294
|
+
border-color: transparent;
|
|
1295
|
+
}
|
|
1296
|
+
|
|
1297
|
+
.m-button--primary {
|
|
1298
|
+
--m-button-bg: var(--m-color-primary);
|
|
1299
|
+
--m-button-fg: var(--m-color-on-emphasis);
|
|
1300
|
+
--m-button-border: var(--m-color-primary);
|
|
1301
|
+
--m-button-hover-bg: var(--m-color-primary-hover);
|
|
1302
|
+
--m-button-hover-fg: var(--m-color-on-emphasis);
|
|
1303
|
+
--m-button-hover-border: var(--m-color-primary-hover);
|
|
1304
|
+
--m-button-active-bg: var(--m-color-primary-active);
|
|
1305
|
+
}
|
|
1306
|
+
|
|
1307
|
+
.m-button--secondary {
|
|
1308
|
+
--m-button-bg: var(--m-color-surface);
|
|
1309
|
+
--m-button-fg: var(--m-color-text);
|
|
1310
|
+
--m-button-border: var(--m-color-border);
|
|
1311
|
+
--m-button-hover-bg: var(--m-color-surface);
|
|
1312
|
+
--m-button-hover-fg: var(--m-color-primary-hover);
|
|
1313
|
+
--m-button-hover-border: var(--m-color-primary-hover);
|
|
1314
|
+
--m-button-active-bg: var(--m-color-surface);
|
|
1315
|
+
}
|
|
1316
|
+
|
|
1317
|
+
.m-button--success {
|
|
1318
|
+
--m-button-bg: var(--m-color-success);
|
|
1319
|
+
--m-button-fg: var(--m-color-on-emphasis);
|
|
1320
|
+
--m-button-border: var(--m-color-success);
|
|
1321
|
+
--m-button-hover-bg: color-mix(
|
|
1322
|
+
in srgb,
|
|
1323
|
+
var(--m-color-success) 85%,
|
|
1324
|
+
black
|
|
1325
|
+
);
|
|
1326
|
+
--m-button-hover-fg: var(--m-color-on-emphasis);
|
|
1327
|
+
--m-button-hover-border: color-mix(
|
|
1328
|
+
in srgb,
|
|
1329
|
+
var(--m-color-success) 85%,
|
|
1330
|
+
black
|
|
1331
|
+
);
|
|
1332
|
+
--m-button-active-bg: color-mix(
|
|
1333
|
+
in srgb,
|
|
1334
|
+
var(--m-color-success) 75%,
|
|
1335
|
+
black
|
|
1336
|
+
);
|
|
1337
|
+
}
|
|
1338
|
+
|
|
1339
|
+
.m-button--info {
|
|
1340
|
+
--m-button-bg: var(--m-color-info);
|
|
1341
|
+
--m-button-fg: var(--m-color-on-emphasis);
|
|
1342
|
+
--m-button-border: var(--m-color-info);
|
|
1343
|
+
--m-button-hover-bg: color-mix(in srgb, var(--m-color-info) 85%, black);
|
|
1344
|
+
--m-button-hover-fg: var(--m-color-on-emphasis);
|
|
1345
|
+
--m-button-hover-border: color-mix(
|
|
1346
|
+
in srgb,
|
|
1347
|
+
var(--m-color-info) 85%,
|
|
1348
|
+
black
|
|
1349
|
+
);
|
|
1350
|
+
--m-button-active-bg: color-mix(in srgb, var(--m-color-info) 75%, black);
|
|
1351
|
+
}
|
|
1352
|
+
|
|
1353
|
+
.m-button--warn {
|
|
1354
|
+
--m-button-bg: var(--m-color-warn);
|
|
1355
|
+
--m-button-fg: var(--m-color-on-emphasis);
|
|
1356
|
+
--m-button-border: var(--m-color-warn);
|
|
1357
|
+
--m-button-hover-bg: color-mix(in srgb, var(--m-color-warn) 85%, black);
|
|
1358
|
+
--m-button-hover-fg: var(--m-color-on-emphasis);
|
|
1359
|
+
--m-button-hover-border: color-mix(
|
|
1360
|
+
in srgb,
|
|
1361
|
+
var(--m-color-warn) 85%,
|
|
1362
|
+
black
|
|
1363
|
+
);
|
|
1364
|
+
--m-button-active-bg: color-mix(in srgb, var(--m-color-warn) 75%, black);
|
|
1365
|
+
}
|
|
1366
|
+
|
|
1367
|
+
.m-button--help {
|
|
1368
|
+
--m-button-bg: var(--m-color-help);
|
|
1369
|
+
--m-button-fg: var(--m-color-on-emphasis);
|
|
1370
|
+
--m-button-border: var(--m-color-help);
|
|
1371
|
+
--m-button-hover-bg: color-mix(in srgb, var(--m-color-help) 85%, black);
|
|
1372
|
+
--m-button-hover-fg: var(--m-color-on-emphasis);
|
|
1373
|
+
--m-button-hover-border: color-mix(
|
|
1374
|
+
in srgb,
|
|
1375
|
+
var(--m-color-help) 85%,
|
|
1376
|
+
black
|
|
1377
|
+
);
|
|
1378
|
+
--m-button-active-bg: color-mix(in srgb, var(--m-color-help) 75%, black);
|
|
1379
|
+
}
|
|
1380
|
+
|
|
1381
|
+
.m-button--danger {
|
|
1382
|
+
--m-button-bg: var(--m-color-danger);
|
|
1383
|
+
--m-button-fg: var(--m-color-on-emphasis);
|
|
1384
|
+
--m-button-border: var(--m-color-danger);
|
|
1385
|
+
--m-button-hover-bg: color-mix(in srgb, var(--m-color-danger) 85%, black);
|
|
1386
|
+
--m-button-hover-fg: var(--m-color-on-emphasis);
|
|
1387
|
+
--m-button-hover-border: color-mix(
|
|
1388
|
+
in srgb,
|
|
1389
|
+
var(--m-color-danger) 85%,
|
|
1390
|
+
black
|
|
1391
|
+
);
|
|
1392
|
+
--m-button-active-bg: color-mix(
|
|
1393
|
+
in srgb,
|
|
1394
|
+
var(--m-color-danger) 75%,
|
|
1395
|
+
black
|
|
1396
|
+
);
|
|
1397
|
+
}
|
|
1398
|
+
|
|
1399
|
+
.m-button--contrast {
|
|
1400
|
+
--m-button-bg: var(--m-color-contrast);
|
|
1401
|
+
--m-button-fg: var(--m-color-contrast-fg);
|
|
1402
|
+
--m-button-border: var(--m-color-contrast);
|
|
1403
|
+
--m-button-hover-bg: var(--m-color-contrast-hover);
|
|
1404
|
+
--m-button-hover-fg: var(--m-color-contrast-fg);
|
|
1405
|
+
--m-button-hover-border: var(--m-color-contrast-hover);
|
|
1406
|
+
--m-button-active-bg: var(--m-color-contrast-active);
|
|
1407
|
+
}
|
|
1408
|
+
|
|
1409
|
+
.m-button--outlined {
|
|
1410
|
+
--m-button-bg: transparent;
|
|
1411
|
+
--m-button-fg: var(--m-button-border);
|
|
1412
|
+
--m-button-hover-bg: color-mix(
|
|
1413
|
+
in srgb,
|
|
1414
|
+
var(--m-button-border) 10%,
|
|
1415
|
+
transparent
|
|
1416
|
+
);
|
|
1417
|
+
--m-button-hover-fg: var(--m-button-border);
|
|
1418
|
+
--m-button-hover-border: var(--m-button-border);
|
|
1419
|
+
--m-button-active-bg: color-mix(
|
|
1420
|
+
in srgb,
|
|
1421
|
+
var(--m-button-border) 16%,
|
|
1422
|
+
transparent
|
|
1423
|
+
);
|
|
1424
|
+
}
|
|
1425
|
+
|
|
1426
|
+
/* Idle matches outlined hover; hover/active deepen the tint. */
|
|
1427
|
+
.m-button--plain {
|
|
1428
|
+
--m-button-bg: color-mix(
|
|
1429
|
+
in srgb,
|
|
1430
|
+
var(--m-button-border) 10%,
|
|
1431
|
+
transparent
|
|
1432
|
+
);
|
|
1433
|
+
--m-button-fg: var(--m-button-border);
|
|
1434
|
+
--m-button-hover-bg: color-mix(
|
|
1435
|
+
in srgb,
|
|
1436
|
+
var(--m-button-border) 16%,
|
|
1437
|
+
transparent
|
|
1438
|
+
);
|
|
1439
|
+
--m-button-hover-fg: var(--m-button-border);
|
|
1440
|
+
--m-button-hover-border: var(--m-button-border);
|
|
1441
|
+
--m-button-active-bg: color-mix(
|
|
1442
|
+
in srgb,
|
|
1443
|
+
var(--m-button-border) 22%,
|
|
1444
|
+
transparent
|
|
1445
|
+
);
|
|
1446
|
+
}
|
|
1447
|
+
|
|
1448
|
+
.m-button--secondary.m-button--outlined,
|
|
1449
|
+
.m-button--secondary.m-button--plain {
|
|
1450
|
+
--m-button-border: var(--m-color-border);
|
|
1451
|
+
--m-button-fg: var(--m-color-text);
|
|
1452
|
+
--m-button-hover-fg: var(--m-color-text);
|
|
1453
|
+
}
|
|
1454
|
+
|
|
1455
|
+
.m-button--text,
|
|
1456
|
+
.m-button--link {
|
|
1457
|
+
--m-button-bg: transparent;
|
|
1458
|
+
--m-button-border: transparent;
|
|
1459
|
+
--m-button-fg: var(--m-color-primary);
|
|
1460
|
+
--m-button-hover-fg: var(--m-color-primary);
|
|
1461
|
+
--m-button-hover-border: transparent;
|
|
1462
|
+
}
|
|
1463
|
+
|
|
1464
|
+
.m-button--text {
|
|
1465
|
+
--m-button-hover-bg: color-mix(
|
|
1466
|
+
in srgb,
|
|
1467
|
+
var(--m-color-primary) 10%,
|
|
1468
|
+
transparent
|
|
1469
|
+
);
|
|
1470
|
+
--m-button-active-bg: color-mix(
|
|
1471
|
+
in srgb,
|
|
1472
|
+
var(--m-color-primary) 16%,
|
|
1473
|
+
transparent
|
|
1474
|
+
);
|
|
1475
|
+
}
|
|
1476
|
+
|
|
1477
|
+
.m-button--link {
|
|
1478
|
+
--m-button-bg: transparent;
|
|
1479
|
+
--m-button-hover-bg: transparent;
|
|
1480
|
+
--m-button-active-bg: transparent;
|
|
1481
|
+
height: auto;
|
|
1482
|
+
min-height: 0;
|
|
1483
|
+
padding: 0;
|
|
1484
|
+
}
|
|
1485
|
+
|
|
1486
|
+
.m-button--link.m-button--link-underline:hover:not(:disabled) {
|
|
1487
|
+
text-decoration: underline;
|
|
1488
|
+
}
|
|
1489
|
+
|
|
1490
|
+
.m-button--link:not(.m-button--link-underline):hover:not(:disabled) {
|
|
1491
|
+
opacity: 0.8;
|
|
1492
|
+
}
|
|
1493
|
+
|
|
1494
|
+
.m-button--secondary.m-button--text {
|
|
1495
|
+
--m-button-fg: var(--m-color-text-muted);
|
|
1496
|
+
--m-button-hover-bg: color-mix(
|
|
1497
|
+
in srgb,
|
|
1498
|
+
var(--m-color-text-muted) 12%,
|
|
1499
|
+
transparent
|
|
1500
|
+
);
|
|
1501
|
+
--m-button-hover-fg: var(--m-color-text);
|
|
1502
|
+
}
|
|
1503
|
+
|
|
1504
|
+
.m-button--secondary.m-button--link {
|
|
1505
|
+
--m-button-fg: var(--m-color-text-muted);
|
|
1506
|
+
--m-button-hover-fg: var(--m-color-text);
|
|
1507
|
+
}
|
|
1508
|
+
|
|
1509
|
+
.m-button--success.m-button--text,
|
|
1510
|
+
.m-button--success.m-button--outlined {
|
|
1511
|
+
--m-button-fg: var(--m-color-success);
|
|
1512
|
+
--m-button-border: var(--m-color-success);
|
|
1513
|
+
--m-button-hover-bg: color-mix(
|
|
1514
|
+
in srgb,
|
|
1515
|
+
var(--m-color-success) 10%,
|
|
1516
|
+
transparent
|
|
1517
|
+
);
|
|
1518
|
+
--m-button-hover-fg: var(--m-color-success);
|
|
1519
|
+
--m-button-hover-border: var(--m-color-success);
|
|
1520
|
+
}
|
|
1521
|
+
|
|
1522
|
+
.m-button--success.m-button--link {
|
|
1523
|
+
--m-button-fg: var(--m-color-success);
|
|
1524
|
+
--m-button-hover-fg: var(--m-color-success);
|
|
1525
|
+
}
|
|
1526
|
+
|
|
1527
|
+
.m-button--info.m-button--text,
|
|
1528
|
+
.m-button--info.m-button--outlined {
|
|
1529
|
+
--m-button-fg: var(--m-color-info);
|
|
1530
|
+
--m-button-border: var(--m-color-info);
|
|
1531
|
+
--m-button-hover-bg: color-mix(
|
|
1532
|
+
in srgb,
|
|
1533
|
+
var(--m-color-info) 10%,
|
|
1534
|
+
transparent
|
|
1535
|
+
);
|
|
1536
|
+
--m-button-hover-fg: var(--m-color-info);
|
|
1537
|
+
--m-button-hover-border: var(--m-color-info);
|
|
1538
|
+
}
|
|
1539
|
+
|
|
1540
|
+
.m-button--info.m-button--link {
|
|
1541
|
+
--m-button-fg: var(--m-color-info);
|
|
1542
|
+
--m-button-hover-fg: var(--m-color-info);
|
|
1543
|
+
}
|
|
1544
|
+
|
|
1545
|
+
.m-button--warn.m-button--text,
|
|
1546
|
+
.m-button--warn.m-button--outlined {
|
|
1547
|
+
--m-button-fg: var(--m-color-warn);
|
|
1548
|
+
--m-button-border: var(--m-color-warn);
|
|
1549
|
+
--m-button-hover-bg: color-mix(
|
|
1550
|
+
in srgb,
|
|
1551
|
+
var(--m-color-warn) 10%,
|
|
1552
|
+
transparent
|
|
1553
|
+
);
|
|
1554
|
+
--m-button-hover-fg: var(--m-color-warn);
|
|
1555
|
+
--m-button-hover-border: var(--m-color-warn);
|
|
1556
|
+
}
|
|
1557
|
+
|
|
1558
|
+
.m-button--warn.m-button--link {
|
|
1559
|
+
--m-button-fg: var(--m-color-warn);
|
|
1560
|
+
--m-button-hover-fg: var(--m-color-warn);
|
|
1561
|
+
}
|
|
1562
|
+
|
|
1563
|
+
.m-button--help.m-button--text,
|
|
1564
|
+
.m-button--help.m-button--outlined {
|
|
1565
|
+
--m-button-fg: var(--m-color-help);
|
|
1566
|
+
--m-button-border: var(--m-color-help);
|
|
1567
|
+
--m-button-hover-bg: color-mix(
|
|
1568
|
+
in srgb,
|
|
1569
|
+
var(--m-color-help) 10%,
|
|
1570
|
+
transparent
|
|
1571
|
+
);
|
|
1572
|
+
--m-button-hover-fg: var(--m-color-help);
|
|
1573
|
+
--m-button-hover-border: var(--m-color-help);
|
|
1574
|
+
}
|
|
1575
|
+
|
|
1576
|
+
.m-button--help.m-button--link {
|
|
1577
|
+
--m-button-fg: var(--m-color-help);
|
|
1578
|
+
--m-button-hover-fg: var(--m-color-help);
|
|
1579
|
+
}
|
|
1580
|
+
|
|
1581
|
+
.m-button--danger.m-button--text,
|
|
1582
|
+
.m-button--danger.m-button--outlined {
|
|
1583
|
+
--m-button-fg: var(--m-color-danger);
|
|
1584
|
+
--m-button-border: var(--m-color-danger);
|
|
1585
|
+
--m-button-hover-bg: color-mix(
|
|
1586
|
+
in srgb,
|
|
1587
|
+
var(--m-color-danger) 10%,
|
|
1588
|
+
transparent
|
|
1589
|
+
);
|
|
1590
|
+
--m-button-hover-fg: var(--m-color-danger);
|
|
1591
|
+
--m-button-hover-border: var(--m-color-danger);
|
|
1592
|
+
}
|
|
1593
|
+
|
|
1594
|
+
.m-button--danger.m-button--link {
|
|
1595
|
+
--m-button-fg: var(--m-color-danger);
|
|
1596
|
+
--m-button-hover-fg: var(--m-color-danger);
|
|
1597
|
+
}
|
|
1598
|
+
|
|
1599
|
+
.m-button--contrast.m-button--text,
|
|
1600
|
+
.m-button--contrast.m-button--outlined {
|
|
1601
|
+
--m-button-fg: var(--m-color-contrast);
|
|
1602
|
+
--m-button-border: var(--m-color-contrast);
|
|
1603
|
+
--m-button-hover-bg: color-mix(
|
|
1604
|
+
in srgb,
|
|
1605
|
+
var(--m-color-contrast) 10%,
|
|
1606
|
+
transparent
|
|
1607
|
+
);
|
|
1608
|
+
--m-button-hover-fg: var(--m-color-contrast);
|
|
1609
|
+
--m-button-hover-border: var(--m-color-contrast);
|
|
1610
|
+
}
|
|
1611
|
+
|
|
1612
|
+
.m-button--contrast.m-button--link {
|
|
1613
|
+
--m-button-fg: var(--m-color-contrast);
|
|
1614
|
+
--m-button-hover-fg: var(--m-color-contrast);
|
|
1615
|
+
}
|
|
1616
|
+
|
|
1617
|
+
.m-button--plain.m-button--text,
|
|
1618
|
+
.m-button--plain.m-button--outlined {
|
|
1619
|
+
--m-button-bg: transparent;
|
|
1620
|
+
--m-button-fg: var(--m-color-text-muted);
|
|
1621
|
+
--m-button-border: var(--m-color-border);
|
|
1622
|
+
--m-button-hover-bg: color-mix(
|
|
1623
|
+
in srgb,
|
|
1624
|
+
var(--m-color-text-muted) 12%,
|
|
1625
|
+
transparent
|
|
1626
|
+
);
|
|
1627
|
+
--m-button-hover-fg: var(--m-color-text);
|
|
1628
|
+
--m-button-hover-border: var(--m-color-border);
|
|
1629
|
+
--m-button-active-bg: color-mix(
|
|
1630
|
+
in srgb,
|
|
1631
|
+
var(--m-color-text-muted) 18%,
|
|
1632
|
+
transparent
|
|
1633
|
+
);
|
|
1634
|
+
}
|
|
1635
|
+
|
|
1636
|
+
.m-button--plain.m-button--link {
|
|
1637
|
+
--m-button-fg: var(--m-color-text-muted);
|
|
1638
|
+
--m-button-hover-fg: var(--m-color-text);
|
|
1639
|
+
}
|
|
1640
|
+
|
|
1641
|
+
.m-button--ghost {
|
|
1642
|
+
--m-button-bg: color-mix(
|
|
1643
|
+
in srgb,
|
|
1644
|
+
var(--m-color-primary) 10%,
|
|
1645
|
+
transparent
|
|
1646
|
+
);
|
|
1647
|
+
--m-button-border: transparent;
|
|
1648
|
+
--m-button-fg: var(--m-color-primary);
|
|
1649
|
+
--m-button-hover-bg: color-mix(
|
|
1650
|
+
in srgb,
|
|
1651
|
+
var(--m-color-primary) 16%,
|
|
1652
|
+
transparent
|
|
1653
|
+
);
|
|
1654
|
+
--m-button-hover-fg: var(--m-color-primary);
|
|
1655
|
+
--m-button-hover-border: transparent;
|
|
1656
|
+
--m-button-active-bg: color-mix(
|
|
1657
|
+
in srgb,
|
|
1658
|
+
var(--m-color-primary) 22%,
|
|
1659
|
+
transparent
|
|
1660
|
+
);
|
|
1661
|
+
}
|
|
1662
|
+
|
|
1663
|
+
.m-button--secondary.m-button--ghost {
|
|
1664
|
+
--m-button-bg: color-mix(
|
|
1665
|
+
in srgb,
|
|
1666
|
+
var(--m-color-text-muted) 12%,
|
|
1667
|
+
transparent
|
|
1668
|
+
);
|
|
1669
|
+
--m-button-fg: var(--m-color-text);
|
|
1670
|
+
--m-button-hover-bg: color-mix(
|
|
1671
|
+
in srgb,
|
|
1672
|
+
var(--m-color-text-muted) 18%,
|
|
1673
|
+
transparent
|
|
1674
|
+
);
|
|
1675
|
+
--m-button-hover-fg: var(--m-color-text);
|
|
1676
|
+
--m-button-active-bg: color-mix(
|
|
1677
|
+
in srgb,
|
|
1678
|
+
var(--m-color-text-muted) 24%,
|
|
1679
|
+
transparent
|
|
1680
|
+
);
|
|
1681
|
+
}
|
|
1682
|
+
|
|
1683
|
+
.m-button--success.m-button--ghost {
|
|
1684
|
+
--m-button-bg: color-mix(
|
|
1685
|
+
in srgb,
|
|
1686
|
+
var(--m-color-success) 10%,
|
|
1687
|
+
transparent
|
|
1688
|
+
);
|
|
1689
|
+
--m-button-fg: var(--m-color-success);
|
|
1690
|
+
--m-button-hover-bg: color-mix(
|
|
1691
|
+
in srgb,
|
|
1692
|
+
var(--m-color-success) 16%,
|
|
1693
|
+
transparent
|
|
1694
|
+
);
|
|
1695
|
+
--m-button-hover-fg: var(--m-color-success);
|
|
1696
|
+
--m-button-active-bg: color-mix(
|
|
1697
|
+
in srgb,
|
|
1698
|
+
var(--m-color-success) 22%,
|
|
1699
|
+
transparent
|
|
1700
|
+
);
|
|
1701
|
+
}
|
|
1702
|
+
|
|
1703
|
+
.m-button--info.m-button--ghost {
|
|
1704
|
+
--m-button-bg: color-mix(
|
|
1705
|
+
in srgb,
|
|
1706
|
+
var(--m-color-info) 10%,
|
|
1707
|
+
transparent
|
|
1708
|
+
);
|
|
1709
|
+
--m-button-fg: var(--m-color-info);
|
|
1710
|
+
--m-button-hover-bg: color-mix(
|
|
1711
|
+
in srgb,
|
|
1712
|
+
var(--m-color-info) 16%,
|
|
1713
|
+
transparent
|
|
1714
|
+
);
|
|
1715
|
+
--m-button-hover-fg: var(--m-color-info);
|
|
1716
|
+
--m-button-active-bg: color-mix(
|
|
1717
|
+
in srgb,
|
|
1718
|
+
var(--m-color-info) 22%,
|
|
1719
|
+
transparent
|
|
1720
|
+
);
|
|
1721
|
+
}
|
|
1722
|
+
|
|
1723
|
+
.m-button--warn.m-button--ghost {
|
|
1724
|
+
--m-button-bg: color-mix(
|
|
1725
|
+
in srgb,
|
|
1726
|
+
var(--m-color-warn) 10%,
|
|
1727
|
+
transparent
|
|
1728
|
+
);
|
|
1729
|
+
--m-button-fg: var(--m-color-warn);
|
|
1730
|
+
--m-button-hover-bg: color-mix(
|
|
1731
|
+
in srgb,
|
|
1732
|
+
var(--m-color-warn) 16%,
|
|
1733
|
+
transparent
|
|
1734
|
+
);
|
|
1735
|
+
--m-button-hover-fg: var(--m-color-warn);
|
|
1736
|
+
--m-button-active-bg: color-mix(
|
|
1737
|
+
in srgb,
|
|
1738
|
+
var(--m-color-warn) 22%,
|
|
1739
|
+
transparent
|
|
1740
|
+
);
|
|
1741
|
+
}
|
|
1742
|
+
|
|
1743
|
+
.m-button--help.m-button--ghost {
|
|
1744
|
+
--m-button-bg: color-mix(
|
|
1745
|
+
in srgb,
|
|
1746
|
+
var(--m-color-help) 10%,
|
|
1747
|
+
transparent
|
|
1748
|
+
);
|
|
1749
|
+
--m-button-fg: var(--m-color-help);
|
|
1750
|
+
--m-button-hover-bg: color-mix(
|
|
1751
|
+
in srgb,
|
|
1752
|
+
var(--m-color-help) 16%,
|
|
1753
|
+
transparent
|
|
1754
|
+
);
|
|
1755
|
+
--m-button-hover-fg: var(--m-color-help);
|
|
1756
|
+
--m-button-active-bg: color-mix(
|
|
1757
|
+
in srgb,
|
|
1758
|
+
var(--m-color-help) 22%,
|
|
1759
|
+
transparent
|
|
1760
|
+
);
|
|
1761
|
+
}
|
|
1762
|
+
|
|
1763
|
+
.m-button--danger.m-button--ghost {
|
|
1764
|
+
--m-button-bg: color-mix(
|
|
1765
|
+
in srgb,
|
|
1766
|
+
var(--m-color-danger) 10%,
|
|
1767
|
+
transparent
|
|
1768
|
+
);
|
|
1769
|
+
--m-button-fg: var(--m-color-danger);
|
|
1770
|
+
--m-button-hover-bg: color-mix(
|
|
1771
|
+
in srgb,
|
|
1772
|
+
var(--m-color-danger) 16%,
|
|
1773
|
+
transparent
|
|
1774
|
+
);
|
|
1775
|
+
--m-button-hover-fg: var(--m-color-danger);
|
|
1776
|
+
--m-button-active-bg: color-mix(
|
|
1777
|
+
in srgb,
|
|
1778
|
+
var(--m-color-danger) 22%,
|
|
1779
|
+
transparent
|
|
1780
|
+
);
|
|
1781
|
+
}
|
|
1782
|
+
|
|
1783
|
+
.m-button--contrast.m-button--ghost {
|
|
1784
|
+
--m-button-bg: color-mix(
|
|
1785
|
+
in srgb,
|
|
1786
|
+
var(--m-color-contrast) 10%,
|
|
1787
|
+
transparent
|
|
1788
|
+
);
|
|
1789
|
+
--m-button-fg: var(--m-color-contrast);
|
|
1790
|
+
--m-button-hover-bg: color-mix(
|
|
1791
|
+
in srgb,
|
|
1792
|
+
var(--m-color-contrast) 16%,
|
|
1793
|
+
transparent
|
|
1794
|
+
);
|
|
1795
|
+
--m-button-hover-fg: var(--m-color-contrast);
|
|
1796
|
+
--m-button-active-bg: color-mix(
|
|
1797
|
+
in srgb,
|
|
1798
|
+
var(--m-color-contrast) 22%,
|
|
1799
|
+
transparent
|
|
1800
|
+
);
|
|
1801
|
+
}
|
|
1802
|
+
|
|
1803
|
+
.m-button--quaternary {
|
|
1804
|
+
--m-button-bg: transparent;
|
|
1805
|
+
--m-button-border: transparent;
|
|
1806
|
+
--m-button-fg: var(--m-color-text);
|
|
1807
|
+
--m-button-hover-bg: color-mix(
|
|
1808
|
+
in srgb,
|
|
1809
|
+
var(--m-color-text-muted) 10%,
|
|
1810
|
+
transparent
|
|
1811
|
+
);
|
|
1812
|
+
--m-button-hover-fg: var(--m-color-text);
|
|
1813
|
+
--m-button-hover-border: transparent;
|
|
1814
|
+
--m-button-active-bg: color-mix(
|
|
1815
|
+
in srgb,
|
|
1816
|
+
var(--m-color-text-muted) 16%,
|
|
1817
|
+
transparent
|
|
1818
|
+
);
|
|
1819
|
+
}
|
|
1820
|
+
|
|
1821
|
+
.m-button--custom {
|
|
1822
|
+
--m-button-bg: var(--m-button-color);
|
|
1823
|
+
--m-button-fg: var(--m-color-on-emphasis);
|
|
1824
|
+
--m-button-border: var(--m-button-color);
|
|
1825
|
+
--m-button-hover-bg: color-mix(in srgb, var(--m-button-color) 85%, black);
|
|
1826
|
+
--m-button-hover-fg: var(--m-color-on-emphasis);
|
|
1827
|
+
--m-button-hover-border: color-mix(
|
|
1828
|
+
in srgb,
|
|
1829
|
+
var(--m-button-color) 85%,
|
|
1830
|
+
black
|
|
1831
|
+
);
|
|
1832
|
+
--m-button-active-bg: color-mix(
|
|
1833
|
+
in srgb,
|
|
1834
|
+
var(--m-button-color) 75%,
|
|
1835
|
+
black
|
|
1836
|
+
);
|
|
1837
|
+
}
|
|
1838
|
+
|
|
1839
|
+
.m-button--custom.m-button--outlined {
|
|
1840
|
+
--m-button-bg: transparent;
|
|
1841
|
+
--m-button-fg: var(--m-button-color);
|
|
1842
|
+
--m-button-border: var(--m-button-color);
|
|
1843
|
+
--m-button-hover-bg: color-mix(
|
|
1844
|
+
in srgb,
|
|
1845
|
+
var(--m-button-color) 12%,
|
|
1846
|
+
transparent
|
|
1847
|
+
);
|
|
1848
|
+
--m-button-hover-fg: var(--m-button-color);
|
|
1849
|
+
--m-button-hover-border: var(--m-button-color);
|
|
1850
|
+
}
|
|
1851
|
+
|
|
1852
|
+
.m-button--custom.m-button--ghost {
|
|
1853
|
+
--m-button-bg: color-mix(
|
|
1854
|
+
in srgb,
|
|
1855
|
+
var(--m-button-color) 10%,
|
|
1856
|
+
transparent
|
|
1857
|
+
);
|
|
1858
|
+
--m-button-fg: var(--m-button-color);
|
|
1859
|
+
--m-button-border: transparent;
|
|
1860
|
+
--m-button-hover-bg: color-mix(
|
|
1861
|
+
in srgb,
|
|
1862
|
+
var(--m-button-color) 16%,
|
|
1863
|
+
transparent
|
|
1864
|
+
);
|
|
1865
|
+
--m-button-hover-fg: var(--m-button-color);
|
|
1866
|
+
--m-button-hover-border: transparent;
|
|
1867
|
+
--m-button-active-bg: color-mix(
|
|
1868
|
+
in srgb,
|
|
1869
|
+
var(--m-button-color) 22%,
|
|
1870
|
+
transparent
|
|
1871
|
+
);
|
|
1872
|
+
}
|
|
1873
|
+
|
|
1874
|
+
.m-button--custom.m-button--text,
|
|
1875
|
+
.m-button--custom.m-button--quaternary {
|
|
1876
|
+
--m-button-bg: transparent;
|
|
1877
|
+
--m-button-fg: var(--m-button-color);
|
|
1878
|
+
--m-button-border: transparent;
|
|
1879
|
+
--m-button-hover-bg: color-mix(
|
|
1880
|
+
in srgb,
|
|
1881
|
+
var(--m-button-color) 12%,
|
|
1882
|
+
transparent
|
|
1883
|
+
);
|
|
1884
|
+
--m-button-hover-fg: var(--m-button-color);
|
|
1885
|
+
--m-button-hover-border: transparent;
|
|
1886
|
+
}
|
|
1887
|
+
|
|
1888
|
+
.m-button--custom.m-button--plain {
|
|
1889
|
+
--m-button-bg: color-mix(
|
|
1890
|
+
in srgb,
|
|
1891
|
+
var(--m-button-color) 10%,
|
|
1892
|
+
transparent
|
|
1893
|
+
);
|
|
1894
|
+
--m-button-fg: var(--m-button-color);
|
|
1895
|
+
--m-button-border: var(--m-button-color);
|
|
1896
|
+
--m-button-hover-bg: color-mix(
|
|
1897
|
+
in srgb,
|
|
1898
|
+
var(--m-button-color) 16%,
|
|
1899
|
+
transparent
|
|
1900
|
+
);
|
|
1901
|
+
--m-button-hover-fg: var(--m-button-color);
|
|
1902
|
+
--m-button-hover-border: var(--m-button-color);
|
|
1903
|
+
--m-button-active-bg: color-mix(
|
|
1904
|
+
in srgb,
|
|
1905
|
+
var(--m-button-color) 22%,
|
|
1906
|
+
transparent
|
|
1907
|
+
);
|
|
1908
|
+
}
|
|
1909
|
+
|
|
1910
|
+
.m-button--custom.m-button--link {
|
|
1911
|
+
--m-button-bg: transparent;
|
|
1912
|
+
--m-button-fg: var(--m-button-color);
|
|
1913
|
+
--m-button-border: transparent;
|
|
1914
|
+
--m-button-hover-bg: transparent;
|
|
1915
|
+
--m-button-hover-fg: var(--m-button-color);
|
|
1916
|
+
--m-button-hover-border: transparent;
|
|
1917
|
+
--m-button-active-bg: transparent;
|
|
1918
|
+
}
|
|
1919
|
+
|
|
1920
|
+
.m-button-group {
|
|
1921
|
+
display: inline-flex;
|
|
1922
|
+
vertical-align: middle;
|
|
1923
|
+
}
|
|
1924
|
+
|
|
1925
|
+
.m-button-group--fluid {
|
|
1926
|
+
display: flex;
|
|
1927
|
+
width: 100%;
|
|
1928
|
+
}
|
|
1929
|
+
|
|
1930
|
+
.m-button-group--fluid > .m-button {
|
|
1931
|
+
flex: 1;
|
|
1932
|
+
}
|
|
1933
|
+
|
|
1934
|
+
.m-button-group > .m-button {
|
|
1935
|
+
border-radius: 0;
|
|
1936
|
+
margin: 0;
|
|
1937
|
+
}
|
|
1938
|
+
|
|
1939
|
+
.m-button-group > .m-button + .m-button {
|
|
1940
|
+
margin-left: calc(var(--m-border-width) * -1);
|
|
1941
|
+
}
|
|
1942
|
+
|
|
1943
|
+
.m-button-group > .m-button:hover,
|
|
1944
|
+
.m-button-group > .m-button:focus-visible,
|
|
1945
|
+
.m-button-group > .m-button:active {
|
|
1946
|
+
position: relative;
|
|
1947
|
+
z-index: 1;
|
|
1948
|
+
}
|
|
1949
|
+
|
|
1950
|
+
.m-button-group > .m-button:first-child {
|
|
1951
|
+
border-top-left-radius: var(--m-radius-control);
|
|
1952
|
+
border-bottom-left-radius: var(--m-radius-control);
|
|
1953
|
+
}
|
|
1954
|
+
|
|
1955
|
+
.m-button-group > .m-button:last-child {
|
|
1956
|
+
border-top-right-radius: var(--m-radius-control);
|
|
1957
|
+
border-bottom-right-radius: var(--m-radius-control);
|
|
1958
|
+
}
|
|
1959
|
+
|
|
1960
|
+
.m-button--raised {
|
|
1961
|
+
box-shadow: var(--m-shadow-raised);
|
|
1962
|
+
}
|
|
1963
|
+
|
|
1964
|
+
.m-button--raised:focus-visible {
|
|
1965
|
+
box-shadow: var(--m-focus-shadow), var(--m-shadow-raised);
|
|
1966
|
+
}
|
|
1967
|
+
|
|
1968
|
+
.m-button--rounded {
|
|
1969
|
+
border-radius: var(--m-radius-full);
|
|
1970
|
+
}
|
|
1971
|
+
|
|
1972
|
+
.m-button--shape-circle {
|
|
1973
|
+
border-radius: var(--m-radius-full);
|
|
1974
|
+
min-width: var(--m-control-height-medium);
|
|
1975
|
+
padding-inline: 0;
|
|
1976
|
+
width: var(--m-control-height-medium);
|
|
1977
|
+
}
|
|
1978
|
+
|
|
1979
|
+
.m-button--shape-circle.m-button--small {
|
|
1980
|
+
min-width: var(--m-control-height-small);
|
|
1981
|
+
width: var(--m-control-height-small);
|
|
1982
|
+
}
|
|
1983
|
+
|
|
1984
|
+
.m-button--shape-circle.m-button--large {
|
|
1985
|
+
min-width: var(--m-control-height-large);
|
|
1986
|
+
width: var(--m-control-height-large);
|
|
1987
|
+
}
|
|
1988
|
+
|
|
1989
|
+
.m-button--shape-round {
|
|
1990
|
+
border-radius: var(--m-radius-full);
|
|
1991
|
+
padding-inline: calc(var(--m-button-padding-x-medium) + var(--m-space-2));
|
|
1992
|
+
}
|
|
1993
|
+
|
|
1994
|
+
.m-button--shape-square {
|
|
1995
|
+
border-radius: 0;
|
|
1996
|
+
}
|
|
1997
|
+
|
|
1998
|
+
.m-button--dashed {
|
|
1999
|
+
background: var(--m-color-surface);
|
|
2000
|
+
border-style: dashed;
|
|
2001
|
+
color: var(--m-color-text);
|
|
2002
|
+
}
|
|
2003
|
+
|
|
2004
|
+
.m-button--dashed:not(:disabled):hover {
|
|
2005
|
+
border-color: var(--m-color-primary-hover);
|
|
2006
|
+
color: var(--m-color-primary-hover);
|
|
2007
|
+
}
|
|
2008
|
+
|
|
2009
|
+
.m-button--primary.m-button--dashed {
|
|
2010
|
+
--m-button-bg: var(--m-color-surface);
|
|
2011
|
+
--m-button-fg: var(--m-color-primary);
|
|
2012
|
+
--m-button-border: var(--m-color-primary);
|
|
2013
|
+
--m-button-hover-bg: var(--m-color-surface);
|
|
2014
|
+
--m-button-hover-fg: var(--m-color-primary-hover);
|
|
2015
|
+
--m-button-hover-border: var(--m-color-primary-hover);
|
|
2016
|
+
--m-button-active-bg: var(--m-color-surface);
|
|
2017
|
+
}
|
|
2018
|
+
|
|
2019
|
+
.m-button--secondary.m-button--dashed {
|
|
2020
|
+
--m-button-bg: var(--m-color-surface);
|
|
2021
|
+
--m-button-fg: var(--m-color-text);
|
|
2022
|
+
--m-button-border: var(--m-color-border);
|
|
2023
|
+
--m-button-hover-bg: var(--m-color-surface);
|
|
2024
|
+
--m-button-hover-fg: var(--m-color-primary-hover);
|
|
2025
|
+
--m-button-hover-border: var(--m-color-primary-hover);
|
|
2026
|
+
}
|
|
2027
|
+
|
|
2028
|
+
.m-button--icon-only {
|
|
2029
|
+
gap: 0;
|
|
2030
|
+
min-width: var(--m-control-height-medium);
|
|
2031
|
+
padding: 0;
|
|
2032
|
+
width: var(--m-control-height-medium);
|
|
2033
|
+
}
|
|
2034
|
+
|
|
2035
|
+
.m-button--icon-only.m-button--small {
|
|
2036
|
+
min-width: var(--m-control-height-small);
|
|
2037
|
+
width: var(--m-control-height-small);
|
|
2038
|
+
}
|
|
2039
|
+
|
|
2040
|
+
.m-button--icon-only.m-button--large {
|
|
2041
|
+
min-width: var(--m-control-height-large);
|
|
2042
|
+
width: var(--m-control-height-large);
|
|
2043
|
+
}
|
|
2044
|
+
|
|
2045
|
+
.m-button--icon-right {
|
|
2046
|
+
flex-direction: row-reverse;
|
|
2047
|
+
}
|
|
2048
|
+
|
|
2049
|
+
.m-button--icon-top {
|
|
2050
|
+
flex-direction: column;
|
|
2051
|
+
min-height: var(--m-button-icon-stack-min-height);
|
|
2052
|
+
padding-block: var(--m-space-2);
|
|
2053
|
+
}
|
|
2054
|
+
|
|
2055
|
+
.m-button--icon-bottom {
|
|
2056
|
+
flex-direction: column-reverse;
|
|
2057
|
+
min-height: var(--m-button-icon-stack-min-height);
|
|
2058
|
+
padding-block: var(--m-space-2);
|
|
2059
|
+
}
|
|
2060
|
+
|
|
2061
|
+
.m-button--fluid {
|
|
2062
|
+
display: flex;
|
|
2063
|
+
width: 100%;
|
|
2064
|
+
}
|
|
2065
|
+
|
|
2066
|
+
.m-button--small {
|
|
2067
|
+
--m-button-icon-size: 0.875rem;
|
|
2068
|
+
font-size: var(--m-control-font-small);
|
|
2069
|
+
min-height: var(--m-control-height-small);
|
|
2070
|
+
padding: 0 var(--m-button-padding-x-small);
|
|
2071
|
+
}
|
|
2072
|
+
|
|
2073
|
+
.m-button--large {
|
|
2074
|
+
--m-button-icon-size: 1.25rem;
|
|
2075
|
+
font-size: var(--m-control-font-large);
|
|
2076
|
+
min-height: var(--m-control-height-large);
|
|
2077
|
+
padding: 0 var(--m-button-padding-x-large);
|
|
2078
|
+
}
|
|
2079
|
+
|
|
2080
|
+
.m-button__icon,
|
|
2081
|
+
.m-button__label {
|
|
2082
|
+
align-items: center;
|
|
2083
|
+
display: inline-flex;
|
|
2084
|
+
justify-content: center;
|
|
2085
|
+
}
|
|
2086
|
+
|
|
2087
|
+
.m-button__icon,
|
|
2088
|
+
.m-button__label,
|
|
2089
|
+
.m-button__badge {
|
|
2090
|
+
position: relative;
|
|
2091
|
+
z-index: 1;
|
|
2092
|
+
}
|
|
2093
|
+
|
|
2094
|
+
.m-button__ripple {
|
|
2095
|
+
border-radius: inherit;
|
|
2096
|
+
inset: 0;
|
|
2097
|
+
overflow: hidden;
|
|
2098
|
+
pointer-events: none;
|
|
2099
|
+
position: absolute;
|
|
2100
|
+
z-index: 0;
|
|
2101
|
+
}
|
|
2102
|
+
|
|
2103
|
+
.m-button__ripple-wave {
|
|
2104
|
+
background: currentColor;
|
|
2105
|
+
border-radius: var(--m-radius-full);
|
|
2106
|
+
opacity: 0;
|
|
2107
|
+
pointer-events: none;
|
|
2108
|
+
position: absolute;
|
|
2109
|
+
transform: scale(0);
|
|
2110
|
+
will-change: transform, opacity;
|
|
2111
|
+
}
|
|
2112
|
+
|
|
2113
|
+
/* Used only when Web Animations API is unavailable. */
|
|
2114
|
+
.m-button__ripple-wave--fallback {
|
|
2115
|
+
animation: m-button-ripple 560ms var(--m-motion-ease) forwards;
|
|
2116
|
+
}
|
|
2117
|
+
|
|
2118
|
+
@keyframes m-button-ripple {
|
|
2119
|
+
0% {
|
|
2120
|
+
opacity: 0.42;
|
|
2121
|
+
transform: scale(0);
|
|
2122
|
+
}
|
|
2123
|
+
55% {
|
|
2124
|
+
opacity: 0.22;
|
|
2125
|
+
transform: scale(0.55);
|
|
2126
|
+
}
|
|
2127
|
+
100% {
|
|
2128
|
+
opacity: 0;
|
|
2129
|
+
transform: scale(1);
|
|
2130
|
+
}
|
|
2131
|
+
}
|
|
2132
|
+
|
|
2133
|
+
.m-button__icon {
|
|
2134
|
+
flex: 0 0 auto;
|
|
2135
|
+
width: var(--m-button-icon-size);
|
|
2136
|
+
height: var(--m-button-icon-size);
|
|
2137
|
+
line-height: 0;
|
|
2138
|
+
}
|
|
2139
|
+
|
|
2140
|
+
.m-button__icon :is(.m-icon, .m-button__icon-graphic, svg) {
|
|
2141
|
+
display: block;
|
|
2142
|
+
flex-shrink: 0;
|
|
2143
|
+
width: 100%;
|
|
2144
|
+
height: 100%;
|
|
2145
|
+
}
|
|
2146
|
+
|
|
2147
|
+
.m-button__icon .m-icon {
|
|
2148
|
+
max-width: 100%;
|
|
2149
|
+
max-height: 100%;
|
|
2150
|
+
}
|
|
2151
|
+
|
|
2152
|
+
.m-button__badge {
|
|
2153
|
+
align-items: center;
|
|
2154
|
+
background: var(--m-color-contrast);
|
|
2155
|
+
border-radius: var(--m-radius-full);
|
|
2156
|
+
color: var(--m-color-contrast-fg);
|
|
2157
|
+
display: inline-flex;
|
|
2158
|
+
font-size: var(--m-font-size-xs);
|
|
2159
|
+
font-weight: 700;
|
|
2160
|
+
justify-content: center;
|
|
2161
|
+
line-height: 1;
|
|
2162
|
+
margin-inline-start: var(--m-space-1);
|
|
2163
|
+
min-width: var(--m-button-badge-min-width);
|
|
2164
|
+
padding: var(--m-space-1) var(--m-space-2);
|
|
2165
|
+
}
|
|
2166
|
+
|
|
2167
|
+
.m-button__badge--secondary {
|
|
2168
|
+
background: color-mix(
|
|
2169
|
+
in srgb,
|
|
2170
|
+
var(--m-color-text-muted) 25%,
|
|
2171
|
+
var(--m-color-surface)
|
|
2172
|
+
);
|
|
2173
|
+
color: var(--m-color-text);
|
|
2174
|
+
}
|
|
2175
|
+
|
|
2176
|
+
.m-button__badge--success {
|
|
2177
|
+
background: var(--m-color-success);
|
|
2178
|
+
color: var(--m-color-on-emphasis);
|
|
2179
|
+
}
|
|
2180
|
+
|
|
2181
|
+
.m-button__badge--info {
|
|
2182
|
+
background: var(--m-color-info);
|
|
2183
|
+
color: var(--m-color-on-emphasis);
|
|
2184
|
+
}
|
|
2185
|
+
|
|
2186
|
+
.m-button__badge--warn {
|
|
2187
|
+
background: var(--m-color-warn);
|
|
2188
|
+
color: var(--m-color-on-emphasis);
|
|
2189
|
+
}
|
|
2190
|
+
|
|
2191
|
+
.m-button__badge--danger {
|
|
2192
|
+
background: var(--m-color-danger);
|
|
2193
|
+
color: var(--m-color-on-emphasis);
|
|
2194
|
+
}
|
|
2195
|
+
|
|
2196
|
+
.m-button__badge--contrast {
|
|
2197
|
+
background: var(--m-color-contrast);
|
|
2198
|
+
color: var(--m-color-contrast-fg);
|
|
2199
|
+
}
|
|
2200
|
+
|
|
2201
|
+
.m-button__spinner {
|
|
2202
|
+
animation: m-button-spin var(--m-motion-spin-fast) linear infinite;
|
|
2203
|
+
border: 2px solid currentColor;
|
|
2204
|
+
border-right-color: transparent;
|
|
2205
|
+
border-radius: var(--m-radius-full);
|
|
2206
|
+
height: var(--m-button-spinner-size);
|
|
2207
|
+
width: var(--m-button-spinner-size);
|
|
2208
|
+
}
|
|
2209
|
+
|
|
2210
|
+
@keyframes m-button-spin {
|
|
2211
|
+
to {
|
|
2212
|
+
transform: rotate(360deg);
|
|
2213
|
+
}
|
|
2214
|
+
}
|
|
2215
|
+
|
|
2216
|
+
[data-m-motion="reduced"] .m-button__spinner,
|
|
2217
|
+
[data-m-motion="none"] .m-button__spinner {
|
|
2218
|
+
animation: none;
|
|
2219
|
+
}
|
|
2220
|
+
|
|
2221
|
+
[data-m-motion="none"] .m-button__ripple-wave {
|
|
2222
|
+
display: none;
|
|
2223
|
+
}
|
|
2224
|
+
|
|
1149
2225
|
.m-icon {
|
|
1150
2226
|
color: currentColor;
|
|
1151
2227
|
display: inline-flex;
|
|
@@ -1285,6 +2361,24 @@
|
|
|
1285
2361
|
font-size: var(--m-font-size-md);
|
|
1286
2362
|
}
|
|
1287
2363
|
|
|
2364
|
+
.m-toast__heading {
|
|
2365
|
+
align-items: center;
|
|
2366
|
+
display: flex;
|
|
2367
|
+
gap: var(--m-space-2);
|
|
2368
|
+
}
|
|
2369
|
+
|
|
2370
|
+
.m-toast__icon {
|
|
2371
|
+
color: var(--m-color-primary);
|
|
2372
|
+
flex: none;
|
|
2373
|
+
}
|
|
2374
|
+
|
|
2375
|
+
.m-toast__actions {
|
|
2376
|
+
align-items: center;
|
|
2377
|
+
display: flex;
|
|
2378
|
+
gap: var(--m-space-2);
|
|
2379
|
+
margin-top: var(--m-space-1);
|
|
2380
|
+
}
|
|
2381
|
+
|
|
1288
2382
|
.m-toast__content p {
|
|
1289
2383
|
color: var(--m-color-text-muted);
|
|
1290
2384
|
font-size: var(--m-font-size-xs);
|