analytica-frontend-lib 1.1.96 → 1.1.97

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 (41) hide show
  1. package/dist/Accordation/index.d.mts +4 -1
  2. package/dist/Accordation/index.d.ts +4 -1
  3. package/dist/Accordation/index.js +37 -8
  4. package/dist/Accordation/index.js.map +1 -1
  5. package/dist/Accordation/index.mjs +39 -9
  6. package/dist/Accordation/index.mjs.map +1 -1
  7. package/dist/CheckBox/index.d.mts +1 -1
  8. package/dist/CheckBox/index.d.ts +1 -1
  9. package/dist/Input/index.js +8 -2
  10. package/dist/Input/index.js.map +1 -1
  11. package/dist/Input/index.mjs +8 -2
  12. package/dist/Input/index.mjs.map +1 -1
  13. package/dist/Quiz/index.js +8 -2
  14. package/dist/Quiz/index.js.map +1 -1
  15. package/dist/Quiz/index.mjs +8 -2
  16. package/dist/Quiz/index.mjs.map +1 -1
  17. package/dist/Radio/index.d.mts +2 -2
  18. package/dist/Radio/index.d.ts +2 -2
  19. package/dist/Search/index.d.mts +1 -1
  20. package/dist/Search/index.d.ts +1 -1
  21. package/dist/Table/index.d.mts +17 -4
  22. package/dist/Table/index.d.ts +17 -4
  23. package/dist/Table/index.js +65 -38
  24. package/dist/Table/index.js.map +1 -1
  25. package/dist/Table/index.mjs +65 -38
  26. package/dist/Table/index.mjs.map +1 -1
  27. package/dist/TextArea/index.js +8 -2
  28. package/dist/TextArea/index.js.map +1 -1
  29. package/dist/TextArea/index.mjs +8 -2
  30. package/dist/TextArea/index.mjs.map +1 -1
  31. package/dist/index.css +39 -0
  32. package/dist/index.css.map +1 -1
  33. package/dist/index.d.mts +13 -3
  34. package/dist/index.d.ts +13 -3
  35. package/dist/index.js +1173 -941
  36. package/dist/index.js.map +1 -1
  37. package/dist/index.mjs +997 -764
  38. package/dist/index.mjs.map +1 -1
  39. package/dist/styles.css +39 -0
  40. package/dist/styles.css.map +1 -1
  41. package/package.json +1 -1
package/dist/index.d.mts CHANGED
@@ -6,7 +6,6 @@ export { default as IconButton } from './IconButton/index.mjs';
6
6
  export { default as IconRoundedButton } from './IconRoundedButton/index.mjs';
7
7
  export { default as NavButton } from './NavButton/index.mjs';
8
8
  export { default as SelectionButton } from './SelectionButton/index.mjs';
9
- export { default as Table } from './Table/index.mjs';
10
9
  export { default as CheckBox } from './CheckBox/index.mjs';
11
10
  import * as react from 'react';
12
11
  import { ReactNode, HTMLAttributes, InputHTMLAttributes } from 'react';
@@ -34,6 +33,7 @@ export { ThemeToggle } from './ThemeToggle/index.mjs';
34
33
  export { d as SubjectData, e as SubjectEnum, I as SubjectIconProps, S as SubjectInfo, b as getSubjectColorClass, a as getSubjectIcon, g as getSubjectInfo, c as getSubjectName } from './SubjectInfo-Dvt0OodP.mjs';
35
34
  export { c as ThemeActions, T as ThemeMode, b as ThemeState, a as ThemeStore, u as useThemeStore } from './themeStore-P2X64zC-.mjs';
36
35
  export { default as DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuTrigger, MenuLabel, ProfileMenuFooter, ProfileMenuHeader, ProfileMenuSection, ProfileMenuTrigger, ProfileToggleTheme } from './DropdownMenu/index.mjs';
36
+ export { default as Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow } from './Table/index.mjs';
37
37
  export { default as Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from './Select/index.mjs';
38
38
  export { default as Menu, MenuContent, MenuItem, MenuOverflow } from './Menu/index.mjs';
39
39
  export { CardActivitiesResults, CardAudio, CardPerformance, CardProgress, CardQuestions, CardResults, CardSimulado, CardSimulationHistory, CardStatus, CardTest, CardTopic } from './Card/index.mjs';
@@ -150,7 +150,7 @@ declare const CheckboxListItem: react.ForwardRefExoticComponent<{
150
150
  state?: CheckboxListState;
151
151
  /** Additional CSS classes */
152
152
  className?: string;
153
- } & Omit<InputHTMLAttributes<HTMLInputElement>, "onChange" | "name" | "type" | "size" | "value" | "checked"> & react.RefAttributes<HTMLInputElement>>;
153
+ } & Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "value" | "checked" | "type" | "name" | "onChange"> & react.RefAttributes<HTMLInputElement>>;
154
154
 
155
155
  /**
156
156
  * Notification store state interface
@@ -400,6 +400,16 @@ declare const createNotificationsHook: (apiClient: NotificationApiClient) => ()
400
400
  }[];
401
401
  };
402
402
 
403
+ interface AccordionGroupProps extends HTMLAttributes<HTMLDivElement> {
404
+ type?: 'single' | 'multiple';
405
+ defaultValue?: string | string[];
406
+ value?: string | string[];
407
+ onValueChange?: (value: string | string[]) => void;
408
+ collapsible?: boolean;
409
+ children: ReactNode;
410
+ }
411
+ declare const AccordionGroup: react.ForwardRefExoticComponent<AccordionGroupProps & react.RefAttributes<HTMLDivElement>>;
412
+
403
413
  declare const getStatusBadge: (status?: "correct" | "incorrect") => react_jsx_runtime.JSX.Element | null;
404
414
  interface QuizVariantInterface {
405
415
  paddingBottom?: string;
@@ -614,4 +624,4 @@ declare const useAppStore: zustand.UseBoundStore<Omit<zustand.StoreApi<AppState>
614
624
  };
615
625
  }>;
616
626
 
617
- export { type AuthState, CheckboxList, CheckboxListItem, FetchNotificationsParams, Notification, type NotificationActions, NotificationApiClient, NotificationEntityType, NotificationGroup, type NotificationState, type NotificationStore, NotificationType, Question, QuizAlternative, QuizConnectDots, QuizDissertative, QuizHeaderResult, QuizImageQuestion, QuizListResult, QuizListResultByMateria, QuizMultipleChoice, QuizResultHeaderTitle, QuizResultPerformance, QuizResultTitle, QuizTrueOrFalse, createNotificationStore, createNotificationsHook, createUseNotificationStore, createUseNotifications, formatTimeAgo, getStatusBadge, useAppContent, useAppInitialization, useAppStore, useAuthStore, useInstitutionId };
627
+ export { AccordionGroup, type AuthState, CheckboxList, CheckboxListItem, FetchNotificationsParams, Notification, type NotificationActions, NotificationApiClient, NotificationEntityType, NotificationGroup, type NotificationState, type NotificationStore, NotificationType, Question, QuizAlternative, QuizConnectDots, QuizDissertative, QuizHeaderResult, QuizImageQuestion, QuizListResult, QuizListResultByMateria, QuizMultipleChoice, QuizResultHeaderTitle, QuizResultPerformance, QuizResultTitle, QuizTrueOrFalse, createNotificationStore, createNotificationsHook, createUseNotificationStore, createUseNotifications, formatTimeAgo, getStatusBadge, useAppContent, useAppInitialization, useAppStore, useAuthStore, useInstitutionId };
package/dist/index.d.ts CHANGED
@@ -6,7 +6,6 @@ export { default as IconButton } from './IconButton/index.js';
6
6
  export { default as IconRoundedButton } from './IconRoundedButton/index.js';
7
7
  export { default as NavButton } from './NavButton/index.js';
8
8
  export { default as SelectionButton } from './SelectionButton/index.js';
9
- export { default as Table } from './Table/index.js';
10
9
  export { default as CheckBox } from './CheckBox/index.js';
11
10
  import * as react from 'react';
12
11
  import { ReactNode, HTMLAttributes, InputHTMLAttributes } from 'react';
@@ -34,6 +33,7 @@ export { ThemeToggle } from './ThemeToggle/index.js';
34
33
  export { d as SubjectData, e as SubjectEnum, I as SubjectIconProps, S as SubjectInfo, b as getSubjectColorClass, a as getSubjectIcon, g as getSubjectInfo, c as getSubjectName } from './SubjectInfo-Dvt0OodP.js';
35
34
  export { c as ThemeActions, T as ThemeMode, b as ThemeState, a as ThemeStore, u as useThemeStore } from './themeStore-P2X64zC-.js';
36
35
  export { default as DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuTrigger, MenuLabel, ProfileMenuFooter, ProfileMenuHeader, ProfileMenuSection, ProfileMenuTrigger, ProfileToggleTheme } from './DropdownMenu/index.js';
36
+ export { default as Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow } from './Table/index.js';
37
37
  export { default as Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from './Select/index.js';
38
38
  export { default as Menu, MenuContent, MenuItem, MenuOverflow } from './Menu/index.js';
39
39
  export { CardActivitiesResults, CardAudio, CardPerformance, CardProgress, CardQuestions, CardResults, CardSimulado, CardSimulationHistory, CardStatus, CardTest, CardTopic } from './Card/index.js';
@@ -150,7 +150,7 @@ declare const CheckboxListItem: react.ForwardRefExoticComponent<{
150
150
  state?: CheckboxListState;
151
151
  /** Additional CSS classes */
152
152
  className?: string;
153
- } & Omit<InputHTMLAttributes<HTMLInputElement>, "onChange" | "name" | "type" | "size" | "value" | "checked"> & react.RefAttributes<HTMLInputElement>>;
153
+ } & Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "value" | "checked" | "type" | "name" | "onChange"> & react.RefAttributes<HTMLInputElement>>;
154
154
 
155
155
  /**
156
156
  * Notification store state interface
@@ -400,6 +400,16 @@ declare const createNotificationsHook: (apiClient: NotificationApiClient) => ()
400
400
  }[];
401
401
  };
402
402
 
403
+ interface AccordionGroupProps extends HTMLAttributes<HTMLDivElement> {
404
+ type?: 'single' | 'multiple';
405
+ defaultValue?: string | string[];
406
+ value?: string | string[];
407
+ onValueChange?: (value: string | string[]) => void;
408
+ collapsible?: boolean;
409
+ children: ReactNode;
410
+ }
411
+ declare const AccordionGroup: react.ForwardRefExoticComponent<AccordionGroupProps & react.RefAttributes<HTMLDivElement>>;
412
+
403
413
  declare const getStatusBadge: (status?: "correct" | "incorrect") => react_jsx_runtime.JSX.Element | null;
404
414
  interface QuizVariantInterface {
405
415
  paddingBottom?: string;
@@ -614,4 +624,4 @@ declare const useAppStore: zustand.UseBoundStore<Omit<zustand.StoreApi<AppState>
614
624
  };
615
625
  }>;
616
626
 
617
- export { type AuthState, CheckboxList, CheckboxListItem, FetchNotificationsParams, Notification, type NotificationActions, NotificationApiClient, NotificationEntityType, NotificationGroup, type NotificationState, type NotificationStore, NotificationType, Question, QuizAlternative, QuizConnectDots, QuizDissertative, QuizHeaderResult, QuizImageQuestion, QuizListResult, QuizListResultByMateria, QuizMultipleChoice, QuizResultHeaderTitle, QuizResultPerformance, QuizResultTitle, QuizTrueOrFalse, createNotificationStore, createNotificationsHook, createUseNotificationStore, createUseNotifications, formatTimeAgo, getStatusBadge, useAppContent, useAppInitialization, useAppStore, useAuthStore, useInstitutionId };
627
+ export { AccordionGroup, type AuthState, CheckboxList, CheckboxListItem, FetchNotificationsParams, Notification, type NotificationActions, NotificationApiClient, NotificationEntityType, NotificationGroup, type NotificationState, type NotificationStore, NotificationType, Question, QuizAlternative, QuizConnectDots, QuizDissertative, QuizHeaderResult, QuizImageQuestion, QuizListResult, QuizListResultByMateria, QuizMultipleChoice, QuizResultHeaderTitle, QuizResultPerformance, QuizResultTitle, QuizTrueOrFalse, createNotificationStore, createNotificationsHook, createUseNotificationStore, createUseNotifications, formatTimeAgo, getStatusBadge, useAppContent, useAppInitialization, useAppStore, useAuthStore, useInstitutionId };