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
@@ -1,26 +1,5 @@
1
1
  import { ComponentType } from 'react';
2
- import * as react_jsx_runtime from 'react/jsx-runtime';
3
-
4
- type Item = {
5
- id: string;
6
- name: string;
7
- [key: string]: unknown;
8
- };
9
- type CategoryConfig = {
10
- key: string;
11
- label: string;
12
- selectedIds?: string[];
13
- dependsOn?: string[];
14
- itens?: Item[];
15
- filteredBy?: {
16
- key: string;
17
- internalField: string;
18
- }[];
19
- };
20
- declare const CheckboxGroup: ({ categories, onCategoriesChange, }: {
21
- categories: CategoryConfig[];
22
- onCategoriesChange: (categories: CategoryConfig[]) => void;
23
- }) => react_jsx_runtime.JSX.Element;
2
+ import { C as CategoryConfig } from './CheckBoxGroup-9n5C0OH4.js';
24
3
 
25
4
  interface StepConfig {
26
5
  id: string;
@@ -85,4 +64,4 @@ interface AlertData {
85
64
  }>;
86
65
  }
87
66
 
88
- export { type AlertsConfig as A, type CategoryConfig as C, type Item as I, type AlertData as a, CheckboxGroup as b };
67
+ export type { AlertsConfig as A, AlertData as a };
@@ -1,26 +1,5 @@
1
1
  import { ComponentType } from 'react';
2
- import * as react_jsx_runtime from 'react/jsx-runtime';
3
-
4
- type Item = {
5
- id: string;
6
- name: string;
7
- [key: string]: unknown;
8
- };
9
- type CategoryConfig = {
10
- key: string;
11
- label: string;
12
- selectedIds?: string[];
13
- dependsOn?: string[];
14
- itens?: Item[];
15
- filteredBy?: {
16
- key: string;
17
- internalField: string;
18
- }[];
19
- };
20
- declare const CheckboxGroup: ({ categories, onCategoriesChange, }: {
21
- categories: CategoryConfig[];
22
- onCategoriesChange: (categories: CategoryConfig[]) => void;
23
- }) => react_jsx_runtime.JSX.Element;
2
+ import { C as CategoryConfig } from './CheckBoxGroup-9n5C0OH4.mjs';
24
3
 
25
4
  interface StepConfig {
26
5
  id: string;
@@ -85,4 +64,4 @@ interface AlertData {
85
64
  }>;
86
65
  }
87
66
 
88
- export { type AlertsConfig as A, type CategoryConfig as C, type Item as I, type AlertData as a, CheckboxGroup as b };
67
+ export type { AlertsConfig as A, AlertData as a };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "analytica-frontend-lib",
3
- "version": "1.2.18",
3
+ "version": "1.2.21",
4
4
  "description": "Repositório público dos componentes utilizados nas plataformas da Analytica Ensino",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "./dist/index.js",
@@ -61,6 +61,7 @@
61
61
  "./stepper": "./dist/Stepper/index.js",
62
62
  "./subject-info": "./dist/SubjectInfo/index.js",
63
63
  "./table": "./dist/Table/index.js",
64
+ "./table-provider": "./dist/TableProvider/index.js",
64
65
  "./text": "./dist/Text/index.js",
65
66
  "./text-area": "./dist/TextArea/index.js",
66
67
  "./theme-toggle": "./dist/ThemeToggle/index.js",