@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,21 +1,21 @@
|
|
|
1
1
|
/* ProgressBar Component Styles */
|
|
2
2
|
|
|
3
|
-
.
|
|
3
|
+
.mint-progress {
|
|
4
4
|
width: 100%;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
-
.
|
|
7
|
+
.mint-progress__header {
|
|
8
8
|
display: flex;
|
|
9
9
|
justify-content: space-between;
|
|
10
10
|
margin-bottom: 0.25rem;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
.
|
|
13
|
+
.mint-progress__label {
|
|
14
14
|
font-size: 0.875rem;
|
|
15
15
|
color: var(--text-secondary);
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
.
|
|
18
|
+
.mint-progress__value {
|
|
19
19
|
font-size: 0.875rem;
|
|
20
20
|
color: var(--text-muted);
|
|
21
21
|
font-variant-numeric: tabular-nums;
|
|
@@ -25,35 +25,35 @@
|
|
|
25
25
|
Rail variant (default) — single filled track, pill ends
|
|
26
26
|
======================================================================== */
|
|
27
27
|
|
|
28
|
-
.
|
|
28
|
+
.mint-progress__track {
|
|
29
29
|
width: 100%;
|
|
30
30
|
background-color: var(--bg-tertiary);
|
|
31
31
|
border-radius: 9999px; /* pill ends — spec */
|
|
32
32
|
overflow: hidden;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
.
|
|
36
|
-
.
|
|
37
|
-
.
|
|
35
|
+
.mint-progress__track--sm { height: 4px; }
|
|
36
|
+
.mint-progress__track--md { height: 8px; }
|
|
37
|
+
.mint-progress__track--lg { height: 12px; }
|
|
38
38
|
|
|
39
|
-
.
|
|
39
|
+
.mint-progress__bar {
|
|
40
40
|
height: 100%;
|
|
41
41
|
border-radius: 9999px;
|
|
42
42
|
transition: width 0.3s ease;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
.
|
|
46
|
-
.
|
|
47
|
-
.
|
|
48
|
-
.
|
|
49
|
-
.
|
|
45
|
+
.mint-progress__bar--primary { background-color: var(--color-primary); }
|
|
46
|
+
.mint-progress__bar--success { background-color: var(--mint-success); }
|
|
47
|
+
.mint-progress__bar--warning { background-color: var(--mint-warning); }
|
|
48
|
+
.mint-progress__bar--error { background-color: var(--mint-error); }
|
|
49
|
+
.mint-progress__bar--info { background-color: var(--mint-info); }
|
|
50
50
|
|
|
51
|
-
.
|
|
51
|
+
.mint-progress__bar--indeterminate {
|
|
52
52
|
width: 40% !important;
|
|
53
|
-
animation:
|
|
53
|
+
animation: mint-progress-indeterminate 1.5s ease-in-out infinite;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
@keyframes
|
|
56
|
+
@keyframes mint-progress-indeterminate {
|
|
57
57
|
0% { transform: translateX(-100%); }
|
|
58
58
|
50% { transform: translateX(150%); }
|
|
59
59
|
100% { transform: translateX(-100%); }
|
|
@@ -63,58 +63,58 @@
|
|
|
63
63
|
Segmented variant — discrete step segments for pipelines / wizards
|
|
64
64
|
======================================================================== */
|
|
65
65
|
|
|
66
|
-
.
|
|
66
|
+
.mint-progress__segments {
|
|
67
67
|
display: flex;
|
|
68
68
|
width: 100%;
|
|
69
69
|
gap: 4px;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
.
|
|
73
|
-
.
|
|
74
|
-
.
|
|
72
|
+
.mint-progress__segments--sm { height: 4px; }
|
|
73
|
+
.mint-progress__segments--md { height: 8px; }
|
|
74
|
+
.mint-progress__segments--lg { height: 12px; }
|
|
75
75
|
|
|
76
|
-
.
|
|
76
|
+
.mint-progress__segment {
|
|
77
77
|
flex: 1;
|
|
78
78
|
background-color: var(--bg-tertiary);
|
|
79
79
|
border-radius: 9999px;
|
|
80
80
|
transition: background-color 0.2s ease;
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
.
|
|
84
|
-
.
|
|
85
|
-
.
|
|
86
|
-
.
|
|
87
|
-
.
|
|
83
|
+
.mint-progress__segment--done.mint-progress__segment--primary { background-color: var(--color-primary); }
|
|
84
|
+
.mint-progress__segment--done.mint-progress__segment--success { background-color: var(--mint-success); }
|
|
85
|
+
.mint-progress__segment--done.mint-progress__segment--warning { background-color: var(--mint-warning); }
|
|
86
|
+
.mint-progress__segment--done.mint-progress__segment--error { background-color: var(--mint-error); }
|
|
87
|
+
.mint-progress__segment--done.mint-progress__segment--info { background-color: var(--mint-info); }
|
|
88
88
|
|
|
89
|
-
.
|
|
90
|
-
animation:
|
|
89
|
+
.mint-progress__segment--active {
|
|
90
|
+
animation: mint-progress-segment-pulse 1.4s ease-in-out infinite;
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
.
|
|
94
|
-
.
|
|
95
|
-
.
|
|
96
|
-
.
|
|
97
|
-
.
|
|
93
|
+
.mint-progress__segment--active.mint-progress__segment--primary { background-color: var(--color-primary); }
|
|
94
|
+
.mint-progress__segment--active.mint-progress__segment--success { background-color: var(--mint-success); }
|
|
95
|
+
.mint-progress__segment--active.mint-progress__segment--warning { background-color: var(--mint-warning); }
|
|
96
|
+
.mint-progress__segment--active.mint-progress__segment--error { background-color: var(--mint-error); }
|
|
97
|
+
.mint-progress__segment--active.mint-progress__segment--info { background-color: var(--mint-info); }
|
|
98
98
|
|
|
99
|
-
@keyframes
|
|
99
|
+
@keyframes mint-progress-segment-pulse {
|
|
100
100
|
0%, 100% { opacity: 0.55; }
|
|
101
101
|
50% { opacity: 1; }
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
@media (prefers-reduced-motion: reduce) {
|
|
105
|
-
.
|
|
106
|
-
.
|
|
105
|
+
.mint-progress__segment--active { animation: none; opacity: 1; }
|
|
106
|
+
.mint-progress__bar--indeterminate { animation: none; }
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
/* Step labels under segmented bar */
|
|
110
|
-
.
|
|
110
|
+
.mint-progress__step-labels {
|
|
111
111
|
display: flex;
|
|
112
112
|
width: 100%;
|
|
113
113
|
gap: 4px;
|
|
114
114
|
margin-top: 0.375rem;
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
.
|
|
117
|
+
.mint-progress__step-label {
|
|
118
118
|
flex: 1;
|
|
119
119
|
font-size: 0.6875rem;
|
|
120
120
|
color: var(--text-muted);
|
|
@@ -123,11 +123,11 @@
|
|
|
123
123
|
transition: color 0.15s ease;
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
.
|
|
126
|
+
.mint-progress__step-label--done {
|
|
127
127
|
color: var(--text-secondary);
|
|
128
128
|
}
|
|
129
129
|
|
|
130
|
-
.
|
|
130
|
+
.mint-progress__step-label--active {
|
|
131
131
|
color: var(--text-primary);
|
|
132
132
|
font-weight: 500;
|
|
133
133
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* ProtocolStepEditor Component Styles */
|
|
2
2
|
|
|
3
|
-
.
|
|
3
|
+
.mint-protocol-editor {
|
|
4
4
|
border-radius: var(--radius-md);
|
|
5
5
|
border: 1px solid var(--border-color);
|
|
6
6
|
background-color: var(--bg-secondary);
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
/* Header */
|
|
11
|
-
.
|
|
11
|
+
.mint-protocol-editor__header {
|
|
12
12
|
display: flex;
|
|
13
13
|
align-items: center;
|
|
14
14
|
justify-content: space-between;
|
|
@@ -17,13 +17,13 @@
|
|
|
17
17
|
background-color: var(--bg-tertiary);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
.
|
|
20
|
+
.mint-protocol-editor__title {
|
|
21
21
|
font-size: 0.875rem;
|
|
22
22
|
font-weight: 600;
|
|
23
23
|
color: var(--text-primary);
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
.
|
|
26
|
+
.mint-protocol-editor__mode-badge {
|
|
27
27
|
padding: 0.125rem 0.5rem;
|
|
28
28
|
font-size: 0.625rem;
|
|
29
29
|
font-weight: 500;
|
|
@@ -32,18 +32,18 @@
|
|
|
32
32
|
border-radius: 9999px;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
.
|
|
35
|
+
.mint-protocol-editor__mode-badge--create {
|
|
36
36
|
background-color: var(--mint-success-bg);
|
|
37
37
|
color: var(--mint-success);
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
.
|
|
40
|
+
.mint-protocol-editor__mode-badge--edit {
|
|
41
41
|
background-color: var(--mint-info-bg);
|
|
42
42
|
color: var(--mint-info);
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
/* Form */
|
|
46
|
-
.
|
|
46
|
+
.mint-protocol-editor__form {
|
|
47
47
|
display: flex;
|
|
48
48
|
flex-direction: column;
|
|
49
49
|
gap: 1rem;
|
|
@@ -51,13 +51,13 @@
|
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
/* Template select */
|
|
54
|
-
.
|
|
54
|
+
.mint-protocol-editor__template-select {
|
|
55
55
|
display: flex;
|
|
56
56
|
flex-direction: column;
|
|
57
57
|
gap: 0.375rem;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
.
|
|
60
|
+
.mint-protocol-editor__template-label {
|
|
61
61
|
font-size: 0.75rem;
|
|
62
62
|
font-weight: 500;
|
|
63
63
|
color: var(--text-secondary);
|
|
@@ -65,11 +65,11 @@
|
|
|
65
65
|
letter-spacing: 0.05em;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
.
|
|
68
|
+
.mint-protocol-editor__template-dropdown {
|
|
69
69
|
position: relative;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
.
|
|
72
|
+
.mint-protocol-editor__template-btn {
|
|
73
73
|
display: flex;
|
|
74
74
|
align-items: center;
|
|
75
75
|
gap: 0.5rem;
|
|
@@ -85,39 +85,39 @@
|
|
|
85
85
|
transition: border-color 0.15s ease;
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
.
|
|
88
|
+
.mint-protocol-editor__template-btn:hover {
|
|
89
89
|
border-color: var(--color-primary);
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
.
|
|
92
|
+
.mint-protocol-editor__template-btn:focus-visible {
|
|
93
93
|
outline: none;
|
|
94
94
|
border-color: var(--color-primary);
|
|
95
95
|
box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
.
|
|
98
|
+
.mint-protocol-editor__template-icon {
|
|
99
99
|
width: 1.25rem;
|
|
100
100
|
height: 1.25rem;
|
|
101
101
|
flex-shrink: 0;
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
.
|
|
104
|
+
.mint-protocol-editor__template-text {
|
|
105
105
|
flex: 1;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
.
|
|
108
|
+
.mint-protocol-editor__template-arrow {
|
|
109
109
|
width: 1rem;
|
|
110
110
|
height: 1rem;
|
|
111
111
|
color: var(--text-muted);
|
|
112
112
|
transition: transform 0.15s ease;
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
.
|
|
115
|
+
.mint-protocol-editor__template-arrow--open {
|
|
116
116
|
transform: rotate(180deg);
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
/* Template dropdown menu */
|
|
120
|
-
.
|
|
120
|
+
.mint-protocol-editor__template-menu {
|
|
121
121
|
position: absolute;
|
|
122
122
|
top: 100%;
|
|
123
123
|
left: 0;
|
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
overflow-y: auto;
|
|
133
133
|
}
|
|
134
134
|
|
|
135
|
-
.
|
|
135
|
+
.mint-protocol-editor__template-option {
|
|
136
136
|
display: flex;
|
|
137
137
|
align-items: center;
|
|
138
138
|
gap: 0.5rem;
|
|
@@ -147,45 +147,45 @@
|
|
|
147
147
|
transition: background-color 0.15s ease;
|
|
148
148
|
}
|
|
149
149
|
|
|
150
|
-
.
|
|
150
|
+
.mint-protocol-editor__template-option:hover {
|
|
151
151
|
background-color: var(--bg-hover);
|
|
152
152
|
}
|
|
153
153
|
|
|
154
|
-
.
|
|
154
|
+
.mint-protocol-editor__template-option--active {
|
|
155
155
|
background-color: rgba(59, 130, 246, 0.1);
|
|
156
156
|
color: var(--color-primary);
|
|
157
157
|
}
|
|
158
158
|
|
|
159
|
-
.
|
|
159
|
+
.mint-protocol-editor__template-option-icon {
|
|
160
160
|
width: 1rem;
|
|
161
161
|
height: 1rem;
|
|
162
162
|
flex-shrink: 0;
|
|
163
163
|
}
|
|
164
164
|
|
|
165
|
-
.
|
|
165
|
+
.mint-protocol-editor__template-option-text {
|
|
166
166
|
flex: 1;
|
|
167
167
|
}
|
|
168
168
|
|
|
169
|
-
.
|
|
169
|
+
.mint-protocol-editor__template-option-desc {
|
|
170
170
|
font-size: 0.75rem;
|
|
171
171
|
color: var(--text-muted);
|
|
172
172
|
}
|
|
173
173
|
|
|
174
174
|
/* Divider */
|
|
175
|
-
.
|
|
175
|
+
.mint-protocol-editor__divider {
|
|
176
176
|
height: 1px;
|
|
177
177
|
background-color: var(--border-color);
|
|
178
178
|
margin: 0.5rem 0;
|
|
179
179
|
}
|
|
180
180
|
|
|
181
181
|
/* Field */
|
|
182
|
-
.
|
|
182
|
+
.mint-protocol-editor__field {
|
|
183
183
|
display: flex;
|
|
184
184
|
flex-direction: column;
|
|
185
185
|
gap: 0.375rem;
|
|
186
186
|
}
|
|
187
187
|
|
|
188
|
-
.
|
|
188
|
+
.mint-protocol-editor__field-label {
|
|
189
189
|
font-size: 0.75rem;
|
|
190
190
|
font-weight: 500;
|
|
191
191
|
color: var(--text-secondary);
|
|
@@ -193,24 +193,24 @@
|
|
|
193
193
|
letter-spacing: 0.05em;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
.
|
|
196
|
+
.mint-protocol-editor__field-label--required::after {
|
|
197
197
|
content: ' *';
|
|
198
198
|
color: var(--mint-error);
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
.
|
|
201
|
+
.mint-protocol-editor__field-error {
|
|
202
202
|
font-size: 0.75rem;
|
|
203
203
|
color: var(--mint-error);
|
|
204
204
|
}
|
|
205
205
|
|
|
206
|
-
.
|
|
206
|
+
.mint-protocol-editor__field-row {
|
|
207
207
|
display: grid;
|
|
208
208
|
grid-template-columns: repeat(2, 1fr);
|
|
209
209
|
gap: 0.75rem;
|
|
210
210
|
}
|
|
211
211
|
|
|
212
212
|
/* Input styles */
|
|
213
|
-
.
|
|
213
|
+
.mint-protocol-editor__input {
|
|
214
214
|
width: 100%;
|
|
215
215
|
padding: 0.5rem 0.75rem;
|
|
216
216
|
font-size: 0.875rem;
|
|
@@ -222,36 +222,36 @@
|
|
|
222
222
|
transition: border-color 0.15s ease, box-shadow 0.15s ease;
|
|
223
223
|
}
|
|
224
224
|
|
|
225
|
-
.
|
|
225
|
+
.mint-protocol-editor__input:focus-visible {
|
|
226
226
|
border-color: var(--color-primary);
|
|
227
227
|
box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
|
|
228
228
|
}
|
|
229
229
|
|
|
230
|
-
.
|
|
230
|
+
.mint-protocol-editor__input::placeholder {
|
|
231
231
|
color: var(--text-muted);
|
|
232
232
|
}
|
|
233
233
|
|
|
234
|
-
.
|
|
234
|
+
.mint-protocol-editor__input--error {
|
|
235
235
|
border-color: var(--mint-error);
|
|
236
236
|
}
|
|
237
237
|
|
|
238
|
-
.
|
|
238
|
+
.mint-protocol-editor__input--error:focus-visible {
|
|
239
239
|
box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.15);
|
|
240
240
|
}
|
|
241
241
|
|
|
242
242
|
/* Number input with unit */
|
|
243
|
-
.
|
|
243
|
+
.mint-protocol-editor__input-unit {
|
|
244
244
|
display: flex;
|
|
245
245
|
align-items: stretch;
|
|
246
246
|
}
|
|
247
247
|
|
|
248
|
-
.
|
|
248
|
+
.mint-protocol-editor__input-unit .mint-protocol-editor__input {
|
|
249
249
|
border-top-right-radius: 0;
|
|
250
250
|
border-bottom-right-radius: 0;
|
|
251
251
|
border-right: none;
|
|
252
252
|
}
|
|
253
253
|
|
|
254
|
-
.
|
|
254
|
+
.mint-protocol-editor__unit-suffix {
|
|
255
255
|
display: flex;
|
|
256
256
|
align-items: center;
|
|
257
257
|
padding: 0 0.625rem;
|
|
@@ -265,7 +265,7 @@
|
|
|
265
265
|
}
|
|
266
266
|
|
|
267
267
|
/* Select */
|
|
268
|
-
.
|
|
268
|
+
.mint-protocol-editor__select {
|
|
269
269
|
width: 100%;
|
|
270
270
|
padding: 0.5rem 2rem 0.5rem 0.75rem;
|
|
271
271
|
font-size: 0.875rem;
|
|
@@ -283,13 +283,13 @@
|
|
|
283
283
|
transition: border-color 0.15s ease, box-shadow 0.15s ease;
|
|
284
284
|
}
|
|
285
285
|
|
|
286
|
-
.
|
|
286
|
+
.mint-protocol-editor__select:focus-visible {
|
|
287
287
|
border-color: var(--color-primary);
|
|
288
288
|
box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
|
|
289
289
|
}
|
|
290
290
|
|
|
291
291
|
/* Textarea */
|
|
292
|
-
.
|
|
292
|
+
.mint-protocol-editor__textarea {
|
|
293
293
|
width: 100%;
|
|
294
294
|
min-height: 80px;
|
|
295
295
|
padding: 0.5rem 0.75rem;
|
|
@@ -303,24 +303,24 @@
|
|
|
303
303
|
transition: border-color 0.15s ease, box-shadow 0.15s ease;
|
|
304
304
|
}
|
|
305
305
|
|
|
306
|
-
.
|
|
306
|
+
.mint-protocol-editor__textarea:focus-visible {
|
|
307
307
|
border-color: var(--color-primary);
|
|
308
308
|
box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
|
|
309
309
|
}
|
|
310
310
|
|
|
311
|
-
.
|
|
311
|
+
.mint-protocol-editor__textarea::placeholder {
|
|
312
312
|
color: var(--text-muted);
|
|
313
313
|
}
|
|
314
314
|
|
|
315
315
|
/* Preview section */
|
|
316
|
-
.
|
|
316
|
+
.mint-protocol-editor__preview {
|
|
317
317
|
margin-top: 0.5rem;
|
|
318
318
|
padding: 1rem;
|
|
319
319
|
background-color: var(--bg-tertiary);
|
|
320
320
|
border-top: 1px solid var(--border-color);
|
|
321
321
|
}
|
|
322
322
|
|
|
323
|
-
.
|
|
323
|
+
.mint-protocol-editor__preview-title {
|
|
324
324
|
font-size: 0.625rem;
|
|
325
325
|
font-weight: 600;
|
|
326
326
|
color: var(--text-muted);
|
|
@@ -329,7 +329,7 @@
|
|
|
329
329
|
margin-bottom: 0.75rem;
|
|
330
330
|
}
|
|
331
331
|
|
|
332
|
-
.
|
|
332
|
+
.mint-protocol-editor__preview-card {
|
|
333
333
|
display: flex;
|
|
334
334
|
align-items: flex-start;
|
|
335
335
|
gap: 0.75rem;
|
|
@@ -339,7 +339,7 @@
|
|
|
339
339
|
border-radius: var(--radius);
|
|
340
340
|
}
|
|
341
341
|
|
|
342
|
-
.
|
|
342
|
+
.mint-protocol-editor__preview-icon {
|
|
343
343
|
width: 2rem;
|
|
344
344
|
height: 2rem;
|
|
345
345
|
display: flex;
|
|
@@ -350,30 +350,30 @@
|
|
|
350
350
|
flex-shrink: 0;
|
|
351
351
|
}
|
|
352
352
|
|
|
353
|
-
.
|
|
353
|
+
.mint-protocol-editor__preview-icon svg {
|
|
354
354
|
width: 1rem;
|
|
355
355
|
height: 1rem;
|
|
356
356
|
color: var(--text-muted);
|
|
357
357
|
}
|
|
358
358
|
|
|
359
|
-
.
|
|
359
|
+
.mint-protocol-editor__preview-content {
|
|
360
360
|
flex: 1;
|
|
361
361
|
min-width: 0;
|
|
362
362
|
}
|
|
363
363
|
|
|
364
|
-
.
|
|
364
|
+
.mint-protocol-editor__preview-name {
|
|
365
365
|
font-size: 0.875rem;
|
|
366
366
|
font-weight: 500;
|
|
367
367
|
color: var(--text-primary);
|
|
368
368
|
margin-bottom: 0.25rem;
|
|
369
369
|
}
|
|
370
370
|
|
|
371
|
-
.
|
|
371
|
+
.mint-protocol-editor__preview-params {
|
|
372
372
|
font-size: 0.75rem;
|
|
373
373
|
color: var(--text-muted);
|
|
374
374
|
}
|
|
375
375
|
|
|
376
|
-
.
|
|
376
|
+
.mint-protocol-editor__preview-duration {
|
|
377
377
|
font-size: 0.75rem;
|
|
378
378
|
color: var(--text-secondary);
|
|
379
379
|
font-weight: 500;
|
|
@@ -381,7 +381,7 @@
|
|
|
381
381
|
}
|
|
382
382
|
|
|
383
383
|
/* Actions */
|
|
384
|
-
.
|
|
384
|
+
.mint-protocol-editor__actions {
|
|
385
385
|
display: flex;
|
|
386
386
|
align-items: center;
|
|
387
387
|
gap: 0.5rem;
|
|
@@ -390,11 +390,11 @@
|
|
|
390
390
|
background-color: var(--bg-tertiary);
|
|
391
391
|
}
|
|
392
392
|
|
|
393
|
-
.
|
|
393
|
+
.mint-protocol-editor__actions-left {
|
|
394
394
|
flex: 1;
|
|
395
395
|
}
|
|
396
396
|
|
|
397
|
-
.
|
|
397
|
+
.mint-protocol-editor__btn {
|
|
398
398
|
display: inline-flex;
|
|
399
399
|
align-items: center;
|
|
400
400
|
justify-content: center;
|
|
@@ -407,43 +407,43 @@
|
|
|
407
407
|
transition: background-color 0.15s ease, border-color 0.15s ease;
|
|
408
408
|
}
|
|
409
409
|
|
|
410
|
-
.
|
|
410
|
+
.mint-protocol-editor__btn:disabled {
|
|
411
411
|
opacity: var(--mint-disabled-opacity);
|
|
412
412
|
cursor: not-allowed;
|
|
413
413
|
}
|
|
414
414
|
|
|
415
|
-
.
|
|
415
|
+
.mint-protocol-editor__btn--primary {
|
|
416
416
|
color: white;
|
|
417
417
|
background-color: var(--color-primary);
|
|
418
418
|
border: none;
|
|
419
419
|
}
|
|
420
420
|
|
|
421
|
-
.
|
|
421
|
+
.mint-protocol-editor__btn--primary:hover:not(:disabled) {
|
|
422
422
|
background-color: var(--color-primary-hover);
|
|
423
423
|
}
|
|
424
424
|
|
|
425
|
-
.
|
|
425
|
+
.mint-protocol-editor__btn--secondary {
|
|
426
426
|
color: var(--text-primary);
|
|
427
427
|
background-color: transparent;
|
|
428
428
|
border: 1px solid var(--border-color);
|
|
429
429
|
}
|
|
430
430
|
|
|
431
|
-
.
|
|
431
|
+
.mint-protocol-editor__btn--secondary:hover:not(:disabled) {
|
|
432
432
|
background-color: var(--bg-hover);
|
|
433
433
|
}
|
|
434
434
|
|
|
435
|
-
.
|
|
435
|
+
.mint-protocol-editor__btn--ghost {
|
|
436
436
|
color: var(--text-secondary);
|
|
437
437
|
background: transparent;
|
|
438
438
|
border: none;
|
|
439
439
|
}
|
|
440
440
|
|
|
441
|
-
.
|
|
441
|
+
.mint-protocol-editor__btn--ghost:hover:not(:disabled) {
|
|
442
442
|
color: var(--text-primary);
|
|
443
443
|
background-color: var(--bg-hover);
|
|
444
444
|
}
|
|
445
445
|
|
|
446
|
-
.
|
|
446
|
+
.mint-protocol-editor__btn svg {
|
|
447
447
|
width: 1rem;
|
|
448
448
|
height: 1rem;
|
|
449
449
|
}
|