@morscherlab/mint-sdk 1.0.0-alpha.8 → 1.0.0-beta.1
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
|
/* SampleSelector Component Styles - RFA Design */
|
|
2
2
|
|
|
3
|
-
.
|
|
3
|
+
.mint-sample-selector {
|
|
4
4
|
display: flex;
|
|
5
5
|
flex-direction: column;
|
|
6
6
|
gap: 0.75rem;
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
/* Select All Row */
|
|
12
|
-
.
|
|
12
|
+
.mint-sample-selector__select-all {
|
|
13
13
|
display: flex;
|
|
14
14
|
align-items: center;
|
|
15
15
|
gap: 0.75rem;
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
transition: background-color 0.15s ease;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
.
|
|
23
|
+
.mint-sample-selector__select-all:hover {
|
|
24
24
|
background-color: var(--bg-hover);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
.
|
|
27
|
+
.mint-sample-selector__select-all-label {
|
|
28
28
|
font-size: 0.875rem;
|
|
29
29
|
font-weight: 500;
|
|
30
30
|
color: var(--text-primary);
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
.
|
|
33
|
+
.mint-sample-selector__select-all-count {
|
|
34
34
|
margin-left: auto;
|
|
35
35
|
font-size: 0.75rem;
|
|
36
36
|
color: var(--text-muted);
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
/* Checkboxes */
|
|
41
|
-
.
|
|
41
|
+
.mint-sample-selector__checkbox {
|
|
42
42
|
width: 1.25rem;
|
|
43
43
|
height: 1.25rem;
|
|
44
44
|
border-radius: var(--radius-sm);
|
|
@@ -47,18 +47,18 @@
|
|
|
47
47
|
flex-shrink: 0;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
.
|
|
50
|
+
.mint-sample-selector__checkbox--small {
|
|
51
51
|
width: 0.875rem;
|
|
52
52
|
height: 0.875rem;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
.
|
|
55
|
+
.mint-sample-selector__checkbox--tiny {
|
|
56
56
|
width: 0.75rem;
|
|
57
57
|
height: 0.75rem;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
/* Indeterminate checkbox styling */
|
|
61
|
-
.
|
|
61
|
+
.mint-sample-selector__checkbox:indeterminate {
|
|
62
62
|
background-color: currentColor;
|
|
63
63
|
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");
|
|
64
64
|
background-size: 100% 100%;
|
|
@@ -67,11 +67,11 @@
|
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
/* Action Buttons Row */
|
|
70
|
-
.
|
|
70
|
+
.mint-sample-selector__actions {
|
|
71
71
|
position: relative;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
.
|
|
74
|
+
.mint-sample-selector__actions-row {
|
|
75
75
|
display: flex;
|
|
76
76
|
align-items: center;
|
|
77
77
|
gap: 0.5rem;
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
/* BaseButton overrides for action buttons */
|
|
82
|
-
.
|
|
82
|
+
.mint-sample-selector__action-btn {
|
|
83
83
|
flex: 1 1 auto;
|
|
84
84
|
display: flex;
|
|
85
85
|
align-items: center;
|
|
@@ -88,20 +88,20 @@
|
|
|
88
88
|
min-width: 0; /* Allow buttons to shrink below content size */
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
-
.
|
|
91
|
+
.mint-sample-selector__action-btn--reset {
|
|
92
92
|
flex: 0 0 auto; /* Don't grow or shrink */
|
|
93
93
|
min-width: auto;
|
|
94
94
|
padding: 0.5rem;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
-
.
|
|
97
|
+
.mint-sample-selector__action-icon {
|
|
98
98
|
width: 1rem;
|
|
99
99
|
height: 1rem;
|
|
100
100
|
flex-shrink: 0;
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
/* Level Popover */
|
|
104
|
-
.
|
|
104
|
+
.mint-sample-selector__popover {
|
|
105
105
|
position: absolute;
|
|
106
106
|
left: 0;
|
|
107
107
|
right: 0;
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
z-index: 50;
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
.
|
|
118
|
+
.mint-sample-selector__popover-header {
|
|
119
119
|
padding: 0.5rem 0.75rem;
|
|
120
120
|
font-size: 0.6875rem;
|
|
121
121
|
font-weight: 600;
|
|
@@ -125,11 +125,11 @@
|
|
|
125
125
|
background-color: var(--bg-secondary);
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
.
|
|
128
|
+
.mint-sample-selector__popover-body {
|
|
129
129
|
padding: 0.25rem 0;
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
-
.
|
|
132
|
+
.mint-sample-selector__level-btn {
|
|
133
133
|
width: 100%;
|
|
134
134
|
padding: 0.625rem 0.75rem;
|
|
135
135
|
text-align: left;
|
|
@@ -139,17 +139,17 @@
|
|
|
139
139
|
transition: background-color 0.15s ease;
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
.
|
|
142
|
+
.mint-sample-selector__level-btn:hover {
|
|
143
143
|
background-color: var(--bg-hover);
|
|
144
144
|
}
|
|
145
145
|
|
|
146
|
-
.
|
|
146
|
+
.mint-sample-selector__level-info {
|
|
147
147
|
display: flex;
|
|
148
148
|
flex-direction: column;
|
|
149
149
|
gap: 0.125rem;
|
|
150
150
|
}
|
|
151
151
|
|
|
152
|
-
.
|
|
152
|
+
.mint-sample-selector__level-title {
|
|
153
153
|
display: flex;
|
|
154
154
|
align-items: center;
|
|
155
155
|
gap: 0.5rem;
|
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
color: var(--text-primary);
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
.
|
|
161
|
+
.mint-sample-selector__level-badge {
|
|
162
162
|
font-size: 0.6875rem;
|
|
163
163
|
padding: 0.125rem 0.375rem;
|
|
164
164
|
background-color: var(--color-primary);
|
|
@@ -167,22 +167,22 @@
|
|
|
167
167
|
font-variant-numeric: tabular-nums;
|
|
168
168
|
}
|
|
169
169
|
|
|
170
|
-
.
|
|
170
|
+
.mint-sample-selector__level-desc {
|
|
171
171
|
font-size: 0.75rem;
|
|
172
172
|
color: var(--text-muted);
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
.
|
|
175
|
+
.mint-sample-selector__level-example {
|
|
176
176
|
margin-left: 0.25rem;
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
.
|
|
179
|
+
.mint-sample-selector__level-example code {
|
|
180
180
|
font-family: 'Fira Code', monospace;
|
|
181
181
|
font-size: 0.6875rem;
|
|
182
182
|
}
|
|
183
183
|
|
|
184
184
|
/* Grouped View */
|
|
185
|
-
.
|
|
185
|
+
.mint-sample-selector__grouped {
|
|
186
186
|
display: flex;
|
|
187
187
|
flex-direction: column;
|
|
188
188
|
flex: 1;
|
|
@@ -190,25 +190,25 @@
|
|
|
190
190
|
gap: 0.5rem;
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
-
.
|
|
193
|
+
.mint-sample-selector__groups-header {
|
|
194
194
|
display: flex;
|
|
195
195
|
align-items: center;
|
|
196
196
|
justify-content: space-between;
|
|
197
197
|
}
|
|
198
198
|
|
|
199
|
-
.
|
|
199
|
+
.mint-sample-selector__groups-title {
|
|
200
200
|
font-size: 0.875rem;
|
|
201
201
|
font-weight: 500;
|
|
202
202
|
color: var(--text-primary);
|
|
203
203
|
}
|
|
204
204
|
|
|
205
|
-
.
|
|
205
|
+
.mint-sample-selector__groups-controls {
|
|
206
206
|
display: flex;
|
|
207
207
|
align-items: center;
|
|
208
208
|
gap: 0.25rem;
|
|
209
209
|
}
|
|
210
210
|
|
|
211
|
-
.
|
|
211
|
+
.mint-sample-selector__expand-btn {
|
|
212
212
|
display: flex;
|
|
213
213
|
align-items: center;
|
|
214
214
|
justify-content: center;
|
|
@@ -221,45 +221,45 @@
|
|
|
221
221
|
transition: background-color 0.15s ease;
|
|
222
222
|
}
|
|
223
223
|
|
|
224
|
-
.
|
|
224
|
+
.mint-sample-selector__expand-btn:hover {
|
|
225
225
|
background-color: var(--bg-hover);
|
|
226
226
|
}
|
|
227
227
|
|
|
228
|
-
.
|
|
228
|
+
.mint-sample-selector__expand-icon {
|
|
229
229
|
width: 0.875rem;
|
|
230
230
|
height: 0.875rem;
|
|
231
231
|
}
|
|
232
232
|
|
|
233
233
|
/* Shared scrollbar styles */
|
|
234
|
-
.
|
|
235
|
-
.
|
|
234
|
+
.mint-sample-selector__tree,
|
|
235
|
+
.mint-sample-selector__flat-list {
|
|
236
236
|
scrollbar-width: thin;
|
|
237
237
|
scrollbar-color: var(--scrollbar-thumb) transparent;
|
|
238
238
|
}
|
|
239
239
|
|
|
240
|
-
.
|
|
241
|
-
.
|
|
240
|
+
.mint-sample-selector__tree::-webkit-scrollbar,
|
|
241
|
+
.mint-sample-selector__flat-list::-webkit-scrollbar {
|
|
242
242
|
width: 6px;
|
|
243
243
|
}
|
|
244
244
|
|
|
245
|
-
.
|
|
246
|
-
.
|
|
245
|
+
.mint-sample-selector__tree::-webkit-scrollbar-track,
|
|
246
|
+
.mint-sample-selector__flat-list::-webkit-scrollbar-track {
|
|
247
247
|
background: transparent;
|
|
248
248
|
}
|
|
249
249
|
|
|
250
|
-
.
|
|
251
|
-
.
|
|
250
|
+
.mint-sample-selector__tree::-webkit-scrollbar-thumb,
|
|
251
|
+
.mint-sample-selector__flat-list::-webkit-scrollbar-thumb {
|
|
252
252
|
background: var(--scrollbar-thumb);
|
|
253
253
|
border-radius: 3px;
|
|
254
254
|
}
|
|
255
255
|
|
|
256
|
-
.
|
|
257
|
-
.
|
|
256
|
+
.mint-sample-selector__tree::-webkit-scrollbar-thumb:hover,
|
|
257
|
+
.mint-sample-selector__flat-list::-webkit-scrollbar-thumb:hover {
|
|
258
258
|
background: var(--scrollbar-hover);
|
|
259
259
|
}
|
|
260
260
|
|
|
261
261
|
/* Tree View */
|
|
262
|
-
.
|
|
262
|
+
.mint-sample-selector__tree {
|
|
263
263
|
flex: 1;
|
|
264
264
|
min-height: 0;
|
|
265
265
|
overflow-y: auto;
|
|
@@ -267,11 +267,11 @@
|
|
|
267
267
|
}
|
|
268
268
|
|
|
269
269
|
/* Major Group */
|
|
270
|
-
.
|
|
270
|
+
.mint-sample-selector__major-group {
|
|
271
271
|
margin-bottom: 0.25rem;
|
|
272
272
|
}
|
|
273
273
|
|
|
274
|
-
.
|
|
274
|
+
.mint-sample-selector__major-header {
|
|
275
275
|
display: flex;
|
|
276
276
|
align-items: center;
|
|
277
277
|
gap: 0.5rem;
|
|
@@ -281,19 +281,19 @@
|
|
|
281
281
|
transition: background-color 0.15s ease, box-shadow 0.12s ease, opacity 0.12s ease;
|
|
282
282
|
}
|
|
283
283
|
|
|
284
|
-
.
|
|
284
|
+
.mint-sample-selector__major-header:active {
|
|
285
285
|
cursor: grabbing;
|
|
286
286
|
}
|
|
287
287
|
|
|
288
|
-
.
|
|
288
|
+
.mint-sample-selector__major-header:hover {
|
|
289
289
|
background-color: var(--bg-hover);
|
|
290
290
|
}
|
|
291
291
|
|
|
292
|
-
.
|
|
292
|
+
.mint-sample-selector__major-header:hover .mint-sample-selector__delete-btn--hidden {
|
|
293
293
|
opacity: 1;
|
|
294
294
|
}
|
|
295
295
|
|
|
296
|
-
.
|
|
296
|
+
.mint-sample-selector__major-name {
|
|
297
297
|
flex: 1;
|
|
298
298
|
min-width: 0;
|
|
299
299
|
font-size: 0.875rem;
|
|
@@ -305,7 +305,7 @@
|
|
|
305
305
|
}
|
|
306
306
|
|
|
307
307
|
/* Chevron */
|
|
308
|
-
.
|
|
308
|
+
.mint-sample-selector__chevron {
|
|
309
309
|
width: 0.875rem;
|
|
310
310
|
height: 0.875rem;
|
|
311
311
|
color: var(--text-muted);
|
|
@@ -313,17 +313,17 @@
|
|
|
313
313
|
transition: transform 0.2s ease;
|
|
314
314
|
}
|
|
315
315
|
|
|
316
|
-
.
|
|
316
|
+
.mint-sample-selector__chevron--small {
|
|
317
317
|
width: 0.75rem;
|
|
318
318
|
height: 0.75rem;
|
|
319
319
|
}
|
|
320
320
|
|
|
321
|
-
.
|
|
321
|
+
.mint-sample-selector__chevron--open {
|
|
322
322
|
transform: rotate(90deg);
|
|
323
323
|
}
|
|
324
324
|
|
|
325
325
|
/* Color Dot */
|
|
326
|
-
.
|
|
326
|
+
.mint-sample-selector__color-dot {
|
|
327
327
|
width: 0.625rem;
|
|
328
328
|
height: 0.625rem;
|
|
329
329
|
border-radius: 50%;
|
|
@@ -331,12 +331,12 @@
|
|
|
331
331
|
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
|
|
332
332
|
}
|
|
333
333
|
|
|
334
|
-
.
|
|
334
|
+
.mint-sample-selector__color-dot--large {
|
|
335
335
|
width: 0.75rem;
|
|
336
336
|
height: 0.75rem;
|
|
337
337
|
}
|
|
338
338
|
|
|
339
|
-
.
|
|
339
|
+
.mint-sample-selector__color-dot--clickable {
|
|
340
340
|
cursor: pointer;
|
|
341
341
|
transition: transform 0.15s ease;
|
|
342
342
|
border: none;
|
|
@@ -344,13 +344,13 @@
|
|
|
344
344
|
background: none;
|
|
345
345
|
}
|
|
346
346
|
|
|
347
|
-
.
|
|
347
|
+
.mint-sample-selector__color-dot--clickable:hover {
|
|
348
348
|
transform: scale(1.25);
|
|
349
349
|
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08), 0 0 0 3px rgba(0, 0, 0, 0.06);
|
|
350
350
|
}
|
|
351
351
|
|
|
352
352
|
/* Count Badge */
|
|
353
|
-
.
|
|
353
|
+
.mint-sample-selector__count-badge {
|
|
354
354
|
font-size: 0.625rem;
|
|
355
355
|
font-weight: 600;
|
|
356
356
|
padding: 0.125rem 0.375rem;
|
|
@@ -358,13 +358,13 @@
|
|
|
358
358
|
font-variant-numeric: tabular-nums;
|
|
359
359
|
}
|
|
360
360
|
|
|
361
|
-
.
|
|
361
|
+
.mint-sample-selector__count-badge--small {
|
|
362
362
|
font-size: 0.5625rem;
|
|
363
363
|
padding: 0.0625rem 0.3125rem;
|
|
364
364
|
}
|
|
365
365
|
|
|
366
366
|
/* Delete Button */
|
|
367
|
-
.
|
|
367
|
+
.mint-sample-selector__delete-btn {
|
|
368
368
|
display: flex;
|
|
369
369
|
align-items: center;
|
|
370
370
|
justify-content: center;
|
|
@@ -377,39 +377,39 @@
|
|
|
377
377
|
transition: all 0.15s ease;
|
|
378
378
|
}
|
|
379
379
|
|
|
380
|
-
.
|
|
380
|
+
.mint-sample-selector__delete-btn:hover {
|
|
381
381
|
background-color: var(--mint-error-bg);
|
|
382
382
|
color: var(--mint-error);
|
|
383
383
|
}
|
|
384
384
|
|
|
385
|
-
.
|
|
385
|
+
.mint-sample-selector__delete-btn--hidden {
|
|
386
386
|
opacity: 0;
|
|
387
387
|
}
|
|
388
388
|
|
|
389
|
-
.
|
|
389
|
+
.mint-sample-selector__delete-btn svg {
|
|
390
390
|
width: 0.875rem;
|
|
391
391
|
height: 0.875rem;
|
|
392
392
|
}
|
|
393
393
|
|
|
394
394
|
/* Sub Groups */
|
|
395
|
-
.
|
|
395
|
+
.mint-sample-selector__sub-groups {
|
|
396
396
|
margin-left: 1rem;
|
|
397
397
|
padding-left: 0.75rem;
|
|
398
398
|
border-left: 2px solid;
|
|
399
399
|
}
|
|
400
400
|
|
|
401
|
-
.
|
|
401
|
+
.mint-sample-selector__sub-group {
|
|
402
402
|
margin-bottom: 0.125rem;
|
|
403
403
|
border-radius: var(--radius);
|
|
404
404
|
transition: background-color 0.15s ease, box-shadow 0.15s ease;
|
|
405
405
|
}
|
|
406
406
|
|
|
407
|
-
.
|
|
407
|
+
.mint-sample-selector__sub-group--drag-over {
|
|
408
408
|
background-color: var(--color-primary-soft);
|
|
409
409
|
box-shadow: inset 0 0 0 2px var(--color-primary);
|
|
410
410
|
}
|
|
411
411
|
|
|
412
|
-
.
|
|
412
|
+
.mint-sample-selector__sub-header {
|
|
413
413
|
display: flex;
|
|
414
414
|
align-items: center;
|
|
415
415
|
gap: 0.5rem;
|
|
@@ -419,19 +419,19 @@
|
|
|
419
419
|
transition: background-color 0.15s ease, box-shadow 0.12s ease, opacity 0.12s ease;
|
|
420
420
|
}
|
|
421
421
|
|
|
422
|
-
.
|
|
422
|
+
.mint-sample-selector__sub-header:active {
|
|
423
423
|
cursor: grabbing;
|
|
424
424
|
}
|
|
425
425
|
|
|
426
|
-
.
|
|
426
|
+
.mint-sample-selector__sub-header:hover {
|
|
427
427
|
background-color: var(--bg-hover);
|
|
428
428
|
}
|
|
429
429
|
|
|
430
|
-
.
|
|
430
|
+
.mint-sample-selector__sub-header:hover .mint-sample-selector__delete-btn--hidden {
|
|
431
431
|
opacity: 1;
|
|
432
432
|
}
|
|
433
433
|
|
|
434
|
-
.
|
|
434
|
+
.mint-sample-selector__sub-name {
|
|
435
435
|
flex: 1;
|
|
436
436
|
min-width: 0;
|
|
437
437
|
font-size: 0.875rem;
|
|
@@ -443,13 +443,13 @@
|
|
|
443
443
|
}
|
|
444
444
|
|
|
445
445
|
/* Samples */
|
|
446
|
-
.
|
|
446
|
+
.mint-sample-selector__samples {
|
|
447
447
|
margin-left: 1rem;
|
|
448
448
|
padding-left: 0.75rem;
|
|
449
449
|
border-left: 2px solid;
|
|
450
450
|
}
|
|
451
451
|
|
|
452
|
-
.
|
|
452
|
+
.mint-sample-selector__sample {
|
|
453
453
|
display: flex;
|
|
454
454
|
align-items: center;
|
|
455
455
|
gap: 0.5rem;
|
|
@@ -459,25 +459,25 @@
|
|
|
459
459
|
cursor: grab;
|
|
460
460
|
}
|
|
461
461
|
|
|
462
|
-
.
|
|
462
|
+
.mint-sample-selector__sample:hover {
|
|
463
463
|
background-color: var(--bg-hover);
|
|
464
464
|
}
|
|
465
465
|
|
|
466
|
-
.
|
|
466
|
+
.mint-sample-selector__sample:hover .mint-sample-selector__remove-btn {
|
|
467
467
|
opacity: 1;
|
|
468
468
|
}
|
|
469
469
|
|
|
470
|
-
.
|
|
470
|
+
.mint-sample-selector__sample:hover .mint-sample-selector__drag-handle {
|
|
471
471
|
opacity: 1;
|
|
472
472
|
}
|
|
473
473
|
|
|
474
|
-
.
|
|
474
|
+
.mint-sample-selector__sample--dragging {
|
|
475
475
|
opacity: 0.5;
|
|
476
476
|
cursor: grabbing;
|
|
477
477
|
}
|
|
478
478
|
|
|
479
479
|
/* Drag Handle */
|
|
480
|
-
.
|
|
480
|
+
.mint-sample-selector__drag-handle {
|
|
481
481
|
width: 0.875rem;
|
|
482
482
|
height: 0.875rem;
|
|
483
483
|
flex-shrink: 0;
|
|
@@ -487,7 +487,7 @@
|
|
|
487
487
|
cursor: grab;
|
|
488
488
|
}
|
|
489
489
|
|
|
490
|
-
.
|
|
490
|
+
.mint-sample-selector__sample-name {
|
|
491
491
|
flex: 1;
|
|
492
492
|
min-width: 0;
|
|
493
493
|
font-size: 0.75rem;
|
|
@@ -498,7 +498,7 @@
|
|
|
498
498
|
text-overflow: ellipsis;
|
|
499
499
|
}
|
|
500
500
|
|
|
501
|
-
.
|
|
501
|
+
.mint-sample-selector__remove-btn {
|
|
502
502
|
display: flex;
|
|
503
503
|
align-items: center;
|
|
504
504
|
justify-content: center;
|
|
@@ -512,18 +512,18 @@
|
|
|
512
512
|
transition: all 0.15s ease;
|
|
513
513
|
}
|
|
514
514
|
|
|
515
|
-
.
|
|
515
|
+
.mint-sample-selector__remove-btn:hover {
|
|
516
516
|
background-color: var(--mint-warning-bg);
|
|
517
517
|
color: var(--mint-warning);
|
|
518
518
|
}
|
|
519
519
|
|
|
520
|
-
.
|
|
520
|
+
.mint-sample-selector__remove-btn svg {
|
|
521
521
|
width: 0.625rem;
|
|
522
522
|
height: 0.625rem;
|
|
523
523
|
}
|
|
524
524
|
|
|
525
525
|
/* Empty State */
|
|
526
|
-
.
|
|
526
|
+
.mint-sample-selector__empty {
|
|
527
527
|
text-align: center;
|
|
528
528
|
padding: 1rem;
|
|
529
529
|
font-size: 0.875rem;
|
|
@@ -531,13 +531,13 @@
|
|
|
531
531
|
}
|
|
532
532
|
|
|
533
533
|
/* Ungrouped Section */
|
|
534
|
-
.
|
|
534
|
+
.mint-sample-selector__ungrouped {
|
|
535
535
|
margin-top: 0.75rem;
|
|
536
536
|
padding-top: 0.75rem;
|
|
537
537
|
border-top: 1px solid var(--border-color);
|
|
538
538
|
}
|
|
539
539
|
|
|
540
|
-
.
|
|
540
|
+
.mint-sample-selector__ungrouped-header {
|
|
541
541
|
display: flex;
|
|
542
542
|
align-items: center;
|
|
543
543
|
gap: 0.5rem;
|
|
@@ -547,18 +547,18 @@
|
|
|
547
547
|
transition: background-color 0.15s ease;
|
|
548
548
|
}
|
|
549
549
|
|
|
550
|
-
.
|
|
550
|
+
.mint-sample-selector__ungrouped-header:hover {
|
|
551
551
|
background-color: var(--bg-hover);
|
|
552
552
|
}
|
|
553
553
|
|
|
554
|
-
.
|
|
554
|
+
.mint-sample-selector__ungrouped-label {
|
|
555
555
|
flex: 1;
|
|
556
556
|
font-size: 0.875rem;
|
|
557
557
|
font-weight: 500;
|
|
558
558
|
color: var(--text-muted);
|
|
559
559
|
}
|
|
560
560
|
|
|
561
|
-
.
|
|
561
|
+
.mint-sample-selector__ungrouped-count {
|
|
562
562
|
font-size: 0.625rem;
|
|
563
563
|
padding: 0.125rem 0.375rem;
|
|
564
564
|
background-color: var(--bg-tertiary);
|
|
@@ -567,31 +567,31 @@
|
|
|
567
567
|
font-variant-numeric: tabular-nums;
|
|
568
568
|
}
|
|
569
569
|
|
|
570
|
-
.
|
|
570
|
+
.mint-sample-selector__ungrouped-list {
|
|
571
571
|
margin-left: 1.25rem;
|
|
572
572
|
padding-left: 0.75rem;
|
|
573
573
|
border-left: 2px solid var(--border-color);
|
|
574
574
|
}
|
|
575
575
|
|
|
576
576
|
/* New Group Input */
|
|
577
|
-
.
|
|
577
|
+
.mint-sample-selector__new-group {
|
|
578
578
|
display: flex;
|
|
579
579
|
align-items: center;
|
|
580
580
|
gap: 0.5rem;
|
|
581
581
|
margin-top: 0.5rem;
|
|
582
582
|
}
|
|
583
583
|
|
|
584
|
-
.
|
|
584
|
+
.mint-sample-selector__new-group-input {
|
|
585
585
|
flex: 1;
|
|
586
586
|
min-width: 0;
|
|
587
587
|
}
|
|
588
588
|
|
|
589
|
-
.
|
|
589
|
+
.mint-sample-selector__new-group-btn {
|
|
590
590
|
flex-shrink: 0;
|
|
591
591
|
}
|
|
592
592
|
|
|
593
593
|
/* Hidden color input */
|
|
594
|
-
.
|
|
594
|
+
.mint-sample-selector__color-input {
|
|
595
595
|
position: absolute;
|
|
596
596
|
width: 1px;
|
|
597
597
|
height: 1px;
|
|
@@ -604,7 +604,7 @@
|
|
|
604
604
|
}
|
|
605
605
|
|
|
606
606
|
/* Flat View */
|
|
607
|
-
.
|
|
607
|
+
.mint-sample-selector__flat {
|
|
608
608
|
display: flex;
|
|
609
609
|
flex-direction: column;
|
|
610
610
|
flex: 1;
|
|
@@ -612,11 +612,11 @@
|
|
|
612
612
|
gap: 0.5rem;
|
|
613
613
|
}
|
|
614
614
|
|
|
615
|
-
.
|
|
615
|
+
.mint-sample-selector__search {
|
|
616
616
|
position: relative;
|
|
617
617
|
}
|
|
618
618
|
|
|
619
|
-
.
|
|
619
|
+
.mint-sample-selector__search-icon {
|
|
620
620
|
position: absolute;
|
|
621
621
|
left: 0.75rem;
|
|
622
622
|
top: 50%;
|
|
@@ -627,7 +627,7 @@
|
|
|
627
627
|
pointer-events: none;
|
|
628
628
|
}
|
|
629
629
|
|
|
630
|
-
.
|
|
630
|
+
.mint-sample-selector__search-input {
|
|
631
631
|
width: 100%;
|
|
632
632
|
box-sizing: border-box;
|
|
633
633
|
padding: 0.5rem 0.75rem 0.5rem 2.25rem;
|
|
@@ -640,23 +640,23 @@
|
|
|
640
640
|
transition: border-color 0.15s ease;
|
|
641
641
|
}
|
|
642
642
|
|
|
643
|
-
.
|
|
643
|
+
.mint-sample-selector__search-input:focus-visible {
|
|
644
644
|
box-shadow: var(--focus-ring);
|
|
645
645
|
border-color: var(--color-primary);
|
|
646
646
|
}
|
|
647
647
|
|
|
648
|
-
.
|
|
648
|
+
.mint-sample-selector__search-input::placeholder {
|
|
649
649
|
color: var(--text-muted);
|
|
650
650
|
}
|
|
651
651
|
|
|
652
|
-
.
|
|
652
|
+
.mint-sample-selector__flat-list {
|
|
653
653
|
flex: 1;
|
|
654
654
|
min-height: 0;
|
|
655
655
|
overflow-y: auto;
|
|
656
656
|
padding-right: 0.25rem;
|
|
657
657
|
}
|
|
658
658
|
|
|
659
|
-
.
|
|
659
|
+
.mint-sample-selector__flat-item {
|
|
660
660
|
display: flex;
|
|
661
661
|
align-items: center;
|
|
662
662
|
gap: 0.5rem;
|
|
@@ -665,11 +665,11 @@
|
|
|
665
665
|
transition: background-color 0.15s ease;
|
|
666
666
|
}
|
|
667
667
|
|
|
668
|
-
.
|
|
668
|
+
.mint-sample-selector__flat-item:hover {
|
|
669
669
|
background-color: var(--bg-hover);
|
|
670
670
|
}
|
|
671
671
|
|
|
672
|
-
.
|
|
672
|
+
.mint-sample-selector__flat-name {
|
|
673
673
|
flex: 1;
|
|
674
674
|
min-width: 0;
|
|
675
675
|
font-size: 0.875rem;
|
|
@@ -680,72 +680,72 @@
|
|
|
680
680
|
}
|
|
681
681
|
|
|
682
682
|
/* Transitions */
|
|
683
|
-
.
|
|
683
|
+
.mint-popover-enter-active {
|
|
684
684
|
transition: all 0.15s ease-out;
|
|
685
685
|
}
|
|
686
686
|
|
|
687
|
-
.
|
|
687
|
+
.mint-popover-leave-active {
|
|
688
688
|
transition: all 0.1s ease-in;
|
|
689
689
|
}
|
|
690
690
|
|
|
691
|
-
.
|
|
692
|
-
.
|
|
691
|
+
.mint-popover-enter-from,
|
|
692
|
+
.mint-popover-leave-to {
|
|
693
693
|
opacity: 0;
|
|
694
694
|
transform: translateY(-0.25rem);
|
|
695
695
|
}
|
|
696
696
|
|
|
697
|
-
.
|
|
697
|
+
.mint-collapse-enter-active {
|
|
698
698
|
transition: all 0.2s ease-out;
|
|
699
699
|
overflow: hidden;
|
|
700
700
|
}
|
|
701
701
|
|
|
702
|
-
.
|
|
702
|
+
.mint-collapse-leave-active {
|
|
703
703
|
transition: all 0.15s ease-in;
|
|
704
704
|
overflow: hidden;
|
|
705
705
|
}
|
|
706
706
|
|
|
707
|
-
.
|
|
708
|
-
.
|
|
707
|
+
.mint-collapse-enter-from,
|
|
708
|
+
.mint-collapse-leave-to {
|
|
709
709
|
opacity: 0;
|
|
710
710
|
max-height: 0;
|
|
711
711
|
}
|
|
712
712
|
|
|
713
|
-
.
|
|
714
|
-
.
|
|
713
|
+
.mint-collapse-enter-to,
|
|
714
|
+
.mint-collapse-leave-from {
|
|
715
715
|
opacity: 1;
|
|
716
716
|
max-height: 500px;
|
|
717
717
|
}
|
|
718
718
|
|
|
719
719
|
/* Group reorder: source row + drop indicators */
|
|
720
|
-
.
|
|
720
|
+
.mint-sample-selector__header--dragging {
|
|
721
721
|
opacity: 0.5;
|
|
722
722
|
cursor: grabbing;
|
|
723
723
|
}
|
|
724
724
|
|
|
725
|
-
.
|
|
725
|
+
.mint-sample-selector__header--drag-over-before {
|
|
726
726
|
box-shadow: inset 0 2px 0 0 var(--color-primary);
|
|
727
727
|
}
|
|
728
728
|
|
|
729
|
-
.
|
|
729
|
+
.mint-sample-selector__header--drag-over-after {
|
|
730
730
|
box-shadow: inset 0 -2px 0 0 var(--color-primary);
|
|
731
731
|
}
|
|
732
732
|
|
|
733
733
|
@media (prefers-reduced-motion: reduce) {
|
|
734
|
-
.
|
|
734
|
+
.mint-sample-selector__chevron {
|
|
735
735
|
transition: none;
|
|
736
736
|
}
|
|
737
737
|
|
|
738
|
-
.
|
|
738
|
+
.mint-sample-selector__color-dot--clickable {
|
|
739
739
|
transition: none;
|
|
740
740
|
}
|
|
741
741
|
|
|
742
|
-
.
|
|
743
|
-
.
|
|
742
|
+
.mint-sample-selector__major-header,
|
|
743
|
+
.mint-sample-selector__sub-header {
|
|
744
744
|
transition: none;
|
|
745
745
|
}
|
|
746
746
|
|
|
747
|
-
.
|
|
748
|
-
.
|
|
747
|
+
.mint-collapse-enter-active,
|
|
748
|
+
.mint-collapse-leave-active {
|
|
749
749
|
transition: none;
|
|
750
750
|
}
|
|
751
751
|
}
|