virtual-ui-lib 1.0.50 → 1.0.51
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 -0
- package/dist/index.mjs +14 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -32,6 +32,7 @@ __export(index_exports, {
|
|
|
32
32
|
Avatar: () => Avatar,
|
|
33
33
|
CodeBlock: () => CodeBlock,
|
|
34
34
|
CustomInputField: () => CustomInputField,
|
|
35
|
+
DividerLine: () => DividerLine,
|
|
35
36
|
FileUpload: () => FileUpload,
|
|
36
37
|
Loader: () => Loader,
|
|
37
38
|
LoadingSpinner: () => LoadingSpinner,
|
|
@@ -648,11 +649,25 @@ var Avatar = ({
|
|
|
648
649
|
objectFit: "cover"
|
|
649
650
|
} }));
|
|
650
651
|
};
|
|
652
|
+
|
|
653
|
+
// src/components/DividerLine/DividerLine.jsx
|
|
654
|
+
var import_react15 = __toESM(require("react"));
|
|
655
|
+
var DividerLine = ({
|
|
656
|
+
text = "Section",
|
|
657
|
+
textColor = "#f1f5f9",
|
|
658
|
+
lineColor = "#334155",
|
|
659
|
+
spacing = "20px",
|
|
660
|
+
thickness = "2px",
|
|
661
|
+
borderRadius = "4px"
|
|
662
|
+
}) => {
|
|
663
|
+
return /* @__PURE__ */ import_react15.default.createElement("div", { style: { display: "flex", alignItems: "center", margin: spacing } }, /* @__PURE__ */ import_react15.default.createElement("div", { style: { flex: 1, height: thickness, background: lineColor, borderRadius } }), /* @__PURE__ */ import_react15.default.createElement("span", { style: { margin: "0 12px", color: textColor, fontSize: "14px", fontWeight: "600" } }, text), /* @__PURE__ */ import_react15.default.createElement("div", { style: { flex: 1, height: thickness, background: lineColor, borderRadius } }));
|
|
664
|
+
};
|
|
651
665
|
// Annotate the CommonJS export names for ESM import in node:
|
|
652
666
|
0 && (module.exports = {
|
|
653
667
|
Avatar,
|
|
654
668
|
CodeBlock,
|
|
655
669
|
CustomInputField,
|
|
670
|
+
DividerLine,
|
|
656
671
|
FileUpload,
|
|
657
672
|
Loader,
|
|
658
673
|
LoadingSpinner,
|
package/dist/index.mjs
CHANGED
|
@@ -600,10 +600,24 @@ var Avatar = ({
|
|
|
600
600
|
objectFit: "cover"
|
|
601
601
|
} }));
|
|
602
602
|
};
|
|
603
|
+
|
|
604
|
+
// src/components/DividerLine/DividerLine.jsx
|
|
605
|
+
import React15 from "react";
|
|
606
|
+
var DividerLine = ({
|
|
607
|
+
text = "Section",
|
|
608
|
+
textColor = "#f1f5f9",
|
|
609
|
+
lineColor = "#334155",
|
|
610
|
+
spacing = "20px",
|
|
611
|
+
thickness = "2px",
|
|
612
|
+
borderRadius = "4px"
|
|
613
|
+
}) => {
|
|
614
|
+
return /* @__PURE__ */ React15.createElement("div", { style: { display: "flex", alignItems: "center", margin: spacing } }, /* @__PURE__ */ React15.createElement("div", { style: { flex: 1, height: thickness, background: lineColor, borderRadius } }), /* @__PURE__ */ React15.createElement("span", { style: { margin: "0 12px", color: textColor, fontSize: "14px", fontWeight: "600" } }, text), /* @__PURE__ */ React15.createElement("div", { style: { flex: 1, height: thickness, background: lineColor, borderRadius } }));
|
|
615
|
+
};
|
|
603
616
|
export {
|
|
604
617
|
Avatar,
|
|
605
618
|
CodeBlock,
|
|
606
619
|
CustomInputField,
|
|
620
|
+
DividerLine,
|
|
607
621
|
FileUpload,
|
|
608
622
|
Loader,
|
|
609
623
|
LoadingSpinner,
|