@lemon-fe/kits 1.0.0-185 → 1.0.0-187

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
+ import type { ComponentProps } from 'react';
2
+ import Icon from '@ant-design/icons';
3
+ export default function NewTag(props: ComponentProps<typeof Icon>): JSX.Element;
@@ -0,0 +1,22 @@
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
+
3
+ import Icon from '@ant-design/icons';
4
+ import React from 'react';
5
+
6
+ var Svg = function Svg(props) {
7
+ return /*#__PURE__*/React.createElement("svg", _extends({
8
+ xmlns: "http://www.w3.org/2000/svg",
9
+ viewBox: "0 0 28 16"
10
+ }, props), /*#__PURE__*/React.createElement("path", {
11
+ fill: "currentColor",
12
+ color: "#FF4128",
13
+ fillRule: "evenodd",
14
+ d: "M24 0a4 4 0 0 1 4 4v8a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h20ZM4.335 5H3v6.9h1.335V7.33l3.25 4.57H8.92V5H7.585v4.58L4.335 5Zm10.811 0h-5.023v6.9h5.023v-1.14h-3.688V8.99h3.169V7.85h-3.17V6.14h3.69V5Zm1.763 0h-1.365l2.028 6.9h1.212l1.518-5.31 1.509 5.31h1.222L25 5h-1.314l-1.203 5.05L21.128 5h-1.65l-1.234 5.05L16.91 5Z"
15
+ }));
16
+ };
17
+
18
+ export default function NewTag(props) {
19
+ return /*#__PURE__*/React.createElement(Icon, _extends({
20
+ component: Svg
21
+ }, props));
22
+ }
@@ -0,0 +1,3 @@
1
+ import type { ComponentProps } from 'react';
2
+ import Icon from '@ant-design/icons';
3
+ export default function Reload(props: ComponentProps<typeof Icon>): JSX.Element;
@@ -0,0 +1,22 @@
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
+
3
+ import React from 'react';
4
+ import Icon from '@ant-design/icons';
5
+
6
+ var Svg = function Svg(props) {
7
+ return /*#__PURE__*/React.createElement("svg", _extends({
8
+ xmlns: "http://www.w3.org/2000/svg",
9
+ viewBox: "0 0 16 16"
10
+ }, props), /*#__PURE__*/React.createElement("path", {
11
+ fill: "currentColor",
12
+ fillRule: "nonzero",
13
+ d: "M8 1.25a6.75 6.75 0 0 1 5.045 11.234.75.75 0 0 1-1.28-.286l-.734-2.485a.75.75 0 0 1 1.438-.426l.281.95.008-.014c.285-.609.452-1.273.486-1.963L13.25 8A5.25 5.25 0 1 0 8 13.25a.75.75 0 1 1 0 1.5 6.75 6.75 0 1 1 0-13.5Z",
14
+ opacity: "0.5"
15
+ }));
16
+ };
17
+
18
+ export default function Reload(props) {
19
+ return /*#__PURE__*/React.createElement(Icon, _extends({
20
+ component: Svg
21
+ }, props));
22
+ }
@@ -15,6 +15,8 @@ import More from './More';
15
15
  import Question from './Question';
16
16
  import Search from './Search';
17
17
  import Tip from './Tip';
18
+ import Reload from './Reload';
19
+ import NewTag from './NewTag';
18
20
  declare const Icons: {
19
21
  Search: typeof Search;
20
22
  Down: typeof Down;
@@ -33,5 +35,7 @@ declare const Icons: {
33
35
  Question: typeof Question;
34
36
  CloseLight: typeof CloseLight;
35
37
  Clock: typeof Clock;
38
+ Reload: typeof Reload;
39
+ NewTag: typeof NewTag;
36
40
  };
37
41
  export default Icons;
@@ -15,6 +15,8 @@ import More from "./More";
15
15
  import Question from "./Question";
16
16
  import Search from "./Search";
17
17
  import Tip from "./Tip";
18
+ import Reload from "./Reload";
19
+ import NewTag from "./NewTag";
18
20
  var Icons = {
19
21
  Search: Search,
20
22
  Down: Down,
@@ -32,6 +34,8 @@ var Icons = {
32
34
  Clear: Clear,
33
35
  Question: Question,
34
36
  CloseLight: CloseLight,
35
- Clock: Clock
37
+ Clock: Clock,
38
+ Reload: Reload,
39
+ NewTag: NewTag
36
40
  };
37
41
  export default Icons;
@@ -25,7 +25,7 @@ export interface BasePopupProps {
25
25
  *
26
26
  * @description 非modal模式,打开Modal之前
27
27
  */
28
- beforeOpen?: () => boolean;
28
+ beforeOpen?: () => boolean | Promise<boolean>;
29
29
  autoFocus?: boolean;
30
30
  onCancel?: () => void;
31
31
  onOpenChange?: (visible: boolean) => void;
@@ -1,6 +1,6 @@
1
1
  import type { ReactText } from 'react';
2
- import type { IRoute, Location } from '../BasicLayout/typings';
3
2
  import type { TabInstance } from '../TabInstance';
3
+ import type { IRoute, Location } from '../typings';
4
4
 
5
5
  export interface MicroLayoutProps {
6
6
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lemon-fe/kits",
3
- "version": "1.0.0-185",
3
+ "version": "1.0.0-187",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",