@opentrons/components 0.3.8-alpha.0 → 0.3.9-alpha.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.
Files changed (137) hide show
  1. package/README.md +1 -1
  2. package/lib/atoms/Chip/index.d.ts +0 -1
  3. package/lib/atoms/FixedTrashText/index.d.ts +0 -1
  4. package/lib/atoms/ListItem/ListItemChildren/ListItemCustomize.d.ts +0 -1
  5. package/lib/atoms/ListItem/ListItemChildren/ListItemDescriptor.d.ts +0 -1
  6. package/lib/atoms/Slider/index.d.ts +0 -1
  7. package/lib/atoms/Snackbar/index.d.ts +0 -1
  8. package/lib/atoms/StorageBar/index.d.ts +0 -1
  9. package/lib/atoms/Tag/index.d.ts +0 -1
  10. package/lib/atoms/Toast/index.d.ts +0 -1
  11. package/lib/atoms/buttons/EmptySelectorButton.d.ts +0 -1
  12. package/lib/atoms/buttons/{AltPrimaryButton.d.ts → PrimaryButton/AltPrimaryButton.d.ts} +1 -1
  13. package/lib/atoms/buttons/PrimaryButton/DefaultPrimaryButton.d.ts +2 -0
  14. package/lib/atoms/buttons/PrimaryButton/WarningPrimaryButton.d.ts +3 -0
  15. package/lib/atoms/buttons/PrimaryButton/index.d.ts +16 -0
  16. package/lib/atoms/buttons/index.d.ts +0 -1
  17. package/lib/buttons/DeprecatedPrimaryButton.d.ts +0 -1
  18. package/lib/buttons/FlatButton.d.ts +0 -1
  19. package/lib/buttons/IconButton.d.ts +0 -1
  20. package/lib/buttons/OutlineButton.d.ts +0 -1
  21. package/lib/forms/Select.d.ts +0 -1
  22. package/lib/hardware-sim/BaseDeck/StackedBadge.d.ts +0 -1
  23. package/lib/hardware-sim/Deck/DeckFromLayers.d.ts +0 -1
  24. package/lib/hardware-sim/Deck/MoveLabwareOnDeck.d.ts +0 -1
  25. package/lib/hardware-sim/Deck/OT2Layers.d.ts +0 -1
  26. package/lib/hardware-sim/DeckConfigurator/AbsorbanceReaderItem.d.ts +0 -1
  27. package/lib/hardware-sim/DeckConfigurator/EmptyConfigItem.d.ts +0 -1
  28. package/lib/hardware-sim/DeckConfigurator/FlexStackerItem.d.ts +0 -1
  29. package/lib/hardware-sim/DeckConfigurator/HeaterShakerItem.d.ts +0 -1
  30. package/lib/hardware-sim/DeckConfigurator/MagneticBlockItem.d.ts +0 -1
  31. package/lib/hardware-sim/DeckConfigurator/StagingAreaConfigItem.d.ts +0 -1
  32. package/lib/hardware-sim/DeckConfigurator/StaticItem.d.ts +0 -1
  33. package/lib/hardware-sim/DeckConfigurator/TemperatureModuleItem.d.ts +0 -1
  34. package/lib/hardware-sim/DeckConfigurator/ThermocyclerItem.d.ts +0 -1
  35. package/lib/hardware-sim/DeckConfigurator/TrashBinConfigItem.d.ts +0 -1
  36. package/lib/hardware-sim/DeckConfigurator/VacuumModuleItem.d.ts +0 -1
  37. package/lib/hardware-sim/DeckConfigurator/WasteChuteConfigItem.d.ts +0 -1
  38. package/lib/hardware-sim/Labware/CalibrationBlockRender.d.ts +0 -1
  39. package/lib/hardware-sim/Labware/LabwareAdapter/GenericLid.d.ts +0 -1
  40. package/lib/hardware-sim/Labware/LabwareAdapter/Opentrons96DeepWellAdapter.d.ts +0 -1
  41. package/lib/hardware-sim/Labware/LabwareAdapter/Opentrons96FlatBottomAdapter.d.ts +0 -1
  42. package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsAluminumFlatBottomPlate.d.ts +0 -1
  43. package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsAutoclavableDeckRiser.d.ts +0 -1
  44. package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsFlex96TiprackAdapter.d.ts +0 -1
  45. package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsToughPCRAutoSealingLid.d.ts +0 -1
  46. package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsUniversalFlatAdapter.d.ts +0 -1
  47. package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsUniversalFlatAdapterTypeB.d.ts +0 -1
  48. package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsVacuumManifoldCollar.d.ts +0 -1
  49. package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsVacuumManifoldSpacer.d.ts +0 -1
  50. package/lib/hardware-sim/Labware/labwareInternals/Tips/InaccessibleTip.d.ts +0 -1
  51. package/lib/hardware-sim/Labware/labwareInternals/Tips/NewTip.d.ts +0 -1
  52. package/lib/hardware-sim/Labware/labwareInternals/Tips/TipStatus.d.ts +0 -1
  53. package/lib/hardware-sim/Labware/labwareInternals/Tips/UsedTip.d.ts +0 -1
  54. package/lib/hardware-sim/Labware/labwareInternals/Wells/EmptyWell.d.ts +0 -1
  55. package/lib/hardware-sim/Labware/labwareInternals/Wells/SelectedWell.d.ts +0 -1
  56. package/lib/hardware-sim/Labware/labwareInternals/Wells/WellStatus.d.ts +0 -1
  57. package/lib/hardware-sim/Module/FlexStacker.d.ts +0 -1
  58. package/lib/hardware-sim/Module/HeaterShaker.d.ts +0 -1
  59. package/lib/hardware-sim/Module/MagneticBlock.d.ts +0 -1
  60. package/lib/hardware-sim/Module/MagneticModule.d.ts +0 -1
  61. package/lib/hardware-sim/Module/PlateReader.d.ts +0 -1
  62. package/lib/hardware-sim/Module/Temperature.d.ts +0 -1
  63. package/lib/hardware-sim/Module/Thermocycler/ThermocyclerGEN1.d.ts +0 -1
  64. package/lib/hardware-sim/Module/Thermocycler/ThermocyclerGEN2.d.ts +0 -1
  65. package/lib/hardware-sim/Module/Thermocycler/index.d.ts +0 -1
  66. package/lib/hardware-sim/Module/Vacuum.d.ts +0 -1
  67. package/lib/hooks/useSelectDeckLocation/index.d.ts +0 -1
  68. package/lib/icons/ModuleIcon.d.ts +0 -1
  69. package/lib/icons/NotificationIcon.d.ts +0 -1
  70. package/lib/index.js +133 -135
  71. package/lib/index.mjs +6967 -6947
  72. package/lib/instrument/InstrumentDiagram.d.ts +0 -1
  73. package/lib/legacy-hardware-sim/LabwareNameOverlay.d.ts +0 -1
  74. package/lib/modals/ContinueModal.d.ts +0 -1
  75. package/lib/modals/SpinnerModal.d.ts +0 -1
  76. package/lib/molecules/Banner/index.d.ts +5 -0
  77. package/lib/molecules/DeckLabel/index.d.ts +0 -1
  78. package/lib/molecules/InfoScreen/index.d.ts +0 -1
  79. package/lib/molecules/InputField/index.d.ts +0 -2
  80. package/lib/molecules/ParametersTable/index.d.ts +0 -1
  81. package/lib/molecules/ReleaseNotes/index.d.ts +0 -1
  82. package/lib/molecules/RobotInfoLabel/index.d.ts +0 -1
  83. package/lib/molecules/Tabs/index.d.ts +0 -1
  84. package/lib/molecules/TextAreaField/index.d.ts +0 -2
  85. package/lib/molecules/TimelineScrubber/TrackSlider.d.ts +0 -1
  86. package/lib/molecules/TimelineScrubber/index.d.ts +0 -1
  87. package/lib/molecules/TouchInputField/index.d.ts +0 -2
  88. package/lib/organisms/DeckLabelSet/index.d.ts +0 -1
  89. package/lib/organisms/LabwareDetailsWithCount/index.d.ts +0 -1
  90. package/lib/slotmap/OT2SlotMap.d.ts +0 -1
  91. package/lib/structure/Splash.d.ts +0 -1
  92. package/lib/style.css +1 -1
  93. package/lib/testing/utils/renderWithProviders.d.ts +3 -5
  94. package/package.json +13 -15
  95. package/lib/atoms/buttons/AlertPrimaryButton.d.ts +0 -3
  96. package/lib/atoms/buttons/PrimaryButton.d.ts +0 -2
  97. package/lib/atoms/buttons/__tests__/AlertPrimaryButton.test.d.ts +0 -1
  98. package/lib/atoms/buttons/__tests__/AltPrimaryButton.test.d.ts +0 -1
  99. package/lib/molecules/DeckInfoLabel/__tests__/DeckInfoLabel.test.d.ts +0 -1
  100. package/lib/molecules/DeckInfoLabel/index.d.ts +0 -11
  101. package/lib/organisms/ProtocolTimelineScrubber/CommandItem.d.ts +0 -12
  102. package/lib/organisms/ProtocolTimelineScrubber/PipetteVisuals.d.ts +0 -25
  103. package/lib/organisms/ProtocolTimelineScrubber/index.d.ts +0 -10
  104. package/lib/organisms/ProtocolTimelineScrubber/types.d.ts +0 -2
  105. package/lib/organisms/ProtocolTimelineScrubber/utils.d.ts +0 -23
  106. package/lib/primitives/Buttons/NewSecondaryBtn.d.ts +0 -8
  107. package/lib/src/alerts/alerts.module.css +0 -103
  108. package/lib/src/atoms/StyledText/placeholderstyledtext.module.css +0 -26
  109. package/lib/src/buttons/buttons.module.css +0 -428
  110. package/lib/src/controls/styles.module.css +0 -103
  111. package/lib/src/forms/Select.module.css +0 -118
  112. package/lib/src/forms/SelectField.module.css +0 -16
  113. package/lib/src/forms/forms.module.css +0 -240
  114. package/lib/src/hardware-sim/BaseDeck/basedeck.module.css +0 -20
  115. package/lib/src/hardware-sim/Deck/deck.module.css +0 -54
  116. package/lib/src/hardware-sim/Labware/labware.module.css +0 -8
  117. package/lib/src/hardware-sim/RobotCoordinateSpace/robotcoordinatespace.module.css +0 -3
  118. package/lib/src/icons/icon.module.css +0 -10
  119. package/lib/src/index.module.css +0 -9
  120. package/lib/src/instrument/PipetteSelect.module.css +0 -14
  121. package/lib/src/legacy-hardware-sim/LabwareNameOverlay.module.css +0 -20
  122. package/lib/src/legacy-hardware-sim/ModuleItem.module.css +0 -98
  123. package/lib/src/lists/lists.module.css +0 -171
  124. package/lib/src/modals/modals.module.css +0 -275
  125. package/lib/src/molecules/DeckInfoLabel/deckinfolabel.module.css +0 -42
  126. package/lib/src/molecules/ReleaseNotes/styles.module.css +0 -66
  127. package/lib/src/nav/SidePanel.module.css +0 -34
  128. package/lib/src/slotmap/styles.module.css +0 -18
  129. package/lib/src/structure/Pill.module.css +0 -16
  130. package/lib/src/structure/Splash.module.css +0 -16
  131. package/lib/src/structure/structure.module.css +0 -114
  132. package/lib/src/styles/borders.module.css +0 -20
  133. package/lib/src/styles/colors.module.css +0 -58
  134. package/lib/src/styles/global.css +0 -179
  135. package/lib/src/styles/index.module.css +0 -8
  136. package/lib/src/styles/typography.module.css +0 -23
  137. package/lib/src/tooltips/tooltips.module.css +0 -72
@@ -1,114 +0,0 @@
1
- /* TitleBar styles */
2
- @import '../index.module.css';
3
-
4
- .title_bar {
5
- display: flex;
6
- height: 3rem;
7
- align-items: center;
8
- background-color: var(--c-dark-gray);
9
- text-transform: uppercase;
10
- }
11
-
12
- .title_bar,
13
- .title_bar a {
14
- color: white;
15
- }
16
-
17
- .title,
18
- .subtitle,
19
- .separator {
20
- margin: 0;
21
- font-size: var(--fs-header);
22
- }
23
-
24
- .title,
25
- .separator {
26
- font-weight: var(--fw-semibold);
27
- }
28
-
29
- .title {
30
- overflow: hidden; /* from legacy --truncate */
31
- min-width: 0; /* from legacy --truncate */
32
- padding: 0 1.5rem;
33
- text-overflow: ellipsis; /* from legacy --truncate */
34
- white-space: nowrap; /* from legacy --truncate */
35
- }
36
-
37
- .subtitle {
38
- padding: 0 1.5rem;
39
- font-weight: normal;
40
- }
41
-
42
- .title.right {
43
- margin-left: auto;
44
- }
45
-
46
- .title_button {
47
- flex: none;
48
- }
49
-
50
- .page_tabs {
51
- width: 100%;
52
- text-align: center;
53
- }
54
-
55
- .tab_link {
56
- display: inline-block;
57
- width: 50%;
58
- padding: 0.25rem 0;
59
- background-color: var(--c-med-gray);
60
- color: white;
61
- font-size: var(--fs-huge);
62
- opacity: 0.2;
63
- text-transform: uppercase;
64
- }
65
-
66
- .active_tab_link {
67
- opacity: 1;
68
- }
69
-
70
- .tab_title {
71
- font-weight: normal;
72
- }
73
-
74
- .active_tab_link .tab_title {
75
- font-weight: var(--fw-bold);
76
- }
77
-
78
- .disabled {
79
- background-color: transparent;
80
- pointer-events: none;
81
-
82
- & * {
83
- background-color: transparent;
84
- color: var(--c-font-disabled);
85
- fill: var(--c-font-disabled);
86
- }
87
- }
88
-
89
- .labeled_value {
90
- color: var(--c-font-dark); /* from legacy --font-body-1-dark */
91
- font-size: var(--fs-body-1); /* from legacy --font-body-1-dark */
92
- font-weight: var(--fw-regular); /* from legacy --font-body-1-dark */
93
- line-height: 1.5;
94
-
95
- & svg {
96
- height: var(--fs-body-2);
97
- }
98
- }
99
-
100
- .labeled_value_label {
101
- margin-top: 0;
102
- margin-bottom: 0.25rem;
103
- font-weight: var(--fw-semibold);
104
- }
105
-
106
- .labeled_value_value {
107
- margin: 0;
108
- }
109
-
110
- .right_node {
111
- display: flex;
112
- justify-content: flex-end;
113
- margin-left: auto;
114
- }
@@ -1,20 +0,0 @@
1
- @import './colors.module.css';
2
-
3
- :root {
4
- /* borders */
5
- --bd-radius-default: 2px;
6
- --bd-radius-form-field: 3px;
7
- --bd-radius-pill: 12px;
8
- --bd-width-default: 1px;
9
- --bd-light: var(--bd-width-default) solid var(--c-light-gray);
10
-
11
- /* dropshadows */
12
-
13
- /* TODO: Ian 2018-07-26 consolidate all shadows here (eg from buttons) */
14
- --shadow-lvl-1:
15
- 0 1px 3px 0 rgba(0, 0, 0, 0.1),
16
- 0 1px 2px 0 rgba(0, 0, 0, 0.2);
17
- --shadow-lvl-2:
18
- 0 3px 6px 0 rgba(0, 0, 0, 0.13),
19
- 0 3px 6px 0 rgba(0, 0, 0, 0.23);
20
- }
@@ -1,58 +0,0 @@
1
- /* ToDo this file will be removed once the labware library, designer, and creator are updated */
2
- :root {
3
- /* ot brand */
4
- --c-mustard: #ffd252;
5
- --c-blue: #006cfa;
6
- --c-light-blue: color-mod(var(--c-blue) lightness(85%));
7
-
8
- /*
9
- * grays
10
- * TODO(mc, 2019-03-22): align with style guide
11
- */
12
- --c-near-black: #a4a4a4; /* style guide: n/a */
13
- --c-dark-gray: #4a4a4a; /* style guide: near-black */
14
- --c-charcoal: #979797;
15
- --c-med-gray: #9b9b9b; /* style guide: n/a */
16
- --c-light-gray: #e5e2e2; /* style guide: smoke, should be e6e6e6 */
17
- --c-lightest-gray: #ededed; /* style guide: n/a */
18
-
19
- /*
20
- * background colors
21
- * TODO(mc, 2019-03-22): combine with colors
22
- */
23
- --c-bg-dark: #4a4a4a;
24
- --c-bg-light: #fafafa;
25
- --c-bg-selected: #f0f3ff;
26
- --c-bg-hover: #f1f1f1;
27
- --c-bg-success: #b6febc;
28
-
29
- /* general UI */
30
- --c-highlight: #5fd8ee;
31
- --c-selected-dark: #00c3e6;
32
- --c-warning-dark: #9e5e00;
33
- --c-warning: #e28200;
34
- --c-warning-light: #ffd58f;
35
- --c-error-dark: #ac0505;
36
- --c-error: #d12929;
37
- --c-error-light: #ffc0c0;
38
- --c-success: #60b120;
39
- --c-blue-enabled: #006cfa;
40
- --c-light-grey-hover: #c6c6c6;
41
-
42
- /* Misc */
43
- --c-selection-overlay: color-mod(var(--c-highlight) alpha(0.3));
44
- --c-plate-bg: #ccc;
45
- --c-white: #fff;
46
- --c-black: #000;
47
- --c-green: #7ed321;
48
- --c-red: #f00000;
49
- --c-orange: #f5a623;
50
-
51
- --transition-color: {
52
- transition: color 0.15s ease-in-out;
53
- }
54
-
55
- --transition-background-color: {
56
- transition: background-color 0.15s ease-in-out;
57
- }
58
- }
@@ -1,179 +0,0 @@
1
- /* this is global CSS for the components package and all other opentrons projects */
2
- :root {
3
- /* colors */
4
-
5
- /* currently we follow the order of colors.ts file */
6
-
7
- /* green */
8
- --green-60: #03683e;
9
- --green-35: #afedd3;
10
- --green-20: #e8f7ed;
11
- --green-50-non-touchscreen: #04aa65;
12
- --green-50-touchscreen: #1ca850;
13
- --green-50: var(--green-50-non-touchscreen);
14
- --green-40-non-touchscreen: #91e2c0;
15
- --green-40-touchscreen: #8ef3a8;
16
- --green-40: var(--green-40-non-touchscreen);
17
- --green-30-non-touchscreen: #c4f6e0;
18
- --green-30-touchscreen: #8afbab;
19
- --green-30: var(--green-30-non-touchscreen);
20
-
21
- /* red */
22
- --red-60: #941313;
23
- --red-55: #c71a1b;
24
- --red-50: #de1b1b;
25
- --red-40: #f5b2b3;
26
- --red-35: #f8c8c9;
27
- --red-30: #fad6d6;
28
- --red-20: #fce9e9;
29
-
30
- /* yellow */
31
- --yellow-60: #825512;
32
- --yellow-50: #f09d20;
33
- --yellow-40: #fcd48b;
34
- --yellow-35: #ffe1a4;
35
- --yellow-30: #ffe9be;
36
- --yellow-20: #fdf3e2;
37
-
38
- /* purple */
39
- --purple-60-non-touchscreen: #562566;
40
- --purple-60-touchscreen: #612367;
41
- --purple-60: var(--purple-60-non-touchscreen);
42
- --purple-55-non-touchscreen: #713187;
43
- --purple-55-touchscreen: #822e89;
44
- --purple-55: var(--purple-55-non-touchscreen);
45
- --purple-50-non-touchscreen: #893ba4;
46
- --purple-50-touchscreen: #9e39a8;
47
- --purple-50: var(--purple-50-non-touchscreen);
48
- --purple-40-non-touchscreen: #cea4df;
49
- --purple-40-touchscreen: #e2a9ea;
50
- --purple-40: var(--purple-40-non-touchscreen);
51
- --purple-35-non-touchscreen: #dbbce7;
52
- --purple-35-touchscreen: #ecc2f2;
53
- --purple-35: var(--purple-35-non-touchscreen);
54
- --purple-30-non-touchscreen: #e6d5ec;
55
- --purple-30-touchscreen: #f4def7;
56
- --purple-30: var(--purple-30-non-touchscreen);
57
- --purple-20-non-touchscreen: #f1e8f5;
58
- --purple-20-touchscreen: #fff3fe;
59
- --purple-20: var(--purple-20-non-touchscreen);
60
-
61
- /* blue */
62
- --blue-60: #004196;
63
- --blue-55: #0056c8;
64
- --blue-40: #a9cefd;
65
- --blue-35: #bfdcfd;
66
- --blue-30: #d0e6fe;
67
- --blue-20: #e1efff;
68
- --blue-10: #f1f8ff;
69
-
70
- /* gray */
71
- --grey-60: #4a4c4e;
72
- --grey-55: #626467;
73
- --grey-50: #737578;
74
- --grey-40: #b7b8b9;
75
- --grey-35: #cbcccc;
76
- --grey-30: #dedede;
77
- --grey-20: #e9e9e9;
78
- --grey-10: #f3f3f3;
79
-
80
- /* core */
81
- --black-90: #16212d;
82
- --black-80: #24313f;
83
- --black-70: #39495b;
84
- --white: #fff;
85
- --blue-50: #006cfa;
86
-
87
- /* semi-opaques */
88
- --transparent-white-80: #fffc;
89
- --transparent-white-50: #ffffff80;
90
- --transparent-black-80: #16212d80;
91
-
92
- /* flex */
93
- --flex-55: #0297cc;
94
- --flex-50: #00bdff;
95
- --flex-40: #aae3fc;
96
-
97
- /* extras */
98
- --transparent: #0000;
99
-
100
- /* spacing */
101
- --spacing-2: 0.125rem; /* 2px */
102
- --spacing-4: 0.25rem; /* 4px */
103
- --spacing-6: 0.375rem; /* 6px */
104
- --spacing-8: 0.5rem; /* 8px */
105
- --spacing-10: 0.625rem; /* 10px */
106
- --spacing-12: 0.75rem; /* 12px */
107
- --spacing-16: 1rem; /* 16px */
108
- --spacing-20: 1.25rem; /* 20px */
109
- --spacing-24: 1.5rem; /* 24px */
110
- --spacing-32: 2rem; /* 32px */
111
- --spacing-40: 2.5rem; /* 40px */
112
- --spacing-44: 2.75rem; /* 44px */
113
- --spacing-48: 3rem; /* 48px */
114
- --spacing-60: 3.75rem; /* 60px */
115
- --spacing-68: 4.25rem; /* 68px */
116
- --spacing-80: 5rem; /* 80px */
117
- --spacing-120: 7.5rem; /* 120px */
118
-
119
- /* border-radius */
120
- --border-radius-2: 0.125rem; /* 2px */
121
- --border-radius-4: 0.25rem; /* 4px */
122
- --border-radius-8: 0.5rem; /* 8px */
123
- --border-radius-12: 0.75rem; /* 12px */
124
- --border-radius-16: 1rem; /* 16px */
125
- --border-radius-40: 2.5rem; /* 40px */
126
- --border-radius-200: 50rem; /* 200px */
127
-
128
- /* font-size */
129
- --font-size-80: 5rem; /* 80px */
130
- --font-size-38: 2.375rem; /* 38px */
131
- --font-size-32: 2rem; /* 32px */
132
- --font-size-28: 1.75rem; /* 28px */
133
- --font-size-22: 1.375rem; /* 22px */
134
- --font-size-20: 1.25rem; /* 20px */
135
- --font-size-h1: 1.1875rem; /* H1 19px */
136
- --font-size-h2: 0.9375rem; /* H2 15px */
137
- --font-size-h3: 0.875rem; /* H3 14px */
138
- --font-size-h4: 0.8125rem; /* H4 13px */
139
- --font-size-h6: 0.5625rem; /* H6 9px */
140
- --font-size-p: 0.8125rem; /* P 13px */
141
- --font-size-label: 0.6875rem; /* Label 11px */
142
- --font-size-caption: 0.625rem; /* Caption 10px */
143
-
144
- /* line-height */
145
- --line-height-96: 6rem; /* 96px */
146
- --line-height-48: 3rem; /* 48px */
147
- --line-height-42: 2.625rem; /* 42px */
148
- --line-height-36: 2.25rem; /* 36px */
149
- --line-height-28: 1.75rem; /* 28px */
150
- --line-height-24: 1.5rem; /* 24px */
151
- --line-height-20: 1.25rem; /* 20px */
152
- --line-height-18: 1.125rem; /* 18px */
153
- --line-height-16: 1rem; /* 16px */
154
- --line-height-12: 0.75rem; /* 12px */
155
-
156
- /* font-weight */
157
-
158
- /* this might be removed. that depends on what StyledText looks like */
159
- --font-weight-bold: 700;
160
- --font-weight-semi-bold: 600;
161
- --font-weight-regular: 400;
162
- --font-weight-light: 300;
163
- }
164
-
165
- .enable_touchscreen_colors {
166
- /* green */
167
- --green-50: var(--green-50-touchscreen);
168
- --green-40: var(--green-40-touchscreen);
169
- --green-30: var(--green-30-touchscreen);
170
-
171
- /* purple */
172
- --purple-60: var(--purple-60-touchscreen);
173
- --purple-55: var(--purple-55-touchscreen);
174
- --purple-50: var(--purple-50-touchscreen);
175
- --purple-40: var(--purple-40-touchscreen);
176
- --purple-35: var(--purple-35-touchscreen);
177
- --purple-30: var(--purple-30-touchscreen);
178
- --purple-20: var(--purple-20-touchscreen);
179
- }
@@ -1,8 +0,0 @@
1
- .clickable {
2
- cursor: pointer;
3
- }
4
-
5
- .rotated {
6
- transform: rotate(180deg);
7
- transform-origin: center;
8
- }
@@ -1,23 +0,0 @@
1
- /* ToDo this file will be removed once the labware library, designer, and creator are updated */
2
- :root {
3
- --c-font-dark: #4a4a4a;
4
- --c-font-icon: #6f6f6f;
5
- --c-font-light: white;
6
- --c-font-disabled: #9c9c9c;
7
- --fs-huge: 3rem;
8
- --fs-header: 1.125rem;
9
- --fs-default: 1rem;
10
- --fs-body-2: 0.875rem;
11
- --fs-body-1: 0.75rem;
12
- --fs-caption: 0.625rem;
13
- --fs-tiny: 0.325rem;
14
- --fs-micro: 0.2rem;
15
- --fw-bold: 800;
16
- --fw-semibold: 600;
17
- --fw-regular: 400;
18
- --fw-light: 300;
19
- --ff-code: Consolas, monaco, monospace;
20
- --lh-solid: 1;
21
- --lh-title: 1.25;
22
- --lh-copy: 1.5;
23
- }
@@ -1,72 +0,0 @@
1
- /* common styling for tooltips */
2
- @import '../index.module.css';
3
-
4
- .tooltip_box {
5
- z-index: 9001;
6
- padding: 8px;
7
- background-color: var(--c-bg-dark);
8
- box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.13), 0 3px 6px 0 rgba(0, 0, 0, 0.23);
9
- color: var(--c-font-light); /* from legacy --font-body-1-light */
10
- cursor: pointer;
11
- font-size: var(--fs-body-1); /* from legacy --font-body-1-light */
12
- font-weight: var(--fw-regular); /* from legacy --font-body-1-light */
13
- }
14
-
15
- .arrow {
16
- position: absolute;
17
- bottom: 0;
18
- left: 0;
19
- width: 1em;
20
- height: 0.5em;
21
- margin-bottom: -0.5em;
22
-
23
- &::before {
24
- display: block;
25
- width: 0;
26
- height: 0;
27
- border-width: 0.5em 0.5em 0 0.5em;
28
- border-style: solid;
29
- border-color: var(--c-bg-dark) transparent transparent transparent;
30
- margin: auto;
31
- content: '';
32
- }
33
- }
34
-
35
- .arrow.bottom {
36
- top: 0;
37
- left: 0;
38
- width: 1em;
39
- height: 0.5em;
40
- margin-top: -0.5em;
41
-
42
- &::before {
43
- border-width: 0 0.5em 0.5em 0.5em;
44
- border-color: transparent transparent var(--c-bg-dark) transparent;
45
- }
46
- }
47
-
48
- .arrow.right {
49
- top: 0;
50
- left: 0;
51
- width: 0.5em;
52
- height: 1em;
53
- margin-left: -0.5em;
54
-
55
- &::before {
56
- border-width: 0.5em 0.5em 0.5em 0;
57
- border-color: transparent var(--c-bg-dark) transparent transparent;
58
- }
59
- }
60
-
61
- .arrow.left {
62
- top: 0;
63
- right: 0;
64
- width: 0.5em;
65
- height: 1em;
66
- margin-right: -0.5em;
67
-
68
- &::before {
69
- border-width: 0.5em 0 0.5em 0.5em;
70
- border-color: transparent transparent transparent var(--c-bg-dark);
71
- }
72
- }