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.
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ interface TickIconProps {
3
+ size?: number;
4
+ color?: string;
5
+ strokeWidth?: number;
6
+ className?: string;
7
+ }
8
+ declare const TickIcon: React.FC<TickIconProps>;
9
+ export default TickIcon;
@@ -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,4 +1,5 @@
1
1
  import React from "react";
2
2
  import { MultiSelectProps } from "./MultiSelect.types";
3
+ import "./MultiSelect.scss";
3
4
  declare const MultiSelect: React.FC<MultiSelectProps>;
4
5
  export default MultiSelect;
@@ -23,4 +23,7 @@ export interface MultiSelectProps {
23
23
  values: Record<string, any>;
24
24
  setFieldValue: (name: string, value: any) => void;
25
25
  };
26
+ showCheckbox?: boolean;
27
+ showLabel?: boolean;
28
+ allowSearch?: boolean;
26
29
  }
@@ -1,4 +1,5 @@
1
1
  import React from "react";
2
2
  import { TextProps } from "./Text.types";
3
+ import "./Text.scss";
3
4
  declare const Text: React.FC<TextProps>;
4
5
  export default Text;
@@ -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
  }