pangea-lib 1.19.12 → 1.19.13
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 +8 -3
- package/dist/main.cjs.js +17 -17
- package/dist/main.css +1 -1
- package/dist/main.es.js +12933 -12841
- package/dist/styles/responsive-font-size.css +1 -0
- package/dist/styles/scrollbar.css +1 -22
- package/dist/types/components/PgaButton.vue.d.ts +1 -1
- package/package.json +5 -3
- package/dist/styles/responsive-font-size.styl +0 -12
package/README.md
CHANGED
|
@@ -22,8 +22,8 @@ import { createPersistedState } from 'pinia-plugin-persistedstate';
|
|
|
22
22
|
import pangea from 'pangea-lib';
|
|
23
23
|
// styles
|
|
24
24
|
import 'pangea-lib/main.css';
|
|
25
|
-
import 'pangea-lib/responsive-font-size.
|
|
26
|
-
import 'pangea-lib/scrollbar.css'; // OPTIONAL styles for scrollbars
|
|
25
|
+
import 'pangea-lib/responsive-font-size.css'; // (OPTIONAL) responsive font size
|
|
26
|
+
import 'pangea-lib/scrollbar.css'; // (OPTIONAL) styles for scrollbars
|
|
27
27
|
|
|
28
28
|
// create app
|
|
29
29
|
const app = createApp(App);
|
|
@@ -37,7 +37,12 @@ app.use(pangea, pangeaOptions); // pangeaOptions object is OPTIONAL
|
|
|
37
37
|
app.mount('#app');
|
|
38
38
|
```
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
> **Note**: Pangea includes sanitize.css by default.
|
|
41
|
+
|
|
42
|
+
If you want to use the Stylus helpers:
|
|
43
|
+
|
|
44
|
+
1. `yarn add stylus --dev`
|
|
45
|
+
2. Add the following to your `vite.config`:
|
|
41
46
|
|
|
42
47
|
```javascript
|
|
43
48
|
import { defineConfig } from 'vite';
|