@nypl/design-system-react-components 1.0.8 → 1.1.0-rc
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/components/Footer/Footer.d.ts +14 -0
- package/dist/components/Footer/footerLinks.d.ts +12 -0
- package/dist/components/Form/Form.d.ts +2 -2
- package/dist/components/Header/Header.d.ts +20 -0
- package/dist/components/Header/components/HeaderLogin.d.ts +13 -0
- package/dist/components/Header/components/HeaderLoginButton.d.ts +11 -0
- package/dist/components/Header/components/HeaderLowerNav.d.ts +7 -0
- package/dist/components/Header/components/HeaderMobileIconNav.d.ts +7 -0
- package/dist/components/Header/components/HeaderMobileNav.d.ts +7 -0
- package/dist/components/Header/components/HeaderMobileNavButton.d.ts +7 -0
- package/dist/components/Header/components/HeaderSearchButton.d.ts +10 -0
- package/dist/components/Header/components/HeaderSearchForm.d.ts +10 -0
- package/dist/components/Header/components/HeaderSitewideAlerts.d.ts +8 -0
- package/dist/components/Header/components/HeaderUpperNav.d.ts +8 -0
- package/dist/components/Header/context/headerContext.d.ts +13 -0
- package/dist/components/Header/utils/authApiMockResponse.d.ts +49 -0
- package/dist/components/Header/utils/encoreCatalogLogOutTimer.d.ts +4 -0
- package/dist/components/Header/utils/encoreCatalogLogOutTimer.test.d.ts +1 -0
- package/dist/components/Header/utils/googleAnalyticsUtils.d.ts +16 -0
- package/dist/components/Header/utils/googleAnalyticsUtils.test.d.ts +1 -0
- package/dist/components/Header/utils/headerUtils.d.ts +90 -0
- package/dist/components/Header/utils/headerUtils.test.d.ts +1 -0
- package/dist/components/Header/utils/sitewideAlertsMocks.d.ts +98 -0
- package/dist/components/Link/Link.d.ts +1 -0
- package/dist/components/Tooltip/Tooltip.d.ts +17 -0
- package/dist/design-system-react-components.cjs.development.js +3939 -1462
- package/dist/design-system-react-components.cjs.development.js.map +1 -1
- package/dist/design-system-react-components.cjs.production.min.js +1 -1
- package/dist/design-system-react-components.cjs.production.min.js.map +1 -1
- package/dist/design-system-react-components.esm.js +3940 -1465
- package/dist/design-system-react-components.esm.js.map +1 -1
- package/dist/hooks/useCloseDropDown.d.ts +6 -0
- package/dist/index.d.ts +2 -0
- package/dist/theme/components/footer.d.ts +223 -0
- package/dist/theme/components/globalMixins.d.ts +24 -4
- package/dist/theme/components/header/header.d.ts +66 -0
- package/dist/theme/components/header/headerLogin.d.ts +299 -0
- package/dist/theme/components/header/headerLoginButton.d.ts +54 -0
- package/dist/theme/components/header/headerLowerNav.d.ts +38 -0
- package/dist/theme/components/header/headerMobileIconNav.d.ts +23 -0
- package/dist/theme/components/header/headerMobileNav.d.ts +79 -0
- package/dist/theme/components/header/headerMobileNavButton.d.ts +28 -0
- package/dist/theme/components/header/headerSearchButton.d.ts +56 -0
- package/dist/theme/components/header/headerSearchForm.d.ts +168 -0
- package/dist/theme/components/header/headerSitewideAlerts.d.ts +27 -0
- package/dist/theme/components/header/headerUpperNav.d.ts +57 -0
- package/dist/theme/components/radio.d.ts +12 -3
- package/dist/theme/components/tooltip.d.ts +13 -0
- package/dist/theme/foundations/radii.d.ts +1 -0
- package/package.json +6 -1
- package/CHANGELOG.md +0 -1548
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Close dropdowns when clicking outside of them or by pressing
|
|
3
|
+
* the escape key. It expects an action callback that will set
|
|
4
|
+
* the dropdown state to false (close).
|
|
5
|
+
*/
|
|
6
|
+
export declare const useCloseDropDown: (actionCb: (val: boolean) => void, ref: React.RefObject<HTMLDivElement>) => void;
|
package/dist/index.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export { default as DatePicker, DatePickerTypes, FullDateType, } from "./compone
|
|
|
12
12
|
export { default as DSProvider } from "./theme/provider";
|
|
13
13
|
export { default as Fieldset } from "./components/Fieldset/Fieldset";
|
|
14
14
|
export { default as Form, FormField, FormRow } from "./components/Form/Form";
|
|
15
|
+
export { default as Header } from "./components/Header/Header";
|
|
15
16
|
export { default as Heading, HeadingSizes, HeadingLevels, } from "./components/Heading/Heading";
|
|
16
17
|
export { default as HelperErrorText } from "./components/HelperErrorText/HelperErrorText";
|
|
17
18
|
export { default as Hero, HeroTypes } from "./components/Hero/Hero";
|
|
@@ -48,3 +49,4 @@ export { default as useNYPLTheme } from "./hooks/useNYPLTheme";
|
|
|
48
49
|
export { default as useWindowSize } from "./hooks/useWindowSize";
|
|
49
50
|
export { default as VideoPlayer, VideoPlayerAspectRatios, VideoPlayerTypes, } from "./components/VideoPlayer/VideoPlayer";
|
|
50
51
|
export { default as Table } from "./components/Table/Table";
|
|
52
|
+
export { default as Tooltip } from "./components/Tooltip/Tooltip";
|
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
export declare const footerGray = "#54514A";
|
|
2
|
+
declare const Footer: {
|
|
3
|
+
baseStyle: {
|
|
4
|
+
backgroundColor: string;
|
|
5
|
+
minHeight: {
|
|
6
|
+
base: string;
|
|
7
|
+
lg: string;
|
|
8
|
+
};
|
|
9
|
+
padding: {
|
|
10
|
+
base: string;
|
|
11
|
+
md: string;
|
|
12
|
+
lg: string;
|
|
13
|
+
};
|
|
14
|
+
position: string;
|
|
15
|
+
listsContainer: {
|
|
16
|
+
display: string;
|
|
17
|
+
flexDirection: {
|
|
18
|
+
base: string;
|
|
19
|
+
xl: string;
|
|
20
|
+
};
|
|
21
|
+
alignItems: {
|
|
22
|
+
base: string;
|
|
23
|
+
xl: string;
|
|
24
|
+
};
|
|
25
|
+
marginTop: string;
|
|
26
|
+
margin: {
|
|
27
|
+
md: string;
|
|
28
|
+
};
|
|
29
|
+
right: {
|
|
30
|
+
md: string;
|
|
31
|
+
};
|
|
32
|
+
position: {
|
|
33
|
+
md: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
footerLinksList: {
|
|
37
|
+
fontSize: {
|
|
38
|
+
base: string;
|
|
39
|
+
md: string;
|
|
40
|
+
lg: string;
|
|
41
|
+
};
|
|
42
|
+
fontWeight: {
|
|
43
|
+
lg: string;
|
|
44
|
+
};
|
|
45
|
+
lineHeight: {
|
|
46
|
+
base: string;
|
|
47
|
+
md: string;
|
|
48
|
+
lg: string;
|
|
49
|
+
};
|
|
50
|
+
marginRight: {
|
|
51
|
+
xl: string;
|
|
52
|
+
};
|
|
53
|
+
order: {
|
|
54
|
+
base: string;
|
|
55
|
+
md: string;
|
|
56
|
+
xl: string;
|
|
57
|
+
};
|
|
58
|
+
textAlign: {
|
|
59
|
+
base: string;
|
|
60
|
+
md: string;
|
|
61
|
+
};
|
|
62
|
+
width: {
|
|
63
|
+
base: string;
|
|
64
|
+
md: string;
|
|
65
|
+
};
|
|
66
|
+
li: {
|
|
67
|
+
float: {
|
|
68
|
+
md: string;
|
|
69
|
+
};
|
|
70
|
+
marginTop: string;
|
|
71
|
+
width: {
|
|
72
|
+
md: string;
|
|
73
|
+
lg: string;
|
|
74
|
+
};
|
|
75
|
+
_first: {
|
|
76
|
+
width: {
|
|
77
|
+
md: string;
|
|
78
|
+
};
|
|
79
|
+
marginRight: {
|
|
80
|
+
lg: string;
|
|
81
|
+
xl: string;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
":nth-child(2)": {
|
|
85
|
+
marginRight: {
|
|
86
|
+
lg: string;
|
|
87
|
+
xl: string;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
footerLinksInner: {
|
|
93
|
+
li: {
|
|
94
|
+
_first: {
|
|
95
|
+
position: string;
|
|
96
|
+
height: string;
|
|
97
|
+
width: string;
|
|
98
|
+
};
|
|
99
|
+
clip: string;
|
|
100
|
+
height: {
|
|
101
|
+
base: string;
|
|
102
|
+
md: string;
|
|
103
|
+
};
|
|
104
|
+
overflow: string;
|
|
105
|
+
position: {
|
|
106
|
+
base: string;
|
|
107
|
+
md: string;
|
|
108
|
+
};
|
|
109
|
+
width: {
|
|
110
|
+
base: string;
|
|
111
|
+
md: string;
|
|
112
|
+
};
|
|
113
|
+
wordWrap: string;
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
socialMediaList: {
|
|
117
|
+
order: string;
|
|
118
|
+
margin: string;
|
|
119
|
+
marginTop: {
|
|
120
|
+
md: string;
|
|
121
|
+
xl: string;
|
|
122
|
+
};
|
|
123
|
+
textAlign: {
|
|
124
|
+
xl: string;
|
|
125
|
+
};
|
|
126
|
+
width: {
|
|
127
|
+
xl: string;
|
|
128
|
+
};
|
|
129
|
+
li: {
|
|
130
|
+
display: string;
|
|
131
|
+
width: string;
|
|
132
|
+
a: {
|
|
133
|
+
display: string;
|
|
134
|
+
color: string;
|
|
135
|
+
fontSize: {
|
|
136
|
+
base: string;
|
|
137
|
+
md: string;
|
|
138
|
+
};
|
|
139
|
+
lineHeight: string;
|
|
140
|
+
textDecoration: string;
|
|
141
|
+
svg: {
|
|
142
|
+
width: string;
|
|
143
|
+
height: string;
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
};
|
|
148
|
+
a: {
|
|
149
|
+
color: string;
|
|
150
|
+
fontWeight: string;
|
|
151
|
+
margin: string;
|
|
152
|
+
textDecoration: string;
|
|
153
|
+
_hover: {
|
|
154
|
+
color: string;
|
|
155
|
+
textDecoration: string;
|
|
156
|
+
};
|
|
157
|
+
_focus: {
|
|
158
|
+
backgroundColor: string;
|
|
159
|
+
outline: string;
|
|
160
|
+
outlineColor: string;
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
svg: {
|
|
164
|
+
fill: string;
|
|
165
|
+
};
|
|
166
|
+
logoContainer: {
|
|
167
|
+
position: string;
|
|
168
|
+
top: {
|
|
169
|
+
base: string;
|
|
170
|
+
lg: string;
|
|
171
|
+
};
|
|
172
|
+
left: {
|
|
173
|
+
md: string;
|
|
174
|
+
};
|
|
175
|
+
svg: {
|
|
176
|
+
height: {
|
|
177
|
+
base: string;
|
|
178
|
+
md: string;
|
|
179
|
+
};
|
|
180
|
+
width: {
|
|
181
|
+
base: string;
|
|
182
|
+
md: string;
|
|
183
|
+
};
|
|
184
|
+
};
|
|
185
|
+
};
|
|
186
|
+
nyplInfoContainer: {
|
|
187
|
+
color: string;
|
|
188
|
+
position: {
|
|
189
|
+
md: string;
|
|
190
|
+
};
|
|
191
|
+
left: {
|
|
192
|
+
md: string;
|
|
193
|
+
};
|
|
194
|
+
top: {
|
|
195
|
+
md: string;
|
|
196
|
+
lg: string;
|
|
197
|
+
xl: string;
|
|
198
|
+
};
|
|
199
|
+
width: {
|
|
200
|
+
md: string;
|
|
201
|
+
};
|
|
202
|
+
img: {
|
|
203
|
+
bg: string;
|
|
204
|
+
height: string;
|
|
205
|
+
width: string;
|
|
206
|
+
};
|
|
207
|
+
};
|
|
208
|
+
copyright: {
|
|
209
|
+
margin: string;
|
|
210
|
+
fontSize: {
|
|
211
|
+
base: string;
|
|
212
|
+
md: string;
|
|
213
|
+
lg: string;
|
|
214
|
+
};
|
|
215
|
+
fontWeight: string;
|
|
216
|
+
textAlign: string;
|
|
217
|
+
p: {
|
|
218
|
+
margin: string;
|
|
219
|
+
};
|
|
220
|
+
};
|
|
221
|
+
};
|
|
222
|
+
};
|
|
223
|
+
export default Footer;
|
|
@@ -2,13 +2,33 @@
|
|
|
2
2
|
* These objects are also SCSS mixins but are now JS objects in the
|
|
3
3
|
* context of css-in-js and the custom NYPL-theme.
|
|
4
4
|
*/
|
|
5
|
-
|
|
5
|
+
/**
|
|
6
|
+
* If the element that should be visually hidden should only be hidden on
|
|
7
|
+
* small screens, then pass in true for the `isMobileOnly` argument. Otherwise,
|
|
8
|
+
* this will set an element to always be visually hidden regardless of the
|
|
9
|
+
* screen size.
|
|
10
|
+
*/
|
|
11
|
+
declare const screenreaderOnly: (isMobileOnly?: boolean) => {
|
|
6
12
|
clip: string;
|
|
7
|
-
height:
|
|
13
|
+
height: {
|
|
14
|
+
base: string;
|
|
15
|
+
md: string;
|
|
16
|
+
};
|
|
8
17
|
overflow: string;
|
|
18
|
+
position: {
|
|
19
|
+
base: string;
|
|
20
|
+
md: string;
|
|
21
|
+
};
|
|
22
|
+
width: {
|
|
23
|
+
base: string;
|
|
24
|
+
md: string;
|
|
25
|
+
};
|
|
26
|
+
wordWrap: string;
|
|
27
|
+
};
|
|
28
|
+
declare const displayScreenreaderOnly: {
|
|
9
29
|
position: string;
|
|
30
|
+
height: string;
|
|
10
31
|
width: string;
|
|
11
|
-
wordWrap: string;
|
|
12
32
|
};
|
|
13
33
|
declare const wrapperStyles: {
|
|
14
34
|
marginY: string;
|
|
@@ -17,4 +37,4 @@ declare const wrapperStyles: {
|
|
|
17
37
|
padding: string;
|
|
18
38
|
width: string;
|
|
19
39
|
};
|
|
20
|
-
export { screenreaderOnly, wrapperStyles };
|
|
40
|
+
export { displayScreenreaderOnly, screenreaderOnly, wrapperStyles };
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
export declare const headerBlack = "#2b2b2b";
|
|
2
|
+
export declare const headerBlue = "#1B7FA7";
|
|
3
|
+
export declare const headerDarkBlue = "#135772";
|
|
4
|
+
export declare const headerFocusColor = "#0F465C";
|
|
5
|
+
export declare const headerLightBlue = "#78CCED";
|
|
6
|
+
export declare const headerLightBlueIcon = "#1DA1D4";
|
|
7
|
+
export declare const headerRed = "#ED1C24";
|
|
8
|
+
export declare const headerRedDonate = "#E32B31";
|
|
9
|
+
export declare const headerYellow = "#FEE34A";
|
|
10
|
+
export declare const headerFocus: {
|
|
11
|
+
borderRadius: string;
|
|
12
|
+
outlineColor: string;
|
|
13
|
+
outlineOffset: string;
|
|
14
|
+
outlineStyle: string;
|
|
15
|
+
outlineWidth: string;
|
|
16
|
+
};
|
|
17
|
+
declare const Header: {
|
|
18
|
+
parts: string[];
|
|
19
|
+
baseStyle: {
|
|
20
|
+
fontFamily: string;
|
|
21
|
+
container: {
|
|
22
|
+
marginX: {
|
|
23
|
+
md: string;
|
|
24
|
+
xl: string;
|
|
25
|
+
};
|
|
26
|
+
maxWidth: string;
|
|
27
|
+
minHeight: {
|
|
28
|
+
base: string;
|
|
29
|
+
md: string;
|
|
30
|
+
lg: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
horizontalRule: {
|
|
34
|
+
bg: string;
|
|
35
|
+
marginTop: string;
|
|
36
|
+
};
|
|
37
|
+
logo: {
|
|
38
|
+
padding: {
|
|
39
|
+
base: string;
|
|
40
|
+
md: string;
|
|
41
|
+
};
|
|
42
|
+
svg: {
|
|
43
|
+
height: {
|
|
44
|
+
base: string;
|
|
45
|
+
md: string;
|
|
46
|
+
};
|
|
47
|
+
width: {
|
|
48
|
+
md: string;
|
|
49
|
+
lg: string;
|
|
50
|
+
};
|
|
51
|
+
marginTop: {
|
|
52
|
+
base: string;
|
|
53
|
+
md: string;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
_focus: {
|
|
57
|
+
borderRadius: string;
|
|
58
|
+
outlineColor: string;
|
|
59
|
+
outlineOffset: string;
|
|
60
|
+
outlineStyle: string;
|
|
61
|
+
outlineWidth: string;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
export default Header;
|
|
@@ -0,0 +1,299 @@
|
|
|
1
|
+
declare const HeaderLogin: {
|
|
2
|
+
parts: string[];
|
|
3
|
+
baseStyle: ({ patronName }: {
|
|
4
|
+
patronName: any;
|
|
5
|
+
}) => {
|
|
6
|
+
bg: {
|
|
7
|
+
base: string;
|
|
8
|
+
md: string;
|
|
9
|
+
};
|
|
10
|
+
boxShadow: {
|
|
11
|
+
base: string;
|
|
12
|
+
md: string;
|
|
13
|
+
};
|
|
14
|
+
display: {
|
|
15
|
+
base: string;
|
|
16
|
+
md: string;
|
|
17
|
+
};
|
|
18
|
+
flexDirection: string;
|
|
19
|
+
left: {
|
|
20
|
+
base: string;
|
|
21
|
+
md: any;
|
|
22
|
+
};
|
|
23
|
+
marginTop: {
|
|
24
|
+
md: string;
|
|
25
|
+
};
|
|
26
|
+
minHeight: {
|
|
27
|
+
base: string;
|
|
28
|
+
md: string;
|
|
29
|
+
};
|
|
30
|
+
minWidth: {
|
|
31
|
+
base: string;
|
|
32
|
+
md: string;
|
|
33
|
+
};
|
|
34
|
+
position: string;
|
|
35
|
+
padding: {
|
|
36
|
+
base: string;
|
|
37
|
+
md: string;
|
|
38
|
+
};
|
|
39
|
+
zIndex: string;
|
|
40
|
+
ul: {
|
|
41
|
+
display: {
|
|
42
|
+
base: string;
|
|
43
|
+
md: string;
|
|
44
|
+
};
|
|
45
|
+
marginBottom: string;
|
|
46
|
+
marginTop: {
|
|
47
|
+
base: string;
|
|
48
|
+
md: string;
|
|
49
|
+
};
|
|
50
|
+
width: string;
|
|
51
|
+
li: {
|
|
52
|
+
_first: {
|
|
53
|
+
gridColumn: {
|
|
54
|
+
base: string;
|
|
55
|
+
md: any;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
_last: {
|
|
59
|
+
gridColumn: {
|
|
60
|
+
base: string;
|
|
61
|
+
md: any;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
li: {
|
|
67
|
+
_notFirst: {
|
|
68
|
+
marginLeft: {
|
|
69
|
+
base: string;
|
|
70
|
+
md: string;
|
|
71
|
+
};
|
|
72
|
+
marginTop: {
|
|
73
|
+
base: string;
|
|
74
|
+
md: string;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
"li a": {
|
|
79
|
+
alignItems: string;
|
|
80
|
+
border: {
|
|
81
|
+
base: string;
|
|
82
|
+
md: string;
|
|
83
|
+
};
|
|
84
|
+
borderColor: string;
|
|
85
|
+
borderRadius: {
|
|
86
|
+
base: string;
|
|
87
|
+
md: string;
|
|
88
|
+
};
|
|
89
|
+
bg: {
|
|
90
|
+
base: string;
|
|
91
|
+
md: string;
|
|
92
|
+
};
|
|
93
|
+
color: string;
|
|
94
|
+
display: string;
|
|
95
|
+
fontSize: string;
|
|
96
|
+
fontWeight: string;
|
|
97
|
+
justifyContent: {
|
|
98
|
+
md: string;
|
|
99
|
+
};
|
|
100
|
+
lineHeight: {
|
|
101
|
+
base: string;
|
|
102
|
+
md: string;
|
|
103
|
+
};
|
|
104
|
+
marginTop: {
|
|
105
|
+
base: string;
|
|
106
|
+
};
|
|
107
|
+
minHeight: {
|
|
108
|
+
base: string;
|
|
109
|
+
md: string;
|
|
110
|
+
};
|
|
111
|
+
padding: {
|
|
112
|
+
base: string;
|
|
113
|
+
md: string;
|
|
114
|
+
};
|
|
115
|
+
textAlign: {
|
|
116
|
+
base: string;
|
|
117
|
+
md: string;
|
|
118
|
+
};
|
|
119
|
+
textTransform: string;
|
|
120
|
+
whiteSpace: string;
|
|
121
|
+
width: {
|
|
122
|
+
base: string;
|
|
123
|
+
md: string;
|
|
124
|
+
};
|
|
125
|
+
svg: {
|
|
126
|
+
marginRight: {
|
|
127
|
+
base: string;
|
|
128
|
+
md: any;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
span: {
|
|
132
|
+
width: {
|
|
133
|
+
base: string;
|
|
134
|
+
md: string;
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
_hover: {
|
|
138
|
+
bg: {
|
|
139
|
+
base: string;
|
|
140
|
+
md: string;
|
|
141
|
+
};
|
|
142
|
+
color: string;
|
|
143
|
+
};
|
|
144
|
+
_focus: {
|
|
145
|
+
borderRadius: {
|
|
146
|
+
base: string;
|
|
147
|
+
md: string;
|
|
148
|
+
};
|
|
149
|
+
boxShadow: {
|
|
150
|
+
base: any;
|
|
151
|
+
md: string;
|
|
152
|
+
};
|
|
153
|
+
outline: {
|
|
154
|
+
base: string;
|
|
155
|
+
md: string;
|
|
156
|
+
};
|
|
157
|
+
outlineStyle: {
|
|
158
|
+
base: string;
|
|
159
|
+
md: any;
|
|
160
|
+
};
|
|
161
|
+
outlineWidth: {
|
|
162
|
+
base: string;
|
|
163
|
+
md: any;
|
|
164
|
+
};
|
|
165
|
+
};
|
|
166
|
+
};
|
|
167
|
+
patronGreeting: {
|
|
168
|
+
alignSelf: string;
|
|
169
|
+
color: string;
|
|
170
|
+
fontSize: {
|
|
171
|
+
base: string;
|
|
172
|
+
md: string;
|
|
173
|
+
};
|
|
174
|
+
fontWeight: string;
|
|
175
|
+
lineHeight: string;
|
|
176
|
+
margin: {
|
|
177
|
+
base: string;
|
|
178
|
+
md: string;
|
|
179
|
+
};
|
|
180
|
+
minHeight: {
|
|
181
|
+
base: string;
|
|
182
|
+
md: string;
|
|
183
|
+
};
|
|
184
|
+
textAlign: string;
|
|
185
|
+
textTransform: string;
|
|
186
|
+
width: {
|
|
187
|
+
md: string;
|
|
188
|
+
};
|
|
189
|
+
_focus: {
|
|
190
|
+
boxShadow: {
|
|
191
|
+
base: any;
|
|
192
|
+
md: string;
|
|
193
|
+
};
|
|
194
|
+
outline: {
|
|
195
|
+
base: string;
|
|
196
|
+
md: string;
|
|
197
|
+
};
|
|
198
|
+
outlineStyle: {
|
|
199
|
+
base: string;
|
|
200
|
+
md: any;
|
|
201
|
+
};
|
|
202
|
+
outlineWidth: {
|
|
203
|
+
base: string;
|
|
204
|
+
md: any;
|
|
205
|
+
};
|
|
206
|
+
};
|
|
207
|
+
".greeting": {
|
|
208
|
+
fontStyle: string;
|
|
209
|
+
margin: {
|
|
210
|
+
base: string;
|
|
211
|
+
md: string;
|
|
212
|
+
};
|
|
213
|
+
};
|
|
214
|
+
".name": {
|
|
215
|
+
margin: number;
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
logoutButton: {
|
|
219
|
+
alignSelf: string;
|
|
220
|
+
bg: {
|
|
221
|
+
base: string;
|
|
222
|
+
md: string;
|
|
223
|
+
};
|
|
224
|
+
borderRadius: {
|
|
225
|
+
base: string;
|
|
226
|
+
md: string;
|
|
227
|
+
};
|
|
228
|
+
color: {
|
|
229
|
+
base: string;
|
|
230
|
+
md: string;
|
|
231
|
+
};
|
|
232
|
+
fontSize: {
|
|
233
|
+
base: string;
|
|
234
|
+
md: string;
|
|
235
|
+
};
|
|
236
|
+
marginTop: {
|
|
237
|
+
base: string;
|
|
238
|
+
md: string;
|
|
239
|
+
};
|
|
240
|
+
marginBottom: {
|
|
241
|
+
base: string;
|
|
242
|
+
md: string;
|
|
243
|
+
};
|
|
244
|
+
padding: {
|
|
245
|
+
base: string;
|
|
246
|
+
md: any;
|
|
247
|
+
};
|
|
248
|
+
textDecoration: {
|
|
249
|
+
base: string;
|
|
250
|
+
md: any;
|
|
251
|
+
};
|
|
252
|
+
textTransform: string;
|
|
253
|
+
width: {
|
|
254
|
+
base: string;
|
|
255
|
+
md: string;
|
|
256
|
+
};
|
|
257
|
+
svg: {
|
|
258
|
+
fill: string;
|
|
259
|
+
};
|
|
260
|
+
_hover: {
|
|
261
|
+
bg: {
|
|
262
|
+
base: string;
|
|
263
|
+
md: string;
|
|
264
|
+
};
|
|
265
|
+
color: {
|
|
266
|
+
base: string;
|
|
267
|
+
md: string;
|
|
268
|
+
};
|
|
269
|
+
textDecoration: {
|
|
270
|
+
base: string;
|
|
271
|
+
md: any;
|
|
272
|
+
};
|
|
273
|
+
};
|
|
274
|
+
_focus: {
|
|
275
|
+
borderRadius: {
|
|
276
|
+
base: string;
|
|
277
|
+
md: string;
|
|
278
|
+
};
|
|
279
|
+
boxShadow: {
|
|
280
|
+
base: any;
|
|
281
|
+
md: string;
|
|
282
|
+
};
|
|
283
|
+
outline: {
|
|
284
|
+
base: string;
|
|
285
|
+
md: string;
|
|
286
|
+
};
|
|
287
|
+
outlineStyle: {
|
|
288
|
+
base: string;
|
|
289
|
+
md: any;
|
|
290
|
+
};
|
|
291
|
+
outlineWidth: {
|
|
292
|
+
base: string;
|
|
293
|
+
md: any;
|
|
294
|
+
};
|
|
295
|
+
};
|
|
296
|
+
};
|
|
297
|
+
};
|
|
298
|
+
};
|
|
299
|
+
export default HeaderLogin;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
declare const HeaderLoginButton: {
|
|
2
|
+
baseStyle: ({ isOpen }: {
|
|
3
|
+
isOpen: any;
|
|
4
|
+
}) => {
|
|
5
|
+
alignItems: {
|
|
6
|
+
base: string;
|
|
7
|
+
};
|
|
8
|
+
bg: {
|
|
9
|
+
base: string;
|
|
10
|
+
md: string;
|
|
11
|
+
};
|
|
12
|
+
borderRadius: string;
|
|
13
|
+
color: string;
|
|
14
|
+
fontSize: string;
|
|
15
|
+
fontWeight: number;
|
|
16
|
+
minHeight: {
|
|
17
|
+
md: string;
|
|
18
|
+
};
|
|
19
|
+
padding: {
|
|
20
|
+
md: string;
|
|
21
|
+
};
|
|
22
|
+
svg: {
|
|
23
|
+
fill: string;
|
|
24
|
+
marginLeft: {
|
|
25
|
+
base: string;
|
|
26
|
+
md: string;
|
|
27
|
+
};
|
|
28
|
+
marginTop: {
|
|
29
|
+
base: string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
textDecoration: string;
|
|
33
|
+
textTransform: string;
|
|
34
|
+
_hover: {
|
|
35
|
+
backgroundColor: {
|
|
36
|
+
base: string;
|
|
37
|
+
md: string;
|
|
38
|
+
};
|
|
39
|
+
color: string;
|
|
40
|
+
svg: {
|
|
41
|
+
fill: string;
|
|
42
|
+
};
|
|
43
|
+
textDecoration: string;
|
|
44
|
+
};
|
|
45
|
+
_focus: {
|
|
46
|
+
borderRadius: string;
|
|
47
|
+
outlineColor: string;
|
|
48
|
+
outlineOffset: string;
|
|
49
|
+
outlineStyle: string;
|
|
50
|
+
outlineWidth: string;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
export default HeaderLoginButton;
|