virtual-ui-lib 1.0.44 → 1.0.45
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 +8 -0
- package/dist/index.mjs +7 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -31,6 +31,7 @@ var index_exports = {};
|
|
|
31
31
|
__export(index_exports, {
|
|
32
32
|
CodeBlock: () => CodeBlock,
|
|
33
33
|
CustomInputField: () => CustomInputField,
|
|
34
|
+
LoadingSpinner: () => LoadingSpinner,
|
|
34
35
|
OtpInput: () => OtpInput,
|
|
35
36
|
SearchBar: () => SearchBar,
|
|
36
37
|
SmartButton: () => SmartButton,
|
|
@@ -467,10 +468,17 @@ var SearchBar = ({
|
|
|
467
468
|
onChange(suggestion);
|
|
468
469
|
} }, suggestion))));
|
|
469
470
|
};
|
|
471
|
+
|
|
472
|
+
// src/components/LoadingSpinner/LoadingSpinner.jsx
|
|
473
|
+
var import_react9 = __toESM(require("react"));
|
|
474
|
+
var LoadingSpinner = ({ size = "40px", color = "#7c3aed", speed = "1s" }) => {
|
|
475
|
+
return /* @__PURE__ */ import_react9.default.createElement("div", { style: { border: `4px solid ${color}`, borderTop: `4px solid transparent`, borderRadius: "50%", width: size, height: size, animation: `spin ${speed} linear infinite` } });
|
|
476
|
+
};
|
|
470
477
|
// Annotate the CommonJS export names for ESM import in node:
|
|
471
478
|
0 && (module.exports = {
|
|
472
479
|
CodeBlock,
|
|
473
480
|
CustomInputField,
|
|
481
|
+
LoadingSpinner,
|
|
474
482
|
OtpInput,
|
|
475
483
|
SearchBar,
|
|
476
484
|
SmartButton,
|
package/dist/index.mjs
CHANGED
|
@@ -425,9 +425,16 @@ var SearchBar = ({
|
|
|
425
425
|
onChange(suggestion);
|
|
426
426
|
} }, suggestion))));
|
|
427
427
|
};
|
|
428
|
+
|
|
429
|
+
// src/components/LoadingSpinner/LoadingSpinner.jsx
|
|
430
|
+
import React9 from "react";
|
|
431
|
+
var LoadingSpinner = ({ size = "40px", color = "#7c3aed", speed = "1s" }) => {
|
|
432
|
+
return /* @__PURE__ */ React9.createElement("div", { style: { border: `4px solid ${color}`, borderTop: `4px solid transparent`, borderRadius: "50%", width: size, height: size, animation: `spin ${speed} linear infinite` } });
|
|
433
|
+
};
|
|
428
434
|
export {
|
|
429
435
|
CodeBlock,
|
|
430
436
|
CustomInputField,
|
|
437
|
+
LoadingSpinner,
|
|
431
438
|
OtpInput,
|
|
432
439
|
SearchBar,
|
|
433
440
|
SmartButton,
|