@morscherlab/mint-sdk 1.4.0-beta.1 → 1.4.0-beta.11
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/dist/{ActionMenu-CScINahU.js → AlertBox-B2Bgr3ei.js} +40 -209
- package/dist/AlertBox-B2Bgr3ei.js.map +1 -0
- package/dist/{AppSidebar-BmiiPfz9.js → AppSidebar-mvm--GxN.js} +161 -110
- package/dist/AppSidebar-mvm--GxN.js.map +1 -0
- package/dist/{ConfirmDialog-CJ7hqYUP.js → ConfirmDialog-nbJj51is.js} +2 -2
- package/dist/{ConfirmDialog-CJ7hqYUP.js.map → ConfirmDialog-nbJj51is.js.map} +1 -1
- package/dist/ExperimentPopover-5T1fAq2L.js +337 -0
- package/dist/ExperimentPopover-5T1fAq2L.js.map +1 -0
- package/dist/{ExperimentSelectorModal-D-9z7cNx.js → ExperimentSelectorModal-65peG4Up.js} +198 -181
- package/dist/ExperimentSelectorModal-65peG4Up.js.map +1 -0
- package/dist/{SegmentedControl-DERBN-Xd.js → SegmentedControl-BtnnjWzs.js} +2 -2
- package/dist/{SegmentedControl-DERBN-Xd.js.map → SegmentedControl-BtnnjWzs.js.map} +1 -1
- package/dist/{SettingsModal-CSLE31yg.js → SettingsModal-DO3IZ7qz.js} +9 -9
- package/dist/SettingsModal-DO3IZ7qz.js.map +1 -0
- package/dist/__tests__/styles/v2AuditRules.test.d.ts +1 -0
- package/dist/components/AppSidebar.vue.d.ts +1 -1
- package/dist/components/ArtifactSaveDialog.vue.d.ts +9 -1
- package/dist/components/AuditTrail.vue.d.ts +1 -1
- package/dist/components/BaseSelect.vue.d.ts +2 -2
- package/dist/components/ChartContainer.vue.d.ts +2 -0
- package/dist/components/DatePicker.vue.d.ts +1 -1
- package/dist/components/ExperimentPopover.vue.d.ts +18 -0
- package/dist/components/ExperimentSelectorModal.vue.d.ts +0 -4
- package/dist/components/FilePicker.vue.d.ts +1 -1
- package/dist/components/FileUploader.vue.d.ts +2 -2
- package/dist/components/PluginIcon.vue.d.ts +2 -2
- package/dist/components/SampleSelector.vue.d.ts +6 -6
- package/dist/components/SequenceProgressBar.vue.d.ts +3 -0
- package/dist/components/StepWizard.vue.d.ts +3 -0
- package/dist/components/internal/AutoGroupModalInternal.vue.d.ts +1 -1
- package/dist/components/internal/DatePickerTimeInternal.vue.d.ts +1 -1
- package/dist/components/internal/ResourcePickerListInternal.vue.d.ts +2 -7
- package/dist/components/internal/SelectMultipleInternal.vue.d.ts +4 -0
- package/dist/composables/createClient.d.ts +2 -0
- package/dist/composables/index.d.ts +1 -0
- package/dist/composables/pluginIdentity.d.ts +24 -0
- package/dist/composables/pluginWorkspaceModel.d.ts +2 -2
- package/dist/composables/useAppExperiment.d.ts +8 -0
- package/dist/composables/useCalendarGrid.d.ts +1 -1
- package/dist/composables/useExperimentSelector.d.ts +6 -2
- package/dist/composables/usePlatform.d.ts +1 -0
- package/dist/{controlSchemaModel-CP5-_nAj.js → controlSchemaModel-B8CTXagP.js} +2 -2
- package/dist/{controlSchemaModel-CP5-_nAj.js.map → controlSchemaModel-B8CTXagP.js.map} +1 -1
- package/dist/{data-C2PwI_dn.js → data-CgILxDLW.js} +178 -124
- package/dist/data-CgILxDLW.js.map +1 -0
- package/dist/data.js +8 -8
- package/dist/{experimentStatus-BZmU4czV.js → experimentStatus-Cqp6qNrR.js} +3 -3
- package/dist/{experimentStatus-BZmU4czV.js.map → experimentStatus-Cqp6qNrR.js.map} +1 -1
- package/dist/index.js +19 -19
- package/dist/{install-DAID6c2-.js → install-mB8-IyvO.js} +15 -14
- package/dist/{install-DAID6c2-.js.map → install-mB8-IyvO.js.map} +1 -1
- package/dist/install.js +1 -1
- package/dist/{lab-DLwRl_Ql.js → lab-D5bIX426.js} +128 -147
- package/dist/lab-D5bIX426.js.map +1 -0
- package/dist/lab.js +4 -3
- package/dist/{records-BzTcxekG.js → records-B6gpM_3e.js} +472 -274
- package/dist/records-B6gpM_3e.js.map +1 -0
- package/dist/{runtime-D6gVat6r.js → runtime-D7vKpfbF.js} +27 -31
- package/dist/runtime-D7vKpfbF.js.map +1 -0
- package/dist/runtime.js +6 -6
- package/dist/{shell-5ju97nOS.js → shell-CywENwBT.js} +5 -5
- package/dist/{shell-5ju97nOS.js.map → shell-CywENwBT.js.map} +1 -1
- package/dist/shell.js +5 -5
- package/dist/styles.css +1644 -1688
- package/dist/types/componentWorkflowTypes.d.ts +2 -0
- package/dist/types/generated/platformContext.d.ts +1 -0
- package/dist/types/generated-ui.d.ts +4 -0
- package/dist/{BaseModal-DfRIuVoj.js → useDropdownState-8yWMu-7_.js} +60 -2
- package/dist/useDropdownState-8yWMu-7_.js.map +1 -0
- package/dist/{useExperimentSamples-CxcnxZ8h.js → useExperimentSamples-DHnxKFAF.js} +3 -3
- package/dist/{useExperimentSamples-CxcnxZ8h.js.map → useExperimentSamples-DHnxKFAF.js.map} +1 -1
- package/dist/{useListReorder-CcbEYxX-.js → useListReorder-BitdUhxn.js} +109 -277
- package/dist/useListReorder-BitdUhxn.js.map +1 -0
- package/dist/{useRackEditor-BD5NIo5s.js → useRackEditor-Q8xO-cCy.js} +72 -58
- package/dist/useRackEditor-Q8xO-cCy.js.map +1 -0
- package/dist/{useRealtime-PalKue84.js → useRealtime-C3iy9QkU.js} +7 -4
- package/dist/useRealtime-C3iy9QkU.js.map +1 -0
- package/dist/useRequest-D506eHi8.js +244 -0
- package/dist/useRequest-D506eHi8.js.map +1 -0
- package/dist/utils/time.d.ts +7 -0
- package/package.json +1 -1
- package/src/__tests__/components/AppTopBar.test.ts +51 -2
- package/src/__tests__/components/AppTopBarPillNav.test.ts +35 -0
- package/src/__tests__/components/ArtifactSaveDialog.test.ts +78 -0
- package/src/__tests__/components/BaseSelect.multiple.test.ts +87 -32
- package/src/__tests__/components/BaseSelect.test.ts +2 -1
- package/src/__tests__/components/BatchProgressList.test.ts +16 -0
- package/src/__tests__/components/CalendarGridPanel.test.ts +2 -2
- package/src/__tests__/components/ChartContainer.test.ts +11 -0
- package/src/__tests__/components/ChemicalFormula.test.ts +6 -3
- package/src/__tests__/components/DatePicker.datetime.test.ts +6 -0
- package/src/__tests__/components/DatePicker.test.ts +21 -0
- package/src/__tests__/components/DatePicker.time.test.ts +2 -2
- package/src/__tests__/components/EmptyState.test.ts +1 -1
- package/src/__tests__/components/ExperimentPopover.test.ts +125 -16
- package/src/__tests__/components/ExperimentSelectorModal.test.ts +119 -13
- package/src/__tests__/components/GeneratedPluginView.test.ts +22 -1
- package/src/__tests__/components/InstrumentStateBadge.test.ts +4 -4
- package/src/__tests__/components/PluginWorkspaceView.test.ts +7 -0
- package/src/__tests__/components/ResourcePickerListInternal.test.ts +0 -20
- package/src/__tests__/components/SampleSelector.test.ts +13 -8
- package/src/__tests__/components/SequenceProgressBar.test.ts +12 -0
- package/src/__tests__/components/StepWizard.test.ts +11 -0
- package/src/__tests__/components/WellPlate.decoration.test.ts +11 -4
- package/src/__tests__/components/deprecationTags.test.ts +1 -1
- package/src/__tests__/composables/useAppExperiment.test.ts +27 -1
- package/src/__tests__/composables/useCalendarGrid.test.ts +4 -2
- package/src/__tests__/composables/useExperimentSelector.test.ts +111 -0
- package/src/__tests__/styles/baseControlsRules.test.ts +6 -2
- package/src/__tests__/styles/controlRefreshRules.test.ts +0 -6
- package/src/__tests__/styles/cssTokens.test.ts +2 -2
- package/src/__tests__/styles/menusShellRefresh.test.ts +14 -10
- package/src/__tests__/styles/v2AuditRules.test.ts +96 -0
- package/src/__tests__/utils/plotlyTemplate.test.ts +4 -4
- package/src/__tests__/utils/time.test.ts +18 -1
- package/src/components/AdductText.story.vue +7 -0
- package/src/components/AdductText.vue +1 -1
- package/src/components/AlertBox.story.vue +2 -2
- package/src/components/AlertBox.vue +18 -16
- package/src/components/AppSidebar.story.vue +0 -28
- package/src/components/AppTopBar.story.vue +47 -12
- package/src/components/AppTopBar.vue +118 -114
- package/src/components/ArtifactSaveDialog.story.vue +23 -0
- package/src/components/ArtifactSaveDialog.vue +102 -12
- package/src/components/AuditTrail.story.vue +2 -1
- package/src/components/AuditTrail.vue +2 -21
- package/src/components/Avatar.vue +10 -14
- package/src/components/BaseSelect.multiple.story.vue +13 -2
- package/src/components/BaseSelect.vue +4 -3
- package/src/components/BatchProgressList.vue +35 -25
- package/src/components/ChartContainer.story.vue +2 -1
- package/src/components/ChartContainer.vue +8 -6
- package/src/components/ConfirmDialog.story.vue +1 -1
- package/src/components/EmptyState.vue +1 -1
- package/src/components/ExperimentPopover.story.vue +165 -53
- package/src/components/ExperimentPopover.vue +169 -187
- package/src/components/ExperimentSelectorModal.story.vue +40 -36
- package/src/components/ExperimentSelectorModal.vue +124 -110
- package/src/components/FormField.story.vue +8 -48
- package/src/components/GeneratedPluginView.vue +7 -1
- package/src/components/GeneratedResultRenderer.vue +3 -4
- package/src/components/InstrumentStateBadge.vue +1 -1
- package/src/components/JobsStatusTray.vue +1 -1
- package/src/components/LoadingSpinner.vue +1 -1
- package/src/components/NumberInput.vue +3 -6
- package/src/components/PluginIcon.story.vue +2 -10
- package/src/components/PluginIcon.vue +2 -2
- package/src/components/PluginWorkspaceView.story.vue +1 -1
- package/src/components/RuntimeUpdateNotice.vue +1 -1
- package/src/components/SampleSelector.story.vue +1 -1
- package/src/components/SampleSelector.vue +27 -37
- package/src/components/SampleSelectorGroupNode.vue +1 -1
- package/src/components/SectionCard.story.vue +2 -2
- package/src/components/SequenceProgressBar.story.vue +9 -0
- package/src/components/SequenceProgressBar.vue +6 -1
- package/src/components/SettingsModal.schema.ts +1 -1
- package/src/components/SettingsModal.vue +2 -2
- package/src/components/SmartGroupFieldRecipe.story.vue +1 -1
- package/src/components/SmartGroupManual.story.vue +1 -1
- package/src/components/StepWizard.story.vue +33 -0
- package/src/components/StepWizard.vue +8 -1
- package/src/components/WellPlate.story.vue +3 -1
- package/src/components/WellPlate.vue +7 -0
- package/src/components/internal/AppTopBarPillNavInternal.vue +33 -2
- package/src/components/internal/DatePickerDateInternal.vue +16 -40
- package/src/components/internal/DatePickerDateTimeInternal.vue +3 -13
- package/src/components/internal/DatePickerTimeInternal.vue +5 -8
- package/src/components/internal/ResourcePickerListInternal.vue +45 -85
- package/src/components/internal/SelectMultipleInternal.vue +182 -65
- package/src/components/internal/SelectSearchableInternal.vue +2 -3
- package/src/composables/createClient.ts +2 -0
- package/src/composables/index.ts +1 -0
- package/src/composables/pluginIdentity.ts +31 -0
- package/src/composables/pluginWorkspaceModel.ts +2 -2
- package/src/composables/useAppExperiment.ts +20 -0
- package/src/composables/useCalendarGrid.ts +4 -3
- package/src/composables/useExperimentSelector.ts +77 -31
- package/src/composables/usePluginWorkspace.ts +1 -1
- package/src/styles/components/adduct-text.css +13 -5
- package/src/styles/components/alert-box.css +39 -58
- package/src/styles/components/app-layout.css +7 -5
- package/src/styles/components/app-page-selector.css +3 -1
- package/src/styles/components/app-pill-nav.css +11 -12
- package/src/styles/components/app-sidebar.css +9 -18
- package/src/styles/components/app-top-bar.css +57 -55
- package/src/styles/components/artifact-save-dialog.css +153 -2
- package/src/styles/components/audit-trail.css +16 -19
- package/src/styles/components/avatar.css +6 -4
- package/src/styles/components/batch-progress-list.css +38 -36
- package/src/styles/components/button.css +28 -59
- package/src/styles/components/calendar.css +12 -12
- package/src/styles/components/chart-container.css +34 -23
- package/src/styles/components/checkbox.css +2 -12
- package/src/styles/components/collapsible-card.css +27 -29
- package/src/styles/components/confirm-dialog.css +13 -14
- package/src/styles/components/dataframe.css +13 -5
- package/src/styles/components/date-picker.css +80 -92
- package/src/styles/components/datetime-picker.css +31 -43
- package/src/styles/components/divider.css +20 -20
- package/src/styles/components/dose-calculator.css +3 -3
- package/src/styles/components/empty-state.css +20 -17
- package/src/styles/components/experiment-code-badge.css +2 -0
- package/src/styles/components/experiment-popover.css +174 -329
- package/src/styles/components/experiment-selector-modal.css +75 -56
- package/src/styles/components/file-picker.css +3 -3
- package/src/styles/components/file-uploader.css +38 -49
- package/src/styles/components/form-builder.css +3 -3
- package/src/styles/components/formula-input.css +1 -1
- package/src/styles/components/icon-button.css +18 -24
- package/src/styles/components/input.css +5 -4
- package/src/styles/components/instrument-monitor.css +13 -15
- package/src/styles/components/jobs-status-tray.css +31 -25
- package/src/styles/components/modal.css +4 -6
- package/src/styles/components/molecule-input.css +2 -2
- package/src/styles/components/multi-select.css +65 -117
- package/src/styles/components/number-input.css +26 -19
- package/src/styles/components/pill.css +3 -2
- package/src/styles/components/plate-editor.css +0 -1
- package/src/styles/components/plugin-icon.css +26 -23
- package/src/styles/components/popover.css +2 -2
- package/src/styles/components/presence-avatars.css +1 -1
- package/src/styles/components/progress-bar.css +3 -3
- package/src/styles/components/protocol-step-editor.css +1 -3
- package/src/styles/components/resource-card.css +2 -2
- package/src/styles/components/resource-picker-list.css +6 -57
- package/src/styles/components/sample-hierarchy-tree.css +4 -4
- package/src/styles/components/sample-selector.css +95 -79
- package/src/styles/components/schedule-calendar.css +8 -8
- package/src/styles/components/searchable-select.css +12 -12
- package/src/styles/components/section-card.css +30 -47
- package/src/styles/components/segmented-control.css +18 -15
- package/src/styles/components/select.css +3 -3
- package/src/styles/components/sequence-input.css +2 -2
- package/src/styles/components/sequence-progress-bar.css +17 -8
- package/src/styles/components/settings-modal.css +7 -2
- package/src/styles/components/smart-group.css +18 -18
- package/src/styles/components/step-wizard.css +52 -16
- package/src/styles/components/tabs.css +2 -2
- package/src/styles/components/textarea.css +3 -3
- package/src/styles/components/time-picker.css +36 -21
- package/src/styles/components/toast.css +12 -10
- package/src/styles/components/toggle.css +1 -11
- package/src/styles/components/tooltip.css +10 -9
- package/src/styles/components/unit-input.css +8 -7
- package/src/styles/components/well-plate.css +9 -2
- package/src/styles/variables.css +118 -77
- package/src/types/componentWorkflowTypes.ts +2 -0
- package/src/types/generated/platformContext.ts +1 -0
- package/src/types/generated-ui.ts +4 -0
- package/src/utils/time.ts +21 -0
- package/dist/ActionMenu-CScINahU.js.map +0 -1
- package/dist/AppSidebar-BmiiPfz9.js.map +0 -1
- package/dist/BaseModal-DfRIuVoj.js.map +0 -1
- package/dist/ExperimentPopover-C4sGw-is.js +0 -359
- package/dist/ExperimentPopover-C4sGw-is.js.map +0 -1
- package/dist/ExperimentSelectorModal-D-9z7cNx.js.map +0 -1
- package/dist/SettingsModal-CSLE31yg.js.map +0 -1
- package/dist/data-C2PwI_dn.js.map +0 -1
- package/dist/lab-DLwRl_Ql.js.map +0 -1
- package/dist/records-BzTcxekG.js.map +0 -1
- package/dist/runtime-D6gVat6r.js.map +0 -1
- package/dist/useListReorder-CcbEYxX-.js.map +0 -1
- package/dist/useRackEditor-BD5NIo5s.js.map +0 -1
- package/dist/useRealtime-PalKue84.js.map +0 -1
- package/dist/useRequest-D5JDfsgZ.js +0 -76
- package/dist/useRequest-D5JDfsgZ.js.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/* SectionCard — the
|
|
1
|
+
/* SectionCard — the one-card system.
|
|
2
2
|
*
|
|
3
|
-
* One card per page region:
|
|
4
|
-
*
|
|
5
|
-
* card nested in a card.
|
|
3
|
+
* One card per page region: 1px border, 8px radius, no shadow, a single
|
|
4
|
+
* header strip (muted icon, title, mono count, tools on the right), and
|
|
5
|
+
* hairline-separated regions inside — never a card nested in a card.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
.mint-section-card {
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
border-radius: var(--radius-lg);
|
|
12
12
|
border: 1px solid var(--border-color);
|
|
13
13
|
background: var(--bg-secondary);
|
|
14
|
-
box-shadow: var(--card-shadow);
|
|
15
14
|
overflow: hidden;
|
|
16
15
|
transition: background-color var(--mint-transition), border-color var(--mint-transition);
|
|
17
16
|
}
|
|
@@ -33,7 +32,11 @@
|
|
|
33
32
|
display: flex;
|
|
34
33
|
align-items: center;
|
|
35
34
|
gap: 0.625rem;
|
|
36
|
-
|
|
35
|
+
box-sizing: border-box;
|
|
36
|
+
min-height: 2.5rem;
|
|
37
|
+
/* 4px block padding: a 28px header control plus padding plus the 1px rule
|
|
38
|
+
stays inside the 40px strip (6px made it 41px). */
|
|
39
|
+
padding: 0.25rem 0.625rem 0.25rem 0.75rem;
|
|
37
40
|
border-bottom: 1px solid var(--border-color);
|
|
38
41
|
flex-shrink: 0;
|
|
39
42
|
}
|
|
@@ -42,14 +45,15 @@
|
|
|
42
45
|
border-bottom-color: var(--border-light);
|
|
43
46
|
}
|
|
44
47
|
|
|
48
|
+
/* Muted icon, no tinted chip: every accent renders the same. */
|
|
45
49
|
.mint-section-card__icon-chip {
|
|
46
50
|
display: inline-flex;
|
|
47
51
|
align-items: center;
|
|
48
52
|
justify-content: center;
|
|
49
53
|
flex-shrink: 0;
|
|
50
|
-
width:
|
|
51
|
-
height:
|
|
52
|
-
|
|
54
|
+
width: 1rem;
|
|
55
|
+
height: 1rem;
|
|
56
|
+
color: var(--text-muted);
|
|
53
57
|
}
|
|
54
58
|
|
|
55
59
|
.mint-section-card__icon {
|
|
@@ -57,41 +61,6 @@
|
|
|
57
61
|
height: 0.8125rem;
|
|
58
62
|
}
|
|
59
63
|
|
|
60
|
-
.mint-section-card__icon-chip--primary {
|
|
61
|
-
background: var(--color-primary-soft);
|
|
62
|
-
color: var(--color-primary);
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.mint-section-card__icon-chip--experiment {
|
|
66
|
-
background: var(--color-experiment-soft);
|
|
67
|
-
color: var(--color-experiment);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.mint-section-card__icon-chip--project {
|
|
71
|
-
background: var(--color-project-soft);
|
|
72
|
-
color: var(--color-project);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.mint-section-card__icon-chip--success {
|
|
76
|
-
background: var(--mint-success-bg);
|
|
77
|
-
color: var(--mint-success);
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.mint-section-card__icon-chip--error {
|
|
81
|
-
background: var(--mint-error-bg);
|
|
82
|
-
color: var(--mint-error);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.mint-section-card__icon-chip--warning {
|
|
86
|
-
background: var(--mint-warning-bg);
|
|
87
|
-
color: var(--mint-warning);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.mint-section-card__icon-chip--info {
|
|
91
|
-
background: var(--mint-info-bg);
|
|
92
|
-
color: var(--mint-info);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
64
|
.mint-section-card__title {
|
|
96
65
|
margin: 0;
|
|
97
66
|
font-size: 0.8125rem;
|
|
@@ -99,9 +68,10 @@
|
|
|
99
68
|
color: var(--text-primary);
|
|
100
69
|
}
|
|
101
70
|
|
|
71
|
+
/* Captions are for column and section labels; a card title stays sentence case. */
|
|
102
72
|
.mint-section-card__title--uppercase {
|
|
103
|
-
|
|
104
|
-
|
|
73
|
+
text-transform: none;
|
|
74
|
+
letter-spacing: 0;
|
|
105
75
|
}
|
|
106
76
|
|
|
107
77
|
.mint-section-card__count {
|
|
@@ -125,6 +95,8 @@
|
|
|
125
95
|
padding: 0.5rem 1rem;
|
|
126
96
|
border-top: 1px solid var(--border-color);
|
|
127
97
|
background: var(--bg-primary);
|
|
98
|
+
font-size: 0.75rem;
|
|
99
|
+
color: var(--text-secondary);
|
|
128
100
|
flex-shrink: 0;
|
|
129
101
|
}
|
|
130
102
|
|
|
@@ -141,7 +113,7 @@
|
|
|
141
113
|
display: flex;
|
|
142
114
|
align-items: center;
|
|
143
115
|
gap: 0.625rem;
|
|
144
|
-
padding: 0.
|
|
116
|
+
padding: 0.375rem 0.75rem;
|
|
145
117
|
background: var(--bg-secondary);
|
|
146
118
|
transition: background-color var(--mint-transition);
|
|
147
119
|
}
|
|
@@ -157,3 +129,14 @@ a.mint-section-card__row:hover,
|
|
|
157
129
|
button.mint-section-card__row:hover {
|
|
158
130
|
background: var(--bg-primary);
|
|
159
131
|
}
|
|
132
|
+
|
|
133
|
+
/* Comfortable density gives the header and rows back their height. */
|
|
134
|
+
[data-density="comfortable"] .mint-section-card__header {
|
|
135
|
+
min-height: 2.75rem;
|
|
136
|
+
padding: 0.25rem 0.75rem 0.25rem 0.875rem;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
[data-density="comfortable"] .mint-section-card__row {
|
|
140
|
+
padding-top: 0.5rem;
|
|
141
|
+
padding-bottom: 0.5rem;
|
|
142
|
+
}
|
|
@@ -6,20 +6,21 @@
|
|
|
6
6
|
overflow: hidden;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
/* Card variant container -
|
|
9
|
+
/* Card variant container - a bordered track; options are content-sized.
|
|
10
10
|
`width: fit-content` is load-bearing: `inline-grid` alone gets blockified and
|
|
11
11
|
stretched when the control is a stretching flex/grid item. */
|
|
12
12
|
.mint-segmented-control--card {
|
|
13
13
|
display: inline-grid;
|
|
14
14
|
box-sizing: border-box; /* full-width must include the padding */
|
|
15
15
|
grid-auto-flow: column;
|
|
16
|
-
grid-auto-columns:
|
|
16
|
+
grid-auto-columns: auto;
|
|
17
17
|
width: fit-content;
|
|
18
18
|
max-width: 100%;
|
|
19
|
-
gap:
|
|
20
|
-
padding:
|
|
19
|
+
gap: 2px;
|
|
20
|
+
padding: 2px;
|
|
21
|
+
border: 1px solid var(--border-color);
|
|
21
22
|
border-radius: var(--radius-md);
|
|
22
|
-
background-color: var(--bg-
|
|
23
|
+
background-color: var(--bg-primary);
|
|
23
24
|
overflow: visible;
|
|
24
25
|
}
|
|
25
26
|
|
|
@@ -30,6 +31,7 @@
|
|
|
30
31
|
|
|
31
32
|
.mint-segmented-control--card.mint-segmented-control--full-width {
|
|
32
33
|
display: grid;
|
|
34
|
+
grid-auto-columns: 1fr;
|
|
33
35
|
width: 100%;
|
|
34
36
|
}
|
|
35
37
|
|
|
@@ -50,6 +52,7 @@
|
|
|
50
52
|
color: var(--text-primary);
|
|
51
53
|
transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
|
|
52
54
|
text-align: center;
|
|
55
|
+
white-space: nowrap;
|
|
53
56
|
font-family: inherit;
|
|
54
57
|
box-sizing: border-box;
|
|
55
58
|
}
|
|
@@ -85,8 +88,6 @@
|
|
|
85
88
|
.mint-segmented-control__option--simple {
|
|
86
89
|
flex: 1;
|
|
87
90
|
padding: 0.5rem 1rem;
|
|
88
|
-
/* `flex: 1` (basis 0) would otherwise squeeze a longer label onto two lines. */
|
|
89
|
-
white-space: nowrap;
|
|
90
91
|
}
|
|
91
92
|
|
|
92
93
|
.mint-segmented-control__option--simple:hover:not(.mint-segmented-control__option--active):not(.mint-segmented-control__option--disabled) {
|
|
@@ -96,11 +97,11 @@
|
|
|
96
97
|
.mint-segmented-control__option--simple.mint-segmented-control__option--active {
|
|
97
98
|
background-color: var(--color-primary);
|
|
98
99
|
border-color: var(--color-primary);
|
|
99
|
-
color:
|
|
100
|
+
color: var(--text-on-accent);
|
|
100
101
|
z-index: 1;
|
|
101
102
|
}
|
|
102
103
|
|
|
103
|
-
/* Card variant -
|
|
104
|
+
/* Card variant - the active option is a card-surface step with a hairline */
|
|
104
105
|
.mint-segmented-control__option--card {
|
|
105
106
|
flex: 1;
|
|
106
107
|
padding: 0.5rem 0.75rem;
|
|
@@ -119,31 +120,33 @@
|
|
|
119
120
|
.mint-segmented-control__option--card.mint-segmented-control__option--active {
|
|
120
121
|
background-color: var(--bg-card);
|
|
121
122
|
color: var(--text-primary);
|
|
122
|
-
box-shadow: var(--
|
|
123
|
+
box-shadow: 0 0 0 1px var(--border-color);
|
|
123
124
|
}
|
|
124
125
|
|
|
125
126
|
/* Size variants - simple */
|
|
126
127
|
.mint-segmented-control__option--simple.mint-segmented-control__option--sm {
|
|
127
|
-
padding: 0.
|
|
128
|
+
padding: 0.25rem 0.75rem;
|
|
128
129
|
font-size: 0.75rem;
|
|
129
130
|
min-height: var(--form-height-sm);
|
|
130
131
|
}
|
|
131
132
|
|
|
132
133
|
.mint-segmented-control__option--simple.mint-segmented-control__option--md {
|
|
133
|
-
padding: 0.
|
|
134
|
+
padding: 0.375rem 1rem;
|
|
134
135
|
font-size: 0.875rem;
|
|
135
136
|
min-height: var(--form-height-md);
|
|
136
137
|
}
|
|
137
138
|
|
|
138
139
|
.mint-segmented-control__option--simple.mint-segmented-control__option--lg {
|
|
139
|
-
padding: 0.
|
|
140
|
+
padding: 0.5rem 1.25rem;
|
|
140
141
|
font-size: 1rem;
|
|
141
142
|
min-height: var(--form-height-lg);
|
|
142
143
|
}
|
|
143
144
|
|
|
144
145
|
/* Size variants - card */
|
|
145
146
|
.mint-segmented-control__option--card.mint-segmented-control__option--sm {
|
|
146
|
-
|
|
147
|
+
min-height: calc(var(--form-height-sm) - 6px);
|
|
148
|
+
padding: 0 0.625rem;
|
|
149
|
+
font-size: 0.75rem;
|
|
147
150
|
}
|
|
148
151
|
|
|
149
152
|
.mint-segmented-control__option--card.mint-segmented-control__option--md {
|
|
@@ -192,7 +195,7 @@
|
|
|
192
195
|
|
|
193
196
|
/* Description color in active state - use text-muted for card variant, primary for simple */
|
|
194
197
|
.mint-segmented-control__option--simple.mint-segmented-control__option--active .mint-segmented-control__description {
|
|
195
|
-
color: color-mix(in srgb,
|
|
198
|
+
color: color-mix(in srgb, var(--text-on-accent) 80%, transparent);
|
|
196
199
|
}
|
|
197
200
|
|
|
198
201
|
.mint-segmented-control__option--card.mint-segmented-control__option--active .mint-segmented-control__description {
|
|
@@ -46,21 +46,21 @@
|
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
.mint-select__control--sm {
|
|
49
|
-
padding: 0.
|
|
49
|
+
padding: 0.25rem 0.625rem;
|
|
50
50
|
padding-right: 2.5rem;
|
|
51
51
|
font-size: 0.8125rem;
|
|
52
52
|
min-height: var(--form-height-sm);
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
.mint-select__control--md {
|
|
56
|
-
padding: 0.
|
|
56
|
+
padding: 0.375rem 0.75rem;
|
|
57
57
|
padding-right: 2.5rem;
|
|
58
58
|
font-size: 0.875rem;
|
|
59
59
|
min-height: var(--form-height-md);
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
.mint-select__control--lg {
|
|
63
|
-
padding: 0.
|
|
63
|
+
padding: 0.5rem 1rem;
|
|
64
64
|
padding-right: 2.5rem;
|
|
65
65
|
font-size: 1rem;
|
|
66
66
|
min-height: var(--form-height-lg);
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
border: 1px solid var(--border-color);
|
|
8
8
|
background-color: var(--bg-secondary);
|
|
9
9
|
overflow: hidden;
|
|
10
|
-
transition: border-color
|
|
10
|
+
transition: border-color var(--mint-transition), box-shadow var(--mint-transition);
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
/* Dark --border-light equals --bg-card; row and band hairlines need --border-color there. */
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
background: transparent;
|
|
63
63
|
color: var(--text-secondary-strong);
|
|
64
64
|
cursor: pointer;
|
|
65
|
-
transition: background-color
|
|
65
|
+
transition: background-color var(--mint-transition), color var(--mint-transition);
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
.mint-sequence-input__tool-btn:focus-visible {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* SequenceProgressBar (6b): mono
|
|
1
|
+
/* SequenceProgressBar (6b): mono count only, no colored percent, no ETA pill.
|
|
2
2
|
The bar fill is --color-primary (ProgressBar). */
|
|
3
3
|
.mint-sequence-progress {
|
|
4
4
|
display: flex;
|
|
@@ -7,16 +7,20 @@
|
|
|
7
7
|
min-width: 0;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
+
/* Head and footer read as sans prose; only the count is a mono value. */
|
|
10
11
|
.mint-sequence-progress__header,
|
|
11
12
|
.mint-sequence-progress__footer {
|
|
12
13
|
display: flex;
|
|
13
14
|
align-items: baseline;
|
|
14
|
-
justify-content: space-between;
|
|
15
15
|
gap: 0.75rem;
|
|
16
16
|
min-width: 0;
|
|
17
|
-
font-family: var(--font-mono);
|
|
18
17
|
font-size: 0.75rem;
|
|
19
18
|
font-variant-numeric: tabular-nums;
|
|
19
|
+
color: var(--text-secondary);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.mint-sequence-progress__footer {
|
|
23
|
+
justify-content: space-between;
|
|
20
24
|
}
|
|
21
25
|
|
|
22
26
|
.mint-sequence-progress__label,
|
|
@@ -27,18 +31,23 @@
|
|
|
27
31
|
white-space: nowrap;
|
|
28
32
|
}
|
|
29
33
|
|
|
30
|
-
.mint-sequence-
|
|
31
|
-
|
|
34
|
+
.mint-sequence-progress__count {
|
|
35
|
+
font-family: var(--font-mono);
|
|
36
|
+
font-weight: 500;
|
|
32
37
|
color: var(--text-primary);
|
|
33
38
|
}
|
|
34
39
|
|
|
40
|
+
.mint-sequence-progress__failed {
|
|
41
|
+
flex: 0 0 auto;
|
|
42
|
+
color: var(--_ink-error);
|
|
43
|
+
}
|
|
44
|
+
|
|
35
45
|
.mint-sequence-progress__percent,
|
|
36
46
|
.mint-sequence-progress__eta {
|
|
37
47
|
flex: 0 0 auto;
|
|
38
48
|
white-space: nowrap;
|
|
39
49
|
}
|
|
40
50
|
|
|
41
|
-
.mint-sequence-
|
|
42
|
-
|
|
43
|
-
color: var(--text-secondary);
|
|
51
|
+
.mint-sequence-progress__percent {
|
|
52
|
+
margin-left: auto;
|
|
44
53
|
}
|
|
@@ -37,6 +37,12 @@
|
|
|
37
37
|
border-bottom-color: var(--border-color);
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
+
/* The pane ends after the last group's last row: no closing hairline there,
|
|
41
|
+
it would sit on the footer rule with nothing between them. */
|
|
42
|
+
.mint-settings-modal__group:last-of-type > .mint-settings-modal__group-grid > .mint-settings-modal__row:last-child {
|
|
43
|
+
border-bottom: none;
|
|
44
|
+
}
|
|
45
|
+
|
|
40
46
|
/* The field cell anchors the ↺ reset, which sits just left of the control (5d).
|
|
41
47
|
--_settings-control-w is the control's width; stacked fields (text, custom slots)
|
|
42
48
|
keep 0 and put the reset at the right end of their label line. */
|
|
@@ -655,10 +661,9 @@
|
|
|
655
661
|
.mint-settings-modal__density-preview {
|
|
656
662
|
--_density-row: 2.125rem;
|
|
657
663
|
|
|
664
|
+
/* A hairline table in the setting row, not a bordered box inside the modal. */
|
|
658
665
|
grid-column: 1 / -1;
|
|
659
666
|
overflow: hidden;
|
|
660
|
-
border: 1px solid var(--border-color);
|
|
661
|
-
border-radius: var(--radius-md);
|
|
662
667
|
font-size: 0.75rem;
|
|
663
668
|
}
|
|
664
669
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* ==========================================================================
|
|
2
2
|
Smart Group — Full View modal (auto "Field Recipe" + manual cohort modes).
|
|
3
3
|
Ported from the MINT design-system project; all values resolve against the
|
|
4
|
-
SDK token set in styles/variables.css.
|
|
4
|
+
SDK token set in styles/variables.css. --font-sans for UI, --font-mono for
|
|
5
5
|
sample identifiers (data). Group colors are --mint-sample-1…8 (3a).
|
|
6
6
|
========================================================================== */
|
|
7
7
|
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
border-radius: var(--radius);
|
|
50
50
|
color: var(--text-muted);
|
|
51
51
|
font-size: 1.25rem; line-height: 1;
|
|
52
|
-
transition: background
|
|
52
|
+
transition: background var(--mint-transition), color var(--mint-transition);
|
|
53
53
|
}
|
|
54
54
|
.sg-head__close:hover { background: var(--bg-hover); color: var(--text-primary); }
|
|
55
55
|
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
font: inherit; font-size: 0.8125rem; font-weight: 500;
|
|
64
64
|
color: var(--text-secondary);
|
|
65
65
|
padding: 0.25rem 0.625rem; border-radius: var(--radius);
|
|
66
|
-
transition: background
|
|
66
|
+
transition: background var(--mint-transition), color var(--mint-transition), box-shadow var(--mint-transition);
|
|
67
67
|
}
|
|
68
68
|
.sg-mode__btn:hover { color: var(--text-primary); }
|
|
69
69
|
.sg-mode__btn--on {
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
border: 1px solid var(--border-color);
|
|
139
139
|
border-radius: var(--radius-md);
|
|
140
140
|
background: var(--bg-card);
|
|
141
|
-
transition: border-color
|
|
141
|
+
transition: border-color var(--mint-transition), background var(--mint-transition);
|
|
142
142
|
}
|
|
143
143
|
.sg-field--on {
|
|
144
144
|
border-color: var(--color-primary);
|
|
@@ -177,7 +177,7 @@
|
|
|
177
177
|
.sg-group {
|
|
178
178
|
display: flex; align-items: center; gap: 0.625rem;
|
|
179
179
|
padding: 0.4375rem 0.5rem; border-radius: var(--radius);
|
|
180
|
-
transition: background
|
|
180
|
+
transition: background var(--mint-transition);
|
|
181
181
|
}
|
|
182
182
|
.sg-group:hover { background: var(--bg-hover); }
|
|
183
183
|
.sg-dot {
|
|
@@ -241,16 +241,16 @@
|
|
|
241
241
|
color: var(--color-primary); background: none; border: none;
|
|
242
242
|
cursor: pointer; display: inline-flex; align-items: center; gap: 0.375rem;
|
|
243
243
|
padding: 0.3125rem 0.5rem; border-radius: var(--radius); white-space: nowrap;
|
|
244
|
-
transition: background
|
|
244
|
+
transition: background var(--mint-transition), color var(--mint-transition);
|
|
245
245
|
}
|
|
246
246
|
.sg-foot__link:hover { background: var(--color-primary-soft); color: var(--_ink-primary); }
|
|
247
247
|
.sg-btn {
|
|
248
248
|
font: inherit; font-size: 0.875rem; font-weight: 500; cursor: pointer;
|
|
249
249
|
padding: 0.5rem 1rem; border-radius: var(--radius-md);
|
|
250
|
-
border: 1px solid transparent; transition: all
|
|
250
|
+
border: 1px solid transparent; transition: all var(--mint-transition);
|
|
251
251
|
display: inline-flex; align-items: center; gap: 0.4375rem;
|
|
252
252
|
}
|
|
253
|
-
.sg-btn--primary { background: var(--color-primary); color:
|
|
253
|
+
.sg-btn--primary { background: var(--color-primary); color: var(--text-on-accent); }
|
|
254
254
|
.sg-btn--primary:hover { background: var(--color-primary-hover); }
|
|
255
255
|
|
|
256
256
|
/* ==========================================================================
|
|
@@ -273,7 +273,7 @@
|
|
|
273
273
|
width: 1.25rem; height: 1.25rem; padding: 0; flex-shrink: 0;
|
|
274
274
|
border: none; border-radius: var(--radius-sm); background: none;
|
|
275
275
|
color: var(--text-muted); cursor: pointer;
|
|
276
|
-
transition: background
|
|
276
|
+
transition: background var(--mint-transition), color var(--mint-transition);
|
|
277
277
|
}
|
|
278
278
|
.fr-row__grip { cursor: grab; }
|
|
279
279
|
.fr-row__grip:hover,
|
|
@@ -404,7 +404,7 @@ html.dark .sg-summary code { background: rgba(255, 255, 255, 0.1); }
|
|
|
404
404
|
padding: 0.5rem 2rem 0.5rem 2.125rem;
|
|
405
405
|
border: 1px solid var(--border-color); border-radius: var(--radius-md);
|
|
406
406
|
background: var(--bg-tertiary); color: var(--text-primary); outline: none;
|
|
407
|
-
transition: border-color
|
|
407
|
+
transition: border-color var(--mint-transition), box-shadow var(--mint-transition);
|
|
408
408
|
}
|
|
409
409
|
.mg2-search input:focus {
|
|
410
410
|
border-color: var(--color-primary); background: var(--bg-secondary);
|
|
@@ -426,17 +426,17 @@ html.dark .sg-summary code { background: rgba(255, 255, 255, 0.1); }
|
|
|
426
426
|
padding: 0.3125rem 0.625rem; cursor: pointer;
|
|
427
427
|
background: var(--bg-secondary);
|
|
428
428
|
border: 1px solid var(--border-color); border-radius: 9999px;
|
|
429
|
-
transition: all
|
|
429
|
+
transition: all var(--mint-transition);
|
|
430
430
|
}
|
|
431
431
|
.mg2-chip:hover { border-color: var(--text-muted); }
|
|
432
432
|
.mg2-chip--on {
|
|
433
|
-
background: var(--color-primary); border-color: var(--color-primary); color:
|
|
433
|
+
background: var(--color-primary); border-color: var(--color-primary); color: var(--text-on-accent);
|
|
434
434
|
}
|
|
435
435
|
.mg2-chip__n {
|
|
436
436
|
font-variant-numeric: tabular-nums; font-weight: 600;
|
|
437
437
|
font-size: 0.6875rem; color: var(--text-muted);
|
|
438
438
|
}
|
|
439
|
-
.mg2-chip--on .mg2-chip__n { color:
|
|
439
|
+
.mg2-chip--on .mg2-chip__n { color: color-mix(in srgb, var(--text-on-accent) 80%, transparent); }
|
|
440
440
|
|
|
441
441
|
.mg2-selbar {
|
|
442
442
|
display: flex; align-items: center; gap: 0.5rem;
|
|
@@ -465,7 +465,7 @@ html.dark .sg-summary code { background: rgba(255, 255, 255, 0.1); }
|
|
|
465
465
|
.mg2-row {
|
|
466
466
|
display: flex; align-items: center; gap: 0.625rem;
|
|
467
467
|
padding: 0.4375rem 0.5rem; border-radius: var(--radius);
|
|
468
|
-
cursor: pointer; transition: background
|
|
468
|
+
cursor: pointer; transition: background var(--mint-transition);
|
|
469
469
|
}
|
|
470
470
|
.mg2-row:hover { background: var(--bg-hover); }
|
|
471
471
|
.mg2-row--on { background: var(--color-primary-soft); }
|
|
@@ -571,7 +571,7 @@ html.dark .sg-summary code { background: rgba(255, 255, 255, 0.1); }
|
|
|
571
571
|
font: inherit; font-size: 0.8125rem; color: var(--text-secondary);
|
|
572
572
|
padding: 0.5625rem 0.625rem; cursor: pointer; text-align: left; width: 100%;
|
|
573
573
|
border: 1px dashed var(--border-color); border-radius: var(--radius-md);
|
|
574
|
-
background: none; transition: all
|
|
574
|
+
background: none; transition: all var(--mint-transition);
|
|
575
575
|
}
|
|
576
576
|
.mg2-unassigned:hover { border-color: var(--text-muted); background: var(--bg-hover); }
|
|
577
577
|
.mg2-unassigned--on { border-style: solid; border-color: var(--color-primary); background: var(--color-primary-soft); }
|
|
@@ -587,7 +587,7 @@ html.dark .sg-summary code { background: rgba(255, 255, 255, 0.1); }
|
|
|
587
587
|
max-height: 0; opacity: 0;
|
|
588
588
|
border-top: 1px solid transparent;
|
|
589
589
|
background: linear-gradient(0deg, var(--color-primary-soft), var(--color-primary-soft)), var(--bg-secondary);
|
|
590
|
-
transition: max-height 0.22s cubic-bezier(0.2, 0.7, 0.3, 1), opacity
|
|
590
|
+
transition: max-height 0.22s cubic-bezier(0.2, 0.7, 0.3, 1), opacity var(--mint-transition), border-color var(--mint-transition);
|
|
591
591
|
}
|
|
592
592
|
.mg2-bar--open {
|
|
593
593
|
max-height: 160px; opacity: 1;
|
|
@@ -628,7 +628,7 @@ html.dark .sg-summary code { background: rgba(255, 255, 255, 0.1); }
|
|
|
628
628
|
.mg2-swatch {
|
|
629
629
|
width: 1.125rem; height: 1.125rem; border-radius: 9999px; cursor: pointer;
|
|
630
630
|
border: 2px solid transparent; box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.12);
|
|
631
|
-
transition: transform
|
|
631
|
+
transition: transform var(--mint-transition);
|
|
632
632
|
}
|
|
633
633
|
.mg2-swatch:hover { transform: scale(1.12); }
|
|
634
634
|
.mg2-swatch--on {
|
|
@@ -653,7 +653,7 @@ html.dark .sg-summary code { background: rgba(255, 255, 255, 0.1); }
|
|
|
653
653
|
color: var(--text-secondary); cursor: pointer;
|
|
654
654
|
padding: 0.25rem 0.5rem; border-radius: var(--radius);
|
|
655
655
|
background: var(--bg-secondary); border: 1px solid var(--border-color);
|
|
656
|
-
transition: background
|
|
656
|
+
transition: background var(--mint-transition), color var(--mint-transition), border-color var(--mint-transition);
|
|
657
657
|
}
|
|
658
658
|
.fr-upload:hover {
|
|
659
659
|
background: var(--bg-tertiary); color: var(--text-primary); border-color: var(--text-muted);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
.mint-wizard {
|
|
2
|
+
--_wizard-dot: 1.375rem;
|
|
2
3
|
display: flex;
|
|
3
4
|
flex-direction: column;
|
|
4
5
|
gap: 1.5rem;
|
|
@@ -26,7 +27,7 @@
|
|
|
26
27
|
|
|
27
28
|
.mint-wizard__step-connector {
|
|
28
29
|
flex: 1;
|
|
29
|
-
min-width:
|
|
30
|
+
min-width: 1rem;
|
|
30
31
|
height: 1px;
|
|
31
32
|
background-color: var(--border-color);
|
|
32
33
|
transition: background-color 150ms ease;
|
|
@@ -40,7 +41,7 @@
|
|
|
40
41
|
display: flex;
|
|
41
42
|
flex-shrink: 0;
|
|
42
43
|
align-items: center;
|
|
43
|
-
gap: 0.
|
|
44
|
+
gap: 0.5rem;
|
|
44
45
|
cursor: pointer;
|
|
45
46
|
}
|
|
46
47
|
|
|
@@ -50,15 +51,15 @@
|
|
|
50
51
|
}
|
|
51
52
|
|
|
52
53
|
.mint-wizard__step-dot {
|
|
53
|
-
width:
|
|
54
|
-
height:
|
|
54
|
+
width: var(--_wizard-dot);
|
|
55
|
+
height: var(--_wizard-dot);
|
|
55
56
|
flex-shrink: 0;
|
|
56
57
|
border-radius: 9999px;
|
|
57
58
|
display: flex;
|
|
58
59
|
align-items: center;
|
|
59
60
|
justify-content: center;
|
|
60
61
|
font-family: var(--font-mono);
|
|
61
|
-
font-size: 0.6875rem;
|
|
62
|
+
font-size: 0.6875rem; /* v2 draws 10px; 11px is the SDK floor (8d) */
|
|
62
63
|
font-weight: 600;
|
|
63
64
|
background-color: var(--bg-card);
|
|
64
65
|
color: var(--text-secondary);
|
|
@@ -72,46 +73,81 @@
|
|
|
72
73
|
}
|
|
73
74
|
|
|
74
75
|
/* Size variants for dot */
|
|
75
|
-
.mint-wizard--sm
|
|
76
|
-
|
|
77
|
-
|
|
76
|
+
.mint-wizard--sm {
|
|
77
|
+
--_wizard-dot: 1.125rem;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.mint-wizard--lg {
|
|
81
|
+
--_wizard-dot: 1.5rem;
|
|
78
82
|
}
|
|
79
83
|
|
|
80
84
|
.mint-wizard--lg .mint-wizard__step-dot {
|
|
81
|
-
width: 1.5rem;
|
|
82
|
-
height: 1.5rem;
|
|
83
85
|
font-size: 0.75rem;
|
|
84
86
|
}
|
|
85
87
|
|
|
86
88
|
.mint-wizard__step-indicator--active .mint-wizard__step-dot {
|
|
89
|
+
background-color: var(--color-primary-soft);
|
|
87
90
|
color: var(--_ink-primary);
|
|
88
|
-
box-shadow: inset 0 0 0
|
|
91
|
+
box-shadow: inset 0 0 0 2px var(--color-primary);
|
|
89
92
|
}
|
|
90
93
|
|
|
91
94
|
.mint-wizard__step-indicator--completed .mint-wizard__step-dot {
|
|
92
95
|
background-color: var(--color-primary);
|
|
93
|
-
color:
|
|
96
|
+
color: var(--text-on-accent);
|
|
94
97
|
box-shadow: inset 0 0 0 1.5px var(--color-primary);
|
|
95
98
|
}
|
|
96
99
|
|
|
97
100
|
.mint-wizard__step-label {
|
|
98
101
|
font-size: 0.8125rem;
|
|
99
|
-
|
|
102
|
+
font-weight: 500;
|
|
103
|
+
color: var(--text-muted);
|
|
100
104
|
white-space: nowrap;
|
|
101
105
|
}
|
|
102
106
|
|
|
103
107
|
.mint-wizard__step-indicator--active .mint-wizard__step-label {
|
|
104
108
|
color: var(--text-primary);
|
|
105
|
-
font-weight: 600;
|
|
106
109
|
}
|
|
107
110
|
|
|
108
111
|
.mint-wizard__step-indicator--completed .mint-wizard__step-label {
|
|
109
112
|
color: var(--text-secondary-strong);
|
|
110
113
|
}
|
|
111
114
|
|
|
112
|
-
/*
|
|
115
|
+
/* Vertical: the step rail sits beside the content and navigation. */
|
|
116
|
+
.mint-wizard--vertical {
|
|
117
|
+
display: grid;
|
|
118
|
+
grid-template-columns: auto minmax(0, 1fr);
|
|
119
|
+
grid-template-rows: minmax(0, 1fr) auto;
|
|
120
|
+
column-gap: 1.5rem;
|
|
121
|
+
row-gap: 1.5rem;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.mint-wizard--vertical .mint-wizard__progress {
|
|
125
|
+
grid-row: 1 / span 2;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.mint-wizard--vertical .mint-wizard__body,
|
|
129
|
+
.mint-wizard--vertical .mint-wizard__navigation {
|
|
130
|
+
grid-column: 2;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.mint-wizard--vertical .mint-wizard__steps-indicator {
|
|
134
|
+
flex-direction: column;
|
|
135
|
+
align-items: stretch;
|
|
136
|
+
gap: 0;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/* Connector runs through the dot centre. */
|
|
140
|
+
.mint-wizard--vertical .mint-wizard__step-connector {
|
|
141
|
+
flex: none;
|
|
142
|
+
width: 1px;
|
|
143
|
+
height: 1rem;
|
|
144
|
+
min-width: 0;
|
|
145
|
+
margin: 2px 0 2px calc(var(--_wizard-dot) / 2);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
/* Narrow horizontal widths keep only the current step's label. */
|
|
113
149
|
@media (max-width: 640px) {
|
|
114
|
-
.mint-wizard__step-indicator:not(.mint-wizard__step-indicator--active) .mint-wizard__step-label {
|
|
150
|
+
.mint-wizard:not(.mint-wizard--vertical) .mint-wizard__step-indicator:not(.mint-wizard__step-indicator--active) .mint-wizard__step-label {
|
|
115
151
|
display: none;
|
|
116
152
|
}
|
|
117
153
|
}
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
|
|
46
46
|
.mint-tabs--underline .mint-tab--active {
|
|
47
47
|
border-bottom-color: var(--color-primary);
|
|
48
|
-
color: var(--
|
|
48
|
+
color: var(--text-primary);
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
/* Tab content */
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
/* Mono count block */
|
|
69
69
|
.mint-tab__badge {
|
|
70
70
|
padding: 0.0625rem 0.25rem;
|
|
71
|
-
border-radius:
|
|
71
|
+
border-radius: var(--radius-sm);
|
|
72
72
|
background-color: var(--bg-tertiary);
|
|
73
73
|
color: var(--text-secondary);
|
|
74
74
|
font-family: var(--font-mono);
|