@nypl/design-system-react-components 1.7.1 → 2.0.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/design-system-react-components.cjs +59 -59
- package/dist/design-system-react-components.js +12190 -11989
- package/dist/src/components/Icons/Icon.d.ts +4 -3
- package/dist/src/components/Icons/IconSvgs.d.ts +18 -0
- package/dist/src/components/Icons/iconVariables.d.ts +2 -2
- package/dist/src/components/Link/Link.d.ts +7 -2
- package/dist/src/index.d.ts +1 -1
- package/dist/src/theme/components/accordion.d.ts +1 -1
- package/dist/src/theme/components/alphabetFilter.d.ts +11 -4
- package/dist/src/theme/components/breadcrumb.d.ts +1 -0
- package/dist/src/theme/components/card.d.ts +76 -12
- package/dist/src/theme/components/customTable.d.ts +15 -9
- package/dist/src/theme/components/feedbackBox.d.ts +8 -0
- package/dist/src/theme/components/fieldset.d.ts +4 -3
- package/dist/src/theme/components/global.d.ts +1 -0
- package/dist/src/theme/components/heading.d.ts +75 -2
- package/dist/src/theme/components/hero.d.ts +20 -9
- package/dist/src/theme/components/image.d.ts +0 -4
- package/dist/src/theme/components/label.d.ts +1 -0
- package/dist/src/theme/components/link.d.ts +48 -2
- package/dist/src/theme/components/list.d.ts +2 -0
- package/dist/src/theme/components/modal.d.ts +6 -0
- package/dist/src/theme/components/multiSelectMenuButton.d.ts +4 -0
- package/dist/src/theme/components/notification.d.ts +1 -0
- package/dist/src/theme/components/pagination.d.ts +3 -0
- package/dist/src/theme/components/progressIndicator.d.ts +1 -0
- package/dist/src/theme/components/structuredContent.d.ts +41 -14
- package/dist/src/theme/components/tabs.d.ts +3 -3
- package/dist/src/theme/components/tooltip.d.ts +2 -0
- package/dist/src/utils/utils.d.ts +2 -0
- package/dist/styles.css +1 -1
- package/package.json +1 -1
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { iconAlignArray, iconColorsArray, iconNamesArray,
|
|
2
|
+
import { iconAlignArray, iconColorsArray, iconNamesArray, iconRotationsArray, iconSizesArray, iconTypesArray } from "./iconVariables";
|
|
3
3
|
export type IconAlign = typeof iconAlignArray[number];
|
|
4
4
|
export type IconColors = typeof iconColorsArray[number];
|
|
5
5
|
export type IconNames = typeof iconNamesArray[number];
|
|
6
|
-
export type
|
|
6
|
+
export type IconRotations = typeof iconRotationsArray[number];
|
|
7
|
+
export type IconRotationTypes = typeof iconRotationsArray[number];
|
|
7
8
|
export type IconSizes = typeof iconSizesArray[number];
|
|
8
9
|
export type IconTypes = typeof iconTypesArray[number];
|
|
9
10
|
export interface IconProps {
|
|
@@ -17,7 +18,7 @@ export interface IconProps {
|
|
|
17
18
|
* by default. */
|
|
18
19
|
decorative?: boolean;
|
|
19
20
|
/** Rotates the icon clockwise in increments of 90deg */
|
|
20
|
-
iconRotation?:
|
|
21
|
+
iconRotation?: IconRotations;
|
|
21
22
|
/** ID that other components can cross reference for accessibility purposes */
|
|
22
23
|
id?: string;
|
|
23
24
|
/** The name of the icon you want to use. */
|
|
@@ -21,6 +21,12 @@ declare const _default: {
|
|
|
21
21
|
actionHelpOutline: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
|
|
22
22
|
title?: string;
|
|
23
23
|
}>;
|
|
24
|
+
actionIdentity: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
|
|
25
|
+
title?: string;
|
|
26
|
+
}>;
|
|
27
|
+
actionIdentityFilled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
|
|
28
|
+
title?: string;
|
|
29
|
+
}>;
|
|
24
30
|
actionLaunch: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
|
|
25
31
|
title?: string;
|
|
26
32
|
}>;
|
|
@@ -30,6 +36,9 @@ declare const _default: {
|
|
|
30
36
|
actionRegistration: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
|
|
31
37
|
title?: string;
|
|
32
38
|
}>;
|
|
39
|
+
actionSearch: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
|
|
40
|
+
title?: string;
|
|
41
|
+
}>;
|
|
33
42
|
actionSettings: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
|
|
34
43
|
title?: string;
|
|
35
44
|
}>;
|
|
@@ -120,6 +129,9 @@ declare const _default: {
|
|
|
120
129
|
locator: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
|
|
121
130
|
title?: string;
|
|
122
131
|
}>;
|
|
132
|
+
mapsPlace: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
|
|
133
|
+
title?: string;
|
|
134
|
+
}>;
|
|
123
135
|
minus: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
|
|
124
136
|
title?: string;
|
|
125
137
|
}>;
|
|
@@ -141,6 +153,9 @@ declare const _default: {
|
|
|
141
153
|
socialSoundCloud: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
|
|
142
154
|
title?: string;
|
|
143
155
|
}>;
|
|
156
|
+
socialSpotify: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
|
|
157
|
+
title?: string;
|
|
158
|
+
}>;
|
|
144
159
|
socialTikTok: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
|
|
145
160
|
title?: string;
|
|
146
161
|
}>;
|
|
@@ -150,6 +165,9 @@ declare const _default: {
|
|
|
150
165
|
socialTwitter: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
|
|
151
166
|
title?: string;
|
|
152
167
|
}>;
|
|
168
|
+
socialVimeo: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
|
|
169
|
+
title?: string;
|
|
170
|
+
}>;
|
|
153
171
|
socialYoutube: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
|
|
154
172
|
title?: string;
|
|
155
173
|
}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const iconAlignArray: readonly ["left", "right", "none"];
|
|
2
2
|
export declare const iconColorsArray: readonly ["ui.black", "ui.white", "brand.primary", "brand.secondary", "ui.error.primary", "ui.error.secondary", "ui.status.primary", "ui.status.secondary", "ui.success.primary", "ui.success.secondary", "ui.warning.primary", "ui.warning.secondary", "section.blogs.primary", "section.blogs.secondary", "section.books-and-more.primary", "section.books-and-more.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.schwartzman", "section.whats-on.primary", "section.whats-on.secondary", "dark.ui.error.primary", "dark.ui.error.secondary", "dark.ui.status.primary", "dark.ui.status.secondary", "dark.ui.success.primary", "dark.ui.success.secondary", "dark.ui.warning.primary", "dark.ui.warning.secondary"];
|
|
3
|
-
export declare const iconNamesArray: readonly ["accessibilityFull", "accessibilityPartial", "actionCheckCircle", "actionCheckCircleFilled", "actionExit", "actionHelpDefault", "actionHelpOutline", "actionLaunch", "actionPower", "actionRegistration", "actionSettings", "alertNotificationImportant", "alertWarningFilled", "alertWarningOutline", "arrow", "building", "check", "clock", "close", "decorativeEnvelope", "decorativeLibraryCard", "decorativeShoppingBag", "download", "errorFilled", "errorOutline", "fileTypeAudio", "fileTypeDoc", "fileTypeGenericDoc", "fileTypeImage", "fileTypePdf", "fileTypeSpreadsheet", "fileTypeVideo", "headset", "legacyAccountFilled", "legacyAccountUnfilled", "legacySocialFacebook", "legacySocialInstagram", "legacySocialTwitter", "legacySocialYoutube", "locator", "minus", "plus", "search", "socialFacebook", "socialInstagram", "socialPinterest", "socialSoundCloud", "socialTikTok", "socialTumblr", "socialTwitter", "socialYoutube", "speakerNotes", "utilityAccountFilled", "utilityAccountUnfilled", "utilityHamburger", "utilitySearch"];
|
|
4
|
-
export declare const
|
|
3
|
+
export declare const iconNamesArray: readonly ["accessibilityFull", "accessibilityPartial", "actionCheckCircle", "actionCheckCircleFilled", "actionExit", "actionHelpDefault", "actionHelpOutline", "actionIdentity", "actionIdentityFilled", "actionLaunch", "actionPower", "actionRegistration", "actionSearch", "actionSettings", "alertNotificationImportant", "alertWarningFilled", "alertWarningOutline", "arrow", "building", "check", "clock", "close", "decorativeEnvelope", "decorativeLibraryCard", "decorativeShoppingBag", "download", "errorFilled", "errorOutline", "fileTypeAudio", "fileTypeDoc", "fileTypeGenericDoc", "fileTypeImage", "fileTypePdf", "fileTypeSpreadsheet", "fileTypeVideo", "headset", "legacyAccountFilled", "legacyAccountUnfilled", "legacySocialFacebook", "legacySocialInstagram", "legacySocialTwitter", "legacySocialYoutube", "locator", "mapsPlace", "minus", "plus", "search", "socialFacebook", "socialInstagram", "socialPinterest", "socialSoundCloud", "socialSpotify", "socialTikTok", "socialTumblr", "socialTwitter", "socialVimeo", "socialYoutube", "speakerNotes", "utilityAccountFilled", "utilityAccountUnfilled", "utilityHamburger", "utilitySearch"];
|
|
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"];
|
|
6
6
|
export declare const iconTypesArray: readonly ["default", "breadcrumbs"];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
export declare const linkTypesArray: readonly ["action", "backwards", "button", "buttonPrimary", "buttonSecondary", "buttonPill", "buttonCallout", "buttonNoBrand", "buttonDisabled", "default", "external", "forwards"];
|
|
2
|
+
export declare const linkTypesArray: readonly ["action", "backwards", "button", "buttonPrimary", "buttonSecondary", "buttonPill", "buttonCallout", "buttonNoBrand", "buttonDisabled", "default", "external", "forwards", "standalone"];
|
|
3
3
|
export type LinkTypes = typeof linkTypesArray[number];
|
|
4
4
|
export interface LinkProps {
|
|
5
5
|
/** Any child node passed to the component. */
|
|
@@ -10,12 +10,17 @@ export interface LinkProps {
|
|
|
10
10
|
href?: string;
|
|
11
11
|
/** ID used for accessibility purposes. */
|
|
12
12
|
id?: string;
|
|
13
|
+
/** Used to explicitly set the underline style for a text link. If true, link
|
|
14
|
+
* text will always be underlined; if false, link text will only show
|
|
15
|
+
* underline in hover state. */
|
|
16
|
+
isUnderlined?: boolean;
|
|
13
17
|
onClick?: (event: React.MouseEvent<HTMLDivElement | HTMLAnchorElement, MouseEvent>) => void;
|
|
14
18
|
/** Visibly hidden text that will only be read by screenreaders. */
|
|
15
19
|
screenreaderOnlyText?: string;
|
|
16
20
|
/** Prop that sets the HTML attribute to target where the link should go. */
|
|
17
21
|
target?: "_blank" | "_parent" | "_self" | "_top";
|
|
18
|
-
/** Controls the link visuals: action, button, backwards, forwards,
|
|
22
|
+
/** Controls the link visuals: action, button, backwards, forwards,
|
|
23
|
+
* standalone, or default. */
|
|
19
24
|
type?: LinkTypes;
|
|
20
25
|
}
|
|
21
26
|
/**
|
package/dist/src/index.d.ts
CHANGED
|
@@ -28,7 +28,7 @@ export { default as Hero } from "./components/Hero/Hero";
|
|
|
28
28
|
export type { HeroTypes } from "./components/Hero/Hero";
|
|
29
29
|
export { default as HorizontalRule } from "./components/HorizontalRule/HorizontalRule";
|
|
30
30
|
export { default as Icon } from "./components/Icons/Icon";
|
|
31
|
-
export type { IconAlign, IconColors, IconNames,
|
|
31
|
+
export type { IconAlign, IconColors, IconNames, IconRotations, IconSizes, IconTypes, } from "./components/Icons/Icon";
|
|
32
32
|
export { default as Image } from "./components/Image/Image";
|
|
33
33
|
export type { ImageRatios, ImageSizes, ImageTypes, } from "./components/Image/Image";
|
|
34
34
|
export { default as Label } from "./components/Label/Label";
|
|
@@ -12,16 +12,23 @@ declare const AlphabetFilter: {
|
|
|
12
12
|
padding: string;
|
|
13
13
|
margin: string;
|
|
14
14
|
fontWeight: string;
|
|
15
|
-
fontSize:
|
|
15
|
+
fontSize: {
|
|
16
|
+
base: string;
|
|
17
|
+
md: string;
|
|
18
|
+
};
|
|
16
19
|
lineHeight: string;
|
|
17
20
|
_last: {
|
|
18
|
-
|
|
21
|
+
fontSize: string;
|
|
19
22
|
fontWeight: string;
|
|
20
|
-
|
|
21
|
-
|
|
23
|
+
px: {
|
|
24
|
+
base: string;
|
|
25
|
+
md: string;
|
|
26
|
+
};
|
|
27
|
+
py: {
|
|
22
28
|
base: any;
|
|
23
29
|
md: string;
|
|
24
30
|
};
|
|
31
|
+
whiteSpace: string;
|
|
25
32
|
};
|
|
26
33
|
_disabled: {
|
|
27
34
|
color: string;
|
|
@@ -104,11 +104,27 @@ declare const _default: {
|
|
|
104
104
|
heading: {
|
|
105
105
|
marginBottom: string;
|
|
106
106
|
a: {
|
|
107
|
+
textDecoration: string;
|
|
107
108
|
color: string;
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
109
|
+
textDecorationStyle: string;
|
|
110
|
+
textDecorationThickness: string;
|
|
111
|
+
textUnderlineOffset: string;
|
|
112
|
+
_dark: {
|
|
113
|
+
color: string;
|
|
114
|
+
};
|
|
115
|
+
_hover: {
|
|
116
|
+
color: string;
|
|
117
|
+
textDecorationStyle: string;
|
|
118
|
+
textDecorationThickness: string;
|
|
119
|
+
_dark: {
|
|
120
|
+
color: string;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
_visited: {
|
|
111
124
|
color: string;
|
|
125
|
+
_dark: {
|
|
126
|
+
color: string;
|
|
127
|
+
};
|
|
112
128
|
};
|
|
113
129
|
};
|
|
114
130
|
};
|
|
@@ -162,11 +178,27 @@ declare const _default: {
|
|
|
162
178
|
heading: {
|
|
163
179
|
marginBottom: string;
|
|
164
180
|
a: {
|
|
181
|
+
textDecoration: string;
|
|
165
182
|
color: string;
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
183
|
+
textDecorationStyle: string;
|
|
184
|
+
textDecorationThickness: string;
|
|
185
|
+
textUnderlineOffset: string;
|
|
186
|
+
_dark: {
|
|
187
|
+
color: string;
|
|
188
|
+
};
|
|
189
|
+
_hover: {
|
|
190
|
+
color: string;
|
|
191
|
+
textDecorationStyle: string;
|
|
192
|
+
textDecorationThickness: string;
|
|
193
|
+
_dark: {
|
|
194
|
+
color: string;
|
|
195
|
+
};
|
|
196
|
+
};
|
|
197
|
+
_visited: {
|
|
169
198
|
color: string;
|
|
199
|
+
_dark: {
|
|
200
|
+
color: string;
|
|
201
|
+
};
|
|
170
202
|
};
|
|
171
203
|
};
|
|
172
204
|
};
|
|
@@ -221,11 +253,27 @@ declare const _default: {
|
|
|
221
253
|
heading: {
|
|
222
254
|
marginBottom: string;
|
|
223
255
|
a: {
|
|
256
|
+
textDecoration: string;
|
|
224
257
|
color: string;
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
258
|
+
textDecorationStyle: string;
|
|
259
|
+
textDecorationThickness: string;
|
|
260
|
+
textUnderlineOffset: string;
|
|
261
|
+
_dark: {
|
|
262
|
+
color: string;
|
|
263
|
+
};
|
|
264
|
+
_hover: {
|
|
265
|
+
color: string;
|
|
266
|
+
textDecorationStyle: string;
|
|
267
|
+
textDecorationThickness: string;
|
|
268
|
+
_dark: {
|
|
269
|
+
color: string;
|
|
270
|
+
};
|
|
271
|
+
};
|
|
272
|
+
_visited: {
|
|
228
273
|
color: string;
|
|
274
|
+
_dark: {
|
|
275
|
+
color: string;
|
|
276
|
+
};
|
|
229
277
|
};
|
|
230
278
|
};
|
|
231
279
|
};
|
|
@@ -277,11 +325,27 @@ declare const _default: {
|
|
|
277
325
|
heading: {
|
|
278
326
|
marginBottom: string;
|
|
279
327
|
a: {
|
|
328
|
+
textDecoration: string;
|
|
280
329
|
color: string;
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
330
|
+
textDecorationStyle: string;
|
|
331
|
+
textDecorationThickness: string;
|
|
332
|
+
textUnderlineOffset: string;
|
|
333
|
+
_dark: {
|
|
334
|
+
color: string;
|
|
335
|
+
};
|
|
336
|
+
_hover: {
|
|
337
|
+
color: string;
|
|
338
|
+
textDecorationStyle: string;
|
|
339
|
+
textDecorationThickness: string;
|
|
340
|
+
_dark: {
|
|
341
|
+
color: string;
|
|
342
|
+
};
|
|
343
|
+
};
|
|
344
|
+
_visited: {
|
|
284
345
|
color: string;
|
|
346
|
+
_dark: {
|
|
347
|
+
color: string;
|
|
348
|
+
};
|
|
285
349
|
};
|
|
286
350
|
};
|
|
287
351
|
};
|
|
@@ -49,7 +49,7 @@ export declare const baseCellStyles: (columnHeadersBackgroundColor?: string, col
|
|
|
49
49
|
};
|
|
50
50
|
fontSize: {
|
|
51
51
|
base: string;
|
|
52
|
-
|
|
52
|
+
md: string;
|
|
53
53
|
};
|
|
54
54
|
gap: string;
|
|
55
55
|
letterSpacing: string;
|
|
@@ -141,7 +141,7 @@ export declare const baseTHStyles: (columnHeadersBackgroundColor?: string, colum
|
|
|
141
141
|
};
|
|
142
142
|
fontSize: {
|
|
143
143
|
base: string;
|
|
144
|
-
|
|
144
|
+
md: string;
|
|
145
145
|
};
|
|
146
146
|
gap: string;
|
|
147
147
|
letterSpacing: string;
|
|
@@ -230,7 +230,7 @@ export declare const baseTDStyles: (columnHeadersBackgroundColor?: string, colum
|
|
|
230
230
|
};
|
|
231
231
|
fontSize: {
|
|
232
232
|
base: string;
|
|
233
|
-
|
|
233
|
+
md: string;
|
|
234
234
|
};
|
|
235
235
|
gap: string;
|
|
236
236
|
letterSpacing: string;
|
|
@@ -354,7 +354,7 @@ export declare const baseStyle: ({ columnHeadersBackgroundColor, columnHeadersTe
|
|
|
354
354
|
};
|
|
355
355
|
fontSize: {
|
|
356
356
|
base: string;
|
|
357
|
-
|
|
357
|
+
md: string;
|
|
358
358
|
};
|
|
359
359
|
gap: string;
|
|
360
360
|
letterSpacing: string;
|
|
@@ -443,7 +443,7 @@ export declare const baseStyle: ({ columnHeadersBackgroundColor, columnHeadersTe
|
|
|
443
443
|
};
|
|
444
444
|
fontSize: {
|
|
445
445
|
base: string;
|
|
446
|
-
|
|
446
|
+
md: string;
|
|
447
447
|
};
|
|
448
448
|
gap: string;
|
|
449
449
|
letterSpacing: string;
|
|
@@ -486,7 +486,10 @@ export declare const baseStyle: ({ columnHeadersBackgroundColor, columnHeadersTe
|
|
|
486
486
|
caption: {
|
|
487
487
|
captionSide: string;
|
|
488
488
|
color: string;
|
|
489
|
-
fontSize:
|
|
489
|
+
fontSize: {
|
|
490
|
+
base: string;
|
|
491
|
+
md: string;
|
|
492
|
+
};
|
|
490
493
|
fontWeight: string;
|
|
491
494
|
marginBottom: string;
|
|
492
495
|
marginStart: string;
|
|
@@ -584,7 +587,7 @@ declare const CustomTable: {
|
|
|
584
587
|
};
|
|
585
588
|
fontSize: {
|
|
586
589
|
base: string;
|
|
587
|
-
|
|
590
|
+
md: string;
|
|
588
591
|
};
|
|
589
592
|
gap: string;
|
|
590
593
|
letterSpacing: string;
|
|
@@ -673,7 +676,7 @@ declare const CustomTable: {
|
|
|
673
676
|
};
|
|
674
677
|
fontSize: {
|
|
675
678
|
base: string;
|
|
676
|
-
|
|
679
|
+
md: string;
|
|
677
680
|
};
|
|
678
681
|
gap: string;
|
|
679
682
|
letterSpacing: string;
|
|
@@ -716,7 +719,10 @@ declare const CustomTable: {
|
|
|
716
719
|
caption: {
|
|
717
720
|
captionSide: string;
|
|
718
721
|
color: string;
|
|
719
|
-
fontSize:
|
|
722
|
+
fontSize: {
|
|
723
|
+
base: string;
|
|
724
|
+
md: string;
|
|
725
|
+
};
|
|
720
726
|
fontWeight: string;
|
|
721
727
|
marginBottom: string;
|
|
722
728
|
marginStart: string;
|
|
@@ -57,6 +57,12 @@ declare const FeedbackBox: {
|
|
|
57
57
|
base: string;
|
|
58
58
|
md: string;
|
|
59
59
|
};
|
|
60
|
+
aside: {
|
|
61
|
+
color: string;
|
|
62
|
+
_dark: {
|
|
63
|
+
color: string;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
60
66
|
};
|
|
61
67
|
drawerHeader: {
|
|
62
68
|
alignItems: string;
|
|
@@ -67,6 +73,7 @@ declare const FeedbackBox: {
|
|
|
67
73
|
md: string;
|
|
68
74
|
};
|
|
69
75
|
borderTopWidth: string;
|
|
76
|
+
color: string;
|
|
70
77
|
display: string;
|
|
71
78
|
fontSize: string;
|
|
72
79
|
px: string;
|
|
@@ -78,6 +85,7 @@ declare const FeedbackBox: {
|
|
|
78
85
|
_dark: {
|
|
79
86
|
background: string;
|
|
80
87
|
borderColor: string;
|
|
88
|
+
color: string;
|
|
81
89
|
};
|
|
82
90
|
};
|
|
83
91
|
openButton: {
|
|
@@ -6,6 +6,10 @@ declare const Fieldset: {
|
|
|
6
6
|
border: number;
|
|
7
7
|
padding: number;
|
|
8
8
|
legend: {
|
|
9
|
+
_dark: {
|
|
10
|
+
color: string;
|
|
11
|
+
};
|
|
12
|
+
color: string;
|
|
9
13
|
display: string;
|
|
10
14
|
fontSize: string;
|
|
11
15
|
fontWeight: string;
|
|
@@ -14,9 +18,6 @@ declare const Fieldset: {
|
|
|
14
18
|
span: {
|
|
15
19
|
fontWeight: string;
|
|
16
20
|
};
|
|
17
|
-
_dark: {
|
|
18
|
-
color: string;
|
|
19
|
-
};
|
|
20
21
|
};
|
|
21
22
|
};
|
|
22
23
|
};
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
export declare const headings: {
|
|
2
2
|
one: {
|
|
3
3
|
width: string;
|
|
4
|
+
a: {
|
|
5
|
+
textUnderlineOffset: string;
|
|
6
|
+
};
|
|
4
7
|
marginTop: string;
|
|
5
8
|
marginStart: string;
|
|
6
9
|
marginEnd: string;
|
|
@@ -11,6 +14,9 @@ export declare const headings: {
|
|
|
11
14
|
};
|
|
12
15
|
two: {
|
|
13
16
|
width: string;
|
|
17
|
+
a: {
|
|
18
|
+
textUnderlineOffset: string;
|
|
19
|
+
};
|
|
14
20
|
marginTop: string;
|
|
15
21
|
marginStart: string;
|
|
16
22
|
marginEnd: string;
|
|
@@ -50,29 +56,44 @@ export declare const headings: {
|
|
|
50
56
|
letterSpacing: string;
|
|
51
57
|
lineHeight: string;
|
|
52
58
|
width: string;
|
|
59
|
+
a: {
|
|
60
|
+
textUnderlineOffset: string;
|
|
61
|
+
};
|
|
53
62
|
};
|
|
54
63
|
heading1: {
|
|
55
64
|
fontWeight: string;
|
|
56
65
|
letterSpacing: string;
|
|
57
66
|
lineHeight: string;
|
|
58
67
|
width: string;
|
|
68
|
+
a: {
|
|
69
|
+
textUnderlineOffset: string;
|
|
70
|
+
};
|
|
59
71
|
};
|
|
60
72
|
heading2: {
|
|
61
73
|
fontWeight: string;
|
|
62
74
|
letterSpacing: string;
|
|
63
75
|
lineHeight: string;
|
|
64
76
|
width: string;
|
|
77
|
+
a: {
|
|
78
|
+
textUnderlineOffset: string;
|
|
79
|
+
};
|
|
65
80
|
};
|
|
66
81
|
heading3: {
|
|
67
82
|
fontWeight: string;
|
|
68
83
|
letterSpacing: string;
|
|
69
84
|
lineHeight: string;
|
|
70
85
|
width: string;
|
|
86
|
+
a: {
|
|
87
|
+
textUnderlineOffset: string;
|
|
88
|
+
};
|
|
71
89
|
};
|
|
72
90
|
heading4: {
|
|
73
91
|
fontWeight: string;
|
|
74
92
|
lineHeight: string;
|
|
75
93
|
width: string;
|
|
94
|
+
a: {
|
|
95
|
+
textUnderlineOffset: string;
|
|
96
|
+
};
|
|
76
97
|
};
|
|
77
98
|
heading5: {
|
|
78
99
|
fontWeight: string;
|
|
@@ -87,25 +108,38 @@ export declare const headings: {
|
|
|
87
108
|
};
|
|
88
109
|
declare const Heading: {
|
|
89
110
|
parts: string[];
|
|
90
|
-
baseStyle: ({ isCapitalized, isUppercase, isLowercase, noSpace }: {
|
|
111
|
+
baseStyle: ({ isCapitalized, isUppercase, isLowercase, noSpace, url }: {
|
|
91
112
|
isCapitalized: any;
|
|
92
113
|
isUppercase: any;
|
|
93
114
|
isLowercase: any;
|
|
94
115
|
noSpace: any;
|
|
116
|
+
url: any;
|
|
95
117
|
}) => {
|
|
96
118
|
a: {
|
|
97
|
-
color: string;
|
|
98
119
|
textDecoration: string;
|
|
120
|
+
color: string;
|
|
121
|
+
textDecorationStyle: string;
|
|
122
|
+
textDecorationThickness: string;
|
|
123
|
+
textUnderlineOffset: string;
|
|
99
124
|
_dark: {
|
|
100
125
|
color: string;
|
|
101
126
|
};
|
|
102
127
|
_hover: {
|
|
128
|
+
color: string;
|
|
129
|
+
textDecorationStyle: string;
|
|
130
|
+
textDecorationThickness: string;
|
|
131
|
+
_dark: {
|
|
132
|
+
color: string;
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
_visited: {
|
|
103
136
|
color: string;
|
|
104
137
|
_dark: {
|
|
105
138
|
color: string;
|
|
106
139
|
};
|
|
107
140
|
};
|
|
108
141
|
};
|
|
142
|
+
color: string;
|
|
109
143
|
textTransform: string;
|
|
110
144
|
_dark: {
|
|
111
145
|
color: string;
|
|
@@ -123,23 +157,35 @@ declare const Heading: {
|
|
|
123
157
|
letterSpacing: string;
|
|
124
158
|
lineHeight: string;
|
|
125
159
|
width: string;
|
|
160
|
+
a: {
|
|
161
|
+
textUnderlineOffset: string;
|
|
162
|
+
};
|
|
126
163
|
};
|
|
127
164
|
h2: {
|
|
128
165
|
fontWeight: string;
|
|
129
166
|
letterSpacing: string;
|
|
130
167
|
lineHeight: string;
|
|
131
168
|
width: string;
|
|
169
|
+
a: {
|
|
170
|
+
textUnderlineOffset: string;
|
|
171
|
+
};
|
|
132
172
|
};
|
|
133
173
|
h3: {
|
|
134
174
|
fontWeight: string;
|
|
135
175
|
letterSpacing: string;
|
|
136
176
|
lineHeight: string;
|
|
137
177
|
width: string;
|
|
178
|
+
a: {
|
|
179
|
+
textUnderlineOffset: string;
|
|
180
|
+
};
|
|
138
181
|
};
|
|
139
182
|
h4: {
|
|
140
183
|
fontWeight: string;
|
|
141
184
|
lineHeight: string;
|
|
142
185
|
width: string;
|
|
186
|
+
a: {
|
|
187
|
+
textUnderlineOffset: string;
|
|
188
|
+
};
|
|
143
189
|
};
|
|
144
190
|
h5: {
|
|
145
191
|
fontWeight: string;
|
|
@@ -153,6 +199,9 @@ declare const Heading: {
|
|
|
153
199
|
};
|
|
154
200
|
one: {
|
|
155
201
|
width: string;
|
|
202
|
+
a: {
|
|
203
|
+
textUnderlineOffset: string;
|
|
204
|
+
};
|
|
156
205
|
marginTop: string;
|
|
157
206
|
marginStart: string;
|
|
158
207
|
marginEnd: string;
|
|
@@ -163,6 +212,9 @@ declare const Heading: {
|
|
|
163
212
|
};
|
|
164
213
|
two: {
|
|
165
214
|
width: string;
|
|
215
|
+
a: {
|
|
216
|
+
textUnderlineOffset: string;
|
|
217
|
+
};
|
|
166
218
|
marginTop: string;
|
|
167
219
|
marginStart: string;
|
|
168
220
|
marginEnd: string;
|
|
@@ -211,29 +263,44 @@ declare const Heading: {
|
|
|
211
263
|
letterSpacing: string;
|
|
212
264
|
lineHeight: string;
|
|
213
265
|
width: string;
|
|
266
|
+
a: {
|
|
267
|
+
textUnderlineOffset: string;
|
|
268
|
+
};
|
|
214
269
|
};
|
|
215
270
|
heading1: {
|
|
216
271
|
fontWeight: string;
|
|
217
272
|
letterSpacing: string;
|
|
218
273
|
lineHeight: string;
|
|
219
274
|
width: string;
|
|
275
|
+
a: {
|
|
276
|
+
textUnderlineOffset: string;
|
|
277
|
+
};
|
|
220
278
|
};
|
|
221
279
|
heading2: {
|
|
222
280
|
fontWeight: string;
|
|
223
281
|
letterSpacing: string;
|
|
224
282
|
lineHeight: string;
|
|
225
283
|
width: string;
|
|
284
|
+
a: {
|
|
285
|
+
textUnderlineOffset: string;
|
|
286
|
+
};
|
|
226
287
|
};
|
|
227
288
|
heading3: {
|
|
228
289
|
fontWeight: string;
|
|
229
290
|
letterSpacing: string;
|
|
230
291
|
lineHeight: string;
|
|
231
292
|
width: string;
|
|
293
|
+
a: {
|
|
294
|
+
textUnderlineOffset: string;
|
|
295
|
+
};
|
|
232
296
|
};
|
|
233
297
|
heading4: {
|
|
234
298
|
fontWeight: string;
|
|
235
299
|
lineHeight: string;
|
|
236
300
|
width: string;
|
|
301
|
+
a: {
|
|
302
|
+
textUnderlineOffset: string;
|
|
303
|
+
};
|
|
237
304
|
};
|
|
238
305
|
heading5: {
|
|
239
306
|
fontWeight: string;
|
|
@@ -247,6 +314,9 @@ declare const Heading: {
|
|
|
247
314
|
};
|
|
248
315
|
primary: {
|
|
249
316
|
width: string;
|
|
317
|
+
a: {
|
|
318
|
+
textUnderlineOffset: string;
|
|
319
|
+
};
|
|
250
320
|
marginTop: string;
|
|
251
321
|
marginStart: string;
|
|
252
322
|
marginEnd: string;
|
|
@@ -257,6 +327,9 @@ declare const Heading: {
|
|
|
257
327
|
};
|
|
258
328
|
secondary: {
|
|
259
329
|
width: string;
|
|
330
|
+
a: {
|
|
331
|
+
textUnderlineOffset: string;
|
|
332
|
+
};
|
|
260
333
|
marginTop: string;
|
|
261
334
|
marginStart: string;
|
|
262
335
|
marginEnd: string;
|