@nypl/design-system-react-components 3.4.1 → 3.4.3-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/design-system-react-components.cjs +52 -52
- package/dist/design-system-react-components.js +12376 -11594
- package/dist/src/components/Heading/Heading.d.ts +1 -1
- package/dist/src/components/Icons/IconSvgs.d.ts +2 -0
- package/dist/src/components/Icons/iconVariables.d.ts +1 -1
- package/dist/src/components/SocialMediaLinks/SocialMediaLinks.d.ts +1 -1
- package/dist/src/theme/components/customTable.d.ts +63 -71
- package/dist/src/theme/components/header.d.ts +100 -0
- package/dist/src/theme/components/headerLogin.d.ts +333 -0
- package/dist/src/theme/components/headerLoginButton.d.ts +72 -0
- package/dist/src/theme/components/headerLowerNav.d.ts +78 -0
- package/dist/src/theme/components/headerMobileIconNav.d.ts +28 -0
- package/dist/src/theme/components/headerMobileNav.d.ts +92 -0
- package/dist/src/theme/components/headerMobileNavButton.d.ts +36 -0
- package/dist/src/theme/components/headerSearchButton.d.ts +85 -0
- package/dist/src/theme/components/headerSearchForm.d.ts +185 -0
- package/dist/src/theme/components/headerSitewideAlerts.d.ts +43 -0
- package/dist/src/theme/components/headerUpperNav.d.ts +60 -0
- package/dist/src/theme/components/heading.d.ts +49 -1
- package/dist/src/theme/components/icon.d.ts +56 -0
- package/dist/src/theme/components/link.d.ts +1 -0
- package/dist/src/theme/components/newsletterSignup.d.ts +1 -1
- package/dist/src/theme/components/slider.d.ts +3 -3
- package/dist/src/theme/components/structuredContent.d.ts +34 -17
- package/dist/src/theme/foundations/breakpoints.d.ts +6 -0
- package/package.json +10 -9
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ChakraComponent, HeadingProps as ChakraHeadingProps } from "@chakra-ui/react";
|
|
2
2
|
import React from "react";
|
|
3
|
-
export declare const headingSizesArray: readonly ["display1", "heading1", "heading2", "heading3", "heading4", "heading5", "heading6", "primary", "secondary", "tertiary", "callout"];
|
|
3
|
+
export declare const headingSizesArray: readonly ["display1", "heading1", "heading2", "heading3", "heading4", "heading5", "heading6", "heading7", "heading8", "primary", "secondary", "tertiary", "callout"];
|
|
4
4
|
export declare const headingLevelsArray: readonly ["h1", "h2", "h3", "h4", "h5", "h6", "one", "two", "three", "four", "five", "six"];
|
|
5
5
|
export type HeadingSizes = typeof headingSizesArray[number];
|
|
6
6
|
export type HeadingLevels = typeof headingLevelsArray[number];
|
|
@@ -29,6 +29,7 @@ declare const _default: {
|
|
|
29
29
|
communicationCall: any;
|
|
30
30
|
communicationChatBubble: any;
|
|
31
31
|
communicationEmail: any;
|
|
32
|
+
contentFilterList: any;
|
|
32
33
|
decorativeBookBroken: any;
|
|
33
34
|
decorativeEnvelope: any;
|
|
34
35
|
decorativeLibraryCard: any;
|
|
@@ -67,6 +68,7 @@ declare const _default: {
|
|
|
67
68
|
socialTumblr: any;
|
|
68
69
|
socialTwitter: any;
|
|
69
70
|
socialVimeo: any;
|
|
71
|
+
socialX: any;
|
|
70
72
|
socialYoutube: any;
|
|
71
73
|
speakerNotes: any;
|
|
72
74
|
sunFull: any;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const iconAlignArray: readonly ["left", "right", "none"];
|
|
2
2
|
export declare const iconColorsArray: readonly ["transparent", "ui.black", "ui.white", "ui.disabled.primary", "ui.disabled.secondary", "ui.error.primary", "ui.error.secondary", "ui.focus", "ui.link.primary", "ui.link.primary-05", "ui.link.primary-10", "ui.link.secondary", "ui.link.tertiary", "ui.status.primary", "ui.status.secondary", "ui.success.primary", "ui.success.secondary", "ui.test", "ui.warning.primary", "ui.warning.secondary", "ui.bg.default", "ui.bg.hover", "ui.bg.active", "ui.border.default", "ui.border.hover", "ui.typography.heading", "ui.typography.body", "ui.typography.inverse.heading", "ui.typography.inverse.body", "ui.gray.xxxx-dark", "ui.gray.xxx-dark", "ui.gray.xx-dark", "ui.gray.x-dark", "ui.gray.dark", "ui.gray.semi-dark", "ui.gray.medium", "ui.gray.semi-medium", "ui.gray.light-cool", "ui.gray.x-light-cool", "ui.gray.xx-light-cool", "ui.gray.light-warm", "ui.gray.x-light-warm", "brand.primary", "brand.secondary", "section.blogs.primary", "section.blogs.secondary", "section.books-and-more.primary", "section.books-and-more.secondary", "section.connect.primary", "section.connect.secondary", "section.education.primary", "section.education.secondary", "section.locations.primary", "section.locations.secondary", "section.research.primary", "section.research.secondary", "section.research-library.lpa", "section.research-library.schomburg", "section.research-library.schwarzman", "section.whats-on.primary", "section.whats-on.secondary", "dark.brand.primary", "dark.brand.secondary", "dark.section.blogs.primary", "dark.section.blogs.secondary", "dark.section.books-and-more.primary", "dark.section.books-and-more.secondary", "dark.section.connect.primary", "dark.section.connect.secondary", "dark.section.education.primary", "dark.section.education.secondary", "dark.section.locations.primary", "dark.section.locations.secondary", "dark.section.research.primary", "dark.section.research.secondary", "dark.section.research-library.primary", "dark.section.research-library.secondary", "dark.section.whats-on.primary", "dark.section.whats-on.secondary", "dark.ui.disabled.primary", "dark.ui.disabled.secondary", "dark.ui.error.primary", "dark.ui.error.secondary", "dark.ui.focus", "dark.ui.link.primary", "dark.ui.link.primary-05", "dark.ui.link.primary-10", "dark.ui.link.secondary", "dark.ui.link.tertiary", "dark.ui.status.primary", "dark.ui.status.secondary", "dark.ui.success.primary", "dark.ui.success.secondary", "dark.ui.test", "dark.ui.warning.secondary", "dark.ui.warning.primary", "dark.ui.bg.page", "dark.ui.bg.default", "dark.ui.bg.hover", "dark.ui.bg.active", "dark.ui.border.default", "dark.ui.border.hover", "dark.ui.typography.heading", "dark.ui.typography.body", "dark.ui.typography.inverse.heading", "dark.ui.typography.inverse.body"];
|
|
3
|
-
export declare const iconNamesArray: readonly ["accessibilityFull", "accessibilityPartial", "actionCheckCircle", "actionCheckCircleFilled", "actionDelete", "actionExit", "actionHelpDefault", "actionHelpOutline", "actionHome", "actionIdentity", "actionIdentityFilled", "actionLaunch", "actionLightbulb", "actionLockClosed", "actionPayment", "actionPower", "actionRegistration", "actionSearch", "actionSettings", "alertNotificationImportant", "alertWarningFilled", "alertWarningOutline", "arrow", "building", "check", "clock", "close", "communicationCall", "communicationChatBubble", "communicationEmail", "decorativeBookBroken", "decorativeEnvelope", "decorativeLibraryCard", "decorativeShoppingBag", "download", "editorMode", "errorFilled", "errorOutline", "fileTypeAudio", "fileTypeDoc", "fileTypeGenericDoc", "fileTypeImage", "fileTypePdf", "fileTypeSpreadsheet", "fileTypeVideo", "headset", "legacyAccountFilled", "legacyAccountUnfilled", "legacySocialFacebook", "legacySocialInstagram", "legacySocialTwitter", "legacySocialYoutube", "locator", "mapsPlace", "minus", "moonCrescent", "navigationMoreVert", "plus", "search", "socialFacebook", "socialInstagram", "socialPinterest", "socialSoundCloud", "socialSpotify", "socialTikTok", "socialTumblr", "socialTwitter", "socialVimeo", "socialYoutube", "speakerNotes", "sunFull", "utilityAccountFilled", "utilityAccountUnfilled", "utilityHamburger", "utilitySearch"];
|
|
3
|
+
export declare const iconNamesArray: readonly ["accessibilityFull", "accessibilityPartial", "actionCheckCircle", "actionCheckCircleFilled", "actionDelete", "actionExit", "actionHelpDefault", "actionHelpOutline", "actionHome", "actionIdentity", "actionIdentityFilled", "actionLaunch", "actionLightbulb", "actionLockClosed", "actionPayment", "actionPower", "actionRegistration", "actionSearch", "actionSettings", "alertNotificationImportant", "alertWarningFilled", "alertWarningOutline", "arrow", "building", "check", "clock", "close", "communicationCall", "communicationChatBubble", "communicationEmail", "contentFilterList", "decorativeBookBroken", "decorativeEnvelope", "decorativeLibraryCard", "decorativeShoppingBag", "download", "editorMode", "errorFilled", "errorOutline", "fileTypeAudio", "fileTypeDoc", "fileTypeGenericDoc", "fileTypeImage", "fileTypePdf", "fileTypeSpreadsheet", "fileTypeVideo", "headset", "legacyAccountFilled", "legacyAccountUnfilled", "legacySocialFacebook", "legacySocialInstagram", "legacySocialTwitter", "legacySocialYoutube", "locator", "mapsPlace", "minus", "moonCrescent", "navigationMoreVert", "plus", "search", "socialFacebook", "socialInstagram", "socialPinterest", "socialSoundCloud", "socialSpotify", "socialTikTok", "socialTumblr", "socialTwitter", "socialVimeo", "socialX", "socialYoutube", "speakerNotes", "sunFull", "utilityAccountFilled", "utilityAccountUnfilled", "utilityHamburger", "utilitySearch"];
|
|
4
4
|
export declare const iconRotationsArray: readonly ["rotate0", "rotate90", "rotate180", "rotate270"];
|
|
5
5
|
export declare const iconSizesArray: readonly ["default", "xsmall", "small", "medium", "large", "xlarge", "xxlarge", "xxxlarge", "xxxxlarge", "xxxxxlarge", "2xlarge", "3xlarge", "4xlarge", "5xlarge"];
|
|
6
6
|
export declare const iconTypesArray: readonly ["default", "breadcrumbs"];
|
|
@@ -7,7 +7,7 @@ export declare const colorTypeArray: readonly ["link", "textDefault", "textInver
|
|
|
7
7
|
export type ColorType = typeof colorTypeArray[number];
|
|
8
8
|
export declare const sizeTypeArray: readonly ["small", "medium", "large"];
|
|
9
9
|
export type SizeType = typeof sizeTypeArray[number];
|
|
10
|
-
type IconNames = "fileTypeGenericDoc" | "socialFacebook" | "socialInstagram" | "socialPinterest" | "socialSoundCloud" | "socialTikTok" | "socialTumblr" | "socialTwitter" | "socialYoutube";
|
|
10
|
+
type IconNames = "fileTypeGenericDoc" | "socialFacebook" | "socialInstagram" | "socialPinterest" | "socialSoundCloud" | "socialTikTok" | "socialTumblr" | "socialTwitter" | "socialX" | "socialYoutube";
|
|
11
11
|
export interface SocialMediaLinkDataProps {
|
|
12
12
|
/** Required. Label rendered on page is showLabel is true */
|
|
13
13
|
labelText: string;
|
|
@@ -22,7 +22,10 @@ export declare const fixedColumnStyles: (isScrollable?: boolean, useRowHeaders?:
|
|
|
22
22
|
zIndex: string;
|
|
23
23
|
_dark: {
|
|
24
24
|
backgroundColor: string;
|
|
25
|
-
borderRight: string
|
|
25
|
+
borderRight: string | {
|
|
26
|
+
base: any;
|
|
27
|
+
md: string;
|
|
28
|
+
};
|
|
26
29
|
};
|
|
27
30
|
};
|
|
28
31
|
export declare const baseTRStyles: (columnHeadersBackgroundColor?: string, isScrollable?: boolean, showRowDividers?: boolean, useRowHeaders?: boolean) => {
|
|
@@ -57,10 +60,7 @@ export declare const baseTRStyles: (columnHeadersBackgroundColor?: string, isScr
|
|
|
57
60
|
export declare const baseCellStyles: (columnHeadersBackgroundColor?: string, columnHeadersTextColor?: string, tableTextSize?: any, isScrollable?: boolean, showRowDividers?: boolean) => {
|
|
58
61
|
border: string;
|
|
59
62
|
borderBottom: string;
|
|
60
|
-
borderColor: string
|
|
61
|
-
base: string;
|
|
62
|
-
md: string;
|
|
63
|
-
};
|
|
63
|
+
borderColor: string;
|
|
64
64
|
display: {
|
|
65
65
|
base: string;
|
|
66
66
|
md: string;
|
|
@@ -83,17 +83,14 @@ export declare const baseCellStyles: (columnHeadersBackgroundColor?: string, col
|
|
|
83
83
|
md: string;
|
|
84
84
|
};
|
|
85
85
|
_first: {
|
|
86
|
-
borderBottom: string
|
|
87
|
-
|
|
88
|
-
|
|
86
|
+
borderBottom: string;
|
|
87
|
+
_dark: {
|
|
88
|
+
borderBottom: string;
|
|
89
89
|
};
|
|
90
90
|
};
|
|
91
91
|
_last: {
|
|
92
92
|
borderBottom: string;
|
|
93
|
-
borderColor: string
|
|
94
|
-
base: string;
|
|
95
|
-
md: string;
|
|
96
|
-
};
|
|
93
|
+
borderColor: string;
|
|
97
94
|
};
|
|
98
95
|
"> span": {
|
|
99
96
|
flexBasis: string;
|
|
@@ -135,7 +132,10 @@ export declare const baseTHStyles: (columnHeadersBackgroundColor?: string, colum
|
|
|
135
132
|
zIndex: string;
|
|
136
133
|
_dark: {
|
|
137
134
|
backgroundColor: string;
|
|
138
|
-
borderRight: string
|
|
135
|
+
borderRight: string | {
|
|
136
|
+
base: any;
|
|
137
|
+
md: string;
|
|
138
|
+
};
|
|
139
139
|
};
|
|
140
140
|
};
|
|
141
141
|
_dark: {
|
|
@@ -143,10 +143,7 @@ export declare const baseTHStyles: (columnHeadersBackgroundColor?: string, colum
|
|
|
143
143
|
};
|
|
144
144
|
border: string;
|
|
145
145
|
borderBottom: string;
|
|
146
|
-
borderColor: string
|
|
147
|
-
base: string;
|
|
148
|
-
md: string;
|
|
149
|
-
};
|
|
146
|
+
borderColor: string;
|
|
150
147
|
display: {
|
|
151
148
|
base: string;
|
|
152
149
|
md: string;
|
|
@@ -169,10 +166,7 @@ export declare const baseTHStyles: (columnHeadersBackgroundColor?: string, colum
|
|
|
169
166
|
};
|
|
170
167
|
_last: {
|
|
171
168
|
borderBottom: string;
|
|
172
|
-
borderColor: string
|
|
173
|
-
base: string;
|
|
174
|
-
md: string;
|
|
175
|
-
};
|
|
169
|
+
borderColor: string;
|
|
176
170
|
};
|
|
177
171
|
"> span": {
|
|
178
172
|
flexBasis: string;
|
|
@@ -201,14 +195,10 @@ export declare const baseTDStyles: (columnHeadersBackgroundColor?: string, colum
|
|
|
201
195
|
base: number;
|
|
202
196
|
md: string;
|
|
203
197
|
};
|
|
204
|
-
borderColor: string;
|
|
205
198
|
};
|
|
206
199
|
border: string;
|
|
207
200
|
borderBottom: string;
|
|
208
|
-
borderColor: string
|
|
209
|
-
base: string;
|
|
210
|
-
md: string;
|
|
211
|
-
};
|
|
201
|
+
borderColor: string;
|
|
212
202
|
display: {
|
|
213
203
|
base: string;
|
|
214
204
|
md: string;
|
|
@@ -231,9 +221,9 @@ export declare const baseTDStyles: (columnHeadersBackgroundColor?: string, colum
|
|
|
231
221
|
md: string;
|
|
232
222
|
};
|
|
233
223
|
_first: {
|
|
234
|
-
borderBottom: string
|
|
235
|
-
|
|
236
|
-
|
|
224
|
+
borderBottom: string;
|
|
225
|
+
_dark: {
|
|
226
|
+
borderBottom: string;
|
|
237
227
|
};
|
|
238
228
|
};
|
|
239
229
|
"> span": {
|
|
@@ -269,6 +259,15 @@ export declare const baseStyle: ({ columnHeadersBackgroundColor, columnHeadersTe
|
|
|
269
259
|
backgroundSize: string;
|
|
270
260
|
backgroundPosition: string;
|
|
271
261
|
backgroundAttachment: string;
|
|
262
|
+
_dark: {
|
|
263
|
+
/** Show shadow to scroll */
|
|
264
|
+
background: string;
|
|
265
|
+
backgroundRepeat: string;
|
|
266
|
+
backgroundColor: string;
|
|
267
|
+
backgroundSize: string;
|
|
268
|
+
backgroundPosition: string;
|
|
269
|
+
backgroundAttachment: string;
|
|
270
|
+
};
|
|
272
271
|
};
|
|
273
272
|
innerTable: {
|
|
274
273
|
borderCollapse: string;
|
|
@@ -285,10 +284,6 @@ export declare const baseStyle: ({ columnHeadersBackgroundColor, columnHeadersTe
|
|
|
285
284
|
textTransform: string;
|
|
286
285
|
verticalAlign: string;
|
|
287
286
|
_dark: {
|
|
288
|
-
backgroundColor: {
|
|
289
|
-
base: "dark.ui.bg.default";
|
|
290
|
-
md: "unset";
|
|
291
|
-
};
|
|
292
287
|
color: string;
|
|
293
288
|
};
|
|
294
289
|
};
|
|
@@ -304,6 +299,9 @@ export declare const baseStyle: ({ columnHeadersBackgroundColor, columnHeadersTe
|
|
|
304
299
|
th: {
|
|
305
300
|
_first: {
|
|
306
301
|
backgroundColor: string;
|
|
302
|
+
_dark: {
|
|
303
|
+
backgroundColor: string;
|
|
304
|
+
};
|
|
307
305
|
};
|
|
308
306
|
};
|
|
309
307
|
};
|
|
@@ -355,7 +353,10 @@ export declare const baseStyle: ({ columnHeadersBackgroundColor, columnHeadersTe
|
|
|
355
353
|
zIndex: string;
|
|
356
354
|
_dark: {
|
|
357
355
|
backgroundColor: string;
|
|
358
|
-
borderRight: string
|
|
356
|
+
borderRight: string | {
|
|
357
|
+
base: any;
|
|
358
|
+
md: string;
|
|
359
|
+
};
|
|
359
360
|
};
|
|
360
361
|
};
|
|
361
362
|
_dark: {
|
|
@@ -363,10 +364,7 @@ export declare const baseStyle: ({ columnHeadersBackgroundColor, columnHeadersTe
|
|
|
363
364
|
};
|
|
364
365
|
border: string;
|
|
365
366
|
borderBottom: string;
|
|
366
|
-
borderColor: string
|
|
367
|
-
base: string;
|
|
368
|
-
md: string;
|
|
369
|
-
};
|
|
367
|
+
borderColor: string;
|
|
370
368
|
display: {
|
|
371
369
|
base: string;
|
|
372
370
|
md: string;
|
|
@@ -389,10 +387,7 @@ export declare const baseStyle: ({ columnHeadersBackgroundColor, columnHeadersTe
|
|
|
389
387
|
};
|
|
390
388
|
_last: {
|
|
391
389
|
borderBottom: string;
|
|
392
|
-
borderColor: string
|
|
393
|
-
base: string;
|
|
394
|
-
md: string;
|
|
395
|
-
};
|
|
390
|
+
borderColor: string;
|
|
396
391
|
};
|
|
397
392
|
"> span": {
|
|
398
393
|
flexBasis: string;
|
|
@@ -421,14 +416,10 @@ export declare const baseStyle: ({ columnHeadersBackgroundColor, columnHeadersTe
|
|
|
421
416
|
base: number;
|
|
422
417
|
md: string;
|
|
423
418
|
};
|
|
424
|
-
borderColor: string;
|
|
425
419
|
};
|
|
426
420
|
border: string;
|
|
427
421
|
borderBottom: string;
|
|
428
|
-
borderColor: string
|
|
429
|
-
base: string;
|
|
430
|
-
md: string;
|
|
431
|
-
};
|
|
422
|
+
borderColor: string;
|
|
432
423
|
display: {
|
|
433
424
|
base: string;
|
|
434
425
|
md: string;
|
|
@@ -451,9 +442,9 @@ export declare const baseStyle: ({ columnHeadersBackgroundColor, columnHeadersTe
|
|
|
451
442
|
md: string;
|
|
452
443
|
};
|
|
453
444
|
_first: {
|
|
454
|
-
borderBottom: string
|
|
455
|
-
|
|
456
|
-
|
|
445
|
+
borderBottom: string;
|
|
446
|
+
_dark: {
|
|
447
|
+
borderBottom: string;
|
|
457
448
|
};
|
|
458
449
|
};
|
|
459
450
|
"> span": {
|
|
@@ -510,6 +501,15 @@ declare const CustomTable: {
|
|
|
510
501
|
backgroundSize: string;
|
|
511
502
|
backgroundPosition: string;
|
|
512
503
|
backgroundAttachment: string;
|
|
504
|
+
_dark: {
|
|
505
|
+
/** Show shadow to scroll */
|
|
506
|
+
background: string;
|
|
507
|
+
backgroundRepeat: string;
|
|
508
|
+
backgroundColor: string;
|
|
509
|
+
backgroundSize: string;
|
|
510
|
+
backgroundPosition: string;
|
|
511
|
+
backgroundAttachment: string;
|
|
512
|
+
};
|
|
513
513
|
};
|
|
514
514
|
innerTable: {
|
|
515
515
|
borderCollapse: string;
|
|
@@ -526,10 +526,6 @@ declare const CustomTable: {
|
|
|
526
526
|
textTransform: string;
|
|
527
527
|
verticalAlign: string;
|
|
528
528
|
_dark: {
|
|
529
|
-
backgroundColor: {
|
|
530
|
-
base: "dark.ui.bg.default";
|
|
531
|
-
md: "unset";
|
|
532
|
-
};
|
|
533
529
|
color: string;
|
|
534
530
|
};
|
|
535
531
|
};
|
|
@@ -545,6 +541,9 @@ declare const CustomTable: {
|
|
|
545
541
|
th: {
|
|
546
542
|
_first: {
|
|
547
543
|
backgroundColor: string;
|
|
544
|
+
_dark: {
|
|
545
|
+
backgroundColor: string;
|
|
546
|
+
};
|
|
548
547
|
};
|
|
549
548
|
};
|
|
550
549
|
};
|
|
@@ -596,7 +595,10 @@ declare const CustomTable: {
|
|
|
596
595
|
zIndex: string;
|
|
597
596
|
_dark: {
|
|
598
597
|
backgroundColor: string;
|
|
599
|
-
borderRight: string
|
|
598
|
+
borderRight: string | {
|
|
599
|
+
base: any;
|
|
600
|
+
md: string;
|
|
601
|
+
};
|
|
600
602
|
};
|
|
601
603
|
};
|
|
602
604
|
_dark: {
|
|
@@ -604,10 +606,7 @@ declare const CustomTable: {
|
|
|
604
606
|
};
|
|
605
607
|
border: string;
|
|
606
608
|
borderBottom: string;
|
|
607
|
-
borderColor: string
|
|
608
|
-
base: string;
|
|
609
|
-
md: string;
|
|
610
|
-
};
|
|
609
|
+
borderColor: string;
|
|
611
610
|
display: {
|
|
612
611
|
base: string;
|
|
613
612
|
md: string;
|
|
@@ -630,10 +629,7 @@ declare const CustomTable: {
|
|
|
630
629
|
};
|
|
631
630
|
_last: {
|
|
632
631
|
borderBottom: string;
|
|
633
|
-
borderColor: string
|
|
634
|
-
base: string;
|
|
635
|
-
md: string;
|
|
636
|
-
};
|
|
632
|
+
borderColor: string;
|
|
637
633
|
};
|
|
638
634
|
"> span": {
|
|
639
635
|
flexBasis: string;
|
|
@@ -662,14 +658,10 @@ declare const CustomTable: {
|
|
|
662
658
|
base: number;
|
|
663
659
|
md: string;
|
|
664
660
|
};
|
|
665
|
-
borderColor: string;
|
|
666
661
|
};
|
|
667
662
|
border: string;
|
|
668
663
|
borderBottom: string;
|
|
669
|
-
borderColor: string
|
|
670
|
-
base: string;
|
|
671
|
-
md: string;
|
|
672
|
-
};
|
|
664
|
+
borderColor: string;
|
|
673
665
|
display: {
|
|
674
666
|
base: string;
|
|
675
667
|
md: string;
|
|
@@ -692,9 +684,9 @@ declare const CustomTable: {
|
|
|
692
684
|
md: string;
|
|
693
685
|
};
|
|
694
686
|
_first: {
|
|
695
|
-
borderBottom: string
|
|
696
|
-
|
|
697
|
-
|
|
687
|
+
borderBottom: string;
|
|
688
|
+
_dark: {
|
|
689
|
+
borderBottom: string;
|
|
698
690
|
};
|
|
699
691
|
};
|
|
700
692
|
"> span": {
|
|
@@ -0,0 +1,100 @@
|
|
|
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 headerRedDarkMode = "dark.ui.error.primary";
|
|
9
|
+
export declare const headerRedDonate = "#E32B31";
|
|
10
|
+
export declare const headerYellow = "#FEE34A";
|
|
11
|
+
export declare const headerYellowDark = "#403B2D";
|
|
12
|
+
export declare const headerFocus: {
|
|
13
|
+
borderRadius: string;
|
|
14
|
+
outlineColor: string;
|
|
15
|
+
outlineOffset: string;
|
|
16
|
+
outlineStyle: string;
|
|
17
|
+
outlineWidth: string;
|
|
18
|
+
};
|
|
19
|
+
declare const Header: {
|
|
20
|
+
parts: string[];
|
|
21
|
+
baseStyle: {
|
|
22
|
+
fontFamily: string;
|
|
23
|
+
fontSize: string;
|
|
24
|
+
fontWeight: string;
|
|
25
|
+
"& > nav li": {
|
|
26
|
+
marginBottom: string;
|
|
27
|
+
};
|
|
28
|
+
"& > nav a": {
|
|
29
|
+
lineHeight: string;
|
|
30
|
+
_focus: {
|
|
31
|
+
boxShadow: string;
|
|
32
|
+
outline: string;
|
|
33
|
+
outlineOffset: string;
|
|
34
|
+
outlineColor: string;
|
|
35
|
+
zIndex: string;
|
|
36
|
+
_dark: {
|
|
37
|
+
outlineColor: string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
a: {
|
|
42
|
+
_visited: {
|
|
43
|
+
color: string;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
button: {
|
|
47
|
+
cursor: string;
|
|
48
|
+
};
|
|
49
|
+
container: {
|
|
50
|
+
paddingX: {
|
|
51
|
+
base: string;
|
|
52
|
+
mh: string;
|
|
53
|
+
};
|
|
54
|
+
paddingY: {
|
|
55
|
+
mh: string;
|
|
56
|
+
};
|
|
57
|
+
maxWidth: string;
|
|
58
|
+
minHeight: {
|
|
59
|
+
mh: string;
|
|
60
|
+
};
|
|
61
|
+
margin: string;
|
|
62
|
+
};
|
|
63
|
+
navContainer: {
|
|
64
|
+
height: {
|
|
65
|
+
mh: string;
|
|
66
|
+
lh: string;
|
|
67
|
+
};
|
|
68
|
+
gap: {
|
|
69
|
+
mh: string;
|
|
70
|
+
lh: string;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
horizontalRule: {
|
|
74
|
+
bg: string;
|
|
75
|
+
marginTop: string;
|
|
76
|
+
marginBottom: string;
|
|
77
|
+
_dark: {
|
|
78
|
+
backgroundColor: string;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
logo: {
|
|
82
|
+
lineHeight: string;
|
|
83
|
+
svg: {
|
|
84
|
+
height: {
|
|
85
|
+
base: string;
|
|
86
|
+
mh: string;
|
|
87
|
+
lh: string;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
_focus: {
|
|
91
|
+
borderRadius: string;
|
|
92
|
+
outlineColor: string;
|
|
93
|
+
outlineOffset: string;
|
|
94
|
+
outlineStyle: string;
|
|
95
|
+
outlineWidth: string;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
export default Header;
|