@performant-software/semantic-components 1.1.6-beta.1 → 1.1.6
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/build/index.js +1 -1
- package/build/index.js.map +1 -1
- package/build/main.css +5 -382
- package/package.json +2 -2
- package/src/components/DataTableColumnSelector.js +42 -38
- package/src/components/FacetSlider.css +2 -0
- package/src/components/FacetSlider.js +0 -4
- package/src/components/ItemsToggle.js +4 -6
- package/src/components/LazyDocument.css +6 -0
- package/src/components/LazyDocument.js +2 -20
- package/src/components/List.js +14 -4
- package/src/components/VideoFrameSelector.js +2 -2
- package/types/components/DataTableColumnSelector.js.flow +42 -38
- package/types/components/FacetSlider.js.flow +0 -4
- package/types/components/ItemsToggle.js.flow +4 -6
- package/types/components/LazyDocument.js.flow +2 -20
- package/types/components/List.js.flow +14 -4
- package/types/components/VideoFrameSelector.js.flow +2 -2
- package/webpack.config.js +4 -0
- package/src/components/AnnotationLayer.css +0 -329
- package/src/components/TextLayer.css +0 -110
- package/src/components/rc-slider.css +0 -267
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
/* Copyright 2014 Mozilla Foundation
|
|
2
|
-
*
|
|
3
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
* you may not use this file except in compliance with the License.
|
|
5
|
-
* You may obtain a copy of the License at
|
|
6
|
-
*
|
|
7
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
*
|
|
9
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
10
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
-
* See the License for the specific language governing permissions and
|
|
13
|
-
* limitations under the License.
|
|
14
|
-
*/
|
|
15
|
-
|
|
16
|
-
:root {
|
|
17
|
-
--react-pdf-text-layer: 1;
|
|
18
|
-
--highlight-bg-color: rgba(180, 0, 170, 1);
|
|
19
|
-
--highlight-selected-bg-color: rgba(0, 100, 0, 1);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
@media screen and (forced-colors: active) {
|
|
23
|
-
:root {
|
|
24
|
-
--highlight-bg-color: Highlight;
|
|
25
|
-
--highlight-selected-bg-color: ButtonText;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
[data-main-rotation='90'] {
|
|
30
|
-
transform: rotate(90deg) translateY(-100%);
|
|
31
|
-
}
|
|
32
|
-
[data-main-rotation='180'] {
|
|
33
|
-
transform: rotate(180deg) translate(-100%, -100%);
|
|
34
|
-
}
|
|
35
|
-
[data-main-rotation='270'] {
|
|
36
|
-
transform: rotate(270deg) translateX(-100%);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.textLayer {
|
|
40
|
-
position: absolute;
|
|
41
|
-
text-align: initial;
|
|
42
|
-
inset: 0;
|
|
43
|
-
overflow: hidden;
|
|
44
|
-
line-height: 1;
|
|
45
|
-
text-size-adjust: none;
|
|
46
|
-
forced-color-adjust: none;
|
|
47
|
-
transform-origin: 0 0;
|
|
48
|
-
z-index: 2;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.textLayer :is(span, br) {
|
|
52
|
-
color: transparent;
|
|
53
|
-
position: absolute;
|
|
54
|
-
white-space: pre;
|
|
55
|
-
cursor: text;
|
|
56
|
-
margin: 0;
|
|
57
|
-
transform-origin: 0 0;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/* Only necessary in Google Chrome, see issue 14205, and most unfortunately
|
|
61
|
-
* the problem doesn't show up in "text" reference tests. */
|
|
62
|
-
.textLayer span.markedContent {
|
|
63
|
-
top: 0;
|
|
64
|
-
height: 0;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.textLayer .highlight {
|
|
68
|
-
margin: -1px;
|
|
69
|
-
padding: 1px;
|
|
70
|
-
background-color: var(--highlight-bg-color);
|
|
71
|
-
border-radius: 4px;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.textLayer .highlight.appended {
|
|
75
|
-
position: initial;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.textLayer .highlight.begin {
|
|
79
|
-
border-radius: 4px 0 0 4px;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.textLayer .highlight.end {
|
|
83
|
-
border-radius: 0 4px 4px 0;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.textLayer .highlight.middle {
|
|
87
|
-
border-radius: 0;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.textLayer .highlight.selected {
|
|
91
|
-
background-color: var(--highlight-selected-bg-color);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
/* Avoids https://github.com/mozilla/pdf.js/issues/13840 in Chrome */
|
|
95
|
-
.textLayer br::selection {
|
|
96
|
-
background: transparent;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.textLayer .endOfContent {
|
|
100
|
-
display: block;
|
|
101
|
-
position: absolute;
|
|
102
|
-
inset: 100% 0 0;
|
|
103
|
-
z-index: -1;
|
|
104
|
-
cursor: default;
|
|
105
|
-
user-select: none;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.textLayer .endOfContent.active {
|
|
109
|
-
top: 0;
|
|
110
|
-
}
|
|
@@ -1,267 +0,0 @@
|
|
|
1
|
-
.rc-slider {
|
|
2
|
-
position: relative;
|
|
3
|
-
width: 100%;
|
|
4
|
-
height: 14px;
|
|
5
|
-
padding: 5px 0;
|
|
6
|
-
border-radius: 6px;
|
|
7
|
-
touch-action: none;
|
|
8
|
-
box-sizing: border-box;
|
|
9
|
-
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
10
|
-
}
|
|
11
|
-
.rc-slider * {
|
|
12
|
-
box-sizing: border-box;
|
|
13
|
-
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
14
|
-
}
|
|
15
|
-
.rc-slider-rail {
|
|
16
|
-
position: absolute;
|
|
17
|
-
width: 100%;
|
|
18
|
-
height: 4px;
|
|
19
|
-
background-color: #e9e9e9;
|
|
20
|
-
border-radius: 6px;
|
|
21
|
-
}
|
|
22
|
-
.rc-slider-track {
|
|
23
|
-
position: absolute;
|
|
24
|
-
height: 4px;
|
|
25
|
-
background-color: #abe2fb;
|
|
26
|
-
border-radius: 6px;
|
|
27
|
-
}
|
|
28
|
-
.rc-slider-track-draggable {
|
|
29
|
-
z-index: 1;
|
|
30
|
-
box-sizing: content-box;
|
|
31
|
-
background-clip: content-box;
|
|
32
|
-
border-top: 5px solid rgba(0, 0, 0, 0);
|
|
33
|
-
border-bottom: 5px solid rgba(0, 0, 0, 0);
|
|
34
|
-
transform: translateY(-5px);
|
|
35
|
-
}
|
|
36
|
-
.rc-slider-handle {
|
|
37
|
-
position: absolute;
|
|
38
|
-
width: 14px;
|
|
39
|
-
height: 14px;
|
|
40
|
-
margin-top: -5px;
|
|
41
|
-
background-color: #fff;
|
|
42
|
-
border: solid 2px #96dbfa;
|
|
43
|
-
border-radius: 50%;
|
|
44
|
-
cursor: pointer;
|
|
45
|
-
cursor: -webkit-grab;
|
|
46
|
-
cursor: grab;
|
|
47
|
-
opacity: 0.8;
|
|
48
|
-
touch-action: pan-x;
|
|
49
|
-
}
|
|
50
|
-
.rc-slider-handle-dragging.rc-slider-handle-dragging.rc-slider-handle-dragging {
|
|
51
|
-
border-color: #57c5f7;
|
|
52
|
-
box-shadow: 0 0 0 5px #96dbfa;
|
|
53
|
-
}
|
|
54
|
-
.rc-slider-handle:focus {
|
|
55
|
-
outline: none;
|
|
56
|
-
box-shadow: none;
|
|
57
|
-
}
|
|
58
|
-
.rc-slider-handle:focus-visible {
|
|
59
|
-
border-color: #2db7f5;
|
|
60
|
-
box-shadow: 0 0 0 3px #96dbfa;
|
|
61
|
-
}
|
|
62
|
-
.rc-slider-handle-click-focused:focus {
|
|
63
|
-
border-color: #96dbfa;
|
|
64
|
-
box-shadow: unset;
|
|
65
|
-
}
|
|
66
|
-
.rc-slider-handle:hover {
|
|
67
|
-
border-color: #57c5f7;
|
|
68
|
-
}
|
|
69
|
-
.rc-slider-handle:active {
|
|
70
|
-
border-color: #57c5f7;
|
|
71
|
-
box-shadow: 0 0 5px #57c5f7;
|
|
72
|
-
cursor: -webkit-grabbing;
|
|
73
|
-
cursor: grabbing;
|
|
74
|
-
}
|
|
75
|
-
.rc-slider-mark {
|
|
76
|
-
position: absolute;
|
|
77
|
-
top: 18px;
|
|
78
|
-
left: 0;
|
|
79
|
-
width: 100%;
|
|
80
|
-
font-size: 12px;
|
|
81
|
-
}
|
|
82
|
-
.rc-slider-mark-text {
|
|
83
|
-
position: absolute;
|
|
84
|
-
display: inline-block;
|
|
85
|
-
color: #999;
|
|
86
|
-
text-align: center;
|
|
87
|
-
vertical-align: middle;
|
|
88
|
-
cursor: pointer;
|
|
89
|
-
}
|
|
90
|
-
.rc-slider-mark-text-active {
|
|
91
|
-
color: #666;
|
|
92
|
-
}
|
|
93
|
-
.rc-slider-step {
|
|
94
|
-
position: absolute;
|
|
95
|
-
width: 100%;
|
|
96
|
-
height: 4px;
|
|
97
|
-
background: transparent;
|
|
98
|
-
}
|
|
99
|
-
.rc-slider-dot {
|
|
100
|
-
position: absolute;
|
|
101
|
-
bottom: -2px;
|
|
102
|
-
width: 8px;
|
|
103
|
-
height: 8px;
|
|
104
|
-
vertical-align: middle;
|
|
105
|
-
background-color: #fff;
|
|
106
|
-
border: 2px solid #e9e9e9;
|
|
107
|
-
border-radius: 50%;
|
|
108
|
-
cursor: pointer;
|
|
109
|
-
}
|
|
110
|
-
.rc-slider-dot-active {
|
|
111
|
-
border-color: #96dbfa;
|
|
112
|
-
}
|
|
113
|
-
.rc-slider-dot-reverse {
|
|
114
|
-
margin-right: -4px;
|
|
115
|
-
}
|
|
116
|
-
.rc-slider-disabled {
|
|
117
|
-
background-color: #e9e9e9;
|
|
118
|
-
}
|
|
119
|
-
.rc-slider-disabled .rc-slider-track {
|
|
120
|
-
background-color: #ccc;
|
|
121
|
-
}
|
|
122
|
-
.rc-slider-disabled .rc-slider-handle,
|
|
123
|
-
.rc-slider-disabled .rc-slider-dot {
|
|
124
|
-
background-color: #fff;
|
|
125
|
-
border-color: #ccc;
|
|
126
|
-
box-shadow: none;
|
|
127
|
-
cursor: not-allowed;
|
|
128
|
-
}
|
|
129
|
-
.rc-slider-disabled .rc-slider-mark-text,
|
|
130
|
-
.rc-slider-disabled .rc-slider-dot {
|
|
131
|
-
cursor: not-allowed !important;
|
|
132
|
-
}
|
|
133
|
-
.rc-slider-vertical {
|
|
134
|
-
width: 14px;
|
|
135
|
-
height: 100%;
|
|
136
|
-
padding: 0 5px;
|
|
137
|
-
}
|
|
138
|
-
.rc-slider-vertical .rc-slider-rail {
|
|
139
|
-
width: 4px;
|
|
140
|
-
height: 100%;
|
|
141
|
-
}
|
|
142
|
-
.rc-slider-vertical .rc-slider-track {
|
|
143
|
-
bottom: 0;
|
|
144
|
-
left: 5px;
|
|
145
|
-
width: 4px;
|
|
146
|
-
}
|
|
147
|
-
.rc-slider-vertical .rc-slider-track-draggable {
|
|
148
|
-
border-top: 0;
|
|
149
|
-
border-bottom: 0;
|
|
150
|
-
border-right: 5px solid rgba(0, 0, 0, 0);
|
|
151
|
-
border-left: 5px solid rgba(0, 0, 0, 0);
|
|
152
|
-
transform: translateX(-5px);
|
|
153
|
-
}
|
|
154
|
-
.rc-slider-vertical .rc-slider-handle {
|
|
155
|
-
margin-top: 0;
|
|
156
|
-
margin-left: -5px;
|
|
157
|
-
touch-action: pan-y;
|
|
158
|
-
}
|
|
159
|
-
.rc-slider-vertical .rc-slider-mark {
|
|
160
|
-
top: 0;
|
|
161
|
-
left: 18px;
|
|
162
|
-
height: 100%;
|
|
163
|
-
}
|
|
164
|
-
.rc-slider-vertical .rc-slider-step {
|
|
165
|
-
width: 4px;
|
|
166
|
-
height: 100%;
|
|
167
|
-
}
|
|
168
|
-
.rc-slider-vertical .rc-slider-dot {
|
|
169
|
-
margin-left: -2px;
|
|
170
|
-
}
|
|
171
|
-
.rc-slider-tooltip-zoom-down-enter,
|
|
172
|
-
.rc-slider-tooltip-zoom-down-appear {
|
|
173
|
-
display: block !important;
|
|
174
|
-
animation-duration: 0.3s;
|
|
175
|
-
animation-fill-mode: both;
|
|
176
|
-
animation-play-state: paused;
|
|
177
|
-
}
|
|
178
|
-
.rc-slider-tooltip-zoom-down-leave {
|
|
179
|
-
display: block !important;
|
|
180
|
-
animation-duration: 0.3s;
|
|
181
|
-
animation-fill-mode: both;
|
|
182
|
-
animation-play-state: paused;
|
|
183
|
-
}
|
|
184
|
-
.rc-slider-tooltip-zoom-down-enter.rc-slider-tooltip-zoom-down-enter-active,
|
|
185
|
-
.rc-slider-tooltip-zoom-down-appear.rc-slider-tooltip-zoom-down-appear-active {
|
|
186
|
-
animation-name: rcSliderTooltipZoomDownIn;
|
|
187
|
-
animation-play-state: running;
|
|
188
|
-
}
|
|
189
|
-
.rc-slider-tooltip-zoom-down-leave.rc-slider-tooltip-zoom-down-leave-active {
|
|
190
|
-
animation-name: rcSliderTooltipZoomDownOut;
|
|
191
|
-
animation-play-state: running;
|
|
192
|
-
}
|
|
193
|
-
.rc-slider-tooltip-zoom-down-enter,
|
|
194
|
-
.rc-slider-tooltip-zoom-down-appear {
|
|
195
|
-
transform: scale(0, 0);
|
|
196
|
-
animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
|
|
197
|
-
}
|
|
198
|
-
.rc-slider-tooltip-zoom-down-leave {
|
|
199
|
-
animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
|
|
200
|
-
}
|
|
201
|
-
@keyframes rcSliderTooltipZoomDownIn {
|
|
202
|
-
0% {
|
|
203
|
-
transform: scale(0, 0);
|
|
204
|
-
transform-origin: 50% 100%;
|
|
205
|
-
opacity: 0;
|
|
206
|
-
}
|
|
207
|
-
100% {
|
|
208
|
-
transform: scale(1, 1);
|
|
209
|
-
transform-origin: 50% 100%;
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
@keyframes rcSliderTooltipZoomDownOut {
|
|
213
|
-
0% {
|
|
214
|
-
transform: scale(1, 1);
|
|
215
|
-
transform-origin: 50% 100%;
|
|
216
|
-
}
|
|
217
|
-
100% {
|
|
218
|
-
transform: scale(0, 0);
|
|
219
|
-
transform-origin: 50% 100%;
|
|
220
|
-
opacity: 0;
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
.rc-slider-tooltip {
|
|
224
|
-
position: absolute;
|
|
225
|
-
top: -9999px;
|
|
226
|
-
left: -9999px;
|
|
227
|
-
visibility: visible;
|
|
228
|
-
box-sizing: border-box;
|
|
229
|
-
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
230
|
-
}
|
|
231
|
-
.rc-slider-tooltip * {
|
|
232
|
-
box-sizing: border-box;
|
|
233
|
-
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
234
|
-
}
|
|
235
|
-
.rc-slider-tooltip-hidden {
|
|
236
|
-
display: none;
|
|
237
|
-
}
|
|
238
|
-
.rc-slider-tooltip-placement-top {
|
|
239
|
-
padding: 4px 0 8px 0;
|
|
240
|
-
}
|
|
241
|
-
.rc-slider-tooltip-inner {
|
|
242
|
-
min-width: 24px;
|
|
243
|
-
height: 24px;
|
|
244
|
-
padding: 6px 2px;
|
|
245
|
-
color: #fff;
|
|
246
|
-
font-size: 12px;
|
|
247
|
-
line-height: 1;
|
|
248
|
-
text-align: center;
|
|
249
|
-
text-decoration: none;
|
|
250
|
-
background-color: #6c6c6c;
|
|
251
|
-
border-radius: 6px;
|
|
252
|
-
box-shadow: 0 0 4px #d9d9d9;
|
|
253
|
-
}
|
|
254
|
-
.rc-slider-tooltip-arrow {
|
|
255
|
-
position: absolute;
|
|
256
|
-
width: 0;
|
|
257
|
-
height: 0;
|
|
258
|
-
border-color: transparent;
|
|
259
|
-
border-style: solid;
|
|
260
|
-
}
|
|
261
|
-
.rc-slider-tooltip-placement-top .rc-slider-tooltip-arrow {
|
|
262
|
-
bottom: 4px;
|
|
263
|
-
left: 50%;
|
|
264
|
-
margin-left: -4px;
|
|
265
|
-
border-width: 4px 4px 0;
|
|
266
|
-
border-top-color: #6c6c6c;
|
|
267
|
-
}
|