@hi-ui/hiui 3.9.0-rc.8 → 4.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -79
- package/lib/cjs/index.js +576 -0
- package/lib/cjs/index.js.map +1 -0
- package/lib/esm/index.js +66 -0
- package/lib/esm/index.js.map +1 -0
- package/lib/types/index.d.ts +56 -0
- package/package.json +101 -184
- package/CHANGELOG.md +0 -330
- package/es/_util/EventEmitter.js +0 -56
- package/es/_util/SwitchVersion.js +0 -40
- package/es/_util/depreactedPropsCompat.js +0 -58
- package/es/_util/deprecatedPropsCheck.js +0 -21
- package/es/_util/index.js +0 -31
- package/es/_util/warning.js +0 -19
- package/es/alert/Alert.js +0 -129
- package/es/alert/__tests__/index.test.js +0 -84
- package/es/alert/index.d.ts +0 -18
- package/es/alert/index.js +0 -20
- package/es/alert/style/index.css +0 -1
- package/es/alert/style/index.js +0 -3
- package/es/badge/Badge.js +0 -94
- package/es/badge/__tests__/index.test.js +0 -82
- package/es/badge/index.d.ts +0 -15
- package/es/badge/index.js +0 -22
- package/es/badge/style/index.css +0 -1
- package/es/badge/style/index.js +0 -3
- package/es/base-css/index.js +0 -3
- package/es/base-css/style/index.css +0 -1
- package/es/base-css/style/index.js +0 -3
- package/es/breadcrumb/__tests__/index.test.js +0 -61
- package/es/breadcrumb/index.d.ts +0 -19
- package/es/breadcrumb/index.js +0 -72
- package/es/breadcrumb/style/index.css +0 -1
- package/es/breadcrumb/style/index.js +0 -3
- package/es/button/Button.js +0 -158
- package/es/button/ButtonGroup.js +0 -63
- package/es/button/IconLoading.js +0 -27
- package/es/button/__tests__/index.test.js +0 -221
- package/es/button/index.d.ts +0 -26
- package/es/button/index.js +0 -19
- package/es/button/style/index.css +0 -1
- package/es/button/style/index.js +0 -3
- package/es/card/CoverCard.js +0 -41
- package/es/card/NormalCard.js +0 -46
- package/es/card/SimpleCard.js +0 -32
- package/es/card/__tests__/index.test.js +0 -180
- package/es/card/index.d.ts +0 -18
- package/es/card/index.js +0 -75
- package/es/card/style/index.css +0 -1
- package/es/card/style/index.js +0 -3
- package/es/carousel/__tests__/index.test.js +0 -104
- package/es/carousel/index.d.ts +0 -13
- package/es/carousel/index.js +0 -242
- package/es/carousel/style/index.css +0 -1
- package/es/carousel/style/index.js +0 -3
- package/es/cascader/Cascader.js +0 -530
- package/es/cascader/Menu.js +0 -147
- package/es/cascader/__tests__/index.test.js +0 -393
- package/es/cascader/img/empty.png +0 -0
- package/es/cascader/index.d.ts +0 -36
- package/es/cascader/index.js +0 -15
- package/es/cascader/style/cascader.css +0 -1
- package/es/cascader/style/index.js +0 -5
- package/es/cascader/style/menu.css +0 -1
- package/es/cascader/utils.js +0 -216
- package/es/charts/hi-echarts-theme-default.json +0 -502
- package/es/charts/index.d.ts +0 -12
- package/es/charts/index.js +0 -32
- package/es/checkbox/Checkbox.js +0 -145
- package/es/checkbox/Group.js +0 -198
- package/es/checkbox/__tests__/index.test.js +0 -226
- package/es/checkbox/checkbox-legacy/Base.js +0 -216
- package/es/checkbox/checkbox-legacy/CheckBox.js +0 -161
- package/es/checkbox/checkbox-legacy/common.js +0 -47
- package/es/checkbox/checkbox-legacy/index.js +0 -15
- package/es/checkbox/checkbox-legacy/style/index.css +0 -1
- package/es/checkbox/checkbox-legacy/style/index.js +0 -3
- package/es/checkbox/index.d.ts +0 -35
- package/es/checkbox/index.js +0 -38
- package/es/checkbox/style/index.css +0 -1
- package/es/checkbox/style/index.js +0 -3
- package/es/collapse/Panel.js +0 -135
- package/es/collapse/__tests__/index.test.js +0 -111
- package/es/collapse/index.d.ts +0 -24
- package/es/collapse/index.js +0 -197
- package/es/collapse/style/index.css +0 -1
- package/es/collapse/style/index.js +0 -3
- package/es/context/index.d.ts +0 -3
- package/es/context/index.js +0 -120
- package/es/counter/Counter.js +0 -369
- package/es/counter/__tests__/index.test.js +0 -134
- package/es/counter/counter-legacy/index.js +0 -271
- package/es/counter/index.d.ts +0 -13
- package/es/counter/index.js +0 -29
- package/es/counter/style/index.css +0 -1
- package/es/counter/style/index.js +0 -3
- package/es/date-picker/BasePicker.js +0 -325
- package/es/date-picker/TimePicker.d.ts +0 -23
- package/es/date-picker/TimePicker.js +0 -211
- package/es/date-picker/__tests__/index.test.js +0 -957
- package/es/date-picker/components/Calender.js +0 -274
- package/es/date-picker/components/Header.js +0 -98
- package/es/date-picker/components/Input.js +0 -103
- package/es/date-picker/components/Panel.js +0 -145
- package/es/date-picker/components/PickerIcon.js +0 -33
- package/es/date-picker/components/RangePanel.js +0 -353
- package/es/date-picker/components/Root.js +0 -128
- package/es/date-picker/components/Time.js +0 -258
- package/es/date-picker/components/TimeList.js +0 -193
- package/es/date-picker/components/TimePanel.js +0 -67
- package/es/date-picker/components/TimePeriodPanel.js +0 -78
- package/es/date-picker/constants.js +0 -54
- package/es/date-picker/context.js +0 -15
- package/es/date-picker/hooks/index.js +0 -47
- package/es/date-picker/hooks/useAltData.js +0 -112
- package/es/date-picker/hooks/useCalenderData.js +0 -371
- package/es/date-picker/hooks/useDate.js +0 -46
- package/es/date-picker/hooks/useFormat.js +0 -27
- package/es/date-picker/hooks/usePlaceholder.js +0 -43
- package/es/date-picker/hooks/useTimePeriodData.js +0 -29
- package/es/date-picker/index.d.ts +0 -61
- package/es/date-picker/index.js +0 -31
- package/es/date-picker/style/index.css +0 -1
- package/es/date-picker/style/index.js +0 -3
- package/es/date-picker/style/timepicker.css +0 -1
- package/es/date-picker/style/timepicker.js +0 -3
- package/es/date-picker/toLunar.js +0 -172
- package/es/date-picker/utils.js +0 -347
- package/es/drawer/index.d.ts +0 -18
- package/es/drawer/index.js +0 -133
- package/es/drawer/style/index.css +0 -1
- package/es/drawer/style/index.js +0 -3
- package/es/dropdown/Dropdown.js +0 -239
- package/es/dropdown/DropdownButton.js +0 -105
- package/es/dropdown/DropdownMenu.js +0 -119
- package/es/dropdown/DropdownMenuItem.js +0 -176
- package/es/dropdown/__tests__/index.test.js +0 -313
- package/es/dropdown/index.d.ts +0 -29
- package/es/dropdown/index.js +0 -88
- package/es/dropdown/style/index.css +0 -1
- package/es/dropdown/style/index.js +0 -3
- package/es/dropdown/tests/index.test.js +0 -76
- package/es/dropdown/utils.js +0 -35
- package/es/ficon/index.js +0 -56
- package/es/ficon/style/_fa/font-awesome.css +0 -1
- package/es/ficon/style/fonts/FontAwesome.otf +0 -0
- package/es/ficon/style/fonts/fontawesome-webfont.eot +0 -0
- package/es/ficon/style/fonts/fontawesome-webfont.svg +0 -2671
- package/es/ficon/style/fonts/fontawesome-webfont.ttf +0 -0
- package/es/ficon/style/fonts/fontawesome-webfont.woff +0 -0
- package/es/ficon/style/fonts/fontawesome-webfont.woff2 +0 -0
- package/es/ficon/style/index.css +0 -1
- package/es/ficon/style/index.js +0 -3
- package/es/filter/index.d.ts +0 -18
- package/es/filter/index.js +0 -146
- package/es/filter/style/index.css +0 -1
- package/es/filter/style/index.js +0 -3
- package/es/form/Form.js +0 -425
- package/es/form/FormContext.js +0 -15
- package/es/form/FormReducer.js +0 -144
- package/es/form/Item.js +0 -557
- package/es/form/List.js +0 -127
- package/es/form/Reset.js +0 -41
- package/es/form/SchemaForm.js +0 -129
- package/es/form/Submit.js +0 -39
- package/es/form/__tests__/index.test.js +0 -575
- package/es/form/form-legacy/form-v2/Form.js +0 -175
- package/es/form/form-legacy/form-v2/Item.js +0 -283
- package/es/form/form-legacy/form-v2/__tests__/index.test.js +0 -575
- package/es/form/form-legacy/form-v2/index.js +0 -27
- package/es/form/form-legacy/form-v2/style/index.css +0 -1
- package/es/form/form-legacy/form-v2/style/index.js +0 -3
- package/es/form/hooks/useForm.js +0 -48
- package/es/form/hooks/useFormInstance.js +0 -46
- package/es/form/index.d.ts +0 -80
- package/es/form/index.js +0 -47
- package/es/form/style/index.css +0 -1
- package/es/form/style/index.js +0 -3
- package/es/form/test.js +0 -52
- package/es/form/utils.js +0 -77
- package/es/grid/__tests__/index.test.js +0 -100
- package/es/grid/index.d.ts +0 -38
- package/es/grid/index.js +0 -178
- package/es/grid/style/index.css +0 -1
- package/es/grid/style/index.js +0 -3
- package/es/hi-base-table/index.d.ts +0 -675
- package/es/hi-base-table/index.js +0 -226
- package/es/hi-base-table/style/hiui-basetable-theme.css +0 -1
- package/es/hi-base-table/style/index.js +0 -3
- package/es/hi-request/axios.d.ts +0 -5
- package/es/hi-request/axios.js +0 -40
- package/es/hi-request/download.d.ts +0 -5
- package/es/hi-request/download.js +0 -30
- package/es/hi-request/index.d.ts +0 -4
- package/es/hi-request/index.js +0 -4
- package/es/hi-request/jsonp.d.ts +0 -5
- package/es/hi-request/jsonp.js +0 -66
- package/es/hi-request/mixin.d.ts +0 -3
- package/es/hi-request/mixin.js +0 -42
- package/es/hi-request/type.d.ts +0 -69
- package/es/hi-request/type.js +0 -0
- package/es/hi-request/upload.d.ts +0 -5
- package/es/hi-request/upload.js +0 -23
- package/es/hi-request/utils.d.ts +0 -1
- package/es/hi-request/utils.js +0 -3
- package/es/icon/iconfont.js +0 -48
- package/es/icon/index.d.ts +0 -13
- package/es/icon/index.js +0 -101
- package/es/icon/style/index.css +0 -1
- package/es/icon/style/index.js +0 -3
- package/es/index.d.ts +0 -95
- package/es/index.js +0 -58
- package/es/input/Input.js +0 -420
- package/es/input/__tests__/index.test.js +0 -377
- package/es/input/index.d.ts +0 -27
- package/es/input/index.js +0 -44
- package/es/input/input-legacy/index.js +0 -349
- package/es/input/input-legacy/util.js +0 -176
- package/es/input/style/index.css +0 -1
- package/es/input/style/index.js +0 -5
- package/es/input/util.js +0 -191
- package/es/lib/withDragDropContext.js +0 -16
- package/es/list/IconText.js +0 -40
- package/es/list/Item.js +0 -63
- package/es/list/index.d.ts +0 -30
- package/es/list/index.js +0 -159
- package/es/list/style/index.css +0 -1
- package/es/list/style/index.js +0 -3
- package/es/loading/Loading.js +0 -185
- package/es/loading/__tests__/index.test.js +0 -110
- package/es/loading/index.d.ts +0 -24
- package/es/loading/index.js +0 -18
- package/es/loading/style/index.css +0 -1
- package/es/loading/style/index.js +0 -3
- package/es/locales/en-US.js +0 -138
- package/es/locales/index.js +0 -25
- package/es/locales/zh-CN.js +0 -141
- package/es/locales/zh-Hant-HK.js +0 -141
- package/es/locales/zh-Hant-TW.js +0 -141
- package/es/menu/Item.js +0 -100
- package/es/menu/Menu.js +0 -420
- package/es/menu/SubMenu.js +0 -218
- package/es/menu/Title.js +0 -84
- package/es/menu/__tests__/index.test.js +0 -275
- package/es/menu/index.d.ts +0 -26
- package/es/menu/index.js +0 -24
- package/es/menu/style/index.css +0 -1
- package/es/menu/style/index.js +0 -3
- package/es/message/__tests__/index.test.js +0 -71
- package/es/message/index.d.ts +0 -18
- package/es/message/index.js +0 -70
- package/es/message/style/index.css +0 -1
- package/es/message/style/index.js +0 -5
- package/es/modal/__tests__/index.test.js +0 -178
- package/es/modal/index.d.ts +0 -33
- package/es/modal/index.js +0 -312
- package/es/modal/style/index.css +0 -1
- package/es/modal/style/index.js +0 -3
- package/es/notice/Notice.js +0 -138
- package/es/notice/NoticeContainer.js +0 -109
- package/es/notice/__tests__/index.test.js +0 -174
- package/es/notice/index.js +0 -66
- package/es/notice/style/index.css +0 -1
- package/es/notice/style/index.js +0 -5
- package/es/notification/HandleNotification/index.js +0 -220
- package/es/notification/HandleNotification/style/index.css +0 -1
- package/es/notification/HandleNotification/style/index.js +0 -5
- package/es/notification/__tests__/index.test.js +0 -114
- package/es/notification/index.d.ts +0 -25
- package/es/notification/index.js +0 -87
- package/es/notification/style/index.css +0 -1
- package/es/notification/style/index.js +0 -5
- package/es/pagination/Pager.js +0 -57
- package/es/pagination/Pagination.js +0 -538
- package/es/pagination/__tests__/index.test.js +0 -244
- package/es/pagination/index.d.ts +0 -20
- package/es/pagination/index.js +0 -18
- package/es/pagination/style/index.css +0 -1
- package/es/pagination/style/index.js +0 -5
- package/es/popover/__tests__/index.test.js +0 -152
- package/es/popover/index.d.ts +0 -14
- package/es/popover/index.js +0 -220
- package/es/popover/style/index.css +0 -1
- package/es/popover/style/index.js +0 -3
- package/es/popper/Overlay.js +0 -246
- package/es/popper/Portal.js +0 -42
- package/es/popper/index.js +0 -90
- package/es/popper/style/index.css +0 -1
- package/es/popper/style/index.js +0 -3
- package/es/popper/utils/popper.js +0 -311
- package/es/popper/utils/positionUtils.js +0 -314
- package/es/popper/utils/useClickOutside.js +0 -37
- package/es/popper/utils/useWaitForDOMRef.js +0 -56
- package/es/preview/index.d.ts +0 -16
- package/es/preview/index.js +0 -442
- package/es/preview/style/index.css +0 -1
- package/es/preview/style/index.js +0 -3
- package/es/progress/BarProgress.js +0 -157
- package/es/progress/CircleProgress.js +0 -49
- package/es/progress/DashboardProgress.js +0 -60
- package/es/progress/Progress.js +0 -111
- package/es/progress/__tests__/index.test.js +0 -131
- package/es/progress/index.d.ts +0 -18
- package/es/progress/index.js +0 -15
- package/es/progress/style/index.css +0 -1
- package/es/progress/style/index.js +0 -3
- package/es/radio/Group.js +0 -280
- package/es/radio/Radio.js +0 -167
- package/es/radio/__tests__/index.test.js +0 -128
- package/es/radio/index.d.ts +0 -32
- package/es/radio/index.js +0 -31
- package/es/radio/radio-legacy/__test__/index.test.js +0 -79
- package/es/radio/radio-legacy/index.js +0 -218
- package/es/radio/radio-legacy/style/index.css +0 -1
- package/es/radio/radio-legacy/style/index.js +0 -3
- package/es/radio/style/index.css +0 -1
- package/es/radio/style/index.js +0 -3
- package/es/rate/Icons.js +0 -294
- package/es/rate/Rate.js +0 -316
- package/es/rate/__tests__/index.test.js +0 -124
- package/es/rate/index.d.ts +0 -22
- package/es/rate/index.js +0 -15
- package/es/rate/style/index.css +0 -1
- package/es/rate/style/index.js +0 -3
- package/es/rich-text-editor/index.d.ts +0 -8
- package/es/rich-text-editor/index.js +0 -67
- package/es/rich-text-editor/style/index.css +0 -1
- package/es/rich-text-editor/style/index.js +0 -9
- package/es/search/index.d.ts +0 -23
- package/es/search/index.js +0 -264
- package/es/search/searchDropdown.js +0 -111
- package/es/search/style/index.css +0 -1
- package/es/search/style/index.js +0 -3
- package/es/select/MultipleInput.js +0 -163
- package/es/select/Select.js +0 -775
- package/es/select/SelectDropdown.js +0 -341
- package/es/select/SelectInput.js +0 -31
- package/es/select/SingleInput.js +0 -94
- package/es/select/__tests__/index.test.js +0 -505
- package/es/select/common.js +0 -19
- package/es/select/index.d.ts +0 -65
- package/es/select/index.js +0 -32
- package/es/select/select-legacy/select-v1/Option.js +0 -81
- package/es/select/select-legacy/select-v1/Select.js +0 -706
- package/es/select/select-legacy/select-v1/SelectDropdown.js +0 -160
- package/es/select/select-legacy/select-v1/SelectInput.js +0 -308
- package/es/select/select-legacy/select-v1/common.js +0 -19
- package/es/select/select-legacy/select-v1/index.js +0 -16
- package/es/select/select-legacy/select-v2/Select.js +0 -756
- package/es/select/select-legacy/select-v2/SelectDropdown.js +0 -322
- package/es/select/select-legacy/select-v2/SelectInput.js +0 -331
- package/es/select/select-legacy/select-v2/__tests__/index.test.js +0 -505
- package/es/select/select-legacy/select-v2/common.js +0 -19
- package/es/select/select-legacy/select-v2/index.js +0 -15
- package/es/select/select-legacy/select-v2/style/index.css +0 -1
- package/es/select/select-legacy/select-v2/style/index.js +0 -9
- package/es/select/select-legacy/select-v2/style/select-dropdown.css +0 -1
- package/es/select/select-legacy/select-v2/style/select-input.css +0 -1
- package/es/select/style/index.css +0 -1
- package/es/select/style/index.js +0 -9
- package/es/select/style/select-dropdown.css +0 -1
- package/es/select/style/select-input.css +0 -1
- package/es/select/utils.js +0 -72
- package/es/select-tree/SelectTreeHook.js +0 -788
- package/es/select-tree/components/Trigger.js +0 -85
- package/es/select-tree/components/tree/LoadingIcon.js +0 -38
- package/es/select-tree/components/tree/NavTree.js +0 -229
- package/es/select-tree/components/tree/TreeNode.js +0 -167
- package/es/select-tree/components/tree/context.js +0 -15
- package/es/select-tree/components/tree/index.js +0 -80
- package/es/select-tree/components/tree/style/index.css +0 -1
- package/es/select-tree/components/tree/style/index.js +0 -3
- package/es/select-tree/components/tree/util.js +0 -621
- package/es/select-tree/index.d.ts +0 -47
- package/es/select-tree/index.js +0 -15
- package/es/select-tree/keyEvents.js +0 -121
- package/es/select-tree/style/index.css +0 -1
- package/es/select-tree/style/index.js +0 -3
- package/es/slider/index.d.ts +0 -22
- package/es/slider/index.js +0 -491
- package/es/slider/style/index.css +0 -1
- package/es/slider/style/index.js +0 -3
- package/es/stepper/Stepper.js +0 -158
- package/es/stepper/__tests__/index.test.js +0 -161
- package/es/stepper/index.d.ts +0 -16
- package/es/stepper/index.js +0 -33
- package/es/stepper/style/index.css +0 -1
- package/es/stepper/style/index.js +0 -3
- package/es/style/icon/diyIcon.css +0 -1
- package/es/style/icon/index.css +0 -1
- package/es/switch/__tests__/index.test.js +0 -68
- package/es/switch/index.d.ts +0 -13
- package/es/switch/index.js +0 -21
- package/es/switch/style/index.css +0 -1
- package/es/switch/style/index.js +0 -3
- package/es/switch/switch-legacy/__tests__/index.test.js +0 -68
- package/es/switch/switch-legacy/index.js +0 -128
- package/es/switch/switch-legacy/style/index.css +0 -1
- package/es/switch/switch-legacy/style/index.js +0 -3
- package/es/switch/switch.js +0 -76
- package/es/table/AdvanceHeader/CustomFilter.js +0 -73
- package/es/table/AdvanceHeader/Sorter.js +0 -72
- package/es/table/AdvanceHeader/index.js +0 -41
- package/es/table/AdvanceHeader/select/index.js +0 -720
- package/es/table/AdvanceHeader/select/style/index.css +0 -1
- package/es/table/AdvanceHeader/select/style/index.js +0 -5
- package/es/table/AdvanceHeader/style/index.css +0 -1
- package/es/table/AdvanceHeader/style/index.js +0 -3
- package/es/table/BodyTable.js +0 -261
- package/es/table/Cell.js +0 -193
- package/es/table/ColumnMenu.js +0 -148
- package/es/table/Expandcol.js +0 -48
- package/es/table/HeaderTable.js +0 -359
- package/es/table/Indent.js +0 -27
- package/es/table/LoadingIcon.js +0 -38
- package/es/table/Row.js +0 -261
- package/es/table/SettingMenu.js +0 -205
- package/es/table/Table.js +0 -697
- package/es/table/context.js +0 -15
- package/es/table/hooks/useClickOutside.js +0 -23
- package/es/table/index.d.ts +0 -108
- package/es/table/index.js +0 -21
- package/es/table/style/Table.css +0 -1
- package/es/table/style/index.css +0 -1
- package/es/table/style/index.js +0 -3
- package/es/table/style/reset.css +0 -1
- package/es/table/style/variable.css +0 -0
- package/es/table/table-legacy/table-v2/Body.js +0 -298
- package/es/table/table-legacy/table-v2/ClickOuterside.js +0 -99
- package/es/table/table-legacy/table-v2/Footer.js +0 -174
- package/es/table/table-legacy/table-v2/Header.js +0 -319
- package/es/table/table-legacy/table-v2/TableContent.js +0 -105
- package/es/table/table-legacy/table-v2/__tests__/index.test.js +0 -129
- package/es/table/table-legacy/table-v2/checkbox/index.js +0 -98
- package/es/table/table-legacy/table-v2/checkbox/style/index.css +0 -1
- package/es/table/table-legacy/table-v2/checkbox/style/index.js +0 -3
- package/es/table/table-legacy/table-v2/index.js +0 -1466
- package/es/table/table-legacy/table-v2/menu/index.js +0 -110
- package/es/table/table-legacy/table-v2/prefix.js +0 -20
- package/es/table/table-legacy/table-v2/style/Table.css +0 -1
- package/es/table/table-legacy/table-v2/style/index.css +0 -1
- package/es/table/table-legacy/table-v2/style/index.js +0 -3
- package/es/table/table-legacy/table-v2/tool.js +0 -129
- package/es/table/util.js +0 -320
- package/es/tabs/ItemDropdown.js +0 -158
- package/es/tabs/TabItem.js +0 -116
- package/es/tabs/TabPane.js +0 -64
- package/es/tabs/Tabs.js +0 -576
- package/es/tabs/__tests__/index.test.js +0 -333
- package/es/tabs/hooks/useTabItems.js +0 -77
- package/es/tabs/hooks/useTranslate.js +0 -71
- package/es/tabs/index.d.ts +0 -47
- package/es/tabs/index.js +0 -38
- package/es/tabs/style/animate.css +0 -1
- package/es/tabs/style/index.css +0 -1
- package/es/tabs/style/index.js +0 -3
- package/es/tabs/tabs-legacy/ItemDropdown.js +0 -166
- package/es/tabs/tabs-legacy/TabPane.js +0 -74
- package/es/tabs/tabs-legacy/Tabs.js +0 -295
- package/es/tabs/tabs-legacy/index.js +0 -18
- package/es/tabs/tabs-legacy/style/index.css +0 -1
- package/es/tabs/tabs-legacy/style/index.js +0 -3
- package/es/tag/TagGroup.js +0 -235
- package/es/tag/TagItem.js +0 -116
- package/es/tag/__tests__/index.test.js +0 -46
- package/es/tag/index.d.ts +0 -32
- package/es/tag/index.js +0 -18
- package/es/tag/style/index.css +0 -1
- package/es/tag/style/index.js +0 -3
- package/es/timeline/__tests__/index.test.js +0 -198
- package/es/timeline/index.d.ts +0 -18
- package/es/timeline/index.js +0 -264
- package/es/timeline/style/index.css +0 -1
- package/es/timeline/style/index.js +0 -3
- package/es/tooltip/__tests__/index.test.js +0 -170
- package/es/tooltip/index.d.ts +0 -19
- package/es/tooltip/index.js +0 -210
- package/es/tooltip/style/index.css +0 -1
- package/es/tooltip/style/index.js +0 -3
- package/es/transfer/Item.js +0 -192
- package/es/transfer/Transfer.js +0 -562
- package/es/transfer/__tests__/index.test.js +0 -210
- package/es/transfer/img/switch.png +0 -0
- package/es/transfer/img/warning.png +0 -0
- package/es/transfer/index.d.ts +0 -25
- package/es/transfer/index.js +0 -16
- package/es/transfer/style/index.css +0 -1
- package/es/transfer/style/index.js +0 -3
- package/es/tree/BaseTree.js +0 -209
- package/es/tree/IconLoading.js +0 -38
- package/es/tree/Switcher.js +0 -42
- package/es/tree/Tree.js +0 -610
- package/es/tree/TreeNode.js +0 -326
- package/es/tree/context.js +0 -15
- package/es/tree/customTreeNode.js +0 -140
- package/es/tree/hooks/useCheckable.js +0 -153
- package/es/tree/hooks/useClickOutside.js +0 -26
- package/es/tree/hooks/useExpand.js +0 -46
- package/es/tree/hooks/useFlatData.js +0 -61
- package/es/tree/hooks/useSelect.js +0 -47
- package/es/tree/index.d.ts +0 -67
- package/es/tree/index.js +0 -21
- package/es/tree/style/index.css +0 -1
- package/es/tree/style/index.js +0 -3
- package/es/tree/tree-legacy/tree-v1/Tree.js +0 -333
- package/es/tree/tree-legacy/tree-v1/TreeDivider.js +0 -25
- package/es/tree/tree-legacy/tree-v1/TreeItem.js +0 -329
- package/es/tree/tree-legacy/tree-v1/TreeNode.js +0 -715
- package/es/tree/tree-legacy/tree-v1/index.js +0 -13
- package/es/tree/tree-legacy/tree-v1/style/index.css +0 -1
- package/es/tree/tree-legacy/tree-v1/style/index.js +0 -3
- package/es/tree/tree-legacy/tree-v1/util.js +0 -434
- package/es/tree/tree-legacy/tree-v2/IconLoading.js +0 -38
- package/es/tree/tree-legacy/tree-v2/Modal.js +0 -71
- package/es/tree/tree-legacy/tree-v2/Tree.js +0 -347
- package/es/tree/tree-legacy/tree-v2/TreeDivider.js +0 -25
- package/es/tree/tree-legacy/tree-v2/TreeItem.js +0 -439
- package/es/tree/tree-legacy/tree-v2/TreeNode.js +0 -909
- package/es/tree/tree-legacy/tree-v2/__tests__/index.test.js +0 -603
- package/es/tree/tree-legacy/tree-v2/index.js +0 -20
- package/es/tree/tree-legacy/tree-v2/style/index.css +0 -1
- package/es/tree/tree-legacy/tree-v2/style/index.js +0 -3
- package/es/tree/tree-legacy/tree-v2/util.js +0 -195
- package/es/tree/util.js +0 -131
- package/es/upload/AvatarUpload.js +0 -293
- package/es/upload/DragUpload.js +0 -194
- package/es/upload/FileSelect.js +0 -47
- package/es/upload/NormalUpload.js +0 -146
- package/es/upload/PictureListUpload.js +0 -147
- package/es/upload/PictureUpload.js +0 -233
- package/es/upload/Preview.js +0 -441
- package/es/upload/__tests__/index.test.js +0 -760
- package/es/upload/hooks/useUpload.js +0 -274
- package/es/upload/index.d.ts +0 -42
- package/es/upload/index.js +0 -44
- package/es/upload/request.js +0 -118
- package/es/upload/style/index.css +0 -1
- package/es/upload/style/index.js +0 -5
- package/es/upload/style/preview.css +0 -1
- package/es/upload/style/preview.js +0 -3
- package/es/upload/util.js +0 -55
- package/es/watermark/index.d.ts +0 -12
- package/es/watermark/index.js +0 -110
- package/es/watermark/watermark.js +0 -252
package/lib/esm/index.js
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/** @LICENSE
|
|
2
|
+
* @hi-ui/hiui
|
|
3
|
+
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/hiui#readme
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) HIUI <mi-hiui@xiaomi.com>.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/
|
|
10
|
+
export * from '@hi-ui/alert';
|
|
11
|
+
export * from '@hi-ui/avatar';
|
|
12
|
+
export * from '@hi-ui/slider';
|
|
13
|
+
export * from '@hi-ui/badge';
|
|
14
|
+
export * from '@hi-ui/input';
|
|
15
|
+
export * from '@hi-ui/breadcrumb';
|
|
16
|
+
export * from '@hi-ui/list';
|
|
17
|
+
export * from '@hi-ui/stepper';
|
|
18
|
+
export * from '@hi-ui/button';
|
|
19
|
+
export * from '@hi-ui/loading';
|
|
20
|
+
export * from '@hi-ui/svg-icon';
|
|
21
|
+
export * from '@hi-ui/card';
|
|
22
|
+
export * from '@hi-ui/locale-context';
|
|
23
|
+
export * from '@hi-ui/switch';
|
|
24
|
+
export * from '@hi-ui/carousel';
|
|
25
|
+
export * from '@hi-ui/table';
|
|
26
|
+
export * from '@hi-ui/cascader';
|
|
27
|
+
export * from '@hi-ui/menu';
|
|
28
|
+
export * from '@hi-ui/tabs';
|
|
29
|
+
export * from '@hi-ui/check-cascader';
|
|
30
|
+
export * from '@hi-ui/message';
|
|
31
|
+
export * from '@hi-ui/tag';
|
|
32
|
+
export * from '@hi-ui/check-select';
|
|
33
|
+
export * from '@hi-ui/modal';
|
|
34
|
+
export * from '@hi-ui/check-tree-select';
|
|
35
|
+
export * from '@hi-ui/notification';
|
|
36
|
+
export * from '@hi-ui/textarea';
|
|
37
|
+
export * from '@hi-ui/checkbox';
|
|
38
|
+
export * from '@hi-ui/pagination';
|
|
39
|
+
export * from '@hi-ui/time-picker';
|
|
40
|
+
export * from '@hi-ui/collapse';
|
|
41
|
+
export * from '@hi-ui/picker';
|
|
42
|
+
export * from '@hi-ui/timeline';
|
|
43
|
+
export * from '@hi-ui/counter';
|
|
44
|
+
export * from '@hi-ui/pop-confirm';
|
|
45
|
+
export * from '@hi-ui/date-picker';
|
|
46
|
+
export * from '@hi-ui/popover';
|
|
47
|
+
export * from '@hi-ui/tooltip';
|
|
48
|
+
export * from '@hi-ui/drawer';
|
|
49
|
+
export * from '@hi-ui/transfer';
|
|
50
|
+
export * from '@hi-ui/dropdown';
|
|
51
|
+
export * from '@hi-ui/empty-state';
|
|
52
|
+
export * from '@hi-ui/preview';
|
|
53
|
+
export * from '@hi-ui/tree';
|
|
54
|
+
export * from '@hi-ui/progress';
|
|
55
|
+
export * from '@hi-ui/tree-select';
|
|
56
|
+
export * from '@hi-ui/filter';
|
|
57
|
+
export * from '@hi-ui/radio';
|
|
58
|
+
export * from '@hi-ui/upload';
|
|
59
|
+
export * from '@hi-ui/form';
|
|
60
|
+
export * from '@hi-ui/rating';
|
|
61
|
+
export * from '@hi-ui/watermark';
|
|
62
|
+
export * from '@hi-ui/grid';
|
|
63
|
+
export * from '@hi-ui/search';
|
|
64
|
+
export * from '@hi-ui/zen-mode';
|
|
65
|
+
export * from '@hi-ui/select';
|
|
66
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
export * from '@hi-ui/alert';
|
|
2
|
+
export * from '@hi-ui/avatar';
|
|
3
|
+
export * from '@hi-ui/slider';
|
|
4
|
+
export * from '@hi-ui/badge';
|
|
5
|
+
export * from '@hi-ui/input';
|
|
6
|
+
export * from '@hi-ui/breadcrumb';
|
|
7
|
+
export * from '@hi-ui/list';
|
|
8
|
+
export * from '@hi-ui/stepper';
|
|
9
|
+
export * from '@hi-ui/button';
|
|
10
|
+
export * from '@hi-ui/loading';
|
|
11
|
+
export * from '@hi-ui/svg-icon';
|
|
12
|
+
export * from '@hi-ui/card';
|
|
13
|
+
export * from '@hi-ui/locale-context';
|
|
14
|
+
export * from '@hi-ui/switch';
|
|
15
|
+
export * from '@hi-ui/carousel';
|
|
16
|
+
export * from '@hi-ui/table';
|
|
17
|
+
export * from '@hi-ui/cascader';
|
|
18
|
+
export * from '@hi-ui/menu';
|
|
19
|
+
export * from '@hi-ui/tabs';
|
|
20
|
+
export * from '@hi-ui/check-cascader';
|
|
21
|
+
export * from '@hi-ui/message';
|
|
22
|
+
export * from '@hi-ui/tag';
|
|
23
|
+
export * from '@hi-ui/check-select';
|
|
24
|
+
export * from '@hi-ui/modal';
|
|
25
|
+
export * from '@hi-ui/check-tree-select';
|
|
26
|
+
export * from '@hi-ui/notification';
|
|
27
|
+
export * from '@hi-ui/textarea';
|
|
28
|
+
export * from '@hi-ui/checkbox';
|
|
29
|
+
export * from '@hi-ui/pagination';
|
|
30
|
+
export * from '@hi-ui/time-picker';
|
|
31
|
+
export * from '@hi-ui/collapse';
|
|
32
|
+
export * from '@hi-ui/picker';
|
|
33
|
+
export * from '@hi-ui/timeline';
|
|
34
|
+
export * from '@hi-ui/counter';
|
|
35
|
+
export * from '@hi-ui/pop-confirm';
|
|
36
|
+
export * from '@hi-ui/date-picker';
|
|
37
|
+
export * from '@hi-ui/popover';
|
|
38
|
+
export * from '@hi-ui/tooltip';
|
|
39
|
+
export * from '@hi-ui/drawer';
|
|
40
|
+
export * from '@hi-ui/transfer';
|
|
41
|
+
export * from '@hi-ui/dropdown';
|
|
42
|
+
export * from '@hi-ui/empty-state';
|
|
43
|
+
export * from '@hi-ui/preview';
|
|
44
|
+
export * from '@hi-ui/tree';
|
|
45
|
+
export * from '@hi-ui/progress';
|
|
46
|
+
export * from '@hi-ui/tree-select';
|
|
47
|
+
export * from '@hi-ui/filter';
|
|
48
|
+
export * from '@hi-ui/radio';
|
|
49
|
+
export * from '@hi-ui/upload';
|
|
50
|
+
export * from '@hi-ui/form';
|
|
51
|
+
export * from '@hi-ui/rating';
|
|
52
|
+
export * from '@hi-ui/watermark';
|
|
53
|
+
export * from '@hi-ui/grid';
|
|
54
|
+
export * from '@hi-ui/search';
|
|
55
|
+
export * from '@hi-ui/zen-mode';
|
|
56
|
+
export * from '@hi-ui/select';
|
package/package.json
CHANGED
|
@@ -1,196 +1,113 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hi-ui/hiui",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "
|
|
5
|
-
"
|
|
6
|
-
"test": "node_modules/.bin/standard && node_modules/.bin/stylelint --config .stylelintrc 'components/**/*.scss'",
|
|
7
|
-
"jest": "jest",
|
|
8
|
-
"jest:coverage": "npm run jest -- --coverage",
|
|
9
|
-
"jest:badges": "npm run jest:coverage && jest-coverage-badges --input ./test/coverage/coverage-summary.json --output ./test/button",
|
|
10
|
-
"fix": "node_modules/.bin/standard --fix && node_modules/.bin/stylelint --config .stylelintrc 'components/**/*.scss' --fix",
|
|
11
|
-
"precommit": "lint-staged",
|
|
12
|
-
"compile": "cross-env NODE_ENV=production gulp",
|
|
13
|
-
"build": "node_modules/.bin/webpack --progress --profile --colors --config ./build/webpack.config.prod.js && gulp carry",
|
|
14
|
-
"build:gh-pages": "cross-env DOC_ENV=github node_modules/.bin/webpack --progress --profile --colors --config ./build/webpack.config.prod.js && gulp carry",
|
|
15
|
-
"deploy": "gh-pages -d dist --git \"$(which git)\"",
|
|
16
|
-
"dev": "npm start",
|
|
17
|
-
"start": "node build/start.js",
|
|
18
|
-
"prerender:gh-pages": "cross-env DOC_ENV=github npm run build && cross-env DOC_ENV=github node build/prerenderSite.js",
|
|
19
|
-
"prerender": "npm run build && node build/prerenderSite.js",
|
|
20
|
-
"pub-future": "npm publish --access public --tag future",
|
|
21
|
-
"pub": "npm publish --access public --tag latest",
|
|
22
|
-
"pub-next": "npm publish --access public --tag next",
|
|
23
|
-
"eslint": "node_modules/.bin/eslint --fix ./components/**/*.ts"
|
|
24
|
-
},
|
|
25
|
-
"repository": {
|
|
26
|
-
"type": "git",
|
|
27
|
-
"url": "git@github.com:XiaoMi/hiui.git"
|
|
28
|
-
},
|
|
29
|
-
"keywords": [
|
|
30
|
-
"component",
|
|
31
|
-
"design",
|
|
32
|
-
"react",
|
|
33
|
-
"react component",
|
|
34
|
-
"template",
|
|
35
|
-
"ui"
|
|
36
|
-
],
|
|
3
|
+
"version": "4.0.0-beta.1",
|
|
4
|
+
"description": "The root-package for @hi-ui/hiui.",
|
|
5
|
+
"keywords": [],
|
|
37
6
|
"author": "HIUI <mi-hiui@xiaomi.com>",
|
|
7
|
+
"homepage": "https://github.com/XiaoMi/hiui/tree/master/packages/ui/hiui#readme",
|
|
38
8
|
"license": "MIT",
|
|
39
|
-
"
|
|
40
|
-
|
|
41
|
-
|
|
9
|
+
"directories": {
|
|
10
|
+
"lib": "lib",
|
|
11
|
+
"test": "__tests__"
|
|
12
|
+
},
|
|
42
13
|
"files": [
|
|
43
|
-
"
|
|
14
|
+
"lib"
|
|
44
15
|
],
|
|
45
|
-
"
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
16
|
+
"main": "lib/cjs/index.js",
|
|
17
|
+
"module": "lib/esm/index.js",
|
|
18
|
+
"types": "lib/types/index.d.ts",
|
|
19
|
+
"typings": "lib/types/index.d.ts",
|
|
20
|
+
"exports": {
|
|
21
|
+
".": {
|
|
22
|
+
"require": "./lib/cjs/index.js",
|
|
23
|
+
"default": "./lib/esm/index.js"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"publishConfig": {
|
|
27
|
+
"access": "public"
|
|
28
|
+
},
|
|
29
|
+
"repository": {
|
|
30
|
+
"type": "git",
|
|
31
|
+
"url": "git+https://github.com/XiaoMi/hiui.git"
|
|
32
|
+
},
|
|
33
|
+
"scripts": {
|
|
34
|
+
"test": "echo \"Error: run tests from root\" && exit 1",
|
|
35
|
+
"clean": "rimraf lib",
|
|
36
|
+
"prebuild": "yarn clean",
|
|
37
|
+
"build:esm": "hi-build ./src/index.ts --format esm -d ./lib/esm",
|
|
38
|
+
"build:cjs": "hi-build ./src/index.ts --format cjs -d ./lib/cjs",
|
|
39
|
+
"build:types": "tsc --emitDeclarationOnly --declaration --declarationDir lib/types",
|
|
40
|
+
"build": "concurrently yarn:build:*"
|
|
41
|
+
},
|
|
42
|
+
"bugs": {
|
|
43
|
+
"url": "https://github.com/XiaoMi/hiui/issues"
|
|
54
44
|
},
|
|
55
45
|
"dependencies": {
|
|
56
|
-
"@hi-ui/
|
|
57
|
-
"@hi-ui/
|
|
58
|
-
"@hi-ui/
|
|
59
|
-
"@hi-ui/
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
46
|
+
"@hi-ui/alert": "^4.0.0-beta.0",
|
|
47
|
+
"@hi-ui/avatar": "^4.0.0-beta.0",
|
|
48
|
+
"@hi-ui/badge": "^4.0.0-beta.0",
|
|
49
|
+
"@hi-ui/breadcrumb": "^4.0.0-beta.0",
|
|
50
|
+
"@hi-ui/button": "^4.0.0-beta.1",
|
|
51
|
+
"@hi-ui/card": "^4.0.0-beta.0",
|
|
52
|
+
"@hi-ui/carousel": "^4.0.0-beta.0",
|
|
53
|
+
"@hi-ui/cascader": "^4.0.0-beta.0",
|
|
54
|
+
"@hi-ui/check-cascader": "^4.0.0-beta.0",
|
|
55
|
+
"@hi-ui/check-select": "^4.0.0-beta.0",
|
|
56
|
+
"@hi-ui/check-tree-select": "^4.0.0-beta.0",
|
|
57
|
+
"@hi-ui/checkbox": "^4.0.0-beta.0",
|
|
58
|
+
"@hi-ui/collapse": "^4.0.0-beta.0",
|
|
59
|
+
"@hi-ui/counter": "^4.0.0-beta.0",
|
|
60
|
+
"@hi-ui/date-picker": "^4.0.0-beta.1",
|
|
61
|
+
"@hi-ui/drawer": "^4.0.0-beta.1",
|
|
62
|
+
"@hi-ui/dropdown": "^4.0.0-beta.1",
|
|
63
|
+
"@hi-ui/empty-state": "^4.0.0-beta.0",
|
|
64
|
+
"@hi-ui/filter": "^4.0.0-beta.0",
|
|
65
|
+
"@hi-ui/form": "^4.0.0-beta.1",
|
|
66
|
+
"@hi-ui/grid": "^4.0.0-beta.0",
|
|
67
|
+
"@hi-ui/input": "^4.0.0-beta.0",
|
|
68
|
+
"@hi-ui/list": "^4.0.0-beta.0",
|
|
69
|
+
"@hi-ui/loading": "^4.0.0-beta.0",
|
|
70
|
+
"@hi-ui/locale-context": "^4.0.0-beta.0",
|
|
71
|
+
"@hi-ui/menu": "^4.0.0-beta.0",
|
|
72
|
+
"@hi-ui/message": "^4.0.0-beta.0",
|
|
73
|
+
"@hi-ui/modal": "^4.0.0-beta.1",
|
|
74
|
+
"@hi-ui/notification": "^4.0.0-beta.0",
|
|
75
|
+
"@hi-ui/pagination": "^4.0.0-beta.0",
|
|
76
|
+
"@hi-ui/picker": "^4.0.0-beta.0",
|
|
77
|
+
"@hi-ui/pop-confirm": "^4.0.0-beta.1",
|
|
78
|
+
"@hi-ui/popover": "^4.0.0-beta.0",
|
|
79
|
+
"@hi-ui/preview": "^4.0.0-beta.0",
|
|
80
|
+
"@hi-ui/progress": "^4.0.0-beta.0",
|
|
81
|
+
"@hi-ui/radio": "^4.0.0-beta.0",
|
|
82
|
+
"@hi-ui/rating": "^4.0.0-beta.0",
|
|
83
|
+
"@hi-ui/search": "^4.0.0-beta.1",
|
|
84
|
+
"@hi-ui/select": "^4.0.0-beta.0",
|
|
85
|
+
"@hi-ui/slider": "^4.0.0-beta.0",
|
|
86
|
+
"@hi-ui/stepper": "^4.0.0-beta.0",
|
|
87
|
+
"@hi-ui/svg-icon": "^4.0.0-beta.0",
|
|
88
|
+
"@hi-ui/switch": "^4.0.0-beta.0",
|
|
89
|
+
"@hi-ui/table": "^4.0.0-beta.1",
|
|
90
|
+
"@hi-ui/tabs": "^4.0.0-beta.0",
|
|
91
|
+
"@hi-ui/tag": "^4.0.0-beta.1",
|
|
92
|
+
"@hi-ui/textarea": "^4.0.0-beta.0",
|
|
93
|
+
"@hi-ui/time-picker": "^4.0.0-beta.1",
|
|
94
|
+
"@hi-ui/timeline": "^4.0.0-beta.0",
|
|
95
|
+
"@hi-ui/tooltip": "^4.0.0-beta.0",
|
|
96
|
+
"@hi-ui/transfer": "^4.0.0-beta.1",
|
|
97
|
+
"@hi-ui/tree": "^4.0.0-beta.0",
|
|
98
|
+
"@hi-ui/tree-select": "^4.0.0-beta.0",
|
|
99
|
+
"@hi-ui/upload": "^4.0.0-beta.1",
|
|
100
|
+
"@hi-ui/watermark": "^4.0.0-beta.0",
|
|
101
|
+
"@hi-ui/zen-mode": "^4.0.0-beta.0"
|
|
102
|
+
},
|
|
103
|
+
"peerDependencies": {
|
|
104
|
+
"react": ">=16.8.6",
|
|
105
|
+
"react-dom": ">=16.8.6"
|
|
80
106
|
},
|
|
81
107
|
"devDependencies": {
|
|
82
|
-
"@
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"@babel/polyfill": "^7.4.4",
|
|
86
|
-
"@babel/preset-env": "^7.4.5",
|
|
87
|
-
"@babel/preset-react": "^7.0.0",
|
|
88
|
-
"@babel/preset-typescript": "^7.8.3",
|
|
89
|
-
"@babel/runtime": "^7.14.0",
|
|
90
|
-
"@babel/standalone": "^7.4.5",
|
|
91
|
-
"@bougiel/puppeteer-prerenderer": "^0.0.3",
|
|
92
|
-
"@hi-ui/classic-theme": "1.2.5",
|
|
93
|
-
"@mapbox/rehype-prism": "^0.3.1",
|
|
94
|
-
"@mdx-js/loader": "^1.1.0",
|
|
95
|
-
"autoprefixer": "^8.5.0",
|
|
96
|
-
"babel-eslint": "^10.1.0",
|
|
97
|
-
"babel-jest": "^22.4.3",
|
|
98
|
-
"babel-loader": "^8.0.6",
|
|
99
|
-
"babel-plugin-transform-decorators-legacy": "^1.3.4",
|
|
100
|
-
"babel-plugin-transform-remove-console": "^6.9.4",
|
|
101
|
-
"canvas": "^2.6.1",
|
|
102
|
-
"clean-webpack-plugin": "^0.1.19",
|
|
103
|
-
"clipboard": "^2.0.4",
|
|
104
|
-
"codemirror": "^5.58.1",
|
|
105
|
-
"convert-source-map": "^1.6.0",
|
|
106
|
-
"cross-env": "^5.1.6",
|
|
107
|
-
"css-loader": "^0.28.11",
|
|
108
|
-
"cssnano": "^4.1.10",
|
|
109
|
-
"echarts": "4.9.0",
|
|
110
|
-
"echarts-for-react": "2.0.16",
|
|
111
|
-
"enzyme": "^3.9.0",
|
|
112
|
-
"enzyme-adapter-react-16": "^1.13.2",
|
|
113
|
-
"eslint": "^7.9.0",
|
|
114
|
-
"eslint-config-prettier": "^6.11.0",
|
|
115
|
-
"eslint-config-standard": "^14.1.1",
|
|
116
|
-
"eslint-loader": "^3.0.2",
|
|
117
|
-
"eslint-plugin-import": "^2.22.0",
|
|
118
|
-
"eslint-plugin-node": "^11.1.0",
|
|
119
|
-
"eslint-plugin-prettier": "^3.1.4",
|
|
120
|
-
"eslint-plugin-promise": "^4.2.1",
|
|
121
|
-
"eslint-plugin-react": "^7.20.6",
|
|
122
|
-
"eslint-plugin-standard": "^4.0.1",
|
|
123
|
-
"file-loader": "^1.1.11",
|
|
124
|
-
"fork-ts-checker-webpack-plugin": "4.0.3",
|
|
125
|
-
"gh-pages": "^2.0.1",
|
|
126
|
-
"github-markdown-css": "^3.0.1",
|
|
127
|
-
"gulp": "^3.9.1",
|
|
128
|
-
"gulp-babel": "^8.0.0",
|
|
129
|
-
"gulp-typescript": "^6.0.0-alpha.1",
|
|
130
|
-
"hoist-non-react-statics": "^2.5.0",
|
|
131
|
-
"html-webpack-plugin": "^3.2.0",
|
|
132
|
-
"husky": "^0.14.3",
|
|
133
|
-
"jest": "^24.8.0",
|
|
134
|
-
"jest-canvas-mock": "2.2.0",
|
|
135
|
-
"jest-coverage-badges": "^1.1.2",
|
|
136
|
-
"jest-environment-jsdom-global": "^1.2.0",
|
|
137
|
-
"jest-fetch-mock": "^2.1.2",
|
|
138
|
-
"jsonlint-mod": "^1.7.6",
|
|
139
|
-
"jsx-loader": "^0.13.2",
|
|
140
|
-
"lint-staged": "^7.2.2",
|
|
141
|
-
"loader-utils": "^1.2.3",
|
|
142
|
-
"marked": "^0.7.0",
|
|
143
|
-
"merge2": "^1.2.2",
|
|
144
|
-
"mini-css-extract-plugin": "^0.7.0",
|
|
145
|
-
"mockjs": "^1.1.0",
|
|
146
|
-
"node-sass": "^4.12.0",
|
|
147
|
-
"pinyin-match": "^1.1.1",
|
|
148
|
-
"postcss-loader": "^2.1.5",
|
|
149
|
-
"prettier": "^2.1.1",
|
|
150
|
-
"prismjs": "^1.16.0",
|
|
151
|
-
"raw-loader": "^0.5.1",
|
|
152
|
-
"react": "^16.9.0",
|
|
153
|
-
"react-base-table": "^1.12.0",
|
|
154
|
-
"react-codemirror2": "^7.2.1",
|
|
155
|
-
"react-custom-scrollbars": "^4.2.1",
|
|
156
|
-
"react-dnd-test-backend": "^7.7.0",
|
|
157
|
-
"react-dnd-test-utils": "^7.7.0",
|
|
158
|
-
"react-dom": "^16.9.0",
|
|
159
|
-
"react-hot-loader": "4.2.0",
|
|
160
|
-
"react-live": "^2.1.1",
|
|
161
|
-
"react-quill": "^1.3.5",
|
|
162
|
-
"react-redux": "^5.1.1",
|
|
163
|
-
"react-test-renderer": "^16.8.6",
|
|
164
|
-
"redux": "^4.0.0",
|
|
165
|
-
"redux-thunk": "^2.3.0",
|
|
166
|
-
"rimraf": "^2.6.3",
|
|
167
|
-
"rucksack-css": "^1.0.2",
|
|
168
|
-
"run-sequence": "^2.2.1",
|
|
169
|
-
"sass-loader": "^7.0.1",
|
|
170
|
-
"simulant": "^0.2.2",
|
|
171
|
-
"sinon": "^7.3.2",
|
|
172
|
-
"style-loader": "^0.21.0",
|
|
173
|
-
"stylelint": "^9.10.1",
|
|
174
|
-
"stylelint-config-recommended-scss": "^3.3.0",
|
|
175
|
-
"stylelint-config-standard": "^18.3.0",
|
|
176
|
-
"stylelint-scss": "^3.7.0",
|
|
177
|
-
"terser-webpack-plugin": "^1.3.0",
|
|
178
|
-
"through2": "^2.0.5",
|
|
179
|
-
"typescript": "^3.9.9",
|
|
180
|
-
"url-loader": "^1.0.1",
|
|
181
|
-
"webpack": "^4.32.2",
|
|
182
|
-
"webpack-cli": "^3.3.2",
|
|
183
|
-
"webpack-dev-server": "^3.4.1",
|
|
184
|
-
"webpack-merge": "^4.2.1"
|
|
108
|
+
"@hi-ui/hi-build": "^4.0.0-beta.0",
|
|
109
|
+
"react": "^17.0.1",
|
|
110
|
+
"react-dom": "^17.0.1"
|
|
185
111
|
},
|
|
186
|
-
"
|
|
187
|
-
"*.{js,jsx}": [
|
|
188
|
-
"eslint --fix",
|
|
189
|
-
"git add"
|
|
190
|
-
],
|
|
191
|
-
"*.scss": [
|
|
192
|
-
"stylelint --config .stylelintrc --fix",
|
|
193
|
-
"git add"
|
|
194
|
-
]
|
|
195
|
-
}
|
|
112
|
+
"gitHead": "7e560cfe4ca3e52db3aa4f999ddcccee2c51dc95"
|
|
196
113
|
}
|