@homefile/components-v2 2.27.3 → 2.27.5

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.
@@ -48,7 +48,7 @@ export const ItemFormPanel = ({ children, onClose, onSubmitForm, panelIcon, pane
48
48
  }, [children, skipHeaderDiscovery]);
49
49
  let bodyContent;
50
50
  if (skipHeaderDiscovery) {
51
- bodyContent = (_jsx(Box, { position: "relative", pb: "200px", children: children }));
51
+ bodyContent = (_jsx(Box, { position: "relative", pb: "200px", height: "full", children: children }));
52
52
  }
53
53
  else if (firstChild) {
54
54
  bodyContent = (_jsxs(_Fragment, { children: [firstChild, _jsxs(Box, { position: "relative", pb: "200px", children: [_jsx(Overlay, { showOverlay: showOverlay, position: "absolute", w: "inherit", h: "inherit", zIndex: "9" }), otherChildren] })] }));
@@ -14,7 +14,7 @@ export const HomeItemList = ({ items, onChange }) => {
14
14
  ...items,
15
15
  {
16
16
  id: 'none',
17
- name: hasItems ? t('homeItems.noneAbove') : t('homeItems.addDetail'),
17
+ title: hasItems ? t('homeItems.noneAbove') : t('homeItems.addDetail'),
18
18
  },
19
19
  ];
20
20
  return (_jsxs(Container, { h: "full", children: [_jsx(HomeItemListHeader, { title: hasItems
@@ -1,2 +1,2 @@
1
1
  import { ProductRadioCardContentI } from '../../interfaces';
2
- export declare const ProductRadioCardContent: ({ id, name, brand, model, }: ProductRadioCardContentI) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const ProductRadioCardContent: ({ id, title, brand, model, }: ProductRadioCardContentI) => import("react/jsx-runtime").JSX.Element;
@@ -1,11 +1,11 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { Stack, Text } from '@chakra-ui/react';
3
3
  import { DetailsColumn } from '..';
4
- export const ProductRadioCardContent = ({ id, name, brand, model, }) => {
4
+ export const ProductRadioCardContent = ({ id, title, brand, model, }) => {
5
5
  const isNone = id === 'none';
6
6
  const details = [
7
7
  brand && { label: 'Brand:', value: brand },
8
8
  model && { label: 'Model#:', value: model },
9
9
  ].filter(Boolean);
10
- return (_jsxs(Stack, { spacing: "base", w: "full", children: [_jsx(Text, { fontSize: isNone ? 'md' : 'lg', children: name }), _jsx(DetailsColumn, { color: "gray.2", details: details, fontSize: "md", leftFlexPercent: 20 })] }));
10
+ return (_jsxs(Stack, { spacing: "base", w: "full", children: [_jsx(Text, { fontSize: isNone ? 'md' : 'lg', children: title }), _jsx(DetailsColumn, { color: "gray.2", details: details, fontSize: "md", leftFlexPercent: 20 })] }));
11
11
  };
@@ -1,6 +1,6 @@
1
1
  export interface ProductRadioCardContentI {
2
2
  id: string;
3
- name?: string;
3
+ title?: string;
4
4
  brand?: string;
5
5
  model?: string;
6
6
  }
@@ -10,13 +10,13 @@ export default {
10
10
  items: [
11
11
  {
12
12
  id: '1',
13
- name: 'Item 1',
13
+ title: 'Item 1',
14
14
  brand: 'Brand A',
15
15
  model: 'Model X',
16
16
  },
17
17
  {
18
18
  id: '2',
19
- name: 'Item 2',
19
+ title: 'Item 2',
20
20
  brand: 'Brand B',
21
21
  model: 'Model Y',
22
22
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@homefile/components-v2",
3
- "version": "2.27.3",
3
+ "version": "2.27.5",
4
4
  "author": "Homefile",
5
5
  "license": "UNLICENSED",
6
6
  "typings": "dist/index.d.ts",
@@ -92,7 +92,7 @@ export const ItemFormPanel = ({
92
92
 
93
93
  if (skipHeaderDiscovery) {
94
94
  bodyContent = (
95
- <Box position="relative" pb="200px">
95
+ <Box position="relative" pb="200px" height="full">
96
96
  {children}
97
97
  </Box>
98
98
  )
@@ -21,7 +21,7 @@ export const HomeItemList = ({ items, onChange }: HomeItemListI) => {
21
21
  ...items,
22
22
  {
23
23
  id: 'none',
24
- name: hasItems ? t('homeItems.noneAbove') : t('homeItems.addDetail'),
24
+ title: hasItems ? t('homeItems.noneAbove') : t('homeItems.addDetail'),
25
25
  },
26
26
  ]
27
27
 
@@ -4,7 +4,7 @@ import { DetailsColumn } from '@/components'
4
4
 
5
5
  export const ProductRadioCardContent = ({
6
6
  id,
7
- name,
7
+ title,
8
8
  brand,
9
9
  model,
10
10
  }: ProductRadioCardContentI) => {
@@ -15,7 +15,7 @@ export const ProductRadioCardContent = ({
15
15
  ].filter(Boolean) as DetailRowI[]
16
16
  return (
17
17
  <Stack spacing="base" w="full">
18
- <Text fontSize={isNone ? 'md' : 'lg'}>{name}</Text>
18
+ <Text fontSize={isNone ? 'md' : 'lg'}>{title}</Text>
19
19
  <DetailsColumn
20
20
  color="gray.2"
21
21
  details={details}
@@ -1,6 +1,6 @@
1
1
  export interface ProductRadioCardContentI {
2
2
  id: string
3
- name?: string
3
+ title?: string
4
4
  brand?: string
5
5
  model?: string
6
6
  }
@@ -12,13 +12,13 @@ export default {
12
12
  items: [
13
13
  {
14
14
  id: '1',
15
- name: 'Item 1',
15
+ title: 'Item 1',
16
16
  brand: 'Brand A',
17
17
  model: 'Model X',
18
18
  },
19
19
  {
20
20
  id: '2',
21
- name: 'Item 2',
21
+ title: 'Item 2',
22
22
  brand: 'Brand B',
23
23
  model: 'Model Y',
24
24
  },