@trackunit/react-widgets 2.2.20 → 2.2.22
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.
- package/index.cjs.js +2 -2
- package/index.esm.js +2 -2
- package/package.json +9 -9
- package/src/Widget/WidgetContent.d.ts +1 -1
package/index.cjs.js
CHANGED
|
@@ -186,8 +186,8 @@ const cvaWidgetContent = cssClassVarianceUtilities.cvaMerge(["@container", "over
|
|
|
186
186
|
* @param {WidgetContentProps} props - The props for the WidgetContent component
|
|
187
187
|
* @returns {ReactNode} WidgetContent component
|
|
188
188
|
*/
|
|
189
|
-
const WidgetContent = ({ children, dataTestId, layout = "none", padding = "none", gap = "none", className, }) => {
|
|
190
|
-
return (jsxRuntime.jsx("div", { className: cvaWidgetContent({ layout, padding, gap, className }), "data-testid": dataTestId, children: children }));
|
|
189
|
+
const WidgetContent = ({ children, dataTestId, layout = "none", padding = "none", gap = "none", className, centering = "none", }) => {
|
|
190
|
+
return (jsxRuntime.jsx("div", { className: cvaWidgetContent({ layout, padding, gap, className, centering }), "data-testid": dataTestId, children: children }));
|
|
191
191
|
};
|
|
192
192
|
|
|
193
193
|
const cvaWidgetEditBodyDensityContainer = cssClassVarianceUtilities.cvaMerge(["absolute", "left-1/2", "top-1/2", "flex", "origin-center", "-translate-x-1/2", "-translate-y-1/2", "w-96"], {
|
package/index.esm.js
CHANGED
|
@@ -184,8 +184,8 @@ const cvaWidgetContent = cvaMerge(["@container", "overflow-hidden", "h-full", "w
|
|
|
184
184
|
* @param {WidgetContentProps} props - The props for the WidgetContent component
|
|
185
185
|
* @returns {ReactNode} WidgetContent component
|
|
186
186
|
*/
|
|
187
|
-
const WidgetContent = ({ children, dataTestId, layout = "none", padding = "none", gap = "none", className, }) => {
|
|
188
|
-
return (jsx("div", { className: cvaWidgetContent({ layout, padding, gap, className }), "data-testid": dataTestId, children: children }));
|
|
187
|
+
const WidgetContent = ({ children, dataTestId, layout = "none", padding = "none", gap = "none", className, centering = "none", }) => {
|
|
188
|
+
return (jsx("div", { className: cvaWidgetContent({ layout, padding, gap, className, centering }), "data-testid": dataTestId, children: children }));
|
|
189
189
|
};
|
|
190
190
|
|
|
191
191
|
const cvaWidgetEditBodyDensityContainer = cvaMerge(["absolute", "left-1/2", "top-1/2", "flex", "origin-center", "-translate-x-1/2", "-translate-y-1/2", "w-96"], {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-widgets",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.22",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"engines": {
|
|
@@ -8,14 +8,14 @@
|
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"react": "19.0.0",
|
|
11
|
-
"@trackunit/react-components": "1.9.
|
|
12
|
-
"@trackunit/iris-app-runtime-core": "1.8.
|
|
13
|
-
"@trackunit/css-class-variance-utilities": "1.7.
|
|
14
|
-
"@trackunit/ui-design-tokens": "1.7.
|
|
15
|
-
"@trackunit/ui-icons": "1.7.
|
|
16
|
-
"@trackunit/shared-utils": "1.9.
|
|
17
|
-
"@trackunit/i18n-library-translation": "1.7.
|
|
18
|
-
"@trackunit/react-test-setup": "1.4.
|
|
11
|
+
"@trackunit/react-components": "1.9.21",
|
|
12
|
+
"@trackunit/iris-app-runtime-core": "1.8.14",
|
|
13
|
+
"@trackunit/css-class-variance-utilities": "1.7.12",
|
|
14
|
+
"@trackunit/ui-design-tokens": "1.7.12",
|
|
15
|
+
"@trackunit/ui-icons": "1.7.14",
|
|
16
|
+
"@trackunit/shared-utils": "1.9.12",
|
|
17
|
+
"@trackunit/i18n-library-translation": "1.7.16",
|
|
18
|
+
"@trackunit/react-test-setup": "1.4.12"
|
|
19
19
|
},
|
|
20
20
|
"module": "./index.esm.js",
|
|
21
21
|
"main": "./index.cjs.js",
|
|
@@ -17,4 +17,4 @@ export interface WidgetContentProps extends CommonProps, Required<MappedOmit<Non
|
|
|
17
17
|
* @param {WidgetContentProps} props - The props for the WidgetContent component
|
|
18
18
|
* @returns {ReactNode} WidgetContent component
|
|
19
19
|
*/
|
|
20
|
-
export declare const WidgetContent: ({ children, dataTestId, layout, padding, gap, className, }: WidgetContentProps) => ReactElement;
|
|
20
|
+
export declare const WidgetContent: ({ children, dataTestId, layout, padding, gap, className, centering, }: WidgetContentProps) => ReactElement;
|