@corvina/web-components-library 1.0.0-beta.1 → 1.0.0-beta.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.
- package/CHANGELOG.md +13 -6
- package/icons-corvina-classes-font-face.css +2 -0
- package/package.json +1 -1
- package/web-components-library.cjs.js +13 -13
- package/web-components-library.es.js +6828 -7634
- package/web-components-library.umd.js +13 -13
package/CHANGELOG.md
CHANGED
|
@@ -6,12 +6,18 @@ Both packages are built from the same sources and released with the same version
|
|
|
6
6
|
|
|
7
7
|
Vue 3.5 and Vuetify 4.
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Browsers: the JS and CSS are built for Vite 8's default target (`baseline-widely-available`: Chrome and
|
|
10
|
+
Edge 111, Firefox 114, Safari and iOS 16.4), with no transpiling to ES2016 anymore (`?.`, `??` and `async`
|
|
11
|
+
are kept).
|
|
12
|
+
|
|
13
|
+
### `@corvina/vue-components-library` (from 0.2.4)
|
|
10
14
|
|
|
11
15
|
Breaking changes:
|
|
12
16
|
|
|
13
17
|
- `vue` (^3.5) and `vuetify` (^4.3) are peer dependencies, provided by the app: the package no longer
|
|
14
|
-
bundles Vuetify 3 (JS 554 →
|
|
18
|
+
bundles Vuetify 3 (JS 554 → 202 KB, gzip 160 → 76 KB; the ExorFontIcon font is in it as a data URL).
|
|
19
|
+
- Modern syntax (see Browsers above): an app that targets older browsers transpiles the package with its
|
|
20
|
+
bundler (Vite does it by itself in the build).
|
|
15
21
|
- ESM only: the CommonJS and UMD builds are gone (`exports` has no `require` condition).
|
|
16
22
|
- The library CSS no longer contains the Vuetify CSS (132 → 20 KB): the app imports `vuetify/styles`.
|
|
17
23
|
To get the Corvina look, build the Vuetify styles with the exported settings:
|
|
@@ -20,7 +26,7 @@ Breaking changes:
|
|
|
20
26
|
CSS is in CSS layers and the first CSS loaded sets their order.
|
|
21
27
|
- The components use the Vuetify defaults of the app (e.g. the `variant` of fields), not the library ones.
|
|
22
28
|
- `--color-*` variables: the package CSS now has the components' palette (`--color-primary` #496177,
|
|
23
|
-
`--color-highlight` #01a3dd, ...). 0.2.
|
|
29
|
+
`--color-highlight` #01a3dd, ...). 0.2.4 ended with an older palette (#004688, #00b0c7, ...).
|
|
24
30
|
|
|
25
31
|
Added:
|
|
26
32
|
|
|
@@ -35,11 +41,12 @@ Fixed:
|
|
|
35
41
|
- The package only contains the files it needs (61 → 27): no type declarations of internal modules or of the web
|
|
36
42
|
components entry, no favicon and logo.
|
|
37
43
|
|
|
38
|
-
### `@corvina/web-components-library` (from 0.2.
|
|
44
|
+
### `@corvina/web-components-library` (from 0.2.4)
|
|
39
45
|
|
|
40
|
-
- Vuetify 4 and Vue 3.5 bundled (were Vuetify 3.7 and Vue 3.5). JS 1.06 → 1.
|
|
46
|
+
- Vuetify 4 and Vue 3.5 bundled (were Vuetify 3.7 and Vue 3.5). JS 1.06 → 1.23 MB (gzip 265 → 312 KB),
|
|
41
47
|
mostly Vuetify 4 itself.
|
|
42
|
-
-
|
|
48
|
+
- Runs on the browsers listed above (Browsers): 0.2.4 was transpiled to ES2016.
|
|
49
|
+
- No dependencies declared: Vue, Vuetify and the other libraries are bundled (0.2.4 declared `vue` and
|
|
43
50
|
`vuetify` 3, installed without being used).
|
|
44
51
|
- The bundle runs without a bundler (`<script type="module">`): `process` is no longer referenced.
|
|
45
52
|
- `web-components-library.css` (the page CSS) only has the `--color-*` variables (108 KB → 0.6 KB): no Vuetify
|
|
@@ -25,6 +25,8 @@
|
|
|
25
25
|
font-variant: normal;
|
|
26
26
|
text-transform: none;
|
|
27
27
|
line-height: 1;
|
|
28
|
+
/* override the vertical-align: middle that the :before inherits from .v-icon (vuetify reset), which pushes the glyph down */
|
|
29
|
+
vertical-align: top;
|
|
28
30
|
|
|
29
31
|
/* Better Font Rendering =========== */
|
|
30
32
|
-webkit-font-smoothing: antialiased;
|
package/package.json
CHANGED