formica-ui-lib 1.0.232 → 1.0.235
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/molecules/cards/messagelistcard/MessageListCardProps.d.ts +21 -0
- package/dist/componentProps/molecules/cards/statusflowactioncard/StatusFlowActionCardProps.d.ts +13 -0
- package/dist/componentProps/molecules/cards/statusflowlegendcard/StatusFlowLegendCardProps.d.ts +4 -0
- package/dist/componentProps/molecules/cards/statussummarycard/StatusSummaryCardProps.d.ts +23 -0
- package/dist/componentProps/molecules/statusflowconnector/StatusFlowConnectorProps.d.ts +11 -0
- package/dist/componentProps/organisms/forms/dynamicform/DynamicFormProps.d.ts +45 -0
- package/dist/componentProps/organisms/navigation/AdminSideNavProps.d.ts +20 -0
- package/dist/componentProps/organisms/overlays/modal/ModalProps.d.ts +11 -0
- package/dist/componentProps/organisms/sections/statusflowdiagram/StatusFlowDiagramProps.d.ts +7 -0
- package/dist/componentProps/organisms/sections/statusflowgroup/StatusFlowGroupProps.d.ts +11 -0
- package/dist/componentProps/organisms/sections/statusflowpanel/StatusFlowPanelProps.d.ts +15 -0
- package/dist/index.cjs +2 -2
- package/dist/index.d.ts +22 -0
- package/dist/index.js +1367 -504
- package/dist/stories/molecules/cards/messagelistcard/MessageListCard.d.ts +4 -0
- package/dist/stories/molecules/cards/statusflowactioncard/StatusFlowActionCard.d.ts +4 -0
- package/dist/stories/molecules/cards/statusflowlegendcard/StatusFlowLegendCard.d.ts +4 -0
- package/dist/stories/molecules/cards/statussummarycard/StatusSummaryCard.d.ts +4 -0
- package/dist/stories/molecules/cards/statussummarycard/StatusSummaryCardStatusConfig.d.ts +9 -0
- package/dist/stories/molecules/statusflowconnector/StatusFlowConnector.d.ts +4 -0
- package/dist/stories/organisms/forms/dynamicform/DynamicForm.d.ts +4 -0
- package/dist/stories/organisms/navigation/AdminSideNav/AdminSideNav.d.ts +4 -0
- package/dist/stories/organisms/overlays/modal/Modal.d.ts +4 -0
- package/dist/stories/organisms/sections/statusflowdiagram/StatusFlowDiagram.d.ts +4 -0
- package/dist/stories/organisms/sections/statusflowgroup/StatusFlowGroup.d.ts +4 -0
- package/dist/stories/organisms/sections/statusflowpanel/StatusFlowPanel.d.ts +4 -0
- package/dist/tailwind.css +1 -1
- package/package.json +4 -3
- package/dist/componentProps/atoms/buttons/iconbutton/IconButtonProps.d.ts +0 -2
- package/dist/componentProps/molecules/card/swatchquantitycard/SwatchQuantityCardProps.d.ts +0 -13
- package/dist/componentProps/molecules/selectors/radiobutton/RadioButtonProps.d.ts +0 -10
- package/dist/componentProps/organisms/cart/carthostedpaymentpanel/CartHostedPaymentPanelProps.d.ts +0 -8
- package/dist/componentProps/organisms/collections/swatchcardcollection/SwatchCardCollectionProps.d.ts +0 -15
- package/dist/componentProps/organisms/featurecards/featurecardssection/FeatureCardSectionProps.d.ts +0 -7
- package/dist/componentProps/organisms/section/productinformationsection/ProductInformationSectionProps.d.ts +0 -56
- package/dist/componentProps/organisms/section/swatchpurchasepanel/SwatchPurchasePanelLeftPanelProps.d.ts +0 -46
- package/dist/componentProps/organisms/section/swatchpurchasepanel/SwatchPurchasePanelProps.d.ts +0 -88
- package/dist/componentProps/organisms/section/swatchpurchasepanel/SwatchPurchasePanelRightPanelProps.d.ts +0 -15
- package/dist/componentProps/organisms/sections/searchheader/SearchHeaderProps.d.ts +0 -5
- package/dist/componentProps/scene/article/ArticleSceneProps.d.ts +0 -19
- package/dist/componentProps/scene/campaign/CampaignSceneProps.d.ts +0 -15
- package/dist/componentProps/scene/contactus/ContactUsSceneProps.d.ts +0 -6
- package/dist/componentProps/scene/corporatecommitment/CorporateCommitmentSceneProps.d.ts +0 -12
- package/dist/componentProps/scene/customerhub/CustomerHubHomeImprovementSceneProps.d.ts +0 -16
- package/dist/componentProps/scene/customerhub/CustomerHubSceneProps.d.ts +0 -6
- package/dist/componentProps/scene/home/HomePageProps.d.ts +0 -28
- package/dist/componentProps/scene/launch/LaunchSceneProps.d.ts +0 -16
- package/dist/componentProps/scene/sfsolutionscenter/SFSolutionsCenterSceneProps.d.ts +0 -16
- package/dist/componentProps/scene/sustainability/SustainabilityHubSceneProps.d.ts +0 -12
- package/dist/componentProps/scene/sustainability/SustainabilitySnippetsSceneProps.d.ts +0 -8
- package/dist/stories/atoms/buttons/button/Button.test.d.ts +0 -1
- package/dist/stories/atoms/buttons/buttongrid/ButtonGrid.test.d.ts +0 -1
- package/dist/stories/atoms/buttons/iconbutton/IconButton.d.ts +0 -4
- package/dist/stories/atoms/buttons/iconbutton/IconButton.test.d.ts +0 -1
- package/dist/stories/atoms/buttons/radiooption/RadioOption.test.d.ts +0 -1
- package/dist/stories/atoms/checkbox/Checkbox.test.d.ts +0 -1
- package/dist/stories/atoms/dropdown/Dropdown.test.d.ts +0 -1
- package/dist/stories/atoms/embeddedvideo/EmbeddedVideo.test.d.ts +0 -1
- package/dist/stories/atoms/htmlblock/HtmlBlock.test.d.ts +0 -1
- package/dist/stories/atoms/icon/Icon.test.d.ts +0 -1
- package/dist/stories/atoms/image/Image.test.d.ts +0 -1
- package/dist/stories/atoms/image/ResilientImage.test.d.ts +0 -1
- package/dist/stories/atoms/input/Input.test.d.ts +0 -1
- package/dist/stories/atoms/layout/ContentContainer/ContentContainer.test.d.ts +0 -1
- package/dist/stories/atoms/layout/ContentGrid/ContentGrid.test.d.ts +0 -1
- package/dist/stories/atoms/layout/FlowRow/FlowRow.test.d.ts +0 -1
- package/dist/stories/atoms/text/Text.test.d.ts +0 -1
- package/dist/stories/molecules/bannercontent/articlebannercontent/ArticleBannerContent.test.d.ts +0 -1
- package/dist/stories/molecules/bannercontent/calltoactionherocontent/CallToActionHeroContent.test.d.ts +0 -1
- package/dist/stories/molecules/bannercontent/featuredarticlebannercontent/FeaturedArticleBannerContent.test.d.ts +0 -1
- package/dist/stories/molecules/bannercontent/standardcopybannercontent/StandardCopyBannerContent.test.d.ts +0 -1
- package/dist/stories/molecules/cards/businessinfocard/BusinessInfoCard.test.d.ts +0 -1
- package/dist/stories/molecules/cards/cartitemcard/CartItemCard.test.d.ts +0 -1
- package/dist/stories/molecules/cards/clickablecard/ClickableCard.test.d.ts +0 -1
- package/dist/stories/molecules/cards/columncarouselcard/ColumnCarouselCard.test.d.ts +0 -1
- package/dist/stories/molecules/cards/documentlinkcard/DocumentLinkCard.test.d.ts +0 -1
- package/dist/stories/molecules/cards/embeddedvideocard/EmbeddedVideoCard.test.d.ts +0 -1
- package/dist/stories/molecules/cards/faqcard/FaqCard.test.d.ts +0 -1
- package/dist/stories/molecules/cards/featurecard/FeatureCard.test.d.ts +0 -1
- package/dist/stories/molecules/cards/featureproductcard/FeaturedProductCard.test.d.ts +0 -1
- package/dist/stories/molecules/cards/imagecard/ImageCard.test.d.ts +0 -1
- package/dist/stories/molecules/cards/imageoverlaycard/ImageOverlayCard.test.d.ts +0 -1
- package/dist/stories/molecules/cards/infocard/InfoCard.test.d.ts +0 -1
- package/dist/stories/molecules/cards/locationcard/LocationCard.test.d.ts +0 -1
- package/dist/stories/molecules/cards/moreinfohighlightscard/MoreInfoHighlightsCard.test.d.ts +0 -1
- package/dist/stories/molecules/cards/quantitycheckoutcard/QuantityCheckoutCard.test.d.ts +0 -1
- package/dist/stories/molecules/cards/recentarticlecard/RecentArticleCard.test.d.ts +0 -1
- package/dist/stories/molecules/cards/singlebuttoncard/SingleButtonCard.test.d.ts +0 -1
- package/dist/stories/molecules/cards/swatchcard/SwatchCard.test.d.ts +0 -1
- package/dist/stories/molecules/cards/swatchquantitycard/SwatchQuantityCard.d.ts +0 -4
- package/dist/stories/molecules/cards/swatchquantitycard/SwatchQuantityCard.test.d.ts +0 -1
- package/dist/stories/molecules/cards/textcard/TextCard.test.d.ts +0 -1
- package/dist/stories/molecules/cards/warrantycard/WarrantyCard.test.d.ts +0 -1
- package/dist/stories/molecules/carouselprimitives/carouselarrowcontrols/CarouselArrowControls.test.d.ts +0 -1
- package/dist/stories/molecules/carouselprimitives/carouseldots/CarouselDots.test.d.ts +0 -1
- package/dist/stories/molecules/carouselprimitives/columncarousel/ColumnCarousel.test.d.ts +0 -1
- package/dist/stories/molecules/carouselprimitives/minicarousel/MiniCarousel.test.d.ts +0 -1
- package/dist/stories/molecules/carouselprimitives/standardcarousel/StandardCarousel.test.d.ts +0 -1
- package/dist/stories/molecules/cart/cartactions/CartActions.test.d.ts +0 -1
- package/dist/stories/molecules/cart/productcontactactions/ProductContactActions.test.d.ts +0 -1
- package/dist/stories/molecules/inputs/input/InputField.test.d.ts +0 -1
- package/dist/stories/molecules/inputs/searchbar/SearchBar.test.d.ts +0 -1
- package/dist/stories/molecules/navigation/footerimagelink/FooterImageLink.test.d.ts +0 -1
- package/dist/stories/molecules/navigation/footerlinkitem/FooterLinkItem.test.d.ts +0 -1
- package/dist/stories/molecules/navigation/sociallinkrow/SocialLinkRow.test.d.ts +0 -1
- package/dist/stories/molecules/productinformation/colourmatchingchart/ColourMatchingChart.test.d.ts +0 -1
- package/dist/stories/molecules/selectors/appliedoptionslist/AppliedOptionsList.test.d.ts +0 -1
- package/dist/stories/molecules/selectors/countryselector/CountrySelector.test.d.ts +0 -1
- package/dist/stories/molecules/selectors/filterbar/DropdownFilter.test.d.ts +0 -1
- package/dist/stories/molecules/selectors/filterbar/FilterBar.test.d.ts +0 -1
- package/dist/stories/molecules/selectors/filterbar/FilterBarButton.test.d.ts +0 -1
- package/dist/stories/molecules/selectors/filterbar/SearchFilter.test.d.ts +0 -1
- package/dist/stories/molecules/selectors/multibuttonbar/MultiButtonBar.test.d.ts +0 -1
- package/dist/stories/molecules/selectors/progressindicator/CheckoutProgressIndicator.test.d.ts +0 -1
- package/dist/stories/molecules/selectors/radiobuttons/RadioButtons.test.d.ts +0 -1
- package/dist/stories/molecules/selectors/radiooptionselector/RadioOptionSelector.test.d.ts +0 -1
- package/dist/stories/molecules/selectors/segmentedcontrol/SegmentedControl.test.d.ts +0 -1
- package/dist/stories/molecules/selectors/slidingtabselector/SlidingTabIndicator.test.d.ts +0 -1
- package/dist/stories/molecules/selectors/verticalcheckboxlist/VerticalCheckboxList.test.d.ts +0 -1
- package/dist/stories/molecules/selectors/verticalcolorswatchlist/VerticalColorSwatchList.test.d.ts +0 -1
- package/dist/stories/molecules/selectors/verticaltablist/VerticalTabList.test.d.ts +0 -1
- package/dist/stories/organisms/account/AccountAccessPanel/AccountAccessPanel.test.d.ts +0 -1
- package/dist/stories/organisms/banners/articlebanner/ArticleBanner.test.d.ts +0 -1
- package/dist/stories/organisms/banners/calltoactionhero/CallToActionHero.test.d.ts +0 -1
- package/dist/stories/organisms/banners/columnbanner/ColumnBanner.test.d.ts +0 -1
- package/dist/stories/organisms/banners/featuredarticlebanner/FeaturedArticleBanner.test.d.ts +0 -1
- package/dist/stories/organisms/banners/standardbannercontainer/StandardBannerContainer.test.d.ts +0 -1
- package/dist/stories/organisms/banners/standardcopyhero/StandardCopyHero.test.d.ts +0 -1
- package/dist/stories/organisms/banners/wheretobuysearchbanner/WhereToBuySearchBanner.test.d.ts +0 -1
- package/dist/stories/organisms/carousels/contentcarousel/ContentCarousel.test.d.ts +0 -1
- package/dist/stories/organisms/carousels/featuredproductcarousel/FeaturedProductsCarousel.test.d.ts +0 -1
- package/dist/stories/organisms/carousels/imagecarousel/ImageCarousel.test.d.ts +0 -1
- package/dist/stories/organisms/cart/cartconfirmation/cartconfirmedhero/CartConfirmedHero.test.d.ts +0 -1
- package/dist/stories/organisms/cart/cartconfirmation/cartordersummary/CartOrderSummary.test.d.ts +0 -1
- package/dist/stories/organisms/cart/cartconfirmation/cartreceiptsection/CartReceiptSection.test.d.ts +0 -1
- package/dist/stories/organisms/cart/cartconfirmation/cartsummarysection/CartSummarySection.test.d.ts +0 -1
- package/dist/stories/organisms/cart/cartflyout/CartFlyout.test.d.ts +0 -1
- package/dist/stories/organisms/cart/carthostedpaymentpanel/CartHostedPaymentPanel.d.ts +0 -4
- package/dist/stories/organisms/cart/carthostedpaymentpanel/CartHostedPaymentPanel.test.d.ts +0 -1
- package/dist/stories/organisms/cart/cartpaymentpanel/CartPaymentPanel.test.d.ts +0 -1
- package/dist/stories/organisms/cart/cartsummary/CartSummary.test.d.ts +0 -1
- package/dist/stories/organisms/cart/carttotalspanel/CartTotalsPanel.test.d.ts +0 -1
- package/dist/stories/organisms/cart/checkoutsteppanel/CheckoutStepPanel.test.d.ts +0 -1
- package/dist/stories/organisms/cart/purchasepanel/LeftPanel/PurchasePanelLeftPanel.test.d.ts +0 -1
- package/dist/stories/organisms/cart/purchasepanel/PurchasePanel.test.d.ts +0 -1
- package/dist/stories/organisms/cart/purchasepanel/RightPanel/PurchasePanelRightPanel.test.d.ts +0 -1
- package/dist/stories/organisms/cart/sampleordersummarypanel/SampleOrderSummaryPanel.test.d.ts +0 -1
- package/dist/stories/organisms/cart/shippingaddressform/ShippingAddressForm.test.d.ts +0 -1
- package/dist/stories/organisms/collections/documentlinkcollection/DocumentLinkCollection.test.d.ts +0 -1
- package/dist/stories/organisms/collections/faqcardcollection/FaqCardCollection.test.d.ts +0 -1
- package/dist/stories/organisms/collections/featurecardcollection/FeatureCardCollection.test.d.ts +0 -1
- package/dist/stories/organisms/collections/locationcardcollection/LocationCardCollection.test.d.ts +0 -1
- package/dist/stories/organisms/collections/moreinfohighlightscollection/MoreInfoHighlightsCollection.test.d.ts +0 -1
- package/dist/stories/organisms/collections/recentarticlecollection/RecentArticleCollection.test.d.ts +0 -1
- package/dist/stories/organisms/collections/swatchcardcollection/SwatchCardCollection.d.ts +0 -4
- package/dist/stories/organisms/collections/swatchcardcollection/SwatchCardCollection.test.d.ts +0 -1
- package/dist/stories/organisms/collections/verticalcheckboxlistcollection/VerticalCheckboxListCollection.test.d.ts +0 -1
- package/dist/stories/organisms/grids/decorgrid/DecorGrid.test.d.ts +0 -1
- package/dist/stories/organisms/grids/imagegrid/ImageGrid.test.d.ts +0 -1
- package/dist/stories/organisms/grids/imageoverlaygrid/ImageOverlayGrid.test.d.ts +0 -1
- package/dist/stories/organisms/navigation/AnnouncementBar/AnnouncementBar.test.d.ts +0 -1
- package/dist/stories/organisms/navigation/BrandNavBar/BrandNavBar.test.d.ts +0 -1
- package/dist/stories/organisms/navigation/Breadcrumbs/Breadcrumbs.test.d.ts +0 -1
- package/dist/stories/organisms/navigation/Footer/Footer.test.d.ts +0 -1
- package/dist/stories/organisms/navigation/Footer/FooterBrandBlock/FooterBrandBlock.test.d.ts +0 -1
- package/dist/stories/organisms/navigation/Footer/FooterLegal/FooterLegal.test.d.ts +0 -1
- package/dist/stories/organisms/navigation/Footer/FooterLogosBar/FooterLogosBar.test.d.ts +0 -1
- package/dist/stories/organisms/navigation/Footer/FooterSiteMap/FooterSitemap.test.d.ts +0 -1
- package/dist/stories/organisms/navigation/TopNavActions/TopNavActions.test.d.ts +0 -1
- package/dist/stories/organisms/navigation/TopNavBar/TopNavBar.test.d.ts +0 -1
- package/dist/stories/organisms/navigation/TopNavMegaMenu/TopNavMegaMenu.test.d.ts +0 -1
- package/dist/stories/organisms/navigation/TopNavSearchResults/TopNavSearchResults.test.d.ts +0 -1
- package/dist/stories/organisms/productinformation/productdetailpane/ProductDetailsPane.test.d.ts +0 -1
- package/dist/stories/organisms/productinformation/sizeandgradepane/SizeAndGradePane.test.d.ts +0 -1
- package/dist/stories/organisms/productinformation/texturepane/TexturePane.test.d.ts +0 -1
- package/dist/stories/organisms/sections/locationmap/LocationMap.test.d.ts +0 -1
- package/dist/stories/organisms/sections/productinformationsection/ProductInformationSection.test.d.ts +0 -1
- package/dist/stories/organisms/sections/searchheader/SearchHeader.d.ts +0 -4
- package/dist/stories/organisms/sections/searchheader/SearchHeader.test.d.ts +0 -1
- package/dist/stories/scenes/article/ArticleScene.d.ts +0 -4
- package/dist/stories/scenes/campaign/CampaignScene.d.ts +0 -4
- package/dist/stories/scenes/contactus/ContactUsScene.d.ts +0 -4
- package/dist/stories/scenes/corporatecommitment/CorporateCommitmentScene.d.ts +0 -4
- package/dist/stories/scenes/customerhub/CustomerHubScene.d.ts +0 -4
- package/dist/stories/scenes/customerhubhomeimprovement/CustomerHubHomeImprovementScene.d.ts +0 -4
- package/dist/stories/scenes/home/HomePageScene.d.ts +0 -4
- package/dist/stories/scenes/launch/LaunchScene.d.ts +0 -4
- package/dist/stories/scenes/sfsolutionscenter/SFSolutionsCenterScene.d.ts +0 -4
- package/dist/stories/scenes/sustainability/sustainabilityhub/SustainabilityHubScene.d.ts +0 -4
- package/dist/stories/scenes/sustainability/sustainabilitysnippets/SustainabilitySnippetsScene.d.ts +0 -4
- package/dist/stories/templates/articlelandingpagetemplate/ArticleLandingPageTemplate.test.d.ts +0 -1
- package/dist/stories/templates/cart/bpcs/confirmation/BpcsCartConfirmationTemplate.test.d.ts +0 -1
- package/dist/stories/templates/cart/bpcs/samples/BpcsCartSamplesTemplate.test.d.ts +0 -1
- package/dist/stories/templates/cart/bpcs/shipping/BpcsCartShippingTemplate.test.d.ts +0 -1
- package/dist/stories/templates/cart/ecommerce/confirmation/EcommCartConfirmationTemplate.test.d.ts +0 -1
- package/dist/stories/templates/cart/ecommerce/payment/EcommCartPaymentTemplate.test.d.ts +0 -1
- package/dist/stories/templates/cart/ecommerce/shipping/EcommCartShippingTemplate.test.d.ts +0 -1
- package/dist/stories/templates/cart/ecommerce/summary/EcommCartSummaryTemplate.test.d.ts +0 -1
- package/dist/stories/templates/categorypagetemplate/CategoryPageTemplate.test.d.ts +0 -1
- package/dist/stories/templates/gallerytemplate/GalleryTemplate.test.d.ts +0 -1
- package/dist/stories/templates/logintemplate/LoginTemplate.test.d.ts +0 -1
- package/dist/stories/templates/productdetailpagetemplate/ProductDetailPageTemplate.test.d.ts +0 -1
- package/dist/stories/templates/proresourcetemplate/ProResourceTemplate.test.d.ts +0 -1
- package/dist/stories/templates/searchresultstemplate/SearchResultsTemplate.test.d.ts +0 -1
- package/dist/stories/templates/wheretobuytemplate/WhereToBuyTemplate.test.d.ts +0 -1
- package/dist/utils/date.test.d.ts +0 -1
- package/dist/utils/html/santitizeHtmlBlock.d.ts +0 -1
- package/dist/utils/validators.d.ts +0 -3
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export type MessageListCardStatus = "error" | "warning" | "info" | "success";
|
|
2
|
+
export interface MessageListCardItem {
|
|
3
|
+
id: string;
|
|
4
|
+
status: MessageListCardStatus;
|
|
5
|
+
title: string;
|
|
6
|
+
context?: string;
|
|
7
|
+
message: string;
|
|
8
|
+
timestamp?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface MessageListCardItemClickPayload {
|
|
11
|
+
item: MessageListCardItem;
|
|
12
|
+
}
|
|
13
|
+
export interface MessageListCardProps {
|
|
14
|
+
title: string;
|
|
15
|
+
items: MessageListCardItem[];
|
|
16
|
+
viewAllLabel?: string;
|
|
17
|
+
emptyMessage?: string;
|
|
18
|
+
ariaLabel?: string;
|
|
19
|
+
onViewAllClick?: () => void;
|
|
20
|
+
onMessageClick?: (payload: MessageListCardItemClickPayload) => void;
|
|
21
|
+
}
|
package/dist/componentProps/molecules/cards/statusflowactioncard/StatusFlowActionCardProps.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface StatusFlowActionCardProps {
|
|
2
|
+
validCheckpointCount: number;
|
|
3
|
+
totalCheckpointCount: number;
|
|
4
|
+
summary: string;
|
|
5
|
+
detail?: string;
|
|
6
|
+
runSyncLabel?: string;
|
|
7
|
+
syncForwardLabel?: string;
|
|
8
|
+
detailsLabel?: string;
|
|
9
|
+
ariaLabel?: string;
|
|
10
|
+
onRunSyncCheck?: () => void;
|
|
11
|
+
onSyncForwardClick?: () => void;
|
|
12
|
+
onViewDetailsClick?: () => void;
|
|
13
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { FaTypeClass } from "../../../atoms/icon/IconProps";
|
|
2
|
+
export type StatusSummaryCardStatus = "ok" | "warning" | "error" | "info" | "unknown";
|
|
3
|
+
export type StatusSummaryCardLayoutVariant = "default" | "compact";
|
|
4
|
+
export interface StatusSummaryCardClickPayload {
|
|
5
|
+
id?: string;
|
|
6
|
+
title: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
status: StatusSummaryCardStatus;
|
|
9
|
+
statusLabel: string;
|
|
10
|
+
}
|
|
11
|
+
export interface StatusSummaryCardProps {
|
|
12
|
+
id?: string;
|
|
13
|
+
title: string;
|
|
14
|
+
description?: string;
|
|
15
|
+
iconName: string;
|
|
16
|
+
iconType?: FaTypeClass;
|
|
17
|
+
iconAlt?: string;
|
|
18
|
+
status: StatusSummaryCardStatus;
|
|
19
|
+
statusLabel: string;
|
|
20
|
+
layoutVariant?: StatusSummaryCardLayoutVariant;
|
|
21
|
+
mediaAssetCount?: number;
|
|
22
|
+
onCardClick?: (payload: StatusSummaryCardClickPayload) => void;
|
|
23
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export type StatusFlowConnectorState = "active" | "degraded" | "failed";
|
|
2
|
+
export type StatusFlowConnectorSize = "default" | "compact";
|
|
3
|
+
export type StatusFlowConnectorLineVariant = "solid" | "dotted";
|
|
4
|
+
export type StatusFlowCheckpointStatus = "ok" | "warning" | "error" | "info" | "unknown";
|
|
5
|
+
export interface StatusFlowConnectorProps {
|
|
6
|
+
state?: StatusFlowConnectorState;
|
|
7
|
+
checkpointStatus?: StatusFlowCheckpointStatus;
|
|
8
|
+
checkpointLabel?: string;
|
|
9
|
+
size?: StatusFlowConnectorSize;
|
|
10
|
+
lineVariant?: StatusFlowConnectorLineVariant;
|
|
11
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export type DynamicFormFieldType = "text" | "number" | "currency" | "radio" | "select";
|
|
2
|
+
export type DynamicFormFieldSeverity = "blocking" | "recommended" | "optional";
|
|
3
|
+
export type DynamicFormFieldState = "neutral" | "valid" | "warning" | "error";
|
|
4
|
+
export type DynamicFormFieldValue = string | number | null;
|
|
5
|
+
export type DynamicFormDensity = "compact" | "comfortable";
|
|
6
|
+
export type DynamicFormSeverityDisplay = "icon" | "label";
|
|
7
|
+
export interface DynamicFormFieldOption {
|
|
8
|
+
label: string;
|
|
9
|
+
value: string;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export interface DynamicFormFieldConfig {
|
|
13
|
+
id: string;
|
|
14
|
+
label: string;
|
|
15
|
+
type: DynamicFormFieldType;
|
|
16
|
+
value: DynamicFormFieldValue;
|
|
17
|
+
placeholder?: string;
|
|
18
|
+
options?: DynamicFormFieldOption[];
|
|
19
|
+
required?: boolean;
|
|
20
|
+
severity?: DynamicFormFieldSeverity;
|
|
21
|
+
state?: DynamicFormFieldState;
|
|
22
|
+
validationRegex?: string;
|
|
23
|
+
message?: string;
|
|
24
|
+
helpText?: string;
|
|
25
|
+
readOnly?: boolean;
|
|
26
|
+
}
|
|
27
|
+
export interface DynamicFormFieldChangePayload {
|
|
28
|
+
fieldId: string;
|
|
29
|
+
value: DynamicFormFieldValue;
|
|
30
|
+
}
|
|
31
|
+
export interface DynamicFormSubmitPayload {
|
|
32
|
+
values: Record<string, DynamicFormFieldValue>;
|
|
33
|
+
}
|
|
34
|
+
export interface DynamicFormProps {
|
|
35
|
+
title?: string;
|
|
36
|
+
description?: string;
|
|
37
|
+
fields: DynamicFormFieldConfig[];
|
|
38
|
+
density?: DynamicFormDensity;
|
|
39
|
+
severityDisplay?: DynamicFormSeverityDisplay;
|
|
40
|
+
submitLabel?: string;
|
|
41
|
+
cancelLabel?: string;
|
|
42
|
+
onDynamicFormFieldChange?: (payload: DynamicFormFieldChangePayload) => void;
|
|
43
|
+
onDynamicFormSubmit?: (payload: DynamicFormSubmitPayload) => void;
|
|
44
|
+
onDynamicFormCancel?: () => void;
|
|
45
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { FaTypeClass } from "../../atoms/icon/IconProps";
|
|
2
|
+
export interface AdminSideNavItem {
|
|
3
|
+
id: string;
|
|
4
|
+
label: string;
|
|
5
|
+
iconName: string;
|
|
6
|
+
iconType?: FaTypeClass;
|
|
7
|
+
}
|
|
8
|
+
export interface AdminSideNavItemClickPayload {
|
|
9
|
+
item: AdminSideNavItem;
|
|
10
|
+
}
|
|
11
|
+
export interface AdminSideNavProps {
|
|
12
|
+
items: AdminSideNavItem[];
|
|
13
|
+
activeItemId?: string;
|
|
14
|
+
ariaLabel?: string;
|
|
15
|
+
menuLabel?: string;
|
|
16
|
+
logoutLabel?: string;
|
|
17
|
+
onMenuClick?: () => void;
|
|
18
|
+
onItemClick?: (payload: AdminSideNavItemClickPayload) => void;
|
|
19
|
+
onLogoutClick?: () => void;
|
|
20
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
export type ModalSize = "sm" | "md" | "lg";
|
|
3
|
+
export interface ModalProps {
|
|
4
|
+
open: boolean;
|
|
5
|
+
title: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
closeLabel?: string;
|
|
9
|
+
size?: ModalSize;
|
|
10
|
+
onClose: () => void;
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import type { FaTypeClass } from "../../../atoms/icon/IconProps";
|
|
3
|
+
export interface StatusFlowGroupProps {
|
|
4
|
+
title: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
iconName: string;
|
|
7
|
+
iconType?: FaTypeClass;
|
|
8
|
+
iconAlt?: string;
|
|
9
|
+
mediaAssetCount?: number;
|
|
10
|
+
children: ReactNode;
|
|
11
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import type { FaTypeClass } from "../../../atoms/icon/IconProps";
|
|
3
|
+
export interface StatusFlowPanelProps {
|
|
4
|
+
title: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
iconName?: string;
|
|
7
|
+
iconType?: FaTypeClass;
|
|
8
|
+
iconAlt?: string;
|
|
9
|
+
lastCheckedLabel?: string;
|
|
10
|
+
runSyncLabel?: string;
|
|
11
|
+
diagram: ReactNode;
|
|
12
|
+
legend: ReactNode;
|
|
13
|
+
actions: ReactNode;
|
|
14
|
+
onRunSyncCheck?: () => void;
|
|
15
|
+
}
|