@limetech/lime-elements 37.65.6 → 37.65.8
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/CHANGELOG.md +16 -0
- package/dist/cjs/limel-form.cjs.entry.js +5 -2
- package/dist/cjs/limel-form.cjs.entry.js.map +1 -1
- package/dist/collection/components/form/templates/array-field-collapsible-item.js +2 -2
- package/dist/collection/components/form/templates/array-field-collapsible-item.js.map +1 -1
- package/dist/collection/components/form/templates/grid-layout.js +3 -0
- package/dist/collection/components/form/templates/grid-layout.js.map +1 -1
- package/dist/esm/limel-form.entry.js +5 -2
- package/dist/esm/limel-form.entry.js.map +1 -1
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/{p-da0be036.entry.js → p-4d483ad2.entry.js} +2 -2
- package/dist/lime-elements/{p-da0be036.entry.js.map → p-4d483ad2.entry.js.map} +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
## [37.65.8](https://github.com/Lundalogik/lime-elements/compare/v37.65.7...v37.65.8) (2024-11-08)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
* **form:** handle undefined element ([8e65007](https://github.com/Lundalogik/lime-elements/commit/8e65007ef0829cdb7e36f8f7cc676cf32d499028))
|
|
8
|
+
|
|
9
|
+
## [37.65.7](https://github.com/Lundalogik/lime-elements/compare/v37.65.6...v37.65.7) (2024-11-07)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
* **form:** set collapsible item initial state correctly ([fc10d3d](https://github.com/Lundalogik/lime-elements/commit/fc10d3d9dca527af554c205508c3ca92e0282919)), closes [#3288](https://github.com/Lundalogik/lime-elements/issues/3288)
|
|
16
|
+
|
|
1
17
|
## [37.65.6](https://github.com/Lundalogik/lime-elements/compare/v37.65.5...v37.65.6) (2024-11-06)
|
|
2
18
|
|
|
3
19
|
|
|
@@ -23724,9 +23724,9 @@ class CollapsibleItemTemplate extends react.Component {
|
|
|
23724
23724
|
};
|
|
23725
23725
|
this.handleAction = this.handleAction.bind(this);
|
|
23726
23726
|
this.isDeepEmpty = this.isDeepEmpty.bind(this);
|
|
23727
|
-
this.
|
|
23727
|
+
this.state = {
|
|
23728
23728
|
isOpen: this.isDeepEmpty(props.data),
|
|
23729
|
-
}
|
|
23729
|
+
};
|
|
23730
23730
|
}
|
|
23731
23731
|
componentDidMount() {
|
|
23732
23732
|
const section = this.refs.section;
|
|
@@ -23935,6 +23935,9 @@ class GridLayout extends react.Component {
|
|
|
23935
23935
|
handleResize() {
|
|
23936
23936
|
requestAnimationFrame(() => {
|
|
23937
23937
|
const element = this.elementRef.current;
|
|
23938
|
+
if (!element) {
|
|
23939
|
+
return;
|
|
23940
|
+
}
|
|
23938
23941
|
const width = element.getBoundingClientRect().width;
|
|
23939
23942
|
const maxColumns = Math.min(MAX_COLUMNS, Math.max(1, Math.floor(width / (MAX_COLUMN_WIDTH * PX_PER_REM))));
|
|
23940
23943
|
const columns = this.getColumnCount(maxColumns);
|