omui-lib 1.0.3 → 1.0.4
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/chunk-WFKB25KN.mjs +99 -0
- package/dist/components/ProfileCard/ProfileCard.js +132 -0
- package/dist/components/ProfileCard/ProfileCard.mjs +6 -0
- package/dist/index.js +87 -26
- package/dist/index.mjs +9 -9
- package/package.json +1 -1
- package/dist/chunk-UVOXBLXP.mjs +0 -38
- package/dist/components/Box/Box.js +0 -71
- package/dist/components/Box/Box.mjs +0 -6
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
// src/components/ProfileCard/ProfileCard.jsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
var ProfileCard = ({
|
|
4
|
+
image = "https://i.pravatar.cc/150",
|
|
5
|
+
name = "John Doe",
|
|
6
|
+
role = "Frontend Developer",
|
|
7
|
+
bio = "Passionate developer who loves building beautiful and interactive web experiences.",
|
|
8
|
+
buttonText = "View Profile",
|
|
9
|
+
color = "#6366f1"
|
|
10
|
+
}) => {
|
|
11
|
+
return /* @__PURE__ */ React.createElement(
|
|
12
|
+
"div",
|
|
13
|
+
{
|
|
14
|
+
style: {
|
|
15
|
+
width: "320px",
|
|
16
|
+
padding: "24px",
|
|
17
|
+
borderRadius: "20px",
|
|
18
|
+
background: "rgba(255,255,255,0.08)",
|
|
19
|
+
border: "1px solid rgba(255,255,255,0.12)",
|
|
20
|
+
backdropFilter: "blur(12px)",
|
|
21
|
+
WebkitBackdropFilter: "blur(12px)",
|
|
22
|
+
textAlign: "center",
|
|
23
|
+
color: "#fff",
|
|
24
|
+
boxShadow: "0 10px 30px rgba(0,0,0,0.2)"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
/* @__PURE__ */ React.createElement(
|
|
28
|
+
"img",
|
|
29
|
+
{
|
|
30
|
+
src: image,
|
|
31
|
+
alt: name,
|
|
32
|
+
style: {
|
|
33
|
+
width: "90px",
|
|
34
|
+
height: "90px",
|
|
35
|
+
borderRadius: "50%",
|
|
36
|
+
objectFit: "cover",
|
|
37
|
+
border: `3px solid ${color}`,
|
|
38
|
+
marginBottom: "16px"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
),
|
|
42
|
+
/* @__PURE__ */ React.createElement(
|
|
43
|
+
"h2",
|
|
44
|
+
{
|
|
45
|
+
style: {
|
|
46
|
+
margin: "0 0 6px",
|
|
47
|
+
fontSize: "22px",
|
|
48
|
+
fontWeight: "600"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
name
|
|
52
|
+
),
|
|
53
|
+
/* @__PURE__ */ React.createElement(
|
|
54
|
+
"p",
|
|
55
|
+
{
|
|
56
|
+
style: {
|
|
57
|
+
margin: "0 0 14px",
|
|
58
|
+
color,
|
|
59
|
+
fontSize: "14px",
|
|
60
|
+
fontWeight: "500"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
role
|
|
64
|
+
),
|
|
65
|
+
/* @__PURE__ */ React.createElement(
|
|
66
|
+
"p",
|
|
67
|
+
{
|
|
68
|
+
style: {
|
|
69
|
+
margin: "0 0 20px",
|
|
70
|
+
color: "rgba(255,255,255,0.65)",
|
|
71
|
+
fontSize: "14px",
|
|
72
|
+
lineHeight: "1.6"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
bio
|
|
76
|
+
),
|
|
77
|
+
/* @__PURE__ */ React.createElement(
|
|
78
|
+
"button",
|
|
79
|
+
{
|
|
80
|
+
style: {
|
|
81
|
+
width: "100%",
|
|
82
|
+
padding: "12px 18px",
|
|
83
|
+
border: "none",
|
|
84
|
+
borderRadius: "10px",
|
|
85
|
+
background: color,
|
|
86
|
+
color: "#fff",
|
|
87
|
+
fontSize: "14px",
|
|
88
|
+
fontWeight: "600",
|
|
89
|
+
cursor: "pointer"
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
buttonText
|
|
93
|
+
)
|
|
94
|
+
);
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
export {
|
|
98
|
+
ProfileCard
|
|
99
|
+
};
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
|
|
29
|
+
// src/components/ProfileCard/ProfileCard.jsx
|
|
30
|
+
var ProfileCard_exports = {};
|
|
31
|
+
__export(ProfileCard_exports, {
|
|
32
|
+
ProfileCard: () => ProfileCard
|
|
33
|
+
});
|
|
34
|
+
module.exports = __toCommonJS(ProfileCard_exports);
|
|
35
|
+
var import_react = __toESM(require("react"));
|
|
36
|
+
var ProfileCard = ({
|
|
37
|
+
image = "https://i.pravatar.cc/150",
|
|
38
|
+
name = "John Doe",
|
|
39
|
+
role = "Frontend Developer",
|
|
40
|
+
bio = "Passionate developer who loves building beautiful and interactive web experiences.",
|
|
41
|
+
buttonText = "View Profile",
|
|
42
|
+
color = "#6366f1"
|
|
43
|
+
}) => {
|
|
44
|
+
return /* @__PURE__ */ import_react.default.createElement(
|
|
45
|
+
"div",
|
|
46
|
+
{
|
|
47
|
+
style: {
|
|
48
|
+
width: "320px",
|
|
49
|
+
padding: "24px",
|
|
50
|
+
borderRadius: "20px",
|
|
51
|
+
background: "rgba(255,255,255,0.08)",
|
|
52
|
+
border: "1px solid rgba(255,255,255,0.12)",
|
|
53
|
+
backdropFilter: "blur(12px)",
|
|
54
|
+
WebkitBackdropFilter: "blur(12px)",
|
|
55
|
+
textAlign: "center",
|
|
56
|
+
color: "#fff",
|
|
57
|
+
boxShadow: "0 10px 30px rgba(0,0,0,0.2)"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
/* @__PURE__ */ import_react.default.createElement(
|
|
61
|
+
"img",
|
|
62
|
+
{
|
|
63
|
+
src: image,
|
|
64
|
+
alt: name,
|
|
65
|
+
style: {
|
|
66
|
+
width: "90px",
|
|
67
|
+
height: "90px",
|
|
68
|
+
borderRadius: "50%",
|
|
69
|
+
objectFit: "cover",
|
|
70
|
+
border: `3px solid ${color}`,
|
|
71
|
+
marginBottom: "16px"
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
),
|
|
75
|
+
/* @__PURE__ */ import_react.default.createElement(
|
|
76
|
+
"h2",
|
|
77
|
+
{
|
|
78
|
+
style: {
|
|
79
|
+
margin: "0 0 6px",
|
|
80
|
+
fontSize: "22px",
|
|
81
|
+
fontWeight: "600"
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
name
|
|
85
|
+
),
|
|
86
|
+
/* @__PURE__ */ import_react.default.createElement(
|
|
87
|
+
"p",
|
|
88
|
+
{
|
|
89
|
+
style: {
|
|
90
|
+
margin: "0 0 14px",
|
|
91
|
+
color,
|
|
92
|
+
fontSize: "14px",
|
|
93
|
+
fontWeight: "500"
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
role
|
|
97
|
+
),
|
|
98
|
+
/* @__PURE__ */ import_react.default.createElement(
|
|
99
|
+
"p",
|
|
100
|
+
{
|
|
101
|
+
style: {
|
|
102
|
+
margin: "0 0 20px",
|
|
103
|
+
color: "rgba(255,255,255,0.65)",
|
|
104
|
+
fontSize: "14px",
|
|
105
|
+
lineHeight: "1.6"
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
bio
|
|
109
|
+
),
|
|
110
|
+
/* @__PURE__ */ import_react.default.createElement(
|
|
111
|
+
"button",
|
|
112
|
+
{
|
|
113
|
+
style: {
|
|
114
|
+
width: "100%",
|
|
115
|
+
padding: "12px 18px",
|
|
116
|
+
border: "none",
|
|
117
|
+
borderRadius: "10px",
|
|
118
|
+
background: color,
|
|
119
|
+
color: "#fff",
|
|
120
|
+
fontSize: "14px",
|
|
121
|
+
fontWeight: "600",
|
|
122
|
+
cursor: "pointer"
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
buttonText
|
|
126
|
+
)
|
|
127
|
+
);
|
|
128
|
+
};
|
|
129
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
130
|
+
0 && (module.exports = {
|
|
131
|
+
ProfileCard
|
|
132
|
+
});
|
package/dist/index.js
CHANGED
|
@@ -30,13 +30,13 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
30
30
|
var index_exports = {};
|
|
31
31
|
__export(index_exports, {
|
|
32
32
|
AnimatedProgressBar: () => AnimatedProgressBar,
|
|
33
|
-
Box: () => Box,
|
|
34
33
|
Button: () => Button,
|
|
35
34
|
CommentCard: () => CommentCard,
|
|
36
35
|
Graph: () => Graph,
|
|
37
36
|
HoverCard: () => HoverCard,
|
|
38
37
|
Loader: () => Loader,
|
|
39
38
|
PricingCard: () => PricingCard,
|
|
39
|
+
ProfileCard: () => ProfileCard,
|
|
40
40
|
SliderCard: () => SliderCard,
|
|
41
41
|
SwipeCard: () => SwipeCard,
|
|
42
42
|
ThumbnailCard: () => ThumbnailCard
|
|
@@ -845,50 +845,111 @@ var AnimatedProgressBar = ({
|
|
|
845
845
|
} }, /* @__PURE__ */ import_react10.default.createElement("span", null, "Progress"), /* @__PURE__ */ import_react10.default.createElement("span", { style: { fontWeight: "700", color } }, animatedProgress, "%")));
|
|
846
846
|
};
|
|
847
847
|
|
|
848
|
-
// src/components/
|
|
848
|
+
// src/components/ProfileCard/ProfileCard.jsx
|
|
849
849
|
var import_react11 = __toESM(require("react"));
|
|
850
|
-
var
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
border = "1px solid rgba(255,255,255,0.08)",
|
|
858
|
-
shadow = "0 10px 40px rgba(0,0,0,0.4)",
|
|
859
|
-
children = "Box Content"
|
|
850
|
+
var ProfileCard = ({
|
|
851
|
+
image = "https://i.pravatar.cc/150",
|
|
852
|
+
name = "John Doe",
|
|
853
|
+
role = "Frontend Developer",
|
|
854
|
+
bio = "Passionate developer who loves building beautiful and interactive web experiences.",
|
|
855
|
+
buttonText = "View Profile",
|
|
856
|
+
color = "#6366f1"
|
|
860
857
|
}) => {
|
|
861
858
|
return /* @__PURE__ */ import_react11.default.createElement(
|
|
862
859
|
"div",
|
|
863
860
|
{
|
|
864
861
|
style: {
|
|
865
|
-
width,
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
alignItems: "center",
|
|
876
|
-
justifyContent: "center"
|
|
862
|
+
width: "320px",
|
|
863
|
+
padding: "24px",
|
|
864
|
+
borderRadius: "20px",
|
|
865
|
+
background: "rgba(255,255,255,0.08)",
|
|
866
|
+
border: "1px solid rgba(255,255,255,0.12)",
|
|
867
|
+
backdropFilter: "blur(12px)",
|
|
868
|
+
WebkitBackdropFilter: "blur(12px)",
|
|
869
|
+
textAlign: "center",
|
|
870
|
+
color: "#fff",
|
|
871
|
+
boxShadow: "0 10px 30px rgba(0,0,0,0.2)"
|
|
877
872
|
}
|
|
878
873
|
},
|
|
879
|
-
|
|
874
|
+
/* @__PURE__ */ import_react11.default.createElement(
|
|
875
|
+
"img",
|
|
876
|
+
{
|
|
877
|
+
src: image,
|
|
878
|
+
alt: name,
|
|
879
|
+
style: {
|
|
880
|
+
width: "90px",
|
|
881
|
+
height: "90px",
|
|
882
|
+
borderRadius: "50%",
|
|
883
|
+
objectFit: "cover",
|
|
884
|
+
border: `3px solid ${color}`,
|
|
885
|
+
marginBottom: "16px"
|
|
886
|
+
}
|
|
887
|
+
}
|
|
888
|
+
),
|
|
889
|
+
/* @__PURE__ */ import_react11.default.createElement(
|
|
890
|
+
"h2",
|
|
891
|
+
{
|
|
892
|
+
style: {
|
|
893
|
+
margin: "0 0 6px",
|
|
894
|
+
fontSize: "22px",
|
|
895
|
+
fontWeight: "600"
|
|
896
|
+
}
|
|
897
|
+
},
|
|
898
|
+
name
|
|
899
|
+
),
|
|
900
|
+
/* @__PURE__ */ import_react11.default.createElement(
|
|
901
|
+
"p",
|
|
902
|
+
{
|
|
903
|
+
style: {
|
|
904
|
+
margin: "0 0 14px",
|
|
905
|
+
color,
|
|
906
|
+
fontSize: "14px",
|
|
907
|
+
fontWeight: "500"
|
|
908
|
+
}
|
|
909
|
+
},
|
|
910
|
+
role
|
|
911
|
+
),
|
|
912
|
+
/* @__PURE__ */ import_react11.default.createElement(
|
|
913
|
+
"p",
|
|
914
|
+
{
|
|
915
|
+
style: {
|
|
916
|
+
margin: "0 0 20px",
|
|
917
|
+
color: "rgba(255,255,255,0.65)",
|
|
918
|
+
fontSize: "14px",
|
|
919
|
+
lineHeight: "1.6"
|
|
920
|
+
}
|
|
921
|
+
},
|
|
922
|
+
bio
|
|
923
|
+
),
|
|
924
|
+
/* @__PURE__ */ import_react11.default.createElement(
|
|
925
|
+
"button",
|
|
926
|
+
{
|
|
927
|
+
style: {
|
|
928
|
+
width: "100%",
|
|
929
|
+
padding: "12px 18px",
|
|
930
|
+
border: "none",
|
|
931
|
+
borderRadius: "10px",
|
|
932
|
+
background: color,
|
|
933
|
+
color: "#fff",
|
|
934
|
+
fontSize: "14px",
|
|
935
|
+
fontWeight: "600",
|
|
936
|
+
cursor: "pointer"
|
|
937
|
+
}
|
|
938
|
+
},
|
|
939
|
+
buttonText
|
|
940
|
+
)
|
|
880
941
|
);
|
|
881
942
|
};
|
|
882
943
|
// Annotate the CommonJS export names for ESM import in node:
|
|
883
944
|
0 && (module.exports = {
|
|
884
945
|
AnimatedProgressBar,
|
|
885
|
-
Box,
|
|
886
946
|
Button,
|
|
887
947
|
CommentCard,
|
|
888
948
|
Graph,
|
|
889
949
|
HoverCard,
|
|
890
950
|
Loader,
|
|
891
951
|
PricingCard,
|
|
952
|
+
ProfileCard,
|
|
892
953
|
SliderCard,
|
|
893
954
|
SwipeCard,
|
|
894
955
|
ThumbnailCard
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./chunk-
|
|
2
|
+
ProfileCard
|
|
3
|
+
} from "./chunk-WFKB25KN.mjs";
|
|
4
4
|
import {
|
|
5
5
|
SliderCard
|
|
6
6
|
} from "./chunk-NJSJATQ6.mjs";
|
|
@@ -13,33 +13,33 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
AnimatedProgressBar
|
|
15
15
|
} from "./chunk-VA6HDMVP.mjs";
|
|
16
|
-
import {
|
|
17
|
-
Box
|
|
18
|
-
} from "./chunk-UVOXBLXP.mjs";
|
|
19
16
|
import {
|
|
20
17
|
Button
|
|
21
18
|
} from "./chunk-5LA6VVEY.mjs";
|
|
22
19
|
import {
|
|
23
20
|
CommentCard
|
|
24
21
|
} from "./chunk-EWRW432G.mjs";
|
|
25
|
-
import {
|
|
26
|
-
Graph
|
|
27
|
-
} from "./chunk-SJ4MEFAG.mjs";
|
|
28
22
|
import {
|
|
29
23
|
HoverCard
|
|
30
24
|
} from "./chunk-MQOZXOBV.mjs";
|
|
31
25
|
import {
|
|
32
26
|
Loader
|
|
33
27
|
} from "./chunk-XGVKPI3O.mjs";
|
|
28
|
+
import {
|
|
29
|
+
PricingCard
|
|
30
|
+
} from "./chunk-FGTNFYFJ.mjs";
|
|
31
|
+
import {
|
|
32
|
+
Graph
|
|
33
|
+
} from "./chunk-SJ4MEFAG.mjs";
|
|
34
34
|
export {
|
|
35
35
|
AnimatedProgressBar,
|
|
36
|
-
Box,
|
|
37
36
|
Button,
|
|
38
37
|
CommentCard,
|
|
39
38
|
Graph,
|
|
40
39
|
HoverCard,
|
|
41
40
|
Loader,
|
|
42
41
|
PricingCard,
|
|
42
|
+
ProfileCard,
|
|
43
43
|
SliderCard,
|
|
44
44
|
SwipeCard,
|
|
45
45
|
ThumbnailCard
|
package/package.json
CHANGED
package/dist/chunk-UVOXBLXP.mjs
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
// src/components/Box/Box.jsx
|
|
2
|
-
import React from "react";
|
|
3
|
-
var Box = ({
|
|
4
|
-
width = "300px",
|
|
5
|
-
height = "200px",
|
|
6
|
-
bg = "#1e293b",
|
|
7
|
-
color = "#fff",
|
|
8
|
-
borderRadius = "16px",
|
|
9
|
-
padding = "20px",
|
|
10
|
-
border = "1px solid rgba(255,255,255,0.08)",
|
|
11
|
-
shadow = "0 10px 40px rgba(0,0,0,0.4)",
|
|
12
|
-
children = "Box Content"
|
|
13
|
-
}) => {
|
|
14
|
-
return /* @__PURE__ */ React.createElement(
|
|
15
|
-
"div",
|
|
16
|
-
{
|
|
17
|
-
style: {
|
|
18
|
-
width,
|
|
19
|
-
height,
|
|
20
|
-
background: bg,
|
|
21
|
-
color,
|
|
22
|
-
borderRadius,
|
|
23
|
-
padding,
|
|
24
|
-
border,
|
|
25
|
-
boxShadow: shadow,
|
|
26
|
-
fontFamily: "system-ui, sans-serif",
|
|
27
|
-
display: "flex",
|
|
28
|
-
alignItems: "center",
|
|
29
|
-
justifyContent: "center"
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
children
|
|
33
|
-
);
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
export {
|
|
37
|
-
Box
|
|
38
|
-
};
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
var __create = Object.create;
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __export = (target, all) => {
|
|
8
|
-
for (var name in all)
|
|
9
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
-
};
|
|
11
|
-
var __copyProps = (to, from, except, desc) => {
|
|
12
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
-
for (let key of __getOwnPropNames(from))
|
|
14
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
-
}
|
|
17
|
-
return to;
|
|
18
|
-
};
|
|
19
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
-
mod
|
|
26
|
-
));
|
|
27
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
-
|
|
29
|
-
// src/components/Box/Box.jsx
|
|
30
|
-
var Box_exports = {};
|
|
31
|
-
__export(Box_exports, {
|
|
32
|
-
Box: () => Box
|
|
33
|
-
});
|
|
34
|
-
module.exports = __toCommonJS(Box_exports);
|
|
35
|
-
var import_react = __toESM(require("react"));
|
|
36
|
-
var Box = ({
|
|
37
|
-
width = "300px",
|
|
38
|
-
height = "200px",
|
|
39
|
-
bg = "#1e293b",
|
|
40
|
-
color = "#fff",
|
|
41
|
-
borderRadius = "16px",
|
|
42
|
-
padding = "20px",
|
|
43
|
-
border = "1px solid rgba(255,255,255,0.08)",
|
|
44
|
-
shadow = "0 10px 40px rgba(0,0,0,0.4)",
|
|
45
|
-
children = "Box Content"
|
|
46
|
-
}) => {
|
|
47
|
-
return /* @__PURE__ */ import_react.default.createElement(
|
|
48
|
-
"div",
|
|
49
|
-
{
|
|
50
|
-
style: {
|
|
51
|
-
width,
|
|
52
|
-
height,
|
|
53
|
-
background: bg,
|
|
54
|
-
color,
|
|
55
|
-
borderRadius,
|
|
56
|
-
padding,
|
|
57
|
-
border,
|
|
58
|
-
boxShadow: shadow,
|
|
59
|
-
fontFamily: "system-ui, sans-serif",
|
|
60
|
-
display: "flex",
|
|
61
|
-
alignItems: "center",
|
|
62
|
-
justifyContent: "center"
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
children
|
|
66
|
-
);
|
|
67
|
-
};
|
|
68
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
69
|
-
0 && (module.exports = {
|
|
70
|
-
Box
|
|
71
|
-
});
|