@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,13 +1,13 @@
|
|
|
1
1
|
/* DropdownButton Component Styles */
|
|
2
2
|
|
|
3
|
-
.
|
|
3
|
+
.mint-dropdown-button {
|
|
4
4
|
position: relative;
|
|
5
5
|
display: inline-block;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
/* Trigger button - mirrors BaseButton's soft-lift colored-shadow system.
|
|
9
9
|
See button.css for the design rationale. */
|
|
10
|
-
.
|
|
10
|
+
.mint-dropdown-button__trigger {
|
|
11
11
|
display: inline-flex;
|
|
12
12
|
align-items: center;
|
|
13
13
|
justify-content: center;
|
|
@@ -28,48 +28,48 @@
|
|
|
28
28
|
transform: translateY(0);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
.
|
|
31
|
+
.mint-dropdown-button__trigger:hover:not(.mint-dropdown-button__trigger--disabled) {
|
|
32
32
|
transform: translateY(-1px);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
.
|
|
35
|
+
.mint-dropdown-button__trigger:active:not(.mint-dropdown-button__trigger--disabled) {
|
|
36
36
|
transform: translateY(0);
|
|
37
37
|
box-shadow: none;
|
|
38
38
|
transition-duration: 0.05s;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
.
|
|
41
|
+
.mint-dropdown-button__trigger:focus-visible {
|
|
42
42
|
outline: none;
|
|
43
43
|
box-shadow: var(--focus-ring-offset);
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
@media (prefers-reduced-motion: reduce) {
|
|
47
|
-
.
|
|
47
|
+
.mint-dropdown-button__trigger {
|
|
48
48
|
transition:
|
|
49
49
|
color 0.15s ease,
|
|
50
50
|
background-color 0.15s ease,
|
|
51
51
|
border-color 0.15s ease,
|
|
52
52
|
box-shadow 0.15s ease;
|
|
53
53
|
}
|
|
54
|
-
.
|
|
55
|
-
.
|
|
54
|
+
.mint-dropdown-button__trigger:hover:not(.mint-dropdown-button__trigger--disabled),
|
|
55
|
+
.mint-dropdown-button__trigger:active:not(.mint-dropdown-button__trigger--disabled) {
|
|
56
56
|
transform: none;
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
/* Trigger variants — colored soft-lift shadows mirror BaseButton. */
|
|
61
|
-
.
|
|
61
|
+
.mint-dropdown-button__trigger--primary {
|
|
62
62
|
background-color: var(--color-primary);
|
|
63
63
|
color: white;
|
|
64
64
|
box-shadow: 0 1px 2px rgba(99, 102, 241, 0.20);
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
.
|
|
67
|
+
.mint-dropdown-button__trigger--primary:hover:not(.mint-dropdown-button__trigger--disabled) {
|
|
68
68
|
background-color: var(--color-primary-hover);
|
|
69
69
|
box-shadow: 0 2px 5px rgba(99, 102, 241, 0.28);
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
.
|
|
72
|
+
.mint-dropdown-button__trigger--secondary {
|
|
73
73
|
background-color: var(--bg-secondary);
|
|
74
74
|
color: var(--text-primary);
|
|
75
75
|
border: 1px solid var(--border-color);
|
|
@@ -78,111 +78,111 @@
|
|
|
78
78
|
box-shadow: 0 1px 1px rgba(15, 23, 42, 0.03);
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
-
.
|
|
81
|
+
.mint-dropdown-button__trigger--secondary:hover:not(.mint-dropdown-button__trigger--disabled) {
|
|
82
82
|
background-color: var(--bg-tertiary);
|
|
83
83
|
box-shadow: 0 2px 4px rgba(15, 23, 42, 0.06);
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
.
|
|
86
|
+
.mint-dropdown-button__trigger--cta {
|
|
87
87
|
background-color: var(--color-cta);
|
|
88
88
|
color: white;
|
|
89
89
|
box-shadow: 0 1px 2px rgba(249, 115, 22, 0.20);
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
.
|
|
92
|
+
.mint-dropdown-button__trigger--cta:hover:not(.mint-dropdown-button__trigger--disabled) {
|
|
93
93
|
background-color: var(--color-cta-hover);
|
|
94
94
|
box-shadow: 0 2px 5px rgba(249, 115, 22, 0.28);
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
-
.
|
|
97
|
+
.mint-dropdown-button__trigger--danger {
|
|
98
98
|
background-color: var(--mint-error);
|
|
99
99
|
color: white;
|
|
100
100
|
box-shadow: 0 1px 2px rgba(239, 68, 68, 0.20);
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
.
|
|
103
|
+
.mint-dropdown-button__trigger--danger:hover:not(.mint-dropdown-button__trigger--disabled) {
|
|
104
104
|
background-color: var(--mint-error-hover);
|
|
105
105
|
box-shadow: 0 2px 5px rgba(239, 68, 68, 0.28);
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
.
|
|
108
|
+
.mint-dropdown-button__trigger--success {
|
|
109
109
|
background-color: var(--mint-success);
|
|
110
110
|
color: white;
|
|
111
111
|
box-shadow: 0 1px 2px rgba(16, 185, 129, 0.20);
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
-
.
|
|
114
|
+
.mint-dropdown-button__trigger--success:hover:not(.mint-dropdown-button__trigger--disabled) {
|
|
115
115
|
background-color: var(--mint-success-hover);
|
|
116
116
|
box-shadow: 0 2px 5px rgba(16, 185, 129, 0.28);
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
-
.
|
|
119
|
+
.mint-dropdown-button__trigger--ghost {
|
|
120
120
|
background-color: transparent;
|
|
121
121
|
color: var(--text-primary);
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
.
|
|
124
|
+
.mint-dropdown-button__trigger--ghost:hover:not(.mint-dropdown-button__trigger--disabled) {
|
|
125
125
|
background-color: var(--bg-tertiary);
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
/* Trigger sizes — 1px optical padding shift (0.16+). See CLAUDE.md § Optical Centering. */
|
|
129
|
-
.
|
|
129
|
+
.mint-dropdown-button__trigger--sm {
|
|
130
130
|
padding: 0.3125rem 0.75rem 0.4375rem;
|
|
131
131
|
font-size: 0.875rem;
|
|
132
132
|
min-height: var(--form-height-sm);
|
|
133
133
|
}
|
|
134
134
|
|
|
135
|
-
.
|
|
135
|
+
.mint-dropdown-button__trigger--md {
|
|
136
136
|
padding: 0.4375rem 1rem 0.5625rem;
|
|
137
137
|
font-size: 0.875rem;
|
|
138
138
|
min-height: var(--form-height-md);
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
.
|
|
141
|
+
.mint-dropdown-button__trigger--lg {
|
|
142
142
|
padding: 0.6875rem 1.5rem 0.8125rem;
|
|
143
143
|
font-size: 1rem;
|
|
144
144
|
min-height: var(--form-height-lg);
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
/* Trigger disabled */
|
|
148
|
-
.
|
|
148
|
+
.mint-dropdown-button__trigger--disabled {
|
|
149
149
|
opacity: var(--mint-disabled-opacity);
|
|
150
150
|
cursor: not-allowed;
|
|
151
151
|
}
|
|
152
152
|
|
|
153
153
|
/* Label */
|
|
154
|
-
.
|
|
154
|
+
.mint-dropdown-button__label {
|
|
155
155
|
flex: 1;
|
|
156
156
|
text-align: left;
|
|
157
157
|
}
|
|
158
158
|
|
|
159
159
|
/* Chevron icon */
|
|
160
|
-
.
|
|
160
|
+
.mint-dropdown-button__chevron {
|
|
161
161
|
width: 1rem;
|
|
162
162
|
height: 1rem;
|
|
163
163
|
flex-shrink: 0;
|
|
164
164
|
transition: transform 0.2s ease;
|
|
165
165
|
}
|
|
166
166
|
|
|
167
|
-
.
|
|
167
|
+
.mint-dropdown-button__chevron--open {
|
|
168
168
|
transform: rotate(180deg);
|
|
169
169
|
}
|
|
170
170
|
|
|
171
171
|
/* Loading spinner */
|
|
172
|
-
.
|
|
172
|
+
.mint-dropdown-button__spinner {
|
|
173
173
|
width: 1rem;
|
|
174
174
|
height: 1rem;
|
|
175
175
|
flex-shrink: 0;
|
|
176
|
-
animation:
|
|
176
|
+
animation: mint-dropdown-button-spin 1s linear infinite;
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
@keyframes
|
|
179
|
+
@keyframes mint-dropdown-button-spin {
|
|
180
180
|
from { transform: rotate(0deg); }
|
|
181
181
|
to { transform: rotate(360deg); }
|
|
182
182
|
}
|
|
183
183
|
|
|
184
184
|
/* Dropdown menu */
|
|
185
|
-
.
|
|
185
|
+
.mint-dropdown-button__menu {
|
|
186
186
|
position: absolute;
|
|
187
187
|
top: calc(100% + 0.25rem);
|
|
188
188
|
left: 0;
|
|
@@ -200,19 +200,19 @@
|
|
|
200
200
|
}
|
|
201
201
|
|
|
202
202
|
/* Menu transition */
|
|
203
|
-
.
|
|
204
|
-
.
|
|
203
|
+
.mint-dropdown-button-menu-enter-active,
|
|
204
|
+
.mint-dropdown-button-menu-leave-active {
|
|
205
205
|
transition: opacity 0.15s ease, transform 0.15s ease;
|
|
206
206
|
}
|
|
207
207
|
|
|
208
|
-
.
|
|
209
|
-
.
|
|
208
|
+
.mint-dropdown-button-menu-enter-from,
|
|
209
|
+
.mint-dropdown-button-menu-leave-to {
|
|
210
210
|
opacity: 0;
|
|
211
211
|
transform: translateY(-0.25rem);
|
|
212
212
|
}
|
|
213
213
|
|
|
214
214
|
/* Option items */
|
|
215
|
-
.
|
|
215
|
+
.mint-dropdown-button__option {
|
|
216
216
|
display: flex;
|
|
217
217
|
align-items: center;
|
|
218
218
|
gap: 0.5rem;
|
|
@@ -225,26 +225,26 @@
|
|
|
225
225
|
transition: background-color 0.1s ease;
|
|
226
226
|
}
|
|
227
227
|
|
|
228
|
-
.
|
|
228
|
+
.mint-dropdown-button__option:hover:not(.mint-dropdown-button__option--disabled) {
|
|
229
229
|
background-color: var(--bg-hover);
|
|
230
230
|
}
|
|
231
231
|
|
|
232
|
-
.
|
|
232
|
+
.mint-dropdown-button__option--selected {
|
|
233
233
|
color: var(--color-primary);
|
|
234
234
|
font-weight: 500;
|
|
235
235
|
}
|
|
236
236
|
|
|
237
|
-
.
|
|
237
|
+
.mint-dropdown-button__option--disabled {
|
|
238
238
|
opacity: var(--mint-disabled-opacity);
|
|
239
239
|
cursor: not-allowed;
|
|
240
240
|
}
|
|
241
241
|
|
|
242
242
|
/* Option label and description */
|
|
243
|
-
.
|
|
243
|
+
.mint-dropdown-button__option-label {
|
|
244
244
|
flex: 1;
|
|
245
245
|
}
|
|
246
246
|
|
|
247
|
-
.
|
|
247
|
+
.mint-dropdown-button__option-description {
|
|
248
248
|
display: block;
|
|
249
249
|
font-size: 0.75rem;
|
|
250
250
|
color: var(--text-muted);
|
|
@@ -252,7 +252,7 @@
|
|
|
252
252
|
}
|
|
253
253
|
|
|
254
254
|
/* Check icon for selected option */
|
|
255
|
-
.
|
|
255
|
+
.mint-dropdown-button__option-check {
|
|
256
256
|
width: 1rem;
|
|
257
257
|
height: 1rem;
|
|
258
258
|
flex-shrink: 0;
|
|
@@ -260,19 +260,19 @@
|
|
|
260
260
|
}
|
|
261
261
|
|
|
262
262
|
/* When option has description, stack label + description */
|
|
263
|
-
.
|
|
263
|
+
.mint-dropdown-button__option:has(.mint-dropdown-button__option-description) {
|
|
264
264
|
flex-wrap: wrap;
|
|
265
265
|
}
|
|
266
266
|
|
|
267
|
-
.
|
|
267
|
+
.mint-dropdown-button__option:has(.mint-dropdown-button__option-description) .mint-dropdown-button__option-label {
|
|
268
268
|
width: 100%;
|
|
269
269
|
}
|
|
270
270
|
|
|
271
|
-
.
|
|
271
|
+
.mint-dropdown-button__option:has(.mint-dropdown-button__option-description) .mint-dropdown-button__option-description {
|
|
272
272
|
width: 100%;
|
|
273
273
|
}
|
|
274
274
|
|
|
275
|
-
.
|
|
275
|
+
.mint-dropdown-button__option:has(.mint-dropdown-button__option-description) .mint-dropdown-button__option-check {
|
|
276
276
|
position: absolute;
|
|
277
277
|
right: 0.75rem;
|
|
278
278
|
top: 50%;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* EmptyState Component Styles */
|
|
2
2
|
|
|
3
|
-
.
|
|
3
|
+
.mint-empty-state {
|
|
4
4
|
padding: 2rem;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
-
.
|
|
7
|
+
.mint-empty-state--illustrated {
|
|
8
8
|
display: flex;
|
|
9
9
|
flex-direction: column;
|
|
10
10
|
align-items: center;
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
text-align: center;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
.
|
|
15
|
+
.mint-empty-state--inline {
|
|
16
16
|
display: flex;
|
|
17
17
|
align-items: center;
|
|
18
18
|
gap: 1rem;
|
|
@@ -24,19 +24,19 @@
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
/* Sizes (illustrated only — inline is single size) */
|
|
27
|
-
.
|
|
28
|
-
.
|
|
29
|
-
.
|
|
27
|
+
.mint-empty-state--sm { padding: 1rem; }
|
|
28
|
+
.mint-empty-state--md { padding: 2rem; }
|
|
29
|
+
.mint-empty-state--lg { padding: 3rem; }
|
|
30
30
|
|
|
31
31
|
/* Inline overrides size-based padding to keep it compact */
|
|
32
|
-
.
|
|
33
|
-
.
|
|
34
|
-
.
|
|
32
|
+
.mint-empty-state--inline.mint-empty-state--sm,
|
|
33
|
+
.mint-empty-state--inline.mint-empty-state--md,
|
|
34
|
+
.mint-empty-state--inline.mint-empty-state--lg {
|
|
35
35
|
padding: 1rem 1.25rem;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
/* Icon wrapper — illustrated: 72px tile with gradient */
|
|
39
|
-
.
|
|
39
|
+
.mint-empty-state--illustrated .mint-empty-state__icon-wrapper {
|
|
40
40
|
width: 72px;
|
|
41
41
|
height: 72px;
|
|
42
42
|
margin-bottom: 1rem;
|
|
@@ -48,18 +48,18 @@
|
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
/* Gradient fill from primary-soft → info-bg for the illustrated primary default */
|
|
51
|
-
.
|
|
51
|
+
.mint-empty-state--illustrated .mint-empty-state__icon-wrapper--primary {
|
|
52
52
|
background: linear-gradient(135deg, var(--color-primary-soft), var(--mint-info-bg));
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
.
|
|
56
|
-
.
|
|
57
|
-
.
|
|
58
|
-
.
|
|
59
|
-
.
|
|
55
|
+
.mint-empty-state--illustrated .mint-empty-state__icon-wrapper--cta { background: color-mix(in srgb, var(--color-cta) 10%, transparent); }
|
|
56
|
+
.mint-empty-state--illustrated .mint-empty-state__icon-wrapper--success { background: var(--mint-success-bg); }
|
|
57
|
+
.mint-empty-state--illustrated .mint-empty-state__icon-wrapper--warning { background: var(--mint-warning-bg); }
|
|
58
|
+
.mint-empty-state--illustrated .mint-empty-state__icon-wrapper--error { background: var(--mint-error-bg); }
|
|
59
|
+
.mint-empty-state--illustrated .mint-empty-state__icon-wrapper--muted { background: var(--bg-tertiary); }
|
|
60
60
|
|
|
61
61
|
/* Inline: 44x44 icon box (left-aligned) */
|
|
62
|
-
.
|
|
62
|
+
.mint-empty-state--inline .mint-empty-state__icon-wrapper {
|
|
63
63
|
width: 44px;
|
|
64
64
|
height: 44px;
|
|
65
65
|
border-radius: var(--radius-md);
|
|
@@ -70,34 +70,34 @@
|
|
|
70
70
|
background: var(--color-primary-soft);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
.
|
|
74
|
-
.
|
|
75
|
-
.
|
|
76
|
-
.
|
|
77
|
-
.
|
|
73
|
+
.mint-empty-state--inline .mint-empty-state__icon-wrapper--cta { background: color-mix(in srgb, var(--color-cta) 10%, transparent); }
|
|
74
|
+
.mint-empty-state--inline .mint-empty-state__icon-wrapper--success { background: var(--mint-success-bg); }
|
|
75
|
+
.mint-empty-state--inline .mint-empty-state__icon-wrapper--warning { background: var(--mint-warning-bg); }
|
|
76
|
+
.mint-empty-state--inline .mint-empty-state__icon-wrapper--error { background: var(--mint-error-bg); }
|
|
77
|
+
.mint-empty-state--inline .mint-empty-state__icon-wrapper--muted { background: var(--bg-tertiary); }
|
|
78
78
|
|
|
79
79
|
/* Icon sizes */
|
|
80
|
-
.
|
|
81
|
-
.
|
|
82
|
-
.
|
|
83
|
-
.
|
|
80
|
+
.mint-empty-state--sm .mint-empty-state__icon { width: 32px; height: 32px; }
|
|
81
|
+
.mint-empty-state--md .mint-empty-state__icon { width: 40px; height: 40px; }
|
|
82
|
+
.mint-empty-state--lg .mint-empty-state__icon { width: 48px; height: 48px; }
|
|
83
|
+
.mint-empty-state--inline .mint-empty-state__icon { width: 22px; height: 22px; }
|
|
84
84
|
|
|
85
85
|
/* Icon colors */
|
|
86
|
-
.
|
|
87
|
-
.
|
|
88
|
-
.
|
|
89
|
-
.
|
|
90
|
-
.
|
|
91
|
-
.
|
|
86
|
+
.mint-empty-state__icon--primary { color: var(--color-primary); }
|
|
87
|
+
.mint-empty-state__icon--cta { color: var(--color-cta); }
|
|
88
|
+
.mint-empty-state__icon--success { color: var(--mint-success); }
|
|
89
|
+
.mint-empty-state__icon--warning { color: var(--mint-warning); }
|
|
90
|
+
.mint-empty-state__icon--error { color: var(--mint-error); }
|
|
91
|
+
.mint-empty-state__icon--muted { color: var(--text-muted); }
|
|
92
92
|
|
|
93
93
|
/* Body wrapper — in inline this is the flex-grow region */
|
|
94
|
-
.
|
|
94
|
+
.mint-empty-state--inline .mint-empty-state__body {
|
|
95
95
|
flex: 1;
|
|
96
96
|
min-width: 0;
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
/* Title */
|
|
100
|
-
.
|
|
100
|
+
.mint-empty-state__title {
|
|
101
101
|
font-weight: 600;
|
|
102
102
|
color: var(--text-primary);
|
|
103
103
|
margin-top: 0 !important;
|
|
@@ -105,13 +105,13 @@
|
|
|
105
105
|
padding: 0 !important;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
.
|
|
109
|
-
.
|
|
110
|
-
.
|
|
111
|
-
.
|
|
108
|
+
.mint-empty-state--sm .mint-empty-state__title { font-size: 0.875rem; }
|
|
109
|
+
.mint-empty-state--md .mint-empty-state__title { font-size: 1rem; }
|
|
110
|
+
.mint-empty-state--lg .mint-empty-state__title { font-size: 1.125rem; }
|
|
111
|
+
.mint-empty-state--inline .mint-empty-state__title { font-size: 0.875rem; }
|
|
112
112
|
|
|
113
113
|
/* Description */
|
|
114
|
-
.
|
|
114
|
+
.mint-empty-state__description {
|
|
115
115
|
font-size: 0.8125rem;
|
|
116
116
|
color: var(--text-secondary);
|
|
117
117
|
max-width: 28rem;
|
|
@@ -120,21 +120,21 @@
|
|
|
120
120
|
padding: 0 !important;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
.
|
|
123
|
+
.mint-empty-state--inline .mint-empty-state__description {
|
|
124
124
|
font-size: 0.75rem;
|
|
125
125
|
color: var(--text-muted);
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
/* Action */
|
|
129
|
-
.
|
|
129
|
+
.mint-empty-state--illustrated .mint-empty-state__action {
|
|
130
130
|
margin-top: 1rem;
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
.
|
|
133
|
+
.mint-empty-state--inline .mint-empty-state__action {
|
|
134
134
|
flex-shrink: 0;
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
.
|
|
137
|
+
.mint-empty-state__button {
|
|
138
138
|
background: var(--color-primary);
|
|
139
139
|
color: white;
|
|
140
140
|
padding: 0.5rem 1rem;
|
|
@@ -146,6 +146,6 @@
|
|
|
146
146
|
transition: background-color 0.15s ease;
|
|
147
147
|
}
|
|
148
148
|
|
|
149
|
-
.
|
|
149
|
+
.mint-empty-state__button:hover {
|
|
150
150
|
background: var(--color-primary-hover);
|
|
151
151
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
.mint-exp-code {
|
|
2
2
|
display: inline-flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
font-family: 'Fira Code', monospace;
|
|
@@ -9,25 +9,25 @@
|
|
|
9
9
|
letter-spacing: 0.02em;
|
|
10
10
|
transition: background-color 0.15s ease, color 0.15s ease;
|
|
11
11
|
}
|
|
12
|
-
.
|
|
13
|
-
.
|
|
14
|
-
.
|
|
12
|
+
.mint-exp-code--sm { padding: 1px 6px; font-size: 11px; }
|
|
13
|
+
.mint-exp-code--md { padding: 2px 8px; font-size: 12px; }
|
|
14
|
+
.mint-exp-code--lg { padding: 3px 10px; font-size: 14px; }
|
|
15
15
|
|
|
16
16
|
/* Copyable state */
|
|
17
|
-
.
|
|
17
|
+
.mint-exp-code--copyable {
|
|
18
18
|
cursor: pointer;
|
|
19
19
|
user-select: none;
|
|
20
20
|
}
|
|
21
|
-
.
|
|
21
|
+
.mint-exp-code--copyable:hover {
|
|
22
22
|
background: var(--bg-hover);
|
|
23
23
|
}
|
|
24
|
-
.
|
|
24
|
+
.mint-exp-code--copyable:focus-visible {
|
|
25
25
|
outline: 2px solid var(--color-primary);
|
|
26
26
|
outline-offset: 1px;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
/* Copied feedback */
|
|
30
|
-
.
|
|
30
|
+
.mint-exp-code--copied {
|
|
31
31
|
background: var(--mint-success-bg);
|
|
32
32
|
color: var(--mint-success);
|
|
33
33
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
.
|
|
1
|
+
.mint-data-viewer {
|
|
2
2
|
border: 1px solid var(--border-color);
|
|
3
3
|
border-radius: var(--radius-md);
|
|
4
4
|
overflow: hidden;
|
|
5
5
|
}
|
|
6
|
-
.
|
|
6
|
+
.mint-data-viewer__header {
|
|
7
7
|
display: flex;
|
|
8
8
|
align-items: center;
|
|
9
9
|
justify-content: space-between;
|
|
@@ -12,42 +12,42 @@
|
|
|
12
12
|
background: var(--bg-secondary);
|
|
13
13
|
gap: 8px;
|
|
14
14
|
}
|
|
15
|
-
.
|
|
16
|
-
.
|
|
17
|
-
.
|
|
15
|
+
.mint-data-viewer__controls { display: flex; gap: 8px; }
|
|
16
|
+
.mint-data-viewer__actions { display: flex; gap: 4px; align-items: center; }
|
|
17
|
+
.mint-data-viewer__content {
|
|
18
18
|
padding: 12px;
|
|
19
19
|
max-height: 600px;
|
|
20
20
|
overflow-y: auto;
|
|
21
21
|
}
|
|
22
|
-
.
|
|
22
|
+
.mint-data-viewer__loading {
|
|
23
23
|
padding: 24px 12px;
|
|
24
24
|
}
|
|
25
|
-
.
|
|
25
|
+
.mint-data-viewer__skeleton {
|
|
26
26
|
display: flex;
|
|
27
27
|
flex-direction: column;
|
|
28
28
|
gap: 12px;
|
|
29
29
|
}
|
|
30
|
-
.
|
|
30
|
+
.mint-data-viewer__empty {
|
|
31
31
|
text-align: center;
|
|
32
32
|
padding: 32px;
|
|
33
33
|
color: var(--text-muted);
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
/* Summary view */
|
|
37
|
-
.
|
|
37
|
+
.mint-summary {
|
|
38
38
|
display: flex;
|
|
39
39
|
flex-direction: column;
|
|
40
40
|
gap: 16px;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
/* Metadata pills row */
|
|
44
|
-
.
|
|
44
|
+
.mint-summary__metadata {
|
|
45
45
|
display: flex;
|
|
46
46
|
flex-wrap: wrap;
|
|
47
47
|
gap: 6px;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
.
|
|
50
|
+
.mint-summary__pill {
|
|
51
51
|
display: inline-flex;
|
|
52
52
|
align-items: center;
|
|
53
53
|
border-radius: 6px;
|
|
@@ -57,11 +57,11 @@
|
|
|
57
57
|
border: 1px solid var(--border-color);
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
.
|
|
60
|
+
.mint-summary__pill--sm {
|
|
61
61
|
font-size: 0.75rem;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
.
|
|
64
|
+
.mint-summary__pill-key {
|
|
65
65
|
padding: 4px 8px;
|
|
66
66
|
background: var(--bg-secondary);
|
|
67
67
|
color: var(--text-muted);
|
|
@@ -69,44 +69,44 @@
|
|
|
69
69
|
font-weight: 500;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
.
|
|
72
|
+
.mint-summary__pill-value {
|
|
73
73
|
padding: 4px 8px;
|
|
74
74
|
color: var(--text-primary);
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
/* Section */
|
|
78
|
-
.
|
|
78
|
+
.mint-summary__section {
|
|
79
79
|
display: flex;
|
|
80
80
|
flex-direction: column;
|
|
81
81
|
gap: 12px;
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
.
|
|
84
|
+
.mint-summary__section-label {
|
|
85
85
|
font-weight: 600;
|
|
86
86
|
font-size: 0.875rem;
|
|
87
87
|
color: var(--text-primary);
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
.
|
|
90
|
+
.mint-summary__section-count {
|
|
91
91
|
font-size: 0.75rem;
|
|
92
92
|
color: var(--text-muted);
|
|
93
93
|
margin-left: 8px;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
.
|
|
96
|
+
.mint-summary__table-header {
|
|
97
97
|
display: flex;
|
|
98
98
|
align-items: baseline;
|
|
99
99
|
gap: 4px;
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
/* Group cards */
|
|
103
|
-
.
|
|
103
|
+
.mint-summary__group-card {
|
|
104
104
|
border: 1px solid var(--border-color);
|
|
105
105
|
border-radius: var(--radius-md);
|
|
106
106
|
overflow: hidden;
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
.
|
|
109
|
+
.mint-summary__group-header {
|
|
110
110
|
display: flex;
|
|
111
111
|
align-items: center;
|
|
112
112
|
justify-content: space-between;
|
|
@@ -115,13 +115,13 @@
|
|
|
115
115
|
border-bottom: 1px solid var(--border-color);
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
.
|
|
118
|
+
.mint-summary__group-label {
|
|
119
119
|
font-weight: 600;
|
|
120
120
|
font-size: 0.875rem;
|
|
121
121
|
color: var(--text-primary);
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
.
|
|
124
|
+
.mint-summary__group-count {
|
|
125
125
|
font-size: 0.75rem;
|
|
126
126
|
color: var(--text-muted);
|
|
127
127
|
background: var(--bg-tertiary);
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
border-radius: 10px;
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
-
.
|
|
132
|
+
.mint-summary__group-meta {
|
|
133
133
|
display: flex;
|
|
134
134
|
flex-wrap: wrap;
|
|
135
135
|
gap: 6px;
|