nhsuk-tools-chart-components-react 1.1.5 → 1.1.7
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/dist/cjs/bundle.css +111 -111
- package/dist/esm/bundle.css +48 -48
- package/package.json +1 -1
package/dist/cjs/bundle.css
CHANGED
|
@@ -15,6 +15,19 @@
|
|
|
15
15
|
margin-bottom: 3px;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
+
.nhsuk-bar-slider-graph {
|
|
19
|
+
position: relative;
|
|
20
|
+
outline: 1px solid black;
|
|
21
|
+
margin-top: 20px;
|
|
22
|
+
display: flex;
|
|
23
|
+
height: 28px;
|
|
24
|
+
}
|
|
25
|
+
@media (min-width: 320px) and (max-width: 641px) {
|
|
26
|
+
.nhsuk-bar-slider-graph {
|
|
27
|
+
height: 24px;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
18
31
|
.nhsuk-bar-slider-arrow-marker {
|
|
19
32
|
position: absolute;
|
|
20
33
|
height: 16px;
|
|
@@ -59,19 +72,6 @@
|
|
|
59
72
|
margin-right: 2px;
|
|
60
73
|
}
|
|
61
74
|
|
|
62
|
-
.nhsuk-bar-slider-graph {
|
|
63
|
-
position: relative;
|
|
64
|
-
outline: 1px solid black;
|
|
65
|
-
margin-top: 20px;
|
|
66
|
-
display: flex;
|
|
67
|
-
height: 28px;
|
|
68
|
-
}
|
|
69
|
-
@media (min-width: 320px) and (max-width: 641px) {
|
|
70
|
-
.nhsuk-bar-slider-graph {
|
|
71
|
-
height: 24px;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
75
|
.nhsuk-bmi-classification-underweight, .nhsuk-bmi-legend-key-classification-underweight {
|
|
76
76
|
background: #330072;
|
|
77
77
|
}
|
|
@@ -88,17 +88,14 @@
|
|
|
88
88
|
background: repeating-linear-gradient(45deg, #da5147, #da5147 4.5px, #d5281b 4.5px, #d5281b 9px);
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
-
.nhsuk-bmi-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
display: flex;
|
|
95
|
-
height: 28px;
|
|
96
|
-
margin-bottom: nhsuk-spacing(4);
|
|
91
|
+
.nhsuk-bmi-legend-key-classification-obese {
|
|
92
|
+
border-bottom: none;
|
|
93
|
+
box-shadow: none;
|
|
97
94
|
}
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
95
|
+
|
|
96
|
+
.nhsuk-bmi-legend-key-marker {
|
|
97
|
+
border-bottom: none;
|
|
98
|
+
box-shadow: none;
|
|
102
99
|
}
|
|
103
100
|
|
|
104
101
|
.nhsuk-bmi-classification-underweight, .nhsuk-bmi-legend-key-classification-underweight {
|
|
@@ -117,14 +114,17 @@
|
|
|
117
114
|
background: repeating-linear-gradient(45deg, #da5147, #da5147 4.5px, #d5281b 4.5px, #d5281b 9px);
|
|
118
115
|
}
|
|
119
116
|
|
|
120
|
-
.nhsuk-bmi-
|
|
121
|
-
|
|
122
|
-
|
|
117
|
+
.nhsuk-bmi-graph {
|
|
118
|
+
position: relative;
|
|
119
|
+
outline: 1px solid black;
|
|
120
|
+
display: flex;
|
|
121
|
+
height: 28px;
|
|
122
|
+
margin-bottom: nhsuk-spacing(4);
|
|
123
123
|
}
|
|
124
|
-
|
|
125
|
-
.nhsuk-bmi-
|
|
126
|
-
|
|
127
|
-
|
|
124
|
+
@media (min-width: 320px) and (max-width: 641px) {
|
|
125
|
+
.nhsuk-bmi-graph {
|
|
126
|
+
height: 24px;
|
|
127
|
+
}
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
.nhsuk-bmi-chart-marker {
|
|
@@ -300,6 +300,28 @@
|
|
|
300
300
|
box-shadow: none;
|
|
301
301
|
}
|
|
302
302
|
|
|
303
|
+
.nhsuk-bp-graph-marker {
|
|
304
|
+
position: absolute;
|
|
305
|
+
z-index: 6;
|
|
306
|
+
height: 24px;
|
|
307
|
+
width: 24px;
|
|
308
|
+
margin: 0 0 -12px -12px;
|
|
309
|
+
}
|
|
310
|
+
@media (max-width: 320px) {
|
|
311
|
+
.nhsuk-bp-graph-marker {
|
|
312
|
+
height: 20px;
|
|
313
|
+
width: 20px;
|
|
314
|
+
margin: 0 0 -10px -10px;
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
@media (min-width: 320px) and (max-width: 641px) {
|
|
318
|
+
.nhsuk-bp-graph-marker {
|
|
319
|
+
height: 22px;
|
|
320
|
+
width: 22px;
|
|
321
|
+
margin: 0 0 -11px -11px;
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
|
|
303
325
|
.nhsuk-bp-diastolic-axis-marker, .nhsuk-bp-systolic-axis-marker {
|
|
304
326
|
position: absolute;
|
|
305
327
|
outline: 0.5px solid black;
|
|
@@ -411,42 +433,45 @@
|
|
|
411
433
|
z-index: 0;
|
|
412
434
|
}
|
|
413
435
|
|
|
414
|
-
.nhsuk-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
}
|
|
421
|
-
|
|
422
|
-
.nhsuk-cbmi-classification-underweight, .nhsuk-cbmi-legend-key-classification-underweight {
|
|
423
|
-
background: #330072;
|
|
436
|
+
.nhsuk-bp-graph-cell {
|
|
437
|
+
flex-grow: 1;
|
|
438
|
+
border-bottom: 1px solid white;
|
|
439
|
+
border-left: 1px solid white;
|
|
440
|
+
background: transparent;
|
|
441
|
+
z-index: 4;
|
|
424
442
|
}
|
|
425
443
|
|
|
426
|
-
.nhsuk-
|
|
444
|
+
.nhsuk-bp-first-in-column {
|
|
427
445
|
border-bottom: none;
|
|
428
|
-
box-shadow: none;
|
|
429
446
|
}
|
|
430
447
|
|
|
431
|
-
.nhsuk-
|
|
432
|
-
border-
|
|
433
|
-
margin-bottom: 2px;
|
|
448
|
+
.nhsuk-bp-first-in-row {
|
|
449
|
+
border-left: none;
|
|
434
450
|
}
|
|
435
451
|
|
|
436
|
-
.nhsuk-cbmi-legend-
|
|
437
|
-
|
|
452
|
+
.nhsuk-cbmi-classification-healthy, .nhsuk-cbmi-legend-key-classification-healthy {
|
|
453
|
+
background: repeating-linear-gradient(-45deg, #30b4ab, #30b4ab 4.5px, #00a499 4.5px, #00a499 9px);
|
|
438
454
|
}
|
|
439
455
|
|
|
440
|
-
.nhsuk-cbmi-classification-
|
|
441
|
-
|
|
456
|
+
.nhsuk-cbmi-classification-overweight, .nhsuk-cbmi-legend-key-classification-overweight {
|
|
457
|
+
background: #ffb81c;
|
|
442
458
|
}
|
|
443
459
|
|
|
444
|
-
.nhsuk-cbmi-classification-
|
|
445
|
-
|
|
460
|
+
.nhsuk-cbmi-classification-underweight, .nhsuk-cbmi-legend-key-classification-underweight {
|
|
461
|
+
background: #330072;
|
|
446
462
|
}
|
|
447
463
|
|
|
448
|
-
.nhsuk-cbmi-
|
|
449
|
-
|
|
464
|
+
.nhsuk-cbmi-graph {
|
|
465
|
+
position: relative;
|
|
466
|
+
outline: 1px solid black;
|
|
467
|
+
margin-top: 20px;
|
|
468
|
+
display: flex;
|
|
469
|
+
height: 28px;
|
|
470
|
+
}
|
|
471
|
+
@media (min-width: 320px) and (max-width: 641px) {
|
|
472
|
+
.nhsuk-cbmi-graph {
|
|
473
|
+
height: 24px;
|
|
474
|
+
}
|
|
450
475
|
}
|
|
451
476
|
|
|
452
477
|
.nhsuk-cbmi-classification-healthy, .nhsuk-cbmi-legend-key-classification-healthy {
|
|
@@ -496,39 +521,41 @@
|
|
|
496
521
|
background: #330072;
|
|
497
522
|
}
|
|
498
523
|
|
|
499
|
-
.nhsuk-cbmi-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
outline: 1px solid black;
|
|
503
|
-
height: 28px;
|
|
524
|
+
.nhsuk-cbmi-legend-key-classification-overweight {
|
|
525
|
+
border-bottom: none;
|
|
526
|
+
box-shadow: none;
|
|
504
527
|
}
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
528
|
+
|
|
529
|
+
.nhsuk-cbmi-legend-key, .nhsuk-cbmi-legend-key-classification-underweight, .nhsuk-cbmi-legend-key-classification-healthy, .nhsuk-cbmi-legend-key-classification-overweight {
|
|
530
|
+
border-bottom: 2px solid white;
|
|
531
|
+
margin-bottom: 2px;
|
|
509
532
|
}
|
|
510
533
|
|
|
511
|
-
.nhsuk-cbmi-
|
|
512
|
-
|
|
534
|
+
.nhsuk-cbmi-legend-marker {
|
|
535
|
+
margin-bottom: 2px;
|
|
513
536
|
}
|
|
514
537
|
|
|
515
|
-
.nhsuk-cbmi-classification-
|
|
516
|
-
|
|
538
|
+
.nhsuk-cbmi-classification-underweight-heading {
|
|
539
|
+
border-left: 8px solid #330072;
|
|
517
540
|
}
|
|
518
541
|
|
|
519
|
-
.nhsuk-cbmi-classification-
|
|
520
|
-
|
|
542
|
+
.nhsuk-cbmi-classification-healthy-heading {
|
|
543
|
+
border-left: 8px solid #30b4ab;
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
.nhsuk-cbmi-classification-overweight-heading {
|
|
547
|
+
border-left: 8px solid #ffb81c;
|
|
521
548
|
}
|
|
522
549
|
|
|
523
|
-
.nhsuk-cbmi-
|
|
550
|
+
.nhsuk-cbmi-classification-healthy, .nhsuk-cbmi-legend-key-classification-healthy {
|
|
524
551
|
background: repeating-linear-gradient(-45deg, #30b4ab, #30b4ab 4.5px, #00a499 4.5px, #00a499 9px);
|
|
525
552
|
}
|
|
526
553
|
|
|
527
|
-
.nhsuk-cbmi-
|
|
554
|
+
.nhsuk-cbmi-classification-overweight, .nhsuk-cbmi-legend-key-classification-overweight {
|
|
528
555
|
background: #ffb81c;
|
|
529
556
|
}
|
|
530
557
|
|
|
531
|
-
.nhsuk-cbmi-
|
|
558
|
+
.nhsuk-cbmi-classification-underweight, .nhsuk-cbmi-legend-key-classification-underweight {
|
|
532
559
|
background: #330072;
|
|
533
560
|
}
|
|
534
561
|
|
|
@@ -591,65 +618,38 @@
|
|
|
591
618
|
}
|
|
592
619
|
}
|
|
593
620
|
|
|
594
|
-
.nhsuk-
|
|
595
|
-
position: absolute;
|
|
596
|
-
z-index: 6;
|
|
597
|
-
height: 24px;
|
|
598
|
-
width: 24px;
|
|
599
|
-
margin: 0 0 -12px -12px;
|
|
600
|
-
}
|
|
601
|
-
@media (max-width: 320px) {
|
|
602
|
-
.nhsuk-bp-graph-marker {
|
|
603
|
-
height: 20px;
|
|
604
|
-
width: 20px;
|
|
605
|
-
margin: 0 0 -10px -10px;
|
|
606
|
-
}
|
|
607
|
-
}
|
|
608
|
-
@media (min-width: 320px) and (max-width: 641px) {
|
|
609
|
-
.nhsuk-bp-graph-marker {
|
|
610
|
-
height: 22px;
|
|
611
|
-
width: 22px;
|
|
612
|
-
margin: 0 0 -11px -11px;
|
|
613
|
-
}
|
|
614
|
-
}
|
|
615
|
-
|
|
616
|
-
.nhsuk-cbmi-legend-key-classification-healthy, .nhsuk-cbmi-classification-healthy {
|
|
621
|
+
.nhsuk-cbmi-classification-healthy, .nhsuk-cbmi-legend-key-classification-healthy {
|
|
617
622
|
background: repeating-linear-gradient(-45deg, #30b4ab, #30b4ab 4.5px, #00a499 4.5px, #00a499 9px);
|
|
618
623
|
}
|
|
619
624
|
|
|
620
|
-
.nhsuk-cbmi-
|
|
625
|
+
.nhsuk-cbmi-classification-overweight, .nhsuk-cbmi-legend-key-classification-overweight {
|
|
621
626
|
background: #ffb81c;
|
|
622
627
|
}
|
|
623
628
|
|
|
624
|
-
.nhsuk-cbmi-
|
|
629
|
+
.nhsuk-cbmi-classification-underweight, .nhsuk-cbmi-legend-key-classification-underweight {
|
|
625
630
|
background: #330072;
|
|
626
631
|
}
|
|
627
632
|
|
|
628
|
-
.nhsuk-cbmi-
|
|
629
|
-
position:
|
|
633
|
+
.nhsuk-cbmi-classification-overweight, .nhsuk-cbmi-classification-healthy, .nhsuk-cbmi-classification-underweight {
|
|
634
|
+
position: absolute;
|
|
635
|
+
bottom: 0%;
|
|
630
636
|
outline: 1px solid black;
|
|
631
|
-
margin-top: 20px;
|
|
632
|
-
display: flex;
|
|
633
637
|
height: 28px;
|
|
634
638
|
}
|
|
635
639
|
@media (min-width: 320px) and (max-width: 641px) {
|
|
636
|
-
.nhsuk-cbmi-
|
|
640
|
+
.nhsuk-cbmi-classification-overweight, .nhsuk-cbmi-classification-healthy, .nhsuk-cbmi-classification-underweight {
|
|
637
641
|
height: 24px;
|
|
638
642
|
}
|
|
639
643
|
}
|
|
640
644
|
|
|
641
|
-
.nhsuk-
|
|
642
|
-
|
|
643
|
-
border-bottom: 1px solid white;
|
|
644
|
-
border-left: 1px solid white;
|
|
645
|
-
background: transparent;
|
|
646
|
-
z-index: 4;
|
|
645
|
+
.nhsuk-cbmi-classification-underweight {
|
|
646
|
+
z-index: 3;
|
|
647
647
|
}
|
|
648
648
|
|
|
649
|
-
.nhsuk-
|
|
650
|
-
|
|
649
|
+
.nhsuk-cbmi-classification-healthy {
|
|
650
|
+
z-index: 2;
|
|
651
651
|
}
|
|
652
652
|
|
|
653
|
-
.nhsuk-
|
|
654
|
-
|
|
653
|
+
.nhsuk-cbmi-classification-overweight {
|
|
654
|
+
z-index: 1;
|
|
655
655
|
}
|
package/dist/esm/bundle.css
CHANGED
|
@@ -15,6 +15,19 @@
|
|
|
15
15
|
margin-bottom: 3px;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
+
.nhsuk-bar-slider-graph {
|
|
19
|
+
position: relative;
|
|
20
|
+
outline: 1px solid black;
|
|
21
|
+
margin-top: 20px;
|
|
22
|
+
display: flex;
|
|
23
|
+
height: 28px;
|
|
24
|
+
}
|
|
25
|
+
@media (min-width: 320px) and (max-width: 641px) {
|
|
26
|
+
.nhsuk-bar-slider-graph {
|
|
27
|
+
height: 24px;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
18
31
|
.nhsuk-bar-slider-arrow-marker {
|
|
19
32
|
position: absolute;
|
|
20
33
|
height: 16px;
|
|
@@ -59,19 +72,6 @@
|
|
|
59
72
|
margin-right: 2px;
|
|
60
73
|
}
|
|
61
74
|
|
|
62
|
-
.nhsuk-bar-slider-graph {
|
|
63
|
-
position: relative;
|
|
64
|
-
outline: 1px solid black;
|
|
65
|
-
margin-top: 20px;
|
|
66
|
-
display: flex;
|
|
67
|
-
height: 28px;
|
|
68
|
-
}
|
|
69
|
-
@media (min-width: 320px) and (max-width: 641px) {
|
|
70
|
-
.nhsuk-bar-slider-graph {
|
|
71
|
-
height: 24px;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
75
|
.nhsuk-bmi-classification-underweight, .nhsuk-bmi-legend-key-classification-underweight {
|
|
76
76
|
background: #330072;
|
|
77
77
|
}
|
|
@@ -524,6 +524,41 @@
|
|
|
524
524
|
background: #330072;
|
|
525
525
|
}
|
|
526
526
|
|
|
527
|
+
.nhsuk-cbmi-axis-marker {
|
|
528
|
+
border: 1px solid black;
|
|
529
|
+
position: absolute;
|
|
530
|
+
bottom: -5px;
|
|
531
|
+
margin-left: -0.5px;
|
|
532
|
+
box-shadow: 0px 0px white inset, 1px 0px white, -1px 0px white;
|
|
533
|
+
z-index: 100;
|
|
534
|
+
height: 33px;
|
|
535
|
+
}
|
|
536
|
+
@media (min-width: 320px) and (max-width: 641px) {
|
|
537
|
+
.nhsuk-cbmi-axis-marker {
|
|
538
|
+
height: 29px;
|
|
539
|
+
}
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
.nhsuk-cbmi-axis-marker-label {
|
|
543
|
+
position: absolute;
|
|
544
|
+
bottom: -25px;
|
|
545
|
+
left: -10px;
|
|
546
|
+
width: 20px;
|
|
547
|
+
text-align: center;
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
.nhsuk-cbmi-classification-healthy, .nhsuk-cbmi-legend-key-classification-healthy {
|
|
551
|
+
background: repeating-linear-gradient(-45deg, #30b4ab, #30b4ab 4.5px, #00a499 4.5px, #00a499 9px);
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
.nhsuk-cbmi-classification-overweight, .nhsuk-cbmi-legend-key-classification-overweight {
|
|
555
|
+
background: #ffb81c;
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
.nhsuk-cbmi-classification-underweight, .nhsuk-cbmi-legend-key-classification-underweight {
|
|
559
|
+
background: #330072;
|
|
560
|
+
}
|
|
561
|
+
|
|
527
562
|
.nhsuk-cbmi-chart-arrow-marker {
|
|
528
563
|
position: absolute;
|
|
529
564
|
z-index: 4;
|
|
@@ -595,41 +630,6 @@
|
|
|
595
630
|
background: #330072;
|
|
596
631
|
}
|
|
597
632
|
|
|
598
|
-
.nhsuk-cbmi-axis-marker {
|
|
599
|
-
border: 1px solid black;
|
|
600
|
-
position: absolute;
|
|
601
|
-
bottom: -5px;
|
|
602
|
-
margin-left: -0.5px;
|
|
603
|
-
box-shadow: 0px 0px white inset, 1px 0px white, -1px 0px white;
|
|
604
|
-
z-index: 100;
|
|
605
|
-
height: 33px;
|
|
606
|
-
}
|
|
607
|
-
@media (min-width: 320px) and (max-width: 641px) {
|
|
608
|
-
.nhsuk-cbmi-axis-marker {
|
|
609
|
-
height: 29px;
|
|
610
|
-
}
|
|
611
|
-
}
|
|
612
|
-
|
|
613
|
-
.nhsuk-cbmi-axis-marker-label {
|
|
614
|
-
position: absolute;
|
|
615
|
-
bottom: -25px;
|
|
616
|
-
left: -10px;
|
|
617
|
-
width: 20px;
|
|
618
|
-
text-align: center;
|
|
619
|
-
}
|
|
620
|
-
|
|
621
|
-
.nhsuk-cbmi-classification-healthy, .nhsuk-cbmi-legend-key-classification-healthy {
|
|
622
|
-
background: repeating-linear-gradient(-45deg, #30b4ab, #30b4ab 4.5px, #00a499 4.5px, #00a499 9px);
|
|
623
|
-
}
|
|
624
|
-
|
|
625
|
-
.nhsuk-cbmi-classification-overweight, .nhsuk-cbmi-legend-key-classification-overweight {
|
|
626
|
-
background: #ffb81c;
|
|
627
|
-
}
|
|
628
|
-
|
|
629
|
-
.nhsuk-cbmi-classification-underweight, .nhsuk-cbmi-legend-key-classification-underweight {
|
|
630
|
-
background: #330072;
|
|
631
|
-
}
|
|
632
|
-
|
|
633
633
|
.nhsuk-cbmi-classification-overweight, .nhsuk-cbmi-classification-healthy, .nhsuk-cbmi-classification-underweight {
|
|
634
634
|
position: absolute;
|
|
635
635
|
bottom: 0%;
|