@homefile/components-v2 2.25.5 → 2.25.6

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.
@@ -11,6 +11,7 @@ export const ReadOnlyCollapsible = ({ children, }) => {
11
11
  };
12
12
  switch (type) {
13
13
  case 'text':
14
+ case 'textarea':
14
15
  return (_jsx(Collapsible, { title: name, showShadow: false, children: _jsx(ReadOnlyTextArea, Object.assign({}, baseProps)) }, `${id}-${name}-${value}-${type}`));
15
16
  default:
16
17
  return null;
@@ -16,6 +16,7 @@ export const ReadOnlyCollapsible = ({
16
16
  }
17
17
  switch (type) {
18
18
  case 'text':
19
+ case 'textarea':
19
20
  return (
20
21
  <Collapsible
21
22
  title={name}
@@ -777,7 +777,7 @@ export const viewingHomeItemMock = [
777
777
  description: faker.lorem.sentence(),
778
778
  comments: faker.lorem.sentence(),
779
779
  value: faker.lorem.paragraphs(),
780
- type: 'text',
780
+ type: 'textarea',
781
781
  visible: true,
782
782
  },
783
783
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@homefile/components-v2",
3
- "version": "2.25.5",
3
+ "version": "2.25.6",
4
4
  "author": "Homefile",
5
5
  "license": "UNLICENSED",
6
6
  "typings": "dist/index.d.ts",
@@ -16,6 +16,7 @@ export const ReadOnlyCollapsible = ({
16
16
  }
17
17
  switch (type) {
18
18
  case 'text':
19
+ case 'textarea':
19
20
  return (
20
21
  <Collapsible
21
22
  title={name}
@@ -786,7 +786,7 @@ export const viewingHomeItemMock: ReportI[] = [
786
786
  description: faker.lorem.sentence(),
787
787
  comments: faker.lorem.sentence(),
788
788
  value: faker.lorem.paragraphs(),
789
- type: 'text',
789
+ type: 'textarea',
790
790
  visible: true,
791
791
  },
792
792
  {