naive-ui 2.23.1 → 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 +9 -10
- package/es/_internal/icons/Close.js +1 -1
- package/es/_internal/scrollbar/src/ScrollBar.d.ts +6 -6
- package/es/_internal/scrollbar/src/ScrollBar.js +11 -10
- 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 +44 -44
- package/es/_internal/selection/src/styles/index.cssr.js +78 -78
- 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 +2 -2
- package/es/alert/src/Alert.d.ts +2 -2
- package/es/avatar/index.d.ts +2 -0
- package/es/avatar/index.js +1 -0
- package/es/avatar/src/Avatar.d.ts +67 -28
- package/es/avatar/src/Avatar.js +39 -11
- 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 +8 -3
- package/es/avatar/styles/light.d.ts +3 -0
- package/es/avatar/styles/light.js +6 -2
- 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/calendar/src/Calendar.d.ts +21 -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 +25 -17
- package/es/cascader/src/Cascader.js +30 -20
- package/es/cascader/src/CascaderMenu.js +1 -1
- package/es/cascader/src/styles/index.cssr.js +44 -44
- package/es/cascader/styles/light.js +1 -1
- 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/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 +42 -42
- package/es/data-table/src/TableParts/Body.js +6 -4
- package/es/data-table/src/styles/index.cssr.js +130 -130
- package/es/date-picker/src/DatePicker.d.ts +45 -45
- package/es/date-picker/src/DatePicker.js +45 -45
- package/es/date-picker/src/styles/index.cssr.js +115 -115
- 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 +3 -3
- package/es/dialog/src/Dialog.js +3 -3
- package/es/dialog/src/DialogEnvironment.d.ts +2 -2
- package/es/dialog/src/DialogProvider.d.ts +1 -1
- 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/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/FormItem.d.ts +15 -15
- package/es/form/src/FormItem.js +15 -15
- package/es/form/src/FormItemCol.d.ts +6 -0
- package/es/form/src/FormItemCol.js +1 -0
- package/es/form/src/FormItemGridItem.d.ts +6 -0
- package/es/form/src/FormItemGridItem.js +1 -0
- package/es/form/src/FormItemRow.d.ts +6 -0
- package/es/form/src/FormItemRow.js +1 -0
- package/es/form/src/styles/form-item.cssr.js +37 -37
- 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/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/frFR.js +7 -8
- 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 +10 -10
- package/es/page-header/src/styles/index.cssr.js +23 -23
- 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/PopoverBody.js +15 -15
- package/es/popover/src/styles/index.cssr.js +62 -62
- 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 +15 -15
- 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 +43 -43
- package/es/radio/src/styles/radio.cssr.js +36 -36
- 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/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 +4 -1
- package/es/tabs/styles/light.js +1 -1
- package/es/tag/src/Tag.d.ts +1 -0
- package/es/tag/src/Tag.js +1 -0
- 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 +2 -2
- 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 +38 -38
- package/es/upload/src/Upload.d.ts +1 -1
- 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 +9 -10
- package/lib/_internal/icons/Close.js +1 -1
- package/lib/_internal/scrollbar/src/ScrollBar.d.ts +6 -6
- package/lib/_internal/scrollbar/src/ScrollBar.js +11 -10
- 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 +44 -44
- package/lib/_internal/selection/src/styles/index.cssr.js +78 -78
- 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 +2 -2
- package/lib/alert/src/Alert.d.ts +2 -2
- package/lib/avatar/index.d.ts +2 -0
- package/lib/avatar/index.js +3 -1
- package/lib/avatar/src/Avatar.d.ts +67 -28
- package/lib/avatar/src/Avatar.js +41 -12
- 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 +7 -2
- package/lib/avatar/styles/light.d.ts +3 -0
- package/lib/avatar/styles/light.js +6 -2
- 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/calendar/src/Calendar.d.ts +21 -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 +25 -17
- package/lib/cascader/src/Cascader.js +30 -20
- package/lib/cascader/src/CascaderMenu.js +1 -1
- package/lib/cascader/src/styles/index.cssr.js +44 -44
- package/lib/cascader/styles/light.js +1 -1
- 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/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 +42 -42
- package/lib/data-table/src/TableParts/Body.js +6 -4
- package/lib/data-table/src/styles/index.cssr.js +130 -130
- package/lib/date-picker/src/DatePicker.d.ts +45 -45
- package/lib/date-picker/src/DatePicker.js +45 -45
- package/lib/date-picker/src/styles/index.cssr.js +115 -115
- 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 +3 -3
- package/lib/dialog/src/Dialog.js +3 -3
- package/lib/dialog/src/DialogEnvironment.d.ts +2 -2
- package/lib/dialog/src/DialogProvider.d.ts +1 -1
- 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/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/FormItem.d.ts +15 -15
- package/lib/form/src/FormItem.js +15 -15
- package/lib/form/src/FormItemCol.d.ts +6 -0
- package/lib/form/src/FormItemCol.js +1 -0
- package/lib/form/src/FormItemGridItem.d.ts +6 -0
- package/lib/form/src/FormItemGridItem.js +1 -0
- package/lib/form/src/FormItemRow.d.ts +6 -0
- package/lib/form/src/FormItemRow.js +1 -0
- package/lib/form/src/styles/form-item.cssr.js +37 -37
- 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/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/frFR.js +7 -8
- 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 +10 -10
- package/lib/page-header/src/styles/index.cssr.js +23 -23
- 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/PopoverBody.js +15 -15
- package/lib/popover/src/styles/index.cssr.js +62 -62
- 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 +15 -15
- 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 +43 -43
- package/lib/radio/src/styles/radio.cssr.js +36 -36
- 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/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 +4 -1
- package/lib/tabs/styles/light.js +1 -1
- package/lib/tag/src/Tag.d.ts +1 -0
- package/lib/tag/src/Tag.js +1 -0
- 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 +2 -2
- 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 +38 -38
- package/lib/upload/src/Upload.d.ts +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +11 -10
- package/web-types.json +230 -7
package/lib/input/src/Input.d.ts
CHANGED
|
@@ -85,6 +85,7 @@ declare const inputProps: {
|
|
|
85
85
|
onWrapperBlur: PropType<MaybeArray<(e: FocusEvent) => void>>;
|
|
86
86
|
internalDeactivateOnEnter: BooleanConstructor;
|
|
87
87
|
internalForceFocus: BooleanConstructor;
|
|
88
|
+
internalLoadingBeforeSuffix: BooleanConstructor;
|
|
88
89
|
/** deprecated */
|
|
89
90
|
showPasswordToggle: BooleanConstructor;
|
|
90
91
|
theme: PropType<import("../../_mixins").Theme<"Input", {
|
|
@@ -352,6 +353,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
352
353
|
onWrapperBlur: PropType<MaybeArray<(e: FocusEvent) => void>>;
|
|
353
354
|
internalDeactivateOnEnter: BooleanConstructor;
|
|
354
355
|
internalForceFocus: BooleanConstructor;
|
|
356
|
+
internalLoadingBeforeSuffix: BooleanConstructor;
|
|
355
357
|
/** deprecated */
|
|
356
358
|
showPasswordToggle: BooleanConstructor;
|
|
357
359
|
theme: PropType<import("../../_mixins").Theme<"Input", {
|
|
@@ -746,53 +748,53 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
746
748
|
};
|
|
747
749
|
}>;
|
|
748
750
|
cssVars: import("vue").ComputedRef<{
|
|
749
|
-
'--bezier': string;
|
|
750
|
-
'--count-text-color': string;
|
|
751
|
-
'--color': string;
|
|
752
|
-
'--font-size': string;
|
|
753
|
-
'--border-radius': string;
|
|
754
|
-
'--height': string;
|
|
755
|
-
'--padding-left': string;
|
|
756
|
-
'--padding-right': string;
|
|
757
|
-
'--text-color': string;
|
|
758
|
-
'--caret-color': string;
|
|
759
|
-
'--text-decoration-color': string;
|
|
760
|
-
'--border': string;
|
|
761
|
-
'--border-disabled': string;
|
|
762
|
-
'--border-hover': string;
|
|
763
|
-
'--border-focus': string;
|
|
764
|
-
'--placeholder-color': string;
|
|
765
|
-
'--placeholder-color-disabled': string;
|
|
766
|
-
'--icon-size': string;
|
|
767
|
-
'--line-height-textarea': string;
|
|
768
|
-
'--color-disabled': string;
|
|
769
|
-
'--color-focus': string;
|
|
770
|
-
'--text-color-disabled': string;
|
|
771
|
-
'--box-shadow-focus': string;
|
|
772
|
-
'--loading-color': string;
|
|
773
|
-
'--caret-color-warning': string;
|
|
774
|
-
'--color-focus-warning': string;
|
|
775
|
-
'--box-shadow-focus-warning': string;
|
|
776
|
-
'--border-warning': string;
|
|
777
|
-
'--border-focus-warning': string;
|
|
778
|
-
'--border-hover-warning': string;
|
|
779
|
-
'--loading-color-warning': string;
|
|
780
|
-
'--caret-color-error': string;
|
|
781
|
-
'--color-focus-error': string;
|
|
782
|
-
'--box-shadow-focus-error': string;
|
|
783
|
-
'--border-error': string;
|
|
784
|
-
'--border-focus-error': string;
|
|
785
|
-
'--border-hover-error': string;
|
|
786
|
-
'--loading-color-error': string;
|
|
787
|
-
'--clear-color': string;
|
|
788
|
-
'--clear-size': string;
|
|
789
|
-
'--clear-color-hover': string;
|
|
790
|
-
'--clear-color-pressed': string;
|
|
791
|
-
'--icon-color': string;
|
|
792
|
-
'--icon-color-hover': string;
|
|
793
|
-
'--icon-color-pressed': string;
|
|
794
|
-
'--icon-color-disabled': string;
|
|
795
|
-
'--suffix-text-color': string;
|
|
751
|
+
'--n-bezier': string;
|
|
752
|
+
'--n-count-text-color': string;
|
|
753
|
+
'--n-color': string;
|
|
754
|
+
'--n-font-size': string;
|
|
755
|
+
'--n-border-radius': string;
|
|
756
|
+
'--n-height': string;
|
|
757
|
+
'--n-padding-left': string;
|
|
758
|
+
'--n-padding-right': string;
|
|
759
|
+
'--n-text-color': string;
|
|
760
|
+
'--n-caret-color': string;
|
|
761
|
+
'--n-text-decoration-color': string;
|
|
762
|
+
'--n-border': string;
|
|
763
|
+
'--n-border-disabled': string;
|
|
764
|
+
'--n-border-hover': string;
|
|
765
|
+
'--n-border-focus': string;
|
|
766
|
+
'--n-placeholder-color': string;
|
|
767
|
+
'--n-placeholder-color-disabled': string;
|
|
768
|
+
'--n-icon-size': string;
|
|
769
|
+
'--n-line-height-textarea': string;
|
|
770
|
+
'--n-color-disabled': string;
|
|
771
|
+
'--n-color-focus': string;
|
|
772
|
+
'--n-text-color-disabled': string;
|
|
773
|
+
'--n-box-shadow-focus': string;
|
|
774
|
+
'--n-loading-color': string;
|
|
775
|
+
'--n-caret-color-warning': string;
|
|
776
|
+
'--n-color-focus-warning': string;
|
|
777
|
+
'--n-box-shadow-focus-warning': string;
|
|
778
|
+
'--n-border-warning': string;
|
|
779
|
+
'--n-border-focus-warning': string;
|
|
780
|
+
'--n-border-hover-warning': string;
|
|
781
|
+
'--n-loading-color-warning': string;
|
|
782
|
+
'--n-caret-color-error': string;
|
|
783
|
+
'--n-color-focus-error': string;
|
|
784
|
+
'--n-box-shadow-focus-error': string;
|
|
785
|
+
'--n-border-error': string;
|
|
786
|
+
'--n-border-focus-error': string;
|
|
787
|
+
'--n-border-hover-error': string;
|
|
788
|
+
'--n-loading-color-error': string;
|
|
789
|
+
'--n-clear-color': string;
|
|
790
|
+
'--n-clear-size': string;
|
|
791
|
+
'--n-clear-color-hover': string;
|
|
792
|
+
'--n-clear-color-pressed': string;
|
|
793
|
+
'--n-icon-color': string;
|
|
794
|
+
'--n-icon-color-hover': string;
|
|
795
|
+
'--n-icon-color-pressed': string;
|
|
796
|
+
'--n-icon-color-disabled': string;
|
|
797
|
+
'--n-suffix-text-color': string;
|
|
796
798
|
}>;
|
|
797
799
|
isCompositing: import("vue").Ref<boolean>;
|
|
798
800
|
blur: () => void;
|
|
@@ -846,6 +848,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
846
848
|
onWrapperBlur?: unknown;
|
|
847
849
|
internalDeactivateOnEnter?: unknown;
|
|
848
850
|
internalForceFocus?: unknown;
|
|
851
|
+
internalLoadingBeforeSuffix?: unknown;
|
|
849
852
|
showPasswordToggle?: unknown;
|
|
850
853
|
theme?: unknown;
|
|
851
854
|
themeOverrides?: unknown;
|
|
@@ -870,6 +873,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
870
873
|
attrSize: number;
|
|
871
874
|
internalDeactivateOnEnter: boolean;
|
|
872
875
|
internalForceFocus: boolean;
|
|
876
|
+
internalLoadingBeforeSuffix: boolean;
|
|
873
877
|
showPasswordToggle: boolean;
|
|
874
878
|
} & {
|
|
875
879
|
value?: string | [string, string] | null | undefined;
|
|
@@ -1104,6 +1108,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1104
1108
|
attrSize: number;
|
|
1105
1109
|
internalDeactivateOnEnter: boolean;
|
|
1106
1110
|
internalForceFocus: boolean;
|
|
1111
|
+
internalLoadingBeforeSuffix: boolean;
|
|
1107
1112
|
showPasswordToggle: boolean;
|
|
1108
1113
|
}>;
|
|
1109
1114
|
export default _default;
|
package/lib/input/src/Input.js
CHANGED
|
@@ -52,7 +52,7 @@ const inputProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props), {
|
|
|
52
52
|
textDecoration: [String, Array], attrSize: {
|
|
53
53
|
type: Number,
|
|
54
54
|
default: 20
|
|
55
|
-
}, onInputBlur: [Function, Array], onInputFocus: [Function, Array], onDeactivate: [Function, Array], onActivate: [Function, Array], onWrapperFocus: [Function, Array], onWrapperBlur: [Function, Array], internalDeactivateOnEnter: Boolean, internalForceFocus: Boolean,
|
|
55
|
+
}, onInputBlur: [Function, Array], onInputFocus: [Function, Array], onDeactivate: [Function, Array], onActivate: [Function, Array], onWrapperFocus: [Function, Array], onWrapperBlur: [Function, Array], internalDeactivateOnEnter: Boolean, internalForceFocus: Boolean, internalLoadingBeforeSuffix: Boolean,
|
|
56
56
|
/** deprecated */
|
|
57
57
|
showPasswordToggle: Boolean });
|
|
58
58
|
exports.default = (0, vue_1.defineComponent)({
|
|
@@ -628,56 +628,56 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
628
628
|
const { common: { cubicBezierEaseInOut }, self: { color, borderRadius, textColor, caretColor, caretColorError, caretColorWarning, textDecorationColor, border, borderDisabled, borderHover, borderFocus, placeholderColor, placeholderColorDisabled, lineHeightTextarea, colorDisabled, colorFocus, textColorDisabled, boxShadowFocus, iconSize, colorFocusWarning, boxShadowFocusWarning, borderWarning, borderFocusWarning, borderHoverWarning, colorFocusError, boxShadowFocusError, borderError, borderFocusError, borderHoverError, clearSize, clearColor, clearColorHover, clearColorPressed, iconColor, iconColorDisabled, suffixTextColor, countTextColor, iconColorHover, iconColorPressed, loadingColor, loadingColorError, loadingColorWarning, [(0, _utils_1.createKey)('padding', size)]: padding, [(0, _utils_1.createKey)('fontSize', size)]: fontSize, [(0, _utils_1.createKey)('height', size)]: height } } = themeRef.value;
|
|
629
629
|
const { left: paddingLeft, right: paddingRight } = (0, seemly_1.getPadding)(padding);
|
|
630
630
|
return {
|
|
631
|
-
'--bezier': cubicBezierEaseInOut,
|
|
632
|
-
'--count-text-color': countTextColor,
|
|
633
|
-
'--color': color,
|
|
634
|
-
'--font-size': fontSize,
|
|
635
|
-
'--border-radius': borderRadius,
|
|
636
|
-
'--height': height,
|
|
637
|
-
'--padding-left': paddingLeft,
|
|
638
|
-
'--padding-right': paddingRight,
|
|
639
|
-
'--text-color': textColor,
|
|
640
|
-
'--caret-color': caretColor,
|
|
641
|
-
'--text-decoration-color': textDecorationColor,
|
|
642
|
-
'--border': border,
|
|
643
|
-
'--border-disabled': borderDisabled,
|
|
644
|
-
'--border-hover': borderHover,
|
|
645
|
-
'--border-focus': borderFocus,
|
|
646
|
-
'--placeholder-color': placeholderColor,
|
|
647
|
-
'--placeholder-color-disabled': placeholderColorDisabled,
|
|
648
|
-
'--icon-size': iconSize,
|
|
649
|
-
'--line-height-textarea': lineHeightTextarea,
|
|
650
|
-
'--color-disabled': colorDisabled,
|
|
651
|
-
'--color-focus': colorFocus,
|
|
652
|
-
'--text-color-disabled': textColorDisabled,
|
|
653
|
-
'--box-shadow-focus': boxShadowFocus,
|
|
654
|
-
'--loading-color': loadingColor,
|
|
631
|
+
'--n-bezier': cubicBezierEaseInOut,
|
|
632
|
+
'--n-count-text-color': countTextColor,
|
|
633
|
+
'--n-color': color,
|
|
634
|
+
'--n-font-size': fontSize,
|
|
635
|
+
'--n-border-radius': borderRadius,
|
|
636
|
+
'--n-height': height,
|
|
637
|
+
'--n-padding-left': paddingLeft,
|
|
638
|
+
'--n-padding-right': paddingRight,
|
|
639
|
+
'--n-text-color': textColor,
|
|
640
|
+
'--n-caret-color': caretColor,
|
|
641
|
+
'--n-text-decoration-color': textDecorationColor,
|
|
642
|
+
'--n-border': border,
|
|
643
|
+
'--n-border-disabled': borderDisabled,
|
|
644
|
+
'--n-border-hover': borderHover,
|
|
645
|
+
'--n-border-focus': borderFocus,
|
|
646
|
+
'--n-placeholder-color': placeholderColor,
|
|
647
|
+
'--n-placeholder-color-disabled': placeholderColorDisabled,
|
|
648
|
+
'--n-icon-size': iconSize,
|
|
649
|
+
'--n-line-height-textarea': lineHeightTextarea,
|
|
650
|
+
'--n-color-disabled': colorDisabled,
|
|
651
|
+
'--n-color-focus': colorFocus,
|
|
652
|
+
'--n-text-color-disabled': textColorDisabled,
|
|
653
|
+
'--n-box-shadow-focus': boxShadowFocus,
|
|
654
|
+
'--n-loading-color': loadingColor,
|
|
655
655
|
// form warning
|
|
656
|
-
'--caret-color-warning': caretColorWarning,
|
|
657
|
-
'--color-focus-warning': colorFocusWarning,
|
|
658
|
-
'--box-shadow-focus-warning': boxShadowFocusWarning,
|
|
659
|
-
'--border-warning': borderWarning,
|
|
660
|
-
'--border-focus-warning': borderFocusWarning,
|
|
661
|
-
'--border-hover-warning': borderHoverWarning,
|
|
662
|
-
'--loading-color-warning': loadingColorWarning,
|
|
656
|
+
'--n-caret-color-warning': caretColorWarning,
|
|
657
|
+
'--n-color-focus-warning': colorFocusWarning,
|
|
658
|
+
'--n-box-shadow-focus-warning': boxShadowFocusWarning,
|
|
659
|
+
'--n-border-warning': borderWarning,
|
|
660
|
+
'--n-border-focus-warning': borderFocusWarning,
|
|
661
|
+
'--n-border-hover-warning': borderHoverWarning,
|
|
662
|
+
'--n-loading-color-warning': loadingColorWarning,
|
|
663
663
|
// form error
|
|
664
|
-
'--caret-color-error': caretColorError,
|
|
665
|
-
'--color-focus-error': colorFocusError,
|
|
666
|
-
'--box-shadow-focus-error': boxShadowFocusError,
|
|
667
|
-
'--border-error': borderError,
|
|
668
|
-
'--border-focus-error': borderFocusError,
|
|
669
|
-
'--border-hover-error': borderHoverError,
|
|
670
|
-
'--loading-color-error': loadingColorError,
|
|
664
|
+
'--n-caret-color-error': caretColorError,
|
|
665
|
+
'--n-color-focus-error': colorFocusError,
|
|
666
|
+
'--n-box-shadow-focus-error': boxShadowFocusError,
|
|
667
|
+
'--n-border-error': borderError,
|
|
668
|
+
'--n-border-focus-error': borderFocusError,
|
|
669
|
+
'--n-border-hover-error': borderHoverError,
|
|
670
|
+
'--n-loading-color-error': loadingColorError,
|
|
671
671
|
// clear-button
|
|
672
|
-
'--clear-color': clearColor,
|
|
673
|
-
'--clear-size': clearSize,
|
|
674
|
-
'--clear-color-hover': clearColorHover,
|
|
675
|
-
'--clear-color-pressed': clearColorPressed,
|
|
676
|
-
'--icon-color': iconColor,
|
|
677
|
-
'--icon-color-hover': iconColorHover,
|
|
678
|
-
'--icon-color-pressed': iconColorPressed,
|
|
679
|
-
'--icon-color-disabled': iconColorDisabled,
|
|
680
|
-
'--suffix-text-color': suffixTextColor
|
|
672
|
+
'--n-clear-color': clearColor,
|
|
673
|
+
'--n-clear-size': clearSize,
|
|
674
|
+
'--n-clear-color-hover': clearColorHover,
|
|
675
|
+
'--n-clear-color-pressed': clearColorPressed,
|
|
676
|
+
'--n-icon-color': iconColor,
|
|
677
|
+
'--n-icon-color-hover': iconColorHover,
|
|
678
|
+
'--n-icon-color-pressed': iconColorPressed,
|
|
679
|
+
'--n-icon-color-disabled': iconColorDisabled,
|
|
680
|
+
'--n-suffix-text-color': suffixTextColor
|
|
681
681
|
};
|
|
682
682
|
}) });
|
|
683
683
|
},
|
|
@@ -725,8 +725,13 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
725
725
|
this.mergedShowPasswordOn ||
|
|
726
726
|
this.loading !== undefined) ? ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-input__suffix` }, [
|
|
727
727
|
this.clearable || this.$slots.clear ? ((0, vue_1.h)(_internal_1.NBaseClear, { clsPrefix: mergedClsPrefix, show: this.showClearButton, onClear: this.handleClear }, { default: () => (0, vue_1.renderSlot)(this.$slots, 'clear') })) : null,
|
|
728
|
-
|
|
728
|
+
!this.internalLoadingBeforeSuffix
|
|
729
|
+
? (0, vue_1.renderSlot)(this.$slots, 'suffix')
|
|
730
|
+
: null,
|
|
729
731
|
this.loading !== undefined ? ((0, vue_1.h)(_internal_1.NBaseSuffix, { clsPrefix: mergedClsPrefix, loading: this.loading, showArrow: false, showClear: false, style: this.cssVars })) : null,
|
|
732
|
+
this.internalLoadingBeforeSuffix
|
|
733
|
+
? (0, vue_1.renderSlot)(this.$slots, 'suffix')
|
|
734
|
+
: null,
|
|
730
735
|
this.showCount && this.type !== 'textarea' ? ((0, vue_1.h)(WordCount_1.default, null, { default: this.$slots.count })) : null,
|
|
731
736
|
this.mergedShowPasswordOn && this.type === 'password' ? ((0, vue_1.h)(_internal_1.NBaseIcon, { clsPrefix: mergedClsPrefix, class: `${mergedClsPrefix}-input__eye`, onMousedown: this.handlePasswordToggleMousedown, onClick: this.handlePasswordToggleClick }, {
|
|
732
737
|
default: () => this.passwordVisible ? (0, vue_1.h)(icons_1.EyeIcon, null) : (0, vue_1.h)(icons_1.EyeOffIcon, null)
|
|
@@ -385,14 +385,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
385
385
|
mergedClsPrefix: import("vue").ComputedRef<string>;
|
|
386
386
|
mergedBordered: import("vue").ComputedRef<boolean>;
|
|
387
387
|
cssVars: import("vue").ComputedRef<{
|
|
388
|
-
'--bezier': string;
|
|
389
|
-
'--group-label-color': string;
|
|
390
|
-
'--group-label-border': string;
|
|
391
|
-
'--border-radius': string;
|
|
392
|
-
'--group-label-text-color': string;
|
|
393
|
-
'--font-size': string;
|
|
394
|
-
'--line-height': string;
|
|
395
|
-
'--height': string;
|
|
388
|
+
'--n-bezier': string;
|
|
389
|
+
'--n-group-label-color': string;
|
|
390
|
+
'--n-group-label-border': string;
|
|
391
|
+
'--n-border-radius': string;
|
|
392
|
+
'--n-group-label-text-color': string;
|
|
393
|
+
'--n-font-size': string;
|
|
394
|
+
'--n-line-height': string;
|
|
395
|
+
'--n-height': string;
|
|
396
396
|
}>;
|
|
397
397
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
398
398
|
readonly size?: unknown;
|
|
@@ -28,14 +28,14 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
28
28
|
const { size } = props;
|
|
29
29
|
const { common: { cubicBezierEaseInOut }, self: { groupLabelColor, borderRadius, groupLabelTextColor, lineHeight, groupLabelBorder, [(0, _utils_1.createKey)('fontSize', size)]: fontSize, [(0, _utils_1.createKey)('height', size)]: height } } = themeRef.value;
|
|
30
30
|
return {
|
|
31
|
-
'--bezier': cubicBezierEaseInOut,
|
|
32
|
-
'--group-label-color': groupLabelColor,
|
|
33
|
-
'--group-label-border': groupLabelBorder,
|
|
34
|
-
'--border-radius': borderRadius,
|
|
35
|
-
'--group-label-text-color': groupLabelTextColor,
|
|
36
|
-
'--font-size': fontSize,
|
|
37
|
-
'--line-height': lineHeight,
|
|
38
|
-
'--height': height
|
|
31
|
+
'--n-bezier': cubicBezierEaseInOut,
|
|
32
|
+
'--n-group-label-color': groupLabelColor,
|
|
33
|
+
'--n-group-label-border': groupLabelBorder,
|
|
34
|
+
'--n-border-radius': borderRadius,
|
|
35
|
+
'--n-group-label-text-color': groupLabelTextColor,
|
|
36
|
+
'--n-font-size': fontSize,
|
|
37
|
+
'--n-line-height': lineHeight,
|
|
38
|
+
'--n-height': height
|
|
39
39
|
};
|
|
40
40
|
})
|
|
41
41
|
};
|
|
@@ -5,13 +5,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
|
|
7
7
|
const cssr_1 = require("../../../_utils/cssr"); // vars:
|
|
8
|
-
// --bezier
|
|
9
|
-
// --group-label-color
|
|
10
|
-
// --border-radius
|
|
11
|
-
// --group-label-text-color
|
|
12
|
-
// --font-size
|
|
13
|
-
// --height
|
|
14
|
-
// --group-label-border
|
|
8
|
+
// --n-bezier
|
|
9
|
+
// --n-group-label-color
|
|
10
|
+
// --n-border-radius
|
|
11
|
+
// --n-group-label-text-color
|
|
12
|
+
// --n-font-size
|
|
13
|
+
// --n-height
|
|
14
|
+
// --n-group-label-border
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
exports.default = (0, cssr_1.cB)('input-group-label', `
|
|
@@ -20,16 +20,16 @@ exports.default = (0, cssr_1.cB)('input-group-label', `
|
|
|
20
20
|
box-sizing: border-box;
|
|
21
21
|
padding: 0 12px;
|
|
22
22
|
display: inline-block;
|
|
23
|
-
border-radius: var(--border-radius);
|
|
24
|
-
background-color: var(--group-label-color);
|
|
25
|
-
color: var(--group-label-text-color);
|
|
26
|
-
font-size: var(--font-size);
|
|
27
|
-
line-height: var(--height);
|
|
28
|
-
height: var(--height);
|
|
23
|
+
border-radius: var(--n-border-radius);
|
|
24
|
+
background-color: var(--n-group-label-color);
|
|
25
|
+
color: var(--n-group-label-text-color);
|
|
26
|
+
font-size: var(--n-font-size);
|
|
27
|
+
line-height: var(--n-height);
|
|
28
|
+
height: var(--n-height);
|
|
29
29
|
transition:
|
|
30
|
-
color .3s var(--bezier),
|
|
31
|
-
background-color .3s var(--bezier),
|
|
32
|
-
box-shadow .3s var(--bezier);
|
|
30
|
+
color .3s var(--n-bezier),
|
|
31
|
+
background-color .3s var(--n-bezier),
|
|
32
|
+
box-shadow .3s var(--n-bezier);
|
|
33
33
|
`, [(0, cssr_1.cE)('border', `
|
|
34
34
|
position: absolute;
|
|
35
35
|
left: 0;
|
|
@@ -37,6 +37,6 @@ exports.default = (0, cssr_1.cB)('input-group-label', `
|
|
|
37
37
|
top: 0;
|
|
38
38
|
bottom: 0;
|
|
39
39
|
border-radius: inherit;
|
|
40
|
-
border: var(--group-label-border);
|
|
41
|
-
transition: border-color .3s var(--bezier);
|
|
40
|
+
border: var(--n-group-label-border);
|
|
41
|
+
transition: border-color .3s var(--n-bezier);
|
|
42
42
|
`)]);
|