@redsift/design-system 6.2.0 → 6.3.0

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/index.d.ts CHANGED
@@ -827,4 +827,52 @@ declare type StyledLinkButtonProps = Omit<LinkButtonProps, 'isDisabled'> & {
827
827
  */
828
828
  declare const LinkButton: Comp<LinkButtonProps, HTMLButtonElement>;
829
829
 
830
- export { AppBar, AppBarProps, AppContainer, AppContainerContext, AppContainerProps, AppContainerState, AppContent, AppContentProps, AppSidePanel, AppSidePanelProps, Badge, BadgeProps, BadgeVariant, BreadcrumbItem, BreadcrumbItemProps, Breadcrumbs, BreadcrumbsProps, Button, ButtonLink, ButtonLinkProps, ButtonProps, ButtonSize, ButtonVariant, Checkbox, CheckboxGroup, CheckboxGroupOrientation, CheckboxGroupProps, CheckboxGroupState, CheckboxProps, CheckboxSize, Color, ColorPalette, Comp, Falsy, FloatingActionButton, FloatingActionButtonColor, FloatingActionButtonProps, FloatingActionButtonSize, FloatingActionButtonVariant, Icon, IconButton, IconButtonProps, IconButtonSize, IconProps, IconSize, Link, LinkButton, LinkButtonProps, LinkProps, Menu, MenuBarItems, MenuItem, SideNavigationMenu, SideNavigationMenuBar, SideNavigationMenuBarContextProps, SideNavigationMenuBarProps, SideNavigationMenuContextProps, SideNavigationMenuItem, SideNavigationMenuItemProps, SideNavigationMenuProps, SideNavigationMenuReducerAction, SideNavigationMenuReducerActionType, SideNavigationMenuReducerState, StyledAppBarProps, StyledAppContentProps, StyledAppSidePanelProps, StyledBadgeProps, StyledBreadcrumbItemProps, StyledBreadcrumbsProps, StyledButton, StyledButtonLinkProps, StyledButtonProps, StyledCheckboxGroupProps, StyledCheckboxProps, StyledFloatingActionButtonProps, StyledIconButtonProps, StyledIconProps, StyledLink, StyledLinkButtonProps, StyledLinkProps, StyledSideNavigationMenuBarProps, StyledSideNavigationMenuItemProps, StyledSideNavigationMenuProps, Theme, UseSideNavigationMenuBarProps, ValueOf, useAppSidePanel, useSideNavigationMenuBar };
830
+ /**
831
+ * Component variant.
832
+ */
833
+ declare const ShieldVariant: {
834
+ readonly success: "success";
835
+ readonly successLocked: "successLocked";
836
+ readonly successUnlocked: "successUnlocked";
837
+ readonly fail: "fail";
838
+ readonly failLocked: "failLocked";
839
+ readonly failUnlocked: "failUnlocked";
840
+ readonly warning: "warning";
841
+ readonly warningLocked: "warningLocked";
842
+ readonly warningUnlocked: "warningUnlocked";
843
+ readonly ignored: "ignored";
844
+ readonly noData: "noData";
845
+ readonly question: "question";
846
+ readonly email: "email";
847
+ };
848
+ declare type ShieldVariant = ValueOf<typeof ShieldVariant>;
849
+ /**
850
+ * Component props.
851
+ */
852
+ interface ShieldProps extends ComponentProps<'div'> {
853
+ /** Indicates whether the element is exposed to an accessibility API. */
854
+ 'aria-hidden'?: boolean | 'false' | 'true';
855
+ /** A screen reader only label for the Icon. */
856
+ 'aria-label'?: string;
857
+ /** Additional properties to forward to the SVG tag. */
858
+ svgProps?: ComponentProps<'svg'>;
859
+ /** Whether the shield has an outline or not. */
860
+ outlined?: boolean;
861
+ /** Whether the shield has its colors reversed or not. */
862
+ reversed?: boolean;
863
+ /** Shield variant. */
864
+ variant?: ShieldVariant;
865
+ }
866
+ declare type StyledShieldProps = Omit<ShieldProps, 'color'> & {
867
+ $color: Color | string;
868
+ $outlined: ShieldProps['outlined'];
869
+ $reversed: ShieldProps['reversed'];
870
+ $variant: ShieldProps['variant'];
871
+ };
872
+
873
+ /**
874
+ * The Shield component.
875
+ */
876
+ declare const Shield: Comp<ShieldProps, HTMLDivElement>;
877
+
878
+ export { AppBar, AppBarProps, AppContainer, AppContainerContext, AppContainerProps, AppContainerState, AppContent, AppContentProps, AppSidePanel, AppSidePanelProps, Badge, BadgeProps, BadgeVariant, BreadcrumbItem, BreadcrumbItemProps, Breadcrumbs, BreadcrumbsProps, Button, ButtonLink, ButtonLinkProps, ButtonProps, ButtonSize, ButtonVariant, Checkbox, CheckboxGroup, CheckboxGroupOrientation, CheckboxGroupProps, CheckboxGroupState, CheckboxProps, CheckboxSize, Color, ColorPalette, Comp, Falsy, FloatingActionButton, FloatingActionButtonColor, FloatingActionButtonProps, FloatingActionButtonSize, FloatingActionButtonVariant, Icon, IconButton, IconButtonProps, IconButtonSize, IconProps, IconSize, Link, LinkButton, LinkButtonProps, LinkProps, Menu, MenuBarItems, MenuItem, Shield, ShieldProps, ShieldVariant, SideNavigationMenu, SideNavigationMenuBar, SideNavigationMenuBarContextProps, SideNavigationMenuBarProps, SideNavigationMenuContextProps, SideNavigationMenuItem, SideNavigationMenuItemProps, SideNavigationMenuProps, SideNavigationMenuReducerAction, SideNavigationMenuReducerActionType, SideNavigationMenuReducerState, StyledAppBarProps, StyledAppContentProps, StyledAppSidePanelProps, StyledBadgeProps, StyledBreadcrumbItemProps, StyledBreadcrumbsProps, StyledButton, StyledButtonLinkProps, StyledButtonProps, StyledCheckboxGroupProps, StyledCheckboxProps, StyledFloatingActionButtonProps, StyledIconButtonProps, StyledIconProps, StyledLink, StyledLinkButtonProps, StyledLinkProps, StyledShieldProps, StyledSideNavigationMenuBarProps, StyledSideNavigationMenuItemProps, StyledSideNavigationMenuProps, Theme, UseSideNavigationMenuBarProps, ValueOf, useAppSidePanel, useSideNavigationMenuBar };