@datagrok/bio 2.25.15 → 2.25.16
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/css/monomer-collections.css +184 -0
- package/dist/package-test.js +3 -3
- package/dist/package-test.js.map +1 -1
- package/dist/package.js +3 -3
- package/dist/package.js.map +1 -1
- package/package.json +2 -2
- package/src/package.g.ts +10 -0
- package/src/package.ts +11 -0
- package/src/utils/monomer-lib/lib-manager.ts +2 -1
- package/src/utils/monomer-lib/monomer-collections-view.ts +424 -0
- package/test-console-output-1.log +490 -492
- package/test-record-1.mp4 +0 -0
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
.monomer-collections-view {
|
|
2
|
+
padding: 16px;
|
|
3
|
+
overflow-y: auto;
|
|
4
|
+
height: 100%;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.monomer-collections-grid {
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-wrap: wrap;
|
|
10
|
+
gap: 16px;
|
|
11
|
+
align-content: flex-start;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.monomer-collection-card {
|
|
15
|
+
width: 20%;
|
|
16
|
+
min-width: 240px;
|
|
17
|
+
height: 300px;
|
|
18
|
+
border: 1px solid var(--grey-2);
|
|
19
|
+
border-radius: 8px;
|
|
20
|
+
background: var(--white);
|
|
21
|
+
display: flex;
|
|
22
|
+
flex-direction: column;
|
|
23
|
+
overflow: hidden;
|
|
24
|
+
transition: box-shadow 0.2s ease;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.monomer-collection-card:hover {
|
|
28
|
+
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.monomer-collection-card-header {
|
|
32
|
+
padding: 12px 14px 8px 14px;
|
|
33
|
+
border-bottom: 1px solid var(--grey-2);
|
|
34
|
+
flex-shrink: 0;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.monomer-collection-card-title {
|
|
38
|
+
font-size: 14px;
|
|
39
|
+
font-weight: 600;
|
|
40
|
+
color: var(--grey-6);
|
|
41
|
+
margin: 0;
|
|
42
|
+
overflow: hidden;
|
|
43
|
+
text-overflow: ellipsis;
|
|
44
|
+
white-space: nowrap;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.monomer-collection-card-description {
|
|
48
|
+
font-size: 11px;
|
|
49
|
+
color: var(--grey-4);
|
|
50
|
+
margin: 4px 0 0 0;
|
|
51
|
+
overflow: hidden;
|
|
52
|
+
text-overflow: ellipsis;
|
|
53
|
+
display: -webkit-box;
|
|
54
|
+
-webkit-line-clamp: 2;
|
|
55
|
+
-webkit-box-orient: vertical;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.monomer-collection-card-tags {
|
|
59
|
+
display: flex;
|
|
60
|
+
flex-wrap: wrap;
|
|
61
|
+
gap: 3px;
|
|
62
|
+
margin: 4px 0 0 0;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.monomer-collection-card-tag {
|
|
66
|
+
display: inline-block;
|
|
67
|
+
padding: 1px 6px;
|
|
68
|
+
border-radius: 3px;
|
|
69
|
+
background: #e8f0fe;
|
|
70
|
+
border: 1px solid var(--blue-2, #aecbfa);
|
|
71
|
+
font-size: 10px;
|
|
72
|
+
color: var(--blue-3, #4285f4);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.monomer-collection-card-meta {
|
|
76
|
+
font-size: 10px;
|
|
77
|
+
color: var(--grey-3);
|
|
78
|
+
margin: 4px 0 0 0;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.monomer-collections-search {
|
|
82
|
+
margin-bottom: 12px;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.monomer-collections-search input {
|
|
86
|
+
width: 100%;
|
|
87
|
+
max-width: 400px;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.monomer-collection-card-body {
|
|
91
|
+
flex: 1;
|
|
92
|
+
overflow-y: auto;
|
|
93
|
+
padding: 10px 14px;
|
|
94
|
+
min-height: 0;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.monomer-collection-card-actions {
|
|
98
|
+
padding: 8px 14px;
|
|
99
|
+
border-top: 1px solid var(--grey-2);
|
|
100
|
+
display: flex;
|
|
101
|
+
gap: 8px;
|
|
102
|
+
justify-content: flex-end;
|
|
103
|
+
flex-shrink: 0;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.monomer-collection-card-actions .ui-btn {
|
|
107
|
+
font-size: 11px;
|
|
108
|
+
padding: 2px 10px;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.monomer-collection-tags {
|
|
112
|
+
display: flex;
|
|
113
|
+
flex-wrap: wrap;
|
|
114
|
+
gap: 4px;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.monomer-collection-tag {
|
|
118
|
+
display: inline-block;
|
|
119
|
+
padding: 2px 8px;
|
|
120
|
+
border-radius: 4px;
|
|
121
|
+
background: var(--grey-1);
|
|
122
|
+
border: 1px solid var(--grey-2);
|
|
123
|
+
font-size: 11px;
|
|
124
|
+
color: var(--grey-5);
|
|
125
|
+
cursor: default;
|
|
126
|
+
transition: background 0.15s ease;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.monomer-collection-tag:hover {
|
|
130
|
+
background: var(--blue-1, #e8f0fe);
|
|
131
|
+
border-color: var(--blue-2, #aecbfa);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.monomer-collection-add-card {
|
|
135
|
+
width: 20%;
|
|
136
|
+
min-width: 240px;
|
|
137
|
+
height: 300px;
|
|
138
|
+
border: 2px dashed var(--grey-3);
|
|
139
|
+
border-radius: 8px;
|
|
140
|
+
display: flex;
|
|
141
|
+
align-items: center;
|
|
142
|
+
justify-content: center;
|
|
143
|
+
cursor: pointer;
|
|
144
|
+
transition: border-color 0.2s ease, background 0.2s ease;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.monomer-collection-add-card:hover {
|
|
148
|
+
border-color: var(--blue-2, #aecbfa);
|
|
149
|
+
background: var(--blue-1, #e8f0fe);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.monomer-collection-add-card-content {
|
|
153
|
+
text-align: center;
|
|
154
|
+
color: var(--grey-4);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.monomer-collection-add-card-content .grok-icon {
|
|
158
|
+
font-size: 32px;
|
|
159
|
+
margin-bottom: 8px;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.monomer-collection-add-card-content span {
|
|
163
|
+
display: block;
|
|
164
|
+
font-size: 13px;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.monomer-collections-load-more {
|
|
168
|
+
width: 100%;
|
|
169
|
+
display: flex;
|
|
170
|
+
justify-content: center;
|
|
171
|
+
padding: 16px 0;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.monomer-collections-load-more .ui-btn {
|
|
175
|
+
min-width: 200px;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.monomer-collection-empty-state {
|
|
179
|
+
width: 100%;
|
|
180
|
+
text-align: center;
|
|
181
|
+
padding: 60px 20px;
|
|
182
|
+
color: var(--grey-4);
|
|
183
|
+
font-size: 14px;
|
|
184
|
+
}
|