@nypl/design-system-react-components 3.0.0 → 3.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.
@@ -36,6 +36,9 @@ declare const _default: {
36
36
  actionLaunch: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
37
37
  title?: string;
38
38
  }>;
39
+ actionLightbulb: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
40
+ title?: string;
41
+ }>;
39
42
  actionLockClosed: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
40
43
  title?: string;
41
44
  }>;
@@ -99,6 +102,9 @@ declare const _default: {
99
102
  download: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
100
103
  title?: string;
101
104
  }>;
105
+ editorMode: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
106
+ title?: string;
107
+ }>;
102
108
  errorFilled: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
103
109
  title?: string;
104
110
  }>;
@@ -1,6 +1,6 @@
1
1
  export declare const iconAlignArray: readonly ["left", "right", "none"];
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.schwartzman", "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", "actionLockClosed", "actionPayment", "actionPower", "actionRegistration", "actionSearch", "actionSettings", "alertNotificationImportant", "alertWarningFilled", "alertWarningOutline", "arrow", "building", "check", "clock", "close", "communicationCall", "communicationChatBubble", "communicationEmail", "decorativeEnvelope", "decorativeLibraryCard", "decorativeShoppingBag", "download", "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"];
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", "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"];
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"];
6
6
  export declare const iconTypesArray: readonly ["default", "breadcrumbs"];
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ import { HeadingProps } from "../components/Heading/Heading";
2
3
  interface UseDSHeadingProps {
3
4
  title: string | JSX.Element;
4
5
  id?: string;
@@ -6,11 +7,12 @@ interface UseDSHeadingProps {
6
7
  additionalStyles?: {
7
8
  [key: string]: any;
8
9
  };
10
+ headingSize?: HeadingProps["size"];
9
11
  }
10
12
  /**
11
13
  * DS internal helper hook to render a default `h2` heading element if the
12
14
  * passed title is a string. Otherwise, it will return the title as is if it
13
15
  * is a JSX element.
14
16
  */
15
- declare function useDSHeading({ title, id, customDefaultHeading, additionalStyles, }: UseDSHeadingProps): string | JSX.Element;
17
+ declare function useDSHeading({ title, id, customDefaultHeading, additionalStyles, headingSize, }: UseDSHeadingProps): string | JSX.Element;
16
18
  export default useDSHeading;
@@ -0,0 +1,194 @@
1
+ declare const Banner: {
2
+ baseStyle?: ({ backgroundColor, highlightColor }: import("@chakra-ui/styled-system").StyleFunctionProps) => {
3
+ base: {
4
+ alignItems: string;
5
+ backgroundColor: any;
6
+ borderLeft: string;
7
+ borderColor: any;
8
+ display: string;
9
+ fontSize: string;
10
+ flexDirection: string;
11
+ gap: string;
12
+ justifyContent: string;
13
+ py: string;
14
+ paddingEnd: string;
15
+ paddingStart: {
16
+ base: "s";
17
+ md: "l";
18
+ };
19
+ position: string;
20
+ width: string;
21
+ a: {
22
+ color: string;
23
+ _hover: {
24
+ color: string;
25
+ };
26
+ };
27
+ svg: {
28
+ fill: any;
29
+ };
30
+ _dark: {
31
+ a: {
32
+ color: string;
33
+ _hover: {
34
+ color: string;
35
+ };
36
+ };
37
+ };
38
+ };
39
+ dismissibleButton: {
40
+ alignItems: string;
41
+ border: string;
42
+ bgColor: string;
43
+ color: string;
44
+ display: string;
45
+ margin: string;
46
+ minWidth: string;
47
+ position: string;
48
+ right: string;
49
+ top: string;
50
+ svg: {
51
+ fill: string;
52
+ _dark: {
53
+ fill: string;
54
+ };
55
+ };
56
+ _hover: {
57
+ bg: string;
58
+ };
59
+ _dark: {
60
+ color: string;
61
+ };
62
+ };
63
+ };
64
+ sizes?: {
65
+ [key: string]: import("@chakra-ui/styled-system").PartsStyleInterpolation<{
66
+ keys: ("base" | "dismissibleButton")[];
67
+ }>;
68
+ };
69
+ variants?: {
70
+ neutral: {
71
+ base: {
72
+ bgColor: string;
73
+ svg: {
74
+ fill: string;
75
+ _dark: {
76
+ fill: string;
77
+ };
78
+ };
79
+ _dark: {
80
+ bgColor: string;
81
+ };
82
+ borderColor: string;
83
+ };
84
+ };
85
+ informative: {
86
+ base: {
87
+ svg: {
88
+ fill: string;
89
+ _dark: {
90
+ fill: string;
91
+ };
92
+ };
93
+ bgColor: string;
94
+ borderColor: string;
95
+ _dark: {
96
+ bgColor: string;
97
+ borderColor: string;
98
+ };
99
+ };
100
+ };
101
+ positive: {
102
+ base: {
103
+ svg: {
104
+ fill: string;
105
+ _dark: {
106
+ fill: string;
107
+ };
108
+ };
109
+ bgColor: string;
110
+ borderColor: string;
111
+ _dark: {
112
+ bgColor: string;
113
+ borderColor: string;
114
+ };
115
+ };
116
+ };
117
+ negative: {
118
+ base: {
119
+ color: string;
120
+ a: {
121
+ color: string;
122
+ _hover: {
123
+ color: string;
124
+ };
125
+ _visited: {
126
+ color: string;
127
+ };
128
+ };
129
+ svg: {
130
+ fill: string;
131
+ _hover: {
132
+ fill: string;
133
+ };
134
+ _dark: {
135
+ fill: string;
136
+ };
137
+ };
138
+ _dark: {
139
+ a: {
140
+ color: string;
141
+ _hover: {
142
+ color: string;
143
+ };
144
+ _visited: {
145
+ color: string;
146
+ };
147
+ };
148
+ color: string;
149
+ };
150
+ bgColor: string;
151
+ borderColor: string;
152
+ };
153
+ };
154
+ warning: {
155
+ base: {
156
+ svg: {
157
+ fill: string;
158
+ _dark: {
159
+ fill: string;
160
+ };
161
+ };
162
+ bgColor: string;
163
+ borderColor: string;
164
+ _dark: {
165
+ bgColor: string;
166
+ borderColor: string;
167
+ };
168
+ };
169
+ };
170
+ recommendation: {
171
+ base: {
172
+ svg: {
173
+ fill: string;
174
+ _dark: {
175
+ fill: string;
176
+ };
177
+ };
178
+ bgColor: string;
179
+ borderColor: string;
180
+ _dark: {
181
+ bgColor: string;
182
+ borderColor: string;
183
+ };
184
+ };
185
+ };
186
+ };
187
+ defaultProps?: {
188
+ size?: string | number;
189
+ variant?: "neutral" | "informative" | "positive" | "negative" | "warning" | "recommendation";
190
+ colorScheme?: string;
191
+ };
192
+ parts: ("base" | "dismissibleButton")[];
193
+ };
194
+ export default Banner;
@@ -196,7 +196,7 @@ declare const Button: {
196
196
  };
197
197
  defaultProps?: {
198
198
  size?: string | number;
199
- variant?: "link" | "text" | "primary" | "secondary" | "pill" | "iconOnly" | "callout" | "noBrand";
199
+ variant?: "primary" | "secondary" | "callout" | "link" | "text" | "pill" | "iconOnly" | "noBrand";
200
200
  colorScheme?: string;
201
201
  };
202
202
  parts: ("base" | "screenreaderOnly")[];
@@ -1,5 +1,10 @@
1
1
  declare const DatePicker: {
2
2
  baseStyle?: {
3
+ fieldset: {
4
+ legend: {
5
+ marginBottom: string;
6
+ };
7
+ };
3
8
  subLabels: {
4
9
  label: {
5
10
  fontSize: string;
@@ -10,12 +15,12 @@ declare const DatePicker: {
10
15
  };
11
16
  sizes?: {
12
17
  [key: string]: import("@chakra-ui/styled-system").PartsStyleInterpolation<{
13
- keys: "subLabels"[];
18
+ keys: ("fieldset" | "subLabels")[];
14
19
  }>;
15
20
  };
16
21
  variants?: {
17
22
  [key: string]: import("@chakra-ui/styled-system").PartsStyleInterpolation<{
18
- keys: "subLabels"[];
23
+ keys: ("fieldset" | "subLabels")[];
19
24
  }>;
20
25
  };
21
26
  defaultProps?: {
@@ -23,6 +28,6 @@ declare const DatePicker: {
23
28
  variant?: string | number;
24
29
  colorScheme?: string;
25
30
  };
26
- parts: "subLabels"[];
31
+ parts: ("fieldset" | "subLabels")[];
27
32
  };
28
33
  export default DatePicker;
@@ -115,6 +115,9 @@ declare const labelLegendText: {
115
115
  color: string;
116
116
  };
117
117
  };
118
+ declare const labelLegendTextSpecialSpacing: {
119
+ marginBottom: string;
120
+ };
118
121
  declare const selectTextInputDisabledStyles: {
119
122
  bg: string;
120
123
  borderColor: string;
@@ -149,4 +152,4 @@ declare const textMargin: {
149
152
  margin: string;
150
153
  marginBottom: string;
151
154
  };
152
- export { activeFocus, checkboxRadioControlSize, checkboxRadioGroupStyles, checkboxRadioHelperErrorTextStyle, checkboxRadioHoverStyles, checkboxRadioLabelStyles, customFocusColor, defaultElementSizes, labelLegendText, selectTextInputDisabledStyles, selectTextInputFocusStyles, textMargin, };
155
+ export { activeFocus, checkboxRadioControlSize, checkboxRadioGroupStyles, checkboxRadioHelperErrorTextStyle, checkboxRadioHoverStyles, checkboxRadioLabelStyles, customFocusColor, defaultElementSizes, labelLegendText, labelLegendTextSpecialSpacing, selectTextInputDisabledStyles, selectTextInputFocusStyles, textMargin, };
@@ -513,7 +513,7 @@ declare const Heading: {
513
513
  };
514
514
  defaultProps?: {
515
515
  size?: string | number;
516
- variant?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "primary" | "secondary" | "callout" | "one" | "two" | "three" | "four" | "five" | "six" | "display1" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "tertiary";
516
+ variant?: "display1" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "primary" | "secondary" | "tertiary" | "callout" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "one" | "two" | "three" | "four" | "five" | "six";
517
517
  colorScheme?: string;
518
518
  };
519
519
  parts: ("base" | "headingWrapper")[];
@@ -7,10 +7,6 @@ declare const Modal: {
7
7
  };
8
8
  header: {
9
9
  color: string;
10
- fontSize: {
11
- base: "mobile.heading.heading4";
12
- md: "desktop.heading.heading4";
13
- };
14
10
  fontWeight: string;
15
11
  _dark: {
16
12
  color: string;
@@ -15,6 +15,9 @@ declare const Select: {
15
15
  md: "flex-end";
16
16
  };
17
17
  };
18
+ label: {
19
+ marginBottom: string;
20
+ };
18
21
  select: {
19
22
  backgroundColor: string;
20
23
  borderRadius: string;
@@ -12,6 +12,9 @@ declare const CustomSlider: {
12
12
  display: string;
13
13
  alignItems: string;
14
14
  };
15
+ label: {
16
+ marginBottom: string;
17
+ };
15
18
  track: {
16
19
  bgColor: string;
17
20
  _disabled: {
@@ -1,19 +1,27 @@
1
1
  import { StyleFunctionProps } from "@chakra-ui/react";
2
2
  declare const SocialMediaLinks: {
3
- baseStyle?: {
3
+ baseStyle?: (props: StyleFunctionProps) => {
4
4
  display: string;
5
5
  alignItems: string;
6
- gap: string;
7
- width: {
8
- base: "100%";
6
+ flexDirection: {
7
+ base: "column" | "row";
8
+ md: any;
9
+ };
10
+ justifyContent: {
11
+ base: "center";
9
12
  md: "unset";
10
13
  };
14
+ flexWrap: string;
15
+ gap: {
16
+ base: string;
17
+ md: string;
18
+ };
11
19
  marginBottom: string;
12
20
  li: {
13
21
  marginInlineEnd: string;
14
22
  marginTop: string;
15
23
  width: {
16
- base: "100%";
24
+ base: "100%" | "unset";
17
25
  md: "unset";
18
26
  };
19
27
  _notFirst: {
@@ -26,11 +34,11 @@ declare const SocialMediaLinks: {
26
34
  alignContent: string;
27
35
  flexWrap: string;
28
36
  minWidth: {
29
- base: "44px";
37
+ base: string;
30
38
  md: "unset";
31
39
  };
32
40
  minHeight: {
33
- base: "44px";
41
+ base: string;
34
42
  md: "unset";
35
43
  };
36
44
  fontStyle: string;
@@ -75,13 +83,19 @@ declare const SocialMediaLinks: {
75
83
  };
76
84
  variants?: {
77
85
  straight(props: StyleFunctionProps): {
78
- flexDirection: {
79
- base: "column";
80
- md: any;
81
- };
82
86
  gap: string;
83
87
  a: {
84
88
  color: string;
89
+ ".platLink": {
90
+ minHeight: {
91
+ base: string;
92
+ md: "0";
93
+ };
94
+ minWidth: {
95
+ base: string;
96
+ md: "0";
97
+ };
98
+ };
85
99
  _hover: {
86
100
  color: string;
87
101
  };
@@ -105,6 +119,7 @@ declare const SocialMediaLinks: {
105
119
  borderWidth: string;
106
120
  borderStyle: string;
107
121
  borderColor: string;
122
+ width: string;
108
123
  _dark: {
109
124
  borderColor: string;
110
125
  };
@@ -118,13 +133,19 @@ declare const SocialMediaLinks: {
118
133
  };
119
134
  };
120
135
  circular(props: StyleFunctionProps): {
121
- flexDirection: {
122
- base: "column";
123
- md: any;
124
- };
125
136
  gap: string;
126
137
  a: {
127
138
  color: string;
139
+ ".platLink": {
140
+ minHeight: {
141
+ base: string;
142
+ md: "0";
143
+ };
144
+ minWidth: {
145
+ base: string;
146
+ md: "0";
147
+ };
148
+ };
128
149
  _hover: {
129
150
  color: string;
130
151
  };
@@ -159,10 +180,6 @@ declare const SocialMediaLinks: {
159
180
  };
160
181
  };
161
182
  none(props: StyleFunctionProps): {
162
- flexDirection: {
163
- base: "column";
164
- md: any;
165
- };
166
183
  a: {
167
184
  color: string;
168
185
  _hover: {
@@ -1,3 +1,49 @@
1
+ export declare const neutral: {
2
+ borderColor: string;
3
+ _dark: {
4
+ borderColor: string;
5
+ };
6
+ };
7
+ export declare const informative: {
8
+ bgColor: string;
9
+ borderColor: string;
10
+ _dark: {
11
+ bgColor: string;
12
+ borderColor: string;
13
+ };
14
+ };
15
+ export declare const positive: {
16
+ bgColor: string;
17
+ borderColor: string;
18
+ _dark: {
19
+ bgColor: string;
20
+ borderColor: string;
21
+ };
22
+ };
23
+ export declare const negative: {
24
+ bgColor: string;
25
+ borderColor: string;
26
+ _dark: {
27
+ bgColor: string;
28
+ borderColor: string;
29
+ };
30
+ };
31
+ export declare const warning: {
32
+ bgColor: string;
33
+ borderColor: string;
34
+ _dark: {
35
+ bgColor: string;
36
+ borderColor: string;
37
+ };
38
+ };
39
+ export declare const recommendation: {
40
+ bgColor: string;
41
+ borderColor: string;
42
+ _dark: {
43
+ bgColor: string;
44
+ borderColor: string;
45
+ };
46
+ };
1
47
  declare const StatusBadge: {
2
48
  baseStyle?: {
3
49
  alignItems: string;
@@ -86,7 +132,7 @@ declare const StatusBadge: {
86
132
  };
87
133
  defaultProps?: {
88
134
  size?: string | number;
89
- variant?: "medium" | "warning" | "low" | "high" | "neutral" | "informative" | "positive" | "negative" | "recommendation";
135
+ variant?: "medium" | "neutral" | "informative" | "positive" | "negative" | "warning" | "recommendation" | "low" | "high";
90
136
  colorScheme?: string;
91
137
  };
92
138
  };
@@ -184,6 +184,9 @@ declare const TextInput: {
184
184
  };
185
185
  };
186
186
  };
187
+ label: {
188
+ marginBottom: string;
189
+ };
187
190
  textarea: {
188
191
  lineheight: string;
189
192
  minHeight: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nypl/design-system-react-components",
3
- "version": "3.0.0",
3
+ "version": "3.1.0-rc",
4
4
  "description": "NYPL Reservoir Design System React Components",
5
5
  "repository": {
6
6
  "type": "git",