naive-ui 2.34.3 → 2.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -2
- package/README.zh-CN.md +4 -2
- package/dist/index.js +6208 -8623
- package/dist/index.prod.js +2 -3
- package/es/_internal/clear/src/Clear.d.ts +2 -2
- package/es/_internal/clear/src/Clear.js +2 -0
- package/es/_internal/close/src/Close.d.ts +2 -2
- package/es/_internal/fade-in-expand-transition/src/FadeInExpandTransition.d.ts +2 -2
- package/es/_internal/fade-in-expand-transition/src/FadeInExpandTransition.js +11 -6
- package/es/_internal/focus-detector/src/FocusDetector.d.ts +2 -2
- package/es/_internal/icon/src/Icon.d.ts +2 -2
- package/es/_internal/icon-switch-transition/src/IconSwitchTransition.d.ts +1 -1
- package/es/_internal/icons/Add.d.ts +1 -1
- package/es/_internal/icons/ArrowBack.d.ts +1 -1
- package/es/_internal/icons/ArrowDown.d.ts +1 -1
- package/es/_internal/icons/ArrowUp.d.ts +1 -1
- package/es/_internal/icons/Attach.d.ts +1 -1
- package/es/_internal/icons/Backward.d.ts +1 -1
- package/es/_internal/icons/Cancel.d.ts +1 -1
- package/es/_internal/icons/Checkmark.d.ts +1 -1
- package/es/_internal/icons/ChevronDown.d.ts +1 -1
- package/es/_internal/icons/ChevronDownFilled.d.ts +1 -1
- package/es/_internal/icons/ChevronLeft.d.ts +1 -1
- package/es/_internal/icons/ChevronRight.d.ts +1 -1
- package/es/_internal/icons/Clear.d.ts +1 -1
- package/es/_internal/icons/Close.d.ts +1 -1
- package/es/_internal/icons/Date.d.ts +1 -1
- package/es/_internal/icons/Download.d.ts +1 -1
- package/es/_internal/icons/Empty.d.ts +1 -1
- package/es/_internal/icons/Error.d.ts +1 -1
- package/es/_internal/icons/Eye.d.ts +1 -1
- package/es/_internal/icons/EyeOff.d.ts +1 -1
- package/es/_internal/icons/FastBackward.d.ts +1 -1
- package/es/_internal/icons/FastForward.d.ts +1 -1
- package/es/_internal/icons/File.d.ts +1 -1
- package/es/_internal/icons/Filter.d.ts +1 -1
- package/es/_internal/icons/Forward.d.ts +1 -1
- package/es/_internal/icons/Info.d.ts +1 -1
- package/es/_internal/icons/More.d.ts +1 -1
- package/es/_internal/icons/Photo.d.ts +1 -1
- package/es/_internal/icons/Remove.d.ts +1 -1
- package/es/_internal/icons/ResizeSmall.d.ts +1 -1
- package/es/_internal/icons/Retry.d.ts +1 -1
- package/es/_internal/icons/RotateClockwise.d.ts +1 -1
- package/es/_internal/icons/RotateCounterclockwise.d.ts +1 -1
- package/es/_internal/icons/Search.d.ts +1 -1
- package/es/_internal/icons/Success.d.ts +1 -1
- package/es/_internal/icons/Switcher.d.ts +1 -1
- package/es/_internal/icons/Time.d.ts +1 -1
- package/es/_internal/icons/To.d.ts +1 -1
- package/es/_internal/icons/Trash.d.ts +1 -1
- package/es/_internal/icons/Warning.d.ts +1 -1
- package/es/_internal/icons/ZoomIn.d.ts +1 -1
- package/es/_internal/icons/ZoomOut.d.ts +1 -1
- package/es/_internal/icons/replaceable.d.ts +1 -1
- package/es/_internal/loading/src/Loading.d.ts +2 -2
- package/es/_internal/menu-mask/src/MenuMask.d.ts +1 -1
- package/es/_internal/scrollbar/src/Scrollbar.d.ts +3 -3
- package/es/_internal/scrollbar/src/Scrollbar.js +4 -4
- package/es/_internal/scrollbar/src/styles/index.cssr.js +1 -0
- package/es/_internal/scrollbar/styles/rtl.d.ts +1 -1
- package/es/_internal/select-menu/src/SelectGroupHeader.d.ts +4 -4
- package/es/_internal/select-menu/src/SelectMenu.d.ts +3 -3
- package/es/_internal/select-menu/src/SelectMenu.js +1 -1
- package/es/_internal/select-menu/src/SelectOption.d.ts +4 -4
- package/es/_internal/select-menu/src/interface.d.ts +2 -2
- package/es/_internal/selection/src/Selection.d.ts +3 -2
- package/es/_internal/selection/src/Selection.js +13 -5
- package/es/_internal/selection/src/interface.d.ts +1 -1
- package/es/_internal/slot-machine/src/SlotMachine.d.ts +1 -1
- package/es/_internal/slot-machine/src/SlotMachineNumber.d.ts +2 -2
- package/es/_internal/suffix/src/Suffix.d.ts +2 -2
- package/es/_internal/wave/src/Wave.d.ts +1 -1
- package/es/_mixins/use-config.d.ts +3 -2
- package/es/_mixins/use-config.js +10 -5
- package/es/_mixins/use-css-vars-class.d.ts +1 -1
- package/es/_mixins/use-form-item.d.ts +2 -2
- package/es/_mixins/use-hljs.d.ts +1 -1
- package/es/_mixins/use-locale.d.ts +1 -1
- package/es/_mixins/use-rtl.d.ts +2 -2
- package/es/_mixins/use-style.d.ts +3 -3
- package/es/_mixins/use-style.js +1 -1
- package/es/_mixins/use-theme.d.ts +5 -5
- package/es/_styles/transitions/fade-down.cssr.d.ts +1 -1
- package/es/_styles/transitions/fade-in-height-expand.cssr.d.ts +1 -1
- package/es/_styles/transitions/fade-in-scale-up.cssr.d.ts +1 -1
- package/es/_styles/transitions/fade-in-width-expand.cssr.d.ts +1 -1
- package/es/_styles/transitions/fade-in.cssr.d.ts +1 -1
- package/es/_styles/transitions/fade-up-width-expand.cssr.d.ts +1 -1
- package/es/_styles/transitions/icon-switch.cssr.d.ts +1 -1
- package/es/_styles/transitions/slide-in-from-bottom.d.ts +1 -1
- package/es/_styles/transitions/slide-in-from-left.d.ts +1 -1
- package/es/_styles/transitions/slide-in-from-right.d.ts +1 -1
- package/es/_styles/transitions/slide-in-from-top.d.ts +1 -1
- package/es/_utils/composable/use-adjusted-to.d.ts +1 -1
- package/es/_utils/composable/use-browser-location.d.ts +1 -1
- package/es/_utils/composable/use-browser-location.js +1 -2
- package/es/_utils/composable/use-collection.d.ts +1 -1
- package/es/_utils/composable/use-deferred-true.d.ts +1 -1
- package/es/_utils/composable/use-is-composing.d.ts +1 -1
- package/es/_utils/composable/use-lock-html-scroll.d.ts +1 -1
- package/es/_utils/composable/use-resize.d.ts +1 -1
- package/es/_utils/cssr/index.d.ts +2 -2
- package/es/_utils/naive/attribute.d.ts +1 -1
- package/es/_utils/naive/extract-public-props.d.ts +2 -2
- package/es/_utils/vue/create-injection-key.d.ts +1 -1
- package/es/_utils/vue/create-ref-setter.d.ts +1 -1
- package/es/_utils/vue/flatten.d.ts +1 -1
- package/es/_utils/vue/get-first-slot-vnode.d.ts +1 -1
- package/es/_utils/vue/get-slot.d.ts +1 -1
- package/es/_utils/vue/get-v-node-children.d.ts +1 -1
- package/es/_utils/vue/is-node-v-show-false.d.ts +1 -1
- package/es/_utils/vue/keysOf.d.ts +1 -1
- package/es/_utils/vue/omit.d.ts +1 -1
- package/es/_utils/vue/render.d.ts +1 -1
- package/es/_utils/vue/resolve-slot.d.ts +1 -1
- package/es/_utils/vue/wrapper.d.ts +1 -1
- package/es/affix/src/Affix.d.ts +3 -3
- package/es/alert/src/Alert.d.ts +3 -3
- package/es/alert/src/Alert.js +4 -0
- package/es/alert/src/styles/index.cssr.js +4 -0
- package/es/anchor/src/AnchorAdapter.d.ts +1 -1
- package/es/anchor/src/BaseAnchor.d.ts +2 -2
- package/es/anchor/src/BaseAnchor.js +3 -1
- package/es/anchor/src/Link.d.ts +3 -3
- package/es/auto-complete/src/AutoComplete.d.ts +8 -9
- package/es/auto-complete/src/interface.d.ts +3 -2
- package/es/auto-complete/src/utils.d.ts +2 -2
- package/es/avatar/src/Avatar.d.ts +4 -4
- package/es/avatar-group/src/AvatarGroup.d.ts +4 -4
- package/es/avatar-group/styles/light.d.ts +1 -1
- package/es/avatar-group/styles/rtl.d.ts +1 -1
- package/es/back-top/src/BackTop.d.ts +3 -3
- package/es/badge/src/Badge.d.ts +3 -3
- package/es/badge/src/Badge.js +1 -1
- package/es/badge/styles/light.d.ts +1 -1
- package/es/badge/styles/rtl.d.ts +1 -1
- package/es/breadcrumb/src/Breadcrumb.d.ts +4 -4
- package/es/breadcrumb/src/BreadcrumbItem.d.ts +2 -2
- package/es/button/src/Button.d.ts +4 -4
- package/es/button/src/Button.js +1 -1
- package/es/button/styles/rtl.d.ts +1 -1
- package/es/button-group/src/ButtonGroup.d.ts +3 -3
- package/es/button-group/src/styles/index.cssr.d.ts +1 -1
- package/es/button-group/src/styles/rtl.cssr.d.ts +1 -1
- package/es/button-group/styles/rtl.d.ts +1 -1
- package/es/calendar/src/Calendar.d.ts +4 -4
- package/es/card/src/Card.d.ts +7 -7
- package/es/card/styles/light.d.ts +1 -1
- package/es/card/styles/rtl.d.ts +1 -1
- package/es/carousel/src/Carousel.d.ts +2 -2
- package/es/carousel/src/Carousel.js +6 -2
- package/es/carousel/src/CarouselArrow.d.ts +2 -2
- package/es/carousel/src/CarouselContext.js +3 -1
- package/es/carousel/src/CarouselDots.d.ts +2 -2
- package/es/carousel/src/CarouselDots.js +7 -1
- package/es/carousel/src/CarouselItem.d.ts +2 -2
- package/es/carousel/src/CarouselItem.js +4 -3
- package/es/carousel/src/interface.d.ts +1 -1
- package/es/carousel/src/utils/index.d.ts +1 -1
- package/es/carousel/styles/light.d.ts +1 -1
- package/es/cascader/src/Cascader.d.ts +13 -12
- package/es/cascader/src/CascaderMenu.d.ts +4 -4
- package/es/cascader/src/CascaderOption.d.ts +3 -3
- package/es/cascader/src/CascaderSelectMenu.d.ts +5 -5
- package/es/cascader/src/CascaderSubmenu.d.ts +3 -3
- package/es/cascader/src/interface.d.ts +2 -2
- package/es/checkbox/src/Checkbox.d.ts +4 -4
- package/es/checkbox/src/Checkbox.js +10 -3
- package/es/checkbox/src/CheckboxGroup.d.ts +4 -5
- package/es/checkbox/src/styles/index.cssr.js +9 -11
- package/es/code/src/Code.d.ts +4 -4
- package/es/code/styles/light.d.ts +1 -1
- package/es/collapse/src/Collapse.d.ts +16 -6
- package/es/collapse/src/Collapse.js +2 -1
- package/es/collapse/src/CollapseItem.d.ts +3 -3
- package/es/collapse/src/CollapseItemContent.d.ts +2 -2
- package/es/collapse/src/styles/index.cssr.js +2 -1
- package/es/collapse/styles/light.d.ts +2 -1
- package/es/collapse/styles/light.js +2 -1
- package/es/collapse-transition/src/CollapseTransition.d.ts +3 -3
- package/es/collapse-transition/styles/light.d.ts +1 -1
- package/es/color-picker/src/AlphaSlider.d.ts +3 -3
- package/es/color-picker/src/ColorInput.d.ts +3 -3
- package/es/color-picker/src/ColorInputUnit.d.ts +2 -2
- package/es/color-picker/src/ColorPicker.d.ts +6 -6
- package/es/color-picker/src/ColorPicker.js +6 -2
- package/es/color-picker/src/ColorPickerSwatches.d.ts +3 -3
- package/es/color-picker/src/ColorPickerSwatches.js +5 -1
- package/es/color-picker/src/ColorPickerTrigger.d.ts +3 -3
- package/es/color-picker/src/ColorPreview.d.ts +3 -3
- package/es/color-picker/src/HueSlider.d.ts +2 -2
- package/es/color-picker/src/Pallete.d.ts +3 -3
- package/es/color-picker/src/context.d.ts +1 -1
- package/es/color-picker/src/interface.d.ts +1 -1
- package/es/composables/use-theme-vars.d.ts +1 -1
- package/es/config-provider/src/ConfigProvider.d.ts +27 -14
- package/es/config-provider/src/ConfigProvider.js +4 -2
- package/es/config-provider/src/internal-interface.d.ts +3 -3
- package/es/config-provider/src/katex.d.ts +1 -1
- package/es/countdown/src/Countdown.d.ts +2 -2
- package/es/create.d.ts +1 -1
- package/es/data-table/index.d.ts +1 -1
- package/es/data-table/src/DataTable.d.ts +4 -4
- package/es/data-table/src/DataTable.js +1 -7
- package/es/data-table/src/HeaderButton/FilterButton.d.ts +5 -5
- package/es/data-table/src/HeaderButton/FilterMenu.d.ts +8 -7
- package/es/data-table/src/HeaderButton/RenderFilter.d.ts +3 -3
- package/es/data-table/src/HeaderButton/RenderSorter.d.ts +3 -3
- package/es/data-table/src/HeaderButton/ResizeButton.d.ts +1 -1
- package/es/data-table/src/HeaderButton/ResizeButton.js +1 -0
- package/es/data-table/src/HeaderButton/SortButton.d.ts +5 -5
- package/es/data-table/src/MainTable.d.ts +1 -1
- package/es/data-table/src/TableParts/Body.d.ts +5 -6
- package/es/data-table/src/TableParts/Body.js +19 -12
- package/es/data-table/src/TableParts/BodyCheckbox.d.ts +3 -3
- package/es/data-table/src/TableParts/BodyRadio.d.ts +3 -3
- package/es/data-table/src/TableParts/Cell.d.ts +5 -5
- package/es/data-table/src/TableParts/Cell.js +5 -1
- package/es/data-table/src/TableParts/ExpandTrigger.d.ts +5 -4
- package/es/data-table/src/TableParts/ExpandTrigger.js +6 -2
- package/es/data-table/src/TableParts/Header.d.ts +2 -4
- package/es/data-table/src/TableParts/Header.js +9 -13
- package/es/data-table/src/TableParts/SelectionMenu.d.ts +1 -1
- package/es/data-table/src/interface.d.ts +11 -9
- package/es/data-table/src/styles/index.cssr.d.ts +1 -1
- package/es/data-table/src/styles/index.cssr.js +2 -0
- package/es/data-table/src/use-check.d.ts +2 -2
- package/es/data-table/src/use-expand.d.ts +2 -2
- package/es/data-table/src/use-group-header.d.ts +1 -1
- package/es/data-table/src/use-scroll.d.ts +2 -3
- package/es/data-table/src/use-scroll.js +21 -13
- package/es/data-table/src/use-sorter.d.ts +1 -1
- package/es/data-table/src/use-table-data.d.ts +2 -2
- package/es/data-table/src/utils.d.ts +1 -1
- package/es/date-picker/src/DatePicker.d.ts +5 -5
- package/es/date-picker/src/interface.d.ts +4 -4
- package/es/date-picker/src/panel/date.d.ts +6 -6
- package/es/date-picker/src/panel/date.js +3 -1
- package/es/date-picker/src/panel/daterange.d.ts +3 -3
- package/es/date-picker/src/panel/daterange.js +10 -2
- package/es/date-picker/src/panel/datetime.d.ts +3 -3
- package/es/date-picker/src/panel/datetime.js +3 -1
- package/es/date-picker/src/panel/datetimerange.d.ts +3 -3
- package/es/date-picker/src/panel/datetimerange.js +16 -4
- package/es/date-picker/src/panel/month.d.ts +4 -4
- package/es/date-picker/src/panel/month.js +4 -1
- package/es/date-picker/src/panel/monthrange.d.ts +4 -4
- package/es/date-picker/src/panel/panelHeader.d.ts +74 -51
- package/es/date-picker/src/panel/use-calendar.d.ts +4 -4
- package/es/date-picker/src/panel/use-dual-calendar.d.ts +7 -7
- package/es/date-picker/src/panel/use-panel-common.d.ts +3 -3
- package/es/date-picker/src/styles/index.cssr.js +1 -0
- package/es/date-picker/src/utils.d.ts +1 -1
- package/es/date-picker/src/validation-utils.d.ts +1 -1
- package/es/descriptions/src/Descriptions.d.ts +3 -3
- package/es/descriptions/src/Descriptions.js +6 -1
- package/es/descriptions/src/DescriptionsItem.d.ts +2 -2
- package/es/descriptions/src/utils.d.ts +1 -1
- package/es/descriptions/styles/light.d.ts +2 -2
- package/es/dialog/src/Dialog.d.ts +2 -2
- package/es/dialog/src/DialogEnvironment.d.ts +2 -2
- package/es/dialog/src/DialogProvider.d.ts +6 -6
- package/es/dialog/src/DialogProvider.js +3 -1
- package/es/dialog/src/composables.d.ts +1 -1
- package/es/dialog/src/dialogProps.d.ts +1 -1
- package/es/discrete/src/InjectionExtractor.d.ts +2 -2
- package/es/discrete/src/discrete.d.ts +2 -2
- package/es/discrete/src/discreteApp.d.ts +7 -7
- package/es/discrete/src/interface.d.ts +10 -10
- package/es/divider/src/Divider.d.ts +3 -3
- package/es/drawer/src/Drawer.d.ts +17 -4
- package/es/drawer/src/Drawer.js +2 -2
- package/es/drawer/src/DrawerBodyWrapper.d.ts +10 -2
- package/es/drawer/src/DrawerBodyWrapper.js +25 -1
- package/es/drawer/src/DrawerContent.d.ts +2 -2
- package/es/drawer/src/interface.d.ts +1 -1
- package/es/dropdown/src/Dropdown.d.ts +9 -9
- package/es/dropdown/src/DropdownDivider.d.ts +1 -1
- package/es/dropdown/src/DropdownGroup.d.ts +3 -3
- package/es/dropdown/src/DropdownGroupHeader.d.ts +1 -1
- package/es/dropdown/src/DropdownMenu.d.ts +3 -3
- package/es/dropdown/src/DropdownOption.d.ts +4 -4
- package/es/dropdown/src/DropdownRenderOption.d.ts +3 -3
- package/es/dropdown/src/interface.d.ts +2 -2
- package/es/dynamic-input/src/DynamicInput.d.ts +7 -3
- package/es/dynamic-input/src/DynamicInput.js +50 -29
- package/es/dynamic-input/src/InputPreset.d.ts +5 -2
- package/es/dynamic-input/src/InputPreset.js +3 -2
- package/es/dynamic-input/src/PairPreset.d.ts +5 -2
- package/es/dynamic-input/src/PairPreset.js +4 -3
- package/es/dynamic-input/src/interface.d.ts +1 -1
- package/es/dynamic-input/styles/dark.d.ts +1 -1
- package/es/dynamic-tags/src/DynamicTags.d.ts +3 -3
- package/es/dynamic-tags/src/DynamicTags.js +3 -1
- package/es/element/src/Element.d.ts +11 -11
- package/es/element/styles/dark.d.ts +1 -1
- package/es/element/styles/light.d.ts +1 -1
- package/es/ellipsis/index.d.ts +1 -0
- package/es/ellipsis/index.js +1 -0
- package/es/ellipsis/src/Ellipsis.d.ts +4 -2
- package/es/ellipsis/src/Ellipsis.js +5 -4
- package/es/ellipsis/src/PerformantEllipsis.d.ts +164 -0
- package/es/ellipsis/src/PerformantEllipsis.js +52 -0
- package/es/ellipsis/styles/dark.d.ts +1 -1
- package/es/empty/src/Empty.d.ts +3 -3
- package/es/equation/src/Equation.d.ts +6 -6
- package/es/form/src/Form.d.ts +4 -4
- package/es/form/src/Form.js +4 -2
- package/es/form/src/FormItem.d.ts +4 -4
- package/es/form/src/FormItem.js +1 -1
- package/es/form/src/FormItemCol.d.ts +1 -1
- package/es/form/src/FormItemCol.js +1 -1
- package/es/form/src/FormItemGridItem.d.ts +1 -1
- package/es/form/src/FormItemGridItem.js +1 -1
- package/es/form/src/FormItemRow.d.ts +1 -1
- package/es/form/src/FormItemRow.js +1 -1
- package/es/form/src/interface.d.ts +3 -3
- package/es/form/src/utils.d.ts +1 -1
- package/es/global-style/src/GlobalStyle.d.ts +1 -1
- package/es/gradient-text/src/GradientText.d.ts +3 -3
- package/es/gradient-text/styles/dark.d.ts +1 -1
- package/es/grid/src/Grid.d.ts +6 -6
- package/es/grid/src/Grid.js +6 -3
- package/es/grid/src/GridItem.d.ts +2 -2
- package/es/icon/src/Icon.d.ts +6 -6
- package/es/icon-wrapper/src/IconWrapper.d.ts +2 -2
- package/es/icon-wrapper/src/IconWrapper.js +1 -1
- package/es/image/src/Image.d.ts +9 -3
- package/es/image/src/Image.js +19 -21
- package/es/image/src/ImageGroup.d.ts +10 -4
- package/es/image/src/ImageGroup.js +8 -2
- package/es/image/src/ImagePreview.d.ts +9 -4
- package/es/image/src/ImagePreview.js +10 -1
- package/es/image/src/icons.d.ts +1 -0
- package/es/image/src/icons.js +2 -0
- package/es/image/src/interface.d.ts +7 -5
- package/es/image/src/interface.js +1 -1
- package/es/image/src/utils.d.ts +1 -1
- package/es/index.d.ts +1 -0
- package/es/index.js +1 -0
- package/es/input/src/Input.d.ts +17 -8
- package/es/input/src/Input.js +30 -8
- package/es/input/src/InputGroup.d.ts +2 -2
- package/es/input/src/InputGroupLabel.d.ts +3 -3
- package/es/input/src/WordCount.d.ts +1 -1
- package/es/input/src/interface.d.ts +1 -1
- package/es/input/src/styles/input.cssr.js +4 -3
- package/es/input-number/src/InputNumber.d.ts +5 -4
- package/es/input-number/src/InputNumber.js +2 -1
- package/es/input-number/src/interface.d.ts +1 -0
- package/es/layout/src/Layout.d.ts +5 -5
- package/es/layout/src/LayoutContent.d.ts +2 -2
- package/es/layout/src/LayoutFooter.d.ts +2 -2
- package/es/layout/src/LayoutHeader.d.ts +3 -3
- package/es/layout/src/LayoutSider.d.ts +3 -3
- package/es/layout/src/ToggleBar.d.ts +2 -2
- package/es/layout/src/ToggleButton.d.ts +2 -2
- package/es/layout/src/interface.d.ts +1 -1
- package/es/legacy-grid/src/Col.d.ts +4 -4
- package/es/legacy-grid/src/Row.d.ts +4 -4
- package/es/legacy-transfer/src/Transfer.d.ts +6 -7
- package/es/legacy-transfer/src/TransferFilter.d.ts +2 -2
- package/es/legacy-transfer/src/TransferHeader.d.ts +2 -2
- package/es/legacy-transfer/src/TransferList.d.ts +3 -3
- package/es/legacy-transfer/src/TransferListItem.d.ts +1 -1
- package/es/legacy-transfer/src/interface.d.ts +1 -1
- package/es/legacy-transfer/src/use-transfer-data.d.ts +1 -1
- package/es/list/src/List.d.ts +4 -4
- package/es/list/src/ListItem.d.ts +1 -1
- package/es/list/styles/light.d.ts +1 -1
- package/es/loading-bar/src/LoadingBar.d.ts +3 -3
- package/es/loading-bar/src/LoadingBar.js +18 -11
- package/es/loading-bar/src/LoadingBarProvider.d.ts +3 -3
- package/es/loading-bar/src/context.d.ts +1 -1
- package/es/locales/common/arDZ.js +1 -0
- package/es/locales/common/deDE.js +1 -0
- package/es/locales/common/enGB.js +1 -0
- package/es/locales/common/enUS.d.ts +2 -1
- package/es/locales/common/enUS.js +1 -0
- package/es/locales/common/eo.js +1 -0
- package/es/locales/common/esAR.js +1 -0
- package/es/locales/common/faIR.d.ts +3 -0
- package/es/locales/common/faIR.js +121 -0
- package/es/locales/common/frFR.js +1 -0
- package/es/locales/common/idID.js +18 -17
- package/es/locales/common/itIT.js +1 -0
- package/es/locales/common/jaJP.js +1 -0
- package/es/locales/common/koKR.js +1 -0
- package/es/locales/common/nbNO.js +1 -0
- package/es/locales/common/nlNL.js +1 -0
- package/es/locales/common/plPL.js +1 -0
- package/es/locales/common/ptBR.js +15 -17
- package/es/locales/common/ruRU.js +1 -0
- package/es/locales/common/skSK.js +1 -0
- package/es/locales/common/svSE.d.ts +3 -0
- package/es/locales/common/svSE.js +121 -0
- package/es/locales/common/thTH.js +1 -0
- package/es/locales/common/trTR.js +2 -1
- package/es/locales/common/ukUA.js +1 -0
- package/es/locales/common/viVN.js +1 -0
- package/es/locales/common/zhCN.js +1 -0
- package/es/locales/common/zhTW.js +32 -34
- package/es/locales/date/arDZ.d.ts +1 -1
- package/es/locales/date/deDE.d.ts +1 -1
- package/es/locales/date/enGB.d.ts +1 -1
- package/es/locales/date/enUS.d.ts +1 -1
- package/es/locales/date/eo.d.ts +1 -1
- package/es/locales/date/esAR.d.ts +1 -1
- package/es/locales/date/faIR.d.ts +3 -0
- package/es/locales/date/faIR.js +6 -0
- package/es/locales/date/frFR.d.ts +1 -1
- package/es/locales/date/idID.d.ts +1 -1
- package/es/locales/date/itIT.d.ts +1 -1
- package/es/locales/date/jaJP.d.ts +1 -1
- package/es/locales/date/koKR.d.ts +1 -1
- package/es/locales/date/nbNO.d.ts +1 -1
- package/es/locales/date/nlNL.d.ts +1 -1
- package/es/locales/date/plPL.d.ts +1 -1
- package/es/locales/date/ptBR.d.ts +1 -1
- package/es/locales/date/ruRU.d.ts +1 -1
- package/es/locales/date/skSK.d.ts +1 -1
- package/es/locales/date/svSE.d.ts +3 -0
- package/es/locales/date/svSE.js +6 -0
- package/es/locales/date/thTH.d.ts +1 -1
- package/es/locales/date/trTR.d.ts +1 -1
- package/es/locales/date/ukUA.d.ts +1 -1
- package/es/locales/date/viVN.d.ts +1 -1
- package/es/locales/date/zhCN.d.ts +1 -1
- package/es/locales/date/zhTW.d.ts +1 -1
- package/es/locales/index.d.ts +4 -0
- package/es/locales/index.js +4 -0
- package/es/locales/utils/index.d.ts +1 -1
- package/es/log/src/Log.d.ts +10 -10
- package/es/log/src/Log.js +12 -12
- package/es/log/src/LogLine.d.ts +1 -1
- package/es/log/src/LogLoader.d.ts +1 -1
- package/es/mention/src/Mention.d.ts +7 -7
- package/es/menu/src/Menu.d.ts +11 -11
- package/es/menu/src/Menu.js +1 -1
- package/es/menu/src/MenuDivider.d.ts +1 -1
- package/es/menu/src/MenuOption.d.ts +3 -3
- package/es/menu/src/MenuOptionContent.d.ts +3 -3
- package/es/menu/src/MenuOptionGroup.d.ts +3 -3
- package/es/menu/src/Submenu.d.ts +3 -3
- package/es/menu/src/context.d.ts +2 -2
- package/es/menu/src/interface.d.ts +2 -2
- package/es/menu/src/styles/index.cssr.d.ts +1 -1
- package/es/menu/src/use-menu-child-props.d.ts +2 -2
- package/es/menu/src/use-menu-child.d.ts +3 -3
- package/es/menu/src/utils.d.ts +2 -2
- package/es/message/src/Message.d.ts +2 -2
- package/es/message/src/MessageEnvironment.d.ts +2 -2
- package/es/message/src/MessageProvider.d.ts +3 -3
- package/es/message/src/context.d.ts +1 -1
- package/es/message/src/message-props.d.ts +3 -3
- package/es/message/src/types.d.ts +1 -1
- package/es/message/styles/light.d.ts +1 -1
- package/es/message/styles/rtl.d.ts +1 -1
- package/es/modal/src/BodyWrapper.d.ts +3 -3
- package/es/modal/src/Modal.d.ts +3 -3
- package/es/modal/src/interface.d.ts +1 -1
- package/es/notification/src/Notification.d.ts +2 -2
- package/es/notification/src/NotificationContainer.d.ts +2 -2
- package/es/notification/src/NotificationEnvironment.d.ts +5 -2
- package/es/notification/src/NotificationProvider.d.ts +5 -5
- package/es/notification/src/styles/index.cssr.d.ts +1 -1
- package/es/notification/src/styles/index.cssr.js +2 -0
- package/es/notification/styles/rtl.d.ts +1 -1
- package/es/number-animation/src/NumberAnimation.d.ts +2 -2
- package/es/page-header/src/PageHeader.d.ts +3 -3
- package/es/pagination/src/Pagination.d.ts +4 -4
- package/es/pagination/src/Pagination.js +3 -1
- package/es/pagination/src/interface.d.ts +2 -2
- package/es/pagination/styles/light.d.ts +1 -1
- package/es/popconfirm/src/Popconfirm.d.ts +5 -4
- package/es/popconfirm/src/Popconfirm.js +13 -5
- package/es/popconfirm/src/PopconfirmPanel.d.ts +2 -2
- package/es/popconfirm/src/interface.d.ts +1 -1
- package/es/popconfirm/styles/light.d.ts +1 -1
- package/es/popover/src/Popover.d.ts +3 -3
- package/es/popover/src/Popover.js +4 -6
- package/es/popover/src/PopoverBody.d.ts +3 -3
- package/es/popover/src/interface.d.ts +4 -1
- package/es/popover/src/styles/index.cssr.d.ts +1 -1
- package/es/popselect/src/Popselect.d.ts +3 -3
- package/es/popselect/src/Popselect.js +3 -2
- package/es/popselect/src/PopselectPanel.d.ts +8 -8
- package/es/popselect/src/interface.d.ts +1 -1
- package/es/popselect/styles/light.d.ts +1 -1
- package/es/progress/src/Circle.d.ts +3 -3
- package/es/progress/src/Line.d.ts +3 -3
- package/es/progress/src/Line.js +1 -3
- package/es/progress/src/MultipleCircle.d.ts +2 -2
- package/es/progress/src/Progress.d.ts +5 -5
- package/es/radio/src/Radio.d.ts +173 -34
- package/es/radio/src/Radio.js +3 -3
- package/es/radio/src/RadioButton.d.ts +4 -4
- package/es/radio/src/RadioButton.js +3 -3
- package/es/radio/src/RadioGroup.d.ts +4 -4
- package/es/radio/src/use-radio.d.ts +5 -5
- package/es/radio/src/use-radio.js +1 -1
- package/es/radio/styles/light.d.ts +1 -1
- package/es/rate/src/Rate.d.ts +3 -3
- package/es/rate/src/Rate.js +1 -1
- package/es/rate/styles/dark.d.ts +1 -1
- package/es/rate/styles/light.d.ts +1 -1
- package/es/result/src/Result.d.ts +3 -3
- package/es/scrollbar/src/Scrollbar.d.ts +5 -2
- package/es/scrollbar/src/Scrollbar.js +1 -1
- package/es/select/src/Select.d.ts +24 -8
- package/es/select/src/Select.js +24 -3
- package/es/select/src/interface.d.ts +4 -2
- package/es/select/src/utils.d.ts +1 -1
- package/es/skeleton/src/Skeleton.d.ts +3 -3
- package/es/skeleton/styles/dark.d.ts +1 -1
- package/es/skeleton/styles/light.d.ts +1 -1
- package/es/slider/src/Slider.d.ts +5 -5
- package/es/slider/src/Slider.js +12 -4
- package/es/slider/src/utils.d.ts +1 -1
- package/es/slider/src/utils.js +3 -1
- package/es/slider/styles/light.d.ts +1 -1
- package/es/space/src/Space.d.ts +3 -3
- package/es/space/styles/rtl.d.ts +1 -1
- package/es/spin/src/Spin.d.ts +8 -5
- package/es/spin/src/Spin.js +23 -5
- package/es/spin/styles/light.d.ts +1 -1
- package/es/statistic/src/Statistic.d.ts +2 -2
- package/es/statistic/styles/light.d.ts +1 -1
- package/es/statistic/styles/rtl.d.ts +1 -1
- package/es/steps/src/Step.d.ts +3 -3
- package/es/steps/src/Steps.d.ts +3 -3
- package/es/steps/src/styles/index.cssr.js +1 -0
- package/es/steps/styles/rtl.d.ts +1 -1
- package/es/switch/src/Switch.d.ts +3 -3
- package/es/table/src/Table.d.ts +3 -3
- package/es/table/src/Tbody.d.ts +1 -1
- package/es/table/src/Td.d.ts +1 -1
- package/es/table/src/Th.d.ts +1 -1
- package/es/table/src/Thead.d.ts +1 -1
- package/es/table/src/Tr.d.ts +1 -1
- package/es/table/styles/light.d.ts +1 -1
- package/es/table/styles/rtl.d.ts +1 -1
- package/es/tabs/src/Tab.d.ts +1 -1
- package/es/tabs/src/TabPane.d.ts +2 -2
- package/es/tabs/src/Tabs.d.ts +129 -11
- package/es/tabs/src/Tabs.js +51 -23
- package/es/tabs/src/interface.d.ts +1 -1
- package/es/tabs/src/styles/index.cssr.js +101 -36
- package/es/tabs/styles/_common.d.ts +12 -0
- package/es/tabs/styles/_common.js +24 -12
- package/es/tabs/styles/light.d.ts +13 -1
- package/es/tag/src/Tag.d.ts +3 -3
- package/es/tag/src/common-props.d.ts +1 -1
- package/es/theme-editor/src/MaximizeIcon.d.ts +1 -1
- package/es/theme-editor/src/MinimizeIcon.d.ts +1 -1
- package/es/theme-editor/src/ThemeEditor.d.ts +3 -5
- package/es/theme-editor/src/ThemeEditor.js +1 -1
- package/es/themes/interface.d.ts +1 -1
- package/es/themes/utils.d.ts +1 -1
- package/es/thing/src/Thing.d.ts +2 -2
- package/es/thing/styles/rtl.d.ts +1 -1
- package/es/time/src/Time.d.ts +3 -3
- package/es/time/src/Time.js +1 -1
- package/es/time-picker/src/Panel.d.ts +4 -4
- package/es/time-picker/src/PanelCol.d.ts +3 -3
- package/es/time-picker/src/PanelCol.js +5 -1
- package/es/time-picker/src/TimePicker.d.ts +4 -4
- package/es/time-picker/src/TimePicker.js +1 -1
- package/es/time-picker/src/interface.d.ts +2 -2
- package/es/time-picker/src/utils.d.ts +1 -1
- package/es/timeline/src/Timeline.d.ts +4 -4
- package/es/timeline/src/TimelineItem.d.ts +2 -2
- package/es/tooltip/src/Tooltip.d.ts +1 -1
- package/es/tooltip/src/Tooltip.js +3 -2
- package/es/transfer/src/Transfer.d.ts +13 -8
- package/es/transfer/src/Transfer.js +2 -2
- package/es/transfer/src/TransferFilter.d.ts +2 -2
- package/es/transfer/src/TransferHeader.d.ts +6 -2
- package/es/transfer/src/TransferHeader.js +6 -2
- package/es/transfer/src/TransferList.d.ts +3 -3
- package/es/transfer/src/TransferListItem.d.ts +3 -3
- package/es/transfer/src/interface.d.ts +1 -1
- package/es/transfer/src/use-transfer-data.d.ts +4 -4
- package/es/tree/src/MotionWrapper.d.ts +3 -3
- package/es/tree/src/Tree.d.ts +51 -8
- package/es/tree/src/Tree.js +31 -20
- package/es/tree/src/TreeNode.d.ts +8 -4
- package/es/tree/src/TreeNode.js +43 -7
- package/es/tree/src/TreeNodeCheckbox.d.ts +13 -2
- package/es/tree/src/TreeNodeCheckbox.js +12 -10
- package/es/tree/src/TreeNodeContent.d.ts +3 -3
- package/es/tree/src/TreeNodeSwitcher.d.ts +19 -2
- package/es/tree/src/TreeNodeSwitcher.js +12 -6
- package/es/tree/src/dnd.d.ts +2 -2
- package/es/tree/src/interface.d.ts +4 -2
- package/es/tree/src/keyboard.d.ts +3 -3
- package/es/tree/src/styles/index.cssr.js +46 -51
- package/es/tree/src/utils.d.ts +3 -3
- package/es/tree/styles/light.d.ts +6 -0
- package/es/tree/styles/light.js +3 -0
- package/es/tree-select/src/TreeSelect.d.ts +53 -20
- package/es/tree-select/src/TreeSelect.js +3 -1
- package/es/tree-select/src/interface.d.ts +4 -2
- package/es/tree-select/src/utils.d.ts +2 -2
- package/es/tree-select/styles/light.d.ts +3 -0
- package/es/typography/src/a.d.ts +2 -2
- package/es/typography/src/blockquote.d.ts +2 -2
- package/es/typography/src/create-header.d.ts +4 -4
- package/es/typography/src/headers.d.ts +12 -12
- package/es/typography/src/hr.d.ts +2 -2
- package/es/typography/src/li.d.ts +1 -1
- package/es/typography/src/ol.d.ts +2 -2
- package/es/typography/src/p.d.ts +3 -3
- package/es/typography/src/text.d.ts +3 -3
- package/es/typography/src/ul.d.ts +2 -2
- package/es/upload/src/Upload.d.ts +6 -66
- package/es/upload/src/Upload.js +3 -4
- package/es/upload/src/UploadDragger.d.ts +1 -1
- package/es/upload/src/UploadFile.d.ts +3 -3
- package/es/upload/src/UploadFileList.d.ts +1 -1
- package/es/upload/src/UploadProgress.d.ts +2 -2
- package/es/upload/src/UploadTrigger.d.ts +1 -1
- package/es/upload/src/interface.d.ts +5 -5
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/es/watermark/src/Watermark.d.ts +3 -3
- package/lib/_internal/clear/src/Clear.d.ts +2 -2
- package/lib/_internal/clear/src/Clear.js +2 -0
- package/lib/_internal/close/src/Close.d.ts +2 -2
- package/lib/_internal/fade-in-expand-transition/src/FadeInExpandTransition.d.ts +2 -2
- package/lib/_internal/fade-in-expand-transition/src/FadeInExpandTransition.js +11 -6
- package/lib/_internal/focus-detector/src/FocusDetector.d.ts +2 -2
- package/lib/_internal/icon/src/Icon.d.ts +2 -2
- package/lib/_internal/icon-switch-transition/src/IconSwitchTransition.d.ts +1 -1
- package/lib/_internal/icons/Add.d.ts +1 -1
- package/lib/_internal/icons/ArrowBack.d.ts +1 -1
- package/lib/_internal/icons/ArrowDown.d.ts +1 -1
- package/lib/_internal/icons/ArrowUp.d.ts +1 -1
- package/lib/_internal/icons/Attach.d.ts +1 -1
- package/lib/_internal/icons/Backward.d.ts +1 -1
- package/lib/_internal/icons/Cancel.d.ts +1 -1
- package/lib/_internal/icons/Checkmark.d.ts +1 -1
- package/lib/_internal/icons/ChevronDown.d.ts +1 -1
- package/lib/_internal/icons/ChevronDownFilled.d.ts +1 -1
- package/lib/_internal/icons/ChevronLeft.d.ts +1 -1
- package/lib/_internal/icons/ChevronRight.d.ts +1 -1
- package/lib/_internal/icons/Clear.d.ts +1 -1
- package/lib/_internal/icons/Close.d.ts +1 -1
- package/lib/_internal/icons/Date.d.ts +1 -1
- package/lib/_internal/icons/Download.d.ts +1 -1
- package/lib/_internal/icons/Empty.d.ts +1 -1
- package/lib/_internal/icons/Error.d.ts +1 -1
- package/lib/_internal/icons/Eye.d.ts +1 -1
- package/lib/_internal/icons/EyeOff.d.ts +1 -1
- package/lib/_internal/icons/FastBackward.d.ts +1 -1
- package/lib/_internal/icons/FastForward.d.ts +1 -1
- package/lib/_internal/icons/File.d.ts +1 -1
- package/lib/_internal/icons/Filter.d.ts +1 -1
- package/lib/_internal/icons/Forward.d.ts +1 -1
- package/lib/_internal/icons/Info.d.ts +1 -1
- package/lib/_internal/icons/More.d.ts +1 -1
- package/lib/_internal/icons/Photo.d.ts +1 -1
- package/lib/_internal/icons/Remove.d.ts +1 -1
- package/lib/_internal/icons/ResizeSmall.d.ts +1 -1
- package/lib/_internal/icons/Retry.d.ts +1 -1
- package/lib/_internal/icons/RotateClockwise.d.ts +1 -1
- package/lib/_internal/icons/RotateCounterclockwise.d.ts +1 -1
- package/lib/_internal/icons/Search.d.ts +1 -1
- package/lib/_internal/icons/Success.d.ts +1 -1
- package/lib/_internal/icons/Switcher.d.ts +1 -1
- package/lib/_internal/icons/Time.d.ts +1 -1
- package/lib/_internal/icons/To.d.ts +1 -1
- package/lib/_internal/icons/Trash.d.ts +1 -1
- package/lib/_internal/icons/Warning.d.ts +1 -1
- package/lib/_internal/icons/ZoomIn.d.ts +1 -1
- package/lib/_internal/icons/ZoomOut.d.ts +1 -1
- package/lib/_internal/icons/replaceable.d.ts +1 -1
- package/lib/_internal/loading/src/Loading.d.ts +2 -2
- package/lib/_internal/menu-mask/src/MenuMask.d.ts +1 -1
- package/lib/_internal/scrollbar/src/Scrollbar.d.ts +3 -3
- package/lib/_internal/scrollbar/src/Scrollbar.js +4 -4
- package/lib/_internal/scrollbar/src/styles/index.cssr.js +1 -0
- package/lib/_internal/scrollbar/styles/rtl.d.ts +1 -1
- package/lib/_internal/select-menu/src/SelectGroupHeader.d.ts +4 -4
- package/lib/_internal/select-menu/src/SelectMenu.d.ts +3 -3
- package/lib/_internal/select-menu/src/SelectMenu.js +1 -1
- package/lib/_internal/select-menu/src/SelectOption.d.ts +4 -4
- package/lib/_internal/select-menu/src/interface.d.ts +2 -2
- package/lib/_internal/selection/src/Selection.d.ts +3 -2
- package/lib/_internal/selection/src/Selection.js +13 -5
- package/lib/_internal/selection/src/interface.d.ts +1 -1
- package/lib/_internal/slot-machine/src/SlotMachine.d.ts +1 -1
- package/lib/_internal/slot-machine/src/SlotMachineNumber.d.ts +2 -2
- package/lib/_internal/suffix/src/Suffix.d.ts +2 -2
- package/lib/_internal/wave/src/Wave.d.ts +1 -1
- package/lib/_mixins/use-config.d.ts +3 -2
- package/lib/_mixins/use-config.js +11 -5
- package/lib/_mixins/use-css-vars-class.d.ts +1 -1
- package/lib/_mixins/use-form-item.d.ts +2 -2
- package/lib/_mixins/use-hljs.d.ts +1 -1
- package/lib/_mixins/use-locale.d.ts +1 -1
- package/lib/_mixins/use-rtl.d.ts +2 -2
- package/lib/_mixins/use-style.d.ts +3 -3
- package/lib/_mixins/use-style.js +1 -1
- package/lib/_mixins/use-theme.d.ts +5 -5
- package/lib/_styles/transitions/fade-down.cssr.d.ts +1 -1
- package/lib/_styles/transitions/fade-in-height-expand.cssr.d.ts +1 -1
- package/lib/_styles/transitions/fade-in-scale-up.cssr.d.ts +1 -1
- package/lib/_styles/transitions/fade-in-width-expand.cssr.d.ts +1 -1
- package/lib/_styles/transitions/fade-in.cssr.d.ts +1 -1
- package/lib/_styles/transitions/fade-up-width-expand.cssr.d.ts +1 -1
- package/lib/_styles/transitions/icon-switch.cssr.d.ts +1 -1
- package/lib/_styles/transitions/slide-in-from-bottom.d.ts +1 -1
- package/lib/_styles/transitions/slide-in-from-left.d.ts +1 -1
- package/lib/_styles/transitions/slide-in-from-right.d.ts +1 -1
- package/lib/_styles/transitions/slide-in-from-top.d.ts +1 -1
- package/lib/_utils/composable/use-adjusted-to.d.ts +1 -1
- package/lib/_utils/composable/use-browser-location.d.ts +1 -1
- package/lib/_utils/composable/use-browser-location.js +1 -2
- package/lib/_utils/composable/use-collection.d.ts +1 -1
- package/lib/_utils/composable/use-deferred-true.d.ts +1 -1
- package/lib/_utils/composable/use-is-composing.d.ts +1 -1
- package/lib/_utils/composable/use-lock-html-scroll.d.ts +1 -1
- package/lib/_utils/composable/use-resize.d.ts +1 -1
- package/lib/_utils/cssr/index.d.ts +2 -2
- package/lib/_utils/naive/attribute.d.ts +1 -1
- package/lib/_utils/naive/extract-public-props.d.ts +2 -2
- package/lib/_utils/vue/create-injection-key.d.ts +1 -1
- package/lib/_utils/vue/create-ref-setter.d.ts +1 -1
- package/lib/_utils/vue/flatten.d.ts +1 -1
- package/lib/_utils/vue/get-first-slot-vnode.d.ts +1 -1
- package/lib/_utils/vue/get-slot.d.ts +1 -1
- package/lib/_utils/vue/get-v-node-children.d.ts +1 -1
- package/lib/_utils/vue/is-node-v-show-false.d.ts +1 -1
- package/lib/_utils/vue/keysOf.d.ts +1 -1
- package/lib/_utils/vue/omit.d.ts +1 -1
- package/lib/_utils/vue/render.d.ts +1 -1
- package/lib/_utils/vue/resolve-slot.d.ts +1 -1
- package/lib/_utils/vue/wrapper.d.ts +1 -1
- package/lib/affix/src/Affix.d.ts +3 -3
- package/lib/alert/src/Alert.d.ts +3 -3
- package/lib/alert/src/Alert.js +4 -0
- package/lib/alert/src/styles/index.cssr.js +4 -0
- package/lib/anchor/src/AnchorAdapter.d.ts +1 -1
- package/lib/anchor/src/BaseAnchor.d.ts +2 -2
- package/lib/anchor/src/BaseAnchor.js +3 -1
- package/lib/anchor/src/Link.d.ts +3 -3
- package/lib/auto-complete/src/AutoComplete.d.ts +8 -9
- package/lib/auto-complete/src/interface.d.ts +3 -2
- package/lib/auto-complete/src/utils.d.ts +2 -2
- package/lib/avatar/src/Avatar.d.ts +4 -4
- package/lib/avatar-group/src/AvatarGroup.d.ts +4 -4
- package/lib/avatar-group/styles/light.d.ts +1 -1
- package/lib/avatar-group/styles/rtl.d.ts +1 -1
- package/lib/back-top/src/BackTop.d.ts +3 -3
- package/lib/badge/src/Badge.d.ts +3 -3
- package/lib/badge/src/Badge.js +1 -1
- package/lib/badge/styles/light.d.ts +1 -1
- package/lib/badge/styles/rtl.d.ts +1 -1
- package/lib/breadcrumb/src/Breadcrumb.d.ts +4 -4
- package/lib/breadcrumb/src/BreadcrumbItem.d.ts +2 -2
- package/lib/button/src/Button.d.ts +4 -4
- package/lib/button/src/Button.js +1 -1
- package/lib/button/styles/rtl.d.ts +1 -1
- package/lib/button-group/src/ButtonGroup.d.ts +3 -3
- package/lib/button-group/src/styles/index.cssr.d.ts +1 -1
- package/lib/button-group/src/styles/rtl.cssr.d.ts +1 -1
- package/lib/button-group/styles/rtl.d.ts +1 -1
- package/lib/calendar/src/Calendar.d.ts +4 -4
- package/lib/card/src/Card.d.ts +7 -7
- package/lib/card/styles/light.d.ts +1 -1
- package/lib/card/styles/rtl.d.ts +1 -1
- package/lib/carousel/src/Carousel.d.ts +2 -2
- package/lib/carousel/src/Carousel.js +6 -2
- package/lib/carousel/src/CarouselArrow.d.ts +2 -2
- package/lib/carousel/src/CarouselContext.js +3 -1
- package/lib/carousel/src/CarouselDots.d.ts +2 -2
- package/lib/carousel/src/CarouselDots.js +7 -1
- package/lib/carousel/src/CarouselItem.d.ts +2 -2
- package/lib/carousel/src/CarouselItem.js +4 -3
- package/lib/carousel/src/interface.d.ts +1 -1
- package/lib/carousel/src/utils/index.d.ts +1 -1
- package/lib/carousel/styles/light.d.ts +1 -1
- package/lib/cascader/src/Cascader.d.ts +13 -12
- package/lib/cascader/src/CascaderMenu.d.ts +4 -4
- package/lib/cascader/src/CascaderOption.d.ts +3 -3
- package/lib/cascader/src/CascaderSelectMenu.d.ts +5 -5
- package/lib/cascader/src/CascaderSubmenu.d.ts +3 -3
- package/lib/cascader/src/interface.d.ts +2 -2
- package/lib/checkbox/src/Checkbox.d.ts +4 -4
- package/lib/checkbox/src/Checkbox.js +9 -2
- package/lib/checkbox/src/CheckboxGroup.d.ts +4 -5
- package/lib/checkbox/src/styles/index.cssr.js +9 -11
- package/lib/code/src/Code.d.ts +4 -4
- package/lib/code/styles/light.d.ts +1 -1
- package/lib/collapse/src/Collapse.d.ts +16 -6
- package/lib/collapse/src/Collapse.js +2 -1
- package/lib/collapse/src/CollapseItem.d.ts +3 -3
- package/lib/collapse/src/CollapseItemContent.d.ts +2 -2
- package/lib/collapse/src/styles/index.cssr.js +2 -1
- package/lib/collapse/styles/light.d.ts +2 -1
- package/lib/collapse/styles/light.js +2 -1
- package/lib/collapse-transition/src/CollapseTransition.d.ts +3 -3
- package/lib/collapse-transition/styles/light.d.ts +1 -1
- package/lib/color-picker/src/AlphaSlider.d.ts +3 -3
- package/lib/color-picker/src/ColorInput.d.ts +3 -3
- package/lib/color-picker/src/ColorInputUnit.d.ts +2 -2
- package/lib/color-picker/src/ColorPicker.d.ts +6 -6
- package/lib/color-picker/src/ColorPicker.js +6 -2
- package/lib/color-picker/src/ColorPickerSwatches.d.ts +3 -3
- package/lib/color-picker/src/ColorPickerSwatches.js +5 -1
- package/lib/color-picker/src/ColorPickerTrigger.d.ts +3 -3
- package/lib/color-picker/src/ColorPreview.d.ts +3 -3
- package/lib/color-picker/src/HueSlider.d.ts +2 -2
- package/lib/color-picker/src/Pallete.d.ts +3 -3
- package/lib/color-picker/src/context.d.ts +1 -1
- package/lib/color-picker/src/interface.d.ts +1 -1
- package/lib/composables/use-theme-vars.d.ts +1 -1
- package/lib/config-provider/src/ConfigProvider.d.ts +27 -14
- package/lib/config-provider/src/ConfigProvider.js +4 -2
- package/lib/config-provider/src/internal-interface.d.ts +3 -3
- package/lib/config-provider/src/katex.d.ts +1 -1
- package/lib/countdown/src/Countdown.d.ts +2 -2
- package/lib/create.d.ts +1 -1
- package/lib/data-table/index.d.ts +1 -1
- package/lib/data-table/src/DataTable.d.ts +4 -4
- package/lib/data-table/src/DataTable.js +0 -6
- package/lib/data-table/src/HeaderButton/FilterButton.d.ts +5 -5
- package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +8 -7
- package/lib/data-table/src/HeaderButton/RenderFilter.d.ts +3 -3
- package/lib/data-table/src/HeaderButton/RenderSorter.d.ts +3 -3
- package/lib/data-table/src/HeaderButton/ResizeButton.d.ts +1 -1
- package/lib/data-table/src/HeaderButton/ResizeButton.js +1 -0
- package/lib/data-table/src/HeaderButton/SortButton.d.ts +5 -5
- package/lib/data-table/src/MainTable.d.ts +1 -1
- package/lib/data-table/src/TableParts/Body.d.ts +5 -6
- package/lib/data-table/src/TableParts/Body.js +19 -12
- package/lib/data-table/src/TableParts/BodyCheckbox.d.ts +3 -3
- package/lib/data-table/src/TableParts/BodyRadio.d.ts +3 -3
- package/lib/data-table/src/TableParts/Cell.d.ts +5 -5
- package/lib/data-table/src/TableParts/Cell.js +9 -2
- package/lib/data-table/src/TableParts/ExpandTrigger.d.ts +5 -4
- package/lib/data-table/src/TableParts/ExpandTrigger.js +6 -2
- package/lib/data-table/src/TableParts/Header.d.ts +2 -4
- package/lib/data-table/src/TableParts/Header.js +9 -13
- package/lib/data-table/src/TableParts/SelectionMenu.d.ts +1 -1
- package/lib/data-table/src/interface.d.ts +11 -9
- package/lib/data-table/src/styles/index.cssr.d.ts +1 -1
- package/lib/data-table/src/styles/index.cssr.js +2 -0
- package/lib/data-table/src/use-check.d.ts +2 -2
- package/lib/data-table/src/use-expand.d.ts +2 -2
- package/lib/data-table/src/use-group-header.d.ts +1 -1
- package/lib/data-table/src/use-scroll.d.ts +2 -3
- package/lib/data-table/src/use-scroll.js +21 -13
- package/lib/data-table/src/use-sorter.d.ts +1 -1
- package/lib/data-table/src/use-table-data.d.ts +2 -2
- package/lib/data-table/src/utils.d.ts +1 -1
- package/lib/date-picker/src/DatePicker.d.ts +5 -5
- package/lib/date-picker/src/interface.d.ts +4 -4
- package/lib/date-picker/src/panel/date.d.ts +6 -6
- package/lib/date-picker/src/panel/date.js +3 -1
- package/lib/date-picker/src/panel/daterange.d.ts +3 -3
- package/lib/date-picker/src/panel/daterange.js +10 -2
- package/lib/date-picker/src/panel/datetime.d.ts +3 -3
- package/lib/date-picker/src/panel/datetime.js +3 -1
- package/lib/date-picker/src/panel/datetimerange.d.ts +3 -3
- package/lib/date-picker/src/panel/datetimerange.js +16 -4
- package/lib/date-picker/src/panel/month.d.ts +4 -4
- package/lib/date-picker/src/panel/month.js +4 -1
- package/lib/date-picker/src/panel/monthrange.d.ts +4 -4
- package/lib/date-picker/src/panel/panelHeader.d.ts +74 -51
- package/lib/date-picker/src/panel/use-calendar.d.ts +4 -4
- package/lib/date-picker/src/panel/use-dual-calendar.d.ts +7 -7
- package/lib/date-picker/src/panel/use-panel-common.d.ts +3 -3
- package/lib/date-picker/src/styles/index.cssr.js +1 -0
- package/lib/date-picker/src/utils.d.ts +1 -1
- package/lib/date-picker/src/validation-utils.d.ts +1 -1
- package/lib/descriptions/src/Descriptions.d.ts +3 -3
- package/lib/descriptions/src/Descriptions.js +6 -1
- package/lib/descriptions/src/DescriptionsItem.d.ts +2 -2
- package/lib/descriptions/src/utils.d.ts +1 -1
- package/lib/descriptions/styles/light.d.ts +2 -2
- package/lib/dialog/src/Dialog.d.ts +2 -2
- package/lib/dialog/src/DialogEnvironment.d.ts +2 -2
- package/lib/dialog/src/DialogProvider.d.ts +6 -6
- package/lib/dialog/src/DialogProvider.js +3 -1
- package/lib/dialog/src/composables.d.ts +1 -1
- package/lib/dialog/src/dialogProps.d.ts +1 -1
- package/lib/discrete/src/InjectionExtractor.d.ts +2 -2
- package/lib/discrete/src/discrete.d.ts +2 -2
- package/lib/discrete/src/discreteApp.d.ts +7 -7
- package/lib/discrete/src/interface.d.ts +10 -10
- package/lib/divider/src/Divider.d.ts +3 -3
- package/lib/drawer/src/Drawer.d.ts +17 -4
- package/lib/drawer/src/Drawer.js +2 -2
- package/lib/drawer/src/DrawerBodyWrapper.d.ts +10 -2
- package/lib/drawer/src/DrawerBodyWrapper.js +25 -1
- package/lib/drawer/src/DrawerContent.d.ts +2 -2
- package/lib/drawer/src/interface.d.ts +1 -1
- package/lib/dropdown/src/Dropdown.d.ts +9 -9
- package/lib/dropdown/src/DropdownDivider.d.ts +1 -1
- package/lib/dropdown/src/DropdownGroup.d.ts +3 -3
- package/lib/dropdown/src/DropdownGroupHeader.d.ts +1 -1
- package/lib/dropdown/src/DropdownMenu.d.ts +3 -3
- package/lib/dropdown/src/DropdownOption.d.ts +4 -4
- package/lib/dropdown/src/DropdownRenderOption.d.ts +3 -3
- package/lib/dropdown/src/interface.d.ts +2 -2
- package/lib/dynamic-input/src/DynamicInput.d.ts +7 -3
- package/lib/dynamic-input/src/DynamicInput.js +50 -29
- package/lib/dynamic-input/src/InputPreset.d.ts +5 -2
- package/lib/dynamic-input/src/InputPreset.js +3 -2
- package/lib/dynamic-input/src/PairPreset.d.ts +5 -2
- package/lib/dynamic-input/src/PairPreset.js +4 -3
- package/lib/dynamic-input/src/interface.d.ts +1 -1
- package/lib/dynamic-input/styles/dark.d.ts +1 -1
- package/lib/dynamic-tags/src/DynamicTags.d.ts +3 -3
- package/lib/dynamic-tags/src/DynamicTags.js +3 -1
- package/lib/element/src/Element.d.ts +11 -11
- package/lib/element/styles/dark.d.ts +1 -1
- package/lib/element/styles/light.d.ts +1 -1
- package/lib/ellipsis/index.d.ts +1 -0
- package/lib/ellipsis/index.js +3 -1
- package/lib/ellipsis/src/Ellipsis.d.ts +4 -2
- package/lib/ellipsis/src/Ellipsis.js +5 -2
- package/lib/ellipsis/src/PerformantEllipsis.d.ts +164 -0
- package/lib/ellipsis/src/PerformantEllipsis.js +81 -0
- package/lib/ellipsis/styles/dark.d.ts +1 -1
- package/lib/empty/src/Empty.d.ts +3 -3
- package/lib/equation/src/Equation.d.ts +6 -6
- package/lib/form/src/Form.d.ts +4 -4
- package/lib/form/src/Form.js +4 -2
- package/lib/form/src/FormItem.d.ts +4 -4
- package/lib/form/src/FormItem.js +1 -1
- package/lib/form/src/FormItemCol.d.ts +1 -1
- package/lib/form/src/FormItemCol.js +1 -1
- package/lib/form/src/FormItemGridItem.d.ts +1 -1
- package/lib/form/src/FormItemGridItem.js +1 -1
- package/lib/form/src/FormItemRow.d.ts +1 -1
- package/lib/form/src/FormItemRow.js +1 -1
- package/lib/form/src/interface.d.ts +3 -3
- package/lib/form/src/utils.d.ts +1 -1
- package/lib/global-style/src/GlobalStyle.d.ts +1 -1
- package/lib/gradient-text/src/GradientText.d.ts +3 -3
- package/lib/gradient-text/styles/dark.d.ts +1 -1
- package/lib/grid/src/Grid.d.ts +6 -6
- package/lib/grid/src/Grid.js +6 -3
- package/lib/grid/src/GridItem.d.ts +2 -2
- package/lib/icon/src/Icon.d.ts +6 -6
- package/lib/icon-wrapper/src/IconWrapper.d.ts +2 -2
- package/lib/icon-wrapper/src/IconWrapper.js +1 -1
- package/lib/image/src/Image.d.ts +9 -3
- package/lib/image/src/Image.js +19 -21
- package/lib/image/src/ImageGroup.d.ts +10 -4
- package/lib/image/src/ImageGroup.js +8 -2
- package/lib/image/src/ImagePreview.d.ts +9 -4
- package/lib/image/src/ImagePreview.js +9 -0
- package/lib/image/src/icons.d.ts +1 -0
- package/lib/image/src/icons.js +3 -1
- package/lib/image/src/interface.d.ts +7 -5
- package/lib/image/src/interface.js +1 -1
- package/lib/image/src/utils.d.ts +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +3 -1
- package/lib/input/src/Input.d.ts +17 -8
- package/lib/input/src/Input.js +30 -8
- package/lib/input/src/InputGroup.d.ts +2 -2
- package/lib/input/src/InputGroupLabel.d.ts +3 -3
- package/lib/input/src/WordCount.d.ts +1 -1
- package/lib/input/src/interface.d.ts +1 -1
- package/lib/input/src/styles/input.cssr.js +4 -3
- package/lib/input-number/src/InputNumber.d.ts +5 -4
- package/lib/input-number/src/InputNumber.js +2 -1
- package/lib/input-number/src/interface.d.ts +1 -0
- package/lib/layout/src/Layout.d.ts +5 -5
- package/lib/layout/src/LayoutContent.d.ts +2 -2
- package/lib/layout/src/LayoutFooter.d.ts +2 -2
- package/lib/layout/src/LayoutHeader.d.ts +3 -3
- package/lib/layout/src/LayoutSider.d.ts +3 -3
- package/lib/layout/src/ToggleBar.d.ts +2 -2
- package/lib/layout/src/ToggleButton.d.ts +2 -2
- package/lib/layout/src/interface.d.ts +1 -1
- package/lib/legacy-grid/src/Col.d.ts +4 -4
- package/lib/legacy-grid/src/Row.d.ts +4 -4
- package/lib/legacy-transfer/src/Transfer.d.ts +6 -7
- package/lib/legacy-transfer/src/TransferFilter.d.ts +2 -2
- package/lib/legacy-transfer/src/TransferHeader.d.ts +2 -2
- package/lib/legacy-transfer/src/TransferList.d.ts +3 -3
- package/lib/legacy-transfer/src/TransferListItem.d.ts +1 -1
- package/lib/legacy-transfer/src/interface.d.ts +1 -1
- package/lib/legacy-transfer/src/use-transfer-data.d.ts +1 -1
- package/lib/list/src/List.d.ts +4 -4
- package/lib/list/src/ListItem.d.ts +1 -1
- package/lib/list/styles/light.d.ts +1 -1
- package/lib/loading-bar/src/LoadingBar.d.ts +3 -3
- package/lib/loading-bar/src/LoadingBar.js +18 -11
- package/lib/loading-bar/src/LoadingBarProvider.d.ts +3 -3
- package/lib/loading-bar/src/context.d.ts +1 -1
- package/lib/locales/common/arDZ.js +1 -0
- package/lib/locales/common/deDE.js +1 -0
- package/lib/locales/common/enGB.js +1 -0
- package/lib/locales/common/enUS.d.ts +2 -1
- package/lib/locales/common/enUS.js +1 -0
- package/lib/locales/common/eo.js +1 -0
- package/lib/locales/common/esAR.js +1 -0
- package/lib/locales/common/faIR.d.ts +3 -0
- package/lib/locales/common/faIR.js +123 -0
- package/lib/locales/common/frFR.js +1 -0
- package/lib/locales/common/idID.js +18 -17
- package/lib/locales/common/itIT.js +1 -0
- package/lib/locales/common/jaJP.js +1 -0
- package/lib/locales/common/koKR.js +1 -0
- package/lib/locales/common/nbNO.js +1 -0
- package/lib/locales/common/nlNL.js +1 -0
- package/lib/locales/common/plPL.js +1 -0
- package/lib/locales/common/ptBR.js +15 -17
- package/lib/locales/common/ruRU.js +1 -0
- package/lib/locales/common/skSK.js +1 -0
- package/lib/locales/common/svSE.d.ts +3 -0
- package/lib/locales/common/svSE.js +123 -0
- package/lib/locales/common/thTH.js +1 -0
- package/lib/locales/common/trTR.js +2 -1
- package/lib/locales/common/ukUA.js +1 -0
- package/lib/locales/common/viVN.js +1 -0
- package/lib/locales/common/zhCN.js +1 -0
- package/lib/locales/common/zhTW.js +32 -34
- package/lib/locales/date/arDZ.d.ts +1 -1
- package/lib/locales/date/deDE.d.ts +1 -1
- package/lib/locales/date/enGB.d.ts +1 -1
- package/lib/locales/date/enUS.d.ts +1 -1
- package/lib/locales/date/eo.d.ts +1 -1
- package/lib/locales/date/esAR.d.ts +1 -1
- package/lib/locales/date/faIR.d.ts +3 -0
- package/lib/locales/date/faIR.js +11 -0
- package/lib/locales/date/frFR.d.ts +1 -1
- package/lib/locales/date/idID.d.ts +1 -1
- package/lib/locales/date/itIT.d.ts +1 -1
- package/lib/locales/date/jaJP.d.ts +1 -1
- package/lib/locales/date/koKR.d.ts +1 -1
- package/lib/locales/date/nbNO.d.ts +1 -1
- package/lib/locales/date/nlNL.d.ts +1 -1
- package/lib/locales/date/plPL.d.ts +1 -1
- package/lib/locales/date/ptBR.d.ts +1 -1
- package/lib/locales/date/ruRU.d.ts +1 -1
- package/lib/locales/date/skSK.d.ts +1 -1
- package/lib/locales/date/svSE.d.ts +3 -0
- package/lib/locales/date/svSE.js +11 -0
- package/lib/locales/date/thTH.d.ts +1 -1
- package/lib/locales/date/trTR.d.ts +1 -1
- package/lib/locales/date/ukUA.d.ts +1 -1
- package/lib/locales/date/viVN.d.ts +1 -1
- package/lib/locales/date/zhCN.d.ts +1 -1
- package/lib/locales/date/zhTW.d.ts +1 -1
- package/lib/locales/index.d.ts +4 -0
- package/lib/locales/index.js +10 -1
- package/lib/locales/utils/index.d.ts +1 -1
- package/lib/log/src/Log.d.ts +10 -10
- package/lib/log/src/Log.js +12 -12
- package/lib/log/src/LogLine.d.ts +1 -1
- package/lib/log/src/LogLoader.d.ts +1 -1
- package/lib/mention/src/Mention.d.ts +7 -7
- package/lib/menu/src/Menu.d.ts +11 -11
- package/lib/menu/src/Menu.js +1 -1
- package/lib/menu/src/MenuDivider.d.ts +1 -1
- package/lib/menu/src/MenuOption.d.ts +3 -3
- package/lib/menu/src/MenuOptionContent.d.ts +3 -3
- package/lib/menu/src/MenuOptionGroup.d.ts +3 -3
- package/lib/menu/src/Submenu.d.ts +3 -3
- package/lib/menu/src/context.d.ts +2 -2
- package/lib/menu/src/interface.d.ts +2 -2
- package/lib/menu/src/styles/index.cssr.d.ts +1 -1
- package/lib/menu/src/use-menu-child-props.d.ts +2 -2
- package/lib/menu/src/use-menu-child.d.ts +3 -3
- package/lib/menu/src/utils.d.ts +2 -2
- package/lib/message/src/Message.d.ts +2 -2
- package/lib/message/src/MessageEnvironment.d.ts +2 -2
- package/lib/message/src/MessageProvider.d.ts +3 -3
- package/lib/message/src/context.d.ts +1 -1
- package/lib/message/src/message-props.d.ts +3 -3
- package/lib/message/src/types.d.ts +1 -1
- package/lib/message/styles/light.d.ts +1 -1
- package/lib/message/styles/rtl.d.ts +1 -1
- package/lib/modal/src/BodyWrapper.d.ts +3 -3
- package/lib/modal/src/Modal.d.ts +3 -3
- package/lib/modal/src/interface.d.ts +1 -1
- package/lib/notification/src/Notification.d.ts +2 -2
- package/lib/notification/src/NotificationContainer.d.ts +2 -2
- package/lib/notification/src/NotificationEnvironment.d.ts +5 -2
- package/lib/notification/src/NotificationProvider.d.ts +5 -5
- package/lib/notification/src/styles/index.cssr.d.ts +1 -1
- package/lib/notification/src/styles/index.cssr.js +2 -0
- package/lib/notification/styles/rtl.d.ts +1 -1
- package/lib/number-animation/src/NumberAnimation.d.ts +2 -2
- package/lib/page-header/src/PageHeader.d.ts +3 -3
- package/lib/pagination/src/Pagination.d.ts +4 -4
- package/lib/pagination/src/Pagination.js +3 -1
- package/lib/pagination/src/interface.d.ts +2 -2
- package/lib/pagination/styles/light.d.ts +1 -1
- package/lib/popconfirm/src/Popconfirm.d.ts +5 -4
- package/lib/popconfirm/src/Popconfirm.js +13 -5
- package/lib/popconfirm/src/PopconfirmPanel.d.ts +2 -2
- package/lib/popconfirm/src/interface.d.ts +1 -1
- package/lib/popconfirm/styles/light.d.ts +1 -1
- package/lib/popover/src/Popover.d.ts +3 -3
- package/lib/popover/src/Popover.js +3 -5
- package/lib/popover/src/PopoverBody.d.ts +3 -3
- package/lib/popover/src/interface.d.ts +4 -1
- package/lib/popover/src/styles/index.cssr.d.ts +1 -1
- package/lib/popselect/src/Popselect.d.ts +3 -3
- package/lib/popselect/src/Popselect.js +2 -1
- package/lib/popselect/src/PopselectPanel.d.ts +8 -8
- package/lib/popselect/src/interface.d.ts +1 -1
- package/lib/popselect/styles/light.d.ts +1 -1
- package/lib/progress/src/Circle.d.ts +3 -3
- package/lib/progress/src/Line.d.ts +3 -3
- package/lib/progress/src/Line.js +1 -3
- package/lib/progress/src/MultipleCircle.d.ts +2 -2
- package/lib/progress/src/Progress.d.ts +5 -5
- package/lib/radio/src/Radio.d.ts +173 -34
- package/lib/radio/src/Radio.js +2 -2
- package/lib/radio/src/RadioButton.d.ts +4 -4
- package/lib/radio/src/RadioButton.js +2 -2
- package/lib/radio/src/RadioGroup.d.ts +4 -4
- package/lib/radio/src/use-radio.d.ts +5 -5
- package/lib/radio/src/use-radio.js +2 -2
- package/lib/radio/styles/light.d.ts +1 -1
- package/lib/rate/src/Rate.d.ts +3 -3
- package/lib/rate/src/Rate.js +1 -1
- package/lib/rate/styles/dark.d.ts +1 -1
- package/lib/rate/styles/light.d.ts +1 -1
- package/lib/result/src/Result.d.ts +3 -3
- package/lib/scrollbar/src/Scrollbar.d.ts +5 -2
- package/lib/scrollbar/src/Scrollbar.js +1 -1
- package/lib/select/src/Select.d.ts +24 -8
- package/lib/select/src/Select.js +24 -3
- package/lib/select/src/interface.d.ts +4 -2
- package/lib/select/src/utils.d.ts +1 -1
- package/lib/skeleton/src/Skeleton.d.ts +3 -3
- package/lib/skeleton/styles/dark.d.ts +1 -1
- package/lib/skeleton/styles/light.d.ts +1 -1
- package/lib/slider/src/Slider.d.ts +5 -5
- package/lib/slider/src/Slider.js +12 -4
- package/lib/slider/src/utils.d.ts +1 -1
- package/lib/slider/src/utils.js +3 -1
- package/lib/slider/styles/light.d.ts +1 -1
- package/lib/space/src/Space.d.ts +3 -3
- package/lib/space/styles/rtl.d.ts +1 -1
- package/lib/spin/src/Spin.d.ts +8 -5
- package/lib/spin/src/Spin.js +22 -4
- package/lib/spin/styles/light.d.ts +1 -1
- package/lib/statistic/src/Statistic.d.ts +2 -2
- package/lib/statistic/styles/light.d.ts +1 -1
- package/lib/statistic/styles/rtl.d.ts +1 -1
- package/lib/steps/src/Step.d.ts +3 -3
- package/lib/steps/src/Steps.d.ts +3 -3
- package/lib/steps/src/styles/index.cssr.js +1 -0
- package/lib/steps/styles/rtl.d.ts +1 -1
- package/lib/switch/src/Switch.d.ts +3 -3
- package/lib/table/src/Table.d.ts +3 -3
- package/lib/table/src/Tbody.d.ts +1 -1
- package/lib/table/src/Td.d.ts +1 -1
- package/lib/table/src/Th.d.ts +1 -1
- package/lib/table/src/Thead.d.ts +1 -1
- package/lib/table/src/Tr.d.ts +1 -1
- package/lib/table/styles/light.d.ts +1 -1
- package/lib/table/styles/rtl.d.ts +1 -1
- package/lib/tabs/src/Tab.d.ts +1 -1
- package/lib/tabs/src/TabPane.d.ts +2 -2
- package/lib/tabs/src/Tabs.d.ts +129 -11
- package/lib/tabs/src/Tabs.js +51 -23
- package/lib/tabs/src/interface.d.ts +1 -1
- package/lib/tabs/src/styles/index.cssr.js +101 -36
- package/lib/tabs/styles/_common.d.ts +12 -0
- package/lib/tabs/styles/_common.js +24 -12
- package/lib/tabs/styles/light.d.ts +13 -1
- package/lib/tag/src/Tag.d.ts +3 -3
- package/lib/tag/src/common-props.d.ts +1 -1
- package/lib/theme-editor/src/MaximizeIcon.d.ts +1 -1
- package/lib/theme-editor/src/MinimizeIcon.d.ts +1 -1
- package/lib/theme-editor/src/ThemeEditor.d.ts +3 -5
- package/lib/theme-editor/src/ThemeEditor.js +1 -1
- package/lib/themes/interface.d.ts +1 -1
- package/lib/themes/utils.d.ts +1 -1
- package/lib/thing/src/Thing.d.ts +2 -2
- package/lib/thing/styles/rtl.d.ts +1 -1
- package/lib/time/src/Time.d.ts +3 -3
- package/lib/time/src/Time.js +1 -1
- package/lib/time-picker/src/Panel.d.ts +4 -4
- package/lib/time-picker/src/PanelCol.d.ts +3 -3
- package/lib/time-picker/src/PanelCol.js +5 -1
- package/lib/time-picker/src/TimePicker.d.ts +4 -4
- package/lib/time-picker/src/TimePicker.js +1 -1
- package/lib/time-picker/src/interface.d.ts +2 -2
- package/lib/time-picker/src/utils.d.ts +1 -1
- package/lib/timeline/src/Timeline.d.ts +4 -4
- package/lib/timeline/src/TimelineItem.d.ts +2 -2
- package/lib/tooltip/src/Tooltip.d.ts +1 -1
- package/lib/tooltip/src/Tooltip.js +2 -1
- package/lib/transfer/src/Transfer.d.ts +13 -8
- package/lib/transfer/src/Transfer.js +2 -2
- package/lib/transfer/src/TransferFilter.d.ts +2 -2
- package/lib/transfer/src/TransferHeader.d.ts +6 -2
- package/lib/transfer/src/TransferHeader.js +6 -2
- package/lib/transfer/src/TransferList.d.ts +3 -3
- package/lib/transfer/src/TransferListItem.d.ts +3 -3
- package/lib/transfer/src/interface.d.ts +1 -1
- package/lib/transfer/src/use-transfer-data.d.ts +4 -4
- package/lib/tree/src/MotionWrapper.d.ts +3 -3
- package/lib/tree/src/Tree.d.ts +51 -8
- package/lib/tree/src/Tree.js +30 -19
- package/lib/tree/src/TreeNode.d.ts +8 -4
- package/lib/tree/src/TreeNode.js +43 -7
- package/lib/tree/src/TreeNodeCheckbox.d.ts +13 -2
- package/lib/tree/src/TreeNodeCheckbox.js +12 -10
- package/lib/tree/src/TreeNodeContent.d.ts +3 -3
- package/lib/tree/src/TreeNodeSwitcher.d.ts +19 -2
- package/lib/tree/src/TreeNodeSwitcher.js +12 -6
- package/lib/tree/src/dnd.d.ts +2 -2
- package/lib/tree/src/interface.d.ts +4 -2
- package/lib/tree/src/keyboard.d.ts +3 -3
- package/lib/tree/src/styles/index.cssr.js +46 -51
- package/lib/tree/src/utils.d.ts +3 -3
- package/lib/tree/src/utils.js +1 -0
- package/lib/tree/styles/light.d.ts +6 -0
- package/lib/tree/styles/light.js +3 -0
- package/lib/tree-select/src/TreeSelect.d.ts +53 -20
- package/lib/tree-select/src/TreeSelect.js +3 -1
- package/lib/tree-select/src/interface.d.ts +4 -2
- package/lib/tree-select/src/utils.d.ts +2 -2
- package/lib/tree-select/styles/light.d.ts +3 -0
- package/lib/typography/src/a.d.ts +2 -2
- package/lib/typography/src/blockquote.d.ts +2 -2
- package/lib/typography/src/create-header.d.ts +4 -4
- package/lib/typography/src/headers.d.ts +12 -12
- package/lib/typography/src/hr.d.ts +2 -2
- package/lib/typography/src/li.d.ts +1 -1
- package/lib/typography/src/ol.d.ts +2 -2
- package/lib/typography/src/p.d.ts +3 -3
- package/lib/typography/src/text.d.ts +3 -3
- package/lib/typography/src/ul.d.ts +2 -2
- package/lib/upload/src/Upload.d.ts +6 -66
- package/lib/upload/src/Upload.js +3 -4
- package/lib/upload/src/UploadDragger.d.ts +1 -1
- package/lib/upload/src/UploadFile.d.ts +3 -3
- package/lib/upload/src/UploadFileList.d.ts +1 -1
- package/lib/upload/src/UploadProgress.d.ts +2 -2
- package/lib/upload/src/UploadTrigger.d.ts +1 -1
- package/lib/upload/src/interface.d.ts +5 -5
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/watermark/src/Watermark.d.ts +3 -3
- package/package.json +69 -69
- package/volar.d.ts +1 -0
- package/web-types.json +231 -27
package/es/tabs/src/Tabs.js
CHANGED
|
@@ -8,6 +8,7 @@ import { tabsLight } from '../styles';
|
|
|
8
8
|
import { tabsInjectionKey } from './interface';
|
|
9
9
|
import Tab from './Tab';
|
|
10
10
|
import style from './styles/index.cssr';
|
|
11
|
+
import { getPadding } from 'seemly';
|
|
11
12
|
export const tabsProps = Object.assign(Object.assign({}, useTheme.props), { value: [String, Number], defaultValue: [String, Number], trigger: {
|
|
12
13
|
type: String,
|
|
13
14
|
default: 'click'
|
|
@@ -20,7 +21,7 @@ export const tabsProps = Object.assign(Object.assign({}, useTheme.props), { valu
|
|
|
20
21
|
}, placement: {
|
|
21
22
|
type: String,
|
|
22
23
|
default: 'top'
|
|
23
|
-
}, tabStyle: [String, Object], barWidth: Number, paneClass: String, paneStyle: [String, Object], addable: [Boolean, Object], tabsPadding: {
|
|
24
|
+
}, tabStyle: [String, Object], barWidth: Number, paneClass: String, paneStyle: [String, Object], paneWrapperClass: String, paneWrapperStyle: [String, Object], addable: [Boolean, Object], tabsPadding: {
|
|
24
25
|
type: Number,
|
|
25
26
|
default: 0
|
|
26
27
|
}, animated: Boolean, onBeforeLeave: Function, onAdd: Function, 'onUpdate:value': [Function, Array], onUpdateValue: [Function, Array], onClose: [Function, Array],
|
|
@@ -51,8 +52,8 @@ export default defineComponent({
|
|
|
51
52
|
const scrollWrapperElRef = ref(null);
|
|
52
53
|
const addTabInstRef = ref(null);
|
|
53
54
|
const xScrollInstRef = ref(null);
|
|
54
|
-
const
|
|
55
|
-
const
|
|
55
|
+
const startReachedRef = ref(true);
|
|
56
|
+
const endReachedRef = ref(true);
|
|
56
57
|
const compitableSizeRef = useCompitable(props, ['labelSize', 'size']);
|
|
57
58
|
const compitableValueRef = useCompitable(props, ['activeName', 'value']);
|
|
58
59
|
const uncontrolledValueRef = ref((_b = (_a = compitableValueRef.value) !== null && _a !== void 0 ? _a : props.defaultValue) !== null && _b !== void 0 ? _b : (slots.default
|
|
@@ -214,6 +215,19 @@ export default defineComponent({
|
|
|
214
215
|
if (tabsPaneWrapperEl) {
|
|
215
216
|
tabsPaneWrapperEl.style.maxHeight = '';
|
|
216
217
|
tabsPaneWrapperEl.style.height = '';
|
|
218
|
+
const { paneWrapperStyle } = props;
|
|
219
|
+
if (typeof paneWrapperStyle === 'string') {
|
|
220
|
+
tabsPaneWrapperEl.style.cssText = paneWrapperStyle;
|
|
221
|
+
}
|
|
222
|
+
else if (paneWrapperStyle) {
|
|
223
|
+
const { maxHeight, height } = paneWrapperStyle;
|
|
224
|
+
if (maxHeight !== undefined) {
|
|
225
|
+
tabsPaneWrapperEl.style.maxHeight = maxHeight;
|
|
226
|
+
}
|
|
227
|
+
if (height !== undefined) {
|
|
228
|
+
tabsPaneWrapperEl.style.height = height;
|
|
229
|
+
}
|
|
230
|
+
}
|
|
217
231
|
}
|
|
218
232
|
}
|
|
219
233
|
const renderNameListRef = { value: [] };
|
|
@@ -334,9 +348,17 @@ export default defineComponent({
|
|
|
334
348
|
function deriveScrollShadow(el) {
|
|
335
349
|
if (!el)
|
|
336
350
|
return;
|
|
337
|
-
const {
|
|
338
|
-
|
|
339
|
-
|
|
351
|
+
const { placement } = props;
|
|
352
|
+
if (placement === 'top' || placement === 'bottom') {
|
|
353
|
+
const { scrollLeft, scrollWidth, offsetWidth } = el;
|
|
354
|
+
startReachedRef.value = scrollLeft <= 0;
|
|
355
|
+
endReachedRef.value = scrollLeft + offsetWidth >= scrollWidth;
|
|
356
|
+
}
|
|
357
|
+
else {
|
|
358
|
+
const { scrollTop, scrollHeight, offsetHeight } = el;
|
|
359
|
+
startReachedRef.value = scrollTop <= 0;
|
|
360
|
+
endReachedRef.value = scrollTop + offsetHeight >= scrollHeight;
|
|
361
|
+
}
|
|
340
362
|
}
|
|
341
363
|
const handleScroll = throttle((e) => {
|
|
342
364
|
deriveScrollShadow(e.target);
|
|
@@ -363,22 +385,22 @@ export default defineComponent({
|
|
|
363
385
|
// avoid useless rerender
|
|
364
386
|
watchEffect(() => {
|
|
365
387
|
const { value: el } = scrollWrapperElRef;
|
|
366
|
-
if (!el
|
|
388
|
+
if (!el)
|
|
367
389
|
return;
|
|
368
390
|
const { value: clsPrefix } = mergedClsPrefixRef;
|
|
369
|
-
const
|
|
370
|
-
const
|
|
371
|
-
if (
|
|
372
|
-
el.classList.remove(
|
|
391
|
+
const shadowStartClass = `${clsPrefix}-tabs-nav-scroll-wrapper--shadow-start`;
|
|
392
|
+
const shadowEndClass = `${clsPrefix}-tabs-nav-scroll-wrapper--shadow-end`;
|
|
393
|
+
if (startReachedRef.value) {
|
|
394
|
+
el.classList.remove(shadowStartClass);
|
|
373
395
|
}
|
|
374
396
|
else {
|
|
375
|
-
el.classList.add(
|
|
397
|
+
el.classList.add(shadowStartClass);
|
|
376
398
|
}
|
|
377
|
-
if (
|
|
378
|
-
el.classList.remove(
|
|
399
|
+
if (endReachedRef.value) {
|
|
400
|
+
el.classList.remove(shadowEndClass);
|
|
379
401
|
}
|
|
380
402
|
else {
|
|
381
|
-
el.classList.add(
|
|
403
|
+
el.classList.add(shadowEndClass);
|
|
382
404
|
}
|
|
383
405
|
});
|
|
384
406
|
const tabsRailElRef = ref(null);
|
|
@@ -409,7 +431,7 @@ export default defineComponent({
|
|
|
409
431
|
segment: 'Segment'
|
|
410
432
|
}[type];
|
|
411
433
|
const sizeType = `${size}${typeSuffix}`;
|
|
412
|
-
const { self: { barColor, closeIconColor, closeIconColorHover, closeIconColorPressed, tabColor, tabBorderColor, paneTextColor, tabFontWeight, tabBorderRadius, tabFontWeightActive, colorSegment, fontWeightStrong, tabColorSegment, closeSize, closeIconSize, closeColorHover, closeColorPressed, closeBorderRadius, [createKey('panePadding', size)]: panePadding, [createKey('tabPadding', sizeType)]: tabPadding, [createKey('tabPaddingVertical', sizeType)]: tabPaddingVertical, [createKey('tabGap', sizeType)]: tabGap, [createKey('tabTextColor', type)]: tabTextColor, [createKey('tabTextColorActive', type)]: tabTextColorActive, [createKey('tabTextColorHover', type)]: tabTextColorHover, [createKey('tabTextColorDisabled', type)]: tabTextColorDisabled, [createKey('tabFontSize', size)]: tabFontSize }, common: { cubicBezierEaseInOut } } = themeRef.value;
|
|
434
|
+
const { self: { barColor, closeIconColor, closeIconColorHover, closeIconColorPressed, tabColor, tabBorderColor, paneTextColor, tabFontWeight, tabBorderRadius, tabFontWeightActive, colorSegment, fontWeightStrong, tabColorSegment, closeSize, closeIconSize, closeColorHover, closeColorPressed, closeBorderRadius, [createKey('panePadding', size)]: panePadding, [createKey('tabPadding', sizeType)]: tabPadding, [createKey('tabPaddingVertical', sizeType)]: tabPaddingVertical, [createKey('tabGap', sizeType)]: tabGap, [createKey('tabGap', `${sizeType}Vertical`)]: tabGapVertical, [createKey('tabTextColor', type)]: tabTextColor, [createKey('tabTextColorActive', type)]: tabTextColorActive, [createKey('tabTextColorHover', type)]: tabTextColorHover, [createKey('tabTextColorDisabled', type)]: tabTextColorDisabled, [createKey('tabFontSize', size)]: tabFontSize }, common: { cubicBezierEaseInOut } } = themeRef.value;
|
|
413
435
|
return {
|
|
414
436
|
'--n-bezier': cubicBezierEaseInOut,
|
|
415
437
|
'--n-color-segment': colorSegment,
|
|
@@ -436,7 +458,11 @@ export default defineComponent({
|
|
|
436
458
|
'--n-tab-padding': tabPadding,
|
|
437
459
|
'--n-tab-padding-vertical': tabPaddingVertical,
|
|
438
460
|
'--n-tab-gap': tabGap,
|
|
439
|
-
'--n-
|
|
461
|
+
'--n-tab-gap-vertical': tabGapVertical,
|
|
462
|
+
'--n-pane-padding-left': getPadding(panePadding, 'left'),
|
|
463
|
+
'--n-pane-padding-right': getPadding(panePadding, 'right'),
|
|
464
|
+
'--n-pane-padding-top': getPadding(panePadding, 'top'),
|
|
465
|
+
'--n-pane-padding-bottom': getPadding(panePadding, 'bottom'),
|
|
440
466
|
'--n-font-weight-strong': fontWeightStrong,
|
|
441
467
|
'--n-tab-color-segment': tabColorSegment
|
|
442
468
|
};
|
|
@@ -459,7 +485,7 @@ export default defineComponent({
|
|
|
459
485
|
onAnimationAfterEnter, onRender: themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.onRender }, exposedMethods);
|
|
460
486
|
},
|
|
461
487
|
render() {
|
|
462
|
-
const { mergedClsPrefix, type, placement, addTabFixed, addable, mergedSize, renderNameListRef, onRender, $slots: { default: defaultSlot, prefix: prefixSlot, suffix: suffixSlot } } = this;
|
|
488
|
+
const { mergedClsPrefix, type, placement, addTabFixed, addable, mergedSize, renderNameListRef, onRender, paneWrapperClass, paneWrapperStyle, $slots: { default: defaultSlot, prefix: prefixSlot, suffix: suffixSlot } } = this;
|
|
463
489
|
onRender === null || onRender === void 0 ? void 0 : onRender();
|
|
464
490
|
const tabPaneChildren = defaultSlot
|
|
465
491
|
? flatten(defaultSlot()).filter((v) => {
|
|
@@ -512,13 +538,14 @@ export default defineComponent({
|
|
|
512
538
|
isCard ? h("div", { class: `${mergedClsPrefix}-tabs-pad` }) : null,
|
|
513
539
|
isCard ? null : (h("div", { ref: "barElRef", class: `${mergedClsPrefix}-tabs-bar` }))));
|
|
514
540
|
};
|
|
541
|
+
const resolvedPlacement = isSegment ? 'top' : placement;
|
|
515
542
|
return (h("div", { class: [
|
|
516
543
|
`${mergedClsPrefix}-tabs`,
|
|
517
544
|
this.themeClass,
|
|
518
545
|
`${mergedClsPrefix}-tabs--${type}-type`,
|
|
519
546
|
`${mergedClsPrefix}-tabs--${mergedSize}-size`,
|
|
520
547
|
mergedJustifyContent && `${mergedClsPrefix}-tabs--flex`,
|
|
521
|
-
`${mergedClsPrefix}-tabs--${
|
|
548
|
+
`${mergedClsPrefix}-tabs--${resolvedPlacement}`
|
|
522
549
|
], style: this.cssVars },
|
|
523
550
|
h("div", { class: [
|
|
524
551
|
// the class should be applied here since it's possible
|
|
@@ -526,7 +553,7 @@ export default defineComponent({
|
|
|
526
553
|
// other. adding a class will make it easy to write the
|
|
527
554
|
// style.
|
|
528
555
|
`${mergedClsPrefix}-tabs-nav--${type}-type`,
|
|
529
|
-
`${mergedClsPrefix}-tabs-nav--${
|
|
556
|
+
`${mergedClsPrefix}-tabs-nav--${resolvedPlacement}`,
|
|
530
557
|
`${mergedClsPrefix}-tabs-nav`
|
|
531
558
|
] },
|
|
532
559
|
resolveWrappedSlot(prefixSlot, (children) => children && (h("div", { class: `${mergedClsPrefix}-tabs-nav__prefix` }, children))),
|
|
@@ -548,16 +575,17 @@ export default defineComponent({
|
|
|
548
575
|
return createLeftPaddedTabVNode(tabVNode);
|
|
549
576
|
}
|
|
550
577
|
}))) : (h(VResizeObserver, { onResize: this.handleNavResize }, {
|
|
551
|
-
default: () => (h("div", { class: `${mergedClsPrefix}-tabs-nav-scroll-wrapper`, ref: "scrollWrapperElRef" }, ['top', 'bottom'].includes(
|
|
578
|
+
default: () => (h("div", { class: `${mergedClsPrefix}-tabs-nav-scroll-wrapper`, ref: "scrollWrapperElRef" }, ['top', 'bottom'].includes(resolvedPlacement) ? (h(VXScroll, { ref: "xScrollInstRef", onScroll: this.handleScroll }, {
|
|
552
579
|
default: scrollContent
|
|
553
|
-
})) : (h("div", { class: `${mergedClsPrefix}-tabs-nav-y-scroll
|
|
580
|
+
})) : (h("div", { class: `${mergedClsPrefix}-tabs-nav-y-scroll`, onScroll: this.handleScroll }, scrollContent()))))
|
|
554
581
|
})),
|
|
555
582
|
addTabFixed && addable && isCard
|
|
556
583
|
? createAddTag(addable, true)
|
|
557
584
|
: null,
|
|
558
585
|
resolveWrappedSlot(suffixSlot, (children) => children && (h("div", { class: `${mergedClsPrefix}-tabs-nav__suffix` }, children)))),
|
|
559
586
|
showPane &&
|
|
560
|
-
(this.animated
|
|
587
|
+
(this.animated &&
|
|
588
|
+
(resolvedPlacement === 'top' || resolvedPlacement === 'bottom') ? (h("div", { ref: "tabsPaneWrapperRef", style: paneWrapperStyle, class: [`${mergedClsPrefix}-tabs-pane-wrapper`, paneWrapperClass] }, filterMapTabPanes(tabPaneChildren, this.mergedValue, this.renderedNames, this.onAnimationBeforeLeave, this.onAnimationEnter, this.onAnimationAfterEnter, this.animationDirection))) : (filterMapTabPanes(tabPaneChildren, this.mergedValue, this.renderedNames)))));
|
|
561
589
|
}
|
|
562
590
|
});
|
|
563
591
|
function filterMapTabPanes(tabPaneVNodes, value, renderedNames, onBeforeLeave, onEnter, onAfterEnter, animationDirection) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ref, CSSProperties } from 'vue';
|
|
1
|
+
import { type Ref, type CSSProperties } from 'vue';
|
|
2
2
|
export type TabsType = 'line' | 'card' | 'bar' | 'segment';
|
|
3
3
|
export type OnUpdateValue = (value: string & number) => void;
|
|
4
4
|
export type OnUpdateValueImpl = (value: string | number) => void;
|
|
@@ -21,8 +21,12 @@ import { c, cM, cB, cE, cNotM } from '../../../_utils/cssr';
|
|
|
21
21
|
// --n-tab-font-weight
|
|
22
22
|
// --n-tab-font-weight-active
|
|
23
23
|
// --n-tab-gap
|
|
24
|
+
// --n-tab-gap-vertical
|
|
24
25
|
// --n-tab-padding
|
|
25
|
-
// --n-pane-padding
|
|
26
|
+
// --n-pane-padding-left
|
|
27
|
+
// --n-pane-padding-right
|
|
28
|
+
// --n-pane-padding-top
|
|
29
|
+
// --n-pane-padding-bottom
|
|
26
30
|
// --n-color-segment
|
|
27
31
|
// --n-font-weight-strong
|
|
28
32
|
// --n-tab-color-segment
|
|
@@ -36,7 +40,11 @@ export default cB('tabs', `
|
|
|
36
40
|
border-color .3s var(--n-bezier);
|
|
37
41
|
`, [cM('segment-type', [cB('tabs-rail', [c('&.transition-disabled', 'color: red;', [cB('tabs-tab', `
|
|
38
42
|
transition: none;
|
|
39
|
-
`)])])]), cM('
|
|
43
|
+
`)])])]), cM('top', [cB('tab-pane', `
|
|
44
|
+
padding: var(--n-pane-padding-top) var(--n-pane-padding-right) var(--n-pane-padding-bottom) var(--n-pane-padding-left);
|
|
45
|
+
`)]), cM('left', [cB('tab-pane', `
|
|
46
|
+
padding: var(--n-pane-padding-right) var(--n-pane-padding-bottom) var(--n-pane-padding-left) var(--n-pane-padding-top);
|
|
47
|
+
`)]), cM('left, right', `
|
|
40
48
|
flex-direction: row;
|
|
41
49
|
`, [cB('tabs-bar', `
|
|
42
50
|
width: 2px;
|
|
@@ -49,12 +57,16 @@ export default cB('tabs', `
|
|
|
49
57
|
padding: var(--n-tab-padding-vertical);
|
|
50
58
|
`)]), cM('right', `
|
|
51
59
|
flex-direction: row-reverse;
|
|
52
|
-
`, [cB('
|
|
60
|
+
`, [cB('tab-pane', `
|
|
61
|
+
padding: var(--n-pane-padding-left) var(--n-pane-padding-top) var(--n-pane-padding-right) var(--n-pane-padding-bottom);
|
|
62
|
+
`), cB('tabs-bar', `
|
|
53
63
|
left: 0;
|
|
54
64
|
`)]), cM('bottom', `
|
|
55
65
|
flex-direction: column-reverse;
|
|
56
66
|
justify-content: flex-end;
|
|
57
|
-
`, [cB('
|
|
67
|
+
`, [cB('tab-pane', `
|
|
68
|
+
padding: var(--n-pane-padding-bottom) var(--n-pane-padding-right) var(--n-pane-padding-top) var(--n-pane-padding-left);
|
|
69
|
+
`), cB('tabs-bar', `
|
|
58
70
|
top: 0;
|
|
59
71
|
`)]), cB('tabs-rail', `
|
|
60
72
|
padding: 3px;
|
|
@@ -98,15 +110,39 @@ export default cB('tabs', `
|
|
|
98
110
|
`, [cE('prefix, suffix', `
|
|
99
111
|
display: flex;
|
|
100
112
|
align-items: center;
|
|
101
|
-
`), cE('prefix', 'padding-right: 16px;'), cE('suffix', 'padding-left: 16px;')]), cB('tabs-nav-scroll-wrapper', `
|
|
113
|
+
`), cE('prefix', 'padding-right: 16px;'), cE('suffix', 'padding-left: 16px;')]), cM('top, bottom', [cB('tabs-nav-scroll-wrapper', [c('&::before', `
|
|
114
|
+
top: 0;
|
|
115
|
+
bottom: 0;
|
|
116
|
+
left: 0;
|
|
117
|
+
width: 20px;
|
|
118
|
+
`), c('&::after', `
|
|
119
|
+
top: 0;
|
|
120
|
+
bottom: 0;
|
|
121
|
+
right: 0;
|
|
122
|
+
width: 20px;
|
|
123
|
+
`), cM('shadow-start', [c('&::before', `
|
|
124
|
+
box-shadow: inset 10px 0 8px -8px rgba(0, 0, 0, .12);
|
|
125
|
+
`)]), cM('shadow-end', [c('&::after', `
|
|
126
|
+
box-shadow: inset -10px 0 8px -8px rgba(0, 0, 0, .12);
|
|
127
|
+
`)])])]), cM('left, right', [cB('tabs-nav-scroll-wrapper', [c('&::before', `
|
|
128
|
+
top: 0;
|
|
129
|
+
left: 0;
|
|
130
|
+
right: 0;
|
|
131
|
+
height: 20px;
|
|
132
|
+
`), c('&::after', `
|
|
133
|
+
bottom: 0;
|
|
134
|
+
left: 0;
|
|
135
|
+
right: 0;
|
|
136
|
+
height: 20px;
|
|
137
|
+
`), cM('shadow-start', [c('&::before', `
|
|
138
|
+
box-shadow: inset 0 10px 8px -8px rgba(0, 0, 0, .12);
|
|
139
|
+
`)]), cM('shadow-end', [c('&::after', `
|
|
140
|
+
box-shadow: inset 0 -10px 8px -8px rgba(0, 0, 0, .12);
|
|
141
|
+
`)])])]), cB('tabs-nav-scroll-wrapper', `
|
|
102
142
|
flex: 1;
|
|
103
143
|
position: relative;
|
|
104
144
|
overflow: hidden;
|
|
105
|
-
`, [
|
|
106
|
-
box-shadow: inset 10px 0 8px -8px rgba(0, 0, 0, .12);
|
|
107
|
-
`)]), cM('shadow-after', [c('&::after', `
|
|
108
|
-
box-shadow: inset -10px 0 8px -8px rgba(0, 0, 0, .12);
|
|
109
|
-
`)]), cB('tabs-nav-y-scroll', `
|
|
145
|
+
`, [cB('tabs-nav-y-scroll', `
|
|
110
146
|
height: 100%;
|
|
111
147
|
width: 100%;
|
|
112
148
|
overflow-y: auto;
|
|
@@ -119,19 +155,13 @@ export default cB('tabs', `
|
|
|
119
155
|
pointer-events: none;
|
|
120
156
|
content: "";
|
|
121
157
|
position: absolute;
|
|
122
|
-
top: 0;
|
|
123
|
-
bottom: 0;
|
|
124
|
-
width: 20px;
|
|
125
158
|
z-index: 1;
|
|
126
|
-
`), c('&::before', `
|
|
127
|
-
left: 0;
|
|
128
|
-
`), c('&::after', `
|
|
129
|
-
right: 0;
|
|
130
159
|
`)]), cB('tabs-nav-scroll-content', `
|
|
131
160
|
display: flex;
|
|
132
161
|
position: relative;
|
|
133
162
|
min-width: 100%;
|
|
134
163
|
width: fit-content;
|
|
164
|
+
box-sizing: border-box;
|
|
135
165
|
`), cB('tabs-wrapper', `
|
|
136
166
|
display: inline-flex;
|
|
137
167
|
flex-wrap: nowrap;
|
|
@@ -187,7 +217,6 @@ export default cB('tabs', `
|
|
|
187
217
|
`), cB('tab-pane', `
|
|
188
218
|
color: var(--n-pane-text-color);
|
|
189
219
|
width: 100%;
|
|
190
|
-
padding: var(--n-pane-padding);
|
|
191
220
|
transition:
|
|
192
221
|
color .3s var(--n-bezier),
|
|
193
222
|
background-color .3s var(--n-bezier),
|
|
@@ -213,6 +242,7 @@ export default cB('tabs', `
|
|
|
213
242
|
transform: translateX(0);
|
|
214
243
|
opacity: 1;
|
|
215
244
|
`)]), cB('tabs-tab-pad', `
|
|
245
|
+
box-sizing: border-box;
|
|
216
246
|
width: var(--n-tab-gap);
|
|
217
247
|
flex-grow: 0;
|
|
218
248
|
flex-shrink: 0;
|
|
@@ -227,15 +257,36 @@ export default cB('tabs', `
|
|
|
227
257
|
font-weight: var(--n-tab-font-weight-active);
|
|
228
258
|
`), cM('disabled', {
|
|
229
259
|
color: 'var(--n-tab-text-color-disabled)'
|
|
230
|
-
})])]), cB('tabs-nav', [cM('line-type', [cE('prefix, suffix', `
|
|
231
|
-
transition: border-color .3s var(--n-bezier);
|
|
260
|
+
})])]), cB('tabs-nav', [cM('line-type', [cM('top', [cE('prefix, suffix', `
|
|
232
261
|
border-bottom: 1px solid var(--n-tab-border-color);
|
|
233
262
|
`), cB('tabs-nav-scroll-content', `
|
|
234
|
-
transition: border-color .3s var(--n-bezier);
|
|
235
263
|
border-bottom: 1px solid var(--n-tab-border-color);
|
|
236
264
|
`), cB('tabs-bar', `
|
|
237
|
-
border-radius: 0;
|
|
238
265
|
bottom: -1px;
|
|
266
|
+
`)]), cM('left', [cE('prefix, suffix', `
|
|
267
|
+
border-right: 1px solid var(--n-tab-border-color);
|
|
268
|
+
`), cB('tabs-nav-scroll-content', `
|
|
269
|
+
border-right: 1px solid var(--n-tab-border-color);
|
|
270
|
+
`), cB('tabs-bar', `
|
|
271
|
+
right: -1px;
|
|
272
|
+
`)]), cM('right', [cE('prefix, suffix', `
|
|
273
|
+
border-left: 1px solid var(--n-tab-border-color);
|
|
274
|
+
`), cB('tabs-nav-scroll-content', `
|
|
275
|
+
border-left: 1px solid var(--n-tab-border-color);
|
|
276
|
+
`), cB('tabs-bar', `
|
|
277
|
+
left: -1px;
|
|
278
|
+
`)]), cM('bottom', [cE('prefix, suffix', `
|
|
279
|
+
border-top: 1px solid var(--n-tab-border-color);
|
|
280
|
+
`), cB('tabs-nav-scroll-content', `
|
|
281
|
+
border-top: 1px solid var(--n-tab-border-color);
|
|
282
|
+
`), cB('tabs-bar', `
|
|
283
|
+
top: -1px;
|
|
284
|
+
`)]), cE('prefix, suffix', `
|
|
285
|
+
transition: border-color .3s var(--n-bezier);
|
|
286
|
+
`), cB('tabs-nav-scroll-content', `
|
|
287
|
+
transition: border-color .3s var(--n-bezier);
|
|
288
|
+
`), cB('tabs-bar', `
|
|
289
|
+
border-radius: 0;
|
|
239
290
|
`)]), cM('card-type', [cE('prefix, suffix', `
|
|
240
291
|
transition: border-color .3s var(--n-bezier);
|
|
241
292
|
border-bottom: 1px solid var(--n-tab-border-color);
|
|
@@ -245,12 +296,9 @@ export default cB('tabs', `
|
|
|
245
296
|
border-bottom: 1px solid var(--n-tab-border-color);
|
|
246
297
|
`), cB('tabs-tab-pad', `
|
|
247
298
|
transition: border-color .3s var(--n-bezier);
|
|
248
|
-
border-bottom: 1px solid var(--n-tab-border-color);
|
|
249
299
|
`), cB('tabs-tab', `
|
|
250
300
|
font-weight: var(--n-tab-font-weight);
|
|
251
301
|
border: 1px solid var(--n-tab-border-color);
|
|
252
|
-
border-top-left-radius: var(--n-tab-border-radius);
|
|
253
|
-
border-top-right-radius: var(--n-tab-border-radius);
|
|
254
302
|
background-color: var(--n-tab-color);
|
|
255
303
|
box-sizing: border-box;
|
|
256
304
|
position: relative;
|
|
@@ -268,8 +316,7 @@ export default cB('tabs', `
|
|
|
268
316
|
font-size: var(--n-tab-font-size);
|
|
269
317
|
`), cNotM('disabled', [c('&:hover', `
|
|
270
318
|
color: var(--n-tab-text-color-hover);
|
|
271
|
-
`)])]), cM('closable', 'padding-right:
|
|
272
|
-
border-bottom: 1px solid #0000;
|
|
319
|
+
`)])]), cM('closable', 'padding-right: 8px;'), cM('active', `
|
|
273
320
|
background-color: #0000;
|
|
274
321
|
font-weight: var(--n-tab-font-weight-active);
|
|
275
322
|
color: var(--n-tab-text-color-active);
|
|
@@ -278,16 +325,34 @@ export default cB('tabs', `
|
|
|
278
325
|
`, [cB('tabs-tab-wrapper', `
|
|
279
326
|
flex-direction: column;
|
|
280
327
|
`, [cB('tabs-tab-pad', `
|
|
281
|
-
height: var(--n-tab-gap);
|
|
328
|
+
height: var(--n-tab-gap-vertical);
|
|
282
329
|
width: 100%;
|
|
283
|
-
`)])]), cB('tabs-
|
|
284
|
-
border-
|
|
285
|
-
|
|
286
|
-
|
|
330
|
+
`)])])]), cM('top', [cM('card-type', [cB('tabs-tab', `
|
|
331
|
+
border-top-left-radius: var(--n-tab-border-radius);
|
|
332
|
+
border-top-right-radius: var(--n-tab-border-radius);
|
|
333
|
+
`, [cM('active', `
|
|
334
|
+
border-bottom: 1px solid #0000;
|
|
335
|
+
`)]), cB('tabs-tab-pad', `
|
|
336
|
+
border-bottom: 1px solid var(--n-tab-border-color);
|
|
337
|
+
`)])]), cM('left', [cM('card-type', [cB('tabs-tab', `
|
|
338
|
+
border-top-left-radius: var(--n-tab-border-radius);
|
|
339
|
+
border-bottom-left-radius: var(--n-tab-border-radius);
|
|
340
|
+
`, [cM('active', `
|
|
341
|
+
border-right: 1px solid #0000;
|
|
342
|
+
`)]), cB('tabs-tab-pad', `
|
|
287
343
|
border-right: 1px solid var(--n-tab-border-color);
|
|
288
|
-
`)]), cM('right', [cB('tabs-
|
|
344
|
+
`)])]), cM('right', [cM('card-type', [cB('tabs-tab', `
|
|
345
|
+
border-top-right-radius: var(--n-tab-border-radius);
|
|
346
|
+
border-bottom-right-radius: var(--n-tab-border-radius);
|
|
347
|
+
`, [cM('active', `
|
|
348
|
+
border-left: 1px solid #0000;
|
|
349
|
+
`)]), cB('tabs-tab-pad', `
|
|
289
350
|
border-left: 1px solid var(--n-tab-border-color);
|
|
290
|
-
`)]), cM('bottom', [cB('tabs-
|
|
351
|
+
`)])]), cM('bottom', [cM('card-type', [cB('tabs-tab', `
|
|
352
|
+
border-bottom-left-radius: var(--n-tab-border-radius);
|
|
353
|
+
border-bottom-right-radius: var(--n-tab-border-radius);
|
|
354
|
+
`, [cM('active', `
|
|
355
|
+
border-top: 1px solid #0000;
|
|
356
|
+
`)]), cB('tabs-tab-pad', `
|
|
291
357
|
border-top: 1px solid var(--n-tab-border-color);
|
|
292
|
-
|
|
293
|
-
`)])])]);
|
|
358
|
+
`)])])])]);
|
|
@@ -5,6 +5,9 @@ declare const _default: {
|
|
|
5
5
|
tabGapSmallLine: string;
|
|
6
6
|
tabGapMediumLine: string;
|
|
7
7
|
tabGapLargeLine: string;
|
|
8
|
+
tabGapSmallLineVertical: string;
|
|
9
|
+
tabGapMediumLineVertical: string;
|
|
10
|
+
tabGapLargeLineVertical: string;
|
|
8
11
|
tabPaddingSmallLine: string;
|
|
9
12
|
tabPaddingMediumLine: string;
|
|
10
13
|
tabPaddingLargeLine: string;
|
|
@@ -14,6 +17,9 @@ declare const _default: {
|
|
|
14
17
|
tabGapSmallBar: string;
|
|
15
18
|
tabGapMediumBar: string;
|
|
16
19
|
tabGapLargeBar: string;
|
|
20
|
+
tabGapSmallBarVertical: string;
|
|
21
|
+
tabGapMediumBarVertical: string;
|
|
22
|
+
tabGapLargeBarVertical: string;
|
|
17
23
|
tabPaddingSmallBar: string;
|
|
18
24
|
tabPaddingMediumBar: string;
|
|
19
25
|
tabPaddingLargeBar: string;
|
|
@@ -23,6 +29,9 @@ declare const _default: {
|
|
|
23
29
|
tabGapSmallCard: string;
|
|
24
30
|
tabGapMediumCard: string;
|
|
25
31
|
tabGapLargeCard: string;
|
|
32
|
+
tabGapSmallCardVertical: string;
|
|
33
|
+
tabGapMediumCardVertical: string;
|
|
34
|
+
tabGapLargeCardVertical: string;
|
|
26
35
|
tabPaddingSmallCard: string;
|
|
27
36
|
tabPaddingMediumCard: string;
|
|
28
37
|
tabPaddingLargeCard: string;
|
|
@@ -38,6 +47,9 @@ declare const _default: {
|
|
|
38
47
|
tabGapSmallSegment: string;
|
|
39
48
|
tabGapMediumSegment: string;
|
|
40
49
|
tabGapLargeSegment: string;
|
|
50
|
+
tabGapSmallSegmentVertical: string;
|
|
51
|
+
tabGapMediumSegmentVertical: string;
|
|
52
|
+
tabGapLargeSegmentVertical: string;
|
|
41
53
|
panePaddingSmall: string;
|
|
42
54
|
panePaddingMedium: string;
|
|
43
55
|
panePaddingLarge: string;
|
|
@@ -5,39 +5,51 @@ export default {
|
|
|
5
5
|
tabGapSmallLine: '36px',
|
|
6
6
|
tabGapMediumLine: '36px',
|
|
7
7
|
tabGapLargeLine: '36px',
|
|
8
|
+
tabGapSmallLineVertical: '8px',
|
|
9
|
+
tabGapMediumLineVertical: '8px',
|
|
10
|
+
tabGapLargeLineVertical: '8px',
|
|
8
11
|
tabPaddingSmallLine: '6px 0',
|
|
9
12
|
tabPaddingMediumLine: '10px 0',
|
|
10
13
|
tabPaddingLargeLine: '14px 0',
|
|
11
|
-
tabPaddingVerticalSmallLine: '
|
|
12
|
-
tabPaddingVerticalMediumLine: '
|
|
13
|
-
tabPaddingVerticalLargeLine: '
|
|
14
|
+
tabPaddingVerticalSmallLine: '6px 12px',
|
|
15
|
+
tabPaddingVerticalMediumLine: '8px 16px',
|
|
16
|
+
tabPaddingVerticalLargeLine: '10px 20px',
|
|
14
17
|
tabGapSmallBar: '36px',
|
|
15
18
|
tabGapMediumBar: '36px',
|
|
16
19
|
tabGapLargeBar: '36px',
|
|
20
|
+
tabGapSmallBarVertical: '8px',
|
|
21
|
+
tabGapMediumBarVertical: '8px',
|
|
22
|
+
tabGapLargeBarVertical: '8px',
|
|
17
23
|
tabPaddingSmallBar: '4px 0',
|
|
18
24
|
tabPaddingMediumBar: '6px 0',
|
|
19
25
|
tabPaddingLargeBar: '10px 0',
|
|
20
|
-
tabPaddingVerticalSmallBar: '
|
|
21
|
-
tabPaddingVerticalMediumBar: '
|
|
22
|
-
tabPaddingVerticalLargeBar: '
|
|
26
|
+
tabPaddingVerticalSmallBar: '6px 12px',
|
|
27
|
+
tabPaddingVerticalMediumBar: '8px 16px',
|
|
28
|
+
tabPaddingVerticalLargeBar: '10px 20px',
|
|
23
29
|
tabGapSmallCard: '4px',
|
|
24
30
|
tabGapMediumCard: '4px',
|
|
25
31
|
tabGapLargeCard: '4px',
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
32
|
+
tabGapSmallCardVertical: '4px',
|
|
33
|
+
tabGapMediumCardVertical: '4px',
|
|
34
|
+
tabGapLargeCardVertical: '4px',
|
|
35
|
+
tabPaddingSmallCard: '8px 16px',
|
|
36
|
+
tabPaddingMediumCard: '10px 20px',
|
|
37
|
+
tabPaddingLargeCard: '12px 24px',
|
|
29
38
|
tabPaddingSmallSegment: '4px 0',
|
|
30
39
|
tabPaddingMediumSegment: '6px 0',
|
|
31
40
|
tabPaddingLargeSegment: '8px 0',
|
|
32
41
|
tabPaddingVerticalLargeSegment: '0 8px',
|
|
33
|
-
tabPaddingVerticalSmallCard: '
|
|
34
|
-
tabPaddingVerticalMediumCard: '
|
|
35
|
-
tabPaddingVerticalLargeCard: '
|
|
42
|
+
tabPaddingVerticalSmallCard: '8px 12px',
|
|
43
|
+
tabPaddingVerticalMediumCard: '10px 16px',
|
|
44
|
+
tabPaddingVerticalLargeCard: '12px 20px',
|
|
36
45
|
tabPaddingVerticalSmallSegment: '0 4px',
|
|
37
46
|
tabPaddingVerticalMediumSegment: '0 6px',
|
|
38
47
|
tabGapSmallSegment: '0',
|
|
39
48
|
tabGapMediumSegment: '0',
|
|
40
49
|
tabGapLargeSegment: '0',
|
|
50
|
+
tabGapSmallSegmentVertical: '0',
|
|
51
|
+
tabGapMediumSegmentVertical: '0',
|
|
52
|
+
tabGapLargeSegmentVertical: '0',
|
|
41
53
|
panePaddingSmall: '8px 0 0 0',
|
|
42
54
|
panePaddingMedium: '12px 0 0 0',
|
|
43
55
|
panePaddingLarge: '16px 0 0 0',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ThemeCommonVars } from '../../_styles/common';
|
|
2
|
-
import { Theme } from '../../_mixins';
|
|
2
|
+
import { type Theme } from '../../_mixins';
|
|
3
3
|
export declare const self: (vars: ThemeCommonVars) => {
|
|
4
4
|
colorSegment: string;
|
|
5
5
|
tabFontSizeCard: string;
|
|
@@ -40,6 +40,9 @@ export declare const self: (vars: ThemeCommonVars) => {
|
|
|
40
40
|
tabGapSmallLine: string;
|
|
41
41
|
tabGapMediumLine: string;
|
|
42
42
|
tabGapLargeLine: string;
|
|
43
|
+
tabGapSmallLineVertical: string;
|
|
44
|
+
tabGapMediumLineVertical: string;
|
|
45
|
+
tabGapLargeLineVertical: string;
|
|
43
46
|
tabPaddingSmallLine: string;
|
|
44
47
|
tabPaddingMediumLine: string;
|
|
45
48
|
tabPaddingLargeLine: string;
|
|
@@ -49,6 +52,9 @@ export declare const self: (vars: ThemeCommonVars) => {
|
|
|
49
52
|
tabGapSmallBar: string;
|
|
50
53
|
tabGapMediumBar: string;
|
|
51
54
|
tabGapLargeBar: string;
|
|
55
|
+
tabGapSmallBarVertical: string;
|
|
56
|
+
tabGapMediumBarVertical: string;
|
|
57
|
+
tabGapLargeBarVertical: string;
|
|
52
58
|
tabPaddingSmallBar: string;
|
|
53
59
|
tabPaddingMediumBar: string;
|
|
54
60
|
tabPaddingLargeBar: string;
|
|
@@ -58,6 +64,9 @@ export declare const self: (vars: ThemeCommonVars) => {
|
|
|
58
64
|
tabGapSmallCard: string;
|
|
59
65
|
tabGapMediumCard: string;
|
|
60
66
|
tabGapLargeCard: string;
|
|
67
|
+
tabGapSmallCardVertical: string;
|
|
68
|
+
tabGapMediumCardVertical: string;
|
|
69
|
+
tabGapLargeCardVertical: string;
|
|
61
70
|
tabPaddingSmallCard: string;
|
|
62
71
|
tabPaddingMediumCard: string;
|
|
63
72
|
tabPaddingLargeCard: string;
|
|
@@ -73,6 +82,9 @@ export declare const self: (vars: ThemeCommonVars) => {
|
|
|
73
82
|
tabGapSmallSegment: string;
|
|
74
83
|
tabGapMediumSegment: string;
|
|
75
84
|
tabGapLargeSegment: string;
|
|
85
|
+
tabGapSmallSegmentVertical: string;
|
|
86
|
+
tabGapMediumSegmentVertical: string;
|
|
87
|
+
tabGapLargeSegmentVertical: string;
|
|
76
88
|
panePaddingSmall: string;
|
|
77
89
|
panePaddingMedium: string;
|
|
78
90
|
panePaddingLarge: string;
|
package/es/tag/src/Tag.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PropType, Ref } from 'vue';
|
|
1
|
+
import { type PropType, type Ref } from 'vue';
|
|
2
2
|
import type { MaybeArray, ExtractPublicPropTypes } from '../../_utils';
|
|
3
3
|
export interface TagPublicMethods {
|
|
4
4
|
setTextContent: (textContent: string) => void;
|
|
@@ -624,7 +624,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
624
624
|
}, any>>>;
|
|
625
625
|
}, {
|
|
626
626
|
rtlEnabled: Ref<import("../../config-provider/src/internal-interface").RtlItem | undefined> | undefined;
|
|
627
|
-
mergedClsPrefix:
|
|
627
|
+
mergedClsPrefix: Ref<string>;
|
|
628
628
|
contentRef: Ref<HTMLElement | null>;
|
|
629
629
|
mergedBordered: import("vue").ComputedRef<boolean>;
|
|
630
630
|
handleClick: (e: MouseEvent) => void;
|
|
@@ -984,5 +984,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
984
984
|
triggerClickOnClose: boolean;
|
|
985
985
|
internalCloseFocusable: boolean;
|
|
986
986
|
internalCloseIsButtonTag: boolean;
|
|
987
|
-
}>;
|
|
987
|
+
}, {}>;
|
|
988
988
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const MaximizeIcon: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
1
|
+
export declare const MaximizeIcon: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const MinimizeIcon: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
1
|
+
export declare const MinimizeIcon: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GlobalThemeOverrides } from '../../config-provider';
|
|
1
|
+
import { type GlobalThemeOverrides } from '../../config-provider';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
3
3
|
locale: import("vue").Ref<{
|
|
4
4
|
title: string;
|
|
@@ -131,8 +131,6 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
131
131
|
handleImportClick: () => void;
|
|
132
132
|
handleInputFileChange: () => void;
|
|
133
133
|
toggleMaximized: () => void;
|
|
134
|
-
isMaximized: import("vue").Ref<
|
|
135
|
-
|
|
136
|
-
}>;
|
|
137
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
134
|
+
isMaximized: import("vue").Ref<boolean>;
|
|
135
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
138
136
|
export default _default;
|
|
@@ -189,7 +189,7 @@ export default defineComponent({
|
|
|
189
189
|
],
|
|
190
190
|
// We use ts-ignore for vue-tsc, since it seems to patch
|
|
191
191
|
// native event for vue components
|
|
192
|
-
// eslint-disable-next-line @typescript-eslint/prefer-ts-expect-error
|
|
192
|
+
// eslint-disable-next-line @typescript-eslint/prefer-ts-expect-error, @typescript-eslint/ban-ts-comment
|
|
193
193
|
// @ts-ignore
|
|
194
194
|
onClick: () => {
|
|
195
195
|
this.showPanel = !this.showPanel;
|
package/es/themes/interface.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { GlobalTheme } from '../config-provider';
|
|
1
|
+
import { type GlobalTheme } from '../config-provider';
|
|
2
2
|
export type BuiltInGlobalTheme = Omit<Required<GlobalTheme>, 'InternalSelectMenu' | 'InternalSelection'>;
|
package/es/themes/utils.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GlobalTheme } from '../config-provider';
|
|
1
|
+
import { type GlobalTheme } from '../config-provider';
|
|
2
2
|
type ComponentKey = Exclude<keyof GlobalTheme, 'name'>;
|
|
3
3
|
type ComponentThemes = Array<Exclude<GlobalTheme[ComponentKey], undefined>>;
|
|
4
4
|
export declare function createTheme(name: string, componentThemes: ComponentThemes): GlobalTheme;
|