energy-foundations 2.0.0-beta.3 → 2.0.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 CHANGED
@@ -6,6 +6,8 @@ It can be used on static websites, SPAs or even AEM products. It is the basic pi
6
6
  # Getting Started
7
7
  This library requires Vue.js v3.2 or higher.
8
8
 
9
+ > **Recomendación:** Se recomienda instalar las últimas versiones de **SASS** y **Vite** para que todo funcione correctamente sin warnings.
10
+
9
11
  **Yarn**
10
12
 
11
13
  ```bash
@@ -64,7 +66,8 @@ Mantén el CSS base importado una sola vez (vía `main.ts` recomendado, o `@use
64
66
  Recomendamos crear una hoja `basic.scss` en tu proyecto donde declares:
65
67
 
66
68
  ```scss
67
- @use 'energy-foundations/dist/rds-variables' as *;
69
+ @forward 'energy-foundations/dist/rds-variables';
70
+ // .btn { color: $rds-color-primary; }
68
71
  ```
69
72
 
70
73
  E inyectarla globalmente en Vite:
@@ -1,4 +1,4 @@
1
- /** Auto-generated by generateIconLayers.js on 2026-01-27T12:50:53.509Z */
1
+ /** Auto-generated by generateIconLayers.js on 2026-02-03T10:28:59.707Z */
2
2
  /* eslint-disable */
3
3
  export const iconLayers = {
4
4
  "source_link": 1,
@@ -1,4 +1,4 @@
1
- /** Auto-generated by generateIconLayers.js on 2026-01-27T12:50:53.509Z */
1
+ /** Auto-generated by generateIconLayers.js on 2026-02-03T10:28:59.707Z */
2
2
  /* eslint-disable */
3
3
  export const iconLayers: Record<string, number> = {
4
4
  "source_link": 1,
@@ -1,4 +1,4 @@
1
- /** Auto-generated by generateIconLayers.js on 2026-01-27T12:50:53.509Z */
1
+ /** Auto-generated by generateIconLayers.js on 2026-02-03T10:28:59.707Z */
2
2
  /* eslint-disable */
3
3
  export const iconNames = [
4
4
  "ac-aire-acondicionado",
@@ -1,4 +1,4 @@
1
- /** Auto-generated by generateIconLayers.js on 2026-01-27T12:50:53.509Z */
1
+ /** Auto-generated by generateIconLayers.js on 2026-02-03T10:28:59.707Z */
2
2
  /* eslint-disable */
3
3
  export const iconNames: string[] = [
4
4
  "ac-aire-acondicionado",
@@ -1,6 +1,11 @@
1
1
  # Installation & Quick Start
2
2
 
3
3
 
4
+
5
+ > **Recomendación:** Se recomienda instalar las últimas versiones de **SASS** y **Vite** para que todo funcione correctamente sin warnings.
6
+
7
+ # Instalar
8
+
4
9
  ```
5
10
  yarn add energy-foundations
6
11
  ```
@@ -55,9 +60,8 @@ Recomendamos crear primero un fichero `basic.scss` en vuestro directorio raíz y
55
60
 
56
61
  **basic.scss**
57
62
  ```scss
58
- @use 'energy-foundations/src/rds-variables' as rds;
59
- // ejemplo de uso namespaced
60
- // .example { color: rds.$color-primary; }
63
+ @forward 'energy-foundations/dist/rds-variables';
64
+ // .btn { color: $rds-color-primary; }
61
65
  ```
62
66
 
63
67
  Posteriormente, en el fichero de vite.config:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "energy-foundations",
3
- "version": "2.0.0-beta.3",
3
+ "version": "2.0.0",
4
4
  "config": {
5
5
  "commitizen": {
6
6
  "path": "node_modules/cz-customizable"
@@ -82,7 +82,7 @@
82
82
  "build:reset": "rm -rf dist && sass --no-source-map src/rds-reset.scss:dist/rds-reset.css",
83
83
  "build:storybook": "storybook build",
84
84
  "build:variables": "rm -rf dist && sass --no-source-map src/rds-variables.scss:dist/rds-variables.css",
85
- "changelog": "auto-changelog --commit-limit false --unreleased --package --starting-version 1.0.0 --template ./changelog-template.hbs && git add CHANGELOG.md",
85
+ "changelog": "auto-changelog --commit-limit false --unreleased --package --starting-version 2.0.0-beta.0 --template ./changelog-template.hbs && git add CHANGELOG.md",
86
86
  "commit": "git-cz",
87
87
  "commitlint": "commitlint --edit --config=commitlint.config.ts",
88
88
  "dev": "rm -rf dist && sass --no-source-map --watch src/:dist",
@@ -1,4 +1,4 @@
1
- /** Auto-generated by generateIconLayers.js on 2026-01-27T12:50:53.509Z */
1
+ /** Auto-generated by generateIconLayers.js on 2026-02-03T10:28:59.707Z */
2
2
  /* eslint-disable */
3
3
  export const iconLayers = {
4
4
  "source_link": 1,
@@ -1,4 +1,4 @@
1
- /** Auto-generated by generateIconLayers.js on 2026-01-27T12:50:53.509Z */
1
+ /** Auto-generated by generateIconLayers.js on 2026-02-03T10:28:59.707Z */
2
2
  /* eslint-disable */
3
3
  export const iconLayers: Record<string, number> = {
4
4
  "source_link": 1,
@@ -1,4 +1,4 @@
1
- /** Auto-generated by generateIconLayers.js on 2026-01-27T12:50:53.509Z */
1
+ /** Auto-generated by generateIconLayers.js on 2026-02-03T10:28:59.707Z */
2
2
  /* eslint-disable */
3
3
  export const iconNames = [
4
4
  "ac-aire-acondicionado",
@@ -1,4 +1,4 @@
1
- /** Auto-generated by generateIconLayers.js on 2026-01-27T12:50:53.509Z */
1
+ /** Auto-generated by generateIconLayers.js on 2026-02-03T10:28:59.707Z */
2
2
  /* eslint-disable */
3
3
  export const iconNames: string[] = [
4
4
  "ac-aire-acondicionado",