@morscherlab/mint-sdk 1.0.0-beta.3 → 1.0.0-beta.5
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 +9 -2
- package/dist/__tests__/composables/experiment-utils.test.d.ts +1 -0
- package/dist/__tests__/composables/useApi.test.d.ts +1 -0
- package/dist/components/AppContainer.vue.d.ts +1 -1
- package/dist/components/AppLayout.vue.d.ts +20 -1
- package/dist/components/AppSidebar.vue.d.ts +57 -5
- package/dist/components/AppTopBar.vue.d.ts +7 -25
- package/dist/components/BioTemplateExperimentWorkspaceView.vue.d.ts +3 -1
- package/dist/components/BioTemplatePackWorkspaceView.vue.d.ts +1 -0
- package/dist/components/BioTemplatePresetWorkspaceView.vue.d.ts +5 -0
- package/dist/components/ComponentBindingRenderer.vue.d.ts +44 -0
- package/dist/components/ControlWorkspaceView.vue.d.ts +24 -7
- package/dist/components/DoseDesignWorkspaceView.vue.d.ts +149 -0
- package/dist/components/ExperimentTimeline.vue.d.ts +1 -1
- package/dist/components/FormBuilder.vue.d.ts +9 -9
- package/dist/components/PlateMapEditor.vue.d.ts +1 -1
- package/dist/components/PluginWorkspaceView.vue.d.ts +310 -0
- package/dist/components/SettingsModal.vue.d.ts +1 -1
- package/dist/components/WellPlate.vue.d.ts +2 -2
- package/dist/components/index.d.ts +3 -12
- package/dist/components/index.js +3 -3
- package/dist/components/{AppPageSelector.vue.d.ts → internal/AppTopBarPageSelectorInternal.vue.d.ts} +1 -1
- package/dist/components/{AppPillNav.vue.d.ts → internal/AppTopBarPillNavInternal.vue.d.ts} +3 -1
- package/dist/components/{CalendarGridPanel.vue.d.ts → internal/CalendarGridPanelInternal.vue.d.ts} +1 -1
- package/dist/components/internal/FormSectionRenderer.vue.d.ts +4 -4
- package/dist/components/{WellEditPopup.vue.d.ts → internal/WellEditPopupInternal.vue.d.ts} +1 -1
- package/dist/{components-D_Sr0adg.js → components-DihbSJjU.js} +5932 -5408
- package/dist/components-DihbSJjU.js.map +1 -0
- package/dist/composables/experiment-utils.d.ts +8 -0
- package/dist/composables/index.d.ts +5 -7
- package/dist/composables/index.js +4 -4
- package/dist/composables/useAppExperiment.d.ts +31 -2
- package/dist/composables/useBioTemplateComponents.d.ts +5 -3
- package/dist/composables/useBioTemplatePackWorkspace.d.ts +3 -2
- package/dist/composables/useBioTemplatePresetWorkspace.d.ts +6 -5
- package/dist/composables/useBioTemplateWorkspace.d.ts +5 -4
- package/dist/composables/useControlSchema.d.ts +43 -21
- package/dist/composables/usePluginClient.d.ts +5 -2
- package/dist/{composables-C3dpXQN5.js → composables-BcgZ6diz.js} +40 -28
- package/dist/composables-BcgZ6diz.js.map +1 -0
- package/dist/index.d.ts +5 -12
- package/dist/index.js +5 -5
- package/dist/install.js +2 -2
- package/dist/styles.css +5637 -5663
- package/dist/templates/adapters.d.ts +7 -1
- package/dist/templates/catalog.d.ts +5 -5
- package/dist/templates/componentBindings.d.ts +13 -0
- package/dist/templates/index.d.ts +5 -5
- package/dist/templates/index.js +2 -2
- package/dist/templates/presets.d.ts +4 -4
- package/dist/templates/types.d.ts +4 -1
- package/dist/{templates-50NPjaxL.js → templates-Cyt0Suwf.js} +322 -73
- package/dist/templates-Cyt0Suwf.js.map +1 -0
- package/dist/types/components.d.ts +6 -25
- package/dist/types/index.d.ts +1 -1
- package/dist/{useScheduleDrag-D4oWdh41.js → useExperimentData-CM6Y0u5L.js} +400 -357
- package/dist/useExperimentData-CM6Y0u5L.js.map +1 -0
- package/package.json +1 -1
- package/src/__tests__/components/ActionItem.test.ts +6 -6
- package/src/__tests__/components/AppLayout.test.ts +44 -0
- package/src/__tests__/components/AppSidebar.test.ts +130 -2
- package/src/__tests__/components/AppToastContainer.test.ts +0 -11
- package/src/__tests__/components/AppTopBar.test.ts +189 -120
- package/src/__tests__/components/{AppPageSelector.test.ts → AppTopBarPageSelector.test.ts} +8 -8
- package/src/__tests__/components/{AppPillNav.test.ts → AppTopBarPillNav.test.ts} +53 -6
- package/src/__tests__/components/BioTemplateExperimentWorkspaceView.test.ts +7 -1
- package/src/__tests__/components/BioTemplatePackWorkspaceView.test.ts +32 -1
- package/src/__tests__/components/BioTemplatePresetWorkspaceView.test.ts +48 -1
- package/src/__tests__/components/BioTemplateRenderer.test.ts +25 -0
- package/src/__tests__/components/CalendarGridPanel.test.ts +3 -3
- package/src/__tests__/components/ComponentBindingRenderer.test.ts +278 -0
- package/src/__tests__/components/ControlWorkspaceView.test.ts +134 -63
- package/src/__tests__/components/DateTimePicker.test.ts +2 -2
- package/src/__tests__/components/DoseDesignWorkspaceView.test.ts +185 -0
- package/src/__tests__/components/PluginWorkspaceView.test.ts +548 -0
- package/src/__tests__/composables/experiment-utils.test.ts +30 -0
- package/src/__tests__/composables/useApi.test.ts +30 -0
- package/src/__tests__/composables/useAppExperiment.test.ts +100 -1
- package/src/__tests__/composables/useBioTemplatePackWorkspace.test.ts +7 -4
- package/src/__tests__/composables/useBioTemplatePresetWorkspace.test.ts +7 -7
- package/src/__tests__/composables/useBioTemplateWorkspace.test.ts +6 -1
- package/src/__tests__/composables/useControlSchema.test.ts +151 -37
- package/src/__tests__/composables/usePluginClient.test.ts +99 -2
- package/src/__tests__/docs/frontendDocsCatalog.test.ts +120 -25
- package/src/__tests__/templates/templates.test.ts +56 -0
- package/src/components/AppAvatarMenu.vue +3 -3
- package/src/components/AppLayout.story.vue +39 -0
- package/src/components/AppLayout.vue +83 -2
- package/src/components/AppPluginSwitcher.vue +5 -5
- package/src/components/AppSidebar.story.vue +113 -5
- package/src/components/AppSidebar.vue +147 -27
- package/src/components/AppTopBar.story.vue +2 -5
- package/src/components/AppTopBar.vue +35 -425
- package/src/components/BioTemplateExperimentWorkspaceView.story.vue +2 -2
- package/src/components/BioTemplateExperimentWorkspaceView.vue +6 -0
- package/src/components/BioTemplatePackWorkspaceView.story.vue +4 -4
- package/src/components/BioTemplatePackWorkspaceView.vue +1 -0
- package/src/components/BioTemplatePresetWorkspaceView.story.vue +14 -2
- package/src/components/BioTemplatePresetWorkspaceView.vue +12 -3
- package/src/components/BioTemplateRenderer.story.vue +2 -2
- package/src/components/BioTemplateRenderer.vue +15 -227
- package/src/components/ComponentBindingRenderer.story.vue +87 -0
- package/src/components/ComponentBindingRenderer.vue +317 -0
- package/src/components/ControlWorkspaceView.story.vue +20 -9
- package/src/components/ControlWorkspaceView.vue +43 -12
- package/src/components/DatePicker.vue +2 -2
- package/src/components/DateTimePicker.vue +2 -2
- package/src/components/DoseDesignWorkspaceView.story.vue +77 -0
- package/src/components/DoseDesignWorkspaceView.vue +255 -0
- package/src/components/ExperimentPopover.story.vue +2 -2
- package/src/components/ExperimentPopover.vue +2 -6
- package/src/components/ExperimentSelectorModal.vue +6 -5
- package/src/components/FormBuilder.story.vue +190 -0
- package/src/components/PluginWorkspaceView.story.vue +334 -0
- package/src/components/PluginWorkspaceView.vue +708 -0
- package/src/components/SettingsModal.story.vue +87 -0
- package/src/components/WellPlate.vue +2 -2
- package/src/components/index.ts +3 -12
- package/src/components/{AppPageSelector.vue → internal/AppTopBarPageSelectorInternal.vue} +9 -9
- package/src/components/internal/AppTopBarPillNavInternal.vue +194 -0
- package/src/components/{CalendarGridPanel.vue → internal/CalendarGridPanelInternal.vue} +1 -1
- package/src/components/{WellEditPopup.vue → internal/WellEditPopupInternal.vue} +3 -3
- package/src/composables/experiment-utils.ts +26 -0
- package/src/composables/index.ts +21 -7
- package/src/composables/useApi.ts +9 -2
- package/src/composables/useAppExperiment.ts +85 -13
- package/src/composables/useBioTemplateComponents.ts +12 -0
- package/src/composables/useBioTemplatePackWorkspace.ts +6 -2
- package/src/composables/useBioTemplatePresetWorkspace.ts +10 -21
- package/src/composables/useBioTemplateWorkspace.ts +6 -4
- package/src/composables/useControlSchema.ts +157 -69
- package/src/composables/usePluginClient.ts +50 -9
- package/src/index.ts +6 -563
- package/src/styles/components/app-layout.css +82 -0
- package/src/styles/components/app-page-selector.css +1 -1
- package/src/styles/components/app-pill-nav.css +71 -1
- package/src/styles/components/app-sidebar.css +119 -0
- package/src/styles/components/app-top-bar.css +0 -235
- package/src/styles/components/experiment-popover.css +2 -2
- package/src/styles/index.css +0 -1
- package/src/templates/adapters.ts +193 -0
- package/src/templates/catalog.ts +5 -5
- package/src/templates/componentBindings.ts +90 -3
- package/src/templates/index.ts +10 -0
- package/src/templates/packs.ts +10 -1
- package/src/templates/presets.ts +14 -4
- package/src/templates/types.ts +4 -0
- package/src/types/components.ts +6 -31
- package/src/types/index.ts +2 -6
- package/dist/__tests__/composables/usePluginApi.test.d.ts +0 -13
- package/dist/components/FormFieldRenderer.vue.d.ts +0 -28
- package/dist/components/FormSection.vue.d.ts +0 -30
- package/dist/components/GroupingModal.vue.d.ts +0 -12
- package/dist/components/SettingsButton.vue.d.ts +0 -30
- package/dist/components/ToastNotification.vue.d.ts +0 -2
- package/dist/components-D_Sr0adg.js.map +0 -1
- package/dist/composables/usePluginApi.d.ts +0 -22
- package/dist/composables-C3dpXQN5.js.map +0 -1
- package/dist/templates-50NPjaxL.js.map +0 -1
- package/dist/useScheduleDrag-D4oWdh41.js.map +0 -1
- package/src/__tests__/components/FormCompatibility.test.ts +0 -94
- package/src/__tests__/components/GroupingModal.test.ts +0 -73
- package/src/__tests__/components/SettingsButton.test.ts +0 -44
- package/src/__tests__/composables/usePluginApi.test.ts +0 -81
- package/src/components/AppPillNav.vue +0 -71
- package/src/components/FormFieldRenderer.vue +0 -35
- package/src/components/FormSection.vue +0 -37
- package/src/components/GroupingModal.story.vue +0 -52
- package/src/components/GroupingModal.vue +0 -61
- package/src/components/SettingsButton.story.vue +0 -58
- package/src/components/SettingsButton.vue +0 -64
- package/src/components/ToastNotification.vue +0 -9
- package/src/composables/usePluginApi.ts +0 -32
- package/src/styles/components/settings-button.css +0 -31
- /package/dist/__tests__/components/{AppPageSelector.test.d.ts → AppTopBarPageSelector.test.d.ts} +0 -0
- /package/dist/__tests__/components/{AppPillNav.test.d.ts → AppTopBarPillNav.test.d.ts} +0 -0
- /package/dist/__tests__/components/{FormCompatibility.test.d.ts → ComponentBindingRenderer.test.d.ts} +0 -0
- /package/dist/__tests__/components/{GroupingModal.test.d.ts → DoseDesignWorkspaceView.test.d.ts} +0 -0
- /package/dist/__tests__/components/{SettingsButton.test.d.ts → PluginWorkspaceView.test.d.ts} +0 -0
- /package/dist/components/{ActionItem.vue.d.ts → internal/ActionItemInternal.vue.d.ts} +0 -0
- /package/src/components/{ActionItem.vue → internal/ActionItemInternal.vue} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*
|
|
1
|
+
/* AppTopBar pillNav — centered top-level navigation pills */
|
|
2
2
|
|
|
3
3
|
.mint-pill-nav {
|
|
4
4
|
display: inline-flex;
|
|
@@ -9,6 +9,11 @@
|
|
|
9
9
|
flex-shrink: 0;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
+
.mint-pill-nav__item-wrap {
|
|
13
|
+
position: relative;
|
|
14
|
+
display: inline-flex;
|
|
15
|
+
}
|
|
16
|
+
|
|
12
17
|
.mint-pill-nav__item {
|
|
13
18
|
display: inline-flex;
|
|
14
19
|
align-items: center;
|
|
@@ -61,3 +66,68 @@
|
|
|
61
66
|
height: 0.875rem;
|
|
62
67
|
flex-shrink: 0;
|
|
63
68
|
}
|
|
69
|
+
|
|
70
|
+
.mint-pill-nav__chevron {
|
|
71
|
+
width: 0.8125rem;
|
|
72
|
+
height: 0.8125rem;
|
|
73
|
+
flex-shrink: 0;
|
|
74
|
+
transition: transform 160ms ease;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.mint-pill-nav__chevron--open {
|
|
78
|
+
transform: rotate(180deg);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.mint-pill-nav__dropdown {
|
|
82
|
+
position: absolute;
|
|
83
|
+
top: calc(100% + 0.5rem);
|
|
84
|
+
left: 50%;
|
|
85
|
+
z-index: 45;
|
|
86
|
+
min-width: 18rem;
|
|
87
|
+
padding: 0.375rem;
|
|
88
|
+
border-radius: 0.75rem;
|
|
89
|
+
border: 1px solid var(--border-light);
|
|
90
|
+
background: var(--bg-card);
|
|
91
|
+
box-shadow: var(--shadow-lg);
|
|
92
|
+
transform: translateX(-50%);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.mint-pill-nav__dropdown-item {
|
|
96
|
+
display: flex;
|
|
97
|
+
align-items: baseline;
|
|
98
|
+
gap: 0.75rem;
|
|
99
|
+
width: 100%;
|
|
100
|
+
padding: 0.5rem 0.625rem;
|
|
101
|
+
border-radius: 0.5rem;
|
|
102
|
+
color: var(--text-secondary);
|
|
103
|
+
font-size: 0.8125rem;
|
|
104
|
+
text-decoration: none;
|
|
105
|
+
white-space: nowrap;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.mint-pill-nav__dropdown-item:hover:not(.mint-pill-nav__dropdown-item--disabled) {
|
|
109
|
+
color: var(--text-primary);
|
|
110
|
+
background: var(--bg-secondary);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.mint-pill-nav__dropdown-item--active {
|
|
114
|
+
color: var(--text-primary);
|
|
115
|
+
background: var(--bg-secondary);
|
|
116
|
+
font-weight: 600;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.mint-pill-nav__dropdown-item--disabled {
|
|
120
|
+
opacity: var(--mint-disabled-opacity);
|
|
121
|
+
cursor: not-allowed;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.mint-pill-nav__dropdown-label {
|
|
125
|
+
flex-shrink: 0;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.mint-pill-nav__dropdown-description {
|
|
129
|
+
margin-left: auto;
|
|
130
|
+
color: var(--text-muted);
|
|
131
|
+
font-size: 0.75rem;
|
|
132
|
+
font-weight: 400;
|
|
133
|
+
}
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
height: 100%;
|
|
7
7
|
overflow: hidden;
|
|
8
8
|
background-color: var(--bg-secondary);
|
|
9
|
+
transition: width 180ms ease;
|
|
9
10
|
}
|
|
10
11
|
|
|
11
12
|
.mint-sidebar--hidden {
|
|
@@ -40,10 +41,118 @@
|
|
|
40
41
|
border-right: 1px solid var(--border-color);
|
|
41
42
|
}
|
|
42
43
|
|
|
44
|
+
.mint-sidebar--analysis {
|
|
45
|
+
background-color: var(--bg-secondary);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.mint-sidebar--analysis .mint-sidebar__header {
|
|
49
|
+
padding: 1rem;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.mint-sidebar--analysis .mint-sidebar__sections {
|
|
53
|
+
padding: 0.75rem;
|
|
54
|
+
gap: 0.75rem;
|
|
55
|
+
}
|
|
56
|
+
|
|
43
57
|
/* Header / Footer slots */
|
|
44
58
|
.mint-sidebar__header {
|
|
45
59
|
padding: 0.75rem;
|
|
46
60
|
flex-shrink: 0;
|
|
61
|
+
display: flex;
|
|
62
|
+
align-items: center;
|
|
63
|
+
justify-content: space-between;
|
|
64
|
+
gap: 0.5rem;
|
|
65
|
+
border-bottom: 1px solid var(--border-color);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.mint-sidebar__heading {
|
|
69
|
+
min-width: 0;
|
|
70
|
+
display: flex;
|
|
71
|
+
flex: 1;
|
|
72
|
+
align-items: center;
|
|
73
|
+
gap: 0.5rem;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.mint-sidebar__heading-copy {
|
|
77
|
+
min-width: 0;
|
|
78
|
+
flex: 1;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.mint-sidebar__title {
|
|
82
|
+
margin: 0;
|
|
83
|
+
overflow: hidden;
|
|
84
|
+
color: var(--text-primary);
|
|
85
|
+
font-size: 0.9375rem;
|
|
86
|
+
font-weight: 650;
|
|
87
|
+
line-height: 1.25;
|
|
88
|
+
text-overflow: ellipsis;
|
|
89
|
+
white-space: nowrap;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.mint-sidebar__subtitle {
|
|
93
|
+
margin: 0.125rem 0 0;
|
|
94
|
+
overflow: hidden;
|
|
95
|
+
color: var(--text-muted);
|
|
96
|
+
font-size: 0.75rem;
|
|
97
|
+
line-height: 1.25;
|
|
98
|
+
text-overflow: ellipsis;
|
|
99
|
+
white-space: nowrap;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.mint-sidebar__badge {
|
|
103
|
+
flex-shrink: 0;
|
|
104
|
+
min-width: 1.375rem;
|
|
105
|
+
padding: 0.125rem 0.375rem;
|
|
106
|
+
border-radius: 9999px;
|
|
107
|
+
background: color-mix(in srgb, var(--color-cta) 14%, transparent);
|
|
108
|
+
color: var(--color-cta);
|
|
109
|
+
font-size: 0.6875rem;
|
|
110
|
+
font-weight: 700;
|
|
111
|
+
line-height: 1.1;
|
|
112
|
+
text-align: center;
|
|
113
|
+
font-variant-numeric: tabular-nums;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.mint-sidebar__collapse-button {
|
|
117
|
+
display: inline-flex;
|
|
118
|
+
align-items: center;
|
|
119
|
+
justify-content: center;
|
|
120
|
+
flex-shrink: 0;
|
|
121
|
+
width: 1.875rem;
|
|
122
|
+
height: 1.875rem;
|
|
123
|
+
border: 0;
|
|
124
|
+
border-radius: var(--radius-md);
|
|
125
|
+
color: var(--text-secondary);
|
|
126
|
+
background: transparent;
|
|
127
|
+
cursor: pointer;
|
|
128
|
+
transition:
|
|
129
|
+
color 160ms ease,
|
|
130
|
+
background-color 160ms ease;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.mint-sidebar__collapse-button:hover {
|
|
134
|
+
color: var(--text-primary);
|
|
135
|
+
background: var(--bg-tertiary);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.mint-sidebar__collapse-button:focus-visible {
|
|
139
|
+
outline: none;
|
|
140
|
+
box-shadow: var(--focus-ring);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.mint-sidebar__collapse-icon {
|
|
144
|
+
width: 1rem;
|
|
145
|
+
height: 1rem;
|
|
146
|
+
transition: transform 160ms ease;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.mint-sidebar__collapse-icon--collapsed {
|
|
150
|
+
transform: rotate(180deg);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.mint-sidebar--collapsed .mint-sidebar__header {
|
|
154
|
+
justify-content: center;
|
|
155
|
+
padding-inline: 0.5rem;
|
|
47
156
|
}
|
|
48
157
|
|
|
49
158
|
.mint-sidebar__footer {
|
|
@@ -63,6 +172,16 @@
|
|
|
63
172
|
gap: 0.5rem;
|
|
64
173
|
}
|
|
65
174
|
|
|
175
|
+
.mint-sidebar__collapsed {
|
|
176
|
+
flex: 1 1 0;
|
|
177
|
+
min-height: 0;
|
|
178
|
+
padding: 0.5rem;
|
|
179
|
+
display: flex;
|
|
180
|
+
flex-direction: column;
|
|
181
|
+
align-items: center;
|
|
182
|
+
gap: 0.5rem;
|
|
183
|
+
}
|
|
184
|
+
|
|
66
185
|
/* Dense sidebar variant — compact sections */
|
|
67
186
|
.mint-sidebar--dense .mint-sidebar__sections {
|
|
68
187
|
padding: 0.5rem;
|
|
@@ -48,15 +48,6 @@
|
|
|
48
48
|
pointer-events: auto;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
/* Left content cluster */
|
|
52
|
-
.mint-topbar__left {
|
|
53
|
-
display: flex;
|
|
54
|
-
align-items: center;
|
|
55
|
-
gap: 0.75rem;
|
|
56
|
-
flex: 1;
|
|
57
|
-
min-width: 0;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
51
|
.mint-topbar__right {
|
|
61
52
|
display: flex;
|
|
62
53
|
align-items: center;
|
|
@@ -67,19 +58,6 @@
|
|
|
67
58
|
margin-left: auto;
|
|
68
59
|
}
|
|
69
60
|
|
|
70
|
-
/* Tabs render with the same pill-nav visual language as
|
|
71
|
-
AppPillNav — container pill with inset items that gain white background +
|
|
72
|
-
shadow when active. See app-pill-nav.css for the canonical treatment. */
|
|
73
|
-
.mint-topbar__tabs {
|
|
74
|
-
display: inline-flex;
|
|
75
|
-
align-items: center;
|
|
76
|
-
padding: 0.1875rem;
|
|
77
|
-
border-radius: 9999px;
|
|
78
|
-
background: var(--bg-tertiary);
|
|
79
|
-
border: 1px solid var(--border-light);
|
|
80
|
-
flex-shrink: 0;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
61
|
/* Logo styles */
|
|
84
62
|
.mint-topbar__logo {
|
|
85
63
|
display: flex;
|
|
@@ -159,219 +137,6 @@
|
|
|
159
137
|
line-height: 1.25;
|
|
160
138
|
}
|
|
161
139
|
|
|
162
|
-
.mint-topbar-breadcrumb {
|
|
163
|
-
display: flex;
|
|
164
|
-
align-items: center;
|
|
165
|
-
gap: 0.5rem;
|
|
166
|
-
position: relative;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
.mint-topbar-plugin-name {
|
|
170
|
-
display: flex;
|
|
171
|
-
align-items: center;
|
|
172
|
-
gap: 0.25rem;
|
|
173
|
-
padding: 0.25rem 0.5rem;
|
|
174
|
-
border: none;
|
|
175
|
-
background: transparent;
|
|
176
|
-
border-radius: var(--radius-sm);
|
|
177
|
-
color: var(--text-secondary);
|
|
178
|
-
font-weight: 500;
|
|
179
|
-
font-size: inherit;
|
|
180
|
-
cursor: pointer;
|
|
181
|
-
transition: all 0.15s ease;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
.mint-topbar-plugin-name:hover {
|
|
185
|
-
background: var(--bg-hover);
|
|
186
|
-
color: var(--text-primary);
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
.mint-topbar-plugin-name--static {
|
|
190
|
-
padding: 0.25rem 0.5rem;
|
|
191
|
-
color: var(--text-secondary);
|
|
192
|
-
font-weight: 500;
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
.mint-topbar-chevron {
|
|
196
|
-
transition: transform 0.15s ease;
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
.mint-topbar-chevron--open {
|
|
200
|
-
transform: rotate(180deg);
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
.mint-topbar-separator {
|
|
204
|
-
width: 1rem;
|
|
205
|
-
height: 1rem;
|
|
206
|
-
color: var(--text-muted);
|
|
207
|
-
flex-shrink: 0;
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
.mint-topbar-current-page {
|
|
211
|
-
font-weight: 600;
|
|
212
|
-
color: var(--text-primary);
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
.mint-topbar-dropdown {
|
|
216
|
-
position: absolute;
|
|
217
|
-
top: calc(100% + 0.5rem);
|
|
218
|
-
left: 0;
|
|
219
|
-
min-width: 200px;
|
|
220
|
-
background: var(--bg-card);
|
|
221
|
-
border: 1px solid var(--border-color);
|
|
222
|
-
border-radius: var(--radius);
|
|
223
|
-
box-shadow: var(--shadow-md);
|
|
224
|
-
z-index: 50;
|
|
225
|
-
overflow: hidden;
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
.mint-topbar-dropdown-item {
|
|
229
|
-
display: flex;
|
|
230
|
-
flex-direction: column;
|
|
231
|
-
align-items: flex-start;
|
|
232
|
-
width: 100%;
|
|
233
|
-
padding: 0.75rem 1rem;
|
|
234
|
-
text-decoration: none;
|
|
235
|
-
color: inherit;
|
|
236
|
-
background: none;
|
|
237
|
-
border: none;
|
|
238
|
-
font: inherit;
|
|
239
|
-
text-align: left;
|
|
240
|
-
transition: background-color 0.15s ease;
|
|
241
|
-
cursor: pointer;
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
.mint-topbar-dropdown-item:hover:not(.mint-topbar-dropdown-item--disabled) {
|
|
245
|
-
background: var(--bg-hover);
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
.mint-topbar-dropdown-item--active {
|
|
249
|
-
background: var(--color-primary-soft);
|
|
250
|
-
color: var(--color-primary);
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
.mint-topbar-dropdown-item--disabled {
|
|
254
|
-
opacity: var(--mint-disabled-opacity);
|
|
255
|
-
cursor: not-allowed;
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
.mint-topbar-dropdown-item__page {
|
|
259
|
-
display: flex;
|
|
260
|
-
align-items: flex-start;
|
|
261
|
-
gap: 0.625rem;
|
|
262
|
-
width: 100%;
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
.mint-topbar-dropdown-item__icon {
|
|
266
|
-
width: 1rem;
|
|
267
|
-
height: 1rem;
|
|
268
|
-
flex-shrink: 0;
|
|
269
|
-
margin-top: 0.125rem;
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
.mint-topbar-dropdown-item__icon.mint-plugin-icon--sm {
|
|
273
|
-
width: 1.375rem;
|
|
274
|
-
height: 1.375rem;
|
|
275
|
-
border-radius: 0.3125rem;
|
|
276
|
-
margin-top: -0.0625rem;
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
.mint-topbar-dropdown-item__copy {
|
|
280
|
-
display: flex;
|
|
281
|
-
min-width: 0;
|
|
282
|
-
flex-direction: column;
|
|
283
|
-
align-items: flex-start;
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
.mint-topbar-dropdown-item__label {
|
|
287
|
-
font-weight: 500;
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
.mint-topbar-dropdown-item__description {
|
|
291
|
-
font-size: 0.75rem;
|
|
292
|
-
color: var(--text-muted);
|
|
293
|
-
margin-top: 0.125rem;
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
.mint-topbar-dropdown-item--active .mint-topbar-dropdown-item__description {
|
|
297
|
-
color: var(--color-primary);
|
|
298
|
-
opacity: 0.8;
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
.mint-topbar-tab-wrapper {
|
|
302
|
-
position: relative;
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
.mint-topbar-tab {
|
|
306
|
-
display: inline-flex;
|
|
307
|
-
align-items: center;
|
|
308
|
-
gap: 0.25rem;
|
|
309
|
-
padding: 0.375rem 0.875rem;
|
|
310
|
-
border: 0;
|
|
311
|
-
background: transparent;
|
|
312
|
-
border-radius: 9999px;
|
|
313
|
-
color: var(--text-secondary);
|
|
314
|
-
font-weight: 500;
|
|
315
|
-
font-size: 0.8125rem;
|
|
316
|
-
font-family: inherit;
|
|
317
|
-
text-decoration: none;
|
|
318
|
-
cursor: pointer;
|
|
319
|
-
transition:
|
|
320
|
-
color 220ms var(--mint-ease-out-quart, cubic-bezier(0.25, 1, 0.5, 1)),
|
|
321
|
-
background-color 220ms var(--mint-ease-out-quart, cubic-bezier(0.25, 1, 0.5, 1)),
|
|
322
|
-
box-shadow 220ms var(--mint-ease-out-quart, cubic-bezier(0.25, 1, 0.5, 1));
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
.mint-topbar-tab:hover:not(.mint-topbar-tab--disabled):not(.mint-topbar-tab--active) {
|
|
326
|
-
color: var(--text-primary);
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
.mint-topbar-tab--active {
|
|
330
|
-
color: var(--text-primary);
|
|
331
|
-
background: var(--bg-card);
|
|
332
|
-
box-shadow: var(--shadow-sm);
|
|
333
|
-
font-weight: 600;
|
|
334
|
-
}
|
|
335
|
-
|
|
336
|
-
@media (prefers-reduced-motion: reduce) {
|
|
337
|
-
.mint-topbar-tab {
|
|
338
|
-
transition: none;
|
|
339
|
-
}
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
.mint-topbar-tab--disabled {
|
|
343
|
-
opacity: var(--mint-disabled-opacity);
|
|
344
|
-
cursor: not-allowed;
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
.mint-topbar-tab-chevron {
|
|
348
|
-
transition: transform 0.15s ease;
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
.mint-topbar-tab-icon {
|
|
352
|
-
width: 0.875rem;
|
|
353
|
-
height: 0.875rem;
|
|
354
|
-
flex-shrink: 0;
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
.mint-topbar-tab-chevron--open {
|
|
358
|
-
transform: rotate(180deg);
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
.mint-topbar-tab-dropdown {
|
|
362
|
-
position: absolute;
|
|
363
|
-
top: calc(100% + 0.5rem);
|
|
364
|
-
left: 50%;
|
|
365
|
-
transform: translateX(-50%);
|
|
366
|
-
min-width: 180px;
|
|
367
|
-
background: var(--bg-card);
|
|
368
|
-
border: 1px solid var(--border-color);
|
|
369
|
-
border-radius: var(--radius);
|
|
370
|
-
box-shadow: var(--shadow-md);
|
|
371
|
-
z-index: 50;
|
|
372
|
-
overflow: hidden;
|
|
373
|
-
}
|
|
374
|
-
|
|
375
140
|
/* New: generic icon button (notifications, etc.) */
|
|
376
141
|
.mint-topbar__icon-btn {
|
|
377
142
|
position: relative;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* ExperimentPopover — aligned with refresh design (AppPluginSwitcher /
|
|
1
|
+
/* ExperimentPopover — aligned with refresh design (AppPluginSwitcher / AppTopBar page selector) */
|
|
2
2
|
|
|
3
3
|
/* Container */
|
|
4
4
|
.mint-experiment-popover {
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
transition-duration: 0.05s;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
/* Active (panel open) — ring treatment, same language as PluginSwitcher/
|
|
68
|
+
/* Active (panel open) — ring treatment, same language as PluginSwitcher/page selector */
|
|
69
69
|
.mint-experiment-popover__trigger--active {
|
|
70
70
|
border-color: var(--color-primary);
|
|
71
71
|
box-shadow: 0 0 0 3px var(--color-primary-soft);
|
package/src/styles/index.css
CHANGED
|
@@ -27,7 +27,6 @@
|
|
|
27
27
|
@import './components/radio-group.css';
|
|
28
28
|
@import './components/sample-legend.css';
|
|
29
29
|
@import './components/select.css';
|
|
30
|
-
@import './components/settings-button.css';
|
|
31
30
|
@import './components/skeleton.css';
|
|
32
31
|
@import './components/slider.css';
|
|
33
32
|
@import './components/tabs.css';
|