mainstack-design-system 0.6.2 → 0.6.3
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/build/mainstack-design-system.js +5363 -5263
- package/build/src/components/InputFields/Input.d.ts +1 -1
- package/build/src/components/Tiles/index.d.ts +4 -2
- package/build/src/components/notifications/Banner.d.ts +1 -1
- package/build/src/components/notifications/Tag.d.ts +2 -1
- package/build/src/icons/ApartmentIcon.d.ts +4 -0
- package/build/src/icons/HourGlassTopIcon.d.ts +4 -0
- package/build/src/icons/IdCardIcon.d.ts +4 -0
- package/build/src/icons/PersonFilledIcon.d.ts +4 -0
- package/build/src/icons/index.d.ts +4 -0
- package/build/src/stories/Tiles/Tile.stories.d.ts +1 -0
- package/build/src/stories/icons/index.d.ts +4 -0
- package/build/src/stories/notifications/Banner.stories.d.ts +1 -0
- package/package.json +1 -1
|
@@ -5,12 +5,14 @@ export interface TileProps extends BoxProps {
|
|
|
5
5
|
isSelected?: boolean;
|
|
6
6
|
title: string;
|
|
7
7
|
tag?: ReactNode;
|
|
8
|
-
|
|
8
|
+
image?: string;
|
|
9
|
+
subText?: ReactNode;
|
|
9
10
|
icon?: JSX.Element;
|
|
10
11
|
iconPosition?: "leading" | "trailing" | "top";
|
|
11
12
|
hasRadioButton?: boolean;
|
|
13
|
+
hasCheckBox?: boolean;
|
|
12
14
|
bottomComponent?: ReactNode;
|
|
13
15
|
onClick?: () => void;
|
|
14
16
|
}
|
|
15
|
-
declare const Tile: ({ icon, iconPosition, hasRadioButton, isSelected, title, subText, onClick, width, bottomComponent, tag, ...props }: TileProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
declare const Tile: ({ icon, image, iconPosition, hasRadioButton, hasCheckBox, isSelected, title, subText, onClick, width, bottomComponent, tag, ...props }: TileProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
18
|
export default Tile;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/** @format */
|
|
2
2
|
/// <reference types="react" />
|
|
3
3
|
interface Props {
|
|
4
|
-
variant: "blue" | "red" | "green" | "yellow" | "purple" | "orange" | "gradient";
|
|
4
|
+
variant: "blue" | "red" | "green" | "yellow" | "purple" | "orange" | "gradient" | "gray";
|
|
5
5
|
onProceed: () => void;
|
|
6
6
|
message: React.ReactNode;
|
|
7
7
|
buttonText?: string;
|
|
@@ -4,6 +4,7 @@ export interface ITag {
|
|
|
4
4
|
status: "Successful" | "Pending" | "Failed" | "Default";
|
|
5
5
|
label?: string;
|
|
6
6
|
icon?: ReactNode;
|
|
7
|
+
allCaps?: boolean;
|
|
7
8
|
}
|
|
8
|
-
declare const Tag: ({ status, icon, label }: ITag) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare const Tag: ({ status, icon, label, allCaps }: ITag) => import("react/jsx-runtime").JSX.Element;
|
|
9
10
|
export default Tag;
|
|
@@ -324,3 +324,7 @@ export { default as PersonBookIcon } from "./PersonBookIcon";
|
|
|
324
324
|
export { default as PersonBookFilledIcon } from "./PersonBookFilledIcon";
|
|
325
325
|
export { default as CourseIcon } from "./CourseIcon";
|
|
326
326
|
export { default as CourseFilledIcon } from "./CourseFilledIcon";
|
|
327
|
+
export { default as PersonFilledIcon } from "./PersonFilledIcon";
|
|
328
|
+
export { default as IdCardIcon } from "./IdCardIcon";
|
|
329
|
+
export { default as ApartmentIcon } from "./ApartmentIcon";
|
|
330
|
+
export { default as HourGlassTopIcon } from "./HourGlassTopIcon";
|
|
@@ -12,3 +12,4 @@ export declare const TileWithSubtext: Story;
|
|
|
12
12
|
export declare const TileWithLeadingRadioIconAndSubtext: Story;
|
|
13
13
|
export declare const TileWithLeadingRadioBorderIconAndSubtext: Story;
|
|
14
14
|
export declare const TileWithBottomComponent: Story;
|
|
15
|
+
export declare const TileWithImageAndCheckbox: Story;
|
|
@@ -324,5 +324,9 @@ declare const IconsObject: {
|
|
|
324
324
|
PersonBookFilledIcon: (props: import("@chakra-ui/icon/dist/icon").IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
325
325
|
CourseIcon: (props: import("@chakra-ui/icon/dist/icon").IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
326
326
|
CourseFilledIcon: (props: import("@chakra-ui/icon/dist/icon").IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
327
|
+
ApartmentIcon: (props: import("@chakra-ui/icon/dist/icon").IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
328
|
+
IdCardIcon: (props: import("@chakra-ui/icon/dist/icon").IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
329
|
+
PersonFilledIcon: (props: import("@chakra-ui/icon/dist/icon").IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
330
|
+
HourGlassTopIcon: (props: import("@chakra-ui/icon/dist/icon").IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
327
331
|
};
|
|
328
332
|
export default IconsObject;
|