forlogic-core 1.8.3 → 1.8.4

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.
package/README.md CHANGED
@@ -1187,7 +1187,7 @@ function TagsPage() {
1187
1187
  #### Uso Standalone (Fora do BaseForm)
1188
1188
 
1189
1189
  ```typescript
1190
- import { CreatableCombobox } from 'forlogic-core/ui';
1190
+ import { CreatableCombobox } from 'forlogic-core';
1191
1191
  import { useState } from 'react';
1192
1192
 
1193
1193
  function MyComponent() {
@@ -5624,23 +5624,35 @@ await notifyLeadershipChange(
5624
5624
 
5625
5625
  ### Imports Essenciais
5626
5626
 
5627
+ > **⚠️ IMPORTANTE**: A partir da versão 1.8.4+, todos os componentes devem ser importados diretamente de `forlogic-core`. Os exports modulares (`/ui`, `/modular`, `/crud`) foram removidos para simplificar o uso da biblioteca.
5628
+
5627
5629
  ```typescript
5628
- // CRUD
5630
+ // ✅ CORRETO (v1.8.4+)
5629
5631
  import {
5632
+ // CRUD
5630
5633
  createSimpleService,
5631
5634
  createCrudPage,
5632
5635
  generateCrudConfig,
5633
- createSimpleSaveHandler
5636
+ createSimpleSaveHandler,
5637
+
5638
+ // UI
5639
+ Button,
5640
+ Input,
5641
+ Card,
5642
+ toast,
5643
+
5644
+ // Auth
5645
+ useAuth,
5646
+ ProtectedRoute,
5647
+
5648
+ // Qualiex
5649
+ QualiexUserField,
5650
+ useQualiexUsers
5634
5651
  } from 'forlogic-core';
5635
5652
 
5636
- // UI
5637
- import { Button, Input, Card, toast } from 'forlogic-core/ui';
5638
-
5639
- // Auth
5640
- import { useAuth, ProtectedRoute } from 'forlogic-core';
5641
-
5642
- // Qualiex
5643
- import { QualiexUserField, useQualiexUsers } from 'forlogic-core';
5653
+ // ❌ DEPRECATED (removido em v1.8.4+)
5654
+ // import { Button, Input } from 'forlogic-core/ui';
5655
+ // import { createCrudPage } from 'forlogic-core/crud';
5644
5656
  ```
5645
5657
 
5646
5658
  ### Estrutura de Arquivos
package/dist/README.md CHANGED
@@ -1187,7 +1187,7 @@ function TagsPage() {
1187
1187
  #### Uso Standalone (Fora do BaseForm)
1188
1188
 
1189
1189
  ```typescript
1190
- import { CreatableCombobox } from 'forlogic-core/ui';
1190
+ import { CreatableCombobox } from 'forlogic-core';
1191
1191
  import { useState } from 'react';
1192
1192
 
1193
1193
  function MyComponent() {
@@ -5624,23 +5624,35 @@ await notifyLeadershipChange(
5624
5624
 
5625
5625
  ### Imports Essenciais
5626
5626
 
5627
+ > **⚠️ IMPORTANTE**: A partir da versão 1.8.4+, todos os componentes devem ser importados diretamente de `forlogic-core`. Os exports modulares (`/ui`, `/modular`, `/crud`) foram removidos para simplificar o uso da biblioteca.
5628
+
5627
5629
  ```typescript
5628
- // CRUD
5630
+ // ✅ CORRETO (v1.8.4+)
5629
5631
  import {
5632
+ // CRUD
5630
5633
  createSimpleService,
5631
5634
  createCrudPage,
5632
5635
  generateCrudConfig,
5633
- createSimpleSaveHandler
5636
+ createSimpleSaveHandler,
5637
+
5638
+ // UI
5639
+ Button,
5640
+ Input,
5641
+ Card,
5642
+ toast,
5643
+
5644
+ // Auth
5645
+ useAuth,
5646
+ ProtectedRoute,
5647
+
5648
+ // Qualiex
5649
+ QualiexUserField,
5650
+ useQualiexUsers
5634
5651
  } from 'forlogic-core';
5635
5652
 
5636
- // UI
5637
- import { Button, Input, Card, toast } from 'forlogic-core/ui';
5638
-
5639
- // Auth
5640
- import { useAuth, ProtectedRoute } from 'forlogic-core';
5641
-
5642
- // Qualiex
5643
- import { QualiexUserField, useQualiexUsers } from 'forlogic-core';
5653
+ // ❌ DEPRECATED (removido em v1.8.4+)
5654
+ // import { Button, Input } from 'forlogic-core/ui';
5655
+ // import { createCrudPage } from 'forlogic-core/crud';
5644
5656
  ```
5645
5657
 
5646
5658
  ### Estrutura de Arquivos