From 743bc88e1c0432c997b122b6e664dcb2d94d69ee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9=20=D0=9C=D0=B0?=
 =?UTF-8?q?=D0=BB=D1=8E=D0=B3=D0=B8=D0=BD?= <d.malygin@iqdev.digital>
Date: Sat, 18 Jan 2025 16:59:00 +0500
Subject: [PATCH] fix: little troubles

---
 package.json                             | 3 ---
 src/common/interfaces/componentsProps.ts | 4 ++--
 src/stories/components/Knob/Knob.vue     | 1 +
 src/stories/components/Table/Table.vue   | 4 +++-
 src/stories/icons/Mono/CrossIcon.vue     | 7 +++----
 5 files changed, 9 insertions(+), 10 deletions(-)

diff --git a/package.json b/package.json
index 6d95ea9..d29dba7 100644
--- a/package.json
+++ b/package.json
@@ -52,8 +52,5 @@
     "extends": [
       "plugin:storybook/recommended"
     ]
-  },
-  "volta": {
-    "node": "23.6.0"
   }
 }
diff --git a/src/common/interfaces/componentsProps.ts b/src/common/interfaces/componentsProps.ts
index 026ef57..ec87cbd 100644
--- a/src/common/interfaces/componentsProps.ts
+++ b/src/common/interfaces/componentsProps.ts
@@ -24,7 +24,6 @@ import type {
 
 export interface ITableProps {
   columns: ITableColumn[];
-  data: ITableItem[][];
   multipleSort?: boolean;
   gap?: string;
   size?: TSize;
@@ -195,7 +194,8 @@ export interface IButtonProps {
 
 export interface IRatingProps {
   count?: number;
-  icon?: TIcon;
+  size?: TSize;
+  gap?: string;
   theme?: TThemeColor;
   darknessTheme?: TDarkness;
 }
diff --git a/src/stories/components/Knob/Knob.vue b/src/stories/components/Knob/Knob.vue
index 2724d60..2067af9 100644
--- a/src/stories/components/Knob/Knob.vue
+++ b/src/stories/components/Knob/Knob.vue
@@ -151,6 +151,7 @@ const onPointerDown = ($event: MouseEvent) => {
   border-radius: 50%;
   background: v-bind(backgroundCircle);
   clip-path: polygon(0 0, 0 100%, 50% 50%, 50% 50%, 100% 100%, 100% 0);
+  cursor: pointer;
 }
 .selected {
   position: absolute;
diff --git a/src/stories/components/Table/Table.vue b/src/stories/components/Table/Table.vue
index a2c6756..43e754a 100644
--- a/src/stories/components/Table/Table.vue
+++ b/src/stories/components/Table/Table.vue
@@ -12,7 +12,9 @@ const props = withDefaults(defineProps<ITableProps>(), {
   darknessTheme: '500',
   fontSize: '16px',
 });
-const data = defineModel<ITableItem[][]>();
+const data = defineModel<ITableItem[][]>({
+  required: false,
+});
 
 const columns = ref(props.columns);
 const sortStateActive = ref<[number, string] | []>([]);
diff --git a/src/stories/icons/Mono/CrossIcon.vue b/src/stories/icons/Mono/CrossIcon.vue
index 294696a..eb100f9 100644
--- a/src/stories/icons/Mono/CrossIcon.vue
+++ b/src/stories/icons/Mono/CrossIcon.vue
@@ -8,15 +8,14 @@ defineProps<Props>();
 
 <template>
   <svg
+    :fill="color ?? '#000000'"
     :width="`${size ?? 40}px`"
     :height="`${size ?? 40}px`"
-    viewBox="0 0 24 24"
-    fill="none"
+    viewBox="0 0 1024 1024"
     xmlns="http://www.w3.org/2000/svg"
   >
     <path
-      d="M6.99486 7.00636C6.60433 7.39689 6.60433 8.03005 6.99486 8.42058L10.58 12.0057L6.99486 15.5909C6.60433 15.9814 6.60433 16.6146 6.99486 17.0051C7.38538 17.3956 8.01855 17.3956 8.40907 17.0051L11.9942 13.4199L15.5794 17.0051C15.9699 17.3956 16.6031 17.3956 16.9936 17.0051C17.3841 16.6146 17.3841 15.9814 16.9936 15.5909L13.4084 12.0057L16.9936 8.42059C17.3841 8.03007 17.3841 7.3969 16.9936 7.00638C16.603 6.61585 15.9699 6.61585 15.5794 7.00638L11.9942 10.5915L8.40907 7.00636C8.01855 6.61584 7.38538 6.61584 6.99486 7.00636Z"
-      :fill="color ?? '#000000'"
+      d="M512.481 421.906L850.682 84.621c25.023-24.964 65.545-24.917 90.51.105s24.917 65.545-.105 90.51L603.03 512.377 940.94 850c25.003 24.984 25.017 65.507.033 90.51s-65.507 25.017-90.51.033L512.397 602.764 174.215 940.03c-25.023 24.964-65.545 24.917-90.51-.105s-24.917-65.545.105-90.51l338.038-337.122L84.14 174.872c-25.003-24.984-25.017-65.507-.033-90.51s65.507-25.017 90.51-.033L512.48 421.906z"
     />
   </svg>
 </template>
-- 
GitLab