wargerm 0.7.24 → 0.7.26

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.
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const _default: () => JSX.Element;
3
+ export default _default;
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export default function mupInput({ value, onChange, ...args }: any): JSX.Element;
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;
@@ -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;
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.26",
5
5
  "scripts": {
6
6
  "dev": "dumi dev",
7
7
  "docs:build": "dumi build",