@appcorp/fusion-storybook 0.3.43 → 0.3.45

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 (82) hide show
  1. package/base-modules/admission/context/use-admission-module.js +4 -1
  2. package/base-modules/admission/form.js +3 -1
  3. package/base-modules/admission/more-actions.js +2 -2
  4. package/base-modules/admission/view.js +1 -1
  5. package/base-modules/attendance/context.js +2 -1
  6. package/base-modules/attendance/form.js +3 -3
  7. package/base-modules/attendance/more-actions.js +1 -1
  8. package/base-modules/attendance/page.js +1 -1
  9. package/base-modules/attendance/view.js +2 -2
  10. package/base-modules/campus/context.js +2 -1
  11. package/base-modules/campus/more-actions.js +2 -1
  12. package/base-modules/class/cache.d.ts +3 -3
  13. package/base-modules/class/cache.js +1 -1
  14. package/base-modules/class/context.js +2 -1
  15. package/base-modules/class/more-actions.js +1 -1
  16. package/base-modules/course/context.js +2 -1
  17. package/base-modules/course/form.js +1 -1
  18. package/base-modules/course/more-actions.js +2 -1
  19. package/base-modules/course/view.js +1 -3
  20. package/base-modules/discount-code/cache.d.ts +3 -3
  21. package/base-modules/discount-code/cache.js +1 -1
  22. package/base-modules/discount-code/context.js +2 -1
  23. package/base-modules/enrollment/context.js +2 -1
  24. package/base-modules/enrollment/form.js +4 -3
  25. package/base-modules/enrollment/more-actions.js +1 -1
  26. package/base-modules/enrollment/page.js +2 -1
  27. package/base-modules/enrollment/view.js +3 -3
  28. package/base-modules/expense/context.js +2 -1
  29. package/base-modules/expense/more-actions.js +1 -1
  30. package/base-modules/expense/page.js +1 -1
  31. package/base-modules/expense/view.js +2 -4
  32. package/base-modules/family/context.js +2 -1
  33. package/base-modules/family/more-actions.js +1 -1
  34. package/base-modules/family-member/context.js +2 -1
  35. package/base-modules/family-member/more-actions.js +2 -2
  36. package/base-modules/family-member/view.js +1 -1
  37. package/base-modules/fee-structure/cache.d.ts +3 -3
  38. package/base-modules/fee-structure/cache.js +1 -1
  39. package/base-modules/fee-structure/context.js +2 -1
  40. package/base-modules/fee-structure/form.js +1 -1
  41. package/base-modules/fee-structure/more-actions.js +1 -1
  42. package/base-modules/rbac/context.js +2 -1
  43. package/base-modules/school/cache.js +1 -1
  44. package/base-modules/school/context.js +1 -1
  45. package/base-modules/section/cache.d.ts +3 -3
  46. package/base-modules/section/cache.js +1 -1
  47. package/base-modules/section/context.js +2 -1
  48. package/base-modules/section/more-actions.js +1 -1
  49. package/base-modules/student-fee/context/use-student-fee-module.js +4 -1
  50. package/base-modules/student-fee/form.js +2 -1
  51. package/base-modules/student-fee/more-actions.js +1 -1
  52. package/base-modules/student-fee/page.js +1 -1
  53. package/base-modules/student-fee/single-entry.js +1 -1
  54. package/base-modules/student-fee/view.js +4 -4
  55. package/base-modules/student-profile/cache.d.ts +3 -3
  56. package/base-modules/student-profile/cache.js +1 -1
  57. package/base-modules/student-profile/context/use-student-profile-module.js +4 -1
  58. package/base-modules/student-profile/form.js +1 -1
  59. package/base-modules/student-profile/more-actions.js +1 -1
  60. package/base-modules/student-profile/page.d.ts +1 -0
  61. package/base-modules/student-profile/page.js +37 -24
  62. package/base-modules/student-profile/view.js +1 -1
  63. package/base-modules/subject/cache.d.ts +3 -3
  64. package/base-modules/subject/cache.js +1 -1
  65. package/base-modules/subject/context.js +2 -1
  66. package/base-modules/subject/more-actions.js +1 -1
  67. package/base-modules/teacher/cache.d.ts +3 -3
  68. package/base-modules/teacher/cache.js +1 -1
  69. package/base-modules/teacher/context.js +2 -1
  70. package/base-modules/teacher/more-actions.js +1 -1
  71. package/base-modules/teacher/view.js +1 -1
  72. package/base-modules/user/cache.d.ts +3 -3
  73. package/base-modules/user/cache.js +1 -1
  74. package/base-modules/user/context/use-user-module.js +4 -1
  75. package/base-modules/user/more-actions.js +2 -1
  76. package/base-modules/workspace/cache.js +2 -1
  77. package/base-modules/workspace/context.js +1 -1
  78. package/base-modules/workspace/view.js +1 -1
  79. package/base-modules/workspace-user/context.js +5 -2
  80. package/base-modules/workspace-user/more-actions.js +2 -2
  81. package/package.json +2 -2
  82. package/tsconfig.build.tsbuildinfo +1 -1
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import { API_METHODS } from "@react-pakistan/util-functions";
3
+ import { API_METHODS } from "@react-pakistan/util-functions/constants/api-methods";
4
4
  import { getCachedWorkspaceSync } from "../workspace/cache";
5
5
  import converter from "json-2-csv";
6
6
  import { Timeline } from "../../components/timeline";
7
- import { downloadFromUrl } from "@react-pakistan/util-functions";
7
+ import { downloadFromUrl } from "@react-pakistan/util-functions/general/download-from-url";
8
8
  import { useTranslations } from "next-intl";
9
9
  export const WorkspaceUserMoreActions = () => {
10
10
  const t = useTranslations("workspaceUser");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appcorp/fusion-storybook",
3
- "version": "0.3.43",
3
+ "version": "0.3.45",
4
4
  "scripts": {
5
5
  "build-storybook": "storybook build",
6
6
  "build:next": "next build",
@@ -59,7 +59,7 @@
59
59
  "@radix-ui/react-slider": "^1.3.6",
60
60
  "@radix-ui/react-slot": "^1.2.4",
61
61
  "@radix-ui/react-toast": "^1.2.15",
62
- "@react-pakistan/util-functions": "^1.25.89",
62
+ "@react-pakistan/util-functions": "^2.0.2",
63
63
  "@storybook/addon-a11y": "^10.3.4",
64
64
  "@storybook/addon-docs": "^10.3.4",
65
65
  "@storybook/addon-onboarding": "^10.3.4",