@homefile/components-v2 2.25.1 → 2.25.3

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.
@@ -7,7 +7,7 @@ export declare const dynamicTilesMock: ({
7
7
  partnerName: string;
8
8
  websiteUrl: string;
9
9
  form: never[];
10
- onClick: import("@storybook/addon-actions").HandlerFunction;
10
+ onClick: () => void;
11
11
  socialLinks: {
12
12
  name: string;
13
13
  link: string;
@@ -15,7 +15,7 @@ export declare const dynamicTilesMock: ({
15
15
  _id: string;
16
16
  menuItems: {
17
17
  label: string;
18
- handleClick: import("@storybook/addon-actions").HandlerFunction;
18
+ handleClick: () => void;
19
19
  }[];
20
20
  imageUrl?: undefined;
21
21
  type?: undefined;
@@ -24,14 +24,14 @@ export declare const dynamicTilesMock: ({
24
24
  description: string;
25
25
  logo: string;
26
26
  partnerName: string;
27
- onClick: import("@storybook/addon-actions").HandlerFunction;
27
+ onClick: () => void;
28
28
  websiteUrl: string;
29
29
  imageUrl: string;
30
30
  socialLinks: never[];
31
31
  _id: string;
32
32
  menuItems: {
33
33
  label: string;
34
- handleClick: import("@storybook/addon-actions").HandlerFunction;
34
+ handleClick: () => void;
35
35
  }[];
36
36
  type: string;
37
37
  form: ({
@@ -173,7 +173,7 @@ export declare const dynamicTilesMock: ({
173
173
  _id: string;
174
174
  menuItems: {
175
175
  label: string;
176
- handleClick: import("@storybook/addon-actions").HandlerFunction;
176
+ handleClick: () => void;
177
177
  }[];
178
178
  type: string;
179
179
  form: ({
@@ -317,7 +317,7 @@ export declare const dynamicTilesMock: ({
317
317
  websiteUrl: string;
318
318
  imageUrl: string;
319
319
  form: never[];
320
- onClick: import("@storybook/addon-actions").HandlerFunction;
320
+ onClick: () => void;
321
321
  socialLinks: {
322
322
  name: string;
323
323
  link: string;
@@ -325,7 +325,7 @@ export declare const dynamicTilesMock: ({
325
325
  _id: string;
326
326
  menuItems: {
327
327
  label: string;
328
- handleClick: import("@storybook/addon-actions").HandlerFunction;
328
+ handleClick: () => void;
329
329
  }[];
330
330
  type?: undefined;
331
331
  })[];
@@ -1,4 +1,3 @@
1
- import { action } from '@storybook/addon-actions';
2
1
  export const dynamicTileFormMock = [
3
2
  {
4
3
  id: 'stile1p',
@@ -72,7 +71,7 @@ export const dynamicTilesMock = [
72
71
  partnerName: '2B Organized',
73
72
  websiteUrl: 'https://2b-organized.com/',
74
73
  form: [],
75
- onClick: action('Tile Clicked'),
74
+ onClick: () => { },
76
75
  socialLinks: [
77
76
  {
78
77
  name: 'instagram',
@@ -83,7 +82,7 @@ export const dynamicTilesMock = [
83
82
  menuItems: [
84
83
  {
85
84
  label: 'Remove Tile',
86
- handleClick: action('Remove Tile Clicked'),
85
+ handleClick: () => { },
87
86
  },
88
87
  ],
89
88
  },
@@ -92,7 +91,7 @@ export const dynamicTilesMock = [
92
91
  description: 'Sam created this partner to test.',
93
92
  logo: 'https://storage.googleapis.com/homefile-images/hf_test_partner_logo.png',
94
93
  partnerName: 'Test Partner Sam',
95
- onClick: action('Tile Clicked'),
94
+ onClick: () => { },
96
95
  websiteUrl: '',
97
96
  imageUrl: 'https://storage.googleapis.com/homefile-images/tview.jpeg',
98
97
  socialLinks: [],
@@ -100,7 +99,7 @@ export const dynamicTilesMock = [
100
99
  menuItems: [
101
100
  {
102
101
  label: 'Remove Tile',
103
- handleClick: action('Remove Tile Clicked'),
102
+ handleClick: () => { },
104
103
  },
105
104
  ],
106
105
  type: 'dynamic-tile-form',
@@ -369,7 +368,7 @@ export const dynamicTilesMock = [
369
368
  menuItems: [
370
369
  {
371
370
  label: 'Remove Tile',
372
- handleClick: action('Remove Tile Clicked'),
371
+ handleClick: () => { },
373
372
  },
374
373
  ],
375
374
  type: 'dynamic-tile-form',
@@ -645,7 +644,7 @@ export const dynamicTilesMock = [
645
644
  websiteUrl: 'https://2b-organized.com/',
646
645
  imageUrl: 'https://storage.googleapis.com/homefile-images/2b-main.JPG',
647
646
  form: [],
648
- onClick: action('Tile Clicked'),
647
+ onClick: () => { },
649
648
  socialLinks: [
650
649
  {
651
650
  name: 'instagram',
@@ -656,7 +655,7 @@ export const dynamicTilesMock = [
656
655
  menuItems: [
657
656
  {
658
657
  label: 'Remove Tile',
659
- handleClick: action('Remove Tile Clicked'),
658
+ handleClick: () => { },
660
659
  },
661
660
  ],
662
661
  },
@@ -665,7 +664,7 @@ export const dynamicTilesMock = [
665
664
  description: 'Sam created this partner to test.',
666
665
  logo: 'https://storage.googleapis.com/homefile-images/hf_test_partner_logo.png',
667
666
  partnerName: 'Test Partner Sam',
668
- onClick: action('Tile Clicked'),
667
+ onClick: () => { },
669
668
  websiteUrl: '',
670
669
  imageUrl: 'https://storage.googleapis.com/homefile-images/tview.jpeg',
671
670
  socialLinks: [],
@@ -673,7 +672,7 @@ export const dynamicTilesMock = [
673
672
  menuItems: [
674
673
  {
675
674
  label: 'Remove Tile',
676
- handleClick: action('Remove Tile Clicked'),
675
+ handleClick: () => { },
677
676
  },
678
677
  ],
679
678
  type: 'dynamic-tile-form',
@@ -942,7 +941,7 @@ export const dynamicTilesMock = [
942
941
  menuItems: [
943
942
  {
944
943
  label: 'Remove Tile',
945
- handleClick: action('Remove Tile Clicked'),
944
+ handleClick: () => { },
946
945
  },
947
946
  ],
948
947
  type: 'dynamic-tile-form',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@homefile/components-v2",
3
- "version": "2.25.1",
3
+ "version": "2.25.3",
4
4
  "author": "Homefile",
5
5
  "license": "UNLICENSED",
6
6
  "typings": "dist/index.d.ts",
@@ -1,5 +1,4 @@
1
1
  import { ReportI } from '@/interfaces'
2
- import { action } from '@storybook/addon-actions'
3
2
 
4
3
  export const dynamicTileFormMock: ReportI[] = [
5
4
  {
@@ -77,7 +76,7 @@ export const dynamicTilesMock = [
77
76
  partnerName: '2B Organized',
78
77
  websiteUrl: 'https://2b-organized.com/',
79
78
  form: [],
80
- onClick: action('Tile Clicked'),
79
+ onClick: () => {},
81
80
  socialLinks: [
82
81
  {
83
82
  name: 'instagram',
@@ -88,7 +87,7 @@ export const dynamicTilesMock = [
88
87
  menuItems: [
89
88
  {
90
89
  label: 'Remove Tile',
91
- handleClick: action('Remove Tile Clicked'),
90
+ handleClick: () => {},
92
91
  },
93
92
  ],
94
93
  },
@@ -97,7 +96,7 @@ export const dynamicTilesMock = [
97
96
  description: 'Sam created this partner to test.',
98
97
  logo: 'https://storage.googleapis.com/homefile-images/hf_test_partner_logo.png',
99
98
  partnerName: 'Test Partner Sam',
100
- onClick: action('Tile Clicked'),
99
+ onClick: () => {},
101
100
  websiteUrl: '',
102
101
  imageUrl: 'https://storage.googleapis.com/homefile-images/tview.jpeg',
103
102
  socialLinks: [],
@@ -105,7 +104,7 @@ export const dynamicTilesMock = [
105
104
  menuItems: [
106
105
  {
107
106
  label: 'Remove Tile',
108
- handleClick: action('Remove Tile Clicked'),
107
+ handleClick: () => {},
109
108
  },
110
109
  ],
111
110
  type: 'dynamic-tile-form',
@@ -376,7 +375,7 @@ export const dynamicTilesMock = [
376
375
  menuItems: [
377
376
  {
378
377
  label: 'Remove Tile',
379
- handleClick: action('Remove Tile Clicked'),
378
+ handleClick: () => {},
380
379
  },
381
380
  ],
382
381
  type: 'dynamic-tile-form',
@@ -653,7 +652,7 @@ export const dynamicTilesMock = [
653
652
  websiteUrl: 'https://2b-organized.com/',
654
653
  imageUrl: 'https://storage.googleapis.com/homefile-images/2b-main.JPG',
655
654
  form: [],
656
- onClick: action('Tile Clicked'),
655
+ onClick: () => {},
657
656
  socialLinks: [
658
657
  {
659
658
  name: 'instagram',
@@ -664,7 +663,7 @@ export const dynamicTilesMock = [
664
663
  menuItems: [
665
664
  {
666
665
  label: 'Remove Tile',
667
- handleClick: action('Remove Tile Clicked'),
666
+ handleClick: () => {},
668
667
  },
669
668
  ],
670
669
  },
@@ -673,7 +672,7 @@ export const dynamicTilesMock = [
673
672
  description: 'Sam created this partner to test.',
674
673
  logo: 'https://storage.googleapis.com/homefile-images/hf_test_partner_logo.png',
675
674
  partnerName: 'Test Partner Sam',
676
- onClick: action('Tile Clicked'),
675
+ onClick: () => {},
677
676
  websiteUrl: '',
678
677
  imageUrl: 'https://storage.googleapis.com/homefile-images/tview.jpeg',
679
678
  socialLinks: [],
@@ -681,7 +680,7 @@ export const dynamicTilesMock = [
681
680
  menuItems: [
682
681
  {
683
682
  label: 'Remove Tile',
684
- handleClick: action('Remove Tile Clicked'),
683
+ handleClick: () => {},
685
684
  },
686
685
  ],
687
686
  type: 'dynamic-tile-form',
@@ -952,7 +951,7 @@ export const dynamicTilesMock = [
952
951
  menuItems: [
953
952
  {
954
953
  label: 'Remove Tile',
955
- handleClick: action('Remove Tile Clicked'),
954
+ handleClick: () => {},
956
955
  },
957
956
  ],
958
957
  type: 'dynamic-tile-form',
@@ -6,7 +6,6 @@ import {
6
6
  } from '@/components'
7
7
  import { DynamicFormI, ShortPartnerTileI } from '@/interfaces'
8
8
  import { dynamicTilesMock } from '@/mocks'
9
- import { Box } from '@chakra-ui/react'
10
9
 
11
10
  export default {
12
11
  title: 'Components/Partner',