omui-lib 1.0.8 → 1.0.10

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,122 @@
1
+ // src/components/TestimonialCard/TestimonialCard.jsx
2
+ import React from "react";
3
+ var TestimonialCard = ({
4
+ image = "https://i.pravatar.cc/150?img=12",
5
+ name = "Sarah Johnson",
6
+ role = "Product Designer",
7
+ review = "This product completely changed the way I work. The experience is smooth, intuitive, and incredibly easy to use.",
8
+ rating = 5,
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
+ color: "#fff",
23
+ boxShadow: "0 10px 30px rgba(0,0,0,0.2)"
24
+ }
25
+ },
26
+ /* @__PURE__ */ React.createElement(
27
+ "div",
28
+ {
29
+ style: {
30
+ fontSize: "40px",
31
+ lineHeight: "1",
32
+ color,
33
+ marginBottom: "14px",
34
+ fontFamily: "Georgia, serif"
35
+ }
36
+ },
37
+ "\u201C"
38
+ ),
39
+ /* @__PURE__ */ React.createElement(
40
+ "p",
41
+ {
42
+ style: {
43
+ margin: "0 0 20px",
44
+ fontSize: "15px",
45
+ lineHeight: "1.7",
46
+ color: "rgba(255,255,255,0.75)"
47
+ }
48
+ },
49
+ review
50
+ ),
51
+ /* @__PURE__ */ React.createElement(
52
+ "div",
53
+ {
54
+ style: {
55
+ display: "flex",
56
+ gap: "4px",
57
+ marginBottom: "20px"
58
+ }
59
+ },
60
+ [1, 2, 3, 4, 5].map((star) => /* @__PURE__ */ React.createElement(
61
+ "span",
62
+ {
63
+ key: star,
64
+ style: {
65
+ color: star <= rating ? "#fbbf24" : "rgba(255,255,255,0.2)",
66
+ fontSize: "18px"
67
+ }
68
+ },
69
+ "\u2605"
70
+ ))
71
+ ),
72
+ /* @__PURE__ */ React.createElement(
73
+ "div",
74
+ {
75
+ style: {
76
+ display: "flex",
77
+ alignItems: "center",
78
+ gap: "12px"
79
+ }
80
+ },
81
+ /* @__PURE__ */ React.createElement(
82
+ "img",
83
+ {
84
+ src: image,
85
+ alt: name,
86
+ style: {
87
+ width: "48px",
88
+ height: "48px",
89
+ borderRadius: "50%",
90
+ objectFit: "cover",
91
+ border: `2px solid ${color}`
92
+ }
93
+ }
94
+ ),
95
+ /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement(
96
+ "h3",
97
+ {
98
+ style: {
99
+ margin: "0 0 4px",
100
+ fontSize: "15px",
101
+ fontWeight: "600"
102
+ }
103
+ },
104
+ name
105
+ ), /* @__PURE__ */ React.createElement(
106
+ "p",
107
+ {
108
+ style: {
109
+ margin: 0,
110
+ fontSize: "13px",
111
+ color: "rgba(255,255,255,0.5)"
112
+ }
113
+ },
114
+ role
115
+ ))
116
+ )
117
+ );
118
+ };
119
+
120
+ export {
121
+ TestimonialCard
122
+ };
@@ -0,0 +1,155 @@
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/TestimonialCard/TestimonialCard.jsx
30
+ var TestimonialCard_exports = {};
31
+ __export(TestimonialCard_exports, {
32
+ TestimonialCard: () => TestimonialCard
33
+ });
34
+ module.exports = __toCommonJS(TestimonialCard_exports);
35
+ var import_react = __toESM(require("react"));
36
+ var TestimonialCard = ({
37
+ image = "https://i.pravatar.cc/150?img=12",
38
+ name = "Sarah Johnson",
39
+ role = "Product Designer",
40
+ review = "This product completely changed the way I work. The experience is smooth, intuitive, and incredibly easy to use.",
41
+ rating = 5,
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
+ color: "#fff",
56
+ boxShadow: "0 10px 30px rgba(0,0,0,0.2)"
57
+ }
58
+ },
59
+ /* @__PURE__ */ import_react.default.createElement(
60
+ "div",
61
+ {
62
+ style: {
63
+ fontSize: "40px",
64
+ lineHeight: "1",
65
+ color,
66
+ marginBottom: "14px",
67
+ fontFamily: "Georgia, serif"
68
+ }
69
+ },
70
+ "\u201C"
71
+ ),
72
+ /* @__PURE__ */ import_react.default.createElement(
73
+ "p",
74
+ {
75
+ style: {
76
+ margin: "0 0 20px",
77
+ fontSize: "15px",
78
+ lineHeight: "1.7",
79
+ color: "rgba(255,255,255,0.75)"
80
+ }
81
+ },
82
+ review
83
+ ),
84
+ /* @__PURE__ */ import_react.default.createElement(
85
+ "div",
86
+ {
87
+ style: {
88
+ display: "flex",
89
+ gap: "4px",
90
+ marginBottom: "20px"
91
+ }
92
+ },
93
+ [1, 2, 3, 4, 5].map((star) => /* @__PURE__ */ import_react.default.createElement(
94
+ "span",
95
+ {
96
+ key: star,
97
+ style: {
98
+ color: star <= rating ? "#fbbf24" : "rgba(255,255,255,0.2)",
99
+ fontSize: "18px"
100
+ }
101
+ },
102
+ "\u2605"
103
+ ))
104
+ ),
105
+ /* @__PURE__ */ import_react.default.createElement(
106
+ "div",
107
+ {
108
+ style: {
109
+ display: "flex",
110
+ alignItems: "center",
111
+ gap: "12px"
112
+ }
113
+ },
114
+ /* @__PURE__ */ import_react.default.createElement(
115
+ "img",
116
+ {
117
+ src: image,
118
+ alt: name,
119
+ style: {
120
+ width: "48px",
121
+ height: "48px",
122
+ borderRadius: "50%",
123
+ objectFit: "cover",
124
+ border: `2px solid ${color}`
125
+ }
126
+ }
127
+ ),
128
+ /* @__PURE__ */ import_react.default.createElement("div", null, /* @__PURE__ */ import_react.default.createElement(
129
+ "h3",
130
+ {
131
+ style: {
132
+ margin: "0 0 4px",
133
+ fontSize: "15px",
134
+ fontWeight: "600"
135
+ }
136
+ },
137
+ name
138
+ ), /* @__PURE__ */ import_react.default.createElement(
139
+ "p",
140
+ {
141
+ style: {
142
+ margin: 0,
143
+ fontSize: "13px",
144
+ color: "rgba(255,255,255,0.5)"
145
+ }
146
+ },
147
+ role
148
+ ))
149
+ )
150
+ );
151
+ };
152
+ // Annotate the CommonJS export names for ESM import in node:
153
+ 0 && (module.exports = {
154
+ TestimonialCard
155
+ });
@@ -0,0 +1,6 @@
1
+ import {
2
+ TestimonialCard
3
+ } from "../../chunk-M2MU6Y4N.mjs";
4
+ export {
5
+ TestimonialCard
6
+ };
package/dist/index.js CHANGED
@@ -40,6 +40,7 @@ __export(index_exports, {
40
40
  ProfileCard: () => ProfileCard,
41
41
  SliderCard: () => SliderCard,
42
42
  SwipeCard: () => SwipeCard,
43
+ TestimonialCard: () => TestimonialCard,
43
44
  ThumbnailCard: () => ThumbnailCard
44
45
  });
45
46
  module.exports = __toCommonJS(index_exports);
@@ -1093,6 +1094,125 @@ var ProductCard = ({
1093
1094
  )
1094
1095
  );
1095
1096
  };
1097
+
1098
+ // src/components/TestimonialCard/TestimonialCard.jsx
1099
+ var import_react13 = __toESM(require("react"));
1100
+ var TestimonialCard = ({
1101
+ image = "https://i.pravatar.cc/150?img=12",
1102
+ name = "Sarah Johnson",
1103
+ role = "Product Designer",
1104
+ review = "This product completely changed the way I work. The experience is smooth, intuitive, and incredibly easy to use.",
1105
+ rating = 5,
1106
+ color = "#6366f1"
1107
+ }) => {
1108
+ return /* @__PURE__ */ import_react13.default.createElement(
1109
+ "div",
1110
+ {
1111
+ style: {
1112
+ width: "320px",
1113
+ padding: "24px",
1114
+ borderRadius: "20px",
1115
+ background: "rgba(255,255,255,0.08)",
1116
+ border: "1px solid rgba(255,255,255,0.12)",
1117
+ backdropFilter: "blur(12px)",
1118
+ WebkitBackdropFilter: "blur(12px)",
1119
+ color: "#fff",
1120
+ boxShadow: "0 10px 30px rgba(0,0,0,0.2)"
1121
+ }
1122
+ },
1123
+ /* @__PURE__ */ import_react13.default.createElement(
1124
+ "div",
1125
+ {
1126
+ style: {
1127
+ fontSize: "40px",
1128
+ lineHeight: "1",
1129
+ color,
1130
+ marginBottom: "14px",
1131
+ fontFamily: "Georgia, serif"
1132
+ }
1133
+ },
1134
+ "\u201C"
1135
+ ),
1136
+ /* @__PURE__ */ import_react13.default.createElement(
1137
+ "p",
1138
+ {
1139
+ style: {
1140
+ margin: "0 0 20px",
1141
+ fontSize: "15px",
1142
+ lineHeight: "1.7",
1143
+ color: "rgba(255,255,255,0.75)"
1144
+ }
1145
+ },
1146
+ review
1147
+ ),
1148
+ /* @__PURE__ */ import_react13.default.createElement(
1149
+ "div",
1150
+ {
1151
+ style: {
1152
+ display: "flex",
1153
+ gap: "4px",
1154
+ marginBottom: "20px"
1155
+ }
1156
+ },
1157
+ [1, 2, 3, 4, 5].map((star) => /* @__PURE__ */ import_react13.default.createElement(
1158
+ "span",
1159
+ {
1160
+ key: star,
1161
+ style: {
1162
+ color: star <= rating ? "#fbbf24" : "rgba(255,255,255,0.2)",
1163
+ fontSize: "18px"
1164
+ }
1165
+ },
1166
+ "\u2605"
1167
+ ))
1168
+ ),
1169
+ /* @__PURE__ */ import_react13.default.createElement(
1170
+ "div",
1171
+ {
1172
+ style: {
1173
+ display: "flex",
1174
+ alignItems: "center",
1175
+ gap: "12px"
1176
+ }
1177
+ },
1178
+ /* @__PURE__ */ import_react13.default.createElement(
1179
+ "img",
1180
+ {
1181
+ src: image,
1182
+ alt: name,
1183
+ style: {
1184
+ width: "48px",
1185
+ height: "48px",
1186
+ borderRadius: "50%",
1187
+ objectFit: "cover",
1188
+ border: `2px solid ${color}`
1189
+ }
1190
+ }
1191
+ ),
1192
+ /* @__PURE__ */ import_react13.default.createElement("div", null, /* @__PURE__ */ import_react13.default.createElement(
1193
+ "h3",
1194
+ {
1195
+ style: {
1196
+ margin: "0 0 4px",
1197
+ fontSize: "15px",
1198
+ fontWeight: "600"
1199
+ }
1200
+ },
1201
+ name
1202
+ ), /* @__PURE__ */ import_react13.default.createElement(
1203
+ "p",
1204
+ {
1205
+ style: {
1206
+ margin: 0,
1207
+ fontSize: "13px",
1208
+ color: "rgba(255,255,255,0.5)"
1209
+ }
1210
+ },
1211
+ role
1212
+ ))
1213
+ )
1214
+ );
1215
+ };
1096
1216
  // Annotate the CommonJS export names for ESM import in node:
1097
1217
  0 && (module.exports = {
1098
1218
  AnimatedProgressBar,
@@ -1106,5 +1226,6 @@ var ProductCard = ({
1106
1226
  ProfileCard,
1107
1227
  SliderCard,
1108
1228
  SwipeCard,
1229
+ TestimonialCard,
1109
1230
  ThumbnailCard
1110
1231
  });
package/dist/index.mjs CHANGED
@@ -10,6 +10,9 @@ import {
10
10
  import {
11
11
  SwipeCard
12
12
  } from "./chunk-XD6E2QQI.mjs";
13
+ import {
14
+ TestimonialCard
15
+ } from "./chunk-M2MU6Y4N.mjs";
13
16
  import {
14
17
  ThumbnailCard
15
18
  } from "./chunk-57QJO5RD.mjs";
@@ -46,5 +49,6 @@ export {
46
49
  ProfileCard,
47
50
  SliderCard,
48
51
  SwipeCard,
52
+ TestimonialCard,
49
53
  ThumbnailCard
50
54
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omui-lib",
3
- "version": "1.0.8",
3
+ "version": "1.0.10",
4
4
  "description": "omUI react component library",
5
5
  "license": "ISC",
6
6
  "author": "Om Mohanty",