wargerm 0.7.24 → 0.7.25

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/dist/index.css CHANGED
@@ -65972,12 +65972,6 @@ html[data-prefers-color='sd'] .ant-select-arrow {
65972
65972
  html[data-prefers-color='sd'] .ant-select-item-option-content {
65973
65973
  text-align: center;
65974
65974
  }
65975
- html[data-prefers-color='sd'] .ant-select-item-option-content ::before {
65976
- content: '√';
65977
- width: 6px;
65978
- height: 6px;
65979
- border: 1px solid red;
65980
- }
65981
65975
  html[data-prefers-color='sd'] .ant-select-tree {
65982
65976
  background-color: #fff;
65983
65977
  color: #768cad;
@@ -66071,6 +66065,48 @@ html[data-prefers-color='sd'] .ant-pagination-item-ellipsis {
66071
66065
  html[data-prefers-color='sd'] .ant-pagination-options-quick-jumper input {
66072
66066
  background: #f4f4f4;
66073
66067
  }
66068
+ html[data-prefers-color='sd'] .ant-table-cell div a {
66069
+ color: #1890ff;
66070
+ text-align: center;
66071
+ }
66072
+ html[data-prefers-color='sd'] .ant-table-thead > tr > th {
66073
+ background: rgba(157, 176, 195, 0.14) !important;
66074
+ color: rgba(0, 0, 0, 0.85);
66075
+ border-right: 1px solid transparent !important;
66076
+ border-bottom: 1px solid transparent !important;
66077
+ border-top: 1px solid transparent !important;
66078
+ }
66079
+ html[data-prefers-color='sd'] .ant-table-tbody > tr > td:first-child {
66080
+ border-left: none !important;
66081
+ }
66082
+ html[data-prefers-color='sd'] .ant-table-thead > tr > th:first-child {
66083
+ border-left: none !important;
66084
+ }
66085
+ html[data-prefers-color='sd'] .ant-table-tbody > tr > td {
66086
+ border-bottom: none !important;
66087
+ }
66088
+ html[data-prefers-color='sd'] .ant-table-tbody > tr > td {
66089
+ border-right: 1px solid transparent !important;
66090
+ }
66091
+ html[data-prefers-color='sd'] .ant-table-tbody > tr.ant-table-row:hover > td,
66092
+ html[data-prefers-color='sd'] .ant-table-tbody > tr > td.ant-table-cell-row-hover {
66093
+ background: rgba(157, 176, 195, 0.14) !important;
66094
+ color: rgba(0, 0, 0, 0.85) !important;
66095
+ }
66096
+ html[data-prefers-color='sd'] .ant-table-tbody > tr.ant-table-row:hover {
66097
+ box-shadow: none;
66098
+ }
66099
+ html[data-prefers-color='sd'] .ant-table-wrapper .ant-table.ant-table-bordered > .ant-table-container {
66100
+ -webkit-border-start: 1px solid transparent;
66101
+ border-inline-start: 1px solid transparent;
66102
+ }
66103
+ html[data-prefers-color='sd'] .ant-table-thead > tr > th.ant-table-cell-fix-right {
66104
+ background: #f1f4f7 !important;
66105
+ }
66106
+ html[data-prefers-color='sd'] .ant-table-tbody > tr.ant-table-row:hover > td.ant-table-cell-fix-right,
66107
+ html[data-prefers-color='sd'] .ant-table-tbody > tr > td.ant-table-cell-row-hover .ant-table-cell-fix-right {
66108
+ background: rgb(241 244 247) !important;
66109
+ }
66074
66110
  html[data-prefers-color='sd'] .ant-cascader:not(.ant-cascader-customize-input) .ant-cascader-cascaderor {
66075
66111
  position: relative;
66076
66112
  background-color: #f4f4f4;
@@ -65972,12 +65972,6 @@ html[data-prefers-color='sd'] .ant-select-arrow {
65972
65972
  html[data-prefers-color='sd'] .ant-select-item-option-content {
65973
65973
  text-align: center;
65974
65974
  }
65975
- html[data-prefers-color='sd'] .ant-select-item-option-content ::before {
65976
- content: '√';
65977
- width: 6px;
65978
- height: 6px;
65979
- border: 1px solid red;
65980
- }
65981
65975
  html[data-prefers-color='sd'] .ant-select-tree {
65982
65976
  background-color: #fff;
65983
65977
  color: #768cad;
@@ -66071,6 +66065,48 @@ html[data-prefers-color='sd'] .ant-pagination-item-ellipsis {
66071
66065
  html[data-prefers-color='sd'] .ant-pagination-options-quick-jumper input {
66072
66066
  background: #f4f4f4;
66073
66067
  }
66068
+ html[data-prefers-color='sd'] .ant-table-cell div a {
66069
+ color: #1890ff;
66070
+ text-align: center;
66071
+ }
66072
+ html[data-prefers-color='sd'] .ant-table-thead > tr > th {
66073
+ background: rgba(157, 176, 195, 0.14) !important;
66074
+ color: rgba(0, 0, 0, 0.85);
66075
+ border-right: 1px solid transparent !important;
66076
+ border-bottom: 1px solid transparent !important;
66077
+ border-top: 1px solid transparent !important;
66078
+ }
66079
+ html[data-prefers-color='sd'] .ant-table-tbody > tr > td:first-child {
66080
+ border-left: none !important;
66081
+ }
66082
+ html[data-prefers-color='sd'] .ant-table-thead > tr > th:first-child {
66083
+ border-left: none !important;
66084
+ }
66085
+ html[data-prefers-color='sd'] .ant-table-tbody > tr > td {
66086
+ border-bottom: none !important;
66087
+ }
66088
+ html[data-prefers-color='sd'] .ant-table-tbody > tr > td {
66089
+ border-right: 1px solid transparent !important;
66090
+ }
66091
+ html[data-prefers-color='sd'] .ant-table-tbody > tr.ant-table-row:hover > td,
66092
+ html[data-prefers-color='sd'] .ant-table-tbody > tr > td.ant-table-cell-row-hover {
66093
+ background: rgba(157, 176, 195, 0.14) !important;
66094
+ color: rgba(0, 0, 0, 0.85) !important;
66095
+ }
66096
+ html[data-prefers-color='sd'] .ant-table-tbody > tr.ant-table-row:hover {
66097
+ box-shadow: none;
66098
+ }
66099
+ html[data-prefers-color='sd'] .ant-table-wrapper .ant-table.ant-table-bordered > .ant-table-container {
66100
+ -webkit-border-start: 1px solid transparent;
66101
+ border-inline-start: 1px solid transparent;
66102
+ }
66103
+ html[data-prefers-color='sd'] .ant-table-thead > tr > th.ant-table-cell-fix-right {
66104
+ background: #f1f4f7 !important;
66105
+ }
66106
+ html[data-prefers-color='sd'] .ant-table-tbody > tr.ant-table-row:hover > td.ant-table-cell-fix-right,
66107
+ html[data-prefers-color='sd'] .ant-table-tbody > tr > td.ant-table-cell-row-hover .ant-table-cell-fix-right {
66108
+ background: rgb(241 244 247) !important;
66109
+ }
66074
66110
  html[data-prefers-color='sd'] .ant-cascader:not(.ant-cascader-customize-input) .ant-cascader-cascaderor {
66075
66111
  position: relative;
66076
66112
  background-color: #f4f4f4;
package/dist/index.esm.js CHANGED
@@ -472,10 +472,10 @@ var eventEmitterOverall = new EventEmitter();
472
472
  /*
473
473
  * @Author: lijin
474
474
  * @Date: 2022-07-22 14:29:31
475
- * @LastEditTime: 2022-07-22 14:29:31
475
+ * @LastEditTime: 2023-09-14 15:17:43
476
476
  * @LastEditors: lijin
477
477
  * @Description:
478
- * @FilePath: \wargerm-components\src\hooks\useEventEmitter.tsx
478
+ * @FilePath: \wargerm\src\hooks\useEventEmitter.tsx
479
479
  * 可以输入预定的版权声明、个性签名、空行等
480
480
  */
481
481
  function useEventEmitter(options) {
@@ -488,15 +488,11 @@ function useEventEmitter(options) {
488
488
 
489
489
  if (!ref.current) {
490
490
  ref.current = eventEmitterOptions.global ? ref.current = eventEmitterOverall : ref.current = new EventEmitter();
491
- }
491
+ } // useEffect(() => {
492
+ // return () => ref.current?.clear();
493
+ // }, []);
492
494
 
493
- useEffect(function () {
494
- return function () {
495
- var _ref$current;
496
495
 
497
- return (_ref$current = ref.current) === null || _ref$current === void 0 ? void 0 : _ref$current.clear();
498
- };
499
- }, []);
500
496
  return ref.current;
501
497
  }
502
498
 
package/dist/index.js CHANGED
@@ -516,10 +516,10 @@ var eventEmitterOverall = new EventEmitter();
516
516
  /*
517
517
  * @Author: lijin
518
518
  * @Date: 2022-07-22 14:29:31
519
- * @LastEditTime: 2022-07-22 14:29:31
519
+ * @LastEditTime: 2023-09-14 15:17:43
520
520
  * @LastEditors: lijin
521
521
  * @Description:
522
- * @FilePath: \wargerm-components\src\hooks\useEventEmitter.tsx
522
+ * @FilePath: \wargerm\src\hooks\useEventEmitter.tsx
523
523
  * 可以输入预定的版权声明、个性签名、空行等
524
524
  */
525
525
  function useEventEmitter(options) {
@@ -532,15 +532,11 @@ function useEventEmitter(options) {
532
532
 
533
533
  if (!ref.current) {
534
534
  ref.current = eventEmitterOptions.global ? ref.current = eventEmitterOverall : ref.current = new EventEmitter();
535
- }
535
+ } // useEffect(() => {
536
+ // return () => ref.current?.clear();
537
+ // }, []);
536
538
 
537
- React.useEffect(function () {
538
- return function () {
539
- var _ref$current;
540
539
 
541
- return (_ref$current = ref.current) === null || _ref$current === void 0 ? void 0 : _ref$current.clear();
542
- };
543
- }, []);
544
540
  return ref.current;
545
541
  }
546
542
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "wargerm",
4
- "version": "0.7.24",
4
+ "version": "0.7.25",
5
5
  "scripts": {
6
6
  "dev": "dumi dev",
7
7
  "docs:build": "dumi build",