@nypl/web-reader 0.2.0-alpha.0 → 0.2.0-alpha.4
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/cjs/ServiceWorker/sw.js +2 -0
- package/dist/cjs/ServiceWorker/sw.js.map +7 -0
- package/dist/cjs/index.js +683 -0
- package/dist/{index.js.map → cjs/index.js.map} +3 -3
- package/dist/{ServiceWorker → esm/ServiceWorker}/sw.js +0 -0
- package/dist/{ServiceWorker → esm/ServiceWorker}/sw.js.map +1 -1
- package/dist/{index.js → esm/index.js} +70880 -38980
- package/dist/esm/index.js.map +7 -0
- package/dist/html-styles.css +2 -0
- package/dist/{HtmlReader/styles.css.map → html-styles.css.map} +2 -2
- package/dist/pdf-styles.css +2 -0
- package/dist/{PdfReader/styles.css.map → pdf-styles.css.map} +2 -2
- package/dist/types/WebpubManifestTypes/ConformsTo.d.ts +1 -1
- package/dist/types/index.d.ts +2 -2
- package/dist/types/types.d.ts +12 -4
- package/dist/types/ui/Header.d.ts +2 -5
- package/dist/types/ui/manager.d.ts +2 -2
- package/package.json +8 -18
- package/dist/HtmlReader/styles.css +0 -1268
- package/dist/PdfReader/styles.css +0 -163
|
@@ -1,163 +0,0 @@
|
|
|
1
|
-
/* node_modules/react-pdf/dist/esm/Page/AnnotationLayer.css */
|
|
2
|
-
.annotationLayer section {
|
|
3
|
-
position: absolute;
|
|
4
|
-
}
|
|
5
|
-
.annotationLayer .linkAnnotation > a,
|
|
6
|
-
.annotationLayer .buttonWidgetAnnotation.pushButton > a {
|
|
7
|
-
position: absolute;
|
|
8
|
-
font-size: 1em;
|
|
9
|
-
top: 0;
|
|
10
|
-
left: 0;
|
|
11
|
-
width: 100%;
|
|
12
|
-
height: 100%;
|
|
13
|
-
}
|
|
14
|
-
.annotationLayer .linkAnnotation > a:hover,
|
|
15
|
-
.annotationLayer .buttonWidgetAnnotation.pushButton > a:hover {
|
|
16
|
-
opacity: 0.2;
|
|
17
|
-
background: #ff0;
|
|
18
|
-
box-shadow: 0px 2px 10px #ff0;
|
|
19
|
-
}
|
|
20
|
-
.annotationLayer .textAnnotation img {
|
|
21
|
-
position: absolute;
|
|
22
|
-
cursor: pointer;
|
|
23
|
-
}
|
|
24
|
-
.annotationLayer .textWidgetAnnotation input,
|
|
25
|
-
.annotationLayer .textWidgetAnnotation textarea,
|
|
26
|
-
.annotationLayer .choiceWidgetAnnotation select,
|
|
27
|
-
.annotationLayer .buttonWidgetAnnotation.checkBox input,
|
|
28
|
-
.annotationLayer .buttonWidgetAnnotation.radioButton input {
|
|
29
|
-
background-color: rgba(0, 54, 255, 0.13);
|
|
30
|
-
border: 1px solid transparent;
|
|
31
|
-
box-sizing: border-box;
|
|
32
|
-
font-size: 9px;
|
|
33
|
-
height: 100%;
|
|
34
|
-
margin: 0;
|
|
35
|
-
padding: 0 3px;
|
|
36
|
-
vertical-align: top;
|
|
37
|
-
width: 100%;
|
|
38
|
-
}
|
|
39
|
-
.annotationLayer .choiceWidgetAnnotation select option {
|
|
40
|
-
padding: 0;
|
|
41
|
-
}
|
|
42
|
-
.annotationLayer .buttonWidgetAnnotation.radioButton input {
|
|
43
|
-
border-radius: 50%;
|
|
44
|
-
}
|
|
45
|
-
.annotationLayer .textWidgetAnnotation textarea {
|
|
46
|
-
font: message-box;
|
|
47
|
-
font-size: 9px;
|
|
48
|
-
resize: none;
|
|
49
|
-
}
|
|
50
|
-
.annotationLayer .textWidgetAnnotation input[disabled],
|
|
51
|
-
.annotationLayer .textWidgetAnnotation textarea[disabled],
|
|
52
|
-
.annotationLayer .choiceWidgetAnnotation select[disabled],
|
|
53
|
-
.annotationLayer .buttonWidgetAnnotation.checkBox input[disabled],
|
|
54
|
-
.annotationLayer .buttonWidgetAnnotation.radioButton input[disabled] {
|
|
55
|
-
background: none;
|
|
56
|
-
border: 1px solid transparent;
|
|
57
|
-
cursor: not-allowed;
|
|
58
|
-
}
|
|
59
|
-
.annotationLayer .textWidgetAnnotation input:hover,
|
|
60
|
-
.annotationLayer .textWidgetAnnotation textarea:hover,
|
|
61
|
-
.annotationLayer .choiceWidgetAnnotation select:hover,
|
|
62
|
-
.annotationLayer .buttonWidgetAnnotation.checkBox input:hover,
|
|
63
|
-
.annotationLayer .buttonWidgetAnnotation.radioButton input:hover {
|
|
64
|
-
border: 1px solid #000;
|
|
65
|
-
}
|
|
66
|
-
.annotationLayer .textWidgetAnnotation input:focus,
|
|
67
|
-
.annotationLayer .textWidgetAnnotation textarea:focus,
|
|
68
|
-
.annotationLayer .choiceWidgetAnnotation select:focus {
|
|
69
|
-
background: none;
|
|
70
|
-
border: 1px solid transparent;
|
|
71
|
-
}
|
|
72
|
-
.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,
|
|
73
|
-
.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,
|
|
74
|
-
.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before {
|
|
75
|
-
background-color: #000;
|
|
76
|
-
content: "";
|
|
77
|
-
display: block;
|
|
78
|
-
position: absolute;
|
|
79
|
-
}
|
|
80
|
-
.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,
|
|
81
|
-
.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after {
|
|
82
|
-
height: 80%;
|
|
83
|
-
left: 45%;
|
|
84
|
-
width: 1px;
|
|
85
|
-
}
|
|
86
|
-
.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before {
|
|
87
|
-
transform: rotate(45deg);
|
|
88
|
-
}
|
|
89
|
-
.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after {
|
|
90
|
-
transform: rotate(-45deg);
|
|
91
|
-
}
|
|
92
|
-
.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before {
|
|
93
|
-
border-radius: 50%;
|
|
94
|
-
height: 50%;
|
|
95
|
-
left: 30%;
|
|
96
|
-
top: 20%;
|
|
97
|
-
width: 50%;
|
|
98
|
-
}
|
|
99
|
-
.annotationLayer .textWidgetAnnotation input.comb {
|
|
100
|
-
font-family: monospace;
|
|
101
|
-
padding-left: 2px;
|
|
102
|
-
padding-right: 0;
|
|
103
|
-
}
|
|
104
|
-
.annotationLayer .textWidgetAnnotation input.comb:focus {
|
|
105
|
-
width: 115%;
|
|
106
|
-
}
|
|
107
|
-
.annotationLayer .buttonWidgetAnnotation.checkBox input,
|
|
108
|
-
.annotationLayer .buttonWidgetAnnotation.radioButton input {
|
|
109
|
-
appearance: none;
|
|
110
|
-
padding: 0;
|
|
111
|
-
}
|
|
112
|
-
.annotationLayer .popupWrapper {
|
|
113
|
-
position: absolute;
|
|
114
|
-
width: 20em;
|
|
115
|
-
}
|
|
116
|
-
.annotationLayer .popup {
|
|
117
|
-
position: absolute;
|
|
118
|
-
z-index: 200;
|
|
119
|
-
max-width: 20em;
|
|
120
|
-
background-color: #FFFF99;
|
|
121
|
-
box-shadow: 0px 2px 5px #888;
|
|
122
|
-
border-radius: 2px;
|
|
123
|
-
padding: 6px;
|
|
124
|
-
margin-left: 5px;
|
|
125
|
-
cursor: pointer;
|
|
126
|
-
font: message-box;
|
|
127
|
-
font-size: 9px;
|
|
128
|
-
word-wrap: break-word;
|
|
129
|
-
}
|
|
130
|
-
.annotationLayer .popup > * {
|
|
131
|
-
font-size: 9px;
|
|
132
|
-
}
|
|
133
|
-
.annotationLayer .popup h1 {
|
|
134
|
-
display: inline-block;
|
|
135
|
-
}
|
|
136
|
-
.annotationLayer .popup span {
|
|
137
|
-
display: inline-block;
|
|
138
|
-
margin-left: 5px;
|
|
139
|
-
}
|
|
140
|
-
.annotationLayer .popup p {
|
|
141
|
-
border-top: 1px solid #333;
|
|
142
|
-
margin-top: 2px;
|
|
143
|
-
padding-top: 2px;
|
|
144
|
-
}
|
|
145
|
-
.annotationLayer .highlightAnnotation,
|
|
146
|
-
.annotationLayer .underlineAnnotation,
|
|
147
|
-
.annotationLayer .squigglyAnnotation,
|
|
148
|
-
.annotationLayer .strikeoutAnnotation,
|
|
149
|
-
.annotationLayer .freeTextAnnotation,
|
|
150
|
-
.annotationLayer .lineAnnotation svg line,
|
|
151
|
-
.annotationLayer .squareAnnotation svg rect,
|
|
152
|
-
.annotationLayer .circleAnnotation svg ellipse,
|
|
153
|
-
.annotationLayer .polylineAnnotation svg polyline,
|
|
154
|
-
.annotationLayer .polygonAnnotation svg polygon,
|
|
155
|
-
.annotationLayer .caretAnnotation,
|
|
156
|
-
.annotationLayer .inkAnnotation svg polyline,
|
|
157
|
-
.annotationLayer .stampAnnotation,
|
|
158
|
-
.annotationLayer .fileAttachmentAnnotation {
|
|
159
|
-
cursor: pointer;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
/* src/PdfReader/styles.css */
|
|
163
|
-
/*# sourceMappingURL=styles.css.map */
|