naive-ui 2.21.2 → 2.22.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/es/_internal/close/src/styles/index.cssr.js +6 -5
- package/es/_internal/scrollbar/src/ScrollBar.d.ts +15 -0
- package/es/_internal/scrollbar/src/ScrollBar.js +13 -7
- package/es/_internal/selection/src/Selection.js +11 -9
- package/es/_internal/selection/src/styles/index.cssr.js +6 -2
- package/es/alert/src/Alert.d.ts +20 -20
- package/es/alert/src/Alert.js +22 -22
- package/es/alert/src/styles/index.cssr.js +45 -45
- package/es/anchor/src/AnchorAdapter.js +12 -12
- package/es/anchor/src/styles/index.cssr.js +41 -41
- package/es/avatar/src/Avatar.d.ts +5 -3
- package/es/avatar/src/Avatar.js +7 -5
- package/es/avatar/src/styles/index.cssr.js +3 -5
- package/es/button/src/Button.d.ts +60 -60
- package/es/button/src/Button.js +107 -106
- package/es/button/src/styles/button.cssr.js +83 -80
- package/es/button/styles/dark.js +3 -3
- package/es/button/styles/light.d.ts +3 -3
- package/es/button/styles/light.js +1 -1
- package/es/calendar/src/Calendar.d.ts +37 -30
- package/es/calendar/styles/light.d.ts +3 -3
- package/es/cascader/src/Cascader.d.ts +135 -0
- package/es/cascader/src/Cascader.js +2 -4
- package/es/cascader/src/CascaderMenu.d.ts +345 -0
- package/es/cascader/src/CascaderMenu.js +6 -5
- package/es/cascader/src/CascaderOption.d.ts +18 -0
- package/es/cascader/src/CascaderSelectMenu.d.ts +18 -0
- package/es/cascader/src/CascaderSubmenu.d.ts +18 -0
- package/es/cascader/styles/dark.js +3 -1
- package/es/cascader/styles/light.d.ts +13 -0
- package/es/cascader/styles/light.js +3 -1
- package/es/color-picker/src/ColorInputUnit.d.ts +3 -3
- package/es/color-picker/src/ColorPicker.d.ts +27 -27
- package/es/color-picker/styles/light.d.ts +3 -3
- package/es/config-provider/src/ConfigProvider.d.ts +21 -0
- package/es/data-table/src/DataTable.d.ts +30 -30
- package/es/data-table/src/DataTable.js +7 -14
- package/es/data-table/src/HeaderButton/FilterButton.d.ts +3 -3
- package/es/data-table/src/HeaderButton/FilterMenu.d.ts +3 -3
- package/es/data-table/src/MainTable.js +2 -3
- package/es/data-table/src/TableParts/Body.d.ts +18 -7
- package/es/data-table/src/TableParts/Body.js +80 -28
- package/es/data-table/src/TableParts/Cell.d.ts +6 -6
- package/es/data-table/src/TableParts/Header.d.ts +3 -3
- package/es/data-table/src/TableParts/Header.js +1 -1
- package/es/data-table/src/interface.d.ts +4 -1
- package/es/data-table/src/styles/index.cssr.js +9 -12
- package/es/data-table/src/use-check.js +6 -2
- package/es/data-table/src/use-scroll.d.ts +2 -0
- package/es/data-table/src/use-scroll.js +34 -4
- package/es/data-table/src/use-table-data.js +4 -1
- package/es/data-table/styles/_common.js +1 -1
- package/es/data-table/styles/light.d.ts +3 -3
- package/es/date-picker/src/DatePicker.d.ts +94 -69
- package/es/date-picker/src/DatePicker.js +47 -20
- package/es/date-picker/src/config.d.ts +1 -9
- package/es/date-picker/src/config.js +0 -8
- package/es/date-picker/src/interface.d.ts +2 -1
- package/es/date-picker/src/panel/date.d.ts +23 -10
- package/es/date-picker/src/panel/date.js +2 -2
- package/es/date-picker/src/panel/daterange.d.ts +21 -9
- package/es/date-picker/src/panel/daterange.js +2 -2
- package/es/date-picker/src/panel/datetime.d.ts +23 -16
- package/es/date-picker/src/panel/datetime.js +2 -2
- package/es/date-picker/src/panel/datetimerange.d.ts +21 -9
- package/es/date-picker/src/panel/datetimerange.js +2 -2
- package/es/date-picker/src/panel/month.d.ts +27 -20
- package/es/date-picker/src/panel/month.js +23 -12
- package/es/date-picker/src/panel/use-calendar.d.ts +25 -43
- package/es/date-picker/src/panel/use-calendar.js +35 -18
- package/es/date-picker/src/panel/use-dual-calendar.d.ts +21 -40
- package/es/date-picker/src/panel/use-dual-calendar.js +23 -8
- package/es/date-picker/src/panel/use-panel-common.d.ts +21 -36
- package/es/date-picker/src/panel/use-panel-common.js +2 -2
- package/es/date-picker/src/utils.d.ts +19 -3
- package/es/date-picker/src/utils.js +40 -5
- package/es/date-picker/styles/_common.d.ts +2 -0
- package/es/date-picker/styles/_common.js +3 -1
- package/es/date-picker/styles/light.d.ts +10 -6
- package/es/dialog/src/Dialog.d.ts +21 -21
- package/es/dialog/src/styles/index.cssr.js +1 -0
- package/es/dialog/styles/light.d.ts +3 -3
- package/es/dynamic-input/src/DynamicInput.d.ts +30 -30
- package/es/dynamic-input/src/InputPreset.d.ts +3 -3
- package/es/dynamic-input/src/PairPreset.d.ts +3 -3
- package/es/dynamic-input/styles/light.d.ts +3 -3
- package/es/dynamic-tags/src/DynamicTags.d.ts +30 -30
- package/es/dynamic-tags/styles/light.d.ts +3 -3
- package/es/element/index.d.ts +1 -0
- package/es/element/index.js +1 -0
- package/es/form/src/interface.d.ts +5 -4
- package/es/image/src/Image.d.ts +25 -16
- package/es/image/src/Image.js +35 -11
- package/es/image/src/ImageGroup.js +2 -2
- package/es/image/src/styles/index.cssr.js +4 -3
- package/es/input/src/Input.js +2 -0
- package/es/input/src/styles/input.cssr.js +2 -1
- package/es/input-number/src/InputNumber.d.ts +30 -30
- package/es/input-number/src/InputNumber.js +10 -5
- package/es/input-number/src/utils.d.ts +1 -0
- package/es/input-number/src/utils.js +4 -0
- package/es/input-number/styles/light.d.ts +3 -3
- package/es/locales/common/deDE.js +8 -0
- package/es/locales/common/enUS.d.ts +7 -0
- package/es/locales/common/enUS.js +8 -1
- package/es/locales/common/frFR.d.ts +3 -0
- package/es/locales/common/frFR.js +101 -0
- package/es/locales/common/idID.d.ts +2 -93
- package/es/locales/common/idID.js +8 -0
- package/es/locales/common/jaJP.js +8 -0
- package/es/locales/common/nbNO.js +8 -0
- package/es/locales/common/ruRU.js +8 -0
- package/es/locales/common/ukUA.js +8 -0
- package/es/locales/common/zhCN.js +7 -0
- package/es/locales/common/zhTW.d.ts +3 -0
- package/es/locales/common/zhTW.js +100 -0
- package/es/locales/date/frFR.d.ts +3 -0
- package/es/locales/date/frFR.js +6 -0
- package/es/locales/date/idID.d.ts +1 -6
- package/es/locales/date/zhTW.d.ts +3 -0
- package/es/locales/date/zhTW.js +6 -0
- package/es/locales/index.d.ts +4 -0
- package/es/locales/index.js +4 -0
- package/es/modal/src/BodyWrapper.d.ts +6 -6
- package/es/modal/src/Modal.d.ts +36 -36
- package/es/modal/styles/light.d.ts +3 -3
- package/es/page-header/src/PageHeader.js +3 -3
- package/es/page-header/src/styles/index.cssr.js +2 -4
- package/es/popconfirm/src/Popconfirm.d.ts +30 -30
- package/es/popconfirm/styles/light.d.ts +3 -3
- package/es/popover/src/Popover.js +4 -1
- package/es/popover/src/PopoverBody.js +3 -3
- package/es/popselect/src/Popselect.d.ts +2 -11
- package/es/popselect/src/Popselect.js +2 -2
- package/es/popselect/src/PopselectPanel.d.ts +3 -11
- package/es/popselect/src/PopselectPanel.js +17 -11
- package/es/radio/src/Radio.js +3 -3
- package/es/radio/src/RadioButton.js +4 -5
- package/es/radio/src/styles/radio-group.cssr.js +8 -4
- package/es/radio/src/styles/radio.cssr.js +8 -4
- package/es/radio/src/use-radio.d.ts +0 -3
- package/es/radio/src/use-radio.js +1 -26
- package/es/switch/src/Switch.d.ts +16 -1
- package/es/switch/src/Switch.js +17 -4
- package/es/switch/src/styles/index.cssr.js +1 -1
- package/es/tabs/src/styles/index.cssr.js +1 -0
- package/es/tag/src/styles/index.cssr.js +1 -1
- package/es/theme-editor/src/ThemeEditor.js +9 -2
- package/es/time-picker/src/Panel.d.ts +3 -3
- package/es/time-picker/src/TimePicker.d.ts +30 -30
- package/es/time-picker/styles/light.d.ts +3 -3
- package/es/transfer/src/Transfer.d.ts +30 -30
- package/es/transfer/src/TransferFilter.d.ts +3 -3
- package/es/transfer/src/TransferList.d.ts +3 -3
- package/es/transfer/src/TransferListItem.d.ts +3 -3
- package/es/transfer/styles/light.d.ts +3 -3
- package/es/tree/src/Tree.d.ts +8 -4
- package/es/tree/src/Tree.js +32 -6
- package/es/tree-select/src/TreeSelect.d.ts +38 -1
- package/es/tree-select/src/TreeSelect.js +25 -10
- package/es/tree-select/src/styles/index.cssr.js +11 -2
- package/es/tree-select/styles/light.d.ts +6 -0
- package/es/tree-select/styles/light.js +5 -2
- package/es/upload/src/Upload.d.ts +41 -30
- package/es/upload/src/Upload.js +33 -23
- package/es/upload/src/UploadFile.d.ts +4 -4
- package/es/upload/src/UploadFileList.js +4 -2
- package/es/upload/src/UploadProgress.d.ts +3 -3
- package/es/upload/src/interface.d.ts +1 -0
- package/es/upload/src/styles/index.cssr.js +2 -3
- package/es/upload/styles/light.d.ts +3 -3
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/lib/_internal/close/src/styles/index.cssr.js +6 -5
- package/lib/_internal/scrollbar/src/ScrollBar.d.ts +15 -0
- package/lib/_internal/scrollbar/src/ScrollBar.js +13 -7
- package/lib/_internal/selection/src/Selection.js +11 -9
- package/lib/_internal/selection/src/styles/index.cssr.js +6 -2
- package/lib/alert/src/Alert.d.ts +20 -20
- package/lib/alert/src/Alert.js +22 -22
- package/lib/alert/src/styles/index.cssr.js +45 -45
- package/lib/anchor/src/AnchorAdapter.js +12 -12
- package/lib/anchor/src/styles/index.cssr.js +41 -41
- package/lib/avatar/src/Avatar.d.ts +5 -3
- package/lib/avatar/src/Avatar.js +7 -5
- package/lib/avatar/src/styles/index.cssr.js +3 -5
- package/lib/button/src/Button.d.ts +60 -60
- package/lib/button/src/Button.js +107 -106
- package/lib/button/src/styles/button.cssr.js +83 -80
- package/lib/button/styles/dark.js +3 -3
- package/lib/button/styles/light.d.ts +3 -3
- package/lib/button/styles/light.js +1 -1
- package/lib/calendar/src/Calendar.d.ts +37 -30
- package/lib/calendar/styles/light.d.ts +3 -3
- package/lib/cascader/src/Cascader.d.ts +135 -0
- package/lib/cascader/src/Cascader.js +2 -4
- package/lib/cascader/src/CascaderMenu.d.ts +345 -0
- package/lib/cascader/src/CascaderMenu.js +6 -5
- package/lib/cascader/src/CascaderOption.d.ts +18 -0
- package/lib/cascader/src/CascaderSelectMenu.d.ts +18 -0
- package/lib/cascader/src/CascaderSubmenu.d.ts +18 -0
- package/lib/cascader/styles/dark.js +3 -1
- package/lib/cascader/styles/light.d.ts +13 -0
- package/lib/cascader/styles/light.js +3 -1
- package/lib/color-picker/src/ColorInputUnit.d.ts +3 -3
- package/lib/color-picker/src/ColorPicker.d.ts +27 -27
- package/lib/color-picker/styles/light.d.ts +3 -3
- package/lib/config-provider/src/ConfigProvider.d.ts +21 -0
- package/lib/data-table/src/DataTable.d.ts +30 -30
- package/lib/data-table/src/DataTable.js +6 -13
- package/lib/data-table/src/HeaderButton/FilterButton.d.ts +3 -3
- package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +3 -3
- package/lib/data-table/src/MainTable.js +1 -2
- package/lib/data-table/src/TableParts/Body.d.ts +18 -7
- package/lib/data-table/src/TableParts/Body.js +78 -26
- package/lib/data-table/src/TableParts/Cell.d.ts +6 -6
- package/lib/data-table/src/TableParts/Header.d.ts +3 -3
- package/lib/data-table/src/TableParts/Header.js +1 -1
- package/lib/data-table/src/interface.d.ts +4 -1
- package/lib/data-table/src/styles/index.cssr.js +9 -12
- package/lib/data-table/src/use-check.js +6 -2
- package/lib/data-table/src/use-scroll.d.ts +2 -0
- package/lib/data-table/src/use-scroll.js +34 -4
- package/lib/data-table/src/use-table-data.js +4 -1
- package/lib/data-table/styles/_common.js +1 -1
- package/lib/data-table/styles/light.d.ts +3 -3
- package/lib/date-picker/src/DatePicker.d.ts +94 -69
- package/lib/date-picker/src/DatePicker.js +46 -19
- package/lib/date-picker/src/config.d.ts +1 -9
- package/lib/date-picker/src/config.js +1 -9
- package/lib/date-picker/src/interface.d.ts +2 -1
- package/lib/date-picker/src/panel/date.d.ts +23 -10
- package/lib/date-picker/src/panel/date.js +1 -1
- package/lib/date-picker/src/panel/daterange.d.ts +21 -9
- package/lib/date-picker/src/panel/daterange.js +1 -1
- package/lib/date-picker/src/panel/datetime.d.ts +23 -16
- package/lib/date-picker/src/panel/datetime.js +1 -1
- package/lib/date-picker/src/panel/datetimerange.d.ts +21 -9
- package/lib/date-picker/src/panel/datetimerange.js +2 -2
- package/lib/date-picker/src/panel/month.d.ts +27 -20
- package/lib/date-picker/src/panel/month.js +23 -12
- package/lib/date-picker/src/panel/use-calendar.d.ts +25 -43
- package/lib/date-picker/src/panel/use-calendar.js +34 -16
- package/lib/date-picker/src/panel/use-dual-calendar.d.ts +21 -40
- package/lib/date-picker/src/panel/use-dual-calendar.js +22 -6
- package/lib/date-picker/src/panel/use-panel-common.d.ts +21 -36
- package/lib/date-picker/src/panel/use-panel-common.js +3 -2
- package/lib/date-picker/src/utils.d.ts +19 -3
- package/lib/date-picker/src/utils.js +41 -4
- package/lib/date-picker/styles/_common.d.ts +2 -0
- package/lib/date-picker/styles/_common.js +3 -1
- package/lib/date-picker/styles/light.d.ts +10 -6
- package/lib/dialog/src/Dialog.d.ts +21 -21
- package/lib/dialog/src/styles/index.cssr.js +1 -0
- package/lib/dialog/styles/light.d.ts +3 -3
- package/lib/dynamic-input/src/DynamicInput.d.ts +30 -30
- package/lib/dynamic-input/src/InputPreset.d.ts +3 -3
- package/lib/dynamic-input/src/PairPreset.d.ts +3 -3
- package/lib/dynamic-input/styles/light.d.ts +3 -3
- package/lib/dynamic-tags/src/DynamicTags.d.ts +30 -30
- package/lib/dynamic-tags/styles/light.d.ts +3 -3
- package/lib/element/index.d.ts +1 -0
- package/lib/element/index.js +3 -1
- package/lib/form/src/interface.d.ts +5 -4
- package/lib/image/src/Image.d.ts +25 -16
- package/lib/image/src/Image.js +34 -10
- package/lib/image/src/ImageGroup.js +2 -2
- package/lib/image/src/styles/index.cssr.js +3 -2
- package/lib/input/src/Input.js +2 -0
- package/lib/input/src/styles/input.cssr.js +2 -1
- package/lib/input-number/src/InputNumber.d.ts +30 -30
- package/lib/input-number/src/InputNumber.js +9 -4
- package/lib/input-number/src/utils.d.ts +1 -0
- package/lib/input-number/src/utils.js +6 -1
- package/lib/input-number/styles/light.d.ts +3 -3
- package/lib/locales/common/deDE.js +8 -0
- package/lib/locales/common/enUS.d.ts +7 -0
- package/lib/locales/common/enUS.js +8 -1
- package/lib/locales/common/frFR.d.ts +3 -0
- package/lib/locales/common/frFR.js +103 -0
- package/lib/locales/common/idID.d.ts +2 -93
- package/lib/locales/common/idID.js +8 -0
- package/lib/locales/common/jaJP.js +8 -0
- package/lib/locales/common/nbNO.js +8 -0
- package/lib/locales/common/ruRU.js +8 -0
- package/lib/locales/common/ukUA.js +8 -0
- package/lib/locales/common/zhCN.js +7 -0
- package/lib/locales/common/zhTW.d.ts +3 -0
- package/lib/locales/common/zhTW.js +102 -0
- package/lib/locales/date/frFR.d.ts +3 -0
- package/lib/locales/date/frFR.js +11 -0
- package/lib/locales/date/idID.d.ts +1 -6
- package/lib/locales/date/zhTW.d.ts +3 -0
- package/lib/locales/date/zhTW.js +11 -0
- package/lib/locales/index.d.ts +4 -0
- package/lib/locales/index.js +9 -1
- package/lib/modal/src/BodyWrapper.d.ts +6 -6
- package/lib/modal/src/Modal.d.ts +36 -36
- package/lib/modal/styles/light.d.ts +3 -3
- package/lib/page-header/src/PageHeader.js +3 -3
- package/lib/page-header/src/styles/index.cssr.js +2 -4
- package/lib/popconfirm/src/Popconfirm.d.ts +30 -30
- package/lib/popconfirm/styles/light.d.ts +3 -3
- package/lib/popover/src/Popover.js +4 -1
- package/lib/popover/src/PopoverBody.js +3 -3
- package/lib/popselect/src/Popselect.d.ts +2 -11
- package/lib/popselect/src/Popselect.js +2 -2
- package/lib/popselect/src/PopselectPanel.d.ts +3 -11
- package/lib/popselect/src/PopselectPanel.js +16 -10
- package/lib/radio/src/Radio.js +3 -3
- package/lib/radio/src/RadioButton.js +4 -5
- package/lib/radio/src/styles/radio-group.cssr.js +8 -4
- package/lib/radio/src/styles/radio.cssr.js +8 -4
- package/lib/radio/src/use-radio.d.ts +0 -3
- package/lib/radio/src/use-radio.js +1 -26
- package/lib/switch/src/Switch.d.ts +16 -1
- package/lib/switch/src/Switch.js +17 -4
- package/lib/switch/src/styles/index.cssr.js +1 -1
- package/lib/tabs/src/styles/index.cssr.js +1 -0
- package/lib/tag/src/styles/index.cssr.js +1 -1
- package/lib/theme-editor/src/ThemeEditor.js +9 -2
- package/lib/time-picker/src/Panel.d.ts +3 -3
- package/lib/time-picker/src/TimePicker.d.ts +30 -30
- package/lib/time-picker/styles/light.d.ts +3 -3
- package/lib/transfer/src/Transfer.d.ts +30 -30
- package/lib/transfer/src/TransferFilter.d.ts +3 -3
- package/lib/transfer/src/TransferList.d.ts +3 -3
- package/lib/transfer/src/TransferListItem.d.ts +3 -3
- package/lib/transfer/styles/light.d.ts +3 -3
- package/lib/tree/src/Tree.d.ts +8 -4
- package/lib/tree/src/Tree.js +32 -6
- package/lib/tree-select/src/TreeSelect.d.ts +38 -1
- package/lib/tree-select/src/TreeSelect.js +24 -9
- package/lib/tree-select/src/styles/index.cssr.js +11 -2
- package/lib/tree-select/styles/light.d.ts +6 -0
- package/lib/tree-select/styles/light.js +5 -2
- package/lib/upload/src/Upload.d.ts +41 -30
- package/lib/upload/src/Upload.js +33 -23
- package/lib/upload/src/UploadFile.d.ts +4 -4
- package/lib/upload/src/UploadFileList.js +4 -2
- package/lib/upload/src/UploadProgress.d.ts +3 -3
- package/lib/upload/src/interface.d.ts +1 -0
- package/lib/upload/src/styles/index.cssr.js +2 -3
- package/lib/upload/styles/light.d.ts +3 -3
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +5 -4
- package/web-types.json +99 -7
|
@@ -1,49 +1,50 @@
|
|
|
1
1
|
import { c, cB, cE, cM, cNotM } from '../../../_utils/cssr';
|
|
2
2
|
import fadeInWidthExpandTransition from '../../../_styles/transitions/fade-in-width-expand.cssr';
|
|
3
3
|
import iconSwitchTransition from '../../../_styles/transitions/icon-switch.cssr'; // vars:
|
|
4
|
-
// --bezier
|
|
5
|
-
// --
|
|
6
|
-
// --
|
|
7
|
-
// --
|
|
8
|
-
// --text-color
|
|
9
|
-
// --text-color-
|
|
10
|
-
// --text-color-
|
|
11
|
-
// --text-color-
|
|
12
|
-
// --color
|
|
13
|
-
// --color
|
|
14
|
-
// --color-
|
|
15
|
-
// --color-
|
|
16
|
-
// --color-
|
|
17
|
-
// --
|
|
18
|
-
// --border
|
|
19
|
-
// --border-
|
|
20
|
-
// --border-
|
|
21
|
-
// --border-
|
|
22
|
-
// --
|
|
23
|
-
// --
|
|
24
|
-
// --
|
|
25
|
-
// --
|
|
26
|
-
// --
|
|
27
|
-
// --
|
|
28
|
-
// --
|
|
29
|
-
// --icon-
|
|
30
|
-
// --
|
|
31
|
-
// --
|
|
4
|
+
// --n-bezier
|
|
5
|
+
// --n-bezier-ease-out
|
|
6
|
+
// --n-ripple-duration
|
|
7
|
+
// --n-opacity-disabled
|
|
8
|
+
// --n-text-color
|
|
9
|
+
// --n-text-color-hover
|
|
10
|
+
// --n-text-color-pressed
|
|
11
|
+
// --n-text-color-focus
|
|
12
|
+
// --n-text-color-disabled
|
|
13
|
+
// --n-color
|
|
14
|
+
// --n-color-hover
|
|
15
|
+
// --n-color-pressed
|
|
16
|
+
// --n-color-focus
|
|
17
|
+
// --n-color-disabled
|
|
18
|
+
// --n-border
|
|
19
|
+
// --n-border-hover
|
|
20
|
+
// --n-border-pressed
|
|
21
|
+
// --n-border-focus
|
|
22
|
+
// --n-border-disabled
|
|
23
|
+
// --n-ripple-color
|
|
24
|
+
// --n-border-radius
|
|
25
|
+
// --n-height
|
|
26
|
+
// --n-width
|
|
27
|
+
// --n-font-size
|
|
28
|
+
// --n-padding
|
|
29
|
+
// --n-icon-size
|
|
30
|
+
// --n-icon-margin
|
|
31
|
+
// --n-wave-opacity
|
|
32
|
+
// --n-font-weight
|
|
32
33
|
//
|
|
33
34
|
// private-vars:
|
|
34
|
-
// --border-color-xxx, used for custom color
|
|
35
|
+
// --n-border-color-xxx, used for custom color
|
|
35
36
|
|
|
36
37
|
export default c([cB('button', `
|
|
37
|
-
font-weight: var(--font-weight);
|
|
38
|
+
font-weight: var(--n-font-weight);
|
|
38
39
|
line-height: 1;
|
|
39
40
|
font-family: inherit;
|
|
40
|
-
padding: var(--padding);
|
|
41
|
-
height: var(--height);
|
|
42
|
-
font-size: var(--font-size);
|
|
43
|
-
border-radius: var(--border-radius);
|
|
44
|
-
color: var(--text-color);
|
|
45
|
-
background-color: var(--color);
|
|
46
|
-
width: var(--width);
|
|
41
|
+
padding: var(--n-padding);
|
|
42
|
+
height: var(--n-height);
|
|
43
|
+
font-size: var(--n-font-size);
|
|
44
|
+
border-radius: var(--n-border-radius);
|
|
45
|
+
color: var(--n-text-color);
|
|
46
|
+
background-color: var(--n-color);
|
|
47
|
+
width: var(--n-width);
|
|
47
48
|
white-space: nowrap;
|
|
48
49
|
outline: none;
|
|
49
50
|
position: relative;
|
|
@@ -59,56 +60,58 @@ export default c([cB('button', `
|
|
|
59
60
|
cursor: pointer;
|
|
60
61
|
text-decoration: none;
|
|
61
62
|
transition:
|
|
62
|
-
color .3s var(--bezier),
|
|
63
|
-
background-color .3s var(--bezier),
|
|
64
|
-
opacity .3s var(--bezier),
|
|
65
|
-
border-color .3s var(--bezier);
|
|
63
|
+
color .3s var(--n-bezier),
|
|
64
|
+
background-color .3s var(--n-bezier),
|
|
65
|
+
opacity .3s var(--n-bezier),
|
|
66
|
+
border-color .3s var(--n-bezier);
|
|
66
67
|
`, [cM('color', [cE('border', {
|
|
67
|
-
borderColor: 'var(--border-color)'
|
|
68
|
+
borderColor: 'var(--n-border-color)'
|
|
68
69
|
}), cM('disabled', [cE('border', {
|
|
69
|
-
borderColor: 'var(--border-color-disabled)'
|
|
70
|
+
borderColor: 'var(--n-border-color-disabled)'
|
|
70
71
|
})]), cNotM('disabled', [c('&:focus', [cE('state-border', {
|
|
71
|
-
borderColor: 'var(--border-color-focus)'
|
|
72
|
+
borderColor: 'var(--n-border-color-focus)'
|
|
72
73
|
})]), c('&:hover', [cE('state-border', {
|
|
73
|
-
borderColor: 'var(--border-color-hover)'
|
|
74
|
+
borderColor: 'var(--n-border-color-hover)'
|
|
74
75
|
})]), c('&:active', [cE('state-border', {
|
|
75
|
-
borderColor: 'var(--border-color-pressed)'
|
|
76
|
+
borderColor: 'var(--n-border-color-pressed)'
|
|
76
77
|
})]), cM('pressed', [cE('state-border', {
|
|
77
|
-
borderColor: 'var(--border-color-pressed)'
|
|
78
|
+
borderColor: 'var(--n-border-color-pressed)'
|
|
78
79
|
})])])]), cM('disabled', {
|
|
79
|
-
backgroundColor: 'var(--color-disabled)',
|
|
80
|
-
color: 'var(--text-color-disabled)'
|
|
80
|
+
backgroundColor: 'var(--n-color-disabled)',
|
|
81
|
+
color: 'var(--n-text-color-disabled)'
|
|
81
82
|
}, [cE('border', {
|
|
82
|
-
border: 'var(--border-disabled)'
|
|
83
|
+
border: 'var(--n-border-disabled)'
|
|
83
84
|
})]), cNotM('disabled', [c('&:focus', {
|
|
84
|
-
backgroundColor: 'var(--color-focus)',
|
|
85
|
-
color: 'var(--text-color-focus)'
|
|
85
|
+
backgroundColor: 'var(--n-color-focus)',
|
|
86
|
+
color: 'var(--n-text-color-focus)'
|
|
86
87
|
}, [cE('state-border', {
|
|
87
|
-
border: 'var(--border-focus)'
|
|
88
|
+
border: 'var(--n-border-focus)'
|
|
88
89
|
})]), c('&:hover', {
|
|
89
|
-
backgroundColor: 'var(--color-hover)',
|
|
90
|
-
color: 'var(--text-color-hover)'
|
|
90
|
+
backgroundColor: 'var(--n-color-hover)',
|
|
91
|
+
color: 'var(--n-text-color-hover)'
|
|
91
92
|
}, [cE('state-border', {
|
|
92
|
-
border: 'var(--border-hover)'
|
|
93
|
+
border: 'var(--n-border-hover)'
|
|
93
94
|
})]), c('&:active', {
|
|
94
|
-
backgroundColor: 'var(--color-pressed)',
|
|
95
|
-
color: 'var(--text-color-pressed)'
|
|
95
|
+
backgroundColor: 'var(--n-color-pressed)',
|
|
96
|
+
color: 'var(--n-text-color-pressed)'
|
|
96
97
|
}, [cE('state-border', {
|
|
97
|
-
border: 'var(--border-pressed)'
|
|
98
|
+
border: 'var(--n-border-pressed)'
|
|
98
99
|
})]), cM('pressed', {
|
|
99
|
-
backgroundColor: 'var(--color-pressed)',
|
|
100
|
-
color: 'var(--text-color-pressed)'
|
|
100
|
+
backgroundColor: 'var(--n-color-pressed)',
|
|
101
|
+
color: 'var(--n-text-color-pressed)'
|
|
101
102
|
}, [cE('state-border', {
|
|
102
|
-
border: 'var(--border-pressed)'
|
|
103
|
-
})])]),
|
|
103
|
+
border: 'var(--n-border-pressed)'
|
|
104
|
+
})])]), cM('loading', {
|
|
105
|
+
'pointer-events': 'none'
|
|
106
|
+
}), cB('base-wave', `
|
|
104
107
|
pointer-events: none;
|
|
105
108
|
top: 0;
|
|
106
109
|
right: 0;
|
|
107
110
|
bottom: 0;
|
|
108
111
|
left: 0;
|
|
109
112
|
animation-iteration-count: 1;
|
|
110
|
-
animation-duration: var(--ripple-duration);
|
|
111
|
-
animation-timing-function: var(--bezier-ease-out), var(--bezier-ease-out);
|
|
113
|
+
animation-duration: var(--n-ripple-duration);
|
|
114
|
+
animation-timing-function: var(--n-bezier-ease-out), var(--n-bezier-ease-out);
|
|
112
115
|
`, [cM('active', {
|
|
113
116
|
zIndex: 1,
|
|
114
117
|
animationName: 'button-wave-spread, button-wave-opacity'
|
|
@@ -121,26 +124,26 @@ export default c([cB('button', `
|
|
|
121
124
|
right: 0;
|
|
122
125
|
bottom: 0;
|
|
123
126
|
border-radius: inherit;
|
|
124
|
-
transition: border-color .3s var(--bezier);
|
|
127
|
+
transition: border-color .3s var(--n-bezier);
|
|
125
128
|
pointer-events: none;
|
|
126
129
|
`), cE('border', {
|
|
127
|
-
border: 'var(--border)'
|
|
130
|
+
border: 'var(--n-border)'
|
|
128
131
|
}), cE('state-border', {
|
|
129
|
-
border: 'var(--border)',
|
|
132
|
+
border: 'var(--n-border)',
|
|
130
133
|
borderColor: '#0000',
|
|
131
134
|
zIndex: 1
|
|
132
135
|
}), cE('icon', `
|
|
133
|
-
margin: var(--icon-margin);
|
|
136
|
+
margin: var(--n-icon-margin);
|
|
134
137
|
margin-left: 0;
|
|
135
|
-
height: var(--icon-size);
|
|
136
|
-
width: var(--icon-size);
|
|
137
|
-
max-width: var(--icon-size);
|
|
138
|
-
font-size: var(--icon-size);
|
|
138
|
+
height: var(--n-icon-size);
|
|
139
|
+
width: var(--n-icon-size);
|
|
140
|
+
max-width: var(--n-icon-size);
|
|
141
|
+
font-size: var(--n-icon-size);
|
|
139
142
|
position: relative;
|
|
140
143
|
flex-shrink: 0;
|
|
141
144
|
`, [cB('icon-slot', `
|
|
142
|
-
height: var(--icon-size);
|
|
143
|
-
width: var(--icon-size);
|
|
145
|
+
height: var(--n-icon-size);
|
|
146
|
+
width: var(--n-icon-size);
|
|
144
147
|
position: absolute;
|
|
145
148
|
left: 0;
|
|
146
149
|
top: 50%;
|
|
@@ -154,7 +157,7 @@ export default c([cB('button', `
|
|
|
154
157
|
align-items: center;
|
|
155
158
|
flex-wrap: nowrap;
|
|
156
159
|
`, [c('~', [cE('icon', {
|
|
157
|
-
margin: 'var(--icon-margin)',
|
|
160
|
+
margin: 'var(--n-icon-margin)',
|
|
158
161
|
marginRight: 0
|
|
159
162
|
})])]), cM('block', `
|
|
160
163
|
display: flex;
|
|
@@ -163,18 +166,18 @@ export default c([cB('button', `
|
|
|
163
166
|
borderStyle: 'dashed !important'
|
|
164
167
|
})]), cM('disabled', {
|
|
165
168
|
cursor: 'not-allowed',
|
|
166
|
-
opacity: 'var(--opacity-disabled)'
|
|
169
|
+
opacity: 'var(--n-opacity-disabled)'
|
|
167
170
|
})]), c('@keyframes button-wave-spread', {
|
|
168
171
|
from: {
|
|
169
|
-
boxShadow: '0 0 0.5px 0 var(--ripple-color)'
|
|
172
|
+
boxShadow: '0 0 0.5px 0 var(--n-ripple-color)'
|
|
170
173
|
},
|
|
171
174
|
to: {
|
|
172
175
|
// don't use exact 5px since chrome will display the animation with glitches
|
|
173
|
-
boxShadow: '0 0 0.5px 4.5px var(--ripple-color)'
|
|
176
|
+
boxShadow: '0 0 0.5px 4.5px var(--n-ripple-color)'
|
|
174
177
|
}
|
|
175
178
|
}), c('@keyframes button-wave-opacity', {
|
|
176
179
|
from: {
|
|
177
|
-
opacity: 'var(--wave-opacity)'
|
|
180
|
+
opacity: 'var(--n-wave-opacity)'
|
|
178
181
|
},
|
|
179
182
|
to: {
|
|
180
183
|
opacity: 0
|
package/es/button/styles/dark.js
CHANGED
|
@@ -6,9 +6,9 @@ const buttonDark = {
|
|
|
6
6
|
self(vars) {
|
|
7
7
|
const commonSelf = self(vars);
|
|
8
8
|
commonSelf.waveOpacity = '0.8';
|
|
9
|
-
commonSelf.colorOpacitySecondary = 0.16;
|
|
10
|
-
commonSelf.colorOpacitySecondaryHover = 0.2;
|
|
11
|
-
commonSelf.colorOpacitySecondaryPressed = 0.12;
|
|
9
|
+
commonSelf.colorOpacitySecondary = '0.16';
|
|
10
|
+
commonSelf.colorOpacitySecondaryHover = '0.2';
|
|
11
|
+
commonSelf.colorOpacitySecondaryPressed = '0.12';
|
|
12
12
|
return commonSelf;
|
|
13
13
|
}
|
|
14
14
|
};
|
|
@@ -14,9 +14,9 @@ export declare const self: (vars: ThemeCommonVars) => {
|
|
|
14
14
|
fontSizeMedium: string;
|
|
15
15
|
fontSizeLarge: string;
|
|
16
16
|
opacityDisabled: string;
|
|
17
|
-
colorOpacitySecondary:
|
|
18
|
-
colorOpacitySecondaryHover:
|
|
19
|
-
colorOpacitySecondaryPressed:
|
|
17
|
+
colorOpacitySecondary: string;
|
|
18
|
+
colorOpacitySecondaryHover: string;
|
|
19
|
+
colorOpacitySecondaryPressed: string;
|
|
20
20
|
colorSecondary: string;
|
|
21
21
|
colorSecondaryHover: string;
|
|
22
22
|
colorSecondaryPressed: string;
|
|
@@ -7,7 +7,7 @@ export const self = (vars) => {
|
|
|
7
7
|
heightMedium,
|
|
8
8
|
heightLarge, borderRadiusTiny: borderRadius, borderRadiusSmall: borderRadius, borderRadiusMedium: borderRadius, borderRadiusLarge: borderRadius, fontSizeTiny: fontSizeTiny, fontSizeSmall: fontSizeSmall, fontSizeMedium: fontSizeMedium, fontSizeLarge: fontSizeLarge, opacityDisabled: opacityDisabled,
|
|
9
9
|
// secondary
|
|
10
|
-
colorOpacitySecondary: 0.16, colorOpacitySecondaryHover: 0.
|
|
10
|
+
colorOpacitySecondary: '0.16', colorOpacitySecondaryHover: '0.22', colorOpacitySecondaryPressed: '0.28', colorSecondary: buttonColor2, colorSecondaryHover: buttonColor2Hover, colorSecondaryPressed: buttonColor2Pressed,
|
|
11
11
|
// tertiary
|
|
12
12
|
colorTertiary: buttonColor2, colorTertiaryHover: buttonColor2Hover, colorTertiaryPressed: buttonColor2Pressed,
|
|
13
13
|
// quaternary
|
|
@@ -46,9 +46,9 @@ declare const calendarProps: {
|
|
|
46
46
|
fontSizeMedium: string;
|
|
47
47
|
fontSizeLarge: string;
|
|
48
48
|
opacityDisabled: string;
|
|
49
|
-
colorOpacitySecondary:
|
|
50
|
-
colorOpacitySecondaryHover:
|
|
51
|
-
colorOpacitySecondaryPressed:
|
|
49
|
+
colorOpacitySecondary: string;
|
|
50
|
+
colorOpacitySecondaryHover: string;
|
|
51
|
+
colorOpacitySecondaryPressed: string;
|
|
52
52
|
colorSecondary: string;
|
|
53
53
|
colorSecondaryHover: string;
|
|
54
54
|
colorSecondaryPressed: string;
|
|
@@ -273,9 +273,9 @@ declare const calendarProps: {
|
|
|
273
273
|
fontSizeMedium: string;
|
|
274
274
|
fontSizeLarge: string;
|
|
275
275
|
opacityDisabled: string;
|
|
276
|
-
colorOpacitySecondary:
|
|
277
|
-
colorOpacitySecondaryHover:
|
|
278
|
-
colorOpacitySecondaryPressed:
|
|
276
|
+
colorOpacitySecondary: string;
|
|
277
|
+
colorOpacitySecondaryHover: string;
|
|
278
|
+
colorOpacitySecondaryPressed: string;
|
|
279
279
|
colorSecondary: string;
|
|
280
280
|
colorSecondaryHover: string;
|
|
281
281
|
colorSecondaryPressed: string;
|
|
@@ -500,9 +500,9 @@ declare const calendarProps: {
|
|
|
500
500
|
fontSizeMedium: string;
|
|
501
501
|
fontSizeLarge: string;
|
|
502
502
|
opacityDisabled: string;
|
|
503
|
-
colorOpacitySecondary:
|
|
504
|
-
colorOpacitySecondaryHover:
|
|
505
|
-
colorOpacitySecondaryPressed:
|
|
503
|
+
colorOpacitySecondary: string;
|
|
504
|
+
colorOpacitySecondaryHover: string;
|
|
505
|
+
colorOpacitySecondaryPressed: string;
|
|
506
506
|
colorSecondary: string;
|
|
507
507
|
colorSecondaryHover: string;
|
|
508
508
|
colorSecondaryPressed: string;
|
|
@@ -738,9 +738,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
738
738
|
fontSizeMedium: string;
|
|
739
739
|
fontSizeLarge: string;
|
|
740
740
|
opacityDisabled: string;
|
|
741
|
-
colorOpacitySecondary:
|
|
742
|
-
colorOpacitySecondaryHover:
|
|
743
|
-
colorOpacitySecondaryPressed:
|
|
741
|
+
colorOpacitySecondary: string;
|
|
742
|
+
colorOpacitySecondaryHover: string;
|
|
743
|
+
colorOpacitySecondaryPressed: string;
|
|
744
744
|
colorSecondary: string;
|
|
745
745
|
colorSecondaryHover: string;
|
|
746
746
|
colorSecondaryPressed: string;
|
|
@@ -965,9 +965,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
965
965
|
fontSizeMedium: string;
|
|
966
966
|
fontSizeLarge: string;
|
|
967
967
|
opacityDisabled: string;
|
|
968
|
-
colorOpacitySecondary:
|
|
969
|
-
colorOpacitySecondaryHover:
|
|
970
|
-
colorOpacitySecondaryPressed:
|
|
968
|
+
colorOpacitySecondary: string;
|
|
969
|
+
colorOpacitySecondaryHover: string;
|
|
970
|
+
colorOpacitySecondaryPressed: string;
|
|
971
971
|
colorSecondary: string;
|
|
972
972
|
colorSecondaryHover: string;
|
|
973
973
|
colorSecondaryPressed: string;
|
|
@@ -1192,9 +1192,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1192
1192
|
fontSizeMedium: string;
|
|
1193
1193
|
fontSizeLarge: string;
|
|
1194
1194
|
opacityDisabled: string;
|
|
1195
|
-
colorOpacitySecondary:
|
|
1196
|
-
colorOpacitySecondaryHover:
|
|
1197
|
-
colorOpacitySecondaryPressed:
|
|
1195
|
+
colorOpacitySecondary: string;
|
|
1196
|
+
colorOpacitySecondaryHover: string;
|
|
1197
|
+
colorOpacitySecondaryPressed: string;
|
|
1198
1198
|
colorSecondary: string;
|
|
1199
1199
|
colorSecondaryHover: string;
|
|
1200
1200
|
colorSecondaryPressed: string;
|
|
@@ -1389,6 +1389,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1389
1389
|
yearFormat: string;
|
|
1390
1390
|
monthFormat: string;
|
|
1391
1391
|
dayFormat: string;
|
|
1392
|
+
yearTypeFormat: string;
|
|
1393
|
+
monthTypeFormat: string;
|
|
1394
|
+
dateFormat: string;
|
|
1395
|
+
dateTimeFormat: string;
|
|
1396
|
+
quarterFormat: string;
|
|
1392
1397
|
clear: string;
|
|
1393
1398
|
now: string;
|
|
1394
1399
|
confirm: string;
|
|
@@ -1397,6 +1402,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1397
1402
|
datePlaceholder: string;
|
|
1398
1403
|
datetimePlaceholder: string;
|
|
1399
1404
|
monthPlaceholder: string;
|
|
1405
|
+
yearPlaceholder: string;
|
|
1406
|
+
quarterPlaceholder: string;
|
|
1400
1407
|
startDatePlaceholder: string;
|
|
1401
1408
|
endDatePlaceholder: string;
|
|
1402
1409
|
startDatetimePlaceholder: string;
|
|
@@ -1555,9 +1562,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1555
1562
|
fontSizeMedium: string;
|
|
1556
1563
|
fontSizeLarge: string;
|
|
1557
1564
|
opacityDisabled: string;
|
|
1558
|
-
colorOpacitySecondary:
|
|
1559
|
-
colorOpacitySecondaryHover:
|
|
1560
|
-
colorOpacitySecondaryPressed:
|
|
1565
|
+
colorOpacitySecondary: string;
|
|
1566
|
+
colorOpacitySecondaryHover: string;
|
|
1567
|
+
colorOpacitySecondaryPressed: string;
|
|
1561
1568
|
colorSecondary: string;
|
|
1562
1569
|
colorSecondaryHover: string;
|
|
1563
1570
|
colorSecondaryPressed: string;
|
|
@@ -1824,9 +1831,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1824
1831
|
fontSizeMedium: string;
|
|
1825
1832
|
fontSizeLarge: string;
|
|
1826
1833
|
opacityDisabled: string;
|
|
1827
|
-
colorOpacitySecondary:
|
|
1828
|
-
colorOpacitySecondaryHover:
|
|
1829
|
-
colorOpacitySecondaryPressed:
|
|
1834
|
+
colorOpacitySecondary: string;
|
|
1835
|
+
colorOpacitySecondaryHover: string;
|
|
1836
|
+
colorOpacitySecondaryPressed: string;
|
|
1830
1837
|
colorSecondary: string;
|
|
1831
1838
|
colorSecondaryHover: string;
|
|
1832
1839
|
colorSecondaryPressed: string;
|
|
@@ -2051,9 +2058,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2051
2058
|
fontSizeMedium: string;
|
|
2052
2059
|
fontSizeLarge: string;
|
|
2053
2060
|
opacityDisabled: string;
|
|
2054
|
-
colorOpacitySecondary:
|
|
2055
|
-
colorOpacitySecondaryHover:
|
|
2056
|
-
colorOpacitySecondaryPressed:
|
|
2061
|
+
colorOpacitySecondary: string;
|
|
2062
|
+
colorOpacitySecondaryHover: string;
|
|
2063
|
+
colorOpacitySecondaryPressed: string;
|
|
2057
2064
|
colorSecondary: string;
|
|
2058
2065
|
colorSecondaryHover: string;
|
|
2059
2066
|
colorSecondaryPressed: string;
|
|
@@ -2278,9 +2285,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2278
2285
|
fontSizeMedium: string;
|
|
2279
2286
|
fontSizeLarge: string;
|
|
2280
2287
|
opacityDisabled: string;
|
|
2281
|
-
colorOpacitySecondary:
|
|
2282
|
-
colorOpacitySecondaryHover:
|
|
2283
|
-
colorOpacitySecondaryPressed:
|
|
2288
|
+
colorOpacitySecondary: string;
|
|
2289
|
+
colorOpacitySecondaryHover: string;
|
|
2290
|
+
colorOpacitySecondaryPressed: string;
|
|
2284
2291
|
colorSecondary: string;
|
|
2285
2292
|
colorSecondaryHover: string;
|
|
2286
2293
|
colorSecondaryPressed: string;
|
|
@@ -58,9 +58,9 @@ declare const calendarLight: import("../../_mixins").Theme<"Calendar", {
|
|
|
58
58
|
fontSizeMedium: string;
|
|
59
59
|
fontSizeLarge: string;
|
|
60
60
|
opacityDisabled: string;
|
|
61
|
-
colorOpacitySecondary:
|
|
62
|
-
colorOpacitySecondaryHover:
|
|
63
|
-
colorOpacitySecondaryPressed:
|
|
61
|
+
colorOpacitySecondary: string;
|
|
62
|
+
colorOpacitySecondaryHover: string;
|
|
63
|
+
colorOpacitySecondaryPressed: string;
|
|
64
64
|
colorSecondary: string;
|
|
65
65
|
colorSecondaryHover: string;
|
|
66
66
|
colorSecondaryPressed: string;
|
|
@@ -254,6 +254,19 @@ declare const cascaderProps: {
|
|
|
254
254
|
sizeLarge: string;
|
|
255
255
|
labelPadding: string;
|
|
256
256
|
}, any>;
|
|
257
|
+
Empty: import("../../_mixins").Theme<"Empty", {
|
|
258
|
+
fontSizeSmall: string;
|
|
259
|
+
fontSizeMedium: string;
|
|
260
|
+
fontSizeLarge: string;
|
|
261
|
+
fontSizeHuge: string;
|
|
262
|
+
textColor: string;
|
|
263
|
+
iconColor: string;
|
|
264
|
+
extraTextColor: string;
|
|
265
|
+
iconSizeSmall: string;
|
|
266
|
+
iconSizeMedium: string;
|
|
267
|
+
iconSizeLarge: string;
|
|
268
|
+
iconSizeHuge: string;
|
|
269
|
+
}, any>;
|
|
257
270
|
}>>;
|
|
258
271
|
readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Cascader", {
|
|
259
272
|
menuBorderRadius: string;
|
|
@@ -424,6 +437,19 @@ declare const cascaderProps: {
|
|
|
424
437
|
sizeLarge: string;
|
|
425
438
|
labelPadding: string;
|
|
426
439
|
}, any>;
|
|
440
|
+
Empty: import("../../_mixins").Theme<"Empty", {
|
|
441
|
+
fontSizeSmall: string;
|
|
442
|
+
fontSizeMedium: string;
|
|
443
|
+
fontSizeLarge: string;
|
|
444
|
+
fontSizeHuge: string;
|
|
445
|
+
textColor: string;
|
|
446
|
+
iconColor: string;
|
|
447
|
+
extraTextColor: string;
|
|
448
|
+
iconSizeSmall: string;
|
|
449
|
+
iconSizeMedium: string;
|
|
450
|
+
iconSizeLarge: string;
|
|
451
|
+
iconSizeHuge: string;
|
|
452
|
+
}, any>;
|
|
427
453
|
}>>>;
|
|
428
454
|
readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Cascader", {
|
|
429
455
|
menuBorderRadius: string;
|
|
@@ -594,6 +620,19 @@ declare const cascaderProps: {
|
|
|
594
620
|
sizeLarge: string;
|
|
595
621
|
labelPadding: string;
|
|
596
622
|
}, any>;
|
|
623
|
+
Empty: import("../../_mixins").Theme<"Empty", {
|
|
624
|
+
fontSizeSmall: string;
|
|
625
|
+
fontSizeMedium: string;
|
|
626
|
+
fontSizeLarge: string;
|
|
627
|
+
fontSizeHuge: string;
|
|
628
|
+
textColor: string;
|
|
629
|
+
iconColor: string;
|
|
630
|
+
extraTextColor: string;
|
|
631
|
+
iconSizeSmall: string;
|
|
632
|
+
iconSizeMedium: string;
|
|
633
|
+
iconSizeLarge: string;
|
|
634
|
+
iconSizeHuge: string;
|
|
635
|
+
}, any>;
|
|
597
636
|
}>>>;
|
|
598
637
|
};
|
|
599
638
|
export declare type CascaderProps = ExtractPublicPropTypes<typeof cascaderProps>;
|
|
@@ -847,6 +886,19 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
847
886
|
sizeLarge: string;
|
|
848
887
|
labelPadding: string;
|
|
849
888
|
}, any>;
|
|
889
|
+
Empty: import("../../_mixins").Theme<"Empty", {
|
|
890
|
+
fontSizeSmall: string;
|
|
891
|
+
fontSizeMedium: string;
|
|
892
|
+
fontSizeLarge: string;
|
|
893
|
+
fontSizeHuge: string;
|
|
894
|
+
textColor: string;
|
|
895
|
+
iconColor: string;
|
|
896
|
+
extraTextColor: string;
|
|
897
|
+
iconSizeSmall: string;
|
|
898
|
+
iconSizeMedium: string;
|
|
899
|
+
iconSizeLarge: string;
|
|
900
|
+
iconSizeHuge: string;
|
|
901
|
+
}, any>;
|
|
850
902
|
}>>;
|
|
851
903
|
readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Cascader", {
|
|
852
904
|
menuBorderRadius: string;
|
|
@@ -1017,6 +1069,19 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1017
1069
|
sizeLarge: string;
|
|
1018
1070
|
labelPadding: string;
|
|
1019
1071
|
}, any>;
|
|
1072
|
+
Empty: import("../../_mixins").Theme<"Empty", {
|
|
1073
|
+
fontSizeSmall: string;
|
|
1074
|
+
fontSizeMedium: string;
|
|
1075
|
+
fontSizeLarge: string;
|
|
1076
|
+
fontSizeHuge: string;
|
|
1077
|
+
textColor: string;
|
|
1078
|
+
iconColor: string;
|
|
1079
|
+
extraTextColor: string;
|
|
1080
|
+
iconSizeSmall: string;
|
|
1081
|
+
iconSizeMedium: string;
|
|
1082
|
+
iconSizeLarge: string;
|
|
1083
|
+
iconSizeHuge: string;
|
|
1084
|
+
}, any>;
|
|
1020
1085
|
}>>>;
|
|
1021
1086
|
readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Cascader", {
|
|
1022
1087
|
menuBorderRadius: string;
|
|
@@ -1187,6 +1252,19 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1187
1252
|
sizeLarge: string;
|
|
1188
1253
|
labelPadding: string;
|
|
1189
1254
|
}, any>;
|
|
1255
|
+
Empty: import("../../_mixins").Theme<"Empty", {
|
|
1256
|
+
fontSizeSmall: string;
|
|
1257
|
+
fontSizeMedium: string;
|
|
1258
|
+
fontSizeLarge: string;
|
|
1259
|
+
fontSizeHuge: string;
|
|
1260
|
+
textColor: string;
|
|
1261
|
+
iconColor: string;
|
|
1262
|
+
extraTextColor: string;
|
|
1263
|
+
iconSizeSmall: string;
|
|
1264
|
+
iconSizeMedium: string;
|
|
1265
|
+
iconSizeLarge: string;
|
|
1266
|
+
iconSizeHuge: string;
|
|
1267
|
+
}, any>;
|
|
1190
1268
|
}>>>;
|
|
1191
1269
|
}, {
|
|
1192
1270
|
selectMenuFollowerRef: import("vue").Ref<{
|
|
@@ -1520,6 +1598,19 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1520
1598
|
sizeLarge: string;
|
|
1521
1599
|
labelPadding: string;
|
|
1522
1600
|
}, any>;
|
|
1601
|
+
Empty: import("../../_mixins").Theme<"Empty", {
|
|
1602
|
+
fontSizeSmall: string;
|
|
1603
|
+
fontSizeMedium: string;
|
|
1604
|
+
fontSizeLarge: string;
|
|
1605
|
+
fontSizeHuge: string;
|
|
1606
|
+
textColor: string;
|
|
1607
|
+
iconColor: string;
|
|
1608
|
+
extraTextColor: string;
|
|
1609
|
+
iconSizeSmall: string;
|
|
1610
|
+
iconSizeMedium: string;
|
|
1611
|
+
iconSizeLarge: string;
|
|
1612
|
+
iconSizeHuge: string;
|
|
1613
|
+
}, any>;
|
|
1523
1614
|
};
|
|
1524
1615
|
peerOverrides: {
|
|
1525
1616
|
InternalSelectMenu?: {
|
|
@@ -1571,6 +1662,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1571
1662
|
[x: string]: any;
|
|
1572
1663
|
} | undefined;
|
|
1573
1664
|
} | undefined;
|
|
1665
|
+
Empty?: {
|
|
1666
|
+
peers?: {
|
|
1667
|
+
[x: string]: any;
|
|
1668
|
+
} | undefined;
|
|
1669
|
+
} | undefined;
|
|
1574
1670
|
};
|
|
1575
1671
|
}>;
|
|
1576
1672
|
cssVars: import("vue").ComputedRef<{
|
|
@@ -1827,6 +1923,19 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1827
1923
|
sizeLarge: string;
|
|
1828
1924
|
labelPadding: string;
|
|
1829
1925
|
}, any>;
|
|
1926
|
+
Empty: import("../../_mixins").Theme<"Empty", {
|
|
1927
|
+
fontSizeSmall: string;
|
|
1928
|
+
fontSizeMedium: string;
|
|
1929
|
+
fontSizeLarge: string;
|
|
1930
|
+
fontSizeHuge: string;
|
|
1931
|
+
textColor: string;
|
|
1932
|
+
iconColor: string;
|
|
1933
|
+
extraTextColor: string;
|
|
1934
|
+
iconSizeSmall: string;
|
|
1935
|
+
iconSizeMedium: string;
|
|
1936
|
+
iconSizeLarge: string;
|
|
1937
|
+
iconSizeHuge: string;
|
|
1938
|
+
}, any>;
|
|
1830
1939
|
}> | undefined;
|
|
1831
1940
|
themeOverrides?: import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Cascader", {
|
|
1832
1941
|
menuBorderRadius: string;
|
|
@@ -1997,6 +2106,19 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1997
2106
|
sizeLarge: string;
|
|
1998
2107
|
labelPadding: string;
|
|
1999
2108
|
}, any>;
|
|
2109
|
+
Empty: import("../../_mixins").Theme<"Empty", {
|
|
2110
|
+
fontSizeSmall: string;
|
|
2111
|
+
fontSizeMedium: string;
|
|
2112
|
+
fontSizeLarge: string;
|
|
2113
|
+
fontSizeHuge: string;
|
|
2114
|
+
textColor: string;
|
|
2115
|
+
iconColor: string;
|
|
2116
|
+
extraTextColor: string;
|
|
2117
|
+
iconSizeSmall: string;
|
|
2118
|
+
iconSizeMedium: string;
|
|
2119
|
+
iconSizeLarge: string;
|
|
2120
|
+
iconSizeHuge: string;
|
|
2121
|
+
}, any>;
|
|
2000
2122
|
}>> | undefined;
|
|
2001
2123
|
builtinThemeOverrides?: import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Cascader", {
|
|
2002
2124
|
menuBorderRadius: string;
|
|
@@ -2167,6 +2289,19 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2167
2289
|
sizeLarge: string;
|
|
2168
2290
|
labelPadding: string;
|
|
2169
2291
|
}, any>;
|
|
2292
|
+
Empty: import("../../_mixins").Theme<"Empty", {
|
|
2293
|
+
fontSizeSmall: string;
|
|
2294
|
+
fontSizeMedium: string;
|
|
2295
|
+
fontSizeLarge: string;
|
|
2296
|
+
fontSizeHuge: string;
|
|
2297
|
+
textColor: string;
|
|
2298
|
+
iconColor: string;
|
|
2299
|
+
extraTextColor: string;
|
|
2300
|
+
iconSizeSmall: string;
|
|
2301
|
+
iconSizeMedium: string;
|
|
2302
|
+
iconSizeLarge: string;
|
|
2303
|
+
iconSizeHuge: string;
|
|
2304
|
+
}, any>;
|
|
2170
2305
|
}>> | undefined;
|
|
2171
2306
|
bordered?: boolean | undefined;
|
|
2172
2307
|
maxTagCount?: number | "responsive" | undefined;
|