nhsuk-tools-chart-components-react 1.1.14 → 1.1.15

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.
@@ -142,21 +142,6 @@
142
142
  }
143
143
  }
144
144
 
145
- .nhsuk-bmi-axis-marker {
146
- position: absolute;
147
- outline: 0.5px solid black;
148
- height: 5px;
149
- bottom: -5px;
150
- }
151
-
152
- .nhsuk-bmi-axis-marker-label {
153
- position: absolute;
154
- bottom: -25px;
155
- left: -10px;
156
- width: 20px;
157
- text-align: center;
158
- }
159
-
160
145
  .nhsuk-bmi-classification-underweight, .nhsuk-bmi-legend-key-classification-underweight {
161
146
  background: #330072;
162
147
  }
@@ -204,6 +189,21 @@
204
189
  box-shadow: none;
205
190
  }
206
191
 
192
+ .nhsuk-bmi-axis-marker {
193
+ position: absolute;
194
+ outline: 0.5px solid black;
195
+ height: 5px;
196
+ bottom: -5px;
197
+ }
198
+
199
+ .nhsuk-bmi-axis-marker-label {
200
+ position: absolute;
201
+ bottom: -25px;
202
+ left: -10px;
203
+ width: 20px;
204
+ text-align: center;
205
+ }
206
+
207
207
  .nhsuk-bp-graph {
208
208
  position: relative;
209
209
  margin-left: 20px;
@@ -300,28 +300,6 @@
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
-
325
303
  .nhsuk-bp-diastolic-axis-marker, .nhsuk-bp-systolic-axis-marker {
326
304
  position: absolute;
327
305
  outline: 0.5px solid black;
@@ -382,6 +360,44 @@
382
360
  text-align: center;
383
361
  }
384
362
 
363
+ .nhsuk-bp-graph-marker {
364
+ position: absolute;
365
+ z-index: 6;
366
+ height: 24px;
367
+ width: 24px;
368
+ margin: 0 0 -12px -12px;
369
+ }
370
+ @media (max-width: 320px) {
371
+ .nhsuk-bp-graph-marker {
372
+ height: 20px;
373
+ width: 20px;
374
+ margin: 0 0 -10px -10px;
375
+ }
376
+ }
377
+ @media (min-width: 320px) and (max-width: 641px) {
378
+ .nhsuk-bp-graph-marker {
379
+ height: 22px;
380
+ width: 22px;
381
+ margin: 0 0 -11px -11px;
382
+ }
383
+ }
384
+
385
+ .nhsuk-bp-graph-cell {
386
+ flex-grow: 1;
387
+ border-bottom: 1px solid white;
388
+ border-left: 1px solid white;
389
+ background: transparent;
390
+ z-index: 4;
391
+ }
392
+
393
+ .nhsuk-bp-first-in-column {
394
+ border-bottom: none;
395
+ }
396
+
397
+ .nhsuk-bp-first-in-row {
398
+ border-left: none;
399
+ }
400
+
385
401
  .nhsuk-bp-classification-low, .nhsuk-bp-legend-key-classification-low {
386
402
  background: #330072;
387
403
  }
@@ -433,56 +449,53 @@
433
449
  z-index: 0;
434
450
  }
435
451
 
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;
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);
442
454
  }
443
455
 
444
- .nhsuk-bp-first-in-column {
445
- border-bottom: none;
456
+ .nhsuk-cbmi-classification-overweight, .nhsuk-cbmi-legend-key-classification-overweight {
457
+ background: #ffb81c;
446
458
  }
447
459
 
448
- .nhsuk-bp-first-in-row {
449
- border-left: none;
460
+ .nhsuk-cbmi-classification-underweight, .nhsuk-cbmi-legend-key-classification-underweight {
461
+ background: #330072;
450
462
  }
451
463
 
452
- .nhsuk-cbmi-legend-key-classification-healthy, .nhsuk-cbmi-classification-healthy {
453
- background: repeating-linear-gradient(-45deg, #30b4ab, #30b4ab 4.5px, #00a499 4.5px, #00a499 9px);
464
+ .nhsuk-cbmi-legend-key-classification-overweight {
465
+ border-bottom: none;
466
+ box-shadow: none;
454
467
  }
455
468
 
456
- .nhsuk-cbmi-legend-key-classification-overweight, .nhsuk-cbmi-classification-overweight {
457
- background: #ffb81c;
469
+ .nhsuk-cbmi-legend-key, .nhsuk-cbmi-legend-key-classification-underweight, .nhsuk-cbmi-legend-key-classification-healthy, .nhsuk-cbmi-legend-key-classification-overweight {
470
+ border-bottom: 2px solid white;
471
+ margin-bottom: 2px;
458
472
  }
459
473
 
460
- .nhsuk-cbmi-legend-key-classification-underweight, .nhsuk-cbmi-classification-underweight {
461
- background: #330072;
474
+ .nhsuk-cbmi-legend-marker {
475
+ margin-bottom: 2px;
462
476
  }
463
477
 
464
- .nhsuk-cbmi-graph {
465
- position: relative;
466
- outline: 1px solid black;
467
- margin-top: 20px;
468
- display: flex;
469
- height: 28px;
478
+ .nhsuk-cbmi-classification-underweight-heading {
479
+ border-left: 8px solid #330072;
470
480
  }
471
- @media (min-width: 320px) and (max-width: 641px) {
472
- .nhsuk-cbmi-graph {
473
- height: 24px;
474
- }
481
+
482
+ .nhsuk-cbmi-classification-healthy-heading {
483
+ border-left: 8px solid #30b4ab;
475
484
  }
476
485
 
477
- .nhsuk-cbmi-legend-key-classification-healthy, .nhsuk-cbmi-classification-healthy {
486
+ .nhsuk-cbmi-classification-overweight-heading {
487
+ border-left: 8px solid #ffb81c;
488
+ }
489
+
490
+ .nhsuk-cbmi-classification-healthy, .nhsuk-cbmi-legend-key-classification-healthy {
478
491
  background: repeating-linear-gradient(-45deg, #30b4ab, #30b4ab 4.5px, #00a499 4.5px, #00a499 9px);
479
492
  }
480
493
 
481
- .nhsuk-cbmi-legend-key-classification-overweight, .nhsuk-cbmi-classification-overweight {
494
+ .nhsuk-cbmi-classification-overweight, .nhsuk-cbmi-legend-key-classification-overweight {
482
495
  background: #ffb81c;
483
496
  }
484
497
 
485
- .nhsuk-cbmi-legend-key-classification-underweight, .nhsuk-cbmi-classification-underweight {
498
+ .nhsuk-cbmi-classification-underweight, .nhsuk-cbmi-legend-key-classification-underweight {
486
499
  background: #330072;
487
500
  }
488
501
 
@@ -509,15 +522,15 @@
509
522
  text-align: center;
510
523
  }
511
524
 
512
- .nhsuk-cbmi-legend-key-classification-healthy, .nhsuk-cbmi-classification-healthy {
525
+ .nhsuk-cbmi-classification-healthy, .nhsuk-cbmi-legend-key-classification-healthy {
513
526
  background: repeating-linear-gradient(-45deg, #30b4ab, #30b4ab 4.5px, #00a499 4.5px, #00a499 9px);
514
527
  }
515
528
 
516
- .nhsuk-cbmi-legend-key-classification-overweight, .nhsuk-cbmi-classification-overweight {
529
+ .nhsuk-cbmi-classification-overweight, .nhsuk-cbmi-legend-key-classification-overweight {
517
530
  background: #ffb81c;
518
531
  }
519
532
 
520
- .nhsuk-cbmi-legend-key-classification-underweight, .nhsuk-cbmi-classification-underweight {
533
+ .nhsuk-cbmi-classification-underweight, .nhsuk-cbmi-legend-key-classification-underweight {
521
534
  background: #330072;
522
535
  }
523
536
 
@@ -580,15 +593,15 @@
580
593
  }
581
594
  }
582
595
 
583
- .nhsuk-cbmi-legend-key-classification-healthy, .nhsuk-cbmi-classification-healthy {
596
+ .nhsuk-cbmi-classification-healthy, .nhsuk-cbmi-legend-key-classification-healthy {
584
597
  background: repeating-linear-gradient(-45deg, #30b4ab, #30b4ab 4.5px, #00a499 4.5px, #00a499 9px);
585
598
  }
586
599
 
587
- .nhsuk-cbmi-legend-key-classification-overweight, .nhsuk-cbmi-classification-overweight {
600
+ .nhsuk-cbmi-classification-overweight, .nhsuk-cbmi-legend-key-classification-overweight {
588
601
  background: #ffb81c;
589
602
  }
590
603
 
591
- .nhsuk-cbmi-legend-key-classification-underweight, .nhsuk-cbmi-classification-underweight {
604
+ .nhsuk-cbmi-classification-underweight, .nhsuk-cbmi-legend-key-classification-underweight {
592
605
  background: #330072;
593
606
  }
594
607
 
@@ -628,28 +641,15 @@
628
641
  background: #330072;
629
642
  }
630
643
 
631
- .nhsuk-cbmi-legend-key-classification-overweight {
632
- border-bottom: none;
633
- box-shadow: none;
634
- }
635
-
636
- .nhsuk-cbmi-legend-key, .nhsuk-cbmi-legend-key-classification-underweight, .nhsuk-cbmi-legend-key-classification-healthy, .nhsuk-cbmi-legend-key-classification-overweight {
637
- border-bottom: 2px solid white;
638
- margin-bottom: 2px;
639
- }
640
-
641
- .nhsuk-cbmi-legend-marker {
642
- margin-bottom: 2px;
643
- }
644
-
645
- .nhsuk-cbmi-classification-underweight-heading {
646
- border-left: 8px solid #330072;
647
- }
648
-
649
- .nhsuk-cbmi-classification-healthy-heading {
650
- border-left: 8px solid #30b4ab;
644
+ .nhsuk-cbmi-graph {
645
+ position: relative;
646
+ outline: 1px solid black;
647
+ margin-top: 20px;
648
+ display: flex;
649
+ height: 28px;
651
650
  }
652
-
653
- .nhsuk-cbmi-classification-overweight-heading {
654
- border-left: 8px solid #ffb81c;
651
+ @media (min-width: 320px) and (max-width: 641px) {
652
+ .nhsuk-cbmi-graph {
653
+ height: 24px;
654
+ }
655
655
  }
@@ -15,63 +15,6 @@
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
-
31
- .nhsuk-bar-slider-arrow-marker {
32
- position: absolute;
33
- height: 16px;
34
- width: 16px;
35
- margin: -9px 0 -8px -8px;
36
- }
37
- @media (min-width: 320px) and (max-width: 641px) {
38
- .nhsuk-bar-slider-arrow-marker {
39
- height: 12px;
40
- width: 12px;
41
- margin: -9px 0 -6px -6px;
42
- }
43
- }
44
-
45
- .nhsuk-bar-slider-label-align-left {
46
- display: flex;
47
- justify-content: left;
48
- }
49
-
50
- .nhsuk-bar-slider-label-align-center {
51
- display: flex;
52
- justify-content: center;
53
- }
54
-
55
- .nhsuk-bar-slider-label-align-right {
56
- display: flex;
57
- justify-content: right;
58
- }
59
-
60
- .nhsuk-bar-slider-label-marker {
61
- position: relative;
62
- height: 25px;
63
- width: auto;
64
- white-space: nowrap;
65
- margin-top: -30px;
66
- }
67
-
68
- .nhsuk-bar-slider-value-marker {
69
- position: relative;
70
- font-weight: bold;
71
- margin-left: 5px;
72
- margin-right: 2px;
73
- }
74
-
75
18
  .nhsuk-bmi-classification-underweight, .nhsuk-bmi-legend-key-classification-underweight {
76
19
  background: #330072;
77
20
  }
@@ -98,6 +41,21 @@
98
41
  box-shadow: none;
99
42
  }
100
43
 
44
+ .nhsuk-bmi-chart-marker {
45
+ position: absolute;
46
+ z-index: 4;
47
+ height: 24px;
48
+ width: 24px;
49
+ margin: 2px 0 -12px -12px;
50
+ }
51
+ @media (min-width: 320px) and (max-width: 641px) {
52
+ .nhsuk-bmi-chart-marker {
53
+ height: 20px;
54
+ width: 20px;
55
+ margin: 2px 0 -10px -10px;
56
+ }
57
+ }
58
+
101
59
  .nhsuk-bmi-classification-underweight, .nhsuk-bmi-legend-key-classification-underweight {
102
60
  background: #330072;
103
61
  }
@@ -189,19 +147,46 @@
189
147
  text-align: center;
190
148
  }
191
149
 
192
- .nhsuk-bmi-chart-marker {
193
- position: absolute;
194
- z-index: 4;
195
- height: 24px;
196
- width: 24px;
197
- margin: 2px 0 -12px -12px;
150
+ .nhsuk-bp-classification-low, .nhsuk-bp-legend-key-classification-low {
151
+ background: #330072;
198
152
  }
199
- @media (min-width: 320px) and (max-width: 641px) {
200
- .nhsuk-bmi-chart-marker {
201
- height: 20px;
202
- width: 20px;
203
- margin: 2px 0 -10px -10px;
204
- }
153
+
154
+ .nhsuk-bp-classification-healthy, .nhsuk-bp-legend-key-classification-healthy {
155
+ background: repeating-linear-gradient(-45deg, #59c3bc, #59c3bc 4.5px, #33b6ad 4.5px, #33b6ad 9px);
156
+ }
157
+
158
+ .nhsuk-bp-classification-slightlyraised, .nhsuk-bp-legend-key-classification-slightlyraised {
159
+ background: #ffb81c;
160
+ }
161
+
162
+ .nhsuk-bp-classification-high, .nhsuk-bp-legend-key-classification-high {
163
+ background: repeating-linear-gradient(45deg, #e1746b, #e1746b 4.5px, #dd5349 4.5px, #dd5349 9px);
164
+ }
165
+
166
+ #nhsuk-bp-chart > figure {
167
+ margin: 0;
168
+ }
169
+
170
+ .nhsuk-bp-legend-key-wrapper {
171
+ display: flex;
172
+ }
173
+ .nhsuk-bp-legend-key-wrapper:last-child {
174
+ margin-top: 5px;
175
+ }
176
+
177
+ .nhsuk-bp-legend-display-card {
178
+ margin-top: 50px;
179
+ max-width: 300px;
180
+ }
181
+
182
+ .nhsuk-bp-legend-key-classification-low {
183
+ border-bottom: none;
184
+ box-shadow: none;
185
+ }
186
+
187
+ .nhsuk-bp-legend-key-marker {
188
+ border-bottom: none;
189
+ box-shadow: none;
205
190
  }
206
191
 
207
192
  .nhsuk-bp-graph {
@@ -258,48 +243,6 @@
258
243
  border-bottom: 2px solid black;
259
244
  }
260
245
 
261
- .nhsuk-bp-classification-low, .nhsuk-bp-legend-key-classification-low {
262
- background: #330072;
263
- }
264
-
265
- .nhsuk-bp-classification-healthy, .nhsuk-bp-legend-key-classification-healthy {
266
- background: repeating-linear-gradient(-45deg, #59c3bc, #59c3bc 4.5px, #33b6ad 4.5px, #33b6ad 9px);
267
- }
268
-
269
- .nhsuk-bp-classification-slightlyraised, .nhsuk-bp-legend-key-classification-slightlyraised {
270
- background: #ffb81c;
271
- }
272
-
273
- .nhsuk-bp-classification-high, .nhsuk-bp-legend-key-classification-high {
274
- background: repeating-linear-gradient(45deg, #e1746b, #e1746b 4.5px, #dd5349 4.5px, #dd5349 9px);
275
- }
276
-
277
- #nhsuk-bp-chart > figure {
278
- margin: 0;
279
- }
280
-
281
- .nhsuk-bp-legend-key-wrapper {
282
- display: flex;
283
- }
284
- .nhsuk-bp-legend-key-wrapper:last-child {
285
- margin-top: 5px;
286
- }
287
-
288
- .nhsuk-bp-legend-display-card {
289
- margin-top: 50px;
290
- max-width: 300px;
291
- }
292
-
293
- .nhsuk-bp-legend-key-classification-low {
294
- border-bottom: none;
295
- box-shadow: none;
296
- }
297
-
298
- .nhsuk-bp-legend-key-marker {
299
- border-bottom: none;
300
- box-shadow: none;
301
- }
302
-
303
246
  .nhsuk-bp-diastolic-axis-marker, .nhsuk-bp-systolic-axis-marker {
304
247
  position: absolute;
305
248
  outline: 0.5px solid black;
@@ -382,6 +325,22 @@
382
325
  }
383
326
  }
384
327
 
328
+ .nhsuk-bp-graph-cell {
329
+ flex-grow: 1;
330
+ border-bottom: 1px solid white;
331
+ border-left: 1px solid white;
332
+ background: transparent;
333
+ z-index: 4;
334
+ }
335
+
336
+ .nhsuk-bp-first-in-column {
337
+ border-bottom: none;
338
+ }
339
+
340
+ .nhsuk-bp-first-in-row {
341
+ border-left: none;
342
+ }
343
+
385
344
  .nhsuk-bp-classification-low, .nhsuk-bp-legend-key-classification-low {
386
345
  background: #330072;
387
346
  }
@@ -433,20 +392,29 @@
433
392
  z-index: 0;
434
393
  }
435
394
 
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;
395
+ .nhsuk-cbmi-classification-healthy, .nhsuk-cbmi-legend-key-classification-healthy {
396
+ background: repeating-linear-gradient(-45deg, #30b4ab, #30b4ab 4.5px, #00a499 4.5px, #00a499 9px);
442
397
  }
443
398
 
444
- .nhsuk-bp-first-in-column {
445
- border-bottom: none;
399
+ .nhsuk-cbmi-classification-overweight, .nhsuk-cbmi-legend-key-classification-overweight {
400
+ background: #ffb81c;
446
401
  }
447
402
 
448
- .nhsuk-bp-first-in-row {
449
- border-left: none;
403
+ .nhsuk-cbmi-classification-underweight, .nhsuk-cbmi-legend-key-classification-underweight {
404
+ background: #330072;
405
+ }
406
+
407
+ .nhsuk-cbmi-graph {
408
+ position: relative;
409
+ outline: 1px solid black;
410
+ margin-top: 20px;
411
+ display: flex;
412
+ height: 28px;
413
+ }
414
+ @media (min-width: 320px) and (max-width: 641px) {
415
+ .nhsuk-cbmi-graph {
416
+ height: 24px;
417
+ }
450
418
  }
451
419
 
452
420
  .nhsuk-cbmi-classification-healthy, .nhsuk-cbmi-legend-key-classification-healthy {
@@ -534,42 +502,6 @@
534
502
  background: #330072;
535
503
  }
536
504
 
537
- .nhsuk-cbmi-classification-overweight, .nhsuk-cbmi-classification-healthy, .nhsuk-cbmi-classification-underweight {
538
- position: absolute;
539
- bottom: 0%;
540
- outline: 1px solid black;
541
- height: 28px;
542
- }
543
- @media (min-width: 320px) and (max-width: 641px) {
544
- .nhsuk-cbmi-classification-overweight, .nhsuk-cbmi-classification-healthy, .nhsuk-cbmi-classification-underweight {
545
- height: 24px;
546
- }
547
- }
548
-
549
- .nhsuk-cbmi-classification-underweight {
550
- z-index: 3;
551
- }
552
-
553
- .nhsuk-cbmi-classification-healthy {
554
- z-index: 2;
555
- }
556
-
557
- .nhsuk-cbmi-classification-overweight {
558
- z-index: 1;
559
- }
560
-
561
- .nhsuk-cbmi-legend-key-classification-healthy, .nhsuk-cbmi-classification-healthy {
562
- background: repeating-linear-gradient(-45deg, #30b4ab, #30b4ab 4.5px, #00a499 4.5px, #00a499 9px);
563
- }
564
-
565
- .nhsuk-cbmi-legend-key-classification-overweight, .nhsuk-cbmi-classification-overweight {
566
- background: #ffb81c;
567
- }
568
-
569
- .nhsuk-cbmi-legend-key-classification-underweight, .nhsuk-cbmi-classification-underweight {
570
- background: #330072;
571
- }
572
-
573
505
  .nhsuk-cbmi-chart-arrow-marker {
574
506
  position: absolute;
575
507
  z-index: 4;
@@ -629,19 +561,87 @@
629
561
  }
630
562
  }
631
563
 
632
- .nhsuk-cbmi-legend-key-classification-healthy, .nhsuk-cbmi-classification-healthy {
564
+ .nhsuk-cbmi-classification-healthy, .nhsuk-cbmi-legend-key-classification-healthy {
633
565
  background: repeating-linear-gradient(-45deg, #30b4ab, #30b4ab 4.5px, #00a499 4.5px, #00a499 9px);
634
566
  }
635
567
 
636
- .nhsuk-cbmi-legend-key-classification-overweight, .nhsuk-cbmi-classification-overweight {
568
+ .nhsuk-cbmi-classification-overweight, .nhsuk-cbmi-legend-key-classification-overweight {
637
569
  background: #ffb81c;
638
570
  }
639
571
 
640
- .nhsuk-cbmi-legend-key-classification-underweight, .nhsuk-cbmi-classification-underweight {
572
+ .nhsuk-cbmi-classification-underweight, .nhsuk-cbmi-legend-key-classification-underweight {
641
573
  background: #330072;
642
574
  }
643
575
 
644
- .nhsuk-cbmi-graph {
576
+ .nhsuk-cbmi-classification-overweight, .nhsuk-cbmi-classification-healthy, .nhsuk-cbmi-classification-underweight {
577
+ position: absolute;
578
+ bottom: 0%;
579
+ outline: 1px solid black;
580
+ height: 28px;
581
+ }
582
+ @media (min-width: 320px) and (max-width: 641px) {
583
+ .nhsuk-cbmi-classification-overweight, .nhsuk-cbmi-classification-healthy, .nhsuk-cbmi-classification-underweight {
584
+ height: 24px;
585
+ }
586
+ }
587
+
588
+ .nhsuk-cbmi-classification-underweight {
589
+ z-index: 3;
590
+ }
591
+
592
+ .nhsuk-cbmi-classification-healthy {
593
+ z-index: 2;
594
+ }
595
+
596
+ .nhsuk-cbmi-classification-overweight {
597
+ z-index: 1;
598
+ }
599
+
600
+ .nhsuk-bar-slider-arrow-marker {
601
+ position: absolute;
602
+ height: 16px;
603
+ width: 16px;
604
+ margin: -9px 0 -8px -8px;
605
+ }
606
+ @media (min-width: 320px) and (max-width: 641px) {
607
+ .nhsuk-bar-slider-arrow-marker {
608
+ height: 12px;
609
+ width: 12px;
610
+ margin: -9px 0 -6px -6px;
611
+ }
612
+ }
613
+
614
+ .nhsuk-bar-slider-label-align-left {
615
+ display: flex;
616
+ justify-content: left;
617
+ }
618
+
619
+ .nhsuk-bar-slider-label-align-center {
620
+ display: flex;
621
+ justify-content: center;
622
+ }
623
+
624
+ .nhsuk-bar-slider-label-align-right {
625
+ display: flex;
626
+ justify-content: right;
627
+ }
628
+
629
+ .nhsuk-bar-slider-label-marker {
630
+ position: relative;
631
+ height: 25px;
632
+ width: auto;
633
+ white-space: nowrap;
634
+ margin-top: -30px;
635
+ }
636
+
637
+ .nhsuk-bar-slider-value-marker {
638
+ position: relative;
639
+ font-weight: bold;
640
+ margin-left: 5px;
641
+ margin-right: 2px;
642
+ }
643
+
644
+ .nhsuk-bar-slider-graph {
645
645
  position: relative;
646
646
  outline: 1px solid black;
647
647
  margin-top: 20px;
@@ -649,7 +649,7 @@
649
649
  height: 28px;
650
650
  }
651
651
  @media (min-width: 320px) and (max-width: 641px) {
652
- .nhsuk-cbmi-graph {
652
+ .nhsuk-bar-slider-graph {
653
653
  height: 24px;
654
654
  }
655
655
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nhsuk-tools-chart-components-react",
3
- "version": "1.1.14",
3
+ "version": "1.1.15",
4
4
  "description": "",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",