linkmore-design 1.1.31 β†’ 1.1.33

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.
Files changed (88) hide show
  1. package/CHANGELOG.md +1237 -1237
  2. package/LICENSE +21 -21
  3. package/README.md +84 -84
  4. package/dist/CardTable/LmCardTable.d.ts +1 -1
  5. package/dist/CardTable/table/TableRoot.d.ts +1 -1
  6. package/dist/LmFilter/wrapper/FilterRoot.d.ts +1 -1
  7. package/dist/LmTable/Table.d.ts +1 -1
  8. package/dist/LmTable/context.d.ts +1 -1
  9. package/dist/LmUpload/demos/multiple.d.ts +2 -0
  10. package/dist/Typography/hooks/useUpdatedEffect.d.ts +1 -1
  11. package/dist/index.umd.js +24925 -8454
  12. package/dist/index.umd.min.js +42 -22
  13. package/dist/variables.css +178 -178
  14. package/es/ButtonTags/ButtonTags.js +5 -5
  15. package/es/CardTable/hooks/usePagination.js +4 -4
  16. package/es/Col/README.md.old +22 -22
  17. package/es/CropImg/utils.js +7 -7
  18. package/es/CropImg/wrapper/Container.js +3 -3
  19. package/es/CustomTableOption/index.js +4 -1
  20. package/es/CustomerService/README.md.old +15 -15
  21. package/es/EditTable/EditTable.js +8 -8
  22. package/es/EditTable/README.md.old +66 -66
  23. package/es/EnlargeImg/README.md.old +21 -21
  24. package/es/Filter/README.md.old +144 -144
  25. package/es/Filter/baseFilter/index.js +3 -3
  26. package/es/Filter/edit/editFilter.js +4 -4
  27. package/es/Filter/index.js +6 -6
  28. package/es/IconFont/font/iconfont.css +1831 -1831
  29. package/es/IconSelect/iconJson.json +2935 -2935
  30. package/es/LmEditTable/EditTable.js +9 -9
  31. package/es/LmFilter/complexFilter/valueDrawer.js +6 -6
  32. package/es/LmFilter/components/DropdownFIlter.js +8 -8
  33. package/es/LmFilter/components/index.js +3 -3
  34. package/es/LmFilter/customFilter/drawer.js +3 -3
  35. package/es/LmFilter/customFilter/saveModal.js +3 -3
  36. package/es/LmFilter/customFilter/valueDrawer.js +6 -6
  37. package/es/LmFilter/utils.js +5 -5
  38. package/es/LmTable/Table.js +7 -7
  39. package/es/LmTable/detectElementResize.js +11 -11
  40. package/es/LmTable/util.js +60 -60
  41. package/es/LmUpload/LmUpload.js +1 -0
  42. package/es/LmUpload/body/UploadCore.js +3 -1
  43. package/es/LmUpload/fns/index.js +9 -9
  44. package/es/Result/index.d.ts +4 -4
  45. package/es/Row/README.md.old +22 -22
  46. package/es/Typography/hooks/useUpdatedEffect.d.ts +1 -1
  47. package/es/message/index.d.ts +5 -5
  48. package/es/notification/index.js +3 -3
  49. package/es/services/newRequest.js +3 -3
  50. package/es/styles/variables.css +178 -178
  51. package/lib/ButtonTags/ButtonTags.js +5 -5
  52. package/lib/CardTable/hooks/usePagination.js +4 -4
  53. package/lib/Col/README.md.old +22 -22
  54. package/lib/CropImg/utils.js +7 -7
  55. package/lib/CropImg/wrapper/Container.js +3 -3
  56. package/lib/CustomTableOption/index.js +4 -1
  57. package/lib/CustomerService/README.md.old +15 -15
  58. package/lib/EditTable/EditTable.js +8 -8
  59. package/lib/EditTable/README.md.old +66 -66
  60. package/lib/EnlargeImg/README.md.old +21 -21
  61. package/lib/Filter/README.md.old +144 -144
  62. package/lib/Filter/baseFilter/index.js +3 -3
  63. package/lib/Filter/edit/editFilter.js +4 -4
  64. package/lib/Filter/index.js +6 -6
  65. package/lib/IconFont/font/iconfont.css +1831 -1831
  66. package/lib/IconSelect/iconJson.json +2935 -2935
  67. package/lib/LmEditTable/EditTable.js +9 -9
  68. package/lib/LmFilter/complexFilter/valueDrawer.js +6 -6
  69. package/lib/LmFilter/components/DropdownFIlter.js +8 -8
  70. package/lib/LmFilter/components/index.js +3 -3
  71. package/lib/LmFilter/customFilter/drawer.js +3 -3
  72. package/lib/LmFilter/customFilter/saveModal.js +3 -3
  73. package/lib/LmFilter/customFilter/valueDrawer.js +6 -6
  74. package/lib/LmFilter/utils.js +5 -5
  75. package/lib/LmTable/Table.js +7 -7
  76. package/lib/LmTable/detectElementResize.js +11 -11
  77. package/lib/LmTable/util.js +60 -60
  78. package/lib/LmUpload/LmUpload.js +1 -0
  79. package/lib/LmUpload/body/UploadCore.js +3 -1
  80. package/lib/LmUpload/fns/index.js +9 -9
  81. package/lib/Result/index.d.ts +4 -4
  82. package/lib/Row/README.md.old +22 -22
  83. package/lib/Typography/hooks/useUpdatedEffect.d.ts +1 -1
  84. package/lib/message/index.d.ts +5 -5
  85. package/lib/notification/index.js +3 -3
  86. package/lib/services/newRequest.js +3 -3
  87. package/lib/styles/variables.css +178 -178
  88. package/package.json +146 -146
@@ -1734,112 +1734,6 @@ p {
1734
1734
  .lm_cutimg_container .img_crop_control .anticon {
1735
1735
  font-size: 16px;
1736
1736
  }
1737
- .lm_custom-table-option.lm_drawer .ant-drawer-body {
1738
- padding: 0 0 24px 0;
1739
- }
1740
- .lm_custom-table-option.lm_drawer .ant-drawer-body .ant-tabs-nav-wrap {
1741
- padding: 0 24px;
1742
- }
1743
- .lm_custom-table-option.lm_drawer .ant-drawer-body .ant-tabs-content-holder {
1744
- padding: 0 24px;
1745
- }
1746
- .lm_custom_option_columns .global_setting {
1747
- height: 44px;
1748
- display: flex;
1749
- align-items: center;
1750
- justify-content: space-between;
1751
- padding-bottom: 12px;
1752
- border-bottom: 1px solid var(--border-color);
1753
- font-size: 12px;
1754
- margin-bottom: 8px;
1755
- }
1756
- .lm_custom_option_columns .global_setting .lm-checkbox > span {
1757
- font-size: 12px;
1758
- }
1759
- .lm_custom_option_columns .global_setting > span {
1760
- color: var(--primary-color);
1761
- cursor: pointer;
1762
- }
1763
- .lm_custom_option_columns .custom_hiddle {
1764
- display: none;
1765
- }
1766
- .lm_custom_option_columns .fixed_title {
1767
- color: var(--color-45);
1768
- font-size: 12px;
1769
- display: inline-block;
1770
- margin-bottom: 8px;
1771
- }
1772
- .lm_custom_option_columns .lm_custom_item {
1773
- height: 44px;
1774
- background-color: var(--color-4);
1775
- display: flex;
1776
- align-items: center;
1777
- justify-content: space-between;
1778
- padding: 0 16px;
1779
- font-size: 12px;
1780
- margin-bottom: 8px;
1781
- cursor: pointer;
1782
- }
1783
- .lm_custom_option_columns .lm_custom_item:hover {
1784
- background-color: var(--line-color);
1785
- }
1786
- .lm_custom_option_columns .lm_custom_item:hover .hover_show {
1787
- display: inline-flex;
1788
- }
1789
- .lm_custom_option_columns .lm_custom_item .lm-checkbox > span {
1790
- font-size: 12px;
1791
- }
1792
- .lm_custom_option_columns .lm_custom_icon {
1793
- font-size: 16px;
1794
- margin-left: 8px;
1795
- cursor: pointer;
1796
- }
1797
- .lm_custom_option_columns .lm_custom_icon.sort_item {
1798
- color: var(--tip-text-color);
1799
- }
1800
- .lm_custom_option_columns .lm_custom_icon.hover_show {
1801
- display: none;
1802
- color: var(--primary-color);
1803
- }
1804
- .lm_custom_option_columns .card_prompt .anticon {
1805
- font-size: 16px;
1806
- color: var(--warning-color);
1807
- }
1808
- .lm_custom_size_warp {
1809
- display: flex;
1810
- flex-direction: column;
1811
- align-items: center;
1812
- justify-content: center;
1813
- cursor: pointer;
1814
- }
1815
- .lm_custom_size_warp > .anticon {
1816
- margin: 8px 0;
1817
- }
1818
- .lm_custom_size_warp > img {
1819
- width: 100px;
1820
- height: 100px;
1821
- margin: 8px 0;
1822
- }
1823
- .lm_size_radio_group {
1824
- width: 100%;
1825
- display: flex;
1826
- flex-direction: row;
1827
- align-items: center;
1828
- justify-content: space-between;
1829
- }
1830
- .save_setting {
1831
- height: 68px;
1832
- margin-top: 24px;
1833
- border-top: 1px solid var(--color-6);
1834
- border-bottom: 1px solid var(--color-6);
1835
- display: flex;
1836
- align-items: center;
1837
- justify-content: space-between;
1838
- font-size: 12px;
1839
- }
1840
- .global_search {
1841
- margin-bottom: 16px;
1842
- }
1843
1737
  .lm_customerservice_warp .fixGroup {
1844
1738
  transition: right 0.3s;
1845
1739
  position: fixed;
@@ -2093,6 +1987,112 @@ p {
2093
1987
  .lm_question_warp .main .title {
2094
1988
  font-size: 14px;
2095
1989
  }
1990
+ .lm_custom-table-option.lm_drawer .ant-drawer-body {
1991
+ padding: 0 0 24px 0;
1992
+ }
1993
+ .lm_custom-table-option.lm_drawer .ant-drawer-body .ant-tabs-nav-wrap {
1994
+ padding: 0 24px;
1995
+ }
1996
+ .lm_custom-table-option.lm_drawer .ant-drawer-body .ant-tabs-content-holder {
1997
+ padding: 0 24px;
1998
+ }
1999
+ .lm_custom_option_columns .global_setting {
2000
+ height: 44px;
2001
+ display: flex;
2002
+ align-items: center;
2003
+ justify-content: space-between;
2004
+ padding-bottom: 12px;
2005
+ border-bottom: 1px solid var(--border-color);
2006
+ font-size: 12px;
2007
+ margin-bottom: 8px;
2008
+ }
2009
+ .lm_custom_option_columns .global_setting .lm-checkbox > span {
2010
+ font-size: 12px;
2011
+ }
2012
+ .lm_custom_option_columns .global_setting > span {
2013
+ color: var(--primary-color);
2014
+ cursor: pointer;
2015
+ }
2016
+ .lm_custom_option_columns .custom_hiddle {
2017
+ display: none;
2018
+ }
2019
+ .lm_custom_option_columns .fixed_title {
2020
+ color: var(--color-45);
2021
+ font-size: 12px;
2022
+ display: inline-block;
2023
+ margin-bottom: 8px;
2024
+ }
2025
+ .lm_custom_option_columns .lm_custom_item {
2026
+ height: 44px;
2027
+ background-color: var(--color-4);
2028
+ display: flex;
2029
+ align-items: center;
2030
+ justify-content: space-between;
2031
+ padding: 0 16px;
2032
+ font-size: 12px;
2033
+ margin-bottom: 8px;
2034
+ cursor: pointer;
2035
+ }
2036
+ .lm_custom_option_columns .lm_custom_item:hover {
2037
+ background-color: var(--line-color);
2038
+ }
2039
+ .lm_custom_option_columns .lm_custom_item:hover .hover_show {
2040
+ display: inline-flex;
2041
+ }
2042
+ .lm_custom_option_columns .lm_custom_item .lm-checkbox > span {
2043
+ font-size: 12px;
2044
+ }
2045
+ .lm_custom_option_columns .lm_custom_icon {
2046
+ font-size: 16px;
2047
+ margin-left: 8px;
2048
+ cursor: pointer;
2049
+ }
2050
+ .lm_custom_option_columns .lm_custom_icon.sort_item {
2051
+ color: var(--tip-text-color);
2052
+ }
2053
+ .lm_custom_option_columns .lm_custom_icon.hover_show {
2054
+ display: none;
2055
+ color: var(--primary-color);
2056
+ }
2057
+ .lm_custom_option_columns .card_prompt .anticon {
2058
+ font-size: 16px;
2059
+ color: var(--warning-color);
2060
+ }
2061
+ .lm_custom_size_warp {
2062
+ display: flex;
2063
+ flex-direction: column;
2064
+ align-items: center;
2065
+ justify-content: center;
2066
+ cursor: pointer;
2067
+ }
2068
+ .lm_custom_size_warp > .anticon {
2069
+ margin: 8px 0;
2070
+ }
2071
+ .lm_custom_size_warp > img {
2072
+ width: 100px;
2073
+ height: 100px;
2074
+ margin: 8px 0;
2075
+ }
2076
+ .lm_size_radio_group {
2077
+ width: 100%;
2078
+ display: flex;
2079
+ flex-direction: row;
2080
+ align-items: center;
2081
+ justify-content: space-between;
2082
+ }
2083
+ .save_setting {
2084
+ height: 68px;
2085
+ margin-top: 24px;
2086
+ border-top: 1px solid var(--color-6);
2087
+ border-bottom: 1px solid var(--color-6);
2088
+ display: flex;
2089
+ align-items: center;
2090
+ justify-content: space-between;
2091
+ font-size: 12px;
2092
+ }
2093
+ .global_search {
2094
+ margin-bottom: 16px;
2095
+ }
2096
2096
  /* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
2097
2097
  /* stylelint-disable no-duplicate-selectors */
2098
2098
  /* stylelint-disable */
@@ -12232,6 +12232,37 @@ button.ant-table-row-expand-icon::after {
12232
12232
  .lm_upload_wrapper .lm_upload_item.lm_upload_item_picture.lm_upload_item_error {
12233
12233
  color: var(--error-color);
12234
12234
  }
12235
+ .lm_message .ant-message-notice-content {
12236
+ position: relative;
12237
+ padding: 8px 16px;
12238
+ font-size: 12px;
12239
+ }
12240
+ .lm_message .message_progress {
12241
+ position: absolute;
12242
+ width: 100%;
12243
+ height: 2px;
12244
+ background-color: #52C41A;
12245
+ left: 0;
12246
+ bottom: 0;
12247
+ animation-name: Progress;
12248
+ animation-iteration-count: 1;
12249
+ animation-fill-mode: forwards;
12250
+ transition: width 0.2s;
12251
+ animation-timing-function: linear;
12252
+ }
12253
+ .lm_message:hover .message_progress {
12254
+ width: 100%;
12255
+ animation-name: none;
12256
+ animation-play-state: paused;
12257
+ }
12258
+ @keyframes Progress {
12259
+ from {
12260
+ width: 100%;
12261
+ }
12262
+ to {
12263
+ width: 0;
12264
+ }
12265
+ }
12235
12266
  .lm_modal.ant-modal-wrap .ant-modal-header > .ant-modal-title {
12236
12267
  font-weight: normal;
12237
12268
  font-size: 14px;
@@ -12267,6 +12298,47 @@ button.ant-table-row-expand-icon::after {
12267
12298
  background-color: var(--primary-color);
12268
12299
  color: #fff;
12269
12300
  }
12301
+ .lm_notification.ant-notification-notice {
12302
+ padding: 0;
12303
+ }
12304
+ .lm_notification .ant-notification-notice-content {
12305
+ position: relative;
12306
+ padding: 16px 24px;
12307
+ font-size: 12px;
12308
+ }
12309
+ .lm_notification .message_progress {
12310
+ position: absolute;
12311
+ width: 100%;
12312
+ height: 2px;
12313
+ background-color: #52C41A;
12314
+ left: 0;
12315
+ bottom: 0;
12316
+ animation-name: Progress;
12317
+ animation-iteration-count: 1;
12318
+ animation-fill-mode: forwards;
12319
+ transition: width 0.2s;
12320
+ animation-timing-function: linear;
12321
+ margin-bottom: 0 !important;
12322
+ }
12323
+ .lm_notification:hover .message_progress {
12324
+ width: 100%;
12325
+ animation-name: none;
12326
+ animation-play-state: paused;
12327
+ }
12328
+ .lm_notification .ant-notification-notice-btn {
12329
+ margin-bottom: 16px;
12330
+ }
12331
+ @keyframes Progress {
12332
+ from {
12333
+ width: 100%;
12334
+ }
12335
+ to {
12336
+ width: 0;
12337
+ }
12338
+ }
12339
+ .ant-notification-notice-message {
12340
+ font-size: 14px;
12341
+ }
12270
12342
  .lm_pagination.ant-pagination li {
12271
12343
  font-size: 12px;
12272
12344
  line-height: 24px !important;
@@ -12921,75 +12993,3 @@ button.ant-table-row-expand-icon::after {
12921
12993
  .lm_upload_img .upload_body .upload_card_box:hover {
12922
12994
  border-color: #1890fc;
12923
12995
  }
12924
- .lm_message .ant-message-notice-content {
12925
- position: relative;
12926
- padding: 8px 16px;
12927
- font-size: 12px;
12928
- }
12929
- .lm_message .message_progress {
12930
- position: absolute;
12931
- width: 100%;
12932
- height: 2px;
12933
- background-color: #52C41A;
12934
- left: 0;
12935
- bottom: 0;
12936
- animation-name: Progress;
12937
- animation-iteration-count: 1;
12938
- animation-fill-mode: forwards;
12939
- transition: width 0.2s;
12940
- animation-timing-function: linear;
12941
- }
12942
- .lm_message:hover .message_progress {
12943
- width: 100%;
12944
- animation-name: none;
12945
- animation-play-state: paused;
12946
- }
12947
- @keyframes Progress {
12948
- from {
12949
- width: 100%;
12950
- }
12951
- to {
12952
- width: 0;
12953
- }
12954
- }
12955
- .lm_notification.ant-notification-notice {
12956
- padding: 0;
12957
- }
12958
- .lm_notification .ant-notification-notice-content {
12959
- position: relative;
12960
- padding: 16px 24px;
12961
- font-size: 12px;
12962
- }
12963
- .lm_notification .message_progress {
12964
- position: absolute;
12965
- width: 100%;
12966
- height: 2px;
12967
- background-color: #52C41A;
12968
- left: 0;
12969
- bottom: 0;
12970
- animation-name: Progress;
12971
- animation-iteration-count: 1;
12972
- animation-fill-mode: forwards;
12973
- transition: width 0.2s;
12974
- animation-timing-function: linear;
12975
- margin-bottom: 0 !important;
12976
- }
12977
- .lm_notification:hover .message_progress {
12978
- width: 100%;
12979
- animation-name: none;
12980
- animation-play-state: paused;
12981
- }
12982
- .lm_notification .ant-notification-notice-btn {
12983
- margin-bottom: 16px;
12984
- }
12985
- @keyframes Progress {
12986
- from {
12987
- width: 100%;
12988
- }
12989
- to {
12990
- width: 0;
12991
- }
12992
- }
12993
- .ant-notification-notice-message {
12994
- font-size: 14px;
12995
- }
package/package.json CHANGED
@@ -1,146 +1,146 @@
1
- {
2
- "name": "linkmore-design",
3
- "version": "1.1.31",
4
- "author": {
5
- "name": "nowthen",
6
- "email": "rnlvwyx@gmail.com"
7
- },
8
- "repository": {
9
- "type": "git",
10
- "url": "https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign.git"
11
- },
12
- "main": "lib/index.js",
13
- "module": "es/index.js",
14
- "unpkg": "dist/index.umd.min.js",
15
- "files": [
16
- "es",
17
- "lib",
18
- "dist"
19
- ],
20
- "typings": "es/index.d.ts",
21
- "description": "🌈 πŸš€lmη»„δ»ΆεΊ“γ€‚πŸš€",
22
- "keywords": [
23
- "react-web-pro",
24
- "react",
25
- "mobx",
26
- "webpack4",
27
- "react-template",
28
- "nowthen"
29
- ],
30
- "publishConfig": {
31
- "registry": "https://registry.npmjs.org/",
32
- "access": "public"
33
- },
34
- "license": "MIT",
35
- "scripts": {
36
- "prettier": "prettier --write src/**/*.{js,jsx,tsx,ts,less,md,json}",
37
- "lint:style": "stylelint src/**/*.less --syntax less",
38
- "lint:js": "eslint --cache --ext .js,.jsx,.ts,.tsx ./src",
39
- "lint:fix": "yarn lint:js --fix",
40
- "build": "cross-env NODE_OPTIONS=--max-old-space-size=8192 node_modules/.bin/father build",
41
- "prepare": "husky install",
42
- "create": "node ./config/main.js",
43
- "dumi": "dumi dev",
44
- "dumi:build": "dumi build",
45
- "pub": "npm run build && npm version patch && npm publish",
46
- "rbc": "parcel build src/styles/main.less --no-source-maps",
47
- "cssrb": "node ./config/css.js",
48
- "rbuild": "npm run cssrb && npm run build && node ./config/copy.js",
49
- "changelog": "conventional-changelog -p react -i CHANGELOG.md -s -r 0"
50
- },
51
- "lint-staged": {
52
- "gitDir": "../",
53
- "src/**/*.{less,md,json}": [
54
- "prettier"
55
- ],
56
- "src/**/*.{js,jsx,ts,tsx}": [
57
- "prettier",
58
- "yarn run lint:js"
59
- ]
60
- },
61
- "dependencies": {
62
- "@ant-design/compatible": "1.0.8",
63
- "@ant-design/icons": "^4.3.0",
64
- "@ant-design/pro-table": "2.77.0",
65
- "@babel/runtime": "^7.17.9",
66
- "@dnd-kit/core": "^5.0.3",
67
- "@dnd-kit/modifiers": "^5.0.0",
68
- "@dnd-kit/sortable": "^6.0.1",
69
- "@react-hook/resize-observer": "^1.2.6",
70
- "ahooks": "^3.6.2",
71
- "ali-oss": "^6.17.1",
72
- "antd": "4.22.8",
73
- "antd-img-crop": "^4.2.5",
74
- "axios": "^0.21.0",
75
- "classnames": "^2.3.1",
76
- "dayjs": "^1.9.7",
77
- "echarts": "^5.4.0",
78
- "hex-to-rgba": "^2.0.1",
79
- "immer": "^9.0.15",
80
- "intersection-observer": "^0.12.2",
81
- "lodash": "^4.17.21",
82
- "rc-field-form": "^1.27.1",
83
- "rc-motion": "2.6.1",
84
- "rc-tabs": "12.1.0-alpha.1",
85
- "react-cookies": "^0.1.1",
86
- "react-easy-crop": "^4.5.1",
87
- "react-query": "^3.34.15",
88
- "react-resizable": "^3.0.4",
89
- "react-sortable-hoc": "^2.0.0",
90
- "react-virtual": "^2.10.4",
91
- "react-virtualized-auto-sizer": "^1.0.6",
92
- "react-window": "^1.8.6",
93
- "readline-sync": "^1.4.10",
94
- "scrollama": "^3.2.0",
95
- "use-resize-observer": "^9.0.2"
96
- },
97
- "peerDependencies": {
98
- "react": ">= 17.0.1",
99
- "react-dom": ">= 17.0.1"
100
- },
101
- "browserslist": [
102
- "> 1%",
103
- "last 2 versions",
104
- "not ie <= 10"
105
- ],
106
- "engines": {
107
- "node": ">=10.0.0"
108
- },
109
- "devDependencies": {
110
- "@typescript-eslint/eslint-plugin": "^5.28.0",
111
- "@typescript-eslint/parser": "^5.28.0",
112
- "@babel/plugin-transform-runtime": "^7.12.1",
113
- "@babel/preset-typescript": "^7.17.12",
114
- "@commitlint/cli": "^11.0.0",
115
- "@linkmore/commitlint-config": "^1.0.2",
116
- "@types/react": "^18.0.19",
117
- "@types/react-dom": "^18.0.6",
118
- "autoprefixer": "^9.0.0",
119
- "babel-eslint": "^10.1.0",
120
- "babel-plugin-import": "^1.13.3",
121
- "babel-plugin-transform-remove-console": "^6.9.4",
122
- "cross-env": "^7.0.3",
123
- "dumi": "^1.1.40",
124
- "eslint": "^7.15.0",
125
- "eslint-config-airbnb": "^18.2.1",
126
- "eslint-config-prettier": "^7.0.0",
127
- "eslint-friendly-formatter": "^4.0.1",
128
- "eslint-import-resolver-webpack": "^0.13.2",
129
- "eslint-plugin-babel": "^5.3.1",
130
- "eslint-plugin-import": "^2.22.1",
131
- "eslint-plugin-jsx-a11y": "^6.4.1",
132
- "eslint-plugin-prettier": "^4.0.0",
133
- "eslint-plugin-react": "^7.21.5",
134
- "eslint-plugin-react-hooks": "^4.2.0",
135
- "father": "2.30.17",
136
- "husky": "^7.0.4",
137
- "lint-staged": "^10.5.3",
138
- "prettier": "^2.2.1",
139
- "react-copy-to-clipboard": "^5.1.0",
140
- "stylelint": "^13.8.0",
141
- "stylelint-config-prettier": "^8.0.2",
142
- "stylelint-config-standard": "^20.0.0",
143
- "conventional-changelog": "^3.1.25",
144
- "conventional-changelog-cli": "^2.2.2"
145
- }
146
- }
1
+ {
2
+ "name": "linkmore-design",
3
+ "version": "1.1.33",
4
+ "author": {
5
+ "name": "nowthen",
6
+ "email": "rnlvwyx@gmail.com"
7
+ },
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign.git"
11
+ },
12
+ "main": "lib/index.js",
13
+ "module": "es/index.js",
14
+ "unpkg": "dist/index.umd.min.js",
15
+ "files": [
16
+ "es",
17
+ "lib",
18
+ "dist"
19
+ ],
20
+ "typings": "es/index.d.ts",
21
+ "description": "🌈 πŸš€lmη»„δ»ΆεΊ“γ€‚πŸš€",
22
+ "keywords": [
23
+ "react-web-pro",
24
+ "react",
25
+ "mobx",
26
+ "webpack4",
27
+ "react-template",
28
+ "nowthen"
29
+ ],
30
+ "publishConfig": {
31
+ "registry": "https://registry.npmjs.org/",
32
+ "access": "public"
33
+ },
34
+ "license": "MIT",
35
+ "scripts": {
36
+ "prettier": "prettier --write src/**/*.{js,jsx,tsx,ts,less,md,json}",
37
+ "lint:style": "stylelint src/**/*.less --syntax less",
38
+ "lint:js": "eslint --cache --ext .js,.jsx,.ts,.tsx ./src",
39
+ "lint:fix": "yarn lint:js --fix",
40
+ "build": "cross-env NODE_OPTIONS=--max-old-space-size=8192 node_modules/.bin/father build",
41
+ "prepare": "husky install",
42
+ "create": "node ./config/main.js",
43
+ "dumi": "dumi dev",
44
+ "dumi:build": "dumi build",
45
+ "pub": "npm run build && npm version patch && npm publish",
46
+ "rbc": "parcel build src/styles/main.less --no-source-maps",
47
+ "cssrb": "node ./config/css.js",
48
+ "rbuild": "npm run cssrb && npm run build && node ./config/copy.js",
49
+ "changelog": "conventional-changelog -p react -i CHANGELOG.md -s -r 0"
50
+ },
51
+ "lint-staged": {
52
+ "gitDir": "../",
53
+ "src/**/*.{less,md,json}": [
54
+ "prettier"
55
+ ],
56
+ "src/**/*.{js,jsx,ts,tsx}": [
57
+ "prettier",
58
+ "yarn run lint:js"
59
+ ]
60
+ },
61
+ "dependencies": {
62
+ "@ant-design/compatible": "1.0.8",
63
+ "@ant-design/icons": "^4.3.0",
64
+ "@ant-design/pro-table": "2.77.0",
65
+ "@babel/runtime": "^7.17.9",
66
+ "@dnd-kit/core": "^5.0.3",
67
+ "@dnd-kit/modifiers": "^5.0.0",
68
+ "@dnd-kit/sortable": "^6.0.1",
69
+ "@react-hook/resize-observer": "^1.2.6",
70
+ "ahooks": "^3.6.2",
71
+ "ali-oss": "^6.17.1",
72
+ "antd": "4.22.8",
73
+ "antd-img-crop": "^4.2.5",
74
+ "axios": "^0.21.0",
75
+ "classnames": "^2.3.1",
76
+ "dayjs": "^1.9.7",
77
+ "echarts": "^5.4.0",
78
+ "hex-to-rgba": "^2.0.1",
79
+ "immer": "^9.0.15",
80
+ "intersection-observer": "^0.12.2",
81
+ "lodash": "^4.17.21",
82
+ "rc-field-form": "^1.27.1",
83
+ "rc-motion": "2.6.1",
84
+ "rc-tabs": "12.1.0-alpha.1",
85
+ "react-cookies": "^0.1.1",
86
+ "react-easy-crop": "^4.5.1",
87
+ "react-query": "^3.34.15",
88
+ "react-resizable": "^3.0.4",
89
+ "react-sortable-hoc": "^2.0.0",
90
+ "react-virtual": "^2.10.4",
91
+ "react-virtualized-auto-sizer": "^1.0.6",
92
+ "react-window": "^1.8.6",
93
+ "readline-sync": "^1.4.10",
94
+ "scrollama": "^3.2.0",
95
+ "use-resize-observer": "^9.0.2"
96
+ },
97
+ "peerDependencies": {
98
+ "react": ">= 17.0.1",
99
+ "react-dom": ">= 17.0.1"
100
+ },
101
+ "browserslist": [
102
+ "> 1%",
103
+ "last 2 versions",
104
+ "not ie <= 10"
105
+ ],
106
+ "engines": {
107
+ "node": ">=10.0.0"
108
+ },
109
+ "devDependencies": {
110
+ "@typescript-eslint/eslint-plugin": "^5.28.0",
111
+ "@typescript-eslint/parser": "^5.28.0",
112
+ "@babel/plugin-transform-runtime": "^7.12.1",
113
+ "@babel/preset-typescript": "^7.17.12",
114
+ "@commitlint/cli": "^11.0.0",
115
+ "@linkmore/commitlint-config": "^1.0.2",
116
+ "@types/react": "^18.0.19",
117
+ "@types/react-dom": "^18.0.6",
118
+ "autoprefixer": "^9.0.0",
119
+ "babel-eslint": "^10.1.0",
120
+ "babel-plugin-import": "^1.13.3",
121
+ "babel-plugin-transform-remove-console": "^6.9.4",
122
+ "cross-env": "^7.0.3",
123
+ "dumi": "^1.1.40",
124
+ "eslint": "^7.15.0",
125
+ "eslint-config-airbnb": "^18.2.1",
126
+ "eslint-config-prettier": "^7.0.0",
127
+ "eslint-friendly-formatter": "^4.0.1",
128
+ "eslint-import-resolver-webpack": "^0.13.2",
129
+ "eslint-plugin-babel": "^5.3.1",
130
+ "eslint-plugin-import": "^2.22.1",
131
+ "eslint-plugin-jsx-a11y": "^6.4.1",
132
+ "eslint-plugin-prettier": "^4.0.0",
133
+ "eslint-plugin-react": "^7.21.5",
134
+ "eslint-plugin-react-hooks": "^4.2.0",
135
+ "father": "2.30.17",
136
+ "husky": "^7.0.4",
137
+ "lint-staged": "^10.5.3",
138
+ "prettier": "^2.2.1",
139
+ "react-copy-to-clipboard": "^5.1.0",
140
+ "stylelint": "^13.8.0",
141
+ "stylelint-config-prettier": "^8.0.2",
142
+ "stylelint-config-standard": "^20.0.0",
143
+ "conventional-changelog": "^3.1.25",
144
+ "conventional-changelog-cli": "^2.2.2"
145
+ }
146
+ }