@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 in
45
- * the "campaign" variant. If true, the background image will be converted to
46
- * black & white and darkened to 60% black. */
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: {
@@ -58,7 +58,6 @@ declare const StatusBadge: {
58
58
  py: string;
59
59
  paddingInlineEnd: string;
60
60
  paddingInlineStart: string;
61
- whiteSpace: string;
62
61
  width: string;
63
62
  _dark: {
64
63
  backgroundColor: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nypl/design-system-react-components",
3
- "version": "4.1.3",
3
+ "version": "4.1.4",
4
4
  "description": "NYPL Reservoir Design System React Components",
5
5
  "repository": {
6
6
  "type": "git",