@itilite/lumina-ui 1.1.1 → 1.1.2
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/atom/Button/Button.js +1 -1
- package/dist/atom/Button/Button.mjs +1 -1
- package/dist/atom/Modal/Modal.js +1 -1
- package/dist/atom/Modal/Modal.mjs +2 -2
- package/dist/chunk-AF2RKLH6.mjs +77 -0
- package/dist/chunk-UQJ3BDM4.mjs +141 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +10 -10
- package/dist/styles.css +229 -225
- package/package.json +1 -1
- package/dist/Avatar.d.mts +0 -17
- package/dist/Avatar.d.ts +0 -17
- package/dist/Avatar.js +0 -121
- package/dist/Avatar.mjs +0 -9
- package/dist/Button.d.mts +0 -25
- package/dist/Button.d.ts +0 -25
- package/dist/Button.js +0 -111
- package/dist/Button.mjs +0 -9
- package/dist/Checkbox.d.mts +0 -20
- package/dist/Checkbox.d.ts +0 -20
- package/dist/Checkbox.js +0 -121
- package/dist/Checkbox.mjs +0 -9
- package/dist/Modal.d.mts +0 -25
- package/dist/Modal.d.ts +0 -25
- package/dist/Modal.js +0 -267
- package/dist/Modal.mjs +0 -10
- package/dist/Radio.d.mts +0 -17
- package/dist/Radio.d.ts +0 -17
- package/dist/Radio.js +0 -122
- package/dist/Radio.mjs +0 -9
- package/dist/Switch.d.mts +0 -13
- package/dist/Switch.d.ts +0 -13
- package/dist/Switch.js +0 -102
- package/dist/Switch.mjs +0 -9
- package/dist/Tag.d.mts +0 -13
- package/dist/Tag.d.ts +0 -13
- package/dist/Tag.js +0 -108
- package/dist/Tag.mjs +0 -9
- package/dist/Tooltip.d.mts +0 -12
- package/dist/Tooltip.d.ts +0 -12
- package/dist/Tooltip.js +0 -97
- package/dist/Tooltip.mjs +0 -9
package/dist/Radio.d.mts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React__default from 'react';
|
|
2
|
-
import { RadioChangeEvent } from 'antd/lib/radio';
|
|
3
|
-
|
|
4
|
-
interface RadioProps {
|
|
5
|
-
checked?: boolean;
|
|
6
|
-
className?: string;
|
|
7
|
-
onChange?: (event: RadioChangeEvent) => void;
|
|
8
|
-
children?: React.ReactNode;
|
|
9
|
-
size?: "large" | "small" | "medium";
|
|
10
|
-
variant?: "normal" | "emphasized";
|
|
11
|
-
disabled?: boolean;
|
|
12
|
-
extra?: React.ReactNode;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
declare const Radio: React__default.FC<RadioProps>;
|
|
16
|
-
|
|
17
|
-
export { Radio, Radio as default };
|
package/dist/Radio.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React__default from 'react';
|
|
2
|
-
import { RadioChangeEvent } from 'antd/lib/radio';
|
|
3
|
-
|
|
4
|
-
interface RadioProps {
|
|
5
|
-
checked?: boolean;
|
|
6
|
-
className?: string;
|
|
7
|
-
onChange?: (event: RadioChangeEvent) => void;
|
|
8
|
-
children?: React.ReactNode;
|
|
9
|
-
size?: "large" | "small" | "medium";
|
|
10
|
-
variant?: "normal" | "emphasized";
|
|
11
|
-
disabled?: boolean;
|
|
12
|
-
extra?: React.ReactNode;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
declare const Radio: React__default.FC<RadioProps>;
|
|
16
|
-
|
|
17
|
-
export { Radio, Radio as default };
|
package/dist/Radio.js
DELETED
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __defProps = Object.defineProperties;
|
|
5
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
-
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
7
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
8
|
-
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
9
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
10
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
11
|
-
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
12
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
13
|
-
var __spreadValues = (a, b) => {
|
|
14
|
-
for (var prop in b || (b = {}))
|
|
15
|
-
if (__hasOwnProp.call(b, prop))
|
|
16
|
-
__defNormalProp(a, prop, b[prop]);
|
|
17
|
-
if (__getOwnPropSymbols)
|
|
18
|
-
for (var prop of __getOwnPropSymbols(b)) {
|
|
19
|
-
if (__propIsEnum.call(b, prop))
|
|
20
|
-
__defNormalProp(a, prop, b[prop]);
|
|
21
|
-
}
|
|
22
|
-
return a;
|
|
23
|
-
};
|
|
24
|
-
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
25
|
-
var __objRest = (source, exclude) => {
|
|
26
|
-
var target = {};
|
|
27
|
-
for (var prop in source)
|
|
28
|
-
if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
29
|
-
target[prop] = source[prop];
|
|
30
|
-
if (source != null && __getOwnPropSymbols)
|
|
31
|
-
for (var prop of __getOwnPropSymbols(source)) {
|
|
32
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
|
|
33
|
-
target[prop] = source[prop];
|
|
34
|
-
}
|
|
35
|
-
return target;
|
|
36
|
-
};
|
|
37
|
-
var __export = (target, all) => {
|
|
38
|
-
for (var name in all)
|
|
39
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
40
|
-
};
|
|
41
|
-
var __copyProps = (to, from, except, desc) => {
|
|
42
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
43
|
-
for (let key of __getOwnPropNames(from))
|
|
44
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
45
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
46
|
-
}
|
|
47
|
-
return to;
|
|
48
|
-
};
|
|
49
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
50
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
51
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
52
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
53
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
54
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
55
|
-
mod
|
|
56
|
-
));
|
|
57
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
58
|
-
|
|
59
|
-
// src/atom/Radio/Radio.tsx
|
|
60
|
-
var Radio_exports = {};
|
|
61
|
-
__export(Radio_exports, {
|
|
62
|
-
Radio: () => Radio,
|
|
63
|
-
default: () => Radio_default
|
|
64
|
-
});
|
|
65
|
-
module.exports = __toCommonJS(Radio_exports);
|
|
66
|
-
var import_antd = require("antd");
|
|
67
|
-
var import_clsx = __toESM(require("clsx"));
|
|
68
|
-
|
|
69
|
-
// src/atom/Radio/Radio.module.scss
|
|
70
|
-
var Radio_module_default = { "radio": "Radio-module__radio___1CPAk", "size_small": "Radio-module__size_small___nRXgM", "size_medium": "Radio-module__size_medium___uSzPl", "size_large": "Radio-module__size_large___ubpHs", "type_checked": "Radio-module__type_checked___BvPpu", "disabled": "Radio-module__disabled___AF98Z", "type_unchecked": "Radio-module__type_unchecked___Xrb-7", "variant_normal": "Radio-module__variant_normal___FQkTC", "variant_emphasized": "Radio-module__variant_emphasized___Fgpv6" };
|
|
71
|
-
|
|
72
|
-
// src/atom/Radio/Radio.tsx
|
|
73
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
|
74
|
-
var Radio = (_a) => {
|
|
75
|
-
var _b = _a, {
|
|
76
|
-
checked = true,
|
|
77
|
-
className = "",
|
|
78
|
-
size = "small",
|
|
79
|
-
variant = "normal",
|
|
80
|
-
children,
|
|
81
|
-
onChange = () => {
|
|
82
|
-
},
|
|
83
|
-
disabled = false,
|
|
84
|
-
extra = null
|
|
85
|
-
} = _b, rest = __objRest(_b, [
|
|
86
|
-
"checked",
|
|
87
|
-
"className",
|
|
88
|
-
"size",
|
|
89
|
-
"variant",
|
|
90
|
-
"children",
|
|
91
|
-
"onChange",
|
|
92
|
-
"disabled",
|
|
93
|
-
"extra"
|
|
94
|
-
]);
|
|
95
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
|
|
96
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
97
|
-
import_antd.Radio,
|
|
98
|
-
__spreadProps(__spreadValues({
|
|
99
|
-
className: (0, import_clsx.default)(
|
|
100
|
-
Radio_module_default.radio,
|
|
101
|
-
Radio_module_default[`size_${size}`],
|
|
102
|
-
Radio_module_default[`variant_${variant}`],
|
|
103
|
-
checked ? Radio_module_default.type_checked : Radio_module_default.type_unchecked,
|
|
104
|
-
disabled && Radio_module_default.disabled,
|
|
105
|
-
className
|
|
106
|
-
),
|
|
107
|
-
onChange,
|
|
108
|
-
checked,
|
|
109
|
-
disabled
|
|
110
|
-
}, rest), {
|
|
111
|
-
children
|
|
112
|
-
})
|
|
113
|
-
),
|
|
114
|
-
checked && extra
|
|
115
|
-
] });
|
|
116
|
-
};
|
|
117
|
-
Radio.displayName = "Radio";
|
|
118
|
-
var Radio_default = Radio;
|
|
119
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
120
|
-
0 && (module.exports = {
|
|
121
|
-
Radio
|
|
122
|
-
});
|
package/dist/Radio.mjs
DELETED
package/dist/Switch.d.mts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as React$1 from 'react';
|
|
2
|
-
|
|
3
|
-
interface SwitchProps {
|
|
4
|
-
size?: "default" | "small";
|
|
5
|
-
className?: string | undefined;
|
|
6
|
-
onChange?: (checked: boolean, event: React.MouseEvent<HTMLButtonElement> | React.KeyboardEvent<HTMLButtonElement>) => void;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
checked?: boolean;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
declare const Switch: React$1.FC<SwitchProps>;
|
|
12
|
-
|
|
13
|
-
export { Switch, Switch as default };
|
package/dist/Switch.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as React$1 from 'react';
|
|
2
|
-
|
|
3
|
-
interface SwitchProps {
|
|
4
|
-
size?: "default" | "small";
|
|
5
|
-
className?: string | undefined;
|
|
6
|
-
onChange?: (checked: boolean, event: React.MouseEvent<HTMLButtonElement> | React.KeyboardEvent<HTMLButtonElement>) => void;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
checked?: boolean;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
declare const Switch: React$1.FC<SwitchProps>;
|
|
12
|
-
|
|
13
|
-
export { Switch, Switch as default };
|
package/dist/Switch.js
DELETED
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
7
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
8
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
-
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
10
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
11
|
-
var __spreadValues = (a, b) => {
|
|
12
|
-
for (var prop in b || (b = {}))
|
|
13
|
-
if (__hasOwnProp.call(b, prop))
|
|
14
|
-
__defNormalProp(a, prop, b[prop]);
|
|
15
|
-
if (__getOwnPropSymbols)
|
|
16
|
-
for (var prop of __getOwnPropSymbols(b)) {
|
|
17
|
-
if (__propIsEnum.call(b, prop))
|
|
18
|
-
__defNormalProp(a, prop, b[prop]);
|
|
19
|
-
}
|
|
20
|
-
return a;
|
|
21
|
-
};
|
|
22
|
-
var __objRest = (source, exclude) => {
|
|
23
|
-
var target = {};
|
|
24
|
-
for (var prop in source)
|
|
25
|
-
if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
26
|
-
target[prop] = source[prop];
|
|
27
|
-
if (source != null && __getOwnPropSymbols)
|
|
28
|
-
for (var prop of __getOwnPropSymbols(source)) {
|
|
29
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
|
|
30
|
-
target[prop] = source[prop];
|
|
31
|
-
}
|
|
32
|
-
return target;
|
|
33
|
-
};
|
|
34
|
-
var __export = (target, all) => {
|
|
35
|
-
for (var name in all)
|
|
36
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
37
|
-
};
|
|
38
|
-
var __copyProps = (to, from, except, desc) => {
|
|
39
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
40
|
-
for (let key of __getOwnPropNames(from))
|
|
41
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
42
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
43
|
-
}
|
|
44
|
-
return to;
|
|
45
|
-
};
|
|
46
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
47
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
48
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
49
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
50
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
51
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
52
|
-
mod
|
|
53
|
-
));
|
|
54
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
55
|
-
|
|
56
|
-
// src/atom/Switch/Switch.tsx
|
|
57
|
-
var Switch_exports = {};
|
|
58
|
-
__export(Switch_exports, {
|
|
59
|
-
Switch: () => Switch,
|
|
60
|
-
default: () => Switch_default
|
|
61
|
-
});
|
|
62
|
-
module.exports = __toCommonJS(Switch_exports);
|
|
63
|
-
var import_antd = require("antd");
|
|
64
|
-
var import_clsx = __toESM(require("clsx"));
|
|
65
|
-
|
|
66
|
-
// src/atom/Switch/Switch.module.scss
|
|
67
|
-
var Switch_module_default = { "switch": "Switch-module__switch___fUHZL" };
|
|
68
|
-
|
|
69
|
-
// src/atom/Switch/Switch.tsx
|
|
70
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
|
71
|
-
var Switch = (_a) => {
|
|
72
|
-
var _b = _a, {
|
|
73
|
-
className,
|
|
74
|
-
onChange = () => {
|
|
75
|
-
},
|
|
76
|
-
size = "default",
|
|
77
|
-
disabled = false,
|
|
78
|
-
checked = false
|
|
79
|
-
} = _b, rest = __objRest(_b, [
|
|
80
|
-
"className",
|
|
81
|
-
"onChange",
|
|
82
|
-
"size",
|
|
83
|
-
"disabled",
|
|
84
|
-
"checked"
|
|
85
|
-
]);
|
|
86
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
87
|
-
import_antd.Switch,
|
|
88
|
-
__spreadValues({
|
|
89
|
-
className: (0, import_clsx.default)(className, Switch_module_default.switch, Switch_module_default[size]),
|
|
90
|
-
onChange,
|
|
91
|
-
size,
|
|
92
|
-
disabled,
|
|
93
|
-
checked
|
|
94
|
-
}, rest)
|
|
95
|
-
);
|
|
96
|
-
};
|
|
97
|
-
Switch.displayName = "Switch";
|
|
98
|
-
var Switch_default = Switch;
|
|
99
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
100
|
-
0 && (module.exports = {
|
|
101
|
-
Switch
|
|
102
|
-
});
|
package/dist/Switch.mjs
DELETED
package/dist/Tag.d.mts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as React$1 from 'react';
|
|
2
|
-
|
|
3
|
-
interface TagProps {
|
|
4
|
-
type?: "success" | "warning" | "blue" | "processing" | "failed";
|
|
5
|
-
className?: string;
|
|
6
|
-
title?: string;
|
|
7
|
-
icon?: React.ReactElement;
|
|
8
|
-
size?: string;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
declare const Tag: React$1.FC<TagProps>;
|
|
12
|
-
|
|
13
|
-
export { Tag, Tag as default };
|
package/dist/Tag.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as React$1 from 'react';
|
|
2
|
-
|
|
3
|
-
interface TagProps {
|
|
4
|
-
type?: "success" | "warning" | "blue" | "processing" | "failed";
|
|
5
|
-
className?: string;
|
|
6
|
-
title?: string;
|
|
7
|
-
icon?: React.ReactElement;
|
|
8
|
-
size?: string;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
declare const Tag: React$1.FC<TagProps>;
|
|
12
|
-
|
|
13
|
-
export { Tag, Tag as default };
|
package/dist/Tag.js
DELETED
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __defProps = Object.defineProperties;
|
|
5
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
-
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
7
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
8
|
-
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
9
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
10
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
11
|
-
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
12
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
13
|
-
var __spreadValues = (a, b) => {
|
|
14
|
-
for (var prop in b || (b = {}))
|
|
15
|
-
if (__hasOwnProp.call(b, prop))
|
|
16
|
-
__defNormalProp(a, prop, b[prop]);
|
|
17
|
-
if (__getOwnPropSymbols)
|
|
18
|
-
for (var prop of __getOwnPropSymbols(b)) {
|
|
19
|
-
if (__propIsEnum.call(b, prop))
|
|
20
|
-
__defNormalProp(a, prop, b[prop]);
|
|
21
|
-
}
|
|
22
|
-
return a;
|
|
23
|
-
};
|
|
24
|
-
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
25
|
-
var __objRest = (source, exclude) => {
|
|
26
|
-
var target = {};
|
|
27
|
-
for (var prop in source)
|
|
28
|
-
if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
29
|
-
target[prop] = source[prop];
|
|
30
|
-
if (source != null && __getOwnPropSymbols)
|
|
31
|
-
for (var prop of __getOwnPropSymbols(source)) {
|
|
32
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
|
|
33
|
-
target[prop] = source[prop];
|
|
34
|
-
}
|
|
35
|
-
return target;
|
|
36
|
-
};
|
|
37
|
-
var __export = (target, all) => {
|
|
38
|
-
for (var name in all)
|
|
39
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
40
|
-
};
|
|
41
|
-
var __copyProps = (to, from, except, desc) => {
|
|
42
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
43
|
-
for (let key of __getOwnPropNames(from))
|
|
44
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
45
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
46
|
-
}
|
|
47
|
-
return to;
|
|
48
|
-
};
|
|
49
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
50
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
51
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
52
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
53
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
54
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
55
|
-
mod
|
|
56
|
-
));
|
|
57
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
58
|
-
|
|
59
|
-
// src/atom/Tag/Tag.tsx
|
|
60
|
-
var Tag_exports = {};
|
|
61
|
-
__export(Tag_exports, {
|
|
62
|
-
Tag: () => Tag,
|
|
63
|
-
default: () => Tag_default
|
|
64
|
-
});
|
|
65
|
-
module.exports = __toCommonJS(Tag_exports);
|
|
66
|
-
var import_antd = require("antd");
|
|
67
|
-
var import_clsx = __toESM(require("clsx"));
|
|
68
|
-
|
|
69
|
-
// src/atom/Tag/Tag.module.scss
|
|
70
|
-
var Tag_module_default = { "tag": "Tag-module__tag___PIkhI", "small": "Tag-module__small___nG5XQ", "success": "Tag-module__success___99fad", "blue": "Tag-module__blue___Zky2Z", "warning": "Tag-module__warning___KXsly", "processing": "Tag-module__processing___OssXC", "bookingConfirmed": "Tag-module__bookingConfirmed___potR4", "bookingRescheduled": "Tag-module__bookingRescheduled___ynrwI", "bookingRescheduledPending": "Tag-module__bookingRescheduledPending___K3GqS", "failed": "Tag-module__failed___dvpyQ", "bookingPending": "Tag-module__bookingPending___64umX" };
|
|
71
|
-
|
|
72
|
-
// src/atom/Tag/Tag.tsx
|
|
73
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
|
74
|
-
var Tag = (_a) => {
|
|
75
|
-
var _b = _a, {
|
|
76
|
-
type = "success",
|
|
77
|
-
className = "",
|
|
78
|
-
title = "",
|
|
79
|
-
icon = null,
|
|
80
|
-
size = ""
|
|
81
|
-
} = _b, rest = __objRest(_b, [
|
|
82
|
-
"type",
|
|
83
|
-
"className",
|
|
84
|
-
"title",
|
|
85
|
-
"icon",
|
|
86
|
-
"size"
|
|
87
|
-
]);
|
|
88
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
89
|
-
import_antd.Tag,
|
|
90
|
-
__spreadProps(__spreadValues({
|
|
91
|
-
className: (0, import_clsx.default)(
|
|
92
|
-
Tag_module_default.tag,
|
|
93
|
-
size === "small" && Tag_module_default.small,
|
|
94
|
-
Tag_module_default[type],
|
|
95
|
-
className
|
|
96
|
-
),
|
|
97
|
-
icon
|
|
98
|
-
}, rest), {
|
|
99
|
-
children: title
|
|
100
|
-
})
|
|
101
|
-
);
|
|
102
|
-
};
|
|
103
|
-
Tag.displayName = "Tag";
|
|
104
|
-
var Tag_default = Tag;
|
|
105
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
106
|
-
0 && (module.exports = {
|
|
107
|
-
Tag
|
|
108
|
-
});
|
package/dist/Tag.mjs
DELETED
package/dist/Tooltip.d.mts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
interface TooltipProps {
|
|
2
|
-
children?: React.ReactNode;
|
|
3
|
-
title?: string | undefined;
|
|
4
|
-
placement?: "top" | "left" | "right" | "bottom" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom" | undefined;
|
|
5
|
-
color?: string | undefined;
|
|
6
|
-
className?: string | undefined;
|
|
7
|
-
mode?: "light" | "dark";
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
declare const Tooltip: React.FC<TooltipProps>;
|
|
11
|
-
|
|
12
|
-
export { Tooltip, Tooltip as default };
|
package/dist/Tooltip.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
interface TooltipProps {
|
|
2
|
-
children?: React.ReactNode;
|
|
3
|
-
title?: string | undefined;
|
|
4
|
-
placement?: "top" | "left" | "right" | "bottom" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom" | undefined;
|
|
5
|
-
color?: string | undefined;
|
|
6
|
-
className?: string | undefined;
|
|
7
|
-
mode?: "light" | "dark";
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
declare const Tooltip: React.FC<TooltipProps>;
|
|
11
|
-
|
|
12
|
-
export { Tooltip, Tooltip as default };
|
package/dist/Tooltip.js
DELETED
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __defProps = Object.defineProperties;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
6
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
-
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
8
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
-
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
10
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
11
|
-
var __spreadValues = (a, b) => {
|
|
12
|
-
for (var prop in b || (b = {}))
|
|
13
|
-
if (__hasOwnProp.call(b, prop))
|
|
14
|
-
__defNormalProp(a, prop, b[prop]);
|
|
15
|
-
if (__getOwnPropSymbols)
|
|
16
|
-
for (var prop of __getOwnPropSymbols(b)) {
|
|
17
|
-
if (__propIsEnum.call(b, prop))
|
|
18
|
-
__defNormalProp(a, prop, b[prop]);
|
|
19
|
-
}
|
|
20
|
-
return a;
|
|
21
|
-
};
|
|
22
|
-
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
23
|
-
var __objRest = (source, exclude) => {
|
|
24
|
-
var target = {};
|
|
25
|
-
for (var prop in source)
|
|
26
|
-
if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
27
|
-
target[prop] = source[prop];
|
|
28
|
-
if (source != null && __getOwnPropSymbols)
|
|
29
|
-
for (var prop of __getOwnPropSymbols(source)) {
|
|
30
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
|
|
31
|
-
target[prop] = source[prop];
|
|
32
|
-
}
|
|
33
|
-
return target;
|
|
34
|
-
};
|
|
35
|
-
var __export = (target, all) => {
|
|
36
|
-
for (var name in all)
|
|
37
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
38
|
-
};
|
|
39
|
-
var __copyProps = (to, from, except, desc) => {
|
|
40
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
41
|
-
for (let key of __getOwnPropNames(from))
|
|
42
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
43
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
44
|
-
}
|
|
45
|
-
return to;
|
|
46
|
-
};
|
|
47
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
48
|
-
|
|
49
|
-
// src/atom/Tooltip/Tooltip.tsx
|
|
50
|
-
var Tooltip_exports = {};
|
|
51
|
-
__export(Tooltip_exports, {
|
|
52
|
-
Tooltip: () => Tooltip,
|
|
53
|
-
default: () => Tooltip_default
|
|
54
|
-
});
|
|
55
|
-
module.exports = __toCommonJS(Tooltip_exports);
|
|
56
|
-
var import_antd = require("antd");
|
|
57
|
-
|
|
58
|
-
// src/atom/Tooltip/Tooltip.module.scss
|
|
59
|
-
var Tooltip_module_default = { "light": "Tooltip-module__light___H5oCc" };
|
|
60
|
-
|
|
61
|
-
// src/atom/Tooltip/Tooltip.tsx
|
|
62
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
|
63
|
-
var Tooltip = (_a) => {
|
|
64
|
-
var _b = _a, {
|
|
65
|
-
children,
|
|
66
|
-
title = "",
|
|
67
|
-
placement = "top",
|
|
68
|
-
color = "#1F2937",
|
|
69
|
-
className,
|
|
70
|
-
mode = "dark"
|
|
71
|
-
} = _b, rest = __objRest(_b, [
|
|
72
|
-
"children",
|
|
73
|
-
"title",
|
|
74
|
-
"placement",
|
|
75
|
-
"color",
|
|
76
|
-
"className",
|
|
77
|
-
"mode"
|
|
78
|
-
]);
|
|
79
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
80
|
-
import_antd.Tooltip,
|
|
81
|
-
__spreadProps(__spreadValues({
|
|
82
|
-
className,
|
|
83
|
-
color,
|
|
84
|
-
title,
|
|
85
|
-
placement,
|
|
86
|
-
overlayClassName: mode === "light" ? Tooltip_module_default.light : ""
|
|
87
|
-
}, rest), {
|
|
88
|
-
children
|
|
89
|
-
})
|
|
90
|
-
);
|
|
91
|
-
};
|
|
92
|
-
Tooltip.displayName = "Tooltip";
|
|
93
|
-
var Tooltip_default = Tooltip;
|
|
94
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
95
|
-
0 && (module.exports = {
|
|
96
|
-
Tooltip
|
|
97
|
-
});
|