@theroutingcompany/components 0.0.116 → 0.0.117-alpha.1

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.
@@ -3928,13 +3928,13 @@ var JD = function(e) {
3928
3928
  return null;
3929
3929
  };
3930
3930
  };
3931
- const qb = "Dialog", [Xb, Jb] = We(qb), [e6, Tt] = Xb(qb), t6 = (e) => {
3931
+ const qb = "Dialog", [Xb, Jb] = We(qb), [eP, Tt] = Xb(qb), tP = (e) => {
3932
3932
  const { __scopeDialog: t, children: n, open: r, defaultOpen: o, onOpenChange: a, modal: i = !0 } = e, l = V(null), s = V(null), [c = !1, d] = Ze({
3933
3933
  prop: r,
3934
3934
  defaultProp: o,
3935
3935
  onChange: a
3936
3936
  });
3937
- return /* @__PURE__ */ k(e6, {
3937
+ return /* @__PURE__ */ k(eP, {
3938
3938
  scope: t,
3939
3939
  triggerRef: l,
3940
3940
  contentRef: s,
@@ -3953,8 +3953,8 @@ const qb = "Dialog", [Xb, Jb] = We(qb), [e6, Tt] = Xb(qb), t6 = (e) => {
3953
3953
  ),
3954
3954
  modal: i
3955
3955
  }, n);
3956
- }, n6 = "DialogTrigger", r6 = /* @__PURE__ */ U((e, t) => {
3957
- const { __scopeDialog: n, ...r } = e, o = Tt(n6, n), a = Ee(t, o.triggerRef);
3956
+ }, nP = "DialogTrigger", rP = /* @__PURE__ */ U((e, t) => {
3957
+ const { __scopeDialog: n, ...r } = e, o = Tt(nP, n), a = Ee(t, o.triggerRef);
3958
3958
  return /* @__PURE__ */ k(ge.button, O({
3959
3959
  type: "button",
3960
3960
  "aria-haspopup": "dialog",
@@ -3965,11 +3965,11 @@ const qb = "Dialog", [Xb, Jb] = We(qb), [e6, Tt] = Xb(qb), t6 = (e) => {
3965
3965
  ref: a,
3966
3966
  onClick: le(e.onClick, o.onOpenToggle)
3967
3967
  }));
3968
- }), Zb = "DialogPortal", [o6, Qb] = Xb(Zb, {
3968
+ }), Zb = "DialogPortal", [oP, Qb] = Xb(Zb, {
3969
3969
  forceMount: void 0
3970
- }), a6 = (e) => {
3970
+ }), aP = (e) => {
3971
3971
  const { __scopeDialog: t, forceMount: n, children: r, container: o } = e, a = Tt(Zb, t);
3972
- return /* @__PURE__ */ k(o6, {
3972
+ return /* @__PURE__ */ k(oP, {
3973
3973
  scope: t,
3974
3974
  forceMount: n
3975
3975
  }, tn.map(
@@ -3981,14 +3981,14 @@ const qb = "Dialog", [Xb, Jb] = We(qb), [e6, Tt] = Xb(qb), t6 = (e) => {
3981
3981
  container: o
3982
3982
  }, i))
3983
3983
  ));
3984
- }, Rc = "DialogOverlay", i6 = /* @__PURE__ */ U((e, t) => {
3984
+ }, Rc = "DialogOverlay", iP = /* @__PURE__ */ U((e, t) => {
3985
3985
  const n = Qb(Rc, e.__scopeDialog), { forceMount: r = n.forceMount, ...o } = e, a = Tt(Rc, e.__scopeDialog);
3986
3986
  return a.modal ? /* @__PURE__ */ k(Qe, {
3987
3987
  present: r || a.open
3988
- }, /* @__PURE__ */ k(l6, O({}, o, {
3988
+ }, /* @__PURE__ */ k(lP, O({}, o, {
3989
3989
  ref: t
3990
3990
  }))) : null;
3991
- }), l6 = /* @__PURE__ */ U((e, t) => {
3991
+ }), lP = /* @__PURE__ */ U((e, t) => {
3992
3992
  const { __scopeDialog: n, ...r } = e, o = Tt(Rc, n);
3993
3993
  return (
3994
3994
  // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
@@ -4009,16 +4009,16 @@ const qb = "Dialog", [Xb, Jb] = We(qb), [e6, Tt] = Xb(qb), t6 = (e) => {
4009
4009
  }
4010
4010
  })))
4011
4011
  );
4012
- }), no = "DialogContent", s6 = /* @__PURE__ */ U((e, t) => {
4012
+ }), no = "DialogContent", sP = /* @__PURE__ */ U((e, t) => {
4013
4013
  const n = Qb(no, e.__scopeDialog), { forceMount: r = n.forceMount, ...o } = e, a = Tt(no, e.__scopeDialog);
4014
4014
  return /* @__PURE__ */ k(Qe, {
4015
4015
  present: r || a.open
4016
- }, a.modal ? /* @__PURE__ */ k(c6, O({}, o, {
4016
+ }, a.modal ? /* @__PURE__ */ k(cP, O({}, o, {
4017
4017
  ref: t
4018
- })) : /* @__PURE__ */ k(d6, O({}, o, {
4018
+ })) : /* @__PURE__ */ k(dP, O({}, o, {
4019
4019
  ref: t
4020
4020
  })));
4021
- }), c6 = /* @__PURE__ */ U((e, t) => {
4021
+ }), cP = /* @__PURE__ */ U((e, t) => {
4022
4022
  const n = Tt(no, e.__scopeDialog), r = V(null), o = Ee(t, n.contentRef, r);
4023
4023
  return q(() => {
4024
4024
  const a = r.current;
@@ -4041,7 +4041,7 @@ const qb = "Dialog", [Xb, Jb] = We(qb), [e6, Tt] = Xb(qb), t6 = (e) => {
4041
4041
  (a) => a.preventDefault()
4042
4042
  )
4043
4043
  }));
4044
- }), d6 = /* @__PURE__ */ U((e, t) => {
4044
+ }), dP = /* @__PURE__ */ U((e, t) => {
4045
4045
  const n = Tt(no, e.__scopeDialog), r = V(!1), o = V(!1);
4046
4046
  return /* @__PURE__ */ k(em, O({}, e, {
4047
4047
  ref: t,
@@ -4080,22 +4080,22 @@ const qb = "Dialog", [Xb, Jb] = We(qb), [e6, Tt] = Xb(qb), t6 = (e) => {
4080
4080
  ref: c,
4081
4081
  onDismiss: () => l.onOpenChange(!1)
4082
4082
  }))), !1);
4083
- }), tm = "DialogTitle", u6 = /* @__PURE__ */ U((e, t) => {
4083
+ }), tm = "DialogTitle", uP = /* @__PURE__ */ U((e, t) => {
4084
4084
  const { __scopeDialog: n, ...r } = e, o = Tt(tm, n);
4085
4085
  return /* @__PURE__ */ k(ge.h2, O({
4086
4086
  id: o.titleId
4087
4087
  }, r, {
4088
4088
  ref: t
4089
4089
  }));
4090
- }), f6 = "DialogDescription", p6 = /* @__PURE__ */ U((e, t) => {
4091
- const { __scopeDialog: n, ...r } = e, o = Tt(f6, n);
4090
+ }), fP = "DialogDescription", pP = /* @__PURE__ */ U((e, t) => {
4091
+ const { __scopeDialog: n, ...r } = e, o = Tt(fP, n);
4092
4092
  return /* @__PURE__ */ k(ge.p, O({
4093
4093
  id: o.descriptionId
4094
4094
  }, r, {
4095
4095
  ref: t
4096
4096
  }));
4097
- }), g6 = "DialogClose", h6 = /* @__PURE__ */ U((e, t) => {
4098
- const { __scopeDialog: n, ...r } = e, o = Tt(g6, n);
4097
+ }), gP = "DialogClose", hP = /* @__PURE__ */ U((e, t) => {
4098
+ const { __scopeDialog: n, ...r } = e, o = Tt(gP, n);
4099
4099
  return /* @__PURE__ */ k(ge.button, O({
4100
4100
  type: "button"
4101
4101
  }, r, {
@@ -4109,37 +4109,37 @@ const qb = "Dialog", [Xb, Jb] = We(qb), [e6, Tt] = Xb(qb), t6 = (e) => {
4109
4109
  function du(e) {
4110
4110
  return e ? "open" : "closed";
4111
4111
  }
4112
- const b6 = "DialogTitleWarning", [m6, bV] = wS(b6, {
4112
+ const bP = "DialogTitleWarning", [mP, bV] = wS(bP, {
4113
4113
  contentName: no,
4114
4114
  titleName: tm,
4115
4115
  docsSlug: "dialog"
4116
- }), nm = t6, rm = r6, om = a6, am = i6, im = s6, lm = u6, sm = p6, hl = h6, v6 = "AlertDialog", [$6, mV] = We(v6, [
4116
+ }), nm = tP, rm = rP, om = aP, am = iP, im = sP, lm = uP, sm = pP, hl = hP, vP = "AlertDialog", [$P, mV] = We(vP, [
4117
4117
  Jb
4118
- ]), gn = Jb(), y6 = (e) => {
4118
+ ]), gn = Jb(), yP = (e) => {
4119
4119
  const { __scopeAlertDialog: t, ...n } = e, r = gn(t);
4120
4120
  return /* @__PURE__ */ k(nm, O({}, r, n, {
4121
4121
  modal: !0
4122
4122
  }));
4123
- }, _6 = /* @__PURE__ */ U((e, t) => {
4123
+ }, _P = /* @__PURE__ */ U((e, t) => {
4124
4124
  const { __scopeAlertDialog: n, ...r } = e, o = gn(n);
4125
4125
  return /* @__PURE__ */ k(rm, O({}, o, r, {
4126
4126
  ref: t
4127
4127
  }));
4128
- }), x6 = (e) => {
4128
+ }), xP = (e) => {
4129
4129
  const { __scopeAlertDialog: t, ...n } = e, r = gn(t);
4130
4130
  return /* @__PURE__ */ k(om, O({}, r, n));
4131
- }, w6 = /* @__PURE__ */ U((e, t) => {
4131
+ }, wP = /* @__PURE__ */ U((e, t) => {
4132
4132
  const { __scopeAlertDialog: n, ...r } = e, o = gn(n);
4133
4133
  return /* @__PURE__ */ k(am, O({}, o, r, {
4134
4134
  ref: t
4135
4135
  }));
4136
- }), cm = "AlertDialogContent", [S6, E6] = $6(cm), D6 = /* @__PURE__ */ U((e, t) => {
4136
+ }), cm = "AlertDialogContent", [SP, EP] = $P(cm), DP = /* @__PURE__ */ U((e, t) => {
4137
4137
  const { __scopeAlertDialog: n, children: r, ...o } = e, a = gn(n), i = V(null), l = Ee(t, i), s = V(null);
4138
- return /* @__PURE__ */ k(m6, {
4138
+ return /* @__PURE__ */ k(mP, {
4139
4139
  contentName: cm,
4140
- titleName: P6,
4140
+ titleName: PP,
4141
4141
  docsSlug: "alert-dialog"
4142
- }, /* @__PURE__ */ k(S6, {
4142
+ }, /* @__PURE__ */ k(SP, {
4143
4143
  scope: n,
4144
4144
  cancelRef: s
4145
4145
  }, /* @__PURE__ */ k(im, O({
@@ -4155,27 +4155,27 @@ const b6 = "DialogTitleWarning", [m6, bV] = wS(b6, {
4155
4155
  onPointerDownOutside: (c) => c.preventDefault(),
4156
4156
  onInteractOutside: (c) => c.preventDefault()
4157
4157
  }), /* @__PURE__ */ k(Wd, null, r), !1)));
4158
- }), P6 = "AlertDialogTitle", T6 = /* @__PURE__ */ U((e, t) => {
4158
+ }), PP = "AlertDialogTitle", TP = /* @__PURE__ */ U((e, t) => {
4159
4159
  const { __scopeAlertDialog: n, ...r } = e, o = gn(n);
4160
4160
  return /* @__PURE__ */ k(lm, O({}, o, r, {
4161
4161
  ref: t
4162
4162
  }));
4163
- }), k6 = /* @__PURE__ */ U((e, t) => {
4163
+ }), kP = /* @__PURE__ */ U((e, t) => {
4164
4164
  const { __scopeAlertDialog: n, ...r } = e, o = gn(n);
4165
4165
  return /* @__PURE__ */ k(sm, O({}, o, r, {
4166
4166
  ref: t
4167
4167
  }));
4168
- }), C6 = /* @__PURE__ */ U((e, t) => {
4168
+ }), CP = /* @__PURE__ */ U((e, t) => {
4169
4169
  const { __scopeAlertDialog: n, ...r } = e, o = gn(n);
4170
4170
  return /* @__PURE__ */ k(hl, O({}, o, r, {
4171
4171
  ref: t
4172
4172
  }));
4173
- }), R6 = "AlertDialogCancel", A6 = /* @__PURE__ */ U((e, t) => {
4174
- const { __scopeAlertDialog: n, ...r } = e, { cancelRef: o } = E6(R6, n), a = gn(n), i = Ee(t, o);
4173
+ }), RP = "AlertDialogCancel", AP = /* @__PURE__ */ U((e, t) => {
4174
+ const { __scopeAlertDialog: n, ...r } = e, { cancelRef: o } = EP(RP, n), a = gn(n), i = Ee(t, o);
4175
4175
  return /* @__PURE__ */ k(hl, O({}, a, r, {
4176
4176
  ref: i
4177
4177
  }));
4178
- }), I6 = y6, O6 = _6, M6 = x6, F6 = w6, L6 = D6, N6 = C6, dm = A6, z6 = T6, K6 = k6;
4178
+ }), IP = yP, OP = _P, MP = xP, FP = wP, LP = DP, NP = CP, dm = AP, zP = TP, KP = kP;
4179
4179
  function bl(e, t) {
4180
4180
  if (e == null)
4181
4181
  return {};
@@ -4197,7 +4197,7 @@ function um() {
4197
4197
  return xp || (xp = 1, bs = Function.call.bind(Object.prototype.hasOwnProperty)), bs;
4198
4198
  }
4199
4199
  var ms, wp;
4200
- function V6() {
4200
+ function VP() {
4201
4201
  if (wp)
4202
4202
  return ms;
4203
4203
  wp = 1;
@@ -4247,11 +4247,11 @@ function V6() {
4247
4247
  }, ms = o, ms;
4248
4248
  }
4249
4249
  var vs, Sp;
4250
- function B6() {
4250
+ function BP() {
4251
4251
  if (Sp)
4252
4252
  return vs;
4253
4253
  Sp = 1;
4254
- var e = Bd, t = Tb, n = uu(), r = um(), o = V6(), a = function() {
4254
+ var e = Bd, t = Tb, n = uu(), r = um(), o = VP(), a = function() {
4255
4255
  };
4256
4256
  process.env.NODE_ENV !== "production" && (a = function(l) {
4257
4257
  var s = "Warning: " + l;
@@ -4569,7 +4569,7 @@ Valid keys: ` + JSON.stringify(Object.keys(F), null, " ")
4569
4569
  }, vs;
4570
4570
  }
4571
4571
  var $s, Ep;
4572
- function j6() {
4572
+ function jP() {
4573
4573
  if (Ep)
4574
4574
  return $s;
4575
4575
  Ep = 1;
@@ -4618,13 +4618,13 @@ function j6() {
4618
4618
  }, $s;
4619
4619
  }
4620
4620
  if (process.env.NODE_ENV !== "production") {
4621
- var U6 = Bd, W6 = !0;
4622
- Ac.exports = B6()(U6.isElement, W6);
4621
+ var UP = Bd, WP = !0;
4622
+ Ac.exports = BP()(UP.isElement, WP);
4623
4623
  } else
4624
- Ac.exports = j6()();
4624
+ Ac.exports = jP()();
4625
4625
  var Te = Ac.exports;
4626
4626
  const ue = /* @__PURE__ */ al(Te);
4627
- var Ic = "data-focus-lock", fm = "data-focus-lock-disabled", H6 = "data-no-focus-lock", G6 = "data-autofocus-inside", Y6 = "data-no-autofocus", ys = {
4627
+ var Ic = "data-focus-lock", fm = "data-focus-lock-disabled", HP = "data-no-focus-lock", GP = "data-autofocus-inside", YP = "data-no-autofocus", ys = {
4628
4628
  width: "1px",
4629
4629
  height: "0px",
4630
4630
  padding: 0,
@@ -4640,13 +4640,13 @@ var pm = lu({}, function(e) {
4640
4640
  target: t,
4641
4641
  currentTarget: n
4642
4642
  };
4643
- }), gm = lu(), q6 = lu(), X6 = Kb({
4643
+ }), gm = lu(), qP = lu(), XP = Kb({
4644
4644
  async: !0
4645
4645
  // focus-lock sidecar is not required on the server
4646
4646
  // however, it might be required for JSDOM tests
4647
4647
  // ssr: true,
4648
- }), J6 = [], fu = /* @__PURE__ */ X.forwardRef(function(t, n) {
4649
- var r, o = X.useState(), a = o[0], i = o[1], l = X.useRef(), s = X.useRef(!1), c = X.useRef(null), d = t.children, u = t.disabled, p = t.noFocusGuards, g = t.persistentFocus, h = t.crossFrame, b = t.autoFocus, m = t.allowTextSelection, y = t.group, v = t.className, x = t.whiteList, S = t.hasPositiveIndices, D = t.shards, E = D === void 0 ? J6 : D, I = t.as, $ = I === void 0 ? "div" : I, C = t.lockProps, L = C === void 0 ? {} : C, _ = t.sideCar, N = t.returnFocus, A = t.focusOptions, R = t.onActivation, j = t.onDeactivation, P = X.useState({}), Z = P[0], Y = X.useCallback(function() {
4648
+ }), JP = [], fu = /* @__PURE__ */ X.forwardRef(function(t, n) {
4649
+ var r, o = X.useState(), a = o[0], i = o[1], l = X.useRef(), s = X.useRef(!1), c = X.useRef(null), d = t.children, u = t.disabled, p = t.noFocusGuards, g = t.persistentFocus, h = t.crossFrame, b = t.autoFocus, m = t.allowTextSelection, y = t.group, v = t.className, x = t.whiteList, S = t.hasPositiveIndices, D = t.shards, E = D === void 0 ? JP : D, I = t.as, $ = I === void 0 ? "div" : I, C = t.lockProps, L = C === void 0 ? {} : C, _ = t.sideCar, N = t.returnFocus, A = t.focusOptions, R = t.onActivation, j = t.onDeactivation, P = X.useState({}), Z = P[0], Y = X.useCallback(function() {
4650
4650
  c.current = c.current || document && document.activeElement, l.current && R && R(l.current), s.current = !0;
4651
4651
  }, [R]), B = X.useCallback(function() {
4652
4652
  s.current = !1, j && j(l.current);
@@ -4691,7 +4691,7 @@ var pm = lu({}, function(e) {
4691
4691
  }) : null
4692
4692
  ], !u && /* @__PURE__ */ X.createElement(_, {
4693
4693
  id: Z,
4694
- sideCar: X6,
4694
+ sideCar: XP,
4695
4695
  observed: a,
4696
4696
  disabled: u,
4697
4697
  persistentFocus: g,
@@ -4773,7 +4773,7 @@ function On(e) {
4773
4773
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
4774
4774
  }, On(e);
4775
4775
  }
4776
- function Z6(e, t) {
4776
+ function ZP(e, t) {
4777
4777
  if (On(e) !== "object" || e === null)
4778
4778
  return e;
4779
4779
  var n = e[Symbol.toPrimitive];
@@ -4786,7 +4786,7 @@ function Z6(e, t) {
4786
4786
  return (t === "string" ? String : Number)(e);
4787
4787
  }
4788
4788
  function bm(e) {
4789
- var t = Z6(e, "string");
4789
+ var t = ZP(e, "string");
4790
4790
  return On(t) === "symbol" ? t : String(t);
4791
4791
  }
4792
4792
  function Ur(e, t, n) {
@@ -4797,7 +4797,7 @@ function Ur(e, t, n) {
4797
4797
  writable: !0
4798
4798
  }) : e[t] = n, e;
4799
4799
  }
4800
- function Q6(e, t) {
4800
+ function QP(e, t) {
4801
4801
  if (process.env.NODE_ENV !== "production") {
4802
4802
  if (typeof e != "function")
4803
4803
  throw new Error("Expected reducePropsToState to be a function.");
@@ -4847,7 +4847,7 @@ var Vt = function(e) {
4847
4847
  return Array.isArray(e) ? e : [e];
4848
4848
  }, mm = function(e) {
4849
4849
  return Array.isArray(e) ? e[0] : e;
4850
- }, eP = function(e) {
4850
+ }, e6 = function(e) {
4851
4851
  if (e.nodeType !== Node.ELEMENT_NODE)
4852
4852
  return !1;
4853
4853
  var t = window.getComputedStyle(e, null);
@@ -4859,43 +4859,43 @@ var Vt = function(e) {
4859
4859
  ) : e.parentNode;
4860
4860
  }, $m = function(e) {
4861
4861
  return e === document || e && e.nodeType === Node.DOCUMENT_NODE;
4862
- }, tP = function(e, t) {
4863
- return !e || $m(e) || !eP(e) && t(vm(e));
4862
+ }, t6 = function(e, t) {
4863
+ return !e || $m(e) || !e6(e) && t(vm(e));
4864
4864
  }, ym = function(e, t) {
4865
4865
  var n = e.get(t);
4866
4866
  if (n !== void 0)
4867
4867
  return n;
4868
- var r = tP(t, ym.bind(void 0, e));
4868
+ var r = t6(t, ym.bind(void 0, e));
4869
4869
  return e.set(t, r), r;
4870
- }, nP = function(e, t) {
4871
- return e && !$m(e) ? aP(e) ? t(vm(e)) : !1 : !0;
4870
+ }, n6 = function(e, t) {
4871
+ return e && !$m(e) ? a6(e) ? t(vm(e)) : !1 : !0;
4872
4872
  }, _m = function(e, t) {
4873
4873
  var n = e.get(t);
4874
4874
  if (n !== void 0)
4875
4875
  return n;
4876
- var r = nP(t, _m.bind(void 0, e));
4876
+ var r = n6(t, _m.bind(void 0, e));
4877
4877
  return e.set(t, r), r;
4878
4878
  }, xm = function(e) {
4879
4879
  return e.dataset;
4880
- }, rP = function(e) {
4880
+ }, r6 = function(e) {
4881
4881
  return e.tagName === "BUTTON";
4882
4882
  }, wm = function(e) {
4883
4883
  return e.tagName === "INPUT";
4884
4884
  }, Sm = function(e) {
4885
4885
  return wm(e) && e.type === "radio";
4886
- }, oP = function(e) {
4887
- return !((wm(e) || rP(e)) && (e.type === "hidden" || e.disabled));
4888
- }, aP = function(e) {
4889
- var t = e.getAttribute(Y6);
4886
+ }, o6 = function(e) {
4887
+ return !((wm(e) || r6(e)) && (e.type === "hidden" || e.disabled));
4888
+ }, a6 = function(e) {
4889
+ var t = e.getAttribute(YP);
4890
4890
  return ![!0, "true", ""].includes(t);
4891
4891
  }, pu = function(e) {
4892
4892
  var t;
4893
4893
  return !!(e && (!((t = xm(e)) === null || t === void 0) && t.focusGuard));
4894
4894
  }, $i = function(e) {
4895
4895
  return !pu(e);
4896
- }, iP = function(e) {
4896
+ }, i6 = function(e) {
4897
4897
  return !!e;
4898
- }, lP = function(e, t) {
4898
+ }, l6 = function(e, t) {
4899
4899
  var n = e.tabIndex - t.tabIndex, r = e.index - t.index;
4900
4900
  if (n) {
4901
4901
  if (!e.tabIndex)
@@ -4913,8 +4913,8 @@ var Vt = function(e) {
4913
4913
  };
4914
4914
  }).filter(function(r) {
4915
4915
  return !t || r.tabIndex >= 0;
4916
- }).sort(lP);
4917
- }, sP = [
4916
+ }).sort(l6);
4917
+ }, s6 = [
4918
4918
  "button:enabled",
4919
4919
  "select:enabled",
4920
4920
  "textarea:enabled",
@@ -4932,17 +4932,17 @@ var Vt = function(e) {
4932
4932
  "[tabindex]",
4933
4933
  "[contenteditable]",
4934
4934
  "[autofocus]"
4935
- ], gu = sP.join(","), cP = "".concat(gu, ", [data-focus-guard]"), Dm = function(e, t) {
4935
+ ], gu = s6.join(","), c6 = "".concat(gu, ", [data-focus-guard]"), Dm = function(e, t) {
4936
4936
  return Vt((e.shadowRoot || e).children).reduce(function(n, r) {
4937
- return n.concat(r.matches(t ? cP : gu) ? [r] : [], Dm(r));
4937
+ return n.concat(r.matches(t ? c6 : gu) ? [r] : [], Dm(r));
4938
4938
  }, []);
4939
- }, dP = function(e, t) {
4939
+ }, d6 = function(e, t) {
4940
4940
  var n;
4941
4941
  return e instanceof HTMLIFrameElement && (!((n = e.contentDocument) === null || n === void 0) && n.body) ? vl([e.contentDocument.body], t) : [e];
4942
4942
  }, vl = function(e, t) {
4943
4943
  return e.reduce(function(n, r) {
4944
4944
  var o, a = Dm(r, t), i = (o = []).concat.apply(o, a.map(function(l) {
4945
- return dP(l, t);
4945
+ return d6(l, t);
4946
4946
  }));
4947
4947
  return n.concat(
4948
4948
  // add all tabbables inside and within shadow DOMs in DOM order
@@ -4953,8 +4953,8 @@ var Vt = function(e) {
4953
4953
  }) : []
4954
4954
  );
4955
4955
  }, []);
4956
- }, uP = function(e) {
4957
- var t = e.querySelectorAll("[".concat(G6, "]"));
4956
+ }, u6 = function(e) {
4957
+ var t = e.querySelectorAll("[".concat(GP, "]"));
4958
4958
  return Vt(t).map(function(n) {
4959
4959
  return vl([n]);
4960
4960
  }).reduce(function(n, r) {
@@ -4964,7 +4964,7 @@ var Vt = function(e) {
4964
4964
  return Vt(e).filter(function(n) {
4965
4965
  return ym(t, n);
4966
4966
  }).filter(function(n) {
4967
- return oP(n);
4967
+ return o6(n);
4968
4968
  });
4969
4969
  }, Dp = function(e, t) {
4970
4970
  return t === void 0 && (t = /* @__PURE__ */ new Map()), Vt(e).filter(function(n) {
@@ -4974,8 +4974,8 @@ var Vt = function(e) {
4974
4974
  return Em(hu(vl(e, n), t), !0, n);
4975
4975
  }, Pp = function(e, t) {
4976
4976
  return Em(hu(vl(e), t), !1);
4977
- }, fP = function(e, t) {
4978
- return hu(uP(e), t);
4977
+ }, f6 = function(e, t) {
4978
+ return hu(u6(e), t);
4979
4979
  }, Wr = function(e, t) {
4980
4980
  return e.shadowRoot ? Wr(e.shadowRoot, t) : Object.getPrototypeOf(e).contains !== void 0 && Object.getPrototypeOf(e).contains.call(e, t) ? !0 : Vt(e.children).some(function(n) {
4981
4981
  var r;
@@ -4985,7 +4985,7 @@ var Vt = function(e) {
4985
4985
  }
4986
4986
  return Wr(n, t);
4987
4987
  });
4988
- }, pP = function(e) {
4988
+ }, p6 = function(e) {
4989
4989
  for (var t = /* @__PURE__ */ new Set(), n = e.length, r = 0; r < n; r += 1)
4990
4990
  for (var o = r + 1; o < n; o += 1) {
4991
4991
  var a = e[r].compareDocumentPosition(e[o]);
@@ -5000,9 +5000,9 @@ var Vt = function(e) {
5000
5000
  var t = vi(e);
5001
5001
  return t.filter(Boolean).reduce(function(n, r) {
5002
5002
  var o = r.getAttribute(Ic);
5003
- return n.push.apply(n, o ? pP(Vt(Pm(r).querySelectorAll("[".concat(Ic, '="').concat(o, '"]:not([').concat(fm, '="disabled"])')))) : [r]), n;
5003
+ return n.push.apply(n, o ? p6(Vt(Pm(r).querySelectorAll("[".concat(Ic, '="').concat(o, '"]:not([').concat(fm, '="disabled"])')))) : [r]), n;
5004
5004
  }, []);
5005
- }, gP = function(e) {
5005
+ }, g6 = function(e) {
5006
5006
  try {
5007
5007
  return e();
5008
5008
  } catch {
@@ -5011,35 +5011,35 @@ var Vt = function(e) {
5011
5011
  }, Go = function(e) {
5012
5012
  if (e === void 0 && (e = document), !(!e || !e.activeElement)) {
5013
5013
  var t = e.activeElement;
5014
- return t.shadowRoot ? Go(t.shadowRoot) : t instanceof HTMLIFrameElement && gP(function() {
5014
+ return t.shadowRoot ? Go(t.shadowRoot) : t instanceof HTMLIFrameElement && g6(function() {
5015
5015
  return t.contentWindow.document;
5016
5016
  }) ? Go(t.contentWindow.document) : t;
5017
5017
  }
5018
- }, hP = function(e, t) {
5018
+ }, h6 = function(e, t) {
5019
5019
  return e === t;
5020
- }, bP = function(e, t) {
5020
+ }, b6 = function(e, t) {
5021
5021
  return !!Vt(e.querySelectorAll("iframe")).some(function(n) {
5022
- return hP(n, t);
5022
+ return h6(n, t);
5023
5023
  });
5024
5024
  }, Tm = function(e, t) {
5025
5025
  return t === void 0 && (t = Go(mm(e).ownerDocument)), !t || t.dataset && t.dataset.focusGuard ? !1 : bu(e).some(function(n) {
5026
- return Wr(n, t) || bP(n, t);
5026
+ return Wr(n, t) || b6(n, t);
5027
5027
  });
5028
- }, mP = function(e) {
5028
+ }, m6 = function(e) {
5029
5029
  e === void 0 && (e = document);
5030
5030
  var t = Go(e);
5031
- return t ? Vt(e.querySelectorAll("[".concat(H6, "]"))).some(function(n) {
5031
+ return t ? Vt(e.querySelectorAll("[".concat(HP, "]"))).some(function(n) {
5032
5032
  return Wr(n, t);
5033
5033
  }) : !1;
5034
- }, vP = function(e, t) {
5034
+ }, v6 = function(e, t) {
5035
5035
  return t.filter(Sm).filter(function(n) {
5036
5036
  return n.name === e.name;
5037
5037
  }).filter(function(n) {
5038
5038
  return n.checked;
5039
5039
  })[0] || e;
5040
5040
  }, mu = function(e, t) {
5041
- return Sm(e) && e.name ? vP(e, t) : e;
5042
- }, $P = function(e) {
5041
+ return Sm(e) && e.name ? v6(e, t) : e;
5042
+ }, $6 = function(e) {
5043
5043
  var t = /* @__PURE__ */ new Set();
5044
5044
  return e.forEach(function(n) {
5045
5045
  return t.add(mu(n, e));
@@ -5050,10 +5050,10 @@ var Vt = function(e) {
5050
5050
  return e[0] && e.length > 1 ? mu(e[0], e) : e[0];
5051
5051
  }, kp = function(e, t) {
5052
5052
  return e.length > 1 ? e.indexOf(mu(e[t], e)) : t;
5053
- }, km = "NEW_FOCUS", yP = function(e, t, n, r) {
5053
+ }, km = "NEW_FOCUS", y6 = function(e, t, n, r) {
5054
5054
  var o = e.length, a = e[0], i = e[o - 1], l = pu(n);
5055
5055
  if (!(n && e.indexOf(n) >= 0)) {
5056
- var s = n !== void 0 ? t.indexOf(n) : -1, c = r ? t.indexOf(r) : s, d = r ? e.indexOf(r) : -1, u = s - c, p = t.indexOf(a), g = t.indexOf(i), h = $P(t), b = n !== void 0 ? h.indexOf(n) : -1, m = b - (r ? h.indexOf(r) : s), y = kp(e, 0), v = kp(e, o - 1);
5056
+ var s = n !== void 0 ? t.indexOf(n) : -1, c = r ? t.indexOf(r) : s, d = r ? e.indexOf(r) : -1, u = s - c, p = t.indexOf(a), g = t.indexOf(i), h = $6(t), b = n !== void 0 ? h.indexOf(n) : -1, m = b - (r ? h.indexOf(r) : s), y = kp(e, 0), v = kp(e, o - 1);
5057
5057
  if (s === -1 || d === -1)
5058
5058
  return km;
5059
5059
  if (!u && d >= 0)
@@ -5071,7 +5071,7 @@ var Vt = function(e) {
5071
5071
  if (u)
5072
5072
  return Math.abs(u) > 1 ? d : (o + d + u) % o;
5073
5073
  }
5074
- }, _P = function(e) {
5074
+ }, _6 = function(e) {
5075
5075
  return function(t) {
5076
5076
  var n, r = (n = xm(t)) === null || n === void 0 ? void 0 : n.autofocus;
5077
5077
  return (
@@ -5081,11 +5081,11 @@ var Vt = function(e) {
5081
5081
  e.indexOf(t) >= 0
5082
5082
  );
5083
5083
  };
5084
- }, xP = function(e, t, n) {
5084
+ }, x6 = function(e, t, n) {
5085
5085
  var r = e.map(function(a) {
5086
5086
  var i = a.node;
5087
5087
  return i;
5088
- }), o = Dp(r.filter(_P(n)));
5088
+ }), o = Dp(r.filter(_6(n)));
5089
5089
  return o && o.length ? Tp(o) : Tp(Dp(t));
5090
5090
  }, Fc = function(e, t) {
5091
5091
  return t === void 0 && (t = []), t.push(e), e.parentNode && Fc(e.parentNode.host || e.parentNode, t), t;
@@ -5104,18 +5104,18 @@ var Vt = function(e) {
5104
5104
  c && (!i || Wr(c, i) ? i = c : i = _s(c, i));
5105
5105
  });
5106
5106
  }), i;
5107
- }, wP = function(e, t) {
5107
+ }, w6 = function(e, t) {
5108
5108
  return e.reduce(function(n, r) {
5109
- return n.concat(fP(r, t));
5109
+ return n.concat(f6(r, t));
5110
5110
  }, []);
5111
- }, SP = function(e, t) {
5111
+ }, S6 = function(e, t) {
5112
5112
  var n = /* @__PURE__ */ new Map();
5113
5113
  return t.forEach(function(r) {
5114
5114
  return n.set(r.node, r);
5115
5115
  }), e.map(function(r) {
5116
5116
  return n.get(r);
5117
- }).filter(iP);
5118
- }, EP = function(e, t) {
5117
+ }).filter(i6);
5118
+ }, E6 = function(e, t) {
5119
5119
  var n = Go(vi(e).length > 0 ? document : mm(e).ownerDocument), r = bu(e).filter($i), o = Cm(n || e, e, r), a = /* @__PURE__ */ new Map(), i = Pp(r, a), l = Mc(r, a).filter(function(g) {
5120
5120
  var h = g.node;
5121
5121
  return $i(h);
@@ -5124,12 +5124,12 @@ var Vt = function(e) {
5124
5124
  var s = Pp([o], a).map(function(g) {
5125
5125
  var h = g.node;
5126
5126
  return h;
5127
- }), c = SP(s, l), d = c.map(function(g) {
5127
+ }), c = S6(s, l), d = c.map(function(g) {
5128
5128
  var h = g.node;
5129
5129
  return h;
5130
- }), u = yP(d, s, n, t);
5130
+ }), u = y6(d, s, n, t);
5131
5131
  if (u === km) {
5132
- var p = xP(i, d, wP(r, a));
5132
+ var p = x6(i, d, w6(r, a));
5133
5133
  if (p)
5134
5134
  return { node: p };
5135
5135
  console.warn("focus-lock: cannot find any node to move focus into");
@@ -5137,7 +5137,7 @@ var Vt = function(e) {
5137
5137
  }
5138
5138
  return u === void 0 ? u : c[u];
5139
5139
  }
5140
- }, DP = function(e) {
5140
+ }, D6 = function(e) {
5141
5141
  var t = bu(e).filter($i), n = Cm(e, e, t), r = /* @__PURE__ */ new Map(), o = Mc([n], r, !0), a = Mc(t, r).filter(function(i) {
5142
5142
  var l = i.node;
5143
5143
  return $i(l);
@@ -5154,11 +5154,11 @@ var Vt = function(e) {
5154
5154
  guard: pu(l)
5155
5155
  };
5156
5156
  });
5157
- }, PP = function(e, t) {
5157
+ }, P6 = function(e, t) {
5158
5158
  "focus" in e && e.focus(t), "contentWindow" in e && e.contentWindow && e.contentWindow.focus();
5159
5159
  }, xs = 0, ws = !1, Rm = function(e, t, n) {
5160
5160
  n === void 0 && (n = {});
5161
- var r = EP(e, t);
5161
+ var r = E6(e, t);
5162
5162
  if (!ws && r) {
5163
5163
  if (xs > 2) {
5164
5164
  console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"), ws = !0, setTimeout(function() {
@@ -5166,26 +5166,26 @@ var Vt = function(e) {
5166
5166
  }, 1);
5167
5167
  return;
5168
5168
  }
5169
- xs++, PP(r.node, n.focusOptions), xs--;
5169
+ xs++, P6(r.node, n.focusOptions), xs--;
5170
5170
  }
5171
5171
  };
5172
5172
  function vu(e) {
5173
5173
  setTimeout(e, 1);
5174
5174
  }
5175
- var TP = function() {
5175
+ var T6 = function() {
5176
5176
  return document && document.activeElement === document.body;
5177
- }, kP = function() {
5178
- return TP() || mP();
5179
- }, Hr = null, Fr = null, Gr = null, Yo = !1, CP = function() {
5177
+ }, k6 = function() {
5178
+ return T6() || m6();
5179
+ }, Hr = null, Fr = null, Gr = null, Yo = !1, C6 = function() {
5180
5180
  return !0;
5181
- }, RP = function(t) {
5182
- return (Hr.whiteList || CP)(t);
5183
- }, AP = function(t, n) {
5181
+ }, R6 = function(t) {
5182
+ return (Hr.whiteList || C6)(t);
5183
+ }, A6 = function(t, n) {
5184
5184
  Gr = {
5185
5185
  observerNode: t,
5186
5186
  portaledElement: n
5187
5187
  };
5188
- }, IP = function(t) {
5188
+ }, I6 = function(t) {
5189
5189
  return Gr && Gr.portaledElement === t;
5190
5190
  };
5191
5191
  function Cp(e, t, n, r) {
@@ -5203,29 +5203,29 @@ function Cp(e, t, n, r) {
5203
5203
  } while ((a += n) !== t);
5204
5204
  o && (o.node.tabIndex = 0);
5205
5205
  }
5206
- var OP = function(t) {
5206
+ var O6 = function(t) {
5207
5207
  return t && "current" in t ? t.current : t;
5208
- }, MP = function(t) {
5208
+ }, M6 = function(t) {
5209
5209
  return t ? !!Yo : Yo === "meanwhile";
5210
- }, FP = function e(t, n, r) {
5210
+ }, F6 = function e(t, n, r) {
5211
5211
  return n && // find host equal to active element and check nested active element
5212
5212
  (n.host === t && (!n.activeElement || r.contains(n.activeElement)) || n.parentNode && e(t, n.parentNode, r));
5213
- }, LP = function(t, n) {
5213
+ }, L6 = function(t, n) {
5214
5214
  return n.some(function(r) {
5215
- return FP(t, r, r);
5215
+ return F6(t, r, r);
5216
5216
  });
5217
5217
  }, yi = function() {
5218
5218
  var t = !1;
5219
5219
  if (Hr) {
5220
5220
  var n = Hr, r = n.observed, o = n.persistentFocus, a = n.autoFocus, i = n.shards, l = n.crossFrame, s = n.focusOptions, c = r || Gr && Gr.portaledElement, d = document && document.activeElement;
5221
5221
  if (c) {
5222
- var u = [c].concat(i.map(OP).filter(Boolean));
5223
- if ((!d || RP(d)) && (o || MP(l) || !kP() || !Fr && a) && (c && !// active element is "inside" working area
5222
+ var u = [c].concat(i.map(O6).filter(Boolean));
5223
+ if ((!d || R6(d)) && (o || M6(l) || !k6() || !Fr && a) && (c && !// active element is "inside" working area
5224
5224
  (Tm(u) || // check for shadow-dom contained elements
5225
- d && LP(d, u) || IP(d)) && (document && !Fr && d && !a ? (d.blur && d.blur(), document.body.focus()) : (t = Rm(u, Fr, {
5225
+ d && L6(d, u) || I6(d)) && (document && !Fr && d && !a ? (d.blur && d.blur(), document.body.focus()) : (t = Rm(u, Fr, {
5226
5226
  focusOptions: s
5227
5227
  }), Gr = {})), Yo = !1, Fr = document && document.activeElement), document) {
5228
- var p = document && document.activeElement, g = DP(u), h = g.map(function(b) {
5228
+ var p = document && document.activeElement, g = D6(u), h = g.map(function(b) {
5229
5229
  var m = b.node;
5230
5230
  return m;
5231
5231
  }).indexOf(p);
@@ -5244,10 +5244,10 @@ var OP = function(t) {
5244
5244
  yi() && t && (t.stopPropagation(), t.preventDefault());
5245
5245
  }, $u = function() {
5246
5246
  return vu(yi);
5247
- }, NP = function(t) {
5247
+ }, N6 = function(t) {
5248
5248
  var n = t.target, r = t.currentTarget;
5249
- r.contains(n) || AP(r, n);
5250
- }, zP = function() {
5249
+ r.contains(n) || A6(r, n);
5250
+ }, z6 = function() {
5251
5251
  return null;
5252
5252
  };
5253
5253
  process.env.NODE_ENV !== "production" && ue.node.isRequired;
@@ -5255,45 +5255,45 @@ var Im = function() {
5255
5255
  Yo = "just", vu(function() {
5256
5256
  Yo = "meanwhile";
5257
5257
  });
5258
- }, KP = function() {
5258
+ }, K6 = function() {
5259
5259
  document.addEventListener("focusin", Am), document.addEventListener("focusout", $u), window.addEventListener("blur", Im);
5260
- }, VP = function() {
5260
+ }, V6 = function() {
5261
5261
  document.removeEventListener("focusin", Am), document.removeEventListener("focusout", $u), window.removeEventListener("blur", Im);
5262
5262
  };
5263
- function BP(e) {
5263
+ function B6(e) {
5264
5264
  return e.filter(function(t) {
5265
5265
  var n = t.disabled;
5266
5266
  return !n;
5267
5267
  });
5268
5268
  }
5269
- function jP(e) {
5269
+ function j6(e) {
5270
5270
  var t = e.slice(-1)[0];
5271
- t && !Hr && KP();
5271
+ t && !Hr && K6();
5272
5272
  var n = Hr, r = n && t && t.id === n.id;
5273
5273
  Hr = t, n && !r && (n.onDeactivation(), e.filter(function(o) {
5274
5274
  var a = o.id;
5275
5275
  return a === n.id;
5276
- }).length || n.returnFocus(!t)), t ? (Fr = null, (!r || n.observed !== t.observed) && t.onActivation(), yi(), vu(yi)) : (VP(), Fr = null);
5276
+ }).length || n.returnFocus(!t)), t ? (Fr = null, (!r || n.observed !== t.observed) && t.onActivation(), yi(), vu(yi)) : (V6(), Fr = null);
5277
5277
  }
5278
- pm.assignSyncMedium(NP);
5278
+ pm.assignSyncMedium(N6);
5279
5279
  gm.assignMedium($u);
5280
- q6.assignMedium(function(e) {
5280
+ qP.assignMedium(function(e) {
5281
5281
  return e({
5282
5282
  moveFocusInside: Rm,
5283
5283
  focusInside: Tm
5284
5284
  });
5285
5285
  });
5286
- const UP = Q6(BP, jP)(zP);
5286
+ const U6 = QP(B6, j6)(z6);
5287
5287
  var Om = /* @__PURE__ */ X.forwardRef(function(t, n) {
5288
5288
  return /* @__PURE__ */ X.createElement(hm, O({
5289
- sideCar: UP,
5289
+ sideCar: U6,
5290
5290
  ref: n
5291
5291
  }, t));
5292
5292
  }), Mm = hm.propTypes || {};
5293
5293
  Mm.sideCar;
5294
- var WP = bl(Mm, ["sideCar"]);
5295
- Om.propTypes = process.env.NODE_ENV !== "production" ? WP : {};
5296
- const HP = Om;
5294
+ var W6 = bl(Mm, ["sideCar"]);
5295
+ Om.propTypes = process.env.NODE_ENV !== "production" ? W6 : {};
5296
+ const H6 = Om;
5297
5297
  var $l = {}, yu = {}, Fm = { exports: {} };
5298
5298
  /*!
5299
5299
  Copyright (c) 2015 Jed Watson.
@@ -5316,12 +5316,12 @@ Object.defineProperty(Ve, "__esModule", {
5316
5316
  value: !0
5317
5317
  });
5318
5318
  Ve.pipe = Ve.listenerOptions = void 0;
5319
- Ve.preventTouchMove = GP;
5320
- Ve.allowTouchMove = YP;
5321
- Ve.preventInertiaScroll = qP;
5322
- Ve.isTouchDevice = XP;
5323
- Ve.camelToKebab = JP;
5324
- Ve.parse = ZP;
5319
+ Ve.preventTouchMove = G6;
5320
+ Ve.allowTouchMove = Y6;
5321
+ Ve.preventInertiaScroll = q6;
5322
+ Ve.isTouchDevice = X6;
5323
+ Ve.camelToKebab = J6;
5324
+ Ve.parse = Z6;
5325
5325
  Ve.getPadding = eT;
5326
5326
  Ve.getWindowHeight = tT;
5327
5327
  Ve.getDocumentHeight = nT;
@@ -5333,27 +5333,27 @@ Ve.listenerOptions = {
5333
5333
  capture: !1,
5334
5334
  passive: !1
5335
5335
  };
5336
- function GP(e) {
5336
+ function G6(e) {
5337
5337
  return e.preventDefault(), !1;
5338
5338
  }
5339
- function YP(e) {
5339
+ function Y6(e) {
5340
5340
  var t = e.currentTarget;
5341
5341
  return t.scrollHeight > t.clientHeight ? (e.stopPropagation(), !0) : (e.preventDefault(), !1);
5342
5342
  }
5343
- function qP() {
5343
+ function q6() {
5344
5344
  var e = this.scrollTop, t = this.scrollHeight, n = e + this.offsetHeight;
5345
5345
  e === 0 ? this.scrollTop = 1 : n === t && (this.scrollTop = e - 1);
5346
5346
  }
5347
- function XP() {
5347
+ function X6() {
5348
5348
  return ur.canUseDOM ? "ontouchstart" in window || navigator.maxTouchPoints : !1;
5349
5349
  }
5350
- function JP(e) {
5350
+ function J6(e) {
5351
5351
  return e.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase();
5352
5352
  }
5353
- function ZP(e) {
5353
+ function Z6(e) {
5354
5354
  return isNaN(e) ? e : e + "px";
5355
5355
  }
5356
- var QP = function(t, n) {
5356
+ var Q6 = function(t, n) {
5357
5357
  return function() {
5358
5358
  return n(t.apply(void 0, arguments));
5359
5359
  };
@@ -5361,7 +5361,7 @@ var QP = function(t, n) {
5361
5361
  Ve.pipe = function() {
5362
5362
  for (var t = arguments.length, n = Array(t), r = 0; r < t; r++)
5363
5363
  n[r] = arguments[r];
5364
- return n.reduce(QP);
5364
+ return n.reduce(Q6);
5365
5365
  };
5366
5366
  function eT() {
5367
5367
  if (!ur.canUseDOM)
@@ -6144,27 +6144,34 @@ const VT = (e) => {
6144
6144
  maxHeight: o ? "60vh" : null,
6145
6145
  overflowY: o ? "auto" : null,
6146
6146
  ref: n,
6147
- mb: f.spacing_200,
6147
+ pl: f.spacing_500,
6148
+ pr: f.spacing_500,
6149
+ pb: "1px",
6148
6150
  children: r
6149
6151
  }
6150
6152
  );
6151
6153
  }
6152
6154
  );
6153
6155
  Wm.displayName = "Modal.Content";
6154
- const HT = Wm, Hm = K.forwardRef(function({ children: t }, n) {
6155
- return /* @__PURE__ */ w(
6156
- xe,
6157
- {
6158
- "data-id": "modal-footer",
6159
- bg: "white",
6160
- ref: n,
6161
- display: "flex",
6162
- flexDirection: "row",
6163
- justifyContent: "end",
6164
- children: t
6165
- }
6166
- );
6167
- });
6156
+ const HT = Wm, Hm = K.forwardRef(
6157
+ function(t, n) {
6158
+ const { children: r } = t;
6159
+ return /* @__PURE__ */ w(
6160
+ xe,
6161
+ {
6162
+ "data-id": "modal-footer",
6163
+ bg: "white",
6164
+ ref: n,
6165
+ display: "flex",
6166
+ flexDirection: "row",
6167
+ justifyContent: "end",
6168
+ gap: f.spacing_200,
6169
+ p: f.spacing_500,
6170
+ children: r
6171
+ }
6172
+ );
6173
+ }
6174
+ );
6168
6175
  Hm.displayName = "Modal.Footer";
6169
6176
  const GT = Hm, fr = M(xe)`
6170
6177
  font-family: ${f.font_family_pingo};
@@ -6222,22 +6229,35 @@ const GT = Hm, fr = M(xe)`
6222
6229
  ro.displayName = "Title";
6223
6230
  const Gm = K.createContext({}), Ym = K.forwardRef(
6224
6231
  function(t, n) {
6225
- const { children: r, mb: o } = t, { setModalTitle: a } = Le(Gm);
6226
- return q(() => {
6232
+ const { children: r, pb: o } = t, { setModalTitle: a, size: i } = Le(Gm);
6233
+ let l = o ?? f.spacing_250;
6234
+ return i === "medium" ? l = f.spacing_400 : i === "large" && (l = f.spacing_500), q(() => {
6227
6235
  a && typeof r == "string" && a(r);
6228
- }, [r, a]), /* @__PURE__ */ w(xe, { "data-id": "modal-header", bg: "white", mb: o ?? f.spacing_200, ref: n, children: /* @__PURE__ */ w(xe, { display: "flex", alignItems: "center", children: /* @__PURE__ */ w(xe, { flex: "1", children: /* @__PURE__ */ w(ro, { as: "h2", looksLike: "h6", children: r }) }) }) });
6236
+ }, [r, a]), /* @__PURE__ */ w(
6237
+ xe,
6238
+ {
6239
+ "data-id": "modal-header",
6240
+ bg: "white",
6241
+ ref: n,
6242
+ pt: f.spacing_500,
6243
+ pr: f.spacing_500,
6244
+ pl: f.spacing_500,
6245
+ pb: l,
6246
+ children: /* @__PURE__ */ w(xe, { display: "flex", alignItems: "center", children: /* @__PURE__ */ w(xe, { flex: "1", children: /* @__PURE__ */ w(ro, { as: "h2", looksLike: "h6", children: r }) }) })
6247
+ }
6248
+ );
6229
6249
  }
6230
6250
  );
6231
6251
  Ym.displayName = "Modal.Header";
6232
6252
  const n3 = Ym, Eu = {
6233
- small: "360px",
6234
- medium: "540px",
6235
- large: "960px"
6253
+ small: "450px",
6254
+ medium: "650px",
6255
+ large: "850px"
6236
6256
  }, r3 = M("div")`
6237
6257
  ${VT}
6238
6258
  `, o3 = M("div")`
6239
6259
  ${BT}
6240
- `, a3 = M(HP)`
6260
+ `, a3 = M(H6)`
6241
6261
  ${jT}
6242
6262
  `, i3 = M(xe)`
6243
6263
  ${UT}
@@ -6309,9 +6329,15 @@ const n3 = Ym, Eu = {
6309
6329
  bg: "white",
6310
6330
  tabIndex: -1,
6311
6331
  "data-id": "modal-content-panel",
6312
- p: f.spacing_400,
6313
6332
  borderRadius: f.border_radius_400,
6314
- children: /* @__PURE__ */ w(Gm.Provider, { value: { setModalTitle: g, onClose: l, open: s }, children: r })
6333
+ overflow: "hidden",
6334
+ children: /* @__PURE__ */ w(
6335
+ Gm.Provider,
6336
+ {
6337
+ value: { setModalTitle: g, onClose: l, open: s, size: d },
6338
+ children: r
6339
+ }
6340
+ )
6315
6341
  }
6316
6342
  )
6317
6343
  }
@@ -6484,9 +6510,9 @@ const Jm = `
6484
6510
  `, wV = ({
6485
6511
  children: e = "×",
6486
6512
  ...t
6487
- }) => /* @__PURE__ */ w(f3, { ...t, children: e }), SV = nm, EV = rm, DV = hl, p3 = M(F6)`
6513
+ }) => /* @__PURE__ */ w(f3, { ...t, children: e }), SV = nm, EV = rm, DV = hl, p3 = M(FP)`
6488
6514
  ${qm}
6489
- `, g3 = M(L6)`
6515
+ `, g3 = M(LP)`
6490
6516
  ${Xm}
6491
6517
  width: ${(e) => Eu[e.size ?? "medium"]};
6492
6518
  `;
@@ -6495,16 +6521,16 @@ function PV({
6495
6521
  size: t,
6496
6522
  ...n
6497
6523
  }) {
6498
- return /* @__PURE__ */ oe(M6, { children: [
6524
+ return /* @__PURE__ */ oe(MP, { children: [
6499
6525
  /* @__PURE__ */ w(p3, {}),
6500
6526
  /* @__PURE__ */ w(g3, { size: t, ...n, children: e })
6501
6527
  ] });
6502
6528
  }
6503
- const TV = M(z6)`
6529
+ const TV = M(zP)`
6504
6530
  ${Jm}
6505
- `, kV = M(K6)`
6531
+ `, kV = M(KP)`
6506
6532
  ${Zm}
6507
- `, CV = u3, RV = I6, AV = O6, IV = N6, OV = dm, h3 = M(dm)`
6533
+ `, CV = u3, RV = IP, AV = OP, IV = NP, OV = dm, h3 = M(dm)`
6508
6534
  ${Qm}
6509
6535
  `, MV = ({
6510
6536
  children: e = "×",
@@ -19758,7 +19784,7 @@ const pR = M.div`
19758
19784
  height: ${f.sizing_450};
19759
19785
  `;
19760
19786
  function V_(e) {
19761
- const { tooltipContent: t, boldLabel: n } = e, { contains: r } = iC({ sensitivity: "base" }), o = eR({ ...e, defaultFilter: r }), a = X.useRef(null), i = X.useRef(null), l = X.useRef(null), s = X.useRef(null), {
19787
+ const { tooltipContent: t, boldLabel: n = !0 } = e, { contains: r } = iC({ sensitivity: "base" }), o = eR({ ...e, defaultFilter: r }), a = X.useRef(null), i = X.useRef(null), l = X.useRef(null), s = X.useRef(null), {
19762
19788
  buttonProps: c,
19763
19789
  inputProps: d,
19764
19790
  listBoxProps: u,
@@ -23567,7 +23593,7 @@ const Sh = M(dt)`
23567
23593
  labelId: p = "location-input-label",
23568
23594
  inputId: g = "location-input",
23569
23595
  hideLabel: h = !1,
23570
- boldLabel: b = !1,
23596
+ boldLabel: b = !0,
23571
23597
  autoFocus: m,
23572
23598
  extraMenuActions: y = [],
23573
23599
  showExtraActionsWithResults: v = !1,
@@ -23578,6 +23604,8 @@ const Sh = M(dt)`
23578
23604
  l && D(l);
23579
23605
  }, [l]);
23580
23606
  const {
23607
+ // Unclear instructions on if we NEED to use these, leaving them here for now
23608
+ // https://github.com/ErrorPro/react-google-autocomplete?tab=readme-ov-file#arguments-1
23581
23609
  // autocompleteSessionToken,
23582
23610
  // refreshSessionToken,
23583
23611
  placesService: _,
@@ -24601,7 +24629,7 @@ const w2 = U(
24601
24629
  height: p = hf.small,
24602
24630
  locale: g = "en-US",
24603
24631
  isInvalid: h,
24604
- boldLabel: b,
24632
+ boldLabel: b = !0,
24605
24633
  tooltipContent: m,
24606
24634
  ...y
24607
24635
  } = e, v = vn(), x = n ?? v, S = r, D = Vn(t), E = BO({
@@ -24766,7 +24794,7 @@ const E2 = U(
24766
24794
  className: y,
24767
24795
  fontSize: v,
24768
24796
  lineHeight: x,
24769
- boldLabel: S,
24797
+ boldLabel: S = !0,
24770
24798
  ...D
24771
24799
  } = r, E = Vn(t), I = vn(), $ = d ?? I, { labelProps: C, inputProps: L, errorMessageProps: _ } = Ta(
24772
24800
  {
@@ -25214,7 +25242,7 @@ function gB({
25214
25242
  labelId: t = "time-input-label",
25215
25243
  inputId: n = "time-input",
25216
25244
  hideLabel: r,
25217
- boldLabel: o,
25245
+ boldLabel: o = !0,
25218
25246
  interval: a = 5,
25219
25247
  hourCycle: i = "",
25220
25248
  defaultValue: l,
@@ -25486,7 +25514,7 @@ function hB({
25486
25514
  inputId: n = "date-input",
25487
25515
  timeZone: r = Intl.DateTimeFormat().resolvedOptions().timeZone,
25488
25516
  hideLabel: o,
25489
- boldLabel: a,
25517
+ boldLabel: a = !0,
25490
25518
  onChange: i,
25491
25519
  isInvalid: l,
25492
25520
  isDisabled: s,
@@ -25924,7 +25952,7 @@ const Th = M.span`
25924
25952
  align-items: center;
25925
25953
  `, bM = (e) => /* @__PURE__ */ w(qi, { textValue: e.name, children: e.name }, e.key), mM = (e) => {
25926
25954
  const {
25927
- boldLabel: t,
25955
+ boldLabel: t = !0,
25928
25956
  hideLabel: n,
25929
25957
  placeholder: r = "Select...",
25930
25958
  showCaret: o = !0,
@@ -26137,7 +26165,7 @@ const _M = M.span`
26137
26165
  `, I2 = (e) => {
26138
26166
  const {
26139
26167
  label: t,
26140
- boldLabel: n,
26168
+ boldLabel: n = !0,
26141
26169
  autoFocus: r,
26142
26170
  className: o,
26143
26171
  excludeFromTabOrder: a,
@@ -26212,54 +26240,46 @@ const _M = M.span`
26212
26240
  }
26213
26241
  ) }),
26214
26242
  g ? /* @__PURE__ */ w(Ut, { ...E, children: g }) : null,
26215
- y.isOpen ? /* @__PURE__ */ oe(
26216
- vo,
26217
- {
26218
- state: y,
26219
- targetRef: b,
26220
- isTargetWidth: !0,
26221
- children: [
26222
- s ? /* @__PURE__ */ oe(Cn, { children: [
26223
- /* @__PURE__ */ oe(
26224
- Gl,
26225
- {
26226
- onMouseOver: () => {
26227
- L(!0), N();
26228
- },
26229
- onMouseOut: () => L(!1),
26230
- isFocused: C,
26231
- tabIndex: C ? 0 : -1,
26232
- onClick: _,
26233
- "aria-label": "Select All",
26234
- children: [
26235
- /* @__PURE__ */ w(
26236
- S$,
26237
- {
26238
- isDisabled: l ?? !1,
26239
- isSelected: $,
26240
- "aria-label": "Select All",
26241
- onChange: _
26242
- }
26243
- ),
26244
- /* @__PURE__ */ oe($f, { children: [
26245
- /* @__PURE__ */ w(dt, { as: "span", children: c ?? "All" }),
26246
- /* @__PURE__ */ w(yf, { children: $ ? /* @__PURE__ */ w(
26247
- ol,
26248
- {
26249
- "aria-hidden": "true",
26250
- style: { width: 18, height: 18 }
26251
- }
26252
- ) : null })
26253
- ] })
26254
- ]
26255
- }
26256
- ),
26257
- /* @__PURE__ */ w(bR, {})
26258
- ] }) : null,
26259
- /* @__PURE__ */ w(dR, { ...D, state: y, isSelectableAll: !0 })
26260
- ]
26261
- }
26262
- ) : null
26243
+ y.isOpen ? /* @__PURE__ */ oe(vo, { state: y, targetRef: b, isTargetWidth: !0, children: [
26244
+ s ? /* @__PURE__ */ oe(Cn, { children: [
26245
+ /* @__PURE__ */ oe(
26246
+ Gl,
26247
+ {
26248
+ onMouseOver: () => {
26249
+ L(!0), N();
26250
+ },
26251
+ onMouseOut: () => L(!1),
26252
+ isFocused: C,
26253
+ tabIndex: C ? 0 : -1,
26254
+ onClick: _,
26255
+ "aria-label": "Select All",
26256
+ children: [
26257
+ /* @__PURE__ */ w(
26258
+ S$,
26259
+ {
26260
+ isDisabled: l ?? !1,
26261
+ isSelected: $,
26262
+ "aria-label": "Select All",
26263
+ onChange: _
26264
+ }
26265
+ ),
26266
+ /* @__PURE__ */ oe($f, { children: [
26267
+ /* @__PURE__ */ w(dt, { as: "span", children: c ?? "All" }),
26268
+ /* @__PURE__ */ w(yf, { children: $ ? /* @__PURE__ */ w(
26269
+ ol,
26270
+ {
26271
+ "aria-hidden": "true",
26272
+ style: { width: 18, height: 18 }
26273
+ }
26274
+ ) : null })
26275
+ ] })
26276
+ ]
26277
+ }
26278
+ ),
26279
+ /* @__PURE__ */ w(bR, {})
26280
+ ] }) : null,
26281
+ /* @__PURE__ */ w(dR, { ...D, state: y, isSelectableAll: !0 })
26282
+ ] }) : null
26263
26283
  ]
26264
26284
  }
26265
26285
  );
@@ -30169,7 +30189,7 @@ const Hz = M.div`
30169
30189
  &::placeholder {
30170
30190
  ${bf({})}
30171
30191
  }
30172
-
30192
+
30173
30193
  /* Hide the default clear button to use our own custom styled one.
30174
30194
  https://stackoverflow.com/questions/9421551/how-do-i-remove-all-default-webkit-search-field-styling */
30175
30195
  &::-webkit-search-decoration,
@@ -30182,7 +30202,7 @@ const Hz = M.div`
30182
30202
  (e, t) => {
30183
30203
  const {
30184
30204
  label: n,
30185
- boldLabel: r,
30205
+ boldLabel: r = !0,
30186
30206
  hideLabel: o,
30187
30207
  size: a = "small",
30188
30208
  placeholder: i = "Search",