@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
|
/* BaseTextarea Component Styles */
|
|
2
2
|
|
|
3
|
-
.
|
|
3
|
+
.mint-textarea {
|
|
4
4
|
display: block;
|
|
5
5
|
width: 100%;
|
|
6
6
|
font-family: inherit;
|
|
@@ -17,31 +17,31 @@
|
|
|
17
17
|
box-sizing: border-box;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
.
|
|
20
|
+
.mint-textarea::placeholder {
|
|
21
21
|
color: var(--text-muted);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
.
|
|
24
|
+
.mint-textarea:hover:not(:focus-visible):not(.mint-textarea--disabled):not(.mint-textarea--error) {
|
|
25
25
|
border-color: var(--text-muted);
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
.
|
|
29
|
-
.
|
|
28
|
+
.mint-textarea:focus,
|
|
29
|
+
.mint-textarea:focus-visible {
|
|
30
30
|
border-color: var(--color-primary);
|
|
31
31
|
box-shadow: var(--focus-ring-soft);
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
.
|
|
34
|
+
.mint-textarea--error {
|
|
35
35
|
border-color: var(--mint-error);
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
.
|
|
39
|
-
.
|
|
38
|
+
.mint-textarea--error:focus,
|
|
39
|
+
.mint-textarea--error:focus-visible {
|
|
40
40
|
box-shadow: var(--focus-ring-soft-error);
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
.
|
|
44
|
-
.
|
|
43
|
+
.mint-textarea--disabled,
|
|
44
|
+
.mint-textarea:disabled {
|
|
45
45
|
background-color: var(--bg-tertiary);
|
|
46
46
|
color: var(--text-muted);
|
|
47
47
|
cursor: not-allowed;
|
|
@@ -50,33 +50,33 @@
|
|
|
50
50
|
|
|
51
51
|
/* Size variants — 1px optical padding shift (0.16+).
|
|
52
52
|
See CLAUDE.md § Optical Centering. */
|
|
53
|
-
.
|
|
53
|
+
.mint-textarea--sm {
|
|
54
54
|
padding: 0.3125rem 0.625rem 0.4375rem;
|
|
55
55
|
font-size: 0.8125rem;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
.
|
|
58
|
+
.mint-textarea--md {
|
|
59
59
|
padding: 0.4375rem 0.75rem 0.5625rem;
|
|
60
60
|
font-size: 0.875rem;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
.
|
|
63
|
+
.mint-textarea--lg {
|
|
64
64
|
padding: 0.6875rem 1rem 0.8125rem;
|
|
65
65
|
font-size: 1rem;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
.
|
|
68
|
+
.mint-textarea--resize-none {
|
|
69
69
|
resize: none;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
.
|
|
72
|
+
.mint-textarea--resize-vertical {
|
|
73
73
|
resize: vertical;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
.
|
|
76
|
+
.mint-textarea--resize-horizontal {
|
|
77
77
|
resize: horizontal;
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
.
|
|
80
|
+
.mint-textarea--resize-both {
|
|
81
81
|
resize: both;
|
|
82
82
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* ThemeToggle Component Styles */
|
|
2
2
|
|
|
3
|
-
.
|
|
3
|
+
.mint-theme-toggle {
|
|
4
4
|
display: inline-flex;
|
|
5
5
|
align-items: center;
|
|
6
6
|
justify-content: center;
|
|
@@ -16,54 +16,54 @@
|
|
|
16
16
|
transform: translateY(0);
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
.
|
|
19
|
+
.mint-theme-toggle:hover {
|
|
20
20
|
background-color: var(--bg-tertiary);
|
|
21
21
|
color: var(--text-primary);
|
|
22
22
|
transform: translateY(-1px);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
.
|
|
25
|
+
.mint-theme-toggle:active {
|
|
26
26
|
transform: translateY(0);
|
|
27
27
|
transition-duration: 0.05s;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
.
|
|
30
|
+
.mint-theme-toggle:focus-visible {
|
|
31
31
|
outline: none;
|
|
32
32
|
box-shadow: var(--focus-ring);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
@media (prefers-reduced-motion: reduce) {
|
|
36
|
-
.
|
|
37
|
-
.
|
|
38
|
-
.
|
|
36
|
+
.mint-theme-toggle,
|
|
37
|
+
.mint-theme-toggle:hover,
|
|
38
|
+
.mint-theme-toggle:active {
|
|
39
39
|
transform: none;
|
|
40
40
|
transition: color 0.15s ease, background-color 0.15s ease;
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
.
|
|
44
|
+
.mint-theme-toggle--sm {
|
|
45
45
|
padding: 0.375rem;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
.
|
|
48
|
+
.mint-theme-toggle--md {
|
|
49
49
|
padding: 0.5rem;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
.
|
|
52
|
+
.mint-theme-toggle--lg {
|
|
53
53
|
padding: 0.75rem;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
.
|
|
56
|
+
.mint-theme-toggle__icon--sm {
|
|
57
57
|
width: 1rem;
|
|
58
58
|
height: 1rem;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
.
|
|
61
|
+
.mint-theme-toggle__icon--md {
|
|
62
62
|
width: 1.25rem;
|
|
63
63
|
height: 1.25rem;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
.
|
|
66
|
+
.mint-theme-toggle__icon--lg {
|
|
67
67
|
width: 1.5rem;
|
|
68
68
|
height: 1.5rem;
|
|
69
69
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/* TimePicker Component Styles */
|
|
2
2
|
|
|
3
|
-
.
|
|
3
|
+
.mint-time-picker {
|
|
4
4
|
position: relative;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
/* Input wrapper */
|
|
8
|
-
.
|
|
8
|
+
.mint-time-picker__input-wrapper {
|
|
9
9
|
position: relative;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
.
|
|
12
|
+
.mint-time-picker__input {
|
|
13
13
|
width: 100%;
|
|
14
14
|
border-radius: var(--radius-md);
|
|
15
15
|
border: 1px solid var(--border-color);
|
|
@@ -20,43 +20,43 @@
|
|
|
20
20
|
padding-right: 2.5rem;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
.
|
|
23
|
+
.mint-time-picker__input:focus-visible {
|
|
24
24
|
outline: none;
|
|
25
25
|
border-color: transparent;
|
|
26
26
|
box-shadow: var(--focus-ring);
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
.
|
|
29
|
+
.mint-time-picker__input--sm {
|
|
30
30
|
padding: 0.375rem 0.625rem;
|
|
31
31
|
font-size: 0.875rem;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
.
|
|
34
|
+
.mint-time-picker__input--md {
|
|
35
35
|
padding: 0.5rem 0.75rem;
|
|
36
36
|
font-size: 0.875rem;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
.
|
|
39
|
+
.mint-time-picker__input--lg {
|
|
40
40
|
padding: 0.75rem 1rem;
|
|
41
41
|
font-size: 1rem;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
.
|
|
44
|
+
.mint-time-picker__input--error {
|
|
45
45
|
border-color: var(--mint-error);
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
.
|
|
48
|
+
.mint-time-picker__input--error:focus-visible {
|
|
49
49
|
box-shadow: var(--focus-ring-error);
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
.
|
|
52
|
+
.mint-time-picker__input--disabled {
|
|
53
53
|
opacity: var(--mint-disabled-opacity);
|
|
54
54
|
cursor: not-allowed;
|
|
55
55
|
background-color: var(--bg-tertiary);
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
/* Clock icon */
|
|
59
|
-
.
|
|
59
|
+
.mint-time-picker__icon {
|
|
60
60
|
position: absolute;
|
|
61
61
|
top: 0;
|
|
62
62
|
bottom: 0;
|
|
@@ -67,14 +67,14 @@
|
|
|
67
67
|
pointer-events: none;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
.
|
|
70
|
+
.mint-time-picker__icon svg {
|
|
71
71
|
width: 1rem;
|
|
72
72
|
height: 1rem;
|
|
73
73
|
color: var(--text-muted);
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
/* Clear button */
|
|
77
|
-
.
|
|
77
|
+
.mint-time-picker__clear-btn {
|
|
78
78
|
position: absolute;
|
|
79
79
|
top: 0;
|
|
80
80
|
bottom: 0;
|
|
@@ -89,17 +89,17 @@
|
|
|
89
89
|
transition: color 0.15s ease;
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
.
|
|
92
|
+
.mint-time-picker__clear-btn:hover {
|
|
93
93
|
color: var(--text-primary);
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
.
|
|
96
|
+
.mint-time-picker__clear-btn svg {
|
|
97
97
|
width: 0.875rem;
|
|
98
98
|
height: 0.875rem;
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
/* Dropdown */
|
|
102
|
-
.
|
|
102
|
+
.mint-time-picker__dropdown {
|
|
103
103
|
position: absolute;
|
|
104
104
|
z-index: 50;
|
|
105
105
|
margin-top: 0.25rem;
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
/* Slot list */
|
|
116
|
-
.
|
|
116
|
+
.mint-time-picker__list {
|
|
117
117
|
max-height: 16rem;
|
|
118
118
|
overflow-y: auto;
|
|
119
119
|
padding: 0.25rem 0;
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
/* Individual time slot */
|
|
125
|
-
.
|
|
125
|
+
.mint-time-picker__slot {
|
|
126
126
|
padding: 0.375rem 0.75rem;
|
|
127
127
|
font-size: 0.875rem;
|
|
128
128
|
color: var(--text-primary);
|
|
@@ -131,41 +131,41 @@
|
|
|
131
131
|
white-space: nowrap;
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
-
.
|
|
134
|
+
.mint-time-picker__slot:hover:not(.mint-time-picker__slot--disabled):not(.mint-time-picker__slot--active) {
|
|
135
135
|
background-color: var(--bg-hover);
|
|
136
136
|
}
|
|
137
137
|
|
|
138
|
-
.
|
|
138
|
+
.mint-time-picker__slot--active {
|
|
139
139
|
background-color: var(--color-primary);
|
|
140
140
|
color: white;
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
-
.
|
|
143
|
+
.mint-time-picker__slot--disabled {
|
|
144
144
|
opacity: 0.3;
|
|
145
145
|
cursor: not-allowed;
|
|
146
146
|
}
|
|
147
147
|
|
|
148
|
-
.
|
|
148
|
+
.mint-time-picker__slot--highlighted {
|
|
149
149
|
background-color: var(--bg-hover);
|
|
150
150
|
}
|
|
151
151
|
|
|
152
152
|
/* Transition classes */
|
|
153
|
-
.
|
|
153
|
+
.mint-time-picker__dropdown-enter-active {
|
|
154
154
|
transition: opacity 0.1s ease-out, transform 0.1s ease-out;
|
|
155
155
|
}
|
|
156
156
|
|
|
157
|
-
.
|
|
157
|
+
.mint-time-picker__dropdown-leave-active {
|
|
158
158
|
transition: opacity 0.075s ease-in, transform 0.075s ease-in;
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
.
|
|
162
|
-
.
|
|
161
|
+
.mint-time-picker__dropdown-enter-from,
|
|
162
|
+
.mint-time-picker__dropdown-leave-to {
|
|
163
163
|
opacity: 0;
|
|
164
164
|
transform: scale(0.95);
|
|
165
165
|
}
|
|
166
166
|
|
|
167
|
-
.
|
|
168
|
-
.
|
|
167
|
+
.mint-time-picker__dropdown-enter-to,
|
|
168
|
+
.mint-time-picker__dropdown-leave-from {
|
|
169
169
|
opacity: 1;
|
|
170
170
|
transform: scale(1);
|
|
171
171
|
}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
/* TimeRangeInput Component Styles */
|
|
2
2
|
|
|
3
|
-
.
|
|
3
|
+
.mint-time-range {
|
|
4
4
|
display: flex;
|
|
5
5
|
align-items: center;
|
|
6
6
|
gap: 0.5rem;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
.
|
|
10
|
-
.
|
|
9
|
+
.mint-time-range__start,
|
|
10
|
+
.mint-time-range__end {
|
|
11
11
|
flex: 1;
|
|
12
12
|
min-width: 0;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
.
|
|
15
|
+
.mint-time-range__separator {
|
|
16
16
|
display: flex;
|
|
17
17
|
align-items: center;
|
|
18
18
|
gap: 0.5rem;
|
|
19
19
|
flex-shrink: 0;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
.
|
|
23
|
-
.
|
|
22
|
+
.mint-time-range__separator::before,
|
|
23
|
+
.mint-time-range__separator::after {
|
|
24
24
|
content: '';
|
|
25
25
|
display: block;
|
|
26
26
|
width: 1rem;
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
background-color: var(--border-color);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
.
|
|
31
|
+
.mint-time-range__duration {
|
|
32
32
|
font-size: 0.75rem;
|
|
33
33
|
color: var(--text-muted);
|
|
34
34
|
background-color: var(--bg-tertiary);
|
|
@@ -37,6 +37,6 @@
|
|
|
37
37
|
white-space: nowrap;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
.
|
|
40
|
+
.mint-time-range__duration--error {
|
|
41
41
|
color: var(--mint-error);
|
|
42
42
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* ToastNotification Component Styles */
|
|
2
2
|
|
|
3
|
-
.
|
|
3
|
+
.mint-toast__container {
|
|
4
4
|
position: fixed;
|
|
5
5
|
top: 1rem;
|
|
6
6
|
right: 1rem;
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
pointer-events: none;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
.
|
|
14
|
+
.mint-toast__item {
|
|
15
15
|
position: relative;
|
|
16
16
|
display: flex;
|
|
17
17
|
align-items: center;
|
|
@@ -29,24 +29,24 @@
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
/* Dark mode: near-black bg + white text — toast always contrasts with page */
|
|
32
|
-
html.dark .
|
|
32
|
+
html.dark .mint-toast__item {
|
|
33
33
|
background-color: #0F172A;
|
|
34
34
|
border-color: rgba(255, 255, 255, 0.08);
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
.
|
|
37
|
+
.mint-toast__icon {
|
|
38
38
|
width: 1rem;
|
|
39
39
|
height: 1rem;
|
|
40
40
|
flex-shrink: 0;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
/* In dark mode, shift icons to 400-level (lighter) for contrast against near-black */
|
|
44
|
-
html.dark .
|
|
45
|
-
html.dark .
|
|
46
|
-
html.dark .
|
|
47
|
-
html.dark .
|
|
44
|
+
html.dark .mint-toast__item--success .mint-toast__icon { color: #34D399 !important; }
|
|
45
|
+
html.dark .mint-toast__item--error .mint-toast__icon { color: #F87171 !important; }
|
|
46
|
+
html.dark .mint-toast__item--warning .mint-toast__icon { color: #FBBF24 !important; }
|
|
47
|
+
html.dark .mint-toast__item--info .mint-toast__icon { color: #60A5FA !important; }
|
|
48
48
|
|
|
49
|
-
.
|
|
49
|
+
.mint-toast__message {
|
|
50
50
|
font-size: 0.875rem;
|
|
51
51
|
color: var(--text-primary);
|
|
52
52
|
flex: 1;
|
|
@@ -54,35 +54,35 @@ html.dark .mld-toast__item--info .mld-toast__icon { color: #60A5FA !important
|
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
/* Light mode: keep semantic-colored message text (existing behavior) */
|
|
57
|
-
.
|
|
58
|
-
.
|
|
59
|
-
.
|
|
60
|
-
.
|
|
57
|
+
.mint-toast__item--success .mint-toast__message { color: var(--mint-success-hover); }
|
|
58
|
+
.mint-toast__item--error .mint-toast__message { color: var(--mint-error-hover); }
|
|
59
|
+
.mint-toast__item--warning .mint-toast__message { color: var(--mint-warning-hover); }
|
|
60
|
+
.mint-toast__item--info .mint-toast__message { color: var(--color-primary-hover); }
|
|
61
61
|
|
|
62
62
|
/* Dark mode: white text, accent stays on left stripe + icon */
|
|
63
|
-
html.dark .
|
|
63
|
+
html.dark .mint-toast__item .mint-toast__message {
|
|
64
64
|
color: #FFFFFF;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
/* TTL progress bar — shrinks 100% → 0 over duration */
|
|
68
|
-
.
|
|
68
|
+
.mint-toast__progress {
|
|
69
69
|
position: absolute;
|
|
70
70
|
left: 0;
|
|
71
71
|
bottom: 0;
|
|
72
72
|
height: 2px;
|
|
73
73
|
width: 100%;
|
|
74
74
|
transform-origin: left center;
|
|
75
|
-
animation:
|
|
75
|
+
animation: mint-toast-progress linear forwards;
|
|
76
76
|
/* animation-duration set inline via toast.duration */
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
@keyframes
|
|
79
|
+
@keyframes mint-toast-progress {
|
|
80
80
|
from { transform: scaleX(1); }
|
|
81
81
|
to { transform: scaleX(0); }
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
@media (prefers-reduced-motion: reduce) {
|
|
85
|
-
.
|
|
85
|
+
.mint-toast__progress { animation: none; opacity: 0.4; }
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
.toast-enter-active { transition: all 0.2s ease-out; }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* BaseToggle Component Styles */
|
|
2
2
|
|
|
3
|
-
.
|
|
3
|
+
.mint-toggle {
|
|
4
4
|
display: inline-flex;
|
|
5
5
|
align-items: center;
|
|
6
6
|
gap: 0.5rem;
|
|
@@ -8,28 +8,28 @@
|
|
|
8
8
|
user-select: none;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
.
|
|
11
|
+
.mint-toggle--reverse {
|
|
12
12
|
flex-direction: row-reverse;
|
|
13
13
|
justify-content: space-between;
|
|
14
14
|
width: 100%;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
/* Reverse label refinement for sidebar use */
|
|
18
|
-
.
|
|
18
|
+
.mint-toggle--reverse .mint-toggle__label {
|
|
19
19
|
font-weight: 500;
|
|
20
20
|
color: var(--text-secondary);
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
.
|
|
23
|
+
.mint-toggle--reverse .mint-toggle__label--sm {
|
|
24
24
|
font-size: 0.8125rem;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
.
|
|
27
|
+
.mint-toggle--disabled {
|
|
28
28
|
opacity: var(--mint-disabled-opacity);
|
|
29
29
|
cursor: not-allowed;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
.
|
|
32
|
+
.mint-toggle__track {
|
|
33
33
|
position: relative;
|
|
34
34
|
display: inline-block;
|
|
35
35
|
flex-shrink: 0;
|
|
@@ -43,43 +43,43 @@
|
|
|
43
43
|
transition: background-color 0.15s ease, box-shadow 0.15s ease;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
.
|
|
46
|
+
.mint-toggle__track--off {
|
|
47
47
|
background-color: var(--bg-tertiary);
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
.
|
|
50
|
+
.mint-toggle__track--on {
|
|
51
51
|
background-color: var(--color-primary);
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
.
|
|
54
|
+
.mint-toggle:not(.mint-toggle--disabled):hover .mint-toggle__track {
|
|
55
55
|
box-shadow: var(--shadow-sm);
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
.
|
|
58
|
+
.mint-toggle__track:focus {
|
|
59
59
|
outline: none;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
.
|
|
62
|
+
.mint-toggle__track:focus-visible {
|
|
63
63
|
box-shadow: var(--focus-ring-soft);
|
|
64
64
|
outline: none;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
.
|
|
67
|
+
.mint-toggle__track--sm {
|
|
68
68
|
width: 28px;
|
|
69
69
|
height: 16px;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
.
|
|
72
|
+
.mint-toggle__track--md {
|
|
73
73
|
width: 40px;
|
|
74
74
|
height: 22px;
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
-
.
|
|
77
|
+
.mint-toggle__track--lg {
|
|
78
78
|
width: 52px;
|
|
79
79
|
height: 28px;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
.
|
|
82
|
+
.mint-toggle__knob {
|
|
83
83
|
position: absolute;
|
|
84
84
|
top: 50%;
|
|
85
85
|
border-radius: 9999px;
|
|
@@ -89,58 +89,58 @@
|
|
|
89
89
|
pointer-events: none;
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
.
|
|
92
|
+
.mint-toggle__knob--sm {
|
|
93
93
|
width: 12px;
|
|
94
94
|
height: 12px;
|
|
95
95
|
margin-top: -6px;
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
.
|
|
98
|
+
.mint-toggle__knob--md {
|
|
99
99
|
width: 18px;
|
|
100
100
|
height: 18px;
|
|
101
101
|
margin-top: -9px;
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
.
|
|
104
|
+
.mint-toggle__knob--lg {
|
|
105
105
|
width: 24px;
|
|
106
106
|
height: 24px;
|
|
107
107
|
margin-top: -12px;
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
-
.
|
|
110
|
+
.mint-toggle__knob--off {
|
|
111
111
|
left: 2px;
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
-
.
|
|
114
|
+
.mint-toggle__knob--on-sm {
|
|
115
115
|
left: 14px;
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
.
|
|
118
|
+
.mint-toggle__knob--on-md {
|
|
119
119
|
left: 20px;
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
.
|
|
122
|
+
.mint-toggle__knob--on-lg {
|
|
123
123
|
left: 26px;
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
.
|
|
126
|
+
.mint-toggle__label {
|
|
127
127
|
color: var(--text-primary);
|
|
128
128
|
}
|
|
129
129
|
|
|
130
|
-
.
|
|
130
|
+
.mint-toggle__label--sm {
|
|
131
131
|
font-size: 0.875rem;
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
-
.
|
|
134
|
+
.mint-toggle__label--md {
|
|
135
135
|
font-size: 0.875rem;
|
|
136
136
|
}
|
|
137
137
|
|
|
138
|
-
.
|
|
138
|
+
.mint-toggle__label--lg {
|
|
139
139
|
font-size: 1rem;
|
|
140
140
|
}
|
|
141
141
|
|
|
142
142
|
@media (prefers-reduced-motion: reduce) {
|
|
143
|
-
.
|
|
143
|
+
.mint-toggle__knob {
|
|
144
144
|
transition: none;
|
|
145
145
|
}
|
|
146
146
|
}
|