@homefile/components-v2 2.6.0 → 2.6.1

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.
Files changed (53) hide show
  1. package/dist/stories/appBar/UserProfile.stories.js +1 -1
  2. package/dist/stories/badge/NewBadge.stories.js +1 -1
  3. package/dist/stories/folderPanel/folderDetails/FilesUploader.stories.js +1 -1
  4. package/dist/stories/homeBoard/Files.stories.js +2 -2
  5. package/dist/stories/icons/CustomIcon.stories.js +1 -1
  6. package/dist/stories/myProfile/payment/NewCreditCard/NewCreditCard.stories.js +1 -1
  7. package/dist/stories/overlay/index.stories.js +1 -1
  8. package/dist/stories/partner/ShortPartnerTile.stories.js +2 -2
  9. package/dist/stories/receipts/displayReceipts/ItemReceipt.stories.js +1 -1
  10. package/dist/stories/receipts/displayReceipts/itemReceipts.stories.js +1 -1
  11. package/dist/stories/receipts/receipt/ReceiptFilters.stories.js +1 -1
  12. package/dist/stories/sendDocument/DocumentNameHeader.stories.js +1 -1
  13. package/dist/stories/sendDocument/InputOrText.stories.js +1 -1
  14. package/dist/stories/sendDocument/RecipientForm.stories.js +1 -1
  15. package/dist/stories/sendDocument/SendCommunication.stories.js +1 -1
  16. package/dist/stories/subscription/HomesDropdown.stories.js +1 -1
  17. package/package.json +14 -16
  18. package/src/stories/addItemWizard/flows/FlowCard.stories.tsx +1 -1
  19. package/src/stories/addItemWizard/flows/FlowStep.stories.tsx +1 -2
  20. package/src/stories/addItemWizard/mediaDetails/MediaDetailsStep.stories.tsx +2 -2
  21. package/src/stories/addItemWizard/wellDone/WellDone.stories.tsx +1 -3
  22. package/src/stories/appBar/HomefileLogo.stories.tsx +1 -3
  23. package/src/stories/appBar/StorageUsed.stories.tsx +1 -3
  24. package/src/stories/appBar/TourButton.stories.tsx +1 -2
  25. package/src/stories/appBar/TutorialsButton.stories.tsx +1 -2
  26. package/src/stories/appBar/UserProfile.stories.tsx +2 -4
  27. package/src/stories/badge/LetterBadge.stories.tsx +1 -1
  28. package/src/stories/badge/NewBadge.stories.tsx +2 -2
  29. package/src/stories/badge/NumberBadge.stories.tsx +1 -1
  30. package/src/stories/badge/TextBadge.stories.tsx +1 -1
  31. package/src/stories/folderPanel/folderDetails/DisplayOptions.stories.tsx +1 -2
  32. package/src/stories/folderPanel/folderDetails/FilesUploader.stories.tsx +9 -7
  33. package/src/stories/folderPanel/folderDetails/FolderDetailBody.stories.tsx +3 -2
  34. package/src/stories/folderPanel/folderDetails/FolderDetailPanel.stories.tsx +3 -2
  35. package/src/stories/homeBoard/DetailsTab.stories.tsx +1 -2
  36. package/src/stories/homeBoard/Files.stories.tsx +4 -4
  37. package/src/stories/homeSummary/UpdateList.stories.tsx +1 -1
  38. package/src/stories/icons/CustomIcon.stories.tsx +1 -1
  39. package/src/stories/inboxTile/MessagePanel.stories.tsx +3 -2
  40. package/src/stories/myProfile/payment/NewCreditCard/NewCreditCard.stories.tsx +1 -1
  41. package/src/stories/overlay/index.stories.tsx +1 -1
  42. package/src/stories/partner/ShortPartnerTile.stories.tsx +6 -2
  43. package/src/stories/partner/formTile/images/PartnerHero.stories.tsx +0 -1
  44. package/src/stories/partner/formTile/images/PartnerImages.stories.tsx +0 -1
  45. package/src/stories/receipts/displayReceipts/ItemReceipt.stories.tsx +1 -1
  46. package/src/stories/receipts/displayReceipts/itemReceipts.stories.tsx +1 -1
  47. package/src/stories/receipts/receipt/ReceiptFilters.stories.tsx +1 -1
  48. package/src/stories/rooms/RoomsMenuMobile.stories.tsx +1 -1
  49. package/src/stories/sendDocument/DocumentNameHeader.stories.tsx +1 -1
  50. package/src/stories/sendDocument/InputOrText.stories.tsx +1 -1
  51. package/src/stories/sendDocument/RecipientForm.stories.tsx +1 -1
  52. package/src/stories/sendDocument/SendCommunication.stories.tsx +1 -1
  53. package/src/stories/subscription/HomesDropdown.stories.tsx +1 -1
@@ -9,7 +9,7 @@ export default {
9
9
  firstName: 'John',
10
10
  userName: 'John Doe',
11
11
  avatarUrl: '',
12
- menuItems: menuMock
12
+ menuItems: menuMock,
13
13
  },
14
14
  };
15
15
  export const UserProfileComponent = (args) => (_jsx(Box, { p: "base", bg: "white", w: "fit-content", children: _jsx(UserProfile, Object.assign({}, args)) }));
@@ -10,5 +10,5 @@ export const NewBadgeComponent = (args) => {
10
10
  };
11
11
  NewBadgeComponent.args = {
12
12
  bg: 'white',
13
- color: 'black'
13
+ color: 'black',
14
14
  };
@@ -18,7 +18,7 @@ FilesUploaderWithoutFiles.args = {
18
18
  totalShowing: 0,
19
19
  initialHeight: '100%',
20
20
  };
21
- export const FilesUploaderWithFiles = (args) => _jsx(FilesUploader, Object.assign({}, args));
21
+ export const FilesUploaderWithFiles = (args) => (_jsx(FilesUploader, Object.assign({}, args)));
22
22
  FilesUploaderWithFiles.args = {
23
23
  totalFiles: 2,
24
24
  totalShowing: 2,
@@ -10,6 +10,6 @@ export const FilesComponent = (args) => {
10
10
  return (_jsx(Flex, { gap: "base", p: "base", bg: "white", children: _jsx(Files, Object.assign({}, args)) }));
11
11
  };
12
12
  FilesComponent.args = {
13
- panelSize: "md",
14
- files: fileDB
13
+ panelSize: 'md',
14
+ files: fileDB,
15
15
  };
@@ -10,5 +10,5 @@ export const CustomIconComponent = (args) => {
10
10
  };
11
11
  CustomIconComponent.args = {
12
12
  type: Close,
13
- size: 8
13
+ size: 8,
14
14
  };
@@ -6,5 +6,5 @@ export default {
6
6
  component: NewCreditCard,
7
7
  };
8
8
  export const NewCreditCardComponent = (props) => {
9
- return (_jsx(Box, { w: ['full', 'md'], p: ["0", "base"], bg: "lightBlue.1", children: _jsx(NewCreditCard, Object.assign({}, props)) }));
9
+ return (_jsx(Box, { w: ['full', 'md'], p: ['0', 'base'], bg: "lightBlue.1", children: _jsx(NewCreditCard, Object.assign({}, props)) }));
10
10
  };
@@ -6,7 +6,7 @@ export default {
6
6
  component: Overlay,
7
7
  };
8
8
  export const OverlayComponent = (args) => {
9
- return (_jsxs(Center, { w: ["full", "500px"], h: "10rem", bg: "lightBlue.4", children: [_jsx(Overlay, Object.assign({ position: "absolute", w: "inherit", h: "inherit" }, args)), _jsx(Text, { children: "Component behind overlay" })] }));
9
+ return (_jsxs(Center, { w: ['full', '500px'], h: "10rem", bg: "lightBlue.4", children: [_jsx(Overlay, Object.assign({ position: "absolute", w: "inherit", h: "inherit" }, args)), _jsx(Text, { children: "Component behind overlay" })] }));
10
10
  };
11
11
  OverlayComponent.args = {
12
12
  showOverlay: true,
@@ -15,7 +15,7 @@ export default {
15
15
  partnerName: 'Audrey Scheck',
16
16
  socialLinks: socialLinksMock,
17
17
  websiteUrl: 'http://www.audreyscheckdesign.com',
18
- _id: "1"
18
+ _id: '1',
19
19
  },
20
20
  argTypes: {
21
21
  menuItems: {
@@ -24,5 +24,5 @@ export default {
24
24
  },
25
25
  };
26
26
  export const ShortPartnerTileComponent = (args) => {
27
- return _jsx(Flex, { maxW: '380px', children: _jsx(ShortPartnerTile, Object.assign({}, args)) });
27
+ return (_jsx(Flex, { maxW: '380px', children: _jsx(ShortPartnerTile, Object.assign({}, args)) }));
28
28
  };
@@ -7,6 +7,6 @@ export default {
7
7
  component: ItemReceipt,
8
8
  };
9
9
  export const ItemReceiptComponent = (args) => {
10
- return (_jsx(Box, { p: ["0", "1rem"], w: ['full', '500px'], children: _jsx(ItemReceipt, Object.assign({}, args)) }));
10
+ return (_jsx(Box, { p: ['0', '1rem'], w: ['full', '500px'], children: _jsx(ItemReceipt, Object.assign({}, args)) }));
11
11
  };
12
12
  ItemReceiptComponent.args = Object.assign({ menuItems: [menuMock[0]] }, receiptsReceivedMock[0]);
@@ -7,7 +7,7 @@ export default {
7
7
  component: ItemReceipts,
8
8
  };
9
9
  export const ItemReceiptsComponent = (args) => {
10
- return (_jsx(Wrap, { p: ["0", "1rem"], w: ["100%", "500px"], children: _jsx(ItemReceipts, Object.assign({}, args)) }));
10
+ return (_jsx(Wrap, { p: ['0', '1rem'], w: ['100%', '500px'], children: _jsx(ItemReceipts, Object.assign({}, args)) }));
11
11
  };
12
12
  ItemReceiptsComponent.args = {
13
13
  menuItems: [menuMock[0]],
@@ -6,7 +6,7 @@ export default {
6
6
  component: ReceiptFilters,
7
7
  };
8
8
  export const ReceiptFiltersComponent = (args) => {
9
- return (_jsx(Box, { p: ["0", "base"], bg: "white", w: ['full', 'fit-content'], children: _jsx(ReceiptFilters, Object.assign({}, args)) }));
9
+ return (_jsx(Box, { p: ['0', 'base'], bg: "white", w: ['full', 'fit-content'], children: _jsx(ReceiptFilters, Object.assign({}, args)) }));
10
10
  };
11
11
  ReceiptFiltersComponent.args = {
12
12
  leftOptions: ['Last 30 days', 'Last 60 days', 'Last 90 days'],
@@ -6,7 +6,7 @@ export default {
6
6
  component: DocumentNameHeader,
7
7
  };
8
8
  export const DocumentNameHeaderComponent = (args) => {
9
- return (_jsx(Box, { w: ["full", "60%"], bg: "white", p: "base", children: _jsx(DocumentNameHeader, Object.assign({}, args)) }));
9
+ return (_jsx(Box, { w: ['full', '60%'], bg: "white", p: "base", children: _jsx(DocumentNameHeader, Object.assign({}, args)) }));
10
10
  };
11
11
  DocumentNameHeaderComponent.args = {
12
12
  value: 'Progress Report - Jan 12-16 2022',
@@ -6,7 +6,7 @@ export default {
6
6
  component: InputOrText,
7
7
  };
8
8
  export const InputOrTextComponent = (args) => {
9
- return (_jsx(Box, { w: ["full", "60%"], bg: "white", p: "base", children: _jsx(InputOrText, Object.assign({}, args)) }));
9
+ return (_jsx(Box, { w: ['full', '60%'], bg: "white", p: "base", children: _jsx(InputOrText, Object.assign({}, args)) }));
10
10
  };
11
11
  InputOrTextComponent.args = {
12
12
  value: 'Progress Report - Jan 12-16 2022',
@@ -6,5 +6,5 @@ export default {
6
6
  component: RecipientForm,
7
7
  };
8
8
  export const RecipientFormComponent = (args) => {
9
- return (_jsx(Flex, { justify: "flex-end", children: _jsx(Box, { w: ["full", "fit-content"], bg: "white", p: "base", children: _jsx(RecipientForm, Object.assign({}, args)) }) }));
9
+ return (_jsx(Flex, { justify: "flex-end", children: _jsx(Box, { w: ['full', 'fit-content'], bg: "white", p: "base", children: _jsx(RecipientForm, Object.assign({}, args)) }) }));
10
10
  };
@@ -7,7 +7,7 @@ export default {
7
7
  component: SendCommunication,
8
8
  };
9
9
  export const SendCommunicationComponent = (args) => {
10
- return (_jsx(Box, { w: ["full", "25rem"], children: _jsx(SendCommunication, Object.assign({}, args)) }));
10
+ return (_jsx(Box, { w: ['full', '25rem'], children: _jsx(SendCommunication, Object.assign({}, args)) }));
11
11
  };
12
12
  SendCommunicationComponent.args = {
13
13
  documentList: documents,
@@ -26,7 +26,7 @@ export default {
26
26
  totalStorage: 756,
27
27
  },
28
28
  decorators: [
29
- (Story) => (_jsx(Box, { w: ["full", "30rem"], bg: "lightBlue.1", children: _jsx(Story, {}) })),
29
+ (Story) => (_jsx(Box, { w: ['full', '30rem'], bg: "lightBlue.1", children: _jsx(Story, {}) })),
30
30
  ],
31
31
  };
32
32
  export const HomesDropdownComponent = (args) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@homefile/components-v2",
3
- "version": "2.6.0",
3
+ "version": "2.6.1",
4
4
  "author": "Homefile",
5
5
  "license": "UNLICENSED",
6
6
  "typings": "dist/index.d.ts",
@@ -23,20 +23,18 @@
23
23
  ],
24
24
  "devDependencies": {
25
25
  "@chakra-ui/storybook-addon": "^5.2.5",
26
- "@chromatic-com/storybook": "^2.0.2",
26
+ "@chromatic-com/storybook": "^3.2.2",
27
27
  "@faker-js/faker": "^9.0.3",
28
- "@storybook/addon-a11y": "^8.3.5",
29
- "@storybook/addon-essentials": "^8.3.5",
30
- "@storybook/addon-interactions": "^8.3.5",
31
- "@storybook/addon-links": "^8.3.5",
32
- "@storybook/addon-onboarding": "^8.3.5",
33
- "@storybook/addon-viewport": "^8.3.5",
34
- "@storybook/blocks": "^8.3.5",
35
- "@storybook/builder-vite": "^8.3.5",
36
- "@storybook/jest": "^0.2.3",
37
- "@storybook/react": "^8.3.5",
38
- "@storybook/react-vite": "^8.3.5",
39
- "@storybook/test": "^8.3.5",
28
+ "@storybook/addon-a11y": "^8.4.7",
29
+ "@storybook/addon-essentials": "^8.4.7",
30
+ "@storybook/addon-interactions": "^8.4.7",
31
+ "@storybook/addon-links": "^8.4.7",
32
+ "@storybook/addon-onboarding": "^8.4.7",
33
+ "@storybook/addon-viewport": "^8.4.7",
34
+ "@storybook/blocks": "^8.4.7",
35
+ "@storybook/react": "^8.4.7",
36
+ "@storybook/react-vite": "^8.4.7",
37
+ "@storybook/test": "^8.4.7",
40
38
  "@types/node": "^22.7.6",
41
39
  "@types/react": "^18.3.11",
42
40
  "@types/react-dom": "^18.3.1",
@@ -49,8 +47,8 @@
49
47
  "json-loader": "^0.5.7",
50
48
  "rimraf": "^6.0.1",
51
49
  "semantic-release": "^24.1.2",
52
- "storybook": "^8.3.5",
53
- "storybook-react-i18next": "^3.1.7",
50
+ "storybook": "^8.4.7",
51
+ "storybook-react-i18next": "^3.1.8",
54
52
  "tsconfig-replace-paths": "^0.0.14",
55
53
  "tscpaths": "^0.0.9",
56
54
  "typescript": "^5.6.3",
@@ -18,4 +18,4 @@ FlowCardComponent.args = {
18
18
  icon: WizardQuick,
19
19
  onClick: () => null,
20
20
  title: 'Title',
21
- }
21
+ }
@@ -1,4 +1,4 @@
1
- import { Meta, } from '@storybook/react'
1
+ import { Meta } from '@storybook/react'
2
2
  import { FlowStep } from '@/components'
3
3
  import { FlowStepI } from '@/interfaces'
4
4
 
@@ -10,4 +10,3 @@ export default {
10
10
  export const FlowStepComponent = (args: FlowStepI) => {
11
11
  return <FlowStep {...args} />
12
12
  }
13
-
@@ -1,4 +1,4 @@
1
- import { Meta, } from '@storybook/react'
1
+ import { Meta } from '@storybook/react'
2
2
  import { Box } from '@chakra-ui/react'
3
3
  import { AddItemContainer, RightPanel, MediaDetailsStep } from '@/components'
4
4
  import { images } from '@/helpers'
@@ -52,4 +52,4 @@ MediaDetailsStepWithImage.args = {
52
52
  currentStep: 1,
53
53
  totalSteps: 3,
54
54
  images,
55
- }
55
+ }
@@ -1,4 +1,4 @@
1
- import { Meta, } from '@storybook/react'
1
+ import { Meta } from '@storybook/react'
2
2
  import { AddItemContainer, RightPanel, WellDone } from '@/components'
3
3
 
4
4
  export default {
@@ -15,5 +15,3 @@ export const WellDoneComponent: typeof WellDone = (args) => {
15
15
  </RightPanel>
16
16
  )
17
17
  }
18
-
19
-
@@ -1,4 +1,4 @@
1
- import { Meta, } from '@storybook/react'
1
+ import { Meta } from '@storybook/react'
2
2
  import { HomefileLogo } from '@/components'
3
3
  import { Box } from '@chakra-ui/react'
4
4
  import { HomefileLogoI } from '@/interfaces'
@@ -13,5 +13,3 @@ export const HomefileLogoComponent = (args: HomefileLogoI) => (
13
13
  <HomefileLogo {...args} />
14
14
  </Box>
15
15
  )
16
-
17
-
@@ -1,4 +1,4 @@
1
- import { Meta, } from '@storybook/react'
1
+ import { Meta } from '@storybook/react'
2
2
  import { StorageUsed } from '@/components'
3
3
  import { Box } from '@chakra-ui/react'
4
4
  import { StorageUsedI } from '@/interfaces'
@@ -17,5 +17,3 @@ export const StorageUsedComponent = (args: StorageUsedI) => (
17
17
  <StorageUsed {...args} />
18
18
  </Box>
19
19
  )
20
-
21
-
@@ -1,4 +1,4 @@
1
- import { Meta, } from '@storybook/react'
1
+ import { Meta } from '@storybook/react'
2
2
  import { TourButton } from '@/components'
3
3
  import { Box } from '@chakra-ui/react'
4
4
  import { TourButtonI } from '@/interfaces'
@@ -16,4 +16,3 @@ export const TourButtonComponent = (args: TourButtonI) => (
16
16
  <TourButton {...args} />
17
17
  </Box>
18
18
  )
19
-
@@ -1,4 +1,4 @@
1
- import { Meta, } from '@storybook/react'
1
+ import { Meta } from '@storybook/react'
2
2
  import { TutorialsButton } from '@/components'
3
3
  import { Box } from '@chakra-ui/react'
4
4
  import { TutorialsButtonI } from '@/interfaces'
@@ -13,4 +13,3 @@ export const TutorialsButtonComponent = (args: TutorialsButtonI) => (
13
13
  <TutorialsButton {...args} />
14
14
  </Box>
15
15
  )
16
-
@@ -1,4 +1,4 @@
1
- import { Meta, } from '@storybook/react'
1
+ import { Meta } from '@storybook/react'
2
2
  import { UserProfile } from '@/components'
3
3
  import { Box } from '@chakra-ui/react'
4
4
  import { menuMock } from '@/mocks'
@@ -11,7 +11,7 @@ export default {
11
11
  firstName: 'John',
12
12
  userName: 'John Doe',
13
13
  avatarUrl: '',
14
- menuItems: menuMock
14
+ menuItems: menuMock,
15
15
  },
16
16
  } as Meta<UserProfileI>
17
17
 
@@ -20,5 +20,3 @@ export const UserProfileComponent = (args: UserProfileI) => (
20
20
  <UserProfile {...args} />
21
21
  </Box>
22
22
  )
23
-
24
-
@@ -1,4 +1,4 @@
1
- import { Meta, } from '@storybook/react'
1
+ import { Meta } from '@storybook/react'
2
2
  import { LetterBadge } from '@/components'
3
3
  import { Box } from '@chakra-ui/react'
4
4
  import { LetterBadgeI } from '@/interfaces'
@@ -1,4 +1,4 @@
1
- import { Meta, } from '@storybook/react'
1
+ import { Meta } from '@storybook/react'
2
2
  import { NewBadge } from '@/components'
3
3
  import { Box } from '@chakra-ui/react'
4
4
  import { NewBadgeI } from '@/interfaces'
@@ -18,5 +18,5 @@ export const NewBadgeComponent = (args: NewBadgeI) => {
18
18
 
19
19
  NewBadgeComponent.args = {
20
20
  bg: 'white',
21
- color: 'black'
21
+ color: 'black',
22
22
  }
@@ -1,4 +1,4 @@
1
- import { Meta, } from '@storybook/react'
1
+ import { Meta } from '@storybook/react'
2
2
  import { NumberBadge } from '@/components'
3
3
  import { Box } from '@chakra-ui/react'
4
4
  import { NumberBadgeI } from '@/interfaces'
@@ -1,4 +1,4 @@
1
- import { Meta, } from '@storybook/react'
1
+ import { Meta } from '@storybook/react'
2
2
  import { TextBadge } from '@/components'
3
3
  import { TextBadgeI } from '@/interfaces'
4
4
 
@@ -1,4 +1,4 @@
1
- import { Meta, } from '@storybook/react'
1
+ import { Meta } from '@storybook/react'
2
2
  import { Box } from '@chakra-ui/react'
3
3
  import { DisplayOptions } from '@/components'
4
4
  import { DisplayOptionsI } from '@/interfaces'
@@ -18,4 +18,3 @@ export const DisplayOptionsComponent = (args: DisplayOptionsI) => {
18
18
  </Box>
19
19
  )
20
20
  }
21
-
@@ -27,11 +27,13 @@ FilesUploaderWithoutFiles.args = {
27
27
  initialHeight: '100%',
28
28
  }
29
29
 
30
- export const FilesUploaderWithFiles = (args: FilesUploaderI) => <FilesUploader {...args} />
30
+ export const FilesUploaderWithFiles = (args: FilesUploaderI) => (
31
+ <FilesUploader {...args} />
32
+ )
31
33
 
32
- FilesUploaderWithFiles.args = {
33
- totalFiles: 2,
34
- totalShowing: 2,
35
- displayType: 'grid',
36
- onUpload: action('handleUpload'),
37
- }
34
+ FilesUploaderWithFiles.args = {
35
+ totalFiles: 2,
36
+ totalShowing: 2,
37
+ displayType: 'grid',
38
+ onUpload: action('handleUpload'),
39
+ }
@@ -36,8 +36,9 @@ export default {
36
36
  export const FolderDetailBodyComponent = (args: FolderDetailBodyI) => {
37
37
  const [showModal, setShowModal] = useState<boolean>(false)
38
38
 
39
- const [currentType, setCurrentType] =
40
- useState<'list' | 'grid' | 'item'>('grid')
39
+ const [currentType, setCurrentType] = useState<'list' | 'grid' | 'item'>(
40
+ 'grid'
41
+ )
41
42
 
42
43
  const handleCloseModal = () => setShowModal(false)
43
44
 
@@ -33,8 +33,9 @@ export const FolderDetailPanel = () => {
33
33
 
34
34
  const [showModal, setShowModal] = useState<boolean>(false)
35
35
 
36
- const [currentType, setCurrentType] =
37
- useState<'list' | 'grid' | 'item'>('grid')
36
+ const [currentType, setCurrentType] = useState<'list' | 'grid' | 'item'>(
37
+ 'grid'
38
+ )
38
39
 
39
40
  const handleCloseModal = () => setShowModal(false)
40
41
 
@@ -1,4 +1,4 @@
1
- import { Meta, } from '@storybook/react'
1
+ import { Meta } from '@storybook/react'
2
2
  import { Box } from '@chakra-ui/react'
3
3
  import { DetailsTab } from '@/components'
4
4
  import { DetailsTabI } from '@/interfaces'
@@ -15,4 +15,3 @@ export const DetailsTabComponent = (args: DetailsTabI) => {
15
15
  </Box>
16
16
  )
17
17
  }
18
-
@@ -1,4 +1,4 @@
1
- import { Meta, } from '@storybook/react'
1
+ import { Meta } from '@storybook/react'
2
2
  import { Flex } from '@chakra-ui/react'
3
3
  import { Files } from '@/components'
4
4
  import { fileDB } from '@/helpers'
@@ -18,6 +18,6 @@ export const FilesComponent = (args: FilesI) => {
18
18
  }
19
19
 
20
20
  FilesComponent.args = {
21
- panelSize: "md",
22
- files: fileDB
23
- }
21
+ panelSize: 'md',
22
+ files: fileDB,
23
+ }
@@ -1,4 +1,4 @@
1
- import { Meta, } from '@storybook/react'
1
+ import { Meta } from '@storybook/react'
2
2
  import { Box } from '@chakra-ui/react'
3
3
  import { UpdateList } from '@/components'
4
4
  import { UpdateListI } from '@/interfaces'
@@ -18,5 +18,5 @@ export const CustomIconComponent = (args: IconsI) => {
18
18
 
19
19
  CustomIconComponent.args = {
20
20
  type: Close,
21
- size: 8
21
+ size: 8,
22
22
  }
@@ -22,8 +22,9 @@ export default {
22
22
 
23
23
  export const MessagePanelComponent = (args: MessagePanelI) => {
24
24
  const [showMessageChat, setShowMessageChat] = useState(false)
25
- const [selectedMessage, setSelectedMessage] =
26
- useState<InboxMessageI | undefined>(undefined)
25
+ const [selectedMessage, setSelectedMessage] = useState<
26
+ InboxMessageI | undefined
27
+ >(undefined)
27
28
  const handleMessageChatToggle = () => setShowMessageChat(!showMessageChat)
28
29
  return (
29
30
  <Fragment>
@@ -10,7 +10,7 @@ export default {
10
10
 
11
11
  export const NewCreditCardComponent = (props: NewCreditCardI) => {
12
12
  return (
13
- <Box w={['full', 'md']} p={["0","base"]} bg="lightBlue.1">
13
+ <Box w={['full', 'md']} p={['0', 'base']} bg="lightBlue.1">
14
14
  <NewCreditCard {...props} />
15
15
  </Box>
16
16
  )
@@ -10,7 +10,7 @@ export default {
10
10
 
11
11
  export const OverlayComponent = (args: OverlayI) => {
12
12
  return (
13
- <Center w={["full", "500px"]} h="10rem" bg="lightBlue.4">
13
+ <Center w={['full', '500px']} h="10rem" bg="lightBlue.4">
14
14
  <Overlay position="absolute" w="inherit" h="inherit" {...args} />
15
15
  <Text>Component behind overlay</Text>
16
16
  </Center>
@@ -19,7 +19,7 @@ export default {
19
19
  partnerName: 'Audrey Scheck',
20
20
  socialLinks: socialLinksMock,
21
21
  websiteUrl: 'http://www.audreyscheckdesign.com',
22
- _id: "1"
22
+ _id: '1',
23
23
  },
24
24
  argTypes: {
25
25
  menuItems: {
@@ -29,5 +29,9 @@ export default {
29
29
  } as Meta
30
30
 
31
31
  export const ShortPartnerTileComponent = (args: ShortPartnerTileI) => {
32
- return <Flex maxW={'380px'}><ShortPartnerTile {...args} /></Flex>
32
+ return (
33
+ <Flex maxW={'380px'}>
34
+ <ShortPartnerTile {...args} />
35
+ </Flex>
36
+ )
33
37
  }
@@ -34,4 +34,3 @@ export const PartnerHeroComponent = (args: PartnerImageFormI) => {
34
34
  </Box>
35
35
  )
36
36
  }
37
-
@@ -40,4 +40,3 @@ export const PartnerImagesComponent = (args: PartnerImagesI) => {
40
40
  </Box>
41
41
  )
42
42
  }
43
-
@@ -11,7 +11,7 @@ export default {
11
11
 
12
12
  export const ItemReceiptComponent = (args: ReceiptI) => {
13
13
  return (
14
- <Box p={["0","1rem"]} w={['full', '500px']}>
14
+ <Box p={['0', '1rem']} w={['full', '500px']}>
15
15
  <ItemReceipt {...args} />
16
16
  </Box>
17
17
  )
@@ -11,7 +11,7 @@ export default {
11
11
 
12
12
  export const ItemReceiptsComponent = (args: ReceiptsDisplayListI) => {
13
13
  return (
14
- <Wrap p={["0","1rem"]} w={["100%", "500px"]}>
14
+ <Wrap p={['0', '1rem']} w={['100%', '500px']}>
15
15
  <ItemReceipts {...args} />
16
16
  </Wrap>
17
17
  )
@@ -10,7 +10,7 @@ export default {
10
10
 
11
11
  export const ReceiptFiltersComponent = (args: ReceiptFiltersI) => {
12
12
  return (
13
- <Box p={["0","base"]} bg="white" w={['full', 'fit-content']}>
13
+ <Box p={['0', 'base']} bg="white" w={['full', 'fit-content']}>
14
14
  <ReceiptFilters {...args} />
15
15
  </Box>
16
16
  )
@@ -22,4 +22,4 @@ RoomsMenuMobileComponent.parameters = {
22
22
  viewport: {
23
23
  defaultViewport: 'iphone6',
24
24
  },
25
- }
25
+ }
@@ -10,7 +10,7 @@ export default {
10
10
 
11
11
  export const DocumentNameHeaderComponent = (args: DocumentNameHeaderI) => {
12
12
  return (
13
- <Box w={["full","60%"]} bg="white" p="base">
13
+ <Box w={['full', '60%']} bg="white" p="base">
14
14
  <DocumentNameHeader {...args} />
15
15
  </Box>
16
16
  )
@@ -10,7 +10,7 @@ export default {
10
10
 
11
11
  export const InputOrTextComponent = (args: InputOrTextI) => {
12
12
  return (
13
- <Box w={["full","60%"]} bg="white" p="base">
13
+ <Box w={['full', '60%']} bg="white" p="base">
14
14
  <InputOrText {...args} />
15
15
  </Box>
16
16
  )
@@ -11,7 +11,7 @@ export default {
11
11
  export const RecipientFormComponent = (args: RecipientFormI) => {
12
12
  return (
13
13
  <Flex justify="flex-end">
14
- <Box w={["full","fit-content"]} bg="white" p="base">
14
+ <Box w={['full', 'fit-content']} bg="white" p="base">
15
15
  <RecipientForm {...args} />
16
16
  </Box>
17
17
  </Flex>
@@ -11,7 +11,7 @@ export default {
11
11
 
12
12
  export const SendCommunicationComponent = (args: SendCommunicationI) => {
13
13
  return (
14
- <Box w={["full","25rem"]}>
14
+ <Box w={['full', '25rem']}>
15
15
  <SendCommunication {...args} />
16
16
  </Box>
17
17
  )
@@ -29,7 +29,7 @@ export default {
29
29
  },
30
30
  decorators: [
31
31
  (Story) => (
32
- <Box w={["full","30rem"]} bg="lightBlue.1">
32
+ <Box w={['full', '30rem']} bg="lightBlue.1">
33
33
  <Story />
34
34
  </Box>
35
35
  ),