@kopexa/section-row 17.1.3 → 17.1.4
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.
|
@@ -23,12 +23,10 @@ var SectionRow = (props) => {
|
|
|
23
23
|
} = props;
|
|
24
24
|
const isValueString = typeof value === "string" || !value;
|
|
25
25
|
const hasActions = !!actions;
|
|
26
|
-
const resolvedOrientation = orientation === "horizontalCentered" ? "horizontal" : orientation;
|
|
27
|
-
const resolvedAlign = orientation === "horizontalCentered" ? "center" : align;
|
|
28
26
|
const styles = sectionRow({
|
|
29
27
|
hasActions,
|
|
30
|
-
orientation
|
|
31
|
-
align
|
|
28
|
+
orientation,
|
|
29
|
+
align,
|
|
32
30
|
spacing,
|
|
33
31
|
justify
|
|
34
32
|
});
|
package/dist/index.js
CHANGED
|
@@ -46,12 +46,10 @@ var SectionRow = (props) => {
|
|
|
46
46
|
} = props;
|
|
47
47
|
const isValueString = typeof value === "string" || !value;
|
|
48
48
|
const hasActions = !!actions;
|
|
49
|
-
const resolvedOrientation = orientation === "horizontalCentered" ? "horizontal" : orientation;
|
|
50
|
-
const resolvedAlign = orientation === "horizontalCentered" ? "center" : align;
|
|
51
49
|
const styles = (0, import_theme.sectionRow)({
|
|
52
50
|
hasActions,
|
|
53
|
-
orientation
|
|
54
|
-
align
|
|
51
|
+
orientation,
|
|
52
|
+
align,
|
|
55
53
|
spacing,
|
|
56
54
|
justify
|
|
57
55
|
});
|
package/dist/index.mjs
CHANGED
package/dist/section-row.d.mts
CHANGED
|
@@ -29,9 +29,8 @@ type SectionRowProps = Omit<ComponentProps<"div">, "children"> & Omit<SectionRow
|
|
|
29
29
|
* Layout orientation of the section row.
|
|
30
30
|
* - "horizontal": title on the left, value on the right (default)
|
|
31
31
|
* - "vertical": title above, value below
|
|
32
|
-
* @deprecated "horizontalCentered" is deprecated, use "horizontal" with align="center" instead
|
|
33
32
|
*/
|
|
34
|
-
orientation?: "horizontal" | "vertical"
|
|
33
|
+
orientation?: "horizontal" | "vertical";
|
|
35
34
|
/**
|
|
36
35
|
* Vertical alignment of items in horizontal orientation.
|
|
37
36
|
* - "start": align items to the top (default, best for multi-line values)
|
package/dist/section-row.d.ts
CHANGED
|
@@ -29,9 +29,8 @@ type SectionRowProps = Omit<ComponentProps<"div">, "children"> & Omit<SectionRow
|
|
|
29
29
|
* Layout orientation of the section row.
|
|
30
30
|
* - "horizontal": title on the left, value on the right (default)
|
|
31
31
|
* - "vertical": title above, value below
|
|
32
|
-
* @deprecated "horizontalCentered" is deprecated, use "horizontal" with align="center" instead
|
|
33
32
|
*/
|
|
34
|
-
orientation?: "horizontal" | "vertical"
|
|
33
|
+
orientation?: "horizontal" | "vertical";
|
|
35
34
|
/**
|
|
36
35
|
* Vertical alignment of items in horizontal orientation.
|
|
37
36
|
* - "start": align items to the top (default, best for multi-line values)
|
package/dist/section-row.js
CHANGED
|
@@ -44,12 +44,10 @@ var SectionRow = (props) => {
|
|
|
44
44
|
} = props;
|
|
45
45
|
const isValueString = typeof value === "string" || !value;
|
|
46
46
|
const hasActions = !!actions;
|
|
47
|
-
const resolvedOrientation = orientation === "horizontalCentered" ? "horizontal" : orientation;
|
|
48
|
-
const resolvedAlign = orientation === "horizontalCentered" ? "center" : align;
|
|
49
47
|
const styles = (0, import_theme.sectionRow)({
|
|
50
48
|
hasActions,
|
|
51
|
-
orientation
|
|
52
|
-
align
|
|
49
|
+
orientation,
|
|
50
|
+
align,
|
|
53
51
|
spacing,
|
|
54
52
|
justify
|
|
55
53
|
});
|
package/dist/section-row.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kopexa/section-row",
|
|
3
|
-
"version": "17.1.
|
|
3
|
+
"version": "17.1.4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"section-row"
|
|
@@ -28,11 +28,11 @@
|
|
|
28
28
|
"react": ">=19.0.0-rc.0",
|
|
29
29
|
"react-dom": ">=19.0.0-rc.0",
|
|
30
30
|
"motion": ">=12.23.6",
|
|
31
|
-
"@kopexa/theme": "17.4.
|
|
31
|
+
"@kopexa/theme": "17.4.2"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@kopexa/shared-utils": "17.0.
|
|
35
|
-
"@kopexa/react-utils": "17.0.
|
|
34
|
+
"@kopexa/shared-utils": "17.0.10",
|
|
35
|
+
"@kopexa/react-utils": "17.0.10"
|
|
36
36
|
},
|
|
37
37
|
"clean-package": "../../../clean-package.config.json",
|
|
38
38
|
"module": "dist/index.mjs",
|