@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.
- package/README.md +15 -15
- package/dist/{auth-BYmxZdJl.js → auth-DsI0rQ7_.js} +6 -6
- package/dist/auth-DsI0rQ7_.js.map +1 -0
- package/dist/components/index.js +2 -2
- package/dist/{components-CKf-UpGi.js → components-CzbQQPCb.js} +1429 -1429
- package/dist/components-CzbQQPCb.js.map +1 -0
- package/dist/composables/index.js +2 -2
- package/dist/composables/usePlatformContext.d.ts +3 -3
- package/dist/{composables-D0QfFzq1.js → composables-BXklV5ii.js} +3 -3
- package/dist/{composables-D0QfFzq1.js.map → composables-BXklV5ii.js.map} +1 -1
- package/dist/index.js +4 -4
- package/dist/install.d.ts +3 -3
- package/dist/install.js +5 -5
- package/dist/install.js.map +1 -1
- package/dist/stores/auth.d.ts +1 -1
- package/dist/stores/index.js +1 -1
- package/dist/stores/settings.d.ts +1 -1
- package/dist/styles.css +5388 -5388
- package/dist/types/platform.d.ts +1 -1
- package/dist/{useScheduleDrag-DAJueTbK.js → useScheduleDrag-CxBeqYcu.js} +331 -331
- package/dist/useScheduleDrag-CxBeqYcu.js.map +1 -0
- package/package.json +2 -2
- package/src/__tests__/components/AppLayout.test.ts +23 -23
- package/src/__tests__/components/AppSidebar.test.ts +29 -29
- package/src/__tests__/components/AppTopBar.test.ts +45 -45
- package/src/__tests__/components/BaseInput.test.ts +2 -2
- package/src/__tests__/components/BasePill.test.ts +37 -37
- package/src/__tests__/components/Calendar.test.ts +52 -52
- package/src/__tests__/components/CollapsibleCard.test.ts +81 -81
- package/src/__tests__/components/DataFrame.test.ts +80 -80
- package/src/__tests__/components/DropdownButton.test.ts +80 -80
- package/src/__tests__/composables/usePlatformContext.test.ts +1 -1
- package/src/components/AlertBox.story.vue +1 -1
- package/src/components/AlertBox.vue +14 -14
- package/src/components/AppAvatarMenu.vue +26 -26
- package/src/components/AppContainer.vue +3 -3
- package/src/components/AppLayout.vue +7 -7
- package/src/components/AppPageSelector.vue +30 -30
- package/src/components/AppPillNav.vue +10 -10
- package/src/components/AppPluginSwitcher.vue +31 -31
- package/src/components/AppSidebar.vue +8 -8
- package/src/components/AppTopBar.story.vue +7 -7
- package/src/components/AppTopBar.vue +102 -102
- package/src/components/AuditTrail.vue +19 -19
- package/src/components/AutoGroupModal.vue +76 -76
- package/src/components/Avatar.vue +6 -6
- package/src/components/BaseButton.vue +6 -6
- package/src/components/BaseCheckbox.vue +9 -9
- package/src/components/BaseInput.vue +4 -4
- package/src/components/BaseModal.story.vue +1 -1
- package/src/components/BaseModal.vue +14 -14
- package/src/components/BasePill.vue +9 -9
- package/src/components/BaseRadioGroup.vue +21 -21
- package/src/components/BaseSelect.vue +6 -6
- package/src/components/BaseSlider.vue +8 -8
- package/src/components/BaseTabs.vue +7 -7
- package/src/components/BaseTextarea.vue +5 -5
- package/src/components/BaseToggle.vue +10 -10
- package/src/components/BatchProgressList.vue +25 -25
- package/src/components/Breadcrumb.vue +8 -8
- package/src/components/Calendar.vue +19 -19
- package/src/components/ChartContainer.vue +9 -9
- package/src/components/ChemicalFormula.vue +7 -7
- package/src/components/CollapsibleCard.vue +20 -20
- package/src/components/ColorSlider.vue +6 -6
- package/src/components/ConcentrationInput.vue +12 -12
- package/src/components/ConfirmDialog.story.vue +1 -1
- package/src/components/ConfirmDialog.vue +7 -7
- package/src/components/DataFrame.vue +40 -40
- package/src/components/DatePicker.vue +29 -29
- package/src/components/DateTimePicker.vue +41 -41
- package/src/components/Divider.vue +9 -9
- package/src/components/DoseCalculator.vue +66 -66
- package/src/components/DropdownButton.vue +19 -19
- package/src/components/EmptyState.vue +9 -9
- package/src/components/ExperimentCodeBadge.vue +3 -3
- package/src/components/ExperimentDataViewer.vue +25 -25
- package/src/components/ExperimentPopover.vue +35 -35
- package/src/components/ExperimentSelectorModal.vue +40 -40
- package/src/components/ExperimentTimeline.vue +48 -48
- package/src/components/FileUploader.vue +31 -31
- package/src/components/FitPanel.vue +9 -9
- package/src/components/FormActions.vue +1 -1
- package/src/components/FormBuilder.vue +2 -2
- package/src/components/FormField.vue +7 -7
- package/src/components/FormSection.vue +7 -7
- package/src/components/FormulaInput.vue +10 -10
- package/src/components/GroupAssigner.vue +40 -40
- package/src/components/GroupingModal.vue +45 -45
- package/src/components/IconButton.vue +6 -6
- package/src/components/LoadingSpinner.vue +5 -5
- package/src/components/MoleculeInput.vue +21 -21
- package/src/components/MultiSelect.vue +13 -13
- package/src/components/NumberInput.vue +13 -13
- package/src/components/PlateMapEditor.vue +63 -63
- package/src/components/ProgressBar.vue +18 -18
- package/src/components/ProtocolStepEditor.vue +57 -57
- package/src/components/RackEditor.vue +28 -28
- package/src/components/ReagentEditor.vue +61 -61
- package/src/components/ReagentList.vue +49 -49
- package/src/components/ResourceCard.vue +28 -28
- package/src/components/SampleHierarchyTree.vue +13 -13
- package/src/components/SampleLegend.vue +12 -12
- package/src/components/SampleSelector.vue +104 -104
- package/src/components/ScheduleCalendar.vue +42 -42
- package/src/components/ScientificNumber.vue +11 -11
- package/src/components/SegmentedControl.vue +12 -12
- package/src/components/SequenceInput.vue +32 -32
- package/src/components/SettingsButton.vue +5 -5
- package/src/components/SettingsModal.vue +17 -17
- package/src/components/StatusIndicator.vue +5 -5
- package/src/components/StepWizard.vue +16 -16
- package/src/components/TagsInput.vue +20 -20
- package/src/components/ThemeToggle.vue +3 -3
- package/src/components/TimePicker.vue +21 -21
- package/src/components/TimeRangeInput.vue +5 -5
- package/src/components/ToastNotification.vue +8 -8
- package/src/components/Tooltip.vue +7 -7
- package/src/components/UnitInput.vue +12 -12
- package/src/components/WellEditPopup.vue +28 -28
- package/src/components/WellPlate.vue +37 -37
- package/src/composables/useAppExperiment.ts +1 -1
- package/src/composables/usePlatformContext.ts +16 -16
- package/src/composables/useProtocolTemplates.ts +1 -1
- package/src/install.ts +3 -3
- package/src/stores/auth.ts +3 -3
- package/src/stores/settings.ts +2 -2
- package/src/styles/components/alert-box.css +30 -30
- package/src/styles/components/app-avatar-menu.css +23 -23
- package/src/styles/components/app-container.css +6 -6
- package/src/styles/components/app-layout.css +15 -15
- package/src/styles/components/app-page-selector.css +26 -26
- package/src/styles/components/app-pill-nav.css +7 -7
- package/src/styles/components/app-plugin-switcher.css +27 -27
- package/src/styles/components/app-sidebar.css +24 -24
- package/src/styles/components/app-top-bar.css +65 -65
- package/src/styles/components/audit-trail.css +29 -29
- package/src/styles/components/auto-group-modal.css +91 -91
- package/src/styles/components/avatar.css +15 -15
- package/src/styles/components/batch-progress-list.css +40 -40
- package/src/styles/components/breadcrumb.css +8 -8
- package/src/styles/components/button.css +31 -31
- package/src/styles/components/calendar.css +27 -27
- package/src/styles/components/chart-container.css +9 -9
- package/src/styles/components/checkbox.css +20 -20
- package/src/styles/components/chemical-formula.css +8 -8
- package/src/styles/components/collapsible-card.css +35 -35
- package/src/styles/components/color-slider.css +8 -8
- package/src/styles/components/concentration-input.css +27 -27
- package/src/styles/components/confirm-dialog.css +32 -32
- package/src/styles/components/dataframe.css +66 -66
- package/src/styles/components/date-picker.css +40 -40
- package/src/styles/components/datetime-picker.css +37 -37
- package/src/styles/components/divider.css +13 -13
- package/src/styles/components/dose-calculator.css +43 -43
- package/src/styles/components/dropdown-button.css +46 -46
- package/src/styles/components/empty-state.css +44 -44
- package/src/styles/components/experiment-code-badge.css +8 -8
- package/src/styles/components/experiment-data-viewer.css +23 -23
- package/src/styles/components/experiment-popover.css +97 -97
- package/src/styles/components/experiment-selector-modal.css +39 -39
- package/src/styles/components/experiment-timeline.css +98 -98
- package/src/styles/components/file-uploader.css +44 -44
- package/src/styles/components/fit-panel.css +12 -12
- package/src/styles/components/form-builder.css +11 -11
- package/src/styles/components/form-field.css +7 -7
- package/src/styles/components/formula-input.css +17 -17
- package/src/styles/components/group-assigner.css +26 -26
- package/src/styles/components/grouping-modal.css +51 -51
- package/src/styles/components/icon-button.css +41 -41
- package/src/styles/components/input.css +13 -13
- package/src/styles/components/loading-spinner.css +12 -12
- package/src/styles/components/modal.css +69 -69
- package/src/styles/components/molecule-input.css +27 -27
- package/src/styles/components/multi-select.css +23 -23
- package/src/styles/components/number-input.css +32 -32
- package/src/styles/components/pill.css +37 -37
- package/src/styles/components/plate-map-editor.css +67 -67
- package/src/styles/components/progress-bar.css +41 -41
- package/src/styles/components/protocol-step-editor.css +63 -63
- package/src/styles/components/rack-editor.css +34 -34
- package/src/styles/components/radio-group.css +41 -41
- package/src/styles/components/reagent-editor.css +70 -70
- package/src/styles/components/reagent-list.css +65 -65
- package/src/styles/components/resource-card.css +52 -52
- package/src/styles/components/sample-hierarchy-tree.css +56 -56
- package/src/styles/components/sample-legend.css +37 -37
- package/src/styles/components/sample-selector.css +121 -121
- package/src/styles/components/schedule-calendar.css +67 -67
- package/src/styles/components/scientific-number.css +11 -11
- package/src/styles/components/segmented-control.css +33 -33
- package/src/styles/components/select.css +11 -11
- package/src/styles/components/sequence-input.css +29 -29
- package/src/styles/components/settings-button.css +16 -16
- package/src/styles/components/settings-modal.css +14 -14
- package/src/styles/components/skeleton.css +2 -2
- package/src/styles/components/slider.css +10 -10
- package/src/styles/components/status-indicator.css +12 -12
- package/src/styles/components/step-wizard.css +32 -32
- package/src/styles/components/tabs.css +16 -16
- package/src/styles/components/tags-input.css +46 -46
- package/src/styles/components/textarea.css +17 -17
- package/src/styles/components/theme-toggle.css +13 -13
- package/src/styles/components/time-picker.css +28 -28
- package/src/styles/components/time-range-input.css +8 -8
- package/src/styles/components/toast.css +18 -18
- package/src/styles/components/toggle.css +27 -27
- package/src/styles/components/tooltip.css +18 -18
- package/src/styles/components/unit-input.css +25 -25
- package/src/styles/components/well-edit-popup.css +32 -32
- package/src/styles/components/well-plate.css +49 -49
- package/src/styles/index.css +1 -1
- package/src/styles/variables.css +3 -3
- package/src/types/platform.ts +6 -6
- package/dist/auth-BYmxZdJl.js.map +0 -1
- package/dist/components-CKf-UpGi.js.map +0 -1
- package/dist/useScheduleDrag-DAJueTbK.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* AlertBox Component Styles */
|
|
2
2
|
|
|
3
|
-
.
|
|
3
|
+
.mint-alert {
|
|
4
4
|
display: flex;
|
|
5
5
|
align-items: center;
|
|
6
6
|
gap: 0.75rem;
|
|
@@ -9,43 +9,43 @@
|
|
|
9
9
|
border-radius: var(--radius-md);
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
.
|
|
12
|
+
.mint-alert--success {
|
|
13
13
|
background-color: var(--mint-success-bg);
|
|
14
14
|
border-color: var(--mint-success-border);
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
.
|
|
17
|
+
.mint-alert--error {
|
|
18
18
|
background-color: var(--mint-error-bg);
|
|
19
19
|
border-color: var(--mint-error-border);
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
.
|
|
22
|
+
.mint-alert--warning {
|
|
23
23
|
background-color: var(--mint-warning-bg);
|
|
24
24
|
border-color: var(--mint-warning-border);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
.
|
|
27
|
+
.mint-alert--info {
|
|
28
28
|
background-color: var(--mint-info-bg);
|
|
29
29
|
border-color: var(--mint-info-border);
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
.
|
|
32
|
+
.mint-alert__icon {
|
|
33
33
|
width: 1.125rem;
|
|
34
34
|
height: 1.125rem;
|
|
35
35
|
flex-shrink: 0;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
.
|
|
39
|
-
.
|
|
40
|
-
.
|
|
41
|
-
.
|
|
38
|
+
.mint-alert__icon--success { color: var(--mint-success-hover); }
|
|
39
|
+
.mint-alert__icon--error { color: var(--mint-error-hover); }
|
|
40
|
+
.mint-alert__icon--warning { color: var(--mint-warning-hover); }
|
|
41
|
+
.mint-alert__icon--info { color: var(--color-primary-hover); }
|
|
42
42
|
|
|
43
|
-
.
|
|
43
|
+
.mint-alert__content {
|
|
44
44
|
flex: 1;
|
|
45
45
|
min-width: 0;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
.
|
|
48
|
+
.mint-alert__title {
|
|
49
49
|
font-size: 0.875rem;
|
|
50
50
|
font-weight: 600;
|
|
51
51
|
color: var(--text-primary);
|
|
@@ -55,12 +55,12 @@
|
|
|
55
55
|
padding: 0 !important;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
.
|
|
59
|
-
.
|
|
60
|
-
.
|
|
61
|
-
.
|
|
58
|
+
.mint-alert--success .mint-alert__title { color: var(--mint-success-hover); }
|
|
59
|
+
.mint-alert--error .mint-alert__title { color: var(--mint-error-hover); }
|
|
60
|
+
.mint-alert--warning .mint-alert__title { color: var(--mint-warning-hover); }
|
|
61
|
+
.mint-alert--info .mint-alert__title { color: var(--color-primary-hover); }
|
|
62
62
|
|
|
63
|
-
.
|
|
63
|
+
.mint-alert__message {
|
|
64
64
|
font-size: 0.8125rem;
|
|
65
65
|
line-height: 1.5;
|
|
66
66
|
color: var(--text-secondary);
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
padding: 0 !important;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
.
|
|
72
|
+
.mint-alert__actions {
|
|
73
73
|
display: flex;
|
|
74
74
|
align-items: center;
|
|
75
75
|
gap: 0.5rem;
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
flex-shrink: 0;
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
.
|
|
80
|
+
.mint-alert__action-btn {
|
|
81
81
|
padding: 0.25rem 0.625rem;
|
|
82
82
|
font-size: 0.75rem;
|
|
83
83
|
font-weight: 500;
|
|
@@ -89,47 +89,47 @@
|
|
|
89
89
|
white-space: nowrap;
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
.
|
|
92
|
+
.mint-alert__action-btn--success {
|
|
93
93
|
color: var(--mint-success);
|
|
94
94
|
border-color: var(--mint-success);
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
-
.
|
|
97
|
+
.mint-alert__action-btn--success:hover {
|
|
98
98
|
background-color: var(--mint-success);
|
|
99
99
|
color: white;
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
.
|
|
102
|
+
.mint-alert__action-btn--error {
|
|
103
103
|
color: var(--mint-error);
|
|
104
104
|
border-color: var(--mint-error);
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
.
|
|
107
|
+
.mint-alert__action-btn--error:hover {
|
|
108
108
|
background-color: var(--mint-error);
|
|
109
109
|
color: white;
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
-
.
|
|
112
|
+
.mint-alert__action-btn--warning {
|
|
113
113
|
color: var(--mint-warning);
|
|
114
114
|
border-color: var(--mint-warning);
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
.
|
|
117
|
+
.mint-alert__action-btn--warning:hover {
|
|
118
118
|
background-color: var(--mint-warning);
|
|
119
119
|
color: white;
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
.
|
|
122
|
+
.mint-alert__action-btn--info {
|
|
123
123
|
color: var(--color-primary);
|
|
124
124
|
border-color: var(--color-primary);
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
-
.
|
|
127
|
+
.mint-alert__action-btn--info:hover {
|
|
128
128
|
background-color: var(--color-primary);
|
|
129
129
|
color: white;
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
-
.
|
|
132
|
+
.mint-alert__dismiss {
|
|
133
133
|
padding: 0.25rem;
|
|
134
134
|
border-radius: var(--radius-sm);
|
|
135
135
|
color: var(--text-muted);
|
|
@@ -139,12 +139,12 @@
|
|
|
139
139
|
transition: color 0.15s ease, background-color 0.15s ease;
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
.
|
|
142
|
+
.mint-alert__dismiss:hover {
|
|
143
143
|
color: var(--text-primary);
|
|
144
144
|
background-color: var(--bg-tertiary);
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
.
|
|
147
|
+
.mint-alert__dismiss-icon {
|
|
148
148
|
width: 0.875rem;
|
|
149
149
|
height: 0.875rem;
|
|
150
150
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/* AppAvatarMenu — avatar button + dropdown */
|
|
2
2
|
|
|
3
|
-
.
|
|
3
|
+
.mint-avatar-menu {
|
|
4
4
|
position: relative;
|
|
5
5
|
flex-shrink: 0;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
/* Pill trigger — avatar circle + username text on the right. Matches the
|
|
9
|
-
legacy `.
|
|
10
|
-
.
|
|
9
|
+
legacy `.mint-topbar__profile-btn` convention (GitHub/Linear-style). */
|
|
10
|
+
.mint-avatar-menu__trigger {
|
|
11
11
|
display: inline-flex;
|
|
12
12
|
align-items: center;
|
|
13
13
|
gap: 0.5rem;
|
|
@@ -20,18 +20,18 @@
|
|
|
20
20
|
transition: background-color 0.15s ease;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
.
|
|
24
|
-
.
|
|
23
|
+
.mint-avatar-menu__trigger:hover,
|
|
24
|
+
.mint-avatar-menu__trigger--open {
|
|
25
25
|
background: var(--bg-hover);
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
.
|
|
28
|
+
.mint-avatar-menu__trigger:focus-visible {
|
|
29
29
|
outline: none;
|
|
30
30
|
box-shadow: var(--focus-ring);
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
/* Gradient avatar chip inside the trigger */
|
|
34
|
-
.
|
|
34
|
+
.mint-avatar-menu__avatar {
|
|
35
35
|
width: 1.75rem;
|
|
36
36
|
height: 1.75rem;
|
|
37
37
|
border-radius: 9999px;
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
/* Username next to the avatar — hidden below 640px to preserve space */
|
|
49
|
-
.
|
|
49
|
+
.mint-avatar-menu__name {
|
|
50
50
|
font-size: 0.875rem;
|
|
51
51
|
font-weight: 500;
|
|
52
52
|
color: var(--text-primary);
|
|
@@ -54,16 +54,16 @@
|
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
@media (max-width: 640px) {
|
|
57
|
-
.
|
|
57
|
+
.mint-avatar-menu__name {
|
|
58
58
|
display: none;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
.
|
|
61
|
+
.mint-avatar-menu__trigger {
|
|
62
62
|
padding: 0.25rem;
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
.
|
|
66
|
+
.mint-avatar-menu__panel {
|
|
67
67
|
position: absolute;
|
|
68
68
|
top: calc(100% + 0.5rem);
|
|
69
69
|
right: 0;
|
|
@@ -76,20 +76,20 @@
|
|
|
76
76
|
z-index: 60;
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
.
|
|
79
|
+
.mint-avatar-menu__header {
|
|
80
80
|
padding: 0.5rem 0.625rem 0.625rem;
|
|
81
81
|
border-bottom: 1px solid var(--border-light);
|
|
82
82
|
margin-bottom: 0.25rem;
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
.
|
|
85
|
+
.mint-avatar-menu__user-name {
|
|
86
86
|
font-size: 0.78125rem;
|
|
87
87
|
font-weight: 600;
|
|
88
88
|
color: var(--text-primary);
|
|
89
89
|
line-height: 1.25;
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
.
|
|
92
|
+
.mint-avatar-menu__user-email {
|
|
93
93
|
font-size: 0.6875rem;
|
|
94
94
|
color: var(--text-secondary);
|
|
95
95
|
margin-top: 0.0625rem;
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
word-break: break-all;
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
-
.
|
|
100
|
+
.mint-avatar-menu__item {
|
|
101
101
|
display: flex;
|
|
102
102
|
align-items: center;
|
|
103
103
|
gap: 0.625rem;
|
|
@@ -115,40 +115,40 @@
|
|
|
115
115
|
transition: background-color var(--mint-transition);
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
.
|
|
118
|
+
.mint-avatar-menu__item:hover {
|
|
119
119
|
background: var(--bg-hover);
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
.
|
|
122
|
+
.mint-avatar-menu__item--danger {
|
|
123
123
|
color: var(--mint-error);
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
.
|
|
126
|
+
.mint-avatar-menu__item-icon {
|
|
127
127
|
display: grid;
|
|
128
128
|
place-items: center;
|
|
129
129
|
color: var(--text-secondary);
|
|
130
130
|
flex-shrink: 0;
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
.
|
|
133
|
+
.mint-avatar-menu__item-icon svg {
|
|
134
134
|
width: 0.8125rem;
|
|
135
135
|
height: 0.8125rem;
|
|
136
136
|
}
|
|
137
137
|
|
|
138
|
-
.
|
|
138
|
+
.mint-avatar-menu__item--danger .mint-avatar-menu__item-icon {
|
|
139
139
|
color: var(--mint-error);
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
.
|
|
142
|
+
.mint-avatar-menu__item-label {
|
|
143
143
|
flex: 1;
|
|
144
144
|
}
|
|
145
145
|
|
|
146
|
-
.
|
|
146
|
+
.mint-avatar-menu__item-right {
|
|
147
147
|
font-size: 0.6875rem;
|
|
148
148
|
color: var(--text-muted);
|
|
149
149
|
}
|
|
150
150
|
|
|
151
|
-
.
|
|
151
|
+
.mint-avatar-menu__divider {
|
|
152
152
|
height: 1px;
|
|
153
153
|
background: var(--border-light);
|
|
154
154
|
margin: 0.25rem 0;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* Base: shared by both roles */
|
|
2
|
-
.
|
|
2
|
+
.mint-container {
|
|
3
3
|
flex: 1;
|
|
4
4
|
min-height: 0;
|
|
5
5
|
min-width: 0;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
/* Card role (default — no direction prop) */
|
|
10
|
-
.
|
|
10
|
+
.mint-container--card {
|
|
11
11
|
border-radius: var(--radius-lg, 0.75rem);
|
|
12
12
|
box-shadow: var(--shadow-sm, 0 1px 2px rgba(0, 0, 0, 0.05));
|
|
13
13
|
border: 1px solid var(--border-color, var(--mint-border, #e5e7eb));
|
|
@@ -15,19 +15,19 @@
|
|
|
15
15
|
padding: 1rem;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
.
|
|
18
|
+
.mint-container--scrollable {
|
|
19
19
|
overflow-y: auto;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
/* Layout role (direction prop set) */
|
|
23
|
-
.
|
|
23
|
+
.mint-container--layout {
|
|
24
24
|
display: flex;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
.
|
|
27
|
+
.mint-container--row {
|
|
28
28
|
flex-direction: row;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
.
|
|
31
|
+
.mint-container--column {
|
|
32
32
|
flex-direction: column;
|
|
33
33
|
}
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
/* AppLayout Component Styles */
|
|
2
2
|
|
|
3
|
-
.
|
|
3
|
+
.mint-layout {
|
|
4
4
|
display: flex;
|
|
5
5
|
flex-direction: column;
|
|
6
6
|
height: 100vh;
|
|
7
7
|
overflow: hidden;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
.
|
|
10
|
+
.mint-layout__topbar {
|
|
11
11
|
flex-shrink: 0;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
.
|
|
14
|
+
.mint-layout__body {
|
|
15
15
|
display: flex;
|
|
16
16
|
flex: 1;
|
|
17
17
|
min-height: 0;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
.
|
|
20
|
+
.mint-layout--sidebar-right .mint-layout__body {
|
|
21
21
|
flex-direction: row-reverse;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
.
|
|
24
|
+
.mint-layout__sidebar {
|
|
25
25
|
flex-shrink: 0;
|
|
26
26
|
overflow: hidden;
|
|
27
27
|
max-width: 24rem;
|
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
/* Hide layout wrapper when inner sidebar is hidden (no panels for active view) */
|
|
33
|
-
.
|
|
33
|
+
.mint-layout__sidebar:has(.mint-sidebar--hidden) {
|
|
34
34
|
display: none;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
.
|
|
37
|
+
.mint-layout__main {
|
|
38
38
|
flex: 1;
|
|
39
39
|
min-width: 0;
|
|
40
40
|
min-height: 0;
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
/* Strip topbar card variant inside layout — layout handles containment */
|
|
47
|
-
.
|
|
47
|
+
.mint-layout .mint-topbar--card {
|
|
48
48
|
margin: 0;
|
|
49
49
|
width: 100%;
|
|
50
50
|
border-radius: 0;
|
|
@@ -54,23 +54,23 @@
|
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
/* Floating variant: all sections appear as separate cards on a background */
|
|
57
|
-
.
|
|
57
|
+
.mint-layout--floating {
|
|
58
58
|
background-color: var(--bg-primary, var(--mint-bg-primary, #f8fafc));
|
|
59
59
|
padding: 1rem;
|
|
60
60
|
gap: 1rem;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
.
|
|
63
|
+
.mint-layout--floating .mint-layout__topbar {
|
|
64
64
|
border-radius: var(--radius-lg, 0.75rem);
|
|
65
65
|
box-shadow: var(--shadow-sm, 0 1px 2px rgba(0, 0, 0, 0.05));
|
|
66
66
|
border: 1px solid var(--border-color, var(--mint-border, #e5e7eb));
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
.
|
|
69
|
+
.mint-layout--floating .mint-layout__body {
|
|
70
70
|
gap: 1rem;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
.
|
|
73
|
+
.mint-layout--floating .mint-layout__sidebar {
|
|
74
74
|
border-radius: var(--radius-lg, 0.75rem);
|
|
75
75
|
overflow: hidden;
|
|
76
76
|
box-shadow: var(--shadow-sm, 0 1px 2px rgba(0, 0, 0, 0.05));
|
|
@@ -78,17 +78,17 @@
|
|
|
78
78
|
background-color: var(--bg-secondary, var(--mint-bg-secondary, #f8f9fb));
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
-
.
|
|
81
|
+
.mint-layout--floating .mint-layout__main {
|
|
82
82
|
gap: 1rem;
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
/* In floating mode, inner components don't need borders since the wrapper provides them */
|
|
86
|
-
.
|
|
86
|
+
.mint-layout--floating .mint-sidebar {
|
|
87
87
|
border-right: none;
|
|
88
88
|
border-left: none;
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
-
.
|
|
91
|
+
.mint-layout--floating .mint-topbar {
|
|
92
92
|
border: none;
|
|
93
93
|
border-bottom: none;
|
|
94
94
|
margin: 0;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/* AppPageSelector — left-side page dropdown */
|
|
2
2
|
|
|
3
|
-
.
|
|
3
|
+
.mint-page-selector {
|
|
4
4
|
position: relative;
|
|
5
5
|
flex-shrink: 0;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
.
|
|
8
|
+
.mint-page-selector__trigger {
|
|
9
9
|
display: inline-flex;
|
|
10
10
|
align-items: center;
|
|
11
11
|
gap: 0.625rem;
|
|
@@ -28,32 +28,32 @@
|
|
|
28
28
|
transform: translateY(0);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
.
|
|
31
|
+
.mint-page-selector__trigger:hover:not(.mint-page-selector__trigger--open) {
|
|
32
32
|
background: var(--bg-hover);
|
|
33
33
|
box-shadow: var(--shadow-sm);
|
|
34
34
|
transform: translateY(-1px);
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
.
|
|
37
|
+
.mint-page-selector__trigger:active:not(.mint-page-selector__trigger--open) {
|
|
38
38
|
transform: translateY(0);
|
|
39
39
|
box-shadow: none;
|
|
40
40
|
transition-duration: 0.05s;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
@media (prefers-reduced-motion: reduce) {
|
|
44
|
-
.
|
|
45
|
-
.
|
|
46
|
-
.
|
|
44
|
+
.mint-page-selector__trigger,
|
|
45
|
+
.mint-page-selector__trigger:hover,
|
|
46
|
+
.mint-page-selector__trigger:active {
|
|
47
47
|
transform: none;
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
.
|
|
51
|
+
.mint-page-selector__trigger--open {
|
|
52
52
|
border-color: var(--color-primary);
|
|
53
53
|
box-shadow: 0 0 0 3px var(--color-primary-soft);
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
.
|
|
56
|
+
.mint-page-selector__icon {
|
|
57
57
|
width: 1.5rem;
|
|
58
58
|
height: 1.5rem;
|
|
59
59
|
border-radius: 0.375rem;
|
|
@@ -64,18 +64,18 @@
|
|
|
64
64
|
flex-shrink: 0;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
.
|
|
67
|
+
.mint-page-selector__icon svg {
|
|
68
68
|
width: 0.875rem;
|
|
69
69
|
height: 0.875rem;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
.
|
|
72
|
+
.mint-page-selector__icon-fallback {
|
|
73
73
|
font-size: 0.6875rem;
|
|
74
74
|
font-weight: 600;
|
|
75
75
|
font-family: var(--font-mono, ui-monospace, monospace);
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
.
|
|
78
|
+
.mint-page-selector__label {
|
|
79
79
|
flex: 1;
|
|
80
80
|
text-align: left;
|
|
81
81
|
white-space: nowrap;
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
text-overflow: ellipsis;
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
.
|
|
86
|
+
.mint-page-selector__chevron-wrap {
|
|
87
87
|
width: 1.625rem;
|
|
88
88
|
height: 1.625rem;
|
|
89
89
|
border-radius: 0.375rem;
|
|
@@ -94,17 +94,17 @@
|
|
|
94
94
|
flex-shrink: 0;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
-
.
|
|
97
|
+
.mint-page-selector__chevron {
|
|
98
98
|
width: 0.8125rem;
|
|
99
99
|
height: 0.8125rem;
|
|
100
100
|
transition: transform var(--mint-transition);
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
.
|
|
103
|
+
.mint-page-selector__chevron--open {
|
|
104
104
|
transform: rotate(180deg);
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
.
|
|
107
|
+
.mint-page-selector__menu {
|
|
108
108
|
position: absolute;
|
|
109
109
|
top: calc(100% + 0.375rem);
|
|
110
110
|
left: 0;
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
z-index: 50;
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
.
|
|
120
|
+
.mint-page-selector__menu-title {
|
|
121
121
|
padding: 0.375rem 0.625rem 0.5rem;
|
|
122
122
|
font-size: 0.625rem;
|
|
123
123
|
font-weight: 600;
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
color: var(--text-muted);
|
|
127
127
|
}
|
|
128
128
|
|
|
129
|
-
.
|
|
129
|
+
.mint-page-selector__item {
|
|
130
130
|
display: flex;
|
|
131
131
|
align-items: center;
|
|
132
132
|
gap: 0.625rem;
|
|
@@ -145,21 +145,21 @@
|
|
|
145
145
|
transition: background-color var(--mint-transition);
|
|
146
146
|
}
|
|
147
147
|
|
|
148
|
-
.
|
|
148
|
+
.mint-page-selector__item:hover:not(.mint-page-selector__item--disabled) {
|
|
149
149
|
background: var(--bg-hover);
|
|
150
150
|
}
|
|
151
151
|
|
|
152
|
-
.
|
|
152
|
+
.mint-page-selector__item--active {
|
|
153
153
|
background: var(--bg-tertiary);
|
|
154
154
|
font-weight: 600;
|
|
155
155
|
}
|
|
156
156
|
|
|
157
|
-
.
|
|
157
|
+
.mint-page-selector__item--disabled {
|
|
158
158
|
opacity: var(--mint-disabled-opacity);
|
|
159
159
|
cursor: not-allowed;
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
.
|
|
162
|
+
.mint-page-selector__item-icon {
|
|
163
163
|
width: 1.375rem;
|
|
164
164
|
height: 1.375rem;
|
|
165
165
|
border-radius: 0.3125rem;
|
|
@@ -170,21 +170,21 @@
|
|
|
170
170
|
flex-shrink: 0;
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
.
|
|
173
|
+
.mint-page-selector__item--active .mint-page-selector__item-icon {
|
|
174
174
|
background: var(--color-primary-soft);
|
|
175
175
|
color: var(--color-primary);
|
|
176
176
|
}
|
|
177
177
|
|
|
178
|
-
.
|
|
178
|
+
.mint-page-selector__item-icon svg {
|
|
179
179
|
width: 0.8125rem;
|
|
180
180
|
height: 0.8125rem;
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
-
.
|
|
183
|
+
.mint-page-selector__item-label {
|
|
184
184
|
flex: 1;
|
|
185
185
|
}
|
|
186
186
|
|
|
187
|
-
.
|
|
187
|
+
.mint-page-selector__item-hint {
|
|
188
188
|
font-size: 0.65625rem;
|
|
189
189
|
color: var(--text-muted);
|
|
190
190
|
white-space: nowrap;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* AppPillNav — centered top-level navigation pills */
|
|
2
2
|
|
|
3
|
-
.
|
|
3
|
+
.mint-pill-nav {
|
|
4
4
|
display: inline-flex;
|
|
5
5
|
padding: 0.1875rem;
|
|
6
6
|
border-radius: 9999px;
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
flex-shrink: 0;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
.
|
|
12
|
+
.mint-pill-nav__item {
|
|
13
13
|
display: inline-flex;
|
|
14
14
|
align-items: center;
|
|
15
15
|
border: 0;
|
|
@@ -30,28 +30,28 @@
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
@media (prefers-reduced-motion: reduce) {
|
|
33
|
-
.
|
|
33
|
+
.mint-pill-nav__item {
|
|
34
34
|
transition: none;
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
.
|
|
38
|
+
.mint-pill-nav__item:hover:not(.mint-pill-nav__item--active):not(.mint-pill-nav__item--disabled) {
|
|
39
39
|
color: var(--text-primary);
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
.
|
|
42
|
+
.mint-pill-nav__item--active {
|
|
43
43
|
color: var(--text-primary);
|
|
44
44
|
background: var(--bg-card);
|
|
45
45
|
box-shadow: var(--shadow-sm);
|
|
46
46
|
font-weight: 600;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
.
|
|
49
|
+
.mint-pill-nav__item--disabled {
|
|
50
50
|
opacity: var(--mint-disabled-opacity);
|
|
51
51
|
cursor: not-allowed;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
.
|
|
54
|
+
.mint-pill-nav__item:focus-visible {
|
|
55
55
|
outline: none;
|
|
56
56
|
box-shadow: var(--focus-ring);
|
|
57
57
|
}
|