zs3-ui-components 1.2.1 → 1.2.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.
Potentially problematic release.
This version of zs3-ui-components might be problematic. Click here for more details.
- package/README.md +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# ZS3 UI Components
|
|
2
2
|
|
|
3
|
-
**v1.2.
|
|
3
|
+
**v1.2.2** · Modern Web Components library with built-in theming, i18n, reactive state, HTTP client, and more.
|
|
4
4
|
|
|
5
5
|
ZS3 UI Components is a zero-dependency UI library based on native **Web Components** (Custom Elements + Shadow DOM). It provides a complete set of UI components and utilities that work in any framework or in plain HTML.
|
|
6
6
|
|
|
@@ -1984,7 +1984,7 @@ Logger avançat amb nivells i formatació a la consola del navegador.
|
|
|
1984
1984
|
```ts
|
|
1985
1985
|
import { log } from 'zs3-ui-components'
|
|
1986
1986
|
|
|
1987
|
-
log.info('Aplicació iniciada', { version: '1.2.
|
|
1987
|
+
log.info('Aplicació iniciada', { version: '1.2.2' })
|
|
1988
1988
|
log.warn('Configuració incompleta', { missing: 'api-key' })
|
|
1989
1989
|
log.error('Error en la petició', { code: 500, url: '/api/users' })
|
|
1990
1990
|
log.success('Operació completada!')
|
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ class T {
|
|
|
14
14
|
* @returns {string} Library version.
|
|
15
15
|
*/
|
|
16
16
|
static version() {
|
|
17
|
-
return "1.2.
|
|
17
|
+
return "1.2.2";
|
|
18
18
|
}
|
|
19
19
|
/**
|
|
20
20
|
* Creates a ZS3 instance from an HTMLElement.
|
|
@@ -2107,7 +2107,7 @@ class k extends HTMLElement {
|
|
|
2107
2107
|
*/
|
|
2108
2108
|
handleLocaleChange(t) {
|
|
2109
2109
|
const s = t;
|
|
2110
|
-
this.onLocaleChange(s.detail.locale)
|
|
2110
|
+
this.onLocaleChange(s.detail.locale);
|
|
2111
2111
|
}
|
|
2112
2112
|
/**
|
|
2113
2113
|
* Hook called when locale changes
|