naive-ui 2.20.0 → 2.21.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/select-menu/src/SelectMenu.d.ts +4 -1
- package/es/_internal/selection/src/Selection.d.ts +4 -1
- package/es/_internal/suffix/src/Suffix.d.ts +5 -2
- package/es/_internal/suffix/src/Suffix.js +4 -1
- package/es/_styles/common/dark.js +1 -1
- package/es/_styles/common/light.d.ts +3 -0
- package/es/_styles/common/light.js +5 -2
- package/es/_styles/global/index.cssr.js +9 -4
- package/es/_styles/transitions/icon-switch.cssr.js +6 -2
- package/es/_utils/naive/extract-public-props.d.ts +1 -1
- package/es/alert/src/Alert.d.ts +3 -0
- package/es/alert/src/Alert.js +3 -3
- package/es/auto-complete/src/AutoComplete.d.ts +8 -1
- package/es/auto-complete/src/AutoComplete.js +2 -2
- package/es/avatar/src/Avatar.d.ts +8 -1
- package/es/avatar/src/Avatar.js +41 -9
- package/es/avatar/src/styles/index.cssr.js +2 -2
- package/es/button/src/Button.d.ts +149 -52
- package/es/button/src/Button.js +131 -58
- package/es/button/src/interface.d.ts +1 -1
- package/es/button/src/styles/button.cssr.js +1 -0
- package/es/button/styles/dark.js +3 -0
- package/es/button/styles/light.d.ts +14 -5
- package/es/button/styles/light.js +10 -3
- package/es/calendar/src/Calendar.d.ts +143 -50
- package/es/calendar/styles/light.d.ts +14 -5
- package/es/card/src/Card.d.ts +3 -0
- package/es/cascader/src/Cascader.d.ts +3 -0
- package/es/cascader/src/Cascader.js +2 -2
- package/es/cascader/src/CascaderOption.d.ts +3 -0
- package/es/cascader/src/CascaderSelectMenu.d.ts +3 -0
- package/es/cascader/src/CascaderSubmenu.d.ts +3 -0
- package/es/checkbox/src/Checkbox.d.ts +8 -5
- package/es/checkbox/src/Checkbox.js +8 -9
- package/es/collapse/src/Collapse.d.ts +3 -0
- package/es/color-picker/src/ColorInputUnit.d.ts +17 -5
- package/es/color-picker/src/ColorPicker.d.ts +126 -45
- package/es/color-picker/styles/light.d.ts +14 -5
- package/es/data-table/src/DataTable.d.ts +183 -51
- package/es/data-table/src/DataTable.js +11 -6
- package/es/data-table/src/HeaderButton/FilterButton.d.ts +20 -5
- package/es/data-table/src/HeaderButton/FilterMenu.d.ts +20 -5
- package/es/data-table/src/TableParts/Body.d.ts +25 -6
- package/es/data-table/src/TableParts/Body.js +60 -22
- package/es/data-table/src/TableParts/BodyCheckbox.js +1 -1
- package/es/data-table/src/TableParts/Cell.d.ts +40 -10
- package/es/data-table/src/TableParts/Header.d.ts +20 -5
- 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 +8 -9
- package/es/data-table/styles/light.d.ts +20 -5
- package/es/data-table/styles/light.js +3 -3
- package/es/date-picker/src/DatePicker.d.ts +328 -127
- package/es/date-picker/src/DatePicker.js +7 -17
- package/es/date-picker/src/config.d.ts +9 -0
- package/es/date-picker/src/config.js +8 -0
- package/es/date-picker/src/panel/date.d.ts +51 -19
- package/es/date-picker/src/panel/daterange.d.ts +49 -17
- package/es/date-picker/src/panel/datetime.d.ts +51 -19
- package/es/date-picker/src/panel/datetimerange.d.ts +49 -17
- package/es/date-picker/src/panel/month.d.ts +86 -60
- package/es/date-picker/src/panel/month.js +9 -6
- package/es/date-picker/src/panel/use-calendar.d.ts +59 -27
- package/es/date-picker/src/panel/use-calendar.js +7 -2
- package/es/date-picker/src/panel/use-dual-calendar.d.ts +47 -15
- package/es/date-picker/src/panel/use-panel-common.d.ts +47 -15
- 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 +32 -10
- package/es/dialog/src/Dialog.d.ts +104 -38
- package/es/dialog/src/DialogEnvironment.d.ts +2 -2
- package/es/dialog/src/DialogProvider.d.ts +2 -2
- package/es/dialog/styles/light.d.ts +14 -5
- package/es/drawer/src/Drawer.d.ts +3 -0
- package/es/drawer/src/DrawerBodyWrapper.d.ts +3 -0
- package/es/drawer/src/DrawerContent.d.ts +3 -0
- package/es/dropdown/index.d.ts +1 -1
- package/es/dropdown/src/Dropdown.d.ts +5 -2
- package/es/dropdown/src/DropdownGroup.d.ts +2 -3
- package/es/dropdown/src/DropdownMenu.d.ts +3 -4
- package/es/dropdown/src/DropdownMenu.js +5 -4
- package/es/dropdown/src/DropdownOption.d.ts +3 -4
- package/es/dropdown/src/DropdownOption.js +2 -2
- package/es/dropdown/src/DropdownRenderOption.d.ts +2 -3
- package/es/dropdown/src/interface.d.ts +9 -30
- package/es/dropdown/src/utils.d.ts +1 -0
- package/es/dropdown/src/utils.js +10 -0
- package/es/dynamic-input/src/DynamicInput.d.ts +143 -50
- package/es/dynamic-input/src/InputPreset.d.ts +17 -5
- package/es/dynamic-input/src/PairPreset.d.ts +17 -5
- package/es/dynamic-input/styles/light.d.ts +14 -5
- package/es/dynamic-tags/src/DynamicTags.d.ts +144 -50
- package/es/dynamic-tags/styles/light.d.ts +14 -5
- package/es/ellipsis/src/Ellipsis.d.ts +3 -0
- package/es/form/src/FormItemGridItem.d.ts +2 -2
- package/es/global-style/src/GlobalStyle.js +2 -0
- package/es/grid/src/Grid.js +1 -0
- package/es/grid/src/GridItem.d.ts +2 -2
- package/es/image/src/ImagePreview.js +3 -2
- package/es/image/src/icons.d.ts +1 -0
- package/es/image/src/icons.js +2 -0
- package/es/input/src/Input.d.ts +4 -0
- package/es/input/src/Input.js +9 -3
- package/es/input/src/interface.d.ts +1 -0
- package/es/input-number/src/InputNumber.d.ts +144 -50
- package/es/input-number/styles/light.d.ts +14 -5
- package/es/layout/src/Layout.d.ts +6 -0
- package/es/layout/src/LayoutContent.d.ts +3 -0
- package/es/layout/src/LayoutSider.d.ts +3 -0
- package/es/locales/common/deDE.d.ts +3 -0
- package/es/locales/common/deDE.js +93 -0
- package/es/locales/common/nbNO.d.ts +3 -0
- package/es/locales/common/nbNO.js +93 -0
- package/es/locales/date/deDE.d.ts +3 -0
- package/es/locales/date/deDE.js +6 -0
- package/es/locales/date/nbNO.d.ts +3 -0
- package/es/locales/date/nbNO.js +6 -0
- package/es/locales/index.d.ts +6 -0
- package/es/locales/index.js +5 -0
- package/es/locales/utils/index.d.ts +8 -0
- package/es/locales/utils/index.js +4 -0
- package/es/log/src/Log.d.ts +3 -0
- package/es/mention/src/Mention.d.ts +4 -0
- package/es/menu/index.d.ts +1 -1
- package/es/menu/src/Menu.d.ts +32 -8
- package/es/menu/src/Menu.js +32 -10
- package/es/menu/src/MenuDivider.d.ts +2 -0
- package/es/menu/src/MenuDivider.js +11 -0
- package/es/menu/src/MenuOption.d.ts +11 -2
- package/es/menu/src/MenuOptionContent.d.ts +7 -2
- package/es/menu/src/Submenu.d.ts +21 -17
- package/es/menu/src/interface.d.ts +23 -4
- package/es/menu/src/styles/index.cssr.js +6 -1
- package/es/menu/src/utils.d.ts +4 -2
- package/es/menu/src/utils.js +16 -2
- package/es/menu/styles/light.d.ts +2 -0
- package/es/menu/styles/light.js +3 -2
- package/es/modal/src/BodyWrapper.d.ts +33 -12
- package/es/modal/src/BodyWrapper.js +6 -0
- package/es/modal/src/Modal.d.ts +185 -65
- package/es/modal/src/Modal.js +5 -1
- package/es/modal/src/interface.d.ts +1 -0
- package/es/modal/src/presetProps.d.ts +1 -1
- package/es/modal/styles/light.d.ts +14 -5
- package/es/notification/src/NotificationContainer.d.ts +3 -0
- package/es/pagination/index.d.ts +1 -1
- package/es/pagination/src/Pagination.d.ts +20 -12
- package/es/pagination/src/Pagination.js +16 -6
- package/es/pagination/src/interface.d.ts +2 -0
- package/es/popconfirm/src/Popconfirm.d.ts +145 -52
- package/es/popconfirm/src/PopconfirmPanel.d.ts +2 -2
- package/es/popconfirm/styles/light.d.ts +14 -5
- package/es/popselect/src/Popselect.d.ts +3 -0
- package/es/popselect/src/PopselectPanel.d.ts +3 -0
- package/es/radio/src/Radio.d.ts +3 -0
- package/es/radio/src/RadioButton.d.ts +3 -0
- package/es/radio/src/use-radio.d.ts +2 -0
- package/es/radio/src/use-radio.js +6 -3
- package/es/select/src/Select.d.ts +9 -2
- package/es/select/src/Select.js +20 -14
- package/es/slider/src/Slider.d.ts +70 -91
- package/es/slider/src/Slider.js +326 -583
- package/es/slider/src/interface.d.ts +1 -1
- package/es/slider/src/styles/index.cssr.js +86 -16
- package/es/slider/src/utils.d.ts +10 -1
- package/es/slider/src/utils.js +9 -0
- package/es/slider/styles/_common.d.ts +1 -0
- package/es/slider/styles/_common.js +1 -0
- package/es/slider/styles/light.d.ts +1 -0
- package/es/space/src/Space.js +2 -0
- package/es/steps/src/Step.js +1 -1
- package/es/table/src/Table.d.ts +35 -0
- package/es/table/src/Table.js +8 -4
- package/es/table/src/styles/index.cssr.js +1 -1
- package/es/table/styles/light.d.ts +3 -0
- package/es/table/styles/light.js +2 -2
- package/es/tabs/index.d.ts +2 -0
- package/es/tabs/index.js +1 -0
- package/es/tabs/src/Tab.d.ts +35 -18
- package/es/tabs/src/Tab.js +14 -17
- package/es/tabs/src/TabPane.d.ts +1 -0
- package/es/tabs/src/TabPane.js +2 -1
- package/es/tabs/src/Tabs.d.ts +4 -0
- package/es/tabs/src/Tabs.js +65 -21
- package/es/tabs/src/interface.d.ts +3 -2
- package/es/tag/src/Tag.d.ts +8 -3
- package/es/tag/src/Tag.js +10 -2
- package/es/tag/src/styles/index.cssr.js +10 -5
- package/es/tag/src/styles/rtl.cssr.js +7 -1
- package/es/theme-editor/src/ThemeEditor.d.ts +3 -0
- package/es/time-picker/src/Panel.d.ts +17 -5
- package/es/time-picker/src/TimePicker.d.ts +144 -50
- package/es/time-picker/src/TimePicker.js +3 -0
- package/es/time-picker/styles/light.d.ts +14 -5
- package/es/tooltip/src/Tooltip.d.ts +3 -0
- package/es/transfer/src/Transfer.d.ts +145 -52
- package/es/transfer/src/TransferFilter.d.ts +17 -5
- package/es/transfer/src/TransferList.d.ts +17 -5
- package/es/transfer/src/TransferListItem.d.ts +17 -5
- package/es/transfer/styles/light.d.ts +14 -5
- package/es/tree/src/Tree.d.ts +13 -9
- package/es/tree/src/Tree.js +59 -23
- package/es/tree/src/TreeNode.js +4 -4
- package/es/tree/src/TreeNodeCheckbox.d.ts +3 -0
- package/es/tree/src/TreeNodeSwitcher.d.ts +1 -1
- package/es/tree/src/interface.d.ts +1 -1
- package/es/tree/src/utils.d.ts +1 -1
- package/es/tree/src/utils.js +4 -4
- package/es/tree-select/src/TreeSelect.d.ts +5 -2
- package/es/upload/src/Upload.d.ts +146 -52
- package/es/upload/src/Upload.js +6 -10
- package/es/upload/src/UploadFile.d.ts +18 -6
- package/es/upload/src/UploadFile.js +1 -1
- package/es/upload/src/UploadProgress.d.ts +17 -5
- package/es/upload/src/UploadTrigger.js +2 -2
- package/es/upload/src/interface.d.ts +2 -1
- package/es/upload/styles/light.d.ts +14 -5
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/lib/_internal/select-menu/src/SelectMenu.d.ts +4 -1
- package/lib/_internal/selection/src/Selection.d.ts +4 -1
- package/lib/_internal/suffix/src/Suffix.d.ts +5 -2
- package/lib/_internal/suffix/src/Suffix.js +4 -1
- package/lib/_styles/common/dark.js +1 -1
- package/lib/_styles/common/light.d.ts +3 -0
- package/lib/_styles/common/light.js +5 -2
- package/lib/_styles/global/index.cssr.js +10 -5
- package/lib/_styles/transitions/icon-switch.cssr.js +7 -2
- package/lib/_utils/naive/extract-public-props.d.ts +1 -1
- package/lib/alert/src/Alert.d.ts +3 -0
- package/lib/alert/src/Alert.js +3 -3
- package/lib/auto-complete/src/AutoComplete.d.ts +8 -1
- package/lib/auto-complete/src/AutoComplete.js +2 -2
- package/lib/avatar/src/Avatar.d.ts +8 -1
- package/lib/avatar/src/Avatar.js +40 -8
- package/lib/avatar/src/styles/index.cssr.js +2 -2
- package/lib/button/src/Button.d.ts +149 -52
- package/lib/button/src/Button.js +129 -56
- package/lib/button/src/interface.d.ts +1 -1
- package/lib/button/src/styles/button.cssr.js +1 -0
- package/lib/button/styles/dark.js +3 -0
- package/lib/button/styles/light.d.ts +14 -5
- package/lib/button/styles/light.js +10 -3
- package/lib/calendar/src/Calendar.d.ts +143 -50
- package/lib/calendar/styles/light.d.ts +14 -5
- package/lib/card/src/Card.d.ts +3 -0
- package/lib/cascader/src/Cascader.d.ts +3 -0
- package/lib/cascader/src/Cascader.js +2 -2
- package/lib/cascader/src/CascaderOption.d.ts +3 -0
- package/lib/cascader/src/CascaderSelectMenu.d.ts +3 -0
- package/lib/cascader/src/CascaderSubmenu.d.ts +3 -0
- package/lib/checkbox/src/Checkbox.d.ts +8 -5
- package/lib/checkbox/src/Checkbox.js +8 -9
- package/lib/collapse/src/Collapse.d.ts +3 -0
- package/lib/color-picker/src/ColorInputUnit.d.ts +17 -5
- package/lib/color-picker/src/ColorPicker.d.ts +126 -45
- package/lib/color-picker/styles/light.d.ts +14 -5
- package/lib/data-table/src/DataTable.d.ts +183 -51
- package/lib/data-table/src/DataTable.js +11 -6
- package/lib/data-table/src/HeaderButton/FilterButton.d.ts +20 -5
- package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +20 -5
- package/lib/data-table/src/TableParts/Body.d.ts +25 -6
- package/lib/data-table/src/TableParts/Body.js +60 -22
- package/lib/data-table/src/TableParts/BodyCheckbox.js +1 -1
- package/lib/data-table/src/TableParts/Cell.d.ts +40 -10
- package/lib/data-table/src/TableParts/Header.d.ts +20 -5
- 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 +8 -9
- package/lib/data-table/styles/light.d.ts +20 -5
- package/lib/data-table/styles/light.js +3 -3
- package/lib/date-picker/src/DatePicker.d.ts +328 -127
- package/lib/date-picker/src/DatePicker.js +7 -17
- package/lib/date-picker/src/config.d.ts +9 -0
- package/lib/date-picker/src/config.js +9 -1
- package/lib/date-picker/src/panel/date.d.ts +51 -19
- package/lib/date-picker/src/panel/daterange.d.ts +49 -17
- package/lib/date-picker/src/panel/datetime.d.ts +51 -19
- package/lib/date-picker/src/panel/datetimerange.d.ts +49 -17
- package/lib/date-picker/src/panel/month.d.ts +86 -60
- package/lib/date-picker/src/panel/month.js +9 -6
- package/lib/date-picker/src/panel/use-calendar.d.ts +59 -27
- package/lib/date-picker/src/panel/use-calendar.js +6 -1
- package/lib/date-picker/src/panel/use-dual-calendar.d.ts +47 -15
- package/lib/date-picker/src/panel/use-panel-common.d.ts +47 -15
- 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 +32 -10
- package/lib/dialog/src/Dialog.d.ts +104 -38
- package/lib/dialog/src/DialogEnvironment.d.ts +2 -2
- package/lib/dialog/src/DialogProvider.d.ts +2 -2
- package/lib/dialog/styles/light.d.ts +14 -5
- package/lib/drawer/src/Drawer.d.ts +3 -0
- package/lib/drawer/src/DrawerBodyWrapper.d.ts +3 -0
- package/lib/drawer/src/DrawerContent.d.ts +3 -0
- package/lib/dropdown/index.d.ts +1 -1
- package/lib/dropdown/src/Dropdown.d.ts +5 -2
- package/lib/dropdown/src/DropdownGroup.d.ts +2 -3
- package/lib/dropdown/src/DropdownMenu.d.ts +3 -4
- package/lib/dropdown/src/DropdownMenu.js +5 -4
- package/lib/dropdown/src/DropdownOption.d.ts +3 -4
- package/lib/dropdown/src/DropdownOption.js +1 -1
- package/lib/dropdown/src/DropdownRenderOption.d.ts +2 -3
- package/lib/dropdown/src/interface.d.ts +9 -30
- package/lib/dropdown/src/utils.d.ts +1 -0
- package/lib/dropdown/src/utils.js +12 -1
- package/lib/dynamic-input/src/DynamicInput.d.ts +143 -50
- package/lib/dynamic-input/src/InputPreset.d.ts +17 -5
- package/lib/dynamic-input/src/PairPreset.d.ts +17 -5
- package/lib/dynamic-input/styles/light.d.ts +14 -5
- package/lib/dynamic-tags/src/DynamicTags.d.ts +144 -50
- package/lib/dynamic-tags/styles/light.d.ts +14 -5
- package/lib/ellipsis/src/Ellipsis.d.ts +3 -0
- package/lib/form/src/FormItemGridItem.d.ts +2 -2
- package/lib/global-style/src/GlobalStyle.js +2 -0
- package/lib/grid/src/Grid.js +1 -0
- package/lib/grid/src/GridItem.d.ts +2 -2
- package/lib/image/src/ImagePreview.js +2 -1
- package/lib/image/src/icons.d.ts +1 -0
- package/lib/image/src/icons.js +3 -1
- package/lib/input/src/Input.d.ts +4 -0
- package/lib/input/src/Input.js +9 -3
- package/lib/input/src/interface.d.ts +1 -0
- package/lib/input-number/src/InputNumber.d.ts +144 -50
- package/lib/input-number/styles/light.d.ts +14 -5
- package/lib/layout/src/Layout.d.ts +6 -0
- package/lib/layout/src/LayoutContent.d.ts +3 -0
- package/lib/layout/src/LayoutSider.d.ts +3 -0
- package/lib/locales/common/deDE.d.ts +3 -0
- package/lib/locales/common/deDE.js +95 -0
- package/lib/locales/common/nbNO.d.ts +3 -0
- package/lib/locales/common/nbNO.js +95 -0
- package/lib/locales/date/deDE.d.ts +3 -0
- package/lib/locales/date/deDE.js +11 -0
- package/lib/locales/date/nbNO.d.ts +3 -0
- package/lib/locales/date/nbNO.js +11 -0
- package/lib/locales/index.d.ts +6 -0
- package/lib/locales/index.js +11 -1
- package/lib/locales/utils/index.d.ts +8 -0
- package/lib/locales/utils/index.js +8 -0
- package/lib/log/src/Log.d.ts +3 -0
- package/lib/mention/src/Mention.d.ts +4 -0
- package/lib/menu/index.d.ts +1 -1
- package/lib/menu/src/Menu.d.ts +32 -8
- package/lib/menu/src/Menu.js +31 -9
- package/lib/menu/src/MenuDivider.d.ts +2 -0
- package/lib/menu/src/MenuDivider.js +13 -0
- package/lib/menu/src/MenuOption.d.ts +11 -2
- package/lib/menu/src/MenuOptionContent.d.ts +7 -2
- package/lib/menu/src/Submenu.d.ts +21 -17
- package/lib/menu/src/interface.d.ts +23 -4
- package/lib/menu/src/styles/index.cssr.js +6 -1
- package/lib/menu/src/utils.d.ts +4 -2
- package/lib/menu/src/utils.js +22 -3
- package/lib/menu/styles/light.d.ts +2 -0
- package/lib/menu/styles/light.js +3 -2
- package/lib/modal/src/BodyWrapper.d.ts +33 -12
- package/lib/modal/src/BodyWrapper.js +6 -0
- package/lib/modal/src/Modal.d.ts +185 -65
- package/lib/modal/src/Modal.js +5 -1
- package/lib/modal/src/interface.d.ts +1 -0
- package/lib/modal/src/presetProps.d.ts +1 -1
- package/lib/modal/styles/light.d.ts +14 -5
- package/lib/notification/src/NotificationContainer.d.ts +3 -0
- package/lib/pagination/index.d.ts +1 -1
- package/lib/pagination/src/Pagination.d.ts +20 -12
- package/lib/pagination/src/Pagination.js +16 -6
- package/lib/pagination/src/interface.d.ts +2 -0
- package/lib/popconfirm/src/Popconfirm.d.ts +145 -52
- package/lib/popconfirm/src/PopconfirmPanel.d.ts +2 -2
- package/lib/popconfirm/styles/light.d.ts +14 -5
- package/lib/popselect/src/Popselect.d.ts +3 -0
- package/lib/popselect/src/PopselectPanel.d.ts +3 -0
- package/lib/radio/src/Radio.d.ts +3 -0
- package/lib/radio/src/RadioButton.d.ts +3 -0
- package/lib/radio/src/use-radio.d.ts +2 -0
- package/lib/radio/src/use-radio.js +6 -3
- package/lib/select/src/Select.d.ts +9 -2
- package/lib/select/src/Select.js +20 -14
- package/lib/slider/src/Slider.d.ts +70 -91
- package/lib/slider/src/Slider.js +324 -581
- package/lib/slider/src/interface.d.ts +1 -1
- package/lib/slider/src/styles/index.cssr.js +86 -16
- package/lib/slider/src/utils.d.ts +10 -1
- package/lib/slider/src/utils.js +11 -1
- package/lib/slider/styles/_common.d.ts +1 -0
- package/lib/slider/styles/_common.js +1 -0
- package/lib/slider/styles/light.d.ts +1 -0
- package/lib/space/src/Space.js +2 -0
- package/lib/steps/src/Step.js +1 -1
- package/lib/table/src/Table.d.ts +35 -0
- package/lib/table/src/Table.js +8 -4
- package/lib/table/src/styles/index.cssr.js +1 -1
- package/lib/table/styles/light.d.ts +3 -0
- package/lib/table/styles/light.js +2 -2
- package/lib/tabs/index.d.ts +2 -0
- package/lib/tabs/index.js +3 -1
- package/lib/tabs/src/Tab.d.ts +35 -18
- package/lib/tabs/src/Tab.js +13 -16
- package/lib/tabs/src/TabPane.d.ts +1 -0
- package/lib/tabs/src/TabPane.js +2 -1
- package/lib/tabs/src/Tabs.d.ts +4 -0
- package/lib/tabs/src/Tabs.js +64 -20
- package/lib/tabs/src/interface.d.ts +3 -2
- package/lib/tag/src/Tag.d.ts +8 -3
- package/lib/tag/src/Tag.js +10 -1
- package/lib/tag/src/styles/index.cssr.js +10 -5
- package/lib/tag/src/styles/rtl.cssr.js +7 -1
- package/lib/theme-editor/src/ThemeEditor.d.ts +3 -0
- package/lib/time-picker/src/Panel.d.ts +17 -5
- package/lib/time-picker/src/TimePicker.d.ts +144 -50
- package/lib/time-picker/src/TimePicker.js +3 -0
- package/lib/time-picker/styles/light.d.ts +14 -5
- package/lib/tooltip/src/Tooltip.d.ts +3 -0
- package/lib/transfer/src/Transfer.d.ts +145 -52
- package/lib/transfer/src/TransferFilter.d.ts +17 -5
- package/lib/transfer/src/TransferList.d.ts +17 -5
- package/lib/transfer/src/TransferListItem.d.ts +17 -5
- package/lib/transfer/styles/light.d.ts +14 -5
- package/lib/tree/src/Tree.d.ts +13 -9
- package/lib/tree/src/Tree.js +58 -22
- package/lib/tree/src/TreeNode.js +4 -4
- package/lib/tree/src/TreeNodeCheckbox.d.ts +3 -0
- package/lib/tree/src/TreeNodeSwitcher.d.ts +1 -1
- package/lib/tree/src/interface.d.ts +1 -1
- package/lib/tree/src/utils.d.ts +1 -1
- package/lib/tree/src/utils.js +4 -4
- package/lib/tree-select/src/TreeSelect.d.ts +5 -2
- package/lib/upload/src/Upload.d.ts +146 -52
- package/lib/upload/src/Upload.js +6 -10
- package/lib/upload/src/UploadFile.d.ts +18 -6
- package/lib/upload/src/UploadFile.js +1 -1
- package/lib/upload/src/UploadProgress.d.ts +17 -5
- package/lib/upload/src/UploadTrigger.js +2 -2
- package/lib/upload/src/interface.d.ts +2 -1
- package/lib/upload/styles/light.d.ts +14 -5
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +5 -5
- package/web-types.json +182 -9
|
@@ -57,16 +57,17 @@ export default defineComponent({
|
|
|
57
57
|
const { parentKey, clsPrefix } = this;
|
|
58
58
|
return (h("div", { class: `${clsPrefix}-dropdown-menu` },
|
|
59
59
|
this.tmNodes.map((tmNode) => {
|
|
60
|
-
|
|
60
|
+
const { rawNode } = tmNode;
|
|
61
|
+
if (isRenderNode(rawNode)) {
|
|
61
62
|
return (h(NDropdownRenderOption, { tmNode: tmNode, key: tmNode.key }));
|
|
62
63
|
}
|
|
63
|
-
if (isDividerNode(
|
|
64
|
+
if (isDividerNode(rawNode)) {
|
|
64
65
|
return h(NDropdownDivider, { clsPrefix: clsPrefix, key: tmNode.key });
|
|
65
66
|
}
|
|
66
|
-
if (isGroupNode(
|
|
67
|
+
if (isGroupNode(rawNode)) {
|
|
67
68
|
return (h(NDropdownGroup, { clsPrefix: clsPrefix, tmNode: tmNode, parentKey: parentKey, key: tmNode.key }));
|
|
68
69
|
}
|
|
69
|
-
return (h(NDropdownOption, { clsPrefix: clsPrefix, tmNode: tmNode, parentKey: parentKey, key: tmNode.key, props:
|
|
70
|
+
return (h(NDropdownOption, { clsPrefix: clsPrefix, tmNode: tmNode, parentKey: parentKey, key: tmNode.key, props: rawNode.props }));
|
|
70
71
|
}),
|
|
71
72
|
this.showArrow
|
|
72
73
|
? renderArrow({
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { PropType, Ref, HTMLAttributes } from 'vue';
|
|
2
2
|
import { FollowerPlacement } from 'vueuc';
|
|
3
3
|
import { TreeNode } from 'treemate';
|
|
4
|
-
import { DropdownGroupOption, DropdownIgnoredOption, DropdownOption } from './interface';
|
|
5
4
|
declare const _default: import("vue").DefineComponent<{
|
|
6
5
|
clsPrefix: {
|
|
7
6
|
type: StringConstructor;
|
|
8
7
|
required: true;
|
|
9
8
|
};
|
|
10
9
|
tmNode: {
|
|
11
|
-
type: PropType<TreeNode<
|
|
10
|
+
type: PropType<TreeNode<import("../..").MenuOption, import("../..").MenuGroupOption, import("../../menu/src/interface").MenuIgnoredOption>>;
|
|
12
11
|
required: true;
|
|
13
12
|
};
|
|
14
13
|
parentKey: {
|
|
@@ -28,7 +27,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
28
27
|
siblingHasSubmenu: Ref<boolean>;
|
|
29
28
|
animated: Ref<boolean>;
|
|
30
29
|
mergedShowSubmenu: import("vue").ComputedRef<boolean>;
|
|
31
|
-
rawNode: import("vue").ComputedRef<
|
|
30
|
+
rawNode: import("vue").ComputedRef<import("../..").MenuOption | import("../..").MenuGroupOption | import("../../menu/src/interface").MenuIgnoredOption>;
|
|
32
31
|
hasSubmenu: import("vue").ComputedRef<boolean>;
|
|
33
32
|
pending: import("vue").ComputedRef<boolean>;
|
|
34
33
|
childActive: import("vue").ComputedRef<boolean>;
|
|
@@ -49,7 +48,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
49
48
|
} & {
|
|
50
49
|
clsPrefix: string;
|
|
51
50
|
placement: FollowerPlacement;
|
|
52
|
-
tmNode: TreeNode<
|
|
51
|
+
tmNode: TreeNode<import("../..").MenuOption, import("../..").MenuGroupOption, import("../../menu/src/interface").MenuIgnoredOption>;
|
|
53
52
|
parentKey: string | number | null;
|
|
54
53
|
} & {
|
|
55
54
|
props?: HTMLAttributes | undefined;
|
|
@@ -6,7 +6,7 @@ import { render, useDeferredTrue } from '../../_utils';
|
|
|
6
6
|
import { NIcon } from '../../icon';
|
|
7
7
|
import NDropdownMenu, { dropdownMenuInjectionKey } from './DropdownMenu';
|
|
8
8
|
import { dropdownInjectionKey } from './Dropdown';
|
|
9
|
-
import { isSubmenuNode } from './utils';
|
|
9
|
+
import { isDropdownOptionRelatedTarget, isSubmenuNode } from './utils';
|
|
10
10
|
const dropdownOptionInjectionKey = Symbol('dropdown-option');
|
|
11
11
|
export default defineComponent({
|
|
12
12
|
name: 'DropdownOption',
|
|
@@ -104,7 +104,7 @@ export default defineComponent({
|
|
|
104
104
|
return;
|
|
105
105
|
const { relatedTarget } = e;
|
|
106
106
|
if (relatedTarget &&
|
|
107
|
-
!relatedTarget
|
|
107
|
+
!isDropdownOptionRelatedTarget(relatedTarget)) {
|
|
108
108
|
hoverKeyRef.value = null;
|
|
109
109
|
}
|
|
110
110
|
}
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { TreeNode } from 'treemate';
|
|
3
|
-
import { DropdownRenderOption } from './interface';
|
|
4
3
|
declare const _default: import("vue").DefineComponent<{
|
|
5
4
|
tmNode: {
|
|
6
|
-
type: PropType<TreeNode<
|
|
5
|
+
type: PropType<TreeNode<import("../../menu/src/interface").MenuRenderOption, import("../../menu/src/interface").MenuRenderOption, import("../../menu/src/interface").MenuRenderOption>>;
|
|
7
6
|
required: true;
|
|
8
7
|
};
|
|
9
8
|
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
10
9
|
tmNode?: unknown;
|
|
11
10
|
} & {
|
|
12
|
-
tmNode: TreeNode<
|
|
11
|
+
tmNode: TreeNode<import("../../menu/src/interface").MenuRenderOption, import("../../menu/src/interface").MenuRenderOption, import("../../menu/src/interface").MenuRenderOption>;
|
|
13
12
|
} & {}>, {}>;
|
|
14
13
|
export default _default;
|
|
@@ -1,35 +1,14 @@
|
|
|
1
1
|
import { TreeNode } from 'treemate';
|
|
2
|
-
import { VNodeChild
|
|
3
|
-
import { MenuOption, MenuGroupOption } from '../../menu/src/interface';
|
|
2
|
+
import { VNodeChild } from 'vue';
|
|
3
|
+
import { MenuOption, MenuGroupOption, MenuDividerOption, MenuIgnoredOption, MenuRenderOption } from '../../menu/src/interface';
|
|
4
4
|
export declare type Key = string | number;
|
|
5
|
-
export declare type
|
|
6
|
-
export declare type
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
export declare type
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
export interface DropdownIgnoredOption {
|
|
13
|
-
key?: Key;
|
|
14
|
-
type: 'render' | 'divider';
|
|
15
|
-
props?: HTMLAttributes;
|
|
16
|
-
render?: () => VNodeChild;
|
|
17
|
-
[key: string]: unknown;
|
|
18
|
-
}
|
|
19
|
-
export declare type DropdownMixedOption = DropdownOption | DropdownGroupOption | DropdownIgnoredOption;
|
|
20
|
-
export declare type DropdownIntersectionOption = DropdownOption & DropdownGroupOption & DropdownIgnoredOption;
|
|
21
|
-
export interface DropdownRenderOption {
|
|
22
|
-
key?: Key;
|
|
23
|
-
type: 'render';
|
|
24
|
-
props?: HTMLAttributes;
|
|
25
|
-
render?: () => VNodeChild;
|
|
26
|
-
[key: string]: unknown;
|
|
27
|
-
}
|
|
28
|
-
export interface DropdownDividerOption {
|
|
29
|
-
key?: Key;
|
|
30
|
-
type: 'divider';
|
|
31
|
-
[key: string]: unknown;
|
|
32
|
-
}
|
|
5
|
+
export declare type DropdownOption = MenuOption;
|
|
6
|
+
export declare type DropdownGroupOption = MenuGroupOption;
|
|
7
|
+
export declare type DropdownDividerOption = MenuDividerOption;
|
|
8
|
+
export declare type DropdownRenderOption = MenuRenderOption;
|
|
9
|
+
export declare type DropdownMixedOption = DropdownOption | DropdownGroupOption | DropdownDividerOption | DropdownRenderOption;
|
|
10
|
+
export declare type DropdownIgnoredOption = MenuIgnoredOption;
|
|
11
|
+
export declare type DropdownIntersectionOption = DropdownOption & DropdownGroupOption;
|
|
33
12
|
export declare type TmNode = TreeNode<DropdownOption, DropdownGroupOption, DropdownIgnoredOption>;
|
|
34
13
|
export declare type OnUpdateValue = <T extends string & number & (string | number)>(value: T, option: DropdownOption) => void;
|
|
35
14
|
export declare type OnUpdateKeys = <T extends string[] & number[] & Array<string | number>>(keys: T) => void;
|
|
@@ -3,3 +3,4 @@ export declare function isSubmenuNode(rawNode: DropdownMixedOption, childrenFiel
|
|
|
3
3
|
export declare function isGroupNode(rawNode: DropdownMixedOption): boolean;
|
|
4
4
|
export declare function isDividerNode(rawNode: DropdownMixedOption): boolean;
|
|
5
5
|
export declare function isRenderNode(rawNode: DropdownMixedOption): rawNode is DropdownRenderOption;
|
|
6
|
+
export declare function isDropdownOptionRelatedTarget(element: HTMLElement): boolean;
|
package/es/dropdown/src/utils.js
CHANGED
|
@@ -11,3 +11,13 @@ export function isDividerNode(rawNode) {
|
|
|
11
11
|
export function isRenderNode(rawNode) {
|
|
12
12
|
return rawNode.type === 'render';
|
|
13
13
|
}
|
|
14
|
+
export function isDropdownOptionRelatedTarget(element) {
|
|
15
|
+
let currentElement = element;
|
|
16
|
+
while (currentElement !== null) {
|
|
17
|
+
if (currentElement.hasAttribute('__dropdown-option')) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
currentElement = currentElement.parentElement;
|
|
21
|
+
}
|
|
22
|
+
return false;
|
|
23
|
+
}
|
|
@@ -121,20 +121,30 @@ declare const dynamicInputProps: {
|
|
|
121
121
|
fontSizeMedium: string;
|
|
122
122
|
fontSizeLarge: string;
|
|
123
123
|
opacityDisabled: string;
|
|
124
|
+
colorOpacitySecondary: number;
|
|
125
|
+
colorOpacitySecondaryHover: number;
|
|
126
|
+
colorOpacitySecondaryPressed: number;
|
|
127
|
+
colorSecondary: string;
|
|
128
|
+
colorSecondaryHover: string;
|
|
129
|
+
colorSecondaryPressed: string;
|
|
130
|
+
colorTertiary: string;
|
|
131
|
+
colorTertiaryHover: string;
|
|
132
|
+
colorTertiaryPressed: string;
|
|
133
|
+
colorQuaternary: string;
|
|
134
|
+
colorQuaternaryHover: string;
|
|
135
|
+
colorQuaternaryPressed: string;
|
|
124
136
|
color: string;
|
|
125
137
|
colorHover: string;
|
|
126
138
|
colorPressed: string;
|
|
127
139
|
colorFocus: string;
|
|
128
140
|
colorDisabled: string;
|
|
129
141
|
textColor: string;
|
|
142
|
+
textColorTertiary: string;
|
|
130
143
|
textColorHover: string;
|
|
131
144
|
textColorPressed: string;
|
|
132
145
|
textColorFocus: string;
|
|
133
146
|
textColorDisabled: string;
|
|
134
147
|
textColorText: string;
|
|
135
|
-
textColorTextDepth1: string;
|
|
136
|
-
textColorTextDepth2: string;
|
|
137
|
-
textColorTextDepth3: string;
|
|
138
148
|
textColorTextHover: string;
|
|
139
149
|
textColorTextPressed: string;
|
|
140
150
|
textColorTextFocus: string;
|
|
@@ -281,9 +291,8 @@ declare const dynamicInputProps: {
|
|
|
281
291
|
borderDisabledError: string;
|
|
282
292
|
rippleColorError: string;
|
|
283
293
|
waveOpacity: string;
|
|
284
|
-
fontWeightText: string;
|
|
285
294
|
fontWeight: string;
|
|
286
|
-
|
|
295
|
+
fontWeightStrong: string;
|
|
287
296
|
paddingTiny: string;
|
|
288
297
|
paddingSmall: string;
|
|
289
298
|
paddingMedium: string;
|
|
@@ -380,20 +389,30 @@ declare const dynamicInputProps: {
|
|
|
380
389
|
fontSizeMedium: string;
|
|
381
390
|
fontSizeLarge: string;
|
|
382
391
|
opacityDisabled: string;
|
|
392
|
+
colorOpacitySecondary: number;
|
|
393
|
+
colorOpacitySecondaryHover: number;
|
|
394
|
+
colorOpacitySecondaryPressed: number;
|
|
395
|
+
colorSecondary: string;
|
|
396
|
+
colorSecondaryHover: string;
|
|
397
|
+
colorSecondaryPressed: string;
|
|
398
|
+
colorTertiary: string;
|
|
399
|
+
colorTertiaryHover: string;
|
|
400
|
+
colorTertiaryPressed: string;
|
|
401
|
+
colorQuaternary: string;
|
|
402
|
+
colorQuaternaryHover: string;
|
|
403
|
+
colorQuaternaryPressed: string;
|
|
383
404
|
color: string;
|
|
384
405
|
colorHover: string;
|
|
385
406
|
colorPressed: string;
|
|
386
407
|
colorFocus: string;
|
|
387
408
|
colorDisabled: string;
|
|
388
409
|
textColor: string;
|
|
410
|
+
textColorTertiary: string;
|
|
389
411
|
textColorHover: string;
|
|
390
412
|
textColorPressed: string;
|
|
391
413
|
textColorFocus: string;
|
|
392
414
|
textColorDisabled: string;
|
|
393
415
|
textColorText: string;
|
|
394
|
-
textColorTextDepth1: string;
|
|
395
|
-
textColorTextDepth2: string;
|
|
396
|
-
textColorTextDepth3: string;
|
|
397
416
|
textColorTextHover: string;
|
|
398
417
|
textColorTextPressed: string;
|
|
399
418
|
textColorTextFocus: string;
|
|
@@ -540,9 +559,8 @@ declare const dynamicInputProps: {
|
|
|
540
559
|
borderDisabledError: string;
|
|
541
560
|
rippleColorError: string;
|
|
542
561
|
waveOpacity: string;
|
|
543
|
-
fontWeightText: string;
|
|
544
562
|
fontWeight: string;
|
|
545
|
-
|
|
563
|
+
fontWeightStrong: string;
|
|
546
564
|
paddingTiny: string;
|
|
547
565
|
paddingSmall: string;
|
|
548
566
|
paddingMedium: string;
|
|
@@ -639,20 +657,30 @@ declare const dynamicInputProps: {
|
|
|
639
657
|
fontSizeMedium: string;
|
|
640
658
|
fontSizeLarge: string;
|
|
641
659
|
opacityDisabled: string;
|
|
660
|
+
colorOpacitySecondary: number;
|
|
661
|
+
colorOpacitySecondaryHover: number;
|
|
662
|
+
colorOpacitySecondaryPressed: number;
|
|
663
|
+
colorSecondary: string;
|
|
664
|
+
colorSecondaryHover: string;
|
|
665
|
+
colorSecondaryPressed: string;
|
|
666
|
+
colorTertiary: string;
|
|
667
|
+
colorTertiaryHover: string;
|
|
668
|
+
colorTertiaryPressed: string;
|
|
669
|
+
colorQuaternary: string;
|
|
670
|
+
colorQuaternaryHover: string;
|
|
671
|
+
colorQuaternaryPressed: string;
|
|
642
672
|
color: string;
|
|
643
673
|
colorHover: string;
|
|
644
674
|
colorPressed: string;
|
|
645
675
|
colorFocus: string;
|
|
646
676
|
colorDisabled: string;
|
|
647
677
|
textColor: string;
|
|
678
|
+
textColorTertiary: string;
|
|
648
679
|
textColorHover: string;
|
|
649
680
|
textColorPressed: string;
|
|
650
681
|
textColorFocus: string;
|
|
651
682
|
textColorDisabled: string;
|
|
652
683
|
textColorText: string;
|
|
653
|
-
textColorTextDepth1: string;
|
|
654
|
-
textColorTextDepth2: string;
|
|
655
|
-
textColorTextDepth3: string;
|
|
656
684
|
textColorTextHover: string;
|
|
657
685
|
textColorTextPressed: string;
|
|
658
686
|
textColorTextFocus: string;
|
|
@@ -799,9 +827,8 @@ declare const dynamicInputProps: {
|
|
|
799
827
|
borderDisabledError: string;
|
|
800
828
|
rippleColorError: string;
|
|
801
829
|
waveOpacity: string;
|
|
802
|
-
fontWeightText: string;
|
|
803
830
|
fontWeight: string;
|
|
804
|
-
|
|
831
|
+
fontWeightStrong: string;
|
|
805
832
|
paddingTiny: string;
|
|
806
833
|
paddingSmall: string;
|
|
807
834
|
paddingMedium: string;
|
|
@@ -943,20 +970,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
943
970
|
fontSizeMedium: string;
|
|
944
971
|
fontSizeLarge: string;
|
|
945
972
|
opacityDisabled: string;
|
|
973
|
+
colorOpacitySecondary: number;
|
|
974
|
+
colorOpacitySecondaryHover: number;
|
|
975
|
+
colorOpacitySecondaryPressed: number;
|
|
976
|
+
colorSecondary: string;
|
|
977
|
+
colorSecondaryHover: string;
|
|
978
|
+
colorSecondaryPressed: string;
|
|
979
|
+
colorTertiary: string;
|
|
980
|
+
colorTertiaryHover: string;
|
|
981
|
+
colorTertiaryPressed: string;
|
|
982
|
+
colorQuaternary: string;
|
|
983
|
+
colorQuaternaryHover: string;
|
|
984
|
+
colorQuaternaryPressed: string;
|
|
946
985
|
color: string;
|
|
947
986
|
colorHover: string;
|
|
948
987
|
colorPressed: string;
|
|
949
988
|
colorFocus: string;
|
|
950
989
|
colorDisabled: string;
|
|
951
990
|
textColor: string;
|
|
991
|
+
textColorTertiary: string;
|
|
952
992
|
textColorHover: string;
|
|
953
993
|
textColorPressed: string;
|
|
954
994
|
textColorFocus: string;
|
|
955
995
|
textColorDisabled: string;
|
|
956
996
|
textColorText: string;
|
|
957
|
-
textColorTextDepth1: string;
|
|
958
|
-
textColorTextDepth2: string;
|
|
959
|
-
textColorTextDepth3: string;
|
|
960
997
|
textColorTextHover: string;
|
|
961
998
|
textColorTextPressed: string;
|
|
962
999
|
textColorTextFocus: string;
|
|
@@ -1103,9 +1140,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1103
1140
|
borderDisabledError: string;
|
|
1104
1141
|
rippleColorError: string;
|
|
1105
1142
|
waveOpacity: string;
|
|
1106
|
-
fontWeightText: string;
|
|
1107
1143
|
fontWeight: string;
|
|
1108
|
-
|
|
1144
|
+
fontWeightStrong: string;
|
|
1109
1145
|
paddingTiny: string;
|
|
1110
1146
|
paddingSmall: string;
|
|
1111
1147
|
paddingMedium: string;
|
|
@@ -1202,20 +1238,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1202
1238
|
fontSizeMedium: string;
|
|
1203
1239
|
fontSizeLarge: string;
|
|
1204
1240
|
opacityDisabled: string;
|
|
1241
|
+
colorOpacitySecondary: number;
|
|
1242
|
+
colorOpacitySecondaryHover: number;
|
|
1243
|
+
colorOpacitySecondaryPressed: number;
|
|
1244
|
+
colorSecondary: string;
|
|
1245
|
+
colorSecondaryHover: string;
|
|
1246
|
+
colorSecondaryPressed: string;
|
|
1247
|
+
colorTertiary: string;
|
|
1248
|
+
colorTertiaryHover: string;
|
|
1249
|
+
colorTertiaryPressed: string;
|
|
1250
|
+
colorQuaternary: string;
|
|
1251
|
+
colorQuaternaryHover: string;
|
|
1252
|
+
colorQuaternaryPressed: string;
|
|
1205
1253
|
color: string;
|
|
1206
1254
|
colorHover: string;
|
|
1207
1255
|
colorPressed: string;
|
|
1208
1256
|
colorFocus: string;
|
|
1209
1257
|
colorDisabled: string;
|
|
1210
1258
|
textColor: string;
|
|
1259
|
+
textColorTertiary: string;
|
|
1211
1260
|
textColorHover: string;
|
|
1212
1261
|
textColorPressed: string;
|
|
1213
1262
|
textColorFocus: string;
|
|
1214
1263
|
textColorDisabled: string;
|
|
1215
1264
|
textColorText: string;
|
|
1216
|
-
textColorTextDepth1: string;
|
|
1217
|
-
textColorTextDepth2: string;
|
|
1218
|
-
textColorTextDepth3: string;
|
|
1219
1265
|
textColorTextHover: string;
|
|
1220
1266
|
textColorTextPressed: string;
|
|
1221
1267
|
textColorTextFocus: string;
|
|
@@ -1362,9 +1408,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1362
1408
|
borderDisabledError: string;
|
|
1363
1409
|
rippleColorError: string;
|
|
1364
1410
|
waveOpacity: string;
|
|
1365
|
-
fontWeightText: string;
|
|
1366
1411
|
fontWeight: string;
|
|
1367
|
-
|
|
1412
|
+
fontWeightStrong: string;
|
|
1368
1413
|
paddingTiny: string;
|
|
1369
1414
|
paddingSmall: string;
|
|
1370
1415
|
paddingMedium: string;
|
|
@@ -1461,20 +1506,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1461
1506
|
fontSizeMedium: string;
|
|
1462
1507
|
fontSizeLarge: string;
|
|
1463
1508
|
opacityDisabled: string;
|
|
1509
|
+
colorOpacitySecondary: number;
|
|
1510
|
+
colorOpacitySecondaryHover: number;
|
|
1511
|
+
colorOpacitySecondaryPressed: number;
|
|
1512
|
+
colorSecondary: string;
|
|
1513
|
+
colorSecondaryHover: string;
|
|
1514
|
+
colorSecondaryPressed: string;
|
|
1515
|
+
colorTertiary: string;
|
|
1516
|
+
colorTertiaryHover: string;
|
|
1517
|
+
colorTertiaryPressed: string;
|
|
1518
|
+
colorQuaternary: string;
|
|
1519
|
+
colorQuaternaryHover: string;
|
|
1520
|
+
colorQuaternaryPressed: string;
|
|
1464
1521
|
color: string;
|
|
1465
1522
|
colorHover: string;
|
|
1466
1523
|
colorPressed: string;
|
|
1467
1524
|
colorFocus: string;
|
|
1468
1525
|
colorDisabled: string;
|
|
1469
1526
|
textColor: string;
|
|
1527
|
+
textColorTertiary: string;
|
|
1470
1528
|
textColorHover: string;
|
|
1471
1529
|
textColorPressed: string;
|
|
1472
1530
|
textColorFocus: string;
|
|
1473
1531
|
textColorDisabled: string;
|
|
1474
1532
|
textColorText: string;
|
|
1475
|
-
textColorTextDepth1: string;
|
|
1476
|
-
textColorTextDepth2: string;
|
|
1477
|
-
textColorTextDepth3: string;
|
|
1478
1533
|
textColorTextHover: string;
|
|
1479
1534
|
textColorTextPressed: string;
|
|
1480
1535
|
textColorTextFocus: string;
|
|
@@ -1621,9 +1676,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1621
1676
|
borderDisabledError: string;
|
|
1622
1677
|
rippleColorError: string;
|
|
1623
1678
|
waveOpacity: string;
|
|
1624
|
-
fontWeightText: string;
|
|
1625
1679
|
fontWeight: string;
|
|
1626
|
-
|
|
1680
|
+
fontWeightStrong: string;
|
|
1627
1681
|
paddingTiny: string;
|
|
1628
1682
|
paddingSmall: string;
|
|
1629
1683
|
paddingMedium: string;
|
|
@@ -1732,6 +1786,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1732
1786
|
pressedColor: string;
|
|
1733
1787
|
opacityDisabled: string;
|
|
1734
1788
|
inputColorDisabled: string;
|
|
1789
|
+
buttonColor2: string;
|
|
1790
|
+
buttonColor2Hover: string;
|
|
1791
|
+
buttonColor2Pressed: string;
|
|
1735
1792
|
boxShadow1: string;
|
|
1736
1793
|
boxShadow2: string;
|
|
1737
1794
|
boxShadow3: string;
|
|
@@ -1837,20 +1894,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1837
1894
|
fontSizeMedium: string;
|
|
1838
1895
|
fontSizeLarge: string;
|
|
1839
1896
|
opacityDisabled: string;
|
|
1897
|
+
colorOpacitySecondary: number;
|
|
1898
|
+
colorOpacitySecondaryHover: number;
|
|
1899
|
+
colorOpacitySecondaryPressed: number;
|
|
1900
|
+
colorSecondary: string;
|
|
1901
|
+
colorSecondaryHover: string;
|
|
1902
|
+
colorSecondaryPressed: string;
|
|
1903
|
+
colorTertiary: string;
|
|
1904
|
+
colorTertiaryHover: string;
|
|
1905
|
+
colorTertiaryPressed: string;
|
|
1906
|
+
colorQuaternary: string;
|
|
1907
|
+
colorQuaternaryHover: string;
|
|
1908
|
+
colorQuaternaryPressed: string;
|
|
1840
1909
|
color: string;
|
|
1841
1910
|
colorHover: string;
|
|
1842
1911
|
colorPressed: string;
|
|
1843
1912
|
colorFocus: string;
|
|
1844
1913
|
colorDisabled: string;
|
|
1845
1914
|
textColor: string;
|
|
1915
|
+
textColorTertiary: string;
|
|
1846
1916
|
textColorHover: string;
|
|
1847
1917
|
textColorPressed: string;
|
|
1848
1918
|
textColorFocus: string;
|
|
1849
1919
|
textColorDisabled: string;
|
|
1850
1920
|
textColorText: string;
|
|
1851
|
-
textColorTextDepth1: string;
|
|
1852
|
-
textColorTextDepth2: string;
|
|
1853
|
-
textColorTextDepth3: string;
|
|
1854
1921
|
textColorTextHover: string;
|
|
1855
1922
|
textColorTextPressed: string;
|
|
1856
1923
|
textColorTextFocus: string;
|
|
@@ -1997,9 +2064,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1997
2064
|
borderDisabledError: string;
|
|
1998
2065
|
rippleColorError: string;
|
|
1999
2066
|
waveOpacity: string;
|
|
2000
|
-
fontWeightText: string;
|
|
2001
2067
|
fontWeight: string;
|
|
2002
|
-
|
|
2068
|
+
fontWeightStrong: string;
|
|
2003
2069
|
paddingTiny: string;
|
|
2004
2070
|
paddingSmall: string;
|
|
2005
2071
|
paddingMedium: string;
|
|
@@ -2143,20 +2209,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2143
2209
|
fontSizeMedium: string;
|
|
2144
2210
|
fontSizeLarge: string;
|
|
2145
2211
|
opacityDisabled: string;
|
|
2212
|
+
colorOpacitySecondary: number;
|
|
2213
|
+
colorOpacitySecondaryHover: number;
|
|
2214
|
+
colorOpacitySecondaryPressed: number;
|
|
2215
|
+
colorSecondary: string;
|
|
2216
|
+
colorSecondaryHover: string;
|
|
2217
|
+
colorSecondaryPressed: string;
|
|
2218
|
+
colorTertiary: string;
|
|
2219
|
+
colorTertiaryHover: string;
|
|
2220
|
+
colorTertiaryPressed: string;
|
|
2221
|
+
colorQuaternary: string;
|
|
2222
|
+
colorQuaternaryHover: string;
|
|
2223
|
+
colorQuaternaryPressed: string;
|
|
2146
2224
|
color: string;
|
|
2147
2225
|
colorHover: string;
|
|
2148
2226
|
colorPressed: string;
|
|
2149
2227
|
colorFocus: string;
|
|
2150
2228
|
colorDisabled: string;
|
|
2151
2229
|
textColor: string;
|
|
2230
|
+
textColorTertiary: string;
|
|
2152
2231
|
textColorHover: string;
|
|
2153
2232
|
textColorPressed: string;
|
|
2154
2233
|
textColorFocus: string;
|
|
2155
2234
|
textColorDisabled: string;
|
|
2156
2235
|
textColorText: string;
|
|
2157
|
-
textColorTextDepth1: string;
|
|
2158
|
-
textColorTextDepth2: string;
|
|
2159
|
-
textColorTextDepth3: string;
|
|
2160
2236
|
textColorTextHover: string;
|
|
2161
2237
|
textColorTextPressed: string;
|
|
2162
2238
|
textColorTextFocus: string;
|
|
@@ -2303,9 +2379,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2303
2379
|
borderDisabledError: string;
|
|
2304
2380
|
rippleColorError: string;
|
|
2305
2381
|
waveOpacity: string;
|
|
2306
|
-
fontWeightText: string;
|
|
2307
2382
|
fontWeight: string;
|
|
2308
|
-
|
|
2383
|
+
fontWeightStrong: string;
|
|
2309
2384
|
paddingTiny: string;
|
|
2310
2385
|
paddingSmall: string;
|
|
2311
2386
|
paddingMedium: string;
|
|
@@ -2402,20 +2477,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2402
2477
|
fontSizeMedium: string;
|
|
2403
2478
|
fontSizeLarge: string;
|
|
2404
2479
|
opacityDisabled: string;
|
|
2480
|
+
colorOpacitySecondary: number;
|
|
2481
|
+
colorOpacitySecondaryHover: number;
|
|
2482
|
+
colorOpacitySecondaryPressed: number;
|
|
2483
|
+
colorSecondary: string;
|
|
2484
|
+
colorSecondaryHover: string;
|
|
2485
|
+
colorSecondaryPressed: string;
|
|
2486
|
+
colorTertiary: string;
|
|
2487
|
+
colorTertiaryHover: string;
|
|
2488
|
+
colorTertiaryPressed: string;
|
|
2489
|
+
colorQuaternary: string;
|
|
2490
|
+
colorQuaternaryHover: string;
|
|
2491
|
+
colorQuaternaryPressed: string;
|
|
2405
2492
|
color: string;
|
|
2406
2493
|
colorHover: string;
|
|
2407
2494
|
colorPressed: string;
|
|
2408
2495
|
colorFocus: string;
|
|
2409
2496
|
colorDisabled: string;
|
|
2410
2497
|
textColor: string;
|
|
2498
|
+
textColorTertiary: string;
|
|
2411
2499
|
textColorHover: string;
|
|
2412
2500
|
textColorPressed: string;
|
|
2413
2501
|
textColorFocus: string;
|
|
2414
2502
|
textColorDisabled: string;
|
|
2415
2503
|
textColorText: string;
|
|
2416
|
-
textColorTextDepth1: string;
|
|
2417
|
-
textColorTextDepth2: string;
|
|
2418
|
-
textColorTextDepth3: string;
|
|
2419
2504
|
textColorTextHover: string;
|
|
2420
2505
|
textColorTextPressed: string;
|
|
2421
2506
|
textColorTextFocus: string;
|
|
@@ -2562,9 +2647,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2562
2647
|
borderDisabledError: string;
|
|
2563
2648
|
rippleColorError: string;
|
|
2564
2649
|
waveOpacity: string;
|
|
2565
|
-
fontWeightText: string;
|
|
2566
2650
|
fontWeight: string;
|
|
2567
|
-
|
|
2651
|
+
fontWeightStrong: string;
|
|
2568
2652
|
paddingTiny: string;
|
|
2569
2653
|
paddingSmall: string;
|
|
2570
2654
|
paddingMedium: string;
|
|
@@ -2661,20 +2745,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2661
2745
|
fontSizeMedium: string;
|
|
2662
2746
|
fontSizeLarge: string;
|
|
2663
2747
|
opacityDisabled: string;
|
|
2748
|
+
colorOpacitySecondary: number;
|
|
2749
|
+
colorOpacitySecondaryHover: number;
|
|
2750
|
+
colorOpacitySecondaryPressed: number;
|
|
2751
|
+
colorSecondary: string;
|
|
2752
|
+
colorSecondaryHover: string;
|
|
2753
|
+
colorSecondaryPressed: string;
|
|
2754
|
+
colorTertiary: string;
|
|
2755
|
+
colorTertiaryHover: string;
|
|
2756
|
+
colorTertiaryPressed: string;
|
|
2757
|
+
colorQuaternary: string;
|
|
2758
|
+
colorQuaternaryHover: string;
|
|
2759
|
+
colorQuaternaryPressed: string;
|
|
2664
2760
|
color: string;
|
|
2665
2761
|
colorHover: string;
|
|
2666
2762
|
colorPressed: string;
|
|
2667
2763
|
colorFocus: string;
|
|
2668
2764
|
colorDisabled: string;
|
|
2669
2765
|
textColor: string;
|
|
2766
|
+
textColorTertiary: string;
|
|
2670
2767
|
textColorHover: string;
|
|
2671
2768
|
textColorPressed: string;
|
|
2672
2769
|
textColorFocus: string;
|
|
2673
2770
|
textColorDisabled: string;
|
|
2674
2771
|
textColorText: string;
|
|
2675
|
-
textColorTextDepth1: string;
|
|
2676
|
-
textColorTextDepth2: string;
|
|
2677
|
-
textColorTextDepth3: string;
|
|
2678
2772
|
textColorTextHover: string;
|
|
2679
2773
|
textColorTextPressed: string;
|
|
2680
2774
|
textColorTextFocus: string;
|
|
@@ -2821,9 +2915,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2821
2915
|
borderDisabledError: string;
|
|
2822
2916
|
rippleColorError: string;
|
|
2823
2917
|
waveOpacity: string;
|
|
2824
|
-
fontWeightText: string;
|
|
2825
2918
|
fontWeight: string;
|
|
2826
|
-
|
|
2919
|
+
fontWeightStrong: string;
|
|
2827
2920
|
paddingTiny: string;
|
|
2828
2921
|
paddingSmall: string;
|
|
2829
2922
|
paddingMedium: string;
|
|
@@ -88,6 +88,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
88
88
|
pressedColor: string;
|
|
89
89
|
opacityDisabled: string;
|
|
90
90
|
inputColorDisabled: string;
|
|
91
|
+
buttonColor2: string;
|
|
92
|
+
buttonColor2Hover: string;
|
|
93
|
+
buttonColor2Pressed: string;
|
|
91
94
|
boxShadow1: string;
|
|
92
95
|
boxShadow2: string;
|
|
93
96
|
boxShadow3: string;
|
|
@@ -193,20 +196,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
193
196
|
fontSizeMedium: string;
|
|
194
197
|
fontSizeLarge: string;
|
|
195
198
|
opacityDisabled: string;
|
|
199
|
+
colorOpacitySecondary: number;
|
|
200
|
+
colorOpacitySecondaryHover: number;
|
|
201
|
+
colorOpacitySecondaryPressed: number;
|
|
202
|
+
colorSecondary: string;
|
|
203
|
+
colorSecondaryHover: string;
|
|
204
|
+
colorSecondaryPressed: string;
|
|
205
|
+
colorTertiary: string;
|
|
206
|
+
colorTertiaryHover: string;
|
|
207
|
+
colorTertiaryPressed: string;
|
|
208
|
+
colorQuaternary: string;
|
|
209
|
+
colorQuaternaryHover: string;
|
|
210
|
+
colorQuaternaryPressed: string;
|
|
196
211
|
color: string;
|
|
197
212
|
colorHover: string;
|
|
198
213
|
colorPressed: string;
|
|
199
214
|
colorFocus: string;
|
|
200
215
|
colorDisabled: string;
|
|
201
216
|
textColor: string;
|
|
217
|
+
textColorTertiary: string;
|
|
202
218
|
textColorHover: string;
|
|
203
219
|
textColorPressed: string;
|
|
204
220
|
textColorFocus: string;
|
|
205
221
|
textColorDisabled: string;
|
|
206
222
|
textColorText: string;
|
|
207
|
-
textColorTextDepth1: string;
|
|
208
|
-
textColorTextDepth2: string;
|
|
209
|
-
textColorTextDepth3: string;
|
|
210
223
|
textColorTextHover: string;
|
|
211
224
|
textColorTextPressed: string;
|
|
212
225
|
textColorTextFocus: string;
|
|
@@ -353,9 +366,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
353
366
|
borderDisabledError: string;
|
|
354
367
|
rippleColorError: string;
|
|
355
368
|
waveOpacity: string;
|
|
356
|
-
fontWeightText: string;
|
|
357
369
|
fontWeight: string;
|
|
358
|
-
|
|
370
|
+
fontWeightStrong: string;
|
|
359
371
|
paddingTiny: string;
|
|
360
372
|
paddingSmall: string;
|
|
361
373
|
paddingMedium: string;
|