@cyber-harbour/ui 1.0.69 → 1.0.71

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/index.d.mts CHANGED
@@ -249,6 +249,8 @@ type Theme = {
249
249
  stroke: string;
250
250
  normalFill: string;
251
251
  hoverFill: string;
252
+ textColor: string;
253
+ spinnerColor: string;
252
254
  };
253
255
  grid: {
254
256
  dotColor: string;
@@ -1702,6 +1704,13 @@ interface GraphState {
1702
1704
  isDragging: boolean;
1703
1705
  width: number;
1704
1706
  height: number;
1707
+ /** Поточна анімація */
1708
+ animation: {
1709
+ id: number | null;
1710
+ buttonIndex: number | null;
1711
+ };
1712
+ /** Кут оберту спінера */
1713
+ spinnerAngle: number;
1705
1714
  }
1706
1715
  interface Graph2DProps {
1707
1716
  graphData: GraphData;
@@ -1718,6 +1727,8 @@ interface Graph2DProps {
1718
1727
  interface NodeButton {
1719
1728
  img: string;
1720
1729
  hoverImg: string;
1730
+ loading?: boolean;
1731
+ getCount?: (node: NodeObject) => number;
1721
1732
  onClick: (node: NodeObject) => void;
1722
1733
  }
1723
1734
  type GraphData<NodeType = {}, LinkType = {}> = {
package/dist/index.d.ts CHANGED
@@ -249,6 +249,8 @@ type Theme = {
249
249
  stroke: string;
250
250
  normalFill: string;
251
251
  hoverFill: string;
252
+ textColor: string;
253
+ spinnerColor: string;
252
254
  };
253
255
  grid: {
254
256
  dotColor: string;
@@ -1702,6 +1704,13 @@ interface GraphState {
1702
1704
  isDragging: boolean;
1703
1705
  width: number;
1704
1706
  height: number;
1707
+ /** Поточна анімація */
1708
+ animation: {
1709
+ id: number | null;
1710
+ buttonIndex: number | null;
1711
+ };
1712
+ /** Кут оберту спінера */
1713
+ spinnerAngle: number;
1705
1714
  }
1706
1715
  interface Graph2DProps {
1707
1716
  graphData: GraphData;
@@ -1718,6 +1727,8 @@ interface Graph2DProps {
1718
1727
  interface NodeButton {
1719
1728
  img: string;
1720
1729
  hoverImg: string;
1730
+ loading?: boolean;
1731
+ getCount?: (node: NodeObject) => number;
1721
1732
  onClick: (node: NodeObject) => void;
1722
1733
  }
1723
1734
  type GraphData<NodeType = {}, LinkType = {}> = {