@cyber-harbour/ui 1.0.24 → 1.0.26

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cyber-harbour/ui",
3
- "version": "1.0.24",
3
+ "version": "1.0.26",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",
@@ -27,6 +27,8 @@
27
27
  "license": "ISC",
28
28
  "description": "",
29
29
  "dependencies": {
30
+ "@types/d3-force": "^3.0.10",
31
+ "d3-force": "^3.0.0",
30
32
  "react-force-graph-2d": "^1.27.1",
31
33
  "react-tiny-popover": "^8.1.6",
32
34
  "styled-components": "^6.1.18"
@@ -6,8 +6,11 @@ interface InfoCircleIconProps extends SVGProps<SVGSVGElement> {
6
6
 
7
7
  export const CheckIcon = ({ fill = 'currentColor', ...props }: InfoCircleIconProps) => {
8
8
  return (
9
- <svg viewBox="0 0 16 12" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
10
- <path d="M14.4983 1L5.34428 11L1.18338 6.45455" stroke={fill} stroke-width="1.5" stroke-linejoin="round" />;
9
+ <svg viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
10
+ <path
11
+ d="M9.796 6.706c-3.438 3.638-4.457 4.698-4.481 4.671l-3.552-3.768c-0.026-0.028-0.193 0.115-0.792 0.678-0.418 0.394-0.759 0.727-0.759 0.739 0 0.011 1.010 1.091 2.245 2.396 2.080 2.2 2.258 2.381 2.425 2.462 0.32 0.158 0.729 0.142 1.015-0.038 0.149-0.094-0.051 0.115 5.257-5.502l4.634-4.902-0.752-0.715c-0.233-0.223-0.484-0.458-0.738-0.691l-0.034-0.030c-1.295 1.344-2.752 2.874-4.201 4.413l-0.268 0.287z"
12
+ fill={fill}
13
+ ></path>
11
14
  </svg>
12
15
  );
13
16
  };
@@ -0,0 +1,16 @@
1
+ import { SVGProps } from 'react';
2
+
3
+ interface DataSetsIconProps extends SVGProps<SVGSVGElement> {
4
+ fill?: string;
5
+ }
6
+
7
+ export const CrossIcon = ({ fill = 'currentColor', ...props }: DataSetsIconProps) => {
8
+ return (
9
+ <svg viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
10
+ <path
11
+ d="M15.595 13.176c0.282 0.282 0.376 0.565 0.376 0.941s-0.188 0.753-0.376 0.941c-0.471 0.565-1.412 0.565-1.882 0l-5.176-5.176-5.176 5.176c-0.471 0.471-1.412 0.471-1.882 0s-0.376-0.565-0.376-0.941c0-0.376 0.188-0.659 0.376-0.941l5.176-5.176-0.376-0.376-4.988-4.8c-0.282-0.282-0.376-0.565-0.376-0.941s0.188-0.753 0.376-1.035c0.282-0.282 0.659-0.376 0.941-0.376s0.659 0.094 0.941 0.376l5.176 5.176 0.376-0.376 4.894-4.8c0.282-0.282 0.659-0.376 0.941-0.376s0.659 0.094 0.941 0.376c0.282 0.282 0.376 0.565 0.376 0.941s-0.188 0.753-0.376 0.941l-5.176 5.176 5.271 5.271z"
12
+ fill={fill}
13
+ ></path>
14
+ </svg>
15
+ );
16
+ };
@@ -0,0 +1,20 @@
1
+ import { SVGProps } from 'react';
2
+
3
+ interface DataSetsIconProps extends SVGProps<SVGSVGElement> {
4
+ fill?: string;
5
+ }
6
+
7
+ export const UnfoldIcon = ({ fill = 'currentColor', ...props }: DataSetsIconProps) => {
8
+ return (
9
+ <svg viewBox="0 0 15 16" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
10
+ <path
11
+ d="M3.765 3.97l3.109-3.219c0.362-0.375 0.949-0.375 1.311 0l3.109 3.219-0.983 1.018-2.781-2.879-2.781 2.879-0.983-1.018z"
12
+ fill={fill}
13
+ ></path>
14
+ <path
15
+ d="M11.294 12.029l-3.109 3.219c-0.362 0.375-0.949 0.375-1.311 0l-3.109-3.219 0.983-1.018 2.781 2.879 2.781-2.879 0.983 1.018z"
16
+ fill={fill}
17
+ ></path>
18
+ </svg>
19
+ );
20
+ };
@@ -39,3 +39,5 @@ export { ChevronUpIcon } from './ChevronUp';
39
39
  export { PlusIcon } from './Plus';
40
40
  export { UsersIcon } from './Users';
41
41
  export { InfoCircleFilledIcon } from './InfoCircleFilled';
42
+ export { UnfoldIcon } from './Unfold';
43
+ export { CrossIcon } from './Cross';