@jjlmoya/utils-babies 1.13.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jjlmoya/utils-babies",
3
- "version": "1.13.0",
3
+ "version": "1.14.0",
4
4
  "type": "module",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -1,4 +1,4 @@
1
- :global(.bfc-card) {
1
+ .bfc-card {
2
2
  background: #fff;
3
3
  border: 1px solid #e2e8f0;
4
4
  border-radius: 28px;
@@ -8,7 +8,7 @@
8
8
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
9
9
  }
10
10
 
11
- :global(.theme-dark .bfc-card) {
11
+ .theme-dark .bfc-card {
12
12
  background: #111827;
13
13
  border-color: #1f2937;
14
14
  }
@@ -24,17 +24,17 @@
24
24
  border-right: 1px solid #e2e8f0;
25
25
  }
26
26
 
27
- :global(.theme-dark .bfc-left) {
27
+ .theme-dark .bfc-left {
28
28
  background: #1f2937;
29
29
  border-right-color: #374151;
30
30
  }
31
31
 
32
- :global(.bfc-right) {
32
+ .bfc-right {
33
33
  background: #fff;
34
34
  padding: 40px;
35
35
  }
36
36
 
37
- :global(.theme-dark .bfc-right) {
37
+ .theme-dark .bfc-right {
38
38
  background: #111827;
39
39
  }
40
40
 
@@ -48,7 +48,7 @@
48
48
  margin-bottom: 32px;
49
49
  }
50
50
 
51
- :global(.bfc-input-label) {
51
+ .bfc-input-label {
52
52
  display: block;
53
53
  font-size: 0.95rem;
54
54
  font-weight: 700;
@@ -56,7 +56,7 @@
56
56
  margin-bottom: 12px;
57
57
  }
58
58
 
59
- :global(.theme-dark .bfc-input-label) {
59
+ .theme-dark .bfc-input-label {
60
60
  color: #e2e8f0;
61
61
  }
62
62
 
@@ -72,11 +72,11 @@
72
72
  margin-bottom: 24px;
73
73
  }
74
74
 
75
- :global(.theme-dark .bfc-unit-nav) {
75
+ .theme-dark .bfc-unit-nav {
76
76
  background: #374151;
77
77
  }
78
78
 
79
- :global(.bfc-unit-tab) {
79
+ .bfc-unit-tab {
80
80
  flex: 1;
81
81
  padding: 8px;
82
82
  border: none;
@@ -90,17 +90,17 @@
90
90
  margin: 2px;
91
91
  }
92
92
 
93
- :global(.theme-dark .bfc-unit-tab) {
93
+ .theme-dark .bfc-unit-tab {
94
94
  background: #1f2937;
95
95
  }
96
96
 
97
- :global(.bfc-unit-active) {
97
+ .bfc-unit-active {
98
98
  background: #fff;
99
99
  color: #0d9488;
100
100
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
101
101
  }
102
102
 
103
- :global(.theme-dark .bfc-unit-active) {
103
+ .theme-dark .bfc-unit-active {
104
104
  background: #4b5563;
105
105
  color: #2dd4bf;
106
106
  }
@@ -116,12 +116,12 @@
116
116
  margin-bottom: 8px;
117
117
  }
118
118
 
119
- :global(.theme-dark .bfc-stepper-box) {
119
+ .theme-dark .bfc-stepper-box {
120
120
  background: #111827;
121
121
  border-color: #4b5563;
122
122
  }
123
123
 
124
- :global(.bfc-btn-step) {
124
+ .bfc-btn-step {
125
125
  width: 44px;
126
126
  height: 44px;
127
127
  border-radius: 12px;
@@ -134,12 +134,12 @@
134
134
  transition: all 0.2s ease;
135
135
  }
136
136
 
137
- :global(.theme-dark .bfc-btn-step) {
137
+ .theme-dark .bfc-btn-step {
138
138
  background: #374151;
139
139
  color: #f9fafb;
140
140
  }
141
141
 
142
- :global(.bfc-btn-step:hover) {
142
+ .bfc-btn-step:hover {
143
143
  background: #0d9488;
144
144
  color: #fff;
145
145
  }
@@ -148,18 +148,18 @@
148
148
  text-align: center;
149
149
  }
150
150
 
151
- :global(.bfc-val-big) {
151
+ .bfc-val-big {
152
152
  display: block;
153
153
  font-size: 2rem;
154
154
  font-weight: 800;
155
155
  color: #0f172a;
156
156
  }
157
157
 
158
- :global(.theme-dark .bfc-val-big) {
158
+ .theme-dark .bfc-val-big {
159
159
  color: #fff;
160
160
  }
161
161
 
162
- :global(.bfc-val-sub) {
162
+ .bfc-val-sub {
163
163
  display: block;
164
164
  font-size: 0.85rem;
165
165
  color: #64748b;
@@ -181,11 +181,11 @@
181
181
  outline: none;
182
182
  }
183
183
 
184
- :global(.theme-dark .bfc-slider) {
184
+ .theme-dark .bfc-slider {
185
185
  background: #374151;
186
186
  }
187
187
 
188
- :global(.bfc-slider::-webkit-slider-thumb) {
188
+ .bfc-slider::-webkit-slider-thumb {
189
189
  -webkit-appearance: none;
190
190
  appearance: none;
191
191
  width: 22px;
@@ -203,7 +203,7 @@
203
203
  gap: 12px;
204
204
  }
205
205
 
206
- :global(.bfc-type-tile) {
206
+ .bfc-type-tile {
207
207
  background: #f1f5f9;
208
208
  border: 1px solid #cbd5e1;
209
209
  border-radius: 14px;
@@ -216,19 +216,19 @@
216
216
  color: #64748b;
217
217
  }
218
218
 
219
- :global(.theme-dark .bfc-type-tile) {
219
+ .theme-dark .bfc-type-tile {
220
220
  background: #1f2937;
221
221
  border-color: #4b5563;
222
222
  }
223
223
 
224
- :global(.bfc-type-active) {
224
+ .bfc-type-active {
225
225
  background: #f0fdfa;
226
226
  border-color: #0d9488;
227
227
  color: #0f766e;
228
228
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.1);
229
229
  }
230
230
 
231
- :global(.theme-dark .bfc-type-active) {
231
+ .theme-dark .bfc-type-active {
232
232
  background: rgba(13, 148, 136, 0.1);
233
233
  color: #2dd4bf;
234
234
  border-color: #2dd4bf;
@@ -242,7 +242,7 @@
242
242
  border: 1px solid #e2e8f0;
243
243
  }
244
244
 
245
- :global(.theme-dark .bfc-gauge-area) {
245
+ .theme-dark .bfc-gauge-area {
246
246
  background: #111827;
247
247
  border-color: #374151;
248
248
  }
@@ -264,14 +264,14 @@
264
264
  box-shadow: 0 10px 25px rgba(13, 148, 136, 0.2);
265
265
  }
266
266
 
267
- :global(.bfc-visual-hint) {
267
+ .bfc-visual-hint {
268
268
  font-size: 0.95rem;
269
269
  font-weight: 600;
270
270
  color: #0f766e;
271
271
  margin: 0;
272
272
  }
273
273
 
274
- :global(.theme-dark .bfc-visual-hint) {
274
+ .theme-dark .bfc-visual-hint {
275
275
  color: #2dd4bf;
276
276
  }
277
277
 
@@ -283,11 +283,11 @@
283
283
  margin-bottom: 24px;
284
284
  }
285
285
 
286
- :global(.theme-dark .bfc-res-card-box) {
286
+ .theme-dark .bfc-res-card-box {
287
287
  background: rgba(13, 148, 136, 0.05);
288
288
  }
289
289
 
290
- :global(.bfc-res-main-val) {
290
+ .bfc-res-main-val {
291
291
  display: block;
292
292
  font-size: 3.5rem;
293
293
  font-weight: 950;
@@ -296,11 +296,11 @@
296
296
  line-height: 1;
297
297
  }
298
298
 
299
- :global(.theme-dark .bfc-res-main-val) {
299
+ .theme-dark .bfc-res-main-val {
300
300
  color: #2dd4bf;
301
301
  }
302
302
 
303
- :global(.bfc-res-label) {
303
+ .bfc-res-label {
304
304
  display: block;
305
305
  margin-top: 8px;
306
306
  font-size: 1rem;
@@ -320,11 +320,11 @@
320
320
  border-bottom: 2px solid #f1f5f9;
321
321
  }
322
322
 
323
- :global(.theme-dark .bfc-stat-item) {
323
+ .theme-dark .bfc-stat-item {
324
324
  border-bottom-color: #374151;
325
325
  }
326
326
 
327
- :global(.bfc-stat-label) {
327
+ .bfc-stat-label {
328
328
  display: block;
329
329
  font-size: 0.7rem;
330
330
  font-weight: 800;
@@ -333,13 +333,13 @@
333
333
  margin-bottom: 2px;
334
334
  }
335
335
 
336
- :global(.bfc-stat-value) {
336
+ .bfc-stat-value {
337
337
  font-size: 1.15rem;
338
338
  font-weight: 800;
339
339
  color: #334155;
340
340
  }
341
341
 
342
- :global(.theme-dark .bfc-stat-value) {
342
+ .theme-dark .bfc-stat-value {
343
343
  color: #e2e8f0;
344
344
  }
345
345
 
@@ -361,22 +361,22 @@
361
361
  border-radius: 100px;
362
362
  }
363
363
 
364
- :global(.bfc-pill-hunger) {
364
+ .bfc-pill-hunger {
365
365
  background: #fff7ed;
366
366
  color: #c2410c;
367
367
  }
368
368
 
369
- :global(.theme-dark .bfc-pill-hunger) {
369
+ .theme-dark .bfc-pill-hunger {
370
370
  background: rgba(194, 65, 12, 0.1);
371
371
  color: #fdba74;
372
372
  }
373
373
 
374
- :global(.bfc-pill-fullness) {
374
+ .bfc-pill-fullness {
375
375
  background: #f0fdf4;
376
376
  color: #15803d;
377
377
  }
378
378
 
379
- :global(.theme-dark .bfc-pill-fullness) {
379
+ .theme-dark .bfc-pill-fullness {
380
380
  background: rgba(21, 128, 61, 0.1);
381
381
  color: #4ade80;
382
382
  }
@@ -1,4 +1,4 @@
1
- :global(.bpc-card) {
1
+ .bpc-card {
2
2
  background: #fff;
3
3
  border: 1px solid #e2e8f0;
4
4
  border-radius: 32px;
@@ -10,11 +10,11 @@
10
10
  border-top: 8px solid #0ea5e9;
11
11
  }
12
12
 
13
- :global(.bpc-card:not(.bpc-boy)) {
13
+ .bpc-card:not(.bpc-boy) {
14
14
  border-top-color: #0d9488;
15
15
  }
16
16
 
17
- :global(.theme-dark .bpc-card) {
17
+ .theme-dark .bpc-card {
18
18
  background: #0f172a;
19
19
  border-color: #1e293b;
20
20
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
@@ -31,17 +31,17 @@
31
31
  border-right: 1px solid #e2e8f0;
32
32
  }
33
33
 
34
- :global(.theme-dark .bpc-left) {
34
+ .theme-dark .bpc-left {
35
35
  background: #1e293b;
36
36
  border-right-color: #334155;
37
37
  }
38
38
 
39
- :global(.bpc-right) {
39
+ .bpc-right {
40
40
  background: #fff;
41
41
  padding: 40px;
42
42
  }
43
43
 
44
- :global(.theme-dark .bpc-right) {
44
+ .theme-dark .bpc-right {
45
45
  background: #0f172a;
46
46
  }
47
47
 
@@ -55,15 +55,15 @@
55
55
  margin-bottom: 32px;
56
56
  }
57
57
 
58
- :global(.theme-dark .bpc-section-marker) {
58
+ .theme-dark .bpc-section-marker {
59
59
  color: #94a3b8;
60
60
  }
61
61
 
62
- :global(.bpc-input-group) {
62
+ .bpc-input-group {
63
63
  margin-bottom: 24px;
64
64
  }
65
65
 
66
- :global(.bpc-input-label) {
66
+ .bpc-input-label {
67
67
  display: block;
68
68
  font-size: 0.95rem;
69
69
  font-weight: 700;
@@ -71,7 +71,7 @@
71
71
  margin-bottom: 12px;
72
72
  }
73
73
 
74
- :global(.theme-dark .bpc-input-label) {
74
+ .theme-dark .bpc-input-label {
75
75
  color: #f8fafc;
76
76
  }
77
77
 
@@ -83,11 +83,11 @@
83
83
  border-radius: 14px;
84
84
  }
85
85
 
86
- :global(.theme-dark .bpc-sex-selector) {
86
+ .theme-dark .bpc-sex-selector {
87
87
  background: #334155;
88
88
  }
89
89
 
90
- :global(.bpc-sex-btn) {
90
+ .bpc-sex-btn {
91
91
  flex: 1;
92
92
  padding: 12px;
93
93
  border: none;
@@ -100,35 +100,35 @@
100
100
  transition: all 0.2s ease;
101
101
  }
102
102
 
103
- :global(.bpc-sex-btn.bpc-active) {
103
+ .bpc-sex-btn.bpc-active {
104
104
  background: #fff;
105
105
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
106
106
  }
107
107
 
108
- :global(.theme-dark .bpc-sex-btn.bpc-active) {
108
+ .theme-dark .bpc-sex-btn.bpc-active {
109
109
  background: #0f172a;
110
110
  }
111
111
 
112
- :global(.bpc-boy .bpc-sex-btn[data-sex="boy"].bpc-active) {
112
+ .bpc-boy .bpc-sex-btn[data-sex="boy"].bpc-active {
113
113
  color: #0ea5e9;
114
114
  }
115
115
 
116
- :global(.bpc-card:not(.bpc-boy) .bpc-sex-btn[data-sex="girl"].bpc-active) {
116
+ .bpc-card:not(.bpc-boy .bpc-sex-btn[data-sex="girl"].bpc-active) {
117
117
  color: #0d9488;
118
118
  }
119
119
 
120
- :global(.bpc-unit-nav) {
120
+ .bpc-unit-nav {
121
121
  display: flex;
122
122
  background: #f1f5f9;
123
123
  padding: 6px;
124
124
  border-radius: 14px;
125
125
  }
126
126
 
127
- :global(.theme-dark .bpc-unit-nav) {
127
+ .theme-dark .bpc-unit-nav {
128
128
  background: #334155;
129
129
  }
130
130
 
131
- :global(.bpc-unit-tab) {
131
+ .bpc-unit-tab {
132
132
  flex: 1;
133
133
  padding: 10px;
134
134
  border: none;
@@ -141,17 +141,17 @@
141
141
  transition: all 0.2s ease;
142
142
  }
143
143
 
144
- :global(.bpc-unit-tab.bpc-active) {
144
+ .bpc-unit-tab.bpc-active {
145
145
  background: #fff;
146
146
  color: #0d9488;
147
147
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
148
148
  }
149
149
 
150
- :global(.bpc-boy .bpc-unit-tab.bpc-active) {
150
+ .bpc-boy .bpc-unit-tab.bpc-active {
151
151
  color: #0ea5e9;
152
152
  }
153
153
 
154
- :global(.theme-dark .bpc-unit-tab.bpc-active) {
154
+ .theme-dark .bpc-unit-tab.bpc-active {
155
155
  background: #0f172a;
156
156
  }
157
157
 
@@ -166,12 +166,12 @@
166
166
  margin-bottom: 12px;
167
167
  }
168
168
 
169
- :global(.theme-dark .bpc-stepper-box) {
169
+ .theme-dark .bpc-stepper-box {
170
170
  background: #334155;
171
171
  border-color: #475569;
172
172
  }
173
173
 
174
- :global(.bpc-btn-step) {
174
+ .bpc-btn-step {
175
175
  width: 44px;
176
176
  height: 44px;
177
177
  border-radius: 12px;
@@ -184,17 +184,17 @@
184
184
  transition: all 0.2s ease;
185
185
  }
186
186
 
187
- :global(.theme-dark .bpc-btn-step) {
187
+ .theme-dark .bpc-btn-step {
188
188
  background: #0f172a;
189
189
  color: #fff;
190
190
  }
191
191
 
192
- :global(.bpc-btn-step:hover) {
192
+ .bpc-btn-step:hover {
193
193
  background: #0d9488;
194
194
  color: #fff;
195
195
  }
196
196
 
197
- :global(.bpc-boy .bpc-btn-step:hover) {
197
+ .bpc-boy .bpc-btn-step:hover {
198
198
  background: #0ea5e9;
199
199
  }
200
200
 
@@ -202,18 +202,18 @@
202
202
  text-align: center;
203
203
  }
204
204
 
205
- :global(.bpc-val-big) {
205
+ .bpc-val-big {
206
206
  display: block;
207
207
  font-size: 2.25rem;
208
208
  font-weight: 900;
209
209
  color: #0f172a;
210
210
  }
211
211
 
212
- :global(.theme-dark .bpc-val-big) {
212
+ .theme-dark .bpc-val-big {
213
213
  color: #fff;
214
214
  }
215
215
 
216
- :global(.bpc-val-sub) {
216
+ .bpc-val-sub {
217
217
  font-size: 0.8rem;
218
218
  color: #64748b;
219
219
  font-weight: 700;
@@ -230,11 +230,11 @@
230
230
  outline: none;
231
231
  }
232
232
 
233
- :global(.theme-dark .bpc-slider) {
233
+ .theme-dark .bpc-slider {
234
234
  background: #475569;
235
235
  }
236
236
 
237
- :global(.bpc-slider::-webkit-slider-thumb) {
237
+ .bpc-slider::-webkit-slider-thumb {
238
238
  -webkit-appearance: none;
239
239
  appearance: none;
240
240
  width: 24px;
@@ -246,18 +246,18 @@
246
246
  box-shadow: 0 4px 10px rgba(13, 148, 136, 0.4);
247
247
  }
248
248
 
249
- :global(.bpc-boy .bpc-slider::-webkit-slider-thumb) {
249
+ .bpc-boy .bpc-slider::-webkit-slider-thumb {
250
250
  background: #0ea5e9;
251
251
  box-shadow: 0 4px 10px rgba(14, 165, 233, 0.4);
252
252
  }
253
253
 
254
- :global(.bpc-grid-2) {
254
+ .bpc-grid-2 {
255
255
  display: grid;
256
256
  grid-template-columns: 1fr 1fr;
257
257
  gap: 16px;
258
258
  }
259
259
 
260
- :global(.bpc-num-input) {
260
+ .bpc-num-input {
261
261
  width: 100%;
262
262
  padding: 16px;
263
263
  border: 2px solid #e2e8f0;
@@ -270,19 +270,19 @@
270
270
  box-sizing: border-box;
271
271
  }
272
272
 
273
- :global(.theme-dark .bpc-num-input) {
273
+ .theme-dark .bpc-num-input {
274
274
  background: #334155;
275
275
  border-color: #475569;
276
276
  color: #fff;
277
277
  }
278
278
 
279
- :global(.bpc-num-input:focus) {
279
+ .bpc-num-input:focus {
280
280
  border-color: #0d9488;
281
281
  outline: none;
282
282
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1);
283
283
  }
284
284
 
285
- :global(.bpc-boy .bpc-num-input:focus) {
285
+ .bpc-boy .bpc-num-input:focus {
286
286
  border-color: #0ea5e9;
287
287
  }
288
288
 
@@ -326,7 +326,7 @@
326
326
  transition: all 0.2s ease;
327
327
  }
328
328
 
329
- :global(.theme-dark) .bpc-btn-clear {
329
+ .theme-dark .bpc-btn-clear {
330
330
  border-color: #334155;
331
331
  }
332
332
 
@@ -350,7 +350,7 @@
350
350
  border: 1px solid #e2e8f0;
351
351
  }
352
352
 
353
- :global(.theme-dark) .bpc-res-item {
353
+ .theme-dark .bpc-res-item {
354
354
  background: #1e293b;
355
355
  border-color: #334155;
356
356
  }
@@ -377,7 +377,7 @@
377
377
  color: #0ea5e9;
378
378
  }
379
379
 
380
- :global(.theme-dark) .bpc-percent-val {
380
+ .theme-dark .bpc-percent-val {
381
381
  color: #2dd4bf;
382
382
  }
383
383
 
@@ -399,7 +399,7 @@
399
399
  margin-bottom: 24px;
400
400
  }
401
401
 
402
- :global(.theme-dark) .bpc-alert-msg {
402
+ .theme-dark .bpc-alert-msg {
403
403
  background: rgba(154, 52, 18, 0.1);
404
404
  border-color: rgba(154, 52, 18, 0.2);
405
405
  color: #fdba74;
@@ -426,7 +426,7 @@
426
426
  font-style: italic;
427
427
  }
428
428
 
429
- :global(.theme-dark) .bpc-disclaimer {
429
+ .theme-dark .bpc-disclaimer {
430
430
  background: #1e293b;
431
431
  }
432
432