@morscherlab/mint-sdk 1.0.0-alpha.8 → 1.0.0-alpha.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (217) hide show
  1. package/README.md +15 -15
  2. package/dist/{auth-BYmxZdJl.js → auth-DsI0rQ7_.js} +6 -6
  3. package/dist/auth-DsI0rQ7_.js.map +1 -0
  4. package/dist/components/index.js +2 -2
  5. package/dist/{components-CKf-UpGi.js → components-CzbQQPCb.js} +1429 -1429
  6. package/dist/components-CzbQQPCb.js.map +1 -0
  7. package/dist/composables/index.js +2 -2
  8. package/dist/composables/usePlatformContext.d.ts +3 -3
  9. package/dist/{composables-D0QfFzq1.js → composables-BXklV5ii.js} +3 -3
  10. package/dist/{composables-D0QfFzq1.js.map → composables-BXklV5ii.js.map} +1 -1
  11. package/dist/index.js +4 -4
  12. package/dist/install.d.ts +3 -3
  13. package/dist/install.js +5 -5
  14. package/dist/install.js.map +1 -1
  15. package/dist/stores/auth.d.ts +1 -1
  16. package/dist/stores/index.js +1 -1
  17. package/dist/stores/settings.d.ts +1 -1
  18. package/dist/styles.css +5388 -5388
  19. package/dist/types/platform.d.ts +1 -1
  20. package/dist/{useScheduleDrag-DAJueTbK.js → useScheduleDrag-CxBeqYcu.js} +331 -331
  21. package/dist/useScheduleDrag-CxBeqYcu.js.map +1 -0
  22. package/package.json +2 -2
  23. package/src/__tests__/components/AppLayout.test.ts +23 -23
  24. package/src/__tests__/components/AppSidebar.test.ts +29 -29
  25. package/src/__tests__/components/AppTopBar.test.ts +45 -45
  26. package/src/__tests__/components/BaseInput.test.ts +2 -2
  27. package/src/__tests__/components/BasePill.test.ts +37 -37
  28. package/src/__tests__/components/Calendar.test.ts +52 -52
  29. package/src/__tests__/components/CollapsibleCard.test.ts +81 -81
  30. package/src/__tests__/components/DataFrame.test.ts +80 -80
  31. package/src/__tests__/components/DropdownButton.test.ts +80 -80
  32. package/src/__tests__/composables/usePlatformContext.test.ts +1 -1
  33. package/src/components/AlertBox.story.vue +1 -1
  34. package/src/components/AlertBox.vue +14 -14
  35. package/src/components/AppAvatarMenu.vue +26 -26
  36. package/src/components/AppContainer.vue +3 -3
  37. package/src/components/AppLayout.vue +7 -7
  38. package/src/components/AppPageSelector.vue +30 -30
  39. package/src/components/AppPillNav.vue +10 -10
  40. package/src/components/AppPluginSwitcher.vue +31 -31
  41. package/src/components/AppSidebar.vue +8 -8
  42. package/src/components/AppTopBar.story.vue +7 -7
  43. package/src/components/AppTopBar.vue +102 -102
  44. package/src/components/AuditTrail.vue +19 -19
  45. package/src/components/AutoGroupModal.vue +76 -76
  46. package/src/components/Avatar.vue +6 -6
  47. package/src/components/BaseButton.vue +6 -6
  48. package/src/components/BaseCheckbox.vue +9 -9
  49. package/src/components/BaseInput.vue +4 -4
  50. package/src/components/BaseModal.story.vue +1 -1
  51. package/src/components/BaseModal.vue +14 -14
  52. package/src/components/BasePill.vue +9 -9
  53. package/src/components/BaseRadioGroup.vue +21 -21
  54. package/src/components/BaseSelect.vue +6 -6
  55. package/src/components/BaseSlider.vue +8 -8
  56. package/src/components/BaseTabs.vue +7 -7
  57. package/src/components/BaseTextarea.vue +5 -5
  58. package/src/components/BaseToggle.vue +10 -10
  59. package/src/components/BatchProgressList.vue +25 -25
  60. package/src/components/Breadcrumb.vue +8 -8
  61. package/src/components/Calendar.vue +19 -19
  62. package/src/components/ChartContainer.vue +9 -9
  63. package/src/components/ChemicalFormula.vue +7 -7
  64. package/src/components/CollapsibleCard.vue +20 -20
  65. package/src/components/ColorSlider.vue +6 -6
  66. package/src/components/ConcentrationInput.vue +12 -12
  67. package/src/components/ConfirmDialog.story.vue +1 -1
  68. package/src/components/ConfirmDialog.vue +7 -7
  69. package/src/components/DataFrame.vue +40 -40
  70. package/src/components/DatePicker.vue +29 -29
  71. package/src/components/DateTimePicker.vue +41 -41
  72. package/src/components/Divider.vue +9 -9
  73. package/src/components/DoseCalculator.vue +66 -66
  74. package/src/components/DropdownButton.vue +19 -19
  75. package/src/components/EmptyState.vue +9 -9
  76. package/src/components/ExperimentCodeBadge.vue +3 -3
  77. package/src/components/ExperimentDataViewer.vue +25 -25
  78. package/src/components/ExperimentPopover.vue +35 -35
  79. package/src/components/ExperimentSelectorModal.vue +40 -40
  80. package/src/components/ExperimentTimeline.vue +48 -48
  81. package/src/components/FileUploader.vue +31 -31
  82. package/src/components/FitPanel.vue +9 -9
  83. package/src/components/FormActions.vue +1 -1
  84. package/src/components/FormBuilder.vue +2 -2
  85. package/src/components/FormField.vue +7 -7
  86. package/src/components/FormSection.vue +7 -7
  87. package/src/components/FormulaInput.vue +10 -10
  88. package/src/components/GroupAssigner.vue +40 -40
  89. package/src/components/GroupingModal.vue +45 -45
  90. package/src/components/IconButton.vue +6 -6
  91. package/src/components/LoadingSpinner.vue +5 -5
  92. package/src/components/MoleculeInput.vue +21 -21
  93. package/src/components/MultiSelect.vue +13 -13
  94. package/src/components/NumberInput.vue +13 -13
  95. package/src/components/PlateMapEditor.vue +63 -63
  96. package/src/components/ProgressBar.vue +18 -18
  97. package/src/components/ProtocolStepEditor.vue +57 -57
  98. package/src/components/RackEditor.vue +28 -28
  99. package/src/components/ReagentEditor.vue +61 -61
  100. package/src/components/ReagentList.vue +49 -49
  101. package/src/components/ResourceCard.vue +28 -28
  102. package/src/components/SampleHierarchyTree.vue +13 -13
  103. package/src/components/SampleLegend.vue +12 -12
  104. package/src/components/SampleSelector.vue +104 -104
  105. package/src/components/ScheduleCalendar.vue +42 -42
  106. package/src/components/ScientificNumber.vue +11 -11
  107. package/src/components/SegmentedControl.vue +12 -12
  108. package/src/components/SequenceInput.vue +32 -32
  109. package/src/components/SettingsButton.vue +5 -5
  110. package/src/components/SettingsModal.vue +17 -17
  111. package/src/components/StatusIndicator.vue +5 -5
  112. package/src/components/StepWizard.vue +16 -16
  113. package/src/components/TagsInput.vue +20 -20
  114. package/src/components/ThemeToggle.vue +3 -3
  115. package/src/components/TimePicker.vue +21 -21
  116. package/src/components/TimeRangeInput.vue +5 -5
  117. package/src/components/ToastNotification.vue +8 -8
  118. package/src/components/Tooltip.vue +7 -7
  119. package/src/components/UnitInput.vue +12 -12
  120. package/src/components/WellEditPopup.vue +28 -28
  121. package/src/components/WellPlate.vue +37 -37
  122. package/src/composables/useAppExperiment.ts +1 -1
  123. package/src/composables/usePlatformContext.ts +16 -16
  124. package/src/composables/useProtocolTemplates.ts +1 -1
  125. package/src/install.ts +3 -3
  126. package/src/stores/auth.ts +3 -3
  127. package/src/stores/settings.ts +2 -2
  128. package/src/styles/components/alert-box.css +30 -30
  129. package/src/styles/components/app-avatar-menu.css +23 -23
  130. package/src/styles/components/app-container.css +6 -6
  131. package/src/styles/components/app-layout.css +15 -15
  132. package/src/styles/components/app-page-selector.css +26 -26
  133. package/src/styles/components/app-pill-nav.css +7 -7
  134. package/src/styles/components/app-plugin-switcher.css +27 -27
  135. package/src/styles/components/app-sidebar.css +24 -24
  136. package/src/styles/components/app-top-bar.css +65 -65
  137. package/src/styles/components/audit-trail.css +29 -29
  138. package/src/styles/components/auto-group-modal.css +91 -91
  139. package/src/styles/components/avatar.css +15 -15
  140. package/src/styles/components/batch-progress-list.css +40 -40
  141. package/src/styles/components/breadcrumb.css +8 -8
  142. package/src/styles/components/button.css +31 -31
  143. package/src/styles/components/calendar.css +27 -27
  144. package/src/styles/components/chart-container.css +9 -9
  145. package/src/styles/components/checkbox.css +20 -20
  146. package/src/styles/components/chemical-formula.css +8 -8
  147. package/src/styles/components/collapsible-card.css +35 -35
  148. package/src/styles/components/color-slider.css +8 -8
  149. package/src/styles/components/concentration-input.css +27 -27
  150. package/src/styles/components/confirm-dialog.css +32 -32
  151. package/src/styles/components/dataframe.css +66 -66
  152. package/src/styles/components/date-picker.css +40 -40
  153. package/src/styles/components/datetime-picker.css +37 -37
  154. package/src/styles/components/divider.css +13 -13
  155. package/src/styles/components/dose-calculator.css +43 -43
  156. package/src/styles/components/dropdown-button.css +46 -46
  157. package/src/styles/components/empty-state.css +44 -44
  158. package/src/styles/components/experiment-code-badge.css +8 -8
  159. package/src/styles/components/experiment-data-viewer.css +23 -23
  160. package/src/styles/components/experiment-popover.css +97 -97
  161. package/src/styles/components/experiment-selector-modal.css +39 -39
  162. package/src/styles/components/experiment-timeline.css +98 -98
  163. package/src/styles/components/file-uploader.css +44 -44
  164. package/src/styles/components/fit-panel.css +12 -12
  165. package/src/styles/components/form-builder.css +11 -11
  166. package/src/styles/components/form-field.css +7 -7
  167. package/src/styles/components/formula-input.css +17 -17
  168. package/src/styles/components/group-assigner.css +26 -26
  169. package/src/styles/components/grouping-modal.css +51 -51
  170. package/src/styles/components/icon-button.css +41 -41
  171. package/src/styles/components/input.css +13 -13
  172. package/src/styles/components/loading-spinner.css +12 -12
  173. package/src/styles/components/modal.css +69 -69
  174. package/src/styles/components/molecule-input.css +27 -27
  175. package/src/styles/components/multi-select.css +23 -23
  176. package/src/styles/components/number-input.css +32 -32
  177. package/src/styles/components/pill.css +37 -37
  178. package/src/styles/components/plate-map-editor.css +67 -67
  179. package/src/styles/components/progress-bar.css +41 -41
  180. package/src/styles/components/protocol-step-editor.css +63 -63
  181. package/src/styles/components/rack-editor.css +34 -34
  182. package/src/styles/components/radio-group.css +41 -41
  183. package/src/styles/components/reagent-editor.css +70 -70
  184. package/src/styles/components/reagent-list.css +65 -65
  185. package/src/styles/components/resource-card.css +52 -52
  186. package/src/styles/components/sample-hierarchy-tree.css +56 -56
  187. package/src/styles/components/sample-legend.css +37 -37
  188. package/src/styles/components/sample-selector.css +121 -121
  189. package/src/styles/components/schedule-calendar.css +67 -67
  190. package/src/styles/components/scientific-number.css +11 -11
  191. package/src/styles/components/segmented-control.css +33 -33
  192. package/src/styles/components/select.css +11 -11
  193. package/src/styles/components/sequence-input.css +29 -29
  194. package/src/styles/components/settings-button.css +16 -16
  195. package/src/styles/components/settings-modal.css +14 -14
  196. package/src/styles/components/skeleton.css +2 -2
  197. package/src/styles/components/slider.css +10 -10
  198. package/src/styles/components/status-indicator.css +12 -12
  199. package/src/styles/components/step-wizard.css +32 -32
  200. package/src/styles/components/tabs.css +16 -16
  201. package/src/styles/components/tags-input.css +46 -46
  202. package/src/styles/components/textarea.css +17 -17
  203. package/src/styles/components/theme-toggle.css +13 -13
  204. package/src/styles/components/time-picker.css +28 -28
  205. package/src/styles/components/time-range-input.css +8 -8
  206. package/src/styles/components/toast.css +18 -18
  207. package/src/styles/components/toggle.css +27 -27
  208. package/src/styles/components/tooltip.css +18 -18
  209. package/src/styles/components/unit-input.css +25 -25
  210. package/src/styles/components/well-edit-popup.css +32 -32
  211. package/src/styles/components/well-plate.css +49 -49
  212. package/src/styles/index.css +1 -1
  213. package/src/styles/variables.css +3 -3
  214. package/src/types/platform.ts +6 -6
  215. package/dist/auth-BYmxZdJl.js.map +0 -1
  216. package/dist/components-CKf-UpGi.js.map +0 -1
  217. package/dist/useScheduleDrag-DAJueTbK.js.map +0 -1
@@ -1,21 +1,21 @@
1
1
  /* ProgressBar Component Styles */
2
2
 
3
- .mld-progress {
3
+ .mint-progress {
4
4
  width: 100%;
5
5
  }
6
6
 
7
- .mld-progress__header {
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
- .mld-progress__label {
13
+ .mint-progress__label {
14
14
  font-size: 0.875rem;
15
15
  color: var(--text-secondary);
16
16
  }
17
17
 
18
- .mld-progress__value {
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
- .mld-progress__track {
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
- .mld-progress__track--sm { height: 4px; }
36
- .mld-progress__track--md { height: 8px; }
37
- .mld-progress__track--lg { height: 12px; }
35
+ .mint-progress__track--sm { height: 4px; }
36
+ .mint-progress__track--md { height: 8px; }
37
+ .mint-progress__track--lg { height: 12px; }
38
38
 
39
- .mld-progress__bar {
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
- .mld-progress__bar--primary { background-color: var(--color-primary); }
46
- .mld-progress__bar--success { background-color: var(--mint-success); }
47
- .mld-progress__bar--warning { background-color: var(--mint-warning); }
48
- .mld-progress__bar--error { background-color: var(--mint-error); }
49
- .mld-progress__bar--info { background-color: var(--mint-info); }
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
- .mld-progress__bar--indeterminate {
51
+ .mint-progress__bar--indeterminate {
52
52
  width: 40% !important;
53
- animation: mld-progress-indeterminate 1.5s ease-in-out infinite;
53
+ animation: mint-progress-indeterminate 1.5s ease-in-out infinite;
54
54
  }
55
55
 
56
- @keyframes mld-progress-indeterminate {
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
- .mld-progress__segments {
66
+ .mint-progress__segments {
67
67
  display: flex;
68
68
  width: 100%;
69
69
  gap: 4px;
70
70
  }
71
71
 
72
- .mld-progress__segments--sm { height: 4px; }
73
- .mld-progress__segments--md { height: 8px; }
74
- .mld-progress__segments--lg { height: 12px; }
72
+ .mint-progress__segments--sm { height: 4px; }
73
+ .mint-progress__segments--md { height: 8px; }
74
+ .mint-progress__segments--lg { height: 12px; }
75
75
 
76
- .mld-progress__segment {
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
- .mld-progress__segment--done.mld-progress__segment--primary { background-color: var(--color-primary); }
84
- .mld-progress__segment--done.mld-progress__segment--success { background-color: var(--mint-success); }
85
- .mld-progress__segment--done.mld-progress__segment--warning { background-color: var(--mint-warning); }
86
- .mld-progress__segment--done.mld-progress__segment--error { background-color: var(--mint-error); }
87
- .mld-progress__segment--done.mld-progress__segment--info { background-color: var(--mint-info); }
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
- .mld-progress__segment--active {
90
- animation: mld-progress-segment-pulse 1.4s ease-in-out infinite;
89
+ .mint-progress__segment--active {
90
+ animation: mint-progress-segment-pulse 1.4s ease-in-out infinite;
91
91
  }
92
92
 
93
- .mld-progress__segment--active.mld-progress__segment--primary { background-color: var(--color-primary); }
94
- .mld-progress__segment--active.mld-progress__segment--success { background-color: var(--mint-success); }
95
- .mld-progress__segment--active.mld-progress__segment--warning { background-color: var(--mint-warning); }
96
- .mld-progress__segment--active.mld-progress__segment--error { background-color: var(--mint-error); }
97
- .mld-progress__segment--active.mld-progress__segment--info { background-color: var(--mint-info); }
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 mld-progress-segment-pulse {
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
- .mld-progress__segment--active { animation: none; opacity: 1; }
106
- .mld-progress__bar--indeterminate { animation: none; }
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
- .mld-progress__step-labels {
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
- .mld-progress__step-label {
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
- .mld-progress__step-label--done {
126
+ .mint-progress__step-label--done {
127
127
  color: var(--text-secondary);
128
128
  }
129
129
 
130
- .mld-progress__step-label--active {
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
- .mld-protocol-editor {
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
- .mld-protocol-editor__header {
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
- .mld-protocol-editor__title {
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
- .mld-protocol-editor__mode-badge {
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
- .mld-protocol-editor__mode-badge--create {
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
- .mld-protocol-editor__mode-badge--edit {
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
- .mld-protocol-editor__form {
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
- .mld-protocol-editor__template-select {
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
- .mld-protocol-editor__template-label {
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
- .mld-protocol-editor__template-dropdown {
68
+ .mint-protocol-editor__template-dropdown {
69
69
  position: relative;
70
70
  }
71
71
 
72
- .mld-protocol-editor__template-btn {
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
- .mld-protocol-editor__template-btn:hover {
88
+ .mint-protocol-editor__template-btn:hover {
89
89
  border-color: var(--color-primary);
90
90
  }
91
91
 
92
- .mld-protocol-editor__template-btn:focus-visible {
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
- .mld-protocol-editor__template-icon {
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
- .mld-protocol-editor__template-text {
104
+ .mint-protocol-editor__template-text {
105
105
  flex: 1;
106
106
  }
107
107
 
108
- .mld-protocol-editor__template-arrow {
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
- .mld-protocol-editor__template-arrow--open {
115
+ .mint-protocol-editor__template-arrow--open {
116
116
  transform: rotate(180deg);
117
117
  }
118
118
 
119
119
  /* Template dropdown menu */
120
- .mld-protocol-editor__template-menu {
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
- .mld-protocol-editor__template-option {
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
- .mld-protocol-editor__template-option:hover {
150
+ .mint-protocol-editor__template-option:hover {
151
151
  background-color: var(--bg-hover);
152
152
  }
153
153
 
154
- .mld-protocol-editor__template-option--active {
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
- .mld-protocol-editor__template-option-icon {
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
- .mld-protocol-editor__template-option-text {
165
+ .mint-protocol-editor__template-option-text {
166
166
  flex: 1;
167
167
  }
168
168
 
169
- .mld-protocol-editor__template-option-desc {
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
- .mld-protocol-editor__divider {
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
- .mld-protocol-editor__field {
182
+ .mint-protocol-editor__field {
183
183
  display: flex;
184
184
  flex-direction: column;
185
185
  gap: 0.375rem;
186
186
  }
187
187
 
188
- .mld-protocol-editor__field-label {
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
- .mld-protocol-editor__field-label--required::after {
196
+ .mint-protocol-editor__field-label--required::after {
197
197
  content: ' *';
198
198
  color: var(--mint-error);
199
199
  }
200
200
 
201
- .mld-protocol-editor__field-error {
201
+ .mint-protocol-editor__field-error {
202
202
  font-size: 0.75rem;
203
203
  color: var(--mint-error);
204
204
  }
205
205
 
206
- .mld-protocol-editor__field-row {
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
- .mld-protocol-editor__input {
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
- .mld-protocol-editor__input:focus-visible {
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
- .mld-protocol-editor__input::placeholder {
230
+ .mint-protocol-editor__input::placeholder {
231
231
  color: var(--text-muted);
232
232
  }
233
233
 
234
- .mld-protocol-editor__input--error {
234
+ .mint-protocol-editor__input--error {
235
235
  border-color: var(--mint-error);
236
236
  }
237
237
 
238
- .mld-protocol-editor__input--error:focus-visible {
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
- .mld-protocol-editor__input-unit {
243
+ .mint-protocol-editor__input-unit {
244
244
  display: flex;
245
245
  align-items: stretch;
246
246
  }
247
247
 
248
- .mld-protocol-editor__input-unit .mld-protocol-editor__input {
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
- .mld-protocol-editor__unit-suffix {
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
- .mld-protocol-editor__select {
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
- .mld-protocol-editor__select:focus-visible {
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
- .mld-protocol-editor__textarea {
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
- .mld-protocol-editor__textarea:focus-visible {
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
- .mld-protocol-editor__textarea::placeholder {
311
+ .mint-protocol-editor__textarea::placeholder {
312
312
  color: var(--text-muted);
313
313
  }
314
314
 
315
315
  /* Preview section */
316
- .mld-protocol-editor__preview {
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
- .mld-protocol-editor__preview-title {
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
- .mld-protocol-editor__preview-card {
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
- .mld-protocol-editor__preview-icon {
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
- .mld-protocol-editor__preview-icon svg {
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
- .mld-protocol-editor__preview-content {
359
+ .mint-protocol-editor__preview-content {
360
360
  flex: 1;
361
361
  min-width: 0;
362
362
  }
363
363
 
364
- .mld-protocol-editor__preview-name {
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
- .mld-protocol-editor__preview-params {
371
+ .mint-protocol-editor__preview-params {
372
372
  font-size: 0.75rem;
373
373
  color: var(--text-muted);
374
374
  }
375
375
 
376
- .mld-protocol-editor__preview-duration {
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
- .mld-protocol-editor__actions {
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
- .mld-protocol-editor__actions-left {
393
+ .mint-protocol-editor__actions-left {
394
394
  flex: 1;
395
395
  }
396
396
 
397
- .mld-protocol-editor__btn {
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
- .mld-protocol-editor__btn:disabled {
410
+ .mint-protocol-editor__btn:disabled {
411
411
  opacity: var(--mint-disabled-opacity);
412
412
  cursor: not-allowed;
413
413
  }
414
414
 
415
- .mld-protocol-editor__btn--primary {
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
- .mld-protocol-editor__btn--primary:hover:not(:disabled) {
421
+ .mint-protocol-editor__btn--primary:hover:not(:disabled) {
422
422
  background-color: var(--color-primary-hover);
423
423
  }
424
424
 
425
- .mld-protocol-editor__btn--secondary {
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
- .mld-protocol-editor__btn--secondary:hover:not(:disabled) {
431
+ .mint-protocol-editor__btn--secondary:hover:not(:disabled) {
432
432
  background-color: var(--bg-hover);
433
433
  }
434
434
 
435
- .mld-protocol-editor__btn--ghost {
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
- .mld-protocol-editor__btn--ghost:hover:not(:disabled) {
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
- .mld-protocol-editor__btn svg {
446
+ .mint-protocol-editor__btn svg {
447
447
  width: 1rem;
448
448
  height: 1rem;
449
449
  }