@dxos/shell 0.4.8-main.f253994 → 0.4.8-next.06fa7e4

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.
@@ -482,15 +482,15 @@ function Gd() {
482
482
  return e;
483
483
  }, Gd.apply(this, arguments);
484
484
  }
485
- function en() {
486
- return en = Object.assign ? Object.assign.bind() : function(e) {
485
+ function fn() {
486
+ return fn = Object.assign ? Object.assign.bind() : function(e) {
487
487
  for (var n = 1; n < arguments.length; n++) {
488
488
  var t = arguments[n];
489
489
  for (var i in t)
490
490
  Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
491
491
  }
492
492
  return e;
493
- }, en.apply(this, arguments);
493
+ }, fn.apply(this, arguments);
494
494
  }
495
495
  function B2(e, n) {
496
496
  typeof e == "function" ? e(n) : e != null && (e.current = n);
@@ -507,11 +507,11 @@ const Fn = /* @__PURE__ */ ie((e, n) => {
507
507
  const { children: t, ...i } = e, r = kt.toArray(t), a = r.find(U2);
508
508
  if (a) {
509
509
  const o = a.props.children, s = r.map((f) => f === a ? kt.count(o) > 1 ? kt.only(null) : /* @__PURE__ */ Yi(o) ? o.props.children : null : f);
510
- return /* @__PURE__ */ X(Kd, en({}, i, {
510
+ return /* @__PURE__ */ X(Kd, fn({}, i, {
511
511
  ref: n
512
512
  }), /* @__PURE__ */ Yi(o) ? /* @__PURE__ */ Ut(o, void 0, s) : null);
513
513
  }
514
- return /* @__PURE__ */ X(Kd, en({}, i, {
514
+ return /* @__PURE__ */ X(Kd, fn({}, i, {
515
515
  ref: n
516
516
  }), t);
517
517
  });
@@ -3141,15 +3141,15 @@ function ut(e) {
3141
3141
  }
3142
3142
  const ni = globalThis != null && globalThis.document ? kr : () => {
3143
3143
  };
3144
- function fn() {
3145
- return fn = Object.assign ? Object.assign.bind() : function(e) {
3144
+ function en() {
3145
+ return en = Object.assign ? Object.assign.bind() : function(e) {
3146
3146
  for (var n = 1; n < arguments.length; n++) {
3147
3147
  var t = arguments[n];
3148
3148
  for (var i in t)
3149
3149
  Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
3150
3150
  }
3151
3151
  return e;
3152
- }, fn.apply(this, arguments);
3152
+ }, en.apply(this, arguments);
3153
3153
  }
3154
3154
  function f3(e, n) {
3155
3155
  typeof e == "function" ? e(n) : e != null && (e.current = n);
@@ -3166,11 +3166,11 @@ const Zc = /* @__PURE__ */ ie((e, n) => {
3166
3166
  const { children: t, ...i } = e, r = kt.toArray(t), a = r.find(l3);
3167
3167
  if (a) {
3168
3168
  const o = a.props.children, s = r.map((f) => f === a ? kt.count(o) > 1 ? kt.only(null) : /* @__PURE__ */ Yi(o) ? o.props.children : null : f);
3169
- return /* @__PURE__ */ X(Jd, fn({}, i, {
3169
+ return /* @__PURE__ */ X(Jd, en({}, i, {
3170
3170
  ref: n
3171
3171
  }), /* @__PURE__ */ Yi(o) ? /* @__PURE__ */ Ut(o, void 0, s) : null);
3172
3172
  }
3173
- return /* @__PURE__ */ X(Jd, fn({}, i, {
3173
+ return /* @__PURE__ */ X(Jd, en({}, i, {
3174
3174
  ref: n
3175
3175
  }), t);
3176
3176
  });
@@ -3230,7 +3230,7 @@ const c3 = [
3230
3230
  const { asChild: a, ...o } = i, s = a ? Zc : n;
3231
3231
  return xe(() => {
3232
3232
  window[Symbol.for("radix-ui")] = !0;
3233
- }, []), /* @__PURE__ */ X(s, fn({}, o, {
3233
+ }, []), /* @__PURE__ */ X(s, en({}, o, {
3234
3234
  ref: r
3235
3235
  }));
3236
3236
  });
@@ -3493,7 +3493,7 @@ const T3 = /* @__PURE__ */ Zn({
3493
3493
  ]), xe(() => {
3494
3494
  const T = () => m({});
3495
3495
  return document.addEventListener(Xd, T), () => document.removeEventListener(Xd, T);
3496
- }, []), /* @__PURE__ */ X(En.div, fn({}, l, {
3496
+ }, []), /* @__PURE__ */ X(En.div, en({}, l, {
3497
3497
  ref: g,
3498
3498
  style: {
3499
3499
  pointerEvents: S ? P ? "auto" : "none" : void 0,
@@ -3650,7 +3650,7 @@ const Jl = "focusScope.autoFocusOnMount", Xl = "focusScope.autoFocusOnUnmount",
3650
3650
  i,
3651
3651
  p.paused
3652
3652
  ]);
3653
- return /* @__PURE__ */ X(En.div, fn({
3653
+ return /* @__PURE__ */ X(En.div, en({
3654
3654
  tabIndex: -1
3655
3655
  }, o, {
3656
3656
  ref: h,
@@ -3741,7 +3741,7 @@ function L3(e) {
3741
3741
  const Dm = /* @__PURE__ */ ie((e, n) => {
3742
3742
  var t;
3743
3743
  const { container: i = globalThis == null || (t = globalThis.document) === null || t === void 0 ? void 0 : t.body, ...r } = e;
3744
- return i ? /* @__PURE__ */ Kc.createPortal(/* @__PURE__ */ X(En.div, fn({}, r, {
3744
+ return i ? /* @__PURE__ */ Kc.createPortal(/* @__PURE__ */ X(En.div, en({}, r, {
3745
3745
  ref: n
3746
3746
  })), i) : null;
3747
3747
  });
@@ -5333,7 +5333,7 @@ function E6(e) {
5333
5333
  }
5334
5334
  const S6 = /* @__PURE__ */ ie((e, n) => {
5335
5335
  const { children: t, width: i = 10, height: r = 5, ...a } = e;
5336
- return /* @__PURE__ */ X(rn.svg, fn({}, a, {
5336
+ return /* @__PURE__ */ X(rn.svg, en({}, a, {
5337
5337
  ref: n,
5338
5338
  width: i,
5339
5339
  height: r,
@@ -5490,7 +5490,7 @@ const rd = "rovingFocusGroup.onEntryFocus", O6 = {
5490
5490
  scope: e.__scopeRovingFocusGroup
5491
5491
  }, /* @__PURE__ */ X(ic.Slot, {
5492
5492
  scope: e.__scopeRovingFocusGroup
5493
- }, /* @__PURE__ */ X(N6, fn({}, e, {
5493
+ }, /* @__PURE__ */ X(N6, en({}, e, {
5494
5494
  ref: n
5495
5495
  }))))), N6 = /* @__PURE__ */ ie((e, n) => {
5496
5496
  const { __scopeRovingFocusGroup: t, orientation: i, loop: r = !1, dir: a, currentTabStopId: o, defaultCurrentTabStopId: s, onCurrentTabStopIdChange: f, onEntryFocus: l, ...d } = e, u = ye(null), h = pt(n, u), p = lg(a), [m = null, g] = Tt({
@@ -5532,7 +5532,7 @@ const rd = "rovingFocusGroup.onEntryFocus", O6 = {
5532
5532
  ),
5533
5533
  []
5534
5534
  )
5535
- }, /* @__PURE__ */ X(rn.div, fn({
5535
+ }, /* @__PURE__ */ X(rn.div, en({
5536
5536
  tabIndex: y || P === 0 ? -1 : 0,
5537
5537
  "data-orientation": i
5538
5538
  }, d, {
@@ -5586,7 +5586,7 @@ const rd = "rovingFocusGroup.onEntryFocus", O6 = {
5586
5586
  id: f,
5587
5587
  focusable: i,
5588
5588
  active: r
5589
- }, /* @__PURE__ */ X(rn.span, fn({
5589
+ }, /* @__PURE__ */ X(rn.span, en({
5590
5590
  tabIndex: d ? 0 : -1,
5591
5591
  "data-orientation": l.orientation
5592
5592
  }, o, {
@@ -5709,7 +5709,7 @@ const G6 = /* @__PURE__ */ Zn({
5709
5709
  ]), xe(() => {
5710
5710
  const T = () => m({});
5711
5711
  return document.addEventListener(rc, T), () => document.removeEventListener(rc, T);
5712
- }, []), /* @__PURE__ */ X(rn.div, fn({}, l, {
5712
+ }, []), /* @__PURE__ */ X(rn.div, en({}, l, {
5713
5713
  ref: g,
5714
5714
  style: {
5715
5715
  pointerEvents: S ? P ? "auto" : "none" : void 0,
@@ -5878,7 +5878,7 @@ const ad = "focusScope.autoFocusOnMount", od = "focusScope.autoFocusOnUnmount",
5878
5878
  i,
5879
5879
  p.paused
5880
5880
  ]);
5881
- return /* @__PURE__ */ X(rn.div, fn({
5881
+ return /* @__PURE__ */ X(rn.div, en({
5882
5882
  tabIndex: -1
5883
5883
  }, o, {
5884
5884
  ref: h,
@@ -6161,7 +6161,7 @@ function Mg(e) {
6161
6161
  const Ng = ix, fu = ax, Dg = fx, Lg = cx, Bg = /* @__PURE__ */ ie((e, n) => {
6162
6162
  var t;
6163
6163
  const { container: i = globalThis == null || (t = globalThis.document) === null || t === void 0 ? void 0 : t.body, ...r } = e;
6164
- return i ? /* @__PURE__ */ Kc.createPortal(/* @__PURE__ */ X(rn.div, fn({}, r, {
6164
+ return i ? /* @__PURE__ */ Kc.createPortal(/* @__PURE__ */ X(rn.div, en({}, r, {
6165
6165
  ref: n
6166
6166
  })), i) : null;
6167
6167
  }), vx = [
@@ -6225,7 +6225,7 @@ const Ng = ix, fu = ax, Dg = fx, Lg = cx, Bg = /* @__PURE__ */ ie((e, n) => {
6225
6225
  }, i)));
6226
6226
  }, kx = /* @__PURE__ */ ie((e, n) => {
6227
6227
  const { __scopeMenu: t, ...i } = e, r = Vf(t);
6228
- return /* @__PURE__ */ X(fu, fn({}, r, i, {
6228
+ return /* @__PURE__ */ X(fu, en({}, r, i, {
6229
6229
  ref: n
6230
6230
  }));
6231
6231
  }), Wg = "MenuPortal", [xx, Ex] = Sr(Wg, {
@@ -6249,9 +6249,9 @@ const Ng = ix, fu = ax, Dg = fx, Lg = cx, Bg = /* @__PURE__ */ ie((e, n) => {
6249
6249
  present: i || a.open
6250
6250
  }, /* @__PURE__ */ X(ac.Slot, {
6251
6251
  scope: e.__scopeMenu
6252
- }, o.modal ? /* @__PURE__ */ X(Ax, fn({}, r, {
6252
+ }, o.modal ? /* @__PURE__ */ X(Ax, en({}, r, {
6253
6253
  ref: n
6254
- })) : /* @__PURE__ */ X(Tx, fn({}, r, {
6254
+ })) : /* @__PURE__ */ X(Tx, en({}, r, {
6255
6255
  ref: n
6256
6256
  })))));
6257
6257
  }), Ax = /* @__PURE__ */ ie((e, n) => {
@@ -6260,7 +6260,7 @@ const Ng = ix, fu = ax, Dg = fx, Lg = cx, Bg = /* @__PURE__ */ ie((e, n) => {
6260
6260
  const a = i.current;
6261
6261
  if (a)
6262
6262
  return nu(a);
6263
- }, []), /* @__PURE__ */ X(Vg, fn({}, e, {
6263
+ }, []), /* @__PURE__ */ X(Vg, en({}, e, {
6264
6264
  ref: r,
6265
6265
  trapFocus: t.open,
6266
6266
  disableOutsidePointerEvents: t.open,
@@ -6276,7 +6276,7 @@ const Ng = ix, fu = ax, Dg = fx, Lg = cx, Bg = /* @__PURE__ */ ie((e, n) => {
6276
6276
  }));
6277
6277
  }), Tx = /* @__PURE__ */ ie((e, n) => {
6278
6278
  const t = zo(Hi, e.__scopeMenu);
6279
- return /* @__PURE__ */ X(Vg, fn({}, e, {
6279
+ return /* @__PURE__ */ X(Vg, en({}, e, {
6280
6280
  ref: n,
6281
6281
  trapFocus: !1,
6282
6282
  disableOutsidePointerEvents: !1,
@@ -6351,7 +6351,7 @@ const Ng = ix, fu = ax, Dg = fx, Lg = cx, Bg = /* @__PURE__ */ ie((e, n) => {
6351
6351
  onFocusOutside: u,
6352
6352
  onInteractOutside: h,
6353
6353
  onDismiss: p
6354
- }, /* @__PURE__ */ X(W6, fn({
6354
+ }, /* @__PURE__ */ X(W6, en({
6355
6355
  asChild: !0
6356
6356
  }, E, {
6357
6357
  dir: w.dir,
@@ -6362,7 +6362,7 @@ const Ng = ix, fu = ax, Dg = fx, Lg = cx, Bg = /* @__PURE__ */ ie((e, n) => {
6362
6362
  onEntryFocus: cn(f, (fe) => {
6363
6363
  w.isUsingKeyboardRef.current || fe.preventDefault();
6364
6364
  })
6365
- }), /* @__PURE__ */ X(Dg, fn({
6365
+ }), /* @__PURE__ */ X(Dg, en({
6366
6366
  role: "menu",
6367
6367
  "aria-orientation": "vertical",
6368
6368
  "data-state": Ux(y.open),
@@ -6401,14 +6401,14 @@ const Ng = ix, fu = ax, Dg = fx, Lg = cx, Bg = /* @__PURE__ */ ie((e, n) => {
6401
6401
  })))))));
6402
6402
  }), Ox = /* @__PURE__ */ ie((e, n) => {
6403
6403
  const { __scopeMenu: t, ...i } = e;
6404
- return /* @__PURE__ */ X(rn.div, fn({
6404
+ return /* @__PURE__ */ X(rn.div, en({
6405
6405
  role: "group"
6406
6406
  }, i, {
6407
6407
  ref: n
6408
6408
  }));
6409
6409
  }), Px = /* @__PURE__ */ ie((e, n) => {
6410
6410
  const { __scopeMenu: t, ...i } = e;
6411
- return /* @__PURE__ */ X(rn.div, fn({}, i, {
6411
+ return /* @__PURE__ */ X(rn.div, en({}, i, {
6412
6412
  ref: n
6413
6413
  }));
6414
6414
  }), oc = "MenuItem", Ev = "menu.itemSelect", qg = /* @__PURE__ */ ie((e, n) => {
@@ -6428,7 +6428,7 @@ const Ng = ix, fu = ax, Dg = fx, Lg = cx, Bg = /* @__PURE__ */ ie((e, n) => {
6428
6428
  ), Sm(u, h), h.defaultPrevented ? l.current = !1 : o.onClose();
6429
6429
  }
6430
6430
  };
6431
- return /* @__PURE__ */ X(Ix, fn({}, r, {
6431
+ return /* @__PURE__ */ X(Ix, en({}, r, {
6432
6432
  ref: f,
6433
6433
  disabled: t,
6434
6434
  onClick: cn(e.onClick, d),
@@ -6459,11 +6459,11 @@ const Ng = ix, fu = ax, Dg = fx, Lg = cx, Bg = /* @__PURE__ */ ie((e, n) => {
6459
6459
  scope: t,
6460
6460
  disabled: i,
6461
6461
  textValue: r ?? h
6462
- }, /* @__PURE__ */ X(H6, fn({
6462
+ }, /* @__PURE__ */ X(H6, en({
6463
6463
  asChild: !0
6464
6464
  }, s, {
6465
6465
  focusable: !i
6466
- }), /* @__PURE__ */ X(rn.div, fn({
6466
+ }), /* @__PURE__ */ X(rn.div, en({
6467
6467
  role: "menuitem",
6468
6468
  "data-highlighted": d ? "" : void 0,
6469
6469
  "aria-disabled": i || void 0,
@@ -6490,7 +6490,7 @@ const Ng = ix, fu = ax, Dg = fx, Lg = cx, Bg = /* @__PURE__ */ ie((e, n) => {
6490
6490
  return /* @__PURE__ */ X(Mx, {
6491
6491
  scope: e.__scopeMenu,
6492
6492
  checked: t
6493
- }, /* @__PURE__ */ X(qg, fn({
6493
+ }, /* @__PURE__ */ X(qg, en({
6494
6494
  role: "menuitemcheckbox",
6495
6495
  "aria-checked": ff(t) ? "mixed" : t
6496
6496
  }, r, {
@@ -6516,13 +6516,13 @@ const Gg = "MenuItemIndicator", [Mx, Nx] = Sr(Gg, {
6516
6516
  const { __scopeMenu: t, forceMount: i, ...r } = e, a = Nx(Gg, t);
6517
6517
  return /* @__PURE__ */ X(Pa, {
6518
6518
  present: i || ff(a.checked) || a.checked === !0
6519
- }, /* @__PURE__ */ X(rn.span, fn({}, r, {
6519
+ }, /* @__PURE__ */ X(rn.span, en({}, r, {
6520
6520
  ref: n,
6521
6521
  "data-state": Kg(a.checked)
6522
6522
  })));
6523
6523
  }), Lx = /* @__PURE__ */ ie((e, n) => {
6524
6524
  const { __scopeMenu: t, ...i } = e;
6525
- return /* @__PURE__ */ X(rn.div, fn({
6525
+ return /* @__PURE__ */ X(rn.div, en({
6526
6526
  role: "separator",
6527
6527
  "aria-orientation": "horizontal"
6528
6528
  }, i, {
@@ -6530,7 +6530,7 @@ const Gg = "MenuItemIndicator", [Mx, Nx] = Sr(Gg, {
6530
6530
  }));
6531
6531
  }), Bx = /* @__PURE__ */ ie((e, n) => {
6532
6532
  const { __scopeMenu: t, ...i } = e, r = Vf(t);
6533
- return /* @__PURE__ */ X(Lg, fn({}, r, i, {
6533
+ return /* @__PURE__ */ X(Lg, en({}, r, i, {
6534
6534
  ref: n
6535
6535
  }));
6536
6536
  }), jx = "MenuSub";
@@ -6774,7 +6774,7 @@ const Zg = "Checkbox", [O5, mU] = er(Zg), [P5, I5] = O5(Zg), R5 = /* @__PURE__ *
6774
6774
  scope: t,
6775
6775
  state: y,
6776
6776
  disabled: s
6777
- }, /* @__PURE__ */ X(En.button, en({
6777
+ }, /* @__PURE__ */ X(En.button, fn({
6778
6778
  type: "button",
6779
6779
  role: "checkbox",
6780
6780
  "aria-checked": pr(y) ? "mixed" : y,
@@ -6809,7 +6809,7 @@ const Zg = "Checkbox", [O5, mU] = er(Zg), [P5, I5] = O5(Zg), R5 = /* @__PURE__ *
6809
6809
  const { __scopeCheckbox: t, forceMount: i, ...r } = e, a = I5(F5, t);
6810
6810
  return /* @__PURE__ */ X(Pt, {
6811
6811
  present: i || pr(a.state) || a.state === !0
6812
- }, /* @__PURE__ */ X(En.span, en({
6812
+ }, /* @__PURE__ */ X(En.span, fn({
6813
6813
  "data-state": Qg(a.state),
6814
6814
  "data-disabled": a.disabled ? "" : void 0
6815
6815
  }, r, {
@@ -6833,7 +6833,7 @@ const Zg = "Checkbox", [O5, mU] = er(Zg), [P5, I5] = O5(Zg), R5 = /* @__PURE__ *
6833
6833
  o,
6834
6834
  t,
6835
6835
  i
6836
- ]), /* @__PURE__ */ X("input", en({
6836
+ ]), /* @__PURE__ */ X("input", fn({
6837
6837
  type: "checkbox",
6838
6838
  "aria-hidden": !0,
6839
6839
  defaultChecked: pr(t) ? !1 : t
@@ -13094,11 +13094,11 @@ const K0 = "Popover", [Y0, xU] = Wt(K0, [
13094
13094
  return xe(() => (o(), () => s()), [
13095
13095
  o,
13096
13096
  s
13097
- ]), /* @__PURE__ */ X(fu, en({}, a, i, {
13097
+ ]), /* @__PURE__ */ X(fu, fn({}, a, i, {
13098
13098
  ref: n
13099
13099
  }));
13100
13100
  }), C7 = "PopoverTrigger", $7 = /* @__PURE__ */ ie((e, n) => {
13101
- const { __scopePopover: t, ...i } = e, r = nr(C7, t), a = qo(t), o = pt(n, r.triggerRef), s = /* @__PURE__ */ X(rn.button, en({
13101
+ const { __scopePopover: t, ...i } = e, r = nr(C7, t), a = qo(t), o = pt(n, r.triggerRef), s = /* @__PURE__ */ X(rn.button, fn({
13102
13102
  type: "button",
13103
13103
  "aria-haspopup": "dialog",
13104
13104
  "aria-expanded": r.open,
@@ -13108,7 +13108,7 @@ const K0 = "Popover", [Y0, xU] = Wt(K0, [
13108
13108
  ref: o,
13109
13109
  onClick: cn(e.onClick, r.onOpenToggle)
13110
13110
  }));
13111
- return r.hasCustomAnchor ? s : /* @__PURE__ */ X(fu, en({
13111
+ return r.hasCustomAnchor ? s : /* @__PURE__ */ X(fu, fn({
13112
13112
  asChild: !0
13113
13113
  }, a), s);
13114
13114
  }), J0 = "PopoverPortal", [A7, T7] = Y0(J0, {
@@ -13128,9 +13128,9 @@ const K0 = "Popover", [Y0, xU] = Wt(K0, [
13128
13128
  const t = T7(Po, e.__scopePopover), { forceMount: i = t.forceMount, ...r } = e, a = nr(Po, e.__scopePopover);
13129
13129
  return /* @__PURE__ */ X(Pa, {
13130
13130
  present: i || a.open
13131
- }, a.modal ? /* @__PURE__ */ X(I7, en({}, r, {
13131
+ }, a.modal ? /* @__PURE__ */ X(I7, fn({}, r, {
13132
13132
  ref: n
13133
- })) : /* @__PURE__ */ X(R7, en({}, r, {
13133
+ })) : /* @__PURE__ */ X(R7, fn({}, r, {
13134
13134
  ref: n
13135
13135
  })));
13136
13136
  }), I7 = /* @__PURE__ */ ie((e, n) => {
@@ -13142,7 +13142,7 @@ const K0 = "Popover", [Y0, xU] = Wt(K0, [
13142
13142
  }, []), /* @__PURE__ */ X(eu, {
13143
13143
  as: Fn,
13144
13144
  allowPinchZoom: !0
13145
- }, /* @__PURE__ */ X(X0, en({}, e, {
13145
+ }, /* @__PURE__ */ X(X0, fn({}, e, {
13146
13146
  ref: r,
13147
13147
  trapFocus: t.open,
13148
13148
  disableOutsidePointerEvents: !0,
@@ -13166,7 +13166,7 @@ const K0 = "Popover", [Y0, xU] = Wt(K0, [
13166
13166
  })));
13167
13167
  }), R7 = /* @__PURE__ */ ie((e, n) => {
13168
13168
  const t = nr(Po, e.__scopePopover), i = ye(!1), r = ye(!1);
13169
- return /* @__PURE__ */ X(X0, en({}, e, {
13169
+ return /* @__PURE__ */ X(X0, fn({}, e, {
13170
13170
  ref: n,
13171
13171
  trapFocus: !1,
13172
13172
  disableOutsidePointerEvents: !1,
@@ -13201,7 +13201,7 @@ const K0 = "Popover", [Y0, xU] = Wt(K0, [
13201
13201
  onPointerDownOutside: f,
13202
13202
  onFocusOutside: l,
13203
13203
  onDismiss: () => h.onOpenChange(!1)
13204
- }, /* @__PURE__ */ X(Dg, en({
13204
+ }, /* @__PURE__ */ X(Dg, fn({
13205
13205
  "data-state": Z0(h.open),
13206
13206
  role: "dialog",
13207
13207
  id: h.contentId
@@ -13218,7 +13218,7 @@ const K0 = "Popover", [Y0, xU] = Wt(K0, [
13218
13218
  }))));
13219
13219
  }), F7 = "PopoverClose", M7 = /* @__PURE__ */ ie((e, n) => {
13220
13220
  const { __scopePopover: t, ...i } = e, r = nr(F7, t);
13221
- return /* @__PURE__ */ X(rn.button, en({
13221
+ return /* @__PURE__ */ X(rn.button, fn({
13222
13222
  type: "button"
13223
13223
  }, i, {
13224
13224
  ref: n,
@@ -13229,7 +13229,7 @@ const K0 = "Popover", [Y0, xU] = Wt(K0, [
13229
13229
  }));
13230
13230
  }), N7 = /* @__PURE__ */ ie((e, n) => {
13231
13231
  const { __scopePopover: t, ...i } = e, r = qo(t);
13232
- return /* @__PURE__ */ X(Lg, en({}, r, i, {
13232
+ return /* @__PURE__ */ X(Lg, fn({}, r, i, {
13233
13233
  ref: n
13234
13234
  }));
13235
13235
  });
@@ -13271,7 +13271,7 @@ const Q0 = "ScrollArea", [eb, EU] = er(Q0), [j7, It] = eb(Q0), U7 = /* @__PURE__
13271
13271
  onScrollbarYEnabledChange: T,
13272
13272
  onCornerWidthChange: k,
13273
13273
  onCornerHeightChange: S
13274
- }, /* @__PURE__ */ X(En.div, en({
13274
+ }, /* @__PURE__ */ X(En.div, fn({
13275
13275
  dir: B
13276
13276
  }, o, {
13277
13277
  ref: F,
@@ -13289,7 +13289,7 @@ const Q0 = "ScrollArea", [eb, EU] = er(Q0), [j7, It] = eb(Q0), U7 = /* @__PURE__
13289
13289
  dangerouslySetInnerHTML: {
13290
13290
  __html: "[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"
13291
13291
  }
13292
- }), /* @__PURE__ */ X(En.div, en({
13292
+ }), /* @__PURE__ */ X(En.div, fn({
13293
13293
  "data-radix-scroll-area-viewport": ""
13294
13294
  }, r, {
13295
13295
  ref: s,
@@ -13324,16 +13324,16 @@ const Q0 = "ScrollArea", [eb, EU] = er(Q0), [j7, It] = eb(Q0), U7 = /* @__PURE__
13324
13324
  s,
13325
13325
  a,
13326
13326
  o
13327
- ]), r.type === "hover" ? /* @__PURE__ */ X(V7, en({}, i, {
13327
+ ]), r.type === "hover" ? /* @__PURE__ */ X(V7, fn({}, i, {
13328
13328
  ref: n,
13329
13329
  forceMount: t
13330
- })) : r.type === "scroll" ? /* @__PURE__ */ X(q7, en({}, i, {
13330
+ })) : r.type === "scroll" ? /* @__PURE__ */ X(q7, fn({}, i, {
13331
13331
  ref: n,
13332
13332
  forceMount: t
13333
- })) : r.type === "auto" ? /* @__PURE__ */ X(nb, en({}, i, {
13333
+ })) : r.type === "auto" ? /* @__PURE__ */ X(nb, fn({}, i, {
13334
13334
  ref: n,
13335
13335
  forceMount: t
13336
- })) : r.type === "always" ? /* @__PURE__ */ X($u, en({}, i, {
13336
+ })) : r.type === "always" ? /* @__PURE__ */ X($u, fn({}, i, {
13337
13337
  ref: n
13338
13338
  })) : null;
13339
13339
  }), V7 = /* @__PURE__ */ ie((e, n) => {
@@ -13359,7 +13359,7 @@ const Q0 = "ScrollArea", [eb, EU] = er(Q0), [j7, It] = eb(Q0), U7 = /* @__PURE__
13359
13359
  r.scrollHideDelay
13360
13360
  ]), /* @__PURE__ */ X(Pt, {
13361
13361
  present: t || a
13362
- }, /* @__PURE__ */ X(nb, en({
13362
+ }, /* @__PURE__ */ X(nb, fn({
13363
13363
  "data-state": a ? "visible" : "hidden"
13364
13364
  }, i, {
13365
13365
  ref: n
@@ -13415,7 +13415,7 @@ const Q0 = "ScrollArea", [eb, EU] = er(Q0), [j7, It] = eb(Q0), U7 = /* @__PURE__
13415
13415
  o
13416
13416
  ]), /* @__PURE__ */ X(Pt, {
13417
13417
  present: t || s !== "hidden"
13418
- }, /* @__PURE__ */ X($u, en({
13418
+ }, /* @__PURE__ */ X($u, fn({
13419
13419
  "data-state": s === "hidden" ? "hidden" : "visible"
13420
13420
  }, i, {
13421
13421
  ref: n,
@@ -13437,7 +13437,7 @@ const Q0 = "ScrollArea", [eb, EU] = er(Q0), [j7, It] = eb(Q0), U7 = /* @__PURE__
13437
13437
  }, 10);
13438
13438
  return wa(t.viewport, f), wa(t.content, f), /* @__PURE__ */ X(Pt, {
13439
13439
  present: i || a
13440
- }, /* @__PURE__ */ X($u, en({
13440
+ }, /* @__PURE__ */ X($u, fn({
13441
13441
  "data-state": a ? "visible" : "hidden"
13442
13442
  }, r, {
13443
13443
  ref: n
@@ -13463,7 +13463,7 @@ const Q0 = "ScrollArea", [eb, EU] = er(Q0), [j7, It] = eb(Q0), U7 = /* @__PURE__
13463
13463
  function u(h, p) {
13464
13464
  return eC(h, o.current, s, p);
13465
13465
  }
13466
- return t === "horizontal" ? /* @__PURE__ */ X(G7, en({}, d, {
13466
+ return t === "horizontal" ? /* @__PURE__ */ X(G7, fn({}, d, {
13467
13467
  ref: n,
13468
13468
  onThumbPositionChange: () => {
13469
13469
  if (r.viewport && a.current) {
@@ -13477,7 +13477,7 @@ const Q0 = "ScrollArea", [eb, EU] = er(Q0), [j7, It] = eb(Q0), U7 = /* @__PURE__
13477
13477
  onDragScroll: (h) => {
13478
13478
  r.viewport && (r.viewport.scrollLeft = u(h, r.dir));
13479
13479
  }
13480
- })) : t === "vertical" ? /* @__PURE__ */ X(K7, en({}, d, {
13480
+ })) : t === "vertical" ? /* @__PURE__ */ X(K7, fn({}, d, {
13481
13481
  ref: n,
13482
13482
  onThumbPositionChange: () => {
13483
13483
  if (r.viewport && a.current) {
@@ -13498,7 +13498,7 @@ const Q0 = "ScrollArea", [eb, EU] = er(Q0), [j7, It] = eb(Q0), U7 = /* @__PURE__
13498
13498
  f.current && s(getComputedStyle(f.current));
13499
13499
  }, [
13500
13500
  f
13501
- ]), /* @__PURE__ */ X(ib, en({
13501
+ ]), /* @__PURE__ */ X(ib, fn({
13502
13502
  "data-orientation": "horizontal"
13503
13503
  }, r, {
13504
13504
  ref: l,
@@ -13536,7 +13536,7 @@ const Q0 = "ScrollArea", [eb, EU] = er(Q0), [j7, It] = eb(Q0), U7 = /* @__PURE__
13536
13536
  f.current && s(getComputedStyle(f.current));
13537
13537
  }, [
13538
13538
  f
13539
- ]), /* @__PURE__ */ X(ib, en({
13539
+ ]), /* @__PURE__ */ X(ib, fn({
13540
13540
  "data-orientation": "vertical"
13541
13541
  }, r, {
13542
13542
  ref: l,
@@ -13609,7 +13609,7 @@ const Q0 = "ScrollArea", [eb, EU] = er(Q0), [j7, It] = eb(Q0), U7 = /* @__PURE__
13609
13609
  onThumbPointerUp: ut(o),
13610
13610
  onThumbPositionChange: I,
13611
13611
  onThumbPointerDown: ut(s)
13612
- }, /* @__PURE__ */ X(En.div, en({}, h, {
13612
+ }, /* @__PURE__ */ X(En.div, fn({}, h, {
13613
13613
  ref: y,
13614
13614
  style: {
13615
13615
  position: "absolute",
@@ -13628,7 +13628,7 @@ const Q0 = "ScrollArea", [eb, EU] = er(Q0), [j7, It] = eb(Q0), U7 = /* @__PURE__
13628
13628
  const { forceMount: t, ...i } = e, r = tb(hc, e.__scopeScrollArea);
13629
13629
  return /* @__PURE__ */ X(Pt, {
13630
13630
  present: t || r.hasThumb
13631
- }, /* @__PURE__ */ X(X7, en({
13631
+ }, /* @__PURE__ */ X(X7, fn({
13632
13632
  ref: n
13633
13633
  }, i)));
13634
13634
  }), X7 = /* @__PURE__ */ ie((e, n) => {
@@ -13653,7 +13653,7 @@ const Q0 = "ScrollArea", [eb, EU] = er(Q0), [j7, It] = eb(Q0), U7 = /* @__PURE__
13653
13653
  a.viewport,
13654
13654
  d,
13655
13655
  s
13656
- ]), /* @__PURE__ */ X(En.div, en({
13656
+ ]), /* @__PURE__ */ X(En.div, fn({
13657
13657
  "data-state": o.hasThumb ? "visible" : "hidden"
13658
13658
  }, r, {
13659
13659
  ref: f,
@@ -13673,7 +13673,7 @@ const Q0 = "ScrollArea", [eb, EU] = er(Q0), [j7, It] = eb(Q0), U7 = /* @__PURE__
13673
13673
  }));
13674
13674
  }), rb = "ScrollAreaCorner", Z7 = /* @__PURE__ */ ie((e, n) => {
13675
13675
  const t = It(rb, e.__scopeScrollArea), i = !!(t.scrollbarX && t.scrollbarY);
13676
- return t.type !== "scroll" && i ? /* @__PURE__ */ X(Q7, en({}, e, {
13676
+ return t.type !== "scroll" && i ? /* @__PURE__ */ X(Q7, fn({}, e, {
13677
13677
  ref: n
13678
13678
  })) : null;
13679
13679
  }), Q7 = /* @__PURE__ */ ie((e, n) => {
@@ -13686,7 +13686,7 @@ const Q0 = "ScrollArea", [eb, EU] = er(Q0), [j7, It] = eb(Q0), U7 = /* @__PURE__
13686
13686
  var d;
13687
13687
  const u = ((d = r.scrollbarY) === null || d === void 0 ? void 0 : d.offsetWidth) || 0;
13688
13688
  r.onCornerWidthChange(u), o(u);
13689
- }), l ? /* @__PURE__ */ X(En.div, en({}, i, {
13689
+ }), l ? /* @__PURE__ */ X(En.div, fn({}, i, {
13690
13690
  ref: n,
13691
13691
  style: {
13692
13692
  width: a,
@@ -14334,7 +14334,7 @@ const CC = (e) => {
14334
14334
  };
14335
14335
  }, $C = /* @__PURE__ */ ie((e, n) => {
14336
14336
  const { children: t, width: i = 10, height: r = 5, ...a } = e;
14337
- return /* @__PURE__ */ X(En.svg, fn({}, a, {
14337
+ return /* @__PURE__ */ X(En.svg, en({}, a, {
14338
14338
  ref: n,
14339
14339
  width: i,
14340
14340
  height: r,
@@ -14354,7 +14354,7 @@ const CC = (e) => {
14354
14354
  const { __scopePopper: t, virtualRef: i, ...r } = e, a = yb(PC, t), o = ye(null), s = jn(n, o);
14355
14355
  return xe(() => {
14356
14356
  a.onAnchorChange((i == null ? void 0 : i.current) || o.current);
14357
- }), i ? null : /* @__PURE__ */ X(En.div, fn({}, r, {
14357
+ }), i ? null : /* @__PURE__ */ X(En.div, en({}, r, {
14358
14358
  ref: s
14359
14359
  }));
14360
14360
  }), gf = "PopperContent", [RC, FC] = Ou(gf), [MC, NC] = Ou(gf, {
@@ -14530,7 +14530,7 @@ const CC = (e) => {
14530
14530
  }[a.placedSide],
14531
14531
  visibility: a.shouldHideArrow ? "hidden" : void 0
14532
14532
  }
14533
- }, /* @__PURE__ */ X(AC, fn({}, r, {
14533
+ }, /* @__PURE__ */ X(AC, en({}, r, {
14534
14534
  ref: t,
14535
14535
  style: {
14536
14536
  ...r.style,
@@ -14578,7 +14578,7 @@ function wb(e) {
14578
14578
  t
14579
14579
  ];
14580
14580
  }
14581
- const VC = OC, qC = IC, GC = DC, KC = jC, YC = /* @__PURE__ */ ie((e, n) => /* @__PURE__ */ X(En.span, fn({}, e, {
14581
+ const VC = OC, qC = IC, GC = DC, KC = jC, YC = /* @__PURE__ */ ie((e, n) => /* @__PURE__ */ X(En.span, en({}, e, {
14582
14582
  ref: n,
14583
14583
  style: {
14584
14584
  // See: https://github.com/twbs/bootstrap/blob/master/scss/mixins/_screen-reader.scss
@@ -22546,7 +22546,7 @@ var bI = (
22546
22546
  };
22547
22547
  FT(({ addUtilities: e, theme: n, e: t }) => {
22548
22548
  const i = n("semanticColors"), r = Object.entries(i).map(([a, o]) => {
22549
- var s, f, l, d, u, h;
22549
+ var s, f, l, d, u, h, p, m;
22550
22550
  return {
22551
22551
  // TODO(thure): Refactor all of these tokens to simply prefix the properties they apply with `s-` as with `s-accent`.
22552
22552
  [`.fg-${t(`${a}`)}`]: {
@@ -22572,6 +22572,12 @@ FT(({ addUtilities: e, theme: n, e: t }) => {
22572
22572
  },
22573
22573
  [`.dark .separator-${t(`${a}`)}`]: {
22574
22574
  borderColor: `${((h = o.fg) == null ? void 0 : h.dark) ?? o.dark}`
22575
+ },
22576
+ [`.s-outline-${t(`${a}`)}`]: {
22577
+ outlineColor: `${((p = o.fg) == null ? void 0 : p.light) ?? o.light}`
22578
+ },
22579
+ [`.dark .s-outline-${t(`${a}`)}`]: {
22580
+ outlineColor: `${((m = o.fg) == null ? void 0 : m.dark) ?? o.dark}`
22575
22581
  }
22576
22582
  };
22577
22583
  });