@limetech/lime-elements 37.63.5 → 37.63.7
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 +17 -0
- package/dist/cjs/limel-icon_2.cjs.entry.js +6 -1
- package/dist/cjs/limel-icon_2.cjs.entry.js.map +1 -1
- package/dist/cjs/limel-markdown.cjs.entry.js +1 -1
- package/dist/cjs/limel-picker.cjs.entry.js +3 -0
- package/dist/cjs/limel-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/limel-prosemirror-adapter.cjs.entry.js +1 -1
- package/dist/cjs/{markdown-parser-4b5e23e2.js → markdown-parser-ba7cc71e.js} +8 -3
- package/dist/cjs/{markdown-parser-4b5e23e2.js.map → markdown-parser-ba7cc71e.js.map} +1 -1
- package/dist/collection/components/markdown/markdown-parser.js +7 -2
- package/dist/collection/components/markdown/markdown-parser.js.map +1 -1
- package/dist/collection/components/picker/picker.js +3 -0
- package/dist/collection/components/picker/picker.js.map +1 -1
- package/dist/collection/components/portal/portal.js +6 -1
- package/dist/collection/components/portal/portal.js.map +1 -1
- package/dist/esm/limel-icon_2.entry.js +6 -1
- package/dist/esm/limel-icon_2.entry.js.map +1 -1
- package/dist/esm/limel-markdown.entry.js +1 -1
- package/dist/esm/limel-picker.entry.js +3 -0
- package/dist/esm/limel-picker.entry.js.map +1 -1
- package/dist/esm/limel-prosemirror-adapter.entry.js +1 -1
- package/dist/esm/{markdown-parser-18863266.js → markdown-parser-3c0af898.js} +8 -3
- package/dist/esm/{markdown-parser-18863266.js.map → markdown-parser-3c0af898.js.map} +1 -1
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/{p-ca3ddffb.js → p-086509a5.js} +2 -2
- package/dist/lime-elements/p-086509a5.js.map +1 -0
- package/dist/lime-elements/{p-d0fb7554.entry.js → p-4017a0ec.entry.js} +2 -2
- package/dist/lime-elements/{p-6b5743be.entry.js → p-da20ff72.entry.js} +2 -2
- package/dist/lime-elements/p-dd5affea.entry.js +2 -0
- package/dist/lime-elements/p-dd5affea.entry.js.map +1 -0
- package/dist/lime-elements/{p-5344e8bf.entry.js → p-f6929c67.entry.js} +2 -2
- package/dist/lime-elements/p-f6929c67.entry.js.map +1 -0
- package/dist/types/components/picker/picker.d.ts +1 -0
- package/package.json +1 -1
- package/dist/lime-elements/p-5344e8bf.entry.js.map +0 -1
- package/dist/lime-elements/p-57e21d82.entry.js +0 -2
- package/dist/lime-elements/p-57e21d82.entry.js.map +0 -1
- package/dist/lime-elements/p-ca3ddffb.js.map +0 -1
- /package/dist/lime-elements/{p-d0fb7554.entry.js.map → p-4017a0ec.entry.js.map} +0 -0
- /package/dist/lime-elements/{p-6b5743be.entry.js.map → p-da20ff72.entry.js.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,20 @@
|
|
|
1
|
+
## [37.63.7](https://github.com/Lundalogik/lime-elements/compare/v37.63.6...v37.63.7) (2024-11-26)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
* **markdown:** better image resizing ([3e8cc17](https://github.com/Lundalogik/lime-elements/commit/3e8cc172eacd31ece3848919c44e953452eb77f4)), closes [Lundalogik/crm-feature#4422](https://github.com/Lundalogik/crm-feature/issues/4422)
|
|
8
|
+
|
|
9
|
+
## [37.63.6](https://github.com/Lundalogik/lime-elements/compare/v37.63.5...v37.63.6) (2024-10-22)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
* **picker:** cancel debounced search when disconnected ([359aae6](https://github.com/Lundalogik/lime-elements/commit/359aae633fe27eed848fb70ebac8a823d489928d))
|
|
16
|
+
* **portal:** avoid creating or showing things when disconnected ([95305af](https://github.com/Lundalogik/lime-elements/commit/95305af5edaeece86b0943750130bcecd94c3fef))
|
|
17
|
+
|
|
1
18
|
## [37.63.5](https://github.com/Lundalogik/lime-elements/compare/v37.63.4...v37.63.5) (2024-10-22)
|
|
2
19
|
|
|
3
20
|
|
|
@@ -2016,9 +2016,10 @@ const Portal = class {
|
|
|
2016
2016
|
disconnectedCallback() {
|
|
2017
2017
|
this.removeContainer();
|
|
2018
2018
|
this.destroyPopper();
|
|
2019
|
-
if (this.observer) {
|
|
2019
|
+
if (this.observer && this.container) {
|
|
2020
2020
|
this.observer.unobserve(this.container);
|
|
2021
2021
|
}
|
|
2022
|
+
this.container = null;
|
|
2022
2023
|
}
|
|
2023
2024
|
connectedCallback() {
|
|
2024
2025
|
if (!this.loaded) {
|
|
@@ -2033,6 +2034,9 @@ const Portal = class {
|
|
|
2033
2034
|
this.connectedCallback();
|
|
2034
2035
|
}
|
|
2035
2036
|
init() {
|
|
2037
|
+
if (!this.host.isConnected) {
|
|
2038
|
+
return;
|
|
2039
|
+
}
|
|
2036
2040
|
this.createContainer();
|
|
2037
2041
|
this.hideContainer();
|
|
2038
2042
|
this.attachContainer();
|
|
@@ -2057,6 +2061,7 @@ const Portal = class {
|
|
|
2057
2061
|
onVisible() {
|
|
2058
2062
|
if (!this.container && this.visible) {
|
|
2059
2063
|
this.init();
|
|
2064
|
+
return;
|
|
2060
2065
|
}
|
|
2061
2066
|
if (!this.visible) {
|
|
2062
2067
|
this.animateHideAndCleanup();
|