@1urso/generic-editor 0.1.6 → 0.1.8

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 (2) hide show
  1. package/README.md +2 -1
  2. package/package.json +3 -2
package/README.md CHANGED
@@ -42,9 +42,10 @@ npm install @radix-ui/themes @radix-ui/react-icons react-resizable-panels re-res
42
42
 
43
43
  ### 3. Importe os Estilos
44
44
 
45
- No arquivo de entrada da sua aplicação (ex: `main.tsx`, `App.tsx` ou `layout.tsx` no Next.js), importe o CSS do Radix UI:
45
+ No arquivo de entrada da sua aplicação (ex: `main.tsx`, `App.tsx` ou `layout.tsx` no Next.js), importe o CSS do editor (obrigatório para o menu de contexto) e do Radix UI:
46
46
 
47
47
  ```tsx
48
+ import "@1urso/generic-editor/dist/generic-editor.css"; // Essencial para o funcionamento do editor
48
49
  import "@radix-ui/themes/styles.css";
49
50
  ```
50
51
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1urso/generic-editor",
3
- "version": "0.1.6",
3
+ "version": "0.1.8",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -12,7 +12,8 @@
12
12
  ".": {
13
13
  "import": "./dist/generic-editor.js",
14
14
  "require": "./dist/generic-editor.umd.cjs"
15
- }
15
+ },
16
+ "./dist/generic-editor.css": "./dist/generic-editor.css"
16
17
  },
17
18
  "files": [
18
19
  "dist"