naive-ui 2.21.5 → 2.23.2
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/clear/src/styles/index.cssr.js +10 -10
- package/es/_internal/close/src/styles/index.cssr.js +8 -8
- package/es/_internal/icons/Close.js +1 -1
- package/es/_internal/scrollbar/src/ScrollBar.d.ts +10 -6
- package/es/_internal/scrollbar/src/ScrollBar.js +15 -11
- package/es/_internal/scrollbar/src/styles/index.cssr.js +15 -15
- package/es/_internal/select-menu/src/SelectMenu.d.ts +21 -21
- package/es/_internal/select-menu/src/SelectMenu.js +21 -21
- package/es/_internal/select-menu/src/styles/index.cssr.js +35 -35
- package/es/_internal/select-menu/styles/_common.js +1 -1
- package/es/_internal/selection/src/Selection.d.ts +44 -44
- package/es/_internal/selection/src/Selection.js +55 -53
- package/es/_internal/selection/src/styles/index.cssr.js +84 -80
- package/es/_mixins/common.d.ts +1 -0
- package/es/_mixins/common.js +1 -0
- package/es/_mixins/index.d.ts +1 -0
- package/es/_mixins/index.js +1 -0
- package/es/_mixins/use-css-vars-class.d.ts +2 -0
- package/es/_mixins/use-css-vars-class.js +22 -0
- package/es/_mixins/use-rtl.js +2 -0
- package/es/_mixins/use-style.js +3 -0
- package/es/_mixins/use-theme.js +3 -0
- package/es/_utils/composable/use-houdini.js +12 -9
- package/es/alert/src/Alert.d.ts +22 -22
- 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/auto-complete/src/AutoComplete.d.ts +2 -2
- package/es/auto-complete/src/AutoComplete.js +2 -2
- package/es/auto-complete/src/styles/index.cssr.js +4 -4
- package/es/avatar/index.d.ts +2 -0
- package/es/avatar/index.js +1 -0
- package/es/avatar/src/Avatar.d.ts +77 -36
- package/es/avatar/src/Avatar.js +46 -16
- package/es/avatar/src/AvatarGroup.d.ts +52 -0
- package/es/avatar/src/AvatarGroup.js +61 -0
- package/es/avatar/src/interface.d.ts +2 -0
- package/es/avatar/src/interface.js +1 -0
- package/es/avatar/src/styles/avatar-group.cssr.d.ts +2 -0
- package/es/avatar/src/styles/avatar-group.cssr.js +14 -0
- package/es/avatar/src/styles/index.cssr.js +21 -18
- package/es/avatar/styles/light.d.ts +3 -0
- package/es/avatar/styles/light.js +6 -2
- package/es/back-top/src/BackTop.d.ts +13 -13
- package/es/back-top/src/BackTop.js +13 -13
- package/es/back-top/src/styles/index.cssr.js +29 -29
- package/es/badge/src/Badge.d.ts +6 -6
- package/es/badge/src/Badge.js +6 -6
- package/es/badge/src/styles/index.cssr.js +15 -15
- package/es/breadcrumb/src/Breadcrumb.d.ts +8 -8
- package/es/breadcrumb/src/Breadcrumb.js +8 -8
- package/es/breadcrumb/src/styles/index.cssr.js +23 -23
- package/es/button/src/Button.d.ts +43 -38
- package/es/button/src/Button.js +124 -116
- package/es/button/src/styles/button.cssr.js +83 -80
- package/es/button/styles/light.js +1 -1
- package/es/calendar/src/Calendar.d.ts +23 -21
- package/es/calendar/src/Calendar.js +21 -21
- package/es/calendar/src/styles/index.cssr.js +57 -57
- package/es/card/src/Card.d.ts +28 -23
- package/es/card/src/Card.js +24 -23
- package/es/card/src/styles/index.cssr.js +71 -69
- package/es/carousel/src/Carousel.d.ts +5 -5
- package/es/carousel/src/Carousel.js +5 -5
- package/es/carousel/src/styles/index.cssr.js +10 -10
- package/es/cascader/src/Cascader.d.ts +160 -17
- package/es/cascader/src/Cascader.js +32 -24
- package/es/cascader/src/CascaderMenu.d.ts +345 -0
- package/es/cascader/src/CascaderMenu.js +7 -6
- 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/src/styles/index.cssr.js +44 -44
- package/es/cascader/styles/dark.js +3 -1
- package/es/cascader/styles/light.d.ts +13 -0
- package/es/cascader/styles/light.js +4 -2
- package/es/checkbox/src/Checkbox.d.ts +23 -23
- package/es/checkbox/src/Checkbox.js +23 -23
- package/es/checkbox/src/styles/index.cssr.js +58 -58
- package/es/code/src/Code.d.ts +14 -14
- package/es/code/src/Code.js +26 -17
- package/es/code/src/styles/index.cssr.js +28 -28
- package/es/collapse/src/Collapse.d.ts +8 -8
- package/es/collapse/src/Collapse.js +8 -8
- package/es/collapse/src/styles/index.cssr.js +24 -24
- package/es/collapse-transition/src/CollapseTransition.d.ts +1 -1
- package/es/collapse-transition/src/CollapseTransition.js +1 -1
- package/es/color-picker/src/ColorPicker.d.ts +10 -10
- package/es/color-picker/src/ColorPicker.js +10 -10
- package/es/color-picker/src/styles/index.cssr.js +28 -28
- package/es/components.d.ts +2 -0
- package/es/components.js +2 -0
- package/es/config-provider/src/ConfigProvider.d.ts +6 -0
- package/es/countdown/index.d.ts +2 -0
- package/es/countdown/index.js +1 -0
- package/es/countdown/src/Countdown.d.ts +72 -0
- package/es/countdown/src/Countdown.js +126 -0
- package/es/countdown/src/utils.d.ts +0 -0
- package/es/countdown/src/utils.js +1 -0
- package/es/data-table/src/DataTable.d.ts +39 -39
- package/es/data-table/src/DataTable.js +49 -55
- package/es/data-table/src/MainTable.js +2 -3
- package/es/data-table/src/TableParts/Body.d.ts +15 -4
- package/es/data-table/src/TableParts/Body.js +82 -28
- package/es/data-table/src/TableParts/Cell.js +2 -3
- package/es/data-table/src/TableParts/Header.js +2 -2
- package/es/data-table/src/interface.d.ts +4 -1
- package/es/data-table/src/styles/index.cssr.js +133 -132
- 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 +3 -1
- package/es/data-table/styles/_common.js +1 -1
- package/es/date-picker/src/DatePicker.d.ts +70 -46
- package/es/date-picker/src/DatePicker.js +61 -52
- package/es/date-picker/src/config.d.ts +1 -1
- package/es/date-picker/src/interface.d.ts +2 -1
- package/es/date-picker/src/panel/date.d.ts +13 -10
- package/es/date-picker/src/panel/date.js +2 -2
- package/es/date-picker/src/panel/daterange.d.ts +11 -9
- package/es/date-picker/src/panel/daterange.js +2 -2
- package/es/date-picker/src/panel/datetime.d.ts +13 -16
- package/es/date-picker/src/panel/datetime.js +2 -2
- package/es/date-picker/src/panel/datetimerange.d.ts +11 -9
- package/es/date-picker/src/panel/datetimerange.js +2 -2
- package/es/date-picker/src/panel/month.d.ts +17 -20
- package/es/date-picker/src/panel/month.js +23 -12
- package/es/date-picker/src/panel/use-calendar.d.ts +13 -39
- package/es/date-picker/src/panel/use-calendar.js +41 -23
- package/es/date-picker/src/panel/use-dual-calendar.d.ts +9 -36
- package/es/date-picker/src/panel/use-dual-calendar.js +35 -21
- package/es/date-picker/src/panel/use-panel-common.d.ts +9 -32
- package/es/date-picker/src/panel/use-panel-common.js +4 -8
- package/es/date-picker/src/styles/index.cssr.js +115 -115
- 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 +4 -0
- package/es/descriptions/src/Descriptions.d.ts +18 -18
- package/es/descriptions/src/Descriptions.js +19 -20
- package/es/descriptions/src/styles/index.cssr.js +61 -61
- package/es/dialog/src/Dialog.d.ts +24 -24
- package/es/dialog/src/Dialog.js +22 -22
- package/es/dialog/src/DialogEnvironment.d.ts +2 -2
- package/es/dialog/src/DialogProvider.d.ts +1 -1
- package/es/dialog/src/styles/index.cssr.js +45 -45
- package/es/divider/src/Divider.d.ts +4 -4
- package/es/divider/src/Divider.js +4 -4
- package/es/divider/src/styles/index.cssr.js +12 -12
- package/es/drawer/src/Drawer.d.ts +19 -19
- package/es/drawer/src/Drawer.js +19 -19
- package/es/drawer/src/styles/index.cssr.js +41 -40
- package/es/dropdown/src/Dropdown.js +34 -32
- package/es/dropdown/src/styles/index.cssr.js +59 -59
- package/es/dynamic-tags/src/DynamicTags.d.ts +1 -1
- package/es/dynamic-tags/src/DynamicTags.js +1 -1
- package/es/dynamic-tags/src/styles/index.cssr.js +1 -1
- package/es/empty/src/Empty.d.ts +19 -15
- package/es/empty/src/Empty.js +12 -12
- package/es/empty/src/styles/index.cssr.js +20 -19
- package/es/form/src/Form.d.ts +27 -27
- package/es/form/src/FormItem.d.ts +42 -42
- package/es/form/src/FormItem.js +15 -15
- package/es/form/src/FormItemCol.d.ts +33 -27
- package/es/form/src/FormItemCol.js +1 -0
- package/es/form/src/FormItemGridItem.d.ts +33 -27
- package/es/form/src/FormItemGridItem.js +1 -0
- package/es/form/src/FormItemRow.d.ts +33 -27
- package/es/form/src/FormItemRow.js +1 -0
- package/es/form/src/styles/form-item.cssr.js +37 -37
- package/es/form/styles/_common.d.ts +0 -3
- package/es/form/styles/_common.js +0 -3
- package/es/form/styles/light.d.ts +3 -3
- package/es/form/styles/light.js +2 -2
- package/es/gradient-text/src/GradientText.d.ts +5 -5
- package/es/gradient-text/src/GradientText.js +5 -5
- package/es/gradient-text/src/styles/index.cssr.js +9 -9
- package/es/icon/src/Icon.d.ts +6 -6
- package/es/icon/src/Icon.js +4 -4
- package/es/icon/src/styles/index.cssr.js +7 -7
- package/es/image/src/Image.js +8 -12
- package/es/image/src/ImagePreview.d.ts +2 -2
- package/es/image/src/ImagePreview.js +13 -12
- package/es/image/src/styles/index.cssr.js +5 -5
- package/es/input/src/Input.d.ts +52 -47
- package/es/input/src/Input.js +54 -49
- package/es/input/src/InputGroupLabel.d.ts +8 -8
- package/es/input/src/InputGroupLabel.js +8 -8
- package/es/input/src/styles/input-group-label.cssr.js +18 -18
- package/es/input/src/styles/input.cssr.js +108 -109
- package/es/input-number/src/InputNumber.d.ts +11 -0
- package/es/input-number/src/InputNumber.js +5 -2
- package/es/input-number/src/utils.js +2 -1
- package/es/layout/src/Layout.d.ts +6 -6
- package/es/layout/src/Layout.js +3 -3
- package/es/layout/src/LayoutContent.d.ts +3 -3
- package/es/layout/src/LayoutFooter.js +7 -7
- package/es/layout/src/LayoutHeader.js +7 -7
- package/es/layout/src/LayoutSider.js +13 -13
- package/es/layout/src/styles/layout-footer.cssr.js +11 -11
- package/es/layout/src/styles/layout-header.cssr.js +11 -11
- package/es/layout/src/styles/layout-sider.cssr.js +32 -32
- package/es/layout/src/styles/layout.cssr.js +8 -8
- package/es/list/src/List.d.ts +10 -10
- package/es/list/src/List.js +10 -10
- package/es/list/src/styles/index.cssr.js +30 -30
- package/es/loading-bar/src/LoadingBar.d.ts +3 -3
- package/es/loading-bar/src/LoadingBar.js +3 -3
- package/es/loading-bar/src/styles/index.cssr.js +7 -7
- package/es/locales/common/deDE.js +2 -0
- package/es/locales/common/enUS.d.ts +2 -0
- package/es/locales/common/enUS.js +2 -0
- package/es/locales/common/frFR.js +7 -5
- package/es/locales/common/idID.js +2 -0
- package/es/locales/common/jaJP.js +2 -0
- package/es/locales/common/nbNO.js +2 -0
- package/es/locales/common/ruRU.js +2 -0
- package/es/locales/common/ukUA.js +2 -0
- package/es/locales/common/zhCN.js +2 -0
- package/es/locales/common/zhTW.d.ts +3 -0
- package/es/locales/common/zhTW.js +100 -0
- package/es/locales/date/zhTW.d.ts +3 -0
- package/es/locales/date/zhTW.js +6 -0
- package/es/locales/index.d.ts +2 -0
- package/es/locales/index.js +2 -0
- package/es/log/src/Log.d.ts +6 -6
- package/es/log/src/Log.js +6 -6
- package/es/log/src/styles/index.cssr.js +16 -18
- package/es/mention/src/Mention.d.ts +1 -1
- package/es/mention/src/Mention.js +1 -1
- package/es/mention/src/styles/index.cssr.js +2 -2
- package/es/menu/src/Menu.js +43 -40
- package/es/menu/src/styles/index.cssr.js +71 -71
- package/es/message/src/Message.d.ts +22 -22
- package/es/message/src/Message.js +22 -22
- package/es/message/src/styles/index.cssr.js +48 -48
- package/es/modal/src/BodyWrapper.d.ts +11 -2
- package/es/modal/src/BodyWrapper.js +23 -17
- package/es/modal/src/Modal.d.ts +14 -8
- package/es/modal/src/Modal.js +13 -7
- package/es/modal/src/presetProps.d.ts +2 -1
- package/es/modal/src/styles/index.cssr.js +8 -8
- package/es/notification/src/Notification.d.ts +24 -24
- package/es/notification/src/Notification.js +24 -24
- package/es/notification/src/styles/index.cssr.js +65 -65
- package/es/number-animation/index.d.ts +3 -0
- package/es/number-animation/index.js +1 -0
- package/es/number-animation/src/NumberAnimation.d.ts +79 -0
- package/es/number-animation/src/NumberAnimation.js +81 -0
- package/es/number-animation/src/utils.d.ts +8 -0
- package/es/number-animation/src/utils.js +17 -0
- package/es/page-header/src/PageHeader.d.ts +10 -10
- package/es/page-header/src/PageHeader.js +13 -13
- package/es/page-header/src/styles/index.cssr.js +25 -27
- package/es/pagination/src/Pagination.d.ts +42 -41
- package/es/pagination/src/Pagination.js +52 -45
- package/es/pagination/src/styles/index.cssr.js +81 -81
- package/es/popconfirm/src/Popconfirm.d.ts +2 -2
- package/es/popconfirm/src/PopconfirmPanel.d.ts +4 -4
- package/es/popconfirm/src/PopconfirmPanel.js +4 -4
- package/es/popconfirm/src/styles/index.cssr.js +8 -8
- package/es/popover/src/Popover.js +4 -1
- package/es/popover/src/PopoverBody.js +18 -18
- package/es/popover/src/styles/index.cssr.js +62 -62
- 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/progress/src/Progress.d.ts +14 -14
- package/es/progress/src/Progress.js +14 -14
- package/es/progress/src/styles/index.cssr.js +53 -53
- package/es/radio/src/Radio.d.ts +15 -15
- package/es/radio/src/Radio.js +18 -18
- package/es/radio/src/RadioButton.js +4 -5
- package/es/radio/src/RadioGroup.d.ts +14 -14
- package/es/radio/src/RadioGroup.js +14 -14
- package/es/radio/src/styles/radio-group.cssr.js +51 -47
- package/es/radio/src/styles/radio.cssr.js +44 -40
- package/es/radio/src/use-radio.d.ts +0 -3
- package/es/radio/src/use-radio.js +1 -26
- package/es/rate/src/Rate.d.ts +4 -4
- package/es/rate/src/Rate.js +4 -4
- package/es/rate/src/styles/index.cssr.js +11 -11
- package/es/result/src/Result.d.ts +9 -9
- package/es/result/src/Result.js +9 -9
- package/es/result/src/styles/index.cssr.js +20 -20
- package/es/select/src/Select.d.ts +1 -1
- package/es/select/src/Select.js +1 -1
- package/es/select/src/styles/index.cssr.js +2 -2
- package/es/skeleton/src/Skeleton.d.ts +3 -3
- package/es/skeleton/src/Skeleton.js +3 -3
- package/es/skeleton/src/styles/index.cssr.js +12 -12
- package/es/slider/src/Slider.d.ts +29 -29
- package/es/slider/src/Slider.js +29 -29
- package/es/slider/src/styles/index.cssr.js +87 -87
- package/es/spin/src/Spin.d.ts +5 -5
- package/es/spin/src/Spin.js +5 -5
- package/es/spin/src/styles/index.cssr.js +15 -15
- package/es/statistic/src/Statistic.d.ts +25 -45
- package/es/statistic/src/Statistic.js +12 -19
- package/es/statistic/src/styles/index.cssr.js +19 -19
- package/es/steps/src/Step.d.ts +12 -12
- package/es/steps/src/Step.js +12 -12
- package/es/steps/src/styles/index.cssr.js +46 -46
- package/es/switch/src/Switch.d.ts +19 -19
- package/es/switch/src/Switch.js +26 -19
- package/es/switch/src/styles/index.cssr.js +59 -57
- package/es/table/src/Table.d.ts +21 -21
- package/es/table/src/Table.js +21 -21
- package/es/table/src/styles/index.cssr.js +55 -55
- package/es/tabs/src/styles/index.cssr.js +5 -1
- package/es/tabs/styles/light.js +1 -1
- package/es/tag/src/Tag.d.ts +27 -26
- package/es/tag/src/Tag.js +27 -26
- package/es/tag/src/styles/index.cssr.js +55 -55
- package/es/tag/src/styles/rtl.cssr.js +1 -1
- package/es/thing/src/Thing.js +5 -5
- package/es/thing/src/styles/index.cssr.js +11 -11
- package/es/time-picker/src/TimePicker.d.ts +19 -19
- package/es/time-picker/src/TimePicker.js +17 -17
- package/es/time-picker/src/styles/index.cssr.js +47 -47
- package/es/timeline/src/TimelineItem.d.ts +12 -12
- package/es/timeline/src/TimelineItem.js +12 -12
- package/es/timeline/src/styles/index.cssr.js +44 -44
- package/es/transfer/src/Transfer.d.ts +21 -21
- package/es/transfer/src/Transfer.js +21 -21
- package/es/transfer/src/TransferList.js +5 -7
- package/es/transfer/src/styles/index.cssr.js +47 -42
- package/es/tree/src/Tree.d.ts +11 -11
- package/es/tree/src/Tree.js +11 -11
- package/es/tree/src/dnd.js +2 -2
- package/es/tree/src/styles/index.cssr.js +33 -33
- package/es/tree-select/src/TreeSelect.d.ts +43 -6
- package/es/tree-select/src/TreeSelect.js +29 -14
- package/es/tree-select/src/styles/index.cssr.js +20 -11
- package/es/tree-select/styles/light.d.ts +6 -0
- package/es/tree-select/styles/light.js +5 -2
- package/es/typography/src/a.d.ts +2 -2
- package/es/typography/src/a.js +2 -2
- package/es/typography/src/blockquote.d.ts +5 -5
- package/es/typography/src/blockquote.js +5 -5
- package/es/typography/src/create-header.d.ts +8 -8
- package/es/typography/src/create-header.js +8 -8
- package/es/typography/src/headers.d.ts +48 -48
- package/es/typography/src/hr.d.ts +2 -1
- package/es/typography/src/hr.js +3 -1
- package/es/typography/src/ol.d.ts +7 -7
- package/es/typography/src/ol.js +7 -7
- package/es/typography/src/p.d.ts +5 -5
- package/es/typography/src/p.js +5 -5
- package/es/typography/src/styles/a.cssr.js +6 -6
- package/es/typography/src/styles/blockquote.cssr.js +11 -11
- package/es/typography/src/styles/header.cssr.js +19 -19
- package/es/typography/src/styles/hr.cssr.js +3 -3
- package/es/typography/src/styles/list.cssr.js +15 -15
- package/es/typography/src/styles/p.cssr.js +10 -10
- package/es/typography/src/styles/text.cssr.js +18 -18
- package/es/typography/src/text.d.ts +8 -7
- package/es/typography/src/text.js +9 -8
- package/es/typography/src/ul.d.ts +7 -7
- package/es/typography/src/ul.js +7 -7
- package/es/upload/src/Upload.d.ts +1 -1
- package/es/upload/src/Upload.js +16 -16
- package/es/upload/src/styles/index.cssr.js +36 -36
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/lib/_internal/clear/src/styles/index.cssr.js +10 -10
- package/lib/_internal/close/src/styles/index.cssr.js +8 -8
- package/lib/_internal/icons/Close.js +1 -1
- package/lib/_internal/scrollbar/src/ScrollBar.d.ts +10 -6
- package/lib/_internal/scrollbar/src/ScrollBar.js +15 -11
- package/lib/_internal/scrollbar/src/styles/index.cssr.js +15 -15
- package/lib/_internal/select-menu/src/SelectMenu.d.ts +21 -21
- package/lib/_internal/select-menu/src/SelectMenu.js +21 -21
- package/lib/_internal/select-menu/src/styles/index.cssr.js +35 -35
- package/lib/_internal/select-menu/styles/_common.js +1 -1
- package/lib/_internal/selection/src/Selection.d.ts +44 -44
- package/lib/_internal/selection/src/Selection.js +55 -53
- package/lib/_internal/selection/src/styles/index.cssr.js +84 -80
- package/lib/_mixins/common.d.ts +1 -0
- package/lib/_mixins/common.js +4 -0
- package/lib/_mixins/index.d.ts +1 -0
- package/lib/_mixins/index.js +3 -1
- package/lib/_mixins/use-css-vars-class.d.ts +2 -0
- package/lib/_mixins/use-css-vars-class.js +29 -0
- package/lib/_mixins/use-rtl.js +2 -0
- package/lib/_mixins/use-style.js +3 -0
- package/lib/_mixins/use-theme.js +3 -0
- package/lib/_utils/composable/use-houdini.js +12 -9
- package/lib/alert/src/Alert.d.ts +22 -22
- 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/auto-complete/src/AutoComplete.d.ts +2 -2
- package/lib/auto-complete/src/AutoComplete.js +2 -2
- package/lib/auto-complete/src/styles/index.cssr.js +4 -4
- package/lib/avatar/index.d.ts +2 -0
- package/lib/avatar/index.js +3 -1
- package/lib/avatar/src/Avatar.d.ts +77 -36
- package/lib/avatar/src/Avatar.js +48 -17
- package/lib/avatar/src/AvatarGroup.d.ts +52 -0
- package/lib/avatar/src/AvatarGroup.js +67 -0
- package/lib/avatar/src/interface.d.ts +2 -0
- package/lib/avatar/src/interface.js +2 -0
- package/lib/avatar/src/styles/avatar-group.cssr.d.ts +2 -0
- package/lib/avatar/src/styles/avatar-group.cssr.js +21 -0
- package/lib/avatar/src/styles/index.cssr.js +20 -17
- package/lib/avatar/styles/light.d.ts +3 -0
- package/lib/avatar/styles/light.js +6 -2
- package/lib/back-top/src/BackTop.d.ts +13 -13
- package/lib/back-top/src/BackTop.js +13 -13
- package/lib/back-top/src/styles/index.cssr.js +29 -29
- package/lib/badge/src/Badge.d.ts +6 -6
- package/lib/badge/src/Badge.js +6 -6
- package/lib/badge/src/styles/index.cssr.js +15 -15
- package/lib/breadcrumb/src/Breadcrumb.d.ts +8 -8
- package/lib/breadcrumb/src/Breadcrumb.js +8 -8
- package/lib/breadcrumb/src/styles/index.cssr.js +23 -23
- package/lib/button/src/Button.d.ts +43 -38
- package/lib/button/src/Button.js +123 -115
- package/lib/button/src/styles/button.cssr.js +83 -80
- package/lib/button/styles/light.js +1 -1
- package/lib/calendar/src/Calendar.d.ts +23 -21
- package/lib/calendar/src/Calendar.js +21 -21
- package/lib/calendar/src/styles/index.cssr.js +57 -57
- package/lib/card/src/Card.d.ts +28 -23
- package/lib/card/src/Card.js +24 -23
- package/lib/card/src/styles/index.cssr.js +71 -69
- package/lib/carousel/src/Carousel.d.ts +5 -5
- package/lib/carousel/src/Carousel.js +5 -5
- package/lib/carousel/src/styles/index.cssr.js +10 -10
- package/lib/cascader/src/Cascader.d.ts +160 -17
- package/lib/cascader/src/Cascader.js +32 -24
- package/lib/cascader/src/CascaderMenu.d.ts +345 -0
- package/lib/cascader/src/CascaderMenu.js +7 -6
- 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/src/styles/index.cssr.js +44 -44
- package/lib/cascader/styles/dark.js +3 -1
- package/lib/cascader/styles/light.d.ts +13 -0
- package/lib/cascader/styles/light.js +4 -2
- package/lib/checkbox/src/Checkbox.d.ts +23 -23
- package/lib/checkbox/src/Checkbox.js +23 -23
- package/lib/checkbox/src/styles/index.cssr.js +58 -58
- package/lib/code/src/Code.d.ts +14 -14
- package/lib/code/src/Code.js +26 -17
- package/lib/code/src/styles/index.cssr.js +28 -28
- package/lib/collapse/src/Collapse.d.ts +8 -8
- package/lib/collapse/src/Collapse.js +8 -8
- package/lib/collapse/src/styles/index.cssr.js +24 -24
- package/lib/collapse-transition/src/CollapseTransition.d.ts +1 -1
- package/lib/collapse-transition/src/CollapseTransition.js +1 -1
- package/lib/color-picker/src/ColorPicker.d.ts +10 -10
- package/lib/color-picker/src/ColorPicker.js +10 -10
- package/lib/color-picker/src/styles/index.cssr.js +28 -28
- package/lib/components.d.ts +2 -0
- package/lib/components.js +2 -0
- package/lib/config-provider/src/ConfigProvider.d.ts +6 -0
- package/lib/countdown/index.d.ts +2 -0
- package/lib/countdown/index.js +8 -0
- package/lib/countdown/src/Countdown.d.ts +72 -0
- package/lib/countdown/src/Countdown.js +128 -0
- package/lib/countdown/src/utils.d.ts +0 -0
- package/lib/countdown/src/utils.js +1 -0
- package/lib/data-table/src/DataTable.d.ts +39 -39
- package/lib/data-table/src/DataTable.js +48 -54
- package/lib/data-table/src/MainTable.js +1 -2
- package/lib/data-table/src/TableParts/Body.d.ts +15 -4
- package/lib/data-table/src/TableParts/Body.js +80 -26
- package/lib/data-table/src/TableParts/Cell.js +2 -3
- package/lib/data-table/src/TableParts/Header.js +2 -2
- package/lib/data-table/src/interface.d.ts +4 -1
- package/lib/data-table/src/styles/index.cssr.js +133 -132
- 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 +3 -1
- package/lib/data-table/styles/_common.js +1 -1
- package/lib/date-picker/src/DatePicker.d.ts +70 -46
- package/lib/date-picker/src/DatePicker.js +61 -52
- package/lib/date-picker/src/config.d.ts +1 -1
- package/lib/date-picker/src/interface.d.ts +2 -1
- package/lib/date-picker/src/panel/date.d.ts +13 -10
- package/lib/date-picker/src/panel/date.js +1 -1
- package/lib/date-picker/src/panel/daterange.d.ts +11 -9
- package/lib/date-picker/src/panel/daterange.js +1 -1
- package/lib/date-picker/src/panel/datetime.d.ts +13 -16
- package/lib/date-picker/src/panel/datetime.js +1 -1
- package/lib/date-picker/src/panel/datetimerange.d.ts +11 -9
- package/lib/date-picker/src/panel/datetimerange.js +2 -2
- package/lib/date-picker/src/panel/month.d.ts +17 -20
- package/lib/date-picker/src/panel/month.js +23 -12
- package/lib/date-picker/src/panel/use-calendar.d.ts +13 -39
- package/lib/date-picker/src/panel/use-calendar.js +40 -21
- package/lib/date-picker/src/panel/use-dual-calendar.d.ts +9 -36
- package/lib/date-picker/src/panel/use-dual-calendar.js +34 -19
- package/lib/date-picker/src/panel/use-panel-common.d.ts +9 -32
- package/lib/date-picker/src/panel/use-panel-common.js +5 -8
- package/lib/date-picker/src/styles/index.cssr.js +115 -115
- 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 +4 -0
- package/lib/descriptions/src/Descriptions.d.ts +18 -18
- package/lib/descriptions/src/Descriptions.js +19 -20
- package/lib/descriptions/src/styles/index.cssr.js +61 -61
- package/lib/dialog/src/Dialog.d.ts +24 -24
- package/lib/dialog/src/Dialog.js +22 -22
- package/lib/dialog/src/DialogEnvironment.d.ts +2 -2
- package/lib/dialog/src/DialogProvider.d.ts +1 -1
- package/lib/dialog/src/styles/index.cssr.js +45 -45
- package/lib/divider/src/Divider.d.ts +4 -4
- package/lib/divider/src/Divider.js +4 -4
- package/lib/divider/src/styles/index.cssr.js +12 -12
- package/lib/drawer/src/Drawer.d.ts +19 -19
- package/lib/drawer/src/Drawer.js +19 -19
- package/lib/drawer/src/styles/index.cssr.js +41 -40
- package/lib/dropdown/src/Dropdown.js +34 -32
- package/lib/dropdown/src/styles/index.cssr.js +59 -59
- package/lib/dynamic-tags/src/DynamicTags.d.ts +1 -1
- package/lib/dynamic-tags/src/DynamicTags.js +1 -1
- package/lib/dynamic-tags/src/styles/index.cssr.js +1 -1
- package/lib/empty/src/Empty.d.ts +19 -15
- package/lib/empty/src/Empty.js +12 -12
- package/lib/empty/src/styles/index.cssr.js +19 -18
- package/lib/form/src/Form.d.ts +27 -27
- package/lib/form/src/FormItem.d.ts +42 -42
- package/lib/form/src/FormItem.js +15 -15
- package/lib/form/src/FormItemCol.d.ts +33 -27
- package/lib/form/src/FormItemCol.js +1 -0
- package/lib/form/src/FormItemGridItem.d.ts +33 -27
- package/lib/form/src/FormItemGridItem.js +1 -0
- package/lib/form/src/FormItemRow.d.ts +33 -27
- package/lib/form/src/FormItemRow.js +1 -0
- package/lib/form/src/styles/form-item.cssr.js +37 -37
- package/lib/form/styles/_common.d.ts +0 -3
- package/lib/form/styles/_common.js +0 -3
- package/lib/form/styles/light.d.ts +3 -3
- package/lib/form/styles/light.js +2 -2
- package/lib/gradient-text/src/GradientText.d.ts +5 -5
- package/lib/gradient-text/src/GradientText.js +5 -5
- package/lib/gradient-text/src/styles/index.cssr.js +9 -9
- package/lib/icon/src/Icon.d.ts +6 -6
- package/lib/icon/src/Icon.js +4 -4
- package/lib/icon/src/styles/index.cssr.js +7 -7
- package/lib/image/src/Image.js +7 -11
- package/lib/image/src/ImagePreview.d.ts +2 -2
- package/lib/image/src/ImagePreview.js +12 -11
- package/lib/image/src/styles/index.cssr.js +5 -5
- package/lib/input/src/Input.d.ts +52 -47
- package/lib/input/src/Input.js +54 -49
- package/lib/input/src/InputGroupLabel.d.ts +8 -8
- package/lib/input/src/InputGroupLabel.js +8 -8
- package/lib/input/src/styles/input-group-label.cssr.js +18 -18
- package/lib/input/src/styles/input.cssr.js +108 -109
- package/lib/input-number/src/InputNumber.d.ts +11 -0
- package/lib/input-number/src/InputNumber.js +5 -2
- package/lib/input-number/src/utils.js +2 -1
- package/lib/layout/src/Layout.d.ts +6 -6
- package/lib/layout/src/Layout.js +3 -3
- package/lib/layout/src/LayoutContent.d.ts +3 -3
- package/lib/layout/src/LayoutFooter.js +7 -7
- package/lib/layout/src/LayoutHeader.js +7 -7
- package/lib/layout/src/LayoutSider.js +13 -13
- package/lib/layout/src/styles/layout-footer.cssr.js +11 -11
- package/lib/layout/src/styles/layout-header.cssr.js +11 -11
- package/lib/layout/src/styles/layout-sider.cssr.js +32 -32
- package/lib/layout/src/styles/layout.cssr.js +8 -8
- package/lib/list/src/List.d.ts +10 -10
- package/lib/list/src/List.js +10 -10
- package/lib/list/src/styles/index.cssr.js +30 -30
- package/lib/loading-bar/src/LoadingBar.d.ts +3 -3
- package/lib/loading-bar/src/LoadingBar.js +3 -3
- package/lib/loading-bar/src/styles/index.cssr.js +7 -7
- package/lib/locales/common/deDE.js +2 -0
- package/lib/locales/common/enUS.d.ts +2 -0
- package/lib/locales/common/enUS.js +2 -0
- package/lib/locales/common/frFR.js +7 -5
- package/lib/locales/common/idID.js +2 -0
- package/lib/locales/common/jaJP.js +2 -0
- package/lib/locales/common/nbNO.js +2 -0
- package/lib/locales/common/ruRU.js +2 -0
- package/lib/locales/common/ukUA.js +2 -0
- package/lib/locales/common/zhCN.js +2 -0
- package/lib/locales/common/zhTW.d.ts +3 -0
- package/lib/locales/common/zhTW.js +102 -0
- package/lib/locales/date/zhTW.d.ts +3 -0
- package/lib/locales/date/zhTW.js +11 -0
- package/lib/locales/index.d.ts +2 -0
- package/lib/locales/index.js +5 -1
- package/lib/log/src/Log.d.ts +6 -6
- package/lib/log/src/Log.js +6 -6
- package/lib/log/src/styles/index.cssr.js +16 -18
- package/lib/mention/src/Mention.d.ts +1 -1
- package/lib/mention/src/Mention.js +1 -1
- package/lib/mention/src/styles/index.cssr.js +2 -2
- package/lib/menu/src/Menu.js +43 -40
- package/lib/menu/src/styles/index.cssr.js +71 -71
- package/lib/message/src/Message.d.ts +22 -22
- package/lib/message/src/Message.js +22 -22
- package/lib/message/src/styles/index.cssr.js +48 -48
- package/lib/modal/src/BodyWrapper.d.ts +11 -2
- package/lib/modal/src/BodyWrapper.js +23 -17
- package/lib/modal/src/Modal.d.ts +14 -8
- package/lib/modal/src/Modal.js +13 -7
- package/lib/modal/src/presetProps.d.ts +2 -1
- package/lib/modal/src/styles/index.cssr.js +8 -8
- package/lib/notification/src/Notification.d.ts +24 -24
- package/lib/notification/src/Notification.js +24 -24
- package/lib/notification/src/styles/index.cssr.js +65 -65
- package/lib/number-animation/index.d.ts +3 -0
- package/lib/number-animation/index.js +8 -0
- package/lib/number-animation/src/NumberAnimation.d.ts +79 -0
- package/lib/number-animation/src/NumberAnimation.js +83 -0
- package/lib/number-animation/src/utils.d.ts +8 -0
- package/lib/number-animation/src/utils.js +21 -0
- package/lib/page-header/src/PageHeader.d.ts +10 -10
- package/lib/page-header/src/PageHeader.js +13 -13
- package/lib/page-header/src/styles/index.cssr.js +25 -27
- package/lib/pagination/src/Pagination.d.ts +42 -41
- package/lib/pagination/src/Pagination.js +52 -45
- package/lib/pagination/src/styles/index.cssr.js +81 -81
- package/lib/popconfirm/src/Popconfirm.d.ts +2 -2
- package/lib/popconfirm/src/PopconfirmPanel.d.ts +4 -4
- package/lib/popconfirm/src/PopconfirmPanel.js +4 -4
- package/lib/popconfirm/src/styles/index.cssr.js +8 -8
- package/lib/popover/src/Popover.js +4 -1
- package/lib/popover/src/PopoverBody.js +18 -18
- package/lib/popover/src/styles/index.cssr.js +62 -62
- 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/progress/src/Progress.d.ts +14 -14
- package/lib/progress/src/Progress.js +14 -14
- package/lib/progress/src/styles/index.cssr.js +53 -53
- package/lib/radio/src/Radio.d.ts +15 -15
- package/lib/radio/src/Radio.js +18 -18
- package/lib/radio/src/RadioButton.js +4 -5
- package/lib/radio/src/RadioGroup.d.ts +14 -14
- package/lib/radio/src/RadioGroup.js +14 -14
- package/lib/radio/src/styles/radio-group.cssr.js +51 -47
- package/lib/radio/src/styles/radio.cssr.js +44 -40
- package/lib/radio/src/use-radio.d.ts +0 -3
- package/lib/radio/src/use-radio.js +1 -26
- package/lib/rate/src/Rate.d.ts +4 -4
- package/lib/rate/src/Rate.js +4 -4
- package/lib/rate/src/styles/index.cssr.js +11 -11
- package/lib/result/src/Result.d.ts +9 -9
- package/lib/result/src/Result.js +9 -9
- package/lib/result/src/styles/index.cssr.js +20 -20
- package/lib/select/src/Select.d.ts +1 -1
- package/lib/select/src/Select.js +1 -1
- package/lib/select/src/styles/index.cssr.js +2 -2
- package/lib/skeleton/src/Skeleton.d.ts +3 -3
- package/lib/skeleton/src/Skeleton.js +3 -3
- package/lib/skeleton/src/styles/index.cssr.js +12 -12
- package/lib/slider/src/Slider.d.ts +29 -29
- package/lib/slider/src/Slider.js +29 -29
- package/lib/slider/src/styles/index.cssr.js +87 -87
- package/lib/spin/src/Spin.d.ts +5 -5
- package/lib/spin/src/Spin.js +5 -5
- package/lib/spin/src/styles/index.cssr.js +15 -15
- package/lib/statistic/src/Statistic.d.ts +25 -45
- package/lib/statistic/src/Statistic.js +12 -19
- package/lib/statistic/src/styles/index.cssr.js +19 -19
- package/lib/steps/src/Step.d.ts +12 -12
- package/lib/steps/src/Step.js +12 -12
- package/lib/steps/src/styles/index.cssr.js +46 -46
- package/lib/switch/src/Switch.d.ts +19 -19
- package/lib/switch/src/Switch.js +26 -19
- package/lib/switch/src/styles/index.cssr.js +59 -57
- package/lib/table/src/Table.d.ts +21 -21
- package/lib/table/src/Table.js +21 -21
- package/lib/table/src/styles/index.cssr.js +55 -55
- package/lib/tabs/src/styles/index.cssr.js +5 -1
- package/lib/tabs/styles/light.js +1 -1
- package/lib/tag/src/Tag.d.ts +27 -26
- package/lib/tag/src/Tag.js +27 -26
- package/lib/tag/src/styles/index.cssr.js +55 -55
- package/lib/tag/src/styles/rtl.cssr.js +1 -1
- package/lib/thing/src/Thing.js +5 -5
- package/lib/thing/src/styles/index.cssr.js +11 -11
- package/lib/time-picker/src/TimePicker.d.ts +19 -19
- package/lib/time-picker/src/TimePicker.js +17 -17
- package/lib/time-picker/src/styles/index.cssr.js +47 -47
- package/lib/timeline/src/TimelineItem.d.ts +12 -12
- package/lib/timeline/src/TimelineItem.js +12 -12
- package/lib/timeline/src/styles/index.cssr.js +44 -44
- package/lib/transfer/src/Transfer.d.ts +21 -21
- package/lib/transfer/src/Transfer.js +21 -21
- package/lib/transfer/src/TransferList.js +5 -7
- package/lib/transfer/src/styles/index.cssr.js +47 -42
- package/lib/tree/src/Tree.d.ts +11 -11
- package/lib/tree/src/Tree.js +11 -11
- package/lib/tree/src/dnd.js +2 -2
- package/lib/tree/src/styles/index.cssr.js +33 -33
- package/lib/tree-select/src/TreeSelect.d.ts +43 -6
- package/lib/tree-select/src/TreeSelect.js +28 -13
- package/lib/tree-select/src/styles/index.cssr.js +20 -11
- package/lib/tree-select/styles/light.d.ts +6 -0
- package/lib/tree-select/styles/light.js +5 -2
- package/lib/typography/src/a.d.ts +2 -2
- package/lib/typography/src/a.js +2 -2
- package/lib/typography/src/blockquote.d.ts +5 -5
- package/lib/typography/src/blockquote.js +5 -5
- package/lib/typography/src/create-header.d.ts +8 -8
- package/lib/typography/src/create-header.js +8 -8
- package/lib/typography/src/headers.d.ts +48 -48
- package/lib/typography/src/hr.d.ts +2 -1
- package/lib/typography/src/hr.js +3 -1
- package/lib/typography/src/ol.d.ts +7 -7
- package/lib/typography/src/ol.js +7 -7
- package/lib/typography/src/p.d.ts +5 -5
- package/lib/typography/src/p.js +5 -5
- package/lib/typography/src/styles/a.cssr.js +6 -6
- package/lib/typography/src/styles/blockquote.cssr.js +11 -11
- package/lib/typography/src/styles/header.cssr.js +19 -19
- package/lib/typography/src/styles/hr.cssr.js +3 -3
- package/lib/typography/src/styles/list.cssr.js +15 -15
- package/lib/typography/src/styles/p.cssr.js +10 -10
- package/lib/typography/src/styles/text.cssr.js +18 -18
- package/lib/typography/src/text.d.ts +8 -7
- package/lib/typography/src/text.js +9 -8
- package/lib/typography/src/ul.d.ts +7 -7
- package/lib/typography/src/ul.js +7 -7
- package/lib/upload/src/Upload.d.ts +1 -1
- package/lib/upload/src/Upload.js +16 -16
- package/lib/upload/src/styles/index.cssr.js +36 -36
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +38 -36
- package/web-types.json +252 -11
|
@@ -206,14 +206,14 @@ export declare const NH1: import("vue").DefineComponent<{
|
|
|
206
206
|
}, {
|
|
207
207
|
mergedClsPrefix: import("vue").ComputedRef<string>;
|
|
208
208
|
cssVars: import("vue").ComputedRef<{
|
|
209
|
-
'--bezier': string;
|
|
210
|
-
'--font-size': string;
|
|
211
|
-
'--margin': string;
|
|
212
|
-
'--bar-color': string;
|
|
213
|
-
'--bar-width': string;
|
|
214
|
-
'--font-weight': string;
|
|
215
|
-
'--text-color': string;
|
|
216
|
-
'--prefix-width': string;
|
|
209
|
+
'--n-bezier': string;
|
|
210
|
+
'--n-font-size': string;
|
|
211
|
+
'--n-margin': string;
|
|
212
|
+
'--n-bar-color': string;
|
|
213
|
+
'--n-bar-width': string;
|
|
214
|
+
'--n-font-weight': string;
|
|
215
|
+
'--n-text-color': string;
|
|
216
|
+
'--n-prefix-width': string;
|
|
217
217
|
}>;
|
|
218
218
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
219
219
|
readonly type?: unknown;
|
|
@@ -637,14 +637,14 @@ export declare const NH2: import("vue").DefineComponent<{
|
|
|
637
637
|
}, {
|
|
638
638
|
mergedClsPrefix: import("vue").ComputedRef<string>;
|
|
639
639
|
cssVars: import("vue").ComputedRef<{
|
|
640
|
-
'--bezier': string;
|
|
641
|
-
'--font-size': string;
|
|
642
|
-
'--margin': string;
|
|
643
|
-
'--bar-color': string;
|
|
644
|
-
'--bar-width': string;
|
|
645
|
-
'--font-weight': string;
|
|
646
|
-
'--text-color': string;
|
|
647
|
-
'--prefix-width': string;
|
|
640
|
+
'--n-bezier': string;
|
|
641
|
+
'--n-font-size': string;
|
|
642
|
+
'--n-margin': string;
|
|
643
|
+
'--n-bar-color': string;
|
|
644
|
+
'--n-bar-width': string;
|
|
645
|
+
'--n-font-weight': string;
|
|
646
|
+
'--n-text-color': string;
|
|
647
|
+
'--n-prefix-width': string;
|
|
648
648
|
}>;
|
|
649
649
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
650
650
|
readonly type?: unknown;
|
|
@@ -1068,14 +1068,14 @@ export declare const NH3: import("vue").DefineComponent<{
|
|
|
1068
1068
|
}, {
|
|
1069
1069
|
mergedClsPrefix: import("vue").ComputedRef<string>;
|
|
1070
1070
|
cssVars: import("vue").ComputedRef<{
|
|
1071
|
-
'--bezier': string;
|
|
1072
|
-
'--font-size': string;
|
|
1073
|
-
'--margin': string;
|
|
1074
|
-
'--bar-color': string;
|
|
1075
|
-
'--bar-width': string;
|
|
1076
|
-
'--font-weight': string;
|
|
1077
|
-
'--text-color': string;
|
|
1078
|
-
'--prefix-width': string;
|
|
1071
|
+
'--n-bezier': string;
|
|
1072
|
+
'--n-font-size': string;
|
|
1073
|
+
'--n-margin': string;
|
|
1074
|
+
'--n-bar-color': string;
|
|
1075
|
+
'--n-bar-width': string;
|
|
1076
|
+
'--n-font-weight': string;
|
|
1077
|
+
'--n-text-color': string;
|
|
1078
|
+
'--n-prefix-width': string;
|
|
1079
1079
|
}>;
|
|
1080
1080
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
1081
1081
|
readonly type?: unknown;
|
|
@@ -1499,14 +1499,14 @@ export declare const NH4: import("vue").DefineComponent<{
|
|
|
1499
1499
|
}, {
|
|
1500
1500
|
mergedClsPrefix: import("vue").ComputedRef<string>;
|
|
1501
1501
|
cssVars: import("vue").ComputedRef<{
|
|
1502
|
-
'--bezier': string;
|
|
1503
|
-
'--font-size': string;
|
|
1504
|
-
'--margin': string;
|
|
1505
|
-
'--bar-color': string;
|
|
1506
|
-
'--bar-width': string;
|
|
1507
|
-
'--font-weight': string;
|
|
1508
|
-
'--text-color': string;
|
|
1509
|
-
'--prefix-width': string;
|
|
1502
|
+
'--n-bezier': string;
|
|
1503
|
+
'--n-font-size': string;
|
|
1504
|
+
'--n-margin': string;
|
|
1505
|
+
'--n-bar-color': string;
|
|
1506
|
+
'--n-bar-width': string;
|
|
1507
|
+
'--n-font-weight': string;
|
|
1508
|
+
'--n-text-color': string;
|
|
1509
|
+
'--n-prefix-width': string;
|
|
1510
1510
|
}>;
|
|
1511
1511
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
1512
1512
|
readonly type?: unknown;
|
|
@@ -1930,14 +1930,14 @@ export declare const NH5: import("vue").DefineComponent<{
|
|
|
1930
1930
|
}, {
|
|
1931
1931
|
mergedClsPrefix: import("vue").ComputedRef<string>;
|
|
1932
1932
|
cssVars: import("vue").ComputedRef<{
|
|
1933
|
-
'--bezier': string;
|
|
1934
|
-
'--font-size': string;
|
|
1935
|
-
'--margin': string;
|
|
1936
|
-
'--bar-color': string;
|
|
1937
|
-
'--bar-width': string;
|
|
1938
|
-
'--font-weight': string;
|
|
1939
|
-
'--text-color': string;
|
|
1940
|
-
'--prefix-width': string;
|
|
1933
|
+
'--n-bezier': string;
|
|
1934
|
+
'--n-font-size': string;
|
|
1935
|
+
'--n-margin': string;
|
|
1936
|
+
'--n-bar-color': string;
|
|
1937
|
+
'--n-bar-width': string;
|
|
1938
|
+
'--n-font-weight': string;
|
|
1939
|
+
'--n-text-color': string;
|
|
1940
|
+
'--n-prefix-width': string;
|
|
1941
1941
|
}>;
|
|
1942
1942
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
1943
1943
|
readonly type?: unknown;
|
|
@@ -2361,14 +2361,14 @@ export declare const NH6: import("vue").DefineComponent<{
|
|
|
2361
2361
|
}, {
|
|
2362
2362
|
mergedClsPrefix: import("vue").ComputedRef<string>;
|
|
2363
2363
|
cssVars: import("vue").ComputedRef<{
|
|
2364
|
-
'--bezier': string;
|
|
2365
|
-
'--font-size': string;
|
|
2366
|
-
'--margin': string;
|
|
2367
|
-
'--bar-color': string;
|
|
2368
|
-
'--bar-width': string;
|
|
2369
|
-
'--font-weight': string;
|
|
2370
|
-
'--text-color': string;
|
|
2371
|
-
'--prefix-width': string;
|
|
2364
|
+
'--n-bezier': string;
|
|
2365
|
+
'--n-font-size': string;
|
|
2366
|
+
'--n-margin': string;
|
|
2367
|
+
'--n-bar-color': string;
|
|
2368
|
+
'--n-bar-width': string;
|
|
2369
|
+
'--n-font-weight': string;
|
|
2370
|
+
'--n-text-color': string;
|
|
2371
|
+
'--n-prefix-width': string;
|
|
2372
2372
|
}>;
|
|
2373
2373
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
2374
2374
|
readonly type?: unknown;
|
|
@@ -200,7 +200,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
200
200
|
}, {
|
|
201
201
|
mergedClsPrefix: import("vue").ComputedRef<string>;
|
|
202
202
|
cssVars: import("vue").ComputedRef<{
|
|
203
|
-
'--
|
|
203
|
+
'--n-bezier': string;
|
|
204
|
+
'--n-color': string;
|
|
204
205
|
}>;
|
|
205
206
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
206
207
|
theme?: unknown;
|
package/es/typography/src/hr.js
CHANGED
|
@@ -11,8 +11,10 @@ export default defineComponent({
|
|
|
11
11
|
return {
|
|
12
12
|
mergedClsPrefix: mergedClsPrefixRef,
|
|
13
13
|
cssVars: computed(() => {
|
|
14
|
+
const { common: { cubicBezierEaseInOut }, self: { hrColor } } = themeRef.value;
|
|
14
15
|
return {
|
|
15
|
-
'--
|
|
16
|
+
'--n-bezier': cubicBezierEaseInOut,
|
|
17
|
+
'--n-color': hrColor
|
|
16
18
|
};
|
|
17
19
|
})
|
|
18
20
|
};
|
|
@@ -404,13 +404,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
404
404
|
}, {
|
|
405
405
|
mergedClsPrefix: import("vue").ComputedRef<string>;
|
|
406
406
|
cssVars: import("vue").ComputedRef<{
|
|
407
|
-
'--bezier': string;
|
|
408
|
-
'--font-size': string;
|
|
409
|
-
'--line-height': string;
|
|
410
|
-
'--text-color': string;
|
|
411
|
-
'--li-margin': string;
|
|
412
|
-
'--ol-padding': string;
|
|
413
|
-
'--ul-padding': string;
|
|
407
|
+
'--n-bezier': string;
|
|
408
|
+
'--n-font-size': string;
|
|
409
|
+
'--n-line-height': string;
|
|
410
|
+
'--n-text-color': string;
|
|
411
|
+
'--n-li-margin': string;
|
|
412
|
+
'--n-ol-padding': string;
|
|
413
|
+
'--n-ul-padding': string;
|
|
414
414
|
}>;
|
|
415
415
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
416
416
|
alignText?: unknown;
|
package/es/typography/src/ol.js
CHANGED
|
@@ -14,13 +14,13 @@ export default defineComponent({
|
|
|
14
14
|
cssVars: computed(() => {
|
|
15
15
|
const { common: { cubicBezierEaseInOut }, self: { olPadding, ulPadding, liMargin, liTextColor, liLineHeight, liFontSize } } = themeRef.value;
|
|
16
16
|
return {
|
|
17
|
-
'--bezier': cubicBezierEaseInOut,
|
|
18
|
-
'--font-size': liFontSize,
|
|
19
|
-
'--line-height': liLineHeight,
|
|
20
|
-
'--text-color': liTextColor,
|
|
21
|
-
'--li-margin': liMargin,
|
|
22
|
-
'--ol-padding': olPadding,
|
|
23
|
-
'--ul-padding': ulPadding
|
|
17
|
+
'--n-bezier': cubicBezierEaseInOut,
|
|
18
|
+
'--n-font-size': liFontSize,
|
|
19
|
+
'--n-line-height': liLineHeight,
|
|
20
|
+
'--n-text-color': liTextColor,
|
|
21
|
+
'--n-li-margin': liMargin,
|
|
22
|
+
'--n-ol-padding': olPadding,
|
|
23
|
+
'--n-ul-padding': ulPadding
|
|
24
24
|
};
|
|
25
25
|
})
|
|
26
26
|
};
|
package/es/typography/src/p.d.ts
CHANGED
|
@@ -405,11 +405,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
405
405
|
}, {
|
|
406
406
|
mergedClsPrefix: import("vue").ComputedRef<string>;
|
|
407
407
|
cssVars: import("vue").ComputedRef<{
|
|
408
|
-
'--bezier': string;
|
|
409
|
-
'--font-size': string;
|
|
410
|
-
'--line-height': string;
|
|
411
|
-
'--margin': string;
|
|
412
|
-
'--text-color': string;
|
|
408
|
+
'--n-bezier': string;
|
|
409
|
+
'--n-font-size': string;
|
|
410
|
+
'--n-line-height': string;
|
|
411
|
+
'--n-margin': string;
|
|
412
|
+
'--n-text-color': string;
|
|
413
413
|
}>;
|
|
414
414
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
415
415
|
depth?: unknown;
|
package/es/typography/src/p.js
CHANGED
|
@@ -16,11 +16,11 @@ export default defineComponent({
|
|
|
16
16
|
const typeSafeDepth = depth || '1';
|
|
17
17
|
const { common: { cubicBezierEaseInOut }, self: { pFontSize, pLineHeight, pMargin, pTextColor, [`pTextColor${typeSafeDepth}Depth`]: depthTextColor } } = themeRef.value;
|
|
18
18
|
return {
|
|
19
|
-
'--bezier': cubicBezierEaseInOut,
|
|
20
|
-
'--font-size': pFontSize,
|
|
21
|
-
'--line-height': pLineHeight,
|
|
22
|
-
'--margin': pMargin,
|
|
23
|
-
'--text-color': depth === undefined ? pTextColor : depthTextColor
|
|
19
|
+
'--n-bezier': cubicBezierEaseInOut,
|
|
20
|
+
'--n-font-size': pFontSize,
|
|
21
|
+
'--n-line-height': pLineHeight,
|
|
22
|
+
'--n-margin': pMargin,
|
|
23
|
+
'--n-text-color': depth === undefined ? pTextColor : depthTextColor
|
|
24
24
|
};
|
|
25
25
|
})
|
|
26
26
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { cB } from '../../../_utils/cssr'; // vars:
|
|
2
|
-
// --text-color
|
|
3
|
-
// --bezier
|
|
2
|
+
// --n-text-color
|
|
3
|
+
// --n-bezier
|
|
4
4
|
|
|
5
5
|
export default cB('a', `
|
|
6
6
|
cursor: pointer;
|
|
7
7
|
transition:
|
|
8
|
-
color .3s var(--bezier),
|
|
9
|
-
text-decoration-color .3s var(--bezier);
|
|
10
|
-
text-decoration-color: var(--text-color);
|
|
11
|
-
color: var(--text-color);
|
|
8
|
+
color .3s var(--n-bezier),
|
|
9
|
+
text-decoration-color .3s var(--n-bezier);
|
|
10
|
+
text-decoration-color: var(--n-text-color);
|
|
11
|
+
color: var(--n-text-color);
|
|
12
12
|
`);
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { c, cB, cM } from '../../../_utils/cssr'; // vars:
|
|
2
|
-
// --bezier
|
|
3
|
-
// --font-size
|
|
4
|
-
// --line-height
|
|
5
|
-
// --prefix-color
|
|
6
|
-
// --text-color
|
|
2
|
+
// --n-bezier
|
|
3
|
+
// --n-font-size
|
|
4
|
+
// --n-line-height
|
|
5
|
+
// --n-prefix-color
|
|
6
|
+
// --n-text-color
|
|
7
7
|
|
|
8
8
|
export default cB('blockquote', `
|
|
9
|
-
font-size: var(--font-size);
|
|
10
|
-
line-height: var(--line-height);
|
|
9
|
+
font-size: var(--n-font-size);
|
|
10
|
+
line-height: var(--n-line-height);
|
|
11
11
|
margin: 0;
|
|
12
12
|
margin-top: 12px;
|
|
13
13
|
margin-bottom: 12px;
|
|
14
14
|
box-sizing: border-box;
|
|
15
15
|
padding-left: 12px;
|
|
16
|
-
border-left: 4px solid var(--prefix-color);
|
|
17
|
-
color: var(--text-color);
|
|
16
|
+
border-left: 4px solid var(--n-prefix-color);
|
|
17
|
+
color: var(--n-text-color);
|
|
18
18
|
transition:
|
|
19
|
-
color .3s var(--bezier),
|
|
20
|
-
border-color .3s var(--bezier);
|
|
19
|
+
color .3s var(--n-bezier),
|
|
20
|
+
border-color .3s var(--n-bezier);
|
|
21
21
|
`, [c('&:first-child', {
|
|
22
22
|
marginTop: 0
|
|
23
23
|
}), c('&:last-child', {
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import { c, cB, cM } from '../../../_utils/cssr'; // vars:
|
|
2
|
-
// --bezier
|
|
3
|
-
// --font-size
|
|
4
|
-
// --margin
|
|
5
|
-
// --bar-color
|
|
6
|
-
// --bar-width
|
|
7
|
-
// --font-weight
|
|
8
|
-
// --text-color
|
|
9
|
-
// --prefix-width
|
|
2
|
+
// --n-bezier
|
|
3
|
+
// --n-font-size
|
|
4
|
+
// --n-margin
|
|
5
|
+
// --n-bar-color
|
|
6
|
+
// --n-bar-width
|
|
7
|
+
// --n-font-weight
|
|
8
|
+
// --n-text-color
|
|
9
|
+
// --n-prefix-width
|
|
10
10
|
|
|
11
11
|
export default cB('h', `
|
|
12
|
-
font-size: var(--font-size);
|
|
13
|
-
font-weight: var(--font-weight);
|
|
14
|
-
margin: var(--margin);
|
|
15
|
-
transition: color .3s var(--bezier);
|
|
16
|
-
color: var(--text-color);
|
|
12
|
+
font-size: var(--n-font-size);
|
|
13
|
+
font-weight: var(--n-font-weight);
|
|
14
|
+
margin: var(--n-margin);
|
|
15
|
+
transition: color .3s var(--n-bezier);
|
|
16
|
+
color: var(--n-text-color);
|
|
17
17
|
`, [c('&:first-child', {
|
|
18
18
|
marginTop: 0
|
|
19
19
|
}), cM('prefix-bar', {
|
|
20
20
|
position: 'relative',
|
|
21
|
-
paddingLeft: 'var(--prefix-width)'
|
|
21
|
+
paddingLeft: 'var(--n-prefix-width)'
|
|
22
22
|
}, [cM('align-text', {
|
|
23
23
|
paddingLeft: 0
|
|
24
24
|
}, [c('&::before', {
|
|
25
|
-
left: 'calc(-1 * var(--prefix-width))'
|
|
25
|
+
left: 'calc(-1 * var(--n-prefix-width))'
|
|
26
26
|
})]), c('&::before', `
|
|
27
27
|
content: "";
|
|
28
|
-
width: var(--bar-width);
|
|
29
|
-
border-radius: calc(var(--bar-width) / 2);
|
|
30
|
-
transition: background-color .3s var(--bezier);
|
|
28
|
+
width: var(--n-bar-width);
|
|
29
|
+
border-radius: calc(var(--n-bar-width) / 2);
|
|
30
|
+
transition: background-color .3s var(--n-bezier);
|
|
31
31
|
left: 0;
|
|
32
32
|
top: 0;
|
|
33
33
|
bottom: 0;
|
|
34
34
|
position: absolute;
|
|
35
35
|
`), c('&::before', {
|
|
36
|
-
backgroundColor: 'var(--bar-color)'
|
|
36
|
+
backgroundColor: 'var(--n-bar-color)'
|
|
37
37
|
})])]);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { cB } from '../../../_utils/cssr'; // vars:
|
|
2
|
-
// --color
|
|
2
|
+
// --n-color
|
|
3
3
|
|
|
4
4
|
export default cB('hr', `
|
|
5
5
|
margin: 12px 0;
|
|
6
|
-
transition: border-color .3s var(--bezier);
|
|
6
|
+
transition: border-color .3s var(--n-bezier);
|
|
7
7
|
border-left: none;
|
|
8
8
|
border-right: none;
|
|
9
9
|
border-bottom: none;
|
|
10
|
-
border-top: 1px solid var(--color);
|
|
10
|
+
border-top: 1px solid var(--n-color);
|
|
11
11
|
`);
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { c, cB, cM } from '../../../_utils/cssr';
|
|
2
2
|
const liStyle = c('li', {
|
|
3
|
-
transition: 'color .3s var(--bezier)',
|
|
4
|
-
lineHeight: 'var(--line-height)',
|
|
5
|
-
margin: 'var(--li-margin)',
|
|
3
|
+
transition: 'color .3s var(--n-bezier)',
|
|
4
|
+
lineHeight: 'var(--n-line-height)',
|
|
5
|
+
margin: 'var(--n-li-margin)',
|
|
6
6
|
marginBottom: 0,
|
|
7
|
-
color: 'var(--text-color)'
|
|
7
|
+
color: 'var(--n-text-color)'
|
|
8
8
|
});
|
|
9
9
|
const childStyle = [c('&:first-child', `
|
|
10
10
|
margin-top: 0;
|
|
11
11
|
`), c('&:last-child', `
|
|
12
12
|
margin-bottom: 0;
|
|
13
13
|
`)]; // vars:
|
|
14
|
-
// --bezier
|
|
15
|
-
// --font-size
|
|
16
|
-
// --line-height
|
|
17
|
-
// --text-color
|
|
18
|
-
// --li-margin
|
|
19
|
-
// --ol-padding
|
|
20
|
-
// --ul-padding
|
|
14
|
+
// --n-bezier
|
|
15
|
+
// --n-font-size
|
|
16
|
+
// --n-line-height
|
|
17
|
+
// --n-text-color
|
|
18
|
+
// --n-li-margin
|
|
19
|
+
// --n-ol-padding
|
|
20
|
+
// --n-ul-padding
|
|
21
21
|
|
|
22
22
|
export default c([cB('ol', {
|
|
23
|
-
fontSize: 'var(--font-size)',
|
|
24
|
-
padding: 'var(--ol-padding)'
|
|
23
|
+
fontSize: 'var(--n-font-size)',
|
|
24
|
+
padding: 'var(--n-ol-padding)'
|
|
25
25
|
}, [cM('align-text', {
|
|
26
26
|
paddingLeft: 0
|
|
27
27
|
}), liStyle, childStyle]), cB('ul', {
|
|
28
|
-
fontSize: 'var(--font-size)',
|
|
29
|
-
padding: 'var(--ul-padding)'
|
|
28
|
+
fontSize: 'var(--n-font-size)',
|
|
29
|
+
padding: 'var(--n-ul-padding)'
|
|
30
30
|
}, [cM('align-text', {
|
|
31
31
|
paddingLeft: 0
|
|
32
32
|
}), liStyle, childStyle])]);
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { c, cB } from '../../../_utils/cssr'; // vars:
|
|
2
|
-
// --bezier
|
|
3
|
-
// --font-size
|
|
4
|
-
// --line-height
|
|
5
|
-
// --margin
|
|
6
|
-
// --text-color
|
|
2
|
+
// --n-bezier
|
|
3
|
+
// --n-font-size
|
|
4
|
+
// --n-line-height
|
|
5
|
+
// --n-margin
|
|
6
|
+
// --n-text-color
|
|
7
7
|
|
|
8
8
|
export default cB('p', `
|
|
9
9
|
box-sizing: border-box;
|
|
10
|
-
transition: color .3s var(--bezier);
|
|
11
|
-
margin: var(--margin);
|
|
12
|
-
font-size: var(--font-size);
|
|
13
|
-
line-height: var(--line-height);
|
|
14
|
-
color: var(--text-color);
|
|
10
|
+
transition: color .3s var(--n-bezier);
|
|
11
|
+
margin: var(--n-margin);
|
|
12
|
+
font-size: var(--n-font-size);
|
|
13
|
+
line-height: var(--n-line-height);
|
|
14
|
+
color: var(--n-text-color);
|
|
15
15
|
`, [c('&:first-child', 'margin-top: 0;'), c('&:last-child', 'margin-bottom: 0;')]);
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { cB, cM } from '../../../_utils/cssr'; // vars:
|
|
2
|
-
// --text-color
|
|
3
|
-
// --font-weight-strong
|
|
4
|
-
// --font-famliy-mono
|
|
5
|
-
// --code-border-radius
|
|
6
|
-
// --code-text-color
|
|
7
|
-
// --code-color
|
|
8
|
-
// --code-border
|
|
2
|
+
// --n-text-color
|
|
3
|
+
// --n-font-weight-strong
|
|
4
|
+
// --n-font-famliy-mono
|
|
5
|
+
// --n-code-border-radius
|
|
6
|
+
// --n-code-text-color
|
|
7
|
+
// --n-code-color
|
|
8
|
+
// --n-code-border
|
|
9
9
|
|
|
10
10
|
export default cB('text', `
|
|
11
|
-
transition: color .3s var(--bezier);
|
|
12
|
-
color: var(--text-color);
|
|
11
|
+
transition: color .3s var(--n-bezier);
|
|
12
|
+
color: var(--n-text-color);
|
|
13
13
|
`, [cM('strong', `
|
|
14
|
-
font-weight: var(--font-weight-strong);
|
|
14
|
+
font-weight: var(--n-font-weight-strong);
|
|
15
15
|
`), cM('italic', {
|
|
16
16
|
fontStyle: 'italic'
|
|
17
17
|
}), cM('underline', {
|
|
@@ -19,16 +19,16 @@ export default cB('text', `
|
|
|
19
19
|
}), cM('code', `
|
|
20
20
|
line-height: 1.4;
|
|
21
21
|
display: inline-block;
|
|
22
|
-
font-family: var(--font-famliy-mono);
|
|
22
|
+
font-family: var(--n-font-famliy-mono);
|
|
23
23
|
transition:
|
|
24
|
-
color .3s var(--bezier),
|
|
25
|
-
border-color .3s var(--bezier),
|
|
26
|
-
background-color .3s var(--bezier);
|
|
24
|
+
color .3s var(--n-bezier),
|
|
25
|
+
border-color .3s var(--n-bezier),
|
|
26
|
+
background-color .3s var(--n-bezier);
|
|
27
27
|
box-sizing: border-box;
|
|
28
28
|
padding: .05em .35em 0 .35em;
|
|
29
|
-
border-radius: var(--code-border-radius);
|
|
29
|
+
border-radius: var(--n-code-border-radius);
|
|
30
30
|
font-size: .9em;
|
|
31
|
-
color: var(--code-text-color);
|
|
32
|
-
background-color: var(--code-color);
|
|
33
|
-
border: var(--code-border);
|
|
31
|
+
color: var(--n-code-text-color);
|
|
32
|
+
background-color: var(--n-code-color);
|
|
33
|
+
border: var(--n-code-border);
|
|
34
34
|
`)]);
|
|
@@ -436,13 +436,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
436
436
|
mergedClsPrefix: import("vue").ComputedRef<string>;
|
|
437
437
|
compitableTag: import("vue").ComputedRef<string | undefined>;
|
|
438
438
|
cssVars: import("vue").ComputedRef<{
|
|
439
|
-
'--
|
|
440
|
-
'--
|
|
441
|
-
'--font-
|
|
442
|
-
'--
|
|
443
|
-
'--code-
|
|
444
|
-
'--code-color': string;
|
|
445
|
-
'--code-
|
|
439
|
+
'--n-bezier': string;
|
|
440
|
+
'--n-text-color': string;
|
|
441
|
+
'--n-font-weight-strong': string;
|
|
442
|
+
'--n-font-famliy-mono': string;
|
|
443
|
+
'--n-code-border-radius': string;
|
|
444
|
+
'--n-code-text-color': string;
|
|
445
|
+
'--n-code-color': string;
|
|
446
|
+
'--n-code-border': string;
|
|
446
447
|
}>;
|
|
447
448
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
448
449
|
readonly code?: unknown;
|
|
@@ -35,15 +35,16 @@ export default defineComponent({
|
|
|
35
35
|
? 'textColor'
|
|
36
36
|
: `textColor${depth}Depth`
|
|
37
37
|
: createKey('textColor', type);
|
|
38
|
-
const { common: { fontWeightStrong, fontFamilyMono }, self: { codeTextColor, codeBorderRadius, codeColor, codeBorder, [textColorKey]: textColor } } = themeRef.value;
|
|
38
|
+
const { common: { fontWeightStrong, fontFamilyMono, cubicBezierEaseInOut }, self: { codeTextColor, codeBorderRadius, codeColor, codeBorder, [textColorKey]: textColor } } = themeRef.value;
|
|
39
39
|
return {
|
|
40
|
-
'--
|
|
41
|
-
'--
|
|
42
|
-
'--font-
|
|
43
|
-
'--
|
|
44
|
-
'--code-
|
|
45
|
-
'--code-color':
|
|
46
|
-
'--code-
|
|
40
|
+
'--n-bezier': cubicBezierEaseInOut,
|
|
41
|
+
'--n-text-color': textColor,
|
|
42
|
+
'--n-font-weight-strong': fontWeightStrong,
|
|
43
|
+
'--n-font-famliy-mono': fontFamilyMono,
|
|
44
|
+
'--n-code-border-radius': codeBorderRadius,
|
|
45
|
+
'--n-code-text-color': codeTextColor,
|
|
46
|
+
'--n-code-color': codeColor,
|
|
47
|
+
'--n-code-border': codeBorder
|
|
47
48
|
};
|
|
48
49
|
})
|
|
49
50
|
};
|
|
@@ -404,13 +404,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
404
404
|
}, {
|
|
405
405
|
mergedClsPrefix: import("vue").ComputedRef<string>;
|
|
406
406
|
cssVars: import("vue").ComputedRef<{
|
|
407
|
-
'--bezier': string;
|
|
408
|
-
'--font-size': string;
|
|
409
|
-
'--line-height': string;
|
|
410
|
-
'--text-color': string;
|
|
411
|
-
'--li-margin': string;
|
|
412
|
-
'--ol-padding': string;
|
|
413
|
-
'--ul-padding': string;
|
|
407
|
+
'--n-bezier': string;
|
|
408
|
+
'--n-font-size': string;
|
|
409
|
+
'--n-line-height': string;
|
|
410
|
+
'--n-text-color': string;
|
|
411
|
+
'--n-li-margin': string;
|
|
412
|
+
'--n-ol-padding': string;
|
|
413
|
+
'--n-ul-padding': string;
|
|
414
414
|
}>;
|
|
415
415
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
416
416
|
readonly alignText?: unknown;
|
package/es/typography/src/ul.js
CHANGED
|
@@ -14,13 +14,13 @@ export default defineComponent({
|
|
|
14
14
|
cssVars: computed(() => {
|
|
15
15
|
const { common: { cubicBezierEaseInOut }, self: { olPadding, ulPadding, liMargin, liTextColor, liLineHeight, liFontSize } } = themeRef.value;
|
|
16
16
|
return {
|
|
17
|
-
'--bezier': cubicBezierEaseInOut,
|
|
18
|
-
'--font-size': liFontSize,
|
|
19
|
-
'--line-height': liLineHeight,
|
|
20
|
-
'--text-color': liTextColor,
|
|
21
|
-
'--li-margin': liMargin,
|
|
22
|
-
'--ol-padding': olPadding,
|
|
23
|
-
'--ul-padding': ulPadding
|
|
17
|
+
'--n-bezier': cubicBezierEaseInOut,
|
|
18
|
+
'--n-font-size': liFontSize,
|
|
19
|
+
'--n-line-height': liLineHeight,
|
|
20
|
+
'--n-text-color': liTextColor,
|
|
21
|
+
'--n-li-margin': liMargin,
|
|
22
|
+
'--n-ol-padding': olPadding,
|
|
23
|
+
'--n-ul-padding': ulPadding
|
|
24
24
|
};
|
|
25
25
|
})
|
|
26
26
|
};
|
|
@@ -2785,9 +2785,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2785
2785
|
lineBgProcessing: string;
|
|
2786
2786
|
}, any>;
|
|
2787
2787
|
}>> | undefined;
|
|
2788
|
+
onFinish?: OnFinish | undefined;
|
|
2788
2789
|
onRemove?: OnRemove | undefined;
|
|
2789
2790
|
customRequest?: CustomRequest | undefined;
|
|
2790
|
-
onFinish?: OnFinish | undefined;
|
|
2791
2791
|
onBeforeUpload?: OnBeforeUpload | undefined;
|
|
2792
2792
|
onDownload?: OnDownload | undefined;
|
|
2793
2793
|
fileList?: FileInfo[] | undefined;
|