@jjlmoya/utils-developer 1.12.0 → 1.14.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.
Files changed (50) hide show
  1. package/package.json +5 -3
  2. package/scripts/postinstall.mjs +27 -0
  3. package/src/tool/aspectRatio/aspect-ratio-calculator.css +276 -0
  4. package/src/tool/aspectRatio/component.astro +0 -278
  5. package/src/tool/calculadoraTiempoDatos/component.astro +0 -524
  6. package/src/tool/calculadoraTiempoDatos/data-time-calculator-web-speed-impact.css +522 -0
  7. package/src/tool/colorConverter/color-converter-rgb-hex-hsl.css +262 -0
  8. package/src/tool/colorConverter/component.astro +0 -264
  9. package/src/tool/conversorExcelCsvHtml/component.astro +0 -360
  10. package/src/tool/conversorExcelCsvHtml/excel-csv-html-table-converter.css +358 -0
  11. package/src/tool/cronGenerator/component.astro +0 -317
  12. package/src/tool/cronGenerator/cron.css +315 -0
  13. package/src/tool/cssSpecificityCalculator/component.astro +0 -205
  14. package/src/tool/cssSpecificityCalculator/css-specificity-calculator.css +203 -0
  15. package/src/tool/cssToInlineConverter/component.astro +0 -150
  16. package/src/tool/cssToInlineConverter/css-to-inline-converter.css +148 -0
  17. package/src/tool/duplicateCssRemover/component.astro +0 -197
  18. package/src/tool/duplicateCssRemover/duplicate-css-remover.css +195 -0
  19. package/src/tool/generadorSecurityTxt/component.astro +0 -231
  20. package/src/tool/generadorSecurityTxt/security-txt-generator-rfc-9116.css +229 -0
  21. package/src/tool/hashGenerator/component.astro +0 -229
  22. package/src/tool/hashGenerator/hash-generator.css +227 -0
  23. package/src/tool/inspectorCertificadosSsl/component.astro +0 -261
  24. package/src/tool/inspectorCertificadosSsl/ssl-tls-certificate-inspector.css +259 -0
  25. package/src/tool/jsonFormatter/component.astro +0 -346
  26. package/src/tool/jsonFormatter/json-formatter.css +344 -0
  27. package/src/tool/keycode/component.astro +0 -298
  28. package/src/tool/keycode/keycode.css +296 -0
  29. package/src/tool/llmCostCalculator/component.astro +0 -253
  30. package/src/tool/llmCostCalculator/llm-cost-calculator.css +251 -0
  31. package/src/tool/mobileMockupGenerator/component.astro +0 -906
  32. package/src/tool/mobileMockupGenerator/mobile-mockup-generator.css +904 -0
  33. package/src/tool/musicalTypography/component.astro +0 -291
  34. package/src/tool/musicalTypography/musical-typography.css +289 -0
  35. package/src/tool/placeholderGenerator/component.astro +0 -255
  36. package/src/tool/placeholderGenerator/placeholder-image-generator.css +253 -0
  37. package/src/tool/promptLibrary/component.astro +0 -689
  38. package/src/tool/promptLibrary/prompt-library.css +687 -0
  39. package/src/tool/readabilityCalculator/component.astro +0 -322
  40. package/src/tool/readabilityCalculator/visual-readability-calculator-wcag-apca.css +320 -0
  41. package/src/tool/svgSanitizer/component.astro +0 -289
  42. package/src/tool/svgSanitizer/svg-sanitizer.css +287 -0
  43. package/src/tool/svgToCss/component.astro +0 -196
  44. package/src/tool/svgToCss/svg-to-css-converter.css +194 -0
  45. package/src/tool/urlCleaner/component.astro +0 -282
  46. package/src/tool/urlCleaner/url-tracking-cleaner.css +280 -0
  47. package/src/tool/urlEncoderDecoder/component.astro +0 -168
  48. package/src/tool/urlEncoderDecoder/url-encoder-decoder.css +166 -0
  49. package/src/tool/utmGenerator/component.astro +0 -156
  50. package/src/tool/utmGenerator/utm-generator.css +154 -0
@@ -0,0 +1,262 @@
1
+ .cc-root {
2
+ width: 100%;
3
+ }
4
+
5
+ .cc-container {
6
+ display: grid;
7
+ grid-template-columns: 1fr;
8
+ gap: 2rem;
9
+ max-width: 1000px;
10
+ margin: 0 auto;
11
+ padding: 1rem;
12
+ }
13
+
14
+ @media (min-width: 1024px) {
15
+ .cc-container {
16
+ grid-template-columns: 1.2fr 0.8fr;
17
+ }
18
+ }
19
+
20
+ .cc-card {
21
+ background: rgba(255, 255, 255, 0.7);
22
+ backdrop-filter: blur(12px);
23
+ -webkit-backdrop-filter: blur(12px);
24
+ border: 1px solid rgba(255, 255, 255, 0.3);
25
+ border-radius: 1.5rem;
26
+ padding: 2rem;
27
+ display: flex;
28
+ flex-direction: column;
29
+ gap: 1.5rem;
30
+ box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
31
+ }
32
+
33
+ .theme-dark .cc-card {
34
+ background: rgba(30, 41, 59, 0.7);
35
+ border: 1px solid rgba(255, 255, 255, 0.1);
36
+ box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
37
+ }
38
+
39
+ .cc-input-grid {
40
+ display: grid;
41
+ grid-template-columns: 1fr;
42
+ gap: 1.5rem;
43
+ }
44
+
45
+ .cc-input-group {
46
+ display: flex;
47
+ flex-direction: column;
48
+ gap: 0.75rem;
49
+ }
50
+
51
+ .cc-label-row {
52
+ display: flex;
53
+ justify-content: space-between;
54
+ align-items: center;
55
+ }
56
+
57
+ .cc-label {
58
+ font-size: 0.875rem;
59
+ font-weight: 700;
60
+ color: rgb(100, 116, 139);
61
+ text-transform: uppercase;
62
+ letter-spacing: 0.05em;
63
+ }
64
+
65
+ .theme-dark .cc-label {
66
+ color: rgb(148, 163, 184);
67
+ }
68
+
69
+ .cc-text-input {
70
+ width: 100%;
71
+ background: rgba(248, 250, 252, 0.8);
72
+ border: 1px solid rgb(203, 213, 225);
73
+ border-radius: 0.75rem;
74
+ color: rgb(30, 41, 59);
75
+ padding: 0.75rem 1rem;
76
+ font-size: 1.125rem;
77
+ outline: none;
78
+ transition: all 0.2s ease;
79
+ box-sizing: border-box;
80
+ }
81
+
82
+ .theme-dark .cc-text-input {
83
+ background: rgba(15, 23, 42, 0.5);
84
+ border-color: rgb(51, 65, 85);
85
+ color: rgb(241, 245, 249);
86
+ }
87
+
88
+ .cc-text-input:focus {
89
+ border-color: rgb(99, 102, 241);
90
+ box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
91
+ }
92
+
93
+ .cc-copy-badge {
94
+ background: rgb(241, 245, 249);
95
+ border: 1px solid rgb(226, 232, 240);
96
+ color: rgb(100, 116, 139);
97
+ padding: 0.25rem 0.75rem;
98
+ border-radius: 2rem;
99
+ font-size: 0.75rem;
100
+ font-weight: 700;
101
+ cursor: pointer;
102
+ display: flex;
103
+ align-items: center;
104
+ gap: 0.375rem;
105
+ transition: all 0.2s ease;
106
+ }
107
+
108
+ .theme-dark .cc-copy-badge {
109
+ background: rgba(255, 255, 255, 0.05);
110
+ border-color: rgba(255, 255, 255, 0.1);
111
+ color: rgb(148, 163, 184);
112
+ }
113
+
114
+ .cc-copy-badge:hover {
115
+ background: rgb(238, 242, 255);
116
+ border-color: rgb(99, 102, 241);
117
+ color: rgb(79, 70, 229);
118
+ transform: translateY(-1px);
119
+ }
120
+
121
+ .theme-dark .cc-copy-badge:hover {
122
+ background: rgba(99, 102, 241, 0.1);
123
+ }
124
+
125
+ .cc-copy-badge.cc-copied,
126
+ .cc-copy-badge.cc-copied:hover {
127
+ background: rgb(240, 253, 244);
128
+ border-color: rgb(34, 197, 94);
129
+ color: rgb(22, 163, 74);
130
+ transform: none;
131
+ }
132
+
133
+ .theme-dark .cc-copy-badge.cc-copied,
134
+ .theme-dark .cc-copy-badge.cc-copied:hover {
135
+ background: rgba(34, 197, 94, 0.1);
136
+ }
137
+
138
+ .cc-sliders {
139
+ display: flex;
140
+ flex-direction: column;
141
+ gap: 1.25rem;
142
+ }
143
+
144
+ .cc-slider-group {
145
+ display: flex;
146
+ flex-direction: column;
147
+ gap: 0.5rem;
148
+ }
149
+
150
+ .cc-slider-header {
151
+ display: flex;
152
+ justify-content: space-between;
153
+ font-size: 0.75rem;
154
+ font-weight: 600;
155
+ color: rgb(148, 163, 184);
156
+ }
157
+
158
+ .cc-range {
159
+ -webkit-appearance: none;
160
+ appearance: none;
161
+ width: 100%;
162
+ height: 6px;
163
+ background: rgb(226, 232, 240);
164
+ border-radius: 3px;
165
+ outline: none;
166
+ }
167
+
168
+ .theme-dark .cc-range {
169
+ background: rgb(51, 65, 85);
170
+ }
171
+
172
+ .cc-range::-webkit-slider-thumb {
173
+ -webkit-appearance: none;
174
+ appearance: none;
175
+ width: 18px;
176
+ height: 18px;
177
+ background: rgb(99, 102, 241);
178
+ border-radius: 50%;
179
+ cursor: pointer;
180
+ transition: transform 0.1s ease;
181
+ box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
182
+ }
183
+
184
+ .cc-range:active::-webkit-slider-thumb {
185
+ transform: scale(1.2);
186
+ }
187
+
188
+ .cc-preview-section {
189
+ display: flex;
190
+ flex-direction: column;
191
+ gap: 1rem;
192
+ }
193
+
194
+ .cc-main-preview {
195
+ width: 100%;
196
+ aspect-ratio: 16/9;
197
+ border-radius: 1.25rem;
198
+ box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
199
+ position: relative;
200
+ overflow: hidden;
201
+ transition: background-color 0.2s ease;
202
+ cursor: pointer;
203
+ }
204
+
205
+ .theme-dark .cc-main-preview {
206
+ box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
207
+ }
208
+
209
+ .cc-info-overlay {
210
+ position: absolute;
211
+ bottom: 0;
212
+ left: 0;
213
+ right: 0;
214
+ background: rgba(0, 0, 0, 0.3);
215
+ backdrop-filter: blur(8px);
216
+ padding: 1rem;
217
+ color: rgb(255, 255, 255);
218
+ font-weight: 700;
219
+ display: flex;
220
+ justify-content: space-between;
221
+ align-items: center;
222
+ }
223
+
224
+ .cc-harmony-section {
225
+ display: flex;
226
+ flex-direction: column;
227
+ gap: 1rem;
228
+ }
229
+
230
+ .cc-harmony-grid {
231
+ display: grid;
232
+ grid-template-columns: repeat(5, 1fr);
233
+ gap: 0.75rem;
234
+ }
235
+
236
+ .cc-harmony-item {
237
+ display: flex;
238
+ flex-direction: column;
239
+ gap: 0.5rem;
240
+ align-items: center;
241
+ }
242
+
243
+ .cc-harmony-color {
244
+ width: 100%;
245
+ aspect-ratio: 1;
246
+ border-radius: 0.75rem;
247
+ cursor: pointer;
248
+ transition: transform 0.2s ease;
249
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
250
+ }
251
+
252
+ .cc-harmony-color:hover {
253
+ transform: scale(1.08);
254
+ }
255
+
256
+ .cc-harmony-label {
257
+ font-size: 0.6rem;
258
+ font-weight: 700;
259
+ color: rgb(148, 163, 184);
260
+ text-transform: uppercase;
261
+ text-align: center;
262
+ }
@@ -112,270 +112,6 @@ const t = (ui ?? {}) as ColorConverterUI;
112
112
  </div>
113
113
  </div>
114
114
 
115
- <style>
116
- .cc-root {
117
- width: 100%;
118
- }
119
-
120
- .cc-container {
121
- display: grid;
122
- grid-template-columns: 1fr;
123
- gap: 2rem;
124
- max-width: 1000px;
125
- margin: 0 auto;
126
- padding: 1rem;
127
- }
128
-
129
- @media (min-width: 1024px) {
130
- .cc-container {
131
- grid-template-columns: 1.2fr 0.8fr;
132
- }
133
- }
134
-
135
- .cc-card {
136
- background: rgba(255, 255, 255, 0.7);
137
- backdrop-filter: blur(12px);
138
- -webkit-backdrop-filter: blur(12px);
139
- border: 1px solid rgba(255, 255, 255, 0.3);
140
- border-radius: 1.5rem;
141
- padding: 2rem;
142
- display: flex;
143
- flex-direction: column;
144
- gap: 1.5rem;
145
- box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
146
- }
147
-
148
- :global(.theme-dark) .cc-card {
149
- background: rgba(30, 41, 59, 0.7);
150
- border: 1px solid rgba(255, 255, 255, 0.1);
151
- box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
152
- }
153
-
154
- .cc-input-grid {
155
- display: grid;
156
- grid-template-columns: 1fr;
157
- gap: 1.5rem;
158
- }
159
-
160
- .cc-input-group {
161
- display: flex;
162
- flex-direction: column;
163
- gap: 0.75rem;
164
- }
165
-
166
- .cc-label-row {
167
- display: flex;
168
- justify-content: space-between;
169
- align-items: center;
170
- }
171
-
172
- .cc-label {
173
- font-size: 0.875rem;
174
- font-weight: 700;
175
- color: rgb(100, 116, 139);
176
- text-transform: uppercase;
177
- letter-spacing: 0.05em;
178
- }
179
-
180
- :global(.theme-dark) .cc-label {
181
- color: rgb(148, 163, 184);
182
- }
183
-
184
- .cc-text-input {
185
- width: 100%;
186
- background: rgba(248, 250, 252, 0.8);
187
- border: 1px solid rgb(203, 213, 225);
188
- border-radius: 0.75rem;
189
- color: rgb(30, 41, 59);
190
- padding: 0.75rem 1rem;
191
- font-size: 1.125rem;
192
- outline: none;
193
- transition: all 0.2s ease;
194
- box-sizing: border-box;
195
- }
196
-
197
- :global(.theme-dark) .cc-text-input {
198
- background: rgba(15, 23, 42, 0.5);
199
- border-color: rgb(51, 65, 85);
200
- color: rgb(241, 245, 249);
201
- }
202
-
203
- .cc-text-input:focus {
204
- border-color: rgb(99, 102, 241);
205
- box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
206
- }
207
-
208
- .cc-copy-badge {
209
- background: rgb(241, 245, 249);
210
- border: 1px solid rgb(226, 232, 240);
211
- color: rgb(100, 116, 139);
212
- padding: 0.25rem 0.75rem;
213
- border-radius: 2rem;
214
- font-size: 0.75rem;
215
- font-weight: 700;
216
- cursor: pointer;
217
- display: flex;
218
- align-items: center;
219
- gap: 0.375rem;
220
- transition: all 0.2s ease;
221
- }
222
-
223
- :global(.theme-dark) .cc-copy-badge {
224
- background: rgba(255, 255, 255, 0.05);
225
- border-color: rgba(255, 255, 255, 0.1);
226
- color: rgb(148, 163, 184);
227
- }
228
-
229
- .cc-copy-badge:hover {
230
- background: rgb(238, 242, 255);
231
- border-color: rgb(99, 102, 241);
232
- color: rgb(79, 70, 229);
233
- transform: translateY(-1px);
234
- }
235
-
236
- :global(.theme-dark) .cc-copy-badge:hover {
237
- background: rgba(99, 102, 241, 0.1);
238
- }
239
-
240
- .cc-copy-badge.cc-copied,
241
- .cc-copy-badge.cc-copied:hover {
242
- background: rgb(240, 253, 244);
243
- border-color: rgb(34, 197, 94);
244
- color: rgb(22, 163, 74);
245
- transform: none;
246
- }
247
-
248
- :global(.theme-dark) .cc-copy-badge.cc-copied,
249
- :global(.theme-dark) .cc-copy-badge.cc-copied:hover {
250
- background: rgba(34, 197, 94, 0.1);
251
- }
252
-
253
- .cc-sliders {
254
- display: flex;
255
- flex-direction: column;
256
- gap: 1.25rem;
257
- }
258
-
259
- .cc-slider-group {
260
- display: flex;
261
- flex-direction: column;
262
- gap: 0.5rem;
263
- }
264
-
265
- .cc-slider-header {
266
- display: flex;
267
- justify-content: space-between;
268
- font-size: 0.75rem;
269
- font-weight: 600;
270
- color: rgb(148, 163, 184);
271
- }
272
-
273
- .cc-range {
274
- -webkit-appearance: none;
275
- appearance: none;
276
- width: 100%;
277
- height: 6px;
278
- background: rgb(226, 232, 240);
279
- border-radius: 3px;
280
- outline: none;
281
- }
282
-
283
- :global(.theme-dark) .cc-range {
284
- background: rgb(51, 65, 85);
285
- }
286
-
287
- .cc-range::-webkit-slider-thumb {
288
- -webkit-appearance: none;
289
- appearance: none;
290
- width: 18px;
291
- height: 18px;
292
- background: rgb(99, 102, 241);
293
- border-radius: 50%;
294
- cursor: pointer;
295
- transition: transform 0.1s ease;
296
- box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
297
- }
298
-
299
- .cc-range:active::-webkit-slider-thumb {
300
- transform: scale(1.2);
301
- }
302
-
303
- .cc-preview-section {
304
- display: flex;
305
- flex-direction: column;
306
- gap: 1rem;
307
- }
308
-
309
- .cc-main-preview {
310
- width: 100%;
311
- aspect-ratio: 16/9;
312
- border-radius: 1.25rem;
313
- box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
314
- position: relative;
315
- overflow: hidden;
316
- transition: background-color 0.2s ease;
317
- cursor: pointer;
318
- }
319
-
320
- :global(.theme-dark) .cc-main-preview {
321
- box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
322
- }
323
-
324
- .cc-info-overlay {
325
- position: absolute;
326
- bottom: 0;
327
- left: 0;
328
- right: 0;
329
- background: rgba(0, 0, 0, 0.3);
330
- backdrop-filter: blur(8px);
331
- padding: 1rem;
332
- color: rgb(255, 255, 255);
333
- font-weight: 700;
334
- display: flex;
335
- justify-content: space-between;
336
- align-items: center;
337
- }
338
-
339
- .cc-harmony-section {
340
- display: flex;
341
- flex-direction: column;
342
- gap: 1rem;
343
- }
344
-
345
- .cc-harmony-grid {
346
- display: grid;
347
- grid-template-columns: repeat(5, 1fr);
348
- gap: 0.75rem;
349
- }
350
-
351
- .cc-harmony-item {
352
- display: flex;
353
- flex-direction: column;
354
- gap: 0.5rem;
355
- align-items: center;
356
- }
357
-
358
- .cc-harmony-color {
359
- width: 100%;
360
- aspect-ratio: 1;
361
- border-radius: 0.75rem;
362
- cursor: pointer;
363
- transition: transform 0.2s ease;
364
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
365
- }
366
-
367
- .cc-harmony-color:hover {
368
- transform: scale(1.08);
369
- }
370
-
371
- .cc-harmony-label {
372
- font-size: 0.6rem;
373
- font-weight: 700;
374
- color: rgb(148, 163, 184);
375
- text-transform: uppercase;
376
- text-align: center;
377
- }
378
- </style>
379
115
 
380
116
  <script>
381
117
  import type { ColorConverterUI } from './ui';