akku-kit 1.0.0-alpha.9 → 1.0.1-alpha.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/dist/assets/svg/TickIcon.d.ts +9 -0
- package/dist/assets/svg/TickIcon.tsx +16 -0
- package/dist/components/Form/MultiSelect/MultiSelect.d.ts +1 -0
- package/dist/components/Form/MultiSelect/MultiSelect.types.d.ts +3 -0
- package/dist/components/Typography/Text/Text.d.ts +1 -0
- package/dist/components/Typography/Text/Text.types.d.ts +3 -2
- package/dist/index.cjs.js +6 -6
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.esm.js +6 -6
- package/dist/index.esm.js.map +1 -1
- package/dist/styles/index.css +7 -1
- package/package.json +1 -1
@@ -0,0 +1,16 @@
|
|
1
|
+
interface TickIconProps {
|
2
|
+
size?: number;
|
3
|
+
color?: string;
|
4
|
+
strokeWidth?: number;
|
5
|
+
className?: string;
|
6
|
+
}
|
7
|
+
|
8
|
+
const TickIcon: React.FC<TickIconProps> = ({ size = 24, color = "white", strokeWidth = 2, className = "" }) => {
|
9
|
+
return (
|
10
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">
|
11
|
+
<path d="M16.6663 5L7.49967 14.1667L3.33301 10" stroke="#7F56D9" strokeWidth="1.66667" strokeLinecap="round" strokeLinejoin="round" />
|
12
|
+
</svg>
|
13
|
+
);
|
14
|
+
};
|
15
|
+
|
16
|
+
export default TickIcon;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
export type TextColor = "primary" | "secondary" | "tertiary" | "brand-600" | "brand-700" | "success" | "white" | "placeholder" | "danger";
|
2
|
+
export type TextColor = "primary" | "secondary" | "tertiary" | "brand-600" | "brand-700" | "success" | "white" | "placeholder" | "danger" | (string);
|
3
3
|
export type TextAlign = "left" | "center" | "right";
|
4
|
-
export type TextVariant = "xs-medium" | "sm-regular" | "sm-medium" | "sm-semibold" | "md-regular" | "md-semibold" | "lg-semibold" | "lg-regular" | "lg-bold" | "xs-semibold" | "xl-semibold" | "xs-regular";
|
4
|
+
export type TextVariant = "xs-medium" | "sm-regular" | "sm-medium" | "sm-semibold" | "md-regular" | "md-semibold" | "lg-semibold" | "lg-regular" | "lg-bold" | "xs-semibold" | "xl-semibold" | "xs-regular" | (string);
|
5
5
|
export interface TextProps extends React.HTMLAttributes<HTMLElement> {
|
6
6
|
variant?: TextVariant;
|
7
7
|
color?: TextColor;
|
@@ -10,4 +10,5 @@ export interface TextProps extends React.HTMLAttributes<HTMLElement> {
|
|
10
10
|
className?: string;
|
11
11
|
children: React.ReactNode;
|
12
12
|
as?: React.ElementType;
|
13
|
+
lines?: number;
|
13
14
|
}
|