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 +15 -20
- package/dist/index.mjs +15 -20
- package/package.json +1 -1
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 = "
|
|
176
|
-
|
|
177
|
-
|
|
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
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
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 = "
|
|
132
|
-
|
|
133
|
-
|
|
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
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
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
|