@bloomreach/react-banana-ui 1.16.0 → 1.17.0

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.
@@ -7489,7 +7489,46 @@ const N9 = s((e, t) => {
7489
7489
  );
7490
7490
  });
7491
7491
  N9.displayName = "AssetTag";
7492
- const A9 = s(
7492
+ const A9 = s((e, t) => {
7493
+ const {
7494
+ className: r,
7495
+ children: o,
7496
+ content: l,
7497
+ variant: c = "default",
7498
+ narrow: i = !1,
7499
+ ...u
7500
+ // Capture any other properties to pass them to the root element, like `aria-*`, `data-*`, etc.
7501
+ } = e;
7502
+ return /* @__PURE__ */ ue(
7503
+ "div",
7504
+ {
7505
+ role: "status",
7506
+ className: z(
7507
+ "rbui-badge",
7508
+ `rbui-badge--${c}`,
7509
+ { "rbui-badge--narrow-padding": i },
7510
+ r
7511
+ ),
7512
+ ref: t,
7513
+ ...u,
7514
+ children: [
7515
+ o,
7516
+ /* @__PURE__ */ a(
7517
+ "div",
7518
+ {
7519
+ className: z(
7520
+ "rbui-badge__content",
7521
+ { "rbui-badge__content--notification": o }
7522
+ ),
7523
+ children: l
7524
+ }
7525
+ )
7526
+ ]
7527
+ }
7528
+ );
7529
+ });
7530
+ A9.displayName = "Badge";
7531
+ const P9 = s(
7493
7532
  (e, t) => {
7494
7533
  const {
7495
7534
  className: r,
@@ -7519,7 +7558,7 @@ const A9 = s(
7519
7558
  );
7520
7559
  }
7521
7560
  );
7522
- A9.displayName = "FilterTag";
7561
+ P9.displayName = "FilterTag";
7523
7562
  const Nn = s((e, t) => {
7524
7563
  const {
7525
7564
  className: r,
@@ -7561,14 +7600,14 @@ const yt = N0(null);
7561
7600
  function An() {
7562
7601
  return f0(yt);
7563
7602
  }
7564
- const P9 = { variant: "body" }, T9 = s((e, t) => {
7603
+ const T9 = { variant: "body" }, F9 = s((e, t) => {
7565
7604
  const {
7566
7605
  className: r,
7567
7606
  children: o,
7568
7607
  ...l
7569
7608
  // Capture any other properties to pass them to the root element, like `aria-*`, `data-*`, etc.
7570
7609
  } = e;
7571
- return /* @__PURE__ */ a(yt.Provider, { value: P9, children: /* @__PURE__ */ a(
7610
+ return /* @__PURE__ */ a(yt.Provider, { value: T9, children: /* @__PURE__ */ a(
7572
7611
  "tbody",
7573
7612
  {
7574
7613
  className: z("rbui-table-body", r),
@@ -7578,18 +7617,18 @@ const P9 = { variant: "body" }, T9 = s((e, t) => {
7578
7617
  }
7579
7618
  ) });
7580
7619
  });
7581
- T9.displayName = "TableBody";
7620
+ F9.displayName = "TableBody";
7582
7621
  const Pn = N0(null);
7583
- function F9() {
7622
+ function V9() {
7584
7623
  return f0(Pn);
7585
7624
  }
7586
- const V9 = s((e, t) => {
7625
+ const H9 = s((e, t) => {
7587
7626
  const {
7588
7627
  className: r,
7589
7628
  children: o,
7590
7629
  ...l
7591
7630
  // Capture any other properties to pass them to the root element, like `aria-*`, `data-*`, etc.
7592
- } = e, c = F9();
7631
+ } = e, c = V9();
7593
7632
  if (!c)
7594
7633
  throw new Error("TableCellAction must be used within a `TableRowContext.Provider`");
7595
7634
  const { highlighted: i } = c;
@@ -7603,8 +7642,8 @@ const V9 = s((e, t) => {
7603
7642
  }
7604
7643
  ) : null;
7605
7644
  });
7606
- V9.displayName = "TableCellAction";
7607
- const H9 = s((e, t) => {
7645
+ H9.displayName = "TableCellAction";
7646
+ const L9 = s((e, t) => {
7608
7647
  const {
7609
7648
  className: r,
7610
7649
  children: o,
@@ -7626,8 +7665,8 @@ const H9 = s((e, t) => {
7626
7665
  }
7627
7666
  );
7628
7667
  });
7629
- H9.displayName = "TableCell";
7630
- const L9 = s((e, t) => {
7668
+ L9.displayName = "TableCell";
7669
+ const O9 = s((e, t) => {
7631
7670
  const {
7632
7671
  className: r,
7633
7672
  children: o,
@@ -7645,8 +7684,8 @@ const L9 = s((e, t) => {
7645
7684
  }
7646
7685
  ) });
7647
7686
  });
7648
- L9.displayName = "TableFoot";
7649
- const O9 = s((e, t) => {
7687
+ O9.displayName = "TableFoot";
7688
+ const k9 = s((e, t) => {
7650
7689
  const {
7651
7690
  className: r,
7652
7691
  children: o,
@@ -7663,7 +7702,7 @@ const O9 = s((e, t) => {
7663
7702
  }
7664
7703
  ) });
7665
7704
  });
7666
- O9.displayName = "TableHead";
7705
+ k9.displayName = "TableHead";
7667
7706
  function Et({
7668
7707
  onEnter: e,
7669
7708
  onLeave: t
@@ -7682,10 +7721,10 @@ function Et({
7682
7721
  };
7683
7722
  }
7684
7723
  const Tn = N0(null);
7685
- function k9() {
7724
+ function $9() {
7686
7725
  return f0(Tn);
7687
7726
  }
7688
- const $9 = s((e, t) => {
7727
+ const B9 = s((e, t) => {
7689
7728
  const {
7690
7729
  className: r,
7691
7730
  children: o,
@@ -7697,7 +7736,7 @@ const $9 = s((e, t) => {
7697
7736
  onMouseLeave: d,
7698
7737
  ...f
7699
7738
  // Capture any other properties to pass them to the root element, like `aria-*`, `data-*`, etc.
7700
- } = e, [m, g] = Oe(!1), { hovered: p, handlers: v } = Et({ onEnter: h, onLeave: d }), b = Qe(), y = k9(), E = An(), R = p || m, x = We(() => ({ highlighted: R }), [R]);
7739
+ } = e, [m, g] = Oe(!1), { hovered: p, handlers: v } = Et({ onEnter: h, onLeave: d }), b = Qe(), y = $9(), E = An(), R = p || m, x = We(() => ({ highlighted: R }), [R]);
7701
7740
  M0(() => () => {
7702
7741
  window.clearTimeout(b.current);
7703
7742
  }, []);
@@ -7730,8 +7769,8 @@ const $9 = s((e, t) => {
7730
7769
  }
7731
7770
  ) });
7732
7771
  });
7733
- $9.displayName = "TableRow";
7734
- const B9 = s((e, t) => {
7772
+ B9.displayName = "TableRow";
7773
+ const _9 = s((e, t) => {
7735
7774
  const {
7736
7775
  children: r,
7737
7776
  className: o,
@@ -7759,8 +7798,8 @@ const B9 = s((e, t) => {
7759
7798
  }
7760
7799
  );
7761
7800
  });
7762
- B9.displayName = "TableSortLabel";
7763
- const _9 = s((e, t) => {
7801
+ _9.displayName = "TableSortLabel";
7802
+ const D9 = s((e, t) => {
7764
7803
  const {
7765
7804
  className: r,
7766
7805
  children: o,
@@ -7778,7 +7817,7 @@ const _9 = s((e, t) => {
7778
7817
  }
7779
7818
  ) });
7780
7819
  });
7781
- _9.displayName = "Table";
7820
+ D9.displayName = "Table";
7782
7821
  const Fn = s((e, t) => {
7783
7822
  const {
7784
7823
  className: r,
@@ -7789,7 +7828,7 @@ const Fn = s((e, t) => {
7789
7828
  return /* @__PURE__ */ a("div", { ...l, className: z("rbui-tag-group", r), ref: t, children: o });
7790
7829
  });
7791
7830
  Fn.displayName = "TagGroup";
7792
- const D9 = {
7831
+ const U9 = {
7793
7832
  "heading-xl": "h1",
7794
7833
  "heading-1": "h1",
7795
7834
  "heading-2": "h2",
@@ -7805,7 +7844,7 @@ const D9 = {
7805
7844
  "text-mono": "code",
7806
7845
  "text-mono-small": "code",
7807
7846
  default: "p"
7808
- }, U9 = s(
7847
+ }, W9 = s(
7809
7848
  (e, t) => {
7810
7849
  const {
7811
7850
  className: r,
@@ -7815,7 +7854,7 @@ const D9 = {
7815
7854
  color: i,
7816
7855
  ...u
7817
7856
  // Capture any other properties to pass them to the root element, like `aria-*`, `data-*`, etc.
7818
- } = e, h = l || D9[c || "default"], d = z(
7857
+ } = e, h = l || U9[c || "default"], d = z(
7819
7858
  "rbui-typography",
7820
7859
  c && `rbui-typography--${c}`,
7821
7860
  i && `rbui-typography--color-${i}`,
@@ -7824,16 +7863,16 @@ const D9 = {
7824
7863
  return /* @__PURE__ */ a(h, { ...u, className: d, ref: t, children: o });
7825
7864
  }
7826
7865
  );
7827
- U9.displayName = "Typography";
7828
- function W9(e) {
7866
+ W9.displayName = "Typography";
7867
+ function j9(e) {
7829
7868
  const { open: t, onOpenChange: r, children: o } = e, { contextValue: l } = Kr({
7830
7869
  open: t,
7831
7870
  onOpenChange: r
7832
7871
  });
7833
7872
  return /* @__PURE__ */ a(P0.Provider, { value: l, children: o });
7834
7873
  }
7835
- W9.displayName = "Menu";
7836
- const j9 = s((e, t) => {
7874
+ j9.displayName = "Menu";
7875
+ const q9 = s((e, t) => {
7837
7876
  const { children: r, disabled: o = !1, type: l, htmlType: c, ...i } = e, { getRootProps: u } = sa({
7838
7877
  disabled: o,
7839
7878
  focusableWhenDisabled: !1,
@@ -7850,8 +7889,8 @@ const j9 = s((e, t) => {
7850
7889
  });
7851
7890
  return /* @__PURE__ */ a(He, { ...f, htmlType: c, type: l, children: r });
7852
7891
  });
7853
- j9.displayName = "MenuButton";
7854
- const q9 = s(
7892
+ q9.displayName = "MenuButton";
7893
+ const K9 = s(
7855
7894
  (e, t) => {
7856
7895
  const { children: r, className: o, placement: l = "bottom-end" } = e, { contextValue: c, getListboxProps: i, open: u, listboxRef: h, triggerElement: d } = Co({
7857
7896
  disabledItemsFocusable: !1,
@@ -7870,18 +7909,18 @@ const q9 = s(
7870
7909
  ) });
7871
7910
  }
7872
7911
  );
7873
- q9.displayName = "MenuContent";
7874
- function K9(e) {
7912
+ K9.displayName = "MenuContent";
7913
+ function z9(e) {
7875
7914
  const { children: t, className: r, ...o } = e, l = z("rbui-menu-group", r);
7876
7915
  return /* @__PURE__ */ a("li", { className: "rbui-menu-group__container", children: /* @__PURE__ */ a("ul", { role: "group", className: l, ...o, children: t }) });
7877
7916
  }
7878
- K9.displayName = "MenuGroup";
7879
- function z9(e) {
7917
+ z9.displayName = "MenuGroup";
7918
+ function G9(e) {
7880
7919
  const { children: t, className: r, ...o } = e, l = z("rbui-menu-group__label", r);
7881
7920
  return /* @__PURE__ */ a("li", { role: "presentation", className: l, ...o, children: t });
7882
7921
  }
7883
- z9.displayName = "MenuGroupLabel";
7884
- const G9 = s(
7922
+ G9.displayName = "MenuGroupLabel";
7923
+ const Y9 = s(
7885
7924
  (e, t) => {
7886
7925
  const { children: r, disabled: o = !1, startIcon: l, className: c, ...i } = e, { getRootProps: u, disabled: h, highlighted: d } = da({
7887
7926
  disabled: o,
@@ -7903,18 +7942,18 @@ const G9 = s(
7903
7942
  ] });
7904
7943
  }
7905
7944
  );
7906
- G9.displayName = "MenuItem";
7907
- function Y9() {
7945
+ Y9.displayName = "MenuItem";
7946
+ function X9() {
7908
7947
  return /* @__PURE__ */ a("li", { role: "separator", "aria-orientation": "horizontal", "aria-hidden": !0, className: "rbui-menu-separator" });
7909
7948
  }
7910
- Y9.displayName = "MenuSeparator";
7911
- const X9 = {
7949
+ X9.displayName = "MenuSeparator";
7950
+ const J9 = {
7912
7951
  error: (e) => /* @__PURE__ */ a(sn, { ...e }),
7913
7952
  info: (e) => /* @__PURE__ */ a(un, { ...e }),
7914
7953
  success: (e) => /* @__PURE__ */ a(rn, { ...e }),
7915
7954
  warning: (e) => /* @__PURE__ */ a(fn, { ...e })
7916
7955
  };
7917
- function $m(e) {
7956
+ function Bm(e) {
7918
7957
  const {
7919
7958
  actions: t,
7920
7959
  children: r,
@@ -7933,7 +7972,7 @@ function $m(e) {
7933
7972
  role: i,
7934
7973
  ...h,
7935
7974
  children: [
7936
- l !== !1 ? /* @__PURE__ */ a("div", { className: `rbui-alert__icon rbui-alert__icon--${u}`, children: l || X9[u]() }) : null,
7975
+ l !== !1 ? /* @__PURE__ */ a("div", { className: `rbui-alert__icon rbui-alert__icon--${u}`, children: l || J9[u]() }) : null,
7937
7976
  /* @__PURE__ */ ue("div", { className: "rbui-alert__content", children: [
7938
7977
  r,
7939
7978
  t ? /* @__PURE__ */ a("div", { className: "rbui-alert__actions", children: t }) : null
@@ -7952,21 +7991,21 @@ function $m(e) {
7952
7991
  }
7953
7992
  );
7954
7993
  }
7955
- function Bm(e) {
7994
+ function _m(e) {
7956
7995
  const { children: t, className: r } = e;
7957
7996
  return /* @__PURE__ */ a("div", { className: z("rbui-alert-title", r), children: t });
7958
7997
  }
7959
- function J9(e, t) {
7998
+ function Q9(e, t) {
7960
7999
  typeof e == "function" ? e(t) : e && (e.current = t);
7961
8000
  }
7962
- function Q9(...e) {
8001
+ function em(...e) {
7963
8002
  return We(() => e.every((t) => t == null) ? null : (t) => {
7964
8003
  e.forEach((r) => {
7965
- J9(r, t);
8004
+ Q9(r, t);
7966
8005
  });
7967
8006
  }, e);
7968
8007
  }
7969
- const em = (e, t) => /* @__PURE__ */ a("input", { ...e, ref: t }), O0 = s((e, t) => {
8008
+ const tm = (e, t) => /* @__PURE__ */ a("input", { ...e, ref: t }), O0 = s((e, t) => {
7970
8009
  const {
7971
8010
  className: r,
7972
8011
  clearable: o,
@@ -7987,11 +8026,11 @@ const em = (e, t) => /* @__PURE__ */ a("input", { ...e, ref: t }), O0 = s((e, t)
7987
8026
  placeholder: R,
7988
8027
  readOnly: x,
7989
8028
  required: I,
7990
- renderInput: C = em,
8029
+ renderInput: C = tm,
7991
8030
  rightElement: P,
7992
8031
  value: F,
7993
8032
  ...T
7994
- } = e, L = F == null, $ = Qe(null), K = Q9($, d), [H, j] = Oe(L ? l : ""), U = L ? H : F;
8033
+ } = e, L = F == null, $ = Qe(null), K = em($, d), [H, j] = Oe(L ? l : ""), U = L ? H : F;
7995
8034
  M0(() => {
7996
8035
  y == null || y((U == null ? void 0 : U.length) ?? 0);
7997
8036
  }, [U, y]);
@@ -8068,7 +8107,7 @@ const Vn = N0(null);
8068
8107
  function Hn() {
8069
8108
  return f0(Vn);
8070
8109
  }
8071
- const tm = s((e, t) => {
8110
+ const nm = s((e, t) => {
8072
8111
  const { open: r, className: o, ...l } = e;
8073
8112
  return /* @__PURE__ */ a(
8074
8113
  "div",
@@ -8078,7 +8117,7 @@ const tm = s((e, t) => {
8078
8117
  ...l
8079
8118
  }
8080
8119
  );
8081
- }), nm = s((e, t) => {
8120
+ }), rm = s((e, t) => {
8082
8121
  const {
8083
8122
  open: r,
8084
8123
  children: o,
@@ -8099,13 +8138,13 @@ const tm = s((e, t) => {
8099
8138
  className: z("rbui-modal", i),
8100
8139
  open: r,
8101
8140
  onClose: d,
8102
- slots: { backdrop: _r(tm) },
8141
+ slots: { backdrop: _r(nm) },
8103
8142
  ...h,
8104
8143
  children: /* @__PURE__ */ a("div", { className: z("rbui-modal__wrapper", `rbui-modal__wrapper--${l}`), children: o })
8105
8144
  }
8106
8145
  ) });
8107
8146
  });
8108
- nm.displayName = "Modal";
8147
+ rm.displayName = "Modal";
8109
8148
  function Ln(e) {
8110
8149
  const {
8111
8150
  className: t,
@@ -8120,7 +8159,7 @@ function Ln(e) {
8120
8159
  }, className: t, children: r });
8121
8160
  }
8122
8161
  Ln.displayName = "ModalCloseButton";
8123
- const rm = s((e, t) => {
8162
+ const om = s((e, t) => {
8124
8163
  const {
8125
8164
  children: r,
8126
8165
  className: o,
@@ -8134,8 +8173,8 @@ const rm = s((e, t) => {
8134
8173
  i && /* @__PURE__ */ a(Ln, { className: "rbui-modal__header-close", startIcon: /* @__PURE__ */ a(L0, {}) })
8135
8174
  ] });
8136
8175
  });
8137
- rm.displayName = "ModalHeader";
8138
- const om = s((e, t) => {
8176
+ om.displayName = "ModalHeader";
8177
+ const am = s((e, t) => {
8139
8178
  const {
8140
8179
  className: r,
8141
8180
  children: o,
@@ -8143,8 +8182,8 @@ const om = s((e, t) => {
8143
8182
  } = e;
8144
8183
  return /* @__PURE__ */ a("div", { ...l, ref: t, className: z("rbui-modal__header-title", r), children: o });
8145
8184
  });
8146
- om.displayName = "ModalHeaderTitle";
8147
- const am = s((e, t) => {
8185
+ am.displayName = "ModalHeaderTitle";
8186
+ const lm = s((e, t) => {
8148
8187
  const {
8149
8188
  children: r,
8150
8189
  padding: o = "narrow",
@@ -8153,8 +8192,8 @@ const am = s((e, t) => {
8153
8192
  } = e;
8154
8193
  return /* @__PURE__ */ a("div", { ...c, ref: t, className: z("rbui-modal__body", `rbui-modal__body--${o}`, l), children: r });
8155
8194
  });
8156
- am.displayName = "ModalBody";
8157
- const lm = s((e, t) => {
8195
+ lm.displayName = "ModalBody";
8196
+ const cm = s((e, t) => {
8158
8197
  const {
8159
8198
  children: r,
8160
8199
  className: o,
@@ -8162,8 +8201,8 @@ const lm = s((e, t) => {
8162
8201
  } = e;
8163
8202
  return /* @__PURE__ */ a("div", { ...l, ref: t, className: z("rbui-modal__footer", o), children: r });
8164
8203
  });
8165
- lm.displayName = "ModalFooter";
8166
- const cm = s((e, t) => {
8204
+ cm.displayName = "ModalFooter";
8205
+ const sm = s((e, t) => {
8167
8206
  const {
8168
8207
  className: r,
8169
8208
  children: o,
@@ -8171,7 +8210,7 @@ const cm = s((e, t) => {
8171
8210
  } = e;
8172
8211
  return /* @__PURE__ */ a("div", { ...l, ref: t, className: z("rbui-modal__footer--actions", r), children: o });
8173
8212
  });
8174
- cm.displayName = "ModalFooterActions";
8213
+ sm.displayName = "ModalFooterActions";
8175
8214
  const xt = () => /* @__PURE__ */ a("span", { children: " " }), t0 = s((e, t) => {
8176
8215
  const {
8177
8216
  className: r,
@@ -8401,7 +8440,7 @@ const On = s((e, t) => {
8401
8440
  );
8402
8441
  });
8403
8442
  On.displayName = "Toggle";
8404
- const sm = (e, t) => /* @__PURE__ */ n.createElement("svg", { width: 12, height: 8, viewBox: "0 0 12 8", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", ref: t, ...e }, /* @__PURE__ */ n.createElement("path", { d: "M2.35331 3.43965C1.95179 3.06044 1.31889 3.07853 0.939676 3.48004C0.560465 3.88156 0.578548 4.51447 0.980066 4.89368L3.98006 7.72701C4.38158 8.10622 5.01449 8.08814 5.3937 7.68662L11.0604 1.68663C11.4396 1.28511 11.4215 0.652201 11.02 0.272989C10.6185 -0.106222 9.98555 -0.0881392 9.60634 0.313379L4.6263 5.58636L2.35331 3.43965Z" })), im = s(sm), um = (e, t) => /* @__PURE__ */ n.createElement("svg", { width: 8, height: 2, viewBox: "0 0 8 2", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", ref: t, ...e }, /* @__PURE__ */ n.createElement("rect", { width: 8, height: 2, rx: 1 })), dm = s(um);
8443
+ const im = (e, t) => /* @__PURE__ */ n.createElement("svg", { width: 12, height: 8, viewBox: "0 0 12 8", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", ref: t, ...e }, /* @__PURE__ */ n.createElement("path", { d: "M2.35331 3.43965C1.95179 3.06044 1.31889 3.07853 0.939676 3.48004C0.560465 3.88156 0.578548 4.51447 0.980066 4.89368L3.98006 7.72701C4.38158 8.10622 5.01449 8.08814 5.3937 7.68662L11.0604 1.68663C11.4396 1.28511 11.4215 0.652201 11.02 0.272989C10.6185 -0.106222 9.98555 -0.0881392 9.60634 0.313379L4.6263 5.58636L2.35331 3.43965Z" })), um = s(im), dm = (e, t) => /* @__PURE__ */ n.createElement("svg", { width: 8, height: 2, viewBox: "0 0 8 2", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", ref: t, ...e }, /* @__PURE__ */ n.createElement("rect", { width: 8, height: 2, rx: 1 })), hm = s(dm);
8405
8444
  const kn = s((e, t) => {
8406
8445
  const {
8407
8446
  className: r,
@@ -8419,7 +8458,7 @@ const kn = s((e, t) => {
8419
8458
  return;
8420
8459
  const F = P.target.checked;
8421
8460
  v || p(F), i == null || i(P);
8422
- }, x = b || d, I = d ? /* @__PURE__ */ a(dm, {}) : /* @__PURE__ */ a(im, {}), C = z("rbui-checkbox", r, {
8461
+ }, x = b || d, I = d ? /* @__PURE__ */ a(hm, {}) : /* @__PURE__ */ a(um, {}), C = z("rbui-checkbox", r, {
8423
8462
  "rbui-checkbox--checked": x,
8424
8463
  "rbui-checkbox--disabled": c,
8425
8464
  "rbui-checkbox--readonly": u,
@@ -8494,10 +8533,10 @@ const E0 = s((e, t) => {
8494
8533
  );
8495
8534
  });
8496
8535
  E0.displayName = "ListboxItem";
8497
- const hm = (e) => e, fm = ({ key: e, group: t, children: r }) => /* @__PURE__ */ ue(Bn, { children: [
8536
+ const fm = (e) => e, mm = ({ key: e, group: t, children: r }) => /* @__PURE__ */ ue(Bn, { children: [
8498
8537
  /* @__PURE__ */ a($n, { children: t }),
8499
8538
  r
8500
- ] }, e), mm = (e) => {
8539
+ ] }, e), pm = (e) => {
8501
8540
  const [t, r] = Oe(void 0);
8502
8541
  return M0(() => {
8503
8542
  const o = new ResizeObserver((l) => {
@@ -8507,7 +8546,7 @@ const hm = (e) => e, fm = ({ key: e, group: t, children: r }) => /* @__PURE__ */
8507
8546
  o.disconnect();
8508
8547
  };
8509
8548
  }, [e]), t;
8510
- }, pm = s((e, t) => {
8549
+ }, gm = s((e, t) => {
8511
8550
  const {
8512
8551
  className: r,
8513
8552
  clearable: o = !1,
@@ -8515,7 +8554,7 @@ const hm = (e) => e, fm = ({ key: e, group: t, children: r }) => /* @__PURE__ */
8515
8554
  defaultValue: c,
8516
8555
  disabled: i = !1,
8517
8556
  getOptionDisabled: u,
8518
- getOptionLabel: h = hm,
8557
+ getOptionLabel: h = fm,
8519
8558
  groupBy: d,
8520
8559
  hideSelectedOptions: f = !1,
8521
8560
  loading: m = !1,
@@ -8605,7 +8644,7 @@ const hm = (e) => e, fm = ({ key: e, group: t, children: r }) => /* @__PURE__ */
8605
8644
  ...ge
8606
8645
  }
8607
8646
  );
8608
- }, ce = M ? g1 : p1, { ref: ee, ...ne } = $(), re = h0([t, B]), J = U(), _ = mm(T);
8647
+ }, ce = M ? g1 : p1, { ref: ee, ...ne } = $(), re = h0([t, B]), J = U(), _ = pm(T);
8609
8648
  return /* @__PURE__ */ ue(x0, { children: [
8610
8649
  /* @__PURE__ */ a(
8611
8650
  O0,
@@ -8656,7 +8695,7 @@ const hm = (e) => e, fm = ({ key: e, group: t, children: r }) => /* @__PURE__ */
8656
8695
  Z.map((G, Q) => {
8657
8696
  if (d) {
8658
8697
  const ie = G;
8659
- return fm({
8698
+ return mm({
8660
8699
  ...ie,
8661
8700
  children: ie.options.map((k, ge) => O(k, ge + ie.index))
8662
8701
  });
@@ -8672,9 +8711,9 @@ const hm = (e) => e, fm = ({ key: e, group: t, children: r }) => /* @__PURE__ */
8672
8711
  )
8673
8712
  ] });
8674
8713
  });
8675
- pm.displayName = "Autocomplete";
8714
+ gm.displayName = "Autocomplete";
8676
8715
  const n0 = (e) => `${e}-${Math.round(Math.random() * 1e3)}`;
8677
- const gm = s((e, t) => {
8716
+ const vm = s((e, t) => {
8678
8717
  const {
8679
8718
  checked: r,
8680
8719
  className: o,
@@ -8714,8 +8753,8 @@ const gm = s((e, t) => {
8714
8753
  }
8715
8754
  );
8716
8755
  });
8717
- gm.displayName = "CheckboxField";
8718
- const vm = s((e, t) => {
8756
+ vm.displayName = "CheckboxField";
8757
+ const wm = s((e, t) => {
8719
8758
  const {
8720
8759
  className: r,
8721
8760
  clearable: o,
@@ -8775,8 +8814,8 @@ const vm = s((e, t) => {
8775
8814
  }
8776
8815
  );
8777
8816
  });
8778
- vm.displayName = "InputField";
8779
- const _n = d5.createContext(void 0), wm = (e, t) => /* @__PURE__ */ n.createElement("svg", { width: 8, height: 8, viewBox: "0 0 8 8", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", ref: t, ...e }, /* @__PURE__ */ n.createElement("circle", { cx: 4, cy: 4, r: 4 })), bm = s(wm);
8817
+ wm.displayName = "InputField";
8818
+ const _n = d5.createContext(void 0), bm = (e, t) => /* @__PURE__ */ n.createElement("svg", { width: 8, height: 8, viewBox: "0 0 8 8", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", ref: t, ...e }, /* @__PURE__ */ n.createElement("circle", { cx: 4, cy: 4, r: 4 })), ym = s(bm);
8780
8819
  const Dn = s((e, t) => {
8781
8820
  const {
8782
8821
  checked: r,
@@ -8835,7 +8874,7 @@ const Dn = s((e, t) => {
8835
8874
  ...g,
8836
8875
  ...L,
8837
8876
  children: [
8838
- /* @__PURE__ */ a("div", { className: "rbui-radio__inner", "aria-hidden": !0, children: E && /* @__PURE__ */ a(bm, {}) }),
8877
+ /* @__PURE__ */ a("div", { className: "rbui-radio__inner", "aria-hidden": !0, children: E && /* @__PURE__ */ a(ym, {}) }),
8839
8878
  /* @__PURE__ */ a(
8840
8879
  "input",
8841
8880
  {
@@ -8851,7 +8890,7 @@ const Dn = s((e, t) => {
8851
8890
  );
8852
8891
  });
8853
8892
  Dn.displayName = "Radio";
8854
- const ym = s(
8893
+ const Em = s(
8855
8894
  (e, t) => {
8856
8895
  const {
8857
8896
  checked: r,
@@ -8895,8 +8934,8 @@ const ym = s(
8895
8934
  );
8896
8935
  }
8897
8936
  );
8898
- ym.displayName = "RadioField";
8899
- const Em = s(
8937
+ Em.displayName = "RadioField";
8938
+ const xm = s(
8900
8939
  (e, t) => {
8901
8940
  const {
8902
8941
  children: r,
@@ -8958,8 +8997,8 @@ const Em = s(
8958
8997
  ) });
8959
8998
  }
8960
8999
  );
8961
- Em.displayName = "RadioGroup";
8962
- const xm = s((e, t) => {
9000
+ xm.displayName = "RadioGroup";
9001
+ const Cm = s((e, t) => {
8963
9002
  const {
8964
9003
  children: r,
8965
9004
  className: o,
@@ -9005,7 +9044,7 @@ const xm = s((e, t) => {
9005
9044
  }
9006
9045
  );
9007
9046
  });
9008
- xm.displayName = "SelectField";
9047
+ Cm.displayName = "SelectField";
9009
9048
  const Un = s((e, t) => {
9010
9049
  var y, E;
9011
9050
  const { children: r, value: o, className: l, label: c, disabled: i = !1, ...u } = e, h = Qe(null), d = h0([h, t]), f = c ?? (typeof r == "string" ? r : (E = (y = h.current) == null ? void 0 : y.textContent) == null ? void 0 : E.trim()), { getRootProps: m, highlighted: g, selected: p, rootRef: v } = Ra({
@@ -9029,7 +9068,7 @@ const Un = s((e, t) => {
9029
9068
  );
9030
9069
  });
9031
9070
  Un.displayName = "SelectOption";
9032
- const Cm = s((e, t) => {
9071
+ const Rm = s((e, t) => {
9033
9072
  const {
9034
9073
  autoSize: r,
9035
9074
  className: o,
@@ -9099,8 +9138,8 @@ const Cm = s((e, t) => {
9099
9138
  }
9100
9139
  );
9101
9140
  });
9102
- Cm.displayName = "TextField";
9103
- const Rm = s((e, t) => {
9141
+ Rm.displayName = "TextField";
9142
+ const Im = s((e, t) => {
9104
9143
  const {
9105
9144
  className: r,
9106
9145
  inputProps: o,
@@ -9140,17 +9179,17 @@ const Rm = s((e, t) => {
9140
9179
  }
9141
9180
  );
9142
9181
  });
9143
- Rm.displayName = "ToggleField";
9182
+ Im.displayName = "ToggleField";
9144
9183
  const Wn = N0(null);
9145
9184
  function Ct() {
9146
9185
  return f0(Wn);
9147
9186
  }
9148
- const Im = [10, 20, 50], Ge = 9, ke = 2;
9149
- function Zm() {
9187
+ const Zm = [10, 20, 50], Ge = 9, ke = 2;
9188
+ function Sm() {
9150
9189
  const e = Ct();
9151
9190
  if (!e)
9152
9191
  throw new Error("PaginationItemsPerPageSelector must be used within a PaginationContext.Provider");
9153
- const { itemsPerPage: t, itemsPerPageOptions: r, onItemsPerPageChange: o } = e, l = (r || Im).map((c) => typeof c == "number" ? {
9192
+ const { itemsPerPage: t, itemsPerPageOptions: r, onItemsPerPageChange: o } = e, l = (r || Zm).map((c) => typeof c == "number" ? {
9154
9193
  label: c.toString(),
9155
9194
  value: c
9156
9195
  } : c);
@@ -9169,7 +9208,7 @@ const Jt = "...";
9169
9208
  function K0(e, t) {
9170
9209
  return Array(t).fill(0).map((r, o) => o + e);
9171
9210
  }
9172
- function Sm(e, t) {
9211
+ function Mm(e, t) {
9173
9212
  const r = [], o = t - 1;
9174
9213
  return t <= Ge ? K0(0, t).map((l) => r.push(l)) : (r.push(0), e <= Ge - ke * 2 ? K0(
9175
9214
  1,
@@ -9182,7 +9221,7 @@ function Sm(e, t) {
9182
9221
  Ge - ke - 1
9183
9222
  ).map((l) => r.push(l)) : r.push(Jt), r.push(o)), r;
9184
9223
  }
9185
- function Mm({ value: e }) {
9224
+ function Nm({ value: e }) {
9186
9225
  const t = Ct();
9187
9226
  if (!t)
9188
9227
  throw new Error("PaginationNavigationItem must be used within a PaginationContext.Provider");
@@ -9205,7 +9244,7 @@ function Mm({ value: e }) {
9205
9244
  }
9206
9245
  );
9207
9246
  }
9208
- function Nm() {
9247
+ function Am() {
9209
9248
  const e = Ct();
9210
9249
  if (!e)
9211
9250
  throw new Error("PaginationNavigation must be used within a PaginationContext.Provider");
@@ -9216,7 +9255,7 @@ function Nm() {
9216
9255
  l == null || l(r + 1);
9217
9256
  }, i = () => {
9218
9257
  l == null || l(r - 1);
9219
- }, u = Sm(r, Math.ceil(t / o));
9258
+ }, u = Mm(r, Math.ceil(t / o));
9220
9259
  return /* @__PURE__ */ a("nav", { role: "navigation", "aria-label": "Pagination Navigation", className: "rbui-pagination__navigation", children: /* @__PURE__ */ ue("ul", { children: [
9221
9260
  /* @__PURE__ */ a("li", { children: /* @__PURE__ */ a(
9222
9261
  He,
@@ -9228,7 +9267,7 @@ function Nm() {
9228
9267
  children: /* @__PURE__ */ a(an, {})
9229
9268
  }
9230
9269
  ) }),
9231
- u.map((h, d) => /* @__PURE__ */ a("li", { children: /* @__PURE__ */ a(Mm, { value: h }) }, `rbui-pagination-${h}-${d}`)),
9270
+ u.map((h, d) => /* @__PURE__ */ a("li", { children: /* @__PURE__ */ a(Nm, { value: h }) }, `rbui-pagination-${h}-${d}`)),
9232
9271
  /* @__PURE__ */ a("li", { children: /* @__PURE__ */ a(
9233
9272
  He,
9234
9273
  {
@@ -9241,7 +9280,7 @@ function Nm() {
9241
9280
  ) })
9242
9281
  ] }) });
9243
9282
  }
9244
- function Am() {
9283
+ function Pm() {
9245
9284
  const e = Ct();
9246
9285
  if (!e)
9247
9286
  throw new Error("PaginationSummary must be used within a PaginationContext.Provider");
@@ -9262,7 +9301,7 @@ function Am() {
9262
9301
  t.toLocaleString()
9263
9302
  ] });
9264
9303
  }
9265
- const Pm = s((e, t) => {
9304
+ const Tm = s((e, t) => {
9266
9305
  const {
9267
9306
  count: r,
9268
9307
  className: o,
@@ -9275,14 +9314,14 @@ const Pm = s((e, t) => {
9275
9314
  } = e;
9276
9315
  return r < 1 ? null : /* @__PURE__ */ a(Wn.Provider, { value: e, children: /* @__PURE__ */ ue("div", { ...d, className: z("rbui-pagination", o), ref: t, children: [
9277
9316
  /* @__PURE__ */ ue("div", { className: "rbui-pagination__left", children: [
9278
- /* @__PURE__ */ a(Zm, {}),
9279
- /* @__PURE__ */ a(Am, {})
9317
+ /* @__PURE__ */ a(Sm, {}),
9318
+ /* @__PURE__ */ a(Pm, {})
9280
9319
  ] }),
9281
- /* @__PURE__ */ a(Nm, {})
9320
+ /* @__PURE__ */ a(Am, {})
9282
9321
  ] }) });
9283
9322
  });
9284
- Pm.displayName = "Pagination";
9285
- const Tm = s((e, t) => {
9323
+ Tm.displayName = "Pagination";
9324
+ const Fm = s((e, t) => {
9286
9325
  const {
9287
9326
  className: r,
9288
9327
  children: o,
@@ -9315,8 +9354,8 @@ const Tm = s((e, t) => {
9315
9354
  o
9316
9355
  ] });
9317
9356
  });
9318
- Tm.displayName = "Tab";
9319
- const Fm = s((e, t) => {
9357
+ Fm.displayName = "Tab";
9358
+ const Vm = s((e, t) => {
9320
9359
  const {
9321
9360
  className: r,
9322
9361
  children: o,
@@ -9334,8 +9373,8 @@ const Fm = s((e, t) => {
9334
9373
  );
9335
9374
  return /* @__PURE__ */ a(La, { value: u, children: /* @__PURE__ */ a("div", { ...h, className: d, children: o }) });
9336
9375
  });
9337
- Fm.displayName = "TabList";
9338
- const Vm = s((e, t) => {
9376
+ Vm.displayName = "TabList";
9377
+ const Hm = s((e, t) => {
9339
9378
  const {
9340
9379
  className: r,
9341
9380
  children: o,
@@ -9351,8 +9390,8 @@ const Vm = s((e, t) => {
9351
9390
  });
9352
9391
  return /* @__PURE__ */ a("div", { ...f, className: m, ref: d, children: (l || !h) && o });
9353
9392
  });
9354
- Vm.displayName = "TabPanel";
9355
- const Hm = s((e, t) => {
9393
+ Hm.displayName = "TabPanel";
9394
+ const Lm = s((e, t) => {
9356
9395
  const {
9357
9396
  className: r,
9358
9397
  children: o,
@@ -9372,12 +9411,12 @@ const Hm = s((e, t) => {
9372
9411
  });
9373
9412
  return /* @__PURE__ */ a(Pa, { value: d, children: /* @__PURE__ */ a("div", { ...h, className: z("rbui-tabs", r), ref: t, children: o }) });
9374
9413
  });
9375
- Hm.displayName = "Tabs";
9414
+ Lm.displayName = "Tabs";
9376
9415
  export {
9377
9416
  Ga as AbTestIcon,
9378
9417
  Ja as AggregateIcon,
9379
- $m as Alert,
9380
- Bm as AlertTitle,
9418
+ Bm as Alert,
9419
+ _m as AlertTitle,
9381
9420
  t2 as AnalyticsIcon,
9382
9421
  o2 as AndroidIcon,
9383
9422
  c2 as AnonymizeIcon,
@@ -9395,9 +9434,10 @@ export {
9395
9434
  nn as ArrowUpIcon,
9396
9435
  N9 as AssetTag,
9397
9436
  W2 as AttributeSlotIcon,
9398
- pm as Autocomplete,
9437
+ gm as Autocomplete,
9399
9438
  K2 as AxisIcon,
9400
9439
  Y2 as AxisLimtIcon,
9440
+ A9 as Badge,
9401
9441
  Q2 as BarChartIcon,
9402
9442
  n7 as BooleanIcon,
9403
9443
  a7 as BoostIcon,
@@ -9419,7 +9459,7 @@ export {
9419
9459
  q7 as CheckIcon,
9420
9460
  on as CheckSmallIcon,
9421
9461
  kn as Checkbox,
9422
- gm as CheckboxField,
9462
+ vm as CheckboxField,
9423
9463
  X7 as ChevronDownFillIcon,
9424
9464
  p1 as ChevronDownIcon,
9425
9465
  nl as ChevronLeftFillIcon,
@@ -9483,7 +9523,7 @@ export {
9483
9523
  si as FileIcon,
9484
9524
  di as FileVideoIcon,
9485
9525
  mi as FilterIcon,
9486
- A9 as FilterTag,
9526
+ P9 as FilterTag,
9487
9527
  vi as FireIcon,
9488
9528
  yi as FolderEmptyIcon,
9489
9529
  Ci as FolderFullIcon,
@@ -9509,7 +9549,7 @@ export {
9509
9549
  dn as InfoFilledIcon,
9510
9550
  S3 as InfoIcon,
9511
9551
  A3 as InfoSmallIcon,
9512
- vm as InputField,
9552
+ wm as InputField,
9513
9553
  Nn as InputTag,
9514
9554
  F3 as InternetIcon,
9515
9555
  L3 as KeyIcon,
@@ -9521,13 +9561,13 @@ export {
9521
9561
  hn as LoaderIcon,
9522
9562
  nu as LockIcon,
9523
9563
  au as MapIcon,
9524
- W9 as Menu,
9525
- j9 as MenuButton,
9526
- q9 as MenuContent,
9527
- K9 as MenuGroup,
9528
- z9 as MenuGroupLabel,
9529
- G9 as MenuItem,
9530
- Y9 as MenuSeparator,
9564
+ j9 as Menu,
9565
+ q9 as MenuButton,
9566
+ K9 as MenuContent,
9567
+ z9 as MenuGroup,
9568
+ G9 as MenuGroupLabel,
9569
+ Y9 as MenuItem,
9570
+ X9 as MenuSeparator,
9531
9571
  su as MetricAltIcon,
9532
9572
  du as MinusIcon,
9533
9573
  mu as MobileAppInboxIcon,
@@ -9537,13 +9577,13 @@ export {
9537
9577
  Zu as MobilePushIcon,
9538
9578
  Nu as MobileSmsIcon,
9539
9579
  Tu as MobileTextMessageIcon,
9540
- nm as Modal,
9541
- am as ModalBody,
9580
+ rm as Modal,
9581
+ lm as ModalBody,
9542
9582
  Ln as ModalCloseButton,
9543
- lm as ModalFooter,
9544
- cm as ModalFooterActions,
9545
- rm as ModalHeader,
9546
- om as ModalHeaderTitle,
9583
+ cm as ModalFooter,
9584
+ sm as ModalFooterActions,
9585
+ om as ModalHeader,
9586
+ am as ModalHeaderTitle,
9547
9587
  Hu as MoveIcon,
9548
9588
  ku as MultiParentRejectedIcon,
9549
9589
  _u as MultiParentSelectedIcon,
@@ -9556,7 +9596,7 @@ export {
9556
9596
  a6 as OfflineIcon,
9557
9597
  s6 as OutOfStockIcon,
9558
9598
  d6 as PagesIcon,
9559
- Pm as Pagination,
9599
+ Tm as Pagination,
9560
9600
  m6 as PaintIcon,
9561
9601
  v6 as ParagraphCenterAlignIcon,
9562
9602
  y6 as ParagraphLeftAlignIcon,
@@ -9578,8 +9618,8 @@ export {
9578
9618
  m4 as PoverButtonIcon,
9579
9619
  v4 as ProductSlotsIcon,
9580
9620
  Dn as Radio,
9581
- ym as RadioField,
9582
- Em as RadioGroup,
9621
+ Em as RadioField,
9622
+ xm as RadioGroup,
9583
9623
  y4 as ReceiveIcon,
9584
9624
  C4 as RefreshIcon,
9585
9625
  Z4 as ReleaseNotesIcon,
@@ -9599,7 +9639,7 @@ export {
9599
9639
  m8 as ScenarioIcon,
9600
9640
  v8 as SearchIcon,
9601
9641
  y8 as SecurityShieldIcon,
9602
- xm as SelectField,
9642
+ Cm as SelectField,
9603
9643
  Un as SelectOption,
9604
9644
  C8 as SendIcon,
9605
9645
  Z8 as SettingsAltIcon,
@@ -9625,37 +9665,37 @@ export {
9625
9665
  Cd as SuggestionIcon,
9626
9666
  Zd as SurveyIcon,
9627
9667
  Nd as SwapIcon,
9628
- Tm as Tab,
9629
- Fm as TabList,
9630
- Vm as TabPanel,
9631
- _9 as Table,
9632
- T9 as TableBody,
9633
- H9 as TableCell,
9634
- V9 as TableCellAction,
9635
- L9 as TableFoot,
9636
- O9 as TableHead,
9637
- $9 as TableRow,
9638
- B9 as TableSortLabel,
9668
+ Fm as Tab,
9669
+ Vm as TabList,
9670
+ Hm as TabPanel,
9671
+ D9 as Table,
9672
+ F9 as TableBody,
9673
+ L9 as TableCell,
9674
+ H9 as TableCellAction,
9675
+ O9 as TableFoot,
9676
+ k9 as TableHead,
9677
+ B9 as TableRow,
9678
+ _9 as TableSortLabel,
9639
9679
  Td as TabletLangscapeIcon,
9640
9680
  Hd as TabletPortraitIcon,
9641
- Hm as Tabs,
9681
+ Lm as Tabs,
9642
9682
  kd as TagAltIcon,
9643
9683
  Fn as TagGroup,
9644
9684
  _d as TagIcon,
9645
9685
  Wd as TemplateIcon,
9646
9686
  Kd as TextBoldIcon,
9647
- Cm as TextField,
9687
+ Rm as TextField,
9648
9688
  Yd as TextItalicIcon,
9649
9689
  Qd as TextStyleIcon,
9650
9690
  m9 as ToggleButton,
9651
9691
  g9 as ToggleButtonGroup,
9652
- Rm as ToggleField,
9692
+ Im as ToggleField,
9653
9693
  w1 as Tooltip,
9654
9694
  nh as TragetIcon,
9655
9695
  ah as TransferIcon,
9656
9696
  sh as TrashIcon,
9657
9697
  dh as TrendIcon,
9658
- U9 as Typography,
9698
+ W9 as Typography,
9659
9699
  mh as UnExposeIcon,
9660
9700
  vh as UnarchiveAltIcon,
9661
9701
  yh as UndoIcon,