@abyss-project/commons-front-core 3.0.0 → 3.0.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.
Files changed (119) hide show
  1. package/dist/{CookieConsentSettings.component-CgiQCgFX.js → CookieConsentSettings.component-BLgzLD-Z.js} +499 -443
  2. package/dist/components/Avatars/ProjectAvatar/ProjectAvatar.component.d.ts +3 -0
  3. package/dist/components/Avatars/UserAvatar/UserAvatar.component.d.ts +3 -0
  4. package/dist/components/Cards/ProjectCard/ProjectCard.component.d.ts +1 -0
  5. package/dist/components/CommandPalette/AbyssCommandPalette.d.ts +9 -0
  6. package/dist/components/CommandPalette/types.d.ts +63 -0
  7. package/dist/components/CommandPalette/useCommandPaletteHotkey.d.ts +9 -0
  8. package/dist/components/CookieConsent/AbyssCookieConsentProvider.d.ts +9 -0
  9. package/dist/components/CookieConsent/privacy-link.constant.d.ts +25 -0
  10. package/dist/components/Data/AbyssTable/AbyssTable.component.d.ts +16 -2
  11. package/dist/components/Data/AbyssTable/abyss-table.logic.d.ts +72 -0
  12. package/dist/components/Inputs/AbyssNumberField/AbyssNumberField.component.d.ts +18 -0
  13. package/dist/components/Inputs/AbyssNumberField/format.d.ts +28 -0
  14. package/dist/components/Inputs/CloudImport/CloudImport.component.d.ts +1 -0
  15. package/dist/components/Inputs/ColorPalette/ColorPalette.component.d.ts +2 -0
  16. package/dist/components/Inputs/ContextSelector/ContextSelector.component.d.ts +25 -0
  17. package/dist/components/Inputs/DatePeriodPicker/DatePeriodPicker.component.d.ts +32 -0
  18. package/dist/components/Inputs/DatePeriodPicker/date-period-picker.logic.d.ts +54 -0
  19. package/dist/components/Inputs/DatePeriodPicker/date-period-presets.util.d.ts +8 -0
  20. package/dist/components/Inputs/LanguageFlagLabel/LanguageFlagLabel.component.d.ts +13 -0
  21. package/dist/components/Inputs/LanguageFlagLabel/language-flags.d.ts +10 -0
  22. package/dist/components/Inputs/PasswordInput/PasswordInput.component.d.ts +16 -0
  23. package/dist/components/Inputs/ProjectLinkSelector/index.d.ts +1 -1
  24. package/dist/components/Layouts/AbyssBillingPlan/AbyssBillingPlan.component.d.ts +2 -0
  25. package/dist/components/Layouts/AbyssFamilyBanner/AbyssFamilyBanner.component.d.ts +12 -0
  26. package/dist/components/Layouts/AbyssLayoutProvider/index.d.ts +1 -1
  27. package/dist/components/Layouts/AbyssSidebar/index.d.ts +2 -2
  28. package/dist/components/Modals/AbyssModal/AbyssModal.component.d.ts +6 -0
  29. package/dist/components/Modals/QRCodeModal/QRCodeModal.component.d.ts +1 -0
  30. package/dist/components/Modals/UserSettingsModal/UserSettingsModal.component.d.ts +5 -0
  31. package/dist/components/Modals/UserSettingsModal/index.d.ts +1 -1
  32. package/dist/components/PdfEditor/hooks/use-pdf-document.d.ts +12 -0
  33. package/dist/components/PdfEditor/hooks/use-uploaded-docs.d.ts +9 -0
  34. package/dist/components/PdfEditor/operations/actions.d.ts +14 -0
  35. package/dist/components/PdfEditor/operations/compute-page-order.d.ts +11 -0
  36. package/dist/components/PdfEditor/operations/extract.d.ts +5 -0
  37. package/dist/components/PdfEditor/operations/pdf-data-url.d.ts +4 -0
  38. package/dist/components/PdfEditor/operations/rasterize.d.ts +17 -0
  39. package/dist/components/PdfEditor/operations/redact.d.ts +8 -0
  40. package/dist/components/PdfEditor/operations/rotate-coords.d.ts +25 -0
  41. package/dist/components/PdfEditor/signature/SignaturePicker.d.ts +3 -0
  42. package/dist/components/PdfEditor/signature/SignatureSaveButton.d.ts +3 -0
  43. package/dist/components/PdfEditor/signature/resolve-asset.d.ts +17 -0
  44. package/dist/components/PdfEditor/tools/RedactTool.d.ts +6 -0
  45. package/dist/components/PdfEditor/tools/Toolbar.d.ts +9 -0
  46. package/dist/components/PdfEditor/tools/tool-options-ui.d.ts +1 -0
  47. package/dist/components/PdfEditor/types.d.ts +85 -0
  48. package/dist/components/PdfEditor/viewer/PageOverlay.d.ts +10 -0
  49. package/dist/components/PdfEditor/viewer/PdfCanvas.d.ts +1 -0
  50. package/dist/components/PdfEditor/viewer/ViewerControls.d.ts +4 -0
  51. package/dist/components/QuotaGauge/AbyssQuotaGauge.component.d.ts +39 -0
  52. package/dist/components/QuotaGauge/bubble-placement.d.ts +40 -0
  53. package/dist/components/QuotaGauge/gauge-segments.d.ts +56 -0
  54. package/dist/components/QuotaOffer/AbyssQuotaOffer.component.d.ts +60 -0
  55. package/dist/components/QuotaOffer/quota-offer-state.d.ts +64 -0
  56. package/dist/components/QuotaReached/QuotaReachedDialog.component.d.ts +10 -0
  57. package/dist/components/QuotaReached/billing-quota-error.d.ts +7 -0
  58. package/dist/components/QuotaReached/quota-dialog.store.d.ts +10 -0
  59. package/dist/components/QuotaReached/quota-service-meta.d.ts +4 -0
  60. package/dist/components/Support/SupportCategorySelect.component.d.ts +3 -0
  61. package/dist/components/Support/SupportStatusTimeline.component.d.ts +2 -0
  62. package/dist/components/Support/index.d.ts +2 -2
  63. package/dist/components/Support/support-attachment.logic.d.ts +10 -0
  64. package/dist/components/Support/support-author.logic.d.ts +9 -0
  65. package/dist/components/Support/support-create-stepper.logic.d.ts +13 -0
  66. package/dist/components/Support/support-message-input.logic.d.ts +8 -0
  67. package/dist/components/Support/support-status-timeline.logic.d.ts +16 -0
  68. package/dist/components/Support/types.d.ts +55 -0
  69. package/dist/components/Utils/AbyssBackground/AbyssBackground.component.d.ts +3 -0
  70. package/dist/components/Utils/AbyssFamilyMenuSection/AbyssFamilyMenuSection.d.ts +9 -0
  71. package/dist/components/Utils/AbyssLayoutMenu/index.d.ts +1 -1
  72. package/dist/components/Utils/AbyssLayoutNotifications/AbyssLayoutNotifications.component.d.ts +4 -0
  73. package/dist/components/Utils/AbyssLayoutNotifications/index.d.ts +1 -1
  74. package/dist/components/Utils/ImportButton/ImportButton.component.d.ts +4 -0
  75. package/dist/components/Utils/Toast/AbyssToast.component.d.ts +6 -0
  76. package/dist/components/Utils/WaterParticles/WaterParticles.component.d.ts +8 -0
  77. package/dist/cookie-consent.js +1 -1
  78. package/dist/hooks/use-public-users.hook.d.ts +39 -0
  79. package/dist/hooks/use-rich-intl.hook.d.ts +13 -5
  80. package/dist/hooks/use-theme-transition.hook.d.ts +13 -0
  81. package/dist/{index-CXNLGqpN.js → index-13QCr6ei.js} +1 -1
  82. package/dist/{index-0WPkkm3C.js → index-B4s0xpO9.js} +3 -3
  83. package/dist/{index-DXDfaFmT.js → index-BBH7n9Up.js} +4 -4
  84. package/dist/{index-DQgswKg1.js → index-BI7XXRdP.js} +3 -3
  85. package/dist/{index-BqjTmumL.js → index-BbuvDSp0.js} +2 -2
  86. package/dist/{index-D2ot8DZ4.js → index-Bhok95RO.js} +2 -2
  87. package/dist/{index-FF8J68dM.js → index-BjbDo-BN.js} +14320 -11454
  88. package/dist/{index-Ctm2mN4b.js → index-C2iksP8T.js} +2 -2
  89. package/dist/{index-CgqzFzYH.js → index-CKXa4BvM.js} +2 -2
  90. package/dist/{index-B9n8aGer.js → index-Ci9slz4U.js} +2 -2
  91. package/dist/{index-BSa7pbNq.js → index-CoGr-vvT.js} +3 -3
  92. package/dist/{index-C1NWZqnA.js → index-Cw4n4Q97.js} +2 -2
  93. package/dist/{index-d9VwJ6nR.js → index-DKSA-U8A.js} +2 -2
  94. package/dist/{index-CAqpnDEx.js → index-DQ6hF6bv.js} +4 -4
  95. package/dist/{index-D5IIOkfu.js → index-DVDFaXUS.js} +2 -2
  96. package/dist/{index-DpeaEf87.js → index-Dfs8HrMj.js} +2 -2
  97. package/dist/{index-2gSMCEyX.js → index-Dn5fa9DE.js} +3 -3
  98. package/dist/{index-CdpydxgB.js → index-DqW8ipJ0.js} +2 -2
  99. package/dist/{index-C7bGgD6e.js → index-Dt86SHUY.js} +2 -2
  100. package/dist/{index-BN-71mBQ.js → index-DucVTPTi.js} +2 -2
  101. package/dist/{index-C02uLNDS.js → index-TJMhsU_S.js} +2 -2
  102. package/dist/{index-cYFrJDdQ.js → index-x_CknZJ4.js} +4 -4
  103. package/dist/index.js +2 -2
  104. package/dist/theme/augmentation.d.ts +6 -0
  105. package/dist/theme/index.d.ts +11 -4
  106. package/dist/theme/palettes/common.d.ts +13 -0
  107. package/dist/theme/palettes/dark.d.ts +1 -0
  108. package/dist/theme/palettes/light.d.ts +1 -0
  109. package/dist/theme/tokens/animations.d.ts +3 -0
  110. package/dist/theme/tokens/borders.d.ts +3 -0
  111. package/dist/theme/tokens/colors.d.ts +27 -0
  112. package/dist/theme/tokens/shadows.d.ts +8 -0
  113. package/dist/theme/tokens/transitions.d.ts +4 -0
  114. package/dist/theme/tokens/typography.d.ts +6 -0
  115. package/dist/utils/share-notification.utils.d.ts +9 -0
  116. package/dist/utils/space-display-name.utils.d.ts +8 -0
  117. package/package.json +14 -13
  118. package/tsconfig.json +26 -25
  119. package/vite.config.ts +1 -17
@@ -1,5 +1,5 @@
1
- import { a as O, L as r, i as b, f as s, s as a, j as t, g as P, t as e } from "./index-FF8J68dM.js";
2
- import { L as n } from "./index-CXNLGqpN.js";
1
+ import { a as O, L as r, i as b, f as s, s as a, j as t, g as P, t as e } from "./index-BjbDo-BN.js";
2
+ import { L as n } from "./index-13QCr6ei.js";
3
3
  const S = { __proto__: null, anyref: 34, dataref: 34, eqref: 34, externref: 34, i31ref: 34, funcref: 34, i8: 34, i16: 34, i32: 34, i64: 34, f32: 34, f64: 34 }, i = /* @__PURE__ */ n.deserialize({
4
4
  version: 14,
5
5
  states: "!^Q]QPOOOqQPO'#CbOOQO'#Cd'#CdOOQO'#Cl'#ClOOQO'#Ch'#ChQ]QPOOOOQO,58|,58|OxQPO,58|OOQO-E6f-E6fOOQO1G.h1G.h",
@@ -1,5 +1,5 @@
1
- import { L as D, E as h, C as L } from "./index-CXNLGqpN.js";
2
- import { s as H, t as n, b as B, a as K, L as M, e as OO, i as eO, f as iO, j as f, g as aO, o as nO, I as rO, d as QO, n as d } from "./index-FF8J68dM.js";
1
+ import { L as D, E as h, C as L } from "./index-13QCr6ei.js";
2
+ import { s as H, t as n, b as B, a as K, L as M, e as OO, i as eO, f as iO, j as f, g as aO, o as nO, I as rO, d as QO, n as d } from "./index-BjbDo-BN.js";
3
3
  const tO = 1, Z = 194, j = 195, oO = 196, x = 197, dO = 198, sO = 199, lO = 200, TO = 2, E = 3, u = 201, SO = 24, pO = 25, qO = 49, gO = 50, PO = 55, mO = 56, $O = 57, hO = 59, cO = 60, fO = 61, XO = 62, yO = 63, zO = 65, WO = 238, vO = 71, RO = 241, kO = 242, _O = 243, xO = 244, uO = 245, UO = 246, bO = 247, VO = 248, Y = 72, GO = 249, wO = 250, ZO = 251, jO = 252, EO = 253, YO = 254, FO = 255, CO = 256, JO = 73, AO = 77, IO = 263, NO = 112, DO = 130, LO = 151, HO = 152, BO = 155, p = 10, q = 13, k = 32, c = 9, _ = 35, KO = 40, MO = 46, R = 123, U = 125, F = 39, C = 34, b = 92, Oe = 111, ee = 120, ie = 78, ae = 117, ne = 85, re = /* @__PURE__ */ new Set([
4
4
  pO,
5
5
  qO,
@@ -1,5 +1,5 @@
1
- import { L as M, E as X, a as h, C as E } from "./index-CXNLGqpN.js";
2
- import { s as A, t as i, E as C, a as J, n as o, L as I, b as B, d as D, e as u, h as K, i as N, f as H, c as g, j as F, m as OO, g as aO, J as j, x as QO, o as iO, I as eO } from "./index-FF8J68dM.js";
1
+ import { L as M, E as X, a as h, C as E } from "./index-13QCr6ei.js";
2
+ import { s as A, t as i, E as C, a as J, n as o, L as I, b as B, d as D, e as u, h as K, i as N, f as H, c as g, j as F, m as OO, g as aO, J as j, x as QO, o as iO, I as eO } from "./index-BjbDo-BN.js";
3
3
  const $O = 315, rO = 316, v = 1, tO = 2, lO = 3, nO = 4, oO = 317, sO = 319, ZO = 320, PO = 5, pO = 6, cO = 0, q = [
4
4
  9,
5
5
  10,
@@ -1,6 +1,6 @@
1
- import { L as v, E as i, C as _ } from "./index-CXNLGqpN.js";
2
- import { s as W, t as e, a as g, L as x, f as p, i as U, g as V, c as E } from "./index-FF8J68dM.js";
3
- import { defineCSSCompletionSource as N } from "./index-DpeaEf87.js";
1
+ import { L as v, E as i, C as _ } from "./index-13QCr6ei.js";
2
+ import { s as W, t as e, a as g, L as x, f as p, i as U, g as V, c as E } from "./index-BjbDo-BN.js";
3
+ import { defineCSSCompletionSource as N } from "./index-Dfs8HrMj.js";
4
4
  const j = 168, X = 169, C = 170, I = 1, D = 2, w = 3, L = 171, F = 172, Y = 4, z = 173, K = 5, A = 174, T = 175, Z = 176, s = 177, G = 6, q = 7, B = 8, H = 9, c = 0, R = [
5
5
  9,
6
6
  10,
@@ -1,5 +1,5 @@
1
- import { L as o, E as a } from "./index-CXNLGqpN.js";
2
- import { s as Z, t as Q, a as _, L as q, i as l, f as w, c as r, g as V } from "./index-FF8J68dM.js";
1
+ import { L as o, E as a } from "./index-13QCr6ei.js";
2
+ import { s as Z, t as Q, a as _, L as q, i as l, f as w, c as r, g as V } from "./index-BjbDo-BN.js";
3
3
  const g = 1, R = 2, b = 3, y = 4, T = 5, s = 98, c = 101, v = 102, t = 114, p = 69, X = 48, W = 46, d = 43, f = 45, Y = 35, z = 34, x = 124, U = 60, h = 62;
4
4
  function n(O) {
5
5
  return O >= 48 && O <= 57;
@@ -1,5 +1,5 @@
1
- import { L as W, E as i, C as B } from "./index-CXNLGqpN.js";
2
- import { s as U, t as n, a as C, L as b, p as E, i as u, f as M, j as v, g as N } from "./index-FF8J68dM.js";
1
+ import { L as W, E as i, C as B } from "./index-13QCr6ei.js";
2
+ import { s as U, t as n, a as C, L as b, p as E, i as u, f as M, j as v, g as N } from "./index-BjbDo-BN.js";
3
3
  const c = 63, D = 64, j = 1, A = 2, y = 3, H = 4, Z = 5, F = 6, I = 7, z = 65, K = 66, J = 8, OO = 9, eO = 10, aO = 11, rO = 12, V = 13, tO = 19, nO = 20, oO = 29, PO = 33, QO = 34, sO = 47, lO = 0, T = 1, g = 2, d = 3, m = 4;
4
4
  class s {
5
5
  constructor(e, a, r) {
@@ -1,7 +1,7 @@
1
- import { a as g, L as P, p as l, s as q, t as r } from "./index-FF8J68dM.js";
2
- import { html as c } from "./index-cYFrJDdQ.js";
3
- import { javascriptLanguage as i } from "./index-B9n8aGer.js";
4
- import { L as R, E as p } from "./index-CXNLGqpN.js";
1
+ import { a as g, L as P, p as l, s as q, t as r } from "./index-BjbDo-BN.js";
2
+ import { html as c } from "./index-x_CknZJ4.js";
3
+ import { javascriptLanguage as i } from "./index-Ci9slz4U.js";
4
+ import { L as R, E as p } from "./index-13QCr6ei.js";
5
5
  const b = 1, $ = 33, m = 34, v = 35, x = 36, W = /* @__PURE__ */ new p((O) => {
6
6
  let t = O.pos;
7
7
  for (; ; ) {
@@ -1,5 +1,5 @@
1
- import { L as o, E as t } from "./index-CXNLGqpN.js";
2
- import { s, t as Q, a as j, L as x, i as f, f as c, c as a, j as W, m as S, g as l } from "./index-FF8J68dM.js";
1
+ import { L as o, E as t } from "./index-13QCr6ei.js";
2
+ import { s, t as Q, a as j, L as x, i as f, f as c, c as a, j as W, m as S, g as l } from "./index-BjbDo-BN.js";
3
3
  const r = 1, q = 2, u = 3, n = 82, Z = 76, V = 117, T = 85, z = 97, w = 122, m = 65, b = 90, y = 95, i = 48, Y = 34, v = 40, P = 41, _ = 32, U = 62, p = new t((O) => {
4
4
  if (O.next == Z || O.next == T ? O.advance() : O.next == V && (O.advance(), O.next == i + 8 && O.advance()), O.next != n || (O.advance(), O.next != Y)) return;
5
5
  O.advance();
@@ -1,5 +1,5 @@
1
- import { L as w, E as p, a as Y } from "./index-CXNLGqpN.js";
2
- import { s as x, t as r, a as q, L as j, e as G, i as R, f as T, c as E, g as _, o as C, I as U } from "./index-FF8J68dM.js";
1
+ import { L as w, E as p, a as Y } from "./index-13QCr6ei.js";
2
+ import { s as x, t as r, a as q, L as j, e as G, i as R, f as T, c as E, g as _, o as C, I as U } from "./index-BjbDo-BN.js";
3
3
  const V = 122, g = 1, Z = 123, W = 124, b = 2, N = 125, I = 3, F = 4, X = [
4
4
  9,
5
5
  10,
@@ -1,6 +1,6 @@
1
- import { a as t, L as i, i as n, f as $, c as y, g as P, s as X, t as O } from "./index-FF8J68dM.js";
2
- import { defineCSSCompletionSource as m } from "./index-DpeaEf87.js";
3
- import { L as c, E as S } from "./index-CXNLGqpN.js";
1
+ import { a as t, L as i, i as n, f as $, c as y, g as P, s as X, t as O } from "./index-BjbDo-BN.js";
2
+ import { defineCSSCompletionSource as m } from "./index-Dfs8HrMj.js";
3
+ import { L as c, E as S } from "./index-13QCr6ei.js";
4
4
  const f = 110, l = 1, s = 2, r = [
5
5
  9,
6
6
  10,
@@ -1,5 +1,5 @@
1
- import { L as r } from "./index-CXNLGqpN.js";
2
- import { s as e, t as O, a as s, L as X, i as l, f as Y, c as $, j as S, m as o, g as t } from "./index-FF8J68dM.js";
1
+ import { L as r } from "./index-13QCr6ei.js";
2
+ import { s as e, t as O, a as s, L as X, i as l, f as Y, c as $, j as S, m as o, g as t } from "./index-BjbDo-BN.js";
3
3
  const Z = e({
4
4
  null: O.null,
5
5
  instanceof: O.operatorKeyword,
@@ -1,5 +1,5 @@
1
- import { P as nt, k as j, l as v, q as st, N as Ae, s as Be, p as it, t as c, T as E, r as ot, L as le, u as at, v as lt, w as ht, x as ft, e as _, h as P, y as T, z as ut, f as Ie, i as dt, A as pt, C as ct, B as mt, F as he, G as gt } from "./index-FF8J68dM.js";
2
- import { html as kt, htmlCompletionSource as Lt } from "./index-cYFrJDdQ.js";
1
+ import { P as nt, k as j, l as v, q as st, N as Ae, s as Be, p as it, t as c, T as E, r as ot, L as le, u as at, v as lt, w as ht, x as ft, e as _, h as P, y as T, z as ut, f as Ie, i as dt, A as pt, C as ct, B as mt, F as he, G as gt } from "./index-BjbDo-BN.js";
2
+ import { html as kt, htmlCompletionSource as Lt } from "./index-x_CknZJ4.js";
3
3
  class $ {
4
4
  static create(e, r, n, s, i) {
5
5
  let o = s + (s << 8) + e + (r << 4) | 0;
@@ -1,5 +1,5 @@
1
- import { L as s } from "./index-CXNLGqpN.js";
2
- import { s as n, t as r, a as o, L as P, i as Q, f as i, c as a, g as c } from "./index-FF8J68dM.js";
1
+ import { L as s } from "./index-13QCr6ei.js";
2
+ import { s as n, t as r, a as o, L as P, i as Q, f as i, c as a, g as c } from "./index-BjbDo-BN.js";
3
3
  const g = n({
4
4
  String: r.string,
5
5
  Number: r.number,
@@ -1,5 +1,5 @@
1
- import { L as te, a as re, i as ae, f as ne, s as ie, c as se, t as i, b as oe, d as le, e as ce } from "./index-FF8J68dM.js";
2
- import { L as de, E as me } from "./index-CXNLGqpN.js";
1
+ import { L as te, a as re, i as ae, f as ne, s as ie, c as se, t as i, b as oe, d as le, e as ce } from "./index-BjbDo-BN.js";
2
+ import { L as de, E as me } from "./index-13QCr6ei.js";
3
3
  const ue = 36, B = 1, pe = 2, y = 3, C = 4, fe = 5, _e = 6, ge = 7, he = 8, ye = 9, be = 10, ve = 11, ke = 12, xe = 13, Oe = 14, we = 15, Qe = 16, Ce = 17, X = 18, Se = 19, A = 20, E = 21, I = 22, qe = 23, Pe = 24;
4
4
  function q(t) {
5
5
  return t >= 65 && t <= 90 || t >= 97 && t <= 122 || t >= 48 && t <= 57;
@@ -1,7 +1,7 @@
1
- import { L as be, E as $, C as Pe } from "./index-CXNLGqpN.js";
2
- import { p as xe, s as Te, t as h, E as Ve, a as we, L as ye, e as K, h as ve, i as Xe, f as ke, H as $e } from "./index-FF8J68dM.js";
3
- import { cssLanguage as J, css as _e } from "./index-DpeaEf87.js";
4
- import { typescriptLanguage as qe, jsxLanguage as Ce, tsxLanguage as Qe, javascriptLanguage as R, javascript as Ae } from "./index-B9n8aGer.js";
1
+ import { L as be, E as $, C as Pe } from "./index-13QCr6ei.js";
2
+ import { p as xe, s as Te, t as h, E as Ve, a as we, L as ye, e as K, h as ve, i as Xe, f as ke, H as $e } from "./index-BjbDo-BN.js";
3
+ import { cssLanguage as J, css as _e } from "./index-Dfs8HrMj.js";
4
+ import { typescriptLanguage as qe, jsxLanguage as Ce, tsxLanguage as Qe, javascriptLanguage as R, javascript as Ae } from "./index-Ci9slz4U.js";
5
5
  const Ye = 54, Me = 1, Re = 55, Ee = 2, Ze = 56, Be = 3, z = 4, ze = 5, X = 6, ee = 7, te = 8, ae = 9, le = 10, We = 11, De = 12, Ne = 13, _ = 57, Ge = 14, W = 58, re = 20, Ie = 22, ne = 23, je = 24, Y = 26, se = 27, Ue = 28, Le = 31, Fe = 34, He = 36, Ke = 37, Je = 0, et = 1, tt = {
6
6
  area: !0,
7
7
  base: !0,
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { bw as o, aK as e, aL as t, R as r, M as i, Q as b, aX as c, cP as n, Z as A, d0 as l, aO as d, cY as y, $ as u, cQ as C, cZ as S, a6 as g, d4 as p, cR as L, aH as P, ag as T, ah as h, cX as I, aZ as _, b9 as E, b8 as m, d1 as R, aP as k, cS as D, aI as O, b5 as f, d3 as B, b6 as v, b2 as U, aE as M, Y as F, aQ as N, aj as Q, cT as W, b7 as w, cU as x, b3 as H, ak as G, by as V, _ as j, d6 as Y, bB as z, bH as X, c$ as K, av as Z, aN as q, ar as J, aq as $, bv as aa, bt as sa, bu as oa, c_ as ea, aJ as ta, cV as ra, cW as ia, a8 as ba, aM as ca, b4 as na, d5 as Aa, d2 as la, V as da, a5 as ya, a4 as ua, co as Ca, bC as Sa, cr as ga, al as pa, an as La, am as Pa, ao as Ta, ae as ha, ad as Ia, aS as _a, d7 as Ea, az as ma, a$ as Ra, a_ as ka, aC as Da, aD as Oa, af as fa, cM as Ba, ap as va, cs as Ua, aa as Ma, cv as Fa, cN as Na, cp as Qa, cq as Wa, b0 as wa, aT as xa, a9 as Ha, X as Ga, ax as Va, aw as ja, aB as Ya, a0 as za, cL as Xa, cJ as Ka, cK as Za, b1 as qa, aA as Ja, O as $a, cu as as, cn as ss, ai as os, bz as es, bA as ts, K as rs, W as is, at as bs, au as cs, a1 as ns, as as As, aU as ls, bQ as ds, bI as ys, bM as us, bE as Cs, aV as Ss, cO as gs, ac as ps, bh as Ls, bi as Ps, bj as Ts, bm as hs, br as Is, bp as _s, bg as Es, bf as ms, bc as Rs, bk as ks, bb as Ds, be as Os, bs as fs, bl as Bs, bd as vs, bq as Us, U as Ms, S as Fs, aR as Ns, aW as Qs, ab as Ws, aY as ws, a2 as xs, a3 as Hs, bP as Gs, c9 as Vs, cd as js, ba as Ys, bF as zs, bT as Xs, aG as Ks, bV as Zs, ck as qs, cj as Js, cz as $s, bJ as ao, bY as so, bZ as oo, cb as eo, dd as to, c5 as ro, c3 as io, c4 as bo, cD as co, bo as no, bn as Ao, cx as lo, cC as yo, cB as uo, ay as Co, cF as So, cA as go, ct as po, bR as Lo, bx as Po, cf as To, cg as ho, c0 as Io, c1 as _o, ch as Eo, ci as mo, cG as Ro, c6 as ko, di as Do, cm as Oo, cl as fo, bG as Bo, bK as vo, bO as Uo, bD as Mo, dg as Fo, dc as No, cc as Qo, bW as Wo, bS as wo, cI as xo, cH as Ho, cy as Go, cE as Vo, b_ as jo, b$ as Yo, c8 as zo, bL as Xo, ca as Ko, ce as Zo, c2 as qo, bU as Jo, bX as $o, c7 as ae, aF as se, a7 as oe, d8 as ee, db as te, dh as re, de as ie, df as be, bN as ce, d9 as ne, da as Ae, cw as le } from "./index-FF8J68dM.js";
2
- import { A as ye, q as ue, c as Ce, C as Se, a as ge, D as pe, H as Le, R as Pe, V as Te, h as he, x as Ie, d as _e, y as Ee, z as me, v as Re, s as ke, I as De, f as Oe, J as fe, E as Be, F as ve, i as Ue, j as Me, n as Fe, p as Ne, r as Qe, e as We, g as we, B as xe, G as He, u as Ge, b as Ve, k as je, w as Ye } from "./CookieConsentSettings.component-CgiQCgFX.js";
1
+ import { bw as o, aK as e, aL as t, R as r, M as i, Q as b, aX as c, cP as n, Z as A, d0 as l, aO as d, cY as y, $ as u, cQ as C, cZ as S, a6 as g, d4 as p, cR as L, aH as P, ag as T, ah as h, cX as I, aZ as _, b9 as E, b8 as m, d1 as R, aP as k, cS as D, aI as O, b5 as f, d3 as B, b6 as v, b2 as U, aE as M, Y as F, aQ as N, aj as Q, cT as W, b7 as w, cU as x, b3 as H, ak as G, by as V, _ as j, d6 as Y, bB as z, bH as X, c$ as K, av as Z, aN as q, ar as J, aq as $, bv as aa, bt as sa, bu as oa, c_ as ea, aJ as ta, cV as ra, cW as ia, a8 as ba, aM as ca, b4 as na, d5 as Aa, d2 as la, V as da, a5 as ya, a4 as ua, co as Ca, bC as Sa, cr as ga, al as pa, an as La, am as Pa, ao as Ta, ae as ha, ad as Ia, aS as _a, d7 as Ea, az as ma, a$ as Ra, a_ as ka, aC as Da, aD as Oa, af as fa, cM as Ba, ap as va, cs as Ua, aa as Ma, cv as Fa, cN as Na, cp as Qa, cq as Wa, b0 as wa, aT as xa, a9 as Ha, X as Ga, ax as Va, aw as ja, aB as Ya, a0 as za, cL as Xa, cJ as Ka, cK as Za, b1 as qa, aA as Ja, O as $a, cu as as, cn as ss, ai as os, bz as es, bA as ts, K as rs, W as is, at as bs, au as cs, a1 as ns, as as As, aU as ls, bQ as ds, bI as ys, bM as us, bE as Cs, aV as Ss, cO as gs, ac as ps, bh as Ls, bi as Ps, bj as Ts, bm as hs, br as Is, bp as _s, bg as Es, bf as ms, bc as Rs, bk as ks, bb as Ds, be as Os, bs as fs, bl as Bs, bd as vs, bq as Us, U as Ms, S as Fs, aR as Ns, aW as Qs, ab as Ws, aY as ws, a2 as xs, a3 as Hs, bP as Gs, c9 as Vs, cd as js, ba as Ys, bF as zs, bT as Xs, aG as Ks, bV as Zs, ck as qs, cj as Js, cz as $s, bJ as ao, bY as so, bZ as oo, cb as eo, dd as to, c5 as ro, c3 as io, c4 as bo, cD as co, bo as no, bn as Ao, cx as lo, cC as yo, cB as uo, ay as Co, cF as So, cA as go, ct as po, bR as Lo, bx as Po, cf as To, cg as ho, c0 as Io, c1 as _o, ch as Eo, ci as mo, cG as Ro, c6 as ko, di as Do, cm as Oo, cl as fo, bG as Bo, bK as vo, bO as Uo, bD as Mo, dg as Fo, dc as No, cc as Qo, bW as Wo, bS as wo, cI as xo, cH as Ho, cy as Go, cE as Vo, b_ as jo, b$ as Yo, c8 as zo, bL as Xo, ca as Ko, ce as Zo, c2 as qo, bU as Jo, bX as $o, c7 as ae, aF as se, a7 as oe, d8 as ee, db as te, dh as re, de as ie, df as be, bN as ce, d9 as ne, da as Ae, cw as le } from "./index-BjbDo-BN.js";
2
+ import { A as ye, q as ue, c as Ce, C as Se, a as ge, D as pe, H as Le, R as Pe, V as Te, h as he, x as Ie, d as _e, y as Ee, z as me, v as Re, s as ke, I as De, f as Oe, J as fe, E as Be, F as ve, i as Ue, j as Me, n as Fe, p as Ne, r as Qe, e as We, g as we, B as xe, G as He, u as Ge, b as Ve, k as je, w as Ye } from "./CookieConsentSettings.component-BLgzLD-Z.js";
3
3
  export {
4
4
  o as ABYSS_SERVICE_CONFIG,
5
5
  e as ABYSS_SIDEBAR_WIDTH,
@@ -1,3 +1,9 @@
1
+ /**
2
+ * Abyss Design System — MUI Theme Augmentation
3
+ *
4
+ * Extends the MUI Theme interface with custom Abyss tokens.
5
+ * Import this file for side-effect to enable `theme.abyss.*` typing.
6
+ */
1
7
  export interface GlassTokens {
2
8
  background: string;
3
9
  backgroundHover: string;
@@ -1,15 +1,22 @@
1
1
  import { Theme } from '@mui/material';
2
+ /**
3
+ * Abyss Design System — Public API
4
+ *
5
+ * Usage:
6
+ * import { createAbyssTheme, tokens, palettes } from './theme';
7
+ * const theme = createAbyssTheme('dark');
8
+ */
2
9
  export { createAbyssTheme } from './create-theme';
3
10
  export type { ThemeMode } from './create-theme';
4
11
  export declare const theme: Theme;
5
12
  export * as colors from './tokens/colors';
6
- export { indigo, neutral, cyan, amber, red, green, purple, chipColors, colorPool, colorPoolExtended, tagColorPool, getPoolColor, getPoolColorExtended } from './tokens/colors';
13
+ export { indigo, neutral, cyan, amber, red, green, purple, chipColors, colorPool, colorPoolExtended, tagColorPool, getPoolColor, getPoolColorExtended, } from './tokens/colors';
7
14
  export { radius } from './tokens/borders';
8
15
  export { transition, duration, easing } from './tokens/transitions';
9
- export { shadow, shadowLight, glow, glowCyan, textShadow } from './tokens/shadows';
10
- export { fontSize, fontWeight, fontFamily, iconSize, typographyVariants } from './tokens/typography';
16
+ export { shadow, shadowLight, glow, glowCyan, textShadow, } from './tokens/shadows';
17
+ export { fontSize, fontWeight, fontFamily, iconSize, typographyVariants, } from './tokens/typography';
11
18
  export { shimmer, bioluminescentPulse } from './tokens/animations';
12
19
  export { slideInUp, fadeIn, pulseGlow } from './tokens/animations';
13
- export { brand, social, glassDark, glassLight, gradientsDark, gradientsLight } from './palettes/common';
20
+ export { brand, social, glassDark, glassLight, gradientsDark, gradientsLight, } from './palettes/common';
14
21
  export { darkPalette, darkCustom } from './palettes/dark';
15
22
  export { lightPalette, lightCustom } from './palettes/light';
@@ -1,3 +1,9 @@
1
+ /**
2
+ * Abyss Design System — Common Palette Values
3
+ *
4
+ * Shared between light and dark themes: brand identity, social colors,
5
+ * and glassmorphism token definitions.
6
+ */
1
7
  export declare const brand: {
2
8
  readonly primary: "#6366F1";
3
9
  readonly primaryLight: "#818CF8";
@@ -42,12 +48,19 @@ export declare const glassLight: {
42
48
  readonly blurStrong: "blur(12px)";
43
49
  };
44
50
  export declare const gradientsDark: {
51
+ /** Main surface gradient — deep indigo sea */
45
52
  readonly surface: "linear-gradient(145deg, rgba(30, 27, 75, 0.5) 0%, rgba(9, 9, 11, 0.6) 100%)";
53
+ /** Brand gradient (indigo → cyan bioluminescent) */
46
54
  readonly brand: "linear-gradient(135deg, #4F46E5 0%, #6366F1 40%, #06B6D4 100%)";
55
+ /** Indigo → purple for special elements */
47
56
  readonly brandAlt: "linear-gradient(135deg, #6366F1 0%, #9333EA 100%)";
57
+ /** Subtle brand tint for elevated surfaces */
48
58
  readonly brandSubtle: "linear-gradient(145deg, rgba(99, 102, 241, 0.12) 0%, rgba(34, 211, 238, 0.06) 100%)";
59
+ /** Warm accent gradient */
49
60
  readonly warmSubtle: "linear-gradient(135deg, rgba(99, 102, 241, 0.10) 0%, rgba(252, 163, 17, 0.08) 100%)";
61
+ /** Bioluminescent radial glow for hero/special surfaces */
50
62
  readonly bioluminescent: "radial-gradient(ellipse at top, rgba(34, 211, 238, 0.12) 0%, rgba(99, 102, 241, 0.04) 50%, transparent 70%)";
63
+ /** Deep abyss background */
51
64
  readonly abyss: "radial-gradient(ellipse at bottom, rgba(30, 27, 75, 0.4) 0%, rgba(9, 9, 11, 0) 70%)";
52
65
  };
53
66
  export declare const gradientsLight: {
@@ -1,5 +1,6 @@
1
1
  import { ThemeOptions } from '@mui/material';
2
2
  export declare const darkPalette: ThemeOptions['palette'];
3
+ /** Custom tokens injected via theme augmentation */
3
4
  export declare const darkCustom: {
4
5
  readonly glass: {
5
6
  readonly background: "rgba(99, 102, 241, 0.06)";
@@ -1,5 +1,6 @@
1
1
  import { ThemeOptions } from '@mui/material';
2
2
  export declare const lightPalette: ThemeOptions['palette'];
3
+ /** Custom tokens injected via theme augmentation */
3
4
  export declare const lightCustom: {
4
5
  readonly glass: {
5
6
  readonly background: "rgba(255, 255, 255, 0.70)";
@@ -1,3 +1,6 @@
1
+ /**
2
+ * Abyss Design System — Keyframe Animations
3
+ */
1
4
  export declare const slideInUp: {
2
5
  name: string;
3
6
  styles: string;
@@ -1,3 +1,6 @@
1
+ /**
2
+ * Abyss Design System — Border Tokens
3
+ */
1
4
  export declare const radius: {
2
5
  readonly xs: "2px";
3
6
  readonly sm: "4px";
@@ -1,3 +1,12 @@
1
+ /**
2
+ * Abyss Design System — Primitive Color Tokens
3
+ *
4
+ * Named by hue + shade (50–950). These are the raw values.
5
+ * Semantic meaning is assigned in the palette files.
6
+ *
7
+ * To change the brand color, update `indigo`.
8
+ * To add a new hue, follow the same shade scale pattern.
9
+ */
1
10
  export declare const indigo: {
2
11
  readonly 50: "#EEF2FF";
3
12
  readonly 100: "#E0E7FF";
@@ -95,8 +104,26 @@ export declare const social: {
95
104
  readonly slackHover: "#3B1139";
96
105
  };
97
106
  export declare const chipColors: Record<string, string>;
107
+ /**
108
+ * A curated pool of visually distinct colors optimized for dark backgrounds.
109
+ * Use sequentially for chart series, list items, tags, categories, etc.
110
+ * 12 colors designed to be distinguishable for colorblind users.
111
+ */
98
112
  export declare const colorPool: readonly ["#6366F1", "#22D3EE", "#FCA311", "#10B981", "#F472B6", "#A78BFA", "#FB923C", "#34D399", "#F87171", "#38BDF8", "#FACC15", "#C084FC"];
113
+ /**
114
+ * Extended pool — 20 colors for datasets with many categories
115
+ */
99
116
  export declare const colorPoolExtended: readonly ["#6366F1", "#22D3EE", "#FCA311", "#10B981", "#F472B6", "#A78BFA", "#FB923C", "#34D399", "#F87171", "#38BDF8", "#FACC15", "#C084FC", "#E879F9", "#2DD4BF", "#FB7185", "#818CF8", "#4ADE80", "#FCD34D", "#67E8F9", "#F9A8D4"];
117
+ /**
118
+ * Tag color pool — 16 colors optimized for chip backgrounds with white text.
119
+ * Use for tag management, tag selectors, and any label-style coloring.
120
+ */
100
121
  export declare const tagColorPool: readonly ["#6366f1", "#8b5cf6", "#a855f7", "#d946ef", "#ec4899", "#f43f5e", "#ef4444", "#f97316", "#f59e0b", "#eab308", "#84cc16", "#22c55e", "#14b8a6", "#06b6d4", "#0ea5e9", "#3b82f6"];
122
+ /**
123
+ * Get a color from the pool by index (loops around)
124
+ */
101
125
  export declare const getPoolColor: (index: number) => string;
126
+ /**
127
+ * Get a color from the extended pool by index (loops around)
128
+ */
102
129
  export declare const getPoolColorExtended: (index: number) => string;
@@ -1,3 +1,10 @@
1
+ /**
2
+ * Abyss Design System — Shadow Tokens
3
+ *
4
+ * Glassmorphism-oriented shadows:
5
+ * - Dark mode: colored glows (indigo, cyan) + deep shadows
6
+ * - Light mode: classic elevation shadows
7
+ */
1
8
  export declare const shadow: {
2
9
  readonly none: "none";
3
10
  readonly xs: "0 1px 2px rgba(0, 0, 0, 0.3)";
@@ -28,6 +35,7 @@ export declare const glow: {
28
35
  readonly insetSm: "inset 0 0 5px 2px rgba(99, 102, 241, 0.3)";
29
36
  readonly insetMd: "inset 0 0 10px 2px rgba(99, 102, 241, 0.3)";
30
37
  readonly insetLg: "inset 0 0 10px 2px rgba(99, 102, 241, 0.5)";
38
+ /** Focus ring for inputs / interactive elements */
31
39
  readonly focus: "0 0 0 2px rgba(99, 102, 241, 0.3)";
32
40
  };
33
41
  export declare const glowCyan: {
@@ -1,3 +1,6 @@
1
+ /**
2
+ * Abyss Design System — Transition Tokens
3
+ */
1
4
  export declare const duration: {
2
5
  readonly instant: "0.1s";
3
6
  readonly fast: "0.15s";
@@ -10,6 +13,7 @@ export declare const easing: {
10
13
  readonly bounce: "cubic-bezier(0.34, 1.56, 0.64, 1)";
11
14
  readonly smooth: "cubic-bezier(0.4, 0, 0.2, 1)";
12
15
  };
16
+ /** Pre-built transition shorthand strings */
13
17
  export declare const transition: {
14
18
  readonly instant: "all 0.1s ease-in-out";
15
19
  readonly fast: "all 0.15s ease-in-out";
@@ -1,3 +1,9 @@
1
+ /**
2
+ * Abyss Design System — Typography Tokens
3
+ *
4
+ * Compact by default — no need for CSS scale(0.9) hacks.
5
+ * Base font size: 13px (body), headings scaled proportionally.
6
+ */
1
7
  export declare const fontFamily: string;
2
8
  export declare const fontSize: {
3
9
  readonly xxs: 10;
@@ -1 +1,10 @@
1
+ /**
2
+ * Navigate handler for cross-service share/invitation notifications.
3
+ *
4
+ * These notification content types can appear under any service surface, so
5
+ * each app delegates to this helper before falling through to its own
6
+ * service-specific routing.
7
+ *
8
+ * Returns true when the navigation was handled here (caller must not continue).
9
+ */
1
10
  export declare const handleShareNotificationNavigation: (contentType: string | undefined, data: Record<string, unknown> | undefined, navigate: (path: string) => void, invitationsPath: string) => boolean;
@@ -1,5 +1,13 @@
1
1
  import { IntlShape } from 'react-intl';
2
2
  import { ISpace } from '@abyss-project/cloud';
3
+ /**
4
+ * Space display name is *always* derived from scope (userId / organizationId /
5
+ * projectId) — never from `space.name`, which is an internal DB marker that
6
+ * must not surface in the UI.
7
+ *
8
+ * Caller injects the resolved org / project / user labels via `context`. When
9
+ * a label is missing, falls back to a generic localized wording.
10
+ */
3
11
  export type SpaceScope = 'personal' | 'perso-in-org' | 'org-common' | 'project';
4
12
  export declare const resolveSpaceScope: (space: Pick<ISpace, 'organizationId' | 'userId' | 'projectId'>) => SpaceScope;
5
13
  export declare const resolveSpaceDisplayName: (space: Pick<ISpace, 'organizationId' | 'userId' | 'projectId'>, intl: IntlShape, context?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abyss-project/commons-front-core",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "Front Core package of AbyssProject",
5
5
  "main": "dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -35,6 +35,9 @@
35
35
  },
36
36
  "homepage": "https://gitlab.com/abyss-group",
37
37
  "peerDependencies": {
38
+ "@dnd-kit/core": "^6.0.0",
39
+ "@dnd-kit/sortable": "^9.0.0",
40
+ "@dnd-kit/utilities": "^3.0.0",
38
41
  "@emotion/react": "^11.7.1",
39
42
  "@emotion/styled": "^11.6.0",
40
43
  "@mui/icons-material": "^6.0.0",
@@ -44,20 +47,17 @@
44
47
  "@mui/x-data-grid": "^8.5.3",
45
48
  "@mui/x-date-pickers": "^6.20.2",
46
49
  "@tanstack/react-query": "^5.0.0",
47
- "@dnd-kit/core": "^6.0.0",
48
- "@dnd-kit/sortable": "^9.0.0",
49
- "@dnd-kit/utilities": "^3.0.0",
50
50
  "react": "^17.0.0 || ^18.0.0",
51
51
  "react-dom": "^17.0.0 || ^18.0.0",
52
- "react-is": "^18.0.0 || ^19.0.0",
53
52
  "react-intl": "^6.2.5",
53
+ "react-is": "^18.0.0 || ^19.0.0",
54
54
  "react-router-dom": "^6.15.0",
55
55
  "zustand": "^5.0.0",
56
- "@abyss-project/main": "3.3.0"
56
+ "@abyss-project/main": "4.0.0"
57
57
  },
58
58
  "dependencies": {
59
59
  "@abyss-project/banking": "^1.1.0",
60
- "@abyss-project/cloud": "^2.0.1",
60
+ "@abyss-project/cloud": "^2.1.1",
61
61
  "@abyss-project/crypt": "^1.0.9",
62
62
  "@abyss-project/form": "^1.0.13",
63
63
  "@abyss-project/memories": "^1.0.12",
@@ -85,6 +85,8 @@
85
85
  "flat": "^5.0.2",
86
86
  "formik": "^2.4.6",
87
87
  "lodash": "^4.17.21",
88
+ "pdf-lib": "^1.17.1",
89
+ "pdfjs-dist": "^4.10.38",
88
90
  "qrcode": "^1.5.3",
89
91
  "react-dropzone": "^14.3.8",
90
92
  "react-error-boundary": "^6.1.1",
@@ -92,10 +94,8 @@
92
94
  "react-toastify": "^8.0.2",
93
95
  "use-debounce": "^10.0.5",
94
96
  "uuid": "^9.0.0",
95
- "pdf-lib": "^1.17.1",
96
- "pdfjs-dist": "^4.10.38",
97
97
  "yup": "^0.32.11",
98
- "@abyss-project/main": "3.3.0"
98
+ "@abyss-project/main": "4.0.0"
99
99
  },
100
100
  "devDependencies": {
101
101
  "@testing-library/react": "^16.3.2",
@@ -111,7 +111,7 @@
111
111
  "@typescript-eslint/eslint-plugin": "6.21.0",
112
112
  "@typescript-eslint/parser": "7.3.1",
113
113
  "@vitejs/plugin-react": "^4.2.0",
114
- "jsdom": "^29.1.1",
114
+ "@vitest/coverage-v8": "^2.0.0",
115
115
  "eslint": "^7.28.0",
116
116
  "eslint-config-prettier": "^8.3.0",
117
117
  "eslint-config-standard": "^16.0.3",
@@ -120,18 +120,19 @@
120
120
  "eslint-plugin-node": "^11.1.0",
121
121
  "eslint-plugin-prettier": "^3.4.0",
122
122
  "eslint-plugin-react": "^7.37.5",
123
+ "eslint-plugin-react-hooks": "^4.6.2",
124
+ "jsdom": "^29.1.1",
123
125
  "prettier": "^2.5.1",
124
126
  "tsc-watch": "^4.6.2",
125
127
  "typescript": "5.4.2",
126
128
  "vite": "^6.3.5",
127
- "@vitest/coverage-v8": "^2.0.0",
128
129
  "vite-plugin-dts": "^4.5.4",
129
130
  "vitest": "^2.0.0"
130
131
  },
131
132
  "scripts": {
132
133
  "lint": "eslint \"{src,apps,libs,test,core}/**/*.{ts,tsx}\" --fix",
133
134
  "lint:check": "eslint \"{src,apps,libs,test,core}/**/*.{ts,tsx}\" --max-warnings 0",
134
- "tsc": "tsc",
135
+ "tsc": "tsc --noEmit",
135
136
  "build": "vite build",
136
137
  "dev": "vite build --watch",
137
138
  "test": "vitest run --config vitest.config.ts",
package/tsconfig.json CHANGED
@@ -1,35 +1,36 @@
1
1
  {
2
+ // Type-check configuration for the package. It emits NOTHING: `dist/` is produced by
3
+ // `vite build` (esbuild transpiles, it does not verify), and the `.d.ts` bundle by
4
+ // `vite-plugin-dts` — which runs with `skipDiagnostics: true`.
5
+ //
6
+ // Until 2026-09-09 this file was a copy of an API package's config: `module: commonjs`,
7
+ // `experimentalDecorators`, `rootDir`, `declaration`, `outDir: ./dist`, and — the part
8
+ // that mattered — no `jsx`. The `tsc` script could therefore never pass on a package whose
9
+ // `src` holds 134 `.tsx` files, and no CI job called it. The package was type-checked
10
+ // NOWHERE; a type error only surfaced later, in a consumer's own `tsc`.
11
+ //
12
+ // `apps/front/vite.config.mts` also loads this file through `vite-tsconfig-paths`, so keep
13
+ // `include` covering the sources the front serves.
2
14
  "compilerOptions": {
3
- "incremental": false,
4
15
  "target": "es2021",
5
- "lib": [
6
- "dom",
7
- "es2021"
8
- ],
9
- "experimentalDecorators": true,
10
- "emitDecoratorMetadata": true,
11
- "module": "commonjs",
12
- "rootDir": "src",
13
- "moduleResolution": "node",
16
+ "lib": ["dom", "dom.iterable", "es2021"],
17
+ "jsx": "react-jsx",
18
+ "module": "esnext",
19
+ "moduleResolution": "bundler",
14
20
  "resolveJsonModule": true,
15
- "allowJs": true,
16
- "declaration": true,
17
- "sourceMap": true,
18
- "outDir": "./dist",
19
- "removeComments": true,
20
- "allowSyntheticDefaultImports": true,
21
21
  "esModuleInterop": true,
22
+ "allowSyntheticDefaultImports": true,
22
23
  "forceConsistentCasingInFileNames": true,
23
24
  "strict": true,
24
- "strictNullChecks": true,
25
- "strictFunctionTypes": true,
25
+ // Kept from the previous config: components assign their fields outside the constructor.
26
26
  "strictPropertyInitialization": false,
27
- "skipLibCheck": true
27
+ "skipLibCheck": true,
28
+ "noEmit": true,
29
+ // Declares `*.svg`, `*.png` and `import.meta.env`, which `src/assets` imports.
30
+ "types": ["vite/client"]
28
31
  },
29
- "include": [
30
- "./src"
31
- ],
32
- "exclude": [
33
- "./dist/**/*"
34
- ]
32
+ // Specs are included on purpose: a broken test file is a broken build, and the CI gate is
33
+ // expected to see it.
34
+ "include": ["./src"],
35
+ "exclude": ["./dist/**/*"]
35
36
  }
package/vite.config.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineConfig } from 'vite'
2
2
  import react from '@vitejs/plugin-react'
3
- import path, { resolve } from 'path'
3
+ import { resolve } from 'path'
4
4
  import dts from 'vite-plugin-dts';
5
5
 
6
6
  const isWatch = process.argv.includes('--watch');
@@ -14,22 +14,6 @@ export default defineConfig({
14
14
  insertTypesEntry: true,
15
15
  }),
16
16
  ].filter(Boolean),
17
- resolve: {
18
- alias: {
19
- "@components-spotlight/*": path.resolve(__dirname, './src/components/Spotlight'),
20
- "@components-avatars/*": path.resolve(__dirname, './src/components/Avatars'),
21
- "@components-chips/*": path.resolve(__dirname, './src/components/Chips'),
22
- "@components-utils/*": path.resolve(__dirname, './src/components/Utils'),
23
- "@components-inputs/*": path.resolve(__dirname, './src/components/Inputs'),
24
- "@components-modals/*": path.resolve(__dirname, './src/components/Modals'),
25
- '@components': path.resolve(__dirname, './src/components'),
26
- '@assets': path.resolve(__dirname, './src/assets'),
27
- '@utils': path.resolve(__dirname, './src/utils'),
28
- '@types': path.resolve(__dirname, './src/types'),
29
- '@hooks': path.resolve(__dirname, './src/hooks'),
30
- '@': path.resolve(__dirname, './src'),
31
- },
32
- },
33
17
  build: {
34
18
  lib: {
35
19
  // Multiple entries: the full barrel (`index`) plus a browser-safe,