jclib-ui 1.0.296 → 1.1.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.
- package/README.md +14 -0
- package/dist/jclib-ui.css +1 -1
- package/dist/jclib-ui.es.js +3511 -16329
- package/dist/jclib-ui.es.js.map +1 -1
- package/dist/jclib-ui.umd.js +86 -86
- package/dist/jclib-ui.umd.js.map +1 -1
- package/package.json +1 -3
package/README.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## jclib-ui
|
|
2
|
+
|
|
3
|
+
A partir da v1.0.297, a lib **não importa mais o CSS do Bootstrap automaticamente**
|
|
4
|
+
(antes vinha embutido em `dist/jclib-ui.css`, ~227KB). Como `bootstrap` já é uma
|
|
5
|
+
peerDependency, o app consumidor deve importar o CSS por conta própria:
|
|
6
|
+
|
|
7
|
+
```js
|
|
8
|
+
import 'bootstrap/dist/css/bootstrap.min.css'
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
O JS do Bootstrap (`bootstrap/dist/js/bootstrap.min.js`) também deixou de ser
|
|
12
|
+
importado pela lib — não era necessário, já que os componentes usam `reactstrap`
|
|
13
|
+
(reimplementação em React), não a API nativa do Bootstrap.
|
|
14
|
+
|
|
1
15
|
# React + Vite
|
|
2
16
|
|
|
3
17
|
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
|