@trackunit/react-widgets 2.8.18 → 2.9.0
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 +6 -6
- package/index.esm.js +6 -6
- package/package.json +7 -7
package/index.cjs.js
CHANGED
|
@@ -137,19 +137,19 @@ const cvaWidgetContent = cssClassVarianceUtilities.cvaMerge(["@container", "over
|
|
|
137
137
|
{
|
|
138
138
|
layout: "top-fill",
|
|
139
139
|
centering: "centered",
|
|
140
|
-
class: ["
|
|
140
|
+
class: ["*:nth-2:grid", "*:nth-2:place-items-center"],
|
|
141
141
|
},
|
|
142
142
|
// Center fill areas for fill-bottom layout
|
|
143
143
|
{
|
|
144
144
|
layout: "fill-bottom",
|
|
145
145
|
centering: "centered",
|
|
146
|
-
class: ["
|
|
146
|
+
class: ["*:nth-1:grid", "*:nth-1:place-items-center"],
|
|
147
147
|
},
|
|
148
148
|
// Center fill areas for top-fill-bottom layout
|
|
149
149
|
{
|
|
150
150
|
layout: "top-fill-bottom",
|
|
151
151
|
centering: "centered",
|
|
152
|
-
class: ["
|
|
152
|
+
class: ["*:nth-2:grid", "*:nth-2:place-items-center"],
|
|
153
153
|
},
|
|
154
154
|
// Apply padding to whole container when layout is none
|
|
155
155
|
{
|
|
@@ -161,19 +161,19 @@ const cvaWidgetContent = cssClassVarianceUtilities.cvaMerge(["@container", "over
|
|
|
161
161
|
{
|
|
162
162
|
layout: "top-fill",
|
|
163
163
|
padding: "responsive",
|
|
164
|
-
class: ["
|
|
164
|
+
class: ["*:nth-2:p-4"],
|
|
165
165
|
},
|
|
166
166
|
// Apply padding to fill areas for fill-bottom layout
|
|
167
167
|
{
|
|
168
168
|
layout: "fill-bottom",
|
|
169
169
|
padding: "responsive",
|
|
170
|
-
class: ["
|
|
170
|
+
class: ["*:nth-1:p-4"],
|
|
171
171
|
},
|
|
172
172
|
// Apply padding to fill areas for top-fill-bottom layout
|
|
173
173
|
{
|
|
174
174
|
layout: "top-fill-bottom",
|
|
175
175
|
padding: "responsive",
|
|
176
|
-
class: ["
|
|
176
|
+
class: ["*:nth-2:p-4"],
|
|
177
177
|
},
|
|
178
178
|
],
|
|
179
179
|
});
|
package/index.esm.js
CHANGED
|
@@ -135,19 +135,19 @@ const cvaWidgetContent = cvaMerge(["@container", "overflow-hidden", "h-full", "w
|
|
|
135
135
|
{
|
|
136
136
|
layout: "top-fill",
|
|
137
137
|
centering: "centered",
|
|
138
|
-
class: ["
|
|
138
|
+
class: ["*:nth-2:grid", "*:nth-2:place-items-center"],
|
|
139
139
|
},
|
|
140
140
|
// Center fill areas for fill-bottom layout
|
|
141
141
|
{
|
|
142
142
|
layout: "fill-bottom",
|
|
143
143
|
centering: "centered",
|
|
144
|
-
class: ["
|
|
144
|
+
class: ["*:nth-1:grid", "*:nth-1:place-items-center"],
|
|
145
145
|
},
|
|
146
146
|
// Center fill areas for top-fill-bottom layout
|
|
147
147
|
{
|
|
148
148
|
layout: "top-fill-bottom",
|
|
149
149
|
centering: "centered",
|
|
150
|
-
class: ["
|
|
150
|
+
class: ["*:nth-2:grid", "*:nth-2:place-items-center"],
|
|
151
151
|
},
|
|
152
152
|
// Apply padding to whole container when layout is none
|
|
153
153
|
{
|
|
@@ -159,19 +159,19 @@ const cvaWidgetContent = cvaMerge(["@container", "overflow-hidden", "h-full", "w
|
|
|
159
159
|
{
|
|
160
160
|
layout: "top-fill",
|
|
161
161
|
padding: "responsive",
|
|
162
|
-
class: ["
|
|
162
|
+
class: ["*:nth-2:p-4"],
|
|
163
163
|
},
|
|
164
164
|
// Apply padding to fill areas for fill-bottom layout
|
|
165
165
|
{
|
|
166
166
|
layout: "fill-bottom",
|
|
167
167
|
padding: "responsive",
|
|
168
|
-
class: ["
|
|
168
|
+
class: ["*:nth-1:p-4"],
|
|
169
169
|
},
|
|
170
170
|
// Apply padding to fill areas for top-fill-bottom layout
|
|
171
171
|
{
|
|
172
172
|
layout: "top-fill-bottom",
|
|
173
173
|
padding: "responsive",
|
|
174
|
-
class: ["
|
|
174
|
+
class: ["*:nth-2:p-4"],
|
|
175
175
|
},
|
|
176
176
|
],
|
|
177
177
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-widgets",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.9.0",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"engines": {
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"react": "19.0.0",
|
|
11
|
-
"@trackunit/react-components": "1.
|
|
12
|
-
"@trackunit/iris-app-runtime-core": "1.13.
|
|
13
|
-
"@trackunit/css-class-variance-utilities": "1.11.
|
|
14
|
-
"@trackunit/ui-design-tokens": "1.11.
|
|
15
|
-
"@trackunit/ui-icons": "1.11.
|
|
16
|
-
"@trackunit/i18n-library-translation": "1.12.
|
|
11
|
+
"@trackunit/react-components": "1.17.0",
|
|
12
|
+
"@trackunit/iris-app-runtime-core": "1.13.12",
|
|
13
|
+
"@trackunit/css-class-variance-utilities": "1.11.31",
|
|
14
|
+
"@trackunit/ui-design-tokens": "1.11.31",
|
|
15
|
+
"@trackunit/ui-icons": "1.11.30",
|
|
16
|
+
"@trackunit/i18n-library-translation": "1.12.12"
|
|
17
17
|
},
|
|
18
18
|
"module": "./index.esm.js",
|
|
19
19
|
"main": "./index.cjs.js",
|