@oicl/openbridge-webcomponents-full-bundle 2.2.0-next.14 → 2.2.0-next.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.
- package/bundle/openbridge-webcomponents.bundle.js +219 -310
- package/bundle/openbridge-webcomponents.bundle.js.map +1 -1
- package/dist/ar/chart-object-vessel-button/chart-object-vessel-button.css_inline.js +4 -8
- package/dist/ar/poi-button/poi-button.css_inline.js +6 -12
- package/dist/automation/automation-readout/automation-readout.css_inline.js +4 -10
- package/dist/automation/automation-tank/automation-tank.css_inline.js +26 -42
- package/dist/automation/bus/bus.css_inline.js +3 -6
- package/dist/automation/specialty-tank/specialty-tank.css_inline.js +2 -4
- package/dist/automation/transmitter/transmitter.css_inline.js +5 -9
- package/dist/automation/transmitter-button/transmitter-button.css_inline.js +2 -4
- package/dist/automation/transmitter-stack/transmitter-stack.css_inline.js +6 -10
- package/dist/charthelpers/chart-legend.css_inline.js +1 -1
- package/dist/charthelpers/constants.d.ts +10 -10
- package/dist/charthelpers/constants.d.ts.map +1 -1
- package/dist/charthelpers/constants.js +10 -10
- package/dist/charthelpers/constants.js.map +1 -1
- package/dist/components/audio-recording-item/audio-recording-item.css_inline.js +2 -4
- package/dist/components/automation-button-readout-stack/automation-button-readout-stack.css_inline.js +26 -39
- package/dist/components/brilliance-menu/brilliance-menu.css_inline.js +10 -8
- package/dist/components/command-menu/command-menu.css_inline.js +8 -4
- package/dist/components/number-input-field/number-input-field.css_inline.js +5 -9
- package/dist/components/progress-bar/progress-bar.css_inline.js +10 -20
- package/dist/components/sequence-card/sequence-card.css_inline.js +21 -26
- package/dist/components/sequence-item/sequence-item.css_inline.js +8 -16
- package/dist/components/sequence-modal/sequence-modal.css_inline.js +5 -4
- package/dist/components/sequence-step/sequence-step.css_inline.js +6 -12
- package/dist/components/system-menu/system-menu.css_inline.js +10 -8
- package/dist/components/text-input-field/text-input-field.css_inline.js +2 -4
- package/dist/integration-systems/integration-fleet-button/integration-fleet-button.css_inline.js +8 -9
- package/dist/navigation-instruments/compass-indicator/compass-indicator.js +3 -3
- package/dist/navigation-instruments/compass-indicator/compass-indicator.js.map +1 -1
- package/dist/navigation-instruments/instrument-field/instrument-field.css_inline.js +26 -28
- package/package.json +1 -1
- package/src/ar/chart-object-vessel-button/chart-object-vessel-button.css +2 -2
- package/src/ar/poi-button/poi-button.css +3 -3
- package/src/automation/automation-readout/automation-readout.css +2 -2
- package/src/automation/automation-tank/automation-tank.css +10 -10
- package/src/automation/bus/bus.css +2 -1
- package/src/automation/specialty-tank/specialty-tank.css +1 -1
- package/src/automation/transmitter-button/transmitter-button.css +1 -1
- package/src/automation/transmitter-stack/transmitter-stack.css +1 -1
- package/src/charthelpers/chart-legend.css +1 -1
- package/src/charthelpers/constants.ts +11 -10
- package/src/components/audio-recording-item/audio-recording-item.css +1 -1
- package/src/components/automation-button-readout-stack/automation-button-readout-stack.css +8 -8
- package/src/components/brilliance-menu/brilliance-menu.css +2 -2
- package/src/components/command-menu/command-menu.css +1 -1
- package/src/components/number-input-field/number-input-field.css +2 -2
- package/src/components/progress-bar/progress-bar.css +5 -5
- package/src/components/sequence-card/sequence-card.css +13 -11
- package/src/components/sequence-item/sequence-item.css +4 -4
- package/src/components/sequence-modal/sequence-modal.css +1 -1
- package/src/components/sequence-step/sequence-step.css +3 -3
- package/src/components/system-menu/system-menu.css +2 -2
- package/src/integration-systems/integration-fleet-button/integration-fleet-button.css +2 -2
- package/src/mixins/base-input-field.css +1 -1
- package/src/mixins/transmitter.css +5 -1
- package/src/navigation-instruments/compass-indicator/compass-indicator.ts +3 -3
- package/src/navigation-instruments/instrument-field/instrument-field.css +7 -7
|
@@ -287,10 +287,8 @@ var chart_object_vessel_button_default = css`* {
|
|
|
287
287
|
position: absolute;
|
|
288
288
|
top: calc(100% - var(--label-y-offset));
|
|
289
289
|
font-family: var(--global-typography-font-family);
|
|
290
|
-
font-
|
|
291
|
-
|
|
292
|
-
line-height: var(--global-typography-general-xs-line-height);
|
|
293
|
-
letter-spacing: var(--global-typography-general-xs-letter-spacing);
|
|
290
|
+
font-size: var(--global-typography-instrument-value-small-font-size);
|
|
291
|
+
line-height: var(--global-typography-instrument-value-small-line-height);
|
|
294
292
|
font-feature-settings:
|
|
295
293
|
"liga" off,
|
|
296
294
|
"clig" off,
|
|
@@ -313,10 +311,8 @@ var chart_object_vessel_button_default = css`* {
|
|
|
313
311
|
|
|
314
312
|
:is(.state-active,.wrapper:has(.selection-frame),.state-warning,.state-caution,.state-alarm) .number-wrapper,:is(.state-active,.wrapper:has(.selection-frame),.state-warning,.state-caution,.state-alarm) .name-wrapper {
|
|
315
313
|
font-family: var(--global-typography-font-family);
|
|
316
|
-
font-
|
|
317
|
-
|
|
318
|
-
line-height: var(--global-typography-general-xs-line-height);
|
|
319
|
-
letter-spacing: var(--global-typography-general-xs-letter-spacing);
|
|
314
|
+
font-size: var(--global-typography-instrument-value-small-font-size);
|
|
315
|
+
line-height: var(--global-typography-instrument-value-small-line-height);
|
|
320
316
|
font-feature-settings:
|
|
321
317
|
"liga" off,
|
|
322
318
|
"clig" off,
|
|
@@ -660,10 +660,8 @@ var poi_button_default = css`* {
|
|
|
660
660
|
color: var(--element-active-color);
|
|
661
661
|
text-align: center;
|
|
662
662
|
font-family: var(--global-typography-font-family);
|
|
663
|
-
font-
|
|
664
|
-
|
|
665
|
-
line-height: var(--global-typography-general-xs-line-height);
|
|
666
|
-
letter-spacing: var(--global-typography-general-xs-letter-spacing);
|
|
663
|
+
font-size: var(--global-typography-instrument-value-small-font-size);
|
|
664
|
+
line-height: var(--global-typography-instrument-value-small-line-height);
|
|
667
665
|
font-feature-settings:
|
|
668
666
|
"liga" off,
|
|
669
667
|
"clig" off,
|
|
@@ -674,10 +672,8 @@ var poi_button_default = css`* {
|
|
|
674
672
|
color: var(--element-neutral-color);
|
|
675
673
|
text-align: center;
|
|
676
674
|
font-family: var(--global-typography-font-family);
|
|
677
|
-
font-
|
|
678
|
-
|
|
679
|
-
line-height: var(--global-typography-general-xs-line-height);
|
|
680
|
-
letter-spacing: var(--global-typography-general-xs-letter-spacing);
|
|
675
|
+
font-size: var(--global-typography-instrument-label-font-size);
|
|
676
|
+
line-height: var(--global-typography-instrument-label-line-height);
|
|
681
677
|
font-feature-settings:
|
|
682
678
|
"liga" off,
|
|
683
679
|
"clig" off,
|
|
@@ -688,10 +684,8 @@ var poi_button_default = css`* {
|
|
|
688
684
|
color: var(--element-neutral-color);
|
|
689
685
|
text-align: center;
|
|
690
686
|
font-family: var(--global-typography-font-family);
|
|
691
|
-
font-
|
|
692
|
-
|
|
693
|
-
line-height: var(--global-typography-general-xs-line-height);
|
|
694
|
-
letter-spacing: var(--global-typography-general-xs-letter-spacing);
|
|
687
|
+
font-size: var(--global-typography-instrument-unit-font-size);
|
|
688
|
+
line-height: var(--global-typography-instrument-unit-line-height);
|
|
695
689
|
font-feature-settings:
|
|
696
690
|
"liga" off,
|
|
697
691
|
"clig" off,
|
|
@@ -149,13 +149,9 @@ var automation_readout_default = css`* {
|
|
|
149
149
|
|
|
150
150
|
font-family: var(--global-typography-font-family);
|
|
151
151
|
|
|
152
|
-
font-
|
|
152
|
+
font-size: var(--global-typography-instrument-value-regular-font-size);
|
|
153
153
|
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
line-height: var(--global-typography-general-s-line-height);
|
|
157
|
-
|
|
158
|
-
letter-spacing: var(--global-typography-general-s-letter-spacing);
|
|
154
|
+
line-height: var(--global-typography-instrument-value-regular-line-height);
|
|
159
155
|
|
|
160
156
|
font-feature-settings:
|
|
161
157
|
"liga" off,
|
|
@@ -170,10 +166,8 @@ var automation_readout_default = css`* {
|
|
|
170
166
|
|
|
171
167
|
:is(.wrapper .visible-wrapper) .unit {
|
|
172
168
|
font-family: var(--global-typography-font-family);
|
|
173
|
-
font-
|
|
174
|
-
|
|
175
|
-
line-height: var(--global-typography-general-xs-line-height);
|
|
176
|
-
letter-spacing: var(--global-typography-general-xs-letter-spacing);
|
|
169
|
+
font-size: var(--global-typography-instrument-unit-font-size);
|
|
170
|
+
line-height: var(--global-typography-instrument-unit-line-height);
|
|
177
171
|
font-feature-settings:
|
|
178
172
|
"liga" off,
|
|
179
173
|
"clig" off,
|
|
@@ -497,10 +497,8 @@ var automation_tank_default = css`* {
|
|
|
497
497
|
display: block;
|
|
498
498
|
pointer-events: auto;
|
|
499
499
|
font-family: var(--global-typography-font-family);
|
|
500
|
-
font-
|
|
501
|
-
|
|
502
|
-
line-height: var(--global-typography-general-xs-line-height);
|
|
503
|
-
letter-spacing: var(--global-typography-general-xs-letter-spacing);
|
|
500
|
+
font-size: var(--global-typography-instrument-label-font-size);
|
|
501
|
+
line-height: var(--global-typography-instrument-label-line-height);
|
|
504
502
|
font-feature-settings:
|
|
505
503
|
"liga" off,
|
|
506
504
|
"clig" off,
|
|
@@ -529,10 +527,8 @@ var automation_tank_default = css`* {
|
|
|
529
527
|
}
|
|
530
528
|
.readout-compact .percent {
|
|
531
529
|
font-family: var(--global-typography-font-family);
|
|
532
|
-
font-
|
|
533
|
-
|
|
534
|
-
line-height: var(--global-typography-general-s-line-height);
|
|
535
|
-
letter-spacing: var(--global-typography-general-s-letter-spacing);
|
|
530
|
+
font-size: var(--global-typography-instrument-value-regular-font-size);
|
|
531
|
+
line-height: var(--global-typography-instrument-value-regular-line-height);
|
|
536
532
|
font-feature-settings:
|
|
537
533
|
"liga" off,
|
|
538
534
|
"clig" off,
|
|
@@ -540,10 +536,8 @@ var automation_tank_default = css`* {
|
|
|
540
536
|
}
|
|
541
537
|
.readout-compact .percent-symbol {
|
|
542
538
|
font-family: var(--global-typography-font-family);
|
|
543
|
-
font-
|
|
544
|
-
|
|
545
|
-
line-height: var(--global-typography-general-xs-line-height);
|
|
546
|
-
letter-spacing: var(--global-typography-general-xs-letter-spacing);
|
|
539
|
+
font-size: var(--global-typography-instrument-unit-font-size);
|
|
540
|
+
line-height: var(--global-typography-instrument-unit-line-height);
|
|
547
541
|
font-feature-settings:
|
|
548
542
|
"liga" off,
|
|
549
543
|
"clig" off,
|
|
@@ -559,10 +553,8 @@ var automation_tank_default = css`* {
|
|
|
559
553
|
}
|
|
560
554
|
.readout-static slot[name="max-value"] {
|
|
561
555
|
font-family: var(--global-typography-font-family);
|
|
562
|
-
font-
|
|
563
|
-
|
|
564
|
-
line-height: var(--global-typography-general-xs-line-height);
|
|
565
|
-
letter-spacing: var(--global-typography-general-xs-letter-spacing);
|
|
556
|
+
font-size: var(--global-typography-instrument-value-small-font-size);
|
|
557
|
+
line-height: var(--global-typography-instrument-value-small-line-height);
|
|
566
558
|
font-feature-settings:
|
|
567
559
|
"liga" off,
|
|
568
560
|
"clig" off,
|
|
@@ -570,10 +562,8 @@ var automation_tank_default = css`* {
|
|
|
570
562
|
}
|
|
571
563
|
.readout-static slot[name="unit"] {
|
|
572
564
|
font-family: var(--global-typography-font-family);
|
|
573
|
-
font-
|
|
574
|
-
|
|
575
|
-
line-height: var(--global-typography-general-xs-line-height);
|
|
576
|
-
letter-spacing: var(--global-typography-general-xs-letter-spacing);
|
|
565
|
+
font-size: var(--global-typography-instrument-unit-font-size);
|
|
566
|
+
line-height: var(--global-typography-instrument-unit-line-height);
|
|
577
567
|
font-feature-settings:
|
|
578
568
|
"liga" off,
|
|
579
569
|
"clig" off,
|
|
@@ -589,10 +579,11 @@ var automation_tank_default = css`* {
|
|
|
589
579
|
|
|
590
580
|
.header .percent {
|
|
591
581
|
font-family: var(--global-typography-font-family);
|
|
592
|
-
font-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
582
|
+
font-size: var(--global-typography-instrument-value-large-font-size);
|
|
583
|
+
line-height: var(--global-typography-instrument-value-large-line-height);
|
|
584
|
+
letter-spacing: var(
|
|
585
|
+
--global-typography-instrument-value-large-letter-spacing
|
|
586
|
+
);
|
|
596
587
|
font-feature-settings:
|
|
597
588
|
"liga" off,
|
|
598
589
|
"clig" off,
|
|
@@ -607,10 +598,8 @@ var automation_tank_default = css`* {
|
|
|
607
598
|
|
|
608
599
|
.header .percent-symbol {
|
|
609
600
|
font-family: var(--global-typography-font-family);
|
|
610
|
-
font-
|
|
611
|
-
|
|
612
|
-
line-height: var(--global-typography-general-xs-line-height);
|
|
613
|
-
letter-spacing: var(--global-typography-general-xs-letter-spacing);
|
|
601
|
+
font-size: var(--global-typography-instrument-unit-font-size);
|
|
602
|
+
line-height: var(--global-typography-instrument-unit-line-height);
|
|
614
603
|
font-feature-settings:
|
|
615
604
|
"liga" off,
|
|
616
605
|
"clig" off,
|
|
@@ -633,13 +622,9 @@ var automation_tank_default = css`* {
|
|
|
633
622
|
|
|
634
623
|
font-family: var(--global-typography-font-family);
|
|
635
624
|
|
|
636
|
-
font-
|
|
625
|
+
font-size: var(--global-typography-instrument-unit-font-size);
|
|
637
626
|
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
line-height: var(--global-typography-general-xs-line-height);
|
|
641
|
-
|
|
642
|
-
letter-spacing: var(--global-typography-general-xs-letter-spacing);
|
|
627
|
+
line-height: var(--global-typography-instrument-unit-line-height);
|
|
643
628
|
|
|
644
629
|
font-feature-settings:
|
|
645
630
|
"liga" off,
|
|
@@ -649,10 +634,11 @@ var automation_tank_default = css`* {
|
|
|
649
634
|
|
|
650
635
|
.value .current-value {
|
|
651
636
|
font-family: var(--global-typography-font-family);
|
|
652
|
-
font-weight: var(
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
637
|
+
font-weight: var(
|
|
638
|
+
--global-typography-instrument-value-regular-font-weight-active
|
|
639
|
+
);
|
|
640
|
+
font-size: var(--global-typography-instrument-value-regular-font-size);
|
|
641
|
+
line-height: var(--global-typography-instrument-value-regular-line-height);
|
|
656
642
|
font-feature-settings:
|
|
657
643
|
"liga" off,
|
|
658
644
|
"clig" off,
|
|
@@ -670,10 +656,8 @@ var automation_tank_default = css`* {
|
|
|
670
656
|
|
|
671
657
|
.value .max-value {
|
|
672
658
|
font-family: var(--global-typography-font-family);
|
|
673
|
-
font-
|
|
674
|
-
|
|
675
|
-
line-height: var(--global-typography-general-s-line-height);
|
|
676
|
-
letter-spacing: var(--global-typography-general-s-letter-spacing);
|
|
659
|
+
font-size: var(--global-typography-instrument-value-regular-font-size);
|
|
660
|
+
line-height: var(--global-typography-instrument-value-regular-line-height);
|
|
677
661
|
font-feature-settings:
|
|
678
662
|
"liga" off,
|
|
679
663
|
"clig" off,
|
|
@@ -34,18 +34,15 @@ var bus_default = css`* {
|
|
|
34
34
|
|
|
35
35
|
font-family: var(--global-typography-font-family);
|
|
36
36
|
|
|
37
|
-
font-
|
|
37
|
+
font-size: var(--global-typography-instrument-label-font-size);
|
|
38
38
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
line-height: var(--global-typography-general-xs-line-height);
|
|
42
|
-
|
|
43
|
-
letter-spacing: var(--global-typography-general-xs-letter-spacing);
|
|
39
|
+
line-height: var(--global-typography-instrument-label-line-height);
|
|
44
40
|
|
|
45
41
|
font-feature-settings:
|
|
46
42
|
"liga" off,
|
|
47
43
|
"clig" off,
|
|
48
44
|
"ss04" on;
|
|
45
|
+
font-weight: var(--global-typography-instrument-label-font-weight);
|
|
49
46
|
}
|
|
50
47
|
|
|
51
48
|
.bus.size-medium {
|
|
@@ -176,10 +176,8 @@ var specialty_tank_default = css`* {
|
|
|
176
176
|
padding: 0 2px;
|
|
177
177
|
text-align: center;
|
|
178
178
|
font-family: var(--global-typography-font-family);
|
|
179
|
-
font-
|
|
180
|
-
|
|
181
|
-
line-height: var(--global-typography-general-xs-line-height);
|
|
182
|
-
letter-spacing: var(--global-typography-general-xs-letter-spacing);
|
|
179
|
+
font-size: var(--global-typography-instrument-label-font-size);
|
|
180
|
+
line-height: var(--global-typography-instrument-label-line-height);
|
|
183
181
|
font-feature-settings:
|
|
184
182
|
"liga" off,
|
|
185
183
|
"clig" off,
|
|
@@ -165,18 +165,14 @@ var transmitter_default = css`* {
|
|
|
165
165
|
}
|
|
166
166
|
|
|
167
167
|
.id-tag {
|
|
168
|
-
font-family: var(--global-typography-font-family);
|
|
169
|
-
font-weight: var(--global-typography-general-xs-font-weight-semibold);
|
|
170
|
-
font-size: var(--global-typography-general-xs-font-size);
|
|
171
|
-
line-height: var(--global-typography-general-xs-line-height);
|
|
172
|
-
letter-spacing: var(--global-typography-general-xs-letter-spacing);
|
|
173
|
-
font-feature-settings:
|
|
174
|
-
"liga" off,
|
|
175
|
-
"clig" off,
|
|
176
|
-
"ss04" on;
|
|
177
168
|
color: var(--element-neutral-color);
|
|
178
169
|
font-variant-numeric: lining-nums tabular-nums;
|
|
179
170
|
font-feature-settings: "ss04" on;
|
|
171
|
+
font-family: var(--global-typography-font-family);
|
|
172
|
+
font-size: var(--global-typography-instrument-label-font-size);
|
|
173
|
+
font-style: normal;
|
|
174
|
+
font-weight: 570;
|
|
175
|
+
line-height: var(--global-typography-instrument-label-line-height);
|
|
180
176
|
}
|
|
181
177
|
`;
|
|
182
178
|
export { transmitter_default as default };
|
|
@@ -122,10 +122,8 @@ obc-readout-list-item {
|
|
|
122
122
|
|
|
123
123
|
.label {
|
|
124
124
|
font-family: var(--global-typography-font-family);
|
|
125
|
-
font-
|
|
126
|
-
|
|
127
|
-
line-height: var(--global-typography-general-s-line-height);
|
|
128
|
-
letter-spacing: var(--global-typography-general-s-letter-spacing);
|
|
125
|
+
font-size: var(--global-typography-instrument-value-regular-font-size);
|
|
126
|
+
line-height: var(--global-typography-instrument-value-regular-line-height);
|
|
129
127
|
font-feature-settings:
|
|
130
128
|
"liga" off,
|
|
131
129
|
"clig" off,
|
|
@@ -130,20 +130,16 @@ var transmitter_stack_default = css`* {
|
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
.id-tag {
|
|
133
|
-
font-family: var(--global-typography-font-family);
|
|
134
|
-
font-weight: var(--global-typography-general-xs-font-weight-semibold);
|
|
135
|
-
font-size: var(--global-typography-general-xs-font-size);
|
|
136
|
-
line-height: var(--global-typography-general-xs-line-height);
|
|
137
|
-
letter-spacing: var(--global-typography-general-xs-letter-spacing);
|
|
138
|
-
font-feature-settings:
|
|
139
|
-
"liga" off,
|
|
140
|
-
"clig" off,
|
|
141
|
-
"ss04" on;
|
|
142
133
|
color: var(--element-neutral-color);
|
|
143
134
|
font-variant-numeric: lining-nums tabular-nums;
|
|
144
135
|
font-feature-settings: "ss04" on;
|
|
136
|
+
font-family: var(--global-typography-font-family);
|
|
137
|
+
font-size: var(--global-typography-instrument-label-font-size);
|
|
138
|
+
font-style: normal;
|
|
139
|
+
font-weight: 570;
|
|
140
|
+
line-height: var(--global-typography-instrument-label-line-height);
|
|
145
141
|
/* an empty tag keeps the chip row aligned */
|
|
146
|
-
min-height: var(--global-typography-
|
|
142
|
+
min-height: var(--global-typography-instrument-label-line-height);
|
|
147
143
|
}
|
|
148
144
|
`;
|
|
149
145
|
export { transmitter_stack_default as default };
|
|
@@ -31,18 +31,18 @@ export declare const OUTER_LABEL_CONFIG: {
|
|
|
31
31
|
*/
|
|
32
32
|
export declare const CENTER_READOUT_CONFIG: {
|
|
33
33
|
readonly value: {
|
|
34
|
-
readonly fontSizeVar: "--global-typography-
|
|
35
|
-
readonly fontWeightVar: "--global-typography-
|
|
34
|
+
readonly fontSizeVar: "--global-typography-instrument-value-large-font-size";
|
|
35
|
+
readonly fontWeightVar: "--global-typography-instrument-value-regular-font-weight-active";
|
|
36
36
|
readonly fontColorVar: "--element-neutral-color";
|
|
37
37
|
};
|
|
38
38
|
readonly label: {
|
|
39
|
-
readonly fontSizeVar: "--global-typography-
|
|
40
|
-
readonly fontWeightVar: "--global-typography-
|
|
39
|
+
readonly fontSizeVar: "--global-typography-instrument-label-font-size";
|
|
40
|
+
readonly fontWeightVar: "--global-typography-instrument-label-font-weight";
|
|
41
41
|
readonly fontColorVar: "--instrument-regular-secondary-color";
|
|
42
42
|
};
|
|
43
43
|
readonly unit: {
|
|
44
|
-
readonly fontSizeVar: "--global-typography-
|
|
45
|
-
readonly fontWeightVar: "--global-typography-
|
|
44
|
+
readonly fontSizeVar: "--global-typography-instrument-unit-font-size";
|
|
45
|
+
readonly fontWeightVar: "--global-typography-instrument-unit-font-weight";
|
|
46
46
|
readonly fontColorVar: "--instrument-regular-secondary-color";
|
|
47
47
|
};
|
|
48
48
|
};
|
|
@@ -55,13 +55,13 @@ export declare const TOOLTIP_CONFIG: {
|
|
|
55
55
|
readonly BORDER_RADIUS: 6;
|
|
56
56
|
readonly fontColorVar: "--element-neutral-color";
|
|
57
57
|
readonly label: {
|
|
58
|
-
readonly fontSizeVar: "--global-typography-
|
|
59
|
-
readonly fontWeightVar: "--global-typography-
|
|
58
|
+
readonly fontSizeVar: "--global-typography-instrument-label-font-size";
|
|
59
|
+
readonly fontWeightVar: "--global-typography-instrument-label-font-weight";
|
|
60
60
|
readonly fontColorVar: "--instrument-regular-secondary-color";
|
|
61
61
|
};
|
|
62
62
|
readonly unit: {
|
|
63
|
-
readonly fontSizeVar: "--global-typography-
|
|
64
|
-
readonly fontWeightVar: "--global-typography-
|
|
63
|
+
readonly fontSizeVar: "--global-typography-instrument-unit-font-size";
|
|
64
|
+
readonly fontWeightVar: "--global-typography-instrument-unit-font-weight";
|
|
65
65
|
readonly fontColorVar: "--instrument-regular-secondary-color";
|
|
66
66
|
};
|
|
67
67
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/charthelpers/constants.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,2BAA2B,0GAM9B,CAAC;AAEX,eAAO,MAAM,4BAA4B,0GAM/B,CAAC;AAEX;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB;;;;IAI3B,yFAAyF;;CAEjF,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,kBAAkB;;;;;;CAMrB,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/charthelpers/constants.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,2BAA2B,0GAM9B,CAAC;AAEX,eAAO,MAAM,4BAA4B,0GAM/B,CAAC;AAEX;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB;;;;IAI3B,yFAAyF;;CAEjF,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,kBAAkB;;;;;;CAMrB,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;CAiBxB,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;CAejB,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,uBAAuB;;;;;CAK1B,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,sBAAsB;;;;;;CAMzB,CAAC;AAEX;;;GAGG;AACH,eAAO,MAAM,+BAA+B,EAC1C,kCAA2C,CAAC;AAE9C;;GAEG;AACH,eAAO,MAAM,4BAA4B;;;CAG/B,CAAC"}
|
|
@@ -44,18 +44,18 @@ var OUTER_LABEL_CONFIG = {
|
|
|
44
44
|
*/
|
|
45
45
|
var CENTER_READOUT_CONFIG = {
|
|
46
46
|
value: {
|
|
47
|
-
fontSizeVar: "--global-typography-
|
|
48
|
-
fontWeightVar: "--global-typography-
|
|
47
|
+
fontSizeVar: "--global-typography-instrument-value-large-font-size",
|
|
48
|
+
fontWeightVar: "--global-typography-instrument-value-regular-font-weight-active",
|
|
49
49
|
fontColorVar: "--element-neutral-color"
|
|
50
50
|
},
|
|
51
51
|
label: {
|
|
52
|
-
fontSizeVar: "--global-typography-
|
|
53
|
-
fontWeightVar: "--global-typography-
|
|
52
|
+
fontSizeVar: "--global-typography-instrument-label-font-size",
|
|
53
|
+
fontWeightVar: "--global-typography-instrument-label-font-weight",
|
|
54
54
|
fontColorVar: "--instrument-regular-secondary-color"
|
|
55
55
|
},
|
|
56
56
|
unit: {
|
|
57
|
-
fontSizeVar: "--global-typography-
|
|
58
|
-
fontWeightVar: "--global-typography-
|
|
57
|
+
fontSizeVar: "--global-typography-instrument-unit-font-size",
|
|
58
|
+
fontWeightVar: "--global-typography-instrument-unit-font-weight",
|
|
59
59
|
fontColorVar: "--instrument-regular-secondary-color"
|
|
60
60
|
}
|
|
61
61
|
};
|
|
@@ -68,13 +68,13 @@ var TOOLTIP_CONFIG = {
|
|
|
68
68
|
BORDER_RADIUS: 6,
|
|
69
69
|
fontColorVar: "--element-neutral-color",
|
|
70
70
|
label: {
|
|
71
|
-
fontSizeVar: "--global-typography-
|
|
72
|
-
fontWeightVar: "--global-typography-
|
|
71
|
+
fontSizeVar: "--global-typography-instrument-label-font-size",
|
|
72
|
+
fontWeightVar: "--global-typography-instrument-label-font-weight",
|
|
73
73
|
fontColorVar: "--instrument-regular-secondary-color"
|
|
74
74
|
},
|
|
75
75
|
unit: {
|
|
76
|
-
fontSizeVar: "--global-typography-
|
|
77
|
-
fontWeightVar: "--global-typography-
|
|
76
|
+
fontSizeVar: "--global-typography-instrument-unit-font-size",
|
|
77
|
+
fontWeightVar: "--global-typography-instrument-unit-font-weight",
|
|
78
78
|
fontColorVar: "--instrument-regular-secondary-color"
|
|
79
79
|
}
|
|
80
80
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","names":[],"sources":["../../src/charthelpers/constants.ts"],"sourcesContent":["/**\n * Default sector colors used across chart components\n */\nexport const CHART_SECTOR_DEFAULT_COLORS = [\n '--base-gray-500',\n '--base-gray-400',\n '--base-gray-300',\n '--base-gray-200',\n '--base-gray-100',\n] as const;\n\nexport const CHART_SECTOR_ENHANCED_COLORS = [\n '--base-blue-500',\n '--base-blue-400',\n '--base-blue-300',\n '--base-blue-200',\n '--base-blue-100',\n] as const;\n\n/**\n * Chart dimension constants\n *\n * These dimensions are based on the Figma design system\n * where the chart area is 320x320px including the 32px padding for optional outer labels.\n */\nexport const CHART_DIMENSIONS = {\n CANVAS_PADDING: 32,\n CHART_WIDTH: 256,\n MIN_CHART_WIDTH: 48,\n /** Minimum height for displaying labels and readouts - below 192px, labels are hidden */\n MIN_HEIGHT_WITH_LABELS: 192,\n} as const;\n\n/**\n * Configuration for outer label rendering\n */\nexport const OUTER_LABEL_CONFIG = {\n labelGap: 8, // Gap between chart edge and label text (in pixels)\n fontFamily: '--font-family-main',\n fontSizeVar: '--global-typography-ui-label-font-size',\n fontWeightVar: '--global-typography-ui-label-font-weight',\n fontColorVar: '--instrument-tick-mark-label-secondary-color',\n} as const;\n\n/**\n * Configuration for center readout rendering\n */\nexport const CENTER_READOUT_CONFIG = {\n value: {\n fontSizeVar: '--global-typography-
|
|
1
|
+
{"version":3,"file":"constants.js","names":[],"sources":["../../src/charthelpers/constants.ts"],"sourcesContent":["/**\n * Default sector colors used across chart components\n */\nexport const CHART_SECTOR_DEFAULT_COLORS = [\n '--base-gray-500',\n '--base-gray-400',\n '--base-gray-300',\n '--base-gray-200',\n '--base-gray-100',\n] as const;\n\nexport const CHART_SECTOR_ENHANCED_COLORS = [\n '--base-blue-500',\n '--base-blue-400',\n '--base-blue-300',\n '--base-blue-200',\n '--base-blue-100',\n] as const;\n\n/**\n * Chart dimension constants\n *\n * These dimensions are based on the Figma design system\n * where the chart area is 320x320px including the 32px padding for optional outer labels.\n */\nexport const CHART_DIMENSIONS = {\n CANVAS_PADDING: 32,\n CHART_WIDTH: 256,\n MIN_CHART_WIDTH: 48,\n /** Minimum height for displaying labels and readouts - below 192px, labels are hidden */\n MIN_HEIGHT_WITH_LABELS: 192,\n} as const;\n\n/**\n * Configuration for outer label rendering\n */\nexport const OUTER_LABEL_CONFIG = {\n labelGap: 8, // Gap between chart edge and label text (in pixels)\n fontFamily: '--font-family-main',\n fontSizeVar: '--global-typography-ui-label-font-size',\n fontWeightVar: '--global-typography-ui-label-font-weight',\n fontColorVar: '--instrument-tick-mark-label-secondary-color',\n} as const;\n\n/**\n * Configuration for center readout rendering\n */\nexport const CENTER_READOUT_CONFIG = {\n value: {\n fontSizeVar: '--global-typography-instrument-value-large-font-size',\n fontWeightVar:\n '--global-typography-instrument-value-regular-font-weight-active',\n fontColorVar: '--element-neutral-color',\n },\n label: {\n fontSizeVar: '--global-typography-instrument-label-font-size',\n fontWeightVar: '--global-typography-instrument-label-font-weight',\n fontColorVar: '--instrument-regular-secondary-color',\n },\n unit: {\n fontSizeVar: '--global-typography-instrument-unit-font-size',\n fontWeightVar: '--global-typography-instrument-unit-font-weight',\n fontColorVar: '--instrument-regular-secondary-color',\n },\n} as const;\n\n/**\n * Tooltip styling configuration\n */\nexport const TOOLTIP_CONFIG = {\n bgColorVar: '--container-global-color',\n borderColorVar: '--normal-enabled-border-color',\n BORDER_RADIUS: 6,\n fontColorVar: '--element-neutral-color',\n label: {\n fontSizeVar: '--global-typography-instrument-label-font-size',\n fontWeightVar: '--global-typography-instrument-label-font-weight',\n fontColorVar: '--instrument-regular-secondary-color',\n },\n unit: {\n fontSizeVar: '--global-typography-instrument-unit-font-size',\n fontWeightVar: '--global-typography-instrument-unit-font-weight',\n fontColorVar: '--instrument-regular-secondary-color',\n },\n} as const;\n\n/**\n * Configuration for line graph axis labels\n */\nexport const LINE_GRAPH_LABEL_CONFIG = {\n fontFamily: '--font-family-main',\n fontSizeVar: '--global-typography-ui-label-font-size',\n fontWeightVar: '--global-typography-ui-label-font-weight',\n fontColorVar: '--instrument-tick-mark-label-secondary-color',\n} as const;\n\n/**\n * Configuration for line graph grid and ticks\n */\nexport const LINE_GRAPH_GRID_CONFIG = {\n gridColorVar: '--instrument-tick-mark-tertiary-color',\n tickColorVar: '--border-outline-color',\n thresholdLowColorVar: '--base-red-500',\n thresholdHighColorVar: '--base-blue-500',\n stackedDividerColorVar: '--overlay-border-silhouette-color',\n} as const;\n\n/**\n * Chart area background color for instrument mode\n * Used in gauge-trend and similar composite instruments\n */\nexport const CHART_AREA_BACKGROUND_COLOR_VAR =\n '--instrument-frame-primary-color' as const;\n\n/**\n * Dimensions for rectangular charts (line, bar, etc.)\n */\nexport const RECTANGULAR_CHART_DIMENSIONS = {\n DEFAULT_ASPECT_RATIO: 1.5, // width:height for line graphs\n MIN_HEIGHT_WITH_LABELS: 192, // Threshold for showing labels/ticks\n} as const;\n"],"mappings":";;;;AAGA,IAAa,8BAA8B;CACzC;CACA;CACA;CACA;CACA;AACF;AAEA,IAAa,+BAA+B;CAC1C;CACA;CACA;CACA;CACA;AACF;;;;;;;AAQA,IAAa,mBAAmB;CAC9B,gBAAgB;CAChB,aAAa;CACb,iBAAiB;;CAEjB,wBAAwB;AAC1B;;;;AAKA,IAAa,qBAAqB;CAChC,UAAU;CACV,YAAY;CACZ,aAAa;CACb,eAAe;CACf,cAAc;AAChB;;;;AAKA,IAAa,wBAAwB;CACnC,OAAO;EACL,aAAa;EACb,eACE;EACF,cAAc;CAChB;CACA,OAAO;EACL,aAAa;EACb,eAAe;EACf,cAAc;CAChB;CACA,MAAM;EACJ,aAAa;EACb,eAAe;EACf,cAAc;CAChB;AACF;;;;AAKA,IAAa,iBAAiB;CAC5B,YAAY;CACZ,gBAAgB;CAChB,eAAe;CACf,cAAc;CACd,OAAO;EACL,aAAa;EACb,eAAe;EACf,cAAc;CAChB;CACA,MAAM;EACJ,aAAa;EACb,eAAe;EACf,cAAc;CAChB;AACF;;;;AAKA,IAAa,0BAA0B;CACrC,YAAY;CACZ,aAAa;CACb,eAAe;CACf,cAAc;AAChB;;;;AAKA,IAAa,yBAAyB;CACpC,cAAc;CACd,cAAc;CACd,sBAAsB;CACtB,uBAAuB;CACvB,wBAAwB;AAC1B;;;;;AAMA,IAAa,kCACX;;;;AAKF,IAAa,+BAA+B;CAC1C,sBAAsB;CACtB,wBAAwB;AAC1B"}
|
|
@@ -93,10 +93,8 @@ var audio_recording_item_default = css`* {
|
|
|
93
93
|
|
|
94
94
|
.duration-label {
|
|
95
95
|
font-family: var(--global-typography-font-family);
|
|
96
|
-
font-
|
|
97
|
-
|
|
98
|
-
line-height: var(--global-typography-general-s-line-height);
|
|
99
|
-
letter-spacing: var(--global-typography-general-s-letter-spacing);
|
|
96
|
+
font-size: var(--global-typography-instrument-value-regular-font-size);
|
|
97
|
+
line-height: var(--global-typography-instrument-value-regular-line-height);
|
|
100
98
|
font-feature-settings:
|
|
101
99
|
"liga" off,
|
|
102
100
|
"clig" off,
|
|
@@ -62,13 +62,9 @@ var automation_button_readout_stack_default = css`* {
|
|
|
62
62
|
|
|
63
63
|
font-family: var(--global-typography-font-family);
|
|
64
64
|
|
|
65
|
-
font-
|
|
65
|
+
font-size: var(--global-typography-instrument-value-regular-font-size);
|
|
66
66
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
line-height: var(--global-typography-general-s-line-height);
|
|
70
|
-
|
|
71
|
-
letter-spacing: var(--global-typography-general-s-letter-spacing);
|
|
67
|
+
line-height: var(--global-typography-instrument-value-regular-line-height);
|
|
72
68
|
|
|
73
69
|
font-feature-settings:
|
|
74
70
|
"liga" off,
|
|
@@ -98,10 +94,8 @@ var automation_button_readout_stack_default = css`* {
|
|
|
98
94
|
}
|
|
99
95
|
.readout-stack.small .readout-item {
|
|
100
96
|
font-family: var(--global-typography-font-family);
|
|
101
|
-
font-
|
|
102
|
-
|
|
103
|
-
line-height: var(--global-typography-general-xs-line-height);
|
|
104
|
-
letter-spacing: var(--global-typography-general-xs-letter-spacing);
|
|
97
|
+
font-size: var(--global-typography-instrument-value-small-font-size);
|
|
98
|
+
line-height: var(--global-typography-instrument-value-small-line-height);
|
|
105
99
|
font-feature-settings:
|
|
106
100
|
"liga" off,
|
|
107
101
|
"clig" off,
|
|
@@ -109,10 +103,11 @@ var automation_button_readout_stack_default = css`* {
|
|
|
109
103
|
}
|
|
110
104
|
.readout-stack.enhanced .readout-item {
|
|
111
105
|
font-family: var(--global-typography-font-family);
|
|
112
|
-
font-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
106
|
+
font-size: var(--global-typography-instrument-value-large-font-size);
|
|
107
|
+
line-height: var(--global-typography-instrument-value-large-line-height);
|
|
108
|
+
letter-spacing: var(
|
|
109
|
+
--global-typography-instrument-value-large-letter-spacing
|
|
110
|
+
);
|
|
116
111
|
font-feature-settings:
|
|
117
112
|
"liga" off,
|
|
118
113
|
"clig" off,
|
|
@@ -176,11 +171,9 @@ var automation_button_readout_stack_default = css`* {
|
|
|
176
171
|
color: var(--element-active-color, #1f1f1f);
|
|
177
172
|
}
|
|
178
173
|
.readout-stack .unit {
|
|
179
|
-
font-family: var(--
|
|
180
|
-
font-weight: var(--
|
|
181
|
-
font-size: var(--
|
|
182
|
-
line-height: var(--global-typography-general-s-line-height);
|
|
183
|
-
letter-spacing: var(--global-typography-general-s-letter-spacing);
|
|
174
|
+
font-family: var(--font-family-main);
|
|
175
|
+
font-weight: var(--automation-components-typography-unit-regular-font-weight);
|
|
176
|
+
font-size: var(--automation-components-typography-unit-regular-font-size);
|
|
184
177
|
font-feature-settings:
|
|
185
178
|
"liga" off,
|
|
186
179
|
"clig" off,
|
|
@@ -190,22 +183,18 @@ var automation_button_readout_stack_default = css`* {
|
|
|
190
183
|
color: var(--element-neutral-color);
|
|
191
184
|
}
|
|
192
185
|
.readout-stack.small .unit {
|
|
193
|
-
font-family: var(--
|
|
194
|
-
font-weight: var(--
|
|
195
|
-
font-size: var(--
|
|
196
|
-
line-height: var(--global-typography-general-s-line-height);
|
|
197
|
-
letter-spacing: var(--global-typography-general-s-letter-spacing);
|
|
186
|
+
font-family: var(--font-family-main);
|
|
187
|
+
font-weight: var(--automation-components-typography-unit-regular-font-weight);
|
|
188
|
+
font-size: var(--automation-components-typography-unit-regular-font-size);
|
|
198
189
|
font-feature-settings:
|
|
199
190
|
"liga" off,
|
|
200
191
|
"clig" off,
|
|
201
192
|
"ss04" on;
|
|
202
193
|
}
|
|
203
194
|
.readout-stack.enhanced .unit {
|
|
204
|
-
font-family: var(--
|
|
205
|
-
font-weight: var(--
|
|
206
|
-
font-size: var(--
|
|
207
|
-
line-height: var(--global-typography-general-s-line-height);
|
|
208
|
-
letter-spacing: var(--global-typography-general-s-letter-spacing);
|
|
195
|
+
font-family: var(--font-family-main);
|
|
196
|
+
font-weight: var(--automation-components-typography-unit-regular-font-weight);
|
|
197
|
+
font-size: var(--automation-components-typography-unit-regular-font-size);
|
|
209
198
|
font-feature-settings:
|
|
210
199
|
"liga" off,
|
|
211
200
|
"clig" off,
|
|
@@ -219,11 +208,10 @@ var automation_button_readout_stack_default = css`* {
|
|
|
219
208
|
align-self: stretch;
|
|
220
209
|
|
|
221
210
|
color: var(--element-Inactive-color, #707070);
|
|
222
|
-
font-family: var(--
|
|
223
|
-
font-weight: var(--
|
|
224
|
-
font-size: var(--
|
|
225
|
-
line-height: var(--
|
|
226
|
-
letter-spacing: var(--global-typography-general-xs-letter-spacing);
|
|
211
|
+
font-family: var(--font-family-main);
|
|
212
|
+
font-weight: var(--automation-components-typography-label-font-weight);
|
|
213
|
+
font-size: var(--automation-components-typography-label-font-size);
|
|
214
|
+
line-height: var(--automation-components-typography-label-line-height);
|
|
227
215
|
font-feature-settings:
|
|
228
216
|
"liga" off,
|
|
229
217
|
"clig" off,
|
|
@@ -233,11 +221,10 @@ var automation_button_readout_stack_default = css`* {
|
|
|
233
221
|
text-align: center;
|
|
234
222
|
width: 16px;
|
|
235
223
|
margin-right: 4px;
|
|
236
|
-
font-family: var(--
|
|
237
|
-
font-weight: var(--
|
|
238
|
-
font-size: var(--
|
|
239
|
-
line-height: var(--
|
|
240
|
-
letter-spacing: var(--global-typography-general-xs-letter-spacing);
|
|
224
|
+
font-family: var(--font-family-main);
|
|
225
|
+
font-weight: var(--automation-components-typography-label-font-weight);
|
|
226
|
+
font-size: var(--automation-components-typography-label-font-size);
|
|
227
|
+
line-height: var(--automation-components-typography-label-line-height);
|
|
241
228
|
font-feature-settings:
|
|
242
229
|
"liga" off,
|
|
243
230
|
"clig" off,
|