@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,13 +1,13 @@
|
|
|
1
1
|
/* SegmentedControl Component Styles */
|
|
2
2
|
|
|
3
|
-
.
|
|
3
|
+
.mint-segmented-control {
|
|
4
4
|
display: inline-flex;
|
|
5
5
|
border-radius: var(--radius);
|
|
6
6
|
overflow: hidden;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
/* Card variant container - matches RFA design */
|
|
10
|
-
.
|
|
10
|
+
.mint-segmented-control--card {
|
|
11
11
|
display: grid;
|
|
12
12
|
grid-auto-flow: column;
|
|
13
13
|
grid-auto-columns: 1fr;
|
|
@@ -18,22 +18,22 @@
|
|
|
18
18
|
overflow: visible;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
.
|
|
21
|
+
.mint-segmented-control--full-width:not(.mint-segmented-control--card) {
|
|
22
22
|
display: flex;
|
|
23
23
|
width: 100%;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
.
|
|
26
|
+
.mint-segmented-control--card.mint-segmented-control--full-width {
|
|
27
27
|
width: 100%;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
.
|
|
30
|
+
.mint-segmented-control--disabled {
|
|
31
31
|
opacity: var(--mint-disabled-opacity);
|
|
32
32
|
pointer-events: none;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
/* Options - shared styles */
|
|
36
|
-
.
|
|
36
|
+
.mint-segmented-control__option {
|
|
37
37
|
display: flex;
|
|
38
38
|
flex-direction: column;
|
|
39
39
|
align-items: center;
|
|
@@ -48,44 +48,44 @@
|
|
|
48
48
|
box-sizing: border-box;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
.
|
|
51
|
+
.mint-segmented-control__option:focus-visible {
|
|
52
52
|
outline: none;
|
|
53
53
|
box-shadow: var(--focus-ring-offset);
|
|
54
54
|
z-index: 1;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
.
|
|
57
|
+
.mint-segmented-control__option--disabled {
|
|
58
58
|
opacity: var(--mint-disabled-opacity);
|
|
59
59
|
cursor: not-allowed;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
/* Remove double borders between adjacent options (simple variant only) */
|
|
63
|
-
.
|
|
63
|
+
.mint-segmented-control:not(.mint-segmented-control--card) .mint-segmented-control__option + .mint-segmented-control__option {
|
|
64
64
|
margin-left: -1px;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
/* First and last option border radius (simple variant only) */
|
|
68
|
-
.
|
|
68
|
+
.mint-segmented-control:not(.mint-segmented-control--card) .mint-segmented-control__option:first-child {
|
|
69
69
|
border-top-left-radius: var(--radius);
|
|
70
70
|
border-bottom-left-radius: var(--radius);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
.
|
|
73
|
+
.mint-segmented-control:not(.mint-segmented-control--card) .mint-segmented-control__option:last-child {
|
|
74
74
|
border-top-right-radius: var(--radius);
|
|
75
75
|
border-bottom-right-radius: var(--radius);
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
/* Simple variant */
|
|
79
|
-
.
|
|
79
|
+
.mint-segmented-control__option--simple {
|
|
80
80
|
flex: 1;
|
|
81
81
|
padding: 0.5rem 1rem;
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
.
|
|
84
|
+
.mint-segmented-control__option--simple:hover:not(.mint-segmented-control__option--active):not(.mint-segmented-control__option--disabled) {
|
|
85
85
|
background-color: var(--bg-hover);
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
.
|
|
88
|
+
.mint-segmented-control__option--simple.mint-segmented-control__option--active {
|
|
89
89
|
background-color: var(--color-primary);
|
|
90
90
|
border-color: var(--color-primary);
|
|
91
91
|
color: white;
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
/* Card variant - matches RFA raised card design */
|
|
96
|
-
.
|
|
96
|
+
.mint-segmented-control__option--card {
|
|
97
97
|
flex: 1;
|
|
98
98
|
padding: 0.75rem 1rem;
|
|
99
99
|
gap: 0.25rem;
|
|
@@ -103,12 +103,12 @@
|
|
|
103
103
|
color: var(--text-muted);
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
-
.
|
|
106
|
+
.mint-segmented-control__option--card:hover:not(.mint-segmented-control__option--active):not(.mint-segmented-control__option--disabled) {
|
|
107
107
|
background-color: var(--bg-hover);
|
|
108
108
|
color: var(--text-primary);
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
.
|
|
111
|
+
.mint-segmented-control__option--card.mint-segmented-control__option--active {
|
|
112
112
|
background-color: var(--bg-card);
|
|
113
113
|
color: var(--text-primary);
|
|
114
114
|
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
|
|
@@ -116,19 +116,19 @@
|
|
|
116
116
|
|
|
117
117
|
/* Size variants - simple — 1px optical padding shift universally (0.16+).
|
|
118
118
|
See CLAUDE.md § Optical Centering. */
|
|
119
|
-
.
|
|
119
|
+
.mint-segmented-control__option--simple.mint-segmented-control__option--sm {
|
|
120
120
|
padding: 0.3125rem 0.75rem 0.4375rem;
|
|
121
121
|
font-size: 0.75rem;
|
|
122
122
|
min-height: var(--form-height-sm);
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
.
|
|
125
|
+
.mint-segmented-control__option--simple.mint-segmented-control__option--md {
|
|
126
126
|
padding: 0.4375rem 1rem 0.5625rem;
|
|
127
127
|
font-size: 0.875rem;
|
|
128
128
|
min-height: var(--form-height-md);
|
|
129
129
|
}
|
|
130
130
|
|
|
131
|
-
.
|
|
131
|
+
.mint-segmented-control__option--simple.mint-segmented-control__option--lg {
|
|
132
132
|
/* 9/11 (not 11/13 like BaseButton lg) — SegmentedControl uses a smaller
|
|
133
133
|
em-box at 1rem font + 1.25 line-height, so the 1px shift lands here. */
|
|
134
134
|
padding: 0.5625rem 1.25rem 0.6875rem;
|
|
@@ -137,38 +137,38 @@
|
|
|
137
137
|
}
|
|
138
138
|
|
|
139
139
|
/* Size variants - card */
|
|
140
|
-
.
|
|
140
|
+
.mint-segmented-control__option--card.mint-segmented-control__option--sm {
|
|
141
141
|
padding: 0.5rem 0.75rem;
|
|
142
142
|
}
|
|
143
143
|
|
|
144
|
-
.
|
|
144
|
+
.mint-segmented-control__option--card.mint-segmented-control__option--md {
|
|
145
145
|
padding: 0.75rem 1rem;
|
|
146
146
|
}
|
|
147
147
|
|
|
148
|
-
.
|
|
148
|
+
.mint-segmented-control__option--card.mint-segmented-control__option--lg {
|
|
149
149
|
padding: 1rem 1.25rem;
|
|
150
150
|
}
|
|
151
151
|
|
|
152
152
|
/* Label */
|
|
153
|
-
.
|
|
153
|
+
.mint-segmented-control__label {
|
|
154
154
|
font-weight: 500;
|
|
155
155
|
line-height: 1.25;
|
|
156
156
|
}
|
|
157
157
|
|
|
158
|
-
.
|
|
158
|
+
.mint-segmented-control__option--sm .mint-segmented-control__label {
|
|
159
159
|
font-size: 0.75rem;
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
.
|
|
162
|
+
.mint-segmented-control__option--md .mint-segmented-control__label {
|
|
163
163
|
font-size: 0.875rem;
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
.
|
|
166
|
+
.mint-segmented-control__option--lg .mint-segmented-control__label {
|
|
167
167
|
font-size: 1rem;
|
|
168
168
|
}
|
|
169
169
|
|
|
170
170
|
/* Description (card variant only) */
|
|
171
|
-
.
|
|
171
|
+
.mint-segmented-control__description {
|
|
172
172
|
font-size: 0.75rem;
|
|
173
173
|
color: var(--text-muted);
|
|
174
174
|
font-weight: 400;
|
|
@@ -176,22 +176,22 @@
|
|
|
176
176
|
}
|
|
177
177
|
|
|
178
178
|
/* Description color in active state - use text-muted for card variant, primary for simple */
|
|
179
|
-
.
|
|
179
|
+
.mint-segmented-control__option--simple.mint-segmented-control__option--active .mint-segmented-control__description {
|
|
180
180
|
color: rgba(255, 255, 255, 0.8);
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
-
.
|
|
183
|
+
.mint-segmented-control__option--card.mint-segmented-control__option--active .mint-segmented-control__description {
|
|
184
184
|
color: var(--text-muted);
|
|
185
185
|
}
|
|
186
186
|
|
|
187
|
-
.
|
|
187
|
+
.mint-segmented-control__option--sm .mint-segmented-control__description {
|
|
188
188
|
font-size: 0.625rem;
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
.
|
|
191
|
+
.mint-segmented-control__option--md .mint-segmented-control__description {
|
|
192
192
|
font-size: 0.75rem;
|
|
193
193
|
}
|
|
194
194
|
|
|
195
|
-
.
|
|
195
|
+
.mint-segmented-control__option--lg .mint-segmented-control__description {
|
|
196
196
|
font-size: 0.875rem;
|
|
197
197
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* BaseSelect Component Styles */
|
|
2
2
|
|
|
3
|
-
.
|
|
3
|
+
.mint-select {
|
|
4
4
|
position: relative;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
-
.
|
|
7
|
+
.mint-select__control {
|
|
8
8
|
width: 100%;
|
|
9
9
|
border-radius: var(--radius-md);
|
|
10
10
|
border: 1px solid var(--border-color);
|
|
@@ -18,48 +18,48 @@
|
|
|
18
18
|
transition: border-color 0.15s ease, box-shadow 0.15s ease;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
.
|
|
21
|
+
.mint-select__control:focus-visible {
|
|
22
22
|
outline: none;
|
|
23
23
|
border-color: transparent;
|
|
24
24
|
box-shadow: var(--focus-ring);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
.
|
|
27
|
+
.mint-select__control--error {
|
|
28
28
|
border-color: var(--mint-error);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
.
|
|
31
|
+
.mint-select__control--error:focus-visible {
|
|
32
32
|
box-shadow: var(--focus-ring-error);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
.
|
|
35
|
+
.mint-select__control--disabled {
|
|
36
36
|
opacity: var(--mint-disabled-opacity);
|
|
37
37
|
cursor: not-allowed;
|
|
38
38
|
background-color: var(--bg-tertiary);
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
.
|
|
41
|
+
.mint-select__control--sm {
|
|
42
42
|
padding: 0.375rem 0.625rem;
|
|
43
43
|
padding-right: 2.5rem;
|
|
44
44
|
font-size: 0.875rem;
|
|
45
45
|
min-height: var(--form-height-sm);
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
.
|
|
48
|
+
.mint-select__control--md {
|
|
49
49
|
padding: 0.5rem 0.75rem;
|
|
50
50
|
padding-right: 2.5rem;
|
|
51
51
|
font-size: 0.875rem;
|
|
52
52
|
min-height: var(--form-height-md);
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
.
|
|
55
|
+
.mint-select__control--lg {
|
|
56
56
|
padding: 0.75rem 1rem;
|
|
57
57
|
padding-right: 2.5rem;
|
|
58
58
|
font-size: 1rem;
|
|
59
59
|
min-height: var(--form-height-lg);
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
.
|
|
62
|
+
.mint-select__icon {
|
|
63
63
|
position: absolute;
|
|
64
64
|
top: 0;
|
|
65
65
|
bottom: 0;
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
pointer-events: none;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
.
|
|
73
|
+
.mint-select__icon svg {
|
|
74
74
|
width: 1rem;
|
|
75
75
|
height: 1rem;
|
|
76
76
|
color: var(--text-muted);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* SequenceInput Component Styles */
|
|
2
2
|
|
|
3
|
-
.
|
|
3
|
+
.mint-sequence-input {
|
|
4
4
|
display: flex;
|
|
5
5
|
flex-direction: column;
|
|
6
6
|
border-radius: var(--radius-md);
|
|
@@ -9,25 +9,25 @@
|
|
|
9
9
|
transition: border-color 0.15s ease, box-shadow 0.15s ease;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
.
|
|
12
|
+
.mint-sequence-input:focus-within {
|
|
13
13
|
border-color: transparent;
|
|
14
14
|
box-shadow: var(--focus-ring);
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
.
|
|
17
|
+
.mint-sequence-input--error {
|
|
18
18
|
border-color: var(--mint-error);
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
.
|
|
21
|
+
.mint-sequence-input--error:focus-within {
|
|
22
22
|
box-shadow: var(--focus-ring-error);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
.
|
|
25
|
+
.mint-sequence-input--disabled {
|
|
26
26
|
opacity: var(--mint-disabled-opacity);
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
/* Toolbar */
|
|
30
|
-
.
|
|
30
|
+
.mint-sequence-input__toolbar {
|
|
31
31
|
display: flex;
|
|
32
32
|
align-items: center;
|
|
33
33
|
gap: 0.25rem;
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
border-bottom: 1px solid var(--border-color);
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
.
|
|
39
|
+
.mint-sequence-input__tool-btn {
|
|
40
40
|
padding: 0.25rem 0.5rem;
|
|
41
41
|
font-size: 0.6875rem;
|
|
42
42
|
font-weight: 500;
|
|
@@ -48,24 +48,24 @@
|
|
|
48
48
|
transition: background-color 0.15s ease, color 0.15s ease;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
.
|
|
51
|
+
.mint-sequence-input__tool-btn:hover:not(:disabled) {
|
|
52
52
|
background-color: var(--bg-hover);
|
|
53
53
|
color: var(--text-primary);
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
.
|
|
56
|
+
.mint-sequence-input__tool-btn:disabled {
|
|
57
57
|
opacity: var(--mint-disabled-opacity);
|
|
58
58
|
cursor: not-allowed;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
.
|
|
61
|
+
.mint-sequence-input__tool-sep {
|
|
62
62
|
width: 1px;
|
|
63
63
|
height: 1rem;
|
|
64
64
|
background-color: var(--border-color);
|
|
65
65
|
margin: 0 0.125rem;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
.
|
|
68
|
+
.mint-sequence-input__type-badge {
|
|
69
69
|
margin-left: auto;
|
|
70
70
|
padding: 0.125rem 0.375rem;
|
|
71
71
|
font-size: 0.625rem;
|
|
@@ -78,11 +78,11 @@
|
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
/* Editor area */
|
|
81
|
-
.
|
|
81
|
+
.mint-sequence-input__editor {
|
|
82
82
|
position: relative;
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
.
|
|
85
|
+
.mint-sequence-input__textarea {
|
|
86
86
|
width: 100%;
|
|
87
87
|
resize: vertical;
|
|
88
88
|
border: none;
|
|
@@ -95,18 +95,18 @@
|
|
|
95
95
|
background-color: var(--bg-secondary);
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
.
|
|
98
|
+
.mint-sequence-input__textarea::placeholder {
|
|
99
99
|
color: var(--text-muted);
|
|
100
100
|
font-family: 'Fira Sans', system-ui, sans-serif;
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
.
|
|
103
|
+
.mint-sequence-input__textarea:disabled {
|
|
104
104
|
cursor: not-allowed;
|
|
105
105
|
background-color: var(--bg-tertiary);
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
/* Viewer (readonly mode) */
|
|
109
|
-
.
|
|
109
|
+
.mint-sequence-input__viewer {
|
|
110
110
|
padding: 0.5rem 0;
|
|
111
111
|
background-color: var(--bg-secondary);
|
|
112
112
|
font-family: 'Fira Code', monospace;
|
|
@@ -115,16 +115,16 @@
|
|
|
115
115
|
overflow-x: auto;
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
.
|
|
118
|
+
.mint-sequence-input__viewer-line {
|
|
119
119
|
display: flex;
|
|
120
120
|
padding: 0 0.75rem;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
.
|
|
123
|
+
.mint-sequence-input__viewer-line:hover {
|
|
124
124
|
background-color: var(--bg-hover);
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
-
.
|
|
127
|
+
.mint-sequence-input__line-number {
|
|
128
128
|
width: 3rem;
|
|
129
129
|
flex-shrink: 0;
|
|
130
130
|
text-align: right;
|
|
@@ -134,35 +134,35 @@
|
|
|
134
134
|
user-select: none;
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
.
|
|
137
|
+
.mint-sequence-input__line-content {
|
|
138
138
|
white-space: pre;
|
|
139
139
|
word-break: break-all;
|
|
140
140
|
}
|
|
141
141
|
|
|
142
142
|
/* Base coloring */
|
|
143
|
-
.
|
|
143
|
+
.mint-sequence-input__base--a {
|
|
144
144
|
color: var(--mint-success);
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
.
|
|
148
|
-
.
|
|
147
|
+
.mint-sequence-input__base--t,
|
|
148
|
+
.mint-sequence-input__base--u {
|
|
149
149
|
color: var(--mint-error);
|
|
150
150
|
}
|
|
151
151
|
|
|
152
|
-
.
|
|
152
|
+
.mint-sequence-input__base--g {
|
|
153
153
|
color: var(--mint-warning);
|
|
154
154
|
}
|
|
155
155
|
|
|
156
|
-
.
|
|
156
|
+
.mint-sequence-input__base--c {
|
|
157
157
|
color: var(--mint-info);
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
-
.
|
|
160
|
+
.mint-sequence-input__base--n {
|
|
161
161
|
color: var(--text-muted);
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
/* Stats bar */
|
|
165
|
-
.
|
|
165
|
+
.mint-sequence-input__stats {
|
|
166
166
|
display: flex;
|
|
167
167
|
align-items: center;
|
|
168
168
|
gap: 0.75rem;
|
|
@@ -173,11 +173,11 @@
|
|
|
173
173
|
color: var(--text-secondary);
|
|
174
174
|
}
|
|
175
175
|
|
|
176
|
-
.
|
|
176
|
+
.mint-sequence-input__stat-label {
|
|
177
177
|
color: var(--text-muted);
|
|
178
178
|
}
|
|
179
179
|
|
|
180
|
-
.
|
|
180
|
+
.mint-sequence-input__stat-value {
|
|
181
181
|
font-weight: 500;
|
|
182
182
|
color: var(--text-primary);
|
|
183
183
|
margin-left: 0.25rem;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/* SettingsButton Component Styles */
|
|
2
2
|
|
|
3
|
-
.
|
|
3
|
+
.mint-settings-button {
|
|
4
4
|
position: relative;
|
|
5
5
|
display: inline-flex;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
.
|
|
8
|
+
.mint-settings-button__trigger {
|
|
9
9
|
display: inline-flex;
|
|
10
10
|
align-items: center;
|
|
11
11
|
justify-content: center;
|
|
@@ -21,59 +21,59 @@
|
|
|
21
21
|
transform: translateY(0);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
.
|
|
24
|
+
.mint-settings-button__trigger:hover {
|
|
25
25
|
background-color: var(--bg-hover);
|
|
26
26
|
color: var(--text-primary);
|
|
27
27
|
transform: translateY(-1px);
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
.
|
|
30
|
+
.mint-settings-button__trigger:active {
|
|
31
31
|
transform: translateY(0);
|
|
32
32
|
transition-duration: 0.05s;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
.
|
|
35
|
+
.mint-settings-button__trigger:focus-visible {
|
|
36
36
|
outline: none;
|
|
37
37
|
box-shadow: var(--focus-ring);
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
@media (prefers-reduced-motion: reduce) {
|
|
41
|
-
.
|
|
42
|
-
.
|
|
43
|
-
.
|
|
41
|
+
.mint-settings-button__trigger,
|
|
42
|
+
.mint-settings-button__trigger:hover,
|
|
43
|
+
.mint-settings-button__trigger:active {
|
|
44
44
|
transform: none;
|
|
45
45
|
transition: color 0.15s ease, background-color 0.15s ease;
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
.
|
|
49
|
+
.mint-settings-button__trigger--sm {
|
|
50
50
|
padding: 0.375rem;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
.
|
|
53
|
+
.mint-settings-button__trigger--md {
|
|
54
54
|
padding: 0.5rem;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
.
|
|
57
|
+
.mint-settings-button__trigger--lg {
|
|
58
58
|
padding: 0.75rem;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
.
|
|
61
|
+
.mint-settings-button__icon--sm {
|
|
62
62
|
width: 1rem;
|
|
63
63
|
height: 1rem;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
.
|
|
66
|
+
.mint-settings-button__icon--md {
|
|
67
67
|
width: 1.25rem;
|
|
68
68
|
height: 1.25rem;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
.
|
|
71
|
+
.mint-settings-button__icon--lg {
|
|
72
72
|
width: 1.5rem;
|
|
73
73
|
height: 1.5rem;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
.
|
|
76
|
+
.mint-settings-dropdown {
|
|
77
77
|
position: absolute;
|
|
78
78
|
top: calc(100% + 0.5rem);
|
|
79
79
|
right: 0;
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
overflow: hidden;
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
.
|
|
89
|
+
.mint-settings-dropdown__empty {
|
|
90
90
|
padding: 1rem;
|
|
91
91
|
color: var(--text-muted);
|
|
92
92
|
font-size: 0.875rem;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/* SettingsModal Component Styles */
|
|
2
2
|
|
|
3
|
-
.
|
|
3
|
+
.mint-settings-modal {
|
|
4
4
|
display: flex;
|
|
5
5
|
flex-direction: column;
|
|
6
6
|
gap: 1rem;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
.
|
|
9
|
+
.mint-settings-modal__tabs {
|
|
10
10
|
display: flex;
|
|
11
11
|
gap: 0.25rem;
|
|
12
12
|
border-bottom: 1px solid var(--border-color);
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
margin-bottom: 0.5rem;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
.
|
|
17
|
+
.mint-settings-modal__tab {
|
|
18
18
|
padding: 0.5rem 1rem;
|
|
19
19
|
font-size: 0.875rem;
|
|
20
20
|
font-weight: 500;
|
|
@@ -27,24 +27,24 @@
|
|
|
27
27
|
margin-bottom: -1px;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
.
|
|
30
|
+
.mint-settings-modal__tab:hover {
|
|
31
31
|
color: var(--text-primary);
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
.
|
|
34
|
+
.mint-settings-modal__tab--active {
|
|
35
35
|
color: var(--color-primary);
|
|
36
36
|
border-bottom-color: var(--color-primary);
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
.
|
|
39
|
+
.mint-settings-modal__content {
|
|
40
40
|
min-height: 12rem;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
.
|
|
43
|
+
.mint-settings-modal__section {
|
|
44
44
|
margin-bottom: 1.5rem;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
.
|
|
47
|
+
.mint-settings-modal__section-label {
|
|
48
48
|
font-size: 0.6875rem;
|
|
49
49
|
font-weight: 500;
|
|
50
50
|
text-transform: uppercase;
|
|
@@ -53,13 +53,13 @@
|
|
|
53
53
|
margin-bottom: 0.5rem;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
.
|
|
56
|
+
.mint-settings-modal__option-group {
|
|
57
57
|
display: flex;
|
|
58
58
|
flex-wrap: wrap;
|
|
59
59
|
gap: 0.5rem;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
.
|
|
62
|
+
.mint-settings-modal__option-btn {
|
|
63
63
|
padding: 0.375rem 0.75rem;
|
|
64
64
|
font-size: 0.875rem;
|
|
65
65
|
font-weight: 500;
|
|
@@ -71,22 +71,22 @@
|
|
|
71
71
|
transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
.
|
|
74
|
+
.mint-settings-modal__option-btn:hover {
|
|
75
75
|
background-color: var(--bg-tertiary);
|
|
76
76
|
color: var(--text-primary);
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
.
|
|
79
|
+
.mint-settings-modal__option-btn--active {
|
|
80
80
|
color: var(--color-primary);
|
|
81
81
|
border-color: var(--color-primary);
|
|
82
82
|
background-color: color-mix(in srgb, var(--color-primary) 8%, transparent);
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
html.dark .
|
|
85
|
+
html.dark .mint-settings-modal__option-btn--active {
|
|
86
86
|
background-color: color-mix(in srgb, var(--color-primary) 15%, transparent);
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
.
|
|
89
|
+
.mint-settings-modal__note {
|
|
90
90
|
font-size: 0.75rem;
|
|
91
91
|
color: var(--text-muted);
|
|
92
92
|
margin-top: 0.375rem !important;
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
);
|
|
22
22
|
background-size: 200% 100%;
|
|
23
23
|
background-repeat: no-repeat;
|
|
24
|
-
animation:
|
|
24
|
+
animation: mint-skeleton-shimmer 1.6s ease-in-out infinite;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
@keyframes
|
|
27
|
+
@keyframes mint-skeleton-shimmer {
|
|
28
28
|
0% { background-position: 100% 0; }
|
|
29
29
|
100% { background-position: -100% 0; }
|
|
30
30
|
}
|