@nypl/web-reader 0.1.4 → 0.2.0-alpha.3
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/cjs/index.js.map +7 -0
- package/dist/esm/ServiceWorker/sw.js +1263 -0
- package/dist/esm/ServiceWorker/sw.js.map +7 -0
- package/dist/esm/index.js +88803 -0
- package/dist/esm/index.js.map +7 -0
- package/dist/html-styles.css +2 -0
- package/dist/html-styles.css.map +7 -0
- package/dist/pdf-styles.css +2 -0
- package/dist/pdf-styles.css.map +7 -0
- package/dist/{HtmlReader → types/HtmlReader}/HtmlReaderContent.d.ts +3 -3
- package/dist/{HtmlReader → types/HtmlReader}/index.d.ts +22 -22
- package/dist/{HtmlReader → types/HtmlReader}/injectables.d.ts +30 -30
- package/dist/{PdfReader → types/PdfReader}/index.d.ts +11 -12
- package/dist/{PdfReader → types/PdfReader}/useMeasure.d.ts +7 -4
- package/dist/{ServiceWorker → types/ServiceWorker}/client.d.ts +9 -9
- package/dist/{ServiceWorker → types/ServiceWorker}/constants.d.ts +3 -3
- package/{src/ServiceWorker/index.ts → dist/types/ServiceWorker/index.d.ts} +0 -0
- package/dist/{ServiceWorker → types/ServiceWorker}/sw.d.ts +7 -7
- package/dist/{ServiceWorker → types/ServiceWorker}/types.d.ts +3 -3
- package/dist/{WebpubManifestTypes → types/WebpubManifestTypes}/ConformsTo.d.ts +3 -3
- package/dist/{WebpubManifestTypes → types/WebpubManifestTypes}/Contributor.d.ts +17 -17
- package/dist/{WebpubManifestTypes → types/WebpubManifestTypes}/EpubExtension.d.ts +47 -47
- package/dist/{WebpubManifestTypes → types/WebpubManifestTypes}/LanguageMap.d.ts +3 -3
- package/dist/{WebpubManifestTypes → types/WebpubManifestTypes}/Metadata.d.ts +46 -46
- package/dist/{WebpubManifestTypes → types/WebpubManifestTypes}/OPDSLink.d.ts +63 -63
- package/dist/{WebpubManifestTypes → types/WebpubManifestTypes}/PresentationHints.d.ts +53 -53
- package/dist/{WebpubManifestTypes → types/WebpubManifestTypes}/ReadiumLink.d.ts +58 -58
- package/dist/{WebpubManifestTypes → types/WebpubManifestTypes}/Subject.d.ts +16 -16
- package/dist/{WebpubManifestTypes → types/WebpubManifestTypes}/WebpubManifest.d.ts +14 -14
- package/dist/{constants.d.ts → types/constants.d.ts} +2 -2
- package/dist/{index.d.ts → types/index.d.ts} +7 -7
- package/dist/{types.d.ts → types/types.d.ts} +66 -66
- package/dist/{ui → types/ui}/Button.d.ts +9 -7
- package/dist/{ui → types/ui}/Header.d.ts +6 -6
- package/dist/{ui → types/ui}/HtmlSettings.d.ts +9 -9
- package/dist/{ui → types/ui}/PageButton.d.ts +7 -7
- package/dist/{ui → types/ui}/PdfSettings.d.ts +9 -9
- package/dist/{ui → types/ui}/SettingsButton.d.ts +5 -5
- package/dist/{ui → types/ui}/TableOfContent.d.ts +7 -7
- package/dist/{ui → types/ui}/ToggleButton.d.ts +10 -10
- package/dist/{ui → types/ui}/ToggleGroup.d.ts +8 -8
- package/dist/{ui → types/ui}/constants.d.ts +1 -1
- package/dist/{ui → types/ui}/hooks/useColorModeValue.d.ts +7 -7
- package/dist/{ui → types/ui}/hooks/useContainerWidth.d.ts +6 -6
- package/dist/{ui → types/ui}/hooks/useEventListener.d.ts +8 -8
- package/dist/{ui → types/ui}/manager.d.ts +9 -9
- package/dist/{ui → types/ui}/nypl-base-theme/components/button.d.ts +94 -94
- package/dist/{ui → types/ui}/nypl-base-theme/components/checkbox.d.ts +41 -41
- package/dist/{ui → types/ui}/nypl-base-theme/components/form-error.d.ts +14 -14
- package/dist/{ui → types/ui}/nypl-base-theme/components/form-label.d.ts +14 -14
- package/dist/{ui → types/ui}/nypl-base-theme/components/form.d.ts +15 -15
- package/dist/{ui → types/ui}/nypl-base-theme/components/input.d.ts +107 -107
- package/dist/{ui → types/ui}/nypl-base-theme/components/text-area.d.ts +34 -34
- package/dist/{ui → types/ui}/nypl-base-theme/foundations/breakpoints.d.ts +8 -8
- package/dist/{ui → types/ui}/nypl-base-theme/foundations/colors.d.ts +3 -3
- package/dist/{ui → types/ui}/nypl-base-theme/foundations/global.d.ts +13 -13
- package/dist/{ui → types/ui}/nypl-base-theme/foundations/radii.d.ts +12 -12
- package/dist/{ui → types/ui}/nypl-base-theme/foundations/spacing.d.ts +49 -49
- package/dist/{ui → types/ui}/nypl-base-theme/foundations/typography.d.ts +10 -10
- package/dist/{ui → types/ui}/nypl-base-theme/index.d.ts +6 -6
- package/dist/{ui → types/ui}/nypl-base-theme/types.d.ts +1 -1
- package/dist/{ui → types/ui}/theme/components/button.d.ts +78 -78
- package/dist/{ui → types/ui}/theme/components/text.d.ts +20 -20
- package/dist/{ui → types/ui}/theme/foundations/colors.d.ts +3 -3
- package/dist/{ui → types/ui}/theme/index.d.ts +11 -11
- package/dist/{ui → types/ui}/theme/types.d.ts +1 -1
- package/dist/{useWebReader.d.ts → types/useWebReader.d.ts} +7 -7
- package/dist/{utils → types/utils}/decryptAxisNow.d.ts +0 -0
- package/dist/{utils → types/utils}/fetch.d.ts +4 -4
- package/dist/{utils → types/utils}/getColor.d.ts +2 -2
- package/dist/{utils → types/utils}/toggleFullScreen.d.ts +5 -5
- package/package.json +21 -33
- package/dist/ServiceWorker/index.d.ts +0 -1
- package/dist/index.js +0 -8
- package/dist/web-reader.cjs.development.js +0 -3363
- package/dist/web-reader.cjs.development.js.map +0 -1
- package/dist/web-reader.cjs.production.min.js +0 -2
- package/dist/web-reader.cjs.production.min.js.map +0 -1
- package/dist/web-reader.esm.js +0 -3356
- package/dist/web-reader.esm.js.map +0 -1
- package/src/HtmlReader/HtmlReaderContent.tsx +0 -19
- package/src/HtmlReader/index.tsx +0 -262
- package/src/HtmlReader/injectables.ts +0 -26
- package/src/PdfReader/index.tsx +0 -492
- package/src/PdfReader/useMeasure.tsx +0 -68
- package/src/ServiceWorker/client.ts +0 -106
- package/src/ServiceWorker/constants.ts +0 -4
- package/src/ServiceWorker/sw.ts +0 -84
- package/src/ServiceWorker/types.ts +0 -3
- package/src/WebpubManifestTypes/ConformsTo.ts +0 -9
- package/src/WebpubManifestTypes/Contributor.ts +0 -24
- package/src/WebpubManifestTypes/EpubExtension.ts +0 -48
- package/src/WebpubManifestTypes/LanguageMap.ts +0 -5
- package/src/WebpubManifestTypes/Metadata.ts +0 -48
- package/src/WebpubManifestTypes/OPDSLink.ts +0 -251
- package/src/WebpubManifestTypes/PresentationHints.ts +0 -54
- package/src/WebpubManifestTypes/ReadiumLink.ts +0 -61
- package/src/WebpubManifestTypes/Subject.ts +0 -20
- package/src/WebpubManifestTypes/WebpubManifest.ts +0 -15
- package/src/constants.ts +0 -3
- package/src/index.tsx +0 -25
- package/src/types.ts +0 -94
- package/src/ui/Button.tsx +0 -12
- package/src/ui/Header.tsx +0 -89
- package/src/ui/HtmlSettings.tsx +0 -97
- package/src/ui/PageButton.tsx +0 -39
- package/src/ui/PdfSettings.tsx +0 -85
- package/src/ui/SettingsButton.tsx +0 -71
- package/src/ui/TableOfContent.tsx +0 -144
- package/src/ui/ToggleButton.tsx +0 -60
- package/src/ui/ToggleGroup.tsx +0 -41
- package/src/ui/constants.ts +0 -2
- package/src/ui/hooks/useColorModeValue.tsx +0 -19
- package/src/ui/hooks/useContainerWidth.ts +0 -24
- package/src/ui/hooks/useEventListener.ts +0 -26
- package/src/ui/manager.tsx +0 -73
- package/src/ui/nypl-base-theme/components/button.ts +0 -117
- package/src/ui/nypl-base-theme/components/checkbox.ts +0 -45
- package/src/ui/nypl-base-theme/components/form-error.ts +0 -15
- package/src/ui/nypl-base-theme/components/form-label.ts +0 -15
- package/src/ui/nypl-base-theme/components/form.ts +0 -16
- package/src/ui/nypl-base-theme/components/input.ts +0 -101
- package/src/ui/nypl-base-theme/components/text-area.ts +0 -17
- package/src/ui/nypl-base-theme/foundations/breakpoints.ts +0 -10
- package/src/ui/nypl-base-theme/foundations/colors.ts +0 -136
- package/src/ui/nypl-base-theme/foundations/global.ts +0 -16
- package/src/ui/nypl-base-theme/foundations/radii.ts +0 -13
- package/src/ui/nypl-base-theme/foundations/spacing.ts +0 -58
- package/src/ui/nypl-base-theme/foundations/typography.ts +0 -43
- package/src/ui/nypl-base-theme/index.ts +0 -42
- package/src/ui/nypl-base-theme/types.ts +0 -1
- package/src/ui/theme/components/button.ts +0 -85
- package/src/ui/theme/components/text.ts +0 -24
- package/src/ui/theme/foundations/colors.ts +0 -10
- package/src/ui/theme/index.ts +0 -34
- package/src/ui/theme/types.ts +0 -1
- package/src/useWebReader.tsx +0 -105
- package/src/utils/decryptAxisNow.ts +0 -45
- package/src/utils/fetch.ts +0 -13
- package/src/utils/getColor.ts +0 -14
- package/src/utils/toggleFullScreen.ts +0 -71
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
baseStyle: {
|
|
3
|
-
text: {
|
|
4
|
-
color: string;
|
|
5
|
-
mt: number;
|
|
6
|
-
fontSize: string;
|
|
7
|
-
};
|
|
8
|
-
icon: {
|
|
9
|
-
marginEnd: string;
|
|
10
|
-
color: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
export default _default;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
baseStyle: {
|
|
3
|
+
text: {
|
|
4
|
+
color: string;
|
|
5
|
+
mt: number;
|
|
6
|
+
fontSize: string;
|
|
7
|
+
};
|
|
8
|
+
icon: {
|
|
9
|
+
marginEnd: string;
|
|
10
|
+
color: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
export default _default;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
baseStyle: {
|
|
3
|
-
fontSize: string;
|
|
4
|
-
marginEnd: number;
|
|
5
|
-
mb: number;
|
|
6
|
-
fontWeight: string;
|
|
7
|
-
transition: string;
|
|
8
|
-
opacity: number;
|
|
9
|
-
_disabled: {
|
|
10
|
-
opacity: number;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
export default _default;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
baseStyle: {
|
|
3
|
+
fontSize: string;
|
|
4
|
+
marginEnd: number;
|
|
5
|
+
mb: number;
|
|
6
|
+
fontWeight: string;
|
|
7
|
+
transition: string;
|
|
8
|
+
opacity: number;
|
|
9
|
+
_disabled: {
|
|
10
|
+
opacity: number;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
export default _default;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
baseStyle: {
|
|
3
|
-
requiredIndicator: {
|
|
4
|
-
marginStart: number;
|
|
5
|
-
color: string;
|
|
6
|
-
};
|
|
7
|
-
helperText: {
|
|
8
|
-
mt: number;
|
|
9
|
-
color: string;
|
|
10
|
-
lineHeight: string;
|
|
11
|
-
fontSize: string;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
export default _default;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
baseStyle: {
|
|
3
|
+
requiredIndicator: {
|
|
4
|
+
marginStart: number;
|
|
5
|
+
color: string;
|
|
6
|
+
};
|
|
7
|
+
helperText: {
|
|
8
|
+
mt: number;
|
|
9
|
+
color: string;
|
|
10
|
+
lineHeight: string;
|
|
11
|
+
fontSize: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export default _default;
|
|
@@ -1,107 +1,107 @@
|
|
|
1
|
-
declare const Input: {
|
|
2
|
-
baseStyle: {
|
|
3
|
-
field: {
|
|
4
|
-
borderRadius: string;
|
|
5
|
-
fontSize: string;
|
|
6
|
-
_focus: {
|
|
7
|
-
borderColor: string;
|
|
8
|
-
_hover: {
|
|
9
|
-
borderColor: string;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
_placeholder: {
|
|
13
|
-
fontStyle: string;
|
|
14
|
-
color: string;
|
|
15
|
-
};
|
|
16
|
-
_invalid: {
|
|
17
|
-
borderColor: string;
|
|
18
|
-
_placeholder: {
|
|
19
|
-
color: string;
|
|
20
|
-
};
|
|
21
|
-
_hover: {
|
|
22
|
-
borderColor: string;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
sizes: {
|
|
28
|
-
lg: {
|
|
29
|
-
field: {
|
|
30
|
-
fontSize: string;
|
|
31
|
-
px: number;
|
|
32
|
-
h: number;
|
|
33
|
-
borderRadius: string;
|
|
34
|
-
};
|
|
35
|
-
addon: {
|
|
36
|
-
fontSize: string;
|
|
37
|
-
px: number;
|
|
38
|
-
h: number;
|
|
39
|
-
borderRadius: string;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
md: {
|
|
43
|
-
field: {
|
|
44
|
-
fontSize: string;
|
|
45
|
-
px: number;
|
|
46
|
-
h: number;
|
|
47
|
-
borderRadius: string;
|
|
48
|
-
};
|
|
49
|
-
addon: {
|
|
50
|
-
fontSize: string;
|
|
51
|
-
px: number;
|
|
52
|
-
h: number;
|
|
53
|
-
borderRadius: string;
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
|
-
sm: {
|
|
57
|
-
field: {
|
|
58
|
-
fontSize: string;
|
|
59
|
-
px: number;
|
|
60
|
-
h: number;
|
|
61
|
-
borderRadius: string;
|
|
62
|
-
};
|
|
63
|
-
addon: {
|
|
64
|
-
fontSize: string;
|
|
65
|
-
px: number;
|
|
66
|
-
h: number;
|
|
67
|
-
borderRadius: string;
|
|
68
|
-
};
|
|
69
|
-
};
|
|
70
|
-
xs: {
|
|
71
|
-
field: {
|
|
72
|
-
fontSize: string;
|
|
73
|
-
px: number;
|
|
74
|
-
h: number;
|
|
75
|
-
borderRadius: string;
|
|
76
|
-
};
|
|
77
|
-
addon: {
|
|
78
|
-
fontSize: string;
|
|
79
|
-
px: number;
|
|
80
|
-
h: number;
|
|
81
|
-
borderRadius: string;
|
|
82
|
-
};
|
|
83
|
-
};
|
|
84
|
-
};
|
|
85
|
-
variants: {
|
|
86
|
-
outline: {
|
|
87
|
-
field: {
|
|
88
|
-
_disabled: {
|
|
89
|
-
bg: string;
|
|
90
|
-
};
|
|
91
|
-
_focus: {
|
|
92
|
-
boxShadow: string;
|
|
93
|
-
_hover: {
|
|
94
|
-
borderColor: string;
|
|
95
|
-
};
|
|
96
|
-
};
|
|
97
|
-
_invalid: {
|
|
98
|
-
boxShadow: string;
|
|
99
|
-
};
|
|
100
|
-
};
|
|
101
|
-
};
|
|
102
|
-
};
|
|
103
|
-
defaultProps: {
|
|
104
|
-
size: string;
|
|
105
|
-
};
|
|
106
|
-
};
|
|
107
|
-
export default Input;
|
|
1
|
+
declare const Input: {
|
|
2
|
+
baseStyle: {
|
|
3
|
+
field: {
|
|
4
|
+
borderRadius: string;
|
|
5
|
+
fontSize: string;
|
|
6
|
+
_focus: {
|
|
7
|
+
borderColor: string;
|
|
8
|
+
_hover: {
|
|
9
|
+
borderColor: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
_placeholder: {
|
|
13
|
+
fontStyle: string;
|
|
14
|
+
color: string;
|
|
15
|
+
};
|
|
16
|
+
_invalid: {
|
|
17
|
+
borderColor: string;
|
|
18
|
+
_placeholder: {
|
|
19
|
+
color: string;
|
|
20
|
+
};
|
|
21
|
+
_hover: {
|
|
22
|
+
borderColor: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
sizes: {
|
|
28
|
+
lg: {
|
|
29
|
+
field: {
|
|
30
|
+
fontSize: string;
|
|
31
|
+
px: number;
|
|
32
|
+
h: number;
|
|
33
|
+
borderRadius: string;
|
|
34
|
+
};
|
|
35
|
+
addon: {
|
|
36
|
+
fontSize: string;
|
|
37
|
+
px: number;
|
|
38
|
+
h: number;
|
|
39
|
+
borderRadius: string;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
md: {
|
|
43
|
+
field: {
|
|
44
|
+
fontSize: string;
|
|
45
|
+
px: number;
|
|
46
|
+
h: number;
|
|
47
|
+
borderRadius: string;
|
|
48
|
+
};
|
|
49
|
+
addon: {
|
|
50
|
+
fontSize: string;
|
|
51
|
+
px: number;
|
|
52
|
+
h: number;
|
|
53
|
+
borderRadius: string;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
sm: {
|
|
57
|
+
field: {
|
|
58
|
+
fontSize: string;
|
|
59
|
+
px: number;
|
|
60
|
+
h: number;
|
|
61
|
+
borderRadius: string;
|
|
62
|
+
};
|
|
63
|
+
addon: {
|
|
64
|
+
fontSize: string;
|
|
65
|
+
px: number;
|
|
66
|
+
h: number;
|
|
67
|
+
borderRadius: string;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
xs: {
|
|
71
|
+
field: {
|
|
72
|
+
fontSize: string;
|
|
73
|
+
px: number;
|
|
74
|
+
h: number;
|
|
75
|
+
borderRadius: string;
|
|
76
|
+
};
|
|
77
|
+
addon: {
|
|
78
|
+
fontSize: string;
|
|
79
|
+
px: number;
|
|
80
|
+
h: number;
|
|
81
|
+
borderRadius: string;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
variants: {
|
|
86
|
+
outline: {
|
|
87
|
+
field: {
|
|
88
|
+
_disabled: {
|
|
89
|
+
bg: string;
|
|
90
|
+
};
|
|
91
|
+
_focus: {
|
|
92
|
+
boxShadow: string;
|
|
93
|
+
_hover: {
|
|
94
|
+
borderColor: string;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
_invalid: {
|
|
98
|
+
boxShadow: string;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
defaultProps: {
|
|
104
|
+
size: string;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
export default Input;
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
baseStyle: {
|
|
3
|
-
_disabled: {
|
|
4
|
-
bg: string;
|
|
5
|
-
};
|
|
6
|
-
};
|
|
7
|
-
sizes: {
|
|
8
|
-
xs: {
|
|
9
|
-
fontSize: string;
|
|
10
|
-
px: number;
|
|
11
|
-
h: number;
|
|
12
|
-
borderRadius: string;
|
|
13
|
-
};
|
|
14
|
-
sm: {
|
|
15
|
-
fontSize: string;
|
|
16
|
-
px: number;
|
|
17
|
-
h: number;
|
|
18
|
-
borderRadius: string;
|
|
19
|
-
};
|
|
20
|
-
md: {
|
|
21
|
-
fontSize: string;
|
|
22
|
-
px: number;
|
|
23
|
-
h: number;
|
|
24
|
-
borderRadius: string;
|
|
25
|
-
};
|
|
26
|
-
lg: {
|
|
27
|
-
fontSize: string;
|
|
28
|
-
px: number;
|
|
29
|
-
h: number;
|
|
30
|
-
borderRadius: string;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
export default _default;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
baseStyle: {
|
|
3
|
+
_disabled: {
|
|
4
|
+
bg: string;
|
|
5
|
+
};
|
|
6
|
+
};
|
|
7
|
+
sizes: {
|
|
8
|
+
xs: {
|
|
9
|
+
fontSize: string;
|
|
10
|
+
px: number;
|
|
11
|
+
h: number;
|
|
12
|
+
borderRadius: string;
|
|
13
|
+
};
|
|
14
|
+
sm: {
|
|
15
|
+
fontSize: string;
|
|
16
|
+
px: number;
|
|
17
|
+
h: number;
|
|
18
|
+
borderRadius: string;
|
|
19
|
+
};
|
|
20
|
+
md: {
|
|
21
|
+
fontSize: string;
|
|
22
|
+
px: number;
|
|
23
|
+
h: number;
|
|
24
|
+
borderRadius: string;
|
|
25
|
+
};
|
|
26
|
+
lg: {
|
|
27
|
+
fontSize: string;
|
|
28
|
+
px: number;
|
|
29
|
+
h: number;
|
|
30
|
+
borderRadius: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
export default _default;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
declare const _default: import("@chakra-ui/theme-tools").Breakpoints<{
|
|
2
|
-
sm: string;
|
|
3
|
-
md: string;
|
|
4
|
-
lg: string;
|
|
5
|
-
xl: string;
|
|
6
|
-
'2xl': string;
|
|
7
|
-
}>;
|
|
8
|
-
export default _default;
|
|
1
|
+
declare const _default: import("@chakra-ui/theme-tools").Breakpoints<{
|
|
2
|
+
sm: string;
|
|
3
|
+
md: string;
|
|
4
|
+
lg: string;
|
|
5
|
+
xl: string;
|
|
6
|
+
'2xl': string;
|
|
7
|
+
}>;
|
|
8
|
+
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Colors } from '@chakra-ui/react';
|
|
2
|
-
declare const colors: Colors;
|
|
3
|
-
export default colors;
|
|
1
|
+
import { Colors } from '@chakra-ui/react';
|
|
2
|
+
declare const colors: Colors;
|
|
3
|
+
export default colors;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
declare const global: {
|
|
2
|
-
body: {
|
|
3
|
-
bg: string;
|
|
4
|
-
color: string;
|
|
5
|
-
};
|
|
6
|
-
a: {
|
|
7
|
-
color: string;
|
|
8
|
-
_hover: {
|
|
9
|
-
textDecoration: string;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
export default global;
|
|
1
|
+
declare const global: {
|
|
2
|
+
body: {
|
|
3
|
+
bg: string;
|
|
4
|
+
color: string;
|
|
5
|
+
};
|
|
6
|
+
a: {
|
|
7
|
+
color: string;
|
|
8
|
+
_hover: {
|
|
9
|
+
textDecoration: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export default global;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
declare const radii: {
|
|
2
|
-
none: string;
|
|
3
|
-
sm: string;
|
|
4
|
-
base: string;
|
|
5
|
-
md: string;
|
|
6
|
-
lg: string;
|
|
7
|
-
xl: string;
|
|
8
|
-
'2xl': string;
|
|
9
|
-
'3xl': string;
|
|
10
|
-
full: string;
|
|
11
|
-
};
|
|
12
|
-
export default radii;
|
|
1
|
+
declare const radii: {
|
|
2
|
+
none: string;
|
|
3
|
+
sm: string;
|
|
4
|
+
base: string;
|
|
5
|
+
md: string;
|
|
6
|
+
lg: string;
|
|
7
|
+
xl: string;
|
|
8
|
+
'2xl': string;
|
|
9
|
+
'3xl': string;
|
|
10
|
+
full: string;
|
|
11
|
+
};
|
|
12
|
+
export default radii;
|
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A comprehensive spacin scale based on NYPL Design System,
|
|
3
|
-
* with intermediate values interpolated. Those marked with comments
|
|
4
|
-
* are directly from the NYPL DS.
|
|
5
|
-
*
|
|
6
|
-
* 1 spacing unit is 4px or 0.25rem.
|
|
7
|
-
*
|
|
8
|
-
* Mental model: If you need a spacing of 40px, divide it by 4.
|
|
9
|
-
* That'll give you 10. Then use it in your component.
|
|
10
|
-
*/
|
|
11
|
-
declare const spacing: {
|
|
12
|
-
space: {
|
|
13
|
-
px: string;
|
|
14
|
-
0: string;
|
|
15
|
-
0.5: string;
|
|
16
|
-
1: string;
|
|
17
|
-
1.5: string;
|
|
18
|
-
2: string;
|
|
19
|
-
2.5: string;
|
|
20
|
-
3: string;
|
|
21
|
-
3.5: string;
|
|
22
|
-
4: string;
|
|
23
|
-
5: string;
|
|
24
|
-
6: string;
|
|
25
|
-
7: string;
|
|
26
|
-
8: string;
|
|
27
|
-
9: string;
|
|
28
|
-
10: string;
|
|
29
|
-
12: string;
|
|
30
|
-
14: string;
|
|
31
|
-
16: string;
|
|
32
|
-
20: string;
|
|
33
|
-
24: string;
|
|
34
|
-
28: string;
|
|
35
|
-
32: string;
|
|
36
|
-
36: string;
|
|
37
|
-
40: string;
|
|
38
|
-
44: string;
|
|
39
|
-
48: string;
|
|
40
|
-
52: string;
|
|
41
|
-
56: string;
|
|
42
|
-
60: string;
|
|
43
|
-
64: string;
|
|
44
|
-
72: string;
|
|
45
|
-
80: string;
|
|
46
|
-
96: string;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
export default spacing;
|
|
1
|
+
/**
|
|
2
|
+
* A comprehensive spacin scale based on NYPL Design System,
|
|
3
|
+
* with intermediate values interpolated. Those marked with comments
|
|
4
|
+
* are directly from the NYPL DS.
|
|
5
|
+
*
|
|
6
|
+
* 1 spacing unit is 4px or 0.25rem.
|
|
7
|
+
*
|
|
8
|
+
* Mental model: If you need a spacing of 40px, divide it by 4.
|
|
9
|
+
* That'll give you 10. Then use it in your component.
|
|
10
|
+
*/
|
|
11
|
+
declare const spacing: {
|
|
12
|
+
space: {
|
|
13
|
+
px: string;
|
|
14
|
+
0: string;
|
|
15
|
+
0.5: string;
|
|
16
|
+
1: string;
|
|
17
|
+
1.5: string;
|
|
18
|
+
2: string;
|
|
19
|
+
2.5: string;
|
|
20
|
+
3: string;
|
|
21
|
+
3.5: string;
|
|
22
|
+
4: string;
|
|
23
|
+
5: string;
|
|
24
|
+
6: string;
|
|
25
|
+
7: string;
|
|
26
|
+
8: string;
|
|
27
|
+
9: string;
|
|
28
|
+
10: string;
|
|
29
|
+
12: string;
|
|
30
|
+
14: string;
|
|
31
|
+
16: string;
|
|
32
|
+
20: string;
|
|
33
|
+
24: string;
|
|
34
|
+
28: string;
|
|
35
|
+
32: string;
|
|
36
|
+
36: string;
|
|
37
|
+
40: string;
|
|
38
|
+
44: string;
|
|
39
|
+
48: string;
|
|
40
|
+
52: string;
|
|
41
|
+
56: string;
|
|
42
|
+
60: string;
|
|
43
|
+
64: string;
|
|
44
|
+
72: string;
|
|
45
|
+
80: string;
|
|
46
|
+
96: string;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
export default spacing;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Dict } from '../types';
|
|
2
|
-
declare type Typography = {
|
|
3
|
-
letterSpacings: Dict;
|
|
4
|
-
lineHeights: Dict;
|
|
5
|
-
fontWeights: Dict;
|
|
6
|
-
fonts: Dict;
|
|
7
|
-
fontSizes: Dict;
|
|
8
|
-
};
|
|
9
|
-
declare const typography: Typography;
|
|
10
|
-
export default typography;
|
|
1
|
+
import { Dict } from '../types';
|
|
2
|
+
declare type Typography = {
|
|
3
|
+
letterSpacings: Dict;
|
|
4
|
+
lineHeights: Dict;
|
|
5
|
+
fontWeights: Dict;
|
|
6
|
+
fonts: Dict;
|
|
7
|
+
fontSizes: Dict;
|
|
8
|
+
};
|
|
9
|
+
declare const typography: Typography;
|
|
10
|
+
export default typography;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* See Chakra default theme for shape of theme object:
|
|
3
|
-
* https://github.com/chakra-ui/chakra-ui/tree/main/packages/theme
|
|
4
|
-
*/
|
|
5
|
-
declare const theme: any
|
|
6
|
-
export default theme;
|
|
1
|
+
/**
|
|
2
|
+
* See Chakra default theme for shape of theme object:
|
|
3
|
+
* https://github.com/chakra-ui/chakra-ui/tree/main/packages/theme
|
|
4
|
+
*/
|
|
5
|
+
declare const theme: import("@chakra-ui/utils").Dict<any>;
|
|
6
|
+
export default theme;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare type Dict<T = any> = Record<string, T>;
|
|
1
|
+
export declare type Dict<T = any> = Record<string, T>;
|