@rte-ds/core 1.3.11 → 1.3.12
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,4 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M3.33333 12.6667H9.33333V10C9.33333 9.81111 9.39722 9.65278 9.525 9.525C9.65278 9.39722 9.81111 9.33333 10 9.33333H12.6667V3.33333H3.33333V12.6667ZM3.33333 14C2.96667 14 2.65278 13.8694 2.39167 13.6083C2.13056 13.3472 2 13.0333 2 12.6667V3.33333C2 2.96667 2.13056 2.65278 2.39167 2.39167C2.65278 2.13056 2.96667 2 3.33333 2H12.6667C13.0333 2 13.3472 2.13056 13.6083 2.39167C13.8694 2.65278 14 2.96667 14 3.33333V9.45C14 9.62778 13.9667 9.79722 13.9 9.95833C13.8333 10.1194 13.7389 10.2611 13.6167 10.3833L10.3833 13.6167C10.2611 13.7389 10.1194 13.8333 9.95833 13.9C9.79722 13.9667 9.62778 14 9.45 14H3.33333Z" fill="currentColor"/>
|
|
3
|
+
<path d="M7.0666 8.93335L5.63327 7.50001C5.51105 7.37779 5.35549 7.31668 5.1666 7.31668C4.97771 7.31668 4.82216 7.37779 4.69993 7.50001C4.57771 7.62223 4.5166 7.77779 4.5166 7.96668C4.5166 8.15557 4.57771 8.31112 4.69993 8.43335L6.59993 10.3333C6.73327 10.4667 6.88882 10.5333 7.0666 10.5333C7.24438 10.5333 7.39993 10.4667 7.53327 10.3333L11.2999 6.56668C11.4222 6.44446 11.4833 6.2889 11.4833 6.10001C11.4833 5.91112 11.4222 5.75557 11.2999 5.63335C11.1777 5.51112 11.0222 5.45001 10.8333 5.45001C10.6444 5.45001 10.4888 5.51112 10.3666 5.63335L7.0666 8.93335Z" fill="currentColor"/>
|
|
4
|
+
</svg>
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
type ChipType = "single" | "multi" | "input";
|
|
2
|
+
type ChipSize = "s" | "m";
|
|
2
3
|
|
|
3
4
|
export interface ChipProps {
|
|
4
5
|
id: string;
|
|
@@ -8,5 +9,9 @@ export interface ChipProps {
|
|
|
8
9
|
onClose?: (event: MouseEvent | KeyboardEvent) => void;
|
|
9
10
|
disabled?: boolean;
|
|
10
11
|
type?: ChipType;
|
|
11
|
-
|
|
12
|
+
size?: ChipSize;
|
|
13
|
+
clickable?: boolean;
|
|
14
|
+
icon?: string;
|
|
15
|
+
textColor?: string;
|
|
16
|
+
backgroundColor?: string;
|
|
12
17
|
}
|