formica-ui-lib 1.0.168 → 1.0.169
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/componentProps/atoms/buttons/button/ButtonProps.d.ts +25 -0
- package/dist/componentProps/atoms/buttons/iconbutton/IconButtonProps.d.ts +2 -0
- package/dist/componentProps/atoms/checkbox/CheckboxProps.d.ts +15 -0
- package/dist/componentProps/atoms/dropdown/DropdownProps.d.ts +18 -0
- package/dist/componentProps/atoms/htmlblock/HtmlBlockProps.d.ts +4 -0
- package/dist/componentProps/atoms/icon/IconProps.d.ts +16 -0
- package/dist/componentProps/atoms/image/ImageProps.d.ts +14 -0
- package/dist/componentProps/atoms/input/inputProps.d.ts +27 -0
- package/dist/componentProps/atoms/layout/ContentContainerProps.d.ts +8 -0
- package/dist/componentProps/atoms/layout/ContentGridProps.d.ts +12 -0
- package/dist/componentProps/atoms/layout/FlowRowProps.d.ts +12 -0
- package/dist/componentProps/atoms/radiooption/RadioOptionProps.d.ts +12 -0
- package/dist/componentProps/atoms/text/TextProps.d.ts +13 -0
- package/dist/componentProps/molecules/banner/articlebannercontent/ArticleBannerContentProps.d.ts +6 -0
- package/dist/componentProps/molecules/banner/calltoactionherocontent/CallToActionHeroContentProps.d.ts +8 -0
- package/dist/componentProps/molecules/banner/featuredarticlebannercontent/FeaturedArticleBannerContentProps.d.ts +7 -0
- package/dist/componentProps/molecules/banner/standardcopybannercontent/StandardCopyBannerContentProps.d.ts +7 -0
- package/dist/componentProps/molecules/buttons/buttongrid/ButtonGridProps.d.ts +14 -0
- package/dist/componentProps/molecules/card/articlerecentcard/ArticleRecentCardProps.d.ts +15 -0
- package/dist/componentProps/molecules/card/cartItemCard/CartItemCardProps.d.ts +24 -0
- package/dist/componentProps/molecules/card/clickablecard/ClickableCardProps.d.ts +9 -0
- package/dist/componentProps/molecules/card/columncarouselcard/ColumnCarouselCardProps.d.ts +22 -0
- package/dist/componentProps/molecules/card/documentlinkcard/DocumentLinkCardProps.d.ts +6 -0
- package/dist/componentProps/molecules/card/faqcard/FaqCardProps.d.ts +5 -0
- package/dist/componentProps/molecules/card/featurecard/FeatureCardProps.d.ts +16 -0
- package/dist/componentProps/molecules/card/featureproductcard/FeaturedProductCardProps.d.ts +8 -0
- package/dist/componentProps/molecules/card/imageoverlaycard/ImageOverlayCardProps.d.ts +7 -0
- package/dist/componentProps/molecules/card/moreinfohighlightscard/MoreInfoHighlightsCardProps.d.ts +10 -0
- package/dist/componentProps/molecules/card/quantitycheckoutcard/QuantityCheckoutCardProps.d.ts +29 -0
- package/dist/componentProps/molecules/card/swatchcard/SwatchCardProps.d.ts +12 -0
- package/dist/componentProps/molecules/carousel/carouselarrowcontrols/CarouselArrowControlsProps.d.ts +9 -0
- package/dist/componentProps/molecules/carousel/carouseldots/CarouselDotsProps.d.ts +6 -0
- package/dist/componentProps/molecules/carousel/columncarousel/ColumnCarouselProps.d.ts +18 -0
- package/dist/componentProps/molecules/carousel/minicarousel/MiniCarouselProps.d.ts +19 -0
- package/dist/componentProps/molecules/carousel/standardcarousel/StandardCarouselProps.d.ts +24 -0
- package/dist/componentProps/molecules/cart/cartactions/CartActionsProps.d.ts +14 -0
- package/dist/componentProps/molecules/mediaLinks/footerimagelink/FooterImageLinkProps.d.ts +5 -0
- package/dist/componentProps/molecules/mediaLinks/sociallinkrow/SocialLinkRowProps.d.ts +14 -0
- package/dist/componentProps/molecules/navigation/headeractionbutton/HeaderActionButtonProps.d.ts +2 -0
- package/dist/componentProps/molecules/navigation/navbutton/NavButtonProps.d.ts +4 -0
- package/dist/componentProps/molecules/radiobuttons/RadioButtonsProps.d.ts +12 -0
- package/dist/componentProps/molecules/searchbar/SearchBarProps.d.ts +2 -0
- package/dist/componentProps/molecules/segmentedcontrol/SegmentedControlProps.d.ts +14 -0
- package/dist/componentProps/molecules/selectors/appliedoptionslist/AppliedOptionsListProps.d.ts +16 -0
- package/dist/componentProps/molecules/selectors/breadcrumb/BreadcrumbsProps.d.ts +9 -0
- package/dist/componentProps/molecules/selectors/countryselector/CountrySelectorProps.d.ts +11 -0
- package/dist/componentProps/molecules/selectors/filterbar/DropdownFilterProps.d.ts +5 -0
- package/dist/componentProps/molecules/selectors/filterbar/FilterBarButtonProps.d.ts +6 -0
- package/dist/componentProps/molecules/selectors/filterbar/FilterBarProps.d.ts +6 -0
- package/dist/componentProps/molecules/selectors/filterbar/SearchFilterProps.d.ts +5 -0
- package/dist/componentProps/molecules/selectors/multibuttonbar/MultiButtonBarProps.d.ts +13 -0
- package/dist/componentProps/molecules/selectors/progressindicator/CheckoutProgressIndicatorProps.d.ts +10 -0
- package/dist/componentProps/molecules/selectors/radiobutton/RadioButtonProps.d.ts +10 -0
- package/dist/componentProps/molecules/selectors/slidingtabselector/SlidingTabsSelectorProps.d.ts +20 -0
- package/dist/componentProps/molecules/selectors/verticalcheckboxlist/VerticalCheckboxListProps.d.ts +13 -0
- package/dist/componentProps/molecules/selectors/verticalcolorswatchlist/VerticalColorSwatchListProps.d.ts +22 -0
- package/dist/componentProps/molecules/selectors/verticaltablist/VerticalTabListProps.d.ts +10 -0
- package/dist/componentProps/organisms/articles/articlecarousel/ArticleCarouselProps.d.ts +7 -0
- package/dist/componentProps/organisms/articles/articleimage/ArticleImageProps.d.ts +4 -0
- package/dist/componentProps/organisms/articles/articlerecentsection/ArticleRecentSectionProps.d.ts +8 -0
- package/dist/componentProps/organisms/articles/articletext/ArticleTextProps.d.ts +9 -0
- package/dist/componentProps/organisms/banner/articlebanner/ArticleBannerProps.d.ts +12 -0
- package/dist/componentProps/organisms/banner/columnbanner/ColumnBannerProps.d.ts +25 -0
- package/dist/componentProps/organisms/banner/featurebanner/FeatureBannerProps.d.ts +15 -0
- package/dist/componentProps/organisms/banner/featuredarticlebanner/FeaturedArticleBannerProps.d.ts +9 -0
- package/dist/componentProps/organisms/banner/herobanner/CallToActionHeroProps.d.ts +19 -0
- package/dist/componentProps/organisms/banner/standardbannercontainer/StandardBannerContainerProps.d.ts +11 -0
- package/dist/componentProps/organisms/banner/standardcopyhero/StandardCopyHeroProps.d.ts +10 -0
- package/dist/componentProps/organisms/carousels/featureproductcarousel/FeaturedProductsCarouselProps.d.ts +17 -0
- package/dist/componentProps/organisms/carousels/imagecarousel/ImageCarouselProps.d.ts +17 -0
- package/dist/componentProps/organisms/cart/cartconfimation/cartconfirmationhero/CartConfirmedHeroProps.d.ts +7 -0
- package/dist/componentProps/organisms/cart/cartconfimation/cartordersummary/CartOrderSummaryProps.d.ts +18 -0
- package/dist/componentProps/organisms/cart/cartconfimation/cartreceiptsection/CartReceiptSectionProps.d.ts +26 -0
- package/dist/componentProps/organisms/cart/cartconfimation/cartsummarysection/CartSummarySectionProps.d.ts +11 -0
- package/dist/componentProps/organisms/cart/cartflyout/CartFlyoutProps.d.ts +18 -0
- package/dist/componentProps/organisms/cart/carthostedpaymentpanel/CartHostedPaymentPanelProps.d.ts +8 -0
- package/dist/componentProps/organisms/cart/cartpaymentpanel/CartPaymentPanelProps.d.ts +23 -0
- package/dist/componentProps/organisms/cart/cartsummary/CartSummaryProps.d.ts +27 -0
- package/dist/componentProps/organisms/cart/carttotalspanel/CartTotalsPanelProps.d.ts +20 -0
- package/dist/componentProps/organisms/cart/checkoutsteppanel/CheckoutAccountStepProps.d.ts +21 -0
- package/dist/componentProps/organisms/cart/ordersummarysection/OrderSummarySectionLeftPanelProps.d.ts +8 -0
- package/dist/componentProps/organisms/cart/purchasepanel/PurchasePanelLeftPanelProps.d.ts +46 -0
- package/dist/componentProps/organisms/cart/purchasepanel/PurchasePanelProps.d.ts +90 -0
- package/dist/componentProps/organisms/cart/purchasepanel/PurchasePanelRightPanelProps.d.ts +15 -0
- package/dist/componentProps/organisms/cart/shippingaddressform/ShippingAddressFormProps.d.ts +56 -0
- package/dist/componentProps/organisms/decorgrid/DecorGridProps.d.ts +4 -0
- package/dist/componentProps/organisms/documentlinkcollection/DocumentLinkCollectionProps.d.ts +8 -0
- package/dist/componentProps/organisms/faqcardcollection/FaqCardCollectionProps.d.ts +8 -0
- package/dist/componentProps/organisms/featurecards/featurecardscollection/FeatureCardCollectionProps.d.ts +15 -0
- package/dist/componentProps/organisms/featurecards/featurecardssection/FeatureCardSectionProps.d.ts +7 -0
- package/dist/componentProps/organisms/footer/FooterLinkItemProps.d.ts +5 -0
- package/dist/componentProps/organisms/footer/FooterProps.d.ts +43 -0
- package/dist/componentProps/organisms/footer/LogosBarProps.d.ts +5 -0
- package/dist/componentProps/organisms/footer/SitemapColumnsProps.d.ts +4 -0
- package/dist/componentProps/organisms/imagegrid/ImageGridProps.d.ts +14 -0
- package/dist/componentProps/organisms/moreinfohighlightssection/MoreInfoHighlightsSectionProps.d.ts +7 -0
- package/dist/componentProps/organisms/navigation/BrandNavBarProps.d.ts +12 -0
- package/dist/componentProps/organisms/navigation/TopNavActionsProps.d.ts +13 -0
- package/dist/componentProps/organisms/navigation/TopNavBarProps.d.ts +51 -0
- package/dist/componentProps/organisms/navigation/TopNavMegaMenuProps.d.ts +8 -0
- package/dist/componentProps/organisms/productinformationsection/ProductDetailsPaneProps.d.ts +4 -0
- package/dist/componentProps/organisms/productinformationsection/ProductInformationSectionProps.d.ts +56 -0
- package/dist/componentProps/organisms/productinformationsection/TexturePaneProps.d.ts +4 -0
- package/dist/componentProps/organisms/productinformationsection/sizeandgradepane/SizeAndGradePaneProps.d.ts +5 -0
- package/dist/componentProps/organisms/search/searchheader/SearchHeaderProps.d.ts +5 -0
- package/dist/componentProps/organisms/selectors/radiooptionselector/RadioOptionSelectorProps.d.ts +15 -0
- package/dist/componentProps/organisms/verticalcheckboxlistcollection/VerticalCheckboxListCollectionProps.d.ts +20 -0
- package/dist/componentProps/scene/article/ArticleSceneProps.d.ts +16 -0
- package/dist/componentProps/scene/gallery/GallerySceneProps.d.ts +12 -0
- package/dist/componentProps/scene/home/HomePageProps.d.ts +26 -0
- package/dist/componentProps/scene/proresource/ProResourceSceneProps.d.ts +12 -0
- package/dist/componentProps/scene/searchresults/SearchResultsSceneProps.d.ts +8 -0
- package/dist/componentProps/templates/articlelandingpagetemplate/ArticleLandingPageTemplateProps.d.ts +14 -0
- package/dist/componentProps/templates/cartconfirmationtemplate/CartConfirmationTemplateProps.d.ts +10 -0
- package/dist/componentProps/templates/cartpaymenttemplate/CartPaymentTemplateProps.d.ts +11 -0
- package/dist/componentProps/templates/cartshippingtemplate/CartShippingTemplateProps.d.ts +15 -0
- package/dist/componentProps/templates/cartsummarytemplate/CartSummaryTemplateProps.d.ts +7 -0
- package/dist/componentProps/templates/categorypagetemplate/CategoryPageTemplateProps.d.ts +65 -0
- package/dist/componentProps/templates/productdetailpagetemplate/ProductDetailPageTemplateProps.d.ts +231 -0
- package/dist/index.cjs +2 -2
- package/dist/index.d.ts +101 -0
- package/dist/index.js +285 -255
- package/dist/stories/atoms/buttons/button/Button.d.ts +4 -0
- package/dist/stories/atoms/buttons/button/Button.test.d.ts +1 -0
- package/dist/stories/atoms/buttons/button/ButtonThemeStyles.d.ts +11 -0
- package/dist/stories/atoms/buttons/buttongrid/ButtonGrid.d.ts +4 -0
- package/dist/stories/atoms/buttons/buttongrid/ButtonGrid.test.d.ts +1 -0
- package/dist/stories/atoms/buttons/iconbutton/IconButton.d.ts +4 -0
- package/dist/stories/atoms/buttons/iconbutton/IconButton.test.d.ts +1 -0
- package/dist/stories/atoms/buttons/radiooption/RadioOption.d.ts +4 -0
- package/dist/stories/atoms/buttons/radiooption/RadioOption.test.d.ts +1 -0
- package/dist/stories/atoms/checkbox/Checkbox.d.ts +4 -0
- package/dist/stories/atoms/checkbox/Checkbox.test.d.ts +1 -0
- package/dist/stories/atoms/dropdown/Dropdown.d.ts +4 -0
- package/dist/stories/atoms/dropdown/Dropdown.test.d.ts +1 -0
- package/dist/stories/atoms/dropdown/DropdownThemeStyles.d.ts +13 -0
- package/dist/stories/atoms/htmlblock/HtmlBlock.d.ts +4 -0
- package/dist/stories/atoms/htmlblock/HtmlBlock.test.d.ts +1 -0
- package/dist/stories/atoms/icon/Icon.d.ts +4 -0
- package/dist/stories/atoms/icon/Icon.test.d.ts +1 -0
- package/dist/stories/atoms/image/Image.d.ts +4 -0
- package/dist/stories/atoms/image/Image.test.d.ts +1 -0
- package/dist/stories/atoms/input/Input.d.ts +4 -0
- package/dist/stories/atoms/input/Input.test.d.ts +1 -0
- package/dist/stories/atoms/layout/ContentContainer/ContentContainer.d.ts +4 -0
- package/dist/stories/atoms/layout/ContentContainer/ContentContainer.test.d.ts +1 -0
- package/dist/stories/atoms/layout/ContentGrid/ContentGrid.d.ts +4 -0
- package/dist/stories/atoms/layout/ContentGrid/ContentGrid.test.d.ts +1 -0
- package/dist/stories/atoms/layout/FlowRow/FlowRow.d.ts +4 -0
- package/dist/stories/atoms/layout/FlowRow/FlowRow.test.d.ts +1 -0
- package/dist/stories/atoms/text/Text.d.ts +4 -0
- package/dist/stories/atoms/text/Text.test.d.ts +1 -0
- package/dist/stories/molecules/banner/articlebannercontent/ArticleBannerContent.d.ts +4 -0
- package/dist/stories/molecules/banner/articlebannercontent/ArticleBannerContent.test.d.ts +1 -0
- package/dist/stories/molecules/banner/calltoactionherocontent/CallToActionHeroContent.d.ts +4 -0
- package/dist/stories/molecules/banner/calltoactionherocontent/CallToActionHeroContent.test.d.ts +1 -0
- package/dist/stories/molecules/banner/featuredarticlebannercontent/FeaturedArticleBannerContent.d.ts +4 -0
- package/dist/stories/molecules/banner/featuredarticlebannercontent/FeaturedArticleBannerContent.test.d.ts +1 -0
- package/dist/stories/molecules/banner/standardcopybannercontent/StandardCopyBannerContent.d.ts +4 -0
- package/dist/stories/molecules/banner/standardcopybannercontent/StandardCopyBannerContent.test.d.ts +1 -0
- package/dist/stories/molecules/card/articlerecentcard/ArticleRecentCard.d.ts +4 -0
- package/dist/stories/molecules/card/articlerecentcard/ArticleRecentCard.test.d.ts +1 -0
- package/dist/stories/molecules/card/cartitemcard/CartItemCard.d.ts +4 -0
- package/dist/stories/molecules/card/cartitemcard/CartItemCard.test.d.ts +1 -0
- package/dist/stories/molecules/card/columncarouselcard/ColumnCarouselCard.d.ts +4 -0
- package/dist/stories/molecules/card/columncarouselcard/ColumnCarouselCard.test.d.ts +1 -0
- package/dist/stories/molecules/card/documentlinkcard/DocumentLinkCard.d.ts +4 -0
- package/dist/stories/molecules/card/documentlinkcard/DocumentLinkCard.test.d.ts +1 -0
- package/dist/stories/molecules/card/faqcard/FaqCard.d.ts +4 -0
- package/dist/stories/molecules/card/faqcard/FaqCard.test.d.ts +1 -0
- package/dist/stories/molecules/card/featurecard/FeatureCard.d.ts +4 -0
- package/dist/stories/molecules/card/featurecard/FeatureCard.test.d.ts +1 -0
- package/dist/stories/molecules/card/featureproductcard/FeaturedProductCard.d.ts +4 -0
- package/dist/stories/molecules/card/featureproductcard/FeaturedProductCard.test.d.ts +1 -0
- package/dist/stories/molecules/card/imageoverlaycard/ImageOverlayCard.d.ts +4 -0
- package/dist/stories/molecules/card/imageoverlaycard/ImageOverlayCard.test.d.ts +1 -0
- package/dist/stories/molecules/card/moreinfohighlightscard/MoreInfoHighlightsCard.d.ts +4 -0
- package/dist/stories/molecules/card/moreinfohighlightscard/MoreInfoHighlightsCard.test.d.ts +1 -0
- package/dist/stories/molecules/card/quantitycheckoutcard/QuantityCheckoutCard.d.ts +3 -0
- package/dist/stories/molecules/card/quantitycheckoutcard/QuantityCheckoutCard.test.d.ts +1 -0
- package/dist/stories/molecules/card/swatchcard/SwatchCard.d.ts +4 -0
- package/dist/stories/molecules/card/swatchcard/SwatchCard.test.d.ts +1 -0
- package/dist/stories/molecules/card/swatchcard/SwatchCardStatusConfig.d.ts +10 -0
- package/dist/stories/molecules/carousel/carouselarrowcontrols/CarouselArrowControls.d.ts +4 -0
- package/dist/stories/molecules/carousel/carouselarrowcontrols/CarouselArrowControls.test.d.ts +1 -0
- package/dist/stories/molecules/carousel/carouseldots/CarouselDots.d.ts +4 -0
- package/dist/stories/molecules/carousel/carouseldots/CarouselDots.test.d.ts +1 -0
- package/dist/stories/molecules/carousel/columncarousel/ColumnCarousel.d.ts +4 -0
- package/dist/stories/molecules/carousel/columncarousel/ColumnCarousel.test.d.ts +1 -0
- package/dist/stories/molecules/carousel/minicarousel/MiniCarousel.d.ts +3 -0
- package/dist/stories/molecules/carousel/minicarousel/MiniCarousel.test.d.ts +1 -0
- package/dist/stories/molecules/carousel/standardcarousel/StandardCarousel.d.ts +4 -0
- package/dist/stories/molecules/carousel/standardcarousel/StandardCarousel.test.d.ts +1 -0
- package/dist/stories/molecules/cart/cartactions/CartActions.d.ts +4 -0
- package/dist/stories/molecules/cart/cartactions/CartActions.test.d.ts +1 -0
- package/dist/stories/molecules/clickable/clickablecard/ClickableCard.d.ts +4 -0
- package/dist/stories/molecules/clickable/clickablecard/ClickableCard.test.d.ts +1 -0
- package/dist/stories/molecules/inputs/input/InputField.d.ts +4 -0
- package/dist/stories/molecules/inputs/searchbar/SearchBar.d.ts +4 -0
- package/dist/stories/molecules/inputs/searchbar/SearchBar.test.d.ts +1 -0
- package/dist/stories/molecules/mediaLinks/footerImageLink/FooterImageLink.d.ts +5 -0
- package/dist/stories/molecules/mediaLinks/socialLinkRow/SocialLinkRow.d.ts +4 -0
- package/dist/stories/molecules/mediaLinks/socialLinkRow/SocialLinkRow.test.d.ts +1 -0
- package/dist/stories/molecules/navigation/headeractionbutton/HeaderActionButton.d.ts +4 -0
- package/dist/stories/molecules/navigation/navbutton/NavButton.d.ts +4 -0
- package/dist/stories/molecules/radioButtons/RadioButtons.d.ts +4 -0
- package/dist/stories/molecules/radioButtons/RadioButtons.test.d.ts +1 -0
- package/dist/stories/molecules/segmentedcontrol/SegmentedControl.d.ts +4 -0
- package/dist/stories/molecules/segmentedcontrol/SegmentedControl.test.d.ts +1 -0
- package/dist/stories/molecules/selectors/appliedoptionslist/AppliedOptionsList.d.ts +4 -0
- package/dist/stories/molecules/selectors/appliedoptionslist/AppliedOptionsList.test.d.ts +1 -0
- package/dist/stories/molecules/selectors/countryselector/CountrySelector.d.ts +4 -0
- package/dist/stories/molecules/selectors/filterbar/DropdownFilter.d.ts +4 -0
- package/dist/stories/molecules/selectors/filterbar/FilterBar.d.ts +4 -0
- package/dist/stories/molecules/selectors/filterbar/FilterBar.test.d.ts +1 -0
- package/dist/stories/molecules/selectors/filterbar/FilterBarButton.d.ts +4 -0
- package/dist/stories/molecules/selectors/filterbar/SearchFilter.d.ts +4 -0
- package/dist/stories/molecules/selectors/multibuttonbar/MultiButtonBar.d.ts +4 -0
- package/dist/stories/molecules/selectors/multibuttonbar/MultiButtonBar.test.d.ts +1 -0
- package/dist/stories/molecules/selectors/progressindicator/CheckoutProgressIndicator.d.ts +4 -0
- package/dist/stories/molecules/selectors/progressindicator/CheckoutProgressIndicator.test.d.ts +1 -0
- package/dist/stories/molecules/selectors/radiooptionselector/RadioOptionSelector.d.ts +4 -0
- package/dist/stories/molecules/selectors/radiooptionselector/RadioOptionSelector.test.d.ts +1 -0
- package/dist/stories/molecules/selectors/slidingtabselector/SlidingTabIndicator.d.ts +4 -0
- package/dist/stories/molecules/selectors/verticalcheckboxlist/VerticalCheckboxList.d.ts +4 -0
- package/dist/stories/molecules/selectors/verticalcheckboxlist/VerticalCheckboxList.test.d.ts +1 -0
- package/dist/stories/molecules/selectors/verticalcolorswatchlist/VerticalColorSwatchList.d.ts +4 -0
- package/dist/stories/molecules/selectors/verticalcolorswatchlist/VerticalColorSwatchList.test.d.ts +1 -0
- package/dist/stories/molecules/selectors/verticaltablist/VerticalTabList.d.ts +4 -0
- package/dist/stories/molecules/selectors/verticaltablist/VerticalTabList.test.d.ts +1 -0
- package/dist/stories/organisms/articles/articlecarousel/ArticleCarousel.d.ts +4 -0
- package/dist/stories/organisms/articles/articlecarousel/ArticleCarousel.test.d.ts +1 -0
- package/dist/stories/organisms/articles/articleimage/ArticleImage.d.ts +4 -0
- package/dist/stories/organisms/articles/articleimage/ArticleImage.test.d.ts +1 -0
- package/dist/stories/organisms/articles/articlerecentsection/ArticleRecentSection.d.ts +4 -0
- package/dist/stories/organisms/articles/articlerecentsection/ArticleRecentSection.test.d.ts +1 -0
- package/dist/stories/organisms/articles/articletext/ArticleText.d.ts +4 -0
- package/dist/stories/organisms/articles/articletext/ArticleText.test.d.ts +1 -0
- package/dist/stories/organisms/banner/articlebanner/ArticleBanner.d.ts +4 -0
- package/dist/stories/organisms/banner/articlebanner/ArticleBanner.test.d.ts +1 -0
- package/dist/stories/organisms/banner/calltoactionhero/CallToActionHero.d.ts +4 -0
- package/dist/stories/organisms/banner/calltoactionhero/CallToActionHero.test.d.ts +1 -0
- package/dist/stories/organisms/banner/columnbanner/ColumnBanner.d.ts +4 -0
- package/dist/stories/organisms/banner/columnbanner/ColumnBanner.test.d.ts +1 -0
- package/dist/stories/organisms/banner/featurebanner/FeatureBanner.d.ts +4 -0
- package/dist/stories/organisms/banner/featurebanner/FeatureBanner.test.d.ts +1 -0
- package/dist/stories/organisms/banner/featuredarticlebanner/FeaturedArticleBanner.d.ts +4 -0
- package/dist/stories/organisms/banner/featuredarticlebanner/FeaturedArticleBanner.test.d.ts +1 -0
- package/dist/stories/organisms/banner/standardbannercontainer/StandardBannerContainer.d.ts +4 -0
- package/dist/stories/organisms/banner/standardcopyhero/StandardCopyHero.d.ts +4 -0
- package/dist/stories/organisms/banner/standardcopyhero/StandardCopyHero.test.d.ts +1 -0
- package/dist/stories/organisms/carousels/featuredproductcarousel/FeaturedProductsCarousel.d.ts +4 -0
- package/dist/stories/organisms/carousels/featuredproductcarousel/FeaturedProductsCarousel.test.d.ts +1 -0
- package/dist/stories/organisms/carousels/imagecarousel/ImageCarousel.d.ts +4 -0
- package/dist/stories/organisms/carousels/imagecarousel/ImageCarousel.test.d.ts +1 -0
- package/dist/stories/organisms/cart/cartconfirmation/cartconfirmedhero/CartConfirmedHero.d.ts +4 -0
- package/dist/stories/organisms/cart/cartconfirmation/cartconfirmedhero/CartConfirmedHero.test.d.ts +1 -0
- package/dist/stories/organisms/cart/cartconfirmation/cartordersummary/CartOrderSummary.d.ts +4 -0
- package/dist/stories/organisms/cart/cartconfirmation/cartordersummary/CartOrderSummary.test.d.ts +1 -0
- package/dist/stories/organisms/cart/cartconfirmation/cartreceiptsection/CartReceiptSection.d.ts +4 -0
- package/dist/stories/organisms/cart/cartconfirmation/cartreceiptsection/CartReceiptSection.test.d.ts +1 -0
- package/dist/stories/organisms/cart/cartconfirmation/cartsummarysection/CartSummarySection.d.ts +4 -0
- package/dist/stories/organisms/cart/cartconfirmation/cartsummarysection/CartSummarySection.test.d.ts +1 -0
- package/dist/stories/organisms/cart/cartflyout/CartFlyout.d.ts +4 -0
- package/dist/stories/organisms/cart/cartflyout/CartFlyout.test.d.ts +1 -0
- package/dist/stories/organisms/cart/carthostedpaymentpanel/CartHostedPaymentPanel.d.ts +4 -0
- package/dist/stories/organisms/cart/cartpaymentpanel/CartPaymentPanel.d.ts +4 -0
- package/dist/stories/organisms/cart/cartpaymentpanel/CartPaymentPanel.test.d.ts +1 -0
- package/dist/stories/organisms/cart/cartsummary/CartSummary.d.ts +4 -0
- package/dist/stories/organisms/cart/cartsummary/CartSummary.test.d.ts +1 -0
- package/dist/stories/organisms/cart/carttotalspanel/CartTotalsPanel.d.ts +4 -0
- package/dist/stories/organisms/cart/carttotalspanel/CartTotalsPanel.test.d.ts +1 -0
- package/dist/stories/organisms/cart/checkoutsteppanel/CheckoutStepPanel.d.ts +4 -0
- package/dist/stories/organisms/cart/checkoutsteppanel/CheckoutStepPanel.test.d.ts +1 -0
- package/dist/stories/organisms/cart/purchasepanel/LeftPanel/PurchasePanelLeftPanel.d.ts +4 -0
- package/dist/stories/organisms/cart/purchasepanel/LeftPanel/PurchasePanelLeftPanel.test.d.ts +1 -0
- package/dist/stories/organisms/cart/purchasepanel/PurchasePanel.d.ts +4 -0
- package/dist/stories/organisms/cart/purchasepanel/PurchasePanel.test.d.ts +1 -0
- package/dist/stories/organisms/cart/purchasepanel/RightPanel/PurchasePanelRightPanel.d.ts +4 -0
- package/dist/stories/organisms/cart/purchasepanel/RightPanel/PurchasePanelRightPanel.test.d.ts +1 -0
- package/dist/stories/organisms/cart/shippingaddressform/ShippingAddressForm.d.ts +4 -0
- package/dist/stories/organisms/decorgrid/DecorGrid.d.ts +4 -0
- package/dist/stories/organisms/decorgrid/DecorGrid.test.d.ts +1 -0
- package/dist/stories/organisms/documentlinkcollection/DocumentLinkCollection.d.ts +4 -0
- package/dist/stories/organisms/documentlinkcollection/DocumentLinkCollection.test.d.ts +1 -0
- package/dist/stories/organisms/faqcardcollection/FaqCardCollection.d.ts +4 -0
- package/dist/stories/organisms/faqcardcollection/FaqCardCollection.test.d.ts +1 -0
- package/dist/stories/organisms/featurecardcollection/FeatureCardCollection.d.ts +4 -0
- package/dist/stories/organisms/featurecardcollection/FeatureCardCollection.test.d.ts +1 -0
- package/dist/stories/organisms/imagegrid/ImageGrid.d.ts +4 -0
- package/dist/stories/organisms/moreinfohighlights/MoreInfoHighlightsSection.d.ts +4 -0
- package/dist/stories/organisms/moreinfohighlights/MoreInfoHighlightsSection.test.d.ts +1 -0
- package/dist/stories/organisms/navigation/BrandNavBar/BrandNavBar.d.ts +4 -0
- package/dist/stories/organisms/navigation/BrandNavBar/BrandNavBar.test.d.ts +1 -0
- package/dist/stories/organisms/navigation/Breadcrumbs/Breadcrumbs.d.ts +4 -0
- package/dist/stories/organisms/navigation/Breadcrumbs/Breadcrumbs.test.d.ts +1 -0
- package/dist/stories/organisms/navigation/Footer/Footer.d.ts +4 -0
- package/dist/stories/organisms/navigation/Footer/Footer.test.d.ts +1 -0
- package/dist/stories/organisms/navigation/Footer/parts/BrandBlock.d.ts +3 -0
- package/dist/stories/organisms/navigation/Footer/parts/FooterLinkItem.d.ts +3 -0
- package/dist/stories/organisms/navigation/Footer/parts/LegalBlock.d.ts +3 -0
- package/dist/stories/organisms/navigation/Footer/parts/LogosBar.d.ts +3 -0
- package/dist/stories/organisms/navigation/Footer/parts/SitemapColumns.d.ts +3 -0
- package/dist/stories/organisms/navigation/TopNavBar/TopNavBar.d.ts +4 -0
- package/dist/stories/organisms/navigation/TopNavBar/TopNavBar.test.d.ts +1 -0
- package/dist/stories/organisms/navigation/TopNavBar/parts/TopNavActions.d.ts +4 -0
- package/dist/stories/organisms/navigation/TopNavBar/parts/TopNavActions.test.d.ts +1 -0
- package/dist/stories/organisms/navigation/TopNavBar/parts/TopNavMegaMenu.d.ts +4 -0
- package/dist/stories/organisms/navigation/TopNavBar/parts/TopNavMegaMenu.test.d.ts +1 -0
- package/dist/stories/organisms/productinformation/productdetailpane/ProductDetailsPane.d.ts +4 -0
- package/dist/stories/organisms/productinformation/productdetailpane/ProductDetailsPane.test.d.ts +1 -0
- package/dist/stories/organisms/productinformation/productinformation/ProductInformationSection.d.ts +4 -0
- package/dist/stories/organisms/productinformation/productinformation/ProductInformationSection.test.d.ts +1 -0
- package/dist/stories/organisms/productinformation/sizeandgradepane/SizeAndGradePane.d.ts +4 -0
- package/dist/stories/organisms/productinformation/sizeandgradepane/SizeAndGradePane.test.d.ts +1 -0
- package/dist/stories/organisms/productinformation/texturepane/TexturePane.d.ts +4 -0
- package/dist/stories/organisms/productinformation/texturepane/TexturePane.test.d.ts +1 -0
- package/dist/stories/organisms/search/searchheader/SearchHeader.d.ts +4 -0
- package/dist/stories/organisms/search/searchheader/SearchHeader.test.d.ts +1 -0
- package/dist/stories/organisms/verticalcheckboxlistcollection/VerticalCheckboxListCollection.d.ts +4 -0
- package/dist/stories/organisms/verticalcheckboxlistcollection/VerticalCheckboxListCollection.test.d.ts +1 -0
- package/dist/stories/scenes/article/ArticleScene.d.ts +4 -0
- package/dist/stories/scenes/gallery/GalleryScene.d.ts +4 -0
- package/dist/stories/scenes/home/HomePageScene.d.ts +4 -0
- package/dist/stories/scenes/proresource/ProResourceScene.d.ts +4 -0
- package/dist/stories/scenes/searchresults/SearchResultsScene.d.ts +4 -0
- package/dist/stories/templates/articlelandingpagetemplate/ArticleLandingPageTemplate.d.ts +4 -0
- package/dist/stories/templates/cart/confirmation/CartConfirmationTemplate.d.ts +4 -0
- package/dist/stories/templates/cart/payment/CartPaymentTemplate.d.ts +4 -0
- package/dist/stories/templates/cart/shipping/CartShippingTemplate.d.ts +4 -0
- package/dist/stories/templates/cart/shipping/CartShippingTemplate.test.d.ts +1 -0
- package/dist/stories/templates/cart/summary/CartSummaryTemplate.d.ts +4 -0
- package/dist/stories/templates/categorypagetemplate/CategoryPageTemplate.d.ts +4 -0
- package/dist/stories/templates/categorypagetemplate/CategoryPageTemplate.test.d.ts +1 -0
- package/dist/stories/templates/productdetailpagetemplate/ProductDetailPageTemplate.d.ts +4 -0
- package/dist/stories/templates/productdetailpagetemplate/ProductDetailPageTemplate.test.d.ts +1 -0
- package/dist/utils/brandLogoMap.d.ts +3 -0
- package/dist/utils/html/santitizeHtmlBlock.d.ts +1 -0
- package/dist/utils/validators.d.ts +3 -0
- package/package.json +1 -1
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { FaTypeClass } from "../../icon/IconProps";
|
|
3
|
+
export type ButtonVariant = "solid" | "outline" | "ghost" | "link" | "chip";
|
|
4
|
+
export type ButtonIntent = "primary" | "secondary" | "neutral" | "accent" | "danger" | "ghost" | "muted" | "radio";
|
|
5
|
+
export type IconSize = "xs" | "sm" | "md" | "lg" | "xl";
|
|
6
|
+
export type IconPosition = "left" | "right";
|
|
7
|
+
export type ButtonSize = "xs" | "sm" | "md" | "lg";
|
|
8
|
+
export type ButtonAlignment = "justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly";
|
|
9
|
+
export interface ButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "className" | "children"> {
|
|
10
|
+
label?: string;
|
|
11
|
+
children?: React.ReactNode;
|
|
12
|
+
iconType?: FaTypeClass;
|
|
13
|
+
iconName?: string;
|
|
14
|
+
iconAlt?: string;
|
|
15
|
+
iconSize?: IconSize;
|
|
16
|
+
iconPosition?: IconPosition;
|
|
17
|
+
variant?: ButtonVariant;
|
|
18
|
+
intent?: ButtonIntent;
|
|
19
|
+
buttonType?: ButtonIntent;
|
|
20
|
+
size?: ButtonSize;
|
|
21
|
+
buttonAlignment?: ButtonAlignment;
|
|
22
|
+
active?: boolean;
|
|
23
|
+
fullWidth?: boolean;
|
|
24
|
+
className?: string;
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export type CheckboxColor = "accent-primary" | "accent-secondary" | "accent-tertiary" | "accent-accent";
|
|
2
|
+
export interface CheckboxChangePayload {
|
|
3
|
+
id: string;
|
|
4
|
+
name?: string;
|
|
5
|
+
checked: boolean;
|
|
6
|
+
}
|
|
7
|
+
export interface CheckboxProps {
|
|
8
|
+
id: string;
|
|
9
|
+
name?: string;
|
|
10
|
+
label: string;
|
|
11
|
+
checked?: boolean;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
checkboxColor?: CheckboxColor;
|
|
14
|
+
onChange?: (payload: CheckboxChangePayload) => void;
|
|
15
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface DropdownOption {
|
|
3
|
+
label: string;
|
|
4
|
+
value?: string;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export interface DropdownProps {
|
|
8
|
+
id: string;
|
|
9
|
+
name?: string;
|
|
10
|
+
options?: DropdownOption[];
|
|
11
|
+
value?: string;
|
|
12
|
+
placeholder?: string;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
hasError?: boolean;
|
|
15
|
+
variant?: "field" | "filter" | "toolbar";
|
|
16
|
+
onChange?: (event: React.ChangeEvent<HTMLSelectElement>) => void;
|
|
17
|
+
onBlur?: (event: React.FocusEvent<HTMLSelectElement>) => void;
|
|
18
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { IconDefinition } from "@fortawesome/fontawesome-svg-core";
|
|
2
|
+
export type IconSize = "base" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl";
|
|
3
|
+
export type IconColor = "inherit" | "primary" | "secondary" | "secondaryHover" | "accent";
|
|
4
|
+
export type FaTypeClass = "fa-solid" | "fa-regular" | "fa-brands";
|
|
5
|
+
export type IconProps = {
|
|
6
|
+
icon?: IconDefinition;
|
|
7
|
+
alt?: string;
|
|
8
|
+
size?: IconSize;
|
|
9
|
+
color?: IconColor;
|
|
10
|
+
className?: string;
|
|
11
|
+
title?: string;
|
|
12
|
+
};
|
|
13
|
+
export type Props = Omit<IconProps, "icon"> & {
|
|
14
|
+
iconType: FaTypeClass;
|
|
15
|
+
iconName: string;
|
|
16
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export type ImageProps = Omit<React.ImgHTMLAttributes<HTMLImageElement>, "src" | "alt"> & {
|
|
3
|
+
src: string;
|
|
4
|
+
alt: string;
|
|
5
|
+
quality: number;
|
|
6
|
+
fit?: "contain" | "cover" | "fill";
|
|
7
|
+
useNetlifyImages?: boolean;
|
|
8
|
+
};
|
|
9
|
+
export type NetlifyLoaderArgs = {
|
|
10
|
+
src: string;
|
|
11
|
+
width?: number;
|
|
12
|
+
quality?: number;
|
|
13
|
+
fit?: "contain" | "cover" | "fill";
|
|
14
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface InputProps {
|
|
3
|
+
id?: string;
|
|
4
|
+
name?: string;
|
|
5
|
+
type?: "text" | "email" | "password" | "tel" | "number" | "search";
|
|
6
|
+
value?: string;
|
|
7
|
+
placeholder?: string;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
readOnly?: boolean;
|
|
10
|
+
required?: boolean;
|
|
11
|
+
hasError?: boolean;
|
|
12
|
+
className?: string;
|
|
13
|
+
inputClassName?: string;
|
|
14
|
+
autoComplete?: string;
|
|
15
|
+
leadingIcon?: React.ReactNode;
|
|
16
|
+
trailingIcon?: React.ReactNode;
|
|
17
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
18
|
+
onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
19
|
+
onFocus?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
20
|
+
}
|
|
21
|
+
export interface InputFieldProps extends InputProps {
|
|
22
|
+
label?: string;
|
|
23
|
+
errorMessage?: string;
|
|
24
|
+
linkText?: string;
|
|
25
|
+
linkHref?: string;
|
|
26
|
+
onLinkClick?: (event: React.MouseEvent<HTMLAnchorElement>) => void;
|
|
27
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export type ContentContainerMaxWidth = "sm" | "md" | "lg" | "xl" | "2xl" | "4xl" | "6xl";
|
|
3
|
+
export type ContentContainerProps = {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
className?: string;
|
|
6
|
+
innerClassName?: string;
|
|
7
|
+
maxWidth?: ContentContainerMaxWidth;
|
|
8
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { ContentContainerMaxWidth } from "./ContentContainerProps";
|
|
3
|
+
export type ContentGridColumns = 1 | 2 | 3 | 4;
|
|
4
|
+
export type ContentGridGap = "sm" | "md" | "lg" | "xl";
|
|
5
|
+
export type ContentGridProps = {
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
className?: string;
|
|
8
|
+
gridClassName?: string;
|
|
9
|
+
maxWidth?: ContentContainerMaxWidth;
|
|
10
|
+
columns?: ContentGridColumns;
|
|
11
|
+
gap?: ContentGridGap;
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export type FlowRowGap = "sm" | "md" | "lg" | "xl";
|
|
3
|
+
export type FlowRowAlign = "start" | "center" | "end" | "stretch";
|
|
4
|
+
export type FlowRowJustify = "start" | "center" | "end" | "between" | "around" | "evenly";
|
|
5
|
+
export type FlowRowProps = {
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
className?: string;
|
|
8
|
+
gap?: FlowRowGap;
|
|
9
|
+
align?: FlowRowAlign;
|
|
10
|
+
justify?: FlowRowJustify;
|
|
11
|
+
wrap?: boolean;
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface RadioOptionProps {
|
|
2
|
+
id: string;
|
|
3
|
+
label: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
checked?: boolean;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
name?: string;
|
|
8
|
+
value?: string;
|
|
9
|
+
className?: string;
|
|
10
|
+
onChange?: (value: string) => void;
|
|
11
|
+
onClick?: () => void;
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
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";
|
|
4
|
+
type AsProp<E extends React.ElementType> = {
|
|
5
|
+
as?: E;
|
|
6
|
+
};
|
|
7
|
+
type PropsToOmit<E extends React.ElementType, P> = keyof (AsProp<E> & P);
|
|
8
|
+
export type TextProps<E extends React.ElementType = "p"> = {
|
|
9
|
+
variant?: TextVariant;
|
|
10
|
+
className?: string;
|
|
11
|
+
children: React.ReactNode;
|
|
12
|
+
} & AsProp<E> & Omit<React.ComponentPropsWithoutRef<E>, PropsToOmit<E, Record<never, never>>>;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { CallToActionHeroCta } from "../../../organisms/banner/herobanner/CallToActionHeroProps";
|
|
2
|
+
export interface CallToActionHeroContentProps {
|
|
3
|
+
heading: string;
|
|
4
|
+
subheading?: string;
|
|
5
|
+
body?: string;
|
|
6
|
+
eyebrow?: string;
|
|
7
|
+
ctas?: CallToActionHeroCta[];
|
|
8
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export type ButtonGridItem = {
|
|
2
|
+
id: string;
|
|
3
|
+
label: string;
|
|
4
|
+
value: string;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
};
|
|
7
|
+
export type ButtonGridProps = {
|
|
8
|
+
heading?: string;
|
|
9
|
+
items: ButtonGridItem[];
|
|
10
|
+
value?: string;
|
|
11
|
+
onChange: (value: string, item: ButtonGridItem) => void;
|
|
12
|
+
headingClassName?: string;
|
|
13
|
+
minCellWidthPx?: number;
|
|
14
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type React from "react";
|
|
2
|
+
export interface ArticleRecentCardProps {
|
|
3
|
+
mediaType?: "image" | "video";
|
|
4
|
+
imageSrc?: string;
|
|
5
|
+
imageAlt?: string;
|
|
6
|
+
videoEmbedUrl?: string;
|
|
7
|
+
videoTitle?: string;
|
|
8
|
+
category?: string;
|
|
9
|
+
title: string;
|
|
10
|
+
publishDate?: string;
|
|
11
|
+
body: string;
|
|
12
|
+
buttonLabel: string;
|
|
13
|
+
onViewClick?: () => void;
|
|
14
|
+
actionFooter?: React.ReactNode;
|
|
15
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export type CartItemCardPrice = {
|
|
2
|
+
value: number;
|
|
3
|
+
currency: string;
|
|
4
|
+
label: string;
|
|
5
|
+
};
|
|
6
|
+
export type CartItemStatus = "pending" | "ready" | "error" | "warning";
|
|
7
|
+
export type CartItemCardProps = {
|
|
8
|
+
id: string;
|
|
9
|
+
sku: string;
|
|
10
|
+
title: string;
|
|
11
|
+
brand?: string;
|
|
12
|
+
decorNumber?: string;
|
|
13
|
+
quantity: number;
|
|
14
|
+
imageSrc: string;
|
|
15
|
+
imageAlt: string;
|
|
16
|
+
price: CartItemCardPrice;
|
|
17
|
+
productType?: string;
|
|
18
|
+
message?: string;
|
|
19
|
+
status?: CartItemStatus;
|
|
20
|
+
minQuantity?: number;
|
|
21
|
+
maxQuantity?: number;
|
|
22
|
+
onQuantityChange?: (quantity: number) => void;
|
|
23
|
+
onRemoveItem?: () => void;
|
|
24
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export interface ColumnCarouselItem {
|
|
2
|
+
id: string;
|
|
3
|
+
label: string;
|
|
4
|
+
href: string;
|
|
5
|
+
source: string;
|
|
6
|
+
alt?: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
}
|
|
9
|
+
export type ColumnCarouselCardProps = {
|
|
10
|
+
id: string;
|
|
11
|
+
item: ColumnCarouselItem;
|
|
12
|
+
absoluteIdx: number;
|
|
13
|
+
isActive: boolean;
|
|
14
|
+
showLabel: boolean;
|
|
15
|
+
grow: number;
|
|
16
|
+
isLoaded: boolean;
|
|
17
|
+
isFav: boolean;
|
|
18
|
+
setActiveIndex: (n: number | null) => void;
|
|
19
|
+
onLoaded: (id: string) => void;
|
|
20
|
+
onToggleFav: (item: ColumnCarouselItem) => void;
|
|
21
|
+
onItemClick?: (item: ColumnCarouselItem) => void;
|
|
22
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export type FeatureCardCtaMode = "button" | "text" | "hidden";
|
|
2
|
+
export type FeatureCardClickPayload = {
|
|
3
|
+
title: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
buttonLabel?: string;
|
|
6
|
+
};
|
|
7
|
+
export type FeatureCardProps = {
|
|
8
|
+
imageSrc: string;
|
|
9
|
+
imageAlt?: string;
|
|
10
|
+
title: string;
|
|
11
|
+
description?: string;
|
|
12
|
+
buttonLabel?: string;
|
|
13
|
+
ctaMode?: FeatureCardCtaMode;
|
|
14
|
+
onCardClick?: () => void;
|
|
15
|
+
onCtaClick?: (payload: FeatureCardClickPayload) => void;
|
|
16
|
+
};
|
package/dist/componentProps/molecules/card/quantitycheckoutcard/QuantityCheckoutCardProps.d.ts
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export interface QuantityCheckoutCardProps {
|
|
2
|
+
imageSrc: string;
|
|
3
|
+
imageAlt: string;
|
|
4
|
+
title: string;
|
|
5
|
+
productId?: number;
|
|
6
|
+
variantId?: number;
|
|
7
|
+
brand: string;
|
|
8
|
+
decorNumber: string;
|
|
9
|
+
finish?: string;
|
|
10
|
+
size?: string;
|
|
11
|
+
quantity: number;
|
|
12
|
+
price?: {
|
|
13
|
+
label: string;
|
|
14
|
+
value: number;
|
|
15
|
+
};
|
|
16
|
+
unitPrice?: {
|
|
17
|
+
label: string;
|
|
18
|
+
value: number;
|
|
19
|
+
};
|
|
20
|
+
totalPrice?: {
|
|
21
|
+
label: string;
|
|
22
|
+
value: number;
|
|
23
|
+
};
|
|
24
|
+
minQuantity?: number;
|
|
25
|
+
maxQuantity?: number;
|
|
26
|
+
isReadOnly?: boolean;
|
|
27
|
+
onQuantityChange?: (quantity: number) => void;
|
|
28
|
+
onRemoveItem?: () => void;
|
|
29
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type SwatchStatus = "new" | "discontinued" | "comingSoon" | "sale";
|
|
2
|
+
export interface SwatchCardProps {
|
|
3
|
+
id?: string;
|
|
4
|
+
imageSrc: string;
|
|
5
|
+
imageAlt: string;
|
|
6
|
+
title: string;
|
|
7
|
+
brand: string;
|
|
8
|
+
product: string;
|
|
9
|
+
decorNumber: string | number;
|
|
10
|
+
onSwatchClick?: () => void;
|
|
11
|
+
status?: SwatchStatus;
|
|
12
|
+
}
|
package/dist/componentProps/molecules/carousel/carouselarrowcontrols/CarouselArrowControlsProps.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ButtonProps } from "../../../atoms/buttons/button/ButtonProps";
|
|
2
|
+
export interface CarouselArrowControlsProps {
|
|
3
|
+
onPreviousClick: () => void;
|
|
4
|
+
onNextClick: () => void;
|
|
5
|
+
prevArrowButtonProps?: Partial<ButtonProps>;
|
|
6
|
+
nextArrowButtonProps?: Partial<ButtonProps>;
|
|
7
|
+
previousLabel?: string;
|
|
8
|
+
nextLabel?: string;
|
|
9
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { ColumnCarouselItem } from "../../card/columncarouselcard/ColumnCarouselCardProps";
|
|
2
|
+
export type ColumnCarouselProps = {
|
|
3
|
+
items: ColumnCarouselItem[];
|
|
4
|
+
startIndex: number;
|
|
5
|
+
desktopVisibleCount?: number;
|
|
6
|
+
activeIndex: number | null;
|
|
7
|
+
setActiveIndex: (n: number | null) => void;
|
|
8
|
+
canPrev: boolean;
|
|
9
|
+
canNext: boolean;
|
|
10
|
+
onPrev: () => void;
|
|
11
|
+
onNext: () => void;
|
|
12
|
+
loadedIds: Set<string>;
|
|
13
|
+
favoriteIds: Set<string>;
|
|
14
|
+
onLoaded: (id: string) => void;
|
|
15
|
+
onToggleFav: (item: ColumnCarouselItem) => void;
|
|
16
|
+
onItemClick?: (item: ColumnCarouselItem) => void;
|
|
17
|
+
getItemId?: (item: ColumnCarouselItem) => string;
|
|
18
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export type MiniCarouselProps<T> = {
|
|
3
|
+
items: T[];
|
|
4
|
+
initialIndex?: number;
|
|
5
|
+
loop?: boolean;
|
|
6
|
+
showArrows?: boolean;
|
|
7
|
+
header?: React.ReactNode;
|
|
8
|
+
arrowPosition?: "sides" | "top-right";
|
|
9
|
+
onSelect?: (index: number, item: T) => void;
|
|
10
|
+
renderItem: (args: {
|
|
11
|
+
item: T;
|
|
12
|
+
index: number;
|
|
13
|
+
isActive: boolean;
|
|
14
|
+
select: () => void;
|
|
15
|
+
}) => React.ReactNode;
|
|
16
|
+
className?: string;
|
|
17
|
+
trackClassName?: string;
|
|
18
|
+
ariaLabel?: string;
|
|
19
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { ButtonProps } from "../../../atoms/buttons/button/ButtonProps";
|
|
2
|
+
export interface StandardCarouselSlide {
|
|
3
|
+
imageSrc: string;
|
|
4
|
+
imageAlt?: string;
|
|
5
|
+
link?: string;
|
|
6
|
+
eyebrow?: string;
|
|
7
|
+
heading?: string;
|
|
8
|
+
subheading?: string;
|
|
9
|
+
body?: string;
|
|
10
|
+
ctas?: ButtonProps[];
|
|
11
|
+
}
|
|
12
|
+
export interface StandardCarouselProps {
|
|
13
|
+
slides: StandardCarouselSlide[];
|
|
14
|
+
initialIndex?: number;
|
|
15
|
+
showArrows?: boolean;
|
|
16
|
+
showDots?: boolean;
|
|
17
|
+
loop?: boolean;
|
|
18
|
+
prevArrowButtonProps?: Partial<ButtonProps>;
|
|
19
|
+
nextArrowButtonProps?: Partial<ButtonProps>;
|
|
20
|
+
autoRotateSeconds?: number;
|
|
21
|
+
onSlideChange?: (index: number) => void;
|
|
22
|
+
onSlideClick?: (slide: StandardCarouselSlide, index: number) => void;
|
|
23
|
+
heightClassName?: string;
|
|
24
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export type CartActionsProps = {
|
|
2
|
+
initialQuantity?: number;
|
|
3
|
+
minQuantity?: number;
|
|
4
|
+
maxQuantity?: number;
|
|
5
|
+
/** parent callbacks */
|
|
6
|
+
onAddToWishlist: () => void;
|
|
7
|
+
onAddToCart: (quantity: number) => void;
|
|
8
|
+
onQuantityChange?: (quantity: number) => void;
|
|
9
|
+
/** optional labels */
|
|
10
|
+
wishlistLabel?: string;
|
|
11
|
+
cartLabel?: string;
|
|
12
|
+
/** layout hooks */
|
|
13
|
+
className?: string;
|
|
14
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { FaTypeClass } from "../../../atoms/icon/IconProps";
|
|
2
|
+
export type SocialLinkItem = {
|
|
3
|
+
label: string;
|
|
4
|
+
href: string;
|
|
5
|
+
iconName: string;
|
|
6
|
+
iconType?: FaTypeClass;
|
|
7
|
+
target?: "_self" | "_blank";
|
|
8
|
+
rel?: string;
|
|
9
|
+
};
|
|
10
|
+
export type SocialLinkRowProps = {
|
|
11
|
+
links: SocialLinkItem[];
|
|
12
|
+
className?: string;
|
|
13
|
+
linkClassName?: string;
|
|
14
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type RadioButtonsOption = string;
|
|
2
|
+
export interface RadioButtonsProps {
|
|
3
|
+
options: RadioButtonsOption[];
|
|
4
|
+
value?: RadioButtonsOption;
|
|
5
|
+
defaultValue?: RadioButtonsOption;
|
|
6
|
+
onChange?: (value: RadioButtonsOption, index: number) => void;
|
|
7
|
+
ariaLabel?: string;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
className?: string;
|
|
10
|
+
containerClassName?: string;
|
|
11
|
+
buttonClassName?: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export type SegmentedControlItem = {
|
|
2
|
+
id: string;
|
|
3
|
+
label: string;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
};
|
|
6
|
+
export type SegmentedControlProps = {
|
|
7
|
+
items: SegmentedControlItem[];
|
|
8
|
+
selectedId?: string;
|
|
9
|
+
onSelect?: (id: string) => void;
|
|
10
|
+
className?: string;
|
|
11
|
+
buttonClassName?: string;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
ariaLabel?: string;
|
|
14
|
+
};
|
package/dist/componentProps/molecules/selectors/appliedoptionslist/AppliedOptionsListProps.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface AppliedOptionRemovePayload {
|
|
2
|
+
id: string;
|
|
3
|
+
name?: string;
|
|
4
|
+
}
|
|
5
|
+
export type AppliedOptionItem = {
|
|
6
|
+
id: string;
|
|
7
|
+
label: string;
|
|
8
|
+
};
|
|
9
|
+
export interface AppliedOptionsListProps {
|
|
10
|
+
header?: string;
|
|
11
|
+
clearAllLabel?: string;
|
|
12
|
+
emptyStateLabel?: string;
|
|
13
|
+
optionsList: AppliedOptionItem[];
|
|
14
|
+
onRemoveOption: (payload: AppliedOptionRemovePayload) => void;
|
|
15
|
+
onRemoveAll: () => void;
|
|
16
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface Country {
|
|
2
|
+
label: string;
|
|
3
|
+
locale: string;
|
|
4
|
+
href: string;
|
|
5
|
+
}
|
|
6
|
+
export interface CountrySelectorProps {
|
|
7
|
+
countries?: Country[];
|
|
8
|
+
selectedCountry?: Country | null;
|
|
9
|
+
onCountrySelect?: (country: Country) => void;
|
|
10
|
+
}
|
|
11
|
+
export type Props = CountrySelectorProps;
|