@tendaui/react 1.1.1 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/_chunks/{dep-D7LanWes.js → dep-4LYjB3c6.js} +3 -18
- package/es/_chunks/dep-4LYjB3c6.js.map +1 -0
- package/es/_chunks/dep-5U9UjDaf.js +345 -0
- package/es/_chunks/dep-5U9UjDaf.js.map +1 -0
- package/es/_chunks/{dep-B7HmDtze.js → dep-B4_O1Vgv.js} +2 -2
- package/es/_chunks/{dep-B7HmDtze.js.map → dep-B4_O1Vgv.js.map} +1 -1
- package/es/_chunks/dep-BP0-apUT.js.map +1 -1
- package/es/_chunks/dep-BRbJGDI9.js +7 -0
- package/es/_chunks/dep-BRbJGDI9.js.map +1 -0
- package/es/_chunks/{dep-EcrDKDlu.js → dep-BYlJzn45.js} +10 -9
- package/es/_chunks/dep-BYlJzn45.js.map +1 -0
- package/es/_chunks/dep-BbeHB7S3.js +116 -0
- package/es/_chunks/dep-BbeHB7S3.js.map +1 -0
- package/es/_chunks/{dep-DB5wmwh1.js → dep-Bjfn7Zv_.js} +2 -2
- package/es/_chunks/{dep-DB5wmwh1.js.map → dep-Bjfn7Zv_.js.map} +1 -1
- package/es/_chunks/{dep-C36au4Ip.js → dep-BuIAffJt.js} +2 -2
- package/es/_chunks/{dep-C36au4Ip.js.map → dep-BuIAffJt.js.map} +1 -1
- package/es/_chunks/{dep-bWaVq_y3.js → dep-ByzdZjUR.js} +2 -2
- package/es/_chunks/dep-ByzdZjUR.js.map +1 -0
- package/es/_chunks/dep-CD_4-1Xb.js +103 -0
- package/es/_chunks/dep-CD_4-1Xb.js.map +1 -0
- package/es/_chunks/{dep-Dk2xX8lh.js → dep-CJCt0IS0.js} +5 -212
- package/es/_chunks/dep-CJCt0IS0.js.map +1 -0
- package/es/_chunks/dep-CMPsNAXF.js +52 -0
- package/es/_chunks/dep-CMPsNAXF.js.map +1 -0
- package/es/_chunks/dep-COy5g3FT.js +512 -0
- package/es/_chunks/dep-COy5g3FT.js.map +1 -0
- package/es/_chunks/{dep-CoIiHOgo.js → dep-CRURwzDj.js} +3 -3
- package/es/_chunks/{dep-CoIiHOgo.js.map → dep-CRURwzDj.js.map} +1 -1
- package/es/_chunks/dep-C_wPqvpm.js +36 -0
- package/es/_chunks/dep-C_wPqvpm.js.map +1 -0
- package/es/_chunks/dep-Ccktr_jk.js +33 -0
- package/es/_chunks/dep-Ccktr_jk.js.map +1 -0
- package/es/_chunks/dep-Chz4ZJCb.js +20 -0
- package/es/_chunks/dep-Chz4ZJCb.js.map +1 -0
- package/es/_chunks/dep-CkmtEv0Y.js +55 -0
- package/es/_chunks/dep-CkmtEv0Y.js.map +1 -0
- package/es/_chunks/dep-DJmE940f.js +764 -0
- package/es/_chunks/dep-DJmE940f.js.map +1 -0
- package/es/_chunks/{dep-DHWwZ2Nj.js → dep-DQ6kXoi8.js} +2 -2
- package/es/_chunks/{dep-DHWwZ2Nj.js.map → dep-DQ6kXoi8.js.map} +1 -1
- package/es/_chunks/{dep-0QH2Ee4R.js → dep-DRwijJcv.js} +5 -5
- package/es/_chunks/dep-DRwijJcv.js.map +1 -0
- package/es/_chunks/dep-DTlQ2dCA.js +46 -0
- package/es/_chunks/dep-DTlQ2dCA.js.map +1 -0
- package/es/_chunks/dep-DURB9x8g.js +170 -0
- package/es/_chunks/dep-DURB9x8g.js.map +1 -0
- package/es/_chunks/{dep-DZ_0EvBk.js → dep-DX65P8M9.js} +4 -45
- package/es/_chunks/dep-DX65P8M9.js.map +1 -0
- package/es/_chunks/{dep-BH5n5r1M.js → dep-DbVHGoUC.js} +2 -2
- package/es/_chunks/dep-DbVHGoUC.js.map +1 -0
- package/es/_chunks/dep-Dlppf0JU.js +214 -0
- package/es/_chunks/dep-Dlppf0JU.js.map +1 -0
- package/es/_chunks/dep-Dr5wkz0z.js +266 -0
- package/es/_chunks/dep-Dr5wkz0z.js.map +1 -0
- package/es/_chunks/dep-DwWrhxkd.js.map +1 -1
- package/es/_chunks/dep-Tshfumgl.js +31 -0
- package/es/_chunks/dep-Tshfumgl.js.map +1 -0
- package/es/_chunks/{dep-u1x3x6MJ.js → dep-gy8uvBaS.js} +2 -2
- package/es/_chunks/{dep-u1x3x6MJ.js.map → dep-gy8uvBaS.js.map} +1 -1
- package/es/_chunks/dep-oUgTcXgm.js +11 -0
- package/es/_chunks/dep-oUgTcXgm.js.map +1 -0
- package/es/_chunks/dep-zOZQ0R9g.js +1181 -0
- package/es/_chunks/dep-zOZQ0R9g.js.map +1 -0
- package/es/alert/Alert.d.ts +7 -0
- package/es/alert/Alert.js +4 -3
- package/es/alert/Alert.js.map +1 -1
- package/es/alert/defaultProps.d.ts +2 -0
- package/es/alert/index.d.ts +5 -0
- package/es/alert/index.js +4 -3
- package/es/alert/index.js.map +1 -1
- package/es/alert/style/css.d.ts +1 -0
- package/es/alert/style/index.d.ts +1 -0
- package/es/alert/type.d.ts +45 -0
- package/es/badge/Badge.d.ts +7 -0
- package/es/badge/Badge.js +3 -2
- package/es/badge/Badge.js.map +1 -1
- package/es/badge/defaultProps.d.ts +2 -0
- package/es/badge/index.d.ts +5 -0
- package/es/badge/index.js +3 -2
- package/es/badge/index.js.map +1 -1
- package/es/badge/style/css.d.ts +1 -0
- package/es/badge/style/index.d.ts +1 -0
- package/es/badge/type.d.ts +50 -0
- package/es/button/Button.d.ts +6 -0
- package/es/button/Button.js +7 -5
- package/es/button/Button.js.map +1 -1
- package/es/button/_example/base.js +171 -0
- package/es/button/_example/base.js.map +1 -0
- package/es/button/_example/icon.js +181 -0
- package/es/button/_example/icon.js.map +1 -0
- package/es/button/defaultProps.d.ts +2 -0
- package/es/button/index.d.ts +5 -0
- package/es/button/index.js +7 -5
- package/es/button/index.js.map +1 -1
- package/es/button/style/css.d.ts +1 -0
- package/es/button/style/index.d.ts +1 -0
- package/es/button/type.d.ts +81 -0
- package/es/checkbox/Checkbox.d.ts +10 -0
- package/es/checkbox/Checkbox.js +5 -4
- package/es/checkbox/Checkbox.js.map +1 -1
- package/es/checkbox/CheckboxGroup.d.ts +14 -0
- package/es/checkbox/CheckboxGroup.js +5 -4
- package/es/checkbox/CheckboxGroup.js.map +1 -1
- package/es/checkbox/defaultProps.d.ts +3 -0
- package/es/checkbox/index.d.ts +11 -0
- package/es/checkbox/index.js +5 -4
- package/es/checkbox/index.js.map +1 -1
- package/es/checkbox/style/css.d.ts +1 -0
- package/es/checkbox/style/index.d.ts +1 -0
- package/es/checkbox/type.d.ts +115 -0
- package/es/color-picker/ColorPickPanel.d.ts +4 -0
- package/es/color-picker/ColorPickPanel.js +44 -0
- package/es/color-picker/ColorPickPanel.js.map +1 -0
- package/es/color-picker/ColorPicker.d.ts +4 -0
- package/es/color-picker/ColorPicker.js +118 -0
- package/es/color-picker/ColorPicker.js.map +1 -0
- package/es/color-picker/components/panel/alpha.d.ts +4 -0
- package/es/color-picker/components/panel/alpha.js +44 -0
- package/es/color-picker/components/panel/alpha.js.map +1 -0
- package/es/color-picker/components/panel/format/index.d.ts +10 -0
- package/es/color-picker/components/panel/format/index.js +128 -0
- package/es/color-picker/components/panel/format/index.js.map +1 -0
- package/es/color-picker/components/panel/format/inputs.d.ts +4 -0
- package/es/color-picker/components/panel/format/inputs.js +147 -0
- package/es/color-picker/components/panel/format/inputs.js.map +1 -0
- package/es/color-picker/components/panel/header.d.ts +13 -0
- package/es/color-picker/components/panel/header.js +60 -0
- package/es/color-picker/components/panel/header.js.map +1 -0
- package/es/color-picker/components/panel/hue.d.ts +4 -0
- package/es/color-picker/components/panel/hue.js +33 -0
- package/es/color-picker/components/panel/hue.js.map +1 -0
- package/es/color-picker/components/panel/index.d.ts +4 -0
- package/es/color-picker/components/panel/index.js +32 -0
- package/es/color-picker/components/panel/index.js.map +1 -0
- package/es/color-picker/components/panel/saturation.d.ts +4 -0
- package/es/color-picker/components/panel/saturation.js +101 -0
- package/es/color-picker/components/panel/saturation.js.map +1 -0
- package/es/color-picker/components/panel/slider.d.ts +11 -0
- package/es/color-picker/components/panel/slider.js +121 -0
- package/es/color-picker/components/panel/slider.js.map +1 -0
- package/es/color-picker/components/panel/swatches.d.ts +11 -0
- package/es/color-picker/components/panel/swatches.js +100 -0
- package/es/color-picker/components/panel/swatches.js.map +1 -0
- package/es/color-picker/components/trigger.d.ts +9 -0
- package/es/color-picker/components/trigger.js +73 -0
- package/es/color-picker/components/trigger.js.map +1 -0
- package/es/color-picker/defaultProps.d.ts +2 -0
- package/es/color-picker/helpers.d.ts +5 -0
- package/es/color-picker/hooks/useClassNames.d.ts +2 -0
- package/es/color-picker/hooks/useStyles.d.ts +14 -0
- package/es/color-picker/index.d.ts +6 -0
- package/es/color-picker/index.js +62 -0
- package/es/color-picker/index.js.map +1 -0
- package/es/color-picker/style/index.css +597 -0
- package/es/color-picker/style/index.d.ts +1 -0
- package/es/color-picker/style/index.js +2 -0
- package/es/color-picker/style/index.js.map +1 -0
- package/es/color-picker/type.d.ts +135 -0
- package/es/color-picker/utils/color-picker/cmyk.d.ts +27 -0
- package/es/color-picker/utils/color-picker/color.d.ts +144 -0
- package/es/color-picker/utils/color-picker/constants.d.ts +30 -0
- package/es/color-picker/utils/color-picker/draggable.d.ts +23 -0
- package/es/color-picker/utils/color-picker/format.d.ts +64 -0
- package/es/color-picker/utils/color-picker/gradient.d.ts +22 -0
- package/es/color-picker/utils/color-picker/index.d.ts +7 -0
- package/es/color-picker/utils/color-picker/index.js +147 -0
- package/es/color-picker/utils/color-picker/index.js.map +1 -0
- package/es/color-picker/utils/color-picker/types.d.ts +28 -0
- package/es/common/Check.d.ts +22 -0
- package/es/common/Check.js +4 -3
- package/es/common/Check.js.map +1 -1
- package/es/common/FakeArrow.d.ts +9 -0
- package/es/common/FakeArrow.js +3 -2
- package/es/common/FakeArrow.js.map +1 -1
- package/es/common/PluginContainer.d.ts +9 -0
- package/es/common/PluginContainer.js +2 -1
- package/es/common/PluginContainer.js.map +1 -1
- package/es/common/Portal.d.ts +16 -0
- package/es/common/Portal.js +6 -3
- package/es/common/Portal.js.map +1 -1
- package/es/common/observe.d.ts +1 -0
- package/es/common.d.ts +81 -0
- package/es/config-provider/ConfigContext.d.ts +13 -0
- package/es/config-provider/ConfigContext.js +5 -16
- package/es/config-provider/ConfigContext.js.map +1 -1
- package/es/config-provider/ConfigProvider.d.ts +25 -0
- package/es/config-provider/ConfigProvider.js +2 -1
- package/es/config-provider/ConfigProvider.js.map +1 -1
- package/es/config-provider/index.d.ts +7 -0
- package/es/config-provider/index.js +2 -1
- package/es/config-provider/index.js.map +1 -1
- package/es/config-provider/type.d.ts +1029 -0
- package/es/dialog/Dialog.d.ts +8 -0
- package/es/dialog/Dialog.js +12 -149
- package/es/dialog/Dialog.js.map +1 -1
- package/es/dialog/DialogCard.d.ts +8 -0
- package/es/dialog/DialogCard.js +9 -7
- package/es/dialog/DialogCard.js.map +1 -1
- package/es/dialog/defaultProps.d.ts +6 -0
- package/es/dialog/hooks/useDialogDrag.d.ts +7 -0
- package/es/dialog/hooks/useDialogEsc.d.ts +3 -0
- package/es/dialog/hooks/useDialogPosition.d.ts +2 -0
- package/es/dialog/hooks/useLockStyle.d.ts +2 -0
- package/es/dialog/index.d.ts +8 -0
- package/es/dialog/index.js +12 -8
- package/es/dialog/index.js.map +1 -1
- package/es/dialog/plugin.d.ts +6 -0
- package/es/dialog/plugin.js +15 -10
- package/es/dialog/plugin.js.map +1 -1
- package/es/dialog/style/css.d.ts +1 -0
- package/es/dialog/style/index.d.ts +1 -0
- package/es/dialog/type.d.ts +227 -0
- package/es/dialog/utils.d.ts +1 -0
- package/es/drawer/Drawer.d.ts +11 -0
- package/es/drawer/Drawer.js +458 -0
- package/es/drawer/Drawer.js.map +1 -0
- package/es/drawer/defaultProps.d.ts +2 -0
- package/es/drawer/hooks/useDrag.d.ts +8 -0
- package/es/drawer/hooks/useLockStyle.d.ts +1 -0
- package/es/drawer/index.d.ts +4 -0
- package/es/drawer/index.js +39 -0
- package/es/drawer/index.js.map +1 -0
- package/es/drawer/style/css.d.ts +1 -0
- package/es/drawer/style/css.js +1 -0
- package/es/drawer/style/index.css +231 -0
- package/es/drawer/style/index.d.ts +1 -0
- package/es/drawer/style/index.js +2 -0
- package/es/drawer/style/index.js.map +1 -0
- package/es/drawer/type.d.ts +199 -0
- package/es/drawer/utils/index.d.ts +23 -0
- package/es/drawer/utils/index.js +46 -0
- package/es/drawer/utils/index.js.map +1 -0
- package/es/fireworks/Fireworks.d.ts +7 -0
- package/es/fireworks/Fireworks.js +139 -0
- package/es/fireworks/Fireworks.js.map +1 -0
- package/es/fireworks/index.d.ts +5 -0
- package/es/fireworks/index.js +16 -0
- package/es/fireworks/index.js.map +1 -0
- package/es/fireworks/style/css.d.ts +1 -0
- package/es/fireworks/style/css.js +2 -0
- package/es/fireworks/style/index.css +121 -0
- package/es/fireworks/style/index.d.ts +1 -0
- package/es/fireworks/style/index.js +2 -0
- package/es/fireworks/style/index.js.map +1 -0
- package/es/fireworks/type.d.ts +69 -0
- package/es/form/Form.d.ts +8 -0
- package/es/form/Form.js +14 -10
- package/es/form/Form.js.map +1 -1
- package/es/form/FormContext.d.ts +59 -0
- package/es/form/FormItem.d.ts +23 -0
- package/es/form/FormItem.js +14 -10
- package/es/form/FormItem.js.map +1 -1
- package/es/form/FormList.d.ts +4 -0
- package/es/form/FormList.js +2 -1
- package/es/form/FormList.js.map +1 -1
- package/es/form/const.d.ts +6 -0
- package/es/form/defaultProps.d.ts +3 -0
- package/es/form/easing.d.ts +2 -0
- package/es/form/formModel.d.ts +37 -0
- package/es/form/hooks/interface.d.ts +16 -0
- package/es/form/hooks/useForm.d.ts +3 -0
- package/es/form/hooks/useFormItemInitialData.d.ts +9 -0
- package/es/form/hooks/useFormItemStyle.d.ts +10 -0
- package/es/form/hooks/useFormItemStyle.js +4 -3
- package/es/form/hooks/useFormItemStyle.js.map +1 -1
- package/es/form/hooks/useInstance.d.ts +16 -0
- package/es/form/hooks/useInstance.js +5 -4
- package/es/form/hooks/useInstance.js.map +1 -1
- package/es/form/hooks/useWatch.d.ts +3 -0
- package/es/form/index.d.ts +7 -0
- package/es/form/index.js +14 -10
- package/es/form/index.js.map +1 -1
- package/es/form/scroll.d.ts +39 -0
- package/es/form/style/css.d.ts +1 -0
- package/es/form/style/index.d.ts +1 -0
- package/es/form/type.d.ts +486 -0
- package/es/form/utils/index.d.ts +5 -0
- package/es/global-config/default-config.d.ts +84 -0
- package/es/global-config/locale/ar_KW.d.ts +239 -0
- package/es/global-config/locale/en_US.d.ts +263 -0
- package/es/global-config/locale/it_IT.d.ts +263 -0
- package/es/global-config/locale/ja_JP.d.ts +263 -0
- package/es/global-config/locale/ko_KR.d.ts +263 -0
- package/es/global-config/locale/ru_RU.d.ts +263 -0
- package/es/global-config/locale/zh_CN.d.ts +263 -0
- package/es/global-config/locale/zh_TW.d.ts +263 -0
- package/es/global-config/mobile/default-config.d.ts +7 -0
- package/es/global-config/mobile/locale/ar_KW.d.ts +98 -0
- package/es/global-config/mobile/locale/en_US.d.ts +99 -0
- package/es/global-config/mobile/locale/it_IT.d.ts +99 -0
- package/es/global-config/mobile/locale/ja_JP.d.ts +99 -0
- package/es/global-config/mobile/locale/ko_KR.d.ts +99 -0
- package/es/global-config/mobile/locale/ru_RU.d.ts +99 -0
- package/es/global-config/mobile/locale/zh_CN.d.ts +99 -0
- package/es/global-config/mobile/locale/zh_TW.d.ts +99 -0
- package/es/global-config/t.d.ts +25 -0
- package/es/hooks/useAttach.d.ts +10 -0
- package/es/hooks/useCommonClassName.d.ts +54 -0
- package/es/hooks/useConfig.d.ts +2 -0
- package/es/hooks/useControlled.d.ts +9 -0
- package/es/hooks/useDeepEffect.d.ts +7 -0
- package/es/hooks/useDefaultProps.d.ts +1 -0
- package/es/hooks/useDomCallback.d.ts +1 -0
- package/es/hooks/useDomRefCallback.d.ts +1 -0
- package/es/hooks/useDragSorter.d.ts +28 -0
- package/es/hooks/useEventCallback.d.ts +9 -0
- package/es/hooks/useGlobalConfig.d.ts +1 -0
- package/es/hooks/useGlobalIcon.d.ts +5 -0
- package/es/hooks/useLastest.d.ts +2 -0
- package/es/hooks/useLayoutEffect.d.ts +3 -0
- package/es/hooks/useMouseEvent.d.ts +25 -0
- package/es/hooks/useMutationObserver.d.ts +4 -0
- package/es/hooks/usePopper.d.ts +19 -0
- package/es/hooks/useResizeObserve.d.ts +1 -0
- package/es/hooks/useRipple.d.ts +0 -0
- package/es/hooks/useSetState.d.ts +7 -0
- package/es/hooks/useVirtualScroll.d.ts +30 -0
- package/es/hooks/useWindowSize.d.ts +6 -0
- package/es/index.d.ts +25 -0
- package/es/index.js +68 -14
- package/es/index.js.map +1 -1
- package/es/input/Input.d.ts +16 -0
- package/es/input/Input.js +5 -5
- package/es/input/Input.js.map +1 -1
- package/es/input/InputGroup.d.ts +10 -0
- package/es/input/defaultProps.d.ts +17 -0
- package/es/input/index.d.ts +6 -0
- package/es/input/index.js +5 -3
- package/es/input/index.js.map +1 -1
- package/es/input/style/css.d.ts +1 -0
- package/es/input/style/index.d.ts +1 -0
- package/es/input/type.d.ts +237 -0
- package/es/input-number/InputNumber.d.ts +17 -0
- package/es/input-number/InputNumber.js +139 -0
- package/es/input-number/InputNumber.js.map +1 -0
- package/es/input-number/defaultProps.d.ts +2 -0
- package/es/input-number/index.d.ts +5 -0
- package/es/input-number/index.js +43 -0
- package/es/input-number/index.js.map +1 -0
- package/es/input-number/style/css.d.ts +1 -0
- package/es/input-number/style/css.js +1 -0
- package/es/input-number/style/index.css +331 -0
- package/es/input-number/style/index.d.ts +1 -0
- package/es/input-number/style/index.js +2 -0
- package/es/input-number/style/index.js.map +1 -0
- package/es/input-number/type.d.ts +156 -0
- package/es/input-number/useInputNumber.d.ts +51 -0
- package/es/input-number/useInputNumber.js +809 -0
- package/es/input-number/useInputNumber.js.map +1 -0
- package/es/ip-input/IPInput.d.ts +5 -0
- package/es/ip-input/IPInput.js +16 -0
- package/es/ip-input/IPInput.js.map +1 -0
- package/es/ip-input/defaultProps.d.ts +2 -0
- package/es/ip-input/index.d.ts +3 -0
- package/es/ip-input/index.js +16 -0
- package/es/ip-input/index.js.map +1 -0
- package/es/ip-input/style/index.css +323 -0
- package/es/ip-input/style/index.d.ts +1 -0
- package/es/ip-input/style/index.js +2 -0
- package/es/ip-input/style/index.js.map +1 -0
- package/es/ip-input/type.d.ts +113 -0
- package/es/ip-input/utils.d.ts +35 -0
- package/es/layout/Aside.d.ts +11 -0
- package/es/layout/Aside.js +41 -0
- package/es/layout/Aside.js.map +1 -0
- package/es/layout/Layout.d.ts +26 -0
- package/es/layout/Layout.js +106 -0
- package/es/layout/Layout.js.map +1 -0
- package/es/layout/defaultProps.d.ts +5 -0
- package/es/layout/index.d.ts +10 -0
- package/es/layout/index.js +19 -0
- package/es/layout/index.js.map +1 -0
- package/es/layout/style/index.css +56 -0
- package/es/layout/style/index.d.ts +1 -0
- package/es/layout/style/index.js +2 -0
- package/es/layout/style/index.js.map +1 -0
- package/es/layout/type.d.ts +38 -0
- package/es/list/List.d.ts +17 -0
- package/es/list/List.js +217 -0
- package/es/list/List.js.map +1 -0
- package/es/list/ListItem.d.ts +15 -0
- package/es/list/ListItem.js +31 -0
- package/es/list/ListItem.js.map +1 -0
- package/es/list/ListItemMeta.d.ts +10 -0
- package/es/list/ListItemMeta.js +45 -0
- package/es/list/ListItemMeta.js.map +1 -0
- package/es/list/defaultProps.d.ts +7 -0
- package/es/list/hooks/useListVirtualScroll.d.ts +24 -0
- package/es/list/index.d.ts +10 -0
- package/es/list/index.js +40 -0
- package/es/list/index.js.map +1 -0
- package/es/list/style/css.d.ts +1 -0
- package/es/list/style/css.js +1 -0
- package/es/list/style/index.css +172 -0
- package/es/list/style/index.d.ts +1 -0
- package/es/list/style/index.js +2 -0
- package/es/list/style/index.js.map +1 -0
- package/es/list/type.d.ts +92 -0
- package/es/loading/Gradient.d.ts +6 -0
- package/es/loading/Gradient.js +4 -3
- package/es/loading/Gradient.js.map +1 -1
- package/es/loading/Loading.d.ts +7 -0
- package/es/loading/Loading.js +7 -5
- package/es/loading/Loading.js.map +1 -1
- package/es/loading/circleAdapter.d.ts +1 -0
- package/es/loading/defaultProps.d.ts +2 -0
- package/es/loading/index.d.ts +5 -0
- package/es/loading/index.js +7 -5
- package/es/loading/index.js.map +1 -1
- package/es/loading/style/css.d.ts +1 -0
- package/es/loading/style/index.d.ts +1 -0
- package/es/loading/type.d.ts +68 -0
- package/es/loading/utils/setStyle.d.ts +7 -0
- package/es/locale/LocalReceiver.d.ts +6 -0
- package/es/locale/ar_KW.d.ts +3 -0
- package/es/locale/en_US.d.ts +3 -0
- package/es/locale/it_IT.d.ts +3 -0
- package/es/locale/ja_JP.d.ts +3 -0
- package/es/locale/ko_KR.d.ts +3 -0
- package/es/locale/ru_RU.d.ts +3 -0
- package/es/locale/zh_CN.d.ts +3 -0
- package/es/locale/zh_TW.d.ts +3 -0
- package/es/myform/index.d.ts +0 -0
- package/es/notification/Notify.d.ts +11 -0
- package/es/notification/NotifyContainer.d.ts +13 -0
- package/es/notification/NotifyContainer.js +3 -2
- package/es/notification/NotifyContainer.js.map +1 -1
- package/es/notification/NotifyContext.d.ts +23 -0
- package/es/notification/NotifyContext.js +3 -2
- package/es/notification/NotifyContext.js.map +1 -1
- package/es/notification/NotifyItem.d.ts +4 -0
- package/es/notification/NotifyItem.js +3 -2
- package/es/notification/NotifyItem.js.map +1 -1
- package/es/notification/index.d.ts +3 -0
- package/es/notification/index.js +3 -2
- package/es/notification/index.js.map +1 -1
- package/es/notification/style/css.d.ts +1 -0
- package/es/notification/style/index.d.ts +1 -0
- package/es/notification/type.d.ts +22 -0
- package/es/popup/Popup.d.ts +21 -0
- package/es/popup/Popup.js +36 -100
- package/es/popup/Popup.js.map +1 -1
- package/es/popup/defaultProps.d.ts +5 -0
- package/es/popup/hooks/useTrigger.d.ts +20 -0
- package/es/popup/index.d.ts +5 -0
- package/es/popup/index.js +8 -4
- package/es/popup/index.js.map +1 -1
- package/es/popup/style/css.d.ts +1 -0
- package/es/popup/style/index.d.ts +1 -0
- package/es/popup/type.d.ts +109 -0
- package/es/portal/Portal.d.ts +16 -0
- package/es/portal/Portal.js +2 -1
- package/es/portal/Portal.js.map +1 -1
- package/es/portal/index.d.ts +1 -0
- package/es/portal/index.js +2 -1
- package/es/portal/index.js.map +1 -1
- package/es/radio/Radio.d.ts +8 -0
- package/es/radio/Radio.js +22 -0
- package/es/radio/Radio.js.map +1 -0
- package/es/radio/RadioGroup.d.ts +14 -0
- package/es/radio/RadioGroup.js +22 -0
- package/es/radio/RadioGroup.js.map +1 -0
- package/es/radio/defaultProps.d.ts +3 -0
- package/es/radio/index.d.ts +10 -0
- package/es/radio/index.js +28 -0
- package/es/radio/index.js.map +1 -0
- package/es/radio/style/css.d.ts +0 -0
- package/es/radio/style/css.js +0 -0
- package/es/radio/style/index.css +333 -0
- package/es/radio/style/index.d.ts +1 -0
- package/es/radio/style/index.js +2 -0
- package/es/radio/style/index.js.map +1 -0
- package/es/radio/type.d.ts +117 -0
- package/es/radio/useKeyboard.d.ts +4 -0
- package/es/select/Option.d.ts +24 -0
- package/es/select/Option.js +3 -2
- package/es/select/Option.js.map +1 -1
- package/es/select/OptionGroup.d.ts +7 -0
- package/es/select/OptionGroup.js +4 -3
- package/es/select/OptionGroup.js.map +1 -1
- package/es/select/PopupContent.d.ts +24 -0
- package/es/select/PopupContent.js +6 -4
- package/es/select/PopupContent.js.map +1 -1
- package/es/select/Select.d.ts +13 -0
- package/es/select/Select.js +21 -12
- package/es/select/Select.js.map +1 -1
- package/es/select/defaultProps.d.ts +4 -0
- package/es/select/hooks/useOptions.d.ts +16 -0
- package/es/select/hooks/usePanelVirtualScroll.d.ts +24 -0
- package/es/select/index.d.ts +8 -0
- package/es/select/index.js +14 -8
- package/es/select/index.js.map +1 -1
- package/es/select/style/css.d.ts +1 -0
- package/es/select/style/index.d.ts +1 -0
- package/es/select/type.d.ts +344 -0
- package/es/select/utils/helper.d.ts +18 -0
- package/es/select-input/SelectInput.d.ts +11 -0
- package/es/select-input/SelectInput.js +10 -5
- package/es/select-input/SelectInput.js.map +1 -1
- package/es/select-input/defaultProps.d.ts +2 -0
- package/es/select-input/hook/useMultiple.d.ts +23 -0
- package/es/select-input/hook/useMultiple.js +7 -4
- package/es/select-input/hook/useMultiple.js.map +1 -1
- package/es/select-input/hook/useOverlayInnerStyle.d.ts +11 -0
- package/es/select-input/hook/useSingle.d.ts +16 -0
- package/es/select-input/hook/useSingle.js +5 -3
- package/es/select-input/hook/useSingle.js.map +1 -1
- package/es/select-input/index.d.ts +5 -0
- package/es/select-input/index.js +10 -5
- package/es/select-input/index.js.map +1 -1
- package/es/select-input/interface.d.ts +17 -0
- package/es/select-input/style/css.d.ts +1 -0
- package/es/select-input/style/index.d.ts +1 -0
- package/es/select-input/type.d.ts +243 -0
- package/es/slider/Slider.d.ts +7 -0
- package/es/slider/Slider.js +668 -0
- package/es/slider/Slider.js.map +1 -0
- package/es/slider/SliderHandleButton.d.ts +11 -0
- package/es/slider/SliderHandleButton.js +48 -0
- package/es/slider/SliderHandleButton.js.map +1 -0
- package/es/slider/defaultProps.d.ts +5 -0
- package/es/slider/index.d.ts +5 -0
- package/es/slider/index.js +46 -0
- package/es/slider/index.js.map +1 -0
- package/es/slider/style/css.d.ts +1 -0
- package/es/slider/style/css.js +1 -0
- package/es/slider/style/index.css +252 -0
- package/es/slider/style/index.d.ts +1 -0
- package/es/slider/style/index.js +2 -0
- package/es/slider/style/index.js.map +1 -0
- package/es/slider/type.d.ts +78 -0
- package/es/space/defaultProps.d.ts +0 -0
- package/es/space/index.d.ts +0 -0
- package/es/space/type.d.ts +0 -0
- package/es/style/index.css +24 -34
- package/es/style/index.d.ts +1 -0
- package/es/switch/Switch.d.ts +9 -0
- package/es/switch/Switch.js +9 -47
- package/es/switch/Switch.js.map +1 -1
- package/es/switch/defaultProps.d.ts +2 -0
- package/es/switch/index.d.ts +4 -0
- package/es/switch/index.js +8 -5
- package/es/switch/index.js.map +1 -1
- package/es/switch/style/css.d.ts +1 -0
- package/es/switch/style/index.d.ts +1 -0
- package/es/switch/type.d.ts +48 -0
- package/es/tab/TabBar.d.ts +9 -0
- package/es/tab/TabBar.js +109 -0
- package/es/tab/TabBar.js.map +1 -0
- package/es/tab/TabNav.d.ts +10 -0
- package/es/tab/TabNav.js +123 -0
- package/es/tab/TabNav.js.map +1 -0
- package/es/tab/TabNavItem.d.ts +15 -0
- package/es/tab/TabNavItem.js +65 -0
- package/es/tab/TabNavItem.js.map +1 -0
- package/es/tab/TabPanel.d.ts +9 -0
- package/es/tab/TabPanel.js +11 -0
- package/es/tab/TabPanel.js.map +1 -0
- package/es/tab/Tabs.d.ts +10 -0
- package/es/tab/Tabs.js +95 -0
- package/es/tab/Tabs.js.map +1 -0
- package/es/tab/defaultProps.d.ts +3 -0
- package/es/tab/index.d.ts +8 -0
- package/es/tab/index.js +31 -0
- package/es/tab/index.js.map +1 -0
- package/es/tab/style/index.css +159 -0
- package/es/tab/style/index.d.ts +1 -0
- package/es/tab/style/index.js +2 -0
- package/es/tab/style/index.js.map +1 -0
- package/es/tab/type.d.ts +130 -0
- package/es/tab/useTabClass.d.ts +8 -0
- package/es/table/Cell.d.ts +18 -0
- package/es/table/Cell.js +73 -0
- package/es/table/Cell.js.map +1 -0
- package/es/table/TBody.d.ts +28 -0
- package/es/table/TBody.js +70 -0
- package/es/table/TBody.js.map +1 -0
- package/es/table/THead.d.ts +10 -0
- package/es/table/THead.js +56 -0
- package/es/table/THead.js.map +1 -0
- package/es/table/TR.d.ts +28 -0
- package/es/table/TR.js +76 -0
- package/es/table/TR.js.map +1 -0
- package/es/table/Table.d.ts +6 -0
- package/es/table/Table.js +98 -0
- package/es/table/Table.js.map +1 -0
- package/es/table/defaultProps.d.ts +2 -0
- package/es/table/hooks/index.d.ts +4 -0
- package/es/table/hooks/index.js +98 -0
- package/es/table/hooks/index.js.map +1 -0
- package/es/table/hooks/useTableClassName.d.ts +26 -0
- package/es/table/hooks/useTableStyle.d.ts +11 -0
- package/es/table/index.d.ts +5 -0
- package/es/table/index.js +22 -0
- package/es/table/index.js.map +1 -0
- package/es/table/style/css.d.ts +1 -0
- package/es/table/style/css.js +1 -0
- package/es/table/style/index.css +139 -0
- package/es/table/style/index.d.ts +1 -0
- package/es/table/style/index.js +2 -0
- package/es/table/style/index.js.map +1 -0
- package/es/table/type.d.ts +195 -0
- package/es/tag/Tag.d.ts +14 -0
- package/es/tag/Tag.js +5 -1182
- package/es/tag/Tag.js.map +1 -1
- package/es/tag/defaultProps.d.ts +7 -0
- package/es/tag/index.d.ts +4 -0
- package/es/tag/index.js +5 -3
- package/es/tag/index.js.map +1 -1
- package/es/tag/style/css.d.ts +1 -0
- package/es/tag/style/index.d.ts +1 -0
- package/es/tag/type.d.ts +169 -0
- package/es/tag-input/TagInput.d.ts +9 -0
- package/es/tag-input/TagInput.js +7 -4
- package/es/tag-input/TagInput.js.map +1 -1
- package/es/tag-input/defaultProps.d.ts +2 -0
- package/es/tag-input/hooks/useHover.d.ts +17 -0
- package/es/tag-input/hooks/useTagList.d.ts +30 -0
- package/es/tag-input/hooks/useTagList.js +5 -3
- package/es/tag-input/hooks/useTagList.js.map +1 -1
- package/es/tag-input/hooks/useTagScroll.d.ts +25 -0
- package/es/tag-input/index.d.ts +5 -0
- package/es/tag-input/index.js +7 -4
- package/es/tag-input/index.js.map +1 -1
- package/es/tag-input/style/css.d.ts +1 -0
- package/es/tag-input/style/index.d.ts +1 -0
- package/es/tag-input/type.d.ts +235 -0
- package/es/tag-input/useTagList.d.ts +30 -0
- package/es/tag-input/useTagList.js +5 -3
- package/es/tag-input/useTagList.js.map +1 -1
- package/es/utils/composeRefs.d.ts +2 -0
- package/es/utils/dom.d.ts +7 -0
- package/es/utils/forwardRefWithStatics.d.ts +2 -0
- package/es/utils/getScrollbarWidth.d.ts +6 -0
- package/es/utils/helper.d.ts +46 -0
- package/es/utils/input-number/large-number.d.ts +85 -0
- package/es/utils/input-number/number.d.ts +81 -0
- package/es/utils/isFragment.d.ts +4 -0
- package/es/utils/listener.d.ts +4 -0
- package/es/utils/log/index.d.ts +2 -0
- package/es/utils/log/index.js +27 -0
- package/es/utils/log/index.js.map +1 -0
- package/es/utils/log/log.d.ts +3 -0
- package/es/utils/log/types.d.ts +8 -0
- package/es/utils/noop.d.ts +2 -0
- package/es/utils/number.d.ts +7 -0
- package/es/utils/parentTNode.d.ts +10 -0
- package/es/utils/parseTNode.d.ts +10 -0
- package/es/utils/react-render.d.ts +16 -0
- package/es/utils/ref.d.ts +1 -0
- package/es/utils/refs.d.ts +13 -0
- package/es/utils/scroll.d.ts +3 -0
- package/es/utils/style.d.ts +4 -0
- package/es/utils/transition.d.ts +20 -0
- package/package.json +60 -59
- package/LICENSE +0 -21
- package/es/_chunks/dep-0QH2Ee4R.js.map +0 -1
- package/es/_chunks/dep-BH5n5r1M.js.map +0 -1
- package/es/_chunks/dep-D7LanWes.js.map +0 -1
- package/es/_chunks/dep-DZ_0EvBk.js.map +0 -1
- package/es/_chunks/dep-Dk2xX8lh.js.map +0 -1
- package/es/_chunks/dep-EcrDKDlu.js.map +0 -1
- package/es/_chunks/dep-bWaVq_y3.js.map +0 -1
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import '../../index.js';
|
|
3
|
+
import { Button } from '../index.js';
|
|
4
|
+
import '../../loading/index.js';
|
|
5
|
+
import '../../loading/Loading.js';
|
|
6
|
+
import '../../_chunks/dep-Cwish4GD.js';
|
|
7
|
+
import '../../_chunks/dep-D-UKOauR.js';
|
|
8
|
+
import '../../_chunks/dep-CzLhKWCf.js';
|
|
9
|
+
import 'classnames';
|
|
10
|
+
import '../../_chunks/dep-DRwijJcv.js';
|
|
11
|
+
import 'lodash-es';
|
|
12
|
+
import '../../_chunks/dep-gy8uvBaS.js';
|
|
13
|
+
import '../../_chunks/dep-5U9UjDaf.js';
|
|
14
|
+
import 'dayjs';
|
|
15
|
+
import '../../common/Portal.js';
|
|
16
|
+
import 'react-dom';
|
|
17
|
+
import '../../_chunks/dep-BRbJGDI9.js';
|
|
18
|
+
import '../../loading/Gradient.js';
|
|
19
|
+
import '../../_chunks/dep-DQ6kXoi8.js';
|
|
20
|
+
import '../../_chunks/dep-DN7d1SzH.js';
|
|
21
|
+
import '../../_chunks/dep-PPA-yoAy.js';
|
|
22
|
+
import '../../_chunks/dep-DGvfel3I.js';
|
|
23
|
+
import '../../_chunks/dep-DbVHGoUC.js';
|
|
24
|
+
import '../../loading/style/css.js';
|
|
25
|
+
import '../../popup/index.js';
|
|
26
|
+
import '../../popup/Popup.js';
|
|
27
|
+
import '../../portal/Portal.js';
|
|
28
|
+
import '../../_chunks/dep-DwWrhxkd.js';
|
|
29
|
+
import '../../_chunks/dep-CkmtEv0Y.js';
|
|
30
|
+
import 'react-is';
|
|
31
|
+
import '../../_chunks/dep-C1XcmShP.js';
|
|
32
|
+
import '../../_chunks/dep-Ccktr_jk.js';
|
|
33
|
+
import '../../_chunks/dep-CgyDw_YI.js';
|
|
34
|
+
import '@popperjs/core';
|
|
35
|
+
import 'react-fast-compare';
|
|
36
|
+
import 'react-transition-group';
|
|
37
|
+
import '../../popup/style/css.js';
|
|
38
|
+
import '../../input/index.js';
|
|
39
|
+
import '../../input/Input.js';
|
|
40
|
+
import '@tendaui/icons';
|
|
41
|
+
import '../../_chunks/dep-D6YxJv-F.js';
|
|
42
|
+
import '../../input/InputGroup.js';
|
|
43
|
+
import '../../input/style/css.js';
|
|
44
|
+
import '../../alert/index.js';
|
|
45
|
+
import '../../alert/Alert.js';
|
|
46
|
+
import '../../_chunks/dep-U1T8CQY9.js';
|
|
47
|
+
import '../../_chunks/dep-ByzdZjUR.js';
|
|
48
|
+
import '../../alert/style/css.js';
|
|
49
|
+
import '../../badge/index.js';
|
|
50
|
+
import '../../badge/Badge.js';
|
|
51
|
+
import '../../badge/style/css.js';
|
|
52
|
+
import '../../radio/index.js';
|
|
53
|
+
import '../../_chunks/dep-Dr5wkz0z.js';
|
|
54
|
+
import '../../_chunks/dep-BP0-apUT.js';
|
|
55
|
+
import 'hoist-non-react-statics';
|
|
56
|
+
import '../../common/Check.js';
|
|
57
|
+
import '../../_chunks/dep-DTlQ2dCA.js';
|
|
58
|
+
import '../../radio/style/css.js';
|
|
59
|
+
import '../../checkbox/index.js';
|
|
60
|
+
import '../../_chunks/dep-B4_O1Vgv.js';
|
|
61
|
+
import '../../checkbox/style/css.js';
|
|
62
|
+
import '../../input-number/index.js';
|
|
63
|
+
import '../../input-number/InputNumber.js';
|
|
64
|
+
import '../../input-number/useInputNumber.js';
|
|
65
|
+
import '../../utils/log/index.js';
|
|
66
|
+
import '../Button.js';
|
|
67
|
+
import '../style/css.js';
|
|
68
|
+
import '../../input-number/style/css.js';
|
|
69
|
+
import '../../config-provider/index.js';
|
|
70
|
+
import '../../config-provider/ConfigProvider.js';
|
|
71
|
+
import '../../layout/index.js';
|
|
72
|
+
import '../../layout/Layout.js';
|
|
73
|
+
import '../../layout/Aside.js';
|
|
74
|
+
import './css.js';
|
|
75
|
+
import '../../tag/index.js';
|
|
76
|
+
import '../../tag/Tag.js';
|
|
77
|
+
import '../../_chunks/dep-zOZQ0R9g.js';
|
|
78
|
+
import '../../tag/style/css.js';
|
|
79
|
+
import '../../tag-input/index.js';
|
|
80
|
+
import '../../tag-input/TagInput.js';
|
|
81
|
+
import '../../tag-input/hooks/useTagList.js';
|
|
82
|
+
import '../../hooks/useDragSorter.js';
|
|
83
|
+
import '../../tag-input/style/css.js';
|
|
84
|
+
import '../../select/index.js';
|
|
85
|
+
import '../../select/Select.js';
|
|
86
|
+
import '../../_chunks/dep-CJCt0IS0.js';
|
|
87
|
+
import '../../_chunks/dep-Bjfn7Zv_.js';
|
|
88
|
+
import '../../select/Option.js';
|
|
89
|
+
import '../../_chunks/dep-Dlppf0JU.js';
|
|
90
|
+
import '../../common/FakeArrow.js';
|
|
91
|
+
import '../../select-input/index.js';
|
|
92
|
+
import '../../select-input/SelectInput.js';
|
|
93
|
+
import '../../select-input/hook/useSingle.js';
|
|
94
|
+
import '../../select-input/hook/useMultiple.js';
|
|
95
|
+
import '../../select-input/style/css.js';
|
|
96
|
+
import '../../_chunks/dep-D8jki30S.js';
|
|
97
|
+
import '../../select/style/css.js';
|
|
98
|
+
import '../../list/index.js';
|
|
99
|
+
import '../../list/List.js';
|
|
100
|
+
import '../../_chunks/dep-CD_4-1Xb.js';
|
|
101
|
+
import '../../list/ListItem.js';
|
|
102
|
+
import '../../list/ListItemMeta.js';
|
|
103
|
+
import '../../list/style/css.js';
|
|
104
|
+
import '../../notification/index.js';
|
|
105
|
+
import '../../notification/NotifyContext.js';
|
|
106
|
+
import '../../notification/NotifyContainer.js';
|
|
107
|
+
import '../../notification/NotifyItem.js';
|
|
108
|
+
import '../../notification/style/css.js';
|
|
109
|
+
import '../../dialog/index.js';
|
|
110
|
+
import '../../dialog/Dialog.js';
|
|
111
|
+
import '../../_chunks/dep-C_wPqvpm.js';
|
|
112
|
+
import '../../_chunks/dep-CRURwzDj.js';
|
|
113
|
+
import '../../_chunks/dep-BbeHB7S3.js';
|
|
114
|
+
import '../../dialog/plugin.js';
|
|
115
|
+
import '../../_chunks/dep-DX65P8M9.js';
|
|
116
|
+
import '../../common/PluginContainer.js';
|
|
117
|
+
import '../../dialog/style/css.js';
|
|
118
|
+
import '../../switch/index.js';
|
|
119
|
+
import '../../switch/Switch.js';
|
|
120
|
+
import '../../switch/style/css.js';
|
|
121
|
+
import '../../form/index.js';
|
|
122
|
+
import '../../form/Form.js';
|
|
123
|
+
import '../../form/hooks/useInstance.js';
|
|
124
|
+
import '../../form/utils/index.js';
|
|
125
|
+
import '../../_chunks/dep-4LYjB3c6.js';
|
|
126
|
+
import '../../_chunks/dep-Chz4ZJCb.js';
|
|
127
|
+
import '../../form/FormContext.js';
|
|
128
|
+
import '../../_chunks/dep-BYlJzn45.js';
|
|
129
|
+
import '../../_chunks/dep-BuIAffJt.js';
|
|
130
|
+
import '../../form/FormList.js';
|
|
131
|
+
import '../../form/style/css.js';
|
|
132
|
+
import '../../ip-input/index.js';
|
|
133
|
+
import '../../_chunks/dep-COy5g3FT.js';
|
|
134
|
+
import '../../fireworks/index.js';
|
|
135
|
+
import '../../fireworks/Fireworks.js';
|
|
136
|
+
import '../../fireworks/style/css.js';
|
|
137
|
+
import '../../drawer/index.js';
|
|
138
|
+
import '../../drawer/Drawer.js';
|
|
139
|
+
import '../../drawer/utils/index.js';
|
|
140
|
+
import '../../drawer/style/css.js';
|
|
141
|
+
import '../../slider/index.js';
|
|
142
|
+
import '../../slider/Slider.js';
|
|
143
|
+
import '../../slider/SliderHandleButton.js';
|
|
144
|
+
import '../../slider/style/css.js';
|
|
145
|
+
import '../../color-picker/index.js';
|
|
146
|
+
import '../../color-picker/ColorPickPanel.js';
|
|
147
|
+
import '../../_chunks/dep-DURB9x8g.js';
|
|
148
|
+
import '../../color-picker/utils/color-picker/index.js';
|
|
149
|
+
import '../../_chunks/dep-DJmE940f.js';
|
|
150
|
+
import '../../_chunks/dep-oUgTcXgm.js';
|
|
151
|
+
import '../../color-picker/components/panel/alpha.js';
|
|
152
|
+
import '../../color-picker/components/panel/slider.js';
|
|
153
|
+
import '../../color-picker/components/panel/hue.js';
|
|
154
|
+
import '../../color-picker/components/panel/saturation.js';
|
|
155
|
+
import '../../color-picker/components/panel/swatches.js';
|
|
156
|
+
import '../../color-picker/ColorPicker.js';
|
|
157
|
+
import '../../color-picker/components/trigger.js';
|
|
158
|
+
|
|
159
|
+
function Base() {
|
|
160
|
+
return /* @__PURE__ */React.createElement("div", {
|
|
161
|
+
style: {
|
|
162
|
+
display: "flex",
|
|
163
|
+
gap: "8px"
|
|
164
|
+
}
|
|
165
|
+
}, /* @__PURE__ */React.createElement(Button, {
|
|
166
|
+
theme: "primary"
|
|
167
|
+
}, "Primary"));
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
export { Base as default };
|
|
171
|
+
//# sourceMappingURL=base.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base.js","sources":["../../../../components/button/_example/base.tsx"],"sourcesContent":["import React from \"react\";\nimport { Button } from \"../../../components\";\n\nexport default function Base() {\n return (\n <div style={{ display: \"flex\", gap: \"8px\" }}>\n <Button theme=\"primary\">Primary</Button>\n </div>\n );\n}\n"],"names":["Base","React","createElement","style","display","gap","Button","theme"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,SAAwBA,IAAAA,GAAO;AAC7B,EAAA,sBACEC,KAAA,CAAAC,aAAA,CAAC,KAAA,EAAA;AAAIC,IAAAA,KAAA,EAAO;AAAEC,MAAAA,SAAS,MAAA;AAAQC,MAAAA,GAAA,EAAK;AAAM;AAAA,GAAA,iBACxCJ,KAAA,CAAAC,aAAA,CAACI,MAAA,EAAA;AAAOC,IAAAA,KAAA,EAAM;GAAA,EAAU,SAAO,CACjC,CAAA;AAEJ;;;;"}
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import '../../index.js';
|
|
3
|
+
import { IconArrowLeft, IconAlertTriangle, IconDelete, IconCheckCircleStroked } from '@tendaui/icons';
|
|
4
|
+
import { Button } from '../index.js';
|
|
5
|
+
import '../../loading/index.js';
|
|
6
|
+
import '../../loading/Loading.js';
|
|
7
|
+
import '../../_chunks/dep-Cwish4GD.js';
|
|
8
|
+
import '../../_chunks/dep-D-UKOauR.js';
|
|
9
|
+
import '../../_chunks/dep-CzLhKWCf.js';
|
|
10
|
+
import 'classnames';
|
|
11
|
+
import '../../_chunks/dep-DRwijJcv.js';
|
|
12
|
+
import 'lodash-es';
|
|
13
|
+
import '../../_chunks/dep-gy8uvBaS.js';
|
|
14
|
+
import '../../_chunks/dep-5U9UjDaf.js';
|
|
15
|
+
import 'dayjs';
|
|
16
|
+
import '../../common/Portal.js';
|
|
17
|
+
import 'react-dom';
|
|
18
|
+
import '../../_chunks/dep-BRbJGDI9.js';
|
|
19
|
+
import '../../loading/Gradient.js';
|
|
20
|
+
import '../../_chunks/dep-DQ6kXoi8.js';
|
|
21
|
+
import '../../_chunks/dep-DN7d1SzH.js';
|
|
22
|
+
import '../../_chunks/dep-PPA-yoAy.js';
|
|
23
|
+
import '../../_chunks/dep-DGvfel3I.js';
|
|
24
|
+
import '../../_chunks/dep-DbVHGoUC.js';
|
|
25
|
+
import '../../loading/style/css.js';
|
|
26
|
+
import '../../popup/index.js';
|
|
27
|
+
import '../../popup/Popup.js';
|
|
28
|
+
import '../../portal/Portal.js';
|
|
29
|
+
import '../../_chunks/dep-DwWrhxkd.js';
|
|
30
|
+
import '../../_chunks/dep-CkmtEv0Y.js';
|
|
31
|
+
import 'react-is';
|
|
32
|
+
import '../../_chunks/dep-C1XcmShP.js';
|
|
33
|
+
import '../../_chunks/dep-Ccktr_jk.js';
|
|
34
|
+
import '../../_chunks/dep-CgyDw_YI.js';
|
|
35
|
+
import '@popperjs/core';
|
|
36
|
+
import 'react-fast-compare';
|
|
37
|
+
import 'react-transition-group';
|
|
38
|
+
import '../../popup/style/css.js';
|
|
39
|
+
import '../../input/index.js';
|
|
40
|
+
import '../../input/Input.js';
|
|
41
|
+
import '../../_chunks/dep-D6YxJv-F.js';
|
|
42
|
+
import '../../input/InputGroup.js';
|
|
43
|
+
import '../../input/style/css.js';
|
|
44
|
+
import '../../alert/index.js';
|
|
45
|
+
import '../../alert/Alert.js';
|
|
46
|
+
import '../../_chunks/dep-U1T8CQY9.js';
|
|
47
|
+
import '../../_chunks/dep-ByzdZjUR.js';
|
|
48
|
+
import '../../alert/style/css.js';
|
|
49
|
+
import '../../badge/index.js';
|
|
50
|
+
import '../../badge/Badge.js';
|
|
51
|
+
import '../../badge/style/css.js';
|
|
52
|
+
import '../../radio/index.js';
|
|
53
|
+
import '../../_chunks/dep-Dr5wkz0z.js';
|
|
54
|
+
import '../../_chunks/dep-BP0-apUT.js';
|
|
55
|
+
import 'hoist-non-react-statics';
|
|
56
|
+
import '../../common/Check.js';
|
|
57
|
+
import '../../_chunks/dep-DTlQ2dCA.js';
|
|
58
|
+
import '../../radio/style/css.js';
|
|
59
|
+
import '../../checkbox/index.js';
|
|
60
|
+
import '../../_chunks/dep-B4_O1Vgv.js';
|
|
61
|
+
import '../../checkbox/style/css.js';
|
|
62
|
+
import '../../input-number/index.js';
|
|
63
|
+
import '../../input-number/InputNumber.js';
|
|
64
|
+
import '../../input-number/useInputNumber.js';
|
|
65
|
+
import '../../utils/log/index.js';
|
|
66
|
+
import '../Button.js';
|
|
67
|
+
import '../style/css.js';
|
|
68
|
+
import '../../input-number/style/css.js';
|
|
69
|
+
import '../../config-provider/index.js';
|
|
70
|
+
import '../../config-provider/ConfigProvider.js';
|
|
71
|
+
import '../../layout/index.js';
|
|
72
|
+
import '../../layout/Layout.js';
|
|
73
|
+
import '../../layout/Aside.js';
|
|
74
|
+
import './css.js';
|
|
75
|
+
import '../../tag/index.js';
|
|
76
|
+
import '../../tag/Tag.js';
|
|
77
|
+
import '../../_chunks/dep-zOZQ0R9g.js';
|
|
78
|
+
import '../../tag/style/css.js';
|
|
79
|
+
import '../../tag-input/index.js';
|
|
80
|
+
import '../../tag-input/TagInput.js';
|
|
81
|
+
import '../../tag-input/hooks/useTagList.js';
|
|
82
|
+
import '../../hooks/useDragSorter.js';
|
|
83
|
+
import '../../tag-input/style/css.js';
|
|
84
|
+
import '../../select/index.js';
|
|
85
|
+
import '../../select/Select.js';
|
|
86
|
+
import '../../_chunks/dep-CJCt0IS0.js';
|
|
87
|
+
import '../../_chunks/dep-Bjfn7Zv_.js';
|
|
88
|
+
import '../../select/Option.js';
|
|
89
|
+
import '../../_chunks/dep-Dlppf0JU.js';
|
|
90
|
+
import '../../common/FakeArrow.js';
|
|
91
|
+
import '../../select-input/index.js';
|
|
92
|
+
import '../../select-input/SelectInput.js';
|
|
93
|
+
import '../../select-input/hook/useSingle.js';
|
|
94
|
+
import '../../select-input/hook/useMultiple.js';
|
|
95
|
+
import '../../select-input/style/css.js';
|
|
96
|
+
import '../../_chunks/dep-D8jki30S.js';
|
|
97
|
+
import '../../select/style/css.js';
|
|
98
|
+
import '../../list/index.js';
|
|
99
|
+
import '../../list/List.js';
|
|
100
|
+
import '../../_chunks/dep-CD_4-1Xb.js';
|
|
101
|
+
import '../../list/ListItem.js';
|
|
102
|
+
import '../../list/ListItemMeta.js';
|
|
103
|
+
import '../../list/style/css.js';
|
|
104
|
+
import '../../notification/index.js';
|
|
105
|
+
import '../../notification/NotifyContext.js';
|
|
106
|
+
import '../../notification/NotifyContainer.js';
|
|
107
|
+
import '../../notification/NotifyItem.js';
|
|
108
|
+
import '../../notification/style/css.js';
|
|
109
|
+
import '../../dialog/index.js';
|
|
110
|
+
import '../../dialog/Dialog.js';
|
|
111
|
+
import '../../_chunks/dep-C_wPqvpm.js';
|
|
112
|
+
import '../../_chunks/dep-CRURwzDj.js';
|
|
113
|
+
import '../../_chunks/dep-BbeHB7S3.js';
|
|
114
|
+
import '../../dialog/plugin.js';
|
|
115
|
+
import '../../_chunks/dep-DX65P8M9.js';
|
|
116
|
+
import '../../common/PluginContainer.js';
|
|
117
|
+
import '../../dialog/style/css.js';
|
|
118
|
+
import '../../switch/index.js';
|
|
119
|
+
import '../../switch/Switch.js';
|
|
120
|
+
import '../../switch/style/css.js';
|
|
121
|
+
import '../../form/index.js';
|
|
122
|
+
import '../../form/Form.js';
|
|
123
|
+
import '../../form/hooks/useInstance.js';
|
|
124
|
+
import '../../form/utils/index.js';
|
|
125
|
+
import '../../_chunks/dep-4LYjB3c6.js';
|
|
126
|
+
import '../../_chunks/dep-Chz4ZJCb.js';
|
|
127
|
+
import '../../form/FormContext.js';
|
|
128
|
+
import '../../_chunks/dep-BYlJzn45.js';
|
|
129
|
+
import '../../_chunks/dep-BuIAffJt.js';
|
|
130
|
+
import '../../form/FormList.js';
|
|
131
|
+
import '../../form/style/css.js';
|
|
132
|
+
import '../../ip-input/index.js';
|
|
133
|
+
import '../../_chunks/dep-COy5g3FT.js';
|
|
134
|
+
import '../../fireworks/index.js';
|
|
135
|
+
import '../../fireworks/Fireworks.js';
|
|
136
|
+
import '../../fireworks/style/css.js';
|
|
137
|
+
import '../../drawer/index.js';
|
|
138
|
+
import '../../drawer/Drawer.js';
|
|
139
|
+
import '../../drawer/utils/index.js';
|
|
140
|
+
import '../../drawer/style/css.js';
|
|
141
|
+
import '../../slider/index.js';
|
|
142
|
+
import '../../slider/Slider.js';
|
|
143
|
+
import '../../slider/SliderHandleButton.js';
|
|
144
|
+
import '../../slider/style/css.js';
|
|
145
|
+
import '../../color-picker/index.js';
|
|
146
|
+
import '../../color-picker/ColorPickPanel.js';
|
|
147
|
+
import '../../_chunks/dep-DURB9x8g.js';
|
|
148
|
+
import '../../color-picker/utils/color-picker/index.js';
|
|
149
|
+
import '../../_chunks/dep-DJmE940f.js';
|
|
150
|
+
import '../../_chunks/dep-oUgTcXgm.js';
|
|
151
|
+
import '../../color-picker/components/panel/alpha.js';
|
|
152
|
+
import '../../color-picker/components/panel/slider.js';
|
|
153
|
+
import '../../color-picker/components/panel/hue.js';
|
|
154
|
+
import '../../color-picker/components/panel/saturation.js';
|
|
155
|
+
import '../../color-picker/components/panel/swatches.js';
|
|
156
|
+
import '../../color-picker/ColorPicker.js';
|
|
157
|
+
import '../../color-picker/components/trigger.js';
|
|
158
|
+
|
|
159
|
+
function Icon() {
|
|
160
|
+
return /* @__PURE__ */React.createElement("div", {
|
|
161
|
+
style: {
|
|
162
|
+
display: "flex",
|
|
163
|
+
gap: "8px",
|
|
164
|
+
alignItems: "center"
|
|
165
|
+
}
|
|
166
|
+
}, /* @__PURE__ */React.createElement(Button, {
|
|
167
|
+
icon: /* @__PURE__ */React.createElement(IconArrowLeft, null)
|
|
168
|
+
}, "\u9ED8\u8BA4\u6309\u94AE"), /* @__PURE__ */React.createElement(Button, {
|
|
169
|
+
icon: /* @__PURE__ */React.createElement(IconAlertTriangle, null),
|
|
170
|
+
theme: "warning"
|
|
171
|
+
}, "\u8B66\u544A\u6309\u94AE"), /* @__PURE__ */React.createElement(Button, {
|
|
172
|
+
icon: /* @__PURE__ */React.createElement(IconDelete, null),
|
|
173
|
+
theme: "danger"
|
|
174
|
+
}, "\u5371\u9669\u6309\u94AE"), /* @__PURE__ */React.createElement(Button, {
|
|
175
|
+
theme: "success",
|
|
176
|
+
icon: /* @__PURE__ */React.createElement(IconCheckCircleStroked, null)
|
|
177
|
+
}, "\u6210\u529F\u6309\u94AE"));
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
export { Icon as default };
|
|
181
|
+
//# sourceMappingURL=icon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon.js","sources":["../../../../components/button/_example/icon.tsx"],"sourcesContent":["import React from \"react\";\nimport { Button } from \"../../../components\";\nimport { IconArrowLeft, IconDelete, IconAlertTriangle, IconCheckCircleStroked } from \"@tendaui/icons\";\n\nexport default function Icon() {\n return (\n <div style={{ display: \"flex\", gap: \"8px\", alignItems: \"center\" }}>\n <Button icon={<IconArrowLeft />}>默认按钮</Button>\n <Button icon={<IconAlertTriangle />} theme=\"warning\">\n 警告按钮\n </Button>\n <Button icon={<IconDelete />} theme=\"danger\">\n 危险按钮\n </Button>\n <Button theme=\"success\" icon={<IconCheckCircleStroked />}>\n 成功按钮\n </Button>\n </div>\n );\n}\n"],"names":["Icon","React","createElement","style","display","gap","alignItems","Button","icon","IconArrowLeft","IconAlertTriangle","theme","IconDelete","IconCheckCircleStroked"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,SAAwBA,IAAAA,GAAO;AAC7B,EAAA,sBACEC,KAAA,CAAAC,aAAA,CAAC;AAAIC,IAAAA,KAAA,EAAO;AAAEC,MAAAA,SAAS,MAAA;AAAQC,MAAAA,GAAA,EAAK,KAAA;AAAOC,MAAAA,UAAA,EAAY;AAAS;AAAA,GAAA,qCAC7DC,MAAA,EAAA;IAAOC,IAAA,qCAAOC,aAAA,EAAA,IAAc;GAAA,EAAI,0BAAI,CAAA,iBACrCR,KAAA,CAAAC,aAAA,CAACK,MAAA,EAAA;IAAOC,IAAA,iBAAMP,KAAA,CAAAC,aAAA,CAACQ,iBAAA,EAAA,IAAkB;AAAIC,IAAAA,KAAA,EAAM;GAAA,EAAU,0BAErD,CAAA,iBACAV,KAAA,CAAAC,aAAA,CAACK;IAAOC,IAAA,iBAAMP,KAAA,CAAAC,aAAA,CAACU,UAAA,EAAA,IAAW,CAAA;AAAID,IAAAA,KAAA,EAAM;GAAA,EAAS,0BAE7C,CAAA,iBACAV,KAAA,CAAAC,aAAA,CAACK;AAAOI,IAAAA,KAAA,EAAM,SAAA;IAAUH,qBAAMP,KAAA,CAAAC,aAAA,CAACW,sBAAA,EAAA,IAAuB;GAAA,EAAI,0BAE1D,CACF,CAAA;AAEJ;;;;"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import "./style/index";
|
|
2
|
+
export type { ButtonProps } from "./Button";
|
|
3
|
+
export declare const Button: import("react").ForwardRefExoticComponent<import("./Button").ButtonProps & import("react").RefAttributes<HTMLElement>>;
|
|
4
|
+
export * from "./type";
|
|
5
|
+
export default Button;
|
package/es/button/index.js
CHANGED
|
@@ -5,20 +5,22 @@ import '../_chunks/dep-D-UKOauR.js';
|
|
|
5
5
|
import '../_chunks/dep-DN7d1SzH.js';
|
|
6
6
|
import 'react';
|
|
7
7
|
import 'classnames';
|
|
8
|
-
import '../_chunks/dep-
|
|
9
|
-
import '../
|
|
8
|
+
import '../_chunks/dep-gy8uvBaS.js';
|
|
9
|
+
import '../_chunks/dep-5U9UjDaf.js';
|
|
10
|
+
import 'dayjs';
|
|
10
11
|
import '../loading/index.js';
|
|
11
12
|
import '../loading/Loading.js';
|
|
12
13
|
import '../_chunks/dep-CzLhKWCf.js';
|
|
13
|
-
import '../_chunks/dep-
|
|
14
|
+
import '../_chunks/dep-DRwijJcv.js';
|
|
14
15
|
import 'lodash-es';
|
|
15
16
|
import '../common/Portal.js';
|
|
16
17
|
import 'react-dom';
|
|
18
|
+
import '../_chunks/dep-BRbJGDI9.js';
|
|
17
19
|
import '../loading/Gradient.js';
|
|
18
|
-
import '../_chunks/dep-
|
|
20
|
+
import '../_chunks/dep-DQ6kXoi8.js';
|
|
19
21
|
import '../_chunks/dep-PPA-yoAy.js';
|
|
20
22
|
import '../_chunks/dep-DGvfel3I.js';
|
|
21
|
-
import '../_chunks/dep-
|
|
23
|
+
import '../_chunks/dep-DbVHGoUC.js';
|
|
22
24
|
import '../loading/style/css.js';
|
|
23
25
|
import '../_chunks/dep-D6YxJv-F.js';
|
|
24
26
|
|
package/es/button/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../components/button/index.ts"],"sourcesContent":["import _Button from \"./Button\";\n\nimport \"./style/index\";\nexport type { ButtonProps } from \"./Button\";\nexport const Button = _Button;\nexport * from \"./type\";\nexport default Button;\n"],"names":["Button","_Button"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../components/button/index.ts"],"sourcesContent":["import _Button from \"./Button\";\n\nimport \"./style/index\";\nexport type { ButtonProps } from \"./Button\";\nexport const Button = _Button;\nexport * from \"./type\";\nexport default Button;\n"],"names":["Button","_Button"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAIO,IAAMA,MAAA,GAASC;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { TNode, TElement, SizeEnum } from "../common";
|
|
2
|
+
import { MouseEvent } from "react";
|
|
3
|
+
export interface TdButtonProps {
|
|
4
|
+
/**
|
|
5
|
+
* 是否为块级元素
|
|
6
|
+
* @default false
|
|
7
|
+
*/
|
|
8
|
+
block?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* 按钮内容,同 content
|
|
11
|
+
*/
|
|
12
|
+
children?: TNode;
|
|
13
|
+
/**
|
|
14
|
+
* 按钮内容
|
|
15
|
+
*/
|
|
16
|
+
content?: TNode;
|
|
17
|
+
/**
|
|
18
|
+
* 禁用状态
|
|
19
|
+
* @default false
|
|
20
|
+
*/
|
|
21
|
+
disabled?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* 原生的form属性,支持用于通过 form 属性触发对应 id 的 form 的表单事件
|
|
24
|
+
*/
|
|
25
|
+
form?: string;
|
|
26
|
+
/**
|
|
27
|
+
* 是否为幽灵按钮(镂空按钮)
|
|
28
|
+
* @default false
|
|
29
|
+
*/
|
|
30
|
+
ghost?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* 跳转地址。href 存在时,按钮标签默认使用 `<a>` 渲染;如果指定了 `tag` 则使用指定的标签渲染
|
|
33
|
+
* @default ''
|
|
34
|
+
*/
|
|
35
|
+
href?: string;
|
|
36
|
+
/**
|
|
37
|
+
* 按钮内部图标,可完全自定义
|
|
38
|
+
*/
|
|
39
|
+
icon?: TElement;
|
|
40
|
+
/**
|
|
41
|
+
* 是否显示为加载状态
|
|
42
|
+
* @default false
|
|
43
|
+
*/
|
|
44
|
+
loading?: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* 按钮形状,有 4 种:长方形、正方形、圆角长方形、圆形
|
|
47
|
+
* @default rectangle
|
|
48
|
+
*/
|
|
49
|
+
shape?: "rectangle" | "square" | "round" | "circle";
|
|
50
|
+
/**
|
|
51
|
+
* 组件尺寸
|
|
52
|
+
* @default medium
|
|
53
|
+
*/
|
|
54
|
+
size?: SizeEnum;
|
|
55
|
+
/**
|
|
56
|
+
* 右侧内容,可用于定义右侧图标
|
|
57
|
+
*/
|
|
58
|
+
suffix?: TElement;
|
|
59
|
+
/**
|
|
60
|
+
* 渲染按钮的 HTML 标签,默认使用标签 `<button>` 渲染,可以自定义为 `<a>` `<div>` 等。透传全部 HTML 属性,如:`href/target/data-*` 等。⚠️ 禁用按钮 `<button disabled>`无法显示 Popup 浮层信息,可通过修改 `tag=div` 解决这个问题
|
|
61
|
+
*/
|
|
62
|
+
tag?: "button" | "a" | "div";
|
|
63
|
+
/**
|
|
64
|
+
* 组件风格,依次为默认色、品牌色、危险色、警告色、成功色
|
|
65
|
+
*/
|
|
66
|
+
theme?: "default" | "primary" | "danger" | "warning" | "success";
|
|
67
|
+
/**
|
|
68
|
+
* 按钮类型
|
|
69
|
+
* @default button
|
|
70
|
+
*/
|
|
71
|
+
type?: "submit" | "reset" | "button";
|
|
72
|
+
/**
|
|
73
|
+
* 按钮形式,基础、线框、虚线、文字
|
|
74
|
+
* @default base
|
|
75
|
+
*/
|
|
76
|
+
variant?: "base" | "outline" | "dashed" | "text";
|
|
77
|
+
/**
|
|
78
|
+
* 点击时触发
|
|
79
|
+
*/
|
|
80
|
+
onClick?: (e: MouseEvent<HTMLElement>) => void;
|
|
81
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { CheckProps } from "../common/Check";
|
|
3
|
+
export type CheckboxProps = Omit<CheckProps, "type">;
|
|
4
|
+
declare const Checkbox: React.FunctionComponent<CheckboxProps & React.RefAttributes<HTMLLabelElement>> & {
|
|
5
|
+
Group: {
|
|
6
|
+
<T extends import("./type").CheckboxGroupValue = import("./type").CheckboxGroupValue>(props: import("./CheckboxGroup").CheckboxGroupProps<T>): React.JSX.Element;
|
|
7
|
+
displayName: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default Checkbox;
|
package/es/checkbox/Checkbox.js
CHANGED
|
@@ -2,7 +2,7 @@ import '../_chunks/dep-Cwish4GD.js';
|
|
|
2
2
|
import 'react';
|
|
3
3
|
import '../_chunks/dep-BP0-apUT.js';
|
|
4
4
|
import '../common/Check.js';
|
|
5
|
-
export { C as default } from '../_chunks/dep-
|
|
5
|
+
export { C as default } from '../_chunks/dep-B4_O1Vgv.js';
|
|
6
6
|
import '../_chunks/dep-DGvfel3I.js';
|
|
7
7
|
import '../_chunks/dep-D-UKOauR.js';
|
|
8
8
|
import 'hoist-non-react-statics';
|
|
@@ -10,8 +10,9 @@ import '../_chunks/dep-CzLhKWCf.js';
|
|
|
10
10
|
import '../_chunks/dep-DN7d1SzH.js';
|
|
11
11
|
import 'classnames';
|
|
12
12
|
import 'lodash-es';
|
|
13
|
-
import '../_chunks/dep-
|
|
14
|
-
import '../_chunks/dep-
|
|
15
|
-
import '../
|
|
13
|
+
import '../_chunks/dep-DQ6kXoi8.js';
|
|
14
|
+
import '../_chunks/dep-gy8uvBaS.js';
|
|
15
|
+
import '../_chunks/dep-5U9UjDaf.js';
|
|
16
|
+
import 'dayjs';
|
|
16
17
|
import '../_chunks/dep-DwWrhxkd.js';
|
|
17
18
|
//# sourceMappingURL=Checkbox.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Checkbox.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Checkbox.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { CheckboxGroupValue, TdCheckboxGroupProps } from "./type";
|
|
3
|
+
import { StyledProps } from "../common";
|
|
4
|
+
export interface CheckboxGroupProps<T extends CheckboxGroupValue = CheckboxGroupValue> extends TdCheckboxGroupProps<T>, StyledProps {
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* 多选选项组,里面可以嵌套 <Checkbox />
|
|
9
|
+
*/
|
|
10
|
+
declare const CheckboxGroup: {
|
|
11
|
+
<T extends CheckboxGroupValue = CheckboxGroupValue>(props: CheckboxGroupProps<T>): React.JSX.Element;
|
|
12
|
+
displayName: string;
|
|
13
|
+
};
|
|
14
|
+
export default CheckboxGroup;
|
|
@@ -4,14 +4,15 @@ import '../_chunks/dep-D-UKOauR.js';
|
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'classnames';
|
|
6
6
|
import 'lodash-es';
|
|
7
|
-
import '../_chunks/dep-
|
|
7
|
+
import '../_chunks/dep-gy8uvBaS.js';
|
|
8
8
|
import '../common/Check.js';
|
|
9
9
|
import '../_chunks/dep-DwWrhxkd.js';
|
|
10
|
-
export { a as default } from '../_chunks/dep-
|
|
10
|
+
export { a as default } from '../_chunks/dep-B4_O1Vgv.js';
|
|
11
11
|
import '../_chunks/dep-DGvfel3I.js';
|
|
12
|
-
import '../
|
|
12
|
+
import '../_chunks/dep-5U9UjDaf.js';
|
|
13
|
+
import 'dayjs';
|
|
13
14
|
import '../_chunks/dep-DN7d1SzH.js';
|
|
14
|
-
import '../_chunks/dep-
|
|
15
|
+
import '../_chunks/dep-DQ6kXoi8.js';
|
|
15
16
|
import '../_chunks/dep-BP0-apUT.js';
|
|
16
17
|
import 'hoist-non-react-statics';
|
|
17
18
|
//# sourceMappingURL=CheckboxGroup.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckboxGroup.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CheckboxGroup.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import "./style/index.js";
|
|
2
|
+
export type { CheckboxProps } from "./Checkbox";
|
|
3
|
+
export type { CheckboxGroupProps } from "./CheckboxGroup";
|
|
4
|
+
export * from "./type";
|
|
5
|
+
export declare const Checkbox: import("react").FunctionComponent<import("./Checkbox").CheckboxProps & import("react").RefAttributes<HTMLLabelElement>> & {
|
|
6
|
+
Group: {
|
|
7
|
+
<T extends import("./type").CheckboxGroupValue = import("./type").CheckboxGroupValue>(props: import("./CheckboxGroup").CheckboxGroupProps<T>): import("react").JSX.Element;
|
|
8
|
+
displayName: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export default Checkbox;
|
package/es/checkbox/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as Checkbox$1 } from '../_chunks/dep-
|
|
1
|
+
import { C as Checkbox$1 } from '../_chunks/dep-B4_O1Vgv.js';
|
|
2
2
|
import './style/css.js';
|
|
3
3
|
import '../_chunks/dep-Cwish4GD.js';
|
|
4
4
|
import '../_chunks/dep-D-UKOauR.js';
|
|
@@ -10,9 +10,10 @@ import '../_chunks/dep-CzLhKWCf.js';
|
|
|
10
10
|
import '../_chunks/dep-DN7d1SzH.js';
|
|
11
11
|
import 'classnames';
|
|
12
12
|
import 'lodash-es';
|
|
13
|
-
import '../_chunks/dep-
|
|
14
|
-
import '../_chunks/dep-
|
|
15
|
-
import '../
|
|
13
|
+
import '../_chunks/dep-DQ6kXoi8.js';
|
|
14
|
+
import '../_chunks/dep-gy8uvBaS.js';
|
|
15
|
+
import '../_chunks/dep-5U9UjDaf.js';
|
|
16
|
+
import 'dayjs';
|
|
16
17
|
import '../_chunks/dep-DwWrhxkd.js';
|
|
17
18
|
import '../_chunks/dep-DGvfel3I.js';
|
|
18
19
|
|
package/es/checkbox/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../components/checkbox/index.ts"],"sourcesContent":["import _Checkbox from \"./Checkbox\";\n\nimport \"./style/index.js\";\n\nexport type { CheckboxProps } from \"./Checkbox\";\nexport type { CheckboxGroupProps } from \"./CheckboxGroup\";\nexport * from \"./type\";\n\nexport const Checkbox = _Checkbox;\nexport default Checkbox;\n"],"names":["Checkbox","_Checkbox"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../components/checkbox/index.ts"],"sourcesContent":["import _Checkbox from \"./Checkbox\";\n\nimport \"./style/index.js\";\n\nexport type { CheckboxProps } from \"./Checkbox\";\nexport type { CheckboxGroupProps } from \"./CheckboxGroup\";\nexport * from \"./type\";\n\nexport const Checkbox = _Checkbox;\nexport default Checkbox;\n"],"names":["Checkbox","_Checkbox"],"mappings":";;;;;;;;;;;;;;;;;;;AAQO,IAAMA,QAAA,GAAWC;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|