analytica-frontend-lib 1.2.18 → 1.2.21

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 (51) hide show
  1. package/dist/AlertManager/index.css +10 -0
  2. package/dist/AlertManager/index.css.map +1 -1
  3. package/dist/AlertManager/index.d.mts +2 -1
  4. package/dist/AlertManager/index.d.ts +2 -1
  5. package/dist/AlertManager/index.js +49 -5
  6. package/dist/AlertManager/index.js.map +1 -1
  7. package/dist/AlertManager/index.mjs +49 -5
  8. package/dist/AlertManager/index.mjs.map +1 -1
  9. package/dist/AlertManagerView/index.d.mts +2 -1
  10. package/dist/AlertManagerView/index.d.ts +2 -1
  11. package/dist/CheckBoxGroup-9n5C0OH4.d.mts +24 -0
  12. package/dist/CheckBoxGroup-9n5C0OH4.d.ts +24 -0
  13. package/dist/DropdownMenu/index.d.mts +7 -1
  14. package/dist/DropdownMenu/index.d.ts +7 -1
  15. package/dist/DropdownMenu/index.js +51 -5
  16. package/dist/DropdownMenu/index.js.map +1 -1
  17. package/dist/DropdownMenu/index.mjs +50 -5
  18. package/dist/DropdownMenu/index.mjs.map +1 -1
  19. package/dist/NotificationCard/index.js +49 -5
  20. package/dist/NotificationCard/index.js.map +1 -1
  21. package/dist/NotificationCard/index.mjs +49 -5
  22. package/dist/NotificationCard/index.mjs.map +1 -1
  23. package/dist/Radio/index.d.mts +1 -1
  24. package/dist/Radio/index.d.ts +1 -1
  25. package/dist/Search/index.js +49 -5
  26. package/dist/Search/index.js.map +1 -1
  27. package/dist/Search/index.mjs +49 -5
  28. package/dist/Search/index.mjs.map +1 -1
  29. package/dist/TableProvider/index.css +19143 -0
  30. package/dist/TableProvider/index.css.map +1 -0
  31. package/dist/TableProvider/index.d.mts +4 -0
  32. package/dist/TableProvider/index.d.ts +4 -0
  33. package/dist/TableProvider/index.js +5365 -0
  34. package/dist/TableProvider/index.js.map +1 -0
  35. package/dist/TableProvider/index.mjs +5387 -0
  36. package/dist/TableProvider/index.mjs.map +1 -0
  37. package/dist/TableProvider-CDcL1tDj.d.mts +192 -0
  38. package/dist/TableProvider-D4Ak7ofz.d.ts +192 -0
  39. package/dist/index.css +10 -0
  40. package/dist/index.css.map +1 -1
  41. package/dist/index.d.mts +7 -44
  42. package/dist/index.d.ts +7 -44
  43. package/dist/index.js +1120 -785
  44. package/dist/index.js.map +1 -1
  45. package/dist/index.mjs +1038 -705
  46. package/dist/index.mjs.map +1 -1
  47. package/dist/styles.css +10 -0
  48. package/dist/styles.css.map +1 -1
  49. package/dist/{types-BXzeefgf.d.mts → types-DqZRjqxh.d.ts} +2 -23
  50. package/dist/{types-BXzeefgf.d.ts → types-pd3QVhSu.d.mts} +2 -23
  51. package/package.json +2 -1
@@ -2320,10 +2320,13 @@ var ProfileMenuHeader = forwardRef5(({ className, name, email, photoUrl, store:
2320
2320
  {
2321
2321
  ref,
2322
2322
  "data-component": "ProfileMenuHeader",
2323
- className: cn("flex flex-row gap-4 items-center", className),
2323
+ className: cn(
2324
+ "flex flex-row gap-4 items-center min-w-[280px]",
2325
+ className
2326
+ ),
2324
2327
  ...props,
2325
2328
  children: [
2326
- /* @__PURE__ */ jsx13("span", { className: "w-16 h-16 bg-primary-100 rounded-full flex items-center justify-center overflow-hidden", children: photoUrl ? /* @__PURE__ */ jsx13(
2329
+ /* @__PURE__ */ jsx13("span", { className: "w-16 h-16 bg-primary-100 rounded-full flex items-center justify-center overflow-hidden flex-shrink-0", children: photoUrl ? /* @__PURE__ */ jsx13(
2327
2330
  "img",
2328
2331
  {
2329
2332
  src: photoUrl,
@@ -2331,15 +2334,56 @@ var ProfileMenuHeader = forwardRef5(({ className, name, email, photoUrl, store:
2331
2334
  className: "w-full h-full object-cover"
2332
2335
  }
2333
2336
  ) : /* @__PURE__ */ jsx13(User, { size: 34, className: "text-primary-800" }) }),
2334
- /* @__PURE__ */ jsxs10("div", { className: "flex flex-col ", children: [
2335
- /* @__PURE__ */ jsx13(Text_default, { size: "xl", weight: "bold", color: "text-text-950", children: name }),
2336
- /* @__PURE__ */ jsx13(Text_default, { size: "md", color: "text-text-600", children: email })
2337
+ /* @__PURE__ */ jsxs10("div", { className: "flex flex-col min-w-0", children: [
2338
+ /* @__PURE__ */ jsx13(
2339
+ Text_default,
2340
+ {
2341
+ size: "xl",
2342
+ weight: "bold",
2343
+ color: "text-text-950",
2344
+ className: "truncate",
2345
+ children: name
2346
+ }
2347
+ ),
2348
+ /* @__PURE__ */ jsx13(Text_default, { size: "md", color: "text-text-600", className: "truncate", children: email })
2337
2349
  ] })
2338
2350
  ]
2339
2351
  }
2340
2352
  );
2341
2353
  });
2342
2354
  ProfileMenuHeader.displayName = "ProfileMenuHeader";
2355
+ var ProfileMenuInfo = forwardRef5(
2356
+ ({
2357
+ className,
2358
+ schoolName,
2359
+ classYearName,
2360
+ schoolYearName,
2361
+ store: _store,
2362
+ ...props
2363
+ }, ref) => {
2364
+ return /* @__PURE__ */ jsxs10(
2365
+ "div",
2366
+ {
2367
+ ref,
2368
+ "data-component": "ProfileMenuInfo",
2369
+ className: cn("flex flex-row gap-4 items-center", className),
2370
+ ...props,
2371
+ children: [
2372
+ /* @__PURE__ */ jsx13("span", { className: "w-16 h-16" }),
2373
+ /* @__PURE__ */ jsxs10("div", { className: "flex flex-col ", children: [
2374
+ /* @__PURE__ */ jsx13(Text_default, { size: "md", color: "text-text-600", children: schoolName }),
2375
+ /* @__PURE__ */ jsxs10("span", { className: "flex flex-row items-center gap-2", children: [
2376
+ /* @__PURE__ */ jsx13(Text_default, { size: "md", color: "text-text-600", children: classYearName }),
2377
+ /* @__PURE__ */ jsx13("p", { className: "text-text-600 text-xs align-middle", children: "\u25CF" }),
2378
+ /* @__PURE__ */ jsx13(Text_default, { size: "md", color: "text-text-600", children: schoolYearName })
2379
+ ] })
2380
+ ] })
2381
+ ]
2382
+ }
2383
+ );
2384
+ }
2385
+ );
2386
+ ProfileMenuInfo.displayName = "ProfileMenuInfo";
2343
2387
  var ProfileToggleTheme = ({
2344
2388
  store: externalStore,
2345
2389
  ...props