forlogic-core 2.1.4 → 2.2.0

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 (248) hide show
  1. package/.note/memory/features/import/attachment-idempotency-registry.md +8 -8
  2. package/.note/memory/features/import/attachment-strategy.md +30 -30
  3. package/.note/memory/patterns/admin-i18n-policy.md +20 -20
  4. package/.note/memory/patterns/alias-url-resolution.md +69 -69
  5. package/.note/memory/patterns/doc-sync-rule.md +35 -35
  6. package/.note/memory/patterns/documentation-standard.md +17 -17
  7. package/.note/memory/patterns/dynamic-supabase-config.md +4 -4
  8. package/.note/memory/patterns/environment-detection-logic.md +35 -35
  9. package/.note/memory/patterns/i18n-architecture.md +3 -3
  10. package/README.md +120 -68
  11. package/dist/action-plans/components/ActionPlanAttachmentsTab.d.ts +3 -0
  12. package/dist/action-plans/components/ActionPlanCommentsTab.d.ts +3 -0
  13. package/dist/action-plans/components/ActionPlanCostTab.d.ts +5 -0
  14. package/dist/action-plans/components/ActionPlanGeneralTab.d.ts +3 -0
  15. package/dist/action-plans/components/ActionPlanHistoryTab.d.ts +3 -0
  16. package/dist/action-plans/components/ActionPlanPredecessorsTab.d.ts +5 -0
  17. package/dist/action-plans/components/ActionPlanProgressDialog.d.ts +3 -0
  18. package/dist/action-plans/components/ActionPlanProgressTab.d.ts +5 -0
  19. package/dist/action-plans/components/ActionPlanStatusBadge.d.ts +9 -2
  20. package/dist/action-plans/constants.d.ts +24 -0
  21. package/dist/action-plans/hooks/useActionPlan.d.ts +5 -0
  22. package/dist/action-plans/hooks/useActionPlanProgress.d.ts +5 -0
  23. package/dist/action-plans/types.d.ts +60 -0
  24. package/dist/action-plans/utils/formatTime.d.ts +9 -0
  25. package/dist/audit-trail/components/AuditTrailDetails.d.ts +10 -0
  26. package/dist/audit-trail/components/AuditTrailFilter.d.ts +10 -0
  27. package/dist/audit-trail/components/AuditTrailPage.d.ts +10 -0
  28. package/dist/audit-trail/types.d.ts +58 -0
  29. package/dist/audit-trail/utils.d.ts +18 -2
  30. package/dist/auth/components/EditProfileDialog.d.ts +1 -0
  31. package/dist/auth/components/ProtectedRoute.d.ts +5 -0
  32. package/dist/auth/contexts/AuthContext.d.ts +5 -0
  33. package/dist/auth/pages/CallbackPage.d.ts +5 -0
  34. package/dist/auth/services/AuthService.d.ts +5 -0
  35. package/dist/auth/services/TokenManager.d.ts +5 -0
  36. package/dist/auth/services/TokenService.d.ts +10 -0
  37. package/dist/auth/utils/ErrorInterceptor.d.ts +5 -0
  38. package/dist/components/dashboards/dashboard-form.d.ts +15 -0
  39. package/dist/components/dashboards/dashboard-general-view.d.ts +15 -0
  40. package/dist/components/dashboards/dashboard-grid.d.ts +25 -0
  41. package/dist/components/dashboards/dashboard-list.d.ts +10 -0
  42. package/dist/components/dashboards/dashboard-panel-renderer.d.ts +10 -0
  43. package/dist/components/dashboards/dashboard-view.d.ts +10 -0
  44. package/dist/components/dashboards/helpers.d.ts +44 -5
  45. package/dist/components/dashboards/panels/burndown-panel.d.ts +15 -0
  46. package/dist/components/dashboards/panels/cartesian-panel.d.ts +20 -0
  47. package/dist/components/dashboards/panels/list-panel.d.ts +15 -0
  48. package/dist/components/dashboards/panels/matrix-risk-panel.d.ts +25 -0
  49. package/dist/components/dashboards/panels/numeric-panel.d.ts +10 -0
  50. package/dist/components/dashboards/panels/panel-error.d.ts +10 -0
  51. package/dist/components/dashboards/panels/panel-header.d.ts +10 -0
  52. package/dist/components/dashboards/panels/panel-loader.d.ts +10 -0
  53. package/dist/components/dashboards/panels/panel-no-data.d.ts +10 -0
  54. package/dist/components/dashboards/panels/panel-unavailable.d.ts +10 -0
  55. package/dist/components/dashboards/panels/pareto-panel.d.ts +10 -0
  56. package/dist/components/dashboards/panels/performance-panel.d.ts +15 -0
  57. package/dist/components/dashboards/panels/pie-panel.d.ts +10 -0
  58. package/dist/components/dashboards/panels/text-panel.d.ts +10 -0
  59. package/dist/components/dashboards/types.d.ts +230 -0
  60. package/dist/components/modules/AccessDeniedDialog.d.ts +3 -1
  61. package/dist/components/modules/ModuleAccessGuard.d.ts +3 -1
  62. package/dist/components/modules/ModulesContent.d.ts +3 -1
  63. package/dist/components/modules/ModulesDialog.d.ts +1 -1
  64. package/dist/components/modules/ModulesFooterCards.d.ts +3 -1
  65. package/dist/components/modules/types.d.ts +2 -0
  66. package/dist/components/ui/accordion.d.ts +35 -0
  67. package/dist/components/ui/action-button.d.ts +5 -0
  68. package/dist/components/ui/alert-dialog.d.ts +82 -0
  69. package/dist/components/ui/alert.d.ts +32 -0
  70. package/dist/components/ui/avatar.d.ts +30 -0
  71. package/dist/components/ui/badge.d.ts +32 -0
  72. package/dist/components/ui/breadcrumb.d.ts +54 -0
  73. package/dist/components/ui/button-group.d.ts +15 -0
  74. package/dist/components/ui/button.d.ts +55 -0
  75. package/dist/components/ui/calendar.d.ts +16 -0
  76. package/dist/components/ui/card.d.ts +49 -0
  77. package/dist/components/ui/chart.d.ts +35 -0
  78. package/dist/components/ui/checkbox.d.ts +11 -0
  79. package/dist/components/ui/collapsible.d.ts +15 -0
  80. package/dist/components/ui/color-picker.d.ts +5 -0
  81. package/dist/components/ui/combo-tree.d.ts +23 -0
  82. package/dist/components/ui/combobox.d.ts +28 -0
  83. package/dist/components/ui/command.d.ts +66 -0
  84. package/dist/components/ui/context-menu.d.ts +95 -0
  85. package/dist/components/ui/date-picker.d.ts +10 -0
  86. package/dist/components/ui/dialog-wizard.d.ts +22 -4
  87. package/dist/components/ui/dialog.d.ts +181 -0
  88. package/dist/components/ui/drawer.d.ts +72 -0
  89. package/dist/components/ui/dropdown-menu.d.ts +153 -0
  90. package/dist/components/ui/electronic-signature-dialog.d.ts +10 -0
  91. package/dist/components/ui/export-dialog.d.ts +20 -0
  92. package/dist/components/ui/form.d.ts +96 -0
  93. package/dist/components/ui/hover-card.d.ts +15 -0
  94. package/dist/components/ui/icon-picker.d.ts +5 -0
  95. package/dist/components/ui/iframe-dialog.d.ts +10 -0
  96. package/dist/components/ui/input-group.d.ts +16 -0
  97. package/dist/components/ui/input.d.ts +5 -0
  98. package/dist/components/ui/menubar.d.ts +80 -0
  99. package/dist/components/ui/multiselect-permissions.d.ts +25 -0
  100. package/dist/components/ui/navigation-menu.d.ts +45 -0
  101. package/dist/components/ui/onboarding-dialog.d.ts +15 -0
  102. package/dist/components/ui/online-editor-dialog.d.ts +10 -0
  103. package/dist/components/ui/pagination.d.ts +53 -0
  104. package/dist/components/ui/popover.d.ts +8 -0
  105. package/dist/components/ui/radio-group.d.ts +3 -0
  106. package/dist/components/ui/report-request-list.d.ts +20 -0
  107. package/dist/components/ui/resizable.d.ts +15 -0
  108. package/dist/components/ui/rich-text-editor.d.ts +13 -0
  109. package/dist/components/ui/scroll-area.d.ts +3 -0
  110. package/dist/components/ui/select.d.ts +71 -0
  111. package/dist/components/ui/separator.d.ts +13 -0
  112. package/dist/components/ui/sheet.d.ts +76 -0
  113. package/dist/components/ui/sidebar.d.ts +203 -0
  114. package/dist/components/ui/skeleton-variants.d.ts +25 -0
  115. package/dist/components/ui/skeleton.d.ts +12 -0
  116. package/dist/components/ui/slider.d.ts +5 -0
  117. package/dist/components/ui/sonner.d.ts +5 -0
  118. package/dist/components/ui/spinner.d.ts +5 -0
  119. package/dist/components/ui/split-button.d.ts +6 -0
  120. package/dist/components/ui/stack.d.ts +5 -0
  121. package/dist/components/ui/status-badge.d.ts +52 -0
  122. package/dist/components/ui/step-selector.d.ts +5 -0
  123. package/dist/components/ui/stimulsoft-viewer.d.ts +8 -0
  124. package/dist/components/ui/switch.d.ts +21 -0
  125. package/dist/components/ui/tab-page-layout.d.ts +33 -0
  126. package/dist/components/ui/table-resize-handle.d.ts +10 -3
  127. package/dist/components/ui/table.d.ts +102 -0
  128. package/dist/components/ui/tabs.d.ts +59 -0
  129. package/dist/components/ui/terms-of-use-dialog.d.ts +50 -4
  130. package/dist/components/ui/textarea.d.ts +27 -0
  131. package/dist/components/ui/timepicker.d.ts +23 -0
  132. package/dist/components/ui/toggle-group.d.ts +25 -0
  133. package/dist/components/ui/toggle.d.ts +21 -0
  134. package/dist/components/ui/tooltip.d.ts +48 -0
  135. package/dist/components/ui/truncated-cell.d.ts +13 -0
  136. package/dist/components/ui/typography.d.ts +119 -0
  137. package/dist/components/ui/updates-notification.d.ts +33 -0
  138. package/dist/components/ui/users-groups-selector.d.ts +43 -0
  139. package/dist/components/ui/viewer-dialog.d.ts +107 -0
  140. package/dist/crud/components/ActionMenuItems.d.ts +5 -0
  141. package/dist/crud/components/BaseForm.d.ts +46 -0
  142. package/dist/crud/components/ColumnSettingsPopover.d.ts +10 -0
  143. package/dist/crud/components/CrudActionBar.d.ts +20 -0
  144. package/dist/crud/components/CrudGrid.d.ts +10 -0
  145. package/dist/crud/components/CrudPagination.d.ts +5 -0
  146. package/dist/crud/components/CrudTable.d.ts +5 -0
  147. package/dist/crud/components/TableRowActions.d.ts +5 -0
  148. package/dist/crud/createCrudPage.d.ts +41 -8
  149. package/dist/crud/generateCrudConfig.d.ts +13 -8
  150. package/dist/crud/hooks/useBaseForm.d.ts +39 -0
  151. package/dist/crud/hooks/useColumnManager.d.ts +25 -0
  152. package/dist/crud/hooks/useCrud.d.ts +35 -0
  153. package/dist/crud/primitives/ActionMenu.d.ts +41 -0
  154. package/dist/crud/primitives/FilterBar.d.ts +45 -0
  155. package/dist/crud/primitives/Pagination.d.ts +5 -0
  156. package/dist/crud/primitives/Table.d.ts +6 -1
  157. package/dist/crud/primitives/TreeTable.d.ts +5 -0
  158. package/dist/crud/primitives/types.d.ts +63 -0
  159. package/dist/crud/utils/routingHelpers.d.ts +11 -0
  160. package/dist/custom-form-fields/components/CustomFormFields.d.ts +3 -0
  161. package/dist/custom-form-fields/fields/FormDateField.d.ts +3 -0
  162. package/dist/custom-form-fields/fields/FormMultiSelectionField.d.ts +3 -0
  163. package/dist/custom-form-fields/fields/FormNumericField.d.ts +3 -0
  164. package/dist/custom-form-fields/fields/FormQuestionsField.d.ts +3 -0
  165. package/dist/custom-form-fields/fields/FormSingleSelectionField.d.ts +3 -0
  166. package/dist/custom-form-fields/fields/FormTextField.d.ts +3 -0
  167. package/dist/custom-form-fields/fields/FormTimeField.d.ts +3 -0
  168. package/dist/custom-form-fields/fields/FormUrlField.d.ts +3 -0
  169. package/dist/custom-form-fields/fields/ReadOnlyTextField.d.ts +3 -0
  170. package/dist/custom-form-fields/types.d.ts +84 -21
  171. package/dist/exports/crud.d.ts +5 -0
  172. package/dist/exports/integrations.d.ts +1 -0
  173. package/dist/exports/ui.d.ts +1 -0
  174. package/dist/file-upload/components/SingleFileUpload.d.ts +59 -0
  175. package/dist/file-upload/types.d.ts +15 -0
  176. package/dist/file-upload/utils/formatBytes.d.ts +5 -0
  177. package/dist/file-upload/utils/getFileExtension.d.ts +5 -0
  178. package/dist/hooks/useColumnResize.d.ts +24 -0
  179. package/dist/hooks/useRowResize.d.ts +18 -0
  180. package/dist/hooks/useSidebarResize.d.ts +18 -0
  181. package/dist/hooks/useUpdatesNotification.d.ts +16 -0
  182. package/dist/index.css +1 -1
  183. package/dist/index.css.map +1 -1
  184. package/dist/index.esm.js +1 -1
  185. package/dist/index.js +1 -1
  186. package/dist/integrations/clarity/clarityTracking.d.ts +31 -0
  187. package/dist/integrations/clarity/index.d.ts +3 -0
  188. package/dist/integrations/clarity/types.d.ts +46 -0
  189. package/dist/integrations/clarity/useClarity.d.ts +34 -0
  190. package/dist/integrations/index.d.ts +5 -0
  191. package/dist/providers/CoreProviders.d.ts +16 -1
  192. package/dist/qualiex/components/QualiexUserField.d.ts +8 -0
  193. package/dist/qualiex/hooks/useQualiexUsers.d.ts +16 -26
  194. package/dist/qualiex/services/qualiexApi.d.ts +38 -2
  195. package/dist/qualiex/utils/QualiexErrorInterceptor.d.ts +5 -0
  196. package/dist/supabase/SupabaseSingleton.d.ts +34 -0
  197. package/dist/types.d.ts +51 -2
  198. package/dist/utils/color.d.ts +26 -0
  199. package/dist/utils/index.d.ts +1 -0
  200. package/dist/vite/index.esm.js +4 -1
  201. package/dist/vite/index.js +4 -1
  202. package/docs/PUBLISH.md +168 -0
  203. package/docs/STORAGE_BUCKETS.md +384 -0
  204. package/docs/WORKSPACE_KNOWLEDGE.md +120 -119
  205. package/docs/design-system/README.md +1 -1
  206. package/docs/design-system/buttons-actions.md +130 -130
  207. package/docs/design-system/charts-dashboards.md +340 -301
  208. package/docs/design-system/crud.md +174 -114
  209. package/docs/design-system/data-display.md +108 -103
  210. package/docs/design-system/dialogs.md +212 -212
  211. package/docs/design-system/domain.md +317 -317
  212. package/docs/design-system/examples.md +275 -275
  213. package/docs/design-system/foundation.md +1 -1
  214. package/docs/design-system/inputs.md +131 -131
  215. package/docs/design-system/layout.md +202 -154
  216. package/docs/design-system/navigation.md +271 -325
  217. package/docs/design-system/notifications-feedback.md +34 -34
  218. package/docs/design-system/patterns/README.md +53 -53
  219. package/docs/design-system/patterns/action-button.md +22 -22
  220. package/docs/design-system/patterns/alertdialog-deletion.md +46 -46
  221. package/docs/design-system/patterns/baseform-custom-fields.md +59 -59
  222. package/docs/design-system/patterns/baseform-usage.md +42 -42
  223. package/docs/design-system/patterns/body-content-scroll.md +56 -56
  224. package/docs/design-system/patterns/combo-tree.md +23 -23
  225. package/docs/design-system/patterns/components-registry.md +17 -17
  226. package/docs/design-system/patterns/core-providers.md +41 -39
  227. package/docs/design-system/patterns/crud-bulk-actions.md +12 -12
  228. package/docs/design-system/patterns/crud-config-props.md +16 -16
  229. package/docs/design-system/patterns/crud-defaults.md +17 -17
  230. package/docs/design-system/patterns/crud-toolbar.md +28 -28
  231. package/docs/design-system/patterns/delete-confirmation.md +40 -40
  232. package/docs/design-system/patterns/dialog-body-scroll.md +26 -26
  233. package/docs/design-system/patterns/dialog-structure.md +32 -32
  234. package/docs/design-system/patterns/dialog-variants.md +41 -41
  235. package/docs/design-system/patterns/feature-flags.md +24 -20
  236. package/docs/design-system/patterns/header-metadata.md +57 -57
  237. package/docs/design-system/patterns/i18n-setup.md +117 -117
  238. package/docs/design-system/patterns/pagination.md +27 -27
  239. package/docs/design-system/patterns/single-scroll.md +39 -39
  240. package/docs/design-system/patterns/vite-tailwind-setup.md +48 -48
  241. package/docs/design-system/platform.md +18 -18
  242. package/docs/design-system/selectors.md +240 -236
  243. package/docs/design-system/tables-grids.md +95 -38
  244. package/package.json +150 -144
  245. package/dist/README.md +0 -1079
  246. package/dist/bin/bootstrap.js +0 -40
  247. package/dist/bin/pull-docs.js +0 -186
  248. package/dist/docs/KNOWLEDGE.md +0 -109
@@ -5,11 +5,68 @@
5
5
 
6
6
  Categoria: **Data Grid** | 3 componentes
7
7
 
8
- ### CrudTable
8
+ ### Table
9
9
 
10
- Componente de tabela CRUD completo com ordenação, seleção, resize de colunas, ações em massa e paginação integrada com useCrud.
10
+ Uma tabela semântica para exibir dados tabulares. Inclui TableResizeHandle para redimensionamento de colunas e TruncatedCell para texto truncado com tooltip automático.
11
11
 
12
- > Fonte: `src\design-system\docs\components\crud\CrudTableDoc.tsx`
12
+ **Uso:**
13
+ ```tsx
14
+ import {
15
+ Table,
16
+ TableBody,
17
+ TableCaption,
18
+ TableCell,
19
+ TableHead,
20
+ TableHeader,
21
+ TableRow,
22
+ TableResizeHandle,
23
+ TruncatedCell,
24
+ } from "forlogic-core"
25
+
26
+ <Table>
27
+ <TableCaption>Lista de usuários</TableCaption>
28
+ <TableHeader>
29
+ <TableRow>
30
+ <TableHead>Nome</TableHead>
31
+ <TableHead>Email</TableHead>
32
+ <TableHead>Status</TableHead>
33
+ </TableRow>
34
+ </TableHeader>
35
+ <TableBody>
36
+ <TableRow>
37
+ <TableCell>João Silva</TableCell>
38
+ <TableCell>joao@example.com</TableCell>
39
+ <TableCell>Ativo</TableCell>
40
+ </TableRow>
41
+ </TableBody>
42
+ </Table>
43
+ ```
44
+
45
+ **Props:**
46
+ | Prop | Tipo | Padrão | Descrição |
47
+ |------|------|--------|-----------|
48
+ | `className` | `string` | - | Classes CSS adicionais para a tabela. |
49
+ | `TableResizeHandle.onMouseDown` | `(e: MouseEvent) => void` | - | Handler para iniciar o redimensionamento. |
50
+ | `TableResizeHandle.isDragging` | `boolean` | false | Se o handle está sendo arrastado (altera visual). |
51
+ | `TruncatedCell.children` | `ReactNode` | - | Conteúdo a ser truncado. |
52
+ | `TruncatedCell.className` | `string` | - | Classes CSS adicionais. |
53
+
54
+ **Acessibilidade:**
55
+ - Usa elementos HTML semânticos de tabela
56
+ - Suporta navegação por teclado
57
+ - TableCaption fornece contexto para leitores de tela
58
+ - TableHeader define cabeçalhos de coluna apropriados
59
+ - TruncatedCell mostra tooltip acessível com conteúdo completo
60
+ - TableResizeHandle suporta interação via teclado
61
+ - Funciona com leitores de tela
62
+
63
+ **Notas:**
64
+ - TableResizeHandle deve ser posicionado dentro de um TableHead com position: relative.
65
+ - TruncatedCell detecta automaticamente se o texto está truncado e exibe tooltip apenas quando necessário.
66
+ - Use larguras fixas (w-[Xpx]) nos TableHead para melhor controle do layout.
67
+ - TruncatedCell usa CSS text-overflow: ellipsis internamente.
68
+
69
+ > Fonte: `src/design-system/docs/components/TableDoc.tsx`
13
70
 
14
71
  ---
15
72
 
@@ -19,18 +76,18 @@ Componente utilitário que trunca texto longo e exibe tooltip automático quando
19
76
 
20
77
  **Uso:**
21
78
  ```tsx
22
- import { TruncatedCell } from 'forlogic-core';
23
- // 💡 Alias disponível: import { EllipsisText } from 'forlogic-core';
24
-
25
- <td className="max-w-[200px]">
26
- <TruncatedCell>
27
- Texto que pode ser muito longo...
28
- </TruncatedCell>
29
- </td>
30
-
31
- // Com className customizada
32
- <TruncatedCell className="text-muted-foreground">
33
- {item.description}
79
+ import { TruncatedCell } from 'forlogic-core';
80
+ // 💡 Alias disponível: import { EllipsisText } from 'forlogic-core';
81
+
82
+ <td className="max-w-[200px]">
83
+ <TruncatedCell>
84
+ Texto que pode ser muito longo...
85
+ </TruncatedCell>
86
+ </td>
87
+
88
+ // Com className customizada
89
+ <TruncatedCell className="text-muted-foreground">
90
+ {item.description}
34
91
  </TruncatedCell>
35
92
  ```
36
93
 
@@ -47,14 +104,14 @@ import { TruncatedCell } from 'forlogic-core';
47
104
  **Notas:**
48
105
  - 💡 Alias: Também disponível como
49
106
  - — import { EllipsisText } from
50
- - ,
107
+ - ,
51
108
 
52
- - ,
109
+ - ,
53
110
 
54
- - ,
111
+ - ,
55
112
 
56
113
 
57
- > Fonte: `src\design-system\docs\components\TruncatedCellDoc.tsx`
114
+ > Fonte: `src/design-system/docs/components/TruncatedCellDoc.tsx`
58
115
 
59
116
  ---
60
117
 
@@ -64,20 +121,20 @@ Componentes de expansão/colapso para revelar conteúdo. Accordion para múltipl
64
121
 
65
122
  **Uso:**
66
123
  ```tsx
67
- import {
68
- Accordion,
69
- AccordionContent,
70
- AccordionItem,
71
- AccordionTrigger,
72
- } from "forlogic-core"
73
-
74
- <Accordion type="single" collapsible>
75
- <AccordionItem value="item-1">
76
- <AccordionTrigger>Is it accessible?</AccordionTrigger>
77
- <AccordionContent>
78
- Yes. It adheres to the WAI-ARIA design pattern.
79
- </AccordionContent>
80
- </AccordionItem>
124
+ import {
125
+ Accordion,
126
+ AccordionContent,
127
+ AccordionItem,
128
+ AccordionTrigger,
129
+ } from "forlogic-core"
130
+
131
+ <Accordion type="single" collapsible>
132
+ <AccordionItem value="item-1">
133
+ <AccordionTrigger>Is it accessible?</AccordionTrigger>
134
+ <AccordionContent>
135
+ Yes. It adheres to the WAI-ARIA design pattern.
136
+ </AccordionContent>
137
+ </AccordionItem>
81
138
  </Accordion>
82
139
  ```
83
140
 
@@ -91,10 +148,10 @@ import {
91
148
  <Accordion type=
92
149
  ```
93
150
  ```tsx
94
- import {
95
- Collapsible,
96
- CollapsibleContent,
97
- CollapsibleTrigger,
151
+ import {
152
+ Collapsible,
153
+ CollapsibleContent,
154
+ CollapsibleTrigger,
98
155
  } from
99
156
  ```
100
157
 
@@ -109,6 +166,6 @@ import {
109
166
  - **Collapsible** é melhor para um único elemento expansível
110
167
  - Ambos suportam animações suaves de abertura/fechamento
111
168
 
112
- > Fonte: `src\design-system\docs\components\AccordionDoc.tsx`
169
+ > Fonte: `src/design-system/docs/components/AccordionDoc.tsx`
113
170
 
114
171
  ---
package/package.json CHANGED
@@ -1,144 +1,150 @@
1
- {
2
- "name": "forlogic-core",
3
- "version": "2.1.4",
4
- "type": "module",
5
- "main": "dist/index.js",
6
- "module": "dist/index.esm.js",
7
- "types": "dist/index.d.ts",
8
- "exports": {
9
- ".": {
10
- "types": "./dist/index.d.ts",
11
- "import": "./dist/index.esm.js",
12
- "require": "./dist/index.js"
13
- },
14
- "./index.css": "./dist/index.css",
15
- "./tokens": "./dist/tokens/index.js",
16
- "./vite": {
17
- "types": "./dist/vite/index.d.ts",
18
- "import": "./dist/vite/index.esm.js",
19
- "require": "./dist/vite/index.js"
20
- },
21
- "./tailwind": {
22
- "types": "./dist/tailwind/index.d.ts",
23
- "import": "./dist/tailwind/index.esm.js",
24
- "require": "./dist/tailwind/index.js"
25
- }
26
- },
27
- "files": [
28
- "dist",
29
- "docs",
30
- ".note/memory"
31
- ],
32
- "sideEffects": [
33
- "*.css"
34
- ],
35
- "scripts": {
36
- "dev": "vite",
37
- "build": "vite build",
38
- "build:dev": "vite build --mode development",
39
- "build:lib": "npx tsx scripts/generate-ds-docs.ts & rollup -c",
40
- "lint": "eslint .",
41
- "preview": "vite preview"
42
- },
43
- "dependencies": {
44
- "@dnd-kit/core": "^6.3.1",
45
- "@dnd-kit/sortable": "^10.0.0",
46
- "@hookform/resolvers": "^3.10.0",
47
- "@radix-ui/react-accordion": "^1.2.11",
48
- "@radix-ui/react-alert-dialog": "^1.1.14",
49
- "@radix-ui/react-avatar": "^1.1.10",
50
- "@radix-ui/react-checkbox": "^1.3.3",
51
- "@radix-ui/react-collapsible": "^1.1.11",
52
- "@radix-ui/react-context-menu": "^2.2.16",
53
- "@radix-ui/react-dialog": "^1.1.14",
54
- "@radix-ui/react-dropdown-menu": "^2.1.15",
55
- "@radix-ui/react-hover-card": "^1.1.15",
56
- "@radix-ui/react-label": "^2.1.7",
57
- "@radix-ui/react-menubar": "^1.1.16",
58
- "@radix-ui/react-navigation-menu": "^1.2.14",
59
- "@radix-ui/react-popover": "^1.1.14",
60
- "@radix-ui/react-progress": "^1.1.7",
61
- "@radix-ui/react-radio-group": "^1.3.7",
62
- "@radix-ui/react-scroll-area": "^1.2.9",
63
- "@radix-ui/react-select": "^2.2.5",
64
- "@radix-ui/react-separator": "^1.1.7",
65
- "@radix-ui/react-slider": "^1.3.5",
66
- "@radix-ui/react-slot": "^1.2.3",
67
- "@radix-ui/react-switch": "^1.2.6",
68
- "@radix-ui/react-tabs": "^1.1.12",
69
- "@radix-ui/react-toast": "^1.2.14",
70
- "@radix-ui/react-toggle": "^1.1.9",
71
- "@radix-ui/react-toggle-group": "^1.1.10",
72
- "@radix-ui/react-tooltip": "^1.2.7",
73
- "@supabase/supabase-js": "^2.100.0",
74
- "@tanstack/react-query": "^5.83.0",
75
- "@tiptap/extension-color": "^3.14.0",
76
- "@tiptap/extension-highlight": "^3.14.0",
77
- "@tiptap/extension-link": "^3.14.0",
78
- "@tiptap/extension-text-style": "^3.14.0",
79
- "@tiptap/extension-underline": "^3.14.0",
80
- "@tiptap/react": "^3.14.0",
81
- "@tiptap/starter-kit": "^3.14.0",
82
- "class-variance-authority": "^0.7.1",
83
- "clsx": "^2.1.1",
84
- "date-fns": "^3.6.0",
85
- "date-fns-tz": "^3.2.0",
86
- "exceljs": "^4.4.0",
87
- "i18next-browser-languagedetector": "^8.2.0",
88
- "jszip": "^3.10.1",
89
- "lucide-react": "^0.553.0",
90
- "next-themes": "^0.3.0",
91
- "react": "^18.3.1",
92
- "react-day-picker": "^9.13.0",
93
- "react-dom": "^18.3.1",
94
- "react-hook-form": "^7.61.1",
95
- "react-resizable-panels": "^3.0.6",
96
- "react-router-dom": "^6.30.1",
97
- "recharts": "^3.6.0",
98
- "sonner": "^1.7.4",
99
- "tailwind-merge": "^3.3.1",
100
- "tailwindcss-animate": "^1.0.7",
101
- "vaul": "^1.1.2",
102
- "zod": "^3.25.76"
103
- },
104
- "peerDependencies": {
105
- "i18next": "^25.0.0",
106
- "react-i18next": "^16.0.0"
107
- },
108
- "devDependencies": {
109
- "@babel/parser": "^7.28.5",
110
- "@babel/traverse": "^7.28.5",
111
- "@babel/types": "^7.28.5",
112
- "@eslint/js": "^9.32.0",
113
- "@rollup/plugin-commonjs": "^28.0.6",
114
- "@rollup/plugin-json": "^6.1.0",
115
- "@rollup/plugin-node-resolve": "^16.0.1",
116
- "@rollup/plugin-terser": "1.0.0",
117
- "@rollup/plugin-typescript": "^12.1.4",
118
- "@rollup/plugin-url": "^8.0.2",
119
- "@svgr/rollup": "^8.1.0",
120
- "@tailwindcss/typography": "^0.5.16",
121
- "@types/file-saver": "^2.0.7",
122
- "@types/node": "^22.16.5",
123
- "@types/react": "^18.3.23",
124
- "@types/react-dom": "^18.3.7",
125
- "@vitejs/plugin-react-swc": "^3.11.0",
126
- "autoprefixer": "^10.4.21",
127
- "baseline-browser-mapping": "^2.9.12",
128
- "eslint": "^9.32.0",
129
- "eslint-plugin-react-hooks": "^5.2.0",
130
- "eslint-plugin-react-refresh": "^0.4.20",
131
- "globals": "^15.15.0",
132
- "lovable-tagger": "^1.1.9",
133
- "postcss": "^8.5.6",
134
- "rollup": "^4.50.1",
135
- "rollup-plugin-copy": "^3.5.0",
136
- "rollup-plugin-esbuild": "^6.2.1",
137
- "rollup-plugin-postcss": "^4.0.2",
138
- "tailwindcss": "^3.4.17",
139
- "tsx": "^4.20.6",
140
- "typescript": "^5.8.3",
141
- "typescript-eslint": "^8.38.0",
142
- "vite": "^7.3.0"
143
- }
144
- }
1
+ {
2
+ "name": "forlogic-core",
3
+ "version": "2.2.0",
4
+ "type": "module",
5
+ "main": "dist/index.js",
6
+ "module": "dist/index.esm.js",
7
+ "types": "dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/index.esm.js",
12
+ "require": "./dist/index.js"
13
+ },
14
+ "./index.css": "./dist/index.css",
15
+ "./tokens": "./dist/tokens/index.js",
16
+ "./vite": {
17
+ "types": "./dist/vite/index.d.ts",
18
+ "import": "./dist/vite/index.esm.js",
19
+ "require": "./dist/vite/index.js"
20
+ },
21
+ "./tailwind": {
22
+ "types": "./dist/tailwind/index.d.ts",
23
+ "import": "./dist/tailwind/index.esm.js",
24
+ "require": "./dist/tailwind/index.js"
25
+ }
26
+ },
27
+ "files": [
28
+ "dist",
29
+ "docs",
30
+ ".note/memory"
31
+ ],
32
+ "sideEffects": [
33
+ "*.css"
34
+ ],
35
+ "scripts": {
36
+ "dev": "vite",
37
+ "build": "vite build",
38
+ "build:dev": "vite build --mode development",
39
+ "build:lib": "npx tsx scripts/generate-ds-docs.ts & rollup -c",
40
+ "lint": "eslint .",
41
+ "docs:check": "tsx scripts/check-docs.ts",
42
+ "docs:check-all": "tsx scripts/check-docs.ts --all",
43
+ "docs:fix": "tsx scripts/auto-doc.ts",
44
+ "docs:fix-all": "tsx scripts/auto-doc.ts --all",
45
+ "preview": "vite preview"
46
+ },
47
+ "dependencies": {
48
+ "@dnd-kit/core": "^6.3.1",
49
+ "@dnd-kit/sortable": "^10.0.0",
50
+ "@dnd-kit/utilities": "^3.2.2",
51
+ "@hookform/resolvers": "^3.10.0",
52
+ "@microsoft/clarity": "^1.0.2",
53
+ "@radix-ui/react-accordion": "^1.2.11",
54
+ "@radix-ui/react-alert-dialog": "^1.1.14",
55
+ "@radix-ui/react-avatar": "^1.1.10",
56
+ "@radix-ui/react-checkbox": "^1.3.3",
57
+ "@radix-ui/react-collapsible": "^1.1.11",
58
+ "@radix-ui/react-context-menu": "^2.2.16",
59
+ "@radix-ui/react-dialog": "^1.1.14",
60
+ "@radix-ui/react-dropdown-menu": "^2.1.15",
61
+ "@radix-ui/react-hover-card": "^1.1.15",
62
+ "@radix-ui/react-label": "^2.1.7",
63
+ "@radix-ui/react-menubar": "^1.1.16",
64
+ "@radix-ui/react-navigation-menu": "^1.2.14",
65
+ "@radix-ui/react-popover": "^1.1.14",
66
+ "@radix-ui/react-progress": "^1.1.7",
67
+ "@radix-ui/react-radio-group": "^1.3.7",
68
+ "@radix-ui/react-scroll-area": "^1.2.9",
69
+ "@radix-ui/react-select": "^2.2.5",
70
+ "@radix-ui/react-separator": "^1.1.7",
71
+ "@radix-ui/react-slider": "^1.3.5",
72
+ "@radix-ui/react-slot": "^1.2.3",
73
+ "@radix-ui/react-switch": "^1.2.6",
74
+ "@radix-ui/react-tabs": "^1.1.12",
75
+ "@radix-ui/react-toast": "^1.2.14",
76
+ "@radix-ui/react-toggle": "^1.1.9",
77
+ "@radix-ui/react-toggle-group": "^1.1.10",
78
+ "@radix-ui/react-tooltip": "^1.2.7",
79
+ "@supabase/supabase-js": "^2.100.0",
80
+ "@tanstack/react-query": "^5.83.0",
81
+ "@tiptap/extension-color": "^3.14.0",
82
+ "@tiptap/extension-highlight": "^3.14.0",
83
+ "@tiptap/extension-link": "^3.14.0",
84
+ "@tiptap/extension-text-style": "^3.14.0",
85
+ "@tiptap/extension-underline": "^3.14.0",
86
+ "@tiptap/react": "^3.14.0",
87
+ "@tiptap/starter-kit": "^3.14.0",
88
+ "class-variance-authority": "^0.7.1",
89
+ "clsx": "^2.1.1",
90
+ "date-fns": "^3.6.0",
91
+ "date-fns-tz": "^3.2.0",
92
+ "exceljs": "^4.4.0",
93
+ "i18next-browser-languagedetector": "^8.2.0",
94
+ "jszip": "^3.10.1",
95
+ "lucide-react": "^0.553.0",
96
+ "next-themes": "^0.3.0",
97
+ "react": "^18.3.1",
98
+ "react-day-picker": "^9.13.0",
99
+ "react-dom": "^18.3.1",
100
+ "react-hook-form": "^7.61.1",
101
+ "react-resizable-panels": "^3.0.6",
102
+ "react-router-dom": "^6.30.1",
103
+ "recharts": "^3.6.0",
104
+ "sonner": "^1.7.4",
105
+ "tailwind-merge": "^3.3.1",
106
+ "tailwindcss-animate": "^1.0.7",
107
+ "vaul": "^1.1.2",
108
+ "zod": "^3.25.76"
109
+ },
110
+ "peerDependencies": {
111
+ "i18next": "^25.0.0",
112
+ "react-i18next": "^16.0.0"
113
+ },
114
+ "devDependencies": {
115
+ "@babel/parser": "^7.28.5",
116
+ "@babel/traverse": "^7.28.5",
117
+ "@babel/types": "^7.28.5",
118
+ "@eslint/js": "^9.32.0",
119
+ "@rollup/plugin-commonjs": "^28.0.6",
120
+ "@rollup/plugin-json": "^6.1.0",
121
+ "@rollup/plugin-node-resolve": "^16.0.1",
122
+ "@rollup/plugin-terser": "1.0.0",
123
+ "@rollup/plugin-typescript": "^12.1.4",
124
+ "@rollup/plugin-url": "^8.0.2",
125
+ "@svgr/rollup": "^8.1.0",
126
+ "@tailwindcss/typography": "^0.5.16",
127
+ "@types/file-saver": "^2.0.7",
128
+ "@types/node": "^22.16.5",
129
+ "@types/react": "^18.3.23",
130
+ "@types/react-dom": "^18.3.7",
131
+ "@vitejs/plugin-react-swc": "^3.11.0",
132
+ "autoprefixer": "^10.4.21",
133
+ "baseline-browser-mapping": "^2.9.12",
134
+ "eslint": "^9.32.0",
135
+ "eslint-plugin-react-hooks": "^5.2.0",
136
+ "eslint-plugin-react-refresh": "^0.4.20",
137
+ "globals": "^15.15.0",
138
+ "lovable-tagger": "^1.1.9",
139
+ "postcss": "^8.5.6",
140
+ "rollup": "^4.50.1",
141
+ "rollup-plugin-copy": "^3.5.0",
142
+ "rollup-plugin-esbuild": "^6.2.1",
143
+ "rollup-plugin-postcss": "^4.0.2",
144
+ "tailwindcss": "^3.4.17",
145
+ "tsx": "^4.20.6",
146
+ "typescript": "^5.8.3",
147
+ "typescript-eslint": "^8.38.0",
148
+ "vite": "^7.3.0"
149
+ }
150
+ }