@morscherlab/mint-sdk 1.0.0-alpha.8 → 1.0.0-alpha.9
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 +15 -15
- package/dist/{auth-BYmxZdJl.js → auth-DsI0rQ7_.js} +6 -6
- package/dist/auth-DsI0rQ7_.js.map +1 -0
- package/dist/components/index.js +2 -2
- package/dist/{components-CKf-UpGi.js → components-CzbQQPCb.js} +1429 -1429
- package/dist/components-CzbQQPCb.js.map +1 -0
- package/dist/composables/index.js +2 -2
- package/dist/composables/usePlatformContext.d.ts +3 -3
- package/dist/{composables-D0QfFzq1.js → composables-BXklV5ii.js} +3 -3
- package/dist/{composables-D0QfFzq1.js.map → composables-BXklV5ii.js.map} +1 -1
- package/dist/index.js +4 -4
- package/dist/install.d.ts +3 -3
- package/dist/install.js +5 -5
- package/dist/install.js.map +1 -1
- package/dist/stores/auth.d.ts +1 -1
- package/dist/stores/index.js +1 -1
- package/dist/stores/settings.d.ts +1 -1
- package/dist/styles.css +5388 -5388
- package/dist/types/platform.d.ts +1 -1
- package/dist/{useScheduleDrag-DAJueTbK.js → useScheduleDrag-CxBeqYcu.js} +331 -331
- package/dist/useScheduleDrag-CxBeqYcu.js.map +1 -0
- package/package.json +2 -2
- package/src/__tests__/components/AppLayout.test.ts +23 -23
- package/src/__tests__/components/AppSidebar.test.ts +29 -29
- package/src/__tests__/components/AppTopBar.test.ts +45 -45
- package/src/__tests__/components/BaseInput.test.ts +2 -2
- package/src/__tests__/components/BasePill.test.ts +37 -37
- package/src/__tests__/components/Calendar.test.ts +52 -52
- package/src/__tests__/components/CollapsibleCard.test.ts +81 -81
- package/src/__tests__/components/DataFrame.test.ts +80 -80
- package/src/__tests__/components/DropdownButton.test.ts +80 -80
- package/src/__tests__/composables/usePlatformContext.test.ts +1 -1
- package/src/components/AlertBox.story.vue +1 -1
- package/src/components/AlertBox.vue +14 -14
- package/src/components/AppAvatarMenu.vue +26 -26
- package/src/components/AppContainer.vue +3 -3
- package/src/components/AppLayout.vue +7 -7
- package/src/components/AppPageSelector.vue +30 -30
- package/src/components/AppPillNav.vue +10 -10
- package/src/components/AppPluginSwitcher.vue +31 -31
- package/src/components/AppSidebar.vue +8 -8
- package/src/components/AppTopBar.story.vue +7 -7
- package/src/components/AppTopBar.vue +102 -102
- package/src/components/AuditTrail.vue +19 -19
- package/src/components/AutoGroupModal.vue +76 -76
- package/src/components/Avatar.vue +6 -6
- package/src/components/BaseButton.vue +6 -6
- package/src/components/BaseCheckbox.vue +9 -9
- package/src/components/BaseInput.vue +4 -4
- package/src/components/BaseModal.story.vue +1 -1
- package/src/components/BaseModal.vue +14 -14
- package/src/components/BasePill.vue +9 -9
- package/src/components/BaseRadioGroup.vue +21 -21
- package/src/components/BaseSelect.vue +6 -6
- package/src/components/BaseSlider.vue +8 -8
- package/src/components/BaseTabs.vue +7 -7
- package/src/components/BaseTextarea.vue +5 -5
- package/src/components/BaseToggle.vue +10 -10
- package/src/components/BatchProgressList.vue +25 -25
- package/src/components/Breadcrumb.vue +8 -8
- package/src/components/Calendar.vue +19 -19
- package/src/components/ChartContainer.vue +9 -9
- package/src/components/ChemicalFormula.vue +7 -7
- package/src/components/CollapsibleCard.vue +20 -20
- package/src/components/ColorSlider.vue +6 -6
- package/src/components/ConcentrationInput.vue +12 -12
- package/src/components/ConfirmDialog.story.vue +1 -1
- package/src/components/ConfirmDialog.vue +7 -7
- package/src/components/DataFrame.vue +40 -40
- package/src/components/DatePicker.vue +29 -29
- package/src/components/DateTimePicker.vue +41 -41
- package/src/components/Divider.vue +9 -9
- package/src/components/DoseCalculator.vue +66 -66
- package/src/components/DropdownButton.vue +19 -19
- package/src/components/EmptyState.vue +9 -9
- package/src/components/ExperimentCodeBadge.vue +3 -3
- package/src/components/ExperimentDataViewer.vue +25 -25
- package/src/components/ExperimentPopover.vue +35 -35
- package/src/components/ExperimentSelectorModal.vue +40 -40
- package/src/components/ExperimentTimeline.vue +48 -48
- package/src/components/FileUploader.vue +31 -31
- package/src/components/FitPanel.vue +9 -9
- package/src/components/FormActions.vue +1 -1
- package/src/components/FormBuilder.vue +2 -2
- package/src/components/FormField.vue +7 -7
- package/src/components/FormSection.vue +7 -7
- package/src/components/FormulaInput.vue +10 -10
- package/src/components/GroupAssigner.vue +40 -40
- package/src/components/GroupingModal.vue +45 -45
- package/src/components/IconButton.vue +6 -6
- package/src/components/LoadingSpinner.vue +5 -5
- package/src/components/MoleculeInput.vue +21 -21
- package/src/components/MultiSelect.vue +13 -13
- package/src/components/NumberInput.vue +13 -13
- package/src/components/PlateMapEditor.vue +63 -63
- package/src/components/ProgressBar.vue +18 -18
- package/src/components/ProtocolStepEditor.vue +57 -57
- package/src/components/RackEditor.vue +28 -28
- package/src/components/ReagentEditor.vue +61 -61
- package/src/components/ReagentList.vue +49 -49
- package/src/components/ResourceCard.vue +28 -28
- package/src/components/SampleHierarchyTree.vue +13 -13
- package/src/components/SampleLegend.vue +12 -12
- package/src/components/SampleSelector.vue +104 -104
- package/src/components/ScheduleCalendar.vue +42 -42
- package/src/components/ScientificNumber.vue +11 -11
- package/src/components/SegmentedControl.vue +12 -12
- package/src/components/SequenceInput.vue +32 -32
- package/src/components/SettingsButton.vue +5 -5
- package/src/components/SettingsModal.vue +17 -17
- package/src/components/StatusIndicator.vue +5 -5
- package/src/components/StepWizard.vue +16 -16
- package/src/components/TagsInput.vue +20 -20
- package/src/components/ThemeToggle.vue +3 -3
- package/src/components/TimePicker.vue +21 -21
- package/src/components/TimeRangeInput.vue +5 -5
- package/src/components/ToastNotification.vue +8 -8
- package/src/components/Tooltip.vue +7 -7
- package/src/components/UnitInput.vue +12 -12
- package/src/components/WellEditPopup.vue +28 -28
- package/src/components/WellPlate.vue +37 -37
- package/src/composables/useAppExperiment.ts +1 -1
- package/src/composables/usePlatformContext.ts +16 -16
- package/src/composables/useProtocolTemplates.ts +1 -1
- package/src/install.ts +3 -3
- package/src/stores/auth.ts +3 -3
- package/src/stores/settings.ts +2 -2
- package/src/styles/components/alert-box.css +30 -30
- package/src/styles/components/app-avatar-menu.css +23 -23
- package/src/styles/components/app-container.css +6 -6
- package/src/styles/components/app-layout.css +15 -15
- package/src/styles/components/app-page-selector.css +26 -26
- package/src/styles/components/app-pill-nav.css +7 -7
- package/src/styles/components/app-plugin-switcher.css +27 -27
- package/src/styles/components/app-sidebar.css +24 -24
- package/src/styles/components/app-top-bar.css +65 -65
- package/src/styles/components/audit-trail.css +29 -29
- package/src/styles/components/auto-group-modal.css +91 -91
- package/src/styles/components/avatar.css +15 -15
- package/src/styles/components/batch-progress-list.css +40 -40
- package/src/styles/components/breadcrumb.css +8 -8
- package/src/styles/components/button.css +31 -31
- package/src/styles/components/calendar.css +27 -27
- package/src/styles/components/chart-container.css +9 -9
- package/src/styles/components/checkbox.css +20 -20
- package/src/styles/components/chemical-formula.css +8 -8
- package/src/styles/components/collapsible-card.css +35 -35
- package/src/styles/components/color-slider.css +8 -8
- package/src/styles/components/concentration-input.css +27 -27
- package/src/styles/components/confirm-dialog.css +32 -32
- package/src/styles/components/dataframe.css +66 -66
- package/src/styles/components/date-picker.css +40 -40
- package/src/styles/components/datetime-picker.css +37 -37
- package/src/styles/components/divider.css +13 -13
- package/src/styles/components/dose-calculator.css +43 -43
- package/src/styles/components/dropdown-button.css +46 -46
- package/src/styles/components/empty-state.css +44 -44
- package/src/styles/components/experiment-code-badge.css +8 -8
- package/src/styles/components/experiment-data-viewer.css +23 -23
- package/src/styles/components/experiment-popover.css +97 -97
- package/src/styles/components/experiment-selector-modal.css +39 -39
- package/src/styles/components/experiment-timeline.css +98 -98
- package/src/styles/components/file-uploader.css +44 -44
- package/src/styles/components/fit-panel.css +12 -12
- package/src/styles/components/form-builder.css +11 -11
- package/src/styles/components/form-field.css +7 -7
- package/src/styles/components/formula-input.css +17 -17
- package/src/styles/components/group-assigner.css +26 -26
- package/src/styles/components/grouping-modal.css +51 -51
- package/src/styles/components/icon-button.css +41 -41
- package/src/styles/components/input.css +13 -13
- package/src/styles/components/loading-spinner.css +12 -12
- package/src/styles/components/modal.css +69 -69
- package/src/styles/components/molecule-input.css +27 -27
- package/src/styles/components/multi-select.css +23 -23
- package/src/styles/components/number-input.css +32 -32
- package/src/styles/components/pill.css +37 -37
- package/src/styles/components/plate-map-editor.css +67 -67
- package/src/styles/components/progress-bar.css +41 -41
- package/src/styles/components/protocol-step-editor.css +63 -63
- package/src/styles/components/rack-editor.css +34 -34
- package/src/styles/components/radio-group.css +41 -41
- package/src/styles/components/reagent-editor.css +70 -70
- package/src/styles/components/reagent-list.css +65 -65
- package/src/styles/components/resource-card.css +52 -52
- package/src/styles/components/sample-hierarchy-tree.css +56 -56
- package/src/styles/components/sample-legend.css +37 -37
- package/src/styles/components/sample-selector.css +121 -121
- package/src/styles/components/schedule-calendar.css +67 -67
- package/src/styles/components/scientific-number.css +11 -11
- package/src/styles/components/segmented-control.css +33 -33
- package/src/styles/components/select.css +11 -11
- package/src/styles/components/sequence-input.css +29 -29
- package/src/styles/components/settings-button.css +16 -16
- package/src/styles/components/settings-modal.css +14 -14
- package/src/styles/components/skeleton.css +2 -2
- package/src/styles/components/slider.css +10 -10
- package/src/styles/components/status-indicator.css +12 -12
- package/src/styles/components/step-wizard.css +32 -32
- package/src/styles/components/tabs.css +16 -16
- package/src/styles/components/tags-input.css +46 -46
- package/src/styles/components/textarea.css +17 -17
- package/src/styles/components/theme-toggle.css +13 -13
- package/src/styles/components/time-picker.css +28 -28
- package/src/styles/components/time-range-input.css +8 -8
- package/src/styles/components/toast.css +18 -18
- package/src/styles/components/toggle.css +27 -27
- package/src/styles/components/tooltip.css +18 -18
- package/src/styles/components/unit-input.css +25 -25
- package/src/styles/components/well-edit-popup.css +32 -32
- package/src/styles/components/well-plate.css +49 -49
- package/src/styles/index.css +1 -1
- package/src/styles/variables.css +3 -3
- package/src/types/platform.ts +6 -6
- package/dist/auth-BYmxZdJl.js.map +0 -1
- package/dist/components-CKf-UpGi.js.map +0 -1
- package/dist/useScheduleDrag-DAJueTbK.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* Calendar Component Styles */
|
|
2
2
|
|
|
3
|
-
.
|
|
3
|
+
.mint-calendar {
|
|
4
4
|
display: inline-block;
|
|
5
5
|
background-color: var(--bg-secondary);
|
|
6
6
|
border: 1px solid var(--border-color);
|
|
@@ -10,20 +10,20 @@
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
/* Header */
|
|
13
|
-
.
|
|
13
|
+
.mint-calendar__header {
|
|
14
14
|
display: flex;
|
|
15
15
|
align-items: center;
|
|
16
16
|
justify-content: space-between;
|
|
17
17
|
margin-bottom: 0.5rem;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
.
|
|
20
|
+
.mint-calendar__title {
|
|
21
21
|
font-size: 0.875rem;
|
|
22
22
|
font-weight: 600;
|
|
23
23
|
color: var(--text-primary);
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
.
|
|
26
|
+
.mint-calendar__nav-btn {
|
|
27
27
|
display: inline-flex;
|
|
28
28
|
align-items: center;
|
|
29
29
|
justify-content: center;
|
|
@@ -37,30 +37,30 @@
|
|
|
37
37
|
transition: background-color 0.15s ease, color 0.15s ease;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
.
|
|
40
|
+
.mint-calendar__nav-btn:hover {
|
|
41
41
|
background-color: var(--bg-hover);
|
|
42
42
|
color: var(--text-primary);
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
.
|
|
45
|
+
.mint-calendar__nav-btn:focus-visible {
|
|
46
46
|
outline: none;
|
|
47
47
|
box-shadow: var(--focus-ring);
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
.
|
|
50
|
+
.mint-calendar__nav-btn svg {
|
|
51
51
|
width: 1rem;
|
|
52
52
|
height: 1rem;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
/* Weekday labels */
|
|
56
|
-
.
|
|
56
|
+
.mint-calendar__weekdays {
|
|
57
57
|
display: grid;
|
|
58
58
|
grid-template-columns: repeat(7, 1fr);
|
|
59
59
|
gap: 0;
|
|
60
60
|
margin-bottom: 0.25rem;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
.
|
|
63
|
+
.mint-calendar__weekday {
|
|
64
64
|
text-align: center;
|
|
65
65
|
font-size: 0.6875rem;
|
|
66
66
|
font-weight: 600;
|
|
@@ -71,14 +71,14 @@
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
/* Day grid */
|
|
74
|
-
.
|
|
74
|
+
.mint-calendar__grid {
|
|
75
75
|
display: grid;
|
|
76
76
|
grid-template-columns: repeat(7, 1fr);
|
|
77
77
|
gap: 0.125rem;
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
/* Day cells */
|
|
81
|
-
.
|
|
81
|
+
.mint-calendar__day {
|
|
82
82
|
position: relative;
|
|
83
83
|
display: flex;
|
|
84
84
|
flex-direction: column;
|
|
@@ -96,60 +96,60 @@
|
|
|
96
96
|
transition: background-color 0.1s ease, color 0.1s ease;
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
-
.
|
|
99
|
+
.mint-calendar__day--interactive {
|
|
100
100
|
cursor: pointer;
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
.
|
|
103
|
+
.mint-calendar__day--interactive:hover:not(.mint-calendar__day--disabled):not(.mint-calendar__day--selected) {
|
|
104
104
|
background-color: var(--bg-hover);
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
/* Today */
|
|
108
|
-
.
|
|
108
|
+
.mint-calendar__day--today:not(.mint-calendar__day--selected) {
|
|
109
109
|
font-weight: 700;
|
|
110
110
|
box-shadow: inset 0 0 0 1.5px var(--color-primary);
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
/* Selected */
|
|
114
|
-
.
|
|
114
|
+
.mint-calendar__day--selected {
|
|
115
115
|
background-color: var(--color-primary);
|
|
116
116
|
color: white;
|
|
117
117
|
font-weight: 600;
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
.
|
|
120
|
+
.mint-calendar__day--selected:hover {
|
|
121
121
|
background-color: var(--color-primary-hover);
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
/* In range */
|
|
125
|
-
.
|
|
125
|
+
.mint-calendar__day--in-range {
|
|
126
126
|
background-color: rgba(59, 130, 246, 0.1);
|
|
127
127
|
border-radius: 0;
|
|
128
128
|
}
|
|
129
129
|
|
|
130
|
-
html.dark .
|
|
130
|
+
html.dark .mint-calendar__day--in-range {
|
|
131
131
|
background-color: rgba(59, 130, 246, 0.2);
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
/* Outside month */
|
|
135
|
-
.
|
|
135
|
+
.mint-calendar__day--outside {
|
|
136
136
|
color: var(--text-muted);
|
|
137
137
|
opacity: 0.5;
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
/* Disabled */
|
|
141
|
-
.
|
|
141
|
+
.mint-calendar__day--disabled {
|
|
142
142
|
opacity: 0.3;
|
|
143
143
|
cursor: not-allowed;
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
/* Day number */
|
|
147
|
-
.
|
|
147
|
+
.mint-calendar__day-number {
|
|
148
148
|
line-height: 1;
|
|
149
149
|
}
|
|
150
150
|
|
|
151
151
|
/* Markers */
|
|
152
|
-
.
|
|
152
|
+
.mint-calendar__markers {
|
|
153
153
|
display: flex;
|
|
154
154
|
gap: 0.125rem;
|
|
155
155
|
position: absolute;
|
|
@@ -158,25 +158,25 @@ html.dark .mld-calendar__day--in-range {
|
|
|
158
158
|
transform: translateX(-50%);
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
.
|
|
161
|
+
.mint-calendar__marker {
|
|
162
162
|
--marker-color: var(--color-primary);
|
|
163
163
|
}
|
|
164
164
|
|
|
165
|
-
.
|
|
165
|
+
.mint-calendar__marker--dot {
|
|
166
166
|
width: 0.25rem;
|
|
167
167
|
height: 0.25rem;
|
|
168
168
|
border-radius: 9999px;
|
|
169
169
|
background-color: var(--marker-color);
|
|
170
170
|
}
|
|
171
171
|
|
|
172
|
-
.
|
|
172
|
+
.mint-calendar__marker--bar {
|
|
173
173
|
width: 0.75rem;
|
|
174
174
|
height: 0.1875rem;
|
|
175
175
|
border-radius: 9999px;
|
|
176
176
|
background-color: var(--marker-color);
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
.
|
|
179
|
+
.mint-calendar__marker--highlight {
|
|
180
180
|
position: absolute;
|
|
181
181
|
inset: 0;
|
|
182
182
|
border-radius: inherit;
|
|
@@ -185,7 +185,7 @@ html.dark .mld-calendar__day--in-range {
|
|
|
185
185
|
}
|
|
186
186
|
|
|
187
187
|
/* Focus states */
|
|
188
|
-
.
|
|
188
|
+
.mint-calendar__day:focus-visible {
|
|
189
189
|
outline: none;
|
|
190
190
|
box-shadow: var(--focus-ring);
|
|
191
191
|
z-index: 1;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/* ChartContainer Component Styles */
|
|
2
2
|
|
|
3
|
-
.
|
|
3
|
+
.mint-chart {
|
|
4
4
|
background-color: var(--bg-card);
|
|
5
5
|
border: 1px solid var(--border-color);
|
|
6
6
|
border-radius: var(--radius-lg);
|
|
7
7
|
overflow: hidden;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
.
|
|
10
|
+
.mint-chart__header {
|
|
11
11
|
display: flex;
|
|
12
12
|
align-items: flex-start;
|
|
13
13
|
justify-content: space-between;
|
|
@@ -16,12 +16,12 @@
|
|
|
16
16
|
border-bottom: 1px solid var(--border-color);
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
.
|
|
19
|
+
.mint-chart__header-text {
|
|
20
20
|
flex: 1;
|
|
21
21
|
min-width: 0;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
.
|
|
24
|
+
.mint-chart__title {
|
|
25
25
|
font-size: 1rem;
|
|
26
26
|
font-weight: 600;
|
|
27
27
|
color: var(--text-primary);
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
padding: 0 !important;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
.
|
|
33
|
+
.mint-chart__description {
|
|
34
34
|
font-size: 0.8125rem;
|
|
35
35
|
color: var(--text-muted);
|
|
36
36
|
margin-top: 0.25rem !important;
|
|
@@ -39,19 +39,19 @@
|
|
|
39
39
|
padding: 0 !important;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
.
|
|
42
|
+
.mint-chart__toolbar {
|
|
43
43
|
display: flex;
|
|
44
44
|
align-items: center;
|
|
45
45
|
gap: 0.5rem;
|
|
46
46
|
flex-shrink: 0;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
.
|
|
49
|
+
.mint-chart__body {
|
|
50
50
|
position: relative;
|
|
51
51
|
min-height: 12rem;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
.
|
|
54
|
+
.mint-chart__loading-overlay {
|
|
55
55
|
position: absolute;
|
|
56
56
|
inset: 0;
|
|
57
57
|
display: flex;
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
z-index: 1;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
.
|
|
64
|
+
.mint-chart__legend {
|
|
65
65
|
padding: 0.75rem 1.5rem;
|
|
66
66
|
border-top: 1px solid var(--border-color);
|
|
67
67
|
font-size: 0.8125rem;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* BaseCheckbox Component Styles */
|
|
2
2
|
|
|
3
|
-
.
|
|
3
|
+
.mint-checkbox {
|
|
4
4
|
display: inline-flex;
|
|
5
5
|
align-items: center;
|
|
6
6
|
gap: 0.5rem;
|
|
@@ -8,19 +8,19 @@
|
|
|
8
8
|
user-select: none;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
.
|
|
11
|
+
.mint-checkbox--disabled {
|
|
12
12
|
opacity: var(--mint-disabled-opacity);
|
|
13
13
|
cursor: not-allowed;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
.
|
|
16
|
+
.mint-checkbox__input-wrapper {
|
|
17
17
|
position: relative;
|
|
18
18
|
display: flex;
|
|
19
19
|
align-items: center;
|
|
20
20
|
justify-content: center;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
.
|
|
23
|
+
.mint-checkbox__native {
|
|
24
24
|
position: absolute;
|
|
25
25
|
width: 1px;
|
|
26
26
|
height: 1px;
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
border: 0;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
.
|
|
34
|
+
.mint-checkbox__box {
|
|
35
35
|
display: inline-flex;
|
|
36
36
|
align-items: center;
|
|
37
37
|
justify-content: center;
|
|
@@ -44,80 +44,80 @@
|
|
|
44
44
|
cursor: pointer;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
.
|
|
47
|
+
.mint-checkbox__box--checked {
|
|
48
48
|
background-color: var(--color-primary);
|
|
49
49
|
border-color: var(--color-primary);
|
|
50
50
|
color: #FFFFFF;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
.
|
|
53
|
+
.mint-checkbox__native:focus-visible + .mint-checkbox__box {
|
|
54
54
|
box-shadow: var(--focus-ring-soft);
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
.
|
|
57
|
+
.mint-checkbox__native:disabled + .mint-checkbox__box {
|
|
58
58
|
background-color: var(--bg-secondary);
|
|
59
59
|
border-color: var(--border-color);
|
|
60
60
|
cursor: not-allowed;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
.
|
|
63
|
+
.mint-checkbox__native:disabled + .mint-checkbox__box.mint-checkbox__box--checked {
|
|
64
64
|
background-color: var(--text-muted);
|
|
65
65
|
border-color: var(--text-muted);
|
|
66
66
|
color: #FFFFFF;
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
.
|
|
69
|
+
.mint-checkbox__box--sm {
|
|
70
70
|
width: 14px;
|
|
71
71
|
height: 14px;
|
|
72
72
|
min-width: 14px;
|
|
73
73
|
min-height: 14px;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
.
|
|
76
|
+
.mint-checkbox__box--md {
|
|
77
77
|
width: 16px;
|
|
78
78
|
height: 16px;
|
|
79
79
|
min-width: 16px;
|
|
80
80
|
min-height: 16px;
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
.
|
|
83
|
+
.mint-checkbox__box--lg {
|
|
84
84
|
width: 20px;
|
|
85
85
|
height: 20px;
|
|
86
86
|
min-width: 20px;
|
|
87
87
|
min-height: 20px;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
.
|
|
90
|
+
.mint-checkbox__icon {
|
|
91
91
|
color: inherit;
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
.
|
|
94
|
+
.mint-checkbox__icon--sm {
|
|
95
95
|
width: 10px;
|
|
96
96
|
height: 10px;
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
-
.
|
|
99
|
+
.mint-checkbox__icon--md {
|
|
100
100
|
width: 12px;
|
|
101
101
|
height: 12px;
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
.
|
|
104
|
+
.mint-checkbox__icon--lg {
|
|
105
105
|
width: 14px;
|
|
106
106
|
height: 14px;
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
.
|
|
109
|
+
.mint-checkbox__label {
|
|
110
110
|
color: var(--text-primary);
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
.
|
|
113
|
+
.mint-checkbox__label--sm {
|
|
114
114
|
font-size: 0.875rem;
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
.
|
|
117
|
+
.mint-checkbox__label--md {
|
|
118
118
|
font-size: 0.875rem;
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
.
|
|
121
|
+
.mint-checkbox__label--lg {
|
|
122
122
|
font-size: 1rem;
|
|
123
123
|
}
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
/* ChemicalFormula Component Styles */
|
|
2
2
|
|
|
3
|
-
.
|
|
3
|
+
.mint-chem-formula {
|
|
4
4
|
display: inline;
|
|
5
5
|
font-family: Arial, Helvetica, sans-serif;
|
|
6
6
|
color: var(--text-primary);
|
|
7
7
|
letter-spacing: 0.01em;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
.
|
|
10
|
+
.mint-chem-formula--block {
|
|
11
11
|
display: block;
|
|
12
12
|
font-size: 1.25em;
|
|
13
13
|
padding: 0.25rem 0;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
.
|
|
16
|
+
.mint-chem-formula__element {
|
|
17
17
|
/* default styling inherited */
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
.
|
|
20
|
+
.mint-chem-formula__subscript {
|
|
21
21
|
vertical-align: sub;
|
|
22
22
|
font-size: 0.75em;
|
|
23
23
|
line-height: 0;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
.
|
|
26
|
+
.mint-chem-formula__superscript {
|
|
27
27
|
vertical-align: super;
|
|
28
28
|
font-size: 0.75em;
|
|
29
29
|
line-height: 0;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
.
|
|
32
|
+
.mint-chem-formula__paren {
|
|
33
33
|
color: var(--text-secondary);
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
.
|
|
36
|
+
.mint-chem-formula__dot {
|
|
37
37
|
margin: 0 0.125em;
|
|
38
38
|
color: var(--text-muted);
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
.
|
|
41
|
+
.mint-chem-formula__charge {
|
|
42
42
|
vertical-align: super;
|
|
43
43
|
font-size: 0.75em;
|
|
44
44
|
line-height: 0;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* CollapsibleCard Component Styles */
|
|
2
2
|
|
|
3
|
-
.
|
|
3
|
+
.mint-collapsible-card {
|
|
4
4
|
border: 1px solid var(--border-color);
|
|
5
5
|
border-radius: var(--radius-lg);
|
|
6
6
|
overflow: hidden;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
.
|
|
11
|
+
.mint-collapsible-card__header {
|
|
12
12
|
display: flex;
|
|
13
13
|
align-items: center;
|
|
14
14
|
justify-content: space-between;
|
|
@@ -24,21 +24,21 @@
|
|
|
24
24
|
min-height: 3rem;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
.
|
|
27
|
+
.mint-collapsible-card__header:hover {
|
|
28
28
|
background-color: var(--bg-hover);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
.
|
|
31
|
+
.mint-collapsible-card__header:focus-visible {
|
|
32
32
|
outline: none;
|
|
33
33
|
box-shadow: inset 0 0 0 2px var(--color-primary);
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
.
|
|
36
|
+
.mint-collapsible-card__header--disabled {
|
|
37
37
|
opacity: var(--mint-disabled-opacity);
|
|
38
38
|
cursor: not-allowed;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
.
|
|
41
|
+
.mint-collapsible-card__title-section {
|
|
42
42
|
display: flex;
|
|
43
43
|
align-items: center;
|
|
44
44
|
gap: 0.75rem;
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
min-width: 0;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
.
|
|
49
|
+
.mint-collapsible-card__icon-badge {
|
|
50
50
|
display: flex;
|
|
51
51
|
align-items: center;
|
|
52
52
|
justify-content: center;
|
|
@@ -56,17 +56,17 @@
|
|
|
56
56
|
flex-shrink: 0;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
.
|
|
59
|
+
.mint-collapsible-card__icon {
|
|
60
60
|
width: 1rem;
|
|
61
61
|
height: 1rem;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
.
|
|
64
|
+
.mint-collapsible-card__icon-text {
|
|
65
65
|
font-size: 1rem;
|
|
66
66
|
line-height: 1;
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
.
|
|
69
|
+
.mint-collapsible-card__titles {
|
|
70
70
|
display: flex;
|
|
71
71
|
flex-direction: column;
|
|
72
72
|
justify-content: center;
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
padding: 0;
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
.
|
|
78
|
+
.mint-collapsible-card__title {
|
|
79
79
|
font-size: 0.875rem;
|
|
80
80
|
font-weight: 600;
|
|
81
81
|
color: var(--text-primary);
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
text-overflow: ellipsis;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
.
|
|
90
|
+
.mint-collapsible-card__subtitle {
|
|
91
91
|
font-size: 0.75rem;
|
|
92
92
|
color: var(--text-muted);
|
|
93
93
|
margin: 0 !important;
|
|
@@ -98,19 +98,19 @@
|
|
|
98
98
|
text-overflow: ellipsis;
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
-
.
|
|
101
|
+
.mint-collapsible-card__actions {
|
|
102
102
|
display: flex;
|
|
103
103
|
align-items: center;
|
|
104
104
|
gap: 0.75rem;
|
|
105
105
|
flex-shrink: 0;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
.
|
|
108
|
+
.mint-collapsible-card__toggle {
|
|
109
109
|
display: flex;
|
|
110
110
|
align-items: center;
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
.
|
|
113
|
+
.mint-collapsible-card__toggle-track {
|
|
114
114
|
position: relative;
|
|
115
115
|
width: 2.25rem;
|
|
116
116
|
height: 1.25rem;
|
|
@@ -120,16 +120,16 @@
|
|
|
120
120
|
transition: background-color 0.15s ease;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
.
|
|
123
|
+
.mint-collapsible-card__toggle-track:focus-visible {
|
|
124
124
|
outline: none;
|
|
125
125
|
box-shadow: var(--focus-ring-offset);
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
.
|
|
128
|
+
.mint-collapsible-card__toggle-track--on {
|
|
129
129
|
background-color: var(--color-primary);
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
-
.
|
|
132
|
+
.mint-collapsible-card__toggle-knob {
|
|
133
133
|
position: absolute;
|
|
134
134
|
top: 50%;
|
|
135
135
|
margin-top: -0.5rem;
|
|
@@ -142,11 +142,11 @@
|
|
|
142
142
|
box-shadow: 0 1px 2px rgb(0 0 0 / 0.15);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
.
|
|
145
|
+
.mint-collapsible-card__toggle-knob--on {
|
|
146
146
|
left: 1.125rem;
|
|
147
147
|
}
|
|
148
148
|
|
|
149
|
-
.
|
|
149
|
+
.mint-collapsible-card__chevron {
|
|
150
150
|
width: 1.25rem;
|
|
151
151
|
height: 1.25rem;
|
|
152
152
|
color: var(--text-muted);
|
|
@@ -154,66 +154,66 @@
|
|
|
154
154
|
flex-shrink: 0;
|
|
155
155
|
}
|
|
156
156
|
|
|
157
|
-
.
|
|
157
|
+
.mint-collapsible-card__chevron--open {
|
|
158
158
|
transform: rotate(180deg);
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
.
|
|
161
|
+
.mint-collapsible-card__header:hover .mint-collapsible-card__chevron {
|
|
162
162
|
color: var(--text-secondary);
|
|
163
163
|
}
|
|
164
164
|
|
|
165
|
-
.
|
|
165
|
+
.mint-collapsible-card__body {
|
|
166
166
|
border-top: 1px solid var(--border-color);
|
|
167
167
|
}
|
|
168
168
|
|
|
169
|
-
.
|
|
169
|
+
.mint-collapsible-card__content {
|
|
170
170
|
padding: 0.75rem;
|
|
171
171
|
}
|
|
172
172
|
|
|
173
173
|
/* --------------------------------------------------------------------------
|
|
174
174
|
Dense variant — compact headers, no badge bg, tighter content
|
|
175
175
|
-------------------------------------------------------------------------- */
|
|
176
|
-
.
|
|
176
|
+
.mint-collapsible-card--dense .mint-collapsible-card__header {
|
|
177
177
|
padding: 0.5rem 0.75rem;
|
|
178
178
|
min-height: auto;
|
|
179
179
|
gap: 0.5rem;
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
.
|
|
182
|
+
.mint-collapsible-card--dense .mint-collapsible-card__title-section {
|
|
183
183
|
gap: 0.5rem;
|
|
184
184
|
}
|
|
185
185
|
|
|
186
|
-
.
|
|
186
|
+
.mint-collapsible-card--dense .mint-collapsible-card__icon-badge {
|
|
187
187
|
width: 1.5rem;
|
|
188
188
|
height: 1.5rem;
|
|
189
189
|
border-radius: var(--radius);
|
|
190
190
|
background: transparent !important;
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
-
.
|
|
193
|
+
.mint-collapsible-card--dense .mint-collapsible-card__icon {
|
|
194
194
|
width: 0.875rem;
|
|
195
195
|
height: 0.875rem;
|
|
196
196
|
opacity: 0.5;
|
|
197
197
|
}
|
|
198
198
|
|
|
199
|
-
.
|
|
199
|
+
.mint-collapsible-card--dense .mint-collapsible-card__title {
|
|
200
200
|
font-size: 0.8125rem;
|
|
201
201
|
}
|
|
202
202
|
|
|
203
|
-
.
|
|
203
|
+
.mint-collapsible-card--dense .mint-collapsible-card__subtitle {
|
|
204
204
|
font-size: 0.6875rem;
|
|
205
205
|
}
|
|
206
206
|
|
|
207
|
-
.
|
|
207
|
+
.mint-collapsible-card--dense .mint-collapsible-card__actions {
|
|
208
208
|
gap: 0.5rem;
|
|
209
209
|
}
|
|
210
210
|
|
|
211
|
-
.
|
|
211
|
+
.mint-collapsible-card--dense .mint-collapsible-card__chevron {
|
|
212
212
|
width: 0.875rem;
|
|
213
213
|
height: 0.875rem;
|
|
214
214
|
}
|
|
215
215
|
|
|
216
|
-
.
|
|
216
|
+
.mint-collapsible-card--dense .mint-collapsible-card__content {
|
|
217
217
|
padding: 0.5rem 0.75rem 0.75rem;
|
|
218
218
|
gap: 0.625rem;
|
|
219
219
|
}
|
|
@@ -238,11 +238,11 @@
|
|
|
238
238
|
}
|
|
239
239
|
|
|
240
240
|
@media (prefers-reduced-motion: reduce) {
|
|
241
|
-
.
|
|
241
|
+
.mint-collapsible-card__chevron {
|
|
242
242
|
transition: none;
|
|
243
243
|
}
|
|
244
244
|
|
|
245
|
-
.
|
|
245
|
+
.mint-collapsible-card__toggle-knob {
|
|
246
246
|
transition: none;
|
|
247
247
|
}
|
|
248
248
|
|