@mongodb-js/compass-query-history 8.24.0 → 8.26.1
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +5 -21
- package/dist/browser.js +2 -0
- package/dist/browser.js.LICENSE.txt +14 -0
- package/dist/index.css +190 -0
- package/dist/index.html +1 -0
- package/dist/index.js +15 -0
- package/dist/index.js.LICENSE.txt +198 -0
- package/package.json +58 -100
- package/.babelrc.js +0 -24
- package/.browserslistrc +0 -1
- package/.depcheckrc +0 -18
- package/lib/index.js +0 -14
@@ -0,0 +1,14 @@
|
|
1
|
+
/*!
|
2
|
+
Copyright (c) 2018 Jed Watson.
|
3
|
+
Licensed under the MIT License (MIT), see
|
4
|
+
http://jedwatson.github.io/classnames
|
5
|
+
*/
|
6
|
+
|
7
|
+
/**
|
8
|
+
* @license
|
9
|
+
* Lodash <https://lodash.com/>
|
10
|
+
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
11
|
+
* Released under MIT license <https://lodash.com/license>
|
12
|
+
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
13
|
+
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
14
|
+
*/
|
package/dist/index.css
ADDED
@@ -0,0 +1,190 @@
|
|
1
|
+
.header-module-component__3WtMz {
|
2
|
+
display: flex;
|
3
|
+
align-items: center;
|
4
|
+
height: 40px;
|
5
|
+
width: auto;
|
6
|
+
padding: 10px;
|
7
|
+
position: relative;
|
8
|
+
z-index: 1;
|
9
|
+
background: #f5f6f7;
|
10
|
+
box-shadow: 0 2px 4px 0 rgba(221, 221, 221, 0.5), inset 0 -1px 0 0 rgba(235, 235, 237, 0.5), inset 0 1px 0 0 rgba(235, 235, 237, 0.5);
|
11
|
+
}
|
12
|
+
.header-module-component__3WtMz .view-switcher {
|
13
|
+
overflow: hidden;
|
14
|
+
height: 22px;
|
15
|
+
}
|
16
|
+
.header-module-component__3WtMz .view-switcher-label {
|
17
|
+
line-height: 22px;
|
18
|
+
margin-right: 5px;
|
19
|
+
}
|
20
|
+
|
21
|
+
.card-module-component__1oGLQ {
|
22
|
+
display: flex;
|
23
|
+
flex-direction: column;
|
24
|
+
background: #ffffff;
|
25
|
+
box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.1);
|
26
|
+
border-radius: 3px;
|
27
|
+
border: 1px solid transparent;
|
28
|
+
color: #494747;
|
29
|
+
max-width: 314px;
|
30
|
+
}
|
31
|
+
.card-module-component__1oGLQ:hover {
|
32
|
+
border-color: #5caeeb;
|
33
|
+
}
|
34
|
+
.card-module-component__1oGLQ:hover .card-module-component-header-actions__1oVkw {
|
35
|
+
display: flex;
|
36
|
+
}
|
37
|
+
.card-module-component-header__3XPnz {
|
38
|
+
padding: 10px 10px 0 10px;
|
39
|
+
}
|
40
|
+
.card-module-component-body__1M52l {
|
41
|
+
padding: 10px;
|
42
|
+
}
|
43
|
+
.card-module-component-header__3XPnz {
|
44
|
+
display: flex;
|
45
|
+
flex-direction: row;
|
46
|
+
align-items: center;
|
47
|
+
justify-content: flex-end;
|
48
|
+
position: relative;
|
49
|
+
min-height: 32px;
|
50
|
+
}
|
51
|
+
.card-module-component-header-inner__sOesY {
|
52
|
+
display: flex;
|
53
|
+
flex: 1;
|
54
|
+
}
|
55
|
+
.card-module-component-header-title__3auMQ {
|
56
|
+
flex: 1;
|
57
|
+
overflow: hidden;
|
58
|
+
text-overflow: ellipsis;
|
59
|
+
font-weight: bold;
|
60
|
+
font-size: 14px;
|
61
|
+
line-height: 1;
|
62
|
+
color: #494747;
|
63
|
+
white-space: nowrap;
|
64
|
+
}
|
65
|
+
.card-module-component-header-actions__1oVkw {
|
66
|
+
display: none;
|
67
|
+
flex-direction: row;
|
68
|
+
}
|
69
|
+
.card-module-component-header-actions__1oVkw.card-module-is-visible__1_RyW {
|
70
|
+
display: flex;
|
71
|
+
}
|
72
|
+
|
73
|
+
.list-module-component__3ipWR {
|
74
|
+
flex: 1;
|
75
|
+
overflow-y: scroll;
|
76
|
+
padding: 10px;
|
77
|
+
}
|
78
|
+
.list-module-items__14TBa {
|
79
|
+
list-style-type: none;
|
80
|
+
padding-left: 0;
|
81
|
+
margin: 0;
|
82
|
+
}
|
83
|
+
.list-module-item__2u_ha {
|
84
|
+
margin-bottom: 10px;
|
85
|
+
}
|
86
|
+
.list-module-item__2u_ha:last-child,
|
87
|
+
.list-module-item__2u_ha:only-child {
|
88
|
+
margin-bottom: 0;
|
89
|
+
}
|
90
|
+
.list-module-zeroState__334r- {
|
91
|
+
display: flex;
|
92
|
+
align-items: center;
|
93
|
+
justify-content: center;
|
94
|
+
height: 100px;
|
95
|
+
}
|
96
|
+
.list-module-zeroState-title__yb76z {
|
97
|
+
font-weight: bold;
|
98
|
+
font-size: 14px;
|
99
|
+
color: #494747;
|
100
|
+
overflow: hidden;
|
101
|
+
height: 18px;
|
102
|
+
}
|
103
|
+
|
104
|
+
.recent-list-item-module-button__U5Uqk {
|
105
|
+
padding: 0 !important;
|
106
|
+
width: 24px;
|
107
|
+
margin-left: 5px;
|
108
|
+
}
|
109
|
+
.recent-list-item-module-button-copy__3LUwR:focus:after {
|
110
|
+
position: absolute;
|
111
|
+
margin-top: 25px;
|
112
|
+
right: 22px;
|
113
|
+
border-radius: 3px;
|
114
|
+
color: white;
|
115
|
+
padding: 2px 10px 2px 10px;
|
116
|
+
background: rgba(0, 0, 0, 0.75);
|
117
|
+
content: 'Copied!';
|
118
|
+
text-transform: none;
|
119
|
+
font-weight: normal;
|
120
|
+
}
|
121
|
+
|
122
|
+
.favorite-list-item-module-button__24GDC {
|
123
|
+
padding: 0 !important;
|
124
|
+
width: 24px;
|
125
|
+
margin-left: 5px;
|
126
|
+
}
|
127
|
+
.favorite-list-item-module-button-copy__31Img:focus:after {
|
128
|
+
position: absolute;
|
129
|
+
margin-top: 25px;
|
130
|
+
right: 22px;
|
131
|
+
border-radius: 3px;
|
132
|
+
color: white;
|
133
|
+
padding: 2px 10px 2px 10px;
|
134
|
+
background: rgba(0, 0, 0, 0.75);
|
135
|
+
content: 'Copied!';
|
136
|
+
text-transform: none;
|
137
|
+
font-weight: normal;
|
138
|
+
}
|
139
|
+
|
140
|
+
.saving-module-form__JbpnB {
|
141
|
+
display: flex;
|
142
|
+
flex: 1;
|
143
|
+
}
|
144
|
+
.saving-module-form-input__1FeuB {
|
145
|
+
flex: 1;
|
146
|
+
border: 1px solid #bebcb9;
|
147
|
+
border-radius: 2px;
|
148
|
+
height: 28px;
|
149
|
+
outline: 0;
|
150
|
+
padding: 0px 5px 0px 5px;
|
151
|
+
}
|
152
|
+
.saving-module-form-input__1FeuB:focus {
|
153
|
+
border-color: #5caeeb;
|
154
|
+
}
|
155
|
+
.saving-module-button__13nGv {
|
156
|
+
min-width: 50px;
|
157
|
+
margin-left: 5px;
|
158
|
+
}
|
159
|
+
.saving-module-button__13nGv:last-child,
|
160
|
+
.saving-module-button__13nGv:only-child {
|
161
|
+
margin-right: 0;
|
162
|
+
}
|
163
|
+
|
164
|
+
@keyframes query-history-module-slidein__3MTcN {
|
165
|
+
from {
|
166
|
+
width: 0px;
|
167
|
+
}
|
168
|
+
to {
|
169
|
+
width: 325px;
|
170
|
+
}
|
171
|
+
}
|
172
|
+
.query-history-module-component__1awVP {
|
173
|
+
display: flex;
|
174
|
+
flex-direction: column;
|
175
|
+
flex: 1;
|
176
|
+
animation: 400ms :local(slidein);
|
177
|
+
background-color: #f5f6f7;
|
178
|
+
border-left: solid 1px #dddddd;
|
179
|
+
min-width: 325px;
|
180
|
+
max-width: 325px;
|
181
|
+
height: 100%;
|
182
|
+
order: 3;
|
183
|
+
}
|
184
|
+
.query-history-module-inner__3cSM5 {
|
185
|
+
display: flex;
|
186
|
+
flex-direction: column;
|
187
|
+
flex: 1;
|
188
|
+
height: 100%;
|
189
|
+
}
|
190
|
+
|
package/dist/index.html
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
<!doctype html><html><head><meta charset="utf-8"><title>Webpack App</title><script defer="defer" src="index.js"></script><link href="index.css" rel="stylesheet"></head><body></body></html>
|