@itilite/lumina-ui 1.0.1 → 1.1.0

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 (47) hide show
  1. package/README.md +43 -10
  2. package/dist/Tag.d.mts +13 -0
  3. package/dist/Tag.d.ts +13 -0
  4. package/dist/Tag.js +108 -0
  5. package/dist/Tag.mjs +9 -0
  6. package/dist/atom/Avatar/Avatar.d.mts +17 -0
  7. package/dist/atom/Avatar/Avatar.d.ts +17 -0
  8. package/dist/atom/Avatar/Avatar.js +121 -0
  9. package/dist/atom/Avatar/Avatar.mjs +9 -0
  10. package/dist/atom/Button/Button.d.mts +25 -0
  11. package/dist/atom/Button/Button.d.ts +25 -0
  12. package/dist/atom/Button/Button.js +111 -0
  13. package/dist/atom/Button/Button.mjs +9 -0
  14. package/dist/atom/Checkbox/Checkbox.d.mts +20 -0
  15. package/dist/atom/Checkbox/Checkbox.d.ts +20 -0
  16. package/dist/atom/Checkbox/Checkbox.js +121 -0
  17. package/dist/atom/Checkbox/Checkbox.mjs +9 -0
  18. package/dist/atom/Modal/Modal.d.mts +25 -0
  19. package/dist/atom/Modal/Modal.d.ts +25 -0
  20. package/dist/atom/Modal/Modal.js +267 -0
  21. package/dist/atom/Modal/Modal.mjs +10 -0
  22. package/dist/atom/Radio/Radio.d.mts +17 -0
  23. package/dist/atom/Radio/Radio.d.ts +17 -0
  24. package/dist/atom/Radio/Radio.js +122 -0
  25. package/dist/atom/Radio/Radio.mjs +9 -0
  26. package/dist/atom/Switch/Switch.d.mts +13 -0
  27. package/dist/atom/Switch/Switch.d.ts +13 -0
  28. package/dist/atom/Switch/Switch.js +102 -0
  29. package/dist/atom/Switch/Switch.mjs +9 -0
  30. package/dist/atom/Tag/Tag.d.mts +13 -0
  31. package/dist/atom/Tag/Tag.d.ts +13 -0
  32. package/dist/atom/Tag/Tag.js +108 -0
  33. package/dist/atom/Tag/Tag.mjs +9 -0
  34. package/dist/atom/Tooltip/Tooltip.d.mts +12 -0
  35. package/dist/atom/Tooltip/Tooltip.d.ts +12 -0
  36. package/dist/atom/Tooltip/Tooltip.js +97 -0
  37. package/dist/atom/Tooltip/Tooltip.mjs +9 -0
  38. package/dist/chunk-4VZB2KR2.mjs +51 -0
  39. package/dist/index.d.mts +8 -7
  40. package/dist/index.d.ts +8 -7
  41. package/dist/index.js +46 -3
  42. package/dist/index.mjs +10 -6
  43. package/dist/styles.css +232 -930
  44. package/package.json +6 -31
  45. package/dist/chunk-2O2IH2FG.mjs +0 -83
  46. package/dist/styles.d.mts +0 -2
  47. package/dist/styles.d.ts +0 -2
@@ -0,0 +1,102 @@
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
+ });
@@ -0,0 +1,9 @@
1
+ import {
2
+ Switch,
3
+ Switch_default
4
+ } from "../../chunk-MNARBWAJ.mjs";
5
+ import "../../chunk-FWCSY2DS.mjs";
6
+ export {
7
+ Switch,
8
+ Switch_default as default
9
+ };
@@ -0,0 +1,13 @@
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 };
@@ -0,0 +1,13 @@
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 };
@@ -0,0 +1,108 @@
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
+ });
@@ -0,0 +1,9 @@
1
+ import {
2
+ Tag,
3
+ Tag_default
4
+ } from "../../chunk-4VZB2KR2.mjs";
5
+ import "../../chunk-FWCSY2DS.mjs";
6
+ export {
7
+ Tag,
8
+ Tag_default as default
9
+ };
@@ -0,0 +1,12 @@
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 };
@@ -0,0 +1,12 @@
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 };
@@ -0,0 +1,97 @@
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
+ });
@@ -0,0 +1,9 @@
1
+ import {
2
+ Tooltip,
3
+ Tooltip_default
4
+ } from "../../chunk-MLCMZRUC.mjs";
5
+ import "../../chunk-FWCSY2DS.mjs";
6
+ export {
7
+ Tooltip,
8
+ Tooltip_default as default
9
+ };
@@ -0,0 +1,51 @@
1
+ import {
2
+ __objRest,
3
+ __spreadProps,
4
+ __spreadValues
5
+ } from "./chunk-FWCSY2DS.mjs";
6
+
7
+ // src/atom/Tag/Tag.tsx
8
+ import { Tag as AntTag } from "antd";
9
+ import clsx from "clsx";
10
+
11
+ // src/atom/Tag/Tag.module.scss
12
+ 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" };
13
+
14
+ // src/atom/Tag/Tag.tsx
15
+ import { jsx } from "react/jsx-runtime";
16
+ var Tag = (_a) => {
17
+ var _b = _a, {
18
+ type = "success",
19
+ className = "",
20
+ title = "",
21
+ icon = null,
22
+ size = ""
23
+ } = _b, rest = __objRest(_b, [
24
+ "type",
25
+ "className",
26
+ "title",
27
+ "icon",
28
+ "size"
29
+ ]);
30
+ return /* @__PURE__ */ jsx(
31
+ AntTag,
32
+ __spreadProps(__spreadValues({
33
+ className: clsx(
34
+ Tag_module_default.tag,
35
+ size === "small" && Tag_module_default.small,
36
+ Tag_module_default[type],
37
+ className
38
+ ),
39
+ icon
40
+ }, rest), {
41
+ children: title
42
+ })
43
+ );
44
+ };
45
+ Tag.displayName = "Tag";
46
+ var Tag_default = Tag;
47
+
48
+ export {
49
+ Tag,
50
+ Tag_default
51
+ };
package/dist/index.d.mts CHANGED
@@ -1,10 +1,11 @@
1
- export { default as Button } from './Button.mjs';
2
- export { default as Checkbox } from './Checkbox.mjs';
3
- export { default as Modal } from './Modal.mjs';
4
- export { default as Radio } from './Radio.mjs';
5
- export { default as Switch } from './Switch.mjs';
6
- export { default as Tooltip } from './Tooltip.mjs';
7
- export { default as Avatar } from './Avatar.mjs';
1
+ export { default as Button } from './atom/Button/Button.mjs';
2
+ export { default as Checkbox } from './atom/Checkbox/Checkbox.mjs';
3
+ export { default as Modal } from './atom/Modal/Modal.mjs';
4
+ export { default as Radio } from './atom/Radio/Radio.mjs';
5
+ export { default as Switch } from './atom/Switch/Switch.mjs';
6
+ export { default as Tooltip } from './atom/Tooltip/Tooltip.mjs';
7
+ export { default as Avatar } from './atom/Avatar/Avatar.mjs';
8
+ export { default as Tag } from './atom/Tag/Tag.mjs';
8
9
  import 'react';
9
10
  import 'antd/es/checkbox';
10
11
  import 'antd/lib/radio';
package/dist/index.d.ts CHANGED
@@ -1,10 +1,11 @@
1
- export { default as Button } from './Button.js';
2
- export { default as Checkbox } from './Checkbox.js';
3
- export { default as Modal } from './Modal.js';
4
- export { default as Radio } from './Radio.js';
5
- export { default as Switch } from './Switch.js';
6
- export { default as Tooltip } from './Tooltip.js';
7
- export { default as Avatar } from './Avatar.js';
1
+ export { default as Button } from './atom/Button/Button.js';
2
+ export { default as Checkbox } from './atom/Checkbox/Checkbox.js';
3
+ export { default as Modal } from './atom/Modal/Modal.js';
4
+ export { default as Radio } from './atom/Radio/Radio.js';
5
+ export { default as Switch } from './atom/Switch/Switch.js';
6
+ export { default as Tooltip } from './atom/Tooltip/Tooltip.js';
7
+ export { default as Avatar } from './atom/Avatar/Avatar.js';
8
+ export { default as Tag } from './atom/Tag/Tag.js';
8
9
  import 'react';
9
10
  import 'antd/es/checkbox';
10
11
  import 'antd/lib/radio';
package/dist/index.js CHANGED
@@ -57,17 +57,18 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
57
57
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
58
58
 
59
59
  // src/index.ts
60
- var src_exports = {};
61
- __export(src_exports, {
60
+ var index_exports = {};
61
+ __export(index_exports, {
62
62
  Avatar: () => Avatar_default,
63
63
  Button: () => Button_default,
64
64
  Checkbox: () => Checkbox_default,
65
65
  Modal: () => Modal_default,
66
66
  Radio: () => Radio_default,
67
67
  Switch: () => Switch_default,
68
+ Tag: () => Tag_default,
68
69
  Tooltip: () => Tooltip_default
69
70
  });
70
- module.exports = __toCommonJS(src_exports);
71
+ module.exports = __toCommonJS(index_exports);
71
72
 
72
73
  // src/atom/Button/Button.tsx
73
74
  var import_antd = require("antd");
@@ -539,6 +540,47 @@ function Avatar({
539
540
  }
540
541
  Avatar.displayName = "Avatar";
541
542
  var Avatar_default = Avatar;
543
+
544
+ // src/atom/Tag/Tag.tsx
545
+ var import_antd7 = require("antd");
546
+ var import_clsx7 = __toESM(require("clsx"));
547
+
548
+ // src/atom/Tag/Tag.module.scss
549
+ 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" };
550
+
551
+ // src/atom/Tag/Tag.tsx
552
+ var import_jsx_runtime8 = require("react/jsx-runtime");
553
+ var Tag = (_a) => {
554
+ var _b = _a, {
555
+ type = "success",
556
+ className = "",
557
+ title = "",
558
+ icon = null,
559
+ size = ""
560
+ } = _b, rest = __objRest(_b, [
561
+ "type",
562
+ "className",
563
+ "title",
564
+ "icon",
565
+ "size"
566
+ ]);
567
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
568
+ import_antd7.Tag,
569
+ __spreadProps(__spreadValues({
570
+ className: (0, import_clsx7.default)(
571
+ Tag_module_default.tag,
572
+ size === "small" && Tag_module_default.small,
573
+ Tag_module_default[type],
574
+ className
575
+ ),
576
+ icon
577
+ }, rest), {
578
+ children: title
579
+ })
580
+ );
581
+ };
582
+ Tag.displayName = "Tag";
583
+ var Tag_default = Tag;
542
584
  // Annotate the CommonJS export names for ESM import in node:
543
585
  0 && (module.exports = {
544
586
  Avatar,
@@ -547,5 +589,6 @@ var Avatar_default = Avatar;
547
589
  Modal,
548
590
  Radio,
549
591
  Switch,
592
+ Tag,
550
593
  Tooltip
551
594
  });
package/dist/index.mjs CHANGED
@@ -1,6 +1,15 @@
1
+ import {
2
+ Tag_default
3
+ } from "./chunk-4VZB2KR2.mjs";
4
+ import {
5
+ Avatar_default
6
+ } from "./chunk-X76GNSBB.mjs";
1
7
  import {
2
8
  Checkbox_default
3
9
  } from "./chunk-UQZNUEZE.mjs";
10
+ import {
11
+ Switch_default
12
+ } from "./chunk-MNARBWAJ.mjs";
4
13
  import {
5
14
  Modal_default
6
15
  } from "./chunk-N355RJGH.mjs";
@@ -10,15 +19,9 @@ import {
10
19
  import {
11
20
  Radio_default
12
21
  } from "./chunk-2EBPXGRY.mjs";
13
- import {
14
- Switch_default
15
- } from "./chunk-MNARBWAJ.mjs";
16
22
  import {
17
23
  Tooltip_default
18
24
  } from "./chunk-MLCMZRUC.mjs";
19
- import {
20
- Avatar_default
21
- } from "./chunk-X76GNSBB.mjs";
22
25
  import "./chunk-FWCSY2DS.mjs";
23
26
  export {
24
27
  Avatar_default as Avatar,
@@ -27,5 +30,6 @@ export {
27
30
  Modal_default as Modal,
28
31
  Radio_default as Radio,
29
32
  Switch_default as Switch,
33
+ Tag_default as Tag,
30
34
  Tooltip_default as Tooltip
31
35
  };