@etsoo/materialui 1.4.82 → 1.4.83
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/lib/cjs/SearchBar.js +1 -0
- package/lib/mjs/SearchBar.js +1 -0
- package/package.json +6 -6
- package/src/SearchBar.tsx +10 -0
package/lib/cjs/SearchBar.js
CHANGED
|
@@ -154,6 +154,7 @@ function SearchBar(props) {
|
|
|
154
154
|
}
|
|
155
155
|
else {
|
|
156
156
|
const childD = child.getBoundingClientRect();
|
|
157
|
+
console.log("SearchBar", child.querySelector("input")?.name, childD.width, childD.height, child.clientWidth, child.computedStyleMap().get("width"));
|
|
157
158
|
childWidth = childD.width + itemGap;
|
|
158
159
|
child.setAttribute(cachedWidthName, childWidth.toString());
|
|
159
160
|
}
|
package/lib/mjs/SearchBar.js
CHANGED
|
@@ -148,6 +148,7 @@ export function SearchBar(props) {
|
|
|
148
148
|
}
|
|
149
149
|
else {
|
|
150
150
|
const childD = child.getBoundingClientRect();
|
|
151
|
+
console.log("SearchBar", child.querySelector("input")?.name, childD.width, childD.height, child.clientWidth, child.computedStyleMap().get("width"));
|
|
151
152
|
childWidth = childD.width + itemGap;
|
|
152
153
|
child.setAttribute(cachedWidthName, childWidth.toString());
|
|
153
154
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@etsoo/materialui",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.83",
|
|
4
4
|
"description": "TypeScript Material-UI Implementation",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/mjs/index.js",
|
|
@@ -40,14 +40,14 @@
|
|
|
40
40
|
"@dnd-kit/sortable": "^10.0.0",
|
|
41
41
|
"@emotion/react": "^11.14.0",
|
|
42
42
|
"@emotion/styled": "^11.14.0",
|
|
43
|
-
"@etsoo/appscript": "^1.6.
|
|
43
|
+
"@etsoo/appscript": "^1.6.9",
|
|
44
44
|
"@etsoo/notificationbase": "^1.1.58",
|
|
45
|
-
"@etsoo/react": "^1.8.
|
|
45
|
+
"@etsoo/react": "^1.8.31",
|
|
46
46
|
"@etsoo/shared": "^1.2.61",
|
|
47
|
-
"@mui/icons-material": "^6.4.
|
|
47
|
+
"@mui/icons-material": "^6.4.5",
|
|
48
48
|
"@mui/material": "^6.4.4",
|
|
49
49
|
"@mui/x-data-grid": "^7.27.0",
|
|
50
|
-
"chart.js": "^4.4.
|
|
50
|
+
"chart.js": "^4.4.8",
|
|
51
51
|
"chartjs-plugin-datalabels": "^2.2.0",
|
|
52
52
|
"eventemitter3": "^5.0.1",
|
|
53
53
|
"pica": "^9.0.1",
|
|
@@ -83,6 +83,6 @@
|
|
|
83
83
|
"@vitejs/plugin-react": "^4.3.4",
|
|
84
84
|
"jsdom": "^26.0.0",
|
|
85
85
|
"typescript": "^5.7.3",
|
|
86
|
-
"vitest": "^3.0.
|
|
86
|
+
"vitest": "^3.0.6"
|
|
87
87
|
}
|
|
88
88
|
}
|
package/src/SearchBar.tsx
CHANGED
|
@@ -228,6 +228,16 @@ export function SearchBar(props: SearchBarProps) {
|
|
|
228
228
|
childWidth = Number.parseFloat(cachedWidth);
|
|
229
229
|
} else {
|
|
230
230
|
const childD = child.getBoundingClientRect();
|
|
231
|
+
|
|
232
|
+
console.log(
|
|
233
|
+
"SearchBar",
|
|
234
|
+
child.querySelector("input")?.name,
|
|
235
|
+
childD.width,
|
|
236
|
+
childD.height,
|
|
237
|
+
child.clientWidth,
|
|
238
|
+
child.computedStyleMap().get("width")
|
|
239
|
+
);
|
|
240
|
+
|
|
231
241
|
childWidth = childD.width + itemGap;
|
|
232
242
|
child.setAttribute(cachedWidthName, childWidth.toString());
|
|
233
243
|
}
|