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.
@@ -25,20 +25,22 @@ function _interopNamespaceDefault(e) {
25
25
 
26
26
  const React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
27
27
 
28
- const button = "_button_1cxsm_1";
29
- const fullWidth = "_fullWidth_1cxsm_21";
30
- const destructive = "_destructive_1cxsm_34";
31
- const secondary = "_secondary_1cxsm_43";
32
- const sm = "_sm_1cxsm_58";
33
- const lg = "_lg_1cxsm_63";
34
- const iconLeft = "_iconLeft_1cxsm_68";
35
- const iconRight = "_iconRight_1cxsm_69";
36
- const disabled = "_disabled_1cxsm_76";
37
- const label$3 = "_label_1cxsm_81";
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": "_default_1cxsm_25",
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 = "_overlay_oc9ef_1";
10432
- const content = "_content_oc9ef_11";
10433
- const header = "_header_oc9ef_29";
10434
- const title = "_title_oc9ef_38";
10435
- const body = "_body_oc9ef_48";
10436
- const footer = "_footer_oc9ef_58";
10437
- const closeButton = "_closeButton_oc9ef_66";
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 = "_wrapper_f03cq_1";
10588
- const label$1 = "_label_f03cq_9";
10589
- const trigger = "_trigger_f03cq_19";
10590
- const triggerOpen = "_triggerOpen_f03cq_36";
10591
- const value = "_value_f03cq_40";
10592
- const placeholder = "_placeholder_f03cq_52";
10593
- const hint = "_hint_f03cq_61";
10594
- const icon = "_icon_f03cq_67";
10595
- const dropdown = "_dropdown_f03cq_73";
10596
- const dropdownInner = "_dropdownInner_f03cq_81";
10597
- const option = "_option_f03cq_91";
10598
- const optionActive = "_optionActive_f03cq_109";
10599
- const optionLabel = "_optionLabel_f03cq_113";
10600
- const optionHint = "_optionHint_f03cq_120";
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,