formica-ui-lib 1.0.188 → 1.0.190

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.
Files changed (30) hide show
  1. package/dist/componentProps/atoms/layout/ContentContainerProps.d.ts +2 -0
  2. package/dist/componentProps/atoms/layout/ContentGridProps.d.ts +2 -1
  3. package/dist/componentProps/atoms/text/TextProps.d.ts +1 -2
  4. package/dist/componentProps/molecules/cards/documentlinkcard/DocumentLinkCardProps.d.ts +0 -2
  5. package/dist/componentProps/scene/article/ArticleSceneProps.d.ts +2 -2
  6. package/dist/componentProps/scene/corporatecommitment/CorporateCommitmentSceneProps.d.ts +2 -2
  7. package/dist/componentProps/scene/customerhub/CustomerHubHomeImprovementSceneProps.d.ts +2 -2
  8. package/dist/componentProps/scene/launch/LaunchSceneProps.d.ts +1 -1
  9. package/dist/index.cjs +8 -8
  10. package/dist/index.d.ts +18 -2
  11. package/dist/index.js +3082 -2967
  12. package/dist/stories/molecules/cards/businessinfocard/BusinessInfoCard.d.ts +1 -1
  13. package/dist/stories/molecules/cards/documentlinkcard/DocumentLinkCard.d.ts +1 -1
  14. package/dist/stories/molecules/cards/imagecard/ImageCard.d.ts +1 -1
  15. package/dist/stories/molecules/cards/infocard/InfoCard.d.ts +1 -1
  16. package/dist/stories/molecules/cards/recentarticlecard/RecentArticleCard.d.ts +1 -1
  17. package/dist/stories/molecules/cards/singlebuttoncard/SingleButtonCard.d.ts +1 -1
  18. package/dist/stories/organisms/collections/documentlinkcollection/DocumentLinkCollection.d.ts +1 -1
  19. package/dist/stories/organisms/collections/recentarticlecollection/RecentArticleCollection.d.ts +1 -1
  20. package/dist/stories/scenes/article/ArticleScene.d.ts +1 -1
  21. package/dist/stories/scenes/campaign/CampaignScene.d.ts +1 -1
  22. package/dist/stories/scenes/customerhubhomeimprovement/CustomerHubHomeImprovementScene.d.ts +1 -1
  23. package/dist/stories/scenes/home/HomePageScene.d.ts +1 -1
  24. package/dist/stories/scenes/launch/LaunchScene.d.ts +1 -1
  25. package/dist/stories/scenes/sustainabilityhub/SustainabilityHubScene.d.ts +1 -1
  26. package/dist/tailwind.css +1 -1
  27. package/package.json +6 -6
  28. package/dist/componentProps/organisms/sections/documentlinkblock/DocumentLinkBlockProps.d.ts +0 -4
  29. package/dist/stories/organisms/sections/documentlinkblock/DocumentLinkBlock.d.ts +0 -4
  30. package/dist/stories/organisms/sections/documentlinkblock/DocumentLinkBlock.test.d.ts +0 -1
@@ -1,8 +1,10 @@
1
1
  import React from "react";
2
2
  export type ContentContainerMaxWidth = "sm" | "md" | "lg" | "xl" | "2xl" | "4xl" | "6xl";
3
+ export type ContentContainerSpacing = "none" | "section" | "paddedSection" | "padded" | "preview" | "verticalPreview";
3
4
  export type ContentContainerProps = {
4
5
  children?: React.ReactNode;
5
6
  className?: string;
6
7
  innerClassName?: string;
7
8
  maxWidth?: ContentContainerMaxWidth;
9
+ spacing?: ContentContainerSpacing;
8
10
  };
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import type { ContentContainerMaxWidth } from "./ContentContainerProps";
2
+ import type { ContentContainerMaxWidth, ContentContainerSpacing } from "./ContentContainerProps";
3
3
  export type ContentGridColumns = 1 | 2 | 3 | 4;
4
4
  export type ContentGridGap = "sm" | "md" | "lg" | "xl";
5
5
  export type ContentGridProps = {
@@ -7,6 +7,7 @@ export type ContentGridProps = {
7
7
  className?: string;
8
8
  gridClassName?: string;
9
9
  maxWidth?: ContentContainerMaxWidth;
10
+ spacing?: ContentContainerSpacing;
10
11
  columns?: ContentGridColumns;
11
12
  gap?: ContentGridGap;
12
13
  };
@@ -1,6 +1,5 @@
1
1
  import React from "react";
2
- export type TextVariant = "h1" | "h2" | "h3" | "nav" | "standard" | "breadcrumb" | "navlink" | "free" | "body" | "bold" | "caption" | "eyebrow";
3
- export type TextTag = "p" | "span" | "div" | "a" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
2
+ export type TextVariant = "h1" | "h2" | "h3" | "nav" | "standard" | "breadcrumb" | "navlink" | "free" | "body" | "link" | "bold" | "caption" | "eyebrow";
4
3
  type AsProp<E extends React.ElementType> = {
5
4
  as?: E;
6
5
  };
@@ -1,8 +1,6 @@
1
- export type DocumentLinkCardWidthVariant = "full" | "limited";
2
1
  export type DocumentLinkCardProps = {
3
2
  title: string;
4
3
  details: string;
5
4
  iconName?: string;
6
- widthVariant?: DocumentLinkCardWidthVariant;
7
5
  onDocumentClick: () => void;
8
6
  };
@@ -2,8 +2,8 @@ import type { ArticleBannerProps } from "../../organisms/banners/articlebanner/A
2
2
  import type { TextCardProps } from "../../molecules/cards/textcard/TextCardProps";
3
3
  import type { ImageCardProps } from "../../molecules/cards/imagecard/ImageCardProps";
4
4
  import type { ContentCarouselProps } from "../../organisms/carousels/contentcarousel/ContentCarouselProps";
5
- import { FeaturedProductsCarouselProps } from "../../organisms/carousels/featureproductcarousel/FeaturedProductsCarouselProps";
6
- import { RecentArticleCollectionProps } from "../../organisms/collections/recentarticlecollection/RecentArticleCollectionProps";
5
+ import type { FeaturedProductsCarouselProps } from "../../organisms/carousels/featureproductcarousel/FeaturedProductsCarouselProps";
6
+ import type { RecentArticleCollectionProps } from "../../organisms/collections/recentarticlecollection/RecentArticleCollectionProps";
7
7
  import type { ImageOverlayGridProps } from "../../organisms/grids/imageoverlaygrid/ImageOverlayGridProps";
8
8
  export interface ArticlePageProps {
9
9
  articleBannerProps: ArticleBannerProps;
@@ -1,12 +1,12 @@
1
1
  import type { StandardCopyHeroProps } from "../../organisms/banners/standardcopyhero/StandardCopyHeroProps";
2
2
  import type { TextCardProps } from "../../molecules/cards/textcard/TextCardProps";
3
- import type { DocumentLinkBlockProps } from "../../organisms/sections/documentlinkblock/DocumentLinkBlockProps";
3
+ import type { DocumentLinkCardProps } from "../../molecules/cards/documentlinkcard/DocumentLinkCardProps";
4
4
  import type { ImageCardProps } from "../../molecules/cards/imagecard/ImageCardProps";
5
5
  export interface CorporateCommitmentSceneProps {
6
6
  standardCopyHeroProps: StandardCopyHeroProps;
7
7
  textCardProps: TextCardProps;
8
8
  textCardProps2: TextCardProps;
9
9
  textCardProps3: TextCardProps;
10
- documentLinkBlockProps: DocumentLinkBlockProps;
10
+ documentLinkCardProps: DocumentLinkCardProps;
11
11
  imageCardProps: ImageCardProps;
12
12
  }
@@ -2,9 +2,9 @@ import type { StandardCopyHeroProps } from "../../organisms/banners/standardcopy
2
2
  import type { SlidingTabIndicatorProps } from "../../molecules/selectors/slidingtabselector/SlidingTabsSelectorProps";
3
3
  import type { StandardCarouselProps } from "../../molecules/carouselprimitives/standardcarousel/StandardCarouselProps";
4
4
  import type { FilterBarProps } from "../../molecules/selectors/filterbar/FilterBarProps";
5
- import { DropdownFilterProps } from "../../molecules/selectors/filterbar/DropdownFilterProps";
5
+ import type { DropdownFilterProps } from "../../molecules/selectors/filterbar/DropdownFilterProps";
6
6
  import type { ImageGridProps } from "../../organisms/grids/imagegrid/ImageGridProps";
7
- import { RecentArticleCardProps } from "../../molecules/cards/recentarticlecard/RecentArticleCardProps";
7
+ import type { RecentArticleCardProps } from "../../molecules/cards/recentarticlecard/RecentArticleCardProps";
8
8
  export interface CustomerHubHomeImprovementSceneProps {
9
9
  standardCopyHeroProps: StandardCopyHeroProps;
10
10
  slidingTabIndicatorProps: SlidingTabIndicatorProps;
@@ -3,7 +3,7 @@ import type { TextCardProps } from "../../molecules/cards/textcard/TextCardProps
3
3
  import type { FeaturedProductsCarouselProps } from "../../organisms/carousels/featureproductcarousel/FeaturedProductsCarouselProps";
4
4
  import type { ContentCarouselProps } from "../../organisms/carousels/contentcarousel/ContentCarouselProps";
5
5
  import type { InfoCardProps } from "../../molecules/cards/infocard/InfoCardProps";
6
- import { SwatchCardCollectionProps } from "../../organisms/collections/swatchcardcollection/SwatchCardCollectionProps";
6
+ import type { SwatchCardCollectionProps } from "../../organisms/collections/swatchcardcollection/SwatchCardCollectionProps";
7
7
  export interface LaunchSceneProps {
8
8
  callToActionHeroProps: CallToActionHeroProps;
9
9
  textCardProps: TextCardProps;