virtual-ui-lib 1.0.10 → 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.
package/dist/index.js CHANGED
@@ -172,27 +172,22 @@ var Input = ({
172
172
  // src/components/Badge/Badge.jsx
173
173
  var import_react4 = __toESM(require("react"));
174
174
  var Badge = ({
175
- text = "Badge",
176
- bg = "#111",
177
- color = "white",
178
- radius = "12px",
179
- padding = "4px 10px",
180
- size = "12px"
175
+ text = "NEW",
176
+ color = "#ffffff",
177
+ bgColor = "#2563eb",
178
+ radius = "12px"
181
179
  }) => {
182
- return /* @__PURE__ */ import_react4.default.createElement(
183
- "span",
184
- {
185
- style: {
186
- background: bg,
187
- color,
188
- padding,
189
- borderRadius: radius,
190
- fontSize: size,
191
- display: "inline-block"
192
- }
193
- },
194
- text
195
- );
180
+ return /* @__PURE__ */ import_react4.default.createElement("div", { style: {
181
+ background: bgColor,
182
+ color,
183
+ borderRadius: radius,
184
+ padding: "8px 12px",
185
+ fontSize: "14px",
186
+ fontWeight: "600",
187
+ display: "inline-block",
188
+ boxShadow: "0 4px 10px rgba(0,0,0,0.2)",
189
+ fontFamily: "system-ui, sans-serif"
190
+ } }, text);
196
191
  };
197
192
 
198
193
  // src/components/Alert/Alert.jsx
package/dist/index.mjs CHANGED
@@ -128,27 +128,22 @@ var Input = ({
128
128
  // src/components/Badge/Badge.jsx
129
129
  import React4 from "react";
130
130
  var Badge = ({
131
- text = "Badge",
132
- bg = "#111",
133
- color = "white",
134
- radius = "12px",
135
- padding = "4px 10px",
136
- size = "12px"
131
+ text = "NEW",
132
+ color = "#ffffff",
133
+ bgColor = "#2563eb",
134
+ radius = "12px"
137
135
  }) => {
138
- return /* @__PURE__ */ React4.createElement(
139
- "span",
140
- {
141
- style: {
142
- background: bg,
143
- color,
144
- padding,
145
- borderRadius: radius,
146
- fontSize: size,
147
- display: "inline-block"
148
- }
149
- },
150
- text
151
- );
136
+ return /* @__PURE__ */ React4.createElement("div", { style: {
137
+ background: bgColor,
138
+ color,
139
+ borderRadius: radius,
140
+ padding: "8px 12px",
141
+ fontSize: "14px",
142
+ fontWeight: "600",
143
+ display: "inline-block",
144
+ boxShadow: "0 4px 10px rgba(0,0,0,0.2)",
145
+ fontFamily: "system-ui, sans-serif"
146
+ } }, text);
152
147
  };
153
148
 
154
149
  // src/components/Alert/Alert.jsx
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "virtual-ui-lib",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "description": "Virtual UI React Component Library",
5
5
  "author": "Ankush",
6
6
  "license": "ISC",