@opentrons/components 0.3.7-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.
- package/README.md +1 -1
- package/lib/atoms/Chip/index.d.ts +0 -1
- package/lib/atoms/FixedTrashText/index.d.ts +0 -1
- package/lib/atoms/ListItem/ListItemChildren/ListItemCustomize.d.ts +0 -1
- package/lib/atoms/ListItem/ListItemChildren/ListItemDescriptor.d.ts +0 -1
- package/lib/atoms/Slider/index.d.ts +0 -1
- package/lib/atoms/Snackbar/index.d.ts +0 -1
- package/lib/atoms/StorageBar/index.d.ts +0 -1
- package/lib/atoms/Tag/index.d.ts +0 -1
- package/lib/atoms/Toast/index.d.ts +0 -1
- package/lib/atoms/buttons/EmptySelectorButton.d.ts +0 -1
- package/lib/atoms/buttons/{AltPrimaryButton.d.ts → PrimaryButton/AltPrimaryButton.d.ts} +1 -1
- package/lib/atoms/buttons/PrimaryButton/DefaultPrimaryButton.d.ts +2 -0
- package/lib/atoms/buttons/PrimaryButton/WarningPrimaryButton.d.ts +3 -0
- package/lib/atoms/buttons/PrimaryButton/index.d.ts +16 -0
- package/lib/atoms/buttons/index.d.ts +0 -1
- package/lib/buttons/DeprecatedPrimaryButton.d.ts +0 -1
- package/lib/buttons/FlatButton.d.ts +0 -1
- package/lib/buttons/IconButton.d.ts +0 -1
- package/lib/buttons/OutlineButton.d.ts +0 -1
- package/lib/forms/Select.d.ts +0 -1
- package/lib/hardware-sim/BaseDeck/StackedBadge.d.ts +0 -1
- package/lib/hardware-sim/Deck/DeckFromLayers.d.ts +0 -1
- package/lib/hardware-sim/Deck/MoveLabwareOnDeck.d.ts +0 -1
- package/lib/hardware-sim/Deck/OT2Layers.d.ts +0 -1
- package/lib/hardware-sim/DeckConfigurator/AbsorbanceReaderItem.d.ts +0 -1
- package/lib/hardware-sim/DeckConfigurator/EmptyConfigItem.d.ts +0 -1
- package/lib/hardware-sim/DeckConfigurator/FlexStackerItem.d.ts +0 -1
- package/lib/hardware-sim/DeckConfigurator/HeaterShakerItem.d.ts +0 -1
- package/lib/hardware-sim/DeckConfigurator/MagneticBlockItem.d.ts +0 -1
- package/lib/hardware-sim/DeckConfigurator/StagingAreaConfigItem.d.ts +0 -1
- package/lib/hardware-sim/DeckConfigurator/StaticItem.d.ts +0 -1
- package/lib/hardware-sim/DeckConfigurator/TemperatureModuleItem.d.ts +0 -1
- package/lib/hardware-sim/DeckConfigurator/ThermocyclerItem.d.ts +0 -1
- package/lib/hardware-sim/DeckConfigurator/TrashBinConfigItem.d.ts +0 -1
- package/lib/hardware-sim/DeckConfigurator/VacuumModuleItem.d.ts +0 -1
- package/lib/hardware-sim/DeckConfigurator/WasteChuteConfigItem.d.ts +0 -1
- package/lib/hardware-sim/Labware/CalibrationBlockRender.d.ts +0 -1
- package/lib/hardware-sim/Labware/LabwareAdapter/GenericLid.d.ts +0 -1
- package/lib/hardware-sim/Labware/LabwareAdapter/Opentrons96DeepWellAdapter.d.ts +0 -1
- package/lib/hardware-sim/Labware/LabwareAdapter/Opentrons96FlatBottomAdapter.d.ts +0 -1
- package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsAluminumFlatBottomPlate.d.ts +0 -1
- package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsAutoclavableDeckRiser.d.ts +0 -1
- package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsFlex96TiprackAdapter.d.ts +0 -1
- package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsToughPCRAutoSealingLid.d.ts +0 -1
- package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsUniversalFlatAdapter.d.ts +0 -1
- package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsUniversalFlatAdapterTypeB.d.ts +0 -1
- package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsVacuumManifoldCollar.d.ts +0 -1
- package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsVacuumManifoldSpacer.d.ts +0 -1
- package/lib/hardware-sim/Labware/labwareInternals/Tips/InaccessibleTip.d.ts +0 -1
- package/lib/hardware-sim/Labware/labwareInternals/Tips/NewTip.d.ts +0 -1
- package/lib/hardware-sim/Labware/labwareInternals/Tips/TipStatus.d.ts +0 -1
- package/lib/hardware-sim/Labware/labwareInternals/Tips/UsedTip.d.ts +0 -1
- package/lib/hardware-sim/Labware/labwareInternals/Wells/EmptyWell.d.ts +0 -1
- package/lib/hardware-sim/Labware/labwareInternals/Wells/SelectedWell.d.ts +0 -1
- package/lib/hardware-sim/Labware/labwareInternals/Wells/WellStatus.d.ts +0 -1
- package/lib/hardware-sim/Module/FlexStacker.d.ts +0 -1
- package/lib/hardware-sim/Module/HeaterShaker.d.ts +0 -1
- package/lib/hardware-sim/Module/MagneticBlock.d.ts +0 -1
- package/lib/hardware-sim/Module/MagneticModule.d.ts +0 -1
- package/lib/hardware-sim/Module/PlateReader.d.ts +0 -1
- package/lib/hardware-sim/Module/Temperature.d.ts +0 -1
- package/lib/hardware-sim/Module/Thermocycler/ThermocyclerGEN1.d.ts +0 -1
- package/lib/hardware-sim/Module/Thermocycler/ThermocyclerGEN2.d.ts +0 -1
- package/lib/hardware-sim/Module/Thermocycler/index.d.ts +0 -1
- package/lib/hardware-sim/Module/Vacuum.d.ts +0 -1
- package/lib/hooks/useSelectDeckLocation/index.d.ts +0 -1
- package/lib/icons/ModuleIcon.d.ts +0 -1
- package/lib/icons/NotificationIcon.d.ts +0 -1
- package/lib/index.js +166 -168
- package/lib/index.mjs +9427 -9370
- package/lib/instrument/InstrumentDiagram.d.ts +0 -1
- package/lib/legacy-hardware-sim/LabwareNameOverlay.d.ts +0 -1
- package/lib/modals/ContinueModal.d.ts +0 -1
- package/lib/modals/SpinnerModal.d.ts +0 -1
- package/lib/molecules/Banner/index.d.ts +5 -0
- package/lib/molecules/DeckLabel/index.d.ts +0 -1
- package/lib/molecules/InfoScreen/index.d.ts +0 -1
- package/lib/molecules/InputField/index.d.ts +0 -2
- package/lib/molecules/ParametersTable/index.d.ts +0 -1
- package/lib/molecules/ReleaseNotes/index.d.ts +0 -1
- package/lib/molecules/RobotInfoLabel/index.d.ts +0 -1
- package/lib/molecules/Tabs/index.d.ts +0 -1
- package/lib/molecules/TextAreaField/index.d.ts +0 -2
- package/lib/molecules/TimelineScrubber/TrackSlider.d.ts +0 -1
- package/lib/molecules/TimelineScrubber/index.d.ts +0 -1
- package/lib/molecules/TouchInputField/index.d.ts +0 -2
- package/lib/molecules/index.d.ts +1 -0
- package/lib/organisms/DeckLabelSet/index.d.ts +0 -1
- package/lib/organisms/LabwareDetailsWithCount/index.d.ts +0 -1
- package/lib/slotmap/OT2SlotMap.d.ts +0 -1
- package/lib/structure/Splash.d.ts +0 -1
- package/lib/style.css +1 -1
- package/lib/testing/utils/renderWithProviders.d.ts +3 -5
- package/package.json +13 -15
- package/lib/atoms/buttons/AlertPrimaryButton.d.ts +0 -3
- package/lib/atoms/buttons/PrimaryButton.d.ts +0 -2
- package/lib/atoms/buttons/__tests__/AlertPrimaryButton.test.d.ts +0 -1
- package/lib/atoms/buttons/__tests__/AltPrimaryButton.test.d.ts +0 -1
- package/lib/molecules/DeckInfoLabel/__tests__/DeckInfoLabel.test.d.ts +0 -1
- package/lib/molecules/DeckInfoLabel/index.d.ts +0 -11
- package/lib/organisms/ProtocolTimelineScrubber/CommandItem.d.ts +0 -12
- package/lib/organisms/ProtocolTimelineScrubber/PipetteVisuals.d.ts +0 -25
- package/lib/organisms/ProtocolTimelineScrubber/index.d.ts +0 -10
- package/lib/organisms/ProtocolTimelineScrubber/types.d.ts +0 -2
- package/lib/organisms/ProtocolTimelineScrubber/utils.d.ts +0 -23
- package/lib/primitives/Buttons/NewSecondaryBtn.d.ts +0 -8
- package/lib/src/alerts/alerts.module.css +0 -103
- package/lib/src/atoms/StyledText/placeholderstyledtext.module.css +0 -26
- package/lib/src/buttons/buttons.module.css +0 -428
- package/lib/src/controls/styles.module.css +0 -103
- package/lib/src/forms/Select.module.css +0 -118
- package/lib/src/forms/SelectField.module.css +0 -16
- package/lib/src/forms/forms.module.css +0 -240
- package/lib/src/hardware-sim/BaseDeck/basedeck.module.css +0 -20
- package/lib/src/hardware-sim/Deck/deck.module.css +0 -54
- package/lib/src/hardware-sim/Labware/labware.module.css +0 -8
- package/lib/src/hardware-sim/RobotCoordinateSpace/robotcoordinatespace.module.css +0 -3
- package/lib/src/icons/icon.module.css +0 -10
- package/lib/src/index.module.css +0 -9
- package/lib/src/instrument/PipetteSelect.module.css +0 -14
- package/lib/src/legacy-hardware-sim/LabwareNameOverlay.module.css +0 -20
- package/lib/src/legacy-hardware-sim/ModuleItem.module.css +0 -98
- package/lib/src/lists/lists.module.css +0 -171
- package/lib/src/modals/modals.module.css +0 -275
- package/lib/src/molecules/DeckInfoLabel/deckinfolabel.module.css +0 -42
- package/lib/src/molecules/ReleaseNotes/styles.module.css +0 -66
- package/lib/src/nav/SidePanel.module.css +0 -34
- package/lib/src/slotmap/styles.module.css +0 -18
- package/lib/src/structure/Pill.module.css +0 -16
- package/lib/src/structure/Splash.module.css +0 -16
- package/lib/src/structure/structure.module.css +0 -114
- package/lib/src/styles/borders.module.css +0 -20
- package/lib/src/styles/colors.module.css +0 -58
- package/lib/src/styles/global.css +0 -179
- package/lib/src/styles/index.module.css +0 -8
- package/lib/src/styles/typography.module.css +0 -23
- package/lib/src/tooltips/tooltips.module.css +0 -72
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
/* stylelint-disable selector-class-pattern */
|
|
2
|
-
@import '../index.module.css';
|
|
3
|
-
|
|
4
|
-
/* NOTE(mc, 2021-04-27): this class only used by storybook */
|
|
5
|
-
.example_select_override {
|
|
6
|
-
& :global(.ot_select__control) {
|
|
7
|
-
background-color: blue;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.select {
|
|
12
|
-
position: relative;
|
|
13
|
-
|
|
14
|
-
& :global(.ot_select__control) {
|
|
15
|
-
position: relative;
|
|
16
|
-
display: flex;
|
|
17
|
-
height: 1.75rem;
|
|
18
|
-
padding: 0.25rem 0;
|
|
19
|
-
border: none;
|
|
20
|
-
border-radius: var(--bd-radius-form-field);
|
|
21
|
-
background-color: var(--c-light-gray);
|
|
22
|
-
box-shadow: none;
|
|
23
|
-
color: var(--c-font-dark); /* from legacy --font-body-1-dark */
|
|
24
|
-
font-size: var(--fs-body-1); /* from legacy --font-body-1-dark */
|
|
25
|
-
font-weight: var(--fw-regular); /* from legacy --font-body-1-dark */
|
|
26
|
-
outline: none;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
& :global(.ot_select__control--menu-is-open) {
|
|
30
|
-
border-bottom-left-radius: 0;
|
|
31
|
-
border-bottom-right-radius: 0;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
& :global(.ot_select__control--menu-is-open),
|
|
35
|
-
& :global(.ot_select__control--is-focused) {
|
|
36
|
-
background-color: var(--c-white);
|
|
37
|
-
box-shadow: 0 0.125rem 0.25rem 0 color-mod(var(--c-black) alpha(0.5));
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
& :global(.ot_select__option) {
|
|
41
|
-
display: flex;
|
|
42
|
-
padding: 0.25rem 0.75rem;
|
|
43
|
-
cursor: default;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
& :global(.ot_select__option--is-focused) {
|
|
47
|
-
background-color: var(--c-light-gray);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
& :global(.ot_select__option--is-disabled) {
|
|
51
|
-
color: var(--c-font-disabled);
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
& :global(.ot_select__group-heading) {
|
|
55
|
-
margin-left: 0.5rem;
|
|
56
|
-
color: var(--c-med-gray); /* from legacy --font-form-caption */
|
|
57
|
-
font-size: var(--fs-caption); /* from legacy --font-form-caption */
|
|
58
|
-
font-weight: var(--fw-semibold); /* from legacy --font-form-caption */
|
|
59
|
-
text-transform: uppercase;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
& :global(.ot_select__single-value) {
|
|
63
|
-
display: flex;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
& :global(.ot_select__group):not(:first-child) {
|
|
67
|
-
padding-top: 0.25rem;
|
|
68
|
-
border-top: 1px solid color-mod(var(--c-med-gray) alpha(0.4));
|
|
69
|
-
margin-top: 0.25rem;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.dropdown_indicator {
|
|
74
|
-
position: absolute;
|
|
75
|
-
top: 0.25rem;
|
|
76
|
-
right: 0.25rem;
|
|
77
|
-
width: 1.25rem;
|
|
78
|
-
pointer-events: none;
|
|
79
|
-
|
|
80
|
-
& > svg {
|
|
81
|
-
color: var(--c-dark-gray);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
&.flipped > svg {
|
|
85
|
-
transform: rotate(180deg);
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.dropdown_indicator_icon {
|
|
90
|
-
width: 100%;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.menu {
|
|
94
|
-
position: absolute;
|
|
95
|
-
z-index: 99;
|
|
96
|
-
top: 100%;
|
|
97
|
-
right: 0;
|
|
98
|
-
left: 0;
|
|
99
|
-
padding-top: 0.25rem;
|
|
100
|
-
padding-bottom: 0.25rem;
|
|
101
|
-
background-color: var(--c-white);
|
|
102
|
-
border-bottom-left-radius: var(--bd-radius-form-field);
|
|
103
|
-
border-bottom-right-radius: var(--bd-radius-form-field);
|
|
104
|
-
box-shadow: 0 0.125rem 0.25rem 0 color-mod(var(--c-black) alpha(0.5));
|
|
105
|
-
color: var(--c-font-dark); /* from legacy --font-body-1-dark */
|
|
106
|
-
font-size: var(--fs-body-1); /* from legacy --font-body-1-dark */
|
|
107
|
-
font-weight: var(--fw-regular); /* from legacy --font-body-1-dark */
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.menu_control_bridge {
|
|
111
|
-
position: absolute;
|
|
112
|
-
z-index: 99;
|
|
113
|
-
top: calc(100% - 2px);
|
|
114
|
-
right: 0;
|
|
115
|
-
left: 0;
|
|
116
|
-
height: 4px;
|
|
117
|
-
background-color: var(--c-white);
|
|
118
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
@import '../index.module.css';
|
|
2
|
-
|
|
3
|
-
.select_field.error {
|
|
4
|
-
& :global(.ot_select__control) {
|
|
5
|
-
background-color: var(--c-warning-light);
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.select_caption {
|
|
10
|
-
font-size: var(--fs-caption);
|
|
11
|
-
|
|
12
|
-
&.error {
|
|
13
|
-
color: var(--c-warning-dark);
|
|
14
|
-
font-weight: var(--fw-semibold);
|
|
15
|
-
}
|
|
16
|
-
}
|
|
@@ -1,240 +0,0 @@
|
|
|
1
|
-
@import '../index.module.css';
|
|
2
|
-
|
|
3
|
-
.accessibly_hidden {
|
|
4
|
-
position: absolute;
|
|
5
|
-
overflow: hidden;
|
|
6
|
-
width: 1px;
|
|
7
|
-
height: 1px;
|
|
8
|
-
padding: 0;
|
|
9
|
-
border: 0;
|
|
10
|
-
margin: -1px;
|
|
11
|
-
clip: rect(0 0 0 0);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.form_field {
|
|
15
|
-
display: flex;
|
|
16
|
-
align-items: center;
|
|
17
|
-
color: var(--c-font-dark); /* from legacy --font-form-default */
|
|
18
|
-
font-size: var(--fs-body-1); /* from legacy --font-form-default */
|
|
19
|
-
font-weight: var(--fw-regular); /* from legacy --font-form-default */
|
|
20
|
-
line-height: 1;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.label_text {
|
|
24
|
-
flex: 0 0 auto;
|
|
25
|
-
padding: 0 0.5rem;
|
|
26
|
-
|
|
27
|
-
&:empty {
|
|
28
|
-
padding: 0;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.form_group_label {
|
|
33
|
-
margin-bottom: 0.15rem;
|
|
34
|
-
color: var(--c-font-dark); /* from legacy --font-form-default */
|
|
35
|
-
font-size: var(--fs-body-1); /* from legacy --font-form-default */
|
|
36
|
-
font-weight: var(--fw-semibold);
|
|
37
|
-
text-transform: capitalize;
|
|
38
|
-
|
|
39
|
-
&::after {
|
|
40
|
-
content: ':';
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.form_group_label_pipette_settings_slideout {
|
|
45
|
-
margin-bottom: 0.5rem;
|
|
46
|
-
color: #16212d;
|
|
47
|
-
font-size: 13px;
|
|
48
|
-
font-weight: var(--fw-semibold);
|
|
49
|
-
text-transform: capitalize;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.checkbox_icon {
|
|
53
|
-
display: flex;
|
|
54
|
-
|
|
55
|
-
/* Icon for radiobutton and for checkbox */
|
|
56
|
-
width: 1.25rem;
|
|
57
|
-
min-width: 1.25rem;
|
|
58
|
-
align-items: center;
|
|
59
|
-
justify-content: center;
|
|
60
|
-
color: var(--c-font-dark);
|
|
61
|
-
|
|
62
|
-
&:not(.checkbox_disabled):hover {
|
|
63
|
-
cursor: pointer;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
&.error {
|
|
67
|
-
color: var(--c-warning-dark);
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.checkbox_icon.checked {
|
|
72
|
-
color: var(--c-blue);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.toggle_icon {
|
|
76
|
-
/* Icon for radiobutton and for checkbox */
|
|
77
|
-
display: block;
|
|
78
|
-
width: 2rem;
|
|
79
|
-
min-width: 2rem;
|
|
80
|
-
color: var(--c-font-dark);
|
|
81
|
-
|
|
82
|
-
&:not(.toggle_disabled):hover {
|
|
83
|
-
cursor: pointer;
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.dropdown_disabled,
|
|
88
|
-
.checkbox_disabled,
|
|
89
|
-
.toggle_disabled {
|
|
90
|
-
opacity: 0.5;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.input_field_container {
|
|
94
|
-
width: 100%;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.input_field {
|
|
98
|
-
display: flex;
|
|
99
|
-
flex: 1 1;
|
|
100
|
-
padding: 0.25rem 0.25rem 0.25rem 0.5rem;
|
|
101
|
-
border-radius: var(--bd-radius-form-field);
|
|
102
|
-
background-color: var(--c-light-gray);
|
|
103
|
-
|
|
104
|
-
& input {
|
|
105
|
-
width: 100%;
|
|
106
|
-
height: 1rem;
|
|
107
|
-
flex: 1 1 auto;
|
|
108
|
-
border: none;
|
|
109
|
-
border-radius: inherit;
|
|
110
|
-
background-color: inherit;
|
|
111
|
-
color: var(--c-font-dark); /* from legacy --font-form-default */
|
|
112
|
-
font-size: var(--fs-body-1); /* from legacy --font-form-default */
|
|
113
|
-
font-weight: var(--fw-regular); /* from legacy --font-form-default */
|
|
114
|
-
|
|
115
|
-
/* TODO: Ian 2018-09-14 Firefox has 1px padding on input element,
|
|
116
|
-
* but I can't figure out how to fix it in Firefox without breaking it in Chrome.
|
|
117
|
-
* Better CSS reset for inputs needed?
|
|
118
|
-
*/
|
|
119
|
-
|
|
120
|
-
/* padding: 1px; */
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
& input:focus {
|
|
124
|
-
outline: none;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
& input::placeholder {
|
|
128
|
-
color: var(--c-med-gray);
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
&:focus-within {
|
|
132
|
-
background-color: var(--c-white);
|
|
133
|
-
box-shadow: 0 0.125rem 0.25rem 0 color-mod(var(--c-black) alpha(0.5));
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
& .suffix {
|
|
137
|
-
display: inline-block;
|
|
138
|
-
flex: 1 0;
|
|
139
|
-
align-self: center;
|
|
140
|
-
color: var(--c-font-dark); /* from legacy --font-form-default */
|
|
141
|
-
font-size: var(--fs-body-1); /* from legacy --font-form-default */
|
|
142
|
-
font-weight: var(--fw-semibold);
|
|
143
|
-
text-align: right;
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
.input_caption {
|
|
148
|
-
color: var(--c-med-gray); /* from legacy --font-form-caption */
|
|
149
|
-
font-size: var(--fs-caption); /* from legacy --font-form-caption */
|
|
150
|
-
font-weight: var(--fw-semibold); /* from legacy --font-form-caption */
|
|
151
|
-
line-height: 1.2;
|
|
152
|
-
|
|
153
|
-
& .right {
|
|
154
|
-
float: right;
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
.inline {
|
|
159
|
-
display: flex;
|
|
160
|
-
|
|
161
|
-
& .label_text {
|
|
162
|
-
padding-right: 1.5rem;
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
.inline_item {
|
|
167
|
-
flex: 1;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
.error div,
|
|
171
|
-
.error span {
|
|
172
|
-
color: var(--c-warning-dark);
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
.error select,
|
|
176
|
-
.error .input_field {
|
|
177
|
-
background-color: var(--c-warning-light);
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
.dropdown {
|
|
181
|
-
background-color: var(--c-light-gray);
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
.dropdown_field {
|
|
185
|
-
position: relative;
|
|
186
|
-
|
|
187
|
-
& select {
|
|
188
|
-
overflow: hidden;
|
|
189
|
-
width: 100%;
|
|
190
|
-
height: 1.5rem;
|
|
191
|
-
padding: 0.25rem 0.5rem;
|
|
192
|
-
border: 0;
|
|
193
|
-
border-radius: var(--bd-radius-form-field);
|
|
194
|
-
appearance: none;
|
|
195
|
-
color: var(--c-font-dark); /* from legacy --font-form-default */
|
|
196
|
-
font-family: inherit;
|
|
197
|
-
font-size: var(--fs-body-1); /* from legacy --font-form-default */
|
|
198
|
-
font-weight: var(--fw-regular); /* from legacy --font-form-default */
|
|
199
|
-
outline: none;
|
|
200
|
-
|
|
201
|
-
&:focus {
|
|
202
|
-
background-color: var(--c-white);
|
|
203
|
-
box-shadow: 0 0.125rem 0.25rem 0 color-mod(var(--c-black) alpha(0.5));
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
& .dropdown_icon {
|
|
208
|
-
position: absolute;
|
|
209
|
-
top: 0.2rem;
|
|
210
|
-
right: 0.25rem;
|
|
211
|
-
width: 1.25rem;
|
|
212
|
-
pointer-events: none;
|
|
213
|
-
|
|
214
|
-
& svg {
|
|
215
|
-
color: var(--c-dark-gray);
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
.error_icon {
|
|
221
|
-
display: inline-block;
|
|
222
|
-
width: 1.5rem;
|
|
223
|
-
min-width: 1.5rem;
|
|
224
|
-
padding-right: 0.5rem;
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
.disabled {
|
|
228
|
-
/* Disable mouse interaction. NOTE: User can still tab to focus a field */
|
|
229
|
-
pointer-events: none;
|
|
230
|
-
|
|
231
|
-
& .form_group_label {
|
|
232
|
-
color: var(--c-light-gray);
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
/* stylelint-disable no-descending-specificity */
|
|
236
|
-
& input,
|
|
237
|
-
& .suffix {
|
|
238
|
-
color: var(--c-med-gray);
|
|
239
|
-
}
|
|
240
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
.waste_chute_copy_container {
|
|
2
|
-
display: flex;
|
|
3
|
-
text-align: center;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.waste_chute_fixture_container {
|
|
7
|
-
display: flex;
|
|
8
|
-
width: 100%;
|
|
9
|
-
height: 100%;
|
|
10
|
-
flex-direction: column;
|
|
11
|
-
align-items: center;
|
|
12
|
-
justify-content: center;
|
|
13
|
-
border-radius: 6px;
|
|
14
|
-
gap: var(--spacing-4);
|
|
15
|
-
padding-inline: var(--spacing-8);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.waste_chute_fixture_container_highlight {
|
|
19
|
-
border: 3px solid var(--blue-50);
|
|
20
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
.deck_labels_column {
|
|
2
|
-
display: flex;
|
|
3
|
-
width: 2.5rem;
|
|
4
|
-
height: 100%;
|
|
5
|
-
flex: 1;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
align-items: center;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.deck_label_column_container {
|
|
11
|
-
display: flex;
|
|
12
|
-
flex: 1;
|
|
13
|
-
align-items: center;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.deck_labels_row {
|
|
17
|
-
display: flex;
|
|
18
|
-
width: var(--dynamic-width, 5rem); /* fallback if variable not set */
|
|
19
|
-
height: 2.5rem;
|
|
20
|
-
flex: 1;
|
|
21
|
-
align-items: center;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.deck_label_row_container {
|
|
25
|
-
display: flex;
|
|
26
|
-
width: var(--dynamic-width);
|
|
27
|
-
align-items: center;
|
|
28
|
-
justify-content: center;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.robot_coords_foreign_object_container {
|
|
32
|
-
display: flex;
|
|
33
|
-
width: 100%;
|
|
34
|
-
height: 100%;
|
|
35
|
-
transform: scale(1, -1);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.trash_container {
|
|
39
|
-
display: flex;
|
|
40
|
-
width: 100%;
|
|
41
|
-
height: 100%;
|
|
42
|
-
align-items: center;
|
|
43
|
-
justify-content: center;
|
|
44
|
-
border-radius: var(--border-4);
|
|
45
|
-
gap: var(--spacing-8);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.trash_container_highlight {
|
|
49
|
-
border: 3px solid var(--blue-50);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.trash_container_rotate_copy {
|
|
53
|
-
transform-origin: center;
|
|
54
|
-
}
|
package/lib/src/index.module.css
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
@import '../index.module.css';
|
|
2
|
-
|
|
3
|
-
.name_overlay {
|
|
4
|
-
width: 100%;
|
|
5
|
-
padding: 0.25rem;
|
|
6
|
-
border-radius: 0 0 0.5rem 0.5rem;
|
|
7
|
-
background-color: color-mod(var(--c-black) alpha(0.75));
|
|
8
|
-
color: var(--c-font-light);
|
|
9
|
-
font-size: 0.5rem;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.display_name {
|
|
13
|
-
color: var(--c-font-light);
|
|
14
|
-
font-weight: var(--fw-semibold);
|
|
15
|
-
overflow-wrap: break-word;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.deck_slot:active {
|
|
19
|
-
cursor: grabbing;
|
|
20
|
-
}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
@import '../index.module.css';
|
|
2
|
-
|
|
3
|
-
.module {
|
|
4
|
-
display: flex;
|
|
5
|
-
width: 100%;
|
|
6
|
-
height: 100%;
|
|
7
|
-
border-radius: 6px;
|
|
8
|
-
background-color: var(--c-black);
|
|
9
|
-
color: var(--c-black);
|
|
10
|
-
opacity: 0.9;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.module_review_icon {
|
|
14
|
-
width: 12px;
|
|
15
|
-
height: 12px;
|
|
16
|
-
margin: 0 0.25rem 0 0;
|
|
17
|
-
color: var(--c-white);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.module_review_icon_missing {
|
|
21
|
-
color: var(--c-red);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.module_review_icon_present {
|
|
25
|
-
color: var(--c-green);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.module_review_text {
|
|
29
|
-
margin-bottom: 0.75rem;
|
|
30
|
-
color: var(--c-white);
|
|
31
|
-
fill: currentColor;
|
|
32
|
-
font-size: 0.55rem;
|
|
33
|
-
font-weight: var(--fw-semibold);
|
|
34
|
-
text-transform: capitalize;
|
|
35
|
-
white-space: pre;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.module_name_overlay {
|
|
39
|
-
color: var(--c-black);
|
|
40
|
-
opacity: 0.7;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.module_connect_info_wrapper {
|
|
44
|
-
display: flex;
|
|
45
|
-
flex-direction: row;
|
|
46
|
-
color: var(--c-white);
|
|
47
|
-
font-size: 0.5rem;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.module_port_text {
|
|
51
|
-
color: var(--c-white);
|
|
52
|
-
fill: currentColor;
|
|
53
|
-
font-size: 0.65rem;
|
|
54
|
-
font-weight: var(--fw-semibold);
|
|
55
|
-
text-transform: uppercase;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.module_port_text_na {
|
|
59
|
-
color: var(--c-med-gray);
|
|
60
|
-
fill: currentColor;
|
|
61
|
-
font-size: 0.65rem;
|
|
62
|
-
font-weight: var(--fw-semibold);
|
|
63
|
-
text-transform: uppercase;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.module_wrapper {
|
|
67
|
-
display: flex;
|
|
68
|
-
width: 100%;
|
|
69
|
-
flex-direction: column;
|
|
70
|
-
align-items: flex-end;
|
|
71
|
-
justify-content: center;
|
|
72
|
-
padding: 1.15rem;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.flipped_module_wrapper {
|
|
76
|
-
display: flex;
|
|
77
|
-
width: 100%;
|
|
78
|
-
flex-direction: column;
|
|
79
|
-
align-items: flex-start;
|
|
80
|
-
justify-content: center;
|
|
81
|
-
padding: 1.15rem;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.module_name_text {
|
|
85
|
-
color: var(--c-white);
|
|
86
|
-
fill: currentColor;
|
|
87
|
-
font-size: 0.5rem;
|
|
88
|
-
font-weight: var(--fw-semibold);
|
|
89
|
-
text-transform: uppercase;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.flipped {
|
|
93
|
-
transform: rotate(180deg);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.right_icon {
|
|
97
|
-
margin: 0 0 0 1rem;
|
|
98
|
-
}
|