@jjlmoya/utils-diy 1.10.0 → 1.11.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.
@@ -11,7 +11,7 @@
11
11
  --dc-border: #e5e7eb;
12
12
  }
13
13
 
14
- :global(.theme-dark) {
14
+ .theme-dark {
15
15
  --dc-primary: #818cf8;
16
16
  --dc-primary-dark: #6366f1;
17
17
  --dc-accent: #fbbf24;
@@ -33,7 +33,7 @@
33
33
  background: rgba(255, 255, 255, 0.3);
34
34
  }
35
35
 
36
- :global(.theme-dark) .dc-card {
36
+ .theme-dark .dc-card {
37
37
  background: rgba(255, 255, 255, 0.01);
38
38
  }
39
39
 
@@ -52,7 +52,7 @@
52
52
  gap: 2.5rem;
53
53
  }
54
54
 
55
- :global(.theme-dark) .dc-sidebar {
55
+ .theme-dark .dc-sidebar {
56
56
  background: rgba(255, 255, 255, 0.02);
57
57
  }
58
58
 
@@ -64,7 +64,7 @@
64
64
  background: rgba(255, 255, 255, 0.2);
65
65
  }
66
66
 
67
- :global(.theme-dark) .dc-main {
67
+ .theme-dark .dc-main {
68
68
  background: rgba(255, 255, 255, 0.005);
69
69
  }
70
70
 
@@ -82,7 +82,7 @@
82
82
  color: #6b7280;
83
83
  }
84
84
 
85
- :global(.theme-dark) .dc-field-label {
85
+ .theme-dark .dc-field-label {
86
86
  color: #9ca3af;
87
87
  }
88
88
 
@@ -124,20 +124,20 @@
124
124
  border-color: var(--dc-primary);
125
125
  }
126
126
 
127
- :global(.dc-mat-chip.active) {
127
+ .dc-mat-chip.active {
128
128
  background: white;
129
129
  border-color: var(--dc-accent);
130
130
  transform: rotate(5deg) scale(1.05);
131
131
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
132
132
  }
133
133
 
134
- :global(.theme-dark) .dc-mat-chip {
134
+ .theme-dark .dc-mat-chip {
135
135
  background: rgba(255, 255, 255, 0.05);
136
136
  border-color: rgba(255, 255, 255, 0.1);
137
137
  color: #e5e7eb;
138
138
  }
139
139
 
140
- :global(.theme-dark .dc-mat-chip.active) {
140
+ .theme-dark .dc-mat-chip.active {
141
141
  background: rgba(255, 255, 255, 0.1);
142
142
  border-color: var(--dc-accent);
143
143
  }
@@ -164,19 +164,19 @@
164
164
  border-color: var(--dc-primary);
165
165
  }
166
166
 
167
- :global(.dc-toggle-btn.active) {
167
+ .dc-toggle-btn.active {
168
168
  background: var(--dc-primary);
169
169
  border-color: var(--dc-primary);
170
170
  color: white;
171
171
  }
172
172
 
173
- :global(.theme-dark) .dc-toggle-btn {
173
+ .theme-dark .dc-toggle-btn {
174
174
  background: rgba(255, 255, 255, 0.05);
175
175
  border-color: rgba(255, 255, 255, 0.1);
176
176
  color: #e5e7eb;
177
177
  }
178
178
 
179
- :global(.theme-dark .dc-toggle-btn.active) {
179
+ .theme-dark .dc-toggle-btn.active {
180
180
  background: var(--dc-primary);
181
181
  border-color: var(--dc-primary);
182
182
  color: white;
@@ -208,14 +208,14 @@
208
208
  transition: all 0.2s;
209
209
  }
210
210
 
211
- :global(.dc-unit-btn.active) {
211
+ .dc-unit-btn.active {
212
212
  background: white;
213
213
  border-color: var(--dc-primary);
214
214
  color: var(--dc-primary);
215
215
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.15);
216
216
  }
217
217
 
218
- :global(.theme-dark) .dc-unit-btn {
218
+ .theme-dark .dc-unit-btn {
219
219
  background: rgba(255, 255, 255, 0.05);
220
220
  border-color: rgba(255, 255, 255, 0.1);
221
221
  color: #e5e7eb;
@@ -228,7 +228,7 @@
228
228
  margin-bottom: 0.5rem;
229
229
  }
230
230
 
231
- :global(.theme-dark) .dc-diameter-display {
231
+ .theme-dark .dc-diameter-display {
232
232
  color: var(--dc-primary-light);
233
233
  }
234
234
 
@@ -277,7 +277,7 @@
277
277
  padding: 1rem;
278
278
  }
279
279
 
280
- :global(.theme-dark) .dc-mode-badge {
280
+ .theme-dark .dc-mode-badge {
281
281
  background: rgba(99, 102, 241, 0.15);
282
282
  border-color: rgba(99, 102, 241, 0.3);
283
283
  }
@@ -290,7 +290,7 @@
290
290
  letter-spacing: 0.05em;
291
291
  }
292
292
 
293
- :global(.theme-dark) .dc-mode-label {
293
+ .theme-dark .dc-mode-label {
294
294
  color: var(--dc-primary-light);
295
295
  }
296
296
 
@@ -304,7 +304,7 @@
304
304
  position: relative;
305
305
  }
306
306
 
307
- :global(.dc-toggle-switch.active) {
307
+ .dc-toggle-switch.active {
308
308
  background: var(--dc-primary);
309
309
  }
310
310
 
@@ -320,7 +320,7 @@
320
320
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
321
321
  }
322
322
 
323
- :global(.dc-toggle-switch.active::after) {
323
+ .dc-toggle-switch.active::after {
324
324
  left: 26px;
325
325
  }
326
326
 
@@ -346,7 +346,7 @@
346
346
  border-style: solid;
347
347
  background: rgba(99, 102, 241, 0.05);
348
348
  }
349
- :global(.theme-dark) .dc-advanced-trigger {
349
+ .theme-dark .dc-advanced-trigger {
350
350
  background: rgba(255, 255, 255, 0.05);
351
351
  border-color: rgba(99, 102, 241, 0.3);
352
352
  color: var(--dc-primary-light);
@@ -359,7 +359,7 @@
359
359
  transition: transform 0.2s;
360
360
  }
361
361
 
362
- :global(.dc-chevron.rotate) {
362
+ .dc-chevron.rotate {
363
363
  transform: rotate(180deg);
364
364
  }
365
365
 
@@ -369,7 +369,7 @@
369
369
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
370
370
  margin-top: 0;
371
371
  }
372
- :global(.dc-advanced-body.visible) {
372
+ .dc-advanced-body.visible {
373
373
  max-height: 500px;
374
374
  margin-top: 1rem;
375
375
  }
@@ -395,7 +395,7 @@
395
395
  border-color: var(--dc-primary);
396
396
  }
397
397
 
398
- :global(.theme-dark) .dc-input {
398
+ .theme-dark .dc-input {
399
399
  background: rgba(0, 0, 0, 0.25);
400
400
  border-color: rgba(255, 255, 255, 0.1);
401
401
  color: #f9fafb;
@@ -416,7 +416,7 @@
416
416
  color: var(--dc-primary);
417
417
  }
418
418
 
419
- :global(.theme-dark) .dc-hero-label {
419
+ .theme-dark .dc-hero-label {
420
420
  color: var(--dc-primary-light);
421
421
  }
422
422
 
@@ -427,11 +427,11 @@
427
427
  line-height: 1;
428
428
  margin: 1rem 0;
429
429
  }
430
- :global(.dc-rpm-number.limited) { color: var(--dc-danger); }
431
- :global(.dc-rpm-number.slow) { color: var(--dc-accent); }
432
- :global(.dc-rpm-number.optimal) { color: var(--dc-success); }
433
- :global(.theme-dark .dc-rpm-number) { color: var(--dc-primary-light); }
434
- :global(.theme-dark .dc-rpm-number.slow) { color: var(--dc-accent-light); }
430
+ .dc-rpm-number.limited { color: var(--dc-danger); }
431
+ .dc-rpm-number.slow { color: var(--dc-accent); }
432
+ .dc-rpm-number.optimal { color: var(--dc-success); }
433
+ .theme-dark .dc-rpm-number { color: var(--dc-primary-light); }
434
+ .theme-dark .dc-rpm-number.slow { color: var(--dc-accent-light); }
435
435
 
436
436
  .dc-hero-unit {
437
437
  font-size: 0.85rem;
@@ -472,7 +472,7 @@
472
472
  gap: 0.5rem;
473
473
  }
474
474
 
475
- :global(.dc-badge) {
475
+ .dc-badge {
476
476
  display: inline-flex;
477
477
  align-items: center;
478
478
  gap: 0.5rem;
@@ -482,25 +482,25 @@
482
482
  font-weight: 700;
483
483
  }
484
484
 
485
- :global(.dc-badge-warning) {
485
+ .dc-badge-warning {
486
486
  background: rgba(99, 102, 241, 0.15);
487
487
  color: var(--dc-primary);
488
488
  }
489
489
 
490
- :global(.theme-dark .dc-badge-warning) {
490
+ .theme-dark .dc-badge-warning {
491
491
  background: rgba(99, 102, 241, 0.25);
492
492
  }
493
493
 
494
- :global(.dc-badge-alert) {
494
+ .dc-badge-alert {
495
495
  background: rgba(239, 68, 68, 0.15);
496
496
  color: var(--dc-danger);
497
497
  }
498
498
 
499
- :global(.theme-dark .dc-badge-alert) {
499
+ .theme-dark .dc-badge-alert {
500
500
  background: rgba(239, 68, 68, 0.25);
501
501
  }
502
502
 
503
- :global(.dc-badge-icon) {
503
+ .dc-badge-icon {
504
504
  width: 16px;
505
505
  height: 16px;
506
506
  display: flex;
@@ -510,14 +510,14 @@
510
510
  color: inherit;
511
511
  }
512
512
 
513
- :global(.dc-badge-icon svg) {
513
+ .dc-badge-icon svg {
514
514
  width: 100%;
515
515
  height: 100%;
516
516
  stroke: currentcolor;
517
517
  fill: currentcolor;
518
518
  }
519
519
 
520
- :global(.dc-badge-icon path) {
520
+ .dc-badge-icon path {
521
521
  stroke: currentcolor;
522
522
  fill: currentcolor;
523
523
  }
@@ -545,7 +545,7 @@
545
545
  border-color: var(--dc-border);
546
546
  }
547
547
 
548
- :global(.theme-dark) .dc-tile {
548
+ .theme-dark .dc-tile {
549
549
  background: rgba(255, 255, 255, 0.04);
550
550
  border-color: rgba(255, 255, 255, 0.06);
551
551
  }
@@ -561,7 +561,7 @@
561
561
  font-size: 2rem;
562
562
  }
563
563
 
564
- :global(.theme-dark) .dc-tile-icon {
564
+ .theme-dark .dc-tile-icon {
565
565
  color: var(--dc-primary-light);
566
566
  }
567
567
 
@@ -579,7 +579,7 @@
579
579
  letter-spacing: 0.05em;
580
580
  }
581
581
 
582
- :global(.theme-dark) .dc-tile-label {
582
+ .theme-dark .dc-tile-label {
583
583
  color: #9ca3af;
584
584
  }
585
585
 
@@ -589,7 +589,7 @@
589
589
  color: var(--dc-primary);
590
590
  }
591
591
 
592
- :global(.theme-dark) .dc-tile-value {
592
+ .theme-dark .dc-tile-value {
593
593
  color: var(--dc-primary-light);
594
594
  }
595
595
 
@@ -603,7 +603,7 @@
603
603
  gap: 1rem;
604
604
  }
605
605
 
606
- :global(.theme-dark) .dc-machine-card {
606
+ .theme-dark .dc-machine-card {
607
607
  background: rgba(255, 255, 255, 0.03);
608
608
  border-color: rgba(255, 255, 255, 0.06);
609
609
  }
@@ -627,7 +627,7 @@
627
627
  cursor: pointer;
628
628
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
629
629
  }
630
- :global(.dc-preset-btn:last-child) {
630
+ .dc-preset-btn:last-child {
631
631
  border-right: none;
632
632
  }
633
633
 
@@ -635,12 +635,12 @@
635
635
  background: rgba(99, 102, 241, 0.05);
636
636
  }
637
637
 
638
- :global(.dc-preset-btn.active) {
638
+ .dc-preset-btn.active {
639
639
  background: var(--dc-primary);
640
640
  color: white;
641
641
  }
642
642
 
643
- :global(.theme-dark) .dc-preset-btn {
643
+ .theme-dark .dc-preset-btn {
644
644
  background: rgba(255, 255, 255, 0.05);
645
645
  border-right-color: rgba(255, 255, 255, 0.1);
646
646
  color: #e5e7eb;
@@ -671,7 +671,7 @@
671
671
  background: rgba(99, 102, 241, 0.02);
672
672
  }
673
673
 
674
- :global(.theme-dark) .dc-manual-input .dc-input {
674
+ .theme-dark .dc-manual-input .dc-input {
675
675
  background: rgba(255, 255, 255, 0.08);
676
676
  color: #f9fafb;
677
677
  border-color: rgba(255, 255, 255, 0.1);
@@ -693,13 +693,13 @@
693
693
  background: var(--dc-primary-dark);
694
694
  }
695
695
 
696
- :global(.dc-chips-area) {
696
+ .dc-chips-area {
697
697
  display: flex;
698
698
  flex-wrap: wrap;
699
699
  gap: 0.5rem;
700
700
  min-height: 0;
701
701
  }
702
- :global(.dc-chip) {
702
+ .dc-chip {
703
703
  display: inline-flex;
704
704
  align-items: center;
705
705
  gap: 0.5rem;
@@ -710,11 +710,11 @@
710
710
  font-size: 0.75rem;
711
711
  font-weight: 700;
712
712
  }
713
- :global(.theme-dark .dc-chip) {
713
+ .theme-dark .dc-chip {
714
714
  background: rgba(99, 102, 241, 0.15);
715
715
  color: var(--dc-primary-light);
716
716
  }
717
- :global(.dc-chip button) {
717
+ .dc-chip button {
718
718
  background: none;
719
719
  border: none;
720
720
  color: inherit;
@@ -728,9 +728,9 @@
728
728
  justify-content: center;
729
729
  transition: color 0.2s;
730
730
  }
731
- :global(.dc-chip button:hover) { color: var(--dc-danger); }
731
+ .dc-chip button:hover { color: var(--dc-danger); }
732
732
 
733
- :global(.dc-match-box) {
733
+ .dc-match-box {
734
734
  background: rgba(99, 102, 241, 0.08);
735
735
  border: 1px solid rgba(99, 102, 241, 0.2);
736
736
  border-radius: 12px;
@@ -749,7 +749,7 @@
749
749
  transform: translateY(0);
750
750
  }
751
751
  }
752
- :global(.dc-match-header) {
752
+ .dc-match-header {
753
753
  font-size: 0.75rem;
754
754
  font-weight: 800;
755
755
  text-transform: uppercase;
@@ -758,21 +758,21 @@
758
758
  letter-spacing: 0.05em;
759
759
  }
760
760
 
761
- :global(.theme-dark .dc-match-header) {
761
+ .theme-dark .dc-match-header {
762
762
  color: var(--dc-primary-light);
763
763
  }
764
764
 
765
- :global(.dc-match-value) {
765
+ .dc-match-value {
766
766
  font-size: 1.5rem;
767
767
  font-weight: 900;
768
768
  color: var(--dc-primary);
769
769
  }
770
770
 
771
- :global(.theme-dark .dc-match-value) {
771
+ .theme-dark .dc-match-value {
772
772
  color: var(--dc-primary-light);
773
773
  }
774
774
 
775
- :global(.dc-match-hint) {
775
+ .dc-match-hint {
776
776
  font-size: 0.65rem;
777
777
  color: #6b7280;
778
778
  margin: 0.6rem 0 0;
@@ -808,6 +808,6 @@
808
808
  }
809
809
  }
810
810
 
811
- :global(.hidden) {
811
+ .hidden {
812
812
  display: none;
813
813
  }
@@ -10,7 +10,7 @@
10
10
  --drillsharp-button-hover: #cbd5e1;
11
11
  }
12
12
 
13
- :global(.theme-dark) {
13
+ .theme-dark {
14
14
  --drillsharp-primary: #38bdf8;
15
15
  --drillsharp-accent: #38bdf8;
16
16
  --drillsharp-text: #f8fafc;
@@ -509,61 +509,61 @@
509
509
  50% { transform: translateY(-4px); }
510
510
  }
511
511
 
512
- :global(.theme-dark) .ec-panel-left {
512
+ .theme-dark .ec-panel-left {
513
513
  background: rgba(15, 23, 42, 0.8);
514
514
  border-color: rgba(51, 65, 85, 0.6);
515
515
  }
516
516
 
517
- :global(.theme-dark) .ec-tabs {
517
+ .theme-dark .ec-tabs {
518
518
  background: rgba(30, 41, 59, 0.6);
519
519
  }
520
520
 
521
- :global(.theme-dark) .ec-tab-btn {
521
+ .theme-dark .ec-tab-btn {
522
522
  color: #94a3b8;
523
523
  }
524
524
 
525
- :global(.theme-dark) .ec-tab-btn[data-ec-active="true"] {
525
+ .theme-dark .ec-tab-btn[data-ec-active="true"] {
526
526
  background: #f59e0b;
527
527
  color: #0f172a;
528
528
  }
529
529
 
530
- :global(.theme-dark) .ec-input {
530
+ .theme-dark .ec-input {
531
531
  background: #1e293b;
532
532
  border-color: #334155;
533
533
  color: #e2e8f0;
534
534
  }
535
535
 
536
- :global(.theme-dark) .ec-input:focus {
536
+ .theme-dark .ec-input:focus {
537
537
  border-color: #f59e0b;
538
538
  }
539
539
 
540
- :global(.theme-dark) .ec-slider {
540
+ .theme-dark .ec-slider {
541
541
  background: #334155;
542
542
  }
543
543
 
544
- :global(.theme-dark) .ec-custom-check-row {
544
+ .theme-dark .ec-custom-check-row {
545
545
  color: #94a3b8;
546
546
  }
547
547
 
548
- :global(.theme-dark) .ec-waste-row {
548
+ .theme-dark .ec-waste-row {
549
549
  background: rgba(30, 41, 59, 0.6);
550
550
  border-color: rgba(51, 65, 85, 0.4);
551
551
  }
552
552
 
553
- :global(.theme-dark) .ec-waste-icon {
553
+ .theme-dark .ec-waste-icon {
554
554
  background: #1e293b;
555
555
  }
556
556
 
557
- :global(.theme-dark) .ec-waste-title {
557
+ .theme-dark .ec-waste-title {
558
558
  color: #e2e8f0;
559
559
  }
560
560
 
561
- :global(.theme-dark) .ec-viz-card {
561
+ .theme-dark .ec-viz-card {
562
562
  background: #1e293b;
563
563
  border-color: #334155;
564
564
  }
565
565
 
566
- :global(.theme-dark) .ec-visual-shape {
566
+ .theme-dark .ec-visual-shape {
567
567
  background: #0f172a;
568
568
  border-color: rgba(148, 163, 184, 0.15);
569
569
  }
@@ -30,7 +30,7 @@
30
30
  border: 1px solid #f1f5f9;
31
31
  }
32
32
 
33
- :global(.theme-dark) .ff-card {
33
+ .theme-dark .ff-card {
34
34
  background: #0f172a;
35
35
  border-color: #1e293b;
36
36
  }
@@ -45,7 +45,7 @@
45
45
  margin: 0 0 1.5rem;
46
46
  }
47
47
 
48
- :global(.theme-dark) .ff-card-title {
48
+ .theme-dark .ff-card-title {
49
49
  color: #fff;
50
50
  }
51
51
 
@@ -97,7 +97,7 @@
97
97
  box-shadow: 0 0 0 2px #6366f1;
98
98
  }
99
99
 
100
- :global(.theme-dark) .ff-input {
100
+ .theme-dark .ff-input {
101
101
  background: #1e293b;
102
102
  color: #fff;
103
103
  }
@@ -127,7 +127,7 @@
127
127
  margin-top: 0.5rem;
128
128
  }
129
129
 
130
- :global(.theme-dark) .ff-margin-row {
130
+ .theme-dark .ff-margin-row {
131
131
  border-color: #1e293b;
132
132
  }
133
133
 
@@ -161,7 +161,7 @@
161
161
  overflow: hidden;
162
162
  }
163
163
 
164
- :global(.theme-dark) .ff-visual-container {
164
+ .theme-dark .ff-visual-container {
165
165
  background: #020617;
166
166
  border-color: #1e293b;
167
167
  }
@@ -203,7 +203,7 @@
203
203
  height: 200px;
204
204
  }
205
205
 
206
- :global(.theme-dark) .ff-space-box {
206
+ .theme-dark .ff-space-box {
207
207
  border-color: #334155;
208
208
  }
209
209
 
@@ -264,7 +264,7 @@
264
264
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
265
265
  }
266
266
 
267
- :global(.theme-dark) .ff-verdict {
267
+ .theme-dark .ff-verdict {
268
268
  background: #1e293b;
269
269
  border-color: #475569;
270
270
  color: #fff;