@uipath/apollo-react 7.15.4 → 7.16.1
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/dist/canvas/components/JsonTree/index.cjs +4 -0
- package/dist/canvas/components/JsonTree/index.d.ts +2 -2
- package/dist/canvas/components/JsonTree/index.d.ts.map +1 -1
- package/dist/canvas/components/JsonTree/index.js +2 -2
- package/dist/canvas/components/NodeIOView/NodeIOView.cjs +2 -1
- package/dist/canvas/components/NodeIOView/NodeIOView.d.ts +1 -1
- package/dist/canvas/components/NodeIOView/NodeIOView.d.ts.map +1 -1
- package/dist/canvas/components/NodeIOView/NodeIOView.js +2 -1
- package/dist/canvas/components/NodeIOView/NodeIOView.types.d.ts +2 -1
- package/dist/canvas/components/NodeIOView/NodeIOView.types.d.ts.map +1 -1
- package/dist/canvas/components/NodeVariablesPanel/NodeVariablesPanel.cjs +503 -327
- package/dist/canvas/components/NodeVariablesPanel/NodeVariablesPanel.d.ts +2 -2
- package/dist/canvas/components/NodeVariablesPanel/NodeVariablesPanel.d.ts.map +1 -1
- package/dist/canvas/components/NodeVariablesPanel/NodeVariablesPanel.js +503 -327
- package/dist/canvas/components/NodeVariablesPanel/NodeVariablesPanel.strings.cjs +168 -0
- package/dist/canvas/components/NodeVariablesPanel/NodeVariablesPanel.strings.d.ts +3 -0
- package/dist/canvas/components/NodeVariablesPanel/NodeVariablesPanel.strings.d.ts.map +1 -0
- package/dist/canvas/components/NodeVariablesPanel/NodeVariablesPanel.strings.js +134 -0
- package/dist/canvas/components/NodeVariablesPanel/NodeVariablesPanel.types.d.ts +58 -16
- package/dist/canvas/components/NodeVariablesPanel/NodeVariablesPanel.types.d.ts.map +1 -1
- package/dist/canvas/components/NodeVariablesPanel/index.d.ts +1 -1
- package/dist/canvas/components/NodeVariablesPanel/index.d.ts.map +1 -1
- package/dist/canvas/styles/tailwind.canvas.css +1 -1
- package/dist/chat/styles/tailwind.chat.css +1 -1
- package/dist/decision-table/styles/tailwind.decision-table.css +1 -1
- package/dist/decision-table/useColumnWidths.cjs +7 -3
- package/dist/decision-table/useColumnWidths.d.ts.map +1 -1
- package/dist/decision-table/useColumnWidths.js +7 -3
- package/package.json +2 -2
|
@@ -156,21 +156,25 @@ function useColumnWidths({ columns, reservedPx, containerRef, initialWidths, onW
|
|
|
156
156
|
reflow,
|
|
157
157
|
applyVisibility
|
|
158
158
|
]);
|
|
159
|
-
(0, external_react_namespaceObject.
|
|
159
|
+
(0, external_react_namespaceObject.useLayoutEffect)(()=>{
|
|
160
160
|
const element = containerRef.current;
|
|
161
161
|
if (!element) return;
|
|
162
162
|
const observer = new ResizeObserver(()=>setContainerWidth(element.clientWidth));
|
|
163
163
|
observer.observe(element);
|
|
164
|
-
|
|
164
|
+
const width = element.clientWidth;
|
|
165
|
+
containerWidthRef.current = width;
|
|
166
|
+
setContainerWidth(width);
|
|
167
|
+
reflow(width, columnsRef.current, overridesRef.current, reservedPxRef.current);
|
|
165
168
|
measuredRef.current = true;
|
|
166
169
|
applyVisibility();
|
|
167
170
|
return ()=>observer.disconnect();
|
|
168
171
|
}, [
|
|
169
172
|
containerRef,
|
|
173
|
+
reflow,
|
|
170
174
|
applyVisibility
|
|
171
175
|
]);
|
|
172
176
|
(0, external_react_namespaceObject.useEffect)(()=>{
|
|
173
|
-
reflow(
|
|
177
|
+
reflow(containerWidthRef.current, stableColumns, overridesRef.current, reservedPx);
|
|
174
178
|
}, [
|
|
175
179
|
containerWidth,
|
|
176
180
|
stableColumns,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useColumnWidths.d.ts","sourceRoot":"","sources":["../../src/decision-table/useColumnWidths.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAGL,KAAK,WAAW,EAEjB,MAAM,gBAAgB,CAAC;AAsBxB,UAAU,eAAe;IACvB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,UAAU,EAAE,M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4blB"}
|
|
@@ -128,21 +128,25 @@ function useColumnWidths({ columns, reservedPx, containerRef, initialWidths, onW
|
|
|
128
128
|
reflow,
|
|
129
129
|
applyVisibility
|
|
130
130
|
]);
|
|
131
|
-
|
|
131
|
+
useLayoutEffect(()=>{
|
|
132
132
|
const element = containerRef.current;
|
|
133
133
|
if (!element) return;
|
|
134
134
|
const observer = new ResizeObserver(()=>setContainerWidth(element.clientWidth));
|
|
135
135
|
observer.observe(element);
|
|
136
|
-
|
|
136
|
+
const width = element.clientWidth;
|
|
137
|
+
containerWidthRef.current = width;
|
|
138
|
+
setContainerWidth(width);
|
|
139
|
+
reflow(width, columnsRef.current, overridesRef.current, reservedPxRef.current);
|
|
137
140
|
measuredRef.current = true;
|
|
138
141
|
applyVisibility();
|
|
139
142
|
return ()=>observer.disconnect();
|
|
140
143
|
}, [
|
|
141
144
|
containerRef,
|
|
145
|
+
reflow,
|
|
142
146
|
applyVisibility
|
|
143
147
|
]);
|
|
144
148
|
useEffect(()=>{
|
|
145
|
-
reflow(
|
|
149
|
+
reflow(containerWidthRef.current, stableColumns, overridesRef.current, reservedPx);
|
|
146
150
|
}, [
|
|
147
151
|
containerWidth,
|
|
148
152
|
stableColumns,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/apollo-react",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.16.1",
|
|
4
4
|
"description": "Apollo Design System - React component library with Material UI theming",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -254,7 +254,7 @@
|
|
|
254
254
|
"@uipath/apollo-core": "5.15.2",
|
|
255
255
|
"@uipath/apollo-ui-icons": "1.2.1",
|
|
256
256
|
"@uipath/apollo-ui-icons-react": "1.0.0",
|
|
257
|
-
"@uipath/apollo-wind": "2.
|
|
257
|
+
"@uipath/apollo-wind": "2.86.0"
|
|
258
258
|
},
|
|
259
259
|
"devDependencies": {
|
|
260
260
|
"@lingui/cli": "^5.6.1",
|