@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
|
/* MoleculeInput Component Styles */
|
|
2
2
|
|
|
3
|
-
.
|
|
3
|
+
.mint-molecule-input {
|
|
4
4
|
display: flex;
|
|
5
5
|
flex-direction: column;
|
|
6
6
|
border-radius: var(--radius-md);
|
|
@@ -10,43 +10,43 @@
|
|
|
10
10
|
transition: border-color 0.15s ease, box-shadow 0.15s ease;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
.
|
|
13
|
+
.mint-molecule-input:focus-within {
|
|
14
14
|
border-color: transparent;
|
|
15
15
|
box-shadow: var(--focus-ring);
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
.
|
|
18
|
+
.mint-molecule-input--disabled {
|
|
19
19
|
opacity: var(--mint-disabled-opacity);
|
|
20
20
|
pointer-events: none;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
.
|
|
23
|
+
.mint-molecule-input--readonly {
|
|
24
24
|
pointer-events: none;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
.
|
|
27
|
+
.mint-molecule-input--error {
|
|
28
28
|
border-color: var(--mint-error);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
.
|
|
31
|
+
.mint-molecule-input--error:focus-within {
|
|
32
32
|
box-shadow: var(--focus-ring-error);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
/* Editor container */
|
|
36
|
-
.
|
|
36
|
+
.mint-molecule-input__editor {
|
|
37
37
|
position: relative;
|
|
38
38
|
width: 100%;
|
|
39
39
|
min-height: 200px;
|
|
40
40
|
background-color: var(--bg-secondary);
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
.
|
|
43
|
+
.mint-molecule-input__editor iframe {
|
|
44
44
|
border: none;
|
|
45
45
|
display: block;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
/* Skeleton loader */
|
|
49
|
-
.
|
|
49
|
+
.mint-molecule-input__skeleton {
|
|
50
50
|
display: flex;
|
|
51
51
|
flex-direction: column;
|
|
52
52
|
align-items: center;
|
|
@@ -57,19 +57,19 @@
|
|
|
57
57
|
background-color: var(--bg-tertiary);
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
.
|
|
60
|
+
.mint-molecule-input__skeleton-icon {
|
|
61
61
|
width: 3rem;
|
|
62
62
|
height: 3rem;
|
|
63
63
|
color: var(--text-muted);
|
|
64
|
-
animation:
|
|
64
|
+
animation: mint-molecule-pulse 1.5s ease-in-out infinite;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
.
|
|
67
|
+
.mint-molecule-input__skeleton-text {
|
|
68
68
|
font-size: 0.875rem;
|
|
69
69
|
color: var(--text-muted);
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
@keyframes
|
|
72
|
+
@keyframes mint-molecule-pulse {
|
|
73
73
|
0%, 100% {
|
|
74
74
|
opacity: 0.4;
|
|
75
75
|
}
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
/* Readonly SVG display */
|
|
82
|
-
.
|
|
82
|
+
.mint-molecule-input__readonly {
|
|
83
83
|
display: flex;
|
|
84
84
|
align-items: center;
|
|
85
85
|
justify-content: center;
|
|
@@ -88,13 +88,13 @@
|
|
|
88
88
|
background-color: var(--bg-tertiary);
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
-
.
|
|
91
|
+
.mint-molecule-input__readonly svg {
|
|
92
92
|
max-width: 100%;
|
|
93
93
|
max-height: 100%;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
/* Empty state */
|
|
97
|
-
.
|
|
97
|
+
.mint-molecule-input__empty {
|
|
98
98
|
display: flex;
|
|
99
99
|
flex-direction: column;
|
|
100
100
|
align-items: center;
|
|
@@ -105,17 +105,17 @@
|
|
|
105
105
|
color: var(--text-muted);
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
.
|
|
108
|
+
.mint-molecule-input__empty-icon {
|
|
109
109
|
width: 2.5rem;
|
|
110
110
|
height: 2.5rem;
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
.
|
|
113
|
+
.mint-molecule-input__empty-text {
|
|
114
114
|
font-size: 0.875rem;
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
/* SMILES preview */
|
|
118
|
-
.
|
|
118
|
+
.mint-molecule-input__smiles {
|
|
119
119
|
padding: 0.5rem 0.75rem;
|
|
120
120
|
font-family: 'Fira Code', monospace;
|
|
121
121
|
font-size: 0.75rem;
|
|
@@ -126,14 +126,14 @@
|
|
|
126
126
|
user-select: all;
|
|
127
127
|
}
|
|
128
128
|
|
|
129
|
-
.
|
|
129
|
+
.mint-molecule-input__smiles-label {
|
|
130
130
|
font-weight: 500;
|
|
131
131
|
color: var(--text-muted);
|
|
132
132
|
margin-right: 0.5rem;
|
|
133
133
|
}
|
|
134
134
|
|
|
135
135
|
/* Error state */
|
|
136
|
-
.
|
|
136
|
+
.mint-molecule-input__error {
|
|
137
137
|
padding: 0.75rem;
|
|
138
138
|
font-size: 0.875rem;
|
|
139
139
|
color: var(--mint-error);
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
border-top: 1px solid var(--mint-error);
|
|
142
142
|
}
|
|
143
143
|
|
|
144
|
-
.
|
|
144
|
+
.mint-molecule-input__error-icon {
|
|
145
145
|
width: 1rem;
|
|
146
146
|
height: 1rem;
|
|
147
147
|
margin-right: 0.5rem;
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
}
|
|
150
150
|
|
|
151
151
|
/* Actions toolbar */
|
|
152
|
-
.
|
|
152
|
+
.mint-molecule-input__actions {
|
|
153
153
|
display: flex;
|
|
154
154
|
gap: 0.25rem;
|
|
155
155
|
padding: 0.5rem;
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
border-top: 1px solid var(--border-color);
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
-
.
|
|
160
|
+
.mint-molecule-input__action-btn {
|
|
161
161
|
display: flex;
|
|
162
162
|
align-items: center;
|
|
163
163
|
justify-content: center;
|
|
@@ -170,17 +170,17 @@
|
|
|
170
170
|
transition: color 0.15s ease, background-color 0.15s ease;
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
.
|
|
173
|
+
.mint-molecule-input__action-btn:hover:not(:disabled) {
|
|
174
174
|
color: var(--text-primary);
|
|
175
175
|
background-color: var(--bg-hover);
|
|
176
176
|
}
|
|
177
177
|
|
|
178
|
-
.
|
|
178
|
+
.mint-molecule-input__action-btn:disabled {
|
|
179
179
|
opacity: var(--mint-disabled-opacity);
|
|
180
180
|
cursor: not-allowed;
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
-
.
|
|
183
|
+
.mint-molecule-input__action-btn svg {
|
|
184
184
|
width: 1rem;
|
|
185
185
|
height: 1rem;
|
|
186
186
|
}
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
/* MultiSelect Component Styles */
|
|
2
2
|
|
|
3
|
-
.
|
|
3
|
+
.mint-multi-select {
|
|
4
4
|
display: flex;
|
|
5
5
|
flex-direction: column;
|
|
6
6
|
gap: 0.5rem;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
.
|
|
9
|
+
.mint-multi-select--disabled {
|
|
10
10
|
opacity: var(--mint-disabled-opacity);
|
|
11
11
|
pointer-events: none;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
/* Placeholder */
|
|
15
|
-
.
|
|
15
|
+
.mint-multi-select__placeholder {
|
|
16
16
|
font-size: 0.875rem;
|
|
17
17
|
color: var(--text-muted);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
.
|
|
20
|
+
.mint-multi-select--sm .mint-multi-select__placeholder {
|
|
21
21
|
font-size: 0.75rem;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
.
|
|
24
|
+
.mint-multi-select--lg .mint-multi-select__placeholder {
|
|
25
25
|
font-size: 1rem;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
/* Options container */
|
|
29
|
-
.
|
|
29
|
+
.mint-multi-select__options {
|
|
30
30
|
display: flex;
|
|
31
31
|
flex-wrap: wrap;
|
|
32
32
|
gap: 0.5rem;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
/* Chip styles */
|
|
36
|
-
.
|
|
36
|
+
.mint-multi-select__chip {
|
|
37
37
|
display: inline-flex;
|
|
38
38
|
align-items: center;
|
|
39
39
|
gap: 0.375rem;
|
|
@@ -48,84 +48,84 @@
|
|
|
48
48
|
transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
.
|
|
51
|
+
.mint-multi-select__chip:hover:not(.mint-multi-select__chip--active):not(.mint-multi-select__chip--disabled) {
|
|
52
52
|
background-color: var(--bg-hover);
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
.
|
|
55
|
+
.mint-multi-select__chip:focus-visible {
|
|
56
56
|
outline: none;
|
|
57
57
|
box-shadow: var(--focus-ring-offset);
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
.
|
|
60
|
+
.mint-multi-select__chip--active {
|
|
61
61
|
background-color: var(--color-primary);
|
|
62
62
|
border-color: var(--color-primary);
|
|
63
63
|
color: white;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
.
|
|
66
|
+
.mint-multi-select__chip--active:hover {
|
|
67
67
|
background-color: var(--color-primary-dark, #4338ca);
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
.
|
|
70
|
+
.mint-multi-select__chip--disabled {
|
|
71
71
|
opacity: var(--mint-disabled-opacity);
|
|
72
72
|
cursor: not-allowed;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
/* Size variants */
|
|
76
|
-
.
|
|
76
|
+
.mint-multi-select__chip--sm {
|
|
77
77
|
padding: 0.25rem 0.5rem;
|
|
78
78
|
font-size: 0.75rem;
|
|
79
79
|
gap: 0.25rem;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
.
|
|
82
|
+
.mint-multi-select__chip--md {
|
|
83
83
|
padding: 0.375rem 0.75rem;
|
|
84
84
|
font-size: 0.875rem;
|
|
85
85
|
gap: 0.375rem;
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
.
|
|
88
|
+
.mint-multi-select__chip--lg {
|
|
89
89
|
padding: 0.5rem 1rem;
|
|
90
90
|
font-size: 1rem;
|
|
91
91
|
gap: 0.5rem;
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
/* Chip label */
|
|
95
|
-
.
|
|
95
|
+
.mint-multi-select__chip-label {
|
|
96
96
|
line-height: 1.25;
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
/* Check icon */
|
|
100
|
-
.
|
|
100
|
+
.mint-multi-select__chip-check {
|
|
101
101
|
flex-shrink: 0;
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
.
|
|
104
|
+
.mint-multi-select__chip--sm .mint-multi-select__chip-check {
|
|
105
105
|
width: 0.75rem;
|
|
106
106
|
height: 0.75rem;
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
.
|
|
109
|
+
.mint-multi-select__chip--md .mint-multi-select__chip-check {
|
|
110
110
|
width: 0.875rem;
|
|
111
111
|
height: 0.875rem;
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
-
.
|
|
114
|
+
.mint-multi-select__chip--lg .mint-multi-select__chip-check {
|
|
115
115
|
width: 1rem;
|
|
116
116
|
height: 1rem;
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
/* Summary text */
|
|
120
|
-
.
|
|
120
|
+
.mint-multi-select__summary {
|
|
121
121
|
font-size: 0.75rem;
|
|
122
122
|
color: var(--text-muted);
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
.
|
|
125
|
+
.mint-multi-select--sm .mint-multi-select__summary {
|
|
126
126
|
font-size: 0.625rem;
|
|
127
127
|
}
|
|
128
128
|
|
|
129
|
-
.
|
|
129
|
+
.mint-multi-select--lg .mint-multi-select__summary {
|
|
130
130
|
font-size: 0.875rem;
|
|
131
131
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* NumberInput Component Styles */
|
|
2
2
|
|
|
3
|
-
.
|
|
3
|
+
.mint-number-input {
|
|
4
4
|
display: flex;
|
|
5
5
|
flex-direction: column;
|
|
6
6
|
gap: 0.375rem;
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
/* ---------- Field wrapper (numeric input + steppers + optional unit) ---------- */
|
|
11
11
|
|
|
12
|
-
.
|
|
12
|
+
.mint-number-input__field {
|
|
13
13
|
position: relative;
|
|
14
14
|
display: flex;
|
|
15
15
|
align-items: center;
|
|
@@ -19,35 +19,35 @@
|
|
|
19
19
|
transition: border-color 0.15s ease, box-shadow 0.15s ease;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
.
|
|
23
|
-
.
|
|
24
|
-
.
|
|
22
|
+
.mint-number-input--sm .mint-number-input__field { min-height: var(--form-height-sm); }
|
|
23
|
+
.mint-number-input--md .mint-number-input__field { min-height: var(--form-height-md); }
|
|
24
|
+
.mint-number-input--lg .mint-number-input__field { min-height: var(--form-height-lg); }
|
|
25
25
|
|
|
26
|
-
.
|
|
26
|
+
.mint-number-input__field:hover:not(:has(:disabled)) {
|
|
27
27
|
border-color: var(--text-muted);
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
.
|
|
30
|
+
.mint-number-input__field:focus-within {
|
|
31
31
|
border-color: var(--color-primary);
|
|
32
32
|
box-shadow: var(--focus-ring-soft);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
.
|
|
35
|
+
.mint-number-input--error .mint-number-input__field {
|
|
36
36
|
border-color: var(--mint-error);
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
.
|
|
39
|
+
.mint-number-input--error .mint-number-input__field:focus-within {
|
|
40
40
|
box-shadow: var(--focus-ring-soft-error);
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
.
|
|
43
|
+
.mint-number-input--disabled .mint-number-input__field {
|
|
44
44
|
opacity: var(--mint-disabled-opacity);
|
|
45
45
|
background-color: var(--bg-tertiary);
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
/* ---------- Numeric input — left-aligned, Fira Code ---------- */
|
|
49
49
|
|
|
50
|
-
.
|
|
50
|
+
.mint-number-input__input {
|
|
51
51
|
flex: 1;
|
|
52
52
|
min-width: 0;
|
|
53
53
|
text-align: left;
|
|
@@ -62,23 +62,23 @@
|
|
|
62
62
|
appearance: textfield;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
.
|
|
66
|
-
.
|
|
65
|
+
.mint-number-input__input::-webkit-outer-spin-button,
|
|
66
|
+
.mint-number-input__input::-webkit-inner-spin-button {
|
|
67
67
|
-webkit-appearance: none;
|
|
68
68
|
margin: 0;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
.
|
|
71
|
+
.mint-number-input__input:disabled { cursor: not-allowed; }
|
|
72
72
|
|
|
73
73
|
/* Horizontal padding matches BaseInput canonical scale (10/12/16) so FormField's
|
|
74
74
|
12px label indent aligns with the numeric text across all input types. */
|
|
75
|
-
.
|
|
76
|
-
.
|
|
77
|
-
.
|
|
75
|
+
.mint-number-input__input--sm { padding: 0.3125rem 0.625rem 0.4375rem; font-size: 0.875rem; }
|
|
76
|
+
.mint-number-input__input--md { padding: 0.4375rem 0.75rem 0.5625rem; font-size: 0.875rem; }
|
|
77
|
+
.mint-number-input__input--lg { padding: 0.6875rem 1rem 0.8125rem; font-size: 1rem; }
|
|
78
78
|
|
|
79
79
|
/* ---------- Unit suffix ---------- */
|
|
80
80
|
|
|
81
|
-
.
|
|
81
|
+
.mint-number-input__unit {
|
|
82
82
|
padding: 0 0.625rem 0 0;
|
|
83
83
|
color: var(--text-muted);
|
|
84
84
|
font-size: 0.8125rem;
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
|
|
90
90
|
/* ---------- Steppers — hover/focus reveal ---------- */
|
|
91
91
|
|
|
92
|
-
.
|
|
92
|
+
.mint-number-input__steppers {
|
|
93
93
|
display: flex;
|
|
94
94
|
flex-direction: column;
|
|
95
95
|
margin-right: 0.25rem;
|
|
@@ -99,14 +99,14 @@
|
|
|
99
99
|
pointer-events: none;
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
.
|
|
103
|
-
.
|
|
102
|
+
.mint-number-input__field:hover .mint-number-input__steppers,
|
|
103
|
+
.mint-number-input__field:focus-within .mint-number-input__steppers {
|
|
104
104
|
opacity: 1;
|
|
105
105
|
transform: translateX(0);
|
|
106
106
|
pointer-events: auto;
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
.
|
|
109
|
+
.mint-number-input__stepper {
|
|
110
110
|
display: flex;
|
|
111
111
|
align-items: center;
|
|
112
112
|
justify-content: center;
|
|
@@ -120,22 +120,22 @@
|
|
|
120
120
|
transition: color 0.1s ease;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
.
|
|
123
|
+
.mint-number-input__stepper:hover:not(:disabled) {
|
|
124
124
|
color: var(--color-primary);
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
-
.
|
|
127
|
+
.mint-number-input__stepper:disabled {
|
|
128
128
|
opacity: 0.35;
|
|
129
129
|
cursor: not-allowed;
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
-
.
|
|
132
|
+
.mint-number-input__stepper svg {
|
|
133
133
|
width: 0.625rem;
|
|
134
134
|
height: 0.375rem;
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
@media (prefers-reduced-motion: reduce) {
|
|
138
|
-
.
|
|
138
|
+
.mint-number-input__steppers {
|
|
139
139
|
transition: none;
|
|
140
140
|
opacity: 1;
|
|
141
141
|
transform: none;
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
|
|
146
146
|
/* ---------- Slider (variant="slider" auto-activated by min+max) ---------- */
|
|
147
147
|
|
|
148
|
-
.
|
|
148
|
+
.mint-number-input__slider {
|
|
149
149
|
-webkit-appearance: none;
|
|
150
150
|
appearance: none;
|
|
151
151
|
width: 100%;
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
cursor: pointer;
|
|
163
163
|
}
|
|
164
164
|
|
|
165
|
-
.
|
|
165
|
+
.mint-number-input__slider::-webkit-slider-thumb {
|
|
166
166
|
-webkit-appearance: none;
|
|
167
167
|
appearance: none;
|
|
168
168
|
width: 14px;
|
|
@@ -175,11 +175,11 @@
|
|
|
175
175
|
transition: transform 0.1s ease;
|
|
176
176
|
}
|
|
177
177
|
|
|
178
|
-
.
|
|
178
|
+
.mint-number-input__slider::-webkit-slider-thumb:hover {
|
|
179
179
|
transform: scale(1.12);
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
.
|
|
182
|
+
.mint-number-input__slider::-moz-range-thumb {
|
|
183
183
|
width: 14px;
|
|
184
184
|
height: 14px;
|
|
185
185
|
background: var(--bg-secondary);
|
|
@@ -189,11 +189,11 @@
|
|
|
189
189
|
box-shadow: var(--shadow-sm);
|
|
190
190
|
}
|
|
191
191
|
|
|
192
|
-
.
|
|
192
|
+
.mint-number-input__slider:focus-visible {
|
|
193
193
|
box-shadow: var(--focus-ring-soft);
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
.
|
|
196
|
+
.mint-number-input__slider:disabled {
|
|
197
197
|
cursor: not-allowed;
|
|
198
198
|
opacity: var(--mint-disabled-opacity);
|
|
199
199
|
}
|