@bloomreach/react-banana-ui 1.15.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,15 +7828,51 @@ 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
- function D9(e) {
7831
+ const U9 = {
7832
+ "heading-xl": "h1",
7833
+ "heading-1": "h1",
7834
+ "heading-2": "h2",
7835
+ "heading-3": "h3",
7836
+ "heading-4": "h4",
7837
+ "heading-5": "h5",
7838
+ link: "a",
7839
+ "link-small": "a",
7840
+ text: "p",
7841
+ "text-bold": "p",
7842
+ "text-small": "p",
7843
+ "text-small-bold": "p",
7844
+ "text-mono": "code",
7845
+ "text-mono-small": "code",
7846
+ default: "p"
7847
+ }, W9 = s(
7848
+ (e, t) => {
7849
+ const {
7850
+ className: r,
7851
+ children: o,
7852
+ as: l,
7853
+ variant: c,
7854
+ color: i,
7855
+ ...u
7856
+ // Capture any other properties to pass them to the root element, like `aria-*`, `data-*`, etc.
7857
+ } = e, h = l || U9[c || "default"], d = z(
7858
+ "rbui-typography",
7859
+ c && `rbui-typography--${c}`,
7860
+ i && `rbui-typography--color-${i}`,
7861
+ r
7862
+ );
7863
+ return /* @__PURE__ */ a(h, { ...u, className: d, ref: t, children: o });
7864
+ }
7865
+ );
7866
+ W9.displayName = "Typography";
7867
+ function j9(e) {
7793
7868
  const { open: t, onOpenChange: r, children: o } = e, { contextValue: l } = Kr({
7794
7869
  open: t,
7795
7870
  onOpenChange: r
7796
7871
  });
7797
7872
  return /* @__PURE__ */ a(P0.Provider, { value: l, children: o });
7798
7873
  }
7799
- D9.displayName = "Menu";
7800
- const U9 = s((e, t) => {
7874
+ j9.displayName = "Menu";
7875
+ const q9 = s((e, t) => {
7801
7876
  const { children: r, disabled: o = !1, type: l, htmlType: c, ...i } = e, { getRootProps: u } = sa({
7802
7877
  disabled: o,
7803
7878
  focusableWhenDisabled: !1,
@@ -7814,8 +7889,8 @@ const U9 = s((e, t) => {
7814
7889
  });
7815
7890
  return /* @__PURE__ */ a(He, { ...f, htmlType: c, type: l, children: r });
7816
7891
  });
7817
- U9.displayName = "MenuButton";
7818
- const W9 = s(
7892
+ q9.displayName = "MenuButton";
7893
+ const K9 = s(
7819
7894
  (e, t) => {
7820
7895
  const { children: r, className: o, placement: l = "bottom-end" } = e, { contextValue: c, getListboxProps: i, open: u, listboxRef: h, triggerElement: d } = Co({
7821
7896
  disabledItemsFocusable: !1,
@@ -7834,18 +7909,18 @@ const W9 = s(
7834
7909
  ) });
7835
7910
  }
7836
7911
  );
7837
- W9.displayName = "MenuContent";
7838
- function j9(e) {
7912
+ K9.displayName = "MenuContent";
7913
+ function z9(e) {
7839
7914
  const { children: t, className: r, ...o } = e, l = z("rbui-menu-group", r);
7840
7915
  return /* @__PURE__ */ a("li", { className: "rbui-menu-group__container", children: /* @__PURE__ */ a("ul", { role: "group", className: l, ...o, children: t }) });
7841
7916
  }
7842
- j9.displayName = "MenuGroup";
7843
- function q9(e) {
7917
+ z9.displayName = "MenuGroup";
7918
+ function G9(e) {
7844
7919
  const { children: t, className: r, ...o } = e, l = z("rbui-menu-group__label", r);
7845
7920
  return /* @__PURE__ */ a("li", { role: "presentation", className: l, ...o, children: t });
7846
7921
  }
7847
- q9.displayName = "MenuGroupLabel";
7848
- const K9 = s(
7922
+ G9.displayName = "MenuGroupLabel";
7923
+ const Y9 = s(
7849
7924
  (e, t) => {
7850
7925
  const { children: r, disabled: o = !1, startIcon: l, className: c, ...i } = e, { getRootProps: u, disabled: h, highlighted: d } = da({
7851
7926
  disabled: o,
@@ -7867,18 +7942,18 @@ const K9 = s(
7867
7942
  ] });
7868
7943
  }
7869
7944
  );
7870
- K9.displayName = "MenuItem";
7871
- function z9() {
7945
+ Y9.displayName = "MenuItem";
7946
+ function X9() {
7872
7947
  return /* @__PURE__ */ a("li", { role: "separator", "aria-orientation": "horizontal", "aria-hidden": !0, className: "rbui-menu-separator" });
7873
7948
  }
7874
- z9.displayName = "MenuSeparator";
7875
- const G9 = {
7949
+ X9.displayName = "MenuSeparator";
7950
+ const J9 = {
7876
7951
  error: (e) => /* @__PURE__ */ a(sn, { ...e }),
7877
7952
  info: (e) => /* @__PURE__ */ a(un, { ...e }),
7878
7953
  success: (e) => /* @__PURE__ */ a(rn, { ...e }),
7879
7954
  warning: (e) => /* @__PURE__ */ a(fn, { ...e })
7880
7955
  };
7881
- function Om(e) {
7956
+ function Bm(e) {
7882
7957
  const {
7883
7958
  actions: t,
7884
7959
  children: r,
@@ -7897,7 +7972,7 @@ function Om(e) {
7897
7972
  role: i,
7898
7973
  ...h,
7899
7974
  children: [
7900
- l !== !1 ? /* @__PURE__ */ a("div", { className: `rbui-alert__icon rbui-alert__icon--${u}`, children: l || G9[u]() }) : null,
7975
+ l !== !1 ? /* @__PURE__ */ a("div", { className: `rbui-alert__icon rbui-alert__icon--${u}`, children: l || J9[u]() }) : null,
7901
7976
  /* @__PURE__ */ ue("div", { className: "rbui-alert__content", children: [
7902
7977
  r,
7903
7978
  t ? /* @__PURE__ */ a("div", { className: "rbui-alert__actions", children: t }) : null
@@ -7916,21 +7991,21 @@ function Om(e) {
7916
7991
  }
7917
7992
  );
7918
7993
  }
7919
- function km(e) {
7994
+ function _m(e) {
7920
7995
  const { children: t, className: r } = e;
7921
7996
  return /* @__PURE__ */ a("div", { className: z("rbui-alert-title", r), children: t });
7922
7997
  }
7923
- function Y9(e, t) {
7998
+ function Q9(e, t) {
7924
7999
  typeof e == "function" ? e(t) : e && (e.current = t);
7925
8000
  }
7926
- function X9(...e) {
8001
+ function em(...e) {
7927
8002
  return We(() => e.every((t) => t == null) ? null : (t) => {
7928
8003
  e.forEach((r) => {
7929
- Y9(r, t);
8004
+ Q9(r, t);
7930
8005
  });
7931
8006
  }, e);
7932
8007
  }
7933
- const J9 = (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) => {
7934
8009
  const {
7935
8010
  className: r,
7936
8011
  clearable: o,
@@ -7951,11 +8026,11 @@ const J9 = (e, t) => /* @__PURE__ */ a("input", { ...e, ref: t }), O0 = s((e, t)
7951
8026
  placeholder: R,
7952
8027
  readOnly: x,
7953
8028
  required: I,
7954
- renderInput: C = J9,
8029
+ renderInput: C = tm,
7955
8030
  rightElement: P,
7956
8031
  value: F,
7957
8032
  ...T
7958
- } = e, L = F == null, $ = Qe(null), K = X9($, 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;
7959
8034
  M0(() => {
7960
8035
  y == null || y((U == null ? void 0 : U.length) ?? 0);
7961
8036
  }, [U, y]);
@@ -8032,7 +8107,7 @@ const Vn = N0(null);
8032
8107
  function Hn() {
8033
8108
  return f0(Vn);
8034
8109
  }
8035
- const Q9 = s((e, t) => {
8110
+ const nm = s((e, t) => {
8036
8111
  const { open: r, className: o, ...l } = e;
8037
8112
  return /* @__PURE__ */ a(
8038
8113
  "div",
@@ -8042,7 +8117,7 @@ const Q9 = s((e, t) => {
8042
8117
  ...l
8043
8118
  }
8044
8119
  );
8045
- }), em = s((e, t) => {
8120
+ }), rm = s((e, t) => {
8046
8121
  const {
8047
8122
  open: r,
8048
8123
  children: o,
@@ -8063,13 +8138,13 @@ const Q9 = s((e, t) => {
8063
8138
  className: z("rbui-modal", i),
8064
8139
  open: r,
8065
8140
  onClose: d,
8066
- slots: { backdrop: _r(Q9) },
8141
+ slots: { backdrop: _r(nm) },
8067
8142
  ...h,
8068
8143
  children: /* @__PURE__ */ a("div", { className: z("rbui-modal__wrapper", `rbui-modal__wrapper--${l}`), children: o })
8069
8144
  }
8070
8145
  ) });
8071
8146
  });
8072
- em.displayName = "Modal";
8147
+ rm.displayName = "Modal";
8073
8148
  function Ln(e) {
8074
8149
  const {
8075
8150
  className: t,
@@ -8084,7 +8159,7 @@ function Ln(e) {
8084
8159
  }, className: t, children: r });
8085
8160
  }
8086
8161
  Ln.displayName = "ModalCloseButton";
8087
- const tm = s((e, t) => {
8162
+ const om = s((e, t) => {
8088
8163
  const {
8089
8164
  children: r,
8090
8165
  className: o,
@@ -8098,8 +8173,8 @@ const tm = s((e, t) => {
8098
8173
  i && /* @__PURE__ */ a(Ln, { className: "rbui-modal__header-close", startIcon: /* @__PURE__ */ a(L0, {}) })
8099
8174
  ] });
8100
8175
  });
8101
- tm.displayName = "ModalHeader";
8102
- const nm = s((e, t) => {
8176
+ om.displayName = "ModalHeader";
8177
+ const am = s((e, t) => {
8103
8178
  const {
8104
8179
  className: r,
8105
8180
  children: o,
@@ -8107,8 +8182,8 @@ const nm = s((e, t) => {
8107
8182
  } = e;
8108
8183
  return /* @__PURE__ */ a("div", { ...l, ref: t, className: z("rbui-modal__header-title", r), children: o });
8109
8184
  });
8110
- nm.displayName = "ModalHeaderTitle";
8111
- const rm = s((e, t) => {
8185
+ am.displayName = "ModalHeaderTitle";
8186
+ const lm = s((e, t) => {
8112
8187
  const {
8113
8188
  children: r,
8114
8189
  padding: o = "narrow",
@@ -8117,8 +8192,8 @@ const rm = s((e, t) => {
8117
8192
  } = e;
8118
8193
  return /* @__PURE__ */ a("div", { ...c, ref: t, className: z("rbui-modal__body", `rbui-modal__body--${o}`, l), children: r });
8119
8194
  });
8120
- rm.displayName = "ModalBody";
8121
- const om = s((e, t) => {
8195
+ lm.displayName = "ModalBody";
8196
+ const cm = s((e, t) => {
8122
8197
  const {
8123
8198
  children: r,
8124
8199
  className: o,
@@ -8126,8 +8201,8 @@ const om = s((e, t) => {
8126
8201
  } = e;
8127
8202
  return /* @__PURE__ */ a("div", { ...l, ref: t, className: z("rbui-modal__footer", o), children: r });
8128
8203
  });
8129
- om.displayName = "ModalFooter";
8130
- const am = s((e, t) => {
8204
+ cm.displayName = "ModalFooter";
8205
+ const sm = s((e, t) => {
8131
8206
  const {
8132
8207
  className: r,
8133
8208
  children: o,
@@ -8135,7 +8210,7 @@ const am = s((e, t) => {
8135
8210
  } = e;
8136
8211
  return /* @__PURE__ */ a("div", { ...l, ref: t, className: z("rbui-modal__footer--actions", r), children: o });
8137
8212
  });
8138
- am.displayName = "ModalFooterActions";
8213
+ sm.displayName = "ModalFooterActions";
8139
8214
  const xt = () => /* @__PURE__ */ a("span", { children: " " }), t0 = s((e, t) => {
8140
8215
  const {
8141
8216
  className: r,
@@ -8365,7 +8440,7 @@ const On = s((e, t) => {
8365
8440
  );
8366
8441
  });
8367
8442
  On.displayName = "Toggle";
8368
- const lm = (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" })), cm = s(lm), sm = (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 })), im = s(sm);
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);
8369
8444
  const kn = s((e, t) => {
8370
8445
  const {
8371
8446
  className: r,
@@ -8383,7 +8458,7 @@ const kn = s((e, t) => {
8383
8458
  return;
8384
8459
  const F = P.target.checked;
8385
8460
  v || p(F), i == null || i(P);
8386
- }, x = b || d, I = d ? /* @__PURE__ */ a(im, {}) : /* @__PURE__ */ a(cm, {}), C = z("rbui-checkbox", r, {
8461
+ }, x = b || d, I = d ? /* @__PURE__ */ a(hm, {}) : /* @__PURE__ */ a(um, {}), C = z("rbui-checkbox", r, {
8387
8462
  "rbui-checkbox--checked": x,
8388
8463
  "rbui-checkbox--disabled": c,
8389
8464
  "rbui-checkbox--readonly": u,
@@ -8458,10 +8533,10 @@ const E0 = s((e, t) => {
8458
8533
  );
8459
8534
  });
8460
8535
  E0.displayName = "ListboxItem";
8461
- const um = (e) => e, dm = ({ 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: [
8462
8537
  /* @__PURE__ */ a($n, { children: t }),
8463
8538
  r
8464
- ] }, e), hm = (e) => {
8539
+ ] }, e), pm = (e) => {
8465
8540
  const [t, r] = Oe(void 0);
8466
8541
  return M0(() => {
8467
8542
  const o = new ResizeObserver((l) => {
@@ -8471,7 +8546,7 @@ const um = (e) => e, dm = ({ key: e, group: t, children: r }) => /* @__PURE__ */
8471
8546
  o.disconnect();
8472
8547
  };
8473
8548
  }, [e]), t;
8474
- }, fm = s((e, t) => {
8549
+ }, gm = s((e, t) => {
8475
8550
  const {
8476
8551
  className: r,
8477
8552
  clearable: o = !1,
@@ -8479,7 +8554,7 @@ const um = (e) => e, dm = ({ key: e, group: t, children: r }) => /* @__PURE__ */
8479
8554
  defaultValue: c,
8480
8555
  disabled: i = !1,
8481
8556
  getOptionDisabled: u,
8482
- getOptionLabel: h = um,
8557
+ getOptionLabel: h = fm,
8483
8558
  groupBy: d,
8484
8559
  hideSelectedOptions: f = !1,
8485
8560
  loading: m = !1,
@@ -8569,7 +8644,7 @@ const um = (e) => e, dm = ({ key: e, group: t, children: r }) => /* @__PURE__ */
8569
8644
  ...ge
8570
8645
  }
8571
8646
  );
8572
- }, ce = M ? g1 : p1, { ref: ee, ...ne } = $(), re = h0([t, B]), J = U(), _ = hm(T);
8647
+ }, ce = M ? g1 : p1, { ref: ee, ...ne } = $(), re = h0([t, B]), J = U(), _ = pm(T);
8573
8648
  return /* @__PURE__ */ ue(x0, { children: [
8574
8649
  /* @__PURE__ */ a(
8575
8650
  O0,
@@ -8620,7 +8695,7 @@ const um = (e) => e, dm = ({ key: e, group: t, children: r }) => /* @__PURE__ */
8620
8695
  Z.map((G, Q) => {
8621
8696
  if (d) {
8622
8697
  const ie = G;
8623
- return dm({
8698
+ return mm({
8624
8699
  ...ie,
8625
8700
  children: ie.options.map((k, ge) => O(k, ge + ie.index))
8626
8701
  });
@@ -8636,9 +8711,9 @@ const um = (e) => e, dm = ({ key: e, group: t, children: r }) => /* @__PURE__ */
8636
8711
  )
8637
8712
  ] });
8638
8713
  });
8639
- fm.displayName = "Autocomplete";
8714
+ gm.displayName = "Autocomplete";
8640
8715
  const n0 = (e) => `${e}-${Math.round(Math.random() * 1e3)}`;
8641
- const mm = s((e, t) => {
8716
+ const vm = s((e, t) => {
8642
8717
  const {
8643
8718
  checked: r,
8644
8719
  className: o,
@@ -8678,8 +8753,8 @@ const mm = s((e, t) => {
8678
8753
  }
8679
8754
  );
8680
8755
  });
8681
- mm.displayName = "CheckboxField";
8682
- const pm = s((e, t) => {
8756
+ vm.displayName = "CheckboxField";
8757
+ const wm = s((e, t) => {
8683
8758
  const {
8684
8759
  className: r,
8685
8760
  clearable: o,
@@ -8739,8 +8814,8 @@ const pm = s((e, t) => {
8739
8814
  }
8740
8815
  );
8741
8816
  });
8742
- pm.displayName = "InputField";
8743
- const _n = d5.createContext(void 0), gm = (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 })), vm = s(gm);
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);
8744
8819
  const Dn = s((e, t) => {
8745
8820
  const {
8746
8821
  checked: r,
@@ -8799,7 +8874,7 @@ const Dn = s((e, t) => {
8799
8874
  ...g,
8800
8875
  ...L,
8801
8876
  children: [
8802
- /* @__PURE__ */ a("div", { className: "rbui-radio__inner", "aria-hidden": !0, children: E && /* @__PURE__ */ a(vm, {}) }),
8877
+ /* @__PURE__ */ a("div", { className: "rbui-radio__inner", "aria-hidden": !0, children: E && /* @__PURE__ */ a(ym, {}) }),
8803
8878
  /* @__PURE__ */ a(
8804
8879
  "input",
8805
8880
  {
@@ -8815,7 +8890,7 @@ const Dn = s((e, t) => {
8815
8890
  );
8816
8891
  });
8817
8892
  Dn.displayName = "Radio";
8818
- const wm = s(
8893
+ const Em = s(
8819
8894
  (e, t) => {
8820
8895
  const {
8821
8896
  checked: r,
@@ -8859,8 +8934,8 @@ const wm = s(
8859
8934
  );
8860
8935
  }
8861
8936
  );
8862
- wm.displayName = "RadioField";
8863
- const bm = s(
8937
+ Em.displayName = "RadioField";
8938
+ const xm = s(
8864
8939
  (e, t) => {
8865
8940
  const {
8866
8941
  children: r,
@@ -8922,8 +8997,8 @@ const bm = s(
8922
8997
  ) });
8923
8998
  }
8924
8999
  );
8925
- bm.displayName = "RadioGroup";
8926
- const ym = s((e, t) => {
9000
+ xm.displayName = "RadioGroup";
9001
+ const Cm = s((e, t) => {
8927
9002
  const {
8928
9003
  children: r,
8929
9004
  className: o,
@@ -8969,7 +9044,7 @@ const ym = s((e, t) => {
8969
9044
  }
8970
9045
  );
8971
9046
  });
8972
- ym.displayName = "SelectField";
9047
+ Cm.displayName = "SelectField";
8973
9048
  const Un = s((e, t) => {
8974
9049
  var y, E;
8975
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({
@@ -8993,7 +9068,7 @@ const Un = s((e, t) => {
8993
9068
  );
8994
9069
  });
8995
9070
  Un.displayName = "SelectOption";
8996
- const Em = s((e, t) => {
9071
+ const Rm = s((e, t) => {
8997
9072
  const {
8998
9073
  autoSize: r,
8999
9074
  className: o,
@@ -9063,8 +9138,8 @@ const Em = s((e, t) => {
9063
9138
  }
9064
9139
  );
9065
9140
  });
9066
- Em.displayName = "TextField";
9067
- const xm = s((e, t) => {
9141
+ Rm.displayName = "TextField";
9142
+ const Im = s((e, t) => {
9068
9143
  const {
9069
9144
  className: r,
9070
9145
  inputProps: o,
@@ -9104,17 +9179,17 @@ const xm = s((e, t) => {
9104
9179
  }
9105
9180
  );
9106
9181
  });
9107
- xm.displayName = "ToggleField";
9182
+ Im.displayName = "ToggleField";
9108
9183
  const Wn = N0(null);
9109
9184
  function Ct() {
9110
9185
  return f0(Wn);
9111
9186
  }
9112
- const Cm = [10, 20, 50], Ge = 9, ke = 2;
9113
- function Rm() {
9187
+ const Zm = [10, 20, 50], Ge = 9, ke = 2;
9188
+ function Sm() {
9114
9189
  const e = Ct();
9115
9190
  if (!e)
9116
9191
  throw new Error("PaginationItemsPerPageSelector must be used within a PaginationContext.Provider");
9117
- const { itemsPerPage: t, itemsPerPageOptions: r, onItemsPerPageChange: o } = e, l = (r || Cm).map((c) => typeof c == "number" ? {
9192
+ const { itemsPerPage: t, itemsPerPageOptions: r, onItemsPerPageChange: o } = e, l = (r || Zm).map((c) => typeof c == "number" ? {
9118
9193
  label: c.toString(),
9119
9194
  value: c
9120
9195
  } : c);
@@ -9133,7 +9208,7 @@ const Jt = "...";
9133
9208
  function K0(e, t) {
9134
9209
  return Array(t).fill(0).map((r, o) => o + e);
9135
9210
  }
9136
- function Im(e, t) {
9211
+ function Mm(e, t) {
9137
9212
  const r = [], o = t - 1;
9138
9213
  return t <= Ge ? K0(0, t).map((l) => r.push(l)) : (r.push(0), e <= Ge - ke * 2 ? K0(
9139
9214
  1,
@@ -9146,7 +9221,7 @@ function Im(e, t) {
9146
9221
  Ge - ke - 1
9147
9222
  ).map((l) => r.push(l)) : r.push(Jt), r.push(o)), r;
9148
9223
  }
9149
- function Zm({ value: e }) {
9224
+ function Nm({ value: e }) {
9150
9225
  const t = Ct();
9151
9226
  if (!t)
9152
9227
  throw new Error("PaginationNavigationItem must be used within a PaginationContext.Provider");
@@ -9169,7 +9244,7 @@ function Zm({ value: e }) {
9169
9244
  }
9170
9245
  );
9171
9246
  }
9172
- function Sm() {
9247
+ function Am() {
9173
9248
  const e = Ct();
9174
9249
  if (!e)
9175
9250
  throw new Error("PaginationNavigation must be used within a PaginationContext.Provider");
@@ -9180,7 +9255,7 @@ function Sm() {
9180
9255
  l == null || l(r + 1);
9181
9256
  }, i = () => {
9182
9257
  l == null || l(r - 1);
9183
- }, u = Im(r, Math.ceil(t / o));
9258
+ }, u = Mm(r, Math.ceil(t / o));
9184
9259
  return /* @__PURE__ */ a("nav", { role: "navigation", "aria-label": "Pagination Navigation", className: "rbui-pagination__navigation", children: /* @__PURE__ */ ue("ul", { children: [
9185
9260
  /* @__PURE__ */ a("li", { children: /* @__PURE__ */ a(
9186
9261
  He,
@@ -9192,7 +9267,7 @@ function Sm() {
9192
9267
  children: /* @__PURE__ */ a(an, {})
9193
9268
  }
9194
9269
  ) }),
9195
- u.map((h, d) => /* @__PURE__ */ a("li", { children: /* @__PURE__ */ a(Zm, { value: h }) }, `rbui-pagination-${h}-${d}`)),
9270
+ u.map((h, d) => /* @__PURE__ */ a("li", { children: /* @__PURE__ */ a(Nm, { value: h }) }, `rbui-pagination-${h}-${d}`)),
9196
9271
  /* @__PURE__ */ a("li", { children: /* @__PURE__ */ a(
9197
9272
  He,
9198
9273
  {
@@ -9205,7 +9280,7 @@ function Sm() {
9205
9280
  ) })
9206
9281
  ] }) });
9207
9282
  }
9208
- function Mm() {
9283
+ function Pm() {
9209
9284
  const e = Ct();
9210
9285
  if (!e)
9211
9286
  throw new Error("PaginationSummary must be used within a PaginationContext.Provider");
@@ -9226,7 +9301,7 @@ function Mm() {
9226
9301
  t.toLocaleString()
9227
9302
  ] });
9228
9303
  }
9229
- const Nm = s((e, t) => {
9304
+ const Tm = s((e, t) => {
9230
9305
  const {
9231
9306
  count: r,
9232
9307
  className: o,
@@ -9239,14 +9314,14 @@ const Nm = s((e, t) => {
9239
9314
  } = e;
9240
9315
  return r < 1 ? null : /* @__PURE__ */ a(Wn.Provider, { value: e, children: /* @__PURE__ */ ue("div", { ...d, className: z("rbui-pagination", o), ref: t, children: [
9241
9316
  /* @__PURE__ */ ue("div", { className: "rbui-pagination__left", children: [
9242
- /* @__PURE__ */ a(Rm, {}),
9243
- /* @__PURE__ */ a(Mm, {})
9317
+ /* @__PURE__ */ a(Sm, {}),
9318
+ /* @__PURE__ */ a(Pm, {})
9244
9319
  ] }),
9245
- /* @__PURE__ */ a(Sm, {})
9320
+ /* @__PURE__ */ a(Am, {})
9246
9321
  ] }) });
9247
9322
  });
9248
- Nm.displayName = "Pagination";
9249
- const Am = s((e, t) => {
9323
+ Tm.displayName = "Pagination";
9324
+ const Fm = s((e, t) => {
9250
9325
  const {
9251
9326
  className: r,
9252
9327
  children: o,
@@ -9279,8 +9354,8 @@ const Am = s((e, t) => {
9279
9354
  o
9280
9355
  ] });
9281
9356
  });
9282
- Am.displayName = "Tab";
9283
- const Pm = s((e, t) => {
9357
+ Fm.displayName = "Tab";
9358
+ const Vm = s((e, t) => {
9284
9359
  const {
9285
9360
  className: r,
9286
9361
  children: o,
@@ -9298,8 +9373,8 @@ const Pm = s((e, t) => {
9298
9373
  );
9299
9374
  return /* @__PURE__ */ a(La, { value: u, children: /* @__PURE__ */ a("div", { ...h, className: d, children: o }) });
9300
9375
  });
9301
- Pm.displayName = "TabList";
9302
- const Tm = s((e, t) => {
9376
+ Vm.displayName = "TabList";
9377
+ const Hm = s((e, t) => {
9303
9378
  const {
9304
9379
  className: r,
9305
9380
  children: o,
@@ -9315,8 +9390,8 @@ const Tm = s((e, t) => {
9315
9390
  });
9316
9391
  return /* @__PURE__ */ a("div", { ...f, className: m, ref: d, children: (l || !h) && o });
9317
9392
  });
9318
- Tm.displayName = "TabPanel";
9319
- const Fm = s((e, t) => {
9393
+ Hm.displayName = "TabPanel";
9394
+ const Lm = s((e, t) => {
9320
9395
  const {
9321
9396
  className: r,
9322
9397
  children: o,
@@ -9336,12 +9411,12 @@ const Fm = s((e, t) => {
9336
9411
  });
9337
9412
  return /* @__PURE__ */ a(Pa, { value: d, children: /* @__PURE__ */ a("div", { ...h, className: z("rbui-tabs", r), ref: t, children: o }) });
9338
9413
  });
9339
- Fm.displayName = "Tabs";
9414
+ Lm.displayName = "Tabs";
9340
9415
  export {
9341
9416
  Ga as AbTestIcon,
9342
9417
  Ja as AggregateIcon,
9343
- Om as Alert,
9344
- km as AlertTitle,
9418
+ Bm as Alert,
9419
+ _m as AlertTitle,
9345
9420
  t2 as AnalyticsIcon,
9346
9421
  o2 as AndroidIcon,
9347
9422
  c2 as AnonymizeIcon,
@@ -9359,9 +9434,10 @@ export {
9359
9434
  nn as ArrowUpIcon,
9360
9435
  N9 as AssetTag,
9361
9436
  W2 as AttributeSlotIcon,
9362
- fm as Autocomplete,
9437
+ gm as Autocomplete,
9363
9438
  K2 as AxisIcon,
9364
9439
  Y2 as AxisLimtIcon,
9440
+ A9 as Badge,
9365
9441
  Q2 as BarChartIcon,
9366
9442
  n7 as BooleanIcon,
9367
9443
  a7 as BoostIcon,
@@ -9383,7 +9459,7 @@ export {
9383
9459
  q7 as CheckIcon,
9384
9460
  on as CheckSmallIcon,
9385
9461
  kn as Checkbox,
9386
- mm as CheckboxField,
9462
+ vm as CheckboxField,
9387
9463
  X7 as ChevronDownFillIcon,
9388
9464
  p1 as ChevronDownIcon,
9389
9465
  nl as ChevronLeftFillIcon,
@@ -9447,7 +9523,7 @@ export {
9447
9523
  si as FileIcon,
9448
9524
  di as FileVideoIcon,
9449
9525
  mi as FilterIcon,
9450
- A9 as FilterTag,
9526
+ P9 as FilterTag,
9451
9527
  vi as FireIcon,
9452
9528
  yi as FolderEmptyIcon,
9453
9529
  Ci as FolderFullIcon,
@@ -9473,7 +9549,7 @@ export {
9473
9549
  dn as InfoFilledIcon,
9474
9550
  S3 as InfoIcon,
9475
9551
  A3 as InfoSmallIcon,
9476
- pm as InputField,
9552
+ wm as InputField,
9477
9553
  Nn as InputTag,
9478
9554
  F3 as InternetIcon,
9479
9555
  L3 as KeyIcon,
@@ -9485,13 +9561,13 @@ export {
9485
9561
  hn as LoaderIcon,
9486
9562
  nu as LockIcon,
9487
9563
  au as MapIcon,
9488
- D9 as Menu,
9489
- U9 as MenuButton,
9490
- W9 as MenuContent,
9491
- j9 as MenuGroup,
9492
- q9 as MenuGroupLabel,
9493
- K9 as MenuItem,
9494
- z9 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,
9495
9571
  su as MetricAltIcon,
9496
9572
  du as MinusIcon,
9497
9573
  mu as MobileAppInboxIcon,
@@ -9501,13 +9577,13 @@ export {
9501
9577
  Zu as MobilePushIcon,
9502
9578
  Nu as MobileSmsIcon,
9503
9579
  Tu as MobileTextMessageIcon,
9504
- em as Modal,
9505
- rm as ModalBody,
9580
+ rm as Modal,
9581
+ lm as ModalBody,
9506
9582
  Ln as ModalCloseButton,
9507
- om as ModalFooter,
9508
- am as ModalFooterActions,
9509
- tm as ModalHeader,
9510
- nm as ModalHeaderTitle,
9583
+ cm as ModalFooter,
9584
+ sm as ModalFooterActions,
9585
+ om as ModalHeader,
9586
+ am as ModalHeaderTitle,
9511
9587
  Hu as MoveIcon,
9512
9588
  ku as MultiParentRejectedIcon,
9513
9589
  _u as MultiParentSelectedIcon,
@@ -9520,7 +9596,7 @@ export {
9520
9596
  a6 as OfflineIcon,
9521
9597
  s6 as OutOfStockIcon,
9522
9598
  d6 as PagesIcon,
9523
- Nm as Pagination,
9599
+ Tm as Pagination,
9524
9600
  m6 as PaintIcon,
9525
9601
  v6 as ParagraphCenterAlignIcon,
9526
9602
  y6 as ParagraphLeftAlignIcon,
@@ -9542,8 +9618,8 @@ export {
9542
9618
  m4 as PoverButtonIcon,
9543
9619
  v4 as ProductSlotsIcon,
9544
9620
  Dn as Radio,
9545
- wm as RadioField,
9546
- bm as RadioGroup,
9621
+ Em as RadioField,
9622
+ xm as RadioGroup,
9547
9623
  y4 as ReceiveIcon,
9548
9624
  C4 as RefreshIcon,
9549
9625
  Z4 as ReleaseNotesIcon,
@@ -9563,7 +9639,7 @@ export {
9563
9639
  m8 as ScenarioIcon,
9564
9640
  v8 as SearchIcon,
9565
9641
  y8 as SecurityShieldIcon,
9566
- ym as SelectField,
9642
+ Cm as SelectField,
9567
9643
  Un as SelectOption,
9568
9644
  C8 as SendIcon,
9569
9645
  Z8 as SettingsAltIcon,
@@ -9589,36 +9665,37 @@ export {
9589
9665
  Cd as SuggestionIcon,
9590
9666
  Zd as SurveyIcon,
9591
9667
  Nd as SwapIcon,
9592
- Am as Tab,
9593
- Pm as TabList,
9594
- Tm as TabPanel,
9595
- _9 as Table,
9596
- T9 as TableBody,
9597
- H9 as TableCell,
9598
- V9 as TableCellAction,
9599
- L9 as TableFoot,
9600
- O9 as TableHead,
9601
- $9 as TableRow,
9602
- 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,
9603
9679
  Td as TabletLangscapeIcon,
9604
9680
  Hd as TabletPortraitIcon,
9605
- Fm as Tabs,
9681
+ Lm as Tabs,
9606
9682
  kd as TagAltIcon,
9607
9683
  Fn as TagGroup,
9608
9684
  _d as TagIcon,
9609
9685
  Wd as TemplateIcon,
9610
9686
  Kd as TextBoldIcon,
9611
- Em as TextField,
9687
+ Rm as TextField,
9612
9688
  Yd as TextItalicIcon,
9613
9689
  Qd as TextStyleIcon,
9614
9690
  m9 as ToggleButton,
9615
9691
  g9 as ToggleButtonGroup,
9616
- xm as ToggleField,
9692
+ Im as ToggleField,
9617
9693
  w1 as Tooltip,
9618
9694
  nh as TragetIcon,
9619
9695
  ah as TransferIcon,
9620
9696
  sh as TrashIcon,
9621
9697
  dh as TrendIcon,
9698
+ W9 as Typography,
9622
9699
  mh as UnExposeIcon,
9623
9700
  vh as UnarchiveAltIcon,
9624
9701
  yh as UndoIcon,