@morscherlab/mint-sdk 1.0.0-alpha.7 → 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,36 +1,36 @@
|
|
|
1
1
|
/* ColorSlider Component Styles */
|
|
2
2
|
|
|
3
|
-
.
|
|
3
|
+
.mint-color-slider {
|
|
4
4
|
display: flex;
|
|
5
5
|
flex-direction: column;
|
|
6
6
|
gap: 0.25rem;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
.
|
|
9
|
+
.mint-color-slider--disabled {
|
|
10
10
|
opacity: var(--mint-disabled-opacity);
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
.
|
|
13
|
+
.mint-color-slider__row {
|
|
14
14
|
display: flex;
|
|
15
15
|
align-items: center;
|
|
16
16
|
gap: 0.5rem;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
.
|
|
19
|
+
.mint-color-slider__track {
|
|
20
20
|
position: relative;
|
|
21
21
|
flex: 1;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
.
|
|
24
|
+
.mint-color-slider__input {
|
|
25
25
|
width: 100%;
|
|
26
26
|
cursor: pointer;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
.
|
|
29
|
+
.mint-color-slider__input:disabled {
|
|
30
30
|
cursor: not-allowed;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
.
|
|
33
|
+
.mint-color-slider__badge {
|
|
34
34
|
display: flex;
|
|
35
35
|
align-items: center;
|
|
36
36
|
justify-content: center;
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
font-weight: 700;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
.
|
|
41
|
+
.mint-color-slider__labels {
|
|
42
42
|
display: flex;
|
|
43
43
|
justify-content: space-between;
|
|
44
44
|
color: var(--text-muted);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/* ConcentrationInput Component Styles */
|
|
2
2
|
|
|
3
|
-
.
|
|
3
|
+
.mint-concentration-input {
|
|
4
4
|
display: flex;
|
|
5
5
|
flex-direction: column;
|
|
6
6
|
gap: 0.25rem;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
.
|
|
9
|
+
.mint-concentration-input__controls {
|
|
10
10
|
display: flex;
|
|
11
11
|
border-radius: var(--radius-md);
|
|
12
12
|
border: 1px solid var(--border-color);
|
|
@@ -15,37 +15,37 @@
|
|
|
15
15
|
transition: border-color 0.15s ease, box-shadow 0.15s ease;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
.
|
|
18
|
+
.mint-concentration-input__controls--sm {
|
|
19
19
|
min-height: var(--form-height-sm);
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
.
|
|
22
|
+
.mint-concentration-input__controls--md {
|
|
23
23
|
min-height: var(--form-height-md);
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
.
|
|
26
|
+
.mint-concentration-input__controls--lg {
|
|
27
27
|
min-height: var(--form-height-lg);
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
.
|
|
30
|
+
.mint-concentration-input__controls:focus-within {
|
|
31
31
|
border-color: transparent;
|
|
32
32
|
box-shadow: var(--focus-ring);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
.
|
|
35
|
+
.mint-concentration-input--error .mint-concentration-input__controls {
|
|
36
36
|
border-color: var(--mint-error);
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
.
|
|
39
|
+
.mint-concentration-input--error .mint-concentration-input__controls:focus-within {
|
|
40
40
|
box-shadow: var(--focus-ring-error);
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
.
|
|
43
|
+
.mint-concentration-input--disabled .mint-concentration-input__controls {
|
|
44
44
|
opacity: var(--mint-disabled-opacity);
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
/* Value input */
|
|
48
|
-
.
|
|
48
|
+
.mint-concentration-input__value {
|
|
49
49
|
flex: 1;
|
|
50
50
|
min-width: 0;
|
|
51
51
|
background-color: var(--bg-secondary);
|
|
@@ -58,44 +58,44 @@
|
|
|
58
58
|
appearance: textfield;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
.
|
|
62
|
-
.
|
|
61
|
+
.mint-concentration-input__value::-webkit-outer-spin-button,
|
|
62
|
+
.mint-concentration-input__value::-webkit-inner-spin-button {
|
|
63
63
|
-webkit-appearance: none;
|
|
64
64
|
margin: 0;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
.
|
|
67
|
+
.mint-concentration-input__value::placeholder {
|
|
68
68
|
color: var(--text-muted);
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
.
|
|
71
|
+
.mint-concentration-input__value--sm {
|
|
72
72
|
padding: 0.375rem 0.625rem;
|
|
73
73
|
font-size: 0.875rem;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
.
|
|
76
|
+
.mint-concentration-input__value--md {
|
|
77
77
|
padding: 0.5rem 0.75rem;
|
|
78
78
|
font-size: 0.875rem;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
-
.
|
|
81
|
+
.mint-concentration-input__value--lg {
|
|
82
82
|
padding: 0.75rem 1rem;
|
|
83
83
|
font-size: 1rem;
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
.
|
|
86
|
+
.mint-concentration-input__value--disabled {
|
|
87
87
|
cursor: not-allowed;
|
|
88
88
|
background-color: var(--bg-tertiary);
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
/* Unit select */
|
|
92
|
-
.
|
|
92
|
+
.mint-concentration-input__unit {
|
|
93
93
|
position: relative;
|
|
94
94
|
flex-shrink: 0;
|
|
95
95
|
border-left: 1px solid var(--border-color);
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
.
|
|
98
|
+
.mint-concentration-input__unit-select {
|
|
99
99
|
height: 100%;
|
|
100
100
|
background-color: var(--bg-tertiary);
|
|
101
101
|
color: var(--text-primary);
|
|
@@ -111,46 +111,46 @@
|
|
|
111
111
|
background-size: 1rem 1rem;
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
-
.
|
|
114
|
+
.mint-concentration-input__unit-select--sm {
|
|
115
115
|
padding: 0.375rem 1.5rem 0.375rem 0.5rem;
|
|
116
116
|
font-size: 0.75rem;
|
|
117
117
|
min-width: 4rem;
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
.
|
|
120
|
+
.mint-concentration-input__unit-select--md {
|
|
121
121
|
padding: 0.5rem 1.75rem 0.5rem 0.625rem;
|
|
122
122
|
font-size: 0.875rem;
|
|
123
123
|
min-width: 4.5rem;
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
.
|
|
126
|
+
.mint-concentration-input__unit-select--lg {
|
|
127
127
|
padding: 0.75rem 2rem 0.75rem 0.75rem;
|
|
128
128
|
font-size: 0.875rem;
|
|
129
129
|
min-width: 5rem;
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
-
.
|
|
132
|
+
.mint-concentration-input__unit-select:disabled {
|
|
133
133
|
cursor: not-allowed;
|
|
134
134
|
opacity: 0.7;
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
.
|
|
137
|
+
.mint-concentration-input__unit-select:hover:not(:disabled) {
|
|
138
138
|
background-color: var(--bg-hover);
|
|
139
139
|
}
|
|
140
140
|
|
|
141
141
|
/* Unit option group */
|
|
142
|
-
.
|
|
142
|
+
.mint-concentration-input__unit-group {
|
|
143
143
|
font-weight: 600;
|
|
144
144
|
color: var(--text-secondary);
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
/* Conversion hint */
|
|
148
|
-
.
|
|
148
|
+
.mint-concentration-input__conversion {
|
|
149
149
|
font-size: 0.75rem;
|
|
150
150
|
color: var(--text-muted);
|
|
151
151
|
padding-left: 0.125rem;
|
|
152
152
|
}
|
|
153
153
|
|
|
154
|
-
.
|
|
154
|
+
.mint-concentration-input__conversion::before {
|
|
155
155
|
content: '≈ ';
|
|
156
156
|
}
|
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
- Optional `#icon` slot — if consumer passes one, it renders above the message
|
|
6
6
|
in a variant-colored badge. */
|
|
7
7
|
|
|
8
|
-
.
|
|
8
|
+
.mint-confirm {
|
|
9
9
|
display: flex;
|
|
10
10
|
flex-direction: column;
|
|
11
11
|
gap: 0.75rem;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
/* Opt-in icon — only rendered when the #icon slot is provided. */
|
|
15
|
-
.
|
|
15
|
+
.mint-confirm__icon {
|
|
16
16
|
align-self: flex-start;
|
|
17
17
|
width: 2.25rem;
|
|
18
18
|
height: 2.25rem;
|
|
@@ -22,27 +22,27 @@
|
|
|
22
22
|
padding: 0.5rem;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
.
|
|
25
|
+
.mint-confirm__icon svg {
|
|
26
26
|
width: 1.25rem;
|
|
27
27
|
height: 1.25rem;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
.
|
|
30
|
+
.mint-confirm__icon--danger {
|
|
31
31
|
background-color: var(--mint-error-bg);
|
|
32
32
|
color: var(--mint-error);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
.
|
|
35
|
+
.mint-confirm__icon--warning {
|
|
36
36
|
background-color: var(--mint-warning-bg);
|
|
37
37
|
color: var(--mint-warning);
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
.
|
|
40
|
+
.mint-confirm__icon--info {
|
|
41
41
|
background-color: var(--color-primary-soft);
|
|
42
42
|
color: var(--color-primary);
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
.
|
|
45
|
+
.mint-confirm__message {
|
|
46
46
|
font-size: 0.875rem;
|
|
47
47
|
color: var(--text-primary);
|
|
48
48
|
margin-top: 0 !important;
|
|
@@ -52,14 +52,14 @@
|
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
/* ─── Footer buttons — refresh-design tactile system ─── */
|
|
55
|
-
.
|
|
55
|
+
.mint-confirm__footer {
|
|
56
56
|
display: flex;
|
|
57
57
|
justify-content: flex-end;
|
|
58
58
|
gap: 0.625rem;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
.
|
|
62
|
-
.
|
|
61
|
+
.mint-confirm__btn-cancel,
|
|
62
|
+
.mint-confirm__btn-confirm {
|
|
63
63
|
display: inline-flex;
|
|
64
64
|
align-items: center;
|
|
65
65
|
justify-content: center;
|
|
@@ -83,29 +83,29 @@
|
|
|
83
83
|
opacity 0.15s var(--mint-ease-out-quart, cubic-bezier(0.25, 1, 0.5, 1));
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
.
|
|
86
|
+
.mint-confirm__btn-cancel {
|
|
87
87
|
color: var(--text-primary);
|
|
88
88
|
background-color: var(--bg-secondary);
|
|
89
89
|
border: 1px solid var(--border-color);
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
.
|
|
92
|
+
.mint-confirm__btn-cancel:hover:not(:disabled) {
|
|
93
93
|
background-color: var(--bg-tertiary);
|
|
94
94
|
transform: translateY(-1px);
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
-
.
|
|
97
|
+
.mint-confirm__btn-cancel:active:not(:disabled) {
|
|
98
98
|
transform: translateY(0);
|
|
99
99
|
box-shadow: none;
|
|
100
100
|
transition-duration: 0.05s;
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
.
|
|
103
|
+
.mint-confirm__btn-cancel:disabled {
|
|
104
104
|
opacity: var(--mint-disabled-opacity);
|
|
105
105
|
cursor: not-allowed;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
.
|
|
108
|
+
.mint-confirm__btn-confirm {
|
|
109
109
|
color: white;
|
|
110
110
|
border: none;
|
|
111
111
|
background-image: linear-gradient(
|
|
@@ -115,58 +115,58 @@
|
|
|
115
115
|
);
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
.
|
|
118
|
+
.mint-confirm__btn-confirm:hover:not(:disabled) {
|
|
119
119
|
box-shadow: var(--shadow-sm);
|
|
120
120
|
transform: translateY(-1px);
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
.
|
|
123
|
+
.mint-confirm__btn-confirm:active:not(:disabled) {
|
|
124
124
|
transform: translateY(0);
|
|
125
125
|
box-shadow: none;
|
|
126
126
|
background-image: none;
|
|
127
127
|
transition-duration: 0.05s;
|
|
128
128
|
}
|
|
129
129
|
|
|
130
|
-
.
|
|
130
|
+
.mint-confirm__btn-confirm:disabled {
|
|
131
131
|
opacity: var(--mint-disabled-opacity);
|
|
132
132
|
cursor: not-allowed;
|
|
133
133
|
background-image: none;
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
-
.
|
|
136
|
+
.mint-confirm__btn-confirm--danger {
|
|
137
137
|
background-color: var(--mint-error);
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
.
|
|
140
|
+
.mint-confirm__btn-confirm--danger:hover:not(:disabled) {
|
|
141
141
|
background-color: var(--mint-error-hover, color-mix(in srgb, var(--mint-error) 90%, black));
|
|
142
142
|
}
|
|
143
143
|
|
|
144
|
-
.
|
|
144
|
+
.mint-confirm__btn-confirm--warning {
|
|
145
145
|
background-color: var(--mint-warning);
|
|
146
146
|
}
|
|
147
147
|
|
|
148
|
-
.
|
|
148
|
+
.mint-confirm__btn-confirm--warning:hover:not(:disabled) {
|
|
149
149
|
background-color: var(--mint-warning-hover, color-mix(in srgb, var(--mint-warning) 90%, black));
|
|
150
150
|
}
|
|
151
151
|
|
|
152
|
-
.
|
|
152
|
+
.mint-confirm__btn-confirm--info {
|
|
153
153
|
background-color: var(--color-primary);
|
|
154
154
|
}
|
|
155
155
|
|
|
156
|
-
.
|
|
156
|
+
.mint-confirm__btn-confirm--info:hover:not(:disabled) {
|
|
157
157
|
background-color: var(--color-primary-hover);
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
-
.
|
|
160
|
+
.mint-confirm__btn-spinner {
|
|
161
161
|
width: 1rem;
|
|
162
162
|
height: 1rem;
|
|
163
|
-
animation:
|
|
163
|
+
animation: mint-spin 1s linear infinite;
|
|
164
164
|
}
|
|
165
165
|
|
|
166
166
|
/* Respect motion preferences */
|
|
167
167
|
@media (prefers-reduced-motion: reduce) {
|
|
168
|
-
.
|
|
169
|
-
.
|
|
168
|
+
.mint-confirm__btn-cancel,
|
|
169
|
+
.mint-confirm__btn-confirm {
|
|
170
170
|
transition:
|
|
171
171
|
color 0.15s ease,
|
|
172
172
|
background-color 0.15s ease,
|
|
@@ -174,10 +174,10 @@
|
|
|
174
174
|
box-shadow 0.15s ease,
|
|
175
175
|
opacity 0.15s ease;
|
|
176
176
|
}
|
|
177
|
-
.
|
|
178
|
-
.
|
|
179
|
-
.
|
|
180
|
-
.
|
|
177
|
+
.mint-confirm__btn-cancel:hover,
|
|
178
|
+
.mint-confirm__btn-cancel:active,
|
|
179
|
+
.mint-confirm__btn-confirm:hover,
|
|
180
|
+
.mint-confirm__btn-confirm:active {
|
|
181
181
|
transform: none;
|
|
182
182
|
}
|
|
183
183
|
}
|