@morscherlab/mint-sdk 1.0.0-alpha.8 → 1.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -15
- package/dist/{auth-BYmxZdJl.js → auth-DsI0rQ7_.js} +6 -6
- package/dist/auth-DsI0rQ7_.js.map +1 -0
- package/dist/components/index.js +2 -2
- package/dist/{components-CKf-UpGi.js → components-CzbQQPCb.js} +1429 -1429
- package/dist/components-CzbQQPCb.js.map +1 -0
- package/dist/composables/index.js +2 -2
- package/dist/composables/usePlatformContext.d.ts +3 -3
- package/dist/{composables-D0QfFzq1.js → composables-BXklV5ii.js} +3 -3
- package/dist/{composables-D0QfFzq1.js.map → composables-BXklV5ii.js.map} +1 -1
- package/dist/index.js +4 -4
- package/dist/install.d.ts +3 -3
- package/dist/install.js +5 -5
- package/dist/install.js.map +1 -1
- package/dist/stores/auth.d.ts +1 -1
- package/dist/stores/index.js +1 -1
- package/dist/stores/settings.d.ts +1 -1
- package/dist/styles.css +5388 -5388
- package/dist/types/platform.d.ts +1 -1
- package/dist/{useScheduleDrag-DAJueTbK.js → useScheduleDrag-CxBeqYcu.js} +331 -331
- package/dist/useScheduleDrag-CxBeqYcu.js.map +1 -0
- package/package.json +2 -2
- package/src/__tests__/components/AppLayout.test.ts +23 -23
- package/src/__tests__/components/AppSidebar.test.ts +29 -29
- package/src/__tests__/components/AppTopBar.test.ts +45 -45
- package/src/__tests__/components/BaseInput.test.ts +2 -2
- package/src/__tests__/components/BasePill.test.ts +37 -37
- package/src/__tests__/components/Calendar.test.ts +52 -52
- package/src/__tests__/components/CollapsibleCard.test.ts +81 -81
- package/src/__tests__/components/DataFrame.test.ts +80 -80
- package/src/__tests__/components/DropdownButton.test.ts +80 -80
- package/src/__tests__/composables/usePlatformContext.test.ts +1 -1
- package/src/components/AlertBox.story.vue +1 -1
- package/src/components/AlertBox.vue +14 -14
- package/src/components/AppAvatarMenu.vue +26 -26
- package/src/components/AppContainer.vue +3 -3
- package/src/components/AppLayout.vue +7 -7
- package/src/components/AppPageSelector.vue +30 -30
- package/src/components/AppPillNav.vue +10 -10
- package/src/components/AppPluginSwitcher.vue +31 -31
- package/src/components/AppSidebar.vue +8 -8
- package/src/components/AppTopBar.story.vue +7 -7
- package/src/components/AppTopBar.vue +102 -102
- package/src/components/AuditTrail.vue +19 -19
- package/src/components/AutoGroupModal.vue +76 -76
- package/src/components/Avatar.vue +6 -6
- package/src/components/BaseButton.vue +6 -6
- package/src/components/BaseCheckbox.vue +9 -9
- package/src/components/BaseInput.vue +4 -4
- package/src/components/BaseModal.story.vue +1 -1
- package/src/components/BaseModal.vue +14 -14
- package/src/components/BasePill.vue +9 -9
- package/src/components/BaseRadioGroup.vue +21 -21
- package/src/components/BaseSelect.vue +6 -6
- package/src/components/BaseSlider.vue +8 -8
- package/src/components/BaseTabs.vue +7 -7
- package/src/components/BaseTextarea.vue +5 -5
- package/src/components/BaseToggle.vue +10 -10
- package/src/components/BatchProgressList.vue +25 -25
- package/src/components/Breadcrumb.vue +8 -8
- package/src/components/Calendar.vue +19 -19
- package/src/components/ChartContainer.vue +9 -9
- package/src/components/ChemicalFormula.vue +7 -7
- package/src/components/CollapsibleCard.vue +20 -20
- package/src/components/ColorSlider.vue +6 -6
- package/src/components/ConcentrationInput.vue +12 -12
- package/src/components/ConfirmDialog.story.vue +1 -1
- package/src/components/ConfirmDialog.vue +7 -7
- package/src/components/DataFrame.vue +40 -40
- package/src/components/DatePicker.vue +29 -29
- package/src/components/DateTimePicker.vue +41 -41
- package/src/components/Divider.vue +9 -9
- package/src/components/DoseCalculator.vue +66 -66
- package/src/components/DropdownButton.vue +19 -19
- package/src/components/EmptyState.vue +9 -9
- package/src/components/ExperimentCodeBadge.vue +3 -3
- package/src/components/ExperimentDataViewer.vue +25 -25
- package/src/components/ExperimentPopover.vue +35 -35
- package/src/components/ExperimentSelectorModal.vue +40 -40
- package/src/components/ExperimentTimeline.vue +48 -48
- package/src/components/FileUploader.vue +31 -31
- package/src/components/FitPanel.vue +9 -9
- package/src/components/FormActions.vue +1 -1
- package/src/components/FormBuilder.vue +2 -2
- package/src/components/FormField.vue +7 -7
- package/src/components/FormSection.vue +7 -7
- package/src/components/FormulaInput.vue +10 -10
- package/src/components/GroupAssigner.vue +40 -40
- package/src/components/GroupingModal.vue +45 -45
- package/src/components/IconButton.vue +6 -6
- package/src/components/LoadingSpinner.vue +5 -5
- package/src/components/MoleculeInput.vue +21 -21
- package/src/components/MultiSelect.vue +13 -13
- package/src/components/NumberInput.vue +13 -13
- package/src/components/PlateMapEditor.vue +63 -63
- package/src/components/ProgressBar.vue +18 -18
- package/src/components/ProtocolStepEditor.vue +57 -57
- package/src/components/RackEditor.vue +28 -28
- package/src/components/ReagentEditor.vue +61 -61
- package/src/components/ReagentList.vue +49 -49
- package/src/components/ResourceCard.vue +28 -28
- package/src/components/SampleHierarchyTree.vue +13 -13
- package/src/components/SampleLegend.vue +12 -12
- package/src/components/SampleSelector.vue +104 -104
- package/src/components/ScheduleCalendar.vue +42 -42
- package/src/components/ScientificNumber.vue +11 -11
- package/src/components/SegmentedControl.vue +12 -12
- package/src/components/SequenceInput.vue +32 -32
- package/src/components/SettingsButton.vue +5 -5
- package/src/components/SettingsModal.vue +17 -17
- package/src/components/StatusIndicator.vue +5 -5
- package/src/components/StepWizard.vue +16 -16
- package/src/components/TagsInput.vue +20 -20
- package/src/components/ThemeToggle.vue +3 -3
- package/src/components/TimePicker.vue +21 -21
- package/src/components/TimeRangeInput.vue +5 -5
- package/src/components/ToastNotification.vue +8 -8
- package/src/components/Tooltip.vue +7 -7
- package/src/components/UnitInput.vue +12 -12
- package/src/components/WellEditPopup.vue +28 -28
- package/src/components/WellPlate.vue +37 -37
- package/src/composables/useAppExperiment.ts +1 -1
- package/src/composables/usePlatformContext.ts +16 -16
- package/src/composables/useProtocolTemplates.ts +1 -1
- package/src/install.ts +3 -3
- package/src/stores/auth.ts +3 -3
- package/src/stores/settings.ts +2 -2
- package/src/styles/components/alert-box.css +30 -30
- package/src/styles/components/app-avatar-menu.css +23 -23
- package/src/styles/components/app-container.css +6 -6
- package/src/styles/components/app-layout.css +15 -15
- package/src/styles/components/app-page-selector.css +26 -26
- package/src/styles/components/app-pill-nav.css +7 -7
- package/src/styles/components/app-plugin-switcher.css +27 -27
- package/src/styles/components/app-sidebar.css +24 -24
- package/src/styles/components/app-top-bar.css +65 -65
- package/src/styles/components/audit-trail.css +29 -29
- package/src/styles/components/auto-group-modal.css +91 -91
- package/src/styles/components/avatar.css +15 -15
- package/src/styles/components/batch-progress-list.css +40 -40
- package/src/styles/components/breadcrumb.css +8 -8
- package/src/styles/components/button.css +31 -31
- package/src/styles/components/calendar.css +27 -27
- package/src/styles/components/chart-container.css +9 -9
- package/src/styles/components/checkbox.css +20 -20
- package/src/styles/components/chemical-formula.css +8 -8
- package/src/styles/components/collapsible-card.css +35 -35
- package/src/styles/components/color-slider.css +8 -8
- package/src/styles/components/concentration-input.css +27 -27
- package/src/styles/components/confirm-dialog.css +32 -32
- package/src/styles/components/dataframe.css +66 -66
- package/src/styles/components/date-picker.css +40 -40
- package/src/styles/components/datetime-picker.css +37 -37
- package/src/styles/components/divider.css +13 -13
- package/src/styles/components/dose-calculator.css +43 -43
- package/src/styles/components/dropdown-button.css +46 -46
- package/src/styles/components/empty-state.css +44 -44
- package/src/styles/components/experiment-code-badge.css +8 -8
- package/src/styles/components/experiment-data-viewer.css +23 -23
- package/src/styles/components/experiment-popover.css +97 -97
- package/src/styles/components/experiment-selector-modal.css +39 -39
- package/src/styles/components/experiment-timeline.css +98 -98
- package/src/styles/components/file-uploader.css +44 -44
- package/src/styles/components/fit-panel.css +12 -12
- package/src/styles/components/form-builder.css +11 -11
- package/src/styles/components/form-field.css +7 -7
- package/src/styles/components/formula-input.css +17 -17
- package/src/styles/components/group-assigner.css +26 -26
- package/src/styles/components/grouping-modal.css +51 -51
- package/src/styles/components/icon-button.css +41 -41
- package/src/styles/components/input.css +13 -13
- package/src/styles/components/loading-spinner.css +12 -12
- package/src/styles/components/modal.css +69 -69
- package/src/styles/components/molecule-input.css +27 -27
- package/src/styles/components/multi-select.css +23 -23
- package/src/styles/components/number-input.css +32 -32
- package/src/styles/components/pill.css +37 -37
- package/src/styles/components/plate-map-editor.css +67 -67
- package/src/styles/components/progress-bar.css +41 -41
- package/src/styles/components/protocol-step-editor.css +63 -63
- package/src/styles/components/rack-editor.css +34 -34
- package/src/styles/components/radio-group.css +41 -41
- package/src/styles/components/reagent-editor.css +70 -70
- package/src/styles/components/reagent-list.css +65 -65
- package/src/styles/components/resource-card.css +52 -52
- package/src/styles/components/sample-hierarchy-tree.css +56 -56
- package/src/styles/components/sample-legend.css +37 -37
- package/src/styles/components/sample-selector.css +121 -121
- package/src/styles/components/schedule-calendar.css +67 -67
- package/src/styles/components/scientific-number.css +11 -11
- package/src/styles/components/segmented-control.css +33 -33
- package/src/styles/components/select.css +11 -11
- package/src/styles/components/sequence-input.css +29 -29
- package/src/styles/components/settings-button.css +16 -16
- package/src/styles/components/settings-modal.css +14 -14
- package/src/styles/components/skeleton.css +2 -2
- package/src/styles/components/slider.css +10 -10
- package/src/styles/components/status-indicator.css +12 -12
- package/src/styles/components/step-wizard.css +32 -32
- package/src/styles/components/tabs.css +16 -16
- package/src/styles/components/tags-input.css +46 -46
- package/src/styles/components/textarea.css +17 -17
- package/src/styles/components/theme-toggle.css +13 -13
- package/src/styles/components/time-picker.css +28 -28
- package/src/styles/components/time-range-input.css +8 -8
- package/src/styles/components/toast.css +18 -18
- package/src/styles/components/toggle.css +27 -27
- package/src/styles/components/tooltip.css +18 -18
- package/src/styles/components/unit-input.css +25 -25
- package/src/styles/components/well-edit-popup.css +32 -32
- package/src/styles/components/well-plate.css +49 -49
- package/src/styles/index.css +1 -1
- package/src/styles/variables.css +3 -3
- package/src/types/platform.ts +6 -6
- package/dist/auth-BYmxZdJl.js.map +0 -1
- package/dist/components-CKf-UpGi.js.map +0 -1
- package/dist/useScheduleDrag-DAJueTbK.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* AppTopBar - BEM-style naming for external package
|
|
1
|
+
/* AppTopBar - BEM-style naming for external package consumers */
|
|
2
2
|
|
|
3
3
|
/* Motion tokens — shared across AppTopBar subcomponents */
|
|
4
4
|
:root {
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
/* Base topbar styles */
|
|
9
|
-
.
|
|
9
|
+
.mint-topbar {
|
|
10
10
|
display: block;
|
|
11
11
|
width: 100%;
|
|
12
12
|
padding: 0.75rem 1rem;
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
/* Main container layout — relative so the center can anchor to viewport midline */
|
|
18
|
-
.
|
|
18
|
+
.mint-topbar__container {
|
|
19
19
|
display: flex;
|
|
20
20
|
align-items: center;
|
|
21
21
|
gap: 0.625rem;
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
/* New: brand container (flex-shrink: 0) */
|
|
27
|
-
.
|
|
27
|
+
.mint-topbar__brand {
|
|
28
28
|
display: flex;
|
|
29
29
|
align-items: center;
|
|
30
30
|
flex-shrink: 0;
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
/* Centered section — absolute so asymmetric left/right weight never shifts the
|
|
34
34
|
pill-nav off the topbar midline. Pointer-events: none lets the pill-nav
|
|
35
35
|
overlay the background while remaining interactive via its own children. */
|
|
36
|
-
.
|
|
36
|
+
.mint-topbar__center {
|
|
37
37
|
position: absolute;
|
|
38
38
|
left: 50%;
|
|
39
39
|
top: 50%;
|
|
@@ -44,12 +44,12 @@
|
|
|
44
44
|
z-index: 1;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
.
|
|
47
|
+
.mint-topbar__center > * {
|
|
48
48
|
pointer-events: auto;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
/*
|
|
52
|
-
.
|
|
51
|
+
/* Left content cluster */
|
|
52
|
+
.mint-topbar__left {
|
|
53
53
|
display: flex;
|
|
54
54
|
align-items: center;
|
|
55
55
|
gap: 0.75rem;
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
min-width: 0;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
.
|
|
60
|
+
.mint-topbar__right {
|
|
61
61
|
display: flex;
|
|
62
62
|
align-items: center;
|
|
63
63
|
gap: 0.375rem;
|
|
@@ -67,10 +67,10 @@
|
|
|
67
67
|
margin-left: auto;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
/*
|
|
70
|
+
/* Tabs render with the same pill-nav visual language as
|
|
71
71
|
AppPillNav — container pill with inset items that gain white background +
|
|
72
72
|
shadow when active. See app-pill-nav.css for the canonical treatment. */
|
|
73
|
-
.
|
|
73
|
+
.mint-topbar__tabs {
|
|
74
74
|
display: inline-flex;
|
|
75
75
|
align-items: center;
|
|
76
76
|
padding: 0.1875rem;
|
|
@@ -81,13 +81,13 @@
|
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
/* Logo styles */
|
|
84
|
-
.
|
|
84
|
+
.mint-topbar__logo {
|
|
85
85
|
display: flex;
|
|
86
86
|
align-items: center;
|
|
87
87
|
gap: 0.5rem;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
.
|
|
90
|
+
.mint-topbar__logo-icon {
|
|
91
91
|
width: 2rem;
|
|
92
92
|
height: 2rem;
|
|
93
93
|
background-color: var(--color-primary);
|
|
@@ -97,25 +97,25 @@
|
|
|
97
97
|
justify-content: center;
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
-
.
|
|
100
|
+
.mint-topbar__logo-text {
|
|
101
101
|
color: white;
|
|
102
102
|
font-weight: 700;
|
|
103
103
|
font-size: 0.875rem;
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
-
.
|
|
106
|
+
.mint-topbar__logo-svg {
|
|
107
107
|
width: 1.125rem;
|
|
108
108
|
height: 1.125rem;
|
|
109
109
|
color: white;
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
-
.
|
|
112
|
+
.mint-topbar__title-only {
|
|
113
113
|
font-weight: 600;
|
|
114
114
|
color: var(--text-primary);
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
/* Variant: card - inline card with margins and rounded corners */
|
|
118
|
-
.
|
|
118
|
+
.mint-topbar--card {
|
|
119
119
|
width: calc(100% - 2rem);
|
|
120
120
|
margin: 1rem 1rem 0 1rem;
|
|
121
121
|
border-radius: var(--radius-lg);
|
|
@@ -125,48 +125,48 @@
|
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
/* Variant: default - basic inline header */
|
|
128
|
-
.
|
|
128
|
+
.mint-topbar--default {
|
|
129
129
|
border-bottom: 1px solid var(--border-color);
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
-
.
|
|
132
|
+
.mint-topbar-home-link {
|
|
133
133
|
display: flex;
|
|
134
134
|
align-items: center;
|
|
135
135
|
text-decoration: none;
|
|
136
136
|
transition: opacity 0.15s ease;
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
.
|
|
139
|
+
.mint-topbar-home-link:hover {
|
|
140
140
|
opacity: 0.8;
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
-
.
|
|
143
|
+
.mint-topbar-title-group {
|
|
144
144
|
display: flex;
|
|
145
145
|
flex-direction: column;
|
|
146
146
|
gap: 0.125rem;
|
|
147
147
|
}
|
|
148
148
|
|
|
149
|
-
.
|
|
149
|
+
.mint-topbar-title {
|
|
150
150
|
font-weight: 600;
|
|
151
151
|
color: var(--text-primary);
|
|
152
152
|
font-size: 0.9375rem;
|
|
153
153
|
line-height: 1.25;
|
|
154
154
|
}
|
|
155
155
|
|
|
156
|
-
.
|
|
156
|
+
.mint-topbar-subtitle {
|
|
157
157
|
font-size: 0.75rem;
|
|
158
158
|
color: var(--text-secondary);
|
|
159
159
|
line-height: 1.25;
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
.
|
|
162
|
+
.mint-topbar-breadcrumb {
|
|
163
163
|
display: flex;
|
|
164
164
|
align-items: center;
|
|
165
165
|
gap: 0.5rem;
|
|
166
166
|
position: relative;
|
|
167
167
|
}
|
|
168
168
|
|
|
169
|
-
.
|
|
169
|
+
.mint-topbar-plugin-name {
|
|
170
170
|
display: flex;
|
|
171
171
|
align-items: center;
|
|
172
172
|
gap: 0.25rem;
|
|
@@ -181,38 +181,38 @@
|
|
|
181
181
|
transition: all 0.15s ease;
|
|
182
182
|
}
|
|
183
183
|
|
|
184
|
-
.
|
|
184
|
+
.mint-topbar-plugin-name:hover {
|
|
185
185
|
background: var(--bg-hover);
|
|
186
186
|
color: var(--text-primary);
|
|
187
187
|
}
|
|
188
188
|
|
|
189
|
-
.
|
|
189
|
+
.mint-topbar-plugin-name--static {
|
|
190
190
|
padding: 0.25rem 0.5rem;
|
|
191
191
|
color: var(--text-secondary);
|
|
192
192
|
font-weight: 500;
|
|
193
193
|
}
|
|
194
194
|
|
|
195
|
-
.
|
|
195
|
+
.mint-topbar-chevron {
|
|
196
196
|
transition: transform 0.15s ease;
|
|
197
197
|
}
|
|
198
198
|
|
|
199
|
-
.
|
|
199
|
+
.mint-topbar-chevron--open {
|
|
200
200
|
transform: rotate(180deg);
|
|
201
201
|
}
|
|
202
202
|
|
|
203
|
-
.
|
|
203
|
+
.mint-topbar-separator {
|
|
204
204
|
width: 1rem;
|
|
205
205
|
height: 1rem;
|
|
206
206
|
color: var(--text-muted);
|
|
207
207
|
flex-shrink: 0;
|
|
208
208
|
}
|
|
209
209
|
|
|
210
|
-
.
|
|
210
|
+
.mint-topbar-current-page {
|
|
211
211
|
font-weight: 600;
|
|
212
212
|
color: var(--text-primary);
|
|
213
213
|
}
|
|
214
214
|
|
|
215
|
-
.
|
|
215
|
+
.mint-topbar-dropdown {
|
|
216
216
|
position: absolute;
|
|
217
217
|
top: calc(100% + 0.5rem);
|
|
218
218
|
left: 0;
|
|
@@ -225,7 +225,7 @@
|
|
|
225
225
|
overflow: hidden;
|
|
226
226
|
}
|
|
227
227
|
|
|
228
|
-
.
|
|
228
|
+
.mint-topbar-dropdown-item {
|
|
229
229
|
display: flex;
|
|
230
230
|
flex-direction: column;
|
|
231
231
|
align-items: flex-start;
|
|
@@ -241,40 +241,40 @@
|
|
|
241
241
|
cursor: pointer;
|
|
242
242
|
}
|
|
243
243
|
|
|
244
|
-
.
|
|
244
|
+
.mint-topbar-dropdown-item:hover:not(.mint-topbar-dropdown-item--disabled) {
|
|
245
245
|
background: var(--bg-hover);
|
|
246
246
|
}
|
|
247
247
|
|
|
248
|
-
.
|
|
248
|
+
.mint-topbar-dropdown-item--active {
|
|
249
249
|
background: var(--color-primary-soft);
|
|
250
250
|
color: var(--color-primary);
|
|
251
251
|
}
|
|
252
252
|
|
|
253
|
-
.
|
|
253
|
+
.mint-topbar-dropdown-item--disabled {
|
|
254
254
|
opacity: var(--mint-disabled-opacity);
|
|
255
255
|
cursor: not-allowed;
|
|
256
256
|
}
|
|
257
257
|
|
|
258
|
-
.
|
|
258
|
+
.mint-topbar-dropdown-item__label {
|
|
259
259
|
font-weight: 500;
|
|
260
260
|
}
|
|
261
261
|
|
|
262
|
-
.
|
|
262
|
+
.mint-topbar-dropdown-item__description {
|
|
263
263
|
font-size: 0.75rem;
|
|
264
264
|
color: var(--text-muted);
|
|
265
265
|
margin-top: 0.125rem;
|
|
266
266
|
}
|
|
267
267
|
|
|
268
|
-
.
|
|
268
|
+
.mint-topbar-dropdown-item--active .mint-topbar-dropdown-item__description {
|
|
269
269
|
color: var(--color-primary);
|
|
270
270
|
opacity: 0.8;
|
|
271
271
|
}
|
|
272
272
|
|
|
273
|
-
.
|
|
273
|
+
.mint-topbar-tab-wrapper {
|
|
274
274
|
position: relative;
|
|
275
275
|
}
|
|
276
276
|
|
|
277
|
-
.
|
|
277
|
+
.mint-topbar-tab {
|
|
278
278
|
display: inline-flex;
|
|
279
279
|
align-items: center;
|
|
280
280
|
gap: 0.25rem;
|
|
@@ -295,11 +295,11 @@
|
|
|
295
295
|
box-shadow 220ms var(--mint-ease-out-quart, cubic-bezier(0.25, 1, 0.5, 1));
|
|
296
296
|
}
|
|
297
297
|
|
|
298
|
-
.
|
|
298
|
+
.mint-topbar-tab:hover:not(.mint-topbar-tab--disabled):not(.mint-topbar-tab--active) {
|
|
299
299
|
color: var(--text-primary);
|
|
300
300
|
}
|
|
301
301
|
|
|
302
|
-
.
|
|
302
|
+
.mint-topbar-tab--active {
|
|
303
303
|
color: var(--text-primary);
|
|
304
304
|
background: var(--bg-card);
|
|
305
305
|
box-shadow: var(--shadow-sm);
|
|
@@ -307,25 +307,25 @@
|
|
|
307
307
|
}
|
|
308
308
|
|
|
309
309
|
@media (prefers-reduced-motion: reduce) {
|
|
310
|
-
.
|
|
310
|
+
.mint-topbar-tab {
|
|
311
311
|
transition: none;
|
|
312
312
|
}
|
|
313
313
|
}
|
|
314
314
|
|
|
315
|
-
.
|
|
315
|
+
.mint-topbar-tab--disabled {
|
|
316
316
|
opacity: var(--mint-disabled-opacity);
|
|
317
317
|
cursor: not-allowed;
|
|
318
318
|
}
|
|
319
319
|
|
|
320
|
-
.
|
|
320
|
+
.mint-topbar-tab-chevron {
|
|
321
321
|
transition: transform 0.15s ease;
|
|
322
322
|
}
|
|
323
323
|
|
|
324
|
-
.
|
|
324
|
+
.mint-topbar-tab-chevron--open {
|
|
325
325
|
transform: rotate(180deg);
|
|
326
326
|
}
|
|
327
327
|
|
|
328
|
-
.
|
|
328
|
+
.mint-topbar-tab-dropdown {
|
|
329
329
|
position: absolute;
|
|
330
330
|
top: calc(100% + 0.5rem);
|
|
331
331
|
left: 50%;
|
|
@@ -340,7 +340,7 @@
|
|
|
340
340
|
}
|
|
341
341
|
|
|
342
342
|
/* New: generic icon button (notifications, etc.) */
|
|
343
|
-
.
|
|
343
|
+
.mint-topbar__icon-btn {
|
|
344
344
|
position: relative;
|
|
345
345
|
display: inline-flex;
|
|
346
346
|
align-items: center;
|
|
@@ -356,22 +356,22 @@
|
|
|
356
356
|
transition: background-color var(--mint-transition), color var(--mint-transition);
|
|
357
357
|
}
|
|
358
358
|
|
|
359
|
-
.
|
|
359
|
+
.mint-topbar__icon-btn:hover {
|
|
360
360
|
background: var(--bg-hover);
|
|
361
361
|
color: var(--text-primary);
|
|
362
362
|
}
|
|
363
363
|
|
|
364
|
-
.
|
|
364
|
+
.mint-topbar__icon-btn:focus-visible {
|
|
365
365
|
outline: none;
|
|
366
366
|
box-shadow: var(--focus-ring);
|
|
367
367
|
}
|
|
368
368
|
|
|
369
|
-
.
|
|
369
|
+
.mint-topbar__icon-btn-icon {
|
|
370
370
|
width: 1rem;
|
|
371
371
|
height: 1rem;
|
|
372
372
|
}
|
|
373
373
|
|
|
374
|
-
.
|
|
374
|
+
.mint-topbar__icon-btn-dot {
|
|
375
375
|
position: absolute;
|
|
376
376
|
top: 0.375rem;
|
|
377
377
|
right: 0.375rem;
|
|
@@ -384,7 +384,7 @@
|
|
|
384
384
|
}
|
|
385
385
|
|
|
386
386
|
/* Built-in settings gear button */
|
|
387
|
-
.
|
|
387
|
+
.mint-topbar__settings-btn {
|
|
388
388
|
display: inline-flex;
|
|
389
389
|
align-items: center;
|
|
390
390
|
justify-content: center;
|
|
@@ -397,18 +397,18 @@
|
|
|
397
397
|
transition: background-color 0.15s ease, color 0.15s ease;
|
|
398
398
|
}
|
|
399
399
|
|
|
400
|
-
.
|
|
400
|
+
.mint-topbar__settings-btn:hover {
|
|
401
401
|
background: var(--bg-hover);
|
|
402
402
|
color: var(--text-primary);
|
|
403
403
|
}
|
|
404
404
|
|
|
405
|
-
.
|
|
405
|
+
.mint-topbar__settings-icon {
|
|
406
406
|
width: 1.125rem;
|
|
407
407
|
height: 1.125rem;
|
|
408
408
|
}
|
|
409
409
|
|
|
410
410
|
/* Admin link button */
|
|
411
|
-
.
|
|
411
|
+
.mint-topbar__admin-btn {
|
|
412
412
|
display: inline-flex;
|
|
413
413
|
align-items: center;
|
|
414
414
|
justify-content: center;
|
|
@@ -422,17 +422,17 @@
|
|
|
422
422
|
transition: background-color 0.15s ease;
|
|
423
423
|
}
|
|
424
424
|
|
|
425
|
-
.
|
|
425
|
+
.mint-topbar__admin-btn:hover {
|
|
426
426
|
background: var(--color-primary-soft);
|
|
427
427
|
}
|
|
428
428
|
|
|
429
|
-
.
|
|
429
|
+
.mint-topbar__admin-icon {
|
|
430
430
|
width: 1.25rem;
|
|
431
431
|
height: 1.25rem;
|
|
432
432
|
}
|
|
433
433
|
|
|
434
434
|
/* Profile button */
|
|
435
|
-
.
|
|
435
|
+
.mint-topbar__profile-btn {
|
|
436
436
|
display: inline-flex;
|
|
437
437
|
align-items: center;
|
|
438
438
|
gap: 0.5rem;
|
|
@@ -444,11 +444,11 @@
|
|
|
444
444
|
transition: background-color 0.15s ease;
|
|
445
445
|
}
|
|
446
446
|
|
|
447
|
-
.
|
|
447
|
+
.mint-topbar__profile-btn:hover {
|
|
448
448
|
background: var(--bg-hover);
|
|
449
449
|
}
|
|
450
450
|
|
|
451
|
-
.
|
|
451
|
+
.mint-topbar__profile-avatar {
|
|
452
452
|
width: 1.75rem;
|
|
453
453
|
height: 1.75rem;
|
|
454
454
|
border-radius: 9999px;
|
|
@@ -462,7 +462,7 @@
|
|
|
462
462
|
flex-shrink: 0;
|
|
463
463
|
}
|
|
464
464
|
|
|
465
|
-
.
|
|
465
|
+
.mint-topbar__profile-name {
|
|
466
466
|
font-size: 0.875rem;
|
|
467
467
|
font-weight: 500;
|
|
468
468
|
color: var(--text-primary);
|
|
@@ -470,13 +470,13 @@
|
|
|
470
470
|
}
|
|
471
471
|
|
|
472
472
|
@media (max-width: 640px) {
|
|
473
|
-
.
|
|
473
|
+
.mint-topbar__profile-name {
|
|
474
474
|
display: none;
|
|
475
475
|
}
|
|
476
476
|
}
|
|
477
477
|
|
|
478
478
|
/* Standalone mode badge */
|
|
479
|
-
.
|
|
479
|
+
.mint-topbar__standalone-badge {
|
|
480
480
|
display: inline-flex;
|
|
481
481
|
align-items: center;
|
|
482
482
|
padding: 0.125rem 0.5rem;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/* AuditTrail Component Styles */
|
|
2
2
|
|
|
3
|
-
.
|
|
3
|
+
.mint-audit-trail {
|
|
4
4
|
position: relative;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
-
.
|
|
7
|
+
.mint-audit-trail__filters {
|
|
8
8
|
display: flex;
|
|
9
9
|
gap: 0.5rem;
|
|
10
10
|
margin-bottom: 1rem;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
.
|
|
13
|
+
.mint-audit-trail__filter-select {
|
|
14
14
|
padding: 0.375rem 0.625rem;
|
|
15
15
|
border-radius: var(--radius);
|
|
16
16
|
border: 1px solid var(--border-color);
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
font-size: 0.75rem;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
.
|
|
22
|
+
.mint-audit-trail__list {
|
|
23
23
|
position: relative;
|
|
24
24
|
padding-left: 1.5rem;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
.
|
|
27
|
+
.mint-audit-trail__line {
|
|
28
28
|
position: absolute;
|
|
29
29
|
left: 0.4375rem;
|
|
30
30
|
top: 0;
|
|
@@ -33,17 +33,17 @@
|
|
|
33
33
|
background-color: var(--border-color);
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
.
|
|
36
|
+
.mint-audit-trail__entry {
|
|
37
37
|
position: relative;
|
|
38
38
|
padding-bottom: 1.25rem;
|
|
39
39
|
cursor: pointer;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
.
|
|
42
|
+
.mint-audit-trail__entry:last-child {
|
|
43
43
|
padding-bottom: 0;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
.
|
|
46
|
+
.mint-audit-trail__dot {
|
|
47
47
|
position: absolute;
|
|
48
48
|
left: -1.5rem;
|
|
49
49
|
top: 0.25rem;
|
|
@@ -55,23 +55,23 @@
|
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
/* Dot colors by type */
|
|
58
|
-
.
|
|
59
|
-
.
|
|
60
|
-
.
|
|
61
|
-
.
|
|
58
|
+
.mint-audit-trail__entry--create .mint-audit-trail__dot { background-color: var(--mint-success); }
|
|
59
|
+
.mint-audit-trail__entry--update .mint-audit-trail__dot { background-color: var(--color-primary); }
|
|
60
|
+
.mint-audit-trail__entry--delete .mint-audit-trail__dot { background-color: var(--mint-error); }
|
|
61
|
+
.mint-audit-trail__entry--system .mint-audit-trail__dot { background-color: var(--text-muted); }
|
|
62
62
|
|
|
63
|
-
.
|
|
63
|
+
.mint-audit-trail__content {
|
|
64
64
|
/* entry content container */
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
.
|
|
67
|
+
.mint-audit-trail__header {
|
|
68
68
|
display: flex;
|
|
69
69
|
align-items: center;
|
|
70
70
|
gap: 0.5rem;
|
|
71
71
|
margin-bottom: 0.25rem;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
.
|
|
74
|
+
.mint-audit-trail__avatar {
|
|
75
75
|
width: 1.25rem;
|
|
76
76
|
height: 1.25rem;
|
|
77
77
|
border-radius: 9999px;
|
|
@@ -85,31 +85,31 @@
|
|
|
85
85
|
flex-shrink: 0;
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
.
|
|
88
|
+
.mint-audit-trail__user {
|
|
89
89
|
font-size: 0.75rem;
|
|
90
90
|
font-weight: 500;
|
|
91
91
|
color: var(--text-primary);
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
.
|
|
94
|
+
.mint-audit-trail__timestamp {
|
|
95
95
|
font-size: 0.6875rem;
|
|
96
96
|
color: var(--text-muted);
|
|
97
97
|
margin-left: auto;
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
-
.
|
|
100
|
+
.mint-audit-trail__action {
|
|
101
101
|
font-size: 0.8125rem;
|
|
102
102
|
color: var(--text-primary);
|
|
103
103
|
font-weight: 500;
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
-
.
|
|
106
|
+
.mint-audit-trail__detail {
|
|
107
107
|
font-size: 0.75rem;
|
|
108
108
|
color: var(--text-secondary);
|
|
109
109
|
margin-top: 0.125rem;
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
-
.
|
|
112
|
+
.mint-audit-trail__metadata {
|
|
113
113
|
margin-top: 0.375rem;
|
|
114
114
|
display: flex;
|
|
115
115
|
flex-wrap: wrap;
|
|
@@ -117,16 +117,16 @@
|
|
|
117
117
|
font-size: 0.6875rem;
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
.
|
|
120
|
+
.mint-audit-trail__metadata-item {
|
|
121
121
|
color: var(--text-secondary);
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
.
|
|
124
|
+
.mint-audit-trail__metadata-key {
|
|
125
125
|
color: var(--text-muted);
|
|
126
126
|
margin-right: 0.125rem;
|
|
127
127
|
}
|
|
128
128
|
|
|
129
|
-
.
|
|
129
|
+
.mint-audit-trail__empty {
|
|
130
130
|
text-align: center;
|
|
131
131
|
padding: 2rem;
|
|
132
132
|
color: var(--text-muted);
|
|
@@ -134,10 +134,10 @@
|
|
|
134
134
|
}
|
|
135
135
|
|
|
136
136
|
/* Size variants */
|
|
137
|
-
.
|
|
138
|
-
.
|
|
139
|
-
.
|
|
137
|
+
.mint-audit-trail--sm .mint-audit-trail__action { font-size: 0.75rem; }
|
|
138
|
+
.mint-audit-trail--sm .mint-audit-trail__detail { font-size: 0.6875rem; }
|
|
139
|
+
.mint-audit-trail--sm .mint-audit-trail__entry { padding-bottom: 0.75rem; }
|
|
140
140
|
|
|
141
|
-
.
|
|
142
|
-
.
|
|
143
|
-
.
|
|
141
|
+
.mint-audit-trail--lg .mint-audit-trail__action { font-size: 0.9375rem; }
|
|
142
|
+
.mint-audit-trail--lg .mint-audit-trail__detail { font-size: 0.8125rem; }
|
|
143
|
+
.mint-audit-trail--lg .mint-audit-trail__entry { padding-bottom: 1.5rem; }
|