@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
@@ -188,7 +188,7 @@ function handleCancel() {
188
188
  // Close dropdown on click outside
189
189
  function handleClickOutside(event: MouseEvent) {
190
190
  const target = event.target as HTMLElement
191
- if (!target.closest('.mld-protocol-editor__template-dropdown')) {
191
+ if (!target.closest('.mint-protocol-editor__template-dropdown')) {
192
192
  dropdownOpen.value = false
193
193
  }
194
194
  }
@@ -229,16 +229,16 @@ watch(
229
229
  </script>
230
230
 
231
231
  <template>
232
- <div class="mld-protocol-editor">
232
+ <div class="mint-protocol-editor">
233
233
  <!-- Header -->
234
- <div class="mld-protocol-editor__header">
235
- <span class="mld-protocol-editor__title">
234
+ <div class="mint-protocol-editor__header">
235
+ <span class="mint-protocol-editor__title">
236
236
  {{ mode === 'create' ? 'Create Protocol Step' : 'Edit Protocol Step' }}
237
237
  </span>
238
238
  <span
239
239
  :class="[
240
- 'mld-protocol-editor__mode-badge',
241
- `mld-protocol-editor__mode-badge--${mode}`,
240
+ 'mint-protocol-editor__mode-badge',
241
+ `mint-protocol-editor__mode-badge--${mode}`,
242
242
  ]"
243
243
  >
244
244
  {{ mode }}
@@ -246,19 +246,19 @@ watch(
246
246
  </div>
247
247
 
248
248
  <!-- Form -->
249
- <div class="mld-protocol-editor__form">
249
+ <div class="mint-protocol-editor__form">
250
250
  <!-- Template selector -->
251
- <div class="mld-protocol-editor__template-select">
252
- <label class="mld-protocol-editor__template-label">Template</label>
253
- <div class="mld-protocol-editor__template-dropdown">
251
+ <div class="mint-protocol-editor__template-select">
252
+ <label class="mint-protocol-editor__template-label">Template</label>
253
+ <div class="mint-protocol-editor__template-dropdown">
254
254
  <button
255
255
  type="button"
256
- class="mld-protocol-editor__template-btn"
256
+ class="mint-protocol-editor__template-btn"
257
257
  @click.stop="dropdownOpen = !dropdownOpen"
258
258
  >
259
259
  <svg
260
260
  v-if="selectedTemplate"
261
- class="mld-protocol-editor__template-icon"
261
+ class="mint-protocol-editor__template-icon"
262
262
  fill="none"
263
263
  stroke="currentColor"
264
264
  viewBox="0 0 24 24"
@@ -270,13 +270,13 @@ watch(
270
270
  :d="stepTypeIcons[selectedTemplate.type]"
271
271
  />
272
272
  </svg>
273
- <span class="mld-protocol-editor__template-text">
273
+ <span class="mint-protocol-editor__template-text">
274
274
  {{ selectedTemplate?.name || 'Select template...' }}
275
275
  </span>
276
276
  <svg
277
277
  :class="[
278
- 'mld-protocol-editor__template-arrow',
279
- dropdownOpen ? 'mld-protocol-editor__template-arrow--open' : '',
278
+ 'mint-protocol-editor__template-arrow',
279
+ dropdownOpen ? 'mint-protocol-editor__template-arrow--open' : '',
280
280
  ]"
281
281
  fill="none"
282
282
  stroke="currentColor"
@@ -286,19 +286,19 @@ watch(
286
286
  </svg>
287
287
  </button>
288
288
 
289
- <div v-if="dropdownOpen" class="mld-protocol-editor__template-menu">
289
+ <div v-if="dropdownOpen" class="mint-protocol-editor__template-menu">
290
290
  <button
291
291
  v-for="template in availableTemplates"
292
292
  :key="template.id"
293
293
  type="button"
294
294
  :class="[
295
- 'mld-protocol-editor__template-option',
296
- selectedTemplateId === template.id ? 'mld-protocol-editor__template-option--active' : '',
295
+ 'mint-protocol-editor__template-option',
296
+ selectedTemplateId === template.id ? 'mint-protocol-editor__template-option--active' : '',
297
297
  ]"
298
298
  @click="selectTemplate(template)"
299
299
  >
300
300
  <svg
301
- class="mld-protocol-editor__template-option-icon"
301
+ class="mint-protocol-editor__template-option-icon"
302
302
  fill="none"
303
303
  stroke="currentColor"
304
304
  viewBox="0 0 24 24"
@@ -310,9 +310,9 @@ watch(
310
310
  :d="stepTypeIcons[template.type]"
311
311
  />
312
312
  </svg>
313
- <div class="mld-protocol-editor__template-option-text">
313
+ <div class="mint-protocol-editor__template-option-text">
314
314
  <div>{{ template.name }}</div>
315
- <div v-if="template.description" class="mld-protocol-editor__template-option-desc">
315
+ <div v-if="template.description" class="mint-protocol-editor__template-option-desc">
316
316
  {{ template.description }}
317
317
  </div>
318
318
  </div>
@@ -321,23 +321,23 @@ watch(
321
321
  </div>
322
322
  </div>
323
323
 
324
- <div class="mld-protocol-editor__divider" />
324
+ <div class="mint-protocol-editor__divider" />
325
325
 
326
326
  <!-- Step name -->
327
- <div class="mld-protocol-editor__field">
328
- <label class="mld-protocol-editor__field-label mld-protocol-editor__field-label--required">
327
+ <div class="mint-protocol-editor__field">
328
+ <label class="mint-protocol-editor__field-label mint-protocol-editor__field-label--required">
329
329
  Step Name
330
330
  </label>
331
331
  <input
332
332
  v-model="stepName"
333
333
  type="text"
334
334
  :class="[
335
- 'mld-protocol-editor__input',
336
- validationErrors.name ? 'mld-protocol-editor__input--error' : '',
335
+ 'mint-protocol-editor__input',
336
+ validationErrors.name ? 'mint-protocol-editor__input--error' : '',
337
337
  ]"
338
338
  placeholder="Enter step name"
339
339
  />
340
- <span v-if="validationErrors.name" class="mld-protocol-editor__field-error">
340
+ <span v-if="validationErrors.name" class="mint-protocol-editor__field-error">
341
341
  {{ validationErrors.name }}
342
342
  </span>
343
343
  </div>
@@ -348,7 +348,7 @@ watch(
348
348
  v-for="(param, index) in selectedTemplate.parameters"
349
349
  :key="param.key"
350
350
  :class="[
351
- 'mld-protocol-editor__field',
351
+ 'mint-protocol-editor__field',
352
352
  index % 2 === 0 && selectedTemplate.parameters[index + 1]
353
353
  ? ''
354
354
  : '',
@@ -356,8 +356,8 @@ watch(
356
356
  >
357
357
  <label
358
358
  :class="[
359
- 'mld-protocol-editor__field-label',
360
- param.required ? 'mld-protocol-editor__field-label--required' : '',
359
+ 'mint-protocol-editor__field-label',
360
+ param.required ? 'mint-protocol-editor__field-label--required' : '',
361
361
  ]"
362
362
  >
363
363
  {{ param.label }}
@@ -366,7 +366,7 @@ watch(
366
366
  <!-- Number input with unit -->
367
367
  <div
368
368
  v-if="param.type === 'number' || param.type === 'temperature' || param.type === 'duration'"
369
- class="mld-protocol-editor__input-unit"
369
+ class="mint-protocol-editor__input-unit"
370
370
  >
371
371
  <input
372
372
  type="number"
@@ -375,12 +375,12 @@ watch(
375
375
  :max="param.max"
376
376
  :placeholder="param.placeholder || `Enter ${param.label.toLowerCase()}`"
377
377
  :class="[
378
- 'mld-protocol-editor__input',
379
- validationErrors[param.key] ? 'mld-protocol-editor__input--error' : '',
378
+ 'mint-protocol-editor__input',
379
+ validationErrors[param.key] ? 'mint-protocol-editor__input--error' : '',
380
380
  ]"
381
381
  @input="handleParamChange(param.key, ($event.target as HTMLInputElement).valueAsNumber)"
382
382
  />
383
- <span v-if="param.unit" class="mld-protocol-editor__unit-suffix">
383
+ <span v-if="param.unit" class="mint-protocol-editor__unit-suffix">
384
384
  {{ param.unit }}
385
385
  </span>
386
386
  </div>
@@ -392,8 +392,8 @@ watch(
392
392
  :value="parameters[param.key]"
393
393
  :placeholder="param.placeholder || `Enter ${param.label.toLowerCase()}`"
394
394
  :class="[
395
- 'mld-protocol-editor__input',
396
- validationErrors[param.key] ? 'mld-protocol-editor__input--error' : '',
395
+ 'mint-protocol-editor__input',
396
+ validationErrors[param.key] ? 'mint-protocol-editor__input--error' : '',
397
397
  ]"
398
398
  @input="handleParamChange(param.key, ($event.target as HTMLInputElement).value)"
399
399
  />
@@ -403,8 +403,8 @@ watch(
403
403
  v-else-if="param.type === 'select'"
404
404
  :value="parameters[param.key]"
405
405
  :class="[
406
- 'mld-protocol-editor__select',
407
- validationErrors[param.key] ? 'mld-protocol-editor__input--error' : '',
406
+ 'mint-protocol-editor__select',
407
+ validationErrors[param.key] ? 'mint-protocol-editor__input--error' : '',
408
408
  ]"
409
409
  @change="handleParamChange(param.key, ($event.target as HTMLSelectElement).value)"
410
410
  >
@@ -434,24 +434,24 @@ watch(
434
434
  :value="parameters[param.key]"
435
435
  :placeholder="param.placeholder || 'Enter reagent name'"
436
436
  :class="[
437
- 'mld-protocol-editor__input',
438
- validationErrors[param.key] ? 'mld-protocol-editor__input--error' : '',
437
+ 'mint-protocol-editor__input',
438
+ validationErrors[param.key] ? 'mint-protocol-editor__input--error' : '',
439
439
  ]"
440
440
  @input="handleParamChange(param.key, ($event.target as HTMLInputElement).value)"
441
441
  />
442
442
 
443
- <span v-if="validationErrors[param.key]" class="mld-protocol-editor__field-error">
443
+ <span v-if="validationErrors[param.key]" class="mint-protocol-editor__field-error">
444
444
  {{ validationErrors[param.key] }}
445
445
  </span>
446
446
  </div>
447
447
  </template>
448
448
 
449
449
  <!-- Description -->
450
- <div class="mld-protocol-editor__field">
451
- <label class="mld-protocol-editor__field-label">Description</label>
450
+ <div class="mint-protocol-editor__field">
451
+ <label class="mint-protocol-editor__field-label">Description</label>
452
452
  <textarea
453
453
  v-model="stepDescription"
454
- class="mld-protocol-editor__textarea"
454
+ class="mint-protocol-editor__textarea"
455
455
  placeholder="Optional step description"
456
456
  rows="2"
457
457
  />
@@ -459,10 +459,10 @@ watch(
459
459
  </div>
460
460
 
461
461
  <!-- Preview -->
462
- <div v-if="showPreview && previewStep" class="mld-protocol-editor__preview">
463
- <div class="mld-protocol-editor__preview-title">Preview</div>
464
- <div class="mld-protocol-editor__preview-card">
465
- <div class="mld-protocol-editor__preview-icon">
462
+ <div v-if="showPreview && previewStep" class="mint-protocol-editor__preview">
463
+ <div class="mint-protocol-editor__preview-title">Preview</div>
464
+ <div class="mint-protocol-editor__preview-card">
465
+ <div class="mint-protocol-editor__preview-icon">
466
466
  <svg fill="none" stroke="currentColor" viewBox="0 0 24 24">
467
467
  <path
468
468
  stroke-linecap="round"
@@ -472,24 +472,24 @@ watch(
472
472
  />
473
473
  </svg>
474
474
  </div>
475
- <div class="mld-protocol-editor__preview-content">
476
- <div class="mld-protocol-editor__preview-name">{{ previewStep.name }}</div>
477
- <div v-if="previewParams" class="mld-protocol-editor__preview-params">
475
+ <div class="mint-protocol-editor__preview-content">
476
+ <div class="mint-protocol-editor__preview-name">{{ previewStep.name }}</div>
477
+ <div v-if="previewParams" class="mint-protocol-editor__preview-params">
478
478
  {{ previewParams }}
479
479
  </div>
480
480
  </div>
481
- <div v-if="previewStep.duration" class="mld-protocol-editor__preview-duration">
481
+ <div v-if="previewStep.duration" class="mint-protocol-editor__preview-duration">
482
482
  {{ formatDuration(previewStep.duration) }}
483
483
  </div>
484
484
  </div>
485
485
  </div>
486
486
 
487
487
  <!-- Actions -->
488
- <div class="mld-protocol-editor__actions">
489
- <div class="mld-protocol-editor__actions-left">
488
+ <div class="mint-protocol-editor__actions">
489
+ <div class="mint-protocol-editor__actions-left">
490
490
  <button
491
491
  type="button"
492
- class="mld-protocol-editor__btn mld-protocol-editor__btn--ghost"
492
+ class="mint-protocol-editor__btn mint-protocol-editor__btn--ghost"
493
493
  @click="handleSaveTemplate"
494
494
  >
495
495
  <svg fill="none" stroke="currentColor" viewBox="0 0 24 24">
@@ -500,14 +500,14 @@ watch(
500
500
  </div>
501
501
  <button
502
502
  type="button"
503
- class="mld-protocol-editor__btn mld-protocol-editor__btn--secondary"
503
+ class="mint-protocol-editor__btn mint-protocol-editor__btn--secondary"
504
504
  @click="handleCancel"
505
505
  >
506
506
  Cancel
507
507
  </button>
508
508
  <button
509
509
  type="button"
510
- class="mld-protocol-editor__btn mld-protocol-editor__btn--primary"
510
+ class="mint-protocol-editor__btn mint-protocol-editor__btn--primary"
511
511
  :disabled="!selectedTemplate"
512
512
  @click="handleSave"
513
513
  >
@@ -223,20 +223,20 @@ const activeRackWells = computed(() => editor.activeRack.value?.wells ?? {})
223
223
  </script>
224
224
 
225
225
  <template>
226
- <div :class="['mld-rack-editor', { 'mld-rack-editor--readonly': readonly }]">
226
+ <div :class="['mint-rack-editor', { 'mint-rack-editor--readonly': readonly }]">
227
227
  <!-- Rack tabs -->
228
- <div class="mld-rack-editor__tabs">
229
- <div class="mld-rack-editor__tabs-inner">
228
+ <div class="mint-rack-editor__tabs">
229
+ <div class="mint-rack-editor__tabs-inner">
230
230
  <button
231
231
  v-for="rack in editor.racks.value"
232
232
  :key="rack.id"
233
233
  :draggable="allowReorder && !readonly"
234
234
  :class="[
235
- 'mld-rack-editor__tab',
235
+ 'mint-rack-editor__tab',
236
236
  {
237
- 'mld-rack-editor__tab--active': editor.activeRackId.value === rack.id,
238
- 'mld-rack-editor__tab--dragging': draggingRackId === rack.id,
239
- 'mld-rack-editor__tab--drag-over': dragOverRackId === rack.id,
237
+ 'mint-rack-editor__tab--active': editor.activeRackId.value === rack.id,
238
+ 'mint-rack-editor__tab--dragging': draggingRackId === rack.id,
239
+ 'mint-rack-editor__tab--drag-over': dragOverRackId === rack.id,
240
240
  },
241
241
  ]"
242
242
  @click="handleTabClick(rack.id)"
@@ -247,15 +247,15 @@ const activeRackWells = computed(() => editor.activeRack.value?.wells ?? {})
247
247
  @dragend="handleRackDragEnd"
248
248
  >
249
249
  <span
250
- class="mld-rack-editor__slot-dot"
250
+ class="mint-rack-editor__slot-dot"
251
251
  :style="{ backgroundColor: SLOT_COLORS[rack.slot] }"
252
252
  />
253
253
  {{ rack.name }}
254
254
  <span
255
255
  v-if="getWellCount(rack) > 0"
256
256
  :class="[
257
- 'mld-rack-editor__count',
258
- editor.activeRackId.value === rack.id ? 'mld-rack-editor__count--active' : 'mld-rack-editor__count--inactive',
257
+ 'mint-rack-editor__count',
258
+ editor.activeRackId.value === rack.id ? 'mint-rack-editor__count--active' : 'mint-rack-editor__count--inactive',
259
259
  ]"
260
260
  >
261
261
  {{ getWellCount(rack) }}
@@ -263,7 +263,7 @@ const activeRackWells = computed(() => editor.activeRack.value?.wells ?? {})
263
263
  <!-- Remove button -->
264
264
  <button
265
265
  v-if="editor.racks.value.length > minRacks && !readonly"
266
- class="mld-rack-editor__tab-remove"
266
+ class="mint-rack-editor__tab-remove"
267
267
  @click.stop="handleRemoveRack(rack.id)"
268
268
  >
269
269
  &times;
@@ -274,7 +274,7 @@ const activeRackWells = computed(() => editor.activeRack.value?.wells ?? {})
274
274
  <!-- Add rack button -->
275
275
  <button
276
276
  v-if="editor.racks.value.length < maxRacks && !readonly"
277
- class="mld-rack-editor__add-btn"
277
+ class="mint-rack-editor__add-btn"
278
278
  @click="handleAddRack"
279
279
  >
280
280
  <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
@@ -285,18 +285,18 @@ const activeRackWells = computed(() => editor.activeRack.value?.wells ?? {})
285
285
  </div>
286
286
 
287
287
  <!-- Toolbar for active rack -->
288
- <div v-if="editor.activeRack.value && !readonly" class="mld-rack-editor__toolbar">
289
- <div class="mld-rack-editor__toolbar-group">
288
+ <div v-if="editor.activeRack.value && !readonly" class="mint-rack-editor__toolbar">
289
+ <div class="mint-rack-editor__toolbar-group">
290
290
  <!-- Format selector -->
291
- <div class="mld-rack-editor__toolbar-section">
292
- <span class="mld-rack-editor__toolbar-label">Plate</span>
293
- <div class="mld-rack-editor__format-btns">
291
+ <div class="mint-rack-editor__toolbar-section">
292
+ <span class="mint-rack-editor__toolbar-label">Plate</span>
293
+ <div class="mint-rack-editor__format-btns">
294
294
  <button
295
295
  v-for="opt in FORMAT_OPTIONS"
296
296
  :key="opt.value"
297
297
  :class="[
298
- 'mld-rack-editor__format-btn',
299
- editor.activeRack.value.format === opt.value ? 'mld-rack-editor__format-btn--active' : 'mld-rack-editor__format-btn--inactive',
298
+ 'mint-rack-editor__format-btn',
299
+ editor.activeRack.value.format === opt.value ? 'mint-rack-editor__format-btn--active' : 'mint-rack-editor__format-btn--inactive',
300
300
  ]"
301
301
  @click="handleFormatChange(opt.value)"
302
302
  >
@@ -305,16 +305,16 @@ const activeRackWells = computed(() => editor.activeRack.value?.wells ?? {})
305
305
  </div>
306
306
  </div>
307
307
 
308
- <div class="mld-rack-editor__toolbar-divider" />
308
+ <div class="mint-rack-editor__toolbar-divider" />
309
309
 
310
310
  <!-- Slot selector -->
311
- <div class="mld-rack-editor__toolbar-section">
312
- <span class="mld-rack-editor__toolbar-label">Slot</span>
313
- <div class="mld-rack-editor__slot-btns">
311
+ <div class="mint-rack-editor__toolbar-section">
312
+ <span class="mint-rack-editor__toolbar-label">Slot</span>
313
+ <div class="mint-rack-editor__slot-btns">
314
314
  <button
315
315
  v-for="s in SLOT_OPTIONS"
316
316
  :key="s"
317
- class="mld-rack-editor__slot-btn"
317
+ class="mint-rack-editor__slot-btn"
318
318
  :style="{
319
319
  backgroundColor: editor.activeRack.value.slot === s ? SLOT_COLORS[s] : 'var(--bg-secondary)',
320
320
  color: editor.activeRack.value.slot === s ? 'white' : SLOT_COLORS[s],
@@ -329,16 +329,16 @@ const activeRackWells = computed(() => editor.activeRack.value?.wells ?? {})
329
329
  </div>
330
330
  </div>
331
331
 
332
- <div class="mld-rack-editor__toolbar-spacer" />
332
+ <div class="mint-rack-editor__toolbar-spacer" />
333
333
 
334
334
  <!-- Actions -->
335
- <button class="mld-rack-editor__action-btn" @click="handleClearAll">
335
+ <button class="mint-rack-editor__action-btn" @click="handleClearAll">
336
336
  <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
337
337
  <path d="M10 11v6" /><path d="M14 11v6" /><path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6" /><path d="M3 6h18" /><path d="M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2" />
338
338
  </svg>
339
339
  Clear
340
340
  </button>
341
- <button class="mld-rack-editor__action-btn" @click="handleFillSeries">
341
+ <button class="mint-rack-editor__action-btn" @click="handleFillSeries">
342
342
  <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
343
343
  <rect width="18" height="18" x="3" y="3" rx="2" /><path d="M3 9h18" /><path d="M3 15h18" /><path d="M9 3v18" /><path d="M15 3v18" />
344
344
  </svg>
@@ -347,7 +347,7 @@ const activeRackWells = computed(() => editor.activeRack.value?.wells ?? {})
347
347
  </div>
348
348
 
349
349
  <!-- Plate view -->
350
- <div v-if="editor.activeRack.value" class="mld-rack-editor__plate">
350
+ <div v-if="editor.activeRack.value" class="mint-rack-editor__plate">
351
351
  <WellPlate
352
352
  :format="editor.activeRack.value.format"
353
353
  :wells="activeRackWells"