energy-foundations 0.0.1-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.
Files changed (94) hide show
  1. package/README.md +20 -0
  2. package/dist/energy-foundations.js +1 -0
  3. package/dist/energy-foundations.umd.cjs +1 -0
  4. package/dist/fonts/SoleRepsolText_W_Bd.woff +0 -0
  5. package/dist/fonts/SoleRepsolText_W_Lt.woff +0 -0
  6. package/dist/fonts/SoleRepsolText_W_Rg.woff +0 -0
  7. package/dist/fonts/SoleRepsolText_W_SBd.woff +0 -0
  8. package/dist/fonts/icomoon.eot +0 -0
  9. package/dist/fonts/icomoon.ttf +0 -0
  10. package/dist/fonts/icomoon.woff +0 -0
  11. package/dist/fonts/selection.json +1 -0
  12. package/dist/foundations/_border.scss +15 -0
  13. package/dist/foundations/_color.scss +43 -0
  14. package/dist/foundations/_elevation.scss +9 -0
  15. package/dist/foundations/_fonts.scss +759 -0
  16. package/dist/foundations/_grid.scss +68 -0
  17. package/dist/foundations/_reset.scss +70 -0
  18. package/dist/foundations/_shadow.scss +10 -0
  19. package/dist/foundations/_spacing.scss +56 -0
  20. package/dist/foundations/_state.scss +5 -0
  21. package/dist/foundations/_typography.scss +33 -0
  22. package/dist/global.scss +6 -0
  23. package/dist/logo-repsol.png +0 -0
  24. package/dist/main.ts +1 -0
  25. package/dist/mixins/_elevation.scss +15 -0
  26. package/dist/mixins/_layout.scss +30 -0
  27. package/dist/mixins/_shadow.scss +9 -0
  28. package/dist/mixins/_state.scss +5 -0
  29. package/dist/mixins/_typography.scss +59 -0
  30. package/dist/mixins/_utils.scss +8 -0
  31. package/dist/rds-foundations.scss +20 -0
  32. package/dist/rds-reset.scss +1 -0
  33. package/dist/rds-variables.scss +24 -0
  34. package/dist/stories/assets/accessibility.png +0 -0
  35. package/dist/stories/assets/accessibility.svg +5 -0
  36. package/dist/stories/assets/addon-library.png +0 -0
  37. package/dist/stories/assets/assets.png +0 -0
  38. package/dist/stories/assets/avif-test-image.avif +0 -0
  39. package/dist/stories/assets/context.png +0 -0
  40. package/dist/stories/assets/discord.svg +15 -0
  41. package/dist/stories/assets/docs.png +0 -0
  42. package/dist/stories/assets/figma-plugin.png +0 -0
  43. package/dist/stories/assets/figma.png +0 -0
  44. package/dist/stories/assets/github.svg +3 -0
  45. package/dist/stories/assets/grid-desktop.png +0 -0
  46. package/dist/stories/assets/grid-mobile.png +0 -0
  47. package/dist/stories/assets/grid-tablet.png +0 -0
  48. package/dist/stories/assets/grid-xd.png +0 -0
  49. package/dist/stories/assets/logo-repsol.png +0 -0
  50. package/dist/stories/assets/npm.png +0 -0
  51. package/dist/stories/assets/portal.png +0 -0
  52. package/dist/stories/assets/share.png +0 -0
  53. package/dist/stories/assets/styling.png +0 -0
  54. package/dist/stories/assets/testing.png +0 -0
  55. package/dist/stories/assets/theming.png +0 -0
  56. package/dist/stories/assets/tutorials.svg +12 -0
  57. package/dist/stories/assets/variables.png +0 -0
  58. package/dist/stories/assets/youtube.svg +4 -0
  59. package/dist/stories/border/border.mdx +71 -0
  60. package/dist/stories/colors/componentColor.mdx +96 -0
  61. package/dist/stories/colors/componentColors.scss +2 -0
  62. package/dist/stories/colors/semanticColor.mdx +458 -0
  63. package/dist/stories/docs/init.mdx +129 -0
  64. package/dist/stories/docs/quickStartVue.mdx +98 -0
  65. package/dist/stories/elevation/elevation.mdx +113 -0
  66. package/dist/stories/fonts/fonts.mdx +165 -0
  67. package/dist/stories/functional/Layaout.mdx +42 -0
  68. package/dist/stories/functional/Utils.mdx +22 -0
  69. package/dist/stories/grid/Breakpoint.stories.js +16 -0
  70. package/dist/stories/grid/Gridsystem.mdx +172 -0
  71. package/dist/stories/grid/ResponsiveGrid.stories.js +47 -0
  72. package/dist/stories/grid/SimpleGridsystem.stories.js +39 -0
  73. package/dist/stories/grid/gridsystem.scss +86 -0
  74. package/dist/stories/icons/icon-list.ts +5 -0
  75. package/dist/stories/icons/icons.mdx +84 -0
  76. package/dist/stories/spacing/Spacing.mdx +296 -0
  77. package/dist/stories/spacing/Spacing.stories.js +132 -0
  78. package/dist/stories/spacing/spacing-story.scss +94 -0
  79. package/dist/stories/styles/index.scss +373 -0
  80. package/dist/stories/styles/overwrite.scss +197 -0
  81. package/dist/style.css +1 -0
  82. package/dist/variables/_border.scss +16 -0
  83. package/dist/variables/_color-system.scss +227 -0
  84. package/dist/variables/_color.scss +207 -0
  85. package/dist/variables/_elevation.scss +16 -0
  86. package/dist/variables/_grid.scss +21 -0
  87. package/dist/variables/_layout.scss +27 -0
  88. package/dist/variables/_shadow.scss +3 -0
  89. package/dist/variables/_spacing.scss +47 -0
  90. package/dist/variables/_state.scss +10 -0
  91. package/dist/variables/_typography.scss +380 -0
  92. package/dist/vite-env.d.ts +1 -0
  93. package/dist/vite.svg +1 -0
  94. package/package.json +97 -0
@@ -0,0 +1,380 @@
1
+ @use "sass:map";
2
+
3
+ $f-base: 16 !default;
4
+ $f-light: 300 !default;
5
+ $rds-typography-w-regular: 400 !default;
6
+ $rds-typography-w-medium: 500 !default;
7
+ $rds-typography-w-semibold: 600 !default;
8
+ $rds-typography-w-bold: 700 !default;
9
+
10
+ $rds-typography-f-text: 'SoleRepsolText' !default; // 'Text'
11
+ $rds-typography-f-headline: 'SoleRepsolText' !default; // 'Display'
12
+
13
+ /******************
14
+ *** TEXT STYLES ***
15
+ *******************/
16
+
17
+ $rds-typography-caption-01: (
18
+ font: $rds-typography-w-regular pxToRem(14) / pxToRem(18) $rds-typography-f-text
19
+ );
20
+
21
+ $rds-typography-caption-02: (
22
+ font: $rds-typography-w-regular pxToRem(12) / pxToRem(18) $rds-typography-f-text
23
+ );
24
+
25
+ $rds-typography-caption-tag: (
26
+ font: $rds-typography-w-regular pxToRem(12) / pxToRem(16) $rds-typography-f-text,
27
+ letter-spacing: 0.5px
28
+ );
29
+
30
+ $rds-typography-body-01: (
31
+ font: $rds-typography-w-regular pxToRem(16) / pxToRem(24) $rds-typography-f-text
32
+ );
33
+
34
+ $rds-typography-body-01-bold: (
35
+ font: $rds-typography-w-medium pxToRem(16) / pxToRem(24) $rds-typography-f-text
36
+ );
37
+
38
+ $rds-typography-body-01-underline: (
39
+ font: $rds-typography-w-regular pxToRem(16) / pxToRem(21) $rds-typography-f-text,
40
+ text-decoration: underline
41
+ );
42
+
43
+ $rds-typography-body-02: (
44
+ font: $rds-typography-w-regular pxToRem(14) / pxToRem(21) $rds-typography-f-text
45
+ );
46
+
47
+ $rds-typography-body-02-bold: (
48
+ font: $rds-typography-w-medium pxToRem(14) / pxToRem(21) $rds-typography-f-text
49
+ );
50
+
51
+ $rds-typography-body-02-underline: (
52
+ font: $rds-typography-w-regular pxToRem(14) / pxToRem(21) $rds-typography-f-text,
53
+ text-decoration: underline
54
+ );
55
+
56
+ $rds-typography-button-01: (
57
+ sd: (
58
+ font: $rds-typography-w-regular pxToRem(16) / pxToRem(24) $rds-typography-f-headline
59
+ ),
60
+ md: (
61
+ font: $rds-typography-w-regular pxToRem(16) / pxToRem(24) $rds-typography-f-headline
62
+ ),
63
+ ld: (
64
+ font: $rds-typography-w-regular pxToRem(16) / pxToRem(24) $rds-typography-f-headline
65
+ ),
66
+ xd: (
67
+ font: $rds-typography-w-regular pxToRem(16) / pxToRem(24) $rds-typography-f-headline
68
+ )
69
+ );
70
+
71
+ $rds-typography-button-02: (
72
+ sd: (
73
+ font: $rds-typography-w-regular pxToRem(14) / pxToRem(16) $rds-typography-f-headline
74
+ ),
75
+ md: (
76
+ font: $rds-typography-w-regular pxToRem(14) / pxToRem(16) $rds-typography-f-headline
77
+ ),
78
+ ld: (
79
+ font: $rds-typography-w-regular pxToRem(14) / pxToRem(16) $rds-typography-f-headline
80
+ ),
81
+ xd: (
82
+ font: $rds-typography-w-regular pxToRem(14) / pxToRem(16) $rds-typography-f-headline
83
+ )
84
+ );
85
+
86
+ $rds-typography-title-01: (
87
+ sd: (
88
+ font: $rds-typography-w-regular pxToRem(20) / pxToRem(26) $rds-typography-f-headline
89
+ ),
90
+ md: (
91
+ font: $rds-typography-w-regular pxToRem(20) / pxToRem(26) $rds-typography-f-headline
92
+ ),
93
+ ld: (
94
+ font: $rds-typography-w-regular pxToRem(20) / pxToRem(26) $rds-typography-f-headline
95
+ ),
96
+ xd: (
97
+ font: $rds-typography-w-regular pxToRem(24) / pxToRem(32) $rds-typography-f-headline
98
+ )
99
+ );
100
+
101
+ $rds-typography-title-02: (
102
+ sd: (
103
+ font: $rds-typography-w-regular pxToRem(16) / pxToRem(21) $rds-typography-f-headline
104
+ ),
105
+ md: (
106
+ font: $rds-typography-w-regular pxToRem(16) / pxToRem(21) $rds-typography-f-headline
107
+ ),
108
+ ld: (
109
+ font: $rds-typography-w-regular pxToRem(16) / pxToRem(21) $rds-typography-f-headline
110
+ ),
111
+ xd: (
112
+ font: $rds-typography-w-regular pxToRem(16) / pxToRem(21) $rds-typography-f-headline
113
+ )
114
+ );
115
+
116
+ $rds-typography-headline-00: (
117
+ sd: (
118
+ font: $rds-typography-w-regular pxToRem(40) / pxToRem(48) $rds-typography-f-headline
119
+ ),
120
+ md: (
121
+ font: $rds-typography-w-regular pxToRem(56) / pxToRem(68) $rds-typography-f-headline
122
+ ),
123
+ ld: (
124
+ font: $rds-typography-w-regular pxToRem(64) / pxToRem(80) $rds-typography-f-headline
125
+ ),
126
+ xd: (
127
+ font: $rds-typography-w-regular pxToRem(72) / pxToRem(92) $rds-typography-f-headline
128
+ )
129
+ );
130
+
131
+ $rds-typography-headline-01: (
132
+ sd: (
133
+ font: $rds-typography-w-regular pxToRem(36) / pxToRem(44) $rds-typography-f-headline
134
+ ),
135
+ md: (
136
+ font: $rds-typography-w-regular pxToRem(40) / pxToRem(48) $rds-typography-f-headline
137
+ ),
138
+ ld: (
139
+ font: $rds-typography-w-regular pxToRem(56) / pxToRem(68) $rds-typography-f-headline
140
+ ),
141
+ xd: (
142
+ font: $rds-typography-w-regular pxToRem(64) / pxToRem(80) $rds-typography-f-headline
143
+ )
144
+ );
145
+
146
+ $rds-typography-headline-02: (
147
+ sd: (
148
+ font: $rds-typography-w-regular pxToRem(28) / pxToRem(34) $rds-typography-f-headline
149
+ ),
150
+ md: (
151
+ font: $rds-typography-w-regular pxToRem(32) / pxToRem(38) $rds-typography-f-headline
152
+ ),
153
+ ld: (
154
+ font: $rds-typography-w-regular pxToRem(40) / pxToRem(50) $rds-typography-f-headline
155
+ ),
156
+ xd: (
157
+ font: $rds-typography-w-regular pxToRem(48) / pxToRem(58) $rds-typography-f-headline
158
+ )
159
+ );
160
+
161
+ $rds-typography-headline-03: (
162
+ sd: (
163
+ font: $rds-typography-w-regular pxToRem(24) / pxToRem(29) $rds-typography-f-headline
164
+ ),
165
+ md: (
166
+ font: $rds-typography-w-regular pxToRem(20) / pxToRem(26) $rds-typography-f-headline
167
+ ),
168
+ ld: (
169
+ font: $rds-typography-w-regular pxToRem(28) / pxToRem(34) $rds-typography-f-headline
170
+ ),
171
+ xd: (
172
+ font: $rds-typography-w-regular pxToRem(46) / pxToRem(44) $rds-typography-f-headline
173
+ )
174
+ );
175
+
176
+ $rds-typography-numbers-00: (
177
+ sd: (
178
+ font: $rds-typography-w-regular pxToRem(56) / pxToRem(68) $rds-typography-f-headline
179
+ ),
180
+ md: (
181
+ font: $rds-typography-w-regular pxToRem(56) / pxToRem(68) $rds-typography-f-headline
182
+ ),
183
+ ld: (
184
+ font: $rds-typography-w-regular pxToRem(112) / pxToRem(136) $rds-typography-f-headline
185
+ ),
186
+ xd: (
187
+ font: $rds-typography-w-regular pxToRem(112) / pxToRem(136) $rds-typography-f-headline
188
+ )
189
+ );
190
+
191
+ $rds-typography-numbers-01: (
192
+ sd: (
193
+ font: $rds-typography-w-regular pxToRem(36) / pxToRem(44) $rds-typography-f-headline
194
+ ),
195
+ md: (
196
+ font: $rds-typography-w-regular pxToRem(36) / pxToRem(44) $rds-typography-f-headline
197
+ ),
198
+ ld: (
199
+ font: $rds-typography-w-regular pxToRem(48) / pxToRem(60) $rds-typography-f-headline
200
+ ),
201
+ xd: (
202
+ font: $rds-typography-w-regular pxToRem(48) / pxToRem(60) $rds-typography-f-headline
203
+ )
204
+ );
205
+
206
+ $rds-typography-numbers-02: (
207
+ sd: (
208
+ font: $rds-typography-w-regular pxToRem(28) / pxToRem(36) $rds-typography-f-headline
209
+ ),
210
+ md: (
211
+ font: $rds-typography-w-regular pxToRem(28) / pxToRem(36) $rds-typography-f-headline
212
+ ),
213
+ ld: (
214
+ font: $rds-typography-w-regular pxToRem(40) / pxToRem(48) $rds-typography-f-headline
215
+ ),
216
+ xd: (
217
+ font: $rds-typography-w-regular pxToRem(40) / pxToRem(48) $rds-typography-f-headline
218
+ )
219
+ );
220
+
221
+ $rds-typography-numbers-03: (
222
+ sd: (
223
+ font: $rds-typography-w-regular pxToRem(24) / pxToRem(32) $rds-typography-f-headline
224
+ ),
225
+ md: (
226
+ font: $rds-typography-w-regular pxToRem(24) / pxToRem(32) $rds-typography-f-headline
227
+ ),
228
+ ld: (
229
+ font: $rds-typography-w-regular pxToRem(28) / pxToRem(36) $rds-typography-f-headline
230
+ ),
231
+ xd: (
232
+ font: $rds-typography-w-regular pxToRem(28) / pxToRem(36) $rds-typography-f-headline
233
+ )
234
+ );
235
+
236
+ $rds-types-all: (
237
+ caption-1: $rds-typography-caption-01,
238
+ caption-02: $rds-typography-caption-02,
239
+ caption-tag: $rds-typography-caption-tag,
240
+ body-01: $rds-typography-body-01,
241
+ body-02: $rds-typography-body-02,
242
+ body-01-bold: $rds-typography-body-01-underline,
243
+ body-01-underline: $rds-typography-body-01-underline,
244
+ body-02-bold: $rds-typography-body-02-underline,
245
+ body-02-underline: $rds-typography-body-02-underline,
246
+ button-01: $rds-typography-button-01,
247
+ button-02: $rds-typography-button-02,
248
+ title-01: $rds-typography-title-01,
249
+ title-02: $rds-typography-title-02,
250
+ headline-00: $rds-typography-headline-00,
251
+ headline-01: $rds-typography-headline-01,
252
+ headline-02: $rds-typography-headline-02,
253
+ headline-03: $rds-typography-headline-03,
254
+ numbers-00: $rds-typography-numbers-00,
255
+ numbers-01: $rds-typography-numbers-01,
256
+ numbers-02: $rds-typography-numbers-02,
257
+ numbers-03: $rds-typography-numbers-03
258
+ );
259
+
260
+ $rds-types-sd: (
261
+ caption-1: $rds-typography-caption-01,
262
+ caption-02: $rds-typography-caption-02,
263
+ caption-tag: $rds-typography-caption-tag,
264
+ body-01: $rds-typography-body-01,
265
+ body-02: $rds-typography-body-02,
266
+ body-01-bold: $rds-typography-body-01-bold,
267
+ body-01-underline: $rds-typography-body-01-underline,
268
+ body-02-bold: $rds-typography-body-02-bold,
269
+ body-02-underline: $rds-typography-body-02-underline,
270
+ button-01: map.get($rds-typography-button-01, sd),
271
+ button-02: map.get($rds-typography-button-02, sd),
272
+ title-01: map.get($rds-typography-title-01, sd),
273
+ title-02: map.get($rds-typography-title-02, sd),
274
+ headline-00: map.get($rds-typography-headline-00, sd),
275
+ headline-01: map.get($rds-typography-headline-01, sd),
276
+ headline-02: map.get($rds-typography-headline-02, sd),
277
+ headline-03: map.get($rds-typography-headline-03, sd),
278
+ numbers-00: map.get($rds-typography-numbers-00, sd),
279
+ numbers-01: map.get($rds-typography-numbers-01, sd),
280
+ numbers-02: map.get($rds-typography-numbers-02, sd),
281
+ numbers-03: map.get($rds-typography-numbers-03, sd)
282
+ );
283
+
284
+ $rds-types-md: (
285
+ caption-1: $rds-typography-caption-01,
286
+ caption-02: $rds-typography-caption-02,
287
+ caption-tag: $rds-typography-caption-tag,
288
+ body-01: $rds-typography-body-01,
289
+ body-02: $rds-typography-body-02,
290
+ body-01-bold: $rds-typography-body-01-bold,
291
+ body-01-underline: $rds-typography-body-01-underline,
292
+ body-02-bold: $rds-typography-body-02-bold,
293
+ body-02-underline: $rds-typography-body-02-underline,
294
+ button-01: map.get($rds-typography-button-01, md),
295
+ button-02: map.get($rds-typography-button-02, md),
296
+ title-01: map.get($rds-typography-title-01, md),
297
+ title-02: map.get($rds-typography-title-02, md),
298
+ headline-00: map.get($rds-typography-headline-00, md),
299
+ headline-01: map.get($rds-typography-headline-01, md),
300
+ headline-02: map.get($rds-typography-headline-02, md),
301
+ headline-03: map.get($rds-typography-headline-03, md),
302
+ numbers-00: map.get($rds-typography-numbers-00, md),
303
+ numbers-01: map.get($rds-typography-numbers-01, md),
304
+ numbers-02: map.get($rds-typography-numbers-02, md),
305
+ numbers-03: map.get($rds-typography-numbers-03, md)
306
+ );
307
+
308
+ $rds-types-ld: (
309
+ caption-1: $rds-typography-caption-01,
310
+ caption-02: $rds-typography-caption-02,
311
+ caption-tag: $rds-typography-caption-tag,
312
+ body-01: $rds-typography-body-01,
313
+ body-02: $rds-typography-body-02,
314
+ body-01-bold: $rds-typography-body-01-bold,
315
+ body-01-underline: $rds-typography-body-01-underline,
316
+ body-02-bold: $rds-typography-body-02-bold,
317
+ body-02-underline: $rds-typography-body-02-underline,
318
+ button-01: map.get($rds-typography-button-01, ld),
319
+ button-02: map.get($rds-typography-button-02, ld),
320
+ title-01: map.get($rds-typography-title-01, ld),
321
+ title-02: map.get($rds-typography-title-02, ld),
322
+ headline-00: map.get($rds-typography-headline-00, ld),
323
+ headline-01: map.get($rds-typography-headline-01, ld),
324
+ headline-02: map.get($rds-typography-headline-02, ld),
325
+ headline-03: map.get($rds-typography-headline-03, ld),
326
+ numbers-00: map.get($rds-typography-numbers-00, ld),
327
+ numbers-01: map.get($rds-typography-numbers-01, ld),
328
+ numbers-02: map.get($rds-typography-numbers-02, ld),
329
+ numbers-03: map.get($rds-typography-numbers-03, ld)
330
+ );
331
+
332
+ $rds-types-xd: (
333
+ caption-1: $rds-typography-caption-01,
334
+ caption-02: $rds-typography-caption-02,
335
+ caption-tag: $rds-typography-caption-tag,
336
+ body-01: $rds-typography-body-01,
337
+ body-02: $rds-typography-body-02,
338
+ body-01-bold: $rds-typography-body-01-bold,
339
+ body-01-underline: $rds-typography-body-01-underline,
340
+ body-02-bold: $rds-typography-body-02-bold,
341
+ body-02-underline: $rds-typography-body-02-underline,
342
+ button-01: map.get($rds-typography-button-01, xd),
343
+ button-02: map.get($rds-typography-button-02, xd),
344
+ title-01: map.get($rds-typography-title-01, xd),
345
+ title-02: map.get($rds-typography-title-02, xd),
346
+ headline-00: map.get($rds-typography-headline-00, xd),
347
+ headline-01: map.get($rds-typography-headline-01, xd),
348
+ headline-02: map.get($rds-typography-headline-02, xd),
349
+ headline-03: map.get($rds-typography-headline-03, xd),
350
+ numbers-00: map.get($rds-typography-numbers-00, xd),
351
+ numbers-01: map.get($rds-typography-numbers-01, xd),
352
+ numbers-02: map.get($rds-typography-numbers-02, xd),
353
+ numbers-03: map.get($rds-typography-numbers-03, xd)
354
+ );
355
+
356
+ $rds-types-fluid: (
357
+ headline-00: $rds-typography-headline-00,
358
+ headline-01: $rds-typography-headline-01,
359
+ headline-02: $rds-typography-headline-02,
360
+ headline-03: $rds-typography-headline-03,
361
+ title-01: $rds-typography-title-01,
362
+ numbers-00: map.get($rds-typography-numbers-00, md),
363
+ numbers-01: map.get($rds-typography-numbers-01, md),
364
+ numbers-02: map.get($rds-typography-numbers-02, md),
365
+ numbers-03: map.get($rds-typography-numbers-03, md)
366
+ );
367
+
368
+ /* AUTOGENERATED COMMENT - BUILD PURPOSE - START */
369
+ :root {
370
+ --f-base: 16;
371
+ --f-light: 300;
372
+ --rds-typography-w-regular: 400;
373
+ --rds-typography-w-medium: 500;
374
+ --rds-typography-w-semibold: 600;
375
+ --rds-typography-w-bold: 700;
376
+ --rds-typography-f-text: 'SoleRepsolText';
377
+ --rds-typography-f-headline: 'SoleRepsolText';
378
+ }
379
+
380
+ /* AUTOGENERATED COMMENT - BUILD PURPOSE - END */
@@ -0,0 +1 @@
1
+ /// <reference types="vite/client" />
package/dist/vite.svg ADDED
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
package/package.json ADDED
@@ -0,0 +1,97 @@
1
+ {
2
+ "name": "energy-foundations",
3
+ "version": "0.0.1-beta.2",
4
+ "config": {
5
+ "commitizen": {
6
+ "path": "node_modules/cz-customizable"
7
+ },
8
+ "cz-customizable": {
9
+ "config": ".cz-config.ts"
10
+ }
11
+ },
12
+ "devDependencies": {
13
+ "@antfu/eslint-config": "^2.19.1",
14
+ "@chromatic-com/storybook": "^1.5.0",
15
+ "@commitlint/cli": "^19.3.0",
16
+ "@commitlint/config-conventional": "^19.2.2",
17
+ "@storybook/addon-essentials": "^8.2.1",
18
+ "@storybook/addon-interactions": "^8.2.1",
19
+ "@storybook/addon-links": "^8.1.10",
20
+ "@storybook/blocks": "^8.2.1",
21
+ "@storybook/builder-vite": "^8.2.4",
22
+ "@storybook/html-vite": "^8.2.1",
23
+ "@storybook/manager-api": "^8.2.1",
24
+ "@storybook/preset-scss": "^1.0.3",
25
+ "@storybook/test": "^8.2.1",
26
+ "@storybook/theming": "^8.2.1",
27
+ "@typescript-eslint/parser": "^7.16.1",
28
+ "@vue/compiler-sfc": "^3.4.33",
29
+ "auto-changelog": "^2.4.0",
30
+ "commitizen": "^4.3.0",
31
+ "cz-customizable": "^7.0.0",
32
+ "eslint": "^9.7.0",
33
+ "eslint-plugin-storybook": "^0.8.0",
34
+ "fixpack": "^4.0.0",
35
+ "husky": "8.0.1",
36
+ "lint-staged": "^15.2.5",
37
+ "react": "^18.3.1",
38
+ "react-dom": "^18.3.1",
39
+ "release-it": "^17.3.0",
40
+ "sass": "^1.77.3",
41
+ "storybook": "^8.2.1",
42
+ "storybook-addon-sass-postcss": "^0.3.0",
43
+ "stylelint": "^14.8.1",
44
+ "stylelint-config-prettier": "^9.0.3",
45
+ "stylelint-config-recommended-scss": "^6.0.0",
46
+ "stylelint-order": "^5.0.0",
47
+ "stylelint-scss": "^4.2.0",
48
+ "typescript": "^5.2.2",
49
+ "vite": "^5.0.8",
50
+ "vite-plugin-static-copy": "0.17.0"
51
+ },
52
+ "eslintConfig": {
53
+ "extends": [
54
+ "plugin:storybook/recommended"
55
+ ]
56
+ },
57
+ "files": [
58
+ "dist/"
59
+ ],
60
+ "lint-staged": {
61
+ "*.{vue,ts}": [
62
+ "yarn lint"
63
+ ],
64
+ "*.scss": [
65
+ "yarn stylelint"
66
+ ],
67
+ "package.json": [
68
+ "fixpack --dryRun"
69
+ ]
70
+ },
71
+ "main": "./style.css",
72
+ "scripts": {
73
+ "build": "tsc && vite build",
74
+ "build-storybook": "storybook build",
75
+ "build:css": "rm -rf dist && yarn prebuild && sass --no-source-map src/global.scss:dist/index.css",
76
+ "build:foundations": "rm -rf dist && sass --no-source-map src/rds-foundations.scss:dist/rds-foundations.css",
77
+ "build:reset": "rm -rf dist && sass --no-source-map src/rds-reset.scss:dist/rds-reset.css",
78
+ "build:storybook": "storybook build",
79
+ "build:variables": "rm -rf dist && sass --no-source-map src/rds-variables.scss:dist/rds-variables.css",
80
+ "changelog": "auto-changelog --commit-limit false --unreleased --package --template ./changelog-template.hbs && git add CHANGELOG.md",
81
+ "commit": "git-cz",
82
+ "commitlint": "commitlint --edit --config=commitlint.config.ts",
83
+ "dev": "rm -rf dist && sass --no-source-map --watch src/:dist",
84
+ "lint": "eslint",
85
+ "lint:fix": "eslint --fix",
86
+ "prebuild": "./prebuild.sh",
87
+ "prepare": "husky install",
88
+ "preview": "vite preview",
89
+ "release": "release-it",
90
+ "release:autochangelog": "npx auto-changelog --output changelog.md --commit-limit false -u --template https://raw.githubusercontent.com/cookpete/auto-changelog/master/templates/keepachangelog.hbs",
91
+ "storybook": "storybook dev -p 6006",
92
+ "storybook:preview": "npx http-server storybook-static",
93
+ "stylelint": "npx stylelint '**/*.scss'",
94
+ "stylelint:fix": "npx stylelint '**/*.scss' --fix"
95
+ },
96
+ "type": "module"
97
+ }