linkmore-design 1.1.15 → 1.1.16

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 (66) hide show
  1. package/dist/Form/FormWrapper.d.ts +3 -0
  2. package/dist/Form/WrapperItem.d.ts +4 -0
  3. package/dist/Form/index.d.ts +2 -0
  4. package/dist/Form/interface.d.ts +10 -0
  5. package/dist/LmTable/demos/summuy.d.ts +2 -0
  6. package/dist/TreeSelect/demos/treedata.d.ts +3 -0
  7. package/dist/index.umd.js +927 -852
  8. package/dist/index.umd.min.js +5 -5
  9. package/dist/variables.css +59 -48
  10. package/es/Cascader/style/index.css +1 -0
  11. package/es/Cascader/style/variables.css +1 -0
  12. package/es/Form/Form.js +13 -4
  13. package/es/Form/FormItem/ItemHolder.js +1 -10
  14. package/es/Form/FormWrapper.d.ts +3 -0
  15. package/es/Form/FormWrapper.js +23 -0
  16. package/es/Form/WrapperItem.d.ts +4 -0
  17. package/es/Form/WrapperItem.js +149 -0
  18. package/es/Form/container.js +1 -13
  19. package/es/Form/images/icon_collapse.svg +1 -0
  20. package/es/Form/index.d.ts +2 -0
  21. package/es/Form/index.js +2 -0
  22. package/es/Form/interface.d.ts +10 -0
  23. package/es/Form/style/index.css +13 -48
  24. package/es/Form/style/variables.css +13 -48
  25. package/es/InputNumber/style/index.css +4 -0
  26. package/es/InputNumber/style/variables.css +4 -0
  27. package/es/LmEditTable/EditTable.js +3 -2
  28. package/es/LmFilter/components/CheckboxFilter.js +9 -4
  29. package/es/LmFilter/components/DropdownFIlter.js +10 -4
  30. package/es/LmFilter/components/SelectFilter.js +4 -3
  31. package/es/LmSelect/style/index.css +1 -0
  32. package/es/LmSelect/style/variables.css +1 -0
  33. package/es/LmTable/style/index.css +39 -0
  34. package/es/LmTable/style/variables.css +39 -0
  35. package/es/Select/style/index.css +1 -0
  36. package/es/Select/style/variables.css +1 -0
  37. package/es/styles/variables.css +59 -48
  38. package/lib/Cascader/style/index.css +1 -0
  39. package/lib/Cascader/style/variables.css +1 -0
  40. package/lib/Form/Form.js +13 -4
  41. package/lib/Form/FormItem/ItemHolder.js +1 -10
  42. package/lib/Form/FormWrapper.d.ts +3 -0
  43. package/lib/Form/FormWrapper.js +35 -0
  44. package/lib/Form/WrapperItem.d.ts +4 -0
  45. package/lib/Form/WrapperItem.js +168 -0
  46. package/lib/Form/container.js +1 -13
  47. package/lib/Form/images/icon_collapse.svg +1 -0
  48. package/lib/Form/index.d.ts +2 -0
  49. package/lib/Form/index.js +3 -0
  50. package/lib/Form/interface.d.ts +10 -0
  51. package/lib/Form/style/index.css +13 -48
  52. package/lib/Form/style/variables.css +13 -48
  53. package/lib/InputNumber/style/index.css +4 -0
  54. package/lib/InputNumber/style/variables.css +4 -0
  55. package/lib/LmEditTable/EditTable.js +3 -2
  56. package/lib/LmFilter/components/CheckboxFilter.js +9 -4
  57. package/lib/LmFilter/components/DropdownFIlter.js +10 -4
  58. package/lib/LmFilter/components/SelectFilter.js +4 -3
  59. package/lib/LmSelect/style/index.css +1 -0
  60. package/lib/LmSelect/style/variables.css +1 -0
  61. package/lib/LmTable/style/index.css +39 -0
  62. package/lib/LmTable/style/variables.css +39 -0
  63. package/lib/Select/style/index.css +1 -0
  64. package/lib/Select/style/variables.css +1 -0
  65. package/lib/styles/variables.css +59 -48
  66. package/package.json +4 -2
@@ -1407,6 +1407,7 @@ p {
1407
1407
  }
1408
1408
  .lm_cascader.ant-select.ant-select {
1409
1409
  font-size: 12px;
1410
+ width: 100%;
1410
1411
  }
1411
1412
  .lm_cascader_dropdown.ant-select-dropdown {
1412
1413
  font-size: 12px;
@@ -8951,57 +8952,22 @@ p {
8951
8952
  .lm_form.ant-form.ant-form-inline .ant-form-item-label {
8952
8953
  text-align: left;
8953
8954
  }
8954
- .lm_container_wrapper {
8955
- overflow: auto;
8956
- }
8957
- .lm_container_wrapper .lm_container.responsive {
8958
- min-width: 990px;
8959
- }
8960
- .lm_container_wrapper .lm_container.responsive .lm_form.ant-form {
8961
- display: flex;
8962
- flex-direction: row;
8963
- flex-wrap: wrap;
8964
- }
8965
- .lm_container_wrapper .lm_container.responsive .lm_form.ant-form .ant-form-item-responsive {
8966
- margin-right: 24px;
8967
- }
8968
- .lm_container_wrapper .lm_container.responsive .lm_form.ant-form .ant-form-item-responsive .ant-form-item-control {
8969
- width: 100%;
8970
- }
8971
- .lm_container_wrapper .lm_container.responsive.lm_col_3 .ant-form-item {
8972
- width: 100%;
8973
- margin-right: 0;
8974
- }
8975
- .lm_container_wrapper .lm_container.responsive.lm_col_3 .ant-form-item-responsive {
8976
- width: calc(33.3333% - 16px);
8977
- margin-right: 24px;
8978
- }
8979
- .lm_container_wrapper .lm_container.responsive.lm_col_3 .ant-form-item-responsive.nth-three {
8980
- margin-right: 0;
8981
- }
8982
- .lm_container_wrapper .lm_container.responsive.lm_col_4 .ant-form-item {
8983
- width: 100%;
8984
- margin-right: 0;
8985
- }
8986
- .lm_container_wrapper .lm_container.responsive.lm_col_4 .ant-form-item-responsive {
8987
- width: calc(25% - 18px);
8988
- margin-right: 24px;
8989
- }
8990
- .lm_container_wrapper .lm_container.responsive.lm_col_4 .ant-form-item-responsive.nth-four {
8991
- margin-right: 0;
8992
- }
8993
- .lm_container_wrapper .lm_container.responsive.lm_col_5 .ant-form-item {
8994
- width: 100%;
8995
- margin-right: 0;
8955
+ .lm_form_responsive_box .lm_form {
8956
+ background: #f0f0f0;
8996
8957
  }
8997
- .lm_container_wrapper .lm_container.responsive.lm_col_5 .ant-form-item-responsive {
8998
- width: calc(20% - 96px / 5);
8999
- margin-right: 24px;
8958
+ .lm_form_responsive_box .lm_form > .lm_container_wrapper {
8959
+ padding: 16px;
8960
+ background: #f0f0f0;
8961
+ margin-bottom: 0;
8962
+ border-radius: 0;
9000
8963
  }
9001
- .lm_container_wrapper .lm_container.responsive.lm_col_5 .ant-form-item-responsive.nth-five {
9002
- margin-right: 0;
8964
+ .lm_container_wrapper {
8965
+ overflow: auto;
8966
+ background: #fff;
8967
+ margin-bottom: 16px;
8968
+ border-radius: 2px;
9003
8969
  }
9004
- .lm_container_wrapper .lm_container.responsive .ant-cascader {
8970
+ .lm_container_wrapper .ant-cascader {
9005
8971
  width: 100%;
9006
8972
  }
9007
8973
  .lm_form-item-tip-error .ant-form-item-explain {
@@ -9510,8 +9476,12 @@ p {
9510
9476
  .ant-input-search-with-button .ant-input-affix-wrapper:not(.ant-input-affix-wrapper-disabled):hover {
9511
9477
  z-index: 2 !important;
9512
9478
  }
9479
+ .lm_input-number {
9480
+ width: 100%;
9481
+ }
9513
9482
  .lm_input-number.ant-input-number {
9514
9483
  border: 1px solid var(--color-15);
9484
+ width: 100%;
9515
9485
  }
9516
9486
  .lm_input-number .ant-input-number-handler-wrap {
9517
9487
  width: 28px;
@@ -10368,6 +10338,7 @@ p {
10368
10338
  }
10369
10339
  .lm_select.ant-select {
10370
10340
  font-size: 12px;
10341
+ width: 100%;
10371
10342
  }
10372
10343
  .lm_select .ant-select-selection-overflow-item-rest .ant-select-selection-item {
10373
10344
  color: var(--primary-color);
@@ -11285,6 +11256,45 @@ p {
11285
11256
  #lm_protable_warp .lm_protable .ant-table-empty table .ant-table-cell {
11286
11257
  border-bottom: 0;
11287
11258
  }
11259
+ #lm_protable_warp .lm_protable .ant-table-summary {
11260
+ height: 48px;
11261
+ }
11262
+ #lm_protable_warp .lm_protable .ant-table-summary > table {
11263
+ height: 100%;
11264
+ }
11265
+ #lm_protable_warp .lm_protable .ant-table-summary td {
11266
+ padding: 0 8px;
11267
+ text-align: right;
11268
+ background-color: var(--table-background-color);
11269
+ }
11270
+ #lm_protable_warp .lm_protable .ant-table-summary td:first-of-type {
11271
+ padding: 0 0 0 8px;
11272
+ text-align: left;
11273
+ }
11274
+ #lm_protable_warp .lm_protable .ant-table-summary td.number {
11275
+ border-right: 1px solid #eee;
11276
+ border-left: 1px solid #eee;
11277
+ }
11278
+ #lm_protable_warp .lm_protable .ant-table-summary td.money {
11279
+ color: var(--error-color);
11280
+ border-right: 1px solid #eee;
11281
+ border-left: 1px solid #eee;
11282
+ }
11283
+ #lm_protable_warp .lm_protable .ant-table-summary td.money-color {
11284
+ color: var(--error-color);
11285
+ }
11286
+ #lm_protable_warp .lm_protable .ant-table-summary td > div {
11287
+ overflow: hidden;
11288
+ white-space: nowrap;
11289
+ text-overflow: ellipsis;
11290
+ }
11291
+ #lm_protable_warp .lm_protable .ant-table-summary td > div:last-of-type {
11292
+ font-weight: bold;
11293
+ }
11294
+ #lm_protable_warp .lm_protable .ant-table-summary .total_title {
11295
+ position: relative;
11296
+ white-space: nowrap;
11297
+ }
11288
11298
  #lm_protable_warp .ant-table-expand-icon-col {
11289
11299
  width: 32px;
11290
11300
  }
@@ -12330,6 +12340,7 @@ button.ant-table-row-expand-icon::after {
12330
12340
  }
12331
12341
  .lm_select.ant-select {
12332
12342
  font-size: 12px;
12343
+ width: 100%;
12333
12344
  }
12334
12345
  .lm_select.ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector {
12335
12346
  box-shadow: none;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "linkmore-design",
3
- "version": "1.1.15",
3
+ "version": "1.1.16",
4
4
  "author": {
5
5
  "name": "nowthen",
6
6
  "email": "rnlvwyx@gmail.com"
@@ -64,6 +64,7 @@
64
64
  "@dnd-kit/core": "^5.0.3",
65
65
  "@dnd-kit/modifiers": "^5.0.0",
66
66
  "@dnd-kit/sortable": "^6.0.1",
67
+ "@react-hook/resize-observer": "^1.2.6",
67
68
  "@typescript-eslint/eslint-plugin": "^5.28.0",
68
69
  "@typescript-eslint/parser": "^5.28.0",
69
70
  "ahooks": "^3.6.2",
@@ -92,7 +93,8 @@
92
93
  "react-virtualized-auto-sizer": "^1.0.6",
93
94
  "react-window": "^1.8.6",
94
95
  "readline-sync": "^1.4.10",
95
- "scrollama": "^3.2.0"
96
+ "scrollama": "^3.2.0",
97
+ "use-resize-observer": "^9.0.2"
96
98
  },
97
99
  "peerDependencies": {
98
100
  "react": "17.0.1",