@abyss-project/commons-front-core 21.8.0 → 21.8.2

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.
Files changed (32) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/{CookieConsentSettings-DmdpkY4W.js → CookieConsentSettings-4BuLzLqD.js} +1 -1
  3. package/dist/{Surface-Bz9IlYzh.js → Surface-DCgywYyJ.js} +84 -82
  4. package/dist/{Tabs-BCsiGmjM.js → Tabs-CgXaaXch.js} +1 -1
  5. package/dist/cookie-consent.js +2 -2
  6. package/dist/{editors-ROEvrYr4.js → editors--itphaqU.js} +27 -27
  7. package/dist/editors.js +1 -1
  8. package/dist/{index-CXgXyfY3.js → index-4_O8oydT.js} +2 -2
  9. package/dist/{index-CeZseajO.js → index-B8xEJ2eG.js} +2 -2
  10. package/dist/{index-5A2mIQ9G.js → index-BfJqh8s4.js} +4 -4
  11. package/dist/{index-Cq_z0w7j.js → index-C7GUOCVB.js} +3 -3
  12. package/dist/{index-C_j0gA3H.js → index-CCKTE4Qk.js} +2 -2
  13. package/dist/{index-BuPLdG_9.js → index-CD7_95Mn.js} +2 -2
  14. package/dist/{index-BVTeKL8H.js → index-CGqgbd6K.js} +3 -3
  15. package/dist/{index-DoQsEkVC.js → index-Cq0ofXBo.js} +3 -3
  16. package/dist/{index-DxotIOMC.js → index-CvXHEjEU.js} +2 -2
  17. package/dist/{index-CpA0L8Ml.js → index-CzvkXNxX.js} +2 -2
  18. package/dist/{index-z_gfRs5k.js → index-DFB3_RXB.js} +2 -2
  19. package/dist/{index-BzT36p42.js → index-DH9-LTZh.js} +4 -4
  20. package/dist/{index-L5J7_NGN.js → index-DPOG4eG2.js} +2 -2
  21. package/dist/{index-BNlYqNm9.js → index-DS1sI9hs.js} +3 -3
  22. package/dist/{index-DccwknnA.js → index-DjIcGqiu.js} +2 -2
  23. package/dist/{index-D9WfqtNo.js → index-DwCc0PLB.js} +2 -2
  24. package/dist/{index-BRaIFAIi.js → index-MCwgtui1.js} +4 -4
  25. package/dist/{index-M8pctP26.js → index-PlAiyjTI.js} +2 -2
  26. package/dist/{index-BlYhAWr_.js → index-R4eCnYkE.js} +1 -1
  27. package/dist/{index-Btj0N4JN.js → index-X0wSqZY6.js} +2 -2
  28. package/dist/{index-Clxj6idW.js → index-eOvnrbaL.js} +2 -2
  29. package/dist/index.js +8175 -8061
  30. package/package.json +2 -2
  31. package/scripts/check-dist-dir-imports.cjs +42 -0
  32. package/vite.config.ts +4 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog — @abyss-project/commons-front-core
2
2
 
3
+ ## 21.8.2
4
+
5
+ Card #821, from the satellite captures. `DateTimeField` opens its desktop popper only from the tablet tier (768 px) with a fine pointer: below, the picker is the full-width mobile dialog (the popper, calendar and two time columns, overflowed a 390 px window). `Modal`: a title without description is centred on the header controls instead of sitting above them.
6
+
7
+ ## 21.8.1
8
+
9
+ Card #821. 21.8.0 left a bare `@mui/x-date-pickers/locales` directory import in `dist/index.js`: every consumer loading the dist under Node ESM (vitest) failed with ERR_UNSUPPORTED_DIR_IMPORT. The sub-path is now bundled like `AdapterDateFns` and `PickersDay`, and the build fails on any `@mui/x-date-pickers` sub-path import left in `dist/` (`scripts/check-dist-dir-imports.cjs`). Do not use 21.8.0.
10
+
3
11
  ## 21.8.0
4
12
 
5
13
  Card #821. `ModalSize.FullScreen`: the `Modal` covers the viewport at every tier (never the bottom sheet below 768 px), edge to edge, header, body and footer clearing the device safe areas; the body has no padding and fills the remaining height (a viewer, an editor, a timer). New `Modal` and `BottomSheet` props for every size: `headerActions` (controls before the close button), `closeDisabled` (close button disabled, Escape and scrim ignored) and `onKeyDown`. `DateTimeField` (family `inputs`): date and time on the MUI X `DateTimePicker`, same contract as `DateField` at minute precision (`minDateTime`, `maxDateTime`, messages `ds.inputs.date-time.*`). The date pickers now take MUI X's own labels (clock, view switching) in the viewer's language. `AppShell` scrolls its navigation so that the active entry clears the bottom fade, on display and whenever the active entry changes, never the page and never against a manual scroll.
@@ -3,7 +3,7 @@ import { useState as v, useCallback as b, useEffect as T, useLayoutEffect as ie,
3
3
  import w from "@mui/material/Button";
4
4
  import Q from "@mui/material/Switch";
5
5
  import { styled as y } from "@mui/material/styles";
6
- import { T as K, w as O, p as f, d as D, D as N, S as R, a as V, u as M, M as C, b as X, h as ae, c as ce, e as le } from "./Surface-Bz9IlYzh.js";
6
+ import { T as K, w as O, p as f, d as D, D as N, S as R, a as V, u as M, M as C, b as X, h as ae, c as ce, e as le } from "./Surface-DCgywYyJ.js";
7
7
  import { useQuery as de, useMutation as ue } from "@tanstack/react-query";
8
8
  import { AbyssCore as j } from "@abyss-project/main";
9
9
  import { createPortal as fe } from "react-dom";
@@ -125,7 +125,7 @@ const ie = {
125
125
  minHeight: a(e.design.densityValues.touchTarget)
126
126
  }
127
127
  }), De = (e, o, i = "fast") => o.map(
128
- (t) => `${t} ${e.design.durations[i]}ms ${e.design.easings.standard}`
128
+ (r) => `${r} ${e.design.durations[i]}ms ${e.design.easings.standard}`
129
129
  ).join(", "), Le = () => {
130
130
  const e = K(P.up(O.Desktop), {
131
131
  noSsr: !0
@@ -144,25 +144,25 @@ const N = (e, o) => `calc(${a(o)} + env(safe-area-inset-${e}))`, ke = 0.3, Pe =
144
144
  display: "flex",
145
145
  outline: "none"
146
146
  }), Me = u("div")(({ theme: e }) => {
147
- const { tokens: o, radii: i, space: t, elevations: r, fonts: n } = e.design;
147
+ const { tokens: o, radii: i, space: r, elevations: t, fonts: n } = e.design;
148
148
  return {
149
149
  flex: "1 1 auto",
150
150
  minWidth: 0,
151
- maxHeight: `calc(100vh - ${N(S.Top, t[8])})`,
151
+ maxHeight: `calc(100vh - ${N(S.Top, r[8])})`,
152
152
  display: "flex",
153
153
  flexDirection: "column",
154
- gap: a(t[3]),
155
- paddingTop: a(t[2]),
156
- paddingBottom: N(S.Bottom, t[6]),
157
- paddingLeft: N(S.Left, t[4]),
158
- paddingRight: N(S.Right, t[4]),
154
+ gap: a(r[3]),
155
+ paddingTop: a(r[2]),
156
+ paddingBottom: N(S.Bottom, r[6]),
157
+ paddingLeft: N(S.Left, r[4]),
158
+ paddingRight: N(S.Right, r[4]),
159
159
  backgroundColor: o["bg.surface"],
160
160
  color: o["text.primary"],
161
161
  fontFamily: n.sans,
162
162
  borderTop: k(o["border.strong"]),
163
163
  borderTopLeftRadius: a(i.lg),
164
164
  borderTopRightRadius: a(i.lg),
165
- boxShadow: r.modal,
165
+ boxShadow: t.modal,
166
166
  outline: "none",
167
167
  position: "relative"
168
168
  };
@@ -192,22 +192,22 @@ const N = (e, o) => `calc(${a(o)} + env(safe-area-inset-${e}))`, ke = 0.3, Pe =
192
192
  cursor: "grab"
193
193
  };
194
194
  }), ze = u("span")(({ theme: e }) => {
195
- const { tokens: o, radii: i, space: t } = e.design;
195
+ const { tokens: o, radii: i, space: r } = e.design;
196
196
  return {
197
- width: a(t[8]),
198
- height: a(t[1]),
197
+ width: a(r[8]),
198
+ height: a(r[1]),
199
199
  borderRadius: a(i.sm),
200
200
  backgroundColor: o["border.strong"]
201
201
  };
202
202
  }), Ye = u("h2", {
203
203
  shouldForwardProp: (e) => e !== "besideClose"
204
204
  })(({ theme: e, besideClose: o }) => {
205
- const { typeScale: i, densityValues: t, space: r } = e.design;
205
+ const { typeScale: i, densityValues: r, space: t } = e.design;
206
206
  return {
207
207
  alignSelf: "stretch",
208
208
  margin: 0,
209
209
  // Clear of the close button in the corner.
210
- paddingRight: o ? a(t.touchTarget + r[2]) : void 0,
210
+ paddingRight: o ? a(r.touchTarget + t[2]) : void 0,
211
211
  fontSize: a(i.sectionTitle),
212
212
  fontWeight: re.semibold,
213
213
  overflowWrap: "anywhere"
@@ -230,8 +230,8 @@ function He({
230
230
  open: e,
231
231
  onClose: o,
232
232
  title: i,
233
- titleIcon: t,
234
- closeLabel: r,
233
+ titleIcon: r,
234
+ closeLabel: t,
235
235
  footer: n,
236
236
  headerActions: f,
237
237
  closeDisabled: v = !1,
@@ -295,9 +295,9 @@ function He({
295
295
  Ye,
296
296
  {
297
297
  id: A,
298
- besideClose: r !== void 0 && f === void 0,
298
+ besideClose: t !== void 0 && f === void 0,
299
299
  children: [
300
- t !== void 0 && /* @__PURE__ */ c(je, { "aria-hidden": "true", children: t }),
300
+ r !== void 0 && /* @__PURE__ */ c(je, { "aria-hidden": "true", children: r }),
301
301
  i
302
302
  ]
303
303
  }
@@ -307,19 +307,19 @@ function He({
307
307
  ),
308
308
  f !== void 0 ? /* @__PURE__ */ C(Fe, { children: [
309
309
  f,
310
- r !== void 0 && /* @__PURE__ */ c(
310
+ t !== void 0 && /* @__PURE__ */ c(
311
311
  Be,
312
312
  {
313
- "aria-label": r,
313
+ "aria-label": t,
314
314
  disabled: v,
315
315
  onClick: () => o(),
316
316
  children: /* @__PURE__ */ c(z, { "aria-hidden": !0 })
317
317
  }
318
318
  )
319
- ] }) : r !== void 0 && /* @__PURE__ */ c(
319
+ ] }) : t !== void 0 && /* @__PURE__ */ c(
320
320
  Ue,
321
321
  {
322
- "aria-label": r,
322
+ "aria-label": t,
323
323
  disabled: v,
324
324
  onClick: () => o(),
325
325
  children: /* @__PURE__ */ c(z, { "aria-hidden": !0 })
@@ -338,32 +338,34 @@ function He({
338
338
  const Vt = "--abyss-toast-clearance", Ht = "--abyss-cookie-banner-modal-clearance", Wt = "--abyss-toast-dialog-foot-clearance", We = "data-abyss-dialog-foot";
339
339
  var Ke = /* @__PURE__ */ ((e) => (e.Small = "sm", e.Medium = "md", e.Large = "lg", e.FullScreen = "fullscreen", e))(Ke || {});
340
340
  const Xe = u(Ae)(({ theme: e, fullScreen: o }) => {
341
- const { tokens: i, fonts: t, space: r } = e.design;
341
+ const { tokens: i, fonts: r, space: t } = e.design;
342
342
  return {
343
343
  "& .MuiDialog-paper": {
344
- margin: o ? 0 : a(r[4]),
345
- maxHeight: o ? "100%" : `calc(100% - ${a(r[7])})`,
344
+ margin: o ? 0 : a(t[4]),
345
+ maxHeight: o ? "100%" : `calc(100% - ${a(t[7])})`,
346
346
  borderRadius: o ? 0 : void 0,
347
347
  // Edge to edge: the hairline that lifts a floating modal off the scrim has nothing to frame here.
348
348
  border: o ? "none" : void 0,
349
349
  backgroundColor: i["bg.surface"],
350
350
  color: i["text.primary"],
351
- fontFamily: t.sans,
351
+ fontFamily: r.sans,
352
352
  overflow: "hidden"
353
353
  },
354
354
  "& .MuiDialog-paperFullWidth": {
355
- width: `calc(100% - ${a(r[7])})`
355
+ width: `calc(100% - ${a(t[7])})`
356
356
  }
357
357
  };
358
358
  }), Je = u("div", {
359
- shouldForwardProp: (e) => e !== "fill"
360
- })(({ theme: e, fill: o }) => {
361
- const { tokens: i, space: t } = e.design;
359
+ shouldForwardProp: (e) => e !== "fill" && e !== "described"
360
+ })(({ theme: e, fill: o, described: i }) => {
361
+ const { tokens: r, space: t } = e.design;
362
362
  return {
363
363
  flex: "none",
364
364
  display: "flex",
365
365
  justifyContent: "space-between",
366
- alignItems: "flex-start",
366
+ // A title alone sits on the axis of the header controls; with a description under it the
367
+ // controls stay on the first line.
368
+ alignItems: i ? "flex-start" : "center",
367
369
  gap: a(t[4]),
368
370
  ...o ? {
369
371
  paddingTop: N(S.Top, t[4]),
@@ -371,7 +373,7 @@ const Xe = u(Ae)(({ theme: e, fullScreen: o }) => {
371
373
  paddingLeft: N(S.Left, t[5]),
372
374
  paddingRight: N(S.Right, t[5])
373
375
  } : { padding: `${a(t[4])} ${a(t[5])}` },
374
- borderBottom: k(i["border.subtle"])
376
+ borderBottom: k(r["border.subtle"])
375
377
  };
376
378
  }), $e = u("div")({ minWidth: 0 }), Qe = u("div")(({ theme: e }) => ({
377
379
  flex: "none",
@@ -392,22 +394,22 @@ const Xe = u(Ae)(({ theme: e, fullScreen: o }) => {
392
394
  fontWeight: re.semibold,
393
395
  overflowWrap: "anywhere"
394
396
  })), ot = u("p")(({ theme: e }) => {
395
- const { tokens: o, space: i, typeScale: t } = e.design;
397
+ const { tokens: o, space: i, typeScale: r } = e.design;
396
398
  return {
397
399
  margin: `${a(i[1])} 0 0`,
398
400
  color: o["text.muted"],
399
- fontSize: a(t.body),
401
+ fontSize: a(r.body),
400
402
  overflowWrap: "anywhere"
401
403
  };
402
404
  }), rt = u("div", {
403
405
  shouldForwardProp: (e) => e !== "fill" && e !== "footed"
404
406
  })(({ theme: e, fill: o, footed: i }) => {
405
- const { space: t, typeScale: r } = e.design;
407
+ const { space: r, typeScale: t } = e.design;
406
408
  return {
407
409
  flex: o ? 1 : "1 1 auto",
408
410
  minHeight: 0,
409
411
  overflowY: "auto",
410
- fontSize: a(r.body),
412
+ fontSize: a(t.body),
411
413
  ...o ? {
412
414
  display: "flex",
413
415
  flexDirection: "column",
@@ -416,25 +418,25 @@ const Xe = u(Ae)(({ theme: e, fullScreen: o }) => {
416
418
  paddingLeft: N(S.Left, 0),
417
419
  paddingRight: N(S.Right, 0),
418
420
  paddingBottom: i ? 0 : N(S.Bottom, 0)
419
- } : { padding: a(t[5]) }
421
+ } : { padding: a(r[5]) }
420
422
  };
421
423
  }), it = u("div", {
422
424
  shouldForwardProp: (e) => e !== "fill"
423
425
  })(({ theme: e, fill: o }) => {
424
- const { tokens: i, space: t } = e.design;
426
+ const { tokens: i, space: r } = e.design;
425
427
  return {
426
428
  flex: "none",
427
429
  display: "flex",
428
430
  flexWrap: "wrap",
429
431
  justifyContent: "flex-end",
430
432
  alignItems: "center",
431
- gap: a(t[3]),
433
+ gap: a(r[3]),
432
434
  ...o ? {
433
- paddingTop: a(t[3]),
434
- paddingBottom: N(S.Bottom, t[3]),
435
- paddingLeft: N(S.Left, t[5]),
436
- paddingRight: N(S.Right, t[5])
437
- } : { padding: `${a(t[3])} ${a(t[5])}` },
435
+ paddingTop: a(r[3]),
436
+ paddingBottom: N(S.Bottom, r[3]),
437
+ paddingLeft: N(S.Left, r[5]),
438
+ paddingRight: N(S.Right, r[5])
439
+ } : { padding: `${a(r[3])} ${a(r[5])}` },
438
440
  borderTop: k(i["border.subtle"])
439
441
  };
440
442
  }), at = u("p")(({ theme: e }) => ({
@@ -454,8 +456,8 @@ function Kt({
454
456
  open: e,
455
457
  onClose: o,
456
458
  title: i,
457
- titleIcon: t,
458
- description: r,
459
+ titleIcon: r,
460
+ description: t,
459
461
  size: n = "md",
460
462
  actions: f,
461
463
  headerActions: v,
@@ -470,14 +472,14 @@ function Kt({
470
472
  open: e,
471
473
  onClose: o,
472
474
  title: i,
473
- titleIcon: t,
475
+ titleIcon: r,
474
476
  closeLabel: R.formatMessage({ id: "ds.layers.modal.close" }),
475
477
  headerActions: v,
476
478
  closeDisabled: y,
477
479
  onKeyDown: h,
478
480
  footer: f !== void 0 ? /* @__PURE__ */ c(st, { [We]: "", children: f }) : void 0,
479
481
  children: [
480
- r !== void 0 && /* @__PURE__ */ c(at, { children: r }),
482
+ t !== void 0 && /* @__PURE__ */ c(at, { children: t }),
481
483
  E
482
484
  ]
483
485
  }
@@ -491,14 +493,14 @@ function Kt({
491
493
  maxWidth: A ? !1 : n,
492
494
  fullWidth: !A,
493
495
  "aria-labelledby": l,
494
- "aria-describedby": r !== void 0 ? s : void 0,
496
+ "aria-describedby": t !== void 0 ? s : void 0,
495
497
  children: [
496
- /* @__PURE__ */ C(Je, { fill: A, children: [
498
+ /* @__PURE__ */ C(Je, { fill: A, described: t !== void 0, children: [
497
499
  /* @__PURE__ */ C(Ze, { children: [
498
- t !== void 0 && /* @__PURE__ */ c(et, { "aria-hidden": "true", children: t }),
500
+ r !== void 0 && /* @__PURE__ */ c(et, { "aria-hidden": "true", children: r }),
499
501
  /* @__PURE__ */ C($e, { children: [
500
502
  /* @__PURE__ */ c(tt, { id: l, children: i }),
501
- r !== void 0 && /* @__PURE__ */ c(ot, { id: s, children: r })
503
+ t !== void 0 && /* @__PURE__ */ c(ot, { id: s, children: t })
502
504
  ] })
503
505
  ] }),
504
506
  /* @__PURE__ */ C(Qe, { children: [
@@ -752,8 +754,8 @@ const lt = {
752
754
  tier: y,
753
755
  catalogKey: typeof h == "string" ? h : null
754
756
  };
755
- }, t = {}, r = i("plan"), n = i("oldPlan"), f = i("newPlan");
756
- return r && (t.planName = o(F(r))), n && (t.oldPlanName = o(F(n))), f && (t.newPlanName = o(F(f))), t;
757
+ }, r = {}, t = i("plan"), n = i("oldPlan"), f = i("newPlan");
758
+ return t && (r.planName = o(F(t))), n && (r.oldPlanName = o(F(n))), f && (r.newPlanName = o(F(f))), r;
757
759
  }, Z = (e) => e, g = {
758
760
  fr: Z({
759
761
  freemium: "Gratuit",
@@ -5659,14 +5661,14 @@ const lt = {
5659
5661
  var B, ee;
5660
5662
  function ht() {
5661
5663
  if (ee) return B;
5662
- ee = 1, B = i, i.flatten = i, i.unflatten = t;
5663
- function e(r) {
5664
- return r && r.constructor && typeof r.constructor.isBuffer == "function" && r.constructor.isBuffer(r);
5664
+ ee = 1, B = i, i.flatten = i, i.unflatten = r;
5665
+ function e(t) {
5666
+ return t && t.constructor && typeof t.constructor.isBuffer == "function" && t.constructor.isBuffer(t);
5665
5667
  }
5666
- function o(r) {
5667
- return r;
5668
+ function o(t) {
5669
+ return t;
5668
5670
  }
5669
- function i(r, n) {
5671
+ function i(t, n) {
5670
5672
  n = n || {};
5671
5673
  const f = n.delimiter || ".", v = n.maxDepth, y = n.transformKey || o, h = {};
5672
5674
  function E(R, A, p) {
@@ -5677,13 +5679,13 @@ function ht() {
5677
5679
  h[_] = s;
5678
5680
  });
5679
5681
  }
5680
- return E(r), h;
5682
+ return E(t), h;
5681
5683
  }
5682
- function t(r, n) {
5684
+ function r(t, n) {
5683
5685
  n = n || {};
5684
5686
  const f = n.delimiter || ".", v = n.overwrite || !1, y = n.transformKey || o, h = {};
5685
- if (e(r) || Object.prototype.toString.call(r) !== "[object Object]")
5686
- return r;
5687
+ if (e(t) || Object.prototype.toString.call(t) !== "[object Object]")
5688
+ return t;
5687
5689
  function R(l) {
5688
5690
  const s = Number(l);
5689
5691
  return isNaN(s) || l.indexOf(".") !== -1 || n.object ? l : s;
@@ -5702,14 +5704,14 @@ function ht() {
5702
5704
  return !Object.keys(l).length;
5703
5705
  } else return !0;
5704
5706
  }
5705
- return r = Object.keys(r).reduce(function(l, s) {
5706
- const m = Object.prototype.toString.call(r[s]);
5707
- return !(m === "[object Object]" || m === "[object Array]") || p(r[s]) ? (l[s] = r[s], l) : A(
5707
+ return t = Object.keys(t).reduce(function(l, s) {
5708
+ const m = Object.prototype.toString.call(t[s]);
5709
+ return !(m === "[object Object]" || m === "[object Array]") || p(t[s]) ? (l[s] = t[s], l) : A(
5708
5710
  s,
5709
5711
  l,
5710
- i(r[s], n)
5712
+ i(t[s], n)
5711
5713
  );
5712
- }, {}), Object.keys(r).forEach(function(l) {
5714
+ }, {}), Object.keys(t).forEach(function(l) {
5713
5715
  const s = l.split(f).map(y);
5714
5716
  let m = R(s.shift()), T = R(s[0]), b = h;
5715
5717
  for (; T !== void 0; ) {
@@ -5720,7 +5722,7 @@ function ht() {
5720
5722
  return;
5721
5723
  (v && !_ || !v && b[m] == null) && (b[m] = typeof T == "number" && !n.object ? [] : {}), b = b[m], s.length > 0 && (m = R(s.shift()), T = R(s[0]));
5722
5724
  }
5723
- b[m] = t(r[l], n);
5725
+ b[m] = r(t[l], n);
5724
5726
  }), h;
5725
5727
  }
5726
5728
  return B;
@@ -5748,20 +5750,20 @@ const ue = {
5748
5750
  focus: (...e) => /* @__PURE__ */ c("span", { style: { color: "var(--abyss-status-warning)" }, children: e })
5749
5751
  }, Zt = () => {
5750
5752
  const e = Y(), o = te(
5751
- (i, t) => e.formatMessage(i, {
5753
+ (i, r) => e.formatMessage(i, {
5752
5754
  ...vt,
5753
- ...t
5755
+ ...r
5754
5756
  }),
5755
5757
  [e]
5756
5758
  );
5757
5759
  return ve(() => {
5758
- const { formatMessage: i, ...t } = e;
5759
- return { ...t, formatRichMessage: o };
5760
+ const { formatMessage: i, ...r } = e;
5761
+ return { ...r, formatRichMessage: o };
5760
5762
  }, [e, o]);
5761
5763
  }, yt = /* @__PURE__ */ new Set(["a", "button"]), At = u("div", {
5762
5764
  shouldForwardProp: (e) => e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as"
5763
5765
  })(({ theme: e, ownerState: o }) => {
5764
- const { tokens: i, radii: t, space: r } = e.design;
5766
+ const { tokens: i, radii: r, space: t } = e.design;
5765
5767
  return {
5766
5768
  display: "flex",
5767
5769
  flexDirection: "column",
@@ -5769,8 +5771,8 @@ const ue = {
5769
5771
  boxSizing: "border-box",
5770
5772
  backgroundColor: i["bg.surface"],
5771
5773
  border: k(i["border.subtle"]),
5772
- borderRadius: a(t.md),
5773
- padding: a(r[o.padding]),
5774
+ borderRadius: a(r.md),
5775
+ padding: a(t[o.padding]),
5774
5776
  color: i["text.primary"],
5775
5777
  ...o.interactive && {
5776
5778
  cursor: "pointer",
@@ -5785,14 +5787,14 @@ const ue = {
5785
5787
  }), eo = ye(function({
5786
5788
  interactive: o = !1,
5787
5789
  padding: i = 4,
5788
- component: t = "div",
5789
- children: r,
5790
+ component: r = "div",
5791
+ children: t,
5790
5792
  onKeyDown: n,
5791
5793
  role: f,
5792
5794
  tabIndex: v,
5793
5795
  ...y
5794
5796
  }, h) {
5795
- const E = o && typeof t == "string" && !yt.has(t), R = te(
5797
+ const E = o && typeof r == "string" && !yt.has(r), R = te(
5796
5798
  (p) => {
5797
5799
  typeof h == "function" ? h(p) : h !== null && (h.current = p);
5798
5800
  },
@@ -5802,7 +5804,7 @@ const ue = {
5802
5804
  At,
5803
5805
  {
5804
5806
  ref: R,
5805
- as: t,
5807
+ as: r,
5806
5808
  ownerState: { interactive: o, padding: i },
5807
5809
  role: f ?? (E ? "button" : void 0),
5808
5810
  tabIndex: v ?? (E ? 0 : void 0),
@@ -5810,7 +5812,7 @@ const ue = {
5810
5812
  n == null || n(p), E && !p.defaultPrevented && p.target === p.currentTarget && (p.key === "Enter" || p.key === " ") && (p.preventDefault(), p.currentTarget.click());
5811
5813
  },
5812
5814
  ...y,
5813
- children: r
5815
+ children: t
5814
5816
  }
5815
5817
  );
5816
5818
  });
@@ -8,7 +8,7 @@ import Ja from "@mui/material/Select";
8
8
  import { styled as w, useTheme as Qa, getContrastRatio as Nt } from "@mui/material/styles";
9
9
  import { visuallyHidden as $t } from "@mui/utils";
10
10
  import { useIntl as ge } from "react-intl";
11
- import { p as c, h as me, d as Ce, D as Te, a as ve, t as Wn, s as ct, g as Ne, i as qe, c as qn, e as Hn, j as ei, B as ti } from "./Surface-Bz9IlYzh.js";
11
+ import { p as c, h as me, d as Ce, D as Te, a as ve, t as Wn, s as ct, g as Ne, i as qe, c as qn, e as Hn, j as ei, B as ti } from "./Surface-DCgywYyJ.js";
12
12
  import Oe from "@mui/material/Button";
13
13
  import { byteSizeIEC as ni } from "@abyss-project/main";
14
14
  import ai from "@mui/icons-material/FileUploadOutlined";
@@ -1,5 +1,5 @@
1
- import { A as o, g as a, h as n, e as C, i as t, f as i, j as r, k as A, C as E, b as O, c as S, D as _, R as k, o as I, m as c, l as d, n as N, r as T, p as l, u as f, d as D, a as R, w as V } from "./CookieConsentSettings-DmdpkY4W.js";
2
- import { f as p } from "./Surface-Bz9IlYzh.js";
1
+ import { A as o, g as a, h as n, e as C, i as t, f as i, j as r, k as A, C as E, b as O, c as S, D as _, R as k, o as I, m as c, l as d, n as N, r as T, p as l, u as f, d as D, a as R, w as V } from "./CookieConsentSettings-4BuLzLqD.js";
2
+ import { f as p } from "./Surface-DCgywYyJ.js";
3
3
  export {
4
4
  o as AbyssCookieConsentProvider,
5
5
  a as CONSENT_VALIDITY_DAYS,