@morscherlab/mint-sdk 1.1.15 → 1.1.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/styles.css
CHANGED
|
@@ -11944,7 +11944,9 @@ to {
|
|
|
11944
11944
|
.sg-body__main {
|
|
11945
11945
|
padding: 1rem 1.25rem;
|
|
11946
11946
|
min-width: 0;
|
|
11947
|
-
|
|
11947
|
+
min-height: 0;
|
|
11948
|
+
overflow-x: hidden;
|
|
11949
|
+
overflow-y: auto;
|
|
11948
11950
|
display: flex; flex-direction: column; gap: 0.75rem;
|
|
11949
11951
|
}
|
|
11950
11952
|
.sg-body__side {
|
|
@@ -11953,6 +11955,8 @@ to {
|
|
|
11953
11955
|
padding: 1.125rem 1.25rem;
|
|
11954
11956
|
display: flex; flex-direction: column;
|
|
11955
11957
|
min-width: 0;
|
|
11958
|
+
min-height: 0;
|
|
11959
|
+
overflow-y: auto;
|
|
11956
11960
|
gap: 0.75rem;
|
|
11957
11961
|
}
|
|
11958
11962
|
|
|
@@ -12732,7 +12736,9 @@ html.dark .sg-summary code { background: rgba(255, 255, 255, 0.1);
|
|
|
12732
12736
|
.sg-body__main {
|
|
12733
12737
|
padding: 1rem 1.25rem;
|
|
12734
12738
|
min-width: 0;
|
|
12735
|
-
|
|
12739
|
+
min-height: 0;
|
|
12740
|
+
overflow-x: hidden;
|
|
12741
|
+
overflow-y: auto;
|
|
12736
12742
|
display: flex; flex-direction: column; gap: 0.75rem;
|
|
12737
12743
|
}
|
|
12738
12744
|
.sg-body__side {
|
|
@@ -12741,6 +12747,8 @@ html.dark .sg-summary code { background: rgba(255, 255, 255, 0.1);
|
|
|
12741
12747
|
padding: 1.125rem 1.25rem;
|
|
12742
12748
|
display: flex; flex-direction: column;
|
|
12743
12749
|
min-width: 0;
|
|
12750
|
+
min-height: 0;
|
|
12751
|
+
overflow-y: auto;
|
|
12744
12752
|
gap: 0.75rem;
|
|
12745
12753
|
}
|
|
12746
12754
|
|
|
@@ -13520,7 +13528,9 @@ html.dark .sg-summary code { background: rgba(255, 255, 255, 0.1);
|
|
|
13520
13528
|
.sg-body__main {
|
|
13521
13529
|
padding: 1rem 1.25rem;
|
|
13522
13530
|
min-width: 0;
|
|
13523
|
-
|
|
13531
|
+
min-height: 0;
|
|
13532
|
+
overflow-x: hidden;
|
|
13533
|
+
overflow-y: auto;
|
|
13524
13534
|
display: flex; flex-direction: column; gap: 0.75rem;
|
|
13525
13535
|
}
|
|
13526
13536
|
.sg-body__side {
|
|
@@ -13529,6 +13539,8 @@ html.dark .sg-summary code { background: rgba(255, 255, 255, 0.1);
|
|
|
13529
13539
|
padding: 1.125rem 1.25rem;
|
|
13530
13540
|
display: flex; flex-direction: column;
|
|
13531
13541
|
min-width: 0;
|
|
13542
|
+
min-height: 0;
|
|
13543
|
+
overflow-y: auto;
|
|
13532
13544
|
gap: 0.75rem;
|
|
13533
13545
|
}
|
|
13534
13546
|
|
|
@@ -27848,7 +27860,9 @@ html.dark .mint-toast__item .mint-toast__message {
|
|
|
27848
27860
|
.sg-body__main {
|
|
27849
27861
|
padding: 1rem 1.25rem;
|
|
27850
27862
|
min-width: 0;
|
|
27851
|
-
|
|
27863
|
+
min-height: 0;
|
|
27864
|
+
overflow-x: hidden;
|
|
27865
|
+
overflow-y: auto;
|
|
27852
27866
|
display: flex; flex-direction: column; gap: 0.75rem;
|
|
27853
27867
|
}
|
|
27854
27868
|
.sg-body__side {
|
|
@@ -27857,6 +27871,8 @@ html.dark .mint-toast__item .mint-toast__message {
|
|
|
27857
27871
|
padding: 1.125rem 1.25rem;
|
|
27858
27872
|
display: flex; flex-direction: column;
|
|
27859
27873
|
min-width: 0;
|
|
27874
|
+
min-height: 0;
|
|
27875
|
+
overflow-y: auto;
|
|
27860
27876
|
gap: 0.75rem;
|
|
27861
27877
|
}
|
|
27862
27878
|
/* Section lead */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@morscherlab/mint-sdk",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.17",
|
|
4
4
|
"description": "MINT Platform SDK — Vue 3 components, composables, and types for plugin development. MINT = Mass-spec INtegrated Toolkit.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { readFileSync } from 'node:fs'
|
|
2
|
+
import { resolve } from 'node:path'
|
|
1
3
|
import { flushPromises, mount } from '@vue/test-utils'
|
|
2
4
|
import { createPinia } from 'pinia'
|
|
3
5
|
import { describe, expect, it, vi } from 'vitest'
|
|
@@ -279,6 +281,36 @@ describe('AutoGroupModal multi-schema auto workflow', () => {
|
|
|
279
281
|
|
|
280
282
|
expect(wrapper.find('.sg-foot .mint-button--primary').attributes('disabled')).toBeUndefined()
|
|
281
283
|
})
|
|
284
|
+
|
|
285
|
+
it('should scroll the token field list when many fields exceed the modal height', () => {
|
|
286
|
+
const styles = readFileSync(
|
|
287
|
+
resolve(process.cwd(), 'src/styles/components/smart-group.css'),
|
|
288
|
+
'utf8',
|
|
289
|
+
)
|
|
290
|
+
const mainPanelStyles = styles.match(/\.sg-body__main\s*\{([^}]*)\}/)?.[1]
|
|
291
|
+
|
|
292
|
+
expect(mainPanelStyles).toContain('overflow-y: auto')
|
|
293
|
+
})
|
|
294
|
+
|
|
295
|
+
it('should let the token field panel shrink within the fixed modal body', () => {
|
|
296
|
+
const styles = readFileSync(
|
|
297
|
+
resolve(process.cwd(), 'src/styles/components/smart-group.css'),
|
|
298
|
+
'utf8',
|
|
299
|
+
)
|
|
300
|
+
const mainPanelStyles = styles.match(/\.sg-body__main\s*\{([^}]*)\}/)?.[1]
|
|
301
|
+
|
|
302
|
+
expect(mainPanelStyles).toContain('min-height: 0')
|
|
303
|
+
})
|
|
304
|
+
|
|
305
|
+
it('should scroll the group preview when generated groups exceed the modal height', () => {
|
|
306
|
+
const styles = readFileSync(
|
|
307
|
+
resolve(process.cwd(), 'src/styles/components/smart-group.css'),
|
|
308
|
+
'utf8',
|
|
309
|
+
)
|
|
310
|
+
const sidePanelStyles = styles.match(/\.sg-body__side\s*\{([^}]*)\}/)?.[1]
|
|
311
|
+
|
|
312
|
+
expect(sidePanelStyles).toMatch(/min-height:\s*0;[\s\S]*overflow-y:\s*auto;/)
|
|
313
|
+
})
|
|
282
314
|
})
|
|
283
315
|
|
|
284
316
|
describe('SampleSelector — QC overlay regression', () => {
|
|
@@ -93,7 +93,9 @@
|
|
|
93
93
|
.sg-body__main {
|
|
94
94
|
padding: 1rem 1.25rem;
|
|
95
95
|
min-width: 0;
|
|
96
|
-
|
|
96
|
+
min-height: 0;
|
|
97
|
+
overflow-x: hidden;
|
|
98
|
+
overflow-y: auto;
|
|
97
99
|
display: flex; flex-direction: column; gap: 0.75rem;
|
|
98
100
|
}
|
|
99
101
|
.sg-body__side {
|
|
@@ -102,6 +104,8 @@
|
|
|
102
104
|
padding: 1.125rem 1.25rem;
|
|
103
105
|
display: flex; flex-direction: column;
|
|
104
106
|
min-width: 0;
|
|
107
|
+
min-height: 0;
|
|
108
|
+
overflow-y: auto;
|
|
105
109
|
gap: 0.75rem;
|
|
106
110
|
}
|
|
107
111
|
|