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
@@ -970,10 +970,13 @@ var ProfileMenuHeader = forwardRef2(({ className, name, email, photoUrl, store:
970
970
  {
971
971
  ref,
972
972
  "data-component": "ProfileMenuHeader",
973
- className: cn("flex flex-row gap-4 items-center", className),
973
+ className: cn(
974
+ "flex flex-row gap-4 items-center min-w-[280px]",
975
+ className
976
+ ),
974
977
  ...props,
975
978
  children: [
976
- /* @__PURE__ */ jsx6("span", { className: "w-16 h-16 bg-primary-100 rounded-full flex items-center justify-center overflow-hidden", children: photoUrl ? /* @__PURE__ */ jsx6(
979
+ /* @__PURE__ */ jsx6("span", { className: "w-16 h-16 bg-primary-100 rounded-full flex items-center justify-center overflow-hidden flex-shrink-0", children: photoUrl ? /* @__PURE__ */ jsx6(
977
980
  "img",
978
981
  {
979
982
  src: photoUrl,
@@ -981,15 +984,56 @@ var ProfileMenuHeader = forwardRef2(({ className, name, email, photoUrl, store:
981
984
  className: "w-full h-full object-cover"
982
985
  }
983
986
  ) : /* @__PURE__ */ jsx6(User, { size: 34, className: "text-primary-800" }) }),
984
- /* @__PURE__ */ jsxs4("div", { className: "flex flex-col ", children: [
985
- /* @__PURE__ */ jsx6(Text_default, { size: "xl", weight: "bold", color: "text-text-950", children: name }),
986
- /* @__PURE__ */ jsx6(Text_default, { size: "md", color: "text-text-600", children: email })
987
+ /* @__PURE__ */ jsxs4("div", { className: "flex flex-col min-w-0", children: [
988
+ /* @__PURE__ */ jsx6(
989
+ Text_default,
990
+ {
991
+ size: "xl",
992
+ weight: "bold",
993
+ color: "text-text-950",
994
+ className: "truncate",
995
+ children: name
996
+ }
997
+ ),
998
+ /* @__PURE__ */ jsx6(Text_default, { size: "md", color: "text-text-600", className: "truncate", children: email })
987
999
  ] })
988
1000
  ]
989
1001
  }
990
1002
  );
991
1003
  });
992
1004
  ProfileMenuHeader.displayName = "ProfileMenuHeader";
1005
+ var ProfileMenuInfo = forwardRef2(
1006
+ ({
1007
+ className,
1008
+ schoolName,
1009
+ classYearName,
1010
+ schoolYearName,
1011
+ store: _store,
1012
+ ...props
1013
+ }, ref) => {
1014
+ return /* @__PURE__ */ jsxs4(
1015
+ "div",
1016
+ {
1017
+ ref,
1018
+ "data-component": "ProfileMenuInfo",
1019
+ className: cn("flex flex-row gap-4 items-center", className),
1020
+ ...props,
1021
+ children: [
1022
+ /* @__PURE__ */ jsx6("span", { className: "w-16 h-16" }),
1023
+ /* @__PURE__ */ jsxs4("div", { className: "flex flex-col ", children: [
1024
+ /* @__PURE__ */ jsx6(Text_default, { size: "md", color: "text-text-600", children: schoolName }),
1025
+ /* @__PURE__ */ jsxs4("span", { className: "flex flex-row items-center gap-2", children: [
1026
+ /* @__PURE__ */ jsx6(Text_default, { size: "md", color: "text-text-600", children: classYearName }),
1027
+ /* @__PURE__ */ jsx6("p", { className: "text-text-600 text-xs align-middle", children: "\u25CF" }),
1028
+ /* @__PURE__ */ jsx6(Text_default, { size: "md", color: "text-text-600", children: schoolYearName })
1029
+ ] })
1030
+ ] })
1031
+ ]
1032
+ }
1033
+ );
1034
+ }
1035
+ );
1036
+ ProfileMenuInfo.displayName = "ProfileMenuInfo";
993
1037
  var ProfileToggleTheme = ({
994
1038
  store: externalStore,
995
1039
  ...props