@fle-ui/next 2.0.0-alpha.3 → 2.0.0-alpha.6
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/fui.min.js +1 -1
- package/es/_util/ActionButton.d.ts +15 -0
- package/es/_util/ActionButton.js +118 -0
- package/es/_util/colors.d.ts +5 -0
- package/es/_util/colors.js +4 -0
- package/es/_util/easings.d.ts +1 -0
- package/es/_util/easings.js +12 -0
- package/es/_util/getDataOrAriaProps.d.ts +1 -0
- package/es/_util/getDataOrAriaProps.js +9 -0
- package/es/_util/getRenderPropValue.d.ts +3 -0
- package/es/_util/getRenderPropValue.js +11 -0
- package/es/_util/getScroll.d.ts +2 -0
- package/es/_util/getScroll.js +34 -0
- package/es/_util/hooks/useFlexGapSupport.d.ts +2 -0
- package/es/_util/hooks/useFlexGapSupport.js +14 -0
- package/es/_util/hooks/useForceUpdate.d.ts +2 -0
- package/es/_util/hooks/useForceUpdate.js +11 -0
- package/es/_util/hooks/usePatchElement.d.ts +5 -0
- package/es/_util/hooks/usePatchElement.js +26 -0
- package/es/_util/hooks/useSyncState.d.ts +3 -0
- package/es/_util/hooks/useSyncState.js +13 -0
- package/es/_util/isNumeric.d.ts +2 -0
- package/es/_util/isNumeric.js +5 -0
- package/es/_util/motion.d.ts +8 -0
- package/es/_util/motion.js +60 -0
- package/es/_util/placements.d.ts +17 -0
- package/es/_util/placements.js +88 -0
- package/es/_util/raf.d.ts +9 -0
- package/es/_util/raf.js +31 -0
- package/es/_util/reactNode.d.ts +8 -0
- package/es/_util/reactNode.js +16 -0
- package/es/_util/responsiveObserve.d.ts +21 -0
- package/es/_util/responsiveObserve.js +67 -0
- package/es/_util/scrollTo.d.ts +10 -0
- package/es/_util/scrollTo.js +38 -0
- package/es/_util/statusUtils.d.ts +6 -0
- package/es/_util/statusUtils.js +12 -0
- package/es/_util/styleChecker.d.ts +4 -0
- package/es/_util/styleChecker.js +31 -0
- package/es/_util/throttleByAnimationFrame.d.ts +8 -0
- package/es/_util/throttleByAnimationFrame.js +58 -0
- package/es/_util/transButton.d.ts +9 -0
- package/es/_util/transButton.js +75 -0
- package/es/_util/type.d.ts +9 -0
- package/es/_util/type.js +15 -0
- package/es/_util/warning.d.ts +6 -0
- package/es/_util/warning.js +17 -0
- package/es/_util/wave.d.ts +32 -0
- package/es/_util/wave.js +247 -0
- package/es/affix/ActionButton.d.ts +15 -0
- package/es/affix/ActionButton.js +118 -0
- package/es/affix/colors.d.ts +5 -0
- package/es/affix/colors.js +4 -0
- package/es/affix/easings.d.ts +1 -0
- package/es/affix/easings.js +12 -0
- package/es/affix/getDataOrAriaProps.d.ts +1 -0
- package/es/affix/getDataOrAriaProps.js +9 -0
- package/es/affix/getRenderPropValue.d.ts +3 -0
- package/es/affix/getRenderPropValue.js +11 -0
- package/es/affix/getScroll.d.ts +2 -0
- package/es/affix/getScroll.js +34 -0
- package/es/affix/hooks/useFlexGapSupport.d.ts +2 -0
- package/es/affix/hooks/useFlexGapSupport.js +14 -0
- package/es/affix/hooks/useForceUpdate.d.ts +2 -0
- package/es/affix/hooks/useForceUpdate.js +11 -0
- package/es/affix/hooks/usePatchElement.d.ts +5 -0
- package/es/affix/hooks/usePatchElement.js +26 -0
- package/es/affix/hooks/useSyncState.d.ts +3 -0
- package/es/affix/hooks/useSyncState.js +13 -0
- package/es/affix/isNumeric.d.ts +2 -0
- package/es/affix/isNumeric.js +5 -0
- package/es/affix/motion.d.ts +8 -0
- package/es/affix/motion.js +60 -0
- package/es/affix/placements.d.ts +17 -0
- package/es/affix/placements.js +88 -0
- package/es/affix/raf.d.ts +9 -0
- package/es/affix/raf.js +31 -0
- package/es/affix/reactNode.d.ts +8 -0
- package/es/affix/reactNode.js +16 -0
- package/es/affix/responsiveObserve.d.ts +21 -0
- package/es/affix/responsiveObserve.js +67 -0
- package/es/affix/scrollTo.d.ts +10 -0
- package/es/affix/scrollTo.js +38 -0
- package/es/affix/statusUtils.d.ts +6 -0
- package/es/affix/statusUtils.js +12 -0
- package/es/affix/styleChecker.d.ts +4 -0
- package/es/affix/styleChecker.js +31 -0
- package/es/affix/throttleByAnimationFrame.d.ts +8 -0
- package/es/affix/throttleByAnimationFrame.js +58 -0
- package/es/affix/transButton.d.ts +9 -0
- package/es/affix/transButton.js +75 -0
- package/es/affix/type.d.ts +9 -0
- package/es/affix/type.js +15 -0
- package/es/affix/warning.d.ts +6 -0
- package/es/affix/warning.js +17 -0
- package/es/affix/wave.d.ts +32 -0
- package/es/affix/wave.js +247 -0
- package/es/alert/ErrorBoundary.d.ts +23 -0
- package/es/alert/ErrorBoundary.js +65 -0
- package/es/alert/index.d.ts +38 -0
- package/es/alert/index.js +192 -0
- package/es/alert/style/css.js +2 -0
- package/es/alert/style/index-pure.less +155 -0
- package/es/alert/style/index.css +156 -0
- package/es/alert/style/index.d.ts +2 -0
- package/es/alert/style/index.js +2 -0
- package/es/alert/style/index.less +3 -0
- package/es/alert/style/rtl.less +40 -0
- package/es/anchor/Anchor.d.ts +44 -0
- package/es/anchor/Anchor.js +264 -0
- package/es/anchor/AnchorLink.d.ts +11 -0
- package/es/anchor/AnchorLink.js +57 -0
- package/es/anchor/context.d.ts +4 -0
- package/es/anchor/context.js +3 -0
- package/es/anchor/index.d.ts +10 -0
- package/es/anchor/index.js +5 -0
- package/es/anchor/style/css.js +4 -0
- package/es/anchor/style/index-pure.less +86 -0
- package/es/anchor/style/index.css +100 -0
- package/es/anchor/style/index.d.ts +3 -0
- package/es/anchor/style/index.js +4 -0
- package/es/anchor/style/index.less +3 -0
- package/es/anchor/style/rtl.less +35 -0
- package/es/auto-complete/index.d.ts +35 -0
- package/es/auto-complete/index.js +102 -0
- package/es/auto-complete/style/css.js +4 -0
- package/es/auto-complete/style/index-pure.less +16 -0
- package/es/auto-complete/style/index.css +18 -0
- package/es/auto-complete/style/index.d.ts +3 -0
- package/es/auto-complete/style/index.js +4 -0
- package/es/auto-complete/style/index.less +3 -0
- package/es/avatar/SizeContext.d.ts +10 -0
- package/es/avatar/SizeContext.js +12 -0
- package/es/avatar/avatar.d.ts +25 -0
- package/es/avatar/avatar.js +201 -0
- package/es/avatar/group.d.ts +15 -0
- package/es/avatar/group.js +64 -0
- package/es/avatar/index.d.ts +11 -0
- package/es/avatar/index.js +6 -0
- package/es/avatar/style/css.js +5 -0
- package/es/avatar/style/group.less +17 -0
- package/es/avatar/style/index-pure.less +70 -0
- package/es/avatar/style/index.css +108 -0
- package/es/avatar/style/index.d.ts +3 -0
- package/es/avatar/style/index.js +5 -0
- package/es/avatar/style/index.less +3 -0
- package/es/avatar/style/rtl.less +15 -0
- package/es/back-top/index.d.ts +14 -0
- package/es/back-top/index.js +124 -0
- package/es/back-top/style/css.js +2 -0
- package/es/back-top/style/index-pure.less +49 -0
- package/es/back-top/style/index.css +66 -0
- package/es/back-top/style/index.d.ts +2 -0
- package/es/back-top/style/index.js +2 -0
- package/es/back-top/style/index.less +3 -0
- package/es/back-top/style/responsive.less +21 -0
- package/es/badge/Ribbon.d.ts +15 -0
- package/es/badge/Ribbon.js +48 -0
- package/es/badge/ScrollNumber.d.ts +18 -0
- package/es/badge/ScrollNumber.js +83 -0
- package/es/badge/SingleNumber.d.ts +13 -0
- package/es/badge/SingleNumber.js +123 -0
- package/es/badge/index.d.ts +30 -0
- package/es/badge/index.js +186 -0
- package/es/badge/style/css.js +2 -0
- package/es/badge/style/index-pure.less +281 -0
- package/es/badge/style/index.css +460 -0
- package/es/badge/style/index.d.ts +2 -0
- package/es/badge/style/index.js +2 -0
- package/es/badge/style/index.less +3 -0
- package/es/badge/style/ribbon.less +81 -0
- package/es/badge/style/rtl.less +100 -0
- package/es/badge/utils.d.ts +1 -0
- package/es/badge/utils.js +5 -0
- package/es/breadcrumb/Breadcrumb.d.ts +24 -0
- package/es/breadcrumb/Breadcrumb.js +148 -0
- package/es/breadcrumb/BreadcrumbItem.d.ts +19 -0
- package/es/breadcrumb/BreadcrumbItem.js +82 -0
- package/es/breadcrumb/BreadcrumbSeparator.d.ts +7 -0
- package/es/breadcrumb/BreadcrumbSeparator.js +17 -0
- package/es/breadcrumb/index.d.ts +4 -0
- package/es/breadcrumb/index.js +2 -0
- package/es/breadcrumb/style/css.js +5 -0
- package/es/breadcrumb/style/index-pure.less +64 -0
- package/es/breadcrumb/style/index.css +77 -0
- package/es/breadcrumb/style/index.d.ts +4 -0
- package/es/breadcrumb/style/index.js +5 -0
- package/es/breadcrumb/style/index.less +3 -0
- package/es/breadcrumb/style/rtl.less +29 -0
- package/es/button/LoadingIcon.d.ts +8 -0
- package/es/button/LoadingIcon.js +57 -0
- package/es/button/button-group.d.ts +12 -0
- package/es/button/button-group.js +65 -0
- package/es/button/button.d.ts +47 -0
- package/es/button/button.js +273 -0
- package/es/button/index.d.ts +5 -0
- package/es/button/index.js +2 -0
- package/es/button/style/css.js +2 -0
- package/es/button/style/index-pure.less +293 -0
- package/es/button/style/index.css +1987 -0
- package/es/button/style/index.d.ts +2 -0
- package/es/button/style/index.js +2 -0
- package/es/button/style/index.less +3 -0
- package/es/button/style/mixin.less +589 -0
- package/es/button/style/rtl.less +90 -0
- package/es/button/style/space-compact.less +88 -0
- package/es/calendar/Header.d.ts +17 -0
- package/es/calendar/Header.js +176 -0
- package/es/calendar/generateCalendar.d.ts +41 -0
- package/es/calendar/generateCalendar.js +193 -0
- package/es/calendar/index.d.ts +5 -0
- package/es/calendar/index.js +4 -0
- package/es/calendar/locale/ar_EG.d.ts +2 -0
- package/es/calendar/locale/ar_EG.js +2 -0
- package/es/calendar/locale/az_AZ.d.ts +2 -0
- package/es/calendar/locale/az_AZ.js +2 -0
- package/es/calendar/locale/bg_BG.d.ts +2 -0
- package/es/calendar/locale/bg_BG.js +2 -0
- package/es/calendar/locale/bn_BD.d.ts +2 -0
- package/es/calendar/locale/bn_BD.js +2 -0
- package/es/calendar/locale/by_BY.d.ts +2 -0
- package/es/calendar/locale/by_BY.js +2 -0
- package/es/calendar/locale/ca_ES.d.ts +2 -0
- package/es/calendar/locale/ca_ES.js +2 -0
- package/es/calendar/locale/cs_CZ.d.ts +2 -0
- package/es/calendar/locale/cs_CZ.js +2 -0
- package/es/calendar/locale/da_DK.d.ts +2 -0
- package/es/calendar/locale/da_DK.js +2 -0
- package/es/calendar/locale/de_DE.d.ts +2 -0
- package/es/calendar/locale/de_DE.js +2 -0
- package/es/calendar/locale/el_GR.d.ts +2 -0
- package/es/calendar/locale/el_GR.js +2 -0
- package/es/calendar/locale/en_GB.d.ts +2 -0
- package/es/calendar/locale/en_GB.js +2 -0
- package/es/calendar/locale/en_US.d.ts +2 -0
- package/es/calendar/locale/en_US.js +2 -0
- package/es/calendar/locale/es_ES.d.ts +2 -0
- package/es/calendar/locale/es_ES.js +2 -0
- package/es/calendar/locale/et_EE.d.ts +2 -0
- package/es/calendar/locale/et_EE.js +2 -0
- package/es/calendar/locale/fa_IR.d.ts +2 -0
- package/es/calendar/locale/fa_IR.js +2 -0
- package/es/calendar/locale/fi_FI.d.ts +2 -0
- package/es/calendar/locale/fi_FI.js +2 -0
- package/es/calendar/locale/fr_BE.d.ts +2 -0
- package/es/calendar/locale/fr_BE.js +2 -0
- package/es/calendar/locale/fr_CA.d.ts +2 -0
- package/es/calendar/locale/fr_CA.js +2 -0
- package/es/calendar/locale/fr_FR.d.ts +2 -0
- package/es/calendar/locale/fr_FR.js +2 -0
- package/es/calendar/locale/ga_IE.d.ts +2 -0
- package/es/calendar/locale/ga_IE.js +2 -0
- package/es/calendar/locale/gl_ES.d.ts +2 -0
- package/es/calendar/locale/gl_ES.js +2 -0
- package/es/calendar/locale/he_IL.d.ts +2 -0
- package/es/calendar/locale/he_IL.js +2 -0
- package/es/calendar/locale/hi_IN.d.ts +2 -0
- package/es/calendar/locale/hi_IN.js +2 -0
- package/es/calendar/locale/hr_HR.d.ts +2 -0
- package/es/calendar/locale/hr_HR.js +2 -0
- package/es/calendar/locale/hu_HU.d.ts +2 -0
- package/es/calendar/locale/hu_HU.js +2 -0
- package/es/calendar/locale/id_ID.d.ts +2 -0
- package/es/calendar/locale/id_ID.js +2 -0
- package/es/calendar/locale/is_IS.d.ts +2 -0
- package/es/calendar/locale/is_IS.js +2 -0
- package/es/calendar/locale/it_IT.d.ts +2 -0
- package/es/calendar/locale/it_IT.js +2 -0
- package/es/calendar/locale/ja_JP.d.ts +2 -0
- package/es/calendar/locale/ja_JP.js +2 -0
- package/es/calendar/locale/ka_GE.d.ts +2 -0
- package/es/calendar/locale/ka_GE.js +2 -0
- package/es/calendar/locale/kk_KZ.d.ts +2 -0
- package/es/calendar/locale/kk_KZ.js +2 -0
- package/es/calendar/locale/km_KH.d.ts +2 -0
- package/es/calendar/locale/km_KH.js +2 -0
- package/es/calendar/locale/kmr_IQ.d.ts +2 -0
- package/es/calendar/locale/kmr_IQ.js +2 -0
- package/es/calendar/locale/kn_IN.d.ts +2 -0
- package/es/calendar/locale/kn_IN.js +2 -0
- package/es/calendar/locale/ko_KR.d.ts +2 -0
- package/es/calendar/locale/ko_KR.js +2 -0
- package/es/calendar/locale/lt_LT.d.ts +2 -0
- package/es/calendar/locale/lt_LT.js +2 -0
- package/es/calendar/locale/lv_LV.d.ts +2 -0
- package/es/calendar/locale/lv_LV.js +2 -0
- package/es/calendar/locale/mk_MK.d.ts +2 -0
- package/es/calendar/locale/mk_MK.js +2 -0
- package/es/calendar/locale/ml_IN.d.ts +2 -0
- package/es/calendar/locale/ml_IN.js +2 -0
- package/es/calendar/locale/mn_MN.d.ts +2 -0
- package/es/calendar/locale/mn_MN.js +2 -0
- package/es/calendar/locale/ms_MY.d.ts +2 -0
- package/es/calendar/locale/ms_MY.js +2 -0
- package/es/calendar/locale/nb_NO.d.ts +2 -0
- package/es/calendar/locale/nb_NO.js +2 -0
- package/es/calendar/locale/nl_BE.d.ts +2 -0
- package/es/calendar/locale/nl_BE.js +2 -0
- package/es/calendar/locale/nl_NL.d.ts +2 -0
- package/es/calendar/locale/nl_NL.js +2 -0
- package/es/calendar/locale/pl_PL.d.ts +2 -0
- package/es/calendar/locale/pl_PL.js +2 -0
- package/es/calendar/locale/pt_BR.d.ts +2 -0
- package/es/calendar/locale/pt_BR.js +2 -0
- package/es/calendar/locale/pt_PT.d.ts +2 -0
- package/es/calendar/locale/pt_PT.js +2 -0
- package/es/calendar/locale/ro_RO.d.ts +2 -0
- package/es/calendar/locale/ro_RO.js +2 -0
- package/es/calendar/locale/ru_RU.d.ts +2 -0
- package/es/calendar/locale/ru_RU.js +2 -0
- package/es/calendar/locale/si_LK.d.ts +2 -0
- package/es/calendar/locale/si_LK.js +2 -0
- package/es/calendar/locale/sk_SK.d.ts +2 -0
- package/es/calendar/locale/sk_SK.js +2 -0
- package/es/calendar/locale/sl_SI.d.ts +2 -0
- package/es/calendar/locale/sl_SI.js +2 -0
- package/es/calendar/locale/sr_RS.d.ts +2 -0
- package/es/calendar/locale/sr_RS.js +2 -0
- package/es/calendar/locale/sv_SE.d.ts +2 -0
- package/es/calendar/locale/sv_SE.js +2 -0
- package/es/calendar/locale/ta_IN.d.ts +2 -0
- package/es/calendar/locale/ta_IN.js +2 -0
- package/es/calendar/locale/th_TH.d.ts +2 -0
- package/es/calendar/locale/th_TH.js +2 -0
- package/es/calendar/locale/tk_TK.d.ts +2 -0
- package/es/calendar/locale/tk_TK.js +2 -0
- package/es/calendar/locale/tr_TR.d.ts +2 -0
- package/es/calendar/locale/tr_TR.js +2 -0
- package/es/calendar/locale/uk_UA.d.ts +2 -0
- package/es/calendar/locale/uk_UA.js +2 -0
- package/es/calendar/locale/ur_PK.d.ts +2 -0
- package/es/calendar/locale/ur_PK.js +2 -0
- package/es/calendar/locale/vi_VN.d.ts +2 -0
- package/es/calendar/locale/vi_VN.js +2 -0
- package/es/calendar/locale/zh_CN.d.ts +2 -0
- package/es/calendar/locale/zh_CN.js +2 -0
- package/es/calendar/locale/zh_TW.d.ts +2 -0
- package/es/calendar/locale/zh_TW.js +2 -0
- package/es/calendar/style/css.js +7 -0
- package/es/calendar/style/index-pure.less +196 -0
- package/es/calendar/style/index.css +175 -0
- package/es/calendar/style/index.d.ts +5 -0
- package/es/calendar/style/index.js +7 -0
- package/es/calendar/style/index.less +3 -0
- package/es/calendar/style/rtl.less +46 -0
- package/es/card/Card.d.ts +35 -0
- package/es/card/Card.js +154 -0
- package/es/card/Grid.d.ts +9 -0
- package/es/card/Grid.js +38 -0
- package/es/card/Meta.d.ts +11 -0
- package/es/card/Meta.js +51 -0
- package/es/card/index.d.ts +13 -0
- package/es/card/index.js +7 -0
- package/es/card/style/css.js +5 -0
- package/es/card/style/index-pure.less +276 -0
- package/es/card/style/index.css +275 -0
- package/es/card/style/index.d.ts +4 -0
- package/es/card/style/index.js +5 -0
- package/es/card/style/index.less +3 -0
- package/es/card/style/size.less +20 -0
- package/es/carousel/index.d.ts +24 -0
- package/es/carousel/index.js +88 -0
- package/es/carousel/style/css.js +2 -0
- package/es/carousel/style/index-pure.less +304 -0
- package/es/carousel/style/index.css +286 -0
- package/es/carousel/style/index.d.ts +2 -0
- package/es/carousel/style/index.js +2 -0
- package/es/carousel/style/index.less +3 -0
- package/es/carousel/style/rtl.less +54 -0
- package/es/cascader/index.d.ts +43 -0
- package/es/cascader/index.js +245 -0
- package/es/cascader/style/css.js +5 -0
- package/es/cascader/style/index-pure.less +108 -0
- package/es/cascader/style/index.css +332 -0
- package/es/cascader/style/index.d.ts +4 -0
- package/es/cascader/style/index.js +5 -0
- package/es/cascader/style/index.less +3 -0
- package/es/cascader/style/rtl.less +19 -0
- package/es/checkbox/Checkbox.d.ts +37 -0
- package/es/checkbox/Checkbox.js +126 -0
- package/es/checkbox/Group.d.ts +35 -0
- package/es/checkbox/Group.js +154 -0
- package/es/checkbox/index.d.ts +10 -0
- package/es/checkbox/index.js +6 -0
- package/es/checkbox/style/css.js +2 -0
- package/es/checkbox/style/index-pure.less +6 -0
- package/es/checkbox/style/index.css +225 -0
- package/es/checkbox/style/index.d.ts +2 -0
- package/es/checkbox/style/index.js +2 -0
- package/es/checkbox/style/index.less +3 -0
- package/es/checkbox/style/mixin.less +241 -0
- package/es/checkbox/style/rtl.less +28 -0
- package/es/col/index.d.ts +3 -0
- package/es/col/index.js +2 -0
- package/es/col/style/css.js +4 -0
- package/es/col/style/index.d.ts +2 -0
- package/es/col/style/index.js +4 -0
- package/es/collapse/Collapse.d.ts +40 -0
- package/es/collapse/Collapse.js +95 -0
- package/es/collapse/CollapsePanel.d.ts +19 -0
- package/es/collapse/CollapsePanel.js +28 -0
- package/es/collapse/index.d.ts +4 -0
- package/es/collapse/index.js +2 -0
- package/es/collapse/style/css.js +2 -0
- package/es/collapse/style/index-pure.less +174 -0
- package/es/collapse/style/index.css +174 -0
- package/es/collapse/style/index.d.ts +2 -0
- package/es/collapse/style/index.js +2 -0
- package/es/collapse/style/index.less +3 -0
- package/es/collapse/style/rtl.less +68 -0
- package/es/comment/index.d.ts +23 -0
- package/es/comment/index.js +77 -0
- package/es/comment/style/css.js +2 -0
- package/es/comment/style/index-pure.less +105 -0
- package/es/comment/style/index.css +112 -0
- package/es/comment/style/index.d.ts +2 -0
- package/es/comment/style/index.js +2 -0
- package/es/comment/style/index.less +3 -0
- package/es/comment/style/rtl.less +51 -0
- package/es/date-picker/PickerButton.d.ts +3 -0
- package/es/date-picker/PickerButton.js +9 -0
- package/es/date-picker/PickerTag.d.ts +3 -0
- package/es/date-picker/PickerTag.js +8 -0
- package/es/date-picker/generatePicker/generateRangePicker.d.ts +11 -0
- package/es/date-picker/generatePicker/generateRangePicker.js +151 -0
- package/es/date-picker/generatePicker/generateSinglePicker.d.ts +71 -0
- package/es/date-picker/generatePicker/generateSinglePicker.js +177 -0
- package/es/date-picker/generatePicker/index.d.ts +143 -0
- package/es/date-picker/generatePicker/index.js +86 -0
- package/es/date-picker/generatePicker/interface.d.ts +12 -0
- package/es/date-picker/generatePicker/interface.js +1 -0
- package/es/date-picker/index.d.ts +54 -0
- package/es/date-picker/index.js +4 -0
- package/es/date-picker/locale/ar_EG.d.ts +3 -0
- package/es/date-picker/locale/ar_EG.js +18 -0
- package/es/date-picker/locale/az_AZ.d.ts +3 -0
- package/es/date-picker/locale/az_AZ.js +11 -0
- package/es/date-picker/locale/bg_BG.d.ts +3 -0
- package/es/date-picker/locale/bg_BG.js +14 -0
- package/es/date-picker/locale/bn_BD.d.ts +3 -0
- package/es/date-picker/locale/bn_BD.js +21 -0
- package/es/date-picker/locale/by_BY.d.ts +3 -0
- package/es/date-picker/locale/by_BY.js +19 -0
- package/es/date-picker/locale/ca_ES.d.ts +3 -0
- package/es/date-picker/locale/ca_ES.js +14 -0
- package/es/date-picker/locale/cs_CZ.d.ts +3 -0
- package/es/date-picker/locale/cs_CZ.js +14 -0
- package/es/date-picker/locale/da_DK.d.ts +3 -0
- package/es/date-picker/locale/da_DK.js +14 -0
- package/es/date-picker/locale/de_DE.d.ts +3 -0
- package/es/date-picker/locale/de_DE.js +14 -0
- package/es/date-picker/locale/el_GR.d.ts +3 -0
- package/es/date-picker/locale/el_GR.js +14 -0
- package/es/date-picker/locale/en_GB.d.ts +3 -0
- package/es/date-picker/locale/en_GB.js +22 -0
- package/es/date-picker/locale/en_US.d.ts +3 -0
- package/es/date-picker/locale/en_US.js +22 -0
- package/es/date-picker/locale/es_ES.d.ts +3 -0
- package/es/date-picker/locale/es_ES.js +14 -0
- package/es/date-picker/locale/et_EE.d.ts +3 -0
- package/es/date-picker/locale/et_EE.js +14 -0
- package/es/date-picker/locale/fa_IR.d.ts +3 -0
- package/es/date-picker/locale/fa_IR.js +21 -0
- package/es/date-picker/locale/fi_FI.d.ts +3 -0
- package/es/date-picker/locale/fi_FI.js +14 -0
- package/es/date-picker/locale/fr_BE.d.ts +3 -0
- package/es/date-picker/locale/fr_BE.js +14 -0
- package/es/date-picker/locale/fr_CA.d.ts +3 -0
- package/es/date-picker/locale/fr_CA.js +21 -0
- package/es/date-picker/locale/fr_FR.d.ts +3 -0
- package/es/date-picker/locale/fr_FR.js +21 -0
- package/es/date-picker/locale/ga_IE.d.ts +3 -0
- package/es/date-picker/locale/ga_IE.js +21 -0
- package/es/date-picker/locale/gl_ES.d.ts +3 -0
- package/es/date-picker/locale/gl_ES.js +14 -0
- package/es/date-picker/locale/he_IL.d.ts +3 -0
- package/es/date-picker/locale/he_IL.js +14 -0
- package/es/date-picker/locale/hi_IN.d.ts +3 -0
- package/es/date-picker/locale/hi_IN.js +21 -0
- package/es/date-picker/locale/hr_HR.d.ts +3 -0
- package/es/date-picker/locale/hr_HR.js +21 -0
- package/es/date-picker/locale/hu_HU.d.ts +3 -0
- package/es/date-picker/locale/hu_HU.js +14 -0
- package/es/date-picker/locale/id_ID.d.ts +3 -0
- package/es/date-picker/locale/id_ID.js +14 -0
- package/es/date-picker/locale/is_IS.d.ts +3 -0
- package/es/date-picker/locale/is_IS.js +14 -0
- package/es/date-picker/locale/it_IT.d.ts +3 -0
- package/es/date-picker/locale/it_IT.js +14 -0
- package/es/date-picker/locale/ja_JP.d.ts +3 -0
- package/es/date-picker/locale/ja_JP.js +14 -0
- package/es/date-picker/locale/ka_GE.d.ts +3 -0
- package/es/date-picker/locale/ka_GE.js +18 -0
- package/es/date-picker/locale/kk_KZ.d.ts +3 -0
- package/es/date-picker/locale/kk_KZ.js +21 -0
- package/es/date-picker/locale/km_KH.d.ts +3 -0
- package/es/date-picker/locale/km_KH.js +21 -0
- package/es/date-picker/locale/kmr_IQ.d.ts +3 -0
- package/es/date-picker/locale/kmr_IQ.js +14 -0
- package/es/date-picker/locale/kn_IN.d.ts +3 -0
- package/es/date-picker/locale/kn_IN.js +14 -0
- package/es/date-picker/locale/ko_KR.d.ts +3 -0
- package/es/date-picker/locale/ko_KR.js +14 -0
- package/es/date-picker/locale/lt_LT.d.ts +3 -0
- package/es/date-picker/locale/lt_LT.js +21 -0
- package/es/date-picker/locale/lv_LV.d.ts +3 -0
- package/es/date-picker/locale/lv_LV.js +14 -0
- package/es/date-picker/locale/mk_MK.d.ts +3 -0
- package/es/date-picker/locale/mk_MK.js +14 -0
- package/es/date-picker/locale/ml_IN.d.ts +3 -0
- package/es/date-picker/locale/ml_IN.js +21 -0
- package/es/date-picker/locale/mn_MN.d.ts +3 -0
- package/es/date-picker/locale/mn_MN.js +14 -0
- package/es/date-picker/locale/ms_MY.d.ts +3 -0
- package/es/date-picker/locale/ms_MY.js +14 -0
- package/es/date-picker/locale/nb_NO.d.ts +3 -0
- package/es/date-picker/locale/nb_NO.js +21 -0
- package/es/date-picker/locale/nl_BE.d.ts +3 -0
- package/es/date-picker/locale/nl_BE.js +21 -0
- package/es/date-picker/locale/nl_NL.d.ts +3 -0
- package/es/date-picker/locale/nl_NL.js +21 -0
- package/es/date-picker/locale/pl_PL.d.ts +3 -0
- package/es/date-picker/locale/pl_PL.js +14 -0
- package/es/date-picker/locale/pt_BR.d.ts +3 -0
- package/es/date-picker/locale/pt_BR.js +14 -0
- package/es/date-picker/locale/pt_PT.d.ts +3 -0
- package/es/date-picker/locale/pt_PT.js +42 -0
- package/es/date-picker/locale/ro_RO.d.ts +3 -0
- package/es/date-picker/locale/ro_RO.js +14 -0
- package/es/date-picker/locale/ru_RU.d.ts +4 -0
- package/es/date-picker/locale/ru_RU.js +23 -0
- package/es/date-picker/locale/si_LK.d.ts +3 -0
- package/es/date-picker/locale/si_LK.js +22 -0
- package/es/date-picker/locale/sk_SK.d.ts +3 -0
- package/es/date-picker/locale/sk_SK.js +14 -0
- package/es/date-picker/locale/sl_SI.d.ts +3 -0
- package/es/date-picker/locale/sl_SI.js +40 -0
- package/es/date-picker/locale/sr_RS.d.ts +3 -0
- package/es/date-picker/locale/sr_RS.js +21 -0
- package/es/date-picker/locale/sv_SE.d.ts +3 -0
- package/es/date-picker/locale/sv_SE.js +21 -0
- package/es/date-picker/locale/ta_IN.d.ts +3 -0
- package/es/date-picker/locale/ta_IN.js +15 -0
- package/es/date-picker/locale/th_TH.d.ts +3 -0
- package/es/date-picker/locale/th_TH.js +21 -0
- package/es/date-picker/locale/tk_TK.d.ts +3 -0
- package/es/date-picker/locale/tk_TK.js +19 -0
- package/es/date-picker/locale/tr_TR.d.ts +3 -0
- package/es/date-picker/locale/tr_TR.js +21 -0
- package/es/date-picker/locale/uk_UA.d.ts +3 -0
- package/es/date-picker/locale/uk_UA.js +14 -0
- package/es/date-picker/locale/ur_PK.d.ts +3 -0
- package/es/date-picker/locale/ur_PK.js +21 -0
- package/es/date-picker/locale/vi_VN.d.ts +3 -0
- package/es/date-picker/locale/vi_VN.js +14 -0
- package/es/date-picker/locale/zh_CN.d.ts +3 -0
- package/es/date-picker/locale/zh_CN.js +24 -0
- package/es/date-picker/locale/zh_TW.d.ts +3 -0
- package/es/date-picker/locale/zh_TW.js +23 -0
- package/es/date-picker/style/css.js +4 -0
- package/es/date-picker/style/index-pure.less +366 -0
- package/es/date-picker/style/index.css +1099 -0
- package/es/date-picker/style/index.d.ts +3 -0
- package/es/date-picker/style/index.js +4 -0
- package/es/date-picker/style/index.less +3 -0
- package/es/date-picker/style/panel.less +677 -0
- package/es/date-picker/style/rtl.less +246 -0
- package/es/date-picker/style/status.less +38 -0
- package/es/date-picker/util.d.ts +14 -0
- package/es/date-picker/util.js +107 -0
- package/es/descriptions/Cell.d.ts +16 -0
- package/es/descriptions/Cell.js +52 -0
- package/es/descriptions/Item.d.ts +13 -0
- package/es/descriptions/Item.js +6 -0
- package/es/descriptions/Row.d.ts +13 -0
- package/es/descriptions/Row.js +107 -0
- package/es/descriptions/index.d.ts +27 -0
- package/es/descriptions/index.js +167 -0
- package/es/descriptions/style/css.js +2 -0
- package/es/descriptions/style/index-pure.less +179 -0
- package/es/descriptions/style/index.css +139 -0
- package/es/descriptions/style/index.d.ts +2 -0
- package/es/descriptions/style/index.js +2 -0
- package/es/descriptions/style/index.less +3 -0
- package/es/descriptions/style/rtl.less +33 -0
- package/es/divider/index.d.ts +14 -0
- package/es/divider/index.js +69 -0
- package/es/divider/style/css.js +2 -0
- package/es/divider/style/index-pure.less +137 -0
- package/es/divider/style/index.css +126 -0
- package/es/divider/style/index.d.ts +2 -0
- package/es/divider/style/index.js +2 -0
- package/es/divider/style/index.less +3 -0
- package/es/divider/style/rtl.less +38 -0
- package/es/drawer/index.d.ts +37 -0
- package/es/drawer/index.js +182 -0
- package/es/drawer/style/css.js +3 -0
- package/es/drawer/style/drawer.less +160 -0
- package/es/drawer/style/index-pure.less +7 -0
- package/es/drawer/style/index.css +265 -0
- package/es/drawer/style/index.d.ts +2 -0
- package/es/drawer/style/index.js +3 -0
- package/es/drawer/style/index.less +3 -0
- package/es/drawer/style/motion.less +146 -0
- package/es/drawer/style/rtl.less +16 -0
- package/es/dropdown/dropdown-button.d.ts +23 -0
- package/es/dropdown/dropdown-button.js +137 -0
- package/es/dropdown/dropdown.d.ts +56 -0
- package/es/dropdown/dropdown.js +184 -0
- package/es/dropdown/index.d.ts +4 -0
- package/es/dropdown/index.js +2 -0
- package/es/dropdown/style/css.js +6 -0
- package/es/dropdown/style/index-pure.less +389 -0
- package/es/dropdown/style/index.css +400 -0
- package/es/dropdown/style/index.d.ts +5 -0
- package/es/dropdown/style/index.js +6 -0
- package/es/dropdown/style/index.less +3 -0
- package/es/dropdown/style/rtl.less +90 -0
- package/es/dropdown/style/status.less +14 -0
- package/es/empty/empty.d.ts +2 -0
- package/es/empty/empty.js +55 -0
- package/es/empty/index.d.ts +20 -0
- package/es/empty/index.js +74 -0
- package/es/empty/simple.d.ts +2 -0
- package/es/empty/simple.js +36 -0
- package/es/empty/style/css.js +2 -0
- package/es/empty/style/index-pure.less +151 -0
- package/es/empty/style/index.css +72 -0
- package/es/empty/style/index.d.ts +2 -0
- package/es/empty/style/index.js +2 -0
- package/es/empty/style/index.less +3 -0
- package/es/empty/style/rtl.less +10 -0
- package/es/form/ErrorList.d.ts +12 -0
- package/es/form/ErrorList.js +92 -0
- package/es/form/Form.d.ts +34 -0
- package/es/form/Form.js +138 -0
- package/es/form/FormItem/ItemHolder.d.ts +17 -0
- package/es/form/FormItem/ItemHolder.js +150 -0
- package/es/form/FormItem/index.d.ts +35 -0
- package/es/form/FormItem/index.js +309 -0
- package/es/form/FormItemInput.d.ts +20 -0
- package/es/form/FormItemInput.js +86 -0
- package/es/form/FormItemLabel.d.ts +23 -0
- package/es/form/FormItemLabel.js +118 -0
- package/es/form/FormList.d.ts +25 -0
- package/es/form/FormList.js +53 -0
- package/es/form/context.d.ts +48 -0
- package/es/form/context.js +43 -0
- package/es/form/hooks/useDebounce.d.ts +1 -0
- package/es/form/hooks/useDebounce.js +18 -0
- package/es/form/hooks/useForm.d.ts +7 -0
- package/es/form/hooks/useForm.js +54 -0
- package/es/form/hooks/useFormInstance.d.ts +2 -0
- package/es/form/hooks/useFormInstance.js +8 -0
- package/es/form/hooks/useFormItemStatus.d.ts +6 -0
- package/es/form/hooks/useFormItemStatus.js +15 -0
- package/es/form/hooks/useFrameState.d.ts +3 -0
- package/es/form/hooks/useFrameState.js +46 -0
- package/es/form/hooks/useItemRef.d.ts +3 -0
- package/es/form/hooks/useItemRef.js +25 -0
- package/es/form/index.d.ts +22 -0
- package/es/form/index.js +21 -0
- package/es/form/interface.d.ts +3 -0
- package/es/form/interface.js +1 -0
- package/es/form/style/components.less +16 -0
- package/es/form/style/css.js +5 -0
- package/es/form/style/horizontal.less +22 -0
- package/es/form/style/index-pure.less +332 -0
- package/es/form/style/index.css +572 -0
- package/es/form/style/index.d.ts +4 -0
- package/es/form/style/index.js +5 -0
- package/es/form/style/index.less +3 -0
- package/es/form/style/inline.less +38 -0
- package/es/form/style/mixin.less +78 -0
- package/es/form/style/rtl.less +204 -0
- package/es/form/style/status.less +42 -0
- package/es/form/style/vertical.less +93 -0
- package/es/form/util.d.ts +3 -0
- package/es/form/util.js +20 -0
- package/es/grid/RowContext.d.ts +8 -0
- package/es/grid/RowContext.js +3 -0
- package/es/grid/col.d.ts +28 -0
- package/es/grid/col.js +113 -0
- package/es/grid/hooks/useBreakpoint.d.ts +3 -0
- package/es/grid/hooks/useBreakpoint.js +24 -0
- package/es/grid/index.d.ts +10 -0
- package/es/grid/index.js +12 -0
- package/es/grid/row.d.ts +20 -0
- package/es/grid/row.js +191 -0
- package/es/grid/style/css.js +2 -0
- package/es/grid/style/index-pure.less +124 -0
- package/es/grid/style/index.css +5185 -0
- package/es/grid/style/index.d.ts +2 -0
- package/es/grid/style/index.js +2 -0
- package/es/grid/style/index.less +3 -0
- package/es/grid/style/mixin.less +56 -0
- package/es/grid/style/rtl.less +69 -0
- package/es/icon/index.d.ts +3 -0
- package/es/icon/index.js +8 -0
- package/es/icon/style/css.js +2 -0
- package/es/icon/style/index-pure.less +4 -0
- package/es/icon/style/index.css +4 -0
- package/es/icon/style/index.d.ts +2 -0
- package/es/icon/style/index.js +2 -0
- package/es/icon/style/index.less +3 -0
- package/es/image/PreviewGroup.d.ts +13 -0
- package/es/image/PreviewGroup.js +67 -0
- package/es/image/index.d.ts +9 -0
- package/es/image/index.js +68 -0
- package/es/image/style/css.js +2 -0
- package/es/image/style/index-pure.less +203 -0
- package/es/image/style/index.css +232 -0
- package/es/image/style/index.d.ts +2 -0
- package/es/image/style/index.js +2 -0
- package/es/image/style/index.less +3 -0
- package/es/index.d.ts +128 -1
- package/es/index.js +68 -2
- package/es/input/ClearableLabeledInput.d.ts +39 -0
- package/es/input/ClearableLabeledInput.js +108 -0
- package/es/input/Group.d.ts +15 -0
- package/es/input/Group.js +39 -0
- package/es/input/Input.d.ts +20 -0
- package/es/input/Input.js +230 -0
- package/es/input/Password.d.ts +14 -0
- package/es/input/Password.js +141 -0
- package/es/input/Search.d.ts +10 -0
- package/es/input/Search.js +167 -0
- package/es/input/TextArea.d.ts +28 -0
- package/es/input/TextArea.js +250 -0
- package/es/input/hooks/useRemovePasswordTimeout.d.ts +3 -0
- package/es/input/hooks/useRemovePasswordTimeout.js +29 -0
- package/es/input/index.d.ts +19 -0
- package/es/input/index.js +11 -0
- package/es/input/style/IE11.less +20 -0
- package/es/input/style/affix.less +78 -0
- package/es/input/style/allow-clear.less +43 -0
- package/es/input/style/css.js +5 -0
- package/es/input/style/index-pure.less +88 -0
- package/es/input/style/index.css +929 -0
- package/es/input/style/index.d.ts +3 -0
- package/es/input/style/index.js +5 -0
- package/es/input/style/index.less +3 -0
- package/es/input/style/mixin.less +470 -0
- package/es/input/style/rtl.less +210 -0
- package/es/input/style/search-input.less +117 -0
- package/es/input/style/status.less +42 -0
- package/es/input/utils.d.ts +3 -0
- package/es/input/utils.js +4 -0
- package/es/input-number/index.d.ts +27 -0
- package/es/input-number/index.js +175 -0
- package/es/input-number/style/affix.less +83 -0
- package/es/input-number/style/css.js +2 -0
- package/es/input-number/style/index-pure.less +243 -0
- package/es/input-number/style/index.css +915 -0
- package/es/input-number/style/index.d.ts +2 -0
- package/es/input-number/style/index.js +2 -0
- package/es/input-number/style/index.less +3 -0
- package/es/input-number/style/rtl.less +71 -0
- package/es/input-number/style/status.less +29 -0
- package/es/layout/Sider.d.ts +28 -0
- package/es/layout/Sider.js +219 -0
- package/es/layout/index.d.ts +13 -0
- package/es/layout/index.js +8 -0
- package/es/layout/layout.d.ts +23 -0
- package/es/layout/layout.js +138 -0
- package/es/layout/style/css.js +2 -0
- package/es/layout/style/index-pure.less +145 -0
- package/es/layout/style/index.css +128 -0
- package/es/layout/style/index.d.ts +2 -0
- package/es/layout/style/index.js +2 -0
- package/es/layout/style/index.less +3 -0
- package/es/layout/style/light.less +11 -0
- package/es/layout/style/rtl.less +10 -0
- package/es/list/Item.d.ts +26 -0
- package/es/list/Item.js +122 -0
- package/es/list/index.d.ts +54 -0
- package/es/list/index.js +255 -0
- package/es/list/style/bordered.less +44 -0
- package/es/list/style/css.js +7 -0
- package/es/list/style/customize.less +13 -0
- package/es/list/style/index-pure.less +249 -0
- package/es/list/style/index.css +317 -0
- package/es/list/style/index.d.ts +6 -0
- package/es/list/style/index.js +7 -0
- package/es/list/style/index.less +3 -0
- package/es/list/style/responsive.less +43 -0
- package/es/list/style/rtl.less +139 -0
- package/es/locale/ar_EG.d.ts +3 -0
- package/es/locale/ar_EG.js +117 -0
- package/es/locale/az_AZ.d.ts +3 -0
- package/es/locale/az_AZ.js +97 -0
- package/es/locale/bg_BG.d.ts +3 -0
- package/es/locale/bg_BG.js +44 -0
- package/es/locale/bn_BD.d.ts +3 -0
- package/es/locale/bn_BD.js +130 -0
- package/es/locale/by_BY.d.ts +3 -0
- package/es/locale/by_BY.js +132 -0
- package/es/locale/ca_ES.d.ts +3 -0
- package/es/locale/ca_ES.js +125 -0
- package/es/locale/cs_CZ.d.ts +3 -0
- package/es/locale/cs_CZ.js +132 -0
- package/es/locale/da_DK.d.ts +3 -0
- package/es/locale/da_DK.js +54 -0
- package/es/locale/de_DE.d.ts +3 -0
- package/es/locale/de_DE.js +126 -0
- package/es/locale/default.d.ts +3 -0
- package/es/locale/default.js +132 -0
- package/es/locale/el_GR.d.ts +3 -0
- package/es/locale/el_GR.js +44 -0
- package/es/locale/en_GB.d.ts +3 -0
- package/es/locale/en_GB.js +132 -0
- package/es/locale/en_US.d.ts +2 -0
- package/es/locale/en_US.js +2 -0
- package/es/locale/es_ES.d.ts +3 -0
- package/es/locale/es_ES.js +132 -0
- package/es/locale/et_EE.d.ts +3 -0
- package/es/locale/et_EE.js +132 -0
- package/es/locale/fa_IR.d.ts +3 -0
- package/es/locale/fa_IR.js +130 -0
- package/es/locale/fi_FI.d.ts +3 -0
- package/es/locale/fi_FI.js +54 -0
- package/es/locale/fr_BE.d.ts +3 -0
- package/es/locale/fr_BE.js +49 -0
- package/es/locale/fr_CA.d.ts +3 -0
- package/es/locale/fr_CA.js +61 -0
- package/es/locale/fr_FR.d.ts +3 -0
- package/es/locale/fr_FR.js +129 -0
- package/es/locale/ga_IE.d.ts +3 -0
- package/es/locale/ga_IE.js +123 -0
- package/es/locale/gl_ES.d.ts +3 -0
- package/es/locale/gl_ES.js +111 -0
- package/es/locale/he_IL.d.ts +3 -0
- package/es/locale/he_IL.js +117 -0
- package/es/locale/hi_IN.d.ts +3 -0
- package/es/locale/hi_IN.js +130 -0
- package/es/locale/hr_HR.d.ts +3 -0
- package/es/locale/hr_HR.js +129 -0
- package/es/locale/hu_HU.d.ts +3 -0
- package/es/locale/hu_HU.js +45 -0
- package/es/locale/hy_AM.d.ts +3 -0
- package/es/locale/hy_AM.js +109 -0
- package/es/locale/id_ID.d.ts +3 -0
- package/es/locale/id_ID.js +45 -0
- package/es/locale/is_IS.d.ts +3 -0
- package/es/locale/is_IS.js +44 -0
- package/es/locale/it_IT.d.ts +3 -0
- package/es/locale/it_IT.js +132 -0
- package/es/locale/ja_JP.d.ts +3 -0
- package/es/locale/ja_JP.js +103 -0
- package/es/locale/ka_GE.d.ts +3 -0
- package/es/locale/ka_GE.js +130 -0
- package/es/locale/kk_KZ.d.ts +3 -0
- package/es/locale/kk_KZ.js +124 -0
- package/es/locale/km_KH.d.ts +3 -0
- package/es/locale/km_KH.js +105 -0
- package/es/locale/kmr_IQ.d.ts +3 -0
- package/es/locale/kmr_IQ.js +44 -0
- package/es/locale/kn_IN.d.ts +3 -0
- package/es/locale/kn_IN.js +51 -0
- package/es/locale/ko_KR.d.ts +3 -0
- package/es/locale/ko_KR.js +97 -0
- package/es/locale/ku_IQ.d.ts +3 -0
- package/es/locale/ku_IQ.js +47 -0
- package/es/locale/lt_LT.d.ts +3 -0
- package/es/locale/lt_LT.js +121 -0
- package/es/locale/lv_LV.d.ts +3 -0
- package/es/locale/lv_LV.js +44 -0
- package/es/locale/mk_MK.d.ts +3 -0
- package/es/locale/mk_MK.js +59 -0
- package/es/locale/ml_IN.d.ts +3 -0
- package/es/locale/ml_IN.js +130 -0
- package/es/locale/mn_MN.d.ts +3 -0
- package/es/locale/mn_MN.js +44 -0
- package/es/locale/ms_MY.d.ts +3 -0
- package/es/locale/ms_MY.js +64 -0
- package/es/locale/nb_NO.d.ts +3 -0
- package/es/locale/nb_NO.js +124 -0
- package/es/locale/ne_NP.d.ts +3 -0
- package/es/locale/ne_NP.js +44 -0
- package/es/locale/nl_BE.d.ts +3 -0
- package/es/locale/nl_BE.js +130 -0
- package/es/locale/nl_NL.d.ts +3 -0
- package/es/locale/nl_NL.js +130 -0
- package/es/locale/pl_PL.d.ts +3 -0
- package/es/locale/pl_PL.js +132 -0
- package/es/locale/pt_BR.d.ts +3 -0
- package/es/locale/pt_BR.js +130 -0
- package/es/locale/pt_PT.d.ts +3 -0
- package/es/locale/pt_PT.js +132 -0
- package/es/locale/ro_RO.d.ts +3 -0
- package/es/locale/ro_RO.js +130 -0
- package/es/locale/ru_RU.d.ts +3 -0
- package/es/locale/ru_RU.js +129 -0
- package/es/locale/si_LK.d.ts +3 -0
- package/es/locale/si_LK.js +132 -0
- package/es/locale/sk_SK.d.ts +3 -0
- package/es/locale/sk_SK.js +132 -0
- package/es/locale/sl_SI.d.ts +3 -0
- package/es/locale/sl_SI.js +44 -0
- package/es/locale/sr_RS.d.ts +3 -0
- package/es/locale/sr_RS.js +130 -0
- package/es/locale/sv_SE.d.ts +3 -0
- package/es/locale/sv_SE.js +130 -0
- package/es/locale/ta_IN.d.ts +3 -0
- package/es/locale/ta_IN.js +63 -0
- package/es/locale/th_TH.d.ts +3 -0
- package/es/locale/th_TH.js +126 -0
- package/es/locale/tk_TK.d.ts +3 -0
- package/es/locale/tk_TK.js +128 -0
- package/es/locale/tr_TR.d.ts +3 -0
- package/es/locale/tr_TR.js +128 -0
- package/es/locale/uk_UA.d.ts +3 -0
- package/es/locale/uk_UA.js +132 -0
- package/es/locale/ur_PK.d.ts +3 -0
- package/es/locale/ur_PK.js +130 -0
- package/es/locale/vi_VN.d.ts +3 -0
- package/es/locale/vi_VN.js +44 -0
- package/es/locale/zh_CN.d.ts +3 -0
- package/es/locale/zh_CN.js +132 -0
- package/es/locale/zh_HK.d.ts +3 -0
- package/es/locale/zh_HK.js +128 -0
- package/es/locale/zh_TW.d.ts +3 -0
- package/es/locale/zh_TW.js +129 -0
- package/es/locale-provider/LocaleReceiver.d.ts +11 -0
- package/es/locale-provider/LocaleReceiver.js +42 -0
- package/es/locale-provider/ar_EG.d.ts +2 -0
- package/es/locale-provider/ar_EG.js +2 -0
- package/es/locale-provider/az_AZ.d.ts +2 -0
- package/es/locale-provider/az_AZ.js +2 -0
- package/es/locale-provider/bg_BG.d.ts +2 -0
- package/es/locale-provider/bg_BG.js +2 -0
- package/es/locale-provider/bn_BD.d.ts +2 -0
- package/es/locale-provider/bn_BD.js +2 -0
- package/es/locale-provider/by_BY.d.ts +2 -0
- package/es/locale-provider/by_BY.js +2 -0
- package/es/locale-provider/ca_ES.d.ts +2 -0
- package/es/locale-provider/ca_ES.js +2 -0
- package/es/locale-provider/context.d.ts +7 -0
- package/es/locale-provider/context.js +3 -0
- package/es/locale-provider/cs_CZ.d.ts +2 -0
- package/es/locale-provider/cs_CZ.js +2 -0
- package/es/locale-provider/da_DK.d.ts +2 -0
- package/es/locale-provider/da_DK.js +2 -0
- package/es/locale-provider/de_DE.d.ts +2 -0
- package/es/locale-provider/de_DE.js +2 -0
- package/es/locale-provider/default.d.ts +2 -0
- package/es/locale-provider/default.js +2 -0
- package/es/locale-provider/el_GR.d.ts +2 -0
- package/es/locale-provider/el_GR.js +2 -0
- package/es/locale-provider/en_GB.d.ts +2 -0
- package/es/locale-provider/en_GB.js +2 -0
- package/es/locale-provider/en_US.d.ts +2 -0
- package/es/locale-provider/en_US.js +2 -0
- package/es/locale-provider/es_ES.d.ts +2 -0
- package/es/locale-provider/es_ES.js +2 -0
- package/es/locale-provider/et_EE.d.ts +2 -0
- package/es/locale-provider/et_EE.js +2 -0
- package/es/locale-provider/fa_IR.d.ts +2 -0
- package/es/locale-provider/fa_IR.js +2 -0
- package/es/locale-provider/fi_FI.d.ts +2 -0
- package/es/locale-provider/fi_FI.js +2 -0
- package/es/locale-provider/fr_BE.d.ts +2 -0
- package/es/locale-provider/fr_BE.js +2 -0
- package/es/locale-provider/fr_CA.d.ts +2 -0
- package/es/locale-provider/fr_CA.js +2 -0
- package/es/locale-provider/fr_FR.d.ts +2 -0
- package/es/locale-provider/fr_FR.js +2 -0
- package/es/locale-provider/ga_IE.d.ts +2 -0
- package/es/locale-provider/ga_IE.js +2 -0
- package/es/locale-provider/gl_ES.d.ts +2 -0
- package/es/locale-provider/gl_ES.js +2 -0
- package/es/locale-provider/he_IL.d.ts +2 -0
- package/es/locale-provider/he_IL.js +2 -0
- package/es/locale-provider/hi_IN.d.ts +2 -0
- package/es/locale-provider/hi_IN.js +2 -0
- package/es/locale-provider/hr_HR.d.ts +2 -0
- package/es/locale-provider/hr_HR.js +2 -0
- package/es/locale-provider/hu_HU.d.ts +2 -0
- package/es/locale-provider/hu_HU.js +2 -0
- package/es/locale-provider/hy_AM.d.ts +2 -0
- package/es/locale-provider/hy_AM.js +2 -0
- package/es/locale-provider/id_ID.d.ts +2 -0
- package/es/locale-provider/id_ID.js +2 -0
- package/es/locale-provider/index.d.ts +49 -0
- package/es/locale-provider/index.js +34 -0
- package/es/locale-provider/is_IS.d.ts +2 -0
- package/es/locale-provider/is_IS.js +2 -0
- package/es/locale-provider/it_IT.d.ts +2 -0
- package/es/locale-provider/it_IT.js +2 -0
- package/es/locale-provider/ja_JP.d.ts +2 -0
- package/es/locale-provider/ja_JP.js +2 -0
- package/es/locale-provider/ka_GE.d.ts +2 -0
- package/es/locale-provider/ka_GE.js +2 -0
- package/es/locale-provider/kk_KZ.d.ts +2 -0
- package/es/locale-provider/kk_KZ.js +2 -0
- package/es/locale-provider/km_KH.d.ts +2 -0
- package/es/locale-provider/km_KH.js +2 -0
- package/es/locale-provider/kmr_IQ.d.ts +2 -0
- package/es/locale-provider/kmr_IQ.js +2 -0
- package/es/locale-provider/kn_IN.d.ts +2 -0
- package/es/locale-provider/kn_IN.js +2 -0
- package/es/locale-provider/ko_KR.d.ts +2 -0
- package/es/locale-provider/ko_KR.js +2 -0
- package/es/locale-provider/ku_IQ.d.ts +2 -0
- package/es/locale-provider/ku_IQ.js +2 -0
- package/es/locale-provider/lt_LT.d.ts +2 -0
- package/es/locale-provider/lt_LT.js +2 -0
- package/es/locale-provider/lv_LV.d.ts +2 -0
- package/es/locale-provider/lv_LV.js +2 -0
- package/es/locale-provider/mk_MK.d.ts +2 -0
- package/es/locale-provider/mk_MK.js +2 -0
- package/es/locale-provider/ml_IN.d.ts +2 -0
- package/es/locale-provider/ml_IN.js +2 -0
- package/es/locale-provider/mn_MN.d.ts +2 -0
- package/es/locale-provider/mn_MN.js +2 -0
- package/es/locale-provider/ms_MY.d.ts +2 -0
- package/es/locale-provider/ms_MY.js +2 -0
- package/es/locale-provider/nb_NO.d.ts +2 -0
- package/es/locale-provider/nb_NO.js +2 -0
- package/es/locale-provider/ne_NP.d.ts +2 -0
- package/es/locale-provider/ne_NP.js +2 -0
- package/es/locale-provider/nl_BE.d.ts +2 -0
- package/es/locale-provider/nl_BE.js +2 -0
- package/es/locale-provider/nl_NL.d.ts +2 -0
- package/es/locale-provider/nl_NL.js +2 -0
- package/es/locale-provider/pl_PL.d.ts +2 -0
- package/es/locale-provider/pl_PL.js +2 -0
- package/es/locale-provider/pt_BR.d.ts +2 -0
- package/es/locale-provider/pt_BR.js +2 -0
- package/es/locale-provider/pt_PT.d.ts +2 -0
- package/es/locale-provider/pt_PT.js +2 -0
- package/es/locale-provider/ro_RO.d.ts +2 -0
- package/es/locale-provider/ro_RO.js +2 -0
- package/es/locale-provider/ru_RU.d.ts +2 -0
- package/es/locale-provider/ru_RU.js +2 -0
- package/es/locale-provider/si_LK.d.ts +2 -0
- package/es/locale-provider/si_LK.js +2 -0
- package/es/locale-provider/sk_SK.d.ts +2 -0
- package/es/locale-provider/sk_SK.js +2 -0
- package/es/locale-provider/sl_SI.d.ts +2 -0
- package/es/locale-provider/sl_SI.js +2 -0
- package/es/locale-provider/sr_RS.d.ts +2 -0
- package/es/locale-provider/sr_RS.js +2 -0
- package/es/locale-provider/style/css.js +1 -0
- package/es/locale-provider/style/index-pure.less +2 -0
- package/es/locale-provider/style/index.css +4 -0
- package/es/locale-provider/style/index.d.ts +1 -0
- package/es/locale-provider/style/index.js +1 -0
- package/es/locale-provider/style/index.less +3 -0
- package/es/locale-provider/sv_SE.d.ts +2 -0
- package/es/locale-provider/sv_SE.js +2 -0
- package/es/locale-provider/ta_IN.d.ts +2 -0
- package/es/locale-provider/ta_IN.js +2 -0
- package/es/locale-provider/th_TH.d.ts +2 -0
- package/es/locale-provider/th_TH.js +2 -0
- package/es/locale-provider/tk_TK.d.ts +2 -0
- package/es/locale-provider/tk_TK.js +2 -0
- package/es/locale-provider/tr_TR.d.ts +2 -0
- package/es/locale-provider/tr_TR.js +2 -0
- package/es/locale-provider/uk_UA.d.ts +2 -0
- package/es/locale-provider/uk_UA.js +2 -0
- package/es/locale-provider/ur_PK.d.ts +2 -0
- package/es/locale-provider/ur_PK.js +2 -0
- package/es/locale-provider/vi_VN.d.ts +2 -0
- package/es/locale-provider/vi_VN.js +2 -0
- package/es/locale-provider/zh_CN.d.ts +2 -0
- package/es/locale-provider/zh_CN.js +2 -0
- package/es/locale-provider/zh_HK.d.ts +2 -0
- package/es/locale-provider/zh_HK.js +2 -0
- package/es/locale-provider/zh_TW.d.ts +2 -0
- package/es/locale-provider/zh_TW.js +2 -0
- package/es/mentions/index.d.ts +35 -0
- package/es/mentions/index.js +196 -0
- package/es/mentions/style/css.js +4 -0
- package/es/mentions/style/index-pure.less +179 -0
- package/es/mentions/style/index.css +322 -0
- package/es/mentions/style/index.d.ts +3 -0
- package/es/mentions/style/index.js +4 -0
- package/es/mentions/style/index.less +3 -0
- package/es/mentions/style/rtl.less +10 -0
- package/es/mentions/style/status.less +16 -0
- package/es/menu/MenuContext.d.ts +12 -0
- package/es/menu/MenuContext.js +7 -0
- package/es/menu/MenuDivider.d.ts +9 -0
- package/es/menu/MenuDivider.js +38 -0
- package/es/menu/MenuItem.d.ts +16 -0
- package/es/menu/MenuItem.js +140 -0
- package/es/menu/OverrideContext.d.ts +11 -0
- package/es/menu/OverrideContext.js +36 -0
- package/es/menu/SubMenu.d.ts +23 -0
- package/es/menu/SubMenu.js +53 -0
- package/es/menu/hooks/useItems.d.ts +26 -0
- package/es/menu/hooks/useItems.js +85 -0
- package/es/menu/index.d.ts +26 -0
- package/es/menu/index.js +195 -0
- package/es/menu/style/css.js +5 -0
- package/es/menu/style/dark.less +177 -0
- package/es/menu/style/index-pure.less +700 -0
- package/es/menu/style/index.css +919 -0
- package/es/menu/style/index.d.ts +3 -0
- package/es/menu/style/index.js +5 -0
- package/es/menu/style/index.less +3 -0
- package/es/menu/style/light.less +12 -0
- package/es/menu/style/rtl.less +165 -0
- package/es/menu/style/status.less +49 -0
- package/es/message/hooks/useMessage.d.ts +7 -0
- package/es/message/hooks/useMessage.js +84 -0
- package/es/message/index.d.ts +61 -0
- package/es/message/index.js +243 -0
- package/es/message/style/css.js +2 -0
- package/es/message/style/index-pure.less +74 -0
- package/es/message/style/index.css +78 -0
- package/es/message/style/index.d.ts +2 -0
- package/es/message/style/index.js +2 -0
- package/es/message/style/index.less +3 -0
- package/es/message/style/rtl.less +17 -0
- package/es/modal/ConfirmDialog.d.ts +10 -0
- package/es/modal/ConfirmDialog.js +116 -0
- package/es/modal/Modal.d.ts +114 -0
- package/es/modal/Modal.js +133 -0
- package/es/modal/confirm.d.ts +20 -0
- package/es/modal/confirm.js +189 -0
- package/es/modal/destroyFns.d.ts +2 -0
- package/es/modal/destroyFns.js +2 -0
- package/es/modal/index.d.ts +12 -0
- package/es/modal/index.js +43 -0
- package/es/modal/locale.d.ts +7 -0
- package/es/modal/locale.js +15 -0
- package/es/modal/style/confirm.less +79 -0
- package/es/modal/style/css.js +5 -0
- package/es/modal/style/index-pure.less +7 -0
- package/es/modal/style/index.css +255 -0
- package/es/modal/style/index.d.ts +3 -0
- package/es/modal/style/index.js +5 -0
- package/es/modal/style/index.less +3 -0
- package/es/modal/style/modal.less +136 -0
- package/es/modal/style/rtl.less +74 -0
- package/es/modal/useModal/HookModal.d.ts +12 -0
- package/es/modal/useModal/HookModal.js +75 -0
- package/es/modal/useModal/index.d.ts +3 -0
- package/es/modal/useModal/index.js +104 -0
- package/es/notification/hooks/useNotification.d.ts +7 -0
- package/es/notification/hooks/useNotification.js +55 -0
- package/es/notification/index.d.ts +55 -0
- package/es/notification/index.js +339 -0
- package/es/notification/style/css.js +2 -0
- package/es/notification/style/index-pure.less +207 -0
- package/es/notification/style/index.css +246 -0
- package/es/notification/style/index.d.ts +2 -0
- package/es/notification/style/index.js +2 -0
- package/es/notification/style/index.less +3 -0
- package/es/notification/style/placement.less +68 -0
- package/es/notification/style/rtl.less +53 -0
- package/es/page-header/index.d.ts +24 -0
- package/es/page-header/index.js +165 -0
- package/es/page-header/style/css.js +5 -0
- package/es/page-header/style/index-pure.less +122 -0
- package/es/page-header/style/index.css +151 -0
- package/es/page-header/style/index.d.ts +4 -0
- package/es/page-header/style/index.js +5 -0
- package/es/page-header/style/index.less +3 -0
- package/es/page-header/style/rtl.less +77 -0
- package/es/pagination/Pagination.d.ts +19 -0
- package/es/pagination/Pagination.js +121 -0
- package/es/pagination/Select.d.ts +9 -0
- package/es/pagination/Select.js +19 -0
- package/es/pagination/index.d.ts +3 -0
- package/es/pagination/index.js +2 -0
- package/es/pagination/style/css.js +5 -0
- package/es/pagination/style/index-pure.less +472 -0
- package/es/pagination/style/index.css +553 -0
- package/es/pagination/style/index.d.ts +3 -0
- package/es/pagination/style/index.js +5 -0
- package/es/pagination/style/index.less +3 -0
- package/es/pagination/style/rtl.less +55 -0
- package/es/popconfirm/PurePanel.d.ts +13 -0
- package/es/popconfirm/PurePanel.js +56 -0
- package/es/popconfirm/index.d.ts +28 -0
- package/es/popconfirm/index.js +128 -0
- package/es/popconfirm/style/css.js +6 -0
- package/es/popconfirm/style/index-pure.less +8 -0
- package/es/popconfirm/style/index.css +7 -0
- package/es/popconfirm/style/index.d.ts +4 -0
- package/es/popconfirm/style/index.js +6 -0
- package/es/popconfirm/style/index.less +3 -0
- package/es/popover/index.d.ts +9 -0
- package/es/popover/index.js +82 -0
- package/es/popover/style/css.js +3 -0
- package/es/popover/style/index-pure.less +261 -0
- package/es/popover/style/index.css +329 -0
- package/es/popover/style/index.d.ts +2 -0
- package/es/popover/style/index.js +3 -0
- package/es/popover/style/index.less +3 -0
- package/es/popover/style/rtl.less +39 -0
- package/es/progress/Circle.d.ts +10 -0
- package/es/progress/Circle.js +85 -0
- package/es/progress/Line.d.ts +38 -0
- package/es/progress/Line.js +136 -0
- package/es/progress/Steps.d.ts +10 -0
- package/es/progress/Steps.js +39 -0
- package/es/progress/index.d.ts +3 -0
- package/es/progress/index.js +2 -0
- package/es/progress/progress.d.ts +46 -0
- package/es/progress/progress.js +133 -0
- package/es/progress/style/css.js +2 -0
- package/es/progress/style/index-pure.less +210 -0
- package/es/progress/style/index.css +190 -0
- package/es/progress/style/index.d.ts +2 -0
- package/es/progress/style/index.js +2 -0
- package/es/progress/style/index.less +3 -0
- package/es/progress/style/rtl.less +37 -0
- package/es/progress/utils.d.ts +8 -0
- package/es/progress/utils.js +29 -0
- package/es/radio/context.d.ts +7 -0
- package/es/radio/context.js +6 -0
- package/es/radio/group.d.ts +4 -0
- package/es/radio/group.js +108 -0
- package/es/radio/index.d.ts +12 -0
- package/es/radio/index.js +9 -0
- package/es/radio/interface.d.ts +40 -0
- package/es/radio/interface.js +1 -0
- package/es/radio/radio.d.ts +4 -0
- package/es/radio/radio.js +99 -0
- package/es/radio/radioButton.d.ts +6 -0
- package/es/radio/radioButton.js +39 -0
- package/es/radio/style/css.js +2 -0
- package/es/radio/style/index-pure.less +371 -0
- package/es/radio/style/index.css +349 -0
- package/es/radio/style/index.d.ts +2 -0
- package/es/radio/style/index.js +2 -0
- package/es/radio/style/index.less +3 -0
- package/es/radio/style/rtl.less +61 -0
- package/es/rate/index.d.ts +7 -0
- package/es/rate/index.js +59 -0
- package/es/rate/style/css.js +4 -0
- package/es/rate/style/index-pure.less +91 -0
- package/es/rate/style/index.css +94 -0
- package/es/rate/style/index.d.ts +3 -0
- package/es/rate/style/index.js +4 -0
- package/es/rate/style/index.less +3 -0
- package/es/rate/style/rtl.less +21 -0
- package/es/result/index.d.ts +32 -0
- package/es/result/index.js +105 -0
- package/es/result/noFound.d.ts +2 -0
- package/es/result/noFound.js +239 -0
- package/es/result/serverError.d.ts +2 -0
- package/es/result/serverError.js +279 -0
- package/es/result/style/css.js +2 -0
- package/es/result/style/index-pure.less +75 -0
- package/es/result/style/index.css +68 -0
- package/es/result/style/index.d.ts +2 -0
- package/es/result/style/index.js +2 -0
- package/es/result/style/index.less +3 -0
- package/es/result/style/rtl.less +25 -0
- package/es/result/unauthorized.d.ts +2 -0
- package/es/result/unauthorized.js +229 -0
- package/es/row/index.d.ts +3 -0
- package/es/row/index.js +2 -0
- package/es/row/style/css.js +4 -0
- package/es/row/style/index.d.ts +2 -0
- package/es/row/style/index.js +4 -0
- package/es/segmented/index.d.ts +22 -0
- package/es/segmented/index.js +79 -0
- package/es/segmented/style/css.js +2 -0
- package/es/segmented/style/index-pure.less +122 -0
- package/es/segmented/style/index.css +132 -0
- package/es/segmented/style/index.d.ts +2 -0
- package/es/segmented/style/index.js +2 -0
- package/es/segmented/style/index.less +3 -0
- package/es/segmented/style/mixins.less +24 -0
- package/es/segmented/style/rtl.less +15 -0
- package/es/select/index.d.ts +44 -0
- package/es/select/index.js +166 -0
- package/es/select/style/css.js +4 -0
- package/es/select/style/index-pure.less +333 -0
- package/es/select/style/index.css +740 -0
- package/es/select/style/index.d.ts +3 -0
- package/es/select/style/index.js +4 -0
- package/es/select/style/index.less +3 -0
- package/es/select/style/multiple.less +222 -0
- package/es/select/style/rtl.less +168 -0
- package/es/select/style/single.less +172 -0
- package/es/select/style/status.less +49 -0
- package/es/select/utils/iconUtil.d.ts +24 -0
- package/es/select/utils/iconUtil.js +79 -0
- package/es/skeleton/Avatar.d.ts +7 -0
- package/es/skeleton/Avatar.js +33 -0
- package/es/skeleton/Button.d.ts +8 -0
- package/es/skeleton/Button.js +34 -0
- package/es/skeleton/Element.d.ts +11 -0
- package/es/skeleton/Element.js +29 -0
- package/es/skeleton/Image.d.ts +6 -0
- package/es/skeleton/Image.js +33 -0
- package/es/skeleton/Input.d.ts +8 -0
- package/es/skeleton/Input.js +33 -0
- package/es/skeleton/Node.d.ts +8 -0
- package/es/skeleton/Node.js +28 -0
- package/es/skeleton/Paragraph.d.ts +11 -0
- package/es/skeleton/Paragraph.js +47 -0
- package/es/skeleton/Skeleton.d.ts +32 -0
- package/es/skeleton/Skeleton.js +158 -0
- package/es/skeleton/Title.d.ts +9 -0
- package/es/skeleton/Title.js +20 -0
- package/es/skeleton/index.d.ts +3 -0
- package/es/skeleton/index.js +2 -0
- package/es/skeleton/style/css.js +2 -0
- package/es/skeleton/style/index-pure.less +290 -0
- package/es/skeleton/style/index.css +282 -0
- package/es/skeleton/style/index.d.ts +2 -0
- package/es/skeleton/style/index.js +2 -0
- package/es/skeleton/style/index.less +3 -0
- package/es/skeleton/style/rtl.less +48 -0
- package/es/slider/SliderTooltip.d.ts +4 -0
- package/es/slider/SliderTooltip.js +39 -0
- package/es/slider/index.d.ts +89 -0
- package/es/slider/index.js +154 -0
- package/es/slider/style/css.js +4 -0
- package/es/slider/style/index-pure.less +215 -0
- package/es/slider/style/index.css +202 -0
- package/es/slider/style/index.d.ts +3 -0
- package/es/slider/style/index.js +4 -0
- package/es/slider/style/index.less +3 -0
- package/es/slider/style/rtl.less +49 -0
- package/es/space/Compact.d.ts +24 -0
- package/es/space/Compact.js +98 -0
- package/es/space/Item.d.ts +11 -0
- package/es/space/Item.js +47 -0
- package/es/space/index.d.ts +25 -0
- package/es/space/index.js +138 -0
- package/es/space/style/compact.less +17 -0
- package/es/space/style/css.js +2 -0
- package/es/space/style/index-pure.less +40 -0
- package/es/space/style/index.css +41 -0
- package/es/space/style/index.d.ts +2 -0
- package/es/space/style/index.js +2 -0
- package/es/space/style/index.less +3 -0
- package/es/space/style/rtl.less +14 -0
- package/es/spin/index.d.ts +24 -0
- package/es/spin/index.js +160 -0
- package/es/spin/style/css.js +2 -0
- package/es/spin/style/index-pure.less +218 -0
- package/es/spin/style/index.css +198 -0
- package/es/spin/style/index.d.ts +2 -0
- package/es/spin/style/index.js +2 -0
- package/es/spin/style/index.less +3 -0
- package/es/spin/style/rtl.less +20 -0
- package/es/statistic/Countdown.d.ts +11 -0
- package/es/statistic/Countdown.js +74 -0
- package/es/statistic/Number.d.ts +7 -0
- package/es/statistic/Number.js +53 -0
- package/es/statistic/Statistic.d.ts +22 -0
- package/es/statistic/Statistic.js +60 -0
- package/es/statistic/index.d.ts +3 -0
- package/es/statistic/index.js +4 -0
- package/es/statistic/style/css.js +4 -0
- package/es/statistic/style/index-pure.less +44 -0
- package/es/statistic/style/index.css +53 -0
- package/es/statistic/style/index.d.ts +3 -0
- package/es/statistic/style/index.js +4 -0
- package/es/statistic/style/index.less +3 -0
- package/es/statistic/style/rtl.less +21 -0
- package/es/statistic/utils.d.ts +16 -0
- package/es/statistic/utils.js +43 -0
- package/es/steps/index.d.ts +38 -0
- package/es/steps/index.js +104 -0
- package/es/steps/style/css.js +5 -0
- package/es/steps/style/custom-icon.less +32 -0
- package/es/steps/style/index-pure.less +255 -0
- package/es/steps/style/index.css +754 -0
- package/es/steps/style/index.d.ts +3 -0
- package/es/steps/style/index.js +5 -0
- package/es/steps/style/index.less +3 -0
- package/es/steps/style/label-placement.less +45 -0
- package/es/steps/style/nav.less +134 -0
- package/es/steps/style/progress-dot.less +113 -0
- package/es/steps/style/progress.less +36 -0
- package/es/steps/style/rtl.less +271 -0
- package/es/steps/style/small.less +48 -0
- package/es/steps/style/vertical.less +73 -0
- package/es/steps/useLegacyItems.d.ts +3 -0
- package/es/steps/useLegacyItems.js +30 -0
- package/es/style/color/bezierEasing.less +110 -0
- package/es/style/color/colorPalette.less +85 -0
- package/es/style/color/colors.less +162 -0
- package/es/style/color/tinyColor.less +1184 -0
- package/es/style/compact.less +4 -0
- package/es/style/core/base.less +10 -0
- package/es/style/core/global.less +491 -0
- package/es/style/core/iconfont.less +22 -0
- package/es/style/core/index.less +5 -0
- package/es/style/core/motion/fade.less +34 -0
- package/es/style/core/motion/move.less +129 -0
- package/es/style/core/motion/other.less +51 -0
- package/es/style/core/motion/slide.less +129 -0
- package/es/style/core/motion/zoom.less +179 -0
- package/es/style/core/motion.less +22 -0
- package/es/style/dark.less +4 -0
- package/es/style/default.less +4 -0
- package/es/style/index.d.ts +2 -0
- package/es/style/index.js +2 -0
- package/es/style/index.less +2 -0
- package/es/style/mixins/box.less +7 -0
- package/es/style/mixins/clearfix.less +16 -0
- package/es/style/mixins/compact-item-vertical.less +41 -0
- package/es/style/mixins/compact-item.less +133 -0
- package/es/style/mixins/compatibility.less +13 -0
- package/es/style/mixins/customize.less +181 -0
- package/es/style/mixins/iconfont.less +28 -0
- package/es/style/mixins/index.less +16 -0
- package/es/style/mixins/modal-mask.less +30 -0
- package/es/style/mixins/motion.less +33 -0
- package/es/style/mixins/operation-unit.less +15 -0
- package/es/style/mixins/reset.less +11 -0
- package/es/style/mixins/rounded-arrow.less +44 -0
- package/es/style/mixins/size.less +10 -0
- package/es/style/mixins/typography.less +58 -0
- package/es/style/theme.less +34 -0
- package/es/style/themes/compact.less +295 -0
- package/es/style/themes/dark.less +457 -0
- package/es/style/themes/default.less +1084 -0
- package/es/style/themes/index.less +7 -0
- package/es/style/themes/variable.less +1139 -0
- package/es/style/variable.less +4 -0
- package/es/switch/index.d.ts +26 -0
- package/es/switch/index.js +70 -0
- package/es/switch/style/css.js +2 -0
- package/es/switch/style/index-pure.less +154 -0
- package/es/switch/style/index.css +153 -0
- package/es/switch/style/index.d.ts +2 -0
- package/es/switch/style/index.js +2 -0
- package/es/switch/style/index.less +3 -0
- package/es/switch/style/rtl.less +52 -0
- package/es/table/Column.d.ts +7 -0
- package/es/table/Column.js +9 -0
- package/es/table/ColumnGroup.d.ts +9 -0
- package/es/table/ColumnGroup.js +9 -0
- package/es/table/ExpandIcon.d.ts +11 -0
- package/es/table/ExpandIcon.js +28 -0
- package/es/table/Table.d.ts +48 -0
- package/es/table/Table.js +444 -0
- package/es/table/hooks/useFilter/FilterDropdown.d.ts +27 -0
- package/es/table/hooks/useFilter/FilterDropdown.js +497 -0
- package/es/table/hooks/useFilter/FilterSearch.d.ts +11 -0
- package/es/table/hooks/useFilter/FilterSearch.js +29 -0
- package/es/table/hooks/useFilter/FilterWrapper.d.ts +7 -0
- package/es/table/hooks/useFilter/FilterWrapper.js +22 -0
- package/es/table/hooks/useFilter/index.d.ts +23 -0
- package/es/table/hooks/useFilter/index.js +212 -0
- package/es/table/hooks/useLazyKVMap.d.ts +2 -0
- package/es/table/hooks/useLazyKVMap.js +37 -0
- package/es/table/hooks/usePagination.d.ts +4 -0
- package/es/table/hooks/usePagination.js +110 -0
- package/es/table/hooks/useSelection.d.ts +19 -0
- package/es/table/hooks/useSelection.js +616 -0
- package/es/table/hooks/useSorter.d.ts +24 -0
- package/es/table/hooks/useSorter.js +370 -0
- package/es/table/hooks/useTitleColumns.d.ts +2 -0
- package/es/table/hooks/useTitleColumns.js +24 -0
- package/es/table/index.d.ts +5 -0
- package/es/table/index.js +2 -0
- package/es/table/interface.d.ts +164 -0
- package/es/table/interface.js +2 -0
- package/es/table/style/bordered.less +136 -0
- package/es/table/style/css.js +15 -0
- package/es/table/style/index-pure.less +763 -0
- package/es/table/style/index.css +845 -0
- package/es/table/style/index.d.ts +12 -0
- package/es/table/style/index.js +15 -0
- package/es/table/style/index.less +3 -0
- package/es/table/style/radius.less +49 -0
- package/es/table/style/rtl.less +168 -0
- package/es/table/style/size.less +51 -0
- package/es/table/util.d.ts +14 -0
- package/es/table/util.js +35 -0
- package/es/tabs/TabPane.d.ts +5 -0
- package/es/tabs/TabPane.js +9 -0
- package/es/tabs/hooks/useAnimateConfig.d.ts +3 -0
- package/es/tabs/hooks/useAnimateConfig.js +39 -0
- package/es/tabs/hooks/useLegacyItems.d.ts +4 -0
- package/es/tabs/hooks/useLegacyItems.js +53 -0
- package/es/tabs/index.d.ts +21 -0
- package/es/tabs/index.js +92 -0
- package/es/tabs/style/card.less +98 -0
- package/es/tabs/style/css.js +2 -0
- package/es/tabs/style/dropdown.less +82 -0
- package/es/tabs/style/index-pure.less +253 -0
- package/es/tabs/style/index.css +630 -0
- package/es/tabs/style/index.d.ts +2 -0
- package/es/tabs/style/index.js +2 -0
- package/es/tabs/style/index.less +3 -0
- package/es/tabs/style/position.less +198 -0
- package/es/tabs/style/rtl.less +86 -0
- package/es/tabs/style/size.less +42 -0
- package/es/tag/CheckableTag.d.ts +17 -0
- package/es/tag/CheckableTag.js +47 -0
- package/es/tag/index.d.ts +22 -0
- package/es/tag/index.js +127 -0
- package/es/tag/style/css.js +2 -0
- package/es/tag/style/index-pure.less +129 -0
- package/es/tag/style/index.css +247 -0
- package/es/tag/style/index.d.ts +2 -0
- package/es/tag/style/index.js +2 -0
- package/es/tag/style/index.less +3 -0
- package/es/tag/style/rtl.less +28 -0
- package/es/time-picker/index.d.ts +33 -0
- package/es/time-picker/index.js +65 -0
- package/es/time-picker/locale/ar_EG.d.ts +3 -0
- package/es/time-picker/locale/ar_EG.js +4 -0
- package/es/time-picker/locale/az_AZ.d.ts +3 -0
- package/es/time-picker/locale/az_AZ.js +4 -0
- package/es/time-picker/locale/bg_BG.d.ts +3 -0
- package/es/time-picker/locale/bg_BG.js +4 -0
- package/es/time-picker/locale/bn_BD.d.ts +3 -0
- package/es/time-picker/locale/bn_BD.js +5 -0
- package/es/time-picker/locale/by_BY.d.ts +3 -0
- package/es/time-picker/locale/by_BY.js +5 -0
- package/es/time-picker/locale/ca_ES.d.ts +3 -0
- package/es/time-picker/locale/ca_ES.js +4 -0
- package/es/time-picker/locale/cs_CZ.d.ts +3 -0
- package/es/time-picker/locale/cs_CZ.js +4 -0
- package/es/time-picker/locale/da_DK.d.ts +3 -0
- package/es/time-picker/locale/da_DK.js +5 -0
- package/es/time-picker/locale/de_DE.d.ts +3 -0
- package/es/time-picker/locale/de_DE.js +4 -0
- package/es/time-picker/locale/el_GR.d.ts +3 -0
- package/es/time-picker/locale/el_GR.js +4 -0
- package/es/time-picker/locale/en_GB.d.ts +3 -0
- package/es/time-picker/locale/en_GB.js +4 -0
- package/es/time-picker/locale/en_US.d.ts +3 -0
- package/es/time-picker/locale/en_US.js +5 -0
- package/es/time-picker/locale/es_ES.d.ts +3 -0
- package/es/time-picker/locale/es_ES.js +4 -0
- package/es/time-picker/locale/et_EE.d.ts +3 -0
- package/es/time-picker/locale/et_EE.js +4 -0
- package/es/time-picker/locale/fa_IR.d.ts +3 -0
- package/es/time-picker/locale/fa_IR.js +5 -0
- package/es/time-picker/locale/fi_FI.d.ts +3 -0
- package/es/time-picker/locale/fi_FI.js +4 -0
- package/es/time-picker/locale/fr_BE.d.ts +3 -0
- package/es/time-picker/locale/fr_BE.js +4 -0
- package/es/time-picker/locale/fr_CA.d.ts +3 -0
- package/es/time-picker/locale/fr_CA.js +5 -0
- package/es/time-picker/locale/fr_FR.d.ts +3 -0
- package/es/time-picker/locale/fr_FR.js +5 -0
- package/es/time-picker/locale/ga_IE.d.ts +3 -0
- package/es/time-picker/locale/ga_IE.js +5 -0
- package/es/time-picker/locale/gl_ES.d.ts +3 -0
- package/es/time-picker/locale/gl_ES.js +4 -0
- package/es/time-picker/locale/he_IL.d.ts +3 -0
- package/es/time-picker/locale/he_IL.js +4 -0
- package/es/time-picker/locale/hi_IN.d.ts +3 -0
- package/es/time-picker/locale/hi_IN.js +5 -0
- package/es/time-picker/locale/hr_HR.d.ts +3 -0
- package/es/time-picker/locale/hr_HR.js +5 -0
- package/es/time-picker/locale/hu_HU.d.ts +3 -0
- package/es/time-picker/locale/hu_HU.js +4 -0
- package/es/time-picker/locale/id_ID.d.ts +3 -0
- package/es/time-picker/locale/id_ID.js +4 -0
- package/es/time-picker/locale/is_IS.d.ts +3 -0
- package/es/time-picker/locale/is_IS.js +4 -0
- package/es/time-picker/locale/it_IT.d.ts +3 -0
- package/es/time-picker/locale/it_IT.js +4 -0
- package/es/time-picker/locale/ja_JP.d.ts +3 -0
- package/es/time-picker/locale/ja_JP.js +5 -0
- package/es/time-picker/locale/ka_GE.d.ts +3 -0
- package/es/time-picker/locale/ka_GE.js +5 -0
- package/es/time-picker/locale/kk_KZ.d.ts +3 -0
- package/es/time-picker/locale/kk_KZ.js +5 -0
- package/es/time-picker/locale/km_KH.d.ts +3 -0
- package/es/time-picker/locale/km_KH.js +5 -0
- package/es/time-picker/locale/kmr_IQ.d.ts +3 -0
- package/es/time-picker/locale/kmr_IQ.js +4 -0
- package/es/time-picker/locale/kn_IN.d.ts +3 -0
- package/es/time-picker/locale/kn_IN.js +4 -0
- package/es/time-picker/locale/ko_KR.d.ts +3 -0
- package/es/time-picker/locale/ko_KR.js +5 -0
- package/es/time-picker/locale/lt_LT.d.ts +3 -0
- package/es/time-picker/locale/lt_LT.js +5 -0
- package/es/time-picker/locale/lv_LV.d.ts +3 -0
- package/es/time-picker/locale/lv_LV.js +4 -0
- package/es/time-picker/locale/mk_MK.d.ts +3 -0
- package/es/time-picker/locale/mk_MK.js +4 -0
- package/es/time-picker/locale/ml_IN.d.ts +3 -0
- package/es/time-picker/locale/ml_IN.js +5 -0
- package/es/time-picker/locale/mn_MN.d.ts +3 -0
- package/es/time-picker/locale/mn_MN.js +4 -0
- package/es/time-picker/locale/ms_MY.d.ts +3 -0
- package/es/time-picker/locale/ms_MY.js +4 -0
- package/es/time-picker/locale/nb_NO.d.ts +3 -0
- package/es/time-picker/locale/nb_NO.js +5 -0
- package/es/time-picker/locale/nl_BE.d.ts +3 -0
- package/es/time-picker/locale/nl_BE.js +5 -0
- package/es/time-picker/locale/nl_NL.d.ts +3 -0
- package/es/time-picker/locale/nl_NL.js +5 -0
- package/es/time-picker/locale/pl_PL.d.ts +3 -0
- package/es/time-picker/locale/pl_PL.js +4 -0
- package/es/time-picker/locale/pt_BR.d.ts +3 -0
- package/es/time-picker/locale/pt_BR.js +4 -0
- package/es/time-picker/locale/pt_PT.d.ts +3 -0
- package/es/time-picker/locale/pt_PT.js +4 -0
- package/es/time-picker/locale/ro_RO.d.ts +3 -0
- package/es/time-picker/locale/ro_RO.js +4 -0
- package/es/time-picker/locale/ru_RU.d.ts +4 -0
- package/es/time-picker/locale/ru_RU.js +5 -0
- package/es/time-picker/locale/si_LK.d.ts +3 -0
- package/es/time-picker/locale/si_LK.js +5 -0
- package/es/time-picker/locale/sk_SK.d.ts +3 -0
- package/es/time-picker/locale/sk_SK.js +4 -0
- package/es/time-picker/locale/sl_SI.d.ts +3 -0
- package/es/time-picker/locale/sl_SI.js +4 -0
- package/es/time-picker/locale/sr_RS.d.ts +3 -0
- package/es/time-picker/locale/sr_RS.js +5 -0
- package/es/time-picker/locale/sv_SE.d.ts +3 -0
- package/es/time-picker/locale/sv_SE.js +4 -0
- package/es/time-picker/locale/ta_IN.d.ts +3 -0
- package/es/time-picker/locale/ta_IN.js +4 -0
- package/es/time-picker/locale/th_TH.d.ts +3 -0
- package/es/time-picker/locale/th_TH.js +4 -0
- package/es/time-picker/locale/tk_TK.d.ts +3 -0
- package/es/time-picker/locale/tk_TK.js +5 -0
- package/es/time-picker/locale/tr_TR.d.ts +3 -0
- package/es/time-picker/locale/tr_TR.js +5 -0
- package/es/time-picker/locale/uk_UA.d.ts +3 -0
- package/es/time-picker/locale/uk_UA.js +4 -0
- package/es/time-picker/locale/ur_PK.d.ts +3 -0
- package/es/time-picker/locale/ur_PK.js +5 -0
- package/es/time-picker/locale/vi_VN.d.ts +3 -0
- package/es/time-picker/locale/vi_VN.js +4 -0
- package/es/time-picker/locale/zh_CN.d.ts +3 -0
- package/es/time-picker/locale/zh_CN.js +5 -0
- package/es/time-picker/locale/zh_TW.d.ts +3 -0
- package/es/time-picker/locale/zh_TW.js +4 -0
- package/es/time-picker/style/css.js +4 -0
- package/es/time-picker/style/index-pure.less +3 -0
- package/es/time-picker/style/index.css +4 -0
- package/es/time-picker/style/index.d.ts +3 -0
- package/es/time-picker/style/index.js +4 -0
- package/es/time-picker/style/index.less +3 -0
- package/es/timeline/Timeline.d.ts +18 -0
- package/es/timeline/Timeline.js +94 -0
- package/es/timeline/TimelineItem.d.ts +17 -0
- package/es/timeline/TimelineItem.js +60 -0
- package/es/timeline/index.d.ts +4 -0
- package/es/timeline/index.js +2 -0
- package/es/timeline/style/css.js +2 -0
- package/es/timeline/style/index-pure.less +185 -0
- package/es/timeline/style/index.css +236 -0
- package/es/timeline/style/index.d.ts +2 -0
- package/es/timeline/style/index.js +2 -0
- package/es/timeline/style/index.less +3 -0
- package/es/timeline/style/rtl.less +135 -0
- package/es/tooltip/index.d.ts +70 -0
- package/es/tooltip/index.js +259 -0
- package/es/tooltip/style/css.js +2 -0
- package/es/tooltip/style/index-pure.less +224 -0
- package/es/tooltip/style/index.css +274 -0
- package/es/tooltip/style/index.d.ts +2 -0
- package/es/tooltip/style/index.js +2 -0
- package/es/tooltip/style/index.less +3 -0
- package/es/tooltip/style/rtl.less +14 -0
- package/es/transfer/ListBody.d.ts +29 -0
- package/es/transfer/ListBody.js +167 -0
- package/es/transfer/ListItem.d.ts +15 -0
- package/es/transfer/ListItem.js +65 -0
- package/es/transfer/index.d.ts +140 -0
- package/es/transfer/index.js +449 -0
- package/es/transfer/interface.d.ts +6 -0
- package/es/transfer/interface.js +1 -0
- package/es/transfer/list.d.ts +75 -0
- package/es/transfer/list.js +406 -0
- package/es/transfer/operation.d.ts +17 -0
- package/es/transfer/operation.js +38 -0
- package/es/transfer/search.d.ts +10 -0
- package/es/transfer/search.js +28 -0
- package/es/transfer/style/css.js +9 -0
- package/es/transfer/style/customize.less +52 -0
- package/es/transfer/style/index-pure.less +222 -0
- package/es/transfer/style/index.css +281 -0
- package/es/transfer/style/index.d.ts +8 -0
- package/es/transfer/style/index.js +9 -0
- package/es/transfer/style/index.less +3 -0
- package/es/transfer/style/rtl.less +71 -0
- package/es/transfer/style/status.less +31 -0
- package/es/tree/DirectoryTree.d.ts +20 -0
- package/es/tree/DirectoryTree.js +195 -0
- package/es/tree/Tree.d.ts +133 -0
- package/es/tree/Tree.js +95 -0
- package/es/tree/index.d.ts +19 -0
- package/es/tree/index.js +7 -0
- package/es/tree/style/css.js +2 -0
- package/es/tree/style/directory.less +72 -0
- package/es/tree/style/index-pure.less +16 -0
- package/es/tree/style/index.css +532 -0
- package/es/tree/style/index.d.ts +2 -0
- package/es/tree/style/index.js +2 -0
- package/es/tree/style/index.less +3 -0
- package/es/tree/style/mixin.less +337 -0
- package/es/tree/style/rtl.less +72 -0
- package/es/tree/utils/dictUtil.d.ts +9 -0
- package/es/tree/utils/dictUtil.js +84 -0
- package/es/tree/utils/dropIndicator.d.ts +9 -0
- package/es/tree/utils/dropIndicator.js +37 -0
- package/es/tree/utils/iconUtil.d.ts +5 -0
- package/es/tree/utils/iconUtil.js +76 -0
- package/es/tree-select/index.d.ts +48 -0
- package/es/tree-select/index.js +175 -0
- package/es/tree-select/style/css.js +6 -0
- package/es/tree-select/style/index-pure.less +57 -0
- package/es/tree-select/style/index.css +481 -0
- package/es/tree-select/style/index.d.ts +4 -0
- package/es/tree-select/style/index.js +6 -0
- package/es/tree-select/style/index.less +3 -0
- package/es/typography/Base/Ellipsis.d.ts +15 -0
- package/es/typography/Base/Ellipsis.js +198 -0
- package/es/typography/Base/EllipsisTooltip.d.ts +13 -0
- package/es/typography/Base/EllipsisTooltip.js +24 -0
- package/es/typography/Base/index.d.ts +52 -0
- package/es/typography/Base/index.js +528 -0
- package/es/typography/Editable.d.ts +20 -0
- package/es/typography/Editable.js +115 -0
- package/es/typography/Link.d.ts +7 -0
- package/es/typography/Link.js +39 -0
- package/es/typography/Paragraph.d.ts +6 -0
- package/es/typography/Paragraph.js +11 -0
- package/es/typography/Text.d.ts +7 -0
- package/es/typography/Text.js +42 -0
- package/es/typography/Title.d.ts +8 -0
- package/es/typography/Title.js +41 -0
- package/es/typography/Typography.d.ts +17 -0
- package/es/typography/Typography.js +61 -0
- package/es/typography/hooks/useMergedConfig.d.ts +1 -0
- package/es/typography/hooks/useMergedConfig.js +9 -0
- package/es/typography/hooks/useUpdatedEffect.d.ts +4 -0
- package/es/typography/hooks/useUpdatedEffect.js +15 -0
- package/es/typography/index.d.ts +13 -0
- package/es/typography/index.js +11 -0
- package/es/typography/style/css.js +5 -0
- package/es/typography/style/index-pure.less +314 -0
- package/es/typography/style/index.css +369 -0
- package/es/typography/style/index.d.ts +4 -0
- package/es/typography/style/index.js +5 -0
- package/es/typography/style/index.less +3 -0
- package/es/typography/style/rtl.less +54 -0
- package/es/upload/Dragger.d.ts +9 -0
- package/es/upload/Dragger.js +37 -0
- package/es/upload/Upload.d.ts +6 -0
- package/es/upload/Upload.js +498 -0
- package/es/upload/UploadList/ListItem.d.ts +27 -0
- package/es/upload/UploadList/ListItem.js +211 -0
- package/es/upload/UploadList/index.d.ts +4 -0
- package/es/upload/UploadList/index.js +254 -0
- package/es/upload/index.d.ts +14 -0
- package/es/upload/index.js +6 -0
- package/es/upload/interface.d.ts +134 -0
- package/es/upload/interface.js +1 -0
- package/es/upload/style/css.js +7 -0
- package/es/upload/style/index-pure.less +565 -0
- package/es/upload/style/index.css +588 -0
- package/es/upload/style/index.d.ts +5 -0
- package/es/upload/style/index.js +7 -0
- package/es/upload/style/index.less +3 -0
- package/es/upload/style/rtl.less +165 -0
- package/es/upload/utils.d.ts +8 -0
- package/es/upload/utils.js +138 -0
- package/es/version/index.d.ts +2 -0
- package/es/version/index.js +4 -0
- package/es/version/style/css.js +2 -0
- package/es/version/style/index.d.ts +1 -0
- package/es/version/style/index.js +2 -0
- package/es/version/token.d.ts +319 -0
- package/es/version/token.js +318 -0
- package/es/version/version.d.ts +2 -0
- package/es/version/version.js +1 -0
- package/lib/_util/ActionButton.d.ts +15 -0
- package/lib/_util/ActionButton.js +135 -0
- package/lib/_util/colors.d.ts +5 -0
- package/lib/_util/colors.js +14 -0
- package/lib/_util/easings.d.ts +1 -0
- package/lib/_util/easings.js +18 -0
- package/lib/_util/getDataOrAriaProps.d.ts +1 -0
- package/lib/_util/getDataOrAriaProps.js +16 -0
- package/lib/_util/getRenderPropValue.d.ts +3 -0
- package/lib/_util/getRenderPropValue.js +20 -0
- package/lib/_util/getScroll.d.ts +2 -0
- package/lib/_util/getScroll.js +43 -0
- package/lib/_util/hooks/useFlexGapSupport.d.ts +2 -0
- package/lib/_util/hooks/useFlexGapSupport.js +30 -0
- package/lib/_util/hooks/useForceUpdate.d.ts +2 -0
- package/lib/_util/hooks/useForceUpdate.js +24 -0
- package/lib/_util/hooks/usePatchElement.d.ts +5 -0
- package/lib/_util/hooks/usePatchElement.js +40 -0
- package/lib/_util/hooks/useSyncState.d.ts +3 -0
- package/lib/_util/hooks/useSyncState.js +26 -0
- package/lib/_util/isNumeric.d.ts +2 -0
- package/lib/_util/isNumeric.js +13 -0
- package/lib/_util/motion.d.ts +8 -0
- package/lib/_util/motion.js +71 -0
- package/lib/_util/placements.d.ts +17 -0
- package/lib/_util/placements.js +102 -0
- package/lib/_util/raf.d.ts +9 -0
- package/lib/_util/raf.js +43 -0
- package/lib/_util/reactNode.d.ts +8 -0
- package/lib/_util/reactNode.js +32 -0
- package/lib/_util/responsiveObserve.d.ts +21 -0
- package/lib/_util/responsiveObserve.js +81 -0
- package/lib/_util/scrollTo.d.ts +10 -0
- package/lib/_util/scrollTo.js +52 -0
- package/lib/_util/statusUtils.d.ts +6 -0
- package/lib/_util/statusUtils.js +29 -0
- package/lib/_util/styleChecker.d.ts +4 -0
- package/lib/_util/styleChecker.js +52 -0
- package/lib/_util/throttleByAnimationFrame.d.ts +8 -0
- package/lib/_util/throttleByAnimationFrame.js +72 -0
- package/lib/_util/transButton.d.ts +9 -0
- package/lib/_util/transButton.js +89 -0
- package/lib/_util/type.d.ts +9 -0
- package/lib/_util/type.js +26 -0
- package/lib/_util/warning.d.ts +6 -0
- package/lib/_util/warning.js +35 -0
- package/lib/_util/wave.d.ts +32 -0
- package/lib/_util/wave.js +270 -0
- package/lib/affix/index.d.ts +54 -0
- package/lib/affix/index.js +350 -0
- package/lib/affix/style/css.js +5 -0
- package/lib/affix/style/index-pure.less +6 -0
- package/lib/affix/style/index.css +8 -0
- package/lib/affix/style/index.d.ts +2 -0
- package/lib/affix/style/index.js +5 -0
- package/lib/affix/style/index.less +3 -0
- package/lib/affix/utils.d.ts +15 -0
- package/lib/affix/utils.js +107 -0
- package/lib/alert/ErrorBoundary.d.ts +23 -0
- package/lib/alert/ErrorBoundary.js +80 -0
- package/lib/alert/index.d.ts +38 -0
- package/lib/alert/index.js +222 -0
- package/lib/alert/style/css.js +5 -0
- package/lib/alert/style/index-pure.less +155 -0
- package/lib/alert/style/index.css +156 -0
- package/lib/alert/style/index.d.ts +2 -0
- package/lib/alert/style/index.js +5 -0
- package/lib/alert/style/index.less +3 -0
- package/lib/alert/style/rtl.less +40 -0
- package/lib/anchor/Anchor.d.ts +44 -0
- package/lib/anchor/Anchor.js +285 -0
- package/lib/anchor/AnchorLink.d.ts +11 -0
- package/lib/anchor/AnchorLink.js +73 -0
- package/lib/anchor/context.d.ts +4 -0
- package/lib/anchor/context.js +14 -0
- package/lib/anchor/index.d.ts +10 -0
- package/lib/anchor/index.js +17 -0
- package/lib/anchor/style/css.js +7 -0
- package/lib/anchor/style/index-pure.less +86 -0
- package/lib/anchor/style/index.css +100 -0
- package/lib/anchor/style/index.d.ts +3 -0
- package/lib/anchor/style/index.js +7 -0
- package/lib/anchor/style/index.less +3 -0
- package/lib/anchor/style/rtl.less +35 -0
- package/lib/auto-complete/index.d.ts +35 -0
- package/lib/auto-complete/index.js +125 -0
- package/lib/auto-complete/style/css.js +7 -0
- package/lib/auto-complete/style/index-pure.less +16 -0
- package/lib/auto-complete/style/index.css +18 -0
- package/lib/auto-complete/style/index.d.ts +3 -0
- package/lib/auto-complete/style/index.js +7 -0
- package/lib/auto-complete/style/index.less +3 -0
- package/lib/avatar/SizeContext.d.ts +10 -0
- package/lib/avatar/SizeContext.js +26 -0
- package/lib/avatar/avatar.d.ts +25 -0
- package/lib/avatar/avatar.js +225 -0
- package/lib/avatar/group.d.ts +15 -0
- package/lib/avatar/group.js +84 -0
- package/lib/avatar/index.d.ts +11 -0
- package/lib/avatar/index.js +23 -0
- package/lib/avatar/style/css.js +7 -0
- package/lib/avatar/style/group.less +17 -0
- package/lib/avatar/style/index-pure.less +70 -0
- package/lib/avatar/style/index.css +108 -0
- package/lib/avatar/style/index.d.ts +3 -0
- package/lib/avatar/style/index.js +7 -0
- package/lib/avatar/style/index.less +3 -0
- package/lib/avatar/style/rtl.less +15 -0
- package/lib/back-top/index.d.ts +14 -0
- package/lib/back-top/index.js +151 -0
- package/lib/back-top/style/css.js +5 -0
- package/lib/back-top/style/index-pure.less +49 -0
- package/lib/back-top/style/index.css +66 -0
- package/lib/back-top/style/index.d.ts +2 -0
- package/lib/back-top/style/index.js +5 -0
- package/lib/back-top/style/index.less +3 -0
- package/lib/back-top/style/responsive.less +21 -0
- package/lib/badge/Ribbon.d.ts +15 -0
- package/lib/badge/Ribbon.js +65 -0
- package/lib/badge/ScrollNumber.d.ts +18 -0
- package/lib/badge/ScrollNumber.js +98 -0
- package/lib/badge/SingleNumber.d.ts +13 -0
- package/lib/badge/SingleNumber.js +137 -0
- package/lib/badge/index.d.ts +30 -0
- package/lib/badge/index.js +205 -0
- package/lib/badge/style/css.js +5 -0
- package/lib/badge/style/index-pure.less +281 -0
- package/lib/badge/style/index.css +460 -0
- package/lib/badge/style/index.d.ts +2 -0
- package/lib/badge/style/index.js +5 -0
- package/lib/badge/style/index.less +3 -0
- package/lib/badge/style/ribbon.less +81 -0
- package/lib/badge/style/rtl.less +100 -0
- package/lib/badge/utils.d.ts +1 -0
- package/lib/badge/utils.js +13 -0
- package/lib/breadcrumb/Breadcrumb.d.ts +24 -0
- package/lib/breadcrumb/Breadcrumb.js +169 -0
- package/lib/breadcrumb/BreadcrumbItem.d.ts +19 -0
- package/lib/breadcrumb/BreadcrumbItem.js +98 -0
- package/lib/breadcrumb/BreadcrumbSeparator.d.ts +7 -0
- package/lib/breadcrumb/BreadcrumbSeparator.js +28 -0
- package/lib/breadcrumb/index.d.ts +4 -0
- package/lib/breadcrumb/index.js +13 -0
- package/lib/breadcrumb/style/css.js +9 -0
- package/lib/breadcrumb/style/index-pure.less +64 -0
- package/lib/breadcrumb/style/index.css +77 -0
- package/lib/breadcrumb/style/index.d.ts +4 -0
- package/lib/breadcrumb/style/index.js +9 -0
- package/lib/breadcrumb/style/index.less +3 -0
- package/lib/breadcrumb/style/rtl.less +29 -0
- package/lib/button/LoadingIcon.d.ts +8 -0
- package/lib/button/LoadingIcon.js +69 -0
- package/lib/button/button-group.d.ts +12 -0
- package/lib/button/button-group.js +83 -0
- package/lib/button/button.d.ts +47 -0
- package/lib/button/button.js +302 -0
- package/lib/button/index.d.ts +5 -0
- package/lib/button/index.js +13 -0
- package/lib/button/style/css.js +5 -0
- package/lib/button/style/index-pure.less +293 -0
- package/lib/button/style/index.css +1987 -0
- package/lib/button/style/index.d.ts +2 -0
- package/lib/button/style/index.js +5 -0
- package/lib/button/style/index.less +3 -0
- package/lib/button/style/mixin.less +589 -0
- package/lib/button/style/rtl.less +90 -0
- package/lib/button/style/space-compact.less +88 -0
- package/lib/calendar/Header.d.ts +17 -0
- package/lib/calendar/Header.js +191 -0
- package/lib/calendar/generateCalendar.d.ts +41 -0
- package/lib/calendar/generateCalendar.js +214 -0
- package/lib/calendar/index.d.ts +5 -0
- package/lib/calendar/index.js +16 -0
- package/lib/calendar/locale/ar_EG.d.ts +2 -0
- package/lib/calendar/locale/ar_EG.js +13 -0
- package/lib/calendar/locale/az_AZ.d.ts +2 -0
- package/lib/calendar/locale/az_AZ.js +13 -0
- package/lib/calendar/locale/bg_BG.d.ts +2 -0
- package/lib/calendar/locale/bg_BG.js +13 -0
- package/lib/calendar/locale/bn_BD.d.ts +2 -0
- package/lib/calendar/locale/bn_BD.js +13 -0
- package/lib/calendar/locale/by_BY.d.ts +2 -0
- package/lib/calendar/locale/by_BY.js +13 -0
- package/lib/calendar/locale/ca_ES.d.ts +2 -0
- package/lib/calendar/locale/ca_ES.js +13 -0
- package/lib/calendar/locale/cs_CZ.d.ts +2 -0
- package/lib/calendar/locale/cs_CZ.js +13 -0
- package/lib/calendar/locale/da_DK.d.ts +2 -0
- package/lib/calendar/locale/da_DK.js +13 -0
- package/lib/calendar/locale/de_DE.d.ts +2 -0
- package/lib/calendar/locale/de_DE.js +13 -0
- package/lib/calendar/locale/el_GR.d.ts +2 -0
- package/lib/calendar/locale/el_GR.js +13 -0
- package/lib/calendar/locale/en_GB.d.ts +2 -0
- package/lib/calendar/locale/en_GB.js +13 -0
- package/lib/calendar/locale/en_US.d.ts +2 -0
- package/lib/calendar/locale/en_US.js +13 -0
- package/lib/calendar/locale/es_ES.d.ts +2 -0
- package/lib/calendar/locale/es_ES.js +13 -0
- package/lib/calendar/locale/et_EE.d.ts +2 -0
- package/lib/calendar/locale/et_EE.js +13 -0
- package/lib/calendar/locale/fa_IR.d.ts +2 -0
- package/lib/calendar/locale/fa_IR.js +13 -0
- package/lib/calendar/locale/fi_FI.d.ts +2 -0
- package/lib/calendar/locale/fi_FI.js +13 -0
- package/lib/calendar/locale/fr_BE.d.ts +2 -0
- package/lib/calendar/locale/fr_BE.js +13 -0
- package/lib/calendar/locale/fr_CA.d.ts +2 -0
- package/lib/calendar/locale/fr_CA.js +13 -0
- package/lib/calendar/locale/fr_FR.d.ts +2 -0
- package/lib/calendar/locale/fr_FR.js +13 -0
- package/lib/calendar/locale/ga_IE.d.ts +2 -0
- package/lib/calendar/locale/ga_IE.js +13 -0
- package/lib/calendar/locale/gl_ES.d.ts +2 -0
- package/lib/calendar/locale/gl_ES.js +13 -0
- package/lib/calendar/locale/he_IL.d.ts +2 -0
- package/lib/calendar/locale/he_IL.js +13 -0
- package/lib/calendar/locale/hi_IN.d.ts +2 -0
- package/lib/calendar/locale/hi_IN.js +13 -0
- package/lib/calendar/locale/hr_HR.d.ts +2 -0
- package/lib/calendar/locale/hr_HR.js +13 -0
- package/lib/calendar/locale/hu_HU.d.ts +2 -0
- package/lib/calendar/locale/hu_HU.js +13 -0
- package/lib/calendar/locale/id_ID.d.ts +2 -0
- package/lib/calendar/locale/id_ID.js +13 -0
- package/lib/calendar/locale/is_IS.d.ts +2 -0
- package/lib/calendar/locale/is_IS.js +13 -0
- package/lib/calendar/locale/it_IT.d.ts +2 -0
- package/lib/calendar/locale/it_IT.js +13 -0
- package/lib/calendar/locale/ja_JP.d.ts +2 -0
- package/lib/calendar/locale/ja_JP.js +13 -0
- package/lib/calendar/locale/ka_GE.d.ts +2 -0
- package/lib/calendar/locale/ka_GE.js +13 -0
- package/lib/calendar/locale/kk_KZ.d.ts +2 -0
- package/lib/calendar/locale/kk_KZ.js +13 -0
- package/lib/calendar/locale/km_KH.d.ts +2 -0
- package/lib/calendar/locale/km_KH.js +13 -0
- package/lib/calendar/locale/kmr_IQ.d.ts +2 -0
- package/lib/calendar/locale/kmr_IQ.js +13 -0
- package/lib/calendar/locale/kn_IN.d.ts +2 -0
- package/lib/calendar/locale/kn_IN.js +13 -0
- package/lib/calendar/locale/ko_KR.d.ts +2 -0
- package/lib/calendar/locale/ko_KR.js +13 -0
- package/lib/calendar/locale/lt_LT.d.ts +2 -0
- package/lib/calendar/locale/lt_LT.js +13 -0
- package/lib/calendar/locale/lv_LV.d.ts +2 -0
- package/lib/calendar/locale/lv_LV.js +13 -0
- package/lib/calendar/locale/mk_MK.d.ts +2 -0
- package/lib/calendar/locale/mk_MK.js +13 -0
- package/lib/calendar/locale/ml_IN.d.ts +2 -0
- package/lib/calendar/locale/ml_IN.js +13 -0
- package/lib/calendar/locale/mn_MN.d.ts +2 -0
- package/lib/calendar/locale/mn_MN.js +13 -0
- package/lib/calendar/locale/ms_MY.d.ts +2 -0
- package/lib/calendar/locale/ms_MY.js +13 -0
- package/lib/calendar/locale/nb_NO.d.ts +2 -0
- package/lib/calendar/locale/nb_NO.js +13 -0
- package/lib/calendar/locale/nl_BE.d.ts +2 -0
- package/lib/calendar/locale/nl_BE.js +13 -0
- package/lib/calendar/locale/nl_NL.d.ts +2 -0
- package/lib/calendar/locale/nl_NL.js +13 -0
- package/lib/calendar/locale/pl_PL.d.ts +2 -0
- package/lib/calendar/locale/pl_PL.js +13 -0
- package/lib/calendar/locale/pt_BR.d.ts +2 -0
- package/lib/calendar/locale/pt_BR.js +13 -0
- package/lib/calendar/locale/pt_PT.d.ts +2 -0
- package/lib/calendar/locale/pt_PT.js +13 -0
- package/lib/calendar/locale/ro_RO.d.ts +2 -0
- package/lib/calendar/locale/ro_RO.js +13 -0
- package/lib/calendar/locale/ru_RU.d.ts +2 -0
- package/lib/calendar/locale/ru_RU.js +13 -0
- package/lib/calendar/locale/si_LK.d.ts +2 -0
- package/lib/calendar/locale/si_LK.js +13 -0
- package/lib/calendar/locale/sk_SK.d.ts +2 -0
- package/lib/calendar/locale/sk_SK.js +13 -0
- package/lib/calendar/locale/sl_SI.d.ts +2 -0
- package/lib/calendar/locale/sl_SI.js +13 -0
- package/lib/calendar/locale/sr_RS.d.ts +2 -0
- package/lib/calendar/locale/sr_RS.js +13 -0
- package/lib/calendar/locale/sv_SE.d.ts +2 -0
- package/lib/calendar/locale/sv_SE.js +13 -0
- package/lib/calendar/locale/ta_IN.d.ts +2 -0
- package/lib/calendar/locale/ta_IN.js +13 -0
- package/lib/calendar/locale/th_TH.d.ts +2 -0
- package/lib/calendar/locale/th_TH.js +13 -0
- package/lib/calendar/locale/tk_TK.d.ts +2 -0
- package/lib/calendar/locale/tk_TK.js +13 -0
- package/lib/calendar/locale/tr_TR.d.ts +2 -0
- package/lib/calendar/locale/tr_TR.js +13 -0
- package/lib/calendar/locale/uk_UA.d.ts +2 -0
- package/lib/calendar/locale/uk_UA.js +13 -0
- package/lib/calendar/locale/ur_PK.d.ts +2 -0
- package/lib/calendar/locale/ur_PK.js +13 -0
- package/lib/calendar/locale/vi_VN.d.ts +2 -0
- package/lib/calendar/locale/vi_VN.js +13 -0
- package/lib/calendar/locale/zh_CN.d.ts +2 -0
- package/lib/calendar/locale/zh_CN.js +13 -0
- package/lib/calendar/locale/zh_TW.d.ts +2 -0
- package/lib/calendar/locale/zh_TW.js +13 -0
- package/lib/calendar/style/css.js +11 -0
- package/lib/calendar/style/index-pure.less +196 -0
- package/lib/calendar/style/index.css +175 -0
- package/lib/calendar/style/index.d.ts +5 -0
- package/lib/calendar/style/index.js +11 -0
- package/lib/calendar/style/index.less +3 -0
- package/lib/calendar/style/rtl.less +46 -0
- package/lib/card/Card.d.ts +35 -0
- package/lib/card/Card.js +172 -0
- package/lib/card/Grid.d.ts +9 -0
- package/lib/card/Grid.js +53 -0
- package/lib/card/Meta.d.ts +11 -0
- package/lib/card/Meta.js +65 -0
- package/lib/card/index.d.ts +13 -0
- package/lib/card/index.js +20 -0
- package/lib/card/style/css.js +9 -0
- package/lib/card/style/index-pure.less +276 -0
- package/lib/card/style/index.css +275 -0
- package/lib/card/style/index.d.ts +4 -0
- package/lib/card/style/index.js +9 -0
- package/lib/card/style/index.less +3 -0
- package/lib/card/style/size.less +20 -0
- package/lib/carousel/index.d.ts +24 -0
- package/lib/carousel/index.js +104 -0
- package/lib/carousel/style/css.js +5 -0
- package/lib/carousel/style/index-pure.less +304 -0
- package/lib/carousel/style/index.css +286 -0
- package/lib/carousel/style/index.d.ts +2 -0
- package/lib/carousel/style/index.js +5 -0
- package/lib/carousel/style/index.less +3 -0
- package/lib/carousel/style/rtl.less +54 -0
- package/lib/cascader/index.d.ts +43 -0
- package/lib/cascader/index.js +276 -0
- package/lib/cascader/style/css.js +9 -0
- package/lib/cascader/style/index-pure.less +108 -0
- package/lib/cascader/style/index.css +332 -0
- package/lib/cascader/style/index.d.ts +4 -0
- package/lib/cascader/style/index.js +9 -0
- package/lib/cascader/style/index.less +3 -0
- package/lib/cascader/style/rtl.less +19 -0
- package/lib/checkbox/Checkbox.d.ts +37 -0
- package/lib/checkbox/Checkbox.js +144 -0
- package/lib/checkbox/Group.d.ts +35 -0
- package/lib/checkbox/Group.js +176 -0
- package/lib/checkbox/index.d.ts +10 -0
- package/lib/checkbox/index.js +18 -0
- package/lib/checkbox/style/css.js +5 -0
- package/lib/checkbox/style/index-pure.less +6 -0
- package/lib/checkbox/style/index.css +225 -0
- package/lib/checkbox/style/index.d.ts +2 -0
- package/lib/checkbox/style/index.js +5 -0
- package/lib/checkbox/style/index.less +3 -0
- package/lib/checkbox/style/mixin.less +241 -0
- package/lib/checkbox/style/rtl.less +28 -0
- package/lib/col/index.d.ts +3 -0
- package/lib/col/index.js +11 -0
- package/lib/col/style/css.js +5 -0
- package/lib/col/style/index.d.ts +2 -0
- package/lib/col/style/index.js +5 -0
- package/lib/collapse/Collapse.d.ts +40 -0
- package/lib/collapse/Collapse.js +116 -0
- package/lib/collapse/CollapsePanel.d.ts +19 -0
- package/lib/collapse/CollapsePanel.js +46 -0
- package/lib/collapse/index.d.ts +4 -0
- package/lib/collapse/index.js +13 -0
- package/lib/collapse/style/css.js +5 -0
- package/lib/collapse/style/index-pure.less +174 -0
- package/lib/collapse/style/index.css +174 -0
- package/lib/collapse/style/index.d.ts +2 -0
- package/lib/collapse/style/index.js +5 -0
- package/lib/collapse/style/index.less +3 -0
- package/lib/collapse/style/rtl.less +68 -0
- package/lib/comment/index.d.ts +23 -0
- package/lib/comment/index.js +92 -0
- package/lib/comment/style/css.js +5 -0
- package/lib/comment/style/index-pure.less +105 -0
- package/lib/comment/style/index.css +112 -0
- package/lib/comment/style/index.d.ts +2 -0
- package/lib/comment/style/index.js +5 -0
- package/lib/comment/style/index.less +3 -0
- package/lib/comment/style/rtl.less +51 -0
- package/lib/config-provider/index.js +12 -41
- package/lib/date-picker/PickerButton.d.ts +3 -0
- package/lib/date-picker/PickerButton.js +23 -0
- package/lib/date-picker/PickerTag.d.ts +3 -0
- package/lib/date-picker/PickerTag.js +22 -0
- package/lib/date-picker/generatePicker/generateRangePicker.d.ts +11 -0
- package/lib/date-picker/generatePicker/generateRangePicker.js +179 -0
- package/lib/date-picker/generatePicker/generateSinglePicker.d.ts +71 -0
- package/lib/date-picker/generatePicker/generateSinglePicker.js +204 -0
- package/lib/date-picker/generatePicker/index.d.ts +143 -0
- package/lib/date-picker/generatePicker/index.js +104 -0
- package/lib/date-picker/generatePicker/interface.d.ts +12 -0
- package/lib/date-picker/generatePicker/interface.js +5 -0
- package/lib/date-picker/index.d.ts +54 -0
- package/lib/date-picker/index.js +16 -0
- package/lib/date-picker/locale/ar_EG.d.ts +3 -0
- package/lib/date-picker/locale/ar_EG.js +31 -0
- package/lib/date-picker/locale/az_AZ.d.ts +3 -0
- package/lib/date-picker/locale/az_AZ.js +24 -0
- package/lib/date-picker/locale/bg_BG.d.ts +3 -0
- package/lib/date-picker/locale/bg_BG.js +27 -0
- package/lib/date-picker/locale/bn_BD.d.ts +3 -0
- package/lib/date-picker/locale/bn_BD.js +34 -0
- package/lib/date-picker/locale/by_BY.d.ts +3 -0
- package/lib/date-picker/locale/by_BY.js +32 -0
- package/lib/date-picker/locale/ca_ES.d.ts +3 -0
- package/lib/date-picker/locale/ca_ES.js +27 -0
- package/lib/date-picker/locale/cs_CZ.d.ts +3 -0
- package/lib/date-picker/locale/cs_CZ.js +27 -0
- package/lib/date-picker/locale/da_DK.d.ts +3 -0
- package/lib/date-picker/locale/da_DK.js +27 -0
- package/lib/date-picker/locale/de_DE.d.ts +3 -0
- package/lib/date-picker/locale/de_DE.js +27 -0
- package/lib/date-picker/locale/el_GR.d.ts +3 -0
- package/lib/date-picker/locale/el_GR.js +27 -0
- package/lib/date-picker/locale/en_GB.d.ts +3 -0
- package/lib/date-picker/locale/en_GB.js +35 -0
- package/lib/date-picker/locale/en_US.d.ts +3 -0
- package/lib/date-picker/locale/en_US.js +35 -0
- package/lib/date-picker/locale/es_ES.d.ts +3 -0
- package/lib/date-picker/locale/es_ES.js +27 -0
- package/lib/date-picker/locale/et_EE.d.ts +3 -0
- package/lib/date-picker/locale/et_EE.js +27 -0
- package/lib/date-picker/locale/fa_IR.d.ts +3 -0
- package/lib/date-picker/locale/fa_IR.js +34 -0
- package/lib/date-picker/locale/fi_FI.d.ts +3 -0
- package/lib/date-picker/locale/fi_FI.js +27 -0
- package/lib/date-picker/locale/fr_BE.d.ts +3 -0
- package/lib/date-picker/locale/fr_BE.js +27 -0
- package/lib/date-picker/locale/fr_CA.d.ts +3 -0
- package/lib/date-picker/locale/fr_CA.js +34 -0
- package/lib/date-picker/locale/fr_FR.d.ts +3 -0
- package/lib/date-picker/locale/fr_FR.js +34 -0
- package/lib/date-picker/locale/ga_IE.d.ts +3 -0
- package/lib/date-picker/locale/ga_IE.js +34 -0
- package/lib/date-picker/locale/gl_ES.d.ts +3 -0
- package/lib/date-picker/locale/gl_ES.js +27 -0
- package/lib/date-picker/locale/he_IL.d.ts +3 -0
- package/lib/date-picker/locale/he_IL.js +27 -0
- package/lib/date-picker/locale/hi_IN.d.ts +3 -0
- package/lib/date-picker/locale/hi_IN.js +34 -0
- package/lib/date-picker/locale/hr_HR.d.ts +3 -0
- package/lib/date-picker/locale/hr_HR.js +34 -0
- package/lib/date-picker/locale/hu_HU.d.ts +3 -0
- package/lib/date-picker/locale/hu_HU.js +27 -0
- package/lib/date-picker/locale/id_ID.d.ts +3 -0
- package/lib/date-picker/locale/id_ID.js +27 -0
- package/lib/date-picker/locale/is_IS.d.ts +3 -0
- package/lib/date-picker/locale/is_IS.js +27 -0
- package/lib/date-picker/locale/it_IT.d.ts +3 -0
- package/lib/date-picker/locale/it_IT.js +27 -0
- package/lib/date-picker/locale/ja_JP.d.ts +3 -0
- package/lib/date-picker/locale/ja_JP.js +27 -0
- package/lib/date-picker/locale/ka_GE.d.ts +3 -0
- package/lib/date-picker/locale/ka_GE.js +31 -0
- package/lib/date-picker/locale/kk_KZ.d.ts +3 -0
- package/lib/date-picker/locale/kk_KZ.js +34 -0
- package/lib/date-picker/locale/km_KH.d.ts +3 -0
- package/lib/date-picker/locale/km_KH.js +34 -0
- package/lib/date-picker/locale/kmr_IQ.d.ts +3 -0
- package/lib/date-picker/locale/kmr_IQ.js +27 -0
- package/lib/date-picker/locale/kn_IN.d.ts +3 -0
- package/lib/date-picker/locale/kn_IN.js +27 -0
- package/lib/date-picker/locale/ko_KR.d.ts +3 -0
- package/lib/date-picker/locale/ko_KR.js +27 -0
- package/lib/date-picker/locale/lt_LT.d.ts +3 -0
- package/lib/date-picker/locale/lt_LT.js +34 -0
- package/lib/date-picker/locale/lv_LV.d.ts +3 -0
- package/lib/date-picker/locale/lv_LV.js +27 -0
- package/lib/date-picker/locale/mk_MK.d.ts +3 -0
- package/lib/date-picker/locale/mk_MK.js +27 -0
- package/lib/date-picker/locale/ml_IN.d.ts +3 -0
- package/lib/date-picker/locale/ml_IN.js +34 -0
- package/lib/date-picker/locale/mn_MN.d.ts +3 -0
- package/lib/date-picker/locale/mn_MN.js +27 -0
- package/lib/date-picker/locale/ms_MY.d.ts +3 -0
- package/lib/date-picker/locale/ms_MY.js +27 -0
- package/lib/date-picker/locale/nb_NO.d.ts +3 -0
- package/lib/date-picker/locale/nb_NO.js +34 -0
- package/lib/date-picker/locale/nl_BE.d.ts +3 -0
- package/lib/date-picker/locale/nl_BE.js +34 -0
- package/lib/date-picker/locale/nl_NL.d.ts +3 -0
- package/lib/date-picker/locale/nl_NL.js +34 -0
- package/lib/date-picker/locale/pl_PL.d.ts +3 -0
- package/lib/date-picker/locale/pl_PL.js +27 -0
- package/lib/date-picker/locale/pt_BR.d.ts +3 -0
- package/lib/date-picker/locale/pt_BR.js +27 -0
- package/lib/date-picker/locale/pt_PT.d.ts +3 -0
- package/lib/date-picker/locale/pt_PT.js +55 -0
- package/lib/date-picker/locale/ro_RO.d.ts +3 -0
- package/lib/date-picker/locale/ro_RO.js +27 -0
- package/lib/date-picker/locale/ru_RU.d.ts +4 -0
- package/lib/date-picker/locale/ru_RU.js +36 -0
- package/lib/date-picker/locale/si_LK.d.ts +3 -0
- package/lib/date-picker/locale/si_LK.js +35 -0
- package/lib/date-picker/locale/sk_SK.d.ts +3 -0
- package/lib/date-picker/locale/sk_SK.js +27 -0
- package/lib/date-picker/locale/sl_SI.d.ts +3 -0
- package/lib/date-picker/locale/sl_SI.js +52 -0
- package/lib/date-picker/locale/sr_RS.d.ts +3 -0
- package/lib/date-picker/locale/sr_RS.js +34 -0
- package/lib/date-picker/locale/sv_SE.d.ts +3 -0
- package/lib/date-picker/locale/sv_SE.js +34 -0
- package/lib/date-picker/locale/ta_IN.d.ts +3 -0
- package/lib/date-picker/locale/ta_IN.js +28 -0
- package/lib/date-picker/locale/th_TH.d.ts +3 -0
- package/lib/date-picker/locale/th_TH.js +34 -0
- package/lib/date-picker/locale/tk_TK.d.ts +3 -0
- package/lib/date-picker/locale/tk_TK.js +32 -0
- package/lib/date-picker/locale/tr_TR.d.ts +3 -0
- package/lib/date-picker/locale/tr_TR.js +34 -0
- package/lib/date-picker/locale/uk_UA.d.ts +3 -0
- package/lib/date-picker/locale/uk_UA.js +27 -0
- package/lib/date-picker/locale/ur_PK.d.ts +3 -0
- package/lib/date-picker/locale/ur_PK.js +34 -0
- package/lib/date-picker/locale/vi_VN.d.ts +3 -0
- package/lib/date-picker/locale/vi_VN.js +27 -0
- package/lib/date-picker/locale/zh_CN.d.ts +3 -0
- package/lib/date-picker/locale/zh_CN.js +37 -0
- package/lib/date-picker/locale/zh_TW.d.ts +3 -0
- package/lib/date-picker/locale/zh_TW.js +36 -0
- package/lib/date-picker/style/css.js +7 -0
- package/lib/date-picker/style/index-pure.less +366 -0
- package/lib/date-picker/style/index.css +1099 -0
- package/lib/date-picker/style/index.d.ts +3 -0
- package/lib/date-picker/style/index.js +7 -0
- package/lib/date-picker/style/index.less +3 -0
- package/lib/date-picker/style/panel.less +677 -0
- package/lib/date-picker/style/rtl.less +246 -0
- package/lib/date-picker/style/status.less +38 -0
- package/lib/date-picker/util.d.ts +14 -0
- package/lib/date-picker/util.js +118 -0
- package/lib/descriptions/Cell.d.ts +16 -0
- package/lib/descriptions/Cell.js +66 -0
- package/lib/descriptions/Item.d.ts +13 -0
- package/lib/descriptions/Item.js +14 -0
- package/lib/descriptions/Row.d.ts +13 -0
- package/lib/descriptions/Row.js +122 -0
- package/lib/descriptions/index.d.ts +27 -0
- package/lib/descriptions/index.js +193 -0
- package/lib/descriptions/style/css.js +5 -0
- package/lib/descriptions/style/index-pure.less +179 -0
- package/lib/descriptions/style/index.css +139 -0
- package/lib/descriptions/style/index.d.ts +2 -0
- package/lib/descriptions/style/index.js +5 -0
- package/lib/descriptions/style/index.less +3 -0
- package/lib/descriptions/style/rtl.less +33 -0
- package/lib/divider/index.d.ts +14 -0
- package/lib/divider/index.js +83 -0
- package/lib/divider/style/css.js +5 -0
- package/lib/divider/style/index-pure.less +137 -0
- package/lib/divider/style/index.css +126 -0
- package/lib/divider/style/index.d.ts +2 -0
- package/lib/divider/style/index.js +5 -0
- package/lib/divider/style/index.less +3 -0
- package/lib/divider/style/rtl.less +38 -0
- package/lib/drawer/index.d.ts +37 -0
- package/lib/drawer/index.js +206 -0
- package/lib/drawer/style/css.js +5 -0
- package/lib/drawer/style/drawer.less +160 -0
- package/lib/drawer/style/index-pure.less +7 -0
- package/lib/drawer/style/index.css +265 -0
- package/lib/drawer/style/index.d.ts +2 -0
- package/lib/drawer/style/index.js +5 -0
- package/lib/drawer/style/index.less +3 -0
- package/lib/drawer/style/motion.less +146 -0
- package/lib/drawer/style/rtl.less +16 -0
- package/lib/dropdown/dropdown-button.d.ts +23 -0
- package/lib/dropdown/dropdown-button.js +157 -0
- package/lib/dropdown/dropdown.d.ts +56 -0
- package/lib/dropdown/dropdown.js +215 -0
- package/lib/dropdown/index.d.ts +4 -0
- package/lib/dropdown/index.js +13 -0
- package/lib/dropdown/style/css.js +11 -0
- package/lib/dropdown/style/index-pure.less +389 -0
- package/lib/dropdown/style/index.css +400 -0
- package/lib/dropdown/style/index.d.ts +5 -0
- package/lib/dropdown/style/index.js +11 -0
- package/lib/dropdown/style/index.less +3 -0
- package/lib/dropdown/style/rtl.less +90 -0
- package/lib/dropdown/style/status.less +14 -0
- package/lib/empty/empty.d.ts +2 -0
- package/lib/empty/empty.js +66 -0
- package/lib/empty/index.d.ts +20 -0
- package/lib/empty/index.js +93 -0
- package/lib/empty/simple.d.ts +2 -0
- package/lib/empty/simple.js +47 -0
- package/lib/empty/style/css.js +5 -0
- package/lib/empty/style/index-pure.less +151 -0
- package/lib/empty/style/index.css +72 -0
- package/lib/empty/style/index.d.ts +2 -0
- package/lib/empty/style/index.js +5 -0
- package/lib/empty/style/index.less +3 -0
- package/lib/empty/style/rtl.less +10 -0
- package/lib/form/ErrorList.d.ts +12 -0
- package/lib/form/ErrorList.js +113 -0
- package/lib/form/Form.d.ts +34 -0
- package/lib/form/Form.js +176 -0
- package/lib/form/FormItem/ItemHolder.d.ts +17 -0
- package/lib/form/FormItem/ItemHolder.js +177 -0
- package/lib/form/FormItem/index.d.ts +35 -0
- package/lib/form/FormItem/index.js +333 -0
- package/lib/form/FormItemInput.d.ts +20 -0
- package/lib/form/FormItemInput.js +103 -0
- package/lib/form/FormItemLabel.d.ts +23 -0
- package/lib/form/FormItemLabel.js +140 -0
- package/lib/form/FormList.d.ts +25 -0
- package/lib/form/FormList.js +69 -0
- package/lib/form/context.d.ts +48 -0
- package/lib/form/context.js +67 -0
- package/lib/form/hooks/useDebounce.d.ts +1 -0
- package/lib/form/hooks/useDebounce.js +31 -0
- package/lib/form/hooks/useForm.d.ts +7 -0
- package/lib/form/hooks/useForm.js +70 -0
- package/lib/form/hooks/useFormInstance.d.ts +2 -0
- package/lib/form/hooks/useFormInstance.js +17 -0
- package/lib/form/hooks/useFormItemStatus.d.ts +6 -0
- package/lib/form/hooks/useFormItemStatus.js +27 -0
- package/lib/form/hooks/useFrameState.d.ts +3 -0
- package/lib/form/hooks/useFrameState.js +61 -0
- package/lib/form/hooks/useItemRef.d.ts +3 -0
- package/lib/form/hooks/useItemRef.js +40 -0
- package/lib/form/index.d.ts +22 -0
- package/lib/form/index.js +40 -0
- package/lib/form/interface.d.ts +3 -0
- package/lib/form/interface.js +5 -0
- package/lib/form/style/components.less +16 -0
- package/lib/form/style/css.js +9 -0
- package/lib/form/style/horizontal.less +22 -0
- package/lib/form/style/index-pure.less +332 -0
- package/lib/form/style/index.css +572 -0
- package/lib/form/style/index.d.ts +4 -0
- package/lib/form/style/index.js +9 -0
- package/lib/form/style/index.less +3 -0
- package/lib/form/style/inline.less +38 -0
- package/lib/form/style/mixin.less +78 -0
- package/lib/form/style/rtl.less +204 -0
- package/lib/form/style/status.less +42 -0
- package/lib/form/style/vertical.less +93 -0
- package/lib/form/util.d.ts +3 -0
- package/lib/form/util.js +29 -0
- package/lib/grid/RowContext.d.ts +8 -0
- package/lib/grid/RowContext.js +12 -0
- package/lib/grid/col.d.ts +28 -0
- package/lib/grid/col.js +130 -0
- package/lib/grid/hooks/useBreakpoint.d.ts +3 -0
- package/lib/grid/hooks/useBreakpoint.js +37 -0
- package/lib/grid/index.d.ts +10 -0
- package/lib/grid/index.js +36 -0
- package/lib/grid/row.d.ts +20 -0
- package/lib/grid/row.js +214 -0
- package/lib/grid/style/css.js +5 -0
- package/lib/grid/style/index-pure.less +124 -0
- package/lib/grid/style/index.css +5185 -0
- package/lib/grid/style/index.d.ts +2 -0
- package/lib/grid/style/index.js +5 -0
- package/lib/grid/style/index.less +3 -0
- package/lib/grid/style/mixin.less +56 -0
- package/lib/grid/style/rtl.less +69 -0
- package/lib/icon/index.d.ts +3 -0
- package/lib/icon/index.js +18 -0
- package/lib/icon/style/css.js +5 -0
- package/lib/icon/style/index-pure.less +4 -0
- package/lib/icon/style/index.css +4 -0
- package/lib/icon/style/index.d.ts +2 -0
- package/lib/icon/style/index.js +5 -0
- package/lib/icon/style/index.less +3 -0
- package/lib/image/PreviewGroup.d.ts +13 -0
- package/lib/image/PreviewGroup.js +92 -0
- package/lib/image/index.d.ts +9 -0
- package/lib/image/index.js +86 -0
- package/lib/image/style/css.js +5 -0
- package/lib/image/style/index-pure.less +203 -0
- package/lib/image/style/index.css +232 -0
- package/lib/image/style/index.d.ts +2 -0
- package/lib/image/style/index.js +5 -0
- package/lib/image/style/index.less +3 -0
- package/lib/index.d.ts +128 -1
- package/lib/index.js +552 -36
- package/lib/input/ClearableLabeledInput.d.ts +39 -0
- package/lib/input/ClearableLabeledInput.js +130 -0
- package/lib/input/Group.d.ts +15 -0
- package/lib/input/Group.js +55 -0
- package/lib/input/Input.d.ts +20 -0
- package/lib/input/Input.js +267 -0
- package/lib/input/Password.d.ts +14 -0
- package/lib/input/Password.js +162 -0
- package/lib/input/Search.d.ts +10 -0
- package/lib/input/Search.js +190 -0
- package/lib/input/TextArea.d.ts +28 -0
- package/lib/input/TextArea.js +276 -0
- package/lib/input/hooks/useRemovePasswordTimeout.d.ts +3 -0
- package/lib/input/hooks/useRemovePasswordTimeout.js +37 -0
- package/lib/input/index.d.ts +19 -0
- package/lib/input/index.js +26 -0
- package/lib/input/style/IE11.less +20 -0
- package/lib/input/style/affix.less +78 -0
- package/lib/input/style/allow-clear.less +43 -0
- package/lib/input/style/css.js +7 -0
- package/lib/input/style/index-pure.less +88 -0
- package/lib/input/style/index.css +929 -0
- package/lib/input/style/index.d.ts +3 -0
- package/lib/input/style/index.js +7 -0
- package/lib/input/style/index.less +3 -0
- package/lib/input/style/mixin.less +470 -0
- package/lib/input/style/rtl.less +210 -0
- package/lib/input/style/search-input.less +117 -0
- package/lib/input/style/status.less +42 -0
- package/lib/input/utils.d.ts +3 -0
- package/lib/input/utils.js +10 -0
- package/lib/input-number/index.d.ts +27 -0
- package/lib/input-number/index.js +201 -0
- package/lib/input-number/style/affix.less +83 -0
- package/lib/input-number/style/css.js +5 -0
- package/lib/input-number/style/index-pure.less +243 -0
- package/lib/input-number/style/index.css +915 -0
- package/lib/input-number/style/index.d.ts +2 -0
- package/lib/input-number/style/index.js +5 -0
- package/lib/input-number/style/index.less +3 -0
- package/lib/input-number/style/rtl.less +71 -0
- package/lib/input-number/style/status.less +29 -0
- package/lib/layout/Sider.d.ts +28 -0
- package/lib/layout/Sider.js +240 -0
- package/lib/layout/index.d.ts +13 -0
- package/lib/layout/index.js +22 -0
- package/lib/layout/layout.d.ts +23 -0
- package/lib/layout/layout.js +159 -0
- package/lib/layout/style/css.js +5 -0
- package/lib/layout/style/index-pure.less +145 -0
- package/lib/layout/style/index.css +128 -0
- package/lib/layout/style/index.d.ts +2 -0
- package/lib/layout/style/index.js +5 -0
- package/lib/layout/style/index.less +3 -0
- package/lib/layout/style/light.less +11 -0
- package/lib/layout/style/rtl.less +10 -0
- package/lib/list/Item.d.ts +26 -0
- package/lib/list/Item.js +151 -0
- package/lib/list/index.d.ts +54 -0
- package/lib/list/index.js +280 -0
- package/lib/list/style/bordered.less +44 -0
- package/lib/list/style/css.js +13 -0
- package/lib/list/style/customize.less +13 -0
- package/lib/list/style/index-pure.less +249 -0
- package/lib/list/style/index.css +317 -0
- package/lib/list/style/index.d.ts +6 -0
- package/lib/list/style/index.js +13 -0
- package/lib/list/style/index.less +3 -0
- package/lib/list/style/responsive.less +43 -0
- package/lib/list/style/rtl.less +139 -0
- package/lib/locale/ar_EG.d.ts +3 -0
- package/lib/locale/ar_EG.js +132 -0
- package/lib/locale/az_AZ.d.ts +3 -0
- package/lib/locale/az_AZ.js +112 -0
- package/lib/locale/bg_BG.d.ts +3 -0
- package/lib/locale/bg_BG.js +58 -0
- package/lib/locale/bn_BD.d.ts +3 -0
- package/lib/locale/bn_BD.js +145 -0
- package/lib/locale/by_BY.d.ts +3 -0
- package/lib/locale/by_BY.js +147 -0
- package/lib/locale/ca_ES.d.ts +3 -0
- package/lib/locale/ca_ES.js +140 -0
- package/lib/locale/cs_CZ.d.ts +3 -0
- package/lib/locale/cs_CZ.js +147 -0
- package/lib/locale/da_DK.d.ts +3 -0
- package/lib/locale/da_DK.js +68 -0
- package/lib/locale/de_DE.d.ts +3 -0
- package/lib/locale/de_DE.js +141 -0
- package/lib/locale/default.d.ts +3 -0
- package/lib/locale/default.js +147 -0
- package/lib/locale/el_GR.d.ts +3 -0
- package/lib/locale/el_GR.js +58 -0
- package/lib/locale/en_GB.d.ts +3 -0
- package/lib/locale/en_GB.js +147 -0
- package/lib/locale/en_US.d.ts +2 -0
- package/lib/locale/en_US.js +13 -0
- package/lib/locale/es_ES.d.ts +3 -0
- package/lib/locale/es_ES.js +147 -0
- package/lib/locale/et_EE.d.ts +3 -0
- package/lib/locale/et_EE.js +147 -0
- package/lib/locale/fa_IR.d.ts +3 -0
- package/lib/locale/fa_IR.js +145 -0
- package/lib/locale/fi_FI.d.ts +3 -0
- package/lib/locale/fi_FI.js +68 -0
- package/lib/locale/fr_BE.d.ts +3 -0
- package/lib/locale/fr_BE.js +63 -0
- package/lib/locale/fr_CA.d.ts +3 -0
- package/lib/locale/fr_CA.js +75 -0
- package/lib/locale/fr_FR.d.ts +3 -0
- package/lib/locale/fr_FR.js +144 -0
- package/lib/locale/ga_IE.d.ts +3 -0
- package/lib/locale/ga_IE.js +138 -0
- package/lib/locale/gl_ES.d.ts +3 -0
- package/lib/locale/gl_ES.js +126 -0
- package/lib/locale/he_IL.d.ts +3 -0
- package/lib/locale/he_IL.js +132 -0
- package/lib/locale/hi_IN.d.ts +3 -0
- package/lib/locale/hi_IN.js +145 -0
- package/lib/locale/hr_HR.d.ts +3 -0
- package/lib/locale/hr_HR.js +144 -0
- package/lib/locale/hu_HU.d.ts +3 -0
- package/lib/locale/hu_HU.js +59 -0
- package/lib/locale/hy_AM.d.ts +3 -0
- package/lib/locale/hy_AM.js +116 -0
- package/lib/locale/id_ID.d.ts +3 -0
- package/lib/locale/id_ID.js +59 -0
- package/lib/locale/is_IS.d.ts +3 -0
- package/lib/locale/is_IS.js +58 -0
- package/lib/locale/it_IT.d.ts +3 -0
- package/lib/locale/it_IT.js +147 -0
- package/lib/locale/ja_JP.d.ts +3 -0
- package/lib/locale/ja_JP.js +118 -0
- package/lib/locale/ka_GE.d.ts +3 -0
- package/lib/locale/ka_GE.js +145 -0
- package/lib/locale/kk_KZ.d.ts +3 -0
- package/lib/locale/kk_KZ.js +139 -0
- package/lib/locale/km_KH.d.ts +3 -0
- package/lib/locale/km_KH.js +120 -0
- package/lib/locale/kmr_IQ.d.ts +3 -0
- package/lib/locale/kmr_IQ.js +58 -0
- package/lib/locale/kn_IN.d.ts +3 -0
- package/lib/locale/kn_IN.js +65 -0
- package/lib/locale/ko_KR.d.ts +3 -0
- package/lib/locale/ko_KR.js +112 -0
- package/lib/locale/ku_IQ.d.ts +3 -0
- package/lib/locale/ku_IQ.js +61 -0
- package/lib/locale/lt_LT.d.ts +3 -0
- package/lib/locale/lt_LT.js +136 -0
- package/lib/locale/lv_LV.d.ts +3 -0
- package/lib/locale/lv_LV.js +58 -0
- package/lib/locale/mk_MK.d.ts +3 -0
- package/lib/locale/mk_MK.js +73 -0
- package/lib/locale/ml_IN.d.ts +3 -0
- package/lib/locale/ml_IN.js +145 -0
- package/lib/locale/mn_MN.d.ts +3 -0
- package/lib/locale/mn_MN.js +58 -0
- package/lib/locale/ms_MY.d.ts +3 -0
- package/lib/locale/ms_MY.js +78 -0
- package/lib/locale/nb_NO.d.ts +3 -0
- package/lib/locale/nb_NO.js +139 -0
- package/lib/locale/ne_NP.d.ts +3 -0
- package/lib/locale/ne_NP.js +58 -0
- package/lib/locale/nl_BE.d.ts +3 -0
- package/lib/locale/nl_BE.js +145 -0
- package/lib/locale/nl_NL.d.ts +3 -0
- package/lib/locale/nl_NL.js +145 -0
- package/lib/locale/pl_PL.d.ts +3 -0
- package/lib/locale/pl_PL.js +147 -0
- package/lib/locale/pt_BR.d.ts +3 -0
- package/lib/locale/pt_BR.js +145 -0
- package/lib/locale/pt_PT.d.ts +3 -0
- package/lib/locale/pt_PT.js +147 -0
- package/lib/locale/ro_RO.d.ts +3 -0
- package/lib/locale/ro_RO.js +145 -0
- package/lib/locale/ru_RU.d.ts +3 -0
- package/lib/locale/ru_RU.js +144 -0
- package/lib/locale/si_LK.d.ts +3 -0
- package/lib/locale/si_LK.js +147 -0
- package/lib/locale/sk_SK.d.ts +3 -0
- package/lib/locale/sk_SK.js +147 -0
- package/lib/locale/sl_SI.d.ts +3 -0
- package/lib/locale/sl_SI.js +58 -0
- package/lib/locale/sr_RS.d.ts +3 -0
- package/lib/locale/sr_RS.js +145 -0
- package/lib/locale/sv_SE.d.ts +3 -0
- package/lib/locale/sv_SE.js +145 -0
- package/lib/locale/ta_IN.d.ts +3 -0
- package/lib/locale/ta_IN.js +77 -0
- package/lib/locale/th_TH.d.ts +3 -0
- package/lib/locale/th_TH.js +141 -0
- package/lib/locale/tk_TK.d.ts +3 -0
- package/lib/locale/tk_TK.js +143 -0
- package/lib/locale/tr_TR.d.ts +3 -0
- package/lib/locale/tr_TR.js +143 -0
- package/lib/locale/uk_UA.d.ts +3 -0
- package/lib/locale/uk_UA.js +147 -0
- package/lib/locale/ur_PK.d.ts +3 -0
- package/lib/locale/ur_PK.js +145 -0
- package/lib/locale/vi_VN.d.ts +3 -0
- package/lib/locale/vi_VN.js +58 -0
- package/lib/locale/zh_CN.d.ts +3 -0
- package/lib/locale/zh_CN.js +147 -0
- package/lib/locale/zh_HK.d.ts +3 -0
- package/lib/locale/zh_HK.js +143 -0
- package/lib/locale/zh_TW.d.ts +3 -0
- package/lib/locale/zh_TW.js +144 -0
- package/lib/locale-provider/LocaleReceiver.d.ts +11 -0
- package/lib/locale-provider/LocaleReceiver.js +60 -0
- package/lib/locale-provider/ar_EG.d.ts +2 -0
- package/lib/locale-provider/ar_EG.js +13 -0
- package/lib/locale-provider/az_AZ.d.ts +2 -0
- package/lib/locale-provider/az_AZ.js +13 -0
- package/lib/locale-provider/bg_BG.d.ts +2 -0
- package/lib/locale-provider/bg_BG.js +13 -0
- package/lib/locale-provider/bn_BD.d.ts +2 -0
- package/lib/locale-provider/bn_BD.js +13 -0
- package/lib/locale-provider/by_BY.d.ts +2 -0
- package/lib/locale-provider/by_BY.js +13 -0
- package/lib/locale-provider/ca_ES.d.ts +2 -0
- package/lib/locale-provider/ca_ES.js +13 -0
- package/lib/locale-provider/context.d.ts +7 -0
- package/lib/locale-provider/context.js +12 -0
- package/lib/locale-provider/cs_CZ.d.ts +2 -0
- package/lib/locale-provider/cs_CZ.js +13 -0
- package/lib/locale-provider/da_DK.d.ts +2 -0
- package/lib/locale-provider/da_DK.js +13 -0
- package/lib/locale-provider/de_DE.d.ts +2 -0
- package/lib/locale-provider/de_DE.js +13 -0
- package/lib/locale-provider/default.d.ts +2 -0
- package/lib/locale-provider/default.js +13 -0
- package/lib/locale-provider/el_GR.d.ts +2 -0
- package/lib/locale-provider/el_GR.js +13 -0
- package/lib/locale-provider/en_GB.d.ts +2 -0
- package/lib/locale-provider/en_GB.js +13 -0
- package/lib/locale-provider/en_US.d.ts +2 -0
- package/lib/locale-provider/en_US.js +13 -0
- package/lib/locale-provider/es_ES.d.ts +2 -0
- package/lib/locale-provider/es_ES.js +13 -0
- package/lib/locale-provider/et_EE.d.ts +2 -0
- package/lib/locale-provider/et_EE.js +13 -0
- package/lib/locale-provider/fa_IR.d.ts +2 -0
- package/lib/locale-provider/fa_IR.js +13 -0
- package/lib/locale-provider/fi_FI.d.ts +2 -0
- package/lib/locale-provider/fi_FI.js +13 -0
- package/lib/locale-provider/fr_BE.d.ts +2 -0
- package/lib/locale-provider/fr_BE.js +13 -0
- package/lib/locale-provider/fr_CA.d.ts +2 -0
- package/lib/locale-provider/fr_CA.js +13 -0
- package/lib/locale-provider/fr_FR.d.ts +2 -0
- package/lib/locale-provider/fr_FR.js +13 -0
- package/lib/locale-provider/ga_IE.d.ts +2 -0
- package/lib/locale-provider/ga_IE.js +13 -0
- package/lib/locale-provider/gl_ES.d.ts +2 -0
- package/lib/locale-provider/gl_ES.js +13 -0
- package/lib/locale-provider/he_IL.d.ts +2 -0
- package/lib/locale-provider/he_IL.js +13 -0
- package/lib/locale-provider/hi_IN.d.ts +2 -0
- package/lib/locale-provider/hi_IN.js +13 -0
- package/lib/locale-provider/hr_HR.d.ts +2 -0
- package/lib/locale-provider/hr_HR.js +13 -0
- package/lib/locale-provider/hu_HU.d.ts +2 -0
- package/lib/locale-provider/hu_HU.js +13 -0
- package/lib/locale-provider/hy_AM.d.ts +2 -0
- package/lib/locale-provider/hy_AM.js +13 -0
- package/lib/locale-provider/id_ID.d.ts +2 -0
- package/lib/locale-provider/id_ID.js +13 -0
- package/lib/locale-provider/index.d.ts +49 -0
- package/lib/locale-provider/index.js +52 -0
- package/lib/locale-provider/is_IS.d.ts +2 -0
- package/lib/locale-provider/is_IS.js +13 -0
- package/lib/locale-provider/it_IT.d.ts +2 -0
- package/lib/locale-provider/it_IT.js +13 -0
- package/lib/locale-provider/ja_JP.d.ts +2 -0
- package/lib/locale-provider/ja_JP.js +13 -0
- package/lib/locale-provider/ka_GE.d.ts +2 -0
- package/lib/locale-provider/ka_GE.js +13 -0
- package/lib/locale-provider/kk_KZ.d.ts +2 -0
- package/lib/locale-provider/kk_KZ.js +13 -0
- package/lib/locale-provider/km_KH.d.ts +2 -0
- package/lib/locale-provider/km_KH.js +13 -0
- package/lib/locale-provider/kmr_IQ.d.ts +2 -0
- package/lib/locale-provider/kmr_IQ.js +13 -0
- package/lib/locale-provider/kn_IN.d.ts +2 -0
- package/lib/locale-provider/kn_IN.js +13 -0
- package/lib/locale-provider/ko_KR.d.ts +2 -0
- package/lib/locale-provider/ko_KR.js +13 -0
- package/lib/locale-provider/ku_IQ.d.ts +2 -0
- package/lib/locale-provider/ku_IQ.js +13 -0
- package/lib/locale-provider/lt_LT.d.ts +2 -0
- package/lib/locale-provider/lt_LT.js +13 -0
- package/lib/locale-provider/lv_LV.d.ts +2 -0
- package/lib/locale-provider/lv_LV.js +13 -0
- package/lib/locale-provider/mk_MK.d.ts +2 -0
- package/lib/locale-provider/mk_MK.js +13 -0
- package/lib/locale-provider/ml_IN.d.ts +2 -0
- package/lib/locale-provider/ml_IN.js +13 -0
- package/lib/locale-provider/mn_MN.d.ts +2 -0
- package/lib/locale-provider/mn_MN.js +13 -0
- package/lib/locale-provider/ms_MY.d.ts +2 -0
- package/lib/locale-provider/ms_MY.js +13 -0
- package/lib/locale-provider/nb_NO.d.ts +2 -0
- package/lib/locale-provider/nb_NO.js +13 -0
- package/lib/locale-provider/ne_NP.d.ts +2 -0
- package/lib/locale-provider/ne_NP.js +13 -0
- package/lib/locale-provider/nl_BE.d.ts +2 -0
- package/lib/locale-provider/nl_BE.js +13 -0
- package/lib/locale-provider/nl_NL.d.ts +2 -0
- package/lib/locale-provider/nl_NL.js +13 -0
- package/lib/locale-provider/pl_PL.d.ts +2 -0
- package/lib/locale-provider/pl_PL.js +13 -0
- package/lib/locale-provider/pt_BR.d.ts +2 -0
- package/lib/locale-provider/pt_BR.js +13 -0
- package/lib/locale-provider/pt_PT.d.ts +2 -0
- package/lib/locale-provider/pt_PT.js +13 -0
- package/lib/locale-provider/ro_RO.d.ts +2 -0
- package/lib/locale-provider/ro_RO.js +13 -0
- package/lib/locale-provider/ru_RU.d.ts +2 -0
- package/lib/locale-provider/ru_RU.js +13 -0
- package/lib/locale-provider/si_LK.d.ts +2 -0
- package/lib/locale-provider/si_LK.js +13 -0
- package/lib/locale-provider/sk_SK.d.ts +2 -0
- package/lib/locale-provider/sk_SK.js +13 -0
- package/lib/locale-provider/sl_SI.d.ts +2 -0
- package/lib/locale-provider/sl_SI.js +13 -0
- package/lib/locale-provider/sr_RS.d.ts +2 -0
- package/lib/locale-provider/sr_RS.js +13 -0
- package/lib/locale-provider/style/css.js +3 -0
- package/lib/locale-provider/style/index-pure.less +2 -0
- package/lib/locale-provider/style/index.css +4 -0
- package/lib/locale-provider/style/index.d.ts +1 -0
- package/lib/locale-provider/style/index.js +3 -0
- package/lib/locale-provider/style/index.less +3 -0
- package/lib/locale-provider/sv_SE.d.ts +2 -0
- package/lib/locale-provider/sv_SE.js +13 -0
- package/lib/locale-provider/ta_IN.d.ts +2 -0
- package/lib/locale-provider/ta_IN.js +13 -0
- package/lib/locale-provider/th_TH.d.ts +2 -0
- package/lib/locale-provider/th_TH.js +13 -0
- package/lib/locale-provider/tk_TK.d.ts +2 -0
- package/lib/locale-provider/tk_TK.js +13 -0
- package/lib/locale-provider/tr_TR.d.ts +2 -0
- package/lib/locale-provider/tr_TR.js +13 -0
- package/lib/locale-provider/uk_UA.d.ts +2 -0
- package/lib/locale-provider/uk_UA.js +13 -0
- package/lib/locale-provider/ur_PK.d.ts +2 -0
- package/lib/locale-provider/ur_PK.js +13 -0
- package/lib/locale-provider/vi_VN.d.ts +2 -0
- package/lib/locale-provider/vi_VN.js +13 -0
- package/lib/locale-provider/zh_CN.d.ts +2 -0
- package/lib/locale-provider/zh_CN.js +13 -0
- package/lib/locale-provider/zh_HK.d.ts +2 -0
- package/lib/locale-provider/zh_HK.js +13 -0
- package/lib/locale-provider/zh_TW.d.ts +2 -0
- package/lib/locale-provider/zh_TW.js +13 -0
- package/lib/mentions/index.d.ts +35 -0
- package/lib/mentions/index.js +220 -0
- package/lib/mentions/style/css.js +7 -0
- package/lib/mentions/style/index-pure.less +179 -0
- package/lib/mentions/style/index.css +322 -0
- package/lib/mentions/style/index.d.ts +3 -0
- package/lib/mentions/style/index.js +7 -0
- package/lib/mentions/style/index.less +3 -0
- package/lib/mentions/style/rtl.less +10 -0
- package/lib/mentions/style/status.less +16 -0
- package/lib/menu/MenuContext.d.ts +12 -0
- package/lib/menu/MenuContext.js +16 -0
- package/lib/menu/MenuDivider.d.ts +9 -0
- package/lib/menu/MenuDivider.js +54 -0
- package/lib/menu/MenuItem.d.ts +16 -0
- package/lib/menu/MenuItem.js +161 -0
- package/lib/menu/OverrideContext.d.ts +11 -0
- package/lib/menu/OverrideContext.js +51 -0
- package/lib/menu/SubMenu.d.ts +23 -0
- package/lib/menu/SubMenu.js +71 -0
- package/lib/menu/hooks/useItems.d.ts +26 -0
- package/lib/menu/hooks/useItems.js +101 -0
- package/lib/menu/index.d.ts +26 -0
- package/lib/menu/index.js +225 -0
- package/lib/menu/style/css.js +7 -0
- package/lib/menu/style/dark.less +177 -0
- package/lib/menu/style/index-pure.less +700 -0
- package/lib/menu/style/index.css +919 -0
- package/lib/menu/style/index.d.ts +3 -0
- package/lib/menu/style/index.js +7 -0
- package/lib/menu/style/index.less +3 -0
- package/lib/menu/style/light.less +12 -0
- package/lib/menu/style/rtl.less +165 -0
- package/lib/menu/style/status.less +49 -0
- package/lib/message/hooks/useMessage.d.ts +7 -0
- package/lib/message/hooks/useMessage.js +103 -0
- package/lib/message/index.d.ts +61 -0
- package/lib/message/index.js +277 -0
- package/lib/message/style/css.js +5 -0
- package/lib/message/style/index-pure.less +74 -0
- package/lib/message/style/index.css +78 -0
- package/lib/message/style/index.d.ts +2 -0
- package/lib/message/style/index.js +5 -0
- package/lib/message/style/index.less +3 -0
- package/lib/message/style/rtl.less +17 -0
- package/lib/modal/ConfirmDialog.d.ts +10 -0
- package/lib/modal/ConfirmDialog.js +135 -0
- package/lib/modal/Modal.d.ts +114 -0
- package/lib/modal/Modal.js +160 -0
- package/lib/modal/confirm.d.ts +20 -0
- package/lib/modal/confirm.js +226 -0
- package/lib/modal/destroyFns.d.ts +2 -0
- package/lib/modal/destroyFns.js +9 -0
- package/lib/modal/index.d.ts +12 -0
- package/lib/modal/index.js +58 -0
- package/lib/modal/locale.d.ts +7 -0
- package/lib/modal/locale.js +27 -0
- package/lib/modal/style/confirm.less +79 -0
- package/lib/modal/style/css.js +7 -0
- package/lib/modal/style/index-pure.less +7 -0
- package/lib/modal/style/index.css +255 -0
- package/lib/modal/style/index.d.ts +3 -0
- package/lib/modal/style/index.js +7 -0
- package/lib/modal/style/index.less +3 -0
- package/lib/modal/style/modal.less +136 -0
- package/lib/modal/style/rtl.less +74 -0
- package/lib/modal/useModal/HookModal.d.ts +12 -0
- package/lib/modal/useModal/HookModal.js +95 -0
- package/lib/modal/useModal/index.d.ts +3 -0
- package/lib/modal/useModal/index.js +121 -0
- package/lib/notification/hooks/useNotification.d.ts +7 -0
- package/lib/notification/hooks/useNotification.js +71 -0
- package/lib/notification/index.d.ts +55 -0
- package/lib/notification/index.js +365 -0
- package/lib/notification/style/css.js +5 -0
- package/lib/notification/style/index-pure.less +207 -0
- package/lib/notification/style/index.css +246 -0
- package/lib/notification/style/index.d.ts +2 -0
- package/lib/notification/style/index.js +5 -0
- package/lib/notification/style/index.less +3 -0
- package/lib/notification/style/placement.less +68 -0
- package/lib/notification/style/rtl.less +53 -0
- package/lib/page-header/index.d.ts +24 -0
- package/lib/page-header/index.js +191 -0
- package/lib/page-header/style/css.js +9 -0
- package/lib/page-header/style/index-pure.less +122 -0
- package/lib/page-header/style/index.css +151 -0
- package/lib/page-header/style/index.d.ts +4 -0
- package/lib/page-header/style/index.js +9 -0
- package/lib/page-header/style/index.less +3 -0
- package/lib/page-header/style/rtl.less +77 -0
- package/lib/pagination/Pagination.d.ts +19 -0
- package/lib/pagination/Pagination.js +144 -0
- package/lib/pagination/Select.d.ts +9 -0
- package/lib/pagination/Select.js +34 -0
- package/lib/pagination/index.d.ts +3 -0
- package/lib/pagination/index.js +13 -0
- package/lib/pagination/style/css.js +7 -0
- package/lib/pagination/style/index-pure.less +472 -0
- package/lib/pagination/style/index.css +553 -0
- package/lib/pagination/style/index.d.ts +3 -0
- package/lib/pagination/style/index.js +7 -0
- package/lib/pagination/style/index.less +3 -0
- package/lib/pagination/style/rtl.less +55 -0
- package/lib/popconfirm/PurePanel.d.ts +13 -0
- package/lib/popconfirm/PurePanel.js +78 -0
- package/lib/popconfirm/index.d.ts +28 -0
- package/lib/popconfirm/index.js +150 -0
- package/lib/popconfirm/style/css.js +9 -0
- package/lib/popconfirm/style/index-pure.less +8 -0
- package/lib/popconfirm/style/index.css +7 -0
- package/lib/popconfirm/style/index.d.ts +4 -0
- package/lib/popconfirm/style/index.js +9 -0
- package/lib/popconfirm/style/index.less +3 -0
- package/lib/popover/index.d.ts +9 -0
- package/lib/popover/index.js +98 -0
- package/lib/popover/style/css.js +5 -0
- package/lib/popover/style/index-pure.less +261 -0
- package/lib/popover/style/index.css +329 -0
- package/lib/popover/style/index.d.ts +2 -0
- package/lib/popover/style/index.js +5 -0
- package/lib/popover/style/index.less +3 -0
- package/lib/popover/style/rtl.less +39 -0
- package/lib/progress/Circle.d.ts +10 -0
- package/lib/progress/Circle.js +102 -0
- package/lib/progress/Line.d.ts +38 -0
- package/lib/progress/Line.js +154 -0
- package/lib/progress/Steps.d.ts +10 -0
- package/lib/progress/Steps.js +53 -0
- package/lib/progress/index.d.ts +3 -0
- package/lib/progress/index.js +13 -0
- package/lib/progress/progress.d.ts +46 -0
- package/lib/progress/progress.js +160 -0
- package/lib/progress/style/css.js +5 -0
- package/lib/progress/style/index-pure.less +210 -0
- package/lib/progress/style/index.css +190 -0
- package/lib/progress/style/index.d.ts +2 -0
- package/lib/progress/style/index.js +5 -0
- package/lib/progress/style/index.less +3 -0
- package/lib/progress/style/rtl.less +37 -0
- package/lib/progress/utils.d.ts +8 -0
- package/lib/progress/utils.js +41 -0
- package/lib/radio/context.d.ts +7 -0
- package/lib/radio/context.js +20 -0
- package/lib/radio/group.d.ts +4 -0
- package/lib/radio/group.js +133 -0
- package/lib/radio/index.d.ts +12 -0
- package/lib/radio/index.js +33 -0
- package/lib/radio/interface.d.ts +40 -0
- package/lib/radio/interface.js +5 -0
- package/lib/radio/radio.d.ts +4 -0
- package/lib/radio/radio.js +117 -0
- package/lib/radio/radioButton.d.ts +6 -0
- package/lib/radio/radioButton.js +55 -0
- package/lib/radio/style/css.js +5 -0
- package/lib/radio/style/index-pure.less +371 -0
- package/lib/radio/style/index.css +349 -0
- package/lib/radio/style/index.d.ts +2 -0
- package/lib/radio/style/index.js +5 -0
- package/lib/radio/style/index.less +3 -0
- package/lib/radio/style/rtl.less +61 -0
- package/lib/rate/index.d.ts +7 -0
- package/lib/rate/index.js +76 -0
- package/lib/rate/style/css.js +7 -0
- package/lib/rate/style/index-pure.less +91 -0
- package/lib/rate/style/index.css +94 -0
- package/lib/rate/style/index.d.ts +3 -0
- package/lib/rate/style/index.js +7 -0
- package/lib/rate/style/index.less +3 -0
- package/lib/rate/style/rtl.less +21 -0
- package/lib/result/index.d.ts +32 -0
- package/lib/result/index.js +131 -0
- package/lib/result/noFound.d.ts +2 -0
- package/lib/result/noFound.js +249 -0
- package/lib/result/serverError.d.ts +2 -0
- package/lib/result/serverError.js +289 -0
- package/lib/result/style/css.js +5 -0
- package/lib/result/style/index-pure.less +75 -0
- package/lib/result/style/index.css +68 -0
- package/lib/result/style/index.d.ts +2 -0
- package/lib/result/style/index.js +5 -0
- package/lib/result/style/index.less +3 -0
- package/lib/result/style/rtl.less +25 -0
- package/lib/result/unauthorized.d.ts +2 -0
- package/lib/result/unauthorized.js +239 -0
- package/lib/row/index.d.ts +3 -0
- package/lib/row/index.js +11 -0
- package/lib/row/style/css.js +5 -0
- package/lib/row/style/index.d.ts +2 -0
- package/lib/row/style/index.js +5 -0
- package/lib/segmented/index.d.ts +22 -0
- package/lib/segmented/index.js +97 -0
- package/lib/segmented/style/css.js +5 -0
- package/lib/segmented/style/index-pure.less +122 -0
- package/lib/segmented/style/index.css +132 -0
- package/lib/segmented/style/index.d.ts +2 -0
- package/lib/segmented/style/index.js +5 -0
- package/lib/segmented/style/index.less +3 -0
- package/lib/segmented/style/mixins.less +24 -0
- package/lib/segmented/style/rtl.less +15 -0
- package/lib/select/index.d.ts +44 -0
- package/lib/select/index.js +193 -0
- package/lib/select/style/css.js +7 -0
- package/lib/select/style/index-pure.less +333 -0
- package/lib/select/style/index.css +740 -0
- package/lib/select/style/index.d.ts +3 -0
- package/lib/select/style/index.js +7 -0
- package/lib/select/style/index.less +3 -0
- package/lib/select/style/multiple.less +222 -0
- package/lib/select/style/rtl.less +168 -0
- package/lib/select/style/single.less +172 -0
- package/lib/select/style/status.less +49 -0
- package/lib/select/utils/iconUtil.d.ts +24 -0
- package/lib/select/utils/iconUtil.js +97 -0
- package/lib/skeleton/Avatar.d.ts +7 -0
- package/lib/skeleton/Avatar.js +51 -0
- package/lib/skeleton/Button.d.ts +8 -0
- package/lib/skeleton/Button.js +52 -0
- package/lib/skeleton/Element.d.ts +11 -0
- package/lib/skeleton/Element.js +44 -0
- package/lib/skeleton/Image.d.ts +6 -0
- package/lib/skeleton/Image.js +49 -0
- package/lib/skeleton/Input.d.ts +8 -0
- package/lib/skeleton/Input.js +51 -0
- package/lib/skeleton/Node.d.ts +8 -0
- package/lib/skeleton/Node.js +44 -0
- package/lib/skeleton/Paragraph.d.ts +11 -0
- package/lib/skeleton/Paragraph.js +59 -0
- package/lib/skeleton/Skeleton.d.ts +32 -0
- package/lib/skeleton/Skeleton.js +180 -0
- package/lib/skeleton/Title.d.ts +9 -0
- package/lib/skeleton/Title.js +34 -0
- package/lib/skeleton/index.d.ts +3 -0
- package/lib/skeleton/index.js +13 -0
- package/lib/skeleton/style/css.js +5 -0
- package/lib/skeleton/style/index-pure.less +290 -0
- package/lib/skeleton/style/index.css +282 -0
- package/lib/skeleton/style/index.d.ts +2 -0
- package/lib/skeleton/style/index.js +5 -0
- package/lib/skeleton/style/index.less +3 -0
- package/lib/skeleton/style/rtl.less +48 -0
- package/lib/slider/SliderTooltip.d.ts +4 -0
- package/lib/slider/SliderTooltip.js +56 -0
- package/lib/slider/index.d.ts +89 -0
- package/lib/slider/index.js +171 -0
- package/lib/slider/style/css.js +7 -0
- package/lib/slider/style/index-pure.less +215 -0
- package/lib/slider/style/index.css +202 -0
- package/lib/slider/style/index.d.ts +3 -0
- package/lib/slider/style/index.js +7 -0
- package/lib/slider/style/index.less +3 -0
- package/lib/slider/style/rtl.less +49 -0
- package/lib/space/Compact.d.ts +24 -0
- package/lib/space/Compact.js +122 -0
- package/lib/space/Item.d.ts +11 -0
- package/lib/space/Item.js +62 -0
- package/lib/space/index.d.ts +25 -0
- package/lib/space/index.js +160 -0
- package/lib/space/style/compact.less +17 -0
- package/lib/space/style/css.js +5 -0
- package/lib/space/style/index-pure.less +40 -0
- package/lib/space/style/index.css +41 -0
- package/lib/space/style/index.d.ts +2 -0
- package/lib/space/style/index.js +5 -0
- package/lib/space/style/index.less +3 -0
- package/lib/space/style/rtl.less +14 -0
- package/lib/spin/index.d.ts +24 -0
- package/lib/spin/index.js +179 -0
- package/lib/spin/style/css.js +5 -0
- package/lib/spin/style/index-pure.less +218 -0
- package/lib/spin/style/index.css +198 -0
- package/lib/spin/style/index.d.ts +2 -0
- package/lib/spin/style/index.js +5 -0
- package/lib/spin/style/index.less +3 -0
- package/lib/spin/style/rtl.less +20 -0
- package/lib/statistic/Countdown.d.ts +11 -0
- package/lib/statistic/Countdown.js +93 -0
- package/lib/statistic/Number.d.ts +7 -0
- package/lib/statistic/Number.js +66 -0
- package/lib/statistic/Statistic.d.ts +22 -0
- package/lib/statistic/Statistic.js +78 -0
- package/lib/statistic/index.d.ts +3 -0
- package/lib/statistic/index.js +16 -0
- package/lib/statistic/style/css.js +7 -0
- package/lib/statistic/style/index-pure.less +44 -0
- package/lib/statistic/style/index.css +53 -0
- package/lib/statistic/style/index.d.ts +3 -0
- package/lib/statistic/style/index.js +7 -0
- package/lib/statistic/style/index.less +3 -0
- package/lib/statistic/style/rtl.less +21 -0
- package/lib/statistic/utils.d.ts +16 -0
- package/lib/statistic/utils.js +57 -0
- package/lib/steps/index.d.ts +38 -0
- package/lib/steps/index.js +125 -0
- package/lib/steps/style/css.js +7 -0
- package/lib/steps/style/custom-icon.less +32 -0
- package/lib/steps/style/index-pure.less +255 -0
- package/lib/steps/style/index.css +754 -0
- package/lib/steps/style/index.d.ts +3 -0
- package/lib/steps/style/index.js +7 -0
- package/lib/steps/style/index.less +3 -0
- package/lib/steps/style/label-placement.less +45 -0
- package/lib/steps/style/nav.less +134 -0
- package/lib/steps/style/progress-dot.less +113 -0
- package/lib/steps/style/progress.less +36 -0
- package/lib/steps/style/rtl.less +271 -0
- package/lib/steps/style/small.less +48 -0
- package/lib/steps/style/vertical.less +73 -0
- package/lib/steps/useLegacyItems.d.ts +3 -0
- package/lib/steps/useLegacyItems.js +42 -0
- package/lib/style/color/bezierEasing.less +110 -0
- package/lib/style/color/colorPalette.less +85 -0
- package/lib/style/color/colors.less +162 -0
- package/lib/style/color/tinyColor.less +1184 -0
- package/lib/style/compact.less +4 -0
- package/lib/style/core/base.less +10 -0
- package/lib/style/core/global.less +491 -0
- package/lib/style/core/iconfont.less +22 -0
- package/lib/style/core/index.less +5 -0
- package/lib/style/core/motion/fade.less +34 -0
- package/lib/style/core/motion/move.less +129 -0
- package/lib/style/core/motion/other.less +51 -0
- package/lib/style/core/motion/slide.less +129 -0
- package/lib/style/core/motion/zoom.less +179 -0
- package/lib/style/core/motion.less +22 -0
- package/lib/style/dark.less +4 -0
- package/lib/style/default.less +4 -0
- package/lib/style/index.d.ts +2 -0
- package/lib/style/index.js +2 -0
- package/lib/style/index.less +2 -0
- package/lib/style/mixins/box.less +7 -0
- package/lib/style/mixins/clearfix.less +16 -0
- package/lib/style/mixins/compact-item-vertical.less +41 -0
- package/lib/style/mixins/compact-item.less +133 -0
- package/lib/style/mixins/compatibility.less +13 -0
- package/lib/style/mixins/customize.less +181 -0
- package/lib/style/mixins/iconfont.less +28 -0
- package/lib/style/mixins/index.less +16 -0
- package/lib/style/mixins/modal-mask.less +30 -0
- package/lib/style/mixins/motion.less +33 -0
- package/lib/style/mixins/operation-unit.less +15 -0
- package/lib/style/mixins/reset.less +11 -0
- package/lib/style/mixins/rounded-arrow.less +44 -0
- package/lib/style/mixins/size.less +10 -0
- package/lib/style/mixins/typography.less +58 -0
- package/lib/style/theme.less +34 -0
- package/lib/style/themes/compact.less +295 -0
- package/lib/style/themes/dark.less +457 -0
- package/lib/style/themes/default.less +1084 -0
- package/lib/style/themes/index.less +7 -0
- package/lib/style/themes/variable.less +1139 -0
- package/lib/style/variable.less +4 -0
- package/lib/switch/index.d.ts +26 -0
- package/lib/switch/index.js +92 -0
- package/lib/switch/style/css.js +5 -0
- package/lib/switch/style/index-pure.less +154 -0
- package/lib/switch/style/index.css +153 -0
- package/lib/switch/style/index.d.ts +2 -0
- package/lib/switch/style/index.js +5 -0
- package/lib/switch/style/index.less +3 -0
- package/lib/switch/style/rtl.less +52 -0
- package/lib/table/Column.d.ts +7 -0
- package/lib/table/Column.js +17 -0
- package/lib/table/ColumnGroup.d.ts +9 -0
- package/lib/table/ColumnGroup.js +17 -0
- package/lib/table/ExpandIcon.d.ts +11 -0
- package/lib/table/ExpandIcon.js +42 -0
- package/lib/table/Table.d.ts +48 -0
- package/lib/table/Table.js +479 -0
- package/lib/table/hooks/useFilter/FilterDropdown.d.ts +27 -0
- package/lib/table/hooks/useFilter/FilterDropdown.js +528 -0
- package/lib/table/hooks/useFilter/FilterSearch.d.ts +11 -0
- package/lib/table/hooks/useFilter/FilterSearch.js +43 -0
- package/lib/table/hooks/useFilter/FilterWrapper.d.ts +7 -0
- package/lib/table/hooks/useFilter/FilterWrapper.js +35 -0
- package/lib/table/hooks/useFilter/index.d.ts +23 -0
- package/lib/table/hooks/useFilter/index.js +232 -0
- package/lib/table/hooks/useLazyKVMap.d.ts +2 -0
- package/lib/table/hooks/useLazyKVMap.js +50 -0
- package/lib/table/hooks/usePagination.d.ts +4 -0
- package/lib/table/hooks/usePagination.js +126 -0
- package/lib/table/hooks/useSelection.d.ts +19 -0
- package/lib/table/hooks/useSelection.js +646 -0
- package/lib/table/hooks/useSorter.d.ts +24 -0
- package/lib/table/hooks/useSorter.js +395 -0
- package/lib/table/hooks/useTitleColumns.d.ts +2 -0
- package/lib/table/hooks/useTitleColumns.js +36 -0
- package/lib/table/index.d.ts +5 -0
- package/lib/table/index.js +13 -0
- package/lib/table/interface.d.ts +164 -0
- package/lib/table/interface.js +5 -0
- package/lib/table/style/bordered.less +136 -0
- package/lib/table/style/css.js +25 -0
- package/lib/table/style/index-pure.less +763 -0
- package/lib/table/style/index.css +845 -0
- package/lib/table/style/index.d.ts +12 -0
- package/lib/table/style/index.js +25 -0
- package/lib/table/style/index.less +3 -0
- package/lib/table/style/radius.less +49 -0
- package/lib/table/style/rtl.less +168 -0
- package/lib/table/style/size.less +51 -0
- package/lib/table/util.d.ts +14 -0
- package/lib/table/util.js +48 -0
- package/lib/tabs/TabPane.d.ts +5 -0
- package/lib/tabs/TabPane.js +17 -0
- package/lib/tabs/hooks/useAnimateConfig.d.ts +3 -0
- package/lib/tabs/hooks/useAnimateConfig.js +52 -0
- package/lib/tabs/hooks/useLegacyItems.d.ts +4 -0
- package/lib/tabs/hooks/useLegacyItems.js +65 -0
- package/lib/tabs/index.d.ts +21 -0
- package/lib/tabs/index.js +116 -0
- package/lib/tabs/style/card.less +98 -0
- package/lib/tabs/style/css.js +5 -0
- package/lib/tabs/style/dropdown.less +82 -0
- package/lib/tabs/style/index-pure.less +253 -0
- package/lib/tabs/style/index.css +630 -0
- package/lib/tabs/style/index.d.ts +2 -0
- package/lib/tabs/style/index.js +5 -0
- package/lib/tabs/style/index.less +3 -0
- package/lib/tabs/style/position.less +198 -0
- package/lib/tabs/style/rtl.less +86 -0
- package/lib/tabs/style/size.less +42 -0
- package/lib/tag/CheckableTag.d.ts +17 -0
- package/lib/tag/CheckableTag.js +62 -0
- package/lib/tag/index.d.ts +22 -0
- package/lib/tag/index.js +149 -0
- package/lib/tag/style/css.js +5 -0
- package/lib/tag/style/index-pure.less +129 -0
- package/lib/tag/style/index.css +247 -0
- package/lib/tag/style/index.d.ts +2 -0
- package/lib/tag/style/index.js +5 -0
- package/lib/tag/style/index.less +3 -0
- package/lib/tag/style/rtl.less +28 -0
- package/lib/time-picker/index.d.ts +33 -0
- package/lib/time-picker/index.js +80 -0
- package/lib/time-picker/locale/ar_EG.d.ts +3 -0
- package/lib/time-picker/locale/ar_EG.js +11 -0
- package/lib/time-picker/locale/az_AZ.d.ts +3 -0
- package/lib/time-picker/locale/az_AZ.js +11 -0
- package/lib/time-picker/locale/bg_BG.d.ts +3 -0
- package/lib/time-picker/locale/bg_BG.js +11 -0
- package/lib/time-picker/locale/bn_BD.d.ts +3 -0
- package/lib/time-picker/locale/bn_BD.js +12 -0
- package/lib/time-picker/locale/by_BY.d.ts +3 -0
- package/lib/time-picker/locale/by_BY.js +12 -0
- package/lib/time-picker/locale/ca_ES.d.ts +3 -0
- package/lib/time-picker/locale/ca_ES.js +11 -0
- package/lib/time-picker/locale/cs_CZ.d.ts +3 -0
- package/lib/time-picker/locale/cs_CZ.js +11 -0
- package/lib/time-picker/locale/da_DK.d.ts +3 -0
- package/lib/time-picker/locale/da_DK.js +12 -0
- package/lib/time-picker/locale/de_DE.d.ts +3 -0
- package/lib/time-picker/locale/de_DE.js +11 -0
- package/lib/time-picker/locale/el_GR.d.ts +3 -0
- package/lib/time-picker/locale/el_GR.js +11 -0
- package/lib/time-picker/locale/en_GB.d.ts +3 -0
- package/lib/time-picker/locale/en_GB.js +11 -0
- package/lib/time-picker/locale/en_US.d.ts +3 -0
- package/lib/time-picker/locale/en_US.js +12 -0
- package/lib/time-picker/locale/es_ES.d.ts +3 -0
- package/lib/time-picker/locale/es_ES.js +11 -0
- package/lib/time-picker/locale/et_EE.d.ts +3 -0
- package/lib/time-picker/locale/et_EE.js +11 -0
- package/lib/time-picker/locale/fa_IR.d.ts +3 -0
- package/lib/time-picker/locale/fa_IR.js +12 -0
- package/lib/time-picker/locale/fi_FI.d.ts +3 -0
- package/lib/time-picker/locale/fi_FI.js +11 -0
- package/lib/time-picker/locale/fr_BE.d.ts +3 -0
- package/lib/time-picker/locale/fr_BE.js +11 -0
- package/lib/time-picker/locale/fr_CA.d.ts +3 -0
- package/lib/time-picker/locale/fr_CA.js +12 -0
- package/lib/time-picker/locale/fr_FR.d.ts +3 -0
- package/lib/time-picker/locale/fr_FR.js +12 -0
- package/lib/time-picker/locale/ga_IE.d.ts +3 -0
- package/lib/time-picker/locale/ga_IE.js +12 -0
- package/lib/time-picker/locale/gl_ES.d.ts +3 -0
- package/lib/time-picker/locale/gl_ES.js +11 -0
- package/lib/time-picker/locale/he_IL.d.ts +3 -0
- package/lib/time-picker/locale/he_IL.js +11 -0
- package/lib/time-picker/locale/hi_IN.d.ts +3 -0
- package/lib/time-picker/locale/hi_IN.js +12 -0
- package/lib/time-picker/locale/hr_HR.d.ts +3 -0
- package/lib/time-picker/locale/hr_HR.js +12 -0
- package/lib/time-picker/locale/hu_HU.d.ts +3 -0
- package/lib/time-picker/locale/hu_HU.js +11 -0
- package/lib/time-picker/locale/id_ID.d.ts +3 -0
- package/lib/time-picker/locale/id_ID.js +11 -0
- package/lib/time-picker/locale/is_IS.d.ts +3 -0
- package/lib/time-picker/locale/is_IS.js +11 -0
- package/lib/time-picker/locale/it_IT.d.ts +3 -0
- package/lib/time-picker/locale/it_IT.js +11 -0
- package/lib/time-picker/locale/ja_JP.d.ts +3 -0
- package/lib/time-picker/locale/ja_JP.js +12 -0
- package/lib/time-picker/locale/ka_GE.d.ts +3 -0
- package/lib/time-picker/locale/ka_GE.js +12 -0
- package/lib/time-picker/locale/kk_KZ.d.ts +3 -0
- package/lib/time-picker/locale/kk_KZ.js +12 -0
- package/lib/time-picker/locale/km_KH.d.ts +3 -0
- package/lib/time-picker/locale/km_KH.js +12 -0
- package/lib/time-picker/locale/kmr_IQ.d.ts +3 -0
- package/lib/time-picker/locale/kmr_IQ.js +11 -0
- package/lib/time-picker/locale/kn_IN.d.ts +3 -0
- package/lib/time-picker/locale/kn_IN.js +11 -0
- package/lib/time-picker/locale/ko_KR.d.ts +3 -0
- package/lib/time-picker/locale/ko_KR.js +12 -0
- package/lib/time-picker/locale/lt_LT.d.ts +3 -0
- package/lib/time-picker/locale/lt_LT.js +12 -0
- package/lib/time-picker/locale/lv_LV.d.ts +3 -0
- package/lib/time-picker/locale/lv_LV.js +11 -0
- package/lib/time-picker/locale/mk_MK.d.ts +3 -0
- package/lib/time-picker/locale/mk_MK.js +11 -0
- package/lib/time-picker/locale/ml_IN.d.ts +3 -0
- package/lib/time-picker/locale/ml_IN.js +12 -0
- package/lib/time-picker/locale/mn_MN.d.ts +3 -0
- package/lib/time-picker/locale/mn_MN.js +11 -0
- package/lib/time-picker/locale/ms_MY.d.ts +3 -0
- package/lib/time-picker/locale/ms_MY.js +11 -0
- package/lib/time-picker/locale/nb_NO.d.ts +3 -0
- package/lib/time-picker/locale/nb_NO.js +12 -0
- package/lib/time-picker/locale/nl_BE.d.ts +3 -0
- package/lib/time-picker/locale/nl_BE.js +12 -0
- package/lib/time-picker/locale/nl_NL.d.ts +3 -0
- package/lib/time-picker/locale/nl_NL.js +12 -0
- package/lib/time-picker/locale/pl_PL.d.ts +3 -0
- package/lib/time-picker/locale/pl_PL.js +11 -0
- package/lib/time-picker/locale/pt_BR.d.ts +3 -0
- package/lib/time-picker/locale/pt_BR.js +11 -0
- package/lib/time-picker/locale/pt_PT.d.ts +3 -0
- package/lib/time-picker/locale/pt_PT.js +11 -0
- package/lib/time-picker/locale/ro_RO.d.ts +3 -0
- package/lib/time-picker/locale/ro_RO.js +11 -0
- package/lib/time-picker/locale/ru_RU.d.ts +4 -0
- package/lib/time-picker/locale/ru_RU.js +12 -0
- package/lib/time-picker/locale/si_LK.d.ts +3 -0
- package/lib/time-picker/locale/si_LK.js +12 -0
- package/lib/time-picker/locale/sk_SK.d.ts +3 -0
- package/lib/time-picker/locale/sk_SK.js +11 -0
- package/lib/time-picker/locale/sl_SI.d.ts +3 -0
- package/lib/time-picker/locale/sl_SI.js +11 -0
- package/lib/time-picker/locale/sr_RS.d.ts +3 -0
- package/lib/time-picker/locale/sr_RS.js +12 -0
- package/lib/time-picker/locale/sv_SE.d.ts +3 -0
- package/lib/time-picker/locale/sv_SE.js +11 -0
- package/lib/time-picker/locale/ta_IN.d.ts +3 -0
- package/lib/time-picker/locale/ta_IN.js +11 -0
- package/lib/time-picker/locale/th_TH.d.ts +3 -0
- package/lib/time-picker/locale/th_TH.js +11 -0
- package/lib/time-picker/locale/tk_TK.d.ts +3 -0
- package/lib/time-picker/locale/tk_TK.js +12 -0
- package/lib/time-picker/locale/tr_TR.d.ts +3 -0
- package/lib/time-picker/locale/tr_TR.js +12 -0
- package/lib/time-picker/locale/uk_UA.d.ts +3 -0
- package/lib/time-picker/locale/uk_UA.js +11 -0
- package/lib/time-picker/locale/ur_PK.d.ts +3 -0
- package/lib/time-picker/locale/ur_PK.js +12 -0
- package/lib/time-picker/locale/vi_VN.d.ts +3 -0
- package/lib/time-picker/locale/vi_VN.js +11 -0
- package/lib/time-picker/locale/zh_CN.d.ts +3 -0
- package/lib/time-picker/locale/zh_CN.js +12 -0
- package/lib/time-picker/locale/zh_TW.d.ts +3 -0
- package/lib/time-picker/locale/zh_TW.js +11 -0
- package/lib/time-picker/style/css.js +7 -0
- package/lib/time-picker/style/index-pure.less +3 -0
- package/lib/time-picker/style/index.css +4 -0
- package/lib/time-picker/style/index.d.ts +3 -0
- package/lib/time-picker/style/index.js +7 -0
- package/lib/time-picker/style/index.less +3 -0
- package/lib/timeline/Timeline.d.ts +18 -0
- package/lib/timeline/Timeline.js +112 -0
- package/lib/timeline/TimelineItem.d.ts +17 -0
- package/lib/timeline/TimelineItem.js +75 -0
- package/lib/timeline/index.d.ts +4 -0
- package/lib/timeline/index.js +13 -0
- package/lib/timeline/style/css.js +5 -0
- package/lib/timeline/style/index-pure.less +185 -0
- package/lib/timeline/style/index.css +236 -0
- package/lib/timeline/style/index.d.ts +2 -0
- package/lib/timeline/style/index.js +5 -0
- package/lib/timeline/style/index.less +3 -0
- package/lib/timeline/style/rtl.less +135 -0
- package/lib/tooltip/index.d.ts +70 -0
- package/lib/tooltip/index.js +278 -0
- package/lib/tooltip/style/css.js +5 -0
- package/lib/tooltip/style/index-pure.less +224 -0
- package/lib/tooltip/style/index.css +274 -0
- package/lib/tooltip/style/index.d.ts +2 -0
- package/lib/tooltip/style/index.js +5 -0
- package/lib/tooltip/style/index.less +3 -0
- package/lib/tooltip/style/rtl.less +14 -0
- package/lib/transfer/ListBody.d.ts +29 -0
- package/lib/transfer/ListBody.js +190 -0
- package/lib/transfer/ListItem.d.ts +15 -0
- package/lib/transfer/ListItem.js +86 -0
- package/lib/transfer/index.d.ts +140 -0
- package/lib/transfer/index.js +477 -0
- package/lib/transfer/interface.d.ts +6 -0
- package/lib/transfer/interface.js +5 -0
- package/lib/transfer/list.d.ts +75 -0
- package/lib/transfer/list.js +429 -0
- package/lib/transfer/operation.d.ts +17 -0
- package/lib/transfer/operation.js +53 -0
- package/lib/transfer/search.d.ts +10 -0
- package/lib/transfer/search.js +42 -0
- package/lib/transfer/style/css.js +17 -0
- package/lib/transfer/style/customize.less +52 -0
- package/lib/transfer/style/index-pure.less +222 -0
- package/lib/transfer/style/index.css +281 -0
- package/lib/transfer/style/index.d.ts +8 -0
- package/lib/transfer/style/index.js +17 -0
- package/lib/transfer/style/index.less +3 -0
- package/lib/transfer/style/rtl.less +71 -0
- package/lib/transfer/style/status.less +31 -0
- package/lib/tree/DirectoryTree.d.ts +20 -0
- package/lib/tree/DirectoryTree.js +218 -0
- package/lib/tree/Tree.d.ts +133 -0
- package/lib/tree/Tree.js +116 -0
- package/lib/tree/index.d.ts +19 -0
- package/lib/tree/index.js +20 -0
- package/lib/tree/style/css.js +5 -0
- package/lib/tree/style/directory.less +72 -0
- package/lib/tree/style/index-pure.less +16 -0
- package/lib/tree/style/index.css +532 -0
- package/lib/tree/style/index.d.ts +2 -0
- package/lib/tree/style/index.js +5 -0
- package/lib/tree/style/index.less +3 -0
- package/lib/tree/style/mixin.less +337 -0
- package/lib/tree/style/rtl.less +72 -0
- package/lib/tree/utils/dictUtil.d.ts +9 -0
- package/lib/tree/utils/dictUtil.js +95 -0
- package/lib/tree/utils/dropIndicator.d.ts +9 -0
- package/lib/tree/utils/dropIndicator.js +51 -0
- package/lib/tree/utils/iconUtil.d.ts +5 -0
- package/lib/tree/utils/iconUtil.js +96 -0
- package/lib/tree-select/index.d.ts +48 -0
- package/lib/tree-select/index.js +206 -0
- package/lib/tree-select/style/css.js +9 -0
- package/lib/tree-select/style/index-pure.less +57 -0
- package/lib/tree-select/style/index.css +481 -0
- package/lib/tree-select/style/index.d.ts +4 -0
- package/lib/tree-select/style/index.js +9 -0
- package/lib/tree-select/style/index.less +3 -0
- package/lib/typography/Base/Ellipsis.d.ts +15 -0
- package/lib/typography/Base/Ellipsis.js +214 -0
- package/lib/typography/Base/EllipsisTooltip.d.ts +13 -0
- package/lib/typography/Base/EllipsisTooltip.js +38 -0
- package/lib/typography/Base/index.d.ts +52 -0
- package/lib/typography/Base/index.js +565 -0
- package/lib/typography/Editable.d.ts +20 -0
- package/lib/typography/Editable.js +134 -0
- package/lib/typography/Link.d.ts +7 -0
- package/lib/typography/Link.js +53 -0
- package/lib/typography/Paragraph.d.ts +6 -0
- package/lib/typography/Paragraph.js +26 -0
- package/lib/typography/Text.d.ts +7 -0
- package/lib/typography/Text.js +59 -0
- package/lib/typography/Title.d.ts +8 -0
- package/lib/typography/Title.js +57 -0
- package/lib/typography/Typography.d.ts +17 -0
- package/lib/typography/Typography.js +79 -0
- package/lib/typography/hooks/useMergedConfig.d.ts +1 -0
- package/lib/typography/hooks/useMergedConfig.js +23 -0
- package/lib/typography/hooks/useUpdatedEffect.d.ts +4 -0
- package/lib/typography/hooks/useUpdatedEffect.js +26 -0
- package/lib/typography/index.d.ts +13 -0
- package/lib/typography/index.js +26 -0
- package/lib/typography/style/css.js +9 -0
- package/lib/typography/style/index-pure.less +314 -0
- package/lib/typography/style/index.css +369 -0
- package/lib/typography/style/index.d.ts +4 -0
- package/lib/typography/style/index.js +9 -0
- package/lib/typography/style/index.less +3 -0
- package/lib/typography/style/rtl.less +54 -0
- package/lib/upload/Dragger.d.ts +9 -0
- package/lib/upload/Dragger.js +51 -0
- package/lib/upload/Upload.d.ts +6 -0
- package/lib/upload/Upload.js +524 -0
- package/lib/upload/UploadList/ListItem.d.ts +27 -0
- package/lib/upload/UploadList/ListItem.js +235 -0
- package/lib/upload/UploadList/index.d.ts +4 -0
- package/lib/upload/UploadList/index.js +281 -0
- package/lib/upload/index.d.ts +14 -0
- package/lib/upload/index.js +20 -0
- package/lib/upload/interface.d.ts +134 -0
- package/lib/upload/interface.js +5 -0
- package/lib/upload/style/css.js +11 -0
- package/lib/upload/style/index-pure.less +565 -0
- package/lib/upload/style/index.css +588 -0
- package/lib/upload/style/index.d.ts +5 -0
- package/lib/upload/style/index.js +11 -0
- package/lib/upload/style/index.less +3 -0
- package/lib/upload/style/rtl.less +165 -0
- package/lib/upload/utils.d.ts +8 -0
- package/lib/upload/utils.js +160 -0
- package/lib/version/index.d.ts +2 -0
- package/lib/version/index.js +16 -0
- package/lib/version/style/css.js +3 -0
- package/lib/version/style/index.d.ts +1 -0
- package/lib/version/style/index.js +3 -0
- package/lib/version/token.d.ts +319 -0
- package/lib/version/token.js +325 -0
- package/lib/version/version.d.ts +2 -0
- package/lib/version/version.js +8 -0
- package/package.json +9 -3
@@ -0,0 +1,1184 @@
|
|
1
|
+
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
|
2
|
+
.tinyColorMixin() {
|
3
|
+
@functions: ~`(function() {
|
4
|
+
// TinyColor v1.4.1
|
5
|
+
// https://github.com/bgrins/TinyColor
|
6
|
+
// 2016-07-07, Brian Grinstead, MIT License
|
7
|
+
var trimLeft = /^\s+/,
|
8
|
+
trimRight = /\s+$/,
|
9
|
+
tinyCounter = 0,
|
10
|
+
mathRound = Math.round,
|
11
|
+
mathMin = Math.min,
|
12
|
+
mathMax = Math.max,
|
13
|
+
mathRandom = Math.random;
|
14
|
+
|
15
|
+
function tinycolor (color, opts) {
|
16
|
+
|
17
|
+
color = (color) ? color : '';
|
18
|
+
opts = opts || { };
|
19
|
+
|
20
|
+
// If input is already a tinycolor, return itself
|
21
|
+
if (color instanceof tinycolor) {
|
22
|
+
return color;
|
23
|
+
}
|
24
|
+
// If we are called as a function, call using new instead
|
25
|
+
if (!(this instanceof tinycolor)) {
|
26
|
+
return new tinycolor(color, opts);
|
27
|
+
}
|
28
|
+
|
29
|
+
var rgb = inputToRGB(color);
|
30
|
+
this._originalInput = color,
|
31
|
+
this._r = rgb.r,
|
32
|
+
this._g = rgb.g,
|
33
|
+
this._b = rgb.b,
|
34
|
+
this._a = rgb.a,
|
35
|
+
this._roundA = mathRound(100*this._a) / 100,
|
36
|
+
this._format = opts.format || rgb.format;
|
37
|
+
this._gradientType = opts.gradientType;
|
38
|
+
|
39
|
+
// Don't let the range of [0,255] come back in [0,1].
|
40
|
+
// Potentially lose a little bit of precision here, but will fix issues where
|
41
|
+
// .5 gets interpreted as half of the total, instead of half of 1
|
42
|
+
// If it was supposed to be 128, this was already taken care of by inputToRgb
|
43
|
+
if (this._r < 1) { this._r = mathRound(this._r); }
|
44
|
+
if (this._g < 1) { this._g = mathRound(this._g); }
|
45
|
+
if (this._b < 1) { this._b = mathRound(this._b); }
|
46
|
+
|
47
|
+
this._ok = rgb.ok;
|
48
|
+
this._tc_id = tinyCounter++;
|
49
|
+
}
|
50
|
+
|
51
|
+
tinycolor.prototype = {
|
52
|
+
isDark: function() {
|
53
|
+
return this.getBrightness() < 128;
|
54
|
+
},
|
55
|
+
isLight: function() {
|
56
|
+
return !this.isDark();
|
57
|
+
},
|
58
|
+
isValid: function() {
|
59
|
+
return this._ok;
|
60
|
+
},
|
61
|
+
getOriginalInput: function() {
|
62
|
+
return this._originalInput;
|
63
|
+
},
|
64
|
+
getFormat: function() {
|
65
|
+
return this._format;
|
66
|
+
},
|
67
|
+
getAlpha: function() {
|
68
|
+
return this._a;
|
69
|
+
},
|
70
|
+
getBrightness: function() {
|
71
|
+
//http://www.w3.org/TR/AERT#color-contrast
|
72
|
+
var rgb = this.toRgb();
|
73
|
+
return (rgb.r * 299 + rgb.g * 587 + rgb.b * 114) / 1000;
|
74
|
+
},
|
75
|
+
getLuminance: function() {
|
76
|
+
//http://www.w3.org/TR/2008/REC-WCAG20-20081211/#relativeluminancedef
|
77
|
+
var rgb = this.toRgb();
|
78
|
+
var RsRGB, GsRGB, BsRGB, R, G, B;
|
79
|
+
RsRGB = rgb.r/255;
|
80
|
+
GsRGB = rgb.g/255;
|
81
|
+
BsRGB = rgb.b/255;
|
82
|
+
|
83
|
+
if (RsRGB <= 0.03928) {R = RsRGB / 12.92;} else {R = Math.pow(((RsRGB + 0.055) / 1.055), 2.4);}
|
84
|
+
if (GsRGB <= 0.03928) {G = GsRGB / 12.92;} else {G = Math.pow(((GsRGB + 0.055) / 1.055), 2.4);}
|
85
|
+
if (BsRGB <= 0.03928) {B = BsRGB / 12.92;} else {B = Math.pow(((BsRGB + 0.055) / 1.055), 2.4);}
|
86
|
+
return (0.2126 * R) + (0.7152 * G) + (0.0722 * B);
|
87
|
+
},
|
88
|
+
setAlpha: function(value) {
|
89
|
+
this._a = boundAlpha(value);
|
90
|
+
this._roundA = mathRound(100*this._a) / 100;
|
91
|
+
return this;
|
92
|
+
},
|
93
|
+
toHsv: function() {
|
94
|
+
var hsv = rgbToHsv(this._r, this._g, this._b);
|
95
|
+
return { h: hsv.h * 360, s: hsv.s, v: hsv.v, a: this._a };
|
96
|
+
},
|
97
|
+
toHsvString: function() {
|
98
|
+
var hsv = rgbToHsv(this._r, this._g, this._b);
|
99
|
+
var h = mathRound(hsv.h * 360), s = mathRound(hsv.s * 100), v = mathRound(hsv.v * 100);
|
100
|
+
return (this._a == 1) ?
|
101
|
+
"hsv(" + h + ", " + s + "%, " + v + "%)" :
|
102
|
+
"hsva(" + h + ", " + s + "%, " + v + "%, "+ this._roundA + ")";
|
103
|
+
},
|
104
|
+
toHsl: function() {
|
105
|
+
var hsl = rgbToHsl(this._r, this._g, this._b);
|
106
|
+
return { h: hsl.h * 360, s: hsl.s, l: hsl.l, a: this._a };
|
107
|
+
},
|
108
|
+
toHslString: function() {
|
109
|
+
var hsl = rgbToHsl(this._r, this._g, this._b);
|
110
|
+
var h = mathRound(hsl.h * 360), s = mathRound(hsl.s * 100), l = mathRound(hsl.l * 100);
|
111
|
+
return (this._a == 1) ?
|
112
|
+
"hsl(" + h + ", " + s + "%, " + l + "%)" :
|
113
|
+
"hsla(" + h + ", " + s + "%, " + l + "%, "+ this._roundA + ")";
|
114
|
+
},
|
115
|
+
toHex: function(allow3Char) {
|
116
|
+
return rgbToHex(this._r, this._g, this._b, allow3Char);
|
117
|
+
},
|
118
|
+
toHexString: function(allow3Char) {
|
119
|
+
return '#' + this.toHex(allow3Char);
|
120
|
+
},
|
121
|
+
toHex8: function(allow4Char) {
|
122
|
+
return rgbaToHex(this._r, this._g, this._b, this._a, allow4Char);
|
123
|
+
},
|
124
|
+
toHex8String: function(allow4Char) {
|
125
|
+
return '#' + this.toHex8(allow4Char);
|
126
|
+
},
|
127
|
+
toRgb: function() {
|
128
|
+
return { r: mathRound(this._r), g: mathRound(this._g), b: mathRound(this._b), a: this._a };
|
129
|
+
},
|
130
|
+
toRgbString: function() {
|
131
|
+
return (this._a == 1) ?
|
132
|
+
"rgb(" + mathRound(this._r) + ", " + mathRound(this._g) + ", " + mathRound(this._b) + ")" :
|
133
|
+
"rgba(" + mathRound(this._r) + ", " + mathRound(this._g) + ", " + mathRound(this._b) + ", " + this._roundA + ")";
|
134
|
+
},
|
135
|
+
toPercentageRgb: function() {
|
136
|
+
return { r: mathRound(bound01(this._r, 255) * 100) + "%", g: mathRound(bound01(this._g, 255) * 100) + "%", b: mathRound(bound01(this._b, 255) * 100) + "%", a: this._a };
|
137
|
+
},
|
138
|
+
toPercentageRgbString: function() {
|
139
|
+
return (this._a == 1) ?
|
140
|
+
"rgb(" + mathRound(bound01(this._r, 255) * 100) + "%, " + mathRound(bound01(this._g, 255) * 100) + "%, " + mathRound(bound01(this._b, 255) * 100) + "%)" :
|
141
|
+
"rgba(" + mathRound(bound01(this._r, 255) * 100) + "%, " + mathRound(bound01(this._g, 255) * 100) + "%, " + mathRound(bound01(this._b, 255) * 100) + "%, " + this._roundA + ")";
|
142
|
+
},
|
143
|
+
toName: function() {
|
144
|
+
if (this._a === 0) {
|
145
|
+
return "transparent";
|
146
|
+
}
|
147
|
+
|
148
|
+
if (this._a < 1) {
|
149
|
+
return false;
|
150
|
+
}
|
151
|
+
|
152
|
+
return hexNames[rgbToHex(this._r, this._g, this._b, true)] || false;
|
153
|
+
},
|
154
|
+
toFilter: function(secondColor) {
|
155
|
+
var hex8String = '#' + rgbaToArgbHex(this._r, this._g, this._b, this._a);
|
156
|
+
var secondHex8String = hex8String;
|
157
|
+
var gradientType = this._gradientType ? "GradientType = 1, " : "";
|
158
|
+
|
159
|
+
if (secondColor) {
|
160
|
+
var s = tinycolor(secondColor);
|
161
|
+
secondHex8String = '#' + rgbaToArgbHex(s._r, s._g, s._b, s._a);
|
162
|
+
}
|
163
|
+
|
164
|
+
return "progid:DXImageTransform.Microsoft.gradient("+gradientType+"startColorstr="+hex8String+",endColorstr="+secondHex8String+")";
|
165
|
+
},
|
166
|
+
toString: function(format) {
|
167
|
+
var formatSet = !!format;
|
168
|
+
format = format || this._format;
|
169
|
+
|
170
|
+
var formattedString = false;
|
171
|
+
var hasAlpha = this._a < 1 && this._a >= 0;
|
172
|
+
var needsAlphaFormat = !formatSet && hasAlpha && (format === "hex" || format === "hex6" || format === "hex3" || format === "hex4" || format === "hex8" || format === "name");
|
173
|
+
|
174
|
+
if (needsAlphaFormat) {
|
175
|
+
// Special case for "transparent", all other non-alpha formats
|
176
|
+
// will return rgba when there is transparency.
|
177
|
+
if (format === "name" && this._a === 0) {
|
178
|
+
return this.toName();
|
179
|
+
}
|
180
|
+
return this.toRgbString();
|
181
|
+
}
|
182
|
+
if (format === "rgb") {
|
183
|
+
formattedString = this.toRgbString();
|
184
|
+
}
|
185
|
+
if (format === "prgb") {
|
186
|
+
formattedString = this.toPercentageRgbString();
|
187
|
+
}
|
188
|
+
if (format === "hex" || format === "hex6") {
|
189
|
+
formattedString = this.toHexString();
|
190
|
+
}
|
191
|
+
if (format === "hex3") {
|
192
|
+
formattedString = this.toHexString(true);
|
193
|
+
}
|
194
|
+
if (format === "hex4") {
|
195
|
+
formattedString = this.toHex8String(true);
|
196
|
+
}
|
197
|
+
if (format === "hex8") {
|
198
|
+
formattedString = this.toHex8String();
|
199
|
+
}
|
200
|
+
if (format === "name") {
|
201
|
+
formattedString = this.toName();
|
202
|
+
}
|
203
|
+
if (format === "hsl") {
|
204
|
+
formattedString = this.toHslString();
|
205
|
+
}
|
206
|
+
if (format === "hsv") {
|
207
|
+
formattedString = this.toHsvString();
|
208
|
+
}
|
209
|
+
|
210
|
+
return formattedString || this.toHexString();
|
211
|
+
},
|
212
|
+
clone: function() {
|
213
|
+
return tinycolor(this.toString());
|
214
|
+
},
|
215
|
+
|
216
|
+
_applyModification: function(fn, args) {
|
217
|
+
var color = fn.apply(null, [this].concat([].slice.call(args)));
|
218
|
+
this._r = color._r;
|
219
|
+
this._g = color._g;
|
220
|
+
this._b = color._b;
|
221
|
+
this.setAlpha(color._a);
|
222
|
+
return this;
|
223
|
+
},
|
224
|
+
lighten: function() {
|
225
|
+
return this._applyModification(lighten, arguments);
|
226
|
+
},
|
227
|
+
brighten: function() {
|
228
|
+
return this._applyModification(brighten, arguments);
|
229
|
+
},
|
230
|
+
darken: function() {
|
231
|
+
return this._applyModification(darken, arguments);
|
232
|
+
},
|
233
|
+
desaturate: function() {
|
234
|
+
return this._applyModification(desaturate, arguments);
|
235
|
+
},
|
236
|
+
saturate: function() {
|
237
|
+
return this._applyModification(saturate, arguments);
|
238
|
+
},
|
239
|
+
greyscale: function() {
|
240
|
+
return this._applyModification(greyscale, arguments);
|
241
|
+
},
|
242
|
+
spin: function() {
|
243
|
+
return this._applyModification(spin, arguments);
|
244
|
+
},
|
245
|
+
|
246
|
+
_applyCombination: function(fn, args) {
|
247
|
+
return fn.apply(null, [this].concat([].slice.call(args)));
|
248
|
+
},
|
249
|
+
analogous: function() {
|
250
|
+
return this._applyCombination(analogous, arguments);
|
251
|
+
},
|
252
|
+
complement: function() {
|
253
|
+
return this._applyCombination(complement, arguments);
|
254
|
+
},
|
255
|
+
monochromatic: function() {
|
256
|
+
return this._applyCombination(monochromatic, arguments);
|
257
|
+
},
|
258
|
+
splitcomplement: function() {
|
259
|
+
return this._applyCombination(splitcomplement, arguments);
|
260
|
+
},
|
261
|
+
triad: function() {
|
262
|
+
return this._applyCombination(triad, arguments);
|
263
|
+
},
|
264
|
+
tetrad: function() {
|
265
|
+
return this._applyCombination(tetrad, arguments);
|
266
|
+
}
|
267
|
+
};
|
268
|
+
|
269
|
+
// If input is an object, force 1 into "1.0" to handle ratios properly
|
270
|
+
// String input requires "1.0" as input, so 1 will be treated as 1
|
271
|
+
tinycolor.fromRatio = function(color, opts) {
|
272
|
+
if (typeof color == "object") {
|
273
|
+
var newColor = {};
|
274
|
+
for (var i in color) {
|
275
|
+
if (color.hasOwnProperty(i)) {
|
276
|
+
if (i === "a") {
|
277
|
+
newColor[i] = color[i];
|
278
|
+
}
|
279
|
+
else {
|
280
|
+
newColor[i] = convertToPercentage(color[i]);
|
281
|
+
}
|
282
|
+
}
|
283
|
+
}
|
284
|
+
color = newColor;
|
285
|
+
}
|
286
|
+
|
287
|
+
return tinycolor(color, opts);
|
288
|
+
};
|
289
|
+
|
290
|
+
// Given a string or object, convert that input to RGB
|
291
|
+
// Possible string inputs:
|
292
|
+
//
|
293
|
+
// "red"
|
294
|
+
// "#f00" or "f00"
|
295
|
+
// "#ff0000" or "ff0000"
|
296
|
+
// "#ff000000" or "ff000000"
|
297
|
+
// "rgb 255 0 0" or "rgb (255, 0, 0)"
|
298
|
+
// "rgb 1.0 0 0" or "rgb (1, 0, 0)"
|
299
|
+
// "rgba (255, 0, 0, 1)" or "rgba 255, 0, 0, 1"
|
300
|
+
// "rgba (1.0, 0, 0, 1)" or "rgba 1.0, 0, 0, 1"
|
301
|
+
// "hsl(0, 100%, 50%)" or "hsl 0 100% 50%"
|
302
|
+
// "hsla(0, 100%, 50%, 1)" or "hsla 0 100% 50%, 1"
|
303
|
+
// "hsv(0, 100%, 100%)" or "hsv 0 100% 100%"
|
304
|
+
//
|
305
|
+
function inputToRGB(color) {
|
306
|
+
|
307
|
+
var rgb = { r: 0, g: 0, b: 0 };
|
308
|
+
var a = 1;
|
309
|
+
var s = null;
|
310
|
+
var v = null;
|
311
|
+
var l = null;
|
312
|
+
var ok = false;
|
313
|
+
var format = false;
|
314
|
+
|
315
|
+
if (typeof color == "string") {
|
316
|
+
color = stringInputToObject(color);
|
317
|
+
}
|
318
|
+
|
319
|
+
if (typeof color == "object") {
|
320
|
+
if (isValidCSSUnit(color.r) && isValidCSSUnit(color.g) && isValidCSSUnit(color.b)) {
|
321
|
+
rgb = rgbToRgb(color.r, color.g, color.b);
|
322
|
+
ok = true;
|
323
|
+
format = String(color.r).substr(-1) === "%" ? "prgb" : "rgb";
|
324
|
+
}
|
325
|
+
else if (isValidCSSUnit(color.h) && isValidCSSUnit(color.s) && isValidCSSUnit(color.v)) {
|
326
|
+
s = convertToPercentage(color.s);
|
327
|
+
v = convertToPercentage(color.v);
|
328
|
+
rgb = hsvToRgb(color.h, s, v);
|
329
|
+
ok = true;
|
330
|
+
format = "hsv";
|
331
|
+
}
|
332
|
+
else if (isValidCSSUnit(color.h) && isValidCSSUnit(color.s) && isValidCSSUnit(color.l)) {
|
333
|
+
s = convertToPercentage(color.s);
|
334
|
+
l = convertToPercentage(color.l);
|
335
|
+
rgb = hslToRgb(color.h, s, l);
|
336
|
+
ok = true;
|
337
|
+
format = "hsl";
|
338
|
+
}
|
339
|
+
|
340
|
+
if (color.hasOwnProperty("a")) {
|
341
|
+
a = color.a;
|
342
|
+
}
|
343
|
+
}
|
344
|
+
|
345
|
+
a = boundAlpha(a);
|
346
|
+
|
347
|
+
return {
|
348
|
+
ok: ok,
|
349
|
+
format: color.format || format,
|
350
|
+
r: mathMin(255, mathMax(rgb.r, 0)),
|
351
|
+
g: mathMin(255, mathMax(rgb.g, 0)),
|
352
|
+
b: mathMin(255, mathMax(rgb.b, 0)),
|
353
|
+
a: a
|
354
|
+
};
|
355
|
+
}
|
356
|
+
|
357
|
+
// Conversion Functions
|
358
|
+
// --------------------
|
359
|
+
|
360
|
+
// rgbToHsl, rgbToHsv, hslToRgb, hsvToRgb modified from:
|
361
|
+
// <http://mjijackson.com/2008/02/rgb-to-hsl-and-rgb-to-hsv-color-model-conversion-algorithms-in-javascript>
|
362
|
+
|
363
|
+
// rgbToRgb
|
364
|
+
// Handle bounds / percentage checking to conform to CSS color spec
|
365
|
+
// <http://www.w3.org/TR/css3-color/>
|
366
|
+
// *Assumes:* r, g, b in [0, 255] or [0, 1]
|
367
|
+
// *Returns:* { r, g, b } in [0, 255]
|
368
|
+
function rgbToRgb(r, g, b){
|
369
|
+
return {
|
370
|
+
r: bound01(r, 255) * 255,
|
371
|
+
g: bound01(g, 255) * 255,
|
372
|
+
b: bound01(b, 255) * 255
|
373
|
+
};
|
374
|
+
}
|
375
|
+
|
376
|
+
// rgbToHsl
|
377
|
+
// Converts an RGB color value to HSL.
|
378
|
+
// *Assumes:* r, g, and b are contained in [0, 255] or [0, 1]
|
379
|
+
// *Returns:* { h, s, l } in [0,1]
|
380
|
+
function rgbToHsl(r, g, b) {
|
381
|
+
|
382
|
+
r = bound01(r, 255);
|
383
|
+
g = bound01(g, 255);
|
384
|
+
b = bound01(b, 255);
|
385
|
+
|
386
|
+
var max = mathMax(r, g, b), min = mathMin(r, g, b);
|
387
|
+
var h, s, l = (max + min) / 2;
|
388
|
+
|
389
|
+
if(max == min) {
|
390
|
+
h = s = 0; // achromatic
|
391
|
+
}
|
392
|
+
else {
|
393
|
+
var d = max - min;
|
394
|
+
s = l > 0.5 ? d / (2 - max - min) : d / (max + min);
|
395
|
+
switch(max) {
|
396
|
+
case r: h = (g - b) / d + (g < b ? 6 : 0); break;
|
397
|
+
case g: h = (b - r) / d + 2; break;
|
398
|
+
case b: h = (r - g) / d + 4; break;
|
399
|
+
}
|
400
|
+
|
401
|
+
h /= 6;
|
402
|
+
}
|
403
|
+
|
404
|
+
return { h: h, s: s, l: l };
|
405
|
+
}
|
406
|
+
|
407
|
+
// hslToRgb
|
408
|
+
// Converts an HSL color value to RGB.
|
409
|
+
// *Assumes:* h is contained in [0, 1] or [0, 360] and s and l are contained [0, 1] or [0, 100]
|
410
|
+
// *Returns:* { r, g, b } in the set [0, 255]
|
411
|
+
function hslToRgb(h, s, l) {
|
412
|
+
var r, g, b;
|
413
|
+
|
414
|
+
h = bound01(h, 360);
|
415
|
+
s = bound01(s, 100);
|
416
|
+
l = bound01(l, 100);
|
417
|
+
|
418
|
+
function hue2rgb(p, q, t) {
|
419
|
+
if(t < 0) t += 1;
|
420
|
+
if(t > 1) t -= 1;
|
421
|
+
if(t < 1/6) return p + (q - p) * 6 * t;
|
422
|
+
if(t < 1/2) return q;
|
423
|
+
if(t < 2/3) return p + (q - p) * (2/3 - t) * 6;
|
424
|
+
return p;
|
425
|
+
}
|
426
|
+
|
427
|
+
if(s === 0) {
|
428
|
+
r = g = b = l; // achromatic
|
429
|
+
}
|
430
|
+
else {
|
431
|
+
var q = l < 0.5 ? l * (1 + s) : l + s - l * s;
|
432
|
+
var p = 2 * l - q;
|
433
|
+
r = hue2rgb(p, q, h + 1/3);
|
434
|
+
g = hue2rgb(p, q, h);
|
435
|
+
b = hue2rgb(p, q, h - 1/3);
|
436
|
+
}
|
437
|
+
|
438
|
+
return { r: r * 255, g: g * 255, b: b * 255 };
|
439
|
+
}
|
440
|
+
|
441
|
+
// rgbToHsv
|
442
|
+
// Converts an RGB color value to HSV
|
443
|
+
// *Assumes:* r, g, and b are contained in the set [0, 255] or [0, 1]
|
444
|
+
// *Returns:* { h, s, v } in [0,1]
|
445
|
+
function rgbToHsv(r, g, b) {
|
446
|
+
|
447
|
+
r = bound01(r, 255);
|
448
|
+
g = bound01(g, 255);
|
449
|
+
b = bound01(b, 255);
|
450
|
+
|
451
|
+
var max = mathMax(r, g, b), min = mathMin(r, g, b);
|
452
|
+
var h, s, v = max;
|
453
|
+
|
454
|
+
var d = max - min;
|
455
|
+
s = max === 0 ? 0 : d / max;
|
456
|
+
|
457
|
+
if(max == min) {
|
458
|
+
h = 0; // achromatic
|
459
|
+
}
|
460
|
+
else {
|
461
|
+
switch(max) {
|
462
|
+
case r: h = (g - b) / d + (g < b ? 6 : 0); break;
|
463
|
+
case g: h = (b - r) / d + 2; break;
|
464
|
+
case b: h = (r - g) / d + 4; break;
|
465
|
+
}
|
466
|
+
h /= 6;
|
467
|
+
}
|
468
|
+
return { h: h, s: s, v: v };
|
469
|
+
}
|
470
|
+
|
471
|
+
// hsvToRgb
|
472
|
+
// Converts an HSV color value to RGB.
|
473
|
+
// *Assumes:* h is contained in [0, 1] or [0, 360] and s and v are contained in [0, 1] or [0, 100]
|
474
|
+
// *Returns:* { r, g, b } in the set [0, 255]
|
475
|
+
function hsvToRgb(h, s, v) {
|
476
|
+
|
477
|
+
h = bound01(h, 360) * 6;
|
478
|
+
s = bound01(s, 100);
|
479
|
+
v = bound01(v, 100);
|
480
|
+
|
481
|
+
var i = Math.floor(h),
|
482
|
+
f = h - i,
|
483
|
+
p = v * (1 - s),
|
484
|
+
q = v * (1 - f * s),
|
485
|
+
t = v * (1 - (1 - f) * s),
|
486
|
+
mod = i % 6,
|
487
|
+
r = [v, q, p, p, t, v][mod],
|
488
|
+
g = [t, v, v, q, p, p][mod],
|
489
|
+
b = [p, p, t, v, v, q][mod];
|
490
|
+
|
491
|
+
return { r: r * 255, g: g * 255, b: b * 255 };
|
492
|
+
}
|
493
|
+
|
494
|
+
// rgbToHex
|
495
|
+
// Converts an RGB color to hex
|
496
|
+
// Assumes r, g, and b are contained in the set [0, 255]
|
497
|
+
// Returns a 3 or 6 character hex
|
498
|
+
function rgbToHex(r, g, b, allow3Char) {
|
499
|
+
|
500
|
+
var hex = [
|
501
|
+
pad2(mathRound(r).toString(16)),
|
502
|
+
pad2(mathRound(g).toString(16)),
|
503
|
+
pad2(mathRound(b).toString(16))
|
504
|
+
];
|
505
|
+
|
506
|
+
// Return a 3 character hex if possible
|
507
|
+
if (allow3Char && hex[0].charAt(0) == hex[0].charAt(1) && hex[1].charAt(0) == hex[1].charAt(1) && hex[2].charAt(0) == hex[2].charAt(1)) {
|
508
|
+
return hex[0].charAt(0) + hex[1].charAt(0) + hex[2].charAt(0);
|
509
|
+
}
|
510
|
+
|
511
|
+
return hex.join("");
|
512
|
+
}
|
513
|
+
|
514
|
+
// rgbaToHex
|
515
|
+
// Converts an RGBA color plus alpha transparency to hex
|
516
|
+
// Assumes r, g, b are contained in the set [0, 255] and
|
517
|
+
// a in [0, 1]. Returns a 4 or 8 character rgba hex
|
518
|
+
function rgbaToHex(r, g, b, a, allow4Char) {
|
519
|
+
|
520
|
+
var hex = [
|
521
|
+
pad2(mathRound(r).toString(16)),
|
522
|
+
pad2(mathRound(g).toString(16)),
|
523
|
+
pad2(mathRound(b).toString(16)),
|
524
|
+
pad2(convertDecimalToHex(a))
|
525
|
+
];
|
526
|
+
|
527
|
+
// Return a 4 character hex if possible
|
528
|
+
if (allow4Char && hex[0].charAt(0) == hex[0].charAt(1) && hex[1].charAt(0) == hex[1].charAt(1) && hex[2].charAt(0) == hex[2].charAt(1) && hex[3].charAt(0) == hex[3].charAt(1)) {
|
529
|
+
return hex[0].charAt(0) + hex[1].charAt(0) + hex[2].charAt(0) + hex[3].charAt(0);
|
530
|
+
}
|
531
|
+
|
532
|
+
return hex.join("");
|
533
|
+
}
|
534
|
+
|
535
|
+
// rgbaToArgbHex
|
536
|
+
// Converts an RGBA color to an ARGB Hex8 string
|
537
|
+
// Rarely used, but required for "toFilter()"
|
538
|
+
function rgbaToArgbHex(r, g, b, a) {
|
539
|
+
|
540
|
+
var hex = [
|
541
|
+
pad2(convertDecimalToHex(a)),
|
542
|
+
pad2(mathRound(r).toString(16)),
|
543
|
+
pad2(mathRound(g).toString(16)),
|
544
|
+
pad2(mathRound(b).toString(16))
|
545
|
+
];
|
546
|
+
|
547
|
+
return hex.join("");
|
548
|
+
}
|
549
|
+
|
550
|
+
// equals
|
551
|
+
// Can be called with any tinycolor input
|
552
|
+
tinycolor.equals = function (color1, color2) {
|
553
|
+
if (!color1 || !color2) { return false; }
|
554
|
+
return tinycolor(color1).toRgbString() == tinycolor(color2).toRgbString();
|
555
|
+
};
|
556
|
+
|
557
|
+
tinycolor.random = function() {
|
558
|
+
return tinycolor.fromRatio({
|
559
|
+
r: mathRandom(),
|
560
|
+
g: mathRandom(),
|
561
|
+
b: mathRandom()
|
562
|
+
});
|
563
|
+
};
|
564
|
+
|
565
|
+
// Modification Functions
|
566
|
+
// ----------------------
|
567
|
+
// Thanks to less.js for some of the basics here
|
568
|
+
// <https://github.com/cloudhead/less.js/blob/master/lib/less/functions.js>
|
569
|
+
|
570
|
+
function desaturate(color, amount) {
|
571
|
+
amount = (amount === 0) ? 0 : (amount || 10);
|
572
|
+
var hsl = tinycolor(color).toHsl();
|
573
|
+
hsl.s -= amount / 100;
|
574
|
+
hsl.s = clamp01(hsl.s);
|
575
|
+
return tinycolor(hsl);
|
576
|
+
}
|
577
|
+
|
578
|
+
function saturate(color, amount) {
|
579
|
+
amount = (amount === 0) ? 0 : (amount || 10);
|
580
|
+
var hsl = tinycolor(color).toHsl();
|
581
|
+
hsl.s += amount / 100;
|
582
|
+
hsl.s = clamp01(hsl.s);
|
583
|
+
return tinycolor(hsl);
|
584
|
+
}
|
585
|
+
|
586
|
+
function greyscale(color) {
|
587
|
+
return tinycolor(color).desaturate(100);
|
588
|
+
}
|
589
|
+
|
590
|
+
function lighten (color, amount) {
|
591
|
+
amount = (amount === 0) ? 0 : (amount || 10);
|
592
|
+
var hsl = tinycolor(color).toHsl();
|
593
|
+
hsl.l += amount / 100;
|
594
|
+
hsl.l = clamp01(hsl.l);
|
595
|
+
return tinycolor(hsl);
|
596
|
+
}
|
597
|
+
|
598
|
+
function brighten(color, amount) {
|
599
|
+
amount = (amount === 0) ? 0 : (amount || 10);
|
600
|
+
var rgb = tinycolor(color).toRgb();
|
601
|
+
rgb.r = mathMax(0, mathMin(255, rgb.r - mathRound(255 * - (amount / 100))));
|
602
|
+
rgb.g = mathMax(0, mathMin(255, rgb.g - mathRound(255 * - (amount / 100))));
|
603
|
+
rgb.b = mathMax(0, mathMin(255, rgb.b - mathRound(255 * - (amount / 100))));
|
604
|
+
return tinycolor(rgb);
|
605
|
+
}
|
606
|
+
|
607
|
+
function darken (color, amount) {
|
608
|
+
amount = (amount === 0) ? 0 : (amount || 10);
|
609
|
+
var hsl = tinycolor(color).toHsl();
|
610
|
+
hsl.l -= amount / 100;
|
611
|
+
hsl.l = clamp01(hsl.l);
|
612
|
+
return tinycolor(hsl);
|
613
|
+
}
|
614
|
+
|
615
|
+
// Spin takes a positive or negative amount within [-360, 360] indicating the change of hue.
|
616
|
+
// Values outside of this range will be wrapped into this range.
|
617
|
+
function spin(color, amount) {
|
618
|
+
var hsl = tinycolor(color).toHsl();
|
619
|
+
var hue = (hsl.h + amount) % 360;
|
620
|
+
hsl.h = hue < 0 ? 360 + hue : hue;
|
621
|
+
return tinycolor(hsl);
|
622
|
+
}
|
623
|
+
|
624
|
+
// Combination Functions
|
625
|
+
// ---------------------
|
626
|
+
// Thanks to jQuery xColor for some of the ideas behind these
|
627
|
+
// <https://github.com/infusion/jQuery-xcolor/blob/master/jquery.xcolor.js>
|
628
|
+
|
629
|
+
function complement(color) {
|
630
|
+
var hsl = tinycolor(color).toHsl();
|
631
|
+
hsl.h = (hsl.h + 180) % 360;
|
632
|
+
return tinycolor(hsl);
|
633
|
+
}
|
634
|
+
|
635
|
+
function triad(color) {
|
636
|
+
var hsl = tinycolor(color).toHsl();
|
637
|
+
var h = hsl.h;
|
638
|
+
return [
|
639
|
+
tinycolor(color),
|
640
|
+
tinycolor({ h: (h + 120) % 360, s: hsl.s, l: hsl.l }),
|
641
|
+
tinycolor({ h: (h + 240) % 360, s: hsl.s, l: hsl.l })
|
642
|
+
];
|
643
|
+
}
|
644
|
+
|
645
|
+
function tetrad(color) {
|
646
|
+
var hsl = tinycolor(color).toHsl();
|
647
|
+
var h = hsl.h;
|
648
|
+
return [
|
649
|
+
tinycolor(color),
|
650
|
+
tinycolor({ h: (h + 90) % 360, s: hsl.s, l: hsl.l }),
|
651
|
+
tinycolor({ h: (h + 180) % 360, s: hsl.s, l: hsl.l }),
|
652
|
+
tinycolor({ h: (h + 270) % 360, s: hsl.s, l: hsl.l })
|
653
|
+
];
|
654
|
+
}
|
655
|
+
|
656
|
+
function splitcomplement(color) {
|
657
|
+
var hsl = tinycolor(color).toHsl();
|
658
|
+
var h = hsl.h;
|
659
|
+
return [
|
660
|
+
tinycolor(color),
|
661
|
+
tinycolor({ h: (h + 72) % 360, s: hsl.s, l: hsl.l}),
|
662
|
+
tinycolor({ h: (h + 216) % 360, s: hsl.s, l: hsl.l})
|
663
|
+
];
|
664
|
+
}
|
665
|
+
|
666
|
+
function analogous(color, results, slices) {
|
667
|
+
results = results || 6;
|
668
|
+
slices = slices || 30;
|
669
|
+
|
670
|
+
var hsl = tinycolor(color).toHsl();
|
671
|
+
var part = 360 / slices;
|
672
|
+
var ret = [tinycolor(color)];
|
673
|
+
|
674
|
+
for (hsl.h = ((hsl.h - (part * results >> 1)) + 720) % 360; --results; ) {
|
675
|
+
hsl.h = (hsl.h + part) % 360;
|
676
|
+
ret.push(tinycolor(hsl));
|
677
|
+
}
|
678
|
+
return ret;
|
679
|
+
}
|
680
|
+
|
681
|
+
function monochromatic(color, results) {
|
682
|
+
results = results || 6;
|
683
|
+
var hsv = tinycolor(color).toHsv();
|
684
|
+
var h = hsv.h, s = hsv.s, v = hsv.v;
|
685
|
+
var ret = [];
|
686
|
+
var modification = 1 / results;
|
687
|
+
|
688
|
+
while (results--) {
|
689
|
+
ret.push(tinycolor({ h: h, s: s, v: v}));
|
690
|
+
v = (v + modification) % 1;
|
691
|
+
}
|
692
|
+
|
693
|
+
return ret;
|
694
|
+
}
|
695
|
+
|
696
|
+
// Utility Functions
|
697
|
+
// ---------------------
|
698
|
+
|
699
|
+
tinycolor.mix = function(color1, color2, amount) {
|
700
|
+
amount = (amount === 0) ? 0 : (amount || 50);
|
701
|
+
|
702
|
+
var rgb1 = tinycolor(color1).toRgb();
|
703
|
+
var rgb2 = tinycolor(color2).toRgb();
|
704
|
+
|
705
|
+
var p = amount / 100;
|
706
|
+
|
707
|
+
var rgba = {
|
708
|
+
r: ((rgb2.r - rgb1.r) * p) + rgb1.r,
|
709
|
+
g: ((rgb2.g - rgb1.g) * p) + rgb1.g,
|
710
|
+
b: ((rgb2.b - rgb1.b) * p) + rgb1.b,
|
711
|
+
a: ((rgb2.a - rgb1.a) * p) + rgb1.a
|
712
|
+
};
|
713
|
+
|
714
|
+
return tinycolor(rgba);
|
715
|
+
};
|
716
|
+
|
717
|
+
// Readability Functions
|
718
|
+
// ---------------------
|
719
|
+
// <http://www.w3.org/TR/2008/REC-WCAG20-20081211/#contrast-ratiodef (WCAG Version 2)
|
720
|
+
|
721
|
+
// contrast
|
722
|
+
// Analyze the 2 colors and returns the color contrast defined by (WCAG Version 2)
|
723
|
+
tinycolor.readability = function(color1, color2) {
|
724
|
+
var c1 = tinycolor(color1);
|
725
|
+
var c2 = tinycolor(color2);
|
726
|
+
return (Math.max(c1.getLuminance(),c2.getLuminance())+0.05) / (Math.min(c1.getLuminance(),c2.getLuminance())+0.05);
|
727
|
+
};
|
728
|
+
|
729
|
+
// isReadable
|
730
|
+
// Ensure that foreground and background color combinations meet WCAG2 guidelines.
|
731
|
+
// The third argument is an optional Object.
|
732
|
+
// the 'level' property states 'AA' or 'AAA' - if missing or invalid, it defaults to 'AA';
|
733
|
+
// the 'size' property states 'large' or 'small' - if missing or invalid, it defaults to 'small'.
|
734
|
+
// If the entire object is absent, isReadable defaults to {level:"AA",size:"small"}.
|
735
|
+
|
736
|
+
// *Example*
|
737
|
+
// tinycolor.isReadable("#000", "#111") => false
|
738
|
+
// tinycolor.isReadable("#000", "#111",{level:"AA",size:"large"}) => false
|
739
|
+
tinycolor.isReadable = function(color1, color2, wcag2) {
|
740
|
+
var readability = tinycolor.readability(color1, color2);
|
741
|
+
var wcag2Parms, out;
|
742
|
+
|
743
|
+
out = false;
|
744
|
+
|
745
|
+
wcag2Parms = validateWCAG2Parms(wcag2);
|
746
|
+
switch (wcag2Parms.level + wcag2Parms.size) {
|
747
|
+
case "AAsmall":
|
748
|
+
case "AAAlarge":
|
749
|
+
out = readability >= 4.5;
|
750
|
+
break;
|
751
|
+
case "AAlarge":
|
752
|
+
out = readability >= 3;
|
753
|
+
break;
|
754
|
+
case "AAAsmall":
|
755
|
+
out = readability >= 7;
|
756
|
+
break;
|
757
|
+
}
|
758
|
+
return out;
|
759
|
+
|
760
|
+
};
|
761
|
+
|
762
|
+
// mostReadable
|
763
|
+
// Given a base color and a list of possible foreground or background
|
764
|
+
// colors for that base, returns the most readable color.
|
765
|
+
// Optionally returns Black or White if the most readable color is unreadable.
|
766
|
+
// *Example*
|
767
|
+
// tinycolor.mostReadable(tinycolor.mostReadable("#123", ["#124", "#125"],{includeFallbackColors:false}).toHexString(); // "#112255"
|
768
|
+
// tinycolor.mostReadable(tinycolor.mostReadable("#123", ["#124", "#125"],{includeFallbackColors:true}).toHexString(); // "#ffffff"
|
769
|
+
// tinycolor.mostReadable("#a8015a", ["#faf3f3"],{includeFallbackColors:true,level:"AAA",size:"large"}).toHexString(); // "#faf3f3"
|
770
|
+
// tinycolor.mostReadable("#a8015a", ["#faf3f3"],{includeFallbackColors:true,level:"AAA",size:"small"}).toHexString(); // "#ffffff"
|
771
|
+
tinycolor.mostReadable = function(baseColor, colorList, args) {
|
772
|
+
var bestColor = null;
|
773
|
+
var bestScore = 0;
|
774
|
+
var readability;
|
775
|
+
var includeFallbackColors, level, size ;
|
776
|
+
args = args || {};
|
777
|
+
includeFallbackColors = args.includeFallbackColors ;
|
778
|
+
level = args.level;
|
779
|
+
size = args.size;
|
780
|
+
|
781
|
+
for (var i= 0; i < colorList.length ; i++) {
|
782
|
+
readability = tinycolor.readability(baseColor, colorList[i]);
|
783
|
+
if (readability > bestScore) {
|
784
|
+
bestScore = readability;
|
785
|
+
bestColor = tinycolor(colorList[i]);
|
786
|
+
}
|
787
|
+
}
|
788
|
+
|
789
|
+
if (tinycolor.isReadable(baseColor, bestColor, {"level":level,"size":size}) || !includeFallbackColors) {
|
790
|
+
return bestColor;
|
791
|
+
}
|
792
|
+
else {
|
793
|
+
args.includeFallbackColors=false;
|
794
|
+
return tinycolor.mostReadable(baseColor,["#fff", "#000"],args);
|
795
|
+
}
|
796
|
+
};
|
797
|
+
|
798
|
+
// Big List of Colors
|
799
|
+
// ------------------
|
800
|
+
// <http://www.w3.org/TR/css3-color/#svg-color>
|
801
|
+
var names = tinycolor.names = {
|
802
|
+
aliceblue: "f0f8ff",
|
803
|
+
antiquewhite: "faebd7",
|
804
|
+
aqua: "0ff",
|
805
|
+
aquamarine: "7fffd4",
|
806
|
+
azure: "f0ffff",
|
807
|
+
beige: "f5f5dc",
|
808
|
+
bisque: "ffe4c4",
|
809
|
+
black: "000",
|
810
|
+
blanchedalmond: "ffebcd",
|
811
|
+
blue: "00f",
|
812
|
+
blueviolet: "8a2be2",
|
813
|
+
brown: "a52a2a",
|
814
|
+
burlywood: "deb887",
|
815
|
+
burntsienna: "ea7e5d",
|
816
|
+
cadetblue: "5f9ea0",
|
817
|
+
chartreuse: "7fff00",
|
818
|
+
chocolate: "d2691e",
|
819
|
+
coral: "ff7f50",
|
820
|
+
cornflowerblue: "6495ed",
|
821
|
+
cornsilk: "fff8dc",
|
822
|
+
crimson: "dc143c",
|
823
|
+
cyan: "0ff",
|
824
|
+
darkblue: "00008b",
|
825
|
+
darkcyan: "008b8b",
|
826
|
+
darkgoldenrod: "b8860b",
|
827
|
+
darkgray: "a9a9a9",
|
828
|
+
darkgreen: "006400",
|
829
|
+
darkgrey: "a9a9a9",
|
830
|
+
darkkhaki: "bdb76b",
|
831
|
+
darkmagenta: "8b008b",
|
832
|
+
darkolivegreen: "556b2f",
|
833
|
+
darkorange: "ff8c00",
|
834
|
+
darkorchid: "9932cc",
|
835
|
+
darkred: "8b0000",
|
836
|
+
darksalmon: "e9967a",
|
837
|
+
darkseagreen: "8fbc8f",
|
838
|
+
darkslateblue: "483d8b",
|
839
|
+
darkslategray: "2f4f4f",
|
840
|
+
darkslategrey: "2f4f4f",
|
841
|
+
darkturquoise: "00ced1",
|
842
|
+
darkviolet: "9400d3",
|
843
|
+
deeppink: "ff1493",
|
844
|
+
deepskyblue: "00bfff",
|
845
|
+
dimgray: "696969",
|
846
|
+
dimgrey: "696969",
|
847
|
+
dodgerblue: "1e90ff",
|
848
|
+
firebrick: "b22222",
|
849
|
+
floralwhite: "fffaf0",
|
850
|
+
forestgreen: "228b22",
|
851
|
+
fuchsia: "f0f",
|
852
|
+
gainsboro: "dcdcdc",
|
853
|
+
ghostwhite: "f8f8ff",
|
854
|
+
gold: "ffd700",
|
855
|
+
goldenrod: "daa520",
|
856
|
+
gray: "808080",
|
857
|
+
green: "008000",
|
858
|
+
greenyellow: "adff2f",
|
859
|
+
grey: "808080",
|
860
|
+
honeydew: "f0fff0",
|
861
|
+
hotpink: "ff69b4",
|
862
|
+
indianred: "cd5c5c",
|
863
|
+
indigo: "4b0082",
|
864
|
+
ivory: "fffff0",
|
865
|
+
khaki: "f0e68c",
|
866
|
+
lavender: "e6e6fa",
|
867
|
+
lavenderblush: "fff0f5",
|
868
|
+
lawngreen: "7cfc00",
|
869
|
+
lemonchiffon: "fffacd",
|
870
|
+
lightblue: "add8e6",
|
871
|
+
lightcoral: "f08080",
|
872
|
+
lightcyan: "e0ffff",
|
873
|
+
lightgoldenrodyellow: "fafad2",
|
874
|
+
lightgray: "d3d3d3",
|
875
|
+
lightgreen: "90ee90",
|
876
|
+
lightgrey: "d3d3d3",
|
877
|
+
lightpink: "ffb6c1",
|
878
|
+
lightsalmon: "ffa07a",
|
879
|
+
lightseagreen: "20b2aa",
|
880
|
+
lightskyblue: "87cefa",
|
881
|
+
lightslategray: "789",
|
882
|
+
lightslategrey: "789",
|
883
|
+
lightsteelblue: "b0c4de",
|
884
|
+
lightyellow: "ffffe0",
|
885
|
+
lime: "0f0",
|
886
|
+
limegreen: "32cd32",
|
887
|
+
linen: "faf0e6",
|
888
|
+
magenta: "f0f",
|
889
|
+
maroon: "800000",
|
890
|
+
mediumaquamarine: "66cdaa",
|
891
|
+
mediumblue: "0000cd",
|
892
|
+
mediumorchid: "ba55d3",
|
893
|
+
mediumpurple: "9370db",
|
894
|
+
mediumseagreen: "3cb371",
|
895
|
+
mediumslateblue: "7b68ee",
|
896
|
+
mediumspringgreen: "00fa9a",
|
897
|
+
mediumturquoise: "48d1cc",
|
898
|
+
mediumvioletred: "c71585",
|
899
|
+
midnightblue: "191970",
|
900
|
+
mintcream: "f5fffa",
|
901
|
+
mistyrose: "ffe4e1",
|
902
|
+
moccasin: "ffe4b5",
|
903
|
+
navajowhite: "ffdead",
|
904
|
+
navy: "000080",
|
905
|
+
oldlace: "fdf5e6",
|
906
|
+
olive: "808000",
|
907
|
+
olivedrab: "6b8e23",
|
908
|
+
orange: "ffa500",
|
909
|
+
orangered: "ff4500",
|
910
|
+
orchid: "da70d6",
|
911
|
+
palegoldenrod: "eee8aa",
|
912
|
+
palegreen: "98fb98",
|
913
|
+
paleturquoise: "afeeee",
|
914
|
+
palevioletred: "db7093",
|
915
|
+
papayawhip: "ffefd5",
|
916
|
+
peachpuff: "ffdab9",
|
917
|
+
peru: "cd853f",
|
918
|
+
pink: "ffc0cb",
|
919
|
+
plum: "dda0dd",
|
920
|
+
powderblue: "b0e0e6",
|
921
|
+
purple: "800080",
|
922
|
+
rebeccapurple: "663399",
|
923
|
+
red: "f00",
|
924
|
+
rosybrown: "bc8f8f",
|
925
|
+
royalblue: "4169e1",
|
926
|
+
saddlebrown: "8b4513",
|
927
|
+
salmon: "fa8072",
|
928
|
+
sandybrown: "f4a460",
|
929
|
+
seagreen: "2e8b57",
|
930
|
+
seashell: "fff5ee",
|
931
|
+
sienna: "a0522d",
|
932
|
+
silver: "c0c0c0",
|
933
|
+
skyblue: "87ceeb",
|
934
|
+
slateblue: "6a5acd",
|
935
|
+
slategray: "708090",
|
936
|
+
slategrey: "708090",
|
937
|
+
snow: "fffafa",
|
938
|
+
springgreen: "00ff7f",
|
939
|
+
steelblue: "4682b4",
|
940
|
+
tan: "d2b48c",
|
941
|
+
teal: "008080",
|
942
|
+
thistle: "d8bfd8",
|
943
|
+
tomato: "ff6347",
|
944
|
+
turquoise: "40e0d0",
|
945
|
+
violet: "ee82ee",
|
946
|
+
wheat: "f5deb3",
|
947
|
+
white: "fff",
|
948
|
+
whitesmoke: "f5f5f5",
|
949
|
+
yellow: "ff0",
|
950
|
+
yellowgreen: "9acd32"
|
951
|
+
};
|
952
|
+
|
953
|
+
// Make it easy to access colors via hexNames[hex]
|
954
|
+
var hexNames = tinycolor.hexNames = flip(names);
|
955
|
+
|
956
|
+
// Utilities
|
957
|
+
// ---------
|
958
|
+
|
959
|
+
// { 'name1': 'val1' } becomes { 'val1': 'name1' }
|
960
|
+
function flip(o) {
|
961
|
+
var flipped = { };
|
962
|
+
for (var i in o) {
|
963
|
+
if (o.hasOwnProperty(i)) {
|
964
|
+
flipped[o[i]] = i;
|
965
|
+
}
|
966
|
+
}
|
967
|
+
return flipped;
|
968
|
+
}
|
969
|
+
|
970
|
+
// Return a valid alpha value [0,1] with all invalid values being set to 1
|
971
|
+
function boundAlpha(a) {
|
972
|
+
a = parseFloat(a);
|
973
|
+
|
974
|
+
if (isNaN(a) || a < 0 || a > 1) {
|
975
|
+
a = 1;
|
976
|
+
}
|
977
|
+
|
978
|
+
return a;
|
979
|
+
}
|
980
|
+
|
981
|
+
// Take input from [0, n] and return it as [0, 1]
|
982
|
+
function bound01(n, max) {
|
983
|
+
if (isOnePointZero(n)) { n = "100%"; }
|
984
|
+
|
985
|
+
var processPercent = isPercentage(n);
|
986
|
+
n = mathMin(max, mathMax(0, parseFloat(n)));
|
987
|
+
|
988
|
+
// Automatically convert percentage into number
|
989
|
+
if (processPercent) {
|
990
|
+
n = parseInt(n * max, 10) / 100;
|
991
|
+
}
|
992
|
+
|
993
|
+
// Handle floating point rounding errors
|
994
|
+
if ((Math.abs(n - max) < 0.000001)) {
|
995
|
+
return 1;
|
996
|
+
}
|
997
|
+
|
998
|
+
// Convert into [0, 1] range if it isn't already
|
999
|
+
return (n % max) / parseFloat(max);
|
1000
|
+
}
|
1001
|
+
|
1002
|
+
// Force a number between 0 and 1
|
1003
|
+
function clamp01(val) {
|
1004
|
+
return mathMin(1, mathMax(0, val));
|
1005
|
+
}
|
1006
|
+
|
1007
|
+
// Parse a base-16 hex value into a base-10 integer
|
1008
|
+
function parseIntFromHex(val) {
|
1009
|
+
return parseInt(val, 16);
|
1010
|
+
}
|
1011
|
+
|
1012
|
+
// Need to handle 1.0 as 100%, since once it is a number, there is no difference between it and 1
|
1013
|
+
// <http://stackoverflow.com/questions/7422072/javascript-how-to-detect-number-as-a-decimal-including-1-0>
|
1014
|
+
function isOnePointZero(n) {
|
1015
|
+
return typeof n == "string" && n.indexOf('.') != -1 && parseFloat(n) === 1;
|
1016
|
+
}
|
1017
|
+
|
1018
|
+
// Check to see if string passed in is a percentage
|
1019
|
+
function isPercentage(n) {
|
1020
|
+
return typeof n === "string" && n.indexOf('%') != -1;
|
1021
|
+
}
|
1022
|
+
|
1023
|
+
// Force a hex value to have 2 characters
|
1024
|
+
function pad2(c) {
|
1025
|
+
return c.length == 1 ? '0' + c : '' + c;
|
1026
|
+
}
|
1027
|
+
|
1028
|
+
// Replace a decimal with it's percentage value
|
1029
|
+
function convertToPercentage(n) {
|
1030
|
+
if (n <= 1) {
|
1031
|
+
n = (n * 100) + "%";
|
1032
|
+
}
|
1033
|
+
|
1034
|
+
return n;
|
1035
|
+
}
|
1036
|
+
|
1037
|
+
// Converts a decimal to a hex value
|
1038
|
+
function convertDecimalToHex(d) {
|
1039
|
+
return Math.round(parseFloat(d) * 255).toString(16);
|
1040
|
+
}
|
1041
|
+
// Converts a hex value to a decimal
|
1042
|
+
function convertHexToDecimal(h) {
|
1043
|
+
return (parseIntFromHex(h) / 255);
|
1044
|
+
}
|
1045
|
+
|
1046
|
+
var matchers = (function() {
|
1047
|
+
|
1048
|
+
// <http://www.w3.org/TR/css3-values/#integers>
|
1049
|
+
var CSS_INTEGER = "[-\\+]?\\d+%?";
|
1050
|
+
|
1051
|
+
// <http://www.w3.org/TR/css3-values/#number-value>
|
1052
|
+
var CSS_NUMBER = "[-\\+]?\\d*\\.\\d+%?";
|
1053
|
+
|
1054
|
+
// Allow positive/negative integer/number. Don't capture the either/or, just the entire outcome.
|
1055
|
+
var CSS_UNIT = "(?:" + CSS_NUMBER + ")|(?:" + CSS_INTEGER + ")";
|
1056
|
+
|
1057
|
+
// Actual matching.
|
1058
|
+
// Parentheses and commas are optional, but not required.
|
1059
|
+
// Whitespace can take the place of commas or opening paren
|
1060
|
+
var PERMISSIVE_MATCH3 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
|
1061
|
+
var PERMISSIVE_MATCH4 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
|
1062
|
+
|
1063
|
+
return {
|
1064
|
+
CSS_UNIT: new RegExp(CSS_UNIT),
|
1065
|
+
rgb: new RegExp("rgb" + PERMISSIVE_MATCH3),
|
1066
|
+
rgba: new RegExp("rgba" + PERMISSIVE_MATCH4),
|
1067
|
+
hsl: new RegExp("hsl" + PERMISSIVE_MATCH3),
|
1068
|
+
hsla: new RegExp("hsla" + PERMISSIVE_MATCH4),
|
1069
|
+
hsv: new RegExp("hsv" + PERMISSIVE_MATCH3),
|
1070
|
+
hsva: new RegExp("hsva" + PERMISSIVE_MATCH4),
|
1071
|
+
hex3: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
|
1072
|
+
hex6: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,
|
1073
|
+
hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
|
1074
|
+
hex8: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/
|
1075
|
+
};
|
1076
|
+
})();
|
1077
|
+
|
1078
|
+
// isValidCSSUnit
|
1079
|
+
// Take in a single string / number and check to see if it looks like a CSS unit
|
1080
|
+
// (see matchers above for definition).
|
1081
|
+
function isValidCSSUnit(color) {
|
1082
|
+
return !!matchers.CSS_UNIT.exec(color);
|
1083
|
+
}
|
1084
|
+
|
1085
|
+
// stringInputToObject
|
1086
|
+
// Permissive string parsing. Take in a number of formats, and output an object
|
1087
|
+
// based on detected format. Returns { r, g, b } or { h, s, l } or { h, s, v}
|
1088
|
+
function stringInputToObject(color) {
|
1089
|
+
|
1090
|
+
color = color.replace(trimLeft, '').replace(trimRight, '').toLowerCase();
|
1091
|
+
var named = false;
|
1092
|
+
if (names[color]) {
|
1093
|
+
color = names[color];
|
1094
|
+
named = true;
|
1095
|
+
}
|
1096
|
+
else if (color == 'transparent') {
|
1097
|
+
return { r: 0, g: 0, b: 0, a: 0, format: "name" };
|
1098
|
+
}
|
1099
|
+
|
1100
|
+
// Try to match string input using regular expressions.
|
1101
|
+
// Keep most of the number bounding out of this function - don't worry about [0,1] or [0,100] or [0,360]
|
1102
|
+
// Just return an object and let the conversion functions handle that.
|
1103
|
+
// This way the result will be the same whether the tinycolor is initialized with string or object.
|
1104
|
+
var match;
|
1105
|
+
if ((match = matchers.rgb.exec(color))) {
|
1106
|
+
return { r: match[1], g: match[2], b: match[3] };
|
1107
|
+
}
|
1108
|
+
if ((match = matchers.rgba.exec(color))) {
|
1109
|
+
return { r: match[1], g: match[2], b: match[3], a: match[4] };
|
1110
|
+
}
|
1111
|
+
if ((match = matchers.hsl.exec(color))) {
|
1112
|
+
return { h: match[1], s: match[2], l: match[3] };
|
1113
|
+
}
|
1114
|
+
if ((match = matchers.hsla.exec(color))) {
|
1115
|
+
return { h: match[1], s: match[2], l: match[3], a: match[4] };
|
1116
|
+
}
|
1117
|
+
if ((match = matchers.hsv.exec(color))) {
|
1118
|
+
return { h: match[1], s: match[2], v: match[3] };
|
1119
|
+
}
|
1120
|
+
if ((match = matchers.hsva.exec(color))) {
|
1121
|
+
return { h: match[1], s: match[2], v: match[3], a: match[4] };
|
1122
|
+
}
|
1123
|
+
if ((match = matchers.hex8.exec(color))) {
|
1124
|
+
return {
|
1125
|
+
r: parseIntFromHex(match[1]),
|
1126
|
+
g: parseIntFromHex(match[2]),
|
1127
|
+
b: parseIntFromHex(match[3]),
|
1128
|
+
a: convertHexToDecimal(match[4]),
|
1129
|
+
format: named ? "name" : "hex8"
|
1130
|
+
};
|
1131
|
+
}
|
1132
|
+
if ((match = matchers.hex6.exec(color))) {
|
1133
|
+
return {
|
1134
|
+
r: parseIntFromHex(match[1]),
|
1135
|
+
g: parseIntFromHex(match[2]),
|
1136
|
+
b: parseIntFromHex(match[3]),
|
1137
|
+
format: named ? "name" : "hex"
|
1138
|
+
};
|
1139
|
+
}
|
1140
|
+
if ((match = matchers.hex4.exec(color))) {
|
1141
|
+
return {
|
1142
|
+
r: parseIntFromHex(match[1] + '' + match[1]),
|
1143
|
+
g: parseIntFromHex(match[2] + '' + match[2]),
|
1144
|
+
b: parseIntFromHex(match[3] + '' + match[3]),
|
1145
|
+
a: convertHexToDecimal(match[4] + '' + match[4]),
|
1146
|
+
format: named ? "name" : "hex8"
|
1147
|
+
};
|
1148
|
+
}
|
1149
|
+
if ((match = matchers.hex3.exec(color))) {
|
1150
|
+
return {
|
1151
|
+
r: parseIntFromHex(match[1] + '' + match[1]),
|
1152
|
+
g: parseIntFromHex(match[2] + '' + match[2]),
|
1153
|
+
b: parseIntFromHex(match[3] + '' + match[3]),
|
1154
|
+
format: named ? "name" : "hex"
|
1155
|
+
};
|
1156
|
+
}
|
1157
|
+
|
1158
|
+
return false;
|
1159
|
+
}
|
1160
|
+
|
1161
|
+
function validateWCAG2Parms(parms) {
|
1162
|
+
// return valid WCAG2 parms for isReadable.
|
1163
|
+
// If input parms are invalid, return {"level":"AA", "size":"small"}
|
1164
|
+
var level, size;
|
1165
|
+
parms = parms || {"level":"AA", "size":"small"};
|
1166
|
+
level = (parms.level || "AA").toUpperCase();
|
1167
|
+
size = (parms.size || "small").toLowerCase();
|
1168
|
+
if (level !== "AA" && level !== "AAA") {
|
1169
|
+
level = "AA";
|
1170
|
+
}
|
1171
|
+
if (size !== "small" && size !== "large") {
|
1172
|
+
size = "small";
|
1173
|
+
}
|
1174
|
+
return {"level":level, "size":size};
|
1175
|
+
}
|
1176
|
+
|
1177
|
+
this.tinycolor = tinycolor;
|
1178
|
+
|
1179
|
+
})()`;
|
1180
|
+
}
|
1181
|
+
// It is hacky way to make this function will be compiled preferentially by less
|
1182
|
+
// resolve error: `ReferenceError: colorPalette is not defined`
|
1183
|
+
// https://github.com/ant-design/ant-motion/issues/44
|
1184
|
+
.tinyColorMixin();
|