biggerui 1.0.5 → 1.0.6
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/biggerui.cjs.js +39 -33
- package/dist/biggerui.cjs.js.map +1 -1
- package/dist/biggerui.css +145 -76
- package/dist/biggerui.es.js +39 -33
- package/dist/biggerui.es.js.map +1 -1
- package/package.json +1 -1
package/dist/biggerui.cjs.js
CHANGED
|
@@ -25,20 +25,22 @@ function _interopNamespaceDefault(e) {
|
|
|
25
25
|
|
|
26
26
|
const React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
|
|
27
27
|
|
|
28
|
-
const button = "
|
|
29
|
-
const
|
|
30
|
-
const
|
|
31
|
-
const
|
|
32
|
-
const
|
|
33
|
-
const
|
|
34
|
-
const
|
|
35
|
-
const
|
|
36
|
-
const
|
|
37
|
-
const
|
|
28
|
+
const button = "_button_12key_1";
|
|
29
|
+
const loader = "_loader_12key_26";
|
|
30
|
+
const fullWidth = "_fullWidth_12key_85";
|
|
31
|
+
const destructive = "_destructive_12key_98";
|
|
32
|
+
const secondary = "_secondary_12key_107";
|
|
33
|
+
const sm = "_sm_12key_122";
|
|
34
|
+
const lg = "_lg_12key_127";
|
|
35
|
+
const iconLeft = "_iconLeft_12key_132";
|
|
36
|
+
const iconRight = "_iconRight_12key_133";
|
|
37
|
+
const disabled = "_disabled_12key_140";
|
|
38
|
+
const label$3 = "_label_12key_145";
|
|
38
39
|
const styles$5 = {
|
|
39
40
|
button: button,
|
|
41
|
+
loader: loader,
|
|
40
42
|
fullWidth: fullWidth,
|
|
41
|
-
"default": "
|
|
43
|
+
"default": "_default_12key_89",
|
|
42
44
|
destructive: destructive,
|
|
43
45
|
secondary: secondary,
|
|
44
46
|
sm: sm,
|
|
@@ -57,19 +59,23 @@ function Button({
|
|
|
57
59
|
className = "",
|
|
58
60
|
disabled = false,
|
|
59
61
|
children,
|
|
62
|
+
loading = false,
|
|
63
|
+
progress = 0,
|
|
60
64
|
...props
|
|
61
65
|
}) {
|
|
62
66
|
const classes = [
|
|
63
67
|
styles$5.button,
|
|
64
68
|
styles$5[color],
|
|
65
69
|
styles$5[size],
|
|
70
|
+
loading ? styles$5.loading : "",
|
|
66
71
|
disabled ? styles$5.disabled : "",
|
|
67
72
|
className
|
|
68
73
|
].filter(Boolean).join(" ");
|
|
69
74
|
return /* @__PURE__ */ jsxRuntime.jsxs("button", { className: classes, disabled, ...props, children: [
|
|
70
75
|
leftIcon && /* @__PURE__ */ jsxRuntime.jsx("span", { className: styles$5.iconLeft, children: leftIcon }),
|
|
71
76
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: styles$5.label, children }),
|
|
72
|
-
rightIcon && /* @__PURE__ */ jsxRuntime.jsx("span", { className: styles$5.iconRight, children: rightIcon })
|
|
77
|
+
rightIcon && /* @__PURE__ */ jsxRuntime.jsx("span", { className: styles$5.iconRight, children: rightIcon }),
|
|
78
|
+
loading && /* @__PURE__ */ jsxRuntime.jsx("span", { style: { "--progress": progress }, className: styles$5.loader })
|
|
73
79
|
] });
|
|
74
80
|
}
|
|
75
81
|
|
|
@@ -10428,13 +10434,13 @@ const featureBundle = {
|
|
|
10428
10434
|
|
|
10429
10435
|
const motion = /*@__PURE__*/ createMotionProxy(featureBundle, createDomVisualElement);
|
|
10430
10436
|
|
|
10431
|
-
const overlay = "
|
|
10432
|
-
const content = "
|
|
10433
|
-
const header = "
|
|
10434
|
-
const title = "
|
|
10435
|
-
const body = "
|
|
10436
|
-
const footer = "
|
|
10437
|
-
const closeButton = "
|
|
10437
|
+
const overlay = "_overlay_1narp_1";
|
|
10438
|
+
const content = "_content_1narp_11";
|
|
10439
|
+
const header = "_header_1narp_29";
|
|
10440
|
+
const title = "_title_1narp_38";
|
|
10441
|
+
const body = "_body_1narp_48";
|
|
10442
|
+
const footer = "_footer_1narp_58";
|
|
10443
|
+
const closeButton = "_closeButton_1narp_66";
|
|
10438
10444
|
const styles$3 = {
|
|
10439
10445
|
overlay: overlay,
|
|
10440
10446
|
content: content,
|
|
@@ -10584,20 +10590,20 @@ const Input = ({
|
|
|
10584
10590
|
] });
|
|
10585
10591
|
};
|
|
10586
10592
|
|
|
10587
|
-
const wrapper$1 = "
|
|
10588
|
-
const label$1 = "
|
|
10589
|
-
const trigger = "
|
|
10590
|
-
const triggerOpen = "
|
|
10591
|
-
const value = "
|
|
10592
|
-
const placeholder = "
|
|
10593
|
-
const hint = "
|
|
10594
|
-
const icon = "
|
|
10595
|
-
const dropdown = "
|
|
10596
|
-
const dropdownInner = "
|
|
10597
|
-
const option = "
|
|
10598
|
-
const optionActive = "
|
|
10599
|
-
const optionLabel = "
|
|
10600
|
-
const optionHint = "
|
|
10593
|
+
const wrapper$1 = "_wrapper_12upp_1";
|
|
10594
|
+
const label$1 = "_label_12upp_9";
|
|
10595
|
+
const trigger = "_trigger_12upp_19";
|
|
10596
|
+
const triggerOpen = "_triggerOpen_12upp_36";
|
|
10597
|
+
const value = "_value_12upp_40";
|
|
10598
|
+
const placeholder = "_placeholder_12upp_52";
|
|
10599
|
+
const hint = "_hint_12upp_61";
|
|
10600
|
+
const icon = "_icon_12upp_67";
|
|
10601
|
+
const dropdown = "_dropdown_12upp_73";
|
|
10602
|
+
const dropdownInner = "_dropdownInner_12upp_81";
|
|
10603
|
+
const option = "_option_12upp_91";
|
|
10604
|
+
const optionActive = "_optionActive_12upp_109";
|
|
10605
|
+
const optionLabel = "_optionLabel_12upp_113";
|
|
10606
|
+
const optionHint = "_optionHint_12upp_120";
|
|
10601
10607
|
const styles$1 = {
|
|
10602
10608
|
wrapper: wrapper$1,
|
|
10603
10609
|
label: label$1,
|