@qsxy/element-plus-react 1.0.0-next.1 → 1.0.0-next.10
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 +95 -0
- package/dist/Avatar/Avatar.d.ts +4 -0
- package/dist/Avatar/Avatar.js +86 -0
- package/dist/Avatar/index.d.ts +2 -0
- package/dist/{VirtualList → Avatar}/index.js +7 -7
- package/dist/Avatar/typings.d.ts +21 -0
- package/dist/{VirtualList/interface.js → Avatar/typings.js} +3 -3
- package/dist/Badge/Badge.js +4 -5
- package/dist/Badge/typings.d.ts +10 -0
- package/dist/Breadcrumb/Breadcrumb.js +1 -4
- package/dist/Breadcrumb/typings.d.ts +4 -0
- package/dist/Button/Button.d.ts +0 -1
- package/dist/Button/Button.js +21 -9
- package/dist/Button/typings.d.ts +28 -0
- package/dist/Calendar/Calendar.js +1 -2
- package/dist/Calendar/CalendarContext.d.ts +10 -0
- package/dist/Calendar/Footer.js +1 -2
- package/dist/Calendar/Header.js +3 -8
- package/dist/Calendar/ShortCuts.d.ts +2 -0
- package/dist/Calendar/typings.d.ts +18 -0
- package/dist/Card/typings.d.ts +4 -0
- package/dist/Carousel/Carousel.d.ts +4 -0
- package/dist/Carousel/Carousel.js +168 -0
- package/dist/Carousel/CarouselContext.d.ts +4 -0
- package/dist/{VirtualList/Item.js → Carousel/CarouselContext.js} +29 -14
- package/dist/Carousel/CarouselItem.d.ts +4 -0
- package/dist/Carousel/CarouselItem.js +75 -0
- package/dist/Carousel/hooks/useCarousel.d.ts +37 -0
- package/dist/Carousel/hooks/useCarousel.js +348 -0
- package/dist/Carousel/hooks/useCarouselItem.d.ts +8 -0
- package/dist/Carousel/hooks/useCarouselItem.js +161 -0
- package/dist/Carousel/index.d.ts +3 -0
- package/dist/Carousel/index.js +42 -0
- package/dist/Carousel/typings.d.ts +83 -0
- package/dist/{VirtualList/utils/findDOMNode.js → Carousel/typings.js} +3 -16
- package/dist/Cascader/Cascader.js +148 -182
- package/dist/Cascader/CascaderContext.d.ts +4 -10
- package/dist/Cascader/CascaderContext.js +2 -6
- package/dist/Cascader/CascaderDropdown.d.ts +1 -0
- package/dist/Cascader/CascaderDropdown.js +1 -1
- package/dist/Cascader/CascaderMenu.js +4 -77
- package/dist/Cascader/Utils.d.ts +0 -2
- package/dist/Cascader/Utils.js +0 -44
- package/dist/Cascader/index.d.ts +1 -1
- package/dist/Cascader/typings.d.ts +76 -12
- package/dist/Cascader/useCascader.d.ts +61 -3
- package/dist/Cascader/useCascader.js +14 -41
- package/dist/Checkbox/Checkbox.js +2 -6
- package/dist/Checkbox/CheckboxButton.js +2 -6
- package/dist/Checkbox/typings.d.ts +11 -0
- package/dist/CheckboxGroup/CheckboxGroup.d.ts +4 -0
- package/dist/CheckboxGroup/CheckboxGroupContext.d.ts +1 -0
- package/dist/Col/Col.js +1 -8
- package/dist/Col/typings.d.ts +10 -0
- package/dist/Collapse/CollapseContext.d.ts +3 -0
- package/dist/Collapse/CollapseItem.js +10 -8
- package/dist/Collapse/CollapseTransition.d.ts +7 -6
- package/dist/Collapse/CollapseTransition.js +49 -31
- package/dist/Collapse/typings.d.ts +7 -0
- package/dist/ColorPicker/AlphaSlider.d.ts +7 -0
- package/dist/ColorPicker/AlphaSlider.js +0 -1
- package/dist/ColorPicker/ColorPicker.js +0 -1
- package/dist/ColorPicker/HueSlider.d.ts +7 -0
- package/dist/ColorPicker/HueSlider.js +0 -1
- package/dist/ColorPicker/Predefine.d.ts +7 -0
- package/dist/ColorPicker/Predefine.js +0 -1
- package/dist/ColorPicker/SvPanel.d.ts +7 -0
- package/dist/ColorPicker/SvPanel.js +0 -1
- package/dist/ColorPicker/typings.d.ts +9 -0
- package/dist/ConfigProvider/ConfigProvider.d.ts +5 -0
- package/dist/DatePicker/DatePicker.js +25 -14
- package/dist/DatePicker/DateRangePicker.js +11 -10
- package/dist/DatePicker/typings.d.ts +69 -0
- package/dist/DateTimePicker/DateTimePicker.d.ts +1 -1
- package/dist/DateTimePicker/DateTimePicker.js +13 -11
- package/dist/DateTimePicker/typings.d.ts +1 -0
- package/dist/Descriptions/Descriptions.js +1 -5
- package/dist/Descriptions/DescriptionsContext.d.ts +2 -0
- package/dist/Descriptions/typings.d.ts +13 -0
- package/dist/Dialog/Dialog.d.ts +0 -1
- package/dist/Dialog/Dialog.js +5 -8
- package/dist/Dialog/DialogBody.js +0 -3
- package/dist/Dialog/DialogContext.d.ts +8 -0
- package/dist/Dialog/DialogHeader.js +1 -4
- package/dist/Dialog/typings.d.ts +38 -2
- package/dist/Divider/Divider.d.ts +4 -0
- package/dist/Divider/Divider.js +1 -6
- package/dist/Drawer/Drawer.js +28 -14
- package/dist/Drawer/DrawerBody.js +1 -4
- package/dist/Drawer/DrawerContext.d.ts +10 -0
- package/dist/Drawer/DrawerHeader.js +1 -4
- package/dist/Drawer/typings.d.ts +16 -0
- package/dist/Dropdown/Dropdown.js +12 -8
- package/dist/Dropdown/DropdownContext.d.ts +2 -0
- package/dist/Dropdown/typings.d.ts +16 -1
- package/dist/Empty/Empty.js +1 -4
- package/dist/Empty/ImgEmpty.js +1 -1
- package/dist/Form/Form.js +10 -6
- package/dist/Form/FormItem.d.ts +12 -0
- package/dist/Form/FormItem.js +3 -1
- package/dist/Form/typings.d.ts +55 -0
- package/dist/Form/useForm.d.ts +22 -0
- package/dist/Form/utils/NameMap.d.ts +3 -0
- package/dist/Form/utils/classUtil.js +2 -2
- package/dist/Form/utils/validateUtil.d.ts +4 -0
- package/dist/Form/utils/valueUtil.d.ts +17 -0
- package/dist/Icon/Icon.js +1 -4
- package/dist/Icon/typings.d.ts +7 -0
- package/dist/Input/Input.js +18 -10
- package/dist/Input/InputRange.js +14 -11
- package/dist/Input/TextArea.js +8 -4
- package/dist/Input/typings.d.ts +61 -0
- package/dist/InputNumber/InputNumber.js +10 -7
- package/dist/InputNumber/typings.d.ts +21 -0
- package/dist/Link/Link.js +1 -4
- package/dist/Link/typings.d.ts +6 -1
- package/dist/Loading/Loading.js +17 -9
- package/dist/Loading/typings.d.ts +5 -0
- package/dist/Message/Main.d.ts +7 -0
- package/dist/Message/Message.js +11 -8
- package/dist/Message/index.d.ts +8 -0
- package/dist/Message/typings.d.ts +11 -0
- package/dist/MessageBox/Main.js +3 -1
- package/dist/MessageBox/MessageBox.js +1 -1
- package/dist/MessageBox/index.d.ts +17 -3
- package/dist/MessageBox/index.js +1 -1
- package/dist/MessageBox/typings.d.ts +50 -0
- package/dist/Notification/Main.d.ts +7 -0
- package/dist/Notification/Notification.js +17 -14
- package/dist/Notification/index.d.ts +15 -0
- package/dist/Notification/typings.d.ts +13 -0
- package/dist/Pagination/Pagination.js +15 -11
- package/dist/Pagination/typings.d.ts +28 -0
- package/dist/Popconfirm/Popconfirm.js +14 -10
- package/dist/Popconfirm/typings.d.ts +12 -1
- package/dist/Popover/Popover.js +13 -9
- package/dist/Popover/typings.d.ts +13 -1
- package/dist/Popper/Popper.js +22 -18
- package/dist/Popper/typings.d.ts +7 -1
- package/dist/Progress/Progress.js +13 -9
- package/dist/Progress/typings.d.ts +12 -0
- package/dist/Radio/typings.d.ts +7 -0
- package/dist/RadioGroup/typings.d.ts +1 -0
- package/dist/Row/Row.js +8 -5
- package/dist/Row/RowContext.d.ts +1 -0
- package/dist/Row/typings.d.ts +4 -0
- package/dist/Scrollbar/Scrollbar.js +13 -9
- package/dist/Scrollbar/Thumb.js +1 -1
- package/dist/Scrollbar/typings.d.ts +20 -0
- package/dist/Select/SelectCore.js +17 -14
- package/dist/Select/typings.d.ts +33 -0
- package/dist/Skeleton/PlaceholderGraph.d.ts +4 -0
- package/dist/Skeleton/PlaceholderGrid.d.ts +4 -0
- package/dist/Skeleton/PlaceholderGrid.js +0 -4
- package/dist/Skeleton/PlaceholderParagraph.d.ts +4 -0
- package/dist/Skeleton/PlaceholderParagraph.js +0 -4
- package/dist/Switch/Switch.js +13 -10
- package/dist/Switch/typings.d.ts +15 -0
- package/dist/Table/Colgroup.d.ts +1 -0
- package/dist/Table/Table.js +13 -9
- package/dist/Table/TableBody.js +10 -41
- package/dist/Table/TableCell.js +0 -5
- package/dist/Table/TableColumn.js +0 -4
- package/dist/Table/TableContext.d.ts +8 -0
- package/dist/Table/hooks/useSelection.d.ts +10 -0
- package/dist/Table/hooks/useTable.d.ts +7 -0
- package/dist/Table/treeUtil.d.ts +39 -0
- package/dist/Table/typings.d.ts +137 -1
- package/dist/Table/util.d.ts +10 -0
- package/dist/Table/util.js +2 -2
- package/dist/Tabs/Tabs.js +2 -5
- package/dist/Tabs/typings.d.ts +38 -0
- package/dist/Tag/Tag.d.ts +1 -1
- package/dist/Tag/Tag.js +7 -8
- package/dist/Tag/typings.d.ts +10 -0
- package/dist/TimeLine/TimeLineItem.js +7 -4
- package/dist/TimeLine/typings.d.ts +9 -0
- package/dist/TimePicker/TimePicker.js +16 -12
- package/dist/TimePicker/TimePickerRange.js +15 -12
- package/dist/TimePicker/TimeSpinnerPanel.js +3 -5
- package/dist/TimePicker/typings.d.ts +13 -0
- package/dist/TimePicker/useTimePicker.d.ts +7 -0
- package/dist/Tooltip/Tooltip.js +8 -15
- package/dist/Tooltip/TooltipContext.d.ts +1 -0
- package/dist/Tooltip/typings.d.ts +14 -1
- package/dist/Transfer/List.js +12 -8
- package/dist/Transfer/ListItem.d.ts +1 -0
- package/dist/Transfer/Transfer.js +11 -7
- package/dist/Transfer/typings/index.d.ts +27 -0
- package/dist/Transfer/typings/list.d.ts +25 -0
- package/dist/Transfer/typings/listBody.d.ts +1 -0
- package/dist/Transition/Transition.d.ts +16 -3
- package/dist/Transition/Transition.js +6 -4
- package/dist/Transition/TransitionGroup.d.ts +59 -0
- package/dist/Transition/childMapping.d.ts +23 -0
- package/dist/Tree/DirectoryTree.d.ts +6 -13
- package/dist/Tree/DirectoryTree.js +32 -81
- package/dist/Tree/DropIndicator.d.ts +4 -2
- package/dist/Tree/DropIndicator.js +7 -2
- package/dist/Tree/Indent.d.ts +2 -2
- package/dist/Tree/Indent.js +4 -4
- package/dist/Tree/MotionTreeNode.d.ts +4 -5
- package/dist/Tree/MotionTreeNode.js +69 -52
- package/dist/Tree/NodeList.d.ts +18 -11
- package/dist/Tree/NodeList.js +38 -29
- package/dist/Tree/RCTree.d.ts +92 -75
- package/dist/Tree/RCTree.js +199 -188
- package/dist/Tree/Tree.d.ts +18 -3
- package/dist/Tree/Tree.js +27 -27
- package/dist/Tree/TreeNode.d.ts +5 -83
- package/dist/Tree/TreeNode.js +320 -425
- package/dist/Tree/contextTypes.d.ts +40 -30
- package/dist/Tree/contextTypes.js +17 -4
- package/dist/Tree/index.d.ts +2 -2
- package/dist/Tree/typings.d.ts +63 -19
- package/dist/Tree/typings.js +1 -13
- package/dist/Tree/typings.tsx--bak +245 -0
- package/dist/Tree/useUnmount.d.ts +5 -0
- package/dist/{VirtualList/hooks/useChildren.js → Tree/useUnmount.js} +24 -16
- package/dist/Tree/util.d.ts +31 -18
- package/dist/Tree/util.js +21 -52
- package/dist/Tree/utils/conductUtil.d.ts +8 -2
- package/dist/Tree/utils/conductUtil.js +14 -3
- package/dist/Tree/utils/dictUtil.d.ts +8 -3
- package/dist/Tree/utils/dictUtil.js +49 -32
- package/dist/Tree/utils/diffUtil.d.ts +4 -3
- package/dist/Tree/utils/keyUtil.d.ts +2 -0
- package/dist/{VirtualList/utils/isFirefox.js → Tree/utils/keyUtil.js} +8 -7
- package/dist/Tree/utils/motion.js +6 -5
- package/dist/Tree/utils/pickAttrs.d.ts +5 -0
- package/dist/Tree/utils/treeUtil.d.ts +40 -18
- package/dist/Tree/utils/treeUtil.js +35 -14
- package/dist/TreeSelect/TreeSelect.js +14 -13
- package/dist/TreeSelect/Utils.d.ts +2 -1
- package/dist/TreeSelect/typings.d.ts +19 -0
- package/dist/Upload/Upload.js +9 -8
- package/dist/Upload/UploadList.js +2 -1
- package/dist/Upload/typings.d.ts +34 -0
- package/dist/Upload/use-handlers.d.ts +1 -0
- package/dist/Upload/use-handlers.js +1 -1
- package/dist/Util/Math.d.ts +34 -0
- package/dist/Util/base.d.ts +22 -0
- package/dist/Util/base.js +17 -0
- package/dist/Util/shallowEqual.d.ts +11 -0
- package/dist/Util/treeUtils.d.ts +8 -0
- package/dist/fonts/fa-brands-400.ttf +0 -0
- package/dist/fonts/fa-brands-400.woff2 +0 -0
- package/dist/fonts/fa-duotone-900.ttf +0 -0
- package/dist/fonts/fa-duotone-900.woff2 +0 -0
- package/dist/fonts/fa-light-300.ttf +0 -0
- package/dist/fonts/fa-light-300.woff2 +0 -0
- package/dist/fonts/fa-regular-400.ttf +0 -0
- package/dist/fonts/fa-regular-400.woff2 +0 -0
- package/dist/fonts/fa-solid-900.ttf +0 -0
- package/dist/fonts/fa-solid-900.woff2 +0 -0
- package/dist/fonts/fa-thin-100.ttf +0 -0
- package/dist/fonts/fa-thin-100.woff2 +0 -0
- package/dist/fonts/fa-v4compatibility.ttf +0 -0
- package/dist/fonts/fa-v4compatibility.woff2 +0 -0
- package/dist/hooks/animationPropsUtils.d.ts +12 -0
- package/dist/hooks/htmlPropsUtils.d.ts +8 -0
- package/dist/hooks/popperPropsUtils.d.ts +12 -0
- package/dist/hooks/prefix.d.ts +1 -1
- package/dist/hooks/prefix.js +4 -4
- package/dist/hooks/treePropsUtils.d.ts +12 -0
- package/dist/hooks/useChildrenInstance.d.ts +11 -0
- package/dist/hooks/useClassNames.d.ts +79 -0
- package/dist/hooks/useClassNames.js +12 -2
- package/dist/hooks/useControlled.d.ts +8 -0
- package/dist/hooks/useForceUpdate.d.ts +1 -0
- package/dist/index.css +1029 -1290
- package/dist/index.d.ts +8 -5
- package/dist/index.js +8 -5
- package/dist/theme-chalk/avatar/index.scss +50 -0
- package/dist/theme-chalk/build.scss +2 -0
- package/dist/theme-chalk/calendar/month-table.scss +1 -1
- package/dist/theme-chalk/carousel/index.scss +237 -0
- package/dist/theme-chalk/checkbox/index.scss +2 -2
- package/dist/theme-chalk/common/_var.scss +1 -0
- package/dist/theme-chalk/dev.scss +2 -0
- package/dist/theme-chalk/doc.scss +2 -0
- package/dist/theme-chalk/fonts/fa-brands-400.ttf +0 -0
- package/dist/theme-chalk/fonts/fa-brands-400.woff2 +0 -0
- package/dist/theme-chalk/fonts/fa-duotone-900.ttf +0 -0
- package/dist/theme-chalk/fonts/fa-duotone-900.woff2 +0 -0
- package/dist/theme-chalk/fonts/fa-light-300.ttf +0 -0
- package/dist/theme-chalk/fonts/fa-light-300.woff2 +0 -0
- package/dist/theme-chalk/fonts/fa-regular-400.ttf +0 -0
- package/dist/theme-chalk/fonts/fa-regular-400.woff2 +0 -0
- package/dist/theme-chalk/fonts/fa-solid-900.ttf +0 -0
- package/dist/theme-chalk/fonts/fa-solid-900.woff2 +0 -0
- package/dist/theme-chalk/fonts/fa-thin-100.ttf +0 -0
- package/dist/theme-chalk/fonts/fa-thin-100.woff2 +0 -0
- package/dist/theme-chalk/fonts/fa-v4compatibility.ttf +0 -0
- package/dist/theme-chalk/fonts/fa-v4compatibility.woff2 +0 -0
- package/dist/theme-chalk/icon/fonts.scss +9 -0
- package/dist/theme-chalk/icon/index.scss +0 -9
- package/dist/theme-chalk/icon/scss/_shims.scss +318 -318
- package/dist/theme-chalk/icon/scss/_variables.scss +1 -3
- package/dist/theme-chalk/icon/scss/brands.scss +0 -5
- package/dist/theme-chalk/icon/scss/duotone.scss +0 -5
- package/dist/theme-chalk/icon/scss/fontawesome.scss +0 -8
- package/dist/theme-chalk/icon/scss/light.scss +2 -7
- package/dist/theme-chalk/icon/scss/regular.scss +2 -7
- package/dist/theme-chalk/icon/scss/solid.scss +2 -7
- package/dist/theme-chalk/icon/scss/thin.scss +2 -7
- package/dist/theme-chalk/icon/scss/v4-shims.scss +0 -8
- package/dist/theme-chalk/index.scss +3 -0
- package/dist/theme-chalk/input/input.scss +5 -3
- package/dist/theme-chalk/link/index.scss +0 -85
- package/dist/theme-chalk/loading/index.scss +5 -7
- package/dist/theme-chalk/message/index.scss +5 -5
- package/dist/theme-chalk/notification/index.scss +5 -5
- package/dist/theme-chalk/pagination/index.scss +1 -1
- package/dist/theme-chalk/tabs/index.scss +1 -1
- package/dist/types/common.d.ts +24 -0
- package/dist/types/type.d.ts +5 -0
- package/package.json +4 -24
- package/theme-chalk/avatar/index.scss +50 -0
- package/theme-chalk/badge/index.scss +63 -0
- package/theme-chalk/breadcrumb/index.scss +65 -0
- package/theme-chalk/build.scss +2 -0
- package/{dist/theme-chalk/bak/mixins/_button.scss → theme-chalk/button/_mixins.scss} +151 -58
- package/theme-chalk/button/button-group.scss +83 -0
- package/theme-chalk/button/button.scss +382 -0
- package/theme-chalk/button/index.scss +2 -0
- package/theme-chalk/calendar/date-picker.scss +112 -0
- package/theme-chalk/calendar/date-range-picker.scss +139 -0
- package/theme-chalk/calendar/date-table.scss +156 -0
- package/theme-chalk/calendar/index.scss +6 -0
- package/theme-chalk/calendar/month-table.scss +92 -0
- package/theme-chalk/calendar/picker-panel.scss +136 -0
- package/theme-chalk/calendar/year-table.scss +107 -0
- package/theme-chalk/card/index.scss +44 -0
- package/theme-chalk/carousel/index.scss +237 -0
- package/theme-chalk/cascader/cascader-panel.scss +184 -0
- package/theme-chalk/cascader/cascader.scss +239 -0
- package/theme-chalk/cascader/index.scss +2 -0
- package/theme-chalk/checkbox/index.scss +255 -0
- package/theme-chalk/checkbox-button/index.scss +117 -0
- package/theme-chalk/checkbox-group/index.scss +33 -0
- package/{dist/theme-chalk/bak/mixins/_col.scss → theme-chalk/col/_mixins.scss} +27 -3
- package/theme-chalk/col/index.scss +50 -0
- package/theme-chalk/collapse/index.scss +84 -0
- package/theme-chalk/color-picker/index.scss +340 -0
- package/{dist/theme-chalk/bak/mixins/config.scss → theme-chalk/common/_var.scss} +1 -0
- package/theme-chalk/common/index.scss +222 -0
- package/theme-chalk/common/index.ts +1 -0
- package/theme-chalk/date-picker/index.scss +253 -0
- package/theme-chalk/date-time-picker/index.scss +3 -0
- package/theme-chalk/date-time-picker/time-picker.scss +83 -0
- package/theme-chalk/date-time-picker/time-range-picker.scss +32 -0
- package/theme-chalk/descriptions/descriptions-item.scss +66 -0
- package/theme-chalk/descriptions/descriptions.scss +160 -0
- package/theme-chalk/descriptions/index.scss +2 -0
- package/theme-chalk/dev.scss +2 -0
- package/theme-chalk/dialog/index.scss +190 -0
- package/theme-chalk/divider/index.scss +51 -0
- package/theme-chalk/doc.scss +2 -0
- package/theme-chalk/drawer/index.scss +250 -0
- package/theme-chalk/dropdown/index.scss +147 -0
- package/theme-chalk/empty/index.scss +69 -0
- package/theme-chalk/fonts/fa-brands-400.ttf +0 -0
- package/theme-chalk/fonts/fa-brands-400.woff2 +0 -0
- package/theme-chalk/fonts/fa-duotone-900.ttf +0 -0
- package/theme-chalk/fonts/fa-duotone-900.woff2 +0 -0
- package/theme-chalk/fonts/fa-light-300.ttf +0 -0
- package/theme-chalk/fonts/fa-light-300.woff2 +0 -0
- package/theme-chalk/fonts/fa-regular-400.ttf +0 -0
- package/theme-chalk/fonts/fa-regular-400.woff2 +0 -0
- package/theme-chalk/fonts/fa-solid-900.ttf +0 -0
- package/theme-chalk/fonts/fa-solid-900.woff2 +0 -0
- package/theme-chalk/fonts/fa-thin-100.ttf +0 -0
- package/theme-chalk/fonts/fa-thin-100.woff2 +0 -0
- package/theme-chalk/fonts/fa-v4compatibility.ttf +0 -0
- package/theme-chalk/fonts/fa-v4compatibility.woff2 +0 -0
- package/theme-chalk/form/index.scss +359 -0
- package/theme-chalk/icon/fonts.scss +9 -0
- package/theme-chalk/icon/index.scss +44 -0
- package/theme-chalk/icon/scss/_animated.scss +205 -0
- package/theme-chalk/icon/scss/_bordered-pulled.scss +20 -0
- package/theme-chalk/icon/scss/_core.scss +33 -0
- package/theme-chalk/icon/scss/_duotone-icons.scss +12 -0
- package/theme-chalk/icon/scss/_fixed-width.scss +7 -0
- package/theme-chalk/icon/scss/_functions.scss +57 -0
- package/theme-chalk/icon/scss/_icons.scss +11 -0
- package/theme-chalk/icon/scss/_list.scss +20 -0
- package/theme-chalk/icon/scss/_mixins.scss +102 -0
- package/theme-chalk/icon/scss/_rotated-flipped.scss +31 -0
- package/theme-chalk/icon/scss/_screen-reader.scss +14 -0
- package/theme-chalk/icon/scss/_shims.scss +2606 -0
- package/theme-chalk/icon/scss/_sizing.scss +16 -0
- package/theme-chalk/icon/scss/_stacked.scss +32 -0
- package/theme-chalk/icon/scss/_variables.scss +9189 -0
- package/theme-chalk/icon/scss/brands.scss +27 -0
- package/theme-chalk/icon/scss/duotone.scss +72 -0
- package/theme-chalk/icon/scss/fontawesome.scss +13 -0
- package/theme-chalk/icon/scss/index.scss +15 -0
- package/theme-chalk/icon/scss/light.scss +21 -0
- package/theme-chalk/icon/scss/regular.scss +21 -0
- package/theme-chalk/icon/scss/solid.scss +21 -0
- package/theme-chalk/icon/scss/thin.scss +21 -0
- package/theme-chalk/icon/scss/v4-shims.scss +3 -0
- package/theme-chalk/index.scss +67 -0
- package/theme-chalk/input/_mixins.scss +16 -0
- package/theme-chalk/input/index.scss +3 -0
- package/theme-chalk/input/input-range.scss +208 -0
- package/theme-chalk/input/input.scss +577 -0
- package/theme-chalk/input-number/index.scss +172 -0
- package/theme-chalk/link/index.scss +99 -0
- package/theme-chalk/loading/index.scss +94 -0
- package/theme-chalk/message/index.scss +169 -0
- package/theme-chalk/message-box/index.scss +184 -0
- package/theme-chalk/notification/index.scss +155 -0
- package/theme-chalk/pagination/index.scss +515 -0
- package/theme-chalk/placeholder/index.scss +135 -0
- package/theme-chalk/popconfirm/index.scss +35 -0
- package/theme-chalk/popover/index.scss +54 -0
- package/theme-chalk/popper/index.scss +86 -0
- package/theme-chalk/progress/index.scss +155 -0
- package/theme-chalk/radio/index.scss +2 -0
- package/theme-chalk/radio/radio-button.scss +128 -0
- package/theme-chalk/radio/radio.scss +171 -0
- package/theme-chalk/radio-group/index.scss +31 -0
- package/theme-chalk/row/index.scss +30 -0
- package/theme-chalk/scrollbar/index.scss +103 -0
- package/theme-chalk/select/index.scss +244 -0
- package/theme-chalk/select/option-group.scss +54 -0
- package/theme-chalk/select/option.scss +63 -0
- package/theme-chalk/select/select-dropdown.scss +57 -0
- package/theme-chalk/switch/index.scss +273 -0
- package/theme-chalk/table/index.scss +714 -0
- package/theme-chalk/tabs/index.scss +620 -0
- package/theme-chalk/tag/index.scss +360 -0
- package/theme-chalk/time-line/_timeline-item.scss +90 -0
- package/theme-chalk/time-line/_timeline.scss +50 -0
- package/theme-chalk/time-line/index.scss +2 -0
- package/theme-chalk/time-picker/index.scss +109 -0
- package/theme-chalk/tooltip/index.scss +13 -0
- package/theme-chalk/transfer/index.scss +247 -0
- package/theme-chalk/transition/index.scss +756 -0
- package/theme-chalk/tree/_directory.scss +73 -0
- package/theme-chalk/tree/_tree.scss +401 -0
- package/theme-chalk/tree/index.scss +2 -0
- package/theme-chalk/tree-select/index.scss +25 -0
- package/theme-chalk/upload/index.scss +631 -0
- package/dist/Tree/utils/KeyCode.d.ts +0 -110
- package/dist/Tree/utils/KeyCode.js +0 -550
- package/dist/VirtualList/Filler.d.ts +0 -11
- package/dist/VirtualList/Filler.js +0 -78
- package/dist/VirtualList/Item.d.ts +0 -7
- package/dist/VirtualList/ScrollBar.d.ts +0 -43
- package/dist/VirtualList/ScrollBar.js +0 -216
- package/dist/VirtualList/VirtualList.d.ts +0 -33
- package/dist/VirtualList/VirtualList.js +0 -280
- package/dist/VirtualList/hooks/useChildren.d.ts +0 -3
- package/dist/VirtualList/hooks/useDiffItem.d.ts +0 -2
- package/dist/VirtualList/hooks/useDiffItem.js +0 -39
- package/dist/VirtualList/hooks/useFrameWheel.d.ts +0 -6
- package/dist/VirtualList/hooks/useFrameWheel.js +0 -72
- package/dist/VirtualList/hooks/useHeights.d.ts +0 -3
- package/dist/VirtualList/hooks/useHeights.js +0 -83
- package/dist/VirtualList/hooks/useLayoutEffect.d.ts +0 -3
- package/dist/VirtualList/hooks/useLayoutEffect.js +0 -30
- package/dist/VirtualList/hooks/useMobileTouchMove.d.ts +0 -2
- package/dist/VirtualList/hooks/useMobileTouchMove.js +0 -92
- package/dist/VirtualList/hooks/useOriginScroll.d.ts +0 -2
- package/dist/VirtualList/hooks/useOriginScroll.js +0 -56
- package/dist/VirtualList/hooks/useScrollTo.d.ts +0 -5
- package/dist/VirtualList/hooks/useScrollTo.js +0 -111
- package/dist/VirtualList/index.d.ts +0 -2
- package/dist/VirtualList/interface.d.ts +0 -8
- package/dist/VirtualList/mock.d.ts +0 -6
- package/dist/VirtualList/mock.js +0 -29
- package/dist/VirtualList/utils/CacheMap.d.ts +0 -7
- package/dist/VirtualList/utils/CacheMap.js +0 -36
- package/dist/VirtualList/utils/algorithmUtil.d.ts +0 -6
- package/dist/VirtualList/utils/algorithmUtil.js +0 -81
- package/dist/VirtualList/utils/findDOMNode.d.ts +0 -2
- package/dist/VirtualList/utils/isFirefox.d.ts +0 -2
- package/dist/VirtualList/utils/raf.d.ts +0 -5
- package/dist/VirtualList/utils/raf.js +0 -57
- package/dist/theme-chalk/bak/common/popup.scss +0 -47
- package/dist/theme-chalk/bak/common/transition.scss +0 -118
- package/dist/theme-chalk/bak/common/var.scss +0 -1476
- package/dist/theme-chalk/bak/mixins/_var.scss +0 -55
- package/dist/theme-chalk/bak/mixins/function.scss +0 -85
- package/dist/theme-chalk/bak/mixins/mixins.scss +0 -215
- package/dist/theme-chalk/bak/mixins/utils.scss +0 -39
package/dist/index.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export type { PopperOptionRef, PopperOptions, PopperProps } from './Popper';
|
|
|
16
16
|
export { Transition as ElTransition } from './Transition';
|
|
17
17
|
export type { TransitionProps } from './Transition';
|
|
18
18
|
export { Cascader as ElCascader } from './Cascader';
|
|
19
|
-
export type { CascaderMenuProps, CascaderProps
|
|
19
|
+
export type { CascaderMenuProps, CascaderProps } from './Cascader';
|
|
20
20
|
export { Checkbox as ElCheckbox, CheckboxButton as ElCheckboxButton } from './Checkbox';
|
|
21
21
|
export type { CheckboxProps, ValueType as CheckboxValueType } from './Checkbox';
|
|
22
22
|
export { CheckboxGroup as ElCheckboxGroup } from './CheckboxGroup';
|
|
@@ -49,10 +49,14 @@ export { Form as ElForm, useForm } from './Form';
|
|
|
49
49
|
export type { FormInstance, FormItemProps, FormProps, FormRules, InternalFormInstance, InternalNamePath, NamePath, Rule, RuleType, ValidateErrorEntity, ValidateMessages, ValidateOptions, } from './Form';
|
|
50
50
|
export { Upload as ElUpload } from './Upload';
|
|
51
51
|
export type { UploadFile, UploadFiles, UploadProps, UploadRawFile, UploadRef, UploadStatus, UploadUserFile } from './Upload';
|
|
52
|
+
export { Avatar as ElAvatar } from './Avatar';
|
|
53
|
+
export type { AvatarProps } from './Avatar';
|
|
52
54
|
export { Badge as ElBadge } from './Badge';
|
|
53
55
|
export type { BadgeProps } from './Badge';
|
|
54
56
|
export { Card as ElCard } from './Card';
|
|
55
57
|
export type { CardProps } from './Card';
|
|
58
|
+
export { Carousel as ElCarousel, CarouselItem as ElCarouselItem } from './Carousel';
|
|
59
|
+
export type { CarouselItemProps, CarouselProps, CarouselRef } from './Carousel';
|
|
56
60
|
export { Collapse as ElCollapse, CollapseItem as ElCollapseItem } from './Collapse';
|
|
57
61
|
export type { CollapseItemProps, CollapseProps } from './Collapse';
|
|
58
62
|
export { Descriptions as ElDescriptions, DescriptionsItem as ElDescriptionsItem } from './Descriptions';
|
|
@@ -67,12 +71,10 @@ export { Tag as ElTag } from './Tag';
|
|
|
67
71
|
export type { TagProps } from './Tag';
|
|
68
72
|
export { TimeLine as ElTimeLine, TimeLineItem as ElTimeLineItem } from './TimeLine';
|
|
69
73
|
export type { TimeLineItemProps, TimeLineProps } from './TimeLine';
|
|
70
|
-
export { DirectoryTree as ElDirectoryTree, Tree as ElTree
|
|
71
|
-
export type {
|
|
74
|
+
export { DirectoryTree as ElDirectoryTree, Tree as ElTree } from './Tree';
|
|
75
|
+
export type { BasicDataNode, DataNode, DirectoryTreeExpandAction, DirectoryTreeProps, EventDataNode, Key, TreeProps, } from './Tree';
|
|
72
76
|
export { TreeSelect as ElTreeSelect } from './TreeSelect';
|
|
73
77
|
export type { SelectInfo, TreeSelectProps, TreeSelectRef } from './TreeSelect';
|
|
74
|
-
export { VirtualList } from './VirtualList';
|
|
75
|
-
export type { ListProps, ListRef, ScrollTo } from './VirtualList';
|
|
76
78
|
export { Breadcrumb as ElBreadcrumb, BreadcrumbItem as ElBreadcrumbItem } from './Breadcrumb';
|
|
77
79
|
export type { BreadcrumbItemProps, BreadcrumbProps } from './Breadcrumb';
|
|
78
80
|
export { Dropdown as ElDropdown, DropdownItem as ElDropdownItem, DropdownMenu as ElDropdownMenu } from './Dropdown';
|
|
@@ -106,5 +108,6 @@ export type { DividerProps } from './Divider';
|
|
|
106
108
|
export { PopupManager, download, genFileId, generateTree, getScrollWidth, isEmpty, isNotEmpty, randomCode } from './Util';
|
|
107
109
|
export * from './hooks';
|
|
108
110
|
export type { AnimationEventProps, BaseProps, FormControlBaseProps, NativeProps, StandardProps, TooltipBaseProps, TypeAttributes } from './types/common';
|
|
111
|
+
/** 全局配置 */
|
|
109
112
|
export { ConfigProvider } from './ConfigProvider';
|
|
110
113
|
export type { ConfigProviderProps } from './ConfigProvider';
|
package/dist/index.js
CHANGED
|
@@ -23,11 +23,14 @@ __export(src_exports, {
|
|
|
23
23
|
Calendar: () => import_Calendar.Calendar,
|
|
24
24
|
CalendarContext: () => import_Calendar.CalendarContext,
|
|
25
25
|
ConfigProvider: () => import_ConfigProvider.ConfigProvider,
|
|
26
|
+
ElAvatar: () => import_Avatar.Avatar,
|
|
26
27
|
ElBadge: () => import_Badge.Badge,
|
|
27
28
|
ElBreadcrumb: () => import_Breadcrumb.Breadcrumb,
|
|
28
29
|
ElBreadcrumbItem: () => import_Breadcrumb.BreadcrumbItem,
|
|
29
30
|
ElButton: () => import_Button.Button,
|
|
30
31
|
ElCard: () => import_Card.Card,
|
|
32
|
+
ElCarousel: () => import_Carousel.Carousel,
|
|
33
|
+
ElCarouselItem: () => import_Carousel.CarouselItem,
|
|
31
34
|
ElCascader: () => import_Cascader.Cascader,
|
|
32
35
|
ElCheckbox: () => import_Checkbox.Checkbox,
|
|
33
36
|
ElCheckboxButton: () => import_Checkbox.CheckboxButton,
|
|
@@ -85,8 +88,6 @@ __export(src_exports, {
|
|
|
85
88
|
ElUpload: () => import_Upload.Upload,
|
|
86
89
|
PopupManager: () => import_Util.PopupManager,
|
|
87
90
|
RowContext: () => import_Row.RowContext,
|
|
88
|
-
TreeNode: () => import_Tree.TreeNode,
|
|
89
|
-
VirtualList: () => import_VirtualList.VirtualList,
|
|
90
91
|
download: () => import_Util.download,
|
|
91
92
|
genFileId: () => import_Util.genFileId,
|
|
92
93
|
generateTree: () => import_Util.generateTree,
|
|
@@ -123,8 +124,10 @@ var import_Switch = require("./Switch");
|
|
|
123
124
|
var import_Transfer = require("./Transfer");
|
|
124
125
|
var import_Form = require("./Form");
|
|
125
126
|
var import_Upload = require("./Upload");
|
|
127
|
+
var import_Avatar = require("./Avatar");
|
|
126
128
|
var import_Badge = require("./Badge");
|
|
127
129
|
var import_Card = require("./Card");
|
|
130
|
+
var import_Carousel = require("./Carousel");
|
|
128
131
|
var import_Collapse = require("./Collapse");
|
|
129
132
|
var import_Descriptions = require("./Descriptions");
|
|
130
133
|
var import_Pagination = require("./Pagination");
|
|
@@ -134,7 +137,6 @@ var import_Tag = require("./Tag");
|
|
|
134
137
|
var import_TimeLine = require("./TimeLine");
|
|
135
138
|
var import_Tree = require("./Tree");
|
|
136
139
|
var import_TreeSelect = require("./TreeSelect");
|
|
137
|
-
var import_VirtualList = require("./VirtualList");
|
|
138
140
|
var import_Breadcrumb = require("./Breadcrumb");
|
|
139
141
|
var import_Dropdown = require("./Dropdown");
|
|
140
142
|
var import_Tabs = require("./Tabs");
|
|
@@ -158,11 +160,14 @@ var import_ConfigProvider = require("./ConfigProvider");
|
|
|
158
160
|
Calendar,
|
|
159
161
|
CalendarContext,
|
|
160
162
|
ConfigProvider,
|
|
163
|
+
ElAvatar,
|
|
161
164
|
ElBadge,
|
|
162
165
|
ElBreadcrumb,
|
|
163
166
|
ElBreadcrumbItem,
|
|
164
167
|
ElButton,
|
|
165
168
|
ElCard,
|
|
169
|
+
ElCarousel,
|
|
170
|
+
ElCarouselItem,
|
|
166
171
|
ElCascader,
|
|
167
172
|
ElCheckbox,
|
|
168
173
|
ElCheckboxButton,
|
|
@@ -220,8 +225,6 @@ var import_ConfigProvider = require("./ConfigProvider");
|
|
|
220
225
|
ElUpload,
|
|
221
226
|
PopupManager,
|
|
222
227
|
RowContext,
|
|
223
|
-
TreeNode,
|
|
224
|
-
VirtualList,
|
|
225
228
|
download,
|
|
226
229
|
genFileId,
|
|
227
230
|
generateTree,
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
@use '../common/var';
|
|
2
|
+
|
|
3
|
+
.#{$namespace}-avatar {
|
|
4
|
+
--#{$namespace}-avatar-text-color: var(--#{$namespace}-color-white);
|
|
5
|
+
--#{$namespace}-avatar-bg-color: var(--#{$namespace}-text-color-disabled);
|
|
6
|
+
--#{$namespace}-avatar-text-size: 14px;
|
|
7
|
+
--#{$namespace}-avatar-icon-size: 18px;
|
|
8
|
+
--#{$namespace}-avatar-border-radius: var(--#{$namespace}-border-radius-base);
|
|
9
|
+
--#{$namespace}-avatar-size-large: 56px;
|
|
10
|
+
--#{$namespace}-avatar-size-small: 24px;
|
|
11
|
+
--#{$namespace}-avatar-size: 40px;
|
|
12
|
+
display: inline-flex;
|
|
13
|
+
justify-content: center;
|
|
14
|
+
align-items: center;
|
|
15
|
+
box-sizing: border-box;
|
|
16
|
+
text-align: center;
|
|
17
|
+
overflow: hidden;
|
|
18
|
+
outline: none;
|
|
19
|
+
color: var(--#{$namespace}-avatar-text-color);
|
|
20
|
+
background: var(--#{$namespace}-avatar-bg-color);
|
|
21
|
+
width: var(--#{$namespace}-avatar-size);
|
|
22
|
+
height: var(--#{$namespace}-avatar-size);
|
|
23
|
+
font-size: var(--#{$namespace}-avatar-text-size);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.#{$namespace}-avatar > img {
|
|
27
|
+
display: block;
|
|
28
|
+
width: 100%;
|
|
29
|
+
height: 100%;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.#{$namespace}-avatar--circle {
|
|
33
|
+
border-radius: 50%;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.#{$namespace}-avatar--square {
|
|
37
|
+
border-radius: var(--#{$namespace}-avatar-border-radius);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.#{$namespace}-avatar--icon {
|
|
41
|
+
font-size: var(--#{$namespace}-avatar-icon-size);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.#{$namespace}-avatar--small {
|
|
45
|
+
--#{$namespace}-avatar-size: 24px;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.#{$namespace}-avatar--large {
|
|
49
|
+
--#{$namespace}-avatar-size: 56px;
|
|
50
|
+
}
|
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
@use '../common/var';
|
|
2
|
+
|
|
3
|
+
.#{$namespace}-carousel__item {
|
|
4
|
+
position: absolute;
|
|
5
|
+
top: 0;
|
|
6
|
+
left: 0;
|
|
7
|
+
width: 100%;
|
|
8
|
+
height: 100%;
|
|
9
|
+
display: inline-block;
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
z-index: calc(var(--#{$namespace}-index-normal) - 1);
|
|
12
|
+
|
|
13
|
+
&.is-active {
|
|
14
|
+
z-index: calc(var(--#{$namespace}-index-normal) - 1);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&.is-animating {
|
|
18
|
+
transition: transform 0.4s ease-in-out;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.#{$namespace}-carousel__item--card {
|
|
23
|
+
width: 50%;
|
|
24
|
+
transition: transform 0.4s ease-in-out;
|
|
25
|
+
|
|
26
|
+
&.is-in-stage {
|
|
27
|
+
cursor: pointer;
|
|
28
|
+
z-index: var(--#{$namespace}-index-normal);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&.is-in-stage:hover .#{$namespace}-carousel__mask,
|
|
32
|
+
&.is-in-stage.is-hover .#{$namespace}-carousel__mask {
|
|
33
|
+
opacity: 0.12;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&.is-active {
|
|
37
|
+
z-index: calc(var(--#{$namespace}-index-normal) + 1);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.#{$namespace}-carousel__item--card-vertical {
|
|
42
|
+
width: 100%;
|
|
43
|
+
height: 50%;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.#{$namespace}-carousel__mask {
|
|
47
|
+
position: absolute;
|
|
48
|
+
width: 100%;
|
|
49
|
+
height: 100%;
|
|
50
|
+
top: 0;
|
|
51
|
+
left: 0;
|
|
52
|
+
background-color: var(--#{$namespace}-color-white);
|
|
53
|
+
opacity: 0.24;
|
|
54
|
+
transition: var(--#{$namespace}-transition-duration-fast);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.#{$namespace}-carousel {
|
|
58
|
+
--#{$namespace}-carousel-arrow-font-size: 12px;
|
|
59
|
+
--#{$namespace}-carousel-arrow-size: 36px;
|
|
60
|
+
--#{$namespace}-carousel-arrow-background: rgba(31, 45, 61, 0.11);
|
|
61
|
+
--#{$namespace}-carousel-arrow-hover-background: rgba(31, 45, 61, 0.23);
|
|
62
|
+
--#{$namespace}-carousel-indicator-width: 30px;
|
|
63
|
+
--#{$namespace}-carousel-indicator-height: 2px;
|
|
64
|
+
--#{$namespace}-carousel-indicator-padding-horizontal: 4px;
|
|
65
|
+
--#{$namespace}-carousel-indicator-padding-vertical: 12px;
|
|
66
|
+
--#{$namespace}-carousel-indicator-out-color: var(--#{$namespace}-border-color-hover);
|
|
67
|
+
position: relative;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.#{$namespace}-carousel--horizontal,
|
|
71
|
+
.#{$namespace}-carousel--vertical {
|
|
72
|
+
overflow: hidden;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.#{$namespace}-carousel__container {
|
|
76
|
+
position: relative;
|
|
77
|
+
height: 300px;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.#{$namespace}-carousel__arrow {
|
|
81
|
+
border: none;
|
|
82
|
+
outline: none;
|
|
83
|
+
padding: 0;
|
|
84
|
+
margin: 0;
|
|
85
|
+
height: var(--#{$namespace}-carousel-arrow-size);
|
|
86
|
+
width: var(--#{$namespace}-carousel-arrow-size);
|
|
87
|
+
cursor: pointer;
|
|
88
|
+
transition: var(--#{$namespace}-transition-duration);
|
|
89
|
+
border-radius: 50%;
|
|
90
|
+
background-color: var(--#{$namespace}-carousel-arrow-background);
|
|
91
|
+
color: #fff;
|
|
92
|
+
position: absolute;
|
|
93
|
+
top: 50%;
|
|
94
|
+
z-index: 10;
|
|
95
|
+
transform: translateY(-50%);
|
|
96
|
+
text-align: center;
|
|
97
|
+
font-size: var(--#{$namespace}-carousel-arrow-font-size);
|
|
98
|
+
display: inline-flex;
|
|
99
|
+
justify-content: center;
|
|
100
|
+
align-items: center;
|
|
101
|
+
|
|
102
|
+
&:hover {
|
|
103
|
+
background-color: var(--#{$namespace}-carousel-arrow-hover-background);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
& i {
|
|
107
|
+
cursor: pointer;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.#{$namespace}-carousel__arrow--left {
|
|
112
|
+
left: 16px;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.#{$namespace}-carousel__arrow--right {
|
|
116
|
+
right: 16px;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.#{$namespace}-carousel__indicators {
|
|
120
|
+
position: absolute;
|
|
121
|
+
list-style: none;
|
|
122
|
+
margin: 0;
|
|
123
|
+
padding: 0;
|
|
124
|
+
z-index: calc(var(--#{$namespace}-index-normal) + 1);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.#{$namespace}-carousel__indicators--horizontal {
|
|
128
|
+
bottom: 0;
|
|
129
|
+
left: 50%;
|
|
130
|
+
transform: translate(-50%);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.#{$namespace}-carousel__indicators--vertical {
|
|
134
|
+
right: 0;
|
|
135
|
+
top: 50%;
|
|
136
|
+
transform: translateY(-50%);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.#{$namespace}-carousel__indicators--outside {
|
|
140
|
+
bottom: calc(var(--#{$namespace}-carousel-indicator-height) + var(--#{$namespace}-carousel-indicator-padding-vertical) * 2);
|
|
141
|
+
text-align: center;
|
|
142
|
+
position: static;
|
|
143
|
+
transform: none;
|
|
144
|
+
|
|
145
|
+
.#{$namespace}-carousel__indicator:hover button {
|
|
146
|
+
opacity: 0.64;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
button {
|
|
150
|
+
background-color: var(--#{$namespace}-carousel-indicator-out-color);
|
|
151
|
+
opacity: 0.24;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.#{$namespace}-carousel__indicators--right {
|
|
156
|
+
right: 0;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.#{$namespace}-carousel__indicators--labels {
|
|
160
|
+
left: 0;
|
|
161
|
+
right: 0;
|
|
162
|
+
transform: none;
|
|
163
|
+
text-align: center;
|
|
164
|
+
|
|
165
|
+
.#{$namespace}-carousel__button {
|
|
166
|
+
height: auto;
|
|
167
|
+
width: auto;
|
|
168
|
+
padding: 2px 18px;
|
|
169
|
+
font-size: 12px;
|
|
170
|
+
color: #000;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.#{$namespace}-carousel__indicator {
|
|
174
|
+
padding: 6px 4px;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.#{$namespace}-carousel__indicator {
|
|
179
|
+
background-color: transparent;
|
|
180
|
+
cursor: pointer;
|
|
181
|
+
|
|
182
|
+
&:hover button {
|
|
183
|
+
opacity: 0.72;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.#{$namespace}-carousel__indicator--horizontal {
|
|
188
|
+
display: inline-block;
|
|
189
|
+
padding: var(--#{$namespace}-carousel-indicator-padding-vertical) var(--#{$namespace}-carousel-indicator-padding-horizontal);
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.#{$namespace}-carousel__indicator--vertical {
|
|
193
|
+
padding: var(--#{$namespace}-carousel-indicator-padding-horizontal) var(--#{$namespace}-carousel-indicator-padding-vertical);
|
|
194
|
+
|
|
195
|
+
.#{$namespace}-carousel__button {
|
|
196
|
+
width: var(--#{$namespace}-carousel-indicator-height);
|
|
197
|
+
height: calc(var(--#{$namespace}-carousel-indicator-width) / 2);
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.#{$namespace}-carousel__indicator.is-active button {
|
|
202
|
+
opacity: 1;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.#{$namespace}-carousel__button {
|
|
206
|
+
display: block;
|
|
207
|
+
opacity: 0.48;
|
|
208
|
+
width: var(--#{$namespace}-carousel-indicator-width);
|
|
209
|
+
height: var(--#{$namespace}-carousel-indicator-height);
|
|
210
|
+
background-color: #fff;
|
|
211
|
+
border: none;
|
|
212
|
+
outline: none;
|
|
213
|
+
padding: 0;
|
|
214
|
+
margin: 0;
|
|
215
|
+
cursor: pointer;
|
|
216
|
+
transition: var(--#{$namespace}-transition-duration);
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.carousel-arrow-left-enter-from,
|
|
220
|
+
.carousel-arrow-left-leave-active {
|
|
221
|
+
transform: translateY(-50%) translate(-10px);
|
|
222
|
+
opacity: 0;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.carousel-arrow-right-enter-from,
|
|
226
|
+
.carousel-arrow-right-leave-active {
|
|
227
|
+
transform: translateY(-50%) translate(10px);
|
|
228
|
+
opacity: 0;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.#{$namespace}-transitioning {
|
|
232
|
+
filter: url(#elCarouselHorizontal);
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.#{$namespace}-transitioning-vertical {
|
|
236
|
+
filter: url(#elCarouselVertical);
|
|
237
|
+
}
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
color: var(--#{$namespace}-checkbox-checked-icon-color);
|
|
134
134
|
|
|
135
135
|
&:after {
|
|
136
|
-
font-family:
|
|
136
|
+
font-family: $fa-font-family;
|
|
137
137
|
content: '\f068';
|
|
138
138
|
font-weight: normal;
|
|
139
139
|
display: block;
|
|
@@ -152,7 +152,7 @@
|
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
&:checked + .#{$namespace}-checkbox__inner:after {
|
|
155
|
-
font-family:
|
|
155
|
+
font-family: $fa-font-family;
|
|
156
156
|
content: '\f00c';
|
|
157
157
|
font-weight: normal;
|
|
158
158
|
display: block;
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
@use '../common/var';
|
|
2
|
+
@import './scss/index.scss';
|
|
3
|
+
@import './scss/v4-shims.scss';
|
|
4
|
+
@import './scss/regular.scss';
|
|
5
|
+
@import './scss/light.scss';
|
|
6
|
+
@import './scss/thin.scss';
|
|
7
|
+
@import './scss/duotone.scss';
|
|
8
|
+
@import './scss/brands.scss';
|
|
9
|
+
@import './scss/solid.scss';
|
|
@@ -1,14 +1,5 @@
|
|
|
1
1
|
@use '../common/var';
|
|
2
2
|
|
|
3
|
-
@import './scss/index.scss';
|
|
4
|
-
@import './scss/v4-shims.scss';
|
|
5
|
-
@import './scss/regular.scss';
|
|
6
|
-
@import './scss/light.scss';
|
|
7
|
-
@import './scss/thin.scss';
|
|
8
|
-
@import './scss/duotone.scss';
|
|
9
|
-
@import './scss/brands.scss';
|
|
10
|
-
@import './scss/solid.scss';
|
|
11
|
-
|
|
12
3
|
.#{$namespace}-icon-loading {
|
|
13
4
|
animation: rotating 2s linear infinite;
|
|
14
5
|
}
|