@etsoo/materialui 1.2.68 → 1.2.69

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.
@@ -6,7 +6,7 @@ import { CommonPageProps } from "./CommonPageProps";
6
6
  /**
7
7
  * View page row width type
8
8
  */
9
- export type ViewPageRowType = boolean | "default" | "small" | object;
9
+ export type ViewPageRowType = boolean | "default" | "small" | "medium" | object;
10
10
  /**
11
11
  * View page display field
12
12
  */
@@ -22,7 +22,7 @@ function formatItemData(fieldData) {
22
22
  function getResp(singleRow) {
23
23
  return typeof singleRow === "object"
24
24
  ? singleRow
25
- : singleRow === "default"
25
+ : singleRow === "medium"
26
26
  ? { xs: 12, sm: 12, md: 6, lg: 4, xl: 3 }
27
27
  : singleRow === true
28
28
  ? { xs: 12, sm: 12, md: 12, lg: 12, xl: 12 }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/materialui",
3
- "version": "1.2.68",
3
+ "version": "1.2.69",
4
4
  "description": "TypeScript Material-UI Implementation",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -23,7 +23,7 @@ import { CommonPageProps } from "./CommonPageProps";
23
23
  /**
24
24
  * View page row width type
25
25
  */
26
- export type ViewPageRowType = boolean | "default" | "small" | object;
26
+ export type ViewPageRowType = boolean | "default" | "small" | "medium" | object;
27
27
 
28
28
  /**
29
29
  * View page display field
@@ -135,7 +135,7 @@ function formatItemData(fieldData: unknown): string | undefined {
135
135
  function getResp(singleRow: ViewPageRowType) {
136
136
  return typeof singleRow === "object"
137
137
  ? singleRow
138
- : singleRow === "default"
138
+ : singleRow === "medium"
139
139
  ? { xs: 12, sm: 12, md: 6, lg: 4, xl: 3 }
140
140
  : singleRow === true
141
141
  ? { xs: 12, sm: 12, md: 12, lg: 12, xl: 12 }