@douyinfe/semi-foundation 2.1.0 → 2.1.4
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/anchor/foundation.ts +1 -1
- package/autoComplete/autoComplete.scss +3 -2
- package/autoComplete/foundation.ts +1 -1
- package/base/foundation.ts +1 -1
- package/cascader/foundation.ts +1 -1
- package/cascader/util.ts +1 -1
- package/checkbox/checkbox.scss +25 -1
- package/checkbox/checkboxFoundation.ts +14 -4
- package/checkbox/variables.scss +6 -1
- package/datePicker/_utils/getFullDateOffset.ts +1 -1
- package/datePicker/foundation.ts +1 -1
- package/datePicker/monthsGridFoundation.ts +1 -1
- package/form/foundation.ts +1 -1
- package/form/utils.ts +1 -1
- package/getBabelConfig.js +36 -0
- package/gulpfile.js +27 -9
- package/input/foundation.ts +1 -1
- package/input/input.scss +2 -0
- package/input/textareaFoundation.ts +1 -1
- package/input/util/getSizingData.ts +1 -1
- package/input/variables.scss +1 -1
- package/inputNumber/foundation.ts +1 -1
- package/lib/cjs/_portal/portal.css +15 -0
- package/lib/cjs/_portal/portal.scss +17 -0
- package/lib/cjs/anchor/anchor.css +118 -0
- package/lib/cjs/anchor/anchor.scss +120 -0
- package/lib/cjs/anchor/constants.d.ts +11 -0
- package/lib/cjs/anchor/constants.js +24 -0
- package/lib/cjs/anchor/foundation.d.ts +41 -0
- package/lib/cjs/anchor/foundation.js +270 -0
- package/lib/cjs/anchor/linkFoundation.d.ts +14 -0
- package/lib/cjs/anchor/linkFoundation.js +50 -0
- package/lib/cjs/anchor/rtl.scss +18 -0
- package/lib/cjs/anchor/variables.scss +27 -0
- package/lib/cjs/autoComplete/autoComplete.css +103 -0
- package/lib/cjs/autoComplete/autoComplete.scss +38 -0
- package/lib/cjs/autoComplete/constants.d.ts +10 -0
- package/lib/cjs/autoComplete/constants.js +25 -0
- package/lib/cjs/autoComplete/foundation.d.ts +62 -0
- package/lib/cjs/autoComplete/foundation.js +465 -0
- package/lib/cjs/autoComplete/rtl.scss +8 -0
- package/lib/cjs/autoComplete/variables.scss +3 -0
- package/lib/cjs/avatar/avatar.css +426 -0
- package/lib/cjs/avatar/avatar.scss +205 -0
- package/lib/cjs/avatar/constants.d.ts +10 -0
- package/lib/cjs/avatar/constants.js +24 -0
- package/lib/cjs/avatar/foundation.d.ts +14 -0
- package/lib/cjs/avatar/foundation.js +49 -0
- package/lib/cjs/avatar/mixin.css +3 -0
- package/lib/cjs/avatar/mixin.scss +4 -0
- package/lib/cjs/avatar/rtl.scss +69 -0
- package/lib/cjs/avatar/variables.scss +45 -0
- package/lib/cjs/backtop/backtop.css +20 -0
- package/lib/cjs/backtop/backtop.scss +17 -0
- package/lib/cjs/backtop/constants.d.ts +5 -0
- package/lib/cjs/backtop/constants.js +18 -0
- package/lib/cjs/backtop/foundation.d.ts +21 -0
- package/lib/cjs/backtop/foundation.js +114 -0
- package/lib/cjs/backtop/rtl.scss +10 -0
- package/lib/cjs/backtop/variables.scss +3 -0
- package/lib/cjs/badge/badge.css +146 -0
- package/lib/cjs/badge/badge.scss +168 -0
- package/lib/cjs/badge/constants.d.ts +10 -0
- package/lib/cjs/badge/constants.js +24 -0
- package/lib/cjs/badge/rtl.scss +8 -0
- package/lib/cjs/badge/variables.scss +43 -0
- package/lib/cjs/banner/banner.css +92 -0
- package/lib/cjs/banner/banner.scss +109 -0
- package/lib/cjs/banner/constants.d.ts +7 -0
- package/lib/cjs/banner/constants.js +20 -0
- package/lib/cjs/banner/foundation.d.ts +9 -0
- package/lib/cjs/banner/foundation.js +30 -0
- package/lib/cjs/banner/rtl.scss +20 -0
- package/lib/cjs/banner/variables.scss +27 -0
- package/lib/cjs/base/base.css +24 -0
- package/lib/cjs/base/base.scss +33 -0
- package/lib/cjs/base/constants.d.ts +3 -0
- package/lib/cjs/base/constants.js +22 -0
- package/lib/cjs/base/env.d.ts +1 -0
- package/lib/cjs/base/env.js +11 -0
- package/lib/cjs/base/foundation.d.ts +59 -0
- package/lib/cjs/base/foundation.js +144 -0
- package/lib/cjs/base/index.d.ts +5 -0
- package/lib/cjs/base/index.js +18 -0
- package/lib/cjs/breadcrumb/breadcrumb.css +109 -0
- package/lib/cjs/breadcrumb/breadcrumb.scss +120 -0
- package/lib/cjs/breadcrumb/constants.d.ts +7 -0
- package/lib/cjs/breadcrumb/constants.js +20 -0
- package/lib/cjs/breadcrumb/foundation.d.ts +24 -0
- package/lib/cjs/breadcrumb/foundation.js +52 -0
- package/lib/cjs/breadcrumb/itemFoundation.d.ts +22 -0
- package/lib/cjs/breadcrumb/itemFoundation.js +31 -0
- package/lib/cjs/breadcrumb/rtl.scss +33 -0
- package/lib/cjs/breadcrumb/variables.scss +19 -0
- package/lib/cjs/button/button.css +309 -0
- package/lib/cjs/button/button.scss +219 -0
- package/lib/cjs/button/constants.d.ts +6 -0
- package/lib/cjs/button/constants.js +28 -0
- package/lib/cjs/button/iconButton.css +160 -0
- package/lib/cjs/button/iconButton.scss +70 -0
- package/lib/cjs/button/rtl.scss +128 -0
- package/lib/cjs/button/splitButtonGroup.scss +32 -0
- package/lib/cjs/button/variables.scss +128 -0
- package/lib/cjs/calendar/calendar.css +592 -0
- package/lib/cjs/calendar/calendar.scss +520 -0
- package/lib/cjs/calendar/constants.d.ts +7 -0
- package/lib/cjs/calendar/constants.js +20 -0
- package/lib/cjs/calendar/eventUtil.d.ts +93 -0
- package/lib/cjs/calendar/eventUtil.js +431 -0
- package/lib/cjs/calendar/foundation.d.ts +99 -0
- package/lib/cjs/calendar/foundation.js +483 -0
- package/lib/cjs/calendar/rtl.scss +134 -0
- package/lib/cjs/calendar/variables.scss +105 -0
- package/lib/cjs/card/card.css +148 -0
- package/lib/cjs/card/card.scss +146 -0
- package/lib/cjs/card/constants.d.ts +8 -0
- package/lib/cjs/card/constants.js +21 -0
- package/lib/cjs/card/rtl.scss +43 -0
- package/lib/cjs/card/variables.scss +30 -0
- package/lib/cjs/cascader/cascader.css +438 -0
- package/lib/cjs/cascader/cascader.scss +436 -0
- package/lib/cjs/cascader/constants.d.ts +14 -0
- package/lib/cjs/cascader/constants.js +28 -0
- package/lib/cjs/cascader/foundation.d.ts +221 -0
- package/lib/cjs/cascader/foundation.js +1061 -0
- package/lib/cjs/cascader/rtl.scss +114 -0
- package/lib/cjs/cascader/util.d.ts +4 -0
- package/lib/cjs/cascader/util.js +114 -0
- package/lib/cjs/cascader/variables.scss +117 -0
- package/lib/cjs/checkbox/checkbox.css +330 -0
- package/lib/cjs/checkbox/checkbox.scss +387 -0
- package/lib/cjs/checkbox/checkboxFoundation.d.ts +55 -0
- package/lib/cjs/checkbox/checkboxFoundation.js +112 -0
- package/lib/cjs/checkbox/checkboxGroupFoundation.d.ts +17 -0
- package/lib/cjs/checkbox/checkboxGroupFoundation.js +103 -0
- package/lib/cjs/checkbox/constants.d.ts +27 -0
- package/lib/cjs/checkbox/constants.js +42 -0
- package/lib/cjs/checkbox/mixin.css +3 -0
- package/lib/cjs/checkbox/mixin.scss +0 -0
- package/lib/cjs/checkbox/rtl.scss +54 -0
- package/lib/cjs/checkbox/variables.scss +67 -0
- package/lib/cjs/collapse/collapse.css +78 -0
- package/lib/cjs/collapse/collapse.scss +77 -0
- package/lib/cjs/collapse/constants.d.ts +7 -0
- package/lib/cjs/collapse/constants.js +20 -0
- package/lib/cjs/collapse/foundation.d.ts +28 -0
- package/lib/cjs/collapse/foundation.js +77 -0
- package/lib/cjs/collapse/rtl.scss +26 -0
- package/lib/cjs/collapse/variables.scss +22 -0
- package/lib/cjs/collapsible/constants.d.ts +4 -0
- package/lib/cjs/collapsible/constants.js +16 -0
- package/lib/cjs/datePicker/_utils/formatter.d.ts +14 -0
- package/lib/cjs/datePicker/_utils/formatter.js +72 -0
- package/lib/cjs/datePicker/_utils/getDayOfWeek.d.ts +11 -0
- package/lib/cjs/datePicker/_utils/getDayOfWeek.js +31 -0
- package/lib/cjs/datePicker/_utils/getDefaultFormatToken.d.ts +9 -0
- package/lib/cjs/datePicker/_utils/getDefaultFormatToken.js +29 -0
- package/lib/cjs/datePicker/_utils/getFullDateOffset.d.ts +7 -0
- package/lib/cjs/datePicker/_utils/getFullDateOffset.js +35 -0
- package/lib/cjs/datePicker/_utils/getMonthTable.d.ts +12 -0
- package/lib/cjs/datePicker/_utils/getMonthTable.js +97 -0
- package/lib/cjs/datePicker/_utils/getMonthsInYear.d.ts +2 -0
- package/lib/cjs/datePicker/_utils/getMonthsInYear.js +26 -0
- package/lib/cjs/datePicker/_utils/getYears.d.ts +2 -0
- package/lib/cjs/datePicker/_utils/getYears.js +24 -0
- package/lib/cjs/datePicker/_utils/index.d.ts +13 -0
- package/lib/cjs/datePicker/_utils/index.js +117 -0
- package/lib/cjs/datePicker/_utils/isAfter.d.ts +1 -0
- package/lib/cjs/datePicker/_utils/isAfter.js +21 -0
- package/lib/cjs/datePicker/_utils/isBefore.d.ts +1 -0
- package/lib/cjs/datePicker/_utils/isBefore.js +21 -0
- package/lib/cjs/datePicker/_utils/isBetween.d.ts +11 -0
- package/lib/cjs/datePicker/_utils/isBetween.js +36 -0
- package/lib/cjs/datePicker/_utils/isDate.d.ts +1 -0
- package/lib/cjs/datePicker/_utils/isDate.js +13 -0
- package/lib/cjs/datePicker/_utils/isSameDay.d.ts +1 -0
- package/lib/cjs/datePicker/_utils/isSameDay.js +21 -0
- package/lib/cjs/datePicker/_utils/isTimestamp.d.ts +1 -0
- package/lib/cjs/datePicker/_utils/isTimestamp.js +19 -0
- package/lib/cjs/datePicker/_utils/isUnixTimestamp.d.ts +1 -0
- package/lib/cjs/datePicker/_utils/isUnixTimestamp.js +19 -0
- package/lib/cjs/datePicker/_utils/isValidDate.d.ts +1 -0
- package/lib/cjs/datePicker/_utils/isValidDate.js +13 -0
- package/lib/cjs/datePicker/_utils/isWithinInterval.d.ts +4 -0
- package/lib/cjs/datePicker/_utils/isWithinInterval.js +29 -0
- package/lib/cjs/datePicker/_utils/parser.d.ts +4 -0
- package/lib/cjs/datePicker/_utils/parser.js +46 -0
- package/lib/cjs/datePicker/constants.d.ts +50 -0
- package/lib/cjs/datePicker/constants.js +75 -0
- package/lib/cjs/datePicker/datePicker.css +810 -0
- package/lib/cjs/datePicker/datePicker.scss +1034 -0
- package/lib/cjs/datePicker/foundation.d.ts +409 -0
- package/lib/cjs/datePicker/foundation.js +1167 -0
- package/lib/cjs/datePicker/inputFoundation.d.ts +59 -0
- package/lib/cjs/datePicker/inputFoundation.js +125 -0
- package/lib/cjs/datePicker/monthFoundation.d.ts +73 -0
- package/lib/cjs/datePicker/monthFoundation.js +96 -0
- package/lib/cjs/datePicker/monthsGridFoundation.d.ts +218 -0
- package/lib/cjs/datePicker/monthsGridFoundation.js +954 -0
- package/lib/cjs/datePicker/rtl.scss +171 -0
- package/lib/cjs/datePicker/variables.scss +169 -0
- package/lib/cjs/datePicker/yearAndMonthFoundation.d.ts +56 -0
- package/lib/cjs/datePicker/yearAndMonthFoundation.js +52 -0
- package/lib/cjs/descriptions/constants.d.ts +9 -0
- package/lib/cjs/descriptions/constants.js +23 -0
- package/lib/cjs/descriptions/descriptions.css +191 -0
- package/lib/cjs/descriptions/descriptions.scss +150 -0
- package/lib/cjs/descriptions/rtl.scss +91 -0
- package/lib/cjs/descriptions/variables.scss +15 -0
- package/lib/cjs/dropdown/constants.d.ts +16 -0
- package/lib/cjs/dropdown/constants.js +32 -0
- package/lib/cjs/dropdown/dropdown.css +123 -0
- package/lib/cjs/dropdown/dropdown.scss +106 -0
- package/lib/cjs/dropdown/foundation.d.ts +8 -0
- package/lib/cjs/dropdown/foundation.js +24 -0
- package/lib/cjs/dropdown/rtl.scss +27 -0
- package/lib/cjs/dropdown/variables.scss +38 -0
- package/lib/cjs/empty/constants.d.ts +7 -0
- package/lib/cjs/empty/constants.js +20 -0
- package/lib/cjs/empty/empty.css +50 -0
- package/lib/cjs/empty/empty.scss +54 -0
- package/lib/cjs/empty/rtl.scss +15 -0
- package/lib/cjs/empty/variables.scss +8 -0
- package/lib/cjs/form/constants.d.ts +11 -0
- package/lib/cjs/form/constants.js +25 -0
- package/lib/cjs/form/form.css +250 -0
- package/lib/cjs/form/form.scss +273 -0
- package/lib/cjs/form/foundation.d.ts +86 -0
- package/lib/cjs/form/foundation.js +845 -0
- package/lib/cjs/form/interface.d.ts +121 -0
- package/lib/cjs/form/interface.js +7 -0
- package/lib/cjs/form/rtl.scss +89 -0
- package/lib/cjs/form/utils.d.ts +52 -0
- package/lib/cjs/form/utils.js +242 -0
- package/lib/cjs/form/variables.scss +44 -0
- package/lib/cjs/grid/constants.d.ts +4 -0
- package/lib/cjs/grid/constants.js +16 -0
- package/lib/cjs/grid/grid.css +6295 -0
- package/lib/cjs/grid/grid.scss +121 -0
- package/lib/cjs/grid/mixin.css +3 -0
- package/lib/cjs/grid/mixin.scss +115 -0
- package/lib/cjs/grid/rtl.scss +9 -0
- package/lib/cjs/grid/variables.scss +35 -0
- package/lib/cjs/icons/constants.d.ts +9 -0
- package/lib/cjs/icons/constants.js +24 -0
- package/lib/cjs/input/constants.d.ts +12 -0
- package/lib/cjs/input/constants.js +26 -0
- package/lib/cjs/input/foundation.d.ts +79 -0
- package/lib/cjs/input/foundation.js +379 -0
- package/lib/cjs/input/input.css +568 -0
- package/lib/cjs/input/input.scss +630 -0
- package/lib/cjs/input/rtl.scss +100 -0
- package/lib/cjs/input/textarea.css +222 -0
- package/lib/cjs/input/textarea.scss +188 -0
- package/lib/cjs/input/textareaFoundation.d.ts +63 -0
- package/lib/cjs/input/textareaFoundation.js +299 -0
- package/lib/cjs/input/util/calculateNodeHeight.d.ts +1 -0
- package/lib/cjs/input/util/calculateNodeHeight.js +101 -0
- package/lib/cjs/input/util/getSizingData.d.ts +6 -0
- package/lib/cjs/input/util/getSizingData.js +47 -0
- package/lib/cjs/input/variables.scss +109 -0
- package/lib/cjs/inputNumber/constants.d.ts +17 -0
- package/lib/cjs/inputNumber/constants.js +27 -0
- package/lib/cjs/inputNumber/foundation.d.ts +107 -0
- package/lib/cjs/inputNumber/foundation.js +692 -0
- package/lib/cjs/inputNumber/inputNumber.css +99 -0
- package/lib/cjs/inputNumber/inputNumber.scss +108 -0
- package/lib/cjs/inputNumber/rtl.scss +30 -0
- package/lib/cjs/inputNumber/variables.scss +23 -0
- package/lib/cjs/keyframes/rotate.css +11 -0
- package/lib/cjs/keyframes/rotate.scss +8 -0
- package/lib/cjs/layout/constants.d.ts +7 -0
- package/lib/cjs/layout/constants.js +20 -0
- package/lib/cjs/layout/layout.css +40 -0
- package/lib/cjs/layout/layout.scss +49 -0
- package/lib/cjs/layout/rtl.scss +8 -0
- package/lib/cjs/list/constants.d.ts +9 -0
- package/lib/cjs/list/constants.js +22 -0
- package/lib/cjs/list/list.css +121 -0
- package/lib/cjs/list/list.scss +125 -0
- package/lib/cjs/list/rtl.scss +39 -0
- package/lib/cjs/list/variables.scss +17 -0
- package/lib/cjs/modal/constants.d.ts +10 -0
- package/lib/cjs/modal/constants.js +23 -0
- package/lib/cjs/modal/modal.css +233 -0
- package/lib/cjs/modal/modal.scss +267 -0
- package/lib/cjs/modal/modalContentFoundation.d.ts +33 -0
- package/lib/cjs/modal/modalContentFoundation.js +76 -0
- package/lib/cjs/modal/modalFoundation.d.ts +68 -0
- package/lib/cjs/modal/modalFoundation.js +52 -0
- package/lib/cjs/modal/rtl.scss +48 -0
- package/lib/cjs/modal/variables.scss +69 -0
- package/lib/cjs/navigation/NavItem.d.ts +10 -0
- package/lib/cjs/navigation/NavItem.js +74 -0
- package/lib/cjs/navigation/constants.d.ts +21 -0
- package/lib/cjs/navigation/constants.js +38 -0
- package/lib/cjs/navigation/foundation.d.ts +86 -0
- package/lib/cjs/navigation/foundation.js +313 -0
- package/lib/cjs/navigation/itemFoundation.d.ts +45 -0
- package/lib/cjs/navigation/itemFoundation.js +84 -0
- package/lib/cjs/navigation/mixin.css +3 -0
- package/lib/cjs/navigation/mixin.scss +98 -0
- package/lib/cjs/navigation/navigation.css +758 -0
- package/lib/cjs/navigation/navigation.scss +683 -0
- package/lib/cjs/navigation/rtl.scss +132 -0
- package/lib/cjs/navigation/subNavFoundation.d.ts +39 -0
- package/lib/cjs/navigation/subNavFoundation.js +147 -0
- package/lib/cjs/navigation/variables.scss +132 -0
- package/lib/cjs/notification/constants.d.ts +14 -0
- package/lib/cjs/notification/constants.js +29 -0
- package/lib/cjs/notification/notification.css +154 -0
- package/lib/cjs/notification/notification.scss +168 -0
- package/lib/cjs/notification/notificationFoundation.d.ts +48 -0
- package/lib/cjs/notification/notificationFoundation.js +74 -0
- package/lib/cjs/notification/notificationListFoundation.d.ts +28 -0
- package/lib/cjs/notification/notificationListFoundation.js +61 -0
- package/lib/cjs/notification/rtl.scss +23 -0
- package/lib/cjs/notification/variables.scss +43 -0
- package/lib/cjs/overflowList/constants.d.ts +23 -0
- package/lib/cjs/overflowList/constants.js +44 -0
- package/lib/cjs/overflowList/foundation.d.ts +14 -0
- package/lib/cjs/overflowList/foundation.js +143 -0
- package/lib/cjs/overflowList/overflowList.css +23 -0
- package/lib/cjs/overflowList/overflowList.scss +20 -0
- package/lib/cjs/overflowList/rtl.scss +8 -0
- package/lib/cjs/pagination/constants.d.ts +12 -0
- package/lib/cjs/pagination/constants.js +26 -0
- package/lib/cjs/pagination/foundation.d.ts +52 -0
- package/lib/cjs/pagination/foundation.js +385 -0
- package/lib/cjs/pagination/pagination.css +155 -0
- package/lib/cjs/pagination/pagination.scss +158 -0
- package/lib/cjs/pagination/rtl.scss +18 -0
- package/lib/cjs/pagination/variables.scss +51 -0
- package/lib/cjs/popconfirm/constants.d.ts +13 -0
- package/lib/cjs/popconfirm/constants.js +27 -0
- package/lib/cjs/popconfirm/popconfirm.css +117 -0
- package/lib/cjs/popconfirm/popconfirm.scss +105 -0
- package/lib/cjs/popconfirm/popconfirmFoundation.d.ts +16 -0
- package/lib/cjs/popconfirm/popconfirmFoundation.js +47 -0
- package/lib/cjs/popconfirm/rtl.scss +60 -0
- package/lib/cjs/popconfirm/variables.scss +36 -0
- package/lib/cjs/popover/constants.d.ts +25 -0
- package/lib/cjs/popover/constants.js +45 -0
- package/lib/cjs/popover/popover.css +160 -0
- package/lib/cjs/popover/popover.scss +54 -0
- package/lib/cjs/popover/rtl.scss +7 -0
- package/lib/cjs/popover/variables.scss +28 -0
- package/lib/cjs/progress/constants.d.ts +14 -0
- package/lib/cjs/progress/constants.js +28 -0
- package/lib/cjs/progress/progress.css +106 -0
- package/lib/cjs/progress/progress.scss +105 -0
- package/lib/cjs/progress/rtl.scss +29 -0
- package/lib/cjs/progress/variables.scss +25 -0
- package/lib/cjs/radio/constants.d.ts +29 -0
- package/lib/cjs/radio/constants.js +44 -0
- package/lib/cjs/radio/mixin.css +3 -0
- package/lib/cjs/radio/mixin.scss +0 -0
- package/lib/cjs/radio/radio.css +377 -0
- package/lib/cjs/radio/radio.scss +422 -0
- package/lib/cjs/radio/radioFoundation.d.ts +7 -0
- package/lib/cjs/radio/radioFoundation.js +22 -0
- package/lib/cjs/radio/radioGroupFoundation.d.ts +16 -0
- package/lib/cjs/radio/radioGroupFoundation.js +91 -0
- package/lib/cjs/radio/radioInnerFoundation.d.ts +22 -0
- package/lib/cjs/radio/radioInnerFoundation.js +74 -0
- package/lib/cjs/radio/rtl.scss +78 -0
- package/lib/cjs/radio/variables.scss +101 -0
- package/lib/cjs/rating/constants.d.ts +7 -0
- package/lib/cjs/rating/constants.js +20 -0
- package/lib/cjs/rating/foundation.d.ts +28 -0
- package/lib/cjs/rating/foundation.js +202 -0
- package/lib/cjs/rating/rating.css +84 -0
- package/lib/cjs/rating/rating.scss +91 -0
- package/lib/cjs/rating/rtl.scss +21 -0
- package/lib/cjs/rating/variables.scss +14 -0
- package/lib/cjs/scrollList/constants.d.ts +12 -0
- package/lib/cjs/scrollList/constants.js +26 -0
- package/lib/cjs/scrollList/foundation.d.ts +3 -0
- package/lib/cjs/scrollList/foundation.js +17 -0
- package/lib/cjs/scrollList/itemFoundation.d.ts +74 -0
- package/lib/cjs/scrollList/itemFoundation.js +320 -0
- package/lib/cjs/scrollList/rtl.scss +47 -0
- package/lib/cjs/scrollList/scrollList.css +181 -0
- package/lib/cjs/scrollList/scrollList.scss +182 -0
- package/lib/cjs/scrollList/scrollTo.d.ts +3 -0
- package/lib/cjs/scrollList/scrollTo.js +35 -0
- package/lib/cjs/scrollList/variables.scss +48 -0
- package/lib/cjs/select/constants.d.ts +16 -0
- package/lib/cjs/select/constants.js +33 -0
- package/lib/cjs/select/foundation.d.ts +107 -0
- package/lib/cjs/select/foundation.js +1220 -0
- package/lib/cjs/select/mixin.css +3 -0
- package/lib/cjs/select/mixin.scss +6 -0
- package/lib/cjs/select/option.css +76 -0
- package/lib/cjs/select/option.scss +95 -0
- package/lib/cjs/select/optionFoundation.d.ts +21 -0
- package/lib/cjs/select/optionFoundation.js +42 -0
- package/lib/cjs/select/rtl.scss +93 -0
- package/lib/cjs/select/select.css +465 -0
- package/lib/cjs/select/select.scss +422 -0
- package/lib/cjs/select/variables.scss +100 -0
- package/lib/cjs/sideSheet/constants.d.ts +15 -0
- package/lib/cjs/sideSheet/constants.js +28 -0
- package/lib/cjs/sideSheet/rtl.scss +17 -0
- package/lib/cjs/sideSheet/sideSheet.css +143 -0
- package/lib/cjs/sideSheet/sideSheet.scss +171 -0
- package/lib/cjs/sideSheet/sideSheetFoundation.d.ts +55 -0
- package/lib/cjs/sideSheet/sideSheetFoundation.js +126 -0
- package/lib/cjs/sideSheet/variables.scss +16 -0
- package/lib/cjs/skeleton/constants.d.ts +5 -0
- package/lib/cjs/skeleton/constants.js +18 -0
- package/lib/cjs/skeleton/rtl.scss +8 -0
- package/lib/cjs/skeleton/skeleton.css +87 -0
- package/lib/cjs/skeleton/skeleton.scss +115 -0
- package/lib/cjs/skeleton/variables.scss +20 -0
- package/lib/cjs/slider/constants.d.ts +15 -0
- package/lib/cjs/slider/constants.js +28 -0
- package/lib/cjs/slider/foundation.d.ts +203 -0
- package/lib/cjs/slider/foundation.js +734 -0
- package/lib/cjs/slider/slider.css +192 -0
- package/lib/cjs/slider/slider.scss +234 -0
- package/lib/cjs/slider/variables.scss +60 -0
- package/lib/cjs/space/constants.d.ts +10 -0
- package/lib/cjs/space/constants.js +23 -0
- package/lib/cjs/space/rtl.scss +8 -0
- package/lib/cjs/space/space.css +50 -0
- package/lib/cjs/space/space.scss +58 -0
- package/lib/cjs/space/variables.scss +3 -0
- package/lib/cjs/spin/constants.d.ts +8 -0
- package/lib/cjs/spin/constants.js +23 -0
- package/lib/cjs/spin/foundation.d.ts +12 -0
- package/lib/cjs/spin/foundation.js +62 -0
- package/lib/cjs/spin/mixin.css +3 -0
- package/lib/cjs/spin/mixin.scss +5 -0
- package/lib/cjs/spin/rtl.scss +12 -0
- package/lib/cjs/spin/spin.css +104 -0
- package/lib/cjs/spin/spin.scss +104 -0
- package/lib/cjs/spin/variables.scss +18 -0
- package/lib/cjs/steps/bacisSteps.scss +344 -0
- package/lib/cjs/steps/constants.d.ts +5 -0
- package/lib/cjs/steps/constants.js +17 -0
- package/lib/cjs/steps/fillSteps.scss +193 -0
- package/lib/cjs/steps/mixin.css +3 -0
- package/lib/cjs/steps/mixin.scss +0 -0
- package/lib/cjs/steps/navSteps.scss +63 -0
- package/lib/cjs/steps/rtl.scss +46 -0
- package/lib/cjs/steps/steps.css +444 -0
- package/lib/cjs/steps/steps.scss +9 -0
- package/lib/cjs/steps/variables.scss +104 -0
- package/lib/cjs/switch/constants.d.ts +18 -0
- package/lib/cjs/switch/constants.js +31 -0
- package/lib/cjs/switch/foundation.d.ts +14 -0
- package/lib/cjs/switch/foundation.js +58 -0
- package/lib/cjs/switch/rtl.scss +103 -0
- package/lib/cjs/switch/switch.css +288 -0
- package/lib/cjs/switch/switch.scss +282 -0
- package/lib/cjs/switch/variables.scss +70 -0
- package/lib/cjs/table/bodyFoundation.d.ts +38 -0
- package/lib/cjs/table/bodyFoundation.js +164 -0
- package/lib/cjs/table/cellFoundation.d.ts +7 -0
- package/lib/cjs/table/cellFoundation.js +22 -0
- package/lib/cjs/table/constants.d.ts +77 -0
- package/lib/cjs/table/constants.js +110 -0
- package/lib/cjs/table/foundation.d.ts +351 -0
- package/lib/cjs/table/foundation.js +1167 -0
- package/lib/cjs/table/mixin.css +3 -0
- package/lib/cjs/table/mixin.scss +10 -0
- package/lib/cjs/table/operationPanel.scss +46 -0
- package/lib/cjs/table/rtl.scss +158 -0
- package/lib/cjs/table/table.css +559 -0
- package/lib/cjs/table/table.scss +552 -0
- package/lib/cjs/table/tableRowFoundation.d.ts +14 -0
- package/lib/cjs/table/tableRowFoundation.js +44 -0
- package/lib/cjs/table/tableSelectionCellFoundation.d.ts +13 -0
- package/lib/cjs/table/tableSelectionCellFoundation.js +24 -0
- package/lib/cjs/table/utils.d.ts +95 -0
- package/lib/cjs/table/utils.js +617 -0
- package/lib/cjs/table/variables.scss +84 -0
- package/lib/cjs/tabs/constants.d.ts +28 -0
- package/lib/cjs/tabs/constants.js +42 -0
- package/lib/cjs/tabs/foundation.d.ts +23 -0
- package/lib/cjs/tabs/foundation.js +95 -0
- package/lib/cjs/tabs/rtl.scss +123 -0
- package/lib/cjs/tabs/tabs.css +378 -0
- package/lib/cjs/tabs/tabs.scss +411 -0
- package/lib/cjs/tabs/variables.scss +115 -0
- package/lib/cjs/tag/constants.d.ts +10 -0
- package/lib/cjs/tag/constants.js +24 -0
- package/lib/cjs/tag/mixin.css +3 -0
- package/lib/cjs/tag/mixin.scss +21 -0
- package/lib/cjs/tag/rtl.scss +61 -0
- package/lib/cjs/tag/tag.css +444 -0
- package/lib/cjs/tag/tag.scss +181 -0
- package/lib/cjs/tag/variables.scss +48 -0
- package/lib/cjs/tagInput/constants.d.ts +8 -0
- package/lib/cjs/tagInput/constants.js +21 -0
- package/lib/cjs/tagInput/foundation.d.ts +53 -0
- package/lib/cjs/tagInput/foundation.js +267 -0
- package/lib/cjs/tagInput/rtl.scss +23 -0
- package/lib/cjs/tagInput/tagInput.css +171 -0
- package/lib/cjs/tagInput/tagInput.scss +192 -0
- package/lib/cjs/tagInput/utils/getSplitedArray.d.ts +7 -0
- package/lib/cjs/tagInput/utils/getSplitedArray.js +47 -0
- package/lib/cjs/tagInput/variables.scss +39 -0
- package/lib/cjs/timePicker/ComboxFoundation.d.ts +31 -0
- package/lib/cjs/timePicker/ComboxFoundation.js +193 -0
- package/lib/cjs/timePicker/constants.d.ts +23 -0
- package/lib/cjs/timePicker/constants.js +43 -0
- package/lib/cjs/timePicker/foundation.d.ts +53 -0
- package/lib/cjs/timePicker/foundation.js +465 -0
- package/lib/cjs/timePicker/inputFoundation.d.ts +18 -0
- package/lib/cjs/timePicker/inputFoundation.js +81 -0
- package/lib/cjs/timePicker/rtl.scss +30 -0
- package/lib/cjs/timePicker/timePicker.css +72 -0
- package/lib/cjs/timePicker/timePicker.scss +86 -0
- package/lib/cjs/timePicker/utils/index.d.ts +41 -0
- package/lib/cjs/timePicker/utils/index.js +191 -0
- package/lib/cjs/timePicker/utils/localeDate.d.ts +2 -0
- package/lib/cjs/timePicker/utils/localeDate.js +47 -0
- package/lib/cjs/timePicker/variables.scss +22 -0
- package/lib/cjs/timeline/constants.d.ts +10 -0
- package/lib/cjs/timeline/constants.js +23 -0
- package/lib/cjs/timeline/rtl.scss +92 -0
- package/lib/cjs/timeline/timeline.css +197 -0
- package/lib/cjs/timeline/timeline.scss +175 -0
- package/lib/cjs/timeline/variables.scss +46 -0
- package/lib/cjs/toast/constants.d.ts +14 -0
- package/lib/cjs/toast/constants.js +30 -0
- package/lib/cjs/toast/rtl.scss +16 -0
- package/lib/cjs/toast/toast.css +76 -0
- package/lib/cjs/toast/toast.scss +92 -0
- package/lib/cjs/toast/toastFoundation.d.ts +48 -0
- package/lib/cjs/toast/toastFoundation.js +72 -0
- package/lib/cjs/toast/toastListFoundation.d.ts +17 -0
- package/lib/cjs/toast/toastListFoundation.js +62 -0
- package/lib/cjs/toast/variables.scss +34 -0
- package/lib/cjs/tooltip/arrow.scss +141 -0
- package/lib/cjs/tooltip/constants.d.ts +22 -0
- package/lib/cjs/tooltip/constants.js +37 -0
- package/lib/cjs/tooltip/foundation.d.ts +99 -0
- package/lib/cjs/tooltip/foundation.js +819 -0
- package/lib/cjs/tooltip/rtl.scss +12 -0
- package/lib/cjs/tooltip/tooltip.css +203 -0
- package/lib/cjs/tooltip/tooltip.scss +91 -0
- package/lib/cjs/tooltip/variables.scss +31 -0
- package/lib/cjs/transfer/constants.d.ts +10 -0
- package/lib/cjs/transfer/constants.js +24 -0
- package/lib/cjs/transfer/foundation.d.ts +51 -0
- package/lib/cjs/transfer/foundation.js +314 -0
- package/lib/cjs/transfer/rtl.scss +31 -0
- package/lib/cjs/transfer/transfer.css +202 -0
- package/lib/cjs/transfer/transfer.scss +200 -0
- package/lib/cjs/transfer/transferUtlls.d.ts +4 -0
- package/lib/cjs/transfer/transferUtlls.js +128 -0
- package/lib/cjs/transfer/variables.scss +55 -0
- package/lib/cjs/tree/constants.d.ts +9 -0
- package/lib/cjs/tree/constants.js +23 -0
- package/lib/cjs/tree/foundation.d.ts +281 -0
- package/lib/cjs/tree/foundation.js +711 -0
- package/lib/cjs/tree/rtl.scss +59 -0
- package/lib/cjs/tree/tree.css +478 -0
- package/lib/cjs/tree/tree.scss +372 -0
- package/lib/cjs/tree/treeUtil.d.ts +79 -0
- package/lib/cjs/tree/treeUtil.js +804 -0
- package/lib/cjs/tree/variables.scss +54 -0
- package/lib/cjs/treeSelect/constants.d.ts +13 -0
- package/lib/cjs/treeSelect/constants.js +27 -0
- package/lib/cjs/treeSelect/foundation.d.ts +162 -0
- package/lib/cjs/treeSelect/foundation.js +792 -0
- package/lib/cjs/treeSelect/rtl.scss +62 -0
- package/lib/cjs/treeSelect/treeSelect.css +308 -0
- package/lib/cjs/treeSelect/treeSelect.scss +332 -0
- package/lib/cjs/treeSelect/variables.scss +90 -0
- package/lib/cjs/typography/constants.d.ts +10 -0
- package/lib/cjs/typography/constants.js +23 -0
- package/lib/cjs/typography/rtl.scss +34 -0
- package/lib/cjs/typography/typography.css +220 -0
- package/lib/cjs/typography/typography.scss +218 -0
- package/lib/cjs/typography/variables.scss +45 -0
- package/lib/cjs/upload/constants.d.ts +28 -0
- package/lib/cjs/upload/constants.js +49 -0
- package/lib/cjs/upload/foundation.d.ts +166 -0
- package/lib/cjs/upload/foundation.js +1067 -0
- package/lib/cjs/upload/rtl.scss +87 -0
- package/lib/cjs/upload/upload.css +493 -0
- package/lib/cjs/upload/upload.scss +522 -0
- package/lib/cjs/upload/utils.d.ts +6 -0
- package/lib/cjs/upload/utils.js +165 -0
- package/lib/cjs/upload/variables.scss +81 -0
- package/lib/cjs/utils/Event.d.ts +7 -0
- package/lib/cjs/utils/Event.js +91 -0
- package/lib/cjs/utils/Logger.d.ts +15 -0
- package/lib/cjs/utils/Logger.js +77 -0
- package/lib/cjs/utils/Store.d.ts +9 -0
- package/lib/cjs/utils/Store.js +60 -0
- package/lib/cjs/utils/array.d.ts +22 -0
- package/lib/cjs/utils/array.js +64 -0
- package/lib/cjs/utils/classnames.d.ts +4 -0
- package/lib/cjs/utils/classnames.js +54 -0
- package/lib/cjs/utils/date-fns-extra.d.ts +55 -0
- package/lib/cjs/utils/date-fns-extra.js +148 -0
- package/lib/cjs/utils/dom.d.ts +27 -0
- package/lib/cjs/utils/dom.js +92 -0
- package/lib/cjs/utils/function.d.ts +4 -0
- package/lib/cjs/utils/function.js +15 -0
- package/lib/cjs/utils/getDataAttr.d.ts +1 -0
- package/lib/cjs/utils/getDataAttr.js +27 -0
- package/lib/cjs/utils/getHighlight.d.ts +45 -0
- package/lib/cjs/utils/getHighlight.js +211 -0
- package/lib/cjs/utils/getMotionObjFromProps.d.ts +26 -0
- package/lib/cjs/utils/getMotionObjFromProps.js +77 -0
- package/lib/cjs/utils/index.d.ts +2 -0
- package/lib/cjs/utils/index.js +41 -0
- package/lib/cjs/utils/isBothNaN.d.ts +8 -0
- package/lib/cjs/utils/isBothNaN.js +25 -0
- package/lib/cjs/utils/isElement.d.ts +1 -0
- package/lib/cjs/utils/isElement.js +21 -0
- package/lib/cjs/utils/isNullOrUndefined.d.ts +6 -0
- package/lib/cjs/utils/isNullOrUndefined.js +18 -0
- package/lib/cjs/utils/isNumber.d.ts +1 -0
- package/lib/cjs/utils/isNumber.js +13 -0
- package/lib/cjs/utils/isObject.d.ts +1 -0
- package/lib/cjs/utils/isObject.js +13 -0
- package/lib/cjs/utils/isPromise.d.ts +1 -0
- package/lib/cjs/utils/isPromise.js +17 -0
- package/lib/cjs/utils/isString.d.ts +1 -0
- package/lib/cjs/utils/isString.js +13 -0
- package/lib/cjs/utils/keyCode.d.ts +427 -0
- package/lib/cjs/utils/keyCode.js +542 -0
- package/lib/cjs/utils/log.d.ts +2 -0
- package/lib/cjs/utils/log.js +26 -0
- package/lib/cjs/utils/number.d.ts +10 -0
- package/lib/cjs/utils/number.js +29 -0
- package/lib/cjs/utils/object.d.ts +17 -0
- package/lib/cjs/utils/object.js +174 -0
- package/lib/cjs/utils/set.d.ts +7 -0
- package/lib/cjs/utils/set.js +44 -0
- package/lib/cjs/utils/shallowEqualObjects.d.ts +5 -0
- package/lib/cjs/utils/shallowEqualObjects.js +41 -0
- package/lib/cjs/utils/touchPolyfill.d.ts +2 -0
- package/lib/cjs/utils/touchPolyfill.js +50 -0
- package/lib/cjs/utils/type.d.ts +31 -0
- package/lib/cjs/utils/type.js +7 -0
- package/lib/cjs/utils/uuid.d.ts +3 -0
- package/lib/cjs/utils/uuid.js +29 -0
- package/lib/cjs/utils/warning.d.ts +1 -0
- package/lib/cjs/utils/warning.js +15 -0
- package/lib/es/anchor/foundation.js +8 -5
- package/lib/es/autoComplete/autoComplete.css +5 -5
- package/lib/es/autoComplete/autoComplete.scss +3 -2
- package/lib/es/autoComplete/foundation.js +8 -5
- package/lib/es/base/foundation.js +12 -12
- package/lib/es/cascader/foundation.js +25 -17
- package/lib/es/cascader/util.js +5 -3
- package/lib/es/checkbox/checkbox.css +21 -2
- package/lib/es/checkbox/checkbox.scss +25 -1
- package/lib/es/checkbox/checkboxFoundation.d.ts +10 -4
- package/lib/es/checkbox/checkboxFoundation.js +7 -0
- package/lib/es/checkbox/variables.scss +6 -1
- package/lib/es/datePicker/_utils/getFullDateOffset.js +2 -2
- package/lib/es/datePicker/foundation.js +15 -10
- package/lib/es/datePicker/monthsGridFoundation.js +8 -6
- package/lib/es/form/foundation.js +9 -6
- package/lib/es/form/utils.js +2 -2
- package/lib/es/input/foundation.js +15 -10
- package/lib/es/input/input.css +3 -2
- package/lib/es/input/input.scss +2 -0
- package/lib/es/input/textareaFoundation.js +17 -14
- package/lib/es/input/util/getSizingData.js +3 -3
- package/lib/es/input/variables.scss +1 -1
- package/lib/es/inputNumber/foundation.js +13 -11
- package/lib/es/navigation/foundation.js +2 -2
- package/lib/es/notification/notificationFoundation.js +2 -2
- package/lib/es/overflowList/foundation.js +6 -3
- package/lib/es/radio/radio.css +33 -2
- package/lib/es/radio/radio.scss +44 -1
- package/lib/es/radio/variables.scss +12 -2
- package/lib/es/rating/rating.css +3 -0
- package/lib/es/rating/rating.scss +4 -0
- package/lib/es/scrollList/itemFoundation.js +17 -7
- package/lib/es/select/foundation.js +9 -6
- package/lib/es/sideSheet/sideSheetFoundation.js +8 -7
- package/lib/es/table/bodyFoundation.js +14 -8
- package/lib/es/table/foundation.js +87 -67
- package/lib/es/table/utils.js +65 -42
- package/lib/es/tabs/foundation.js +2 -2
- package/lib/es/tagInput/foundation.js +10 -7
- package/lib/es/tagInput/utils/getSplitedArray.js +6 -4
- package/lib/es/timePicker/foundation.js +6 -4
- package/lib/es/timePicker/utils/index.js +5 -5
- package/lib/es/toast/toastFoundation.js +2 -2
- package/lib/es/tooltip/foundation.js +15 -16
- package/lib/es/transfer/foundation.js +2 -2
- package/lib/es/transfer/transferUtlls.js +4 -4
- package/lib/es/tree/foundation.js +14 -14
- package/lib/es/tree/treeUtil.js +21 -18
- package/lib/es/treeSelect/foundation.js +16 -9
- package/lib/es/utils/classnames.js +9 -5
- package/lib/es/utils/getHighlight.js +2 -3
- package/lib/es/utils/getMotionObjFromProps.js +6 -5
- package/lib/es/utils/log.js +2 -2
- package/lib/es/utils/object.js +31 -21
- package/lib/es/utils/set.js +2 -2
- package/navigation/foundation.ts +1 -1
- package/notification/notificationFoundation.ts +1 -1
- package/overflowList/foundation.ts +1 -1
- package/package.json +6 -4
- package/radio/radio.scss +44 -1
- package/radio/variables.scss +12 -2
- package/rating/rating.scss +4 -0
- package/scrollList/itemFoundation.ts +1 -1
- package/select/foundation.ts +1 -1
- package/sideSheet/sideSheetFoundation.ts +1 -1
- package/table/bodyFoundation.ts +1 -1
- package/table/foundation.ts +1 -1
- package/table/utils.ts +1 -1
- package/tabs/foundation.ts +1 -1
- package/tagInput/foundation.ts +1 -1
- package/tagInput/utils/getSplitedArray.ts +1 -1
- package/timePicker/foundation.ts +1 -1
- package/timePicker/utils/index.ts +1 -1
- package/toast/toastFoundation.ts +1 -1
- package/tooltip/foundation.ts +1 -1
- package/transfer/foundation.ts +1 -1
- package/transfer/transferUtlls.ts +1 -1
- package/tree/foundation.ts +1 -1
- package/tree/treeUtil.ts +2 -2
- package/treeSelect/foundation.ts +1 -1
- package/tsconfig.json +2 -1
- package/utils/classnames.ts +1 -1
- package/utils/getHighlight.ts +1 -1
- package/utils/getMotionObjFromProps.ts +1 -1
- package/utils/log.ts +1 -1
- package/utils/object.ts +1 -1
- package/utils/set.ts +1 -1
- package/babel.config.js +0 -33
- package/icons/icons.scss +0 -39
- package/icons/variables.scss +0 -7
- package/lib/es/icons/icons.css +0 -40
- package/lib/es/icons/icons.scss +0 -39
- package/lib/es/icons/variables.scss +0 -7
|
@@ -0,0 +1,444 @@
|
|
|
1
|
+
/* shadow */
|
|
2
|
+
/* sizing */
|
|
3
|
+
/* spacing */
|
|
4
|
+
.semi-steps .semi-col {
|
|
5
|
+
flex: 1;
|
|
6
|
+
}
|
|
7
|
+
.semi-steps-vertical .semi-row-flex {
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
}
|
|
10
|
+
.semi-steps .semi-steps-item {
|
|
11
|
+
box-sizing: border-box;
|
|
12
|
+
display: flex;
|
|
13
|
+
height: 72px;
|
|
14
|
+
position: relative;
|
|
15
|
+
overflow: hidden;
|
|
16
|
+
margin-right: 16px;
|
|
17
|
+
border: 1px solid transparent;
|
|
18
|
+
border-radius: var(--semi-border-radius-medium);
|
|
19
|
+
padding: 12px 16px;
|
|
20
|
+
}
|
|
21
|
+
.semi-steps .semi-steps-item .semi-steps-item-title {
|
|
22
|
+
position: relative;
|
|
23
|
+
font-size: 18px;
|
|
24
|
+
line-height: 24px;
|
|
25
|
+
font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
26
|
+
font-weight: 600;
|
|
27
|
+
width: 100%;
|
|
28
|
+
overflow: hidden;
|
|
29
|
+
text-overflow: ellipsis;
|
|
30
|
+
white-space: nowrap;
|
|
31
|
+
color: var(--semi-color-text-0);
|
|
32
|
+
}
|
|
33
|
+
.semi-steps .semi-steps-item .semi-steps-item-description {
|
|
34
|
+
font-size: 14px;
|
|
35
|
+
line-height: 20px;
|
|
36
|
+
font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
37
|
+
color: var(--semi-color-text-2);
|
|
38
|
+
width: 100%;
|
|
39
|
+
overflow: hidden;
|
|
40
|
+
text-overflow: ellipsis;
|
|
41
|
+
white-space: nowrap;
|
|
42
|
+
}
|
|
43
|
+
.semi-steps .semi-steps-item-process {
|
|
44
|
+
background-color: var(--semi-color-primary-light-default);
|
|
45
|
+
}
|
|
46
|
+
.semi-steps .semi-steps-item-process .semi-steps-item-left:not(.semi-steps-item-icon) {
|
|
47
|
+
background: var(--semi-color-primary);
|
|
48
|
+
}
|
|
49
|
+
.semi-steps .semi-steps-item-process .semi-steps-item-title,
|
|
50
|
+
.semi-steps .semi-steps-item-process .semi-steps-item-icon {
|
|
51
|
+
color: var(--semi-color-primary);
|
|
52
|
+
}
|
|
53
|
+
.semi-steps .semi-steps-item-wait .semi-steps-item-left:not(.semi-steps-item-icon) {
|
|
54
|
+
background: var(--semi-color-text-2);
|
|
55
|
+
}
|
|
56
|
+
.semi-steps .semi-steps-item-wait .semi-steps-item-icon {
|
|
57
|
+
color: var(--semi-color-text-2);
|
|
58
|
+
}
|
|
59
|
+
.semi-steps .semi-steps-item-finish .semi-icon,
|
|
60
|
+
.semi-steps .semi-steps-item-finish .semi-steps-item-title {
|
|
61
|
+
color: var(--semi-color-success);
|
|
62
|
+
}
|
|
63
|
+
.semi-steps .semi-steps-item-finish:hover {
|
|
64
|
+
background-color: var(--semi-color-fill-0);
|
|
65
|
+
}
|
|
66
|
+
.semi-steps .semi-steps-item-finish:hover .semi-icon,
|
|
67
|
+
.semi-steps .semi-steps-item-finish:hover .semi-steps-item-title {
|
|
68
|
+
color: var(--semi-color-success-hover);
|
|
69
|
+
}
|
|
70
|
+
.semi-steps .semi-steps-item-finish:active {
|
|
71
|
+
background-color: var(--semi-color-fill-1);
|
|
72
|
+
}
|
|
73
|
+
.semi-steps .semi-steps-item-finish:active .semi-icon,
|
|
74
|
+
.semi-steps .semi-steps-item-finish:active .semi-steps-item-title {
|
|
75
|
+
color: var(--semi-color-success-active);
|
|
76
|
+
}
|
|
77
|
+
.semi-steps .semi-steps-item-error .semi-icon,
|
|
78
|
+
.semi-steps .semi-steps-item-error .semi-steps-item-title {
|
|
79
|
+
color: var(--semi-color-danger);
|
|
80
|
+
}
|
|
81
|
+
.semi-steps .semi-steps-item-error:hover {
|
|
82
|
+
background: var(--semi-color-fill-0);
|
|
83
|
+
}
|
|
84
|
+
.semi-steps .semi-steps-item-error:hover .semi-icon,
|
|
85
|
+
.semi-steps .semi-steps-item-error:hover .semi-steps-item-title {
|
|
86
|
+
color: var(--semi-color-danger-hover);
|
|
87
|
+
}
|
|
88
|
+
.semi-steps .semi-steps-item-error:active {
|
|
89
|
+
background-color: var(--semi-color-fill-1);
|
|
90
|
+
}
|
|
91
|
+
.semi-steps .semi-steps-item-error:active .semi-icon,
|
|
92
|
+
.semi-steps .semi-steps-item-error:active .semi-steps-item-title {
|
|
93
|
+
color: var(--semi-color-danger-active);
|
|
94
|
+
}
|
|
95
|
+
.semi-steps .semi-steps-item-warning .semi-steps-item-title,
|
|
96
|
+
.semi-steps .semi-steps-item-warning .semi-icon {
|
|
97
|
+
color: var(--semi-color-warning);
|
|
98
|
+
}
|
|
99
|
+
.semi-steps .semi-steps-item-warning:hover {
|
|
100
|
+
background: var(--semi-color-fill-0);
|
|
101
|
+
}
|
|
102
|
+
.semi-steps .semi-steps-item-warning:hover .semi-steps-item-title,
|
|
103
|
+
.semi-steps .semi-steps-item-warning:hover .semi-icon {
|
|
104
|
+
color: var(--semi-color-warning-hover);
|
|
105
|
+
}
|
|
106
|
+
.semi-steps .semi-steps-item-warning:active {
|
|
107
|
+
background-color: var(--semi-color-fill-1);
|
|
108
|
+
}
|
|
109
|
+
.semi-steps .semi-steps-item-warning:active .semi-steps-item-title,
|
|
110
|
+
.semi-steps .semi-steps-item-warning:active .semi-icon {
|
|
111
|
+
color: var(--semi-color-warning-active);
|
|
112
|
+
}
|
|
113
|
+
.semi-steps .semi-steps-item-clickable {
|
|
114
|
+
cursor: pointer;
|
|
115
|
+
}
|
|
116
|
+
.semi-steps .semi-steps-item-left {
|
|
117
|
+
width: 24px;
|
|
118
|
+
height: 24px;
|
|
119
|
+
line-height: 32px;
|
|
120
|
+
text-align: center;
|
|
121
|
+
border-radius: 32px;
|
|
122
|
+
display: flex;
|
|
123
|
+
align-items: center;
|
|
124
|
+
justify-content: center;
|
|
125
|
+
font-size: 20px;
|
|
126
|
+
line-height: 28px;
|
|
127
|
+
font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
128
|
+
font-weight: 600;
|
|
129
|
+
flex-grow: 0;
|
|
130
|
+
}
|
|
131
|
+
.semi-steps .semi-steps-item-left.semi-steps-item-plain {
|
|
132
|
+
color: white;
|
|
133
|
+
}
|
|
134
|
+
.semi-steps .semi-steps-item-left-process {
|
|
135
|
+
background: var(--semi-color-primary-light-default);
|
|
136
|
+
}
|
|
137
|
+
.semi-steps .semi-steps-item-content {
|
|
138
|
+
margin-left: 16px;
|
|
139
|
+
flex: 1;
|
|
140
|
+
overflow: hidden;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.semi-steps-basic.semi-steps-horizontal {
|
|
144
|
+
display: flex;
|
|
145
|
+
flex-flow: row nowrap;
|
|
146
|
+
}
|
|
147
|
+
.semi-steps-basic.semi-steps-horizontal.semi-steps-hasline .semi-steps-item-title::after {
|
|
148
|
+
content: "";
|
|
149
|
+
position: absolute;
|
|
150
|
+
top: 50%;
|
|
151
|
+
left: 100%;
|
|
152
|
+
display: block;
|
|
153
|
+
width: 9999px;
|
|
154
|
+
height: 1px;
|
|
155
|
+
background: var(--semi-color-fill-2);
|
|
156
|
+
}
|
|
157
|
+
.semi-steps-basic.semi-steps-horizontal .semi-steps-item {
|
|
158
|
+
padding-left: 16px;
|
|
159
|
+
}
|
|
160
|
+
.semi-steps-basic.semi-steps-horizontal .semi-steps-item:first-child {
|
|
161
|
+
padding-left: 0;
|
|
162
|
+
}
|
|
163
|
+
.semi-steps-basic.semi-steps-horizontal .semi-steps-item:last-child {
|
|
164
|
+
flex: none;
|
|
165
|
+
}
|
|
166
|
+
.semi-steps-basic.semi-steps-horizontal .semi-steps-item:last-child .semi-steps-item-title {
|
|
167
|
+
max-width: 100%;
|
|
168
|
+
padding-right: 0;
|
|
169
|
+
}
|
|
170
|
+
.semi-steps-basic.semi-steps-horizontal .semi-steps-item:last-child .semi-steps-item-title::after {
|
|
171
|
+
display: none;
|
|
172
|
+
}
|
|
173
|
+
.semi-steps-basic.semi-steps-horizontal .semi-steps-item-done .semi-steps-item-container .semi-steps-item-title::after {
|
|
174
|
+
background: var(--semi-color-primary);
|
|
175
|
+
}
|
|
176
|
+
.semi-steps-basic.semi-steps-horizontal .semi-steps-item .semi-steps-item-content {
|
|
177
|
+
flex: 1;
|
|
178
|
+
}
|
|
179
|
+
.semi-steps-basic.semi-steps-horizontal .semi-steps-item .semi-steps-item-description {
|
|
180
|
+
font-size: 12px;
|
|
181
|
+
line-height: 16px;
|
|
182
|
+
font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
183
|
+
color: var(--semi-color-text-2);
|
|
184
|
+
width: 100%;
|
|
185
|
+
max-width: 268px;
|
|
186
|
+
overflow: hidden;
|
|
187
|
+
text-overflow: ellipsis;
|
|
188
|
+
white-space: nowrap;
|
|
189
|
+
}
|
|
190
|
+
.semi-steps-basic.semi-steps-horizontal .semi-steps-item .semi-steps-item-title {
|
|
191
|
+
max-width: 80%;
|
|
192
|
+
}
|
|
193
|
+
.semi-steps-basic.semi-steps-horizontal .semi-steps-item .semi-steps-item-title .semi-steps-item-title-text {
|
|
194
|
+
overflow: hidden;
|
|
195
|
+
text-overflow: ellipsis;
|
|
196
|
+
white-space: nowrap;
|
|
197
|
+
}
|
|
198
|
+
.semi-steps-basic.semi-steps-vertical {
|
|
199
|
+
display: flex;
|
|
200
|
+
flex-flow: column nowrap;
|
|
201
|
+
}
|
|
202
|
+
.semi-steps-basic.semi-steps-vertical.semi-steps-small .semi-steps-item .semi-steps-item-content {
|
|
203
|
+
min-height: 40px;
|
|
204
|
+
}
|
|
205
|
+
.semi-steps-basic.semi-steps-vertical.semi-steps-hasline .semi-steps-item-icon::after {
|
|
206
|
+
content: "";
|
|
207
|
+
position: absolute;
|
|
208
|
+
top: 100%;
|
|
209
|
+
left: 50%;
|
|
210
|
+
display: block;
|
|
211
|
+
width: 1px;
|
|
212
|
+
height: 9999px;
|
|
213
|
+
background: var(--semi-color-fill-2);
|
|
214
|
+
}
|
|
215
|
+
.semi-steps-basic.semi-steps-vertical .semi-steps-item {
|
|
216
|
+
padding-top: 9px;
|
|
217
|
+
}
|
|
218
|
+
.semi-steps-basic.semi-steps-vertical .semi-steps-item:first-child {
|
|
219
|
+
padding-top: 0;
|
|
220
|
+
}
|
|
221
|
+
.semi-steps-basic.semi-steps-vertical .semi-steps-item:last-child .semi-steps-item-icon::after {
|
|
222
|
+
display: none;
|
|
223
|
+
}
|
|
224
|
+
.semi-steps-basic.semi-steps-vertical .semi-steps-item-done .semi-steps-item-icon::after {
|
|
225
|
+
background: var(--semi-color-primary);
|
|
226
|
+
}
|
|
227
|
+
.semi-steps-basic.semi-steps-vertical .semi-steps-item .semi-steps-item-content {
|
|
228
|
+
min-height: 42px;
|
|
229
|
+
padding-bottom: 22px;
|
|
230
|
+
}
|
|
231
|
+
.semi-steps-basic.semi-steps-vertical .semi-steps-item .semi-steps-item-icon {
|
|
232
|
+
display: inline-flex;
|
|
233
|
+
position: relative;
|
|
234
|
+
padding-bottom: 9px;
|
|
235
|
+
}
|
|
236
|
+
.semi-steps-basic.semi-steps-vertical .semi-steps-item .semi-steps-item-description {
|
|
237
|
+
font-size: 12px;
|
|
238
|
+
line-height: 16px;
|
|
239
|
+
font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
240
|
+
color: var(--semi-color-text-2);
|
|
241
|
+
width: 100%;
|
|
242
|
+
}
|
|
243
|
+
.semi-steps-basic.semi-steps-vertical .semi-steps-item .semi-steps-item-title {
|
|
244
|
+
max-width: 100%;
|
|
245
|
+
}
|
|
246
|
+
.semi-steps-basic.semi-steps-vertical .semi-steps-item .semi-steps-item-title .semi-steps-item-title-text {
|
|
247
|
+
overflow: hidden;
|
|
248
|
+
text-overflow: ellipsis;
|
|
249
|
+
white-space: nowrap;
|
|
250
|
+
}
|
|
251
|
+
.semi-steps-basic .semi-steps-item {
|
|
252
|
+
box-sizing: border-box;
|
|
253
|
+
position: relative;
|
|
254
|
+
display: inline-block;
|
|
255
|
+
vertical-align: top;
|
|
256
|
+
overflow: hidden;
|
|
257
|
+
flex: 1;
|
|
258
|
+
cursor: pointer;
|
|
259
|
+
}
|
|
260
|
+
.semi-steps-basic .semi-steps-item:hover .semi-steps-item-title {
|
|
261
|
+
color: var(--semi-color-focus-border);
|
|
262
|
+
}
|
|
263
|
+
.semi-steps-basic .semi-steps-item:hover .semi-steps-item-description {
|
|
264
|
+
color: var(--semi-color-focus-border);
|
|
265
|
+
}
|
|
266
|
+
.semi-steps-basic .semi-steps-item .semi-steps-item-container {
|
|
267
|
+
display: flex;
|
|
268
|
+
align-items: flex-start;
|
|
269
|
+
}
|
|
270
|
+
.semi-steps-basic .semi-steps-item .semi-steps-item-left {
|
|
271
|
+
display: flex;
|
|
272
|
+
justify-content: center;
|
|
273
|
+
align-items: center;
|
|
274
|
+
margin-right: 8px;
|
|
275
|
+
}
|
|
276
|
+
.semi-steps-basic .semi-steps-item .semi-steps-item-left .semi-steps-item-icon {
|
|
277
|
+
display: flex;
|
|
278
|
+
height: 24px;
|
|
279
|
+
align-items: center;
|
|
280
|
+
}
|
|
281
|
+
.semi-steps-basic .semi-steps-item .semi-steps-item-left .semi-steps-item-number-icon {
|
|
282
|
+
display: inline-flex;
|
|
283
|
+
align-items: center;
|
|
284
|
+
justify-content: center;
|
|
285
|
+
width: 24px;
|
|
286
|
+
height: 24px;
|
|
287
|
+
font-size: 16px;
|
|
288
|
+
line-height: 22px;
|
|
289
|
+
font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
290
|
+
font-weight: 600;
|
|
291
|
+
background: var(--semi-color-primary);
|
|
292
|
+
border-radius: var(--semi-border-radius-circle);
|
|
293
|
+
color: var(--semi-color-white);
|
|
294
|
+
}
|
|
295
|
+
.semi-steps-basic .semi-steps-item .semi-steps-item-title {
|
|
296
|
+
position: relative;
|
|
297
|
+
display: inline-block;
|
|
298
|
+
font-size: 16px;
|
|
299
|
+
line-height: 22px;
|
|
300
|
+
font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
301
|
+
line-height: 24px;
|
|
302
|
+
font-weight: 600;
|
|
303
|
+
color: var(--semi-color-text-0);
|
|
304
|
+
vertical-align: top;
|
|
305
|
+
padding-right: 16px;
|
|
306
|
+
padding-bottom: 4px;
|
|
307
|
+
}
|
|
308
|
+
.semi-steps-basic .semi-steps-item-finish .semi-steps-item-left .semi-steps-item-icon {
|
|
309
|
+
color: var(--semi-color-primary);
|
|
310
|
+
}
|
|
311
|
+
.semi-steps-basic .semi-steps-item-finish .semi-steps-item-left .semi-steps-item-icon .semi-steps-item-number-icon {
|
|
312
|
+
color: var(--semi-color-white);
|
|
313
|
+
}
|
|
314
|
+
.semi-steps-basic .semi-steps-item-wait .semi-steps-item-title {
|
|
315
|
+
color: var(--semi-color-text-2);
|
|
316
|
+
}
|
|
317
|
+
.semi-steps-basic .semi-steps-item-wait .semi-steps-item-left .semi-steps-item-icon {
|
|
318
|
+
color: var(--semi-color-text-2);
|
|
319
|
+
}
|
|
320
|
+
.semi-steps-basic .semi-steps-item-wait .semi-steps-item-left .semi-steps-item-icon .semi-steps-item-number-icon {
|
|
321
|
+
background: var(--semi-color-fill-0);
|
|
322
|
+
color: var(--semi-color-text-2);
|
|
323
|
+
}
|
|
324
|
+
.semi-steps-basic .semi-steps-item-wait:hover .semi-steps-item-left .semi-steps-item-icon .semi-steps-item-number-icon {
|
|
325
|
+
background: var(--semi-color-secondary-light-default);
|
|
326
|
+
color: var(--semi-color-focus-border);
|
|
327
|
+
}
|
|
328
|
+
.semi-steps-basic .semi-steps-item-process .semi-steps-item-left .semi-steps-item-icon {
|
|
329
|
+
color: var(--semi-color-primary);
|
|
330
|
+
}
|
|
331
|
+
.semi-steps-basic .semi-steps-item-process .semi-steps-item-left .semi-steps-item-icon .semi-steps-item-number-icon {
|
|
332
|
+
color: var(--semi-color-white);
|
|
333
|
+
}
|
|
334
|
+
.semi-steps-basic .semi-steps-item-error .semi-steps-item-left .semi-steps-item-icon {
|
|
335
|
+
color: var(--semi-color-danger);
|
|
336
|
+
}
|
|
337
|
+
.semi-steps-basic .semi-steps-item-error .semi-steps-item-left .semi-steps-item-icon .semi-steps-item-number-icon {
|
|
338
|
+
color: var(--semi-color-primary);
|
|
339
|
+
}
|
|
340
|
+
.semi-steps-basic .semi-steps-item-warning .semi-steps-item-left .semi-steps-item-icon {
|
|
341
|
+
color: var(--semi-color-warning);
|
|
342
|
+
}
|
|
343
|
+
.semi-steps-basic .semi-steps-item-warning .semi-steps-item-left .semi-steps-item-icon .semi-steps-item-number-icon {
|
|
344
|
+
color: var(--semi-color-white);
|
|
345
|
+
}
|
|
346
|
+
.semi-steps-basic.semi-steps-small .semi-steps-item .semi-steps-item-title {
|
|
347
|
+
font-size: 14px;
|
|
348
|
+
line-height: 20px;
|
|
349
|
+
font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
350
|
+
}
|
|
351
|
+
.semi-steps-basic.semi-steps-small .semi-steps-item .semi-steps-item-left .semi-steps-item-icon {
|
|
352
|
+
height: 20px;
|
|
353
|
+
}
|
|
354
|
+
.semi-steps-basic.semi-steps-small .semi-steps-item .semi-steps-item-left .semi-steps-item-icon .semi-steps-item-number-icon {
|
|
355
|
+
font-size: 12px;
|
|
356
|
+
line-height: 16px;
|
|
357
|
+
font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
358
|
+
width: 20px;
|
|
359
|
+
height: 20px;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
.semi-steps-nav {
|
|
363
|
+
display: inline-flex;
|
|
364
|
+
flex-flow: row nowrap;
|
|
365
|
+
}
|
|
366
|
+
.semi-steps-nav .semi-steps-item {
|
|
367
|
+
box-sizing: border-box;
|
|
368
|
+
}
|
|
369
|
+
.semi-steps-nav .semi-steps-item:last-child {
|
|
370
|
+
flex: none;
|
|
371
|
+
}
|
|
372
|
+
.semi-steps-nav .semi-steps-item:last-child .semi-steps-item-content {
|
|
373
|
+
width: auto;
|
|
374
|
+
}
|
|
375
|
+
.semi-steps-nav .semi-steps-item .semi-steps-item-container {
|
|
376
|
+
display: flex;
|
|
377
|
+
align-items: center;
|
|
378
|
+
color: var(--semi-color-text-2);
|
|
379
|
+
}
|
|
380
|
+
.semi-steps-nav .semi-steps-item .semi-steps-item-container .semi-steps-item-icon {
|
|
381
|
+
display: inline-flex;
|
|
382
|
+
flex: 1;
|
|
383
|
+
justify-content: center;
|
|
384
|
+
color: var(--semi-grey-3);
|
|
385
|
+
min-width: 60px;
|
|
386
|
+
}
|
|
387
|
+
.semi-steps-nav .semi-steps-item .semi-steps-item-content {
|
|
388
|
+
flex: 1;
|
|
389
|
+
display: inline-block;
|
|
390
|
+
}
|
|
391
|
+
.semi-steps-nav .semi-steps-item .semi-steps-item-title {
|
|
392
|
+
font-size: 16px;
|
|
393
|
+
line-height: 22px;
|
|
394
|
+
font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
395
|
+
max-width: 17em;
|
|
396
|
+
overflow: hidden;
|
|
397
|
+
text-overflow: ellipsis;
|
|
398
|
+
white-space: nowrap;
|
|
399
|
+
font-weight: 400;
|
|
400
|
+
}
|
|
401
|
+
.semi-steps-nav .semi-steps-item-active .semi-steps-item-title {
|
|
402
|
+
color: var(--semi-color-text-0);
|
|
403
|
+
font-weight: 600;
|
|
404
|
+
}
|
|
405
|
+
.semi-steps-nav.semi-steps-small .semi-steps-item .semi-steps-item-title {
|
|
406
|
+
font-size: 14px;
|
|
407
|
+
line-height: 20px;
|
|
408
|
+
font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
.semi-rtl .semi-steps,
|
|
412
|
+
.semi-portal-rtl .semi-steps {
|
|
413
|
+
direction: rtl;
|
|
414
|
+
}
|
|
415
|
+
.semi-rtl .semi-steps-item,
|
|
416
|
+
.semi-portal-rtl .semi-steps-item {
|
|
417
|
+
margin-right: auto;
|
|
418
|
+
margin-left: 16px;
|
|
419
|
+
}
|
|
420
|
+
.semi-rtl .semi-steps-item-content,
|
|
421
|
+
.semi-portal-rtl .semi-steps-item-content {
|
|
422
|
+
margin-left: auto;
|
|
423
|
+
margin-right: 16px;
|
|
424
|
+
}
|
|
425
|
+
.semi-rtl .semi-steps-basic,
|
|
426
|
+
.semi-portal-rtl .semi-steps-basic {
|
|
427
|
+
direction: rtl;
|
|
428
|
+
}
|
|
429
|
+
.semi-rtl .semi-steps-basic.semi-steps-horizontal .semi-steps-item .semi-steps-item-title,
|
|
430
|
+
.semi-portal-rtl .semi-steps-basic.semi-steps-horizontal .semi-steps-item .semi-steps-item-title {
|
|
431
|
+
padding-left: 16px;
|
|
432
|
+
}
|
|
433
|
+
.semi-rtl .semi-steps-basic.semi-steps-horizontal .semi-steps-item .semi-steps-item-title::after,
|
|
434
|
+
.semi-portal-rtl .semi-steps-basic.semi-steps-horizontal .semi-steps-item .semi-steps-item-title::after {
|
|
435
|
+
right: 100%;
|
|
436
|
+
}
|
|
437
|
+
.semi-rtl .semi-steps-basic.semi-steps-vertical .semi-steps-item,
|
|
438
|
+
.semi-portal-rtl .semi-steps-basic.semi-steps-vertical .semi-steps-item {
|
|
439
|
+
margin: 0;
|
|
440
|
+
}
|
|
441
|
+
.semi-rtl .semi-steps-nav,
|
|
442
|
+
.semi-portal-rtl .semi-steps-nav {
|
|
443
|
+
direction: rtl;
|
|
444
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
// Color
|
|
2
|
+
$color-steps-bg-active: var(--semi-color-fill-1); // 步骤条背景 - 按下态
|
|
3
|
+
$color-steps-bg-default: var(--semi-color-text-2); // 未到达步骤条图标背景
|
|
4
|
+
$color-steps-bg-hover: var(--semi-color-fill-0); // 步骤条背景 - 悬浮态
|
|
5
|
+
$color-steps-border-default: transparent; // 步骤条描边 - 默认
|
|
6
|
+
$color-steps-icon-default: var(--semi-color-text-2); // 未到达步骤条图标背景
|
|
7
|
+
$color-steps-text-default: white; // 步骤条图标默认文本颜色
|
|
8
|
+
$color-steps_danger-text-active: var(--semi-color-danger-active); // 错误步骤条文本颜色 - 按下态
|
|
9
|
+
$color-steps_danger-text-default: var(--semi-color-danger); // 错误步骤条文本颜色 - 默认态
|
|
10
|
+
$color-steps_danger-text-hover: var(--semi-color-danger-hover); // 错误步骤条文本颜色 - 悬浮态
|
|
11
|
+
$color-steps_icon_after-bg: var(--semi-color-fill-2);
|
|
12
|
+
$color-steps_item_description-text-hover: var(--semi-color-focus-border); // 步骤条辅助描述文本颜色 - 悬浮态
|
|
13
|
+
$color-steps_item_done_after-bg: var(--semi-color-primary); // 完成步骤条尾部连接线颜色
|
|
14
|
+
$color-steps_item_done_icon_after-bg: var(--semi-color-primary);
|
|
15
|
+
$color-steps_item_error_left-icon: var(--semi-color-danger); // 错误步骤条图标颜色
|
|
16
|
+
$color-steps_item_error_left_number-icon: var(--semi-color-primary); // 错误步骤条数字序号文本颜色
|
|
17
|
+
$color-steps_item_finish-icon: var(--semi-color-primary); // 已完成步骤条图标颜色
|
|
18
|
+
$color-steps_item_finish_number-icon: var(--semi-color-white); // 已完成步骤条对勾图标颜色
|
|
19
|
+
$color-steps_item_left_number_icon-bg: var(--semi-color-primary); // 已完成步骤条图标背景颜色
|
|
20
|
+
$color-steps_item_left_number_icon-icon: var(--semi-color-white); // 已完成步骤条图标文字颜色
|
|
21
|
+
$color-steps_item_process_left-icon: var(--semi-color-primary); // 进行中步骤条对勾图标颜色
|
|
22
|
+
$color-steps_item_process_left_number-icon: var(--semi-color-white); // 进行中步骤条对勾图标颜色
|
|
23
|
+
$color-steps_item_title-text-hover: var(--semi-color-focus-border); // 步骤条标题文字悬停颜色
|
|
24
|
+
$color-steps_item_wait_left_icon-icon: var(--semi-color-text-2); // 未到达步骤条图标颜色
|
|
25
|
+
$color-steps_item_wait_left_number_icon-bg-hover: var(--semi-color-secondary-light-default); // 未到达步骤条图标背景颜色 - 悬浮态
|
|
26
|
+
$color-steps_item_wait_left_number_icon-bg: var(--semi-color-fill-0); // 未到达步骤条图标背景颜色
|
|
27
|
+
$color-steps_item_wait_left_number_icon-icon-hover: var(--semi-color-focus-border); // 未到达步骤条图标颜色 - 悬浮态
|
|
28
|
+
$color-steps_item_wait_left_number_icon-icon: var(--semi-color-text-2); // 未到达步骤条内部图标颜色
|
|
29
|
+
$color-steps_item_wait_title-text: var(--semi-color-text-2); // 未到达步骤条标题文字颜色
|
|
30
|
+
$color-steps_item_warning_left-icon: var(--semi-color-warning); // 警告步骤条图标颜色
|
|
31
|
+
$color-steps_item_warning_left_number-icon: var(--semi-color-white); // 警告步骤条数字序号文本颜色
|
|
32
|
+
$color-steps_main-text-default: var(--semi-color-text-0); // 步骤条标题文本颜色
|
|
33
|
+
$color-steps_minor-text-default: var(--semi-color-text-2); // 步骤条辅助描述文本颜色
|
|
34
|
+
$color-steps_nav_item_container-text: var(--semi-color-text-2); // 步骤条容器内文本颜色
|
|
35
|
+
$color-steps_nav_item-icon: var(--semi-grey-3);
|
|
36
|
+
$color-steps_nav_item_title-text-active: var(--semi-color-text-0); // 步骤条标题颜色 - 按下态
|
|
37
|
+
$color-steps_primary-bg-default: var(--semi-color-primary); // 旧版进行中步骤条背景色 - 默认
|
|
38
|
+
$color-steps_primary-icon-default: var(--semi-color-primary); // 旧版进行中步骤条图标色 - 默认
|
|
39
|
+
$color-steps_process-bg-default: var(--semi-color-primary-light-default); // 旧版进行中步骤条背景色 - 默认
|
|
40
|
+
$color-steps_success-text-active: var(--semi-color-success-active); // 旧版已完成步骤条文字颜色 - 按下态
|
|
41
|
+
$color-steps_success-text-default: var(--semi-color-success); // 旧版已完成步骤条文字颜色 - 默认态
|
|
42
|
+
$color-steps_success-text-hover: var(--semi-color-success-hover); // 旧版已完成步骤条文字颜色 - 悬浮态
|
|
43
|
+
$color-steps_title_after-bg: var(--semi-color-fill-2); // 旧版步骤条连线颜色
|
|
44
|
+
$color-steps_warning-text-active: var(--semi-color-warning-active); // 旧版警告步骤条文字颜色 - 按下态
|
|
45
|
+
$color-steps_warning-text-default: var(--semi-color-warning); // 旧版警告步骤条文字颜色 - 默认态
|
|
46
|
+
$color-steps_warning-text-hover: var(--semi-color-warning-hover); // 旧版警告步骤条文字颜色 - 悬浮态
|
|
47
|
+
|
|
48
|
+
// Width/Height
|
|
49
|
+
$width-steps_basic_item_description: 100%; // 步骤条辅助描述文本宽度
|
|
50
|
+
$width-steps_basic_item_description-maxWidth: 268px; // 步骤条辅助描述文本最大宽度
|
|
51
|
+
$width-steps_basic_item_title-maxWidth: 80%; // 步骤条标题宽度
|
|
52
|
+
$height-steps_basic_vertical_icon_content-minHeight: 42px; // 垂直步骤条图标+内容最小高度
|
|
53
|
+
$width-steps_basic_vertical_item_title-maxWidth: 100%; // 垂直步骤条标题最大宽度
|
|
54
|
+
$width-steps_basic_vertical_item_description: 100%; // 垂直步骤条辅助描述文本最大宽度
|
|
55
|
+
$height-steps_basic_vertical_small_item_content-minHeight: 40px; // 小尺寸垂直步骤条内容最小高度
|
|
56
|
+
$height-steps_basic_item_left-icon: 24px; // 步骤条左侧图标高度
|
|
57
|
+
$width-steps_basic_item_left_number-icon: 24px; // 步骤条左侧图标宽度
|
|
58
|
+
$height-steps_basic_item_left_number-icon: 24px; // 步骤条左侧图标高度
|
|
59
|
+
$height-steps_basic_small_item_left-icon: 20px; // 小尺寸步骤条左侧图标高度
|
|
60
|
+
$width-steps_basic_small_item_left_number-icon: 20px; // 小尺寸步骤条左侧数字图标高度
|
|
61
|
+
$height-steps_basic_item: 72px; // 简易版步骤条高度
|
|
62
|
+
$height-steps_item: 72px; // 旧版步骤条高度
|
|
63
|
+
$width-steps_item-border: 1px; // 旧版步骤条高度
|
|
64
|
+
$width-steps_item_title: 100%; // 步骤条标题宽度
|
|
65
|
+
$width-steps_item_description: 100%; // 步骤条辅助描述文本宽度
|
|
66
|
+
$width-steps_item_left_icon: 24px; // 步骤条左侧图标宽度
|
|
67
|
+
$width-steps_item_left: 24px; // 步骤条左侧图标容器宽度
|
|
68
|
+
$height-steps_item_left: 24px; // 步骤条左侧图标容器高度
|
|
69
|
+
$width-steps_title_after: 9999px; // 步骤条连接线长度
|
|
70
|
+
$height-steps_title_after: 1px; // 步骤条连接线高度
|
|
71
|
+
$width-steps_vertical_icon_after: 1px;
|
|
72
|
+
$height-steps_vertical_icon_after: 9999px; // 垂直步骤条连接线长度
|
|
73
|
+
$width-steps_nav_item_icon-minWidth: 60px; // 导航型步骤条图标最小宽度
|
|
74
|
+
$width-steps_nav_item_title-maxWidth: 17em; // 导航型步骤条标题最大宽度
|
|
75
|
+
|
|
76
|
+
// Spacing
|
|
77
|
+
$spacing-steps_basic_item-paddingLeft: 16px; // 简版步骤条左侧内边距
|
|
78
|
+
$spacing-steps_basic_vertical_item-paddingTop: 9px; // 简版垂直步骤条顶部内边距
|
|
79
|
+
$spacing-steps_basic_vertical_item_content-paddingBottom: 22px; // 简版垂直步骤条内容区底部内边距
|
|
80
|
+
$spacing-steps_basic_vertical_item_icon-paddingBottom: 9px; // 简版垂直步骤条图标底部内边距
|
|
81
|
+
$spacing-steps_basic_item_left-marginRight: 8px; // 简版步骤条图标右侧外边距
|
|
82
|
+
$spacing-steps_basic_item_title-paddingRight: 16px; // 简版步骤条标题右侧内边距
|
|
83
|
+
$spacing-steps_basic_item_title-paddingBottom: 4px; // 简版步骤条标题底部内边距
|
|
84
|
+
$spacing-steps_basic_item-marginRight: 16px; // 简版步骤条标题右侧外边距
|
|
85
|
+
$spacing-steps_item-marginRight: 16px; // 旧版步骤条右侧外边距
|
|
86
|
+
$spacing-steps_item-paddingY: $spacing-base-tight; // 旧版步骤条垂直方向内边距
|
|
87
|
+
$spacing-steps_item-paddingX: $spacing-base; // 旧版步骤条水平方向内边距
|
|
88
|
+
$spacing-steps_item_content-marginLeft: $spacing-base; // 旧版步骤条水平内容区左侧外边距
|
|
89
|
+
|
|
90
|
+
// Radius
|
|
91
|
+
$radius-steps_basic_item_left_number_icon: var(--semi-border-radius-circle); // 步骤条左侧图标圆角
|
|
92
|
+
$radius-steps_item: var(--semi-border-radius-medium); // 步骤条整体圆角
|
|
93
|
+
$radius-steps_item_left: 32px; // 步骤条左侧距离
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
// Font
|
|
97
|
+
$font-steps_basic_item_left_number_icon-fontWeight: 600; // 步骤条数字图标文本字重
|
|
98
|
+
$font-steps_basic_item_title-fontWeight: 600; // 步骤条标题文本字重
|
|
99
|
+
$font-steps_basic_item_title-lineHeight: 24px; // 步骤条标题文本行高
|
|
100
|
+
$font-steps_item_title-fontWeight: $font-weight-bold; // 步骤条标题文本字重
|
|
101
|
+
$font-steps_item_left-fontWeight: $font-weight-bold; // 步骤条标题左侧图标内部文本字重
|
|
102
|
+
$font-steps_item_left-lineHeight: 32px; // 步骤条标题左侧图标内部文本行高
|
|
103
|
+
$font-steps_nav_item_title-fontWeight: $font-weight-regular; // 导航型步骤条标题文本字重 - 默认态
|
|
104
|
+
$font-steps_nav_item_title_active-fontWeight: 600; // 导航型步骤条标题文本字重 - 激活态
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare const cssClasses: {
|
|
2
|
+
PREFIX: string;
|
|
3
|
+
LARGE: string;
|
|
4
|
+
SMALL: string;
|
|
5
|
+
CHECKED: string;
|
|
6
|
+
DISABLED: string;
|
|
7
|
+
ACTIVE: string;
|
|
8
|
+
KNOB: string;
|
|
9
|
+
NATIVE_CONTROL: string;
|
|
10
|
+
CHECKED_TEXT: string;
|
|
11
|
+
UNCHECKED_TEXT: string;
|
|
12
|
+
LOADING_SPIN: string;
|
|
13
|
+
LOADING: string;
|
|
14
|
+
};
|
|
15
|
+
declare const strings: {
|
|
16
|
+
readonly SIZE_MAP: readonly ["default", "small", "large"];
|
|
17
|
+
};
|
|
18
|
+
export { cssClasses, strings };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
|
|
4
|
+
|
|
5
|
+
_Object$defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
|
|
9
|
+
exports.strings = exports.cssClasses = void 0;
|
|
10
|
+
|
|
11
|
+
var _constants = require("../base/constants");
|
|
12
|
+
|
|
13
|
+
const cssClasses = {
|
|
14
|
+
PREFIX: "".concat(_constants.BASE_CLASS_PREFIX, "-switch"),
|
|
15
|
+
LARGE: "".concat(_constants.BASE_CLASS_PREFIX, "-switch-large"),
|
|
16
|
+
SMALL: "".concat(_constants.BASE_CLASS_PREFIX, "-switch-small"),
|
|
17
|
+
CHECKED: "".concat(_constants.BASE_CLASS_PREFIX, "-switch-checked"),
|
|
18
|
+
DISABLED: "".concat(_constants.BASE_CLASS_PREFIX, "-switch-disabled"),
|
|
19
|
+
ACTIVE: "".concat(_constants.BASE_CLASS_PREFIX, "-switch-active"),
|
|
20
|
+
KNOB: "".concat(_constants.BASE_CLASS_PREFIX, "-switch-knob"),
|
|
21
|
+
NATIVE_CONTROL: "".concat(_constants.BASE_CLASS_PREFIX, "-switch-native-control"),
|
|
22
|
+
CHECKED_TEXT: "".concat(_constants.BASE_CLASS_PREFIX, "-switch-checked-text"),
|
|
23
|
+
UNCHECKED_TEXT: "".concat(_constants.BASE_CLASS_PREFIX, "-switch-unchecked-text"),
|
|
24
|
+
LOADING_SPIN: "".concat(_constants.BASE_CLASS_PREFIX, "-switch-loading-spin"),
|
|
25
|
+
LOADING: "".concat(_constants.BASE_CLASS_PREFIX, "-switch-loading")
|
|
26
|
+
};
|
|
27
|
+
exports.cssClasses = cssClasses;
|
|
28
|
+
const strings = {
|
|
29
|
+
SIZE_MAP: ['default', 'small', 'large']
|
|
30
|
+
};
|
|
31
|
+
exports.strings = strings;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import BaseFoundation, { DefaultAdapter } from '../base/foundation';
|
|
2
|
+
export interface SwitchAdapter<P = Record<string, any>, S = Record<string, any>> extends DefaultAdapter<P, S> {
|
|
3
|
+
setNativeControlChecked: (nativeControlChecked: boolean | undefined) => void;
|
|
4
|
+
setNativeControlDisabled: (nativeControlDisabled: boolean | undefined) => void;
|
|
5
|
+
notifyChange: (checked: boolean, e: any) => void;
|
|
6
|
+
}
|
|
7
|
+
export default class SwitchFoundation<P = Record<string, any>, S = Record<string, any>> extends BaseFoundation<SwitchAdapter<P, S>, P, S> {
|
|
8
|
+
constructor(adapter: SwitchAdapter<P, S>);
|
|
9
|
+
init(): void;
|
|
10
|
+
setChecked(checked: boolean | undefined): void;
|
|
11
|
+
setDisabled(disabled: boolean | undefined): void;
|
|
12
|
+
handleChange(checked: boolean, e: any): void;
|
|
13
|
+
destroy(): void;
|
|
14
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
|
|
4
|
+
|
|
5
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
6
|
+
|
|
7
|
+
_Object$defineProperty(exports, "__esModule", {
|
|
8
|
+
value: true
|
|
9
|
+
});
|
|
10
|
+
|
|
11
|
+
exports.default = void 0;
|
|
12
|
+
|
|
13
|
+
var _assign = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/object/assign"));
|
|
14
|
+
|
|
15
|
+
var _foundation = _interopRequireDefault(require("../base/foundation"));
|
|
16
|
+
|
|
17
|
+
class SwitchFoundation extends _foundation.default {
|
|
18
|
+
constructor(adapter) {
|
|
19
|
+
super((0, _assign.default)({}, adapter));
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
init() {
|
|
23
|
+
const {
|
|
24
|
+
defaultChecked,
|
|
25
|
+
checked,
|
|
26
|
+
disabled
|
|
27
|
+
} = this.getProps();
|
|
28
|
+
this.setChecked(defaultChecked || checked);
|
|
29
|
+
this.setDisabled(disabled);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
setChecked(checked) {
|
|
33
|
+
this._adapter.setNativeControlChecked(checked);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
setDisabled(disabled) {
|
|
37
|
+
this._adapter.setNativeControlDisabled(disabled);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
handleChange(checked, e) {
|
|
41
|
+
const propChecked = this.getProps().checked;
|
|
42
|
+
const isControledComponent = typeof propChecked !== 'undefined';
|
|
43
|
+
|
|
44
|
+
if (isControledComponent) {
|
|
45
|
+
this._adapter.notifyChange(checked, e);
|
|
46
|
+
} else {
|
|
47
|
+
this._adapter.setNativeControlChecked(checked);
|
|
48
|
+
|
|
49
|
+
this._adapter.notifyChange(checked, e);
|
|
50
|
+
}
|
|
51
|
+
} // eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
destroy() {}
|
|
55
|
+
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
exports.default = SwitchFoundation;
|