omui-lib 1.0.9 → 1.0.11

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,159 @@
1
+ // src/components/BlogCard/BlogCard.jsx
2
+ import React from "react";
3
+ var BlogCard = ({
4
+ image = "https://images.unsplash.com/photo-1499750310107-5fef28a66643",
5
+ category = "Technology",
6
+ title = "The Future of Artificial Intelligence",
7
+ description = "Explore how artificial intelligence is transforming the way we build products, solve problems, and interact with technology.",
8
+ author = "Om Mohanty",
9
+ date = "July 21, 2026",
10
+ readTime = "5 min read",
11
+ buttonText = "Read Article",
12
+ color = "#6366f1"
13
+ }) => {
14
+ return /* @__PURE__ */ React.createElement(
15
+ "div",
16
+ {
17
+ style: {
18
+ width: "340px",
19
+ overflow: "hidden",
20
+ borderRadius: "20px",
21
+ background: "rgba(255,255,255,0.08)",
22
+ border: "1px solid rgba(255,255,255,0.12)",
23
+ backdropFilter: "blur(12px)",
24
+ WebkitBackdropFilter: "blur(12px)",
25
+ color: "#fff",
26
+ boxShadow: "0 10px 30px rgba(0,0,0,0.2)"
27
+ }
28
+ },
29
+ /* @__PURE__ */ React.createElement(
30
+ "div",
31
+ {
32
+ style: {
33
+ position: "relative",
34
+ width: "100%",
35
+ height: "210px",
36
+ overflow: "hidden"
37
+ }
38
+ },
39
+ /* @__PURE__ */ React.createElement(
40
+ "img",
41
+ {
42
+ src: image,
43
+ alt: title,
44
+ style: {
45
+ width: "100%",
46
+ height: "100%",
47
+ objectFit: "cover"
48
+ }
49
+ }
50
+ ),
51
+ /* @__PURE__ */ React.createElement(
52
+ "span",
53
+ {
54
+ style: {
55
+ position: "absolute",
56
+ top: "14px",
57
+ left: "14px",
58
+ padding: "6px 12px",
59
+ borderRadius: "20px",
60
+ background: color,
61
+ color: "#fff",
62
+ fontSize: "12px",
63
+ fontWeight: "600"
64
+ }
65
+ },
66
+ category
67
+ )
68
+ ),
69
+ /* @__PURE__ */ React.createElement(
70
+ "div",
71
+ {
72
+ style: {
73
+ padding: "20px"
74
+ }
75
+ },
76
+ /* @__PURE__ */ React.createElement(
77
+ "h2",
78
+ {
79
+ style: {
80
+ margin: "0 0 10px",
81
+ fontSize: "20px",
82
+ lineHeight: "1.4",
83
+ fontWeight: "600"
84
+ }
85
+ },
86
+ title
87
+ ),
88
+ /* @__PURE__ */ React.createElement(
89
+ "p",
90
+ {
91
+ style: {
92
+ margin: "0 0 18px",
93
+ fontSize: "14px",
94
+ lineHeight: "1.6",
95
+ color: "rgba(255,255,255,0.6)"
96
+ }
97
+ },
98
+ description
99
+ ),
100
+ /* @__PURE__ */ React.createElement(
101
+ "div",
102
+ {
103
+ style: {
104
+ display: "flex",
105
+ justifyContent: "space-between",
106
+ alignItems: "center",
107
+ paddingBottom: "16px",
108
+ marginBottom: "16px",
109
+ borderBottom: "1px solid rgba(255,255,255,0.1)",
110
+ fontSize: "12px",
111
+ color: "rgba(255,255,255,0.5)"
112
+ }
113
+ },
114
+ /* @__PURE__ */ React.createElement("span", null, author),
115
+ /* @__PURE__ */ React.createElement("span", null, date)
116
+ ),
117
+ /* @__PURE__ */ React.createElement(
118
+ "div",
119
+ {
120
+ style: {
121
+ display: "flex",
122
+ justifyContent: "space-between",
123
+ alignItems: "center"
124
+ }
125
+ },
126
+ /* @__PURE__ */ React.createElement(
127
+ "span",
128
+ {
129
+ style: {
130
+ fontSize: "12px",
131
+ color: "rgba(255,255,255,0.5)"
132
+ }
133
+ },
134
+ readTime
135
+ ),
136
+ /* @__PURE__ */ React.createElement(
137
+ "button",
138
+ {
139
+ style: {
140
+ border: "none",
141
+ background: "transparent",
142
+ color,
143
+ fontSize: "14px",
144
+ fontWeight: "600",
145
+ cursor: "pointer",
146
+ padding: "6px 0"
147
+ }
148
+ },
149
+ buttonText,
150
+ " \u2192"
151
+ )
152
+ )
153
+ )
154
+ );
155
+ };
156
+
157
+ export {
158
+ BlogCard
159
+ };
@@ -0,0 +1,192 @@
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/BlogCard/BlogCard.jsx
30
+ var BlogCard_exports = {};
31
+ __export(BlogCard_exports, {
32
+ BlogCard: () => BlogCard
33
+ });
34
+ module.exports = __toCommonJS(BlogCard_exports);
35
+ var import_react = __toESM(require("react"));
36
+ var BlogCard = ({
37
+ image = "https://images.unsplash.com/photo-1499750310107-5fef28a66643",
38
+ category = "Technology",
39
+ title = "The Future of Artificial Intelligence",
40
+ description = "Explore how artificial intelligence is transforming the way we build products, solve problems, and interact with technology.",
41
+ author = "Om Mohanty",
42
+ date = "July 21, 2026",
43
+ readTime = "5 min read",
44
+ buttonText = "Read Article",
45
+ color = "#6366f1"
46
+ }) => {
47
+ return /* @__PURE__ */ import_react.default.createElement(
48
+ "div",
49
+ {
50
+ style: {
51
+ width: "340px",
52
+ overflow: "hidden",
53
+ borderRadius: "20px",
54
+ background: "rgba(255,255,255,0.08)",
55
+ border: "1px solid rgba(255,255,255,0.12)",
56
+ backdropFilter: "blur(12px)",
57
+ WebkitBackdropFilter: "blur(12px)",
58
+ color: "#fff",
59
+ boxShadow: "0 10px 30px rgba(0,0,0,0.2)"
60
+ }
61
+ },
62
+ /* @__PURE__ */ import_react.default.createElement(
63
+ "div",
64
+ {
65
+ style: {
66
+ position: "relative",
67
+ width: "100%",
68
+ height: "210px",
69
+ overflow: "hidden"
70
+ }
71
+ },
72
+ /* @__PURE__ */ import_react.default.createElement(
73
+ "img",
74
+ {
75
+ src: image,
76
+ alt: title,
77
+ style: {
78
+ width: "100%",
79
+ height: "100%",
80
+ objectFit: "cover"
81
+ }
82
+ }
83
+ ),
84
+ /* @__PURE__ */ import_react.default.createElement(
85
+ "span",
86
+ {
87
+ style: {
88
+ position: "absolute",
89
+ top: "14px",
90
+ left: "14px",
91
+ padding: "6px 12px",
92
+ borderRadius: "20px",
93
+ background: color,
94
+ color: "#fff",
95
+ fontSize: "12px",
96
+ fontWeight: "600"
97
+ }
98
+ },
99
+ category
100
+ )
101
+ ),
102
+ /* @__PURE__ */ import_react.default.createElement(
103
+ "div",
104
+ {
105
+ style: {
106
+ padding: "20px"
107
+ }
108
+ },
109
+ /* @__PURE__ */ import_react.default.createElement(
110
+ "h2",
111
+ {
112
+ style: {
113
+ margin: "0 0 10px",
114
+ fontSize: "20px",
115
+ lineHeight: "1.4",
116
+ fontWeight: "600"
117
+ }
118
+ },
119
+ title
120
+ ),
121
+ /* @__PURE__ */ import_react.default.createElement(
122
+ "p",
123
+ {
124
+ style: {
125
+ margin: "0 0 18px",
126
+ fontSize: "14px",
127
+ lineHeight: "1.6",
128
+ color: "rgba(255,255,255,0.6)"
129
+ }
130
+ },
131
+ description
132
+ ),
133
+ /* @__PURE__ */ import_react.default.createElement(
134
+ "div",
135
+ {
136
+ style: {
137
+ display: "flex",
138
+ justifyContent: "space-between",
139
+ alignItems: "center",
140
+ paddingBottom: "16px",
141
+ marginBottom: "16px",
142
+ borderBottom: "1px solid rgba(255,255,255,0.1)",
143
+ fontSize: "12px",
144
+ color: "rgba(255,255,255,0.5)"
145
+ }
146
+ },
147
+ /* @__PURE__ */ import_react.default.createElement("span", null, author),
148
+ /* @__PURE__ */ import_react.default.createElement("span", null, date)
149
+ ),
150
+ /* @__PURE__ */ import_react.default.createElement(
151
+ "div",
152
+ {
153
+ style: {
154
+ display: "flex",
155
+ justifyContent: "space-between",
156
+ alignItems: "center"
157
+ }
158
+ },
159
+ /* @__PURE__ */ import_react.default.createElement(
160
+ "span",
161
+ {
162
+ style: {
163
+ fontSize: "12px",
164
+ color: "rgba(255,255,255,0.5)"
165
+ }
166
+ },
167
+ readTime
168
+ ),
169
+ /* @__PURE__ */ import_react.default.createElement(
170
+ "button",
171
+ {
172
+ style: {
173
+ border: "none",
174
+ background: "transparent",
175
+ color,
176
+ fontSize: "14px",
177
+ fontWeight: "600",
178
+ cursor: "pointer",
179
+ padding: "6px 0"
180
+ }
181
+ },
182
+ buttonText,
183
+ " \u2192"
184
+ )
185
+ )
186
+ )
187
+ );
188
+ };
189
+ // Annotate the CommonJS export names for ESM import in node:
190
+ 0 && (module.exports = {
191
+ BlogCard
192
+ });
@@ -0,0 +1,6 @@
1
+ import {
2
+ BlogCard
3
+ } from "../../chunk-KIF4X4NE.mjs";
4
+ export {
5
+ BlogCard
6
+ };
package/dist/index.js CHANGED
@@ -30,6 +30,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
30
30
  var index_exports = {};
31
31
  __export(index_exports, {
32
32
  AnimatedProgressBar: () => AnimatedProgressBar,
33
+ BlogCard: () => BlogCard,
33
34
  Button: () => Button,
34
35
  CommentCard: () => CommentCard,
35
36
  Graph: () => Graph,
@@ -1213,9 +1214,166 @@ var TestimonialCard = ({
1213
1214
  )
1214
1215
  );
1215
1216
  };
1217
+
1218
+ // src/components/BlogCard/BlogCard.jsx
1219
+ var import_react14 = __toESM(require("react"));
1220
+ var BlogCard = ({
1221
+ image = "https://images.unsplash.com/photo-1499750310107-5fef28a66643",
1222
+ category = "Technology",
1223
+ title = "The Future of Artificial Intelligence",
1224
+ description = "Explore how artificial intelligence is transforming the way we build products, solve problems, and interact with technology.",
1225
+ author = "Om Mohanty",
1226
+ date = "July 21, 2026",
1227
+ readTime = "5 min read",
1228
+ buttonText = "Read Article",
1229
+ color = "#6366f1"
1230
+ }) => {
1231
+ return /* @__PURE__ */ import_react14.default.createElement(
1232
+ "div",
1233
+ {
1234
+ style: {
1235
+ width: "340px",
1236
+ overflow: "hidden",
1237
+ borderRadius: "20px",
1238
+ background: "rgba(255,255,255,0.08)",
1239
+ border: "1px solid rgba(255,255,255,0.12)",
1240
+ backdropFilter: "blur(12px)",
1241
+ WebkitBackdropFilter: "blur(12px)",
1242
+ color: "#fff",
1243
+ boxShadow: "0 10px 30px rgba(0,0,0,0.2)"
1244
+ }
1245
+ },
1246
+ /* @__PURE__ */ import_react14.default.createElement(
1247
+ "div",
1248
+ {
1249
+ style: {
1250
+ position: "relative",
1251
+ width: "100%",
1252
+ height: "210px",
1253
+ overflow: "hidden"
1254
+ }
1255
+ },
1256
+ /* @__PURE__ */ import_react14.default.createElement(
1257
+ "img",
1258
+ {
1259
+ src: image,
1260
+ alt: title,
1261
+ style: {
1262
+ width: "100%",
1263
+ height: "100%",
1264
+ objectFit: "cover"
1265
+ }
1266
+ }
1267
+ ),
1268
+ /* @__PURE__ */ import_react14.default.createElement(
1269
+ "span",
1270
+ {
1271
+ style: {
1272
+ position: "absolute",
1273
+ top: "14px",
1274
+ left: "14px",
1275
+ padding: "6px 12px",
1276
+ borderRadius: "20px",
1277
+ background: color,
1278
+ color: "#fff",
1279
+ fontSize: "12px",
1280
+ fontWeight: "600"
1281
+ }
1282
+ },
1283
+ category
1284
+ )
1285
+ ),
1286
+ /* @__PURE__ */ import_react14.default.createElement(
1287
+ "div",
1288
+ {
1289
+ style: {
1290
+ padding: "20px"
1291
+ }
1292
+ },
1293
+ /* @__PURE__ */ import_react14.default.createElement(
1294
+ "h2",
1295
+ {
1296
+ style: {
1297
+ margin: "0 0 10px",
1298
+ fontSize: "20px",
1299
+ lineHeight: "1.4",
1300
+ fontWeight: "600"
1301
+ }
1302
+ },
1303
+ title
1304
+ ),
1305
+ /* @__PURE__ */ import_react14.default.createElement(
1306
+ "p",
1307
+ {
1308
+ style: {
1309
+ margin: "0 0 18px",
1310
+ fontSize: "14px",
1311
+ lineHeight: "1.6",
1312
+ color: "rgba(255,255,255,0.6)"
1313
+ }
1314
+ },
1315
+ description
1316
+ ),
1317
+ /* @__PURE__ */ import_react14.default.createElement(
1318
+ "div",
1319
+ {
1320
+ style: {
1321
+ display: "flex",
1322
+ justifyContent: "space-between",
1323
+ alignItems: "center",
1324
+ paddingBottom: "16px",
1325
+ marginBottom: "16px",
1326
+ borderBottom: "1px solid rgba(255,255,255,0.1)",
1327
+ fontSize: "12px",
1328
+ color: "rgba(255,255,255,0.5)"
1329
+ }
1330
+ },
1331
+ /* @__PURE__ */ import_react14.default.createElement("span", null, author),
1332
+ /* @__PURE__ */ import_react14.default.createElement("span", null, date)
1333
+ ),
1334
+ /* @__PURE__ */ import_react14.default.createElement(
1335
+ "div",
1336
+ {
1337
+ style: {
1338
+ display: "flex",
1339
+ justifyContent: "space-between",
1340
+ alignItems: "center"
1341
+ }
1342
+ },
1343
+ /* @__PURE__ */ import_react14.default.createElement(
1344
+ "span",
1345
+ {
1346
+ style: {
1347
+ fontSize: "12px",
1348
+ color: "rgba(255,255,255,0.5)"
1349
+ }
1350
+ },
1351
+ readTime
1352
+ ),
1353
+ /* @__PURE__ */ import_react14.default.createElement(
1354
+ "button",
1355
+ {
1356
+ style: {
1357
+ border: "none",
1358
+ background: "transparent",
1359
+ color,
1360
+ fontSize: "14px",
1361
+ fontWeight: "600",
1362
+ cursor: "pointer",
1363
+ padding: "6px 0"
1364
+ }
1365
+ },
1366
+ buttonText,
1367
+ " \u2192"
1368
+ )
1369
+ )
1370
+ )
1371
+ );
1372
+ };
1216
1373
  // Annotate the CommonJS export names for ESM import in node:
1217
1374
  0 && (module.exports = {
1218
1375
  AnimatedProgressBar,
1376
+ BlogCard,
1219
1377
  Button,
1220
1378
  CommentCard,
1221
1379
  Graph,
package/dist/index.mjs CHANGED
@@ -1,3 +1,9 @@
1
+ import {
2
+ TestimonialCard
3
+ } from "./chunk-M2MU6Y4N.mjs";
4
+ import {
5
+ PricingCard
6
+ } from "./chunk-FGTNFYFJ.mjs";
1
7
  import {
2
8
  ProductCard
3
9
  } from "./chunk-TVYAQSOM.mjs";
@@ -10,15 +16,15 @@ import {
10
16
  import {
11
17
  SwipeCard
12
18
  } from "./chunk-XD6E2QQI.mjs";
13
- import {
14
- TestimonialCard
15
- } from "./chunk-M2MU6Y4N.mjs";
16
19
  import {
17
20
  ThumbnailCard
18
21
  } from "./chunk-57QJO5RD.mjs";
19
22
  import {
20
23
  AnimatedProgressBar
21
24
  } from "./chunk-VA6HDMVP.mjs";
25
+ import {
26
+ BlogCard
27
+ } from "./chunk-KIF4X4NE.mjs";
22
28
  import {
23
29
  Button
24
30
  } from "./chunk-5LA6VVEY.mjs";
@@ -34,11 +40,9 @@ import {
34
40
  import {
35
41
  Loader
36
42
  } from "./chunk-XGVKPI3O.mjs";
37
- import {
38
- PricingCard
39
- } from "./chunk-FGTNFYFJ.mjs";
40
43
  export {
41
44
  AnimatedProgressBar,
45
+ BlogCard,
42
46
  Button,
43
47
  CommentCard,
44
48
  Graph,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omui-lib",
3
- "version": "1.0.9",
3
+ "version": "1.0.11",
4
4
  "description": "omUI react component library",
5
5
  "license": "ISC",
6
6
  "author": "Om Mohanty",