@nypl/design-system-react-components 4.1.3 → 4.1.4
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.
|
@@ -41,9 +41,14 @@ export interface HeroProps extends BoxProps {
|
|
|
41
41
|
* Set `isDarkText` to `true` if the `textBackgroundColor` is set to a light
|
|
42
42
|
* color. */
|
|
43
43
|
isDarkText?: boolean;
|
|
44
|
-
/** Optional boolean used to toggle the treatment of the background image
|
|
45
|
-
* the "campaign" variant. If true, the background image will be
|
|
46
|
-
*
|
|
44
|
+
/** Optional boolean used to toggle the blur treatment of the background image
|
|
45
|
+
* in the "campaign" variant. If true, the background image will be blurred
|
|
46
|
+
* and darkened slightly.
|
|
47
|
+
*/
|
|
48
|
+
isBlurredBackgroundImage?: boolean;
|
|
49
|
+
/** Optional boolean used to toggle the color treatment of the background
|
|
50
|
+
* image in the "campaign" variant. If true, the background image will be
|
|
51
|
+
* converted to black & white and darkened moderately. */
|
|
47
52
|
isDarkBackgroundImage?: boolean;
|
|
48
53
|
/** Optional string used for the subheader that displays underneath the
|
|
49
54
|
* heading element. */
|
|
@@ -568,7 +568,7 @@ declare const Hero: {
|
|
|
568
568
|
};
|
|
569
569
|
};
|
|
570
570
|
};
|
|
571
|
-
campaign: ({ foregroundColor, isDarkText, textColor }: import("@chakra-ui/styled-system").StyleFunctionProps) => {
|
|
571
|
+
campaign: ({ foregroundColor, isBlurredBackgroundImage, isDarkBackgroundImage, isDarkText, textColor, }: import("@chakra-ui/styled-system").StyleFunctionProps) => {
|
|
572
572
|
base: {
|
|
573
573
|
alignItems: string;
|
|
574
574
|
display: string;
|
|
@@ -603,6 +603,7 @@ declare const Hero: {
|
|
|
603
603
|
content: {
|
|
604
604
|
alignItems: string;
|
|
605
605
|
bg: string;
|
|
606
|
+
boxShadow: string;
|
|
606
607
|
color: any;
|
|
607
608
|
display: string;
|
|
608
609
|
flexFlow: {
|