@devix-tecnologia/timeline-vue 3.4.0 → 3.4.2

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 +3 -10
  2. package/package.json +1 -5
package/README.md CHANGED
@@ -20,7 +20,7 @@ yarn add @devix-tecnologia/timeline-vue
20
20
 
21
21
  ### Formas de Importação
22
22
 
23
- A biblioteca oferece três formas de importação:
23
+ A biblioteca oferece duas formas de importação:
24
24
 
25
25
  #### 1. Como Plugin Vue (instala todos componentes globalmente)
26
26
 
@@ -33,21 +33,14 @@ const app = createApp(App);
33
33
  app.use(Timeline);
34
34
  ```
35
35
 
36
- #### 2. Componentes Individuais (tree-shaking automático)
36
+ #### 2. Componentes Individuais (tree-shaking automático - recomendado)
37
37
 
38
38
  ```ts
39
39
  import { Timeline, Tipos } from '@devix-tecnologia/timeline-vue';
40
40
  import '@devix-tecnologia/timeline-vue/dist/style.css';
41
41
  ```
42
42
 
43
- #### 3. Via Path `/components` (alternativa explícita)
44
-
45
- ```ts
46
- import { Timeline, Tipos } from '@devix-tecnologia/timeline-vue/components';
47
- import '@devix-tecnologia/timeline-vue/dist/style.css';
48
- ```
49
-
50
- > 💡 **Dica:** As opções 2 e 3 são equivalentes e oferecem melhor tree-shaking. Use a opção 1 apenas se precisar de todos os componentes registrados globalmente.
43
+ > 💡 **Dica:** Use a opção 2 para melhor tree-shaking e menor bundle final. Use a opção 1 apenas se precisar de todos os componentes registrados globalmente.
51
44
 
52
45
  ### Exemplo de código
53
46
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@devix-tecnologia/timeline-vue",
3
3
  "private": false,
4
- "version": "3.4.0",
4
+ "version": "3.4.2",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "repository": {
@@ -105,10 +105,6 @@
105
105
  "import": "./dist/timeline-vue.es.js",
106
106
  "types": "./dist/types/index.d.ts"
107
107
  },
108
- "./components": {
109
- "import": "./dist/timeline-vue.es.js",
110
- "types": "./dist/components/timeline/index.d.ts"
111
- },
112
108
  "./dist/style.css": "./dist/style.css"
113
109
  },
114
110
  "publishConfig": {