@mongodb-js/compass-query-history 8.25.0 → 9.0.0
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 +5 -21
- package/dist/browser.js +2 -0
- package/dist/browser.js.LICENSE.txt +18 -0
- package/dist/index.css +170 -0
- package/dist/index.html +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.LICENSE.txt +114 -0
- package/package.json +71 -116
- package/.babelrc.js +0 -24
- package/.browserslistrc +0 -1
- package/.depcheckrc +0 -18
- package/lib/index.js +0 -14
@@ -0,0 +1,18 @@
|
|
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
|
+
*/
|
15
|
+
|
16
|
+
//! moment.js
|
17
|
+
|
18
|
+
//! moment.js locale configuration
|
package/dist/index.css
ADDED
@@ -0,0 +1,170 @@
|
|
1
|
+
.card-module-component__1oGLQ {
|
2
|
+
display: flex;
|
3
|
+
flex-direction: column;
|
4
|
+
background: #ffffff;
|
5
|
+
box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.1);
|
6
|
+
border-radius: 3px;
|
7
|
+
border: 1px solid transparent;
|
8
|
+
color: #494747;
|
9
|
+
max-width: 314px;
|
10
|
+
}
|
11
|
+
.card-module-component__1oGLQ:hover {
|
12
|
+
border-color: #5caeeb;
|
13
|
+
}
|
14
|
+
.card-module-component__1oGLQ:hover .card-module-component-header-actions__1oVkw {
|
15
|
+
display: flex;
|
16
|
+
}
|
17
|
+
.card-module-component-header__3XPnz {
|
18
|
+
padding: 10px 10px 0 10px;
|
19
|
+
}
|
20
|
+
.card-module-component-body__1M52l {
|
21
|
+
padding: 10px;
|
22
|
+
}
|
23
|
+
.card-module-component-header__3XPnz {
|
24
|
+
display: flex;
|
25
|
+
flex-direction: row;
|
26
|
+
align-items: center;
|
27
|
+
justify-content: flex-end;
|
28
|
+
position: relative;
|
29
|
+
min-height: 32px;
|
30
|
+
}
|
31
|
+
.card-module-component-header-inner__sOesY {
|
32
|
+
display: flex;
|
33
|
+
flex: 1;
|
34
|
+
}
|
35
|
+
.card-module-component-header-title__3auMQ {
|
36
|
+
flex: 1;
|
37
|
+
overflow: hidden;
|
38
|
+
text-overflow: ellipsis;
|
39
|
+
font-weight: bold;
|
40
|
+
font-size: 14px;
|
41
|
+
line-height: 1;
|
42
|
+
color: #494747;
|
43
|
+
white-space: nowrap;
|
44
|
+
}
|
45
|
+
.card-module-component-header-actions__1oVkw {
|
46
|
+
display: none;
|
47
|
+
flex-direction: row;
|
48
|
+
}
|
49
|
+
.card-module-component-header-actions__1oVkw.card-module-is-visible__1_RyW {
|
50
|
+
display: flex;
|
51
|
+
}
|
52
|
+
|
53
|
+
.list-module-component__3ipWR {
|
54
|
+
flex: 1;
|
55
|
+
overflow-y: scroll;
|
56
|
+
padding: 10px;
|
57
|
+
}
|
58
|
+
.list-module-items__14TBa {
|
59
|
+
list-style-type: none;
|
60
|
+
padding-left: 0;
|
61
|
+
margin: 0;
|
62
|
+
}
|
63
|
+
.list-module-item__2u_ha {
|
64
|
+
margin-bottom: 10px;
|
65
|
+
}
|
66
|
+
.list-module-item__2u_ha:last-child,
|
67
|
+
.list-module-item__2u_ha:only-child {
|
68
|
+
margin-bottom: 0;
|
69
|
+
}
|
70
|
+
.list-module-zeroState__334r- {
|
71
|
+
display: flex;
|
72
|
+
align-items: center;
|
73
|
+
justify-content: center;
|
74
|
+
height: 100px;
|
75
|
+
}
|
76
|
+
.list-module-zeroState-title__yb76z {
|
77
|
+
font-weight: bold;
|
78
|
+
font-size: 14px;
|
79
|
+
color: #494747;
|
80
|
+
overflow: hidden;
|
81
|
+
height: 18px;
|
82
|
+
}
|
83
|
+
|
84
|
+
.recent-list-item-module-button__U5Uqk {
|
85
|
+
padding: 0 !important;
|
86
|
+
width: 24px;
|
87
|
+
margin-left: 5px;
|
88
|
+
}
|
89
|
+
.recent-list-item-module-button-copy__3LUwR:focus:after {
|
90
|
+
position: absolute;
|
91
|
+
margin-top: 25px;
|
92
|
+
right: 22px;
|
93
|
+
border-radius: 3px;
|
94
|
+
color: white;
|
95
|
+
padding: 2px 10px 2px 10px;
|
96
|
+
background: rgba(0, 0, 0, 0.75);
|
97
|
+
content: 'Copied!';
|
98
|
+
text-transform: none;
|
99
|
+
font-weight: normal;
|
100
|
+
}
|
101
|
+
|
102
|
+
.favorite-list-item-module-button__24GDC {
|
103
|
+
padding: 0 !important;
|
104
|
+
width: 24px;
|
105
|
+
margin-left: 5px;
|
106
|
+
}
|
107
|
+
.favorite-list-item-module-button-copy__31Img:focus:after {
|
108
|
+
position: absolute;
|
109
|
+
margin-top: 25px;
|
110
|
+
right: 22px;
|
111
|
+
border-radius: 3px;
|
112
|
+
color: white;
|
113
|
+
padding: 2px 10px 2px 10px;
|
114
|
+
background: rgba(0, 0, 0, 0.75);
|
115
|
+
content: 'Copied!';
|
116
|
+
text-transform: none;
|
117
|
+
font-weight: normal;
|
118
|
+
}
|
119
|
+
|
120
|
+
.saving-module-form__JbpnB {
|
121
|
+
display: flex;
|
122
|
+
flex: 1;
|
123
|
+
}
|
124
|
+
.saving-module-form-input__1FeuB {
|
125
|
+
flex: 1;
|
126
|
+
border: 1px solid #bebcb9;
|
127
|
+
border-radius: 2px;
|
128
|
+
height: 28px;
|
129
|
+
outline: 0;
|
130
|
+
padding: 0px 5px 0px 5px;
|
131
|
+
}
|
132
|
+
.saving-module-form-input__1FeuB:focus {
|
133
|
+
border-color: #5caeeb;
|
134
|
+
}
|
135
|
+
.saving-module-button__13nGv {
|
136
|
+
min-width: 50px;
|
137
|
+
margin-left: 5px;
|
138
|
+
}
|
139
|
+
.saving-module-button__13nGv:last-child,
|
140
|
+
.saving-module-button__13nGv:only-child {
|
141
|
+
margin-right: 0;
|
142
|
+
}
|
143
|
+
|
144
|
+
@keyframes query-history-module-slidein__3MTcN {
|
145
|
+
from {
|
146
|
+
width: 0px;
|
147
|
+
}
|
148
|
+
to {
|
149
|
+
width: 325px;
|
150
|
+
}
|
151
|
+
}
|
152
|
+
.query-history-module-component__1awVP {
|
153
|
+
display: flex;
|
154
|
+
flex-direction: column;
|
155
|
+
flex: 1;
|
156
|
+
animation: 400ms :local(slidein);
|
157
|
+
background-color: #f5f6f7;
|
158
|
+
border-left: solid 1px #dddddd;
|
159
|
+
min-width: 325px;
|
160
|
+
max-width: 325px;
|
161
|
+
height: 100%;
|
162
|
+
order: 3;
|
163
|
+
}
|
164
|
+
.query-history-module-inner__3cSM5 {
|
165
|
+
display: flex;
|
166
|
+
flex-direction: column;
|
167
|
+
flex: 1;
|
168
|
+
height: 100%;
|
169
|
+
}
|
170
|
+
|
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>
|