@limetech/lime-elements 37.61.2 → 37.61.4

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.
Files changed (50) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/cjs/limel-form.cjs.entry.js +6 -0
  3. package/dist/cjs/limel-form.cjs.entry.js.map +1 -1
  4. package/dist/cjs/limel-icon_2.cjs.entry.js +17 -15
  5. package/dist/cjs/limel-icon_2.cjs.entry.js.map +1 -1
  6. package/dist/cjs/limel-info-tile.cjs.entry.js +1 -1
  7. package/dist/cjs/limel-info-tile.cjs.entry.js.map +1 -1
  8. package/dist/cjs/limel-markdown.cjs.entry.js +1 -1
  9. package/dist/cjs/limel-prosemirror-adapter.cjs.entry.js +1 -1
  10. package/dist/cjs/{markdown-parser-23fa389f.js → markdown-parser-c4a1ec47.js} +6 -2
  11. package/dist/cjs/markdown-parser-c4a1ec47.js.map +1 -0
  12. package/dist/collection/components/form/adapters/widget-adapter.js +3 -0
  13. package/dist/collection/components/form/adapters/widget-adapter.js.map +1 -1
  14. package/dist/collection/components/form/fields/schema-field.js +3 -0
  15. package/dist/collection/components/form/fields/schema-field.js.map +1 -1
  16. package/dist/collection/components/info-tile/info-tile.js +1 -1
  17. package/dist/collection/components/info-tile/info-tile.js.map +1 -1
  18. package/dist/collection/components/portal/portal.js +17 -15
  19. package/dist/collection/components/portal/portal.js.map +1 -1
  20. package/dist/esm/limel-form.entry.js +6 -0
  21. package/dist/esm/limel-form.entry.js.map +1 -1
  22. package/dist/esm/limel-icon_2.entry.js +17 -15
  23. package/dist/esm/limel-icon_2.entry.js.map +1 -1
  24. package/dist/esm/limel-info-tile.entry.js +1 -1
  25. package/dist/esm/limel-info-tile.entry.js.map +1 -1
  26. package/dist/esm/limel-markdown.entry.js +1 -1
  27. package/dist/esm/limel-prosemirror-adapter.entry.js +1 -1
  28. package/dist/esm/{markdown-parser-4a4cd2c9.js → markdown-parser-108384e8.js} +6 -2
  29. package/dist/esm/markdown-parser-108384e8.js.map +1 -0
  30. package/dist/lime-elements/lime-elements.css +1 -1
  31. package/dist/lime-elements/lime-elements.esm.js +1 -1
  32. package/dist/lime-elements/p-5862b851.entry.js +2 -0
  33. package/dist/lime-elements/p-5862b851.entry.js.map +1 -0
  34. package/dist/lime-elements/{p-31ebf375.js → p-a7fca1dd.js} +2 -2
  35. package/dist/lime-elements/p-a7fca1dd.js.map +1 -0
  36. package/dist/lime-elements/{p-9bb104b1.entry.js → p-b852d3f5.entry.js} +2 -2
  37. package/dist/lime-elements/{p-9bb104b1.entry.js.map → p-b852d3f5.entry.js.map} +1 -1
  38. package/dist/lime-elements/{p-66bea69a.entry.js → p-c864b34b.entry.js} +2 -2
  39. package/dist/lime-elements/{p-66bea69a.entry.js.map → p-c864b34b.entry.js.map} +1 -1
  40. package/dist/lime-elements/{p-cd04c508.entry.js → p-df684b38.entry.js} +2 -2
  41. package/dist/lime-elements/{p-75cfe1e5.entry.js → p-ee74cfff.entry.js} +2 -2
  42. package/dist/types/components/portal/portal.d.ts +3 -1
  43. package/package.json +3 -3
  44. package/dist/cjs/markdown-parser-23fa389f.js.map +0 -1
  45. package/dist/esm/markdown-parser-4a4cd2c9.js.map +0 -1
  46. package/dist/lime-elements/p-31ebf375.js.map +0 -1
  47. package/dist/lime-elements/p-d7c6ba55.entry.js +0 -2
  48. package/dist/lime-elements/p-d7c6ba55.entry.js.map +0 -1
  49. /package/dist/lime-elements/{p-cd04c508.entry.js.map → p-df684b38.entry.js.map} +0 -0
  50. /package/dist/lime-elements/{p-75cfe1e5.entry.js.map → p-ee74cfff.entry.js.map} +0 -0
@@ -1,2 +1,2 @@
1
- import{r as t,h as e}from"./p-443111b3.js";import{m as r}from"./p-31ebf375.js";import"./p-eab67c09.js";const o='@charset "UTF-8";code{font-family:ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, "DejaVu Sans Mono", monospace;font-size:0.8125rem;letter-spacing:-0.0125rem;color:rgb(var(--contrast-1300));-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none;display:inline-block;border-radius:0.25rem;padding:0.03125rem 0.25rem;background-color:rgb(var(--contrast-600))}pre>code{display:block;margin:0.5rem 0;padding:0.5rem 0.75rem;overflow:auto;white-space:pre-wrap}h1{font-size:1.5rem}h2{font-size:1.25rem}h3{font-size:1.125rem}h4{font-size:1rem}h5{font-size:0.875rem}h6{font-size:0.75rem}h1,h2{margin-top:0.5rem;margin-bottom:0.5rem;letter-spacing:-0.03125rem;font-weight:500}h3,h4{margin-top:0.75rem;margin-bottom:0.25rem;font-weight:600}h5,h6{margin-top:0.5rem;margin-bottom:0.125rem;font-weight:600}h1,h2,h3,h4,h5,h6{word-break:break-word;hyphens:auto;-webkit-hyphens:auto}:not([contenteditable=true]) h1,:not([contenteditable=true]) h2,:not([contenteditable=true]) h3,:not([contenteditable=true]) h4,:not([contenteditable=true]) h5,:not([contenteditable=true]) h6{text-wrap:balance}[contenteditable=true] h1,[contenteditable=true] h2,[contenteditable=true] h3,[contenteditable=true] h4,[contenteditable=true] h5,[contenteditable=true] h6{text-wrap:initial}:host(limel-markdown.truncate-paragraphs) p{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}p,li{font-size:0.875rem;word-break:break-word;hyphens:auto;-webkit-hyphens:auto}a{word-break:break-all}p{margin-top:0;margin-bottom:0.5rem}p:only-child{margin-bottom:0}a{transition:color 0.2s ease;color:var(--markdown-hyperlink-color, rgb(var(--color-blue-dark)));text-decoration:none}a:hover{color:var(--markdown-hyperlink-color--hovered, rgb(var(--color-blue-default)))}hr{margin:1.75rem 0 2rem 0;border-width:0;border-top:1px solid rgb(var(--contrast-500))}ul{list-style:none}ul li{position:relative;margin-left:0.75rem}ul li:before{content:"";position:absolute;left:-0.5rem;top:0.5rem;width:0.25rem;height:0.25rem;border-radius:50%;background-color:rgb(var(--contrast-700));display:block}ol{margin-top:0.25rem;padding-left:1rem}ul{margin-top:0.25rem;padding-left:0}ul ul,ul ol,ol ol,ol ul{margin-left:0}li{margin-bottom:0.25rem}:host(limel-markdown:not(.no-table-styles)) table{table-layout:auto;min-width:100%;border-collapse:collapse;border-spacing:0;background:transparent;margin:0.75rem 0;border:1px solid rgb(var(--contrast-400))}:host(limel-markdown:not(.no-table-styles)) th,:host(limel-markdown:not(.no-table-styles)) td{text-align:left;vertical-align:top;transition:background-color 0.2s ease;font-size:0.875rem}:host(limel-markdown:not(.no-table-styles)) td{padding:0.5rem 0.375rem 0.75rem 0.375rem}:host(limel-markdown:not(.no-table-styles)) tr th{background-color:rgb(var(--contrast-400));padding:0.25rem 0.375rem;font-weight:normal}:host(limel-markdown:not(.no-table-styles)) tr th:only-child{text-align:center}:host(limel-markdown:not(.no-table-styles)) tbody tr:nth-child(odd) td{background-color:rgb(var(--contrast-200))}:host(limel-markdown:not(.no-table-styles)) tbody tr:hover td{background-color:rgb(var(--contrast-300))}blockquote{position:relative;font-weight:100;font-size:0.875rem;max-width:100%;line-height:1.4;margin:0;padding:0.5rem 1.25rem;border-radius:0.05rem 0.75rem;background-color:rgb(var(--contrast-300))}blockquote:before,blockquote:after{position:absolute;font-size:2.75rem;opacity:0.4}blockquote:before{content:"“";left:0;top:-0.75rem}blockquote:after{content:"”";right:0;bottom:-2rem}dl{display:grid;grid-template-columns:1fr 2fr;grid-template-rows:1fr;margin-bottom:2rem;border:1px solid rgb(var(--contrast-400));border-radius:0.375rem;background-color:rgb(var(--contrast-200))}dl dt,dl dd{padding:0.375rem 0.5rem;font-size:0.875rem;margin:0}dl dt:nth-of-type(even),dl dd:nth-of-type(even){background-color:rgb(var(--contrast-300))}dl dt:first-child{border-top-left-radius:0.375rem}dl dt:last-child{border-bottom-left-radius:0.375rem}dl dd:first-child{border-top-right-radius:0.375rem}dl dd:last-child{border-bottom-right-radius:0.375rem}hr{border-top:1px solid rgb(var(--contrast-700))}img{max-width:100%}.MsoNormal{margin:0}';const n=class{constructor(e){t(this,e);this.value=undefined;this.whitelist=undefined}async textChanged(){var t;try{const e=await r(this.value,{forceHardLineBreaks:true,whitelist:(t=this.whitelist)!==null&&t!==void 0?t:[]});this.rootElement.innerHTML=e}catch(t){console.error(t)}}async componentDidLoad(){this.textChanged()}render(){return[e("div",{id:"markdown",ref:t=>this.rootElement=t})]}static get watchers(){return{value:["textChanged"]}}};n.style=o;export{n as limel_markdown};
2
- //# sourceMappingURL=p-75cfe1e5.entry.js.map
1
+ import{r as t,h as e}from"./p-443111b3.js";import{m as r}from"./p-a7fca1dd.js";import"./p-eab67c09.js";const o='@charset "UTF-8";code{font-family:ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, "DejaVu Sans Mono", monospace;font-size:0.8125rem;letter-spacing:-0.0125rem;color:rgb(var(--contrast-1300));-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none;display:inline-block;border-radius:0.25rem;padding:0.03125rem 0.25rem;background-color:rgb(var(--contrast-600))}pre>code{display:block;margin:0.5rem 0;padding:0.5rem 0.75rem;overflow:auto;white-space:pre-wrap}h1{font-size:1.5rem}h2{font-size:1.25rem}h3{font-size:1.125rem}h4{font-size:1rem}h5{font-size:0.875rem}h6{font-size:0.75rem}h1,h2{margin-top:0.5rem;margin-bottom:0.5rem;letter-spacing:-0.03125rem;font-weight:500}h3,h4{margin-top:0.75rem;margin-bottom:0.25rem;font-weight:600}h5,h6{margin-top:0.5rem;margin-bottom:0.125rem;font-weight:600}h1,h2,h3,h4,h5,h6{word-break:break-word;hyphens:auto;-webkit-hyphens:auto}:not([contenteditable=true]) h1,:not([contenteditable=true]) h2,:not([contenteditable=true]) h3,:not([contenteditable=true]) h4,:not([contenteditable=true]) h5,:not([contenteditable=true]) h6{text-wrap:balance}[contenteditable=true] h1,[contenteditable=true] h2,[contenteditable=true] h3,[contenteditable=true] h4,[contenteditable=true] h5,[contenteditable=true] h6{text-wrap:initial}:host(limel-markdown.truncate-paragraphs) p{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}p,li{font-size:0.875rem;word-break:break-word;hyphens:auto;-webkit-hyphens:auto}a{word-break:break-all}p{margin-top:0;margin-bottom:0.5rem}p:only-child{margin-bottom:0}a{transition:color 0.2s ease;color:var(--markdown-hyperlink-color, rgb(var(--color-blue-dark)));text-decoration:none}a:hover{color:var(--markdown-hyperlink-color--hovered, rgb(var(--color-blue-default)))}hr{margin:1.75rem 0 2rem 0;border-width:0;border-top:1px solid rgb(var(--contrast-500))}ul{list-style:none}ul li{position:relative;margin-left:0.75rem}ul li:before{content:"";position:absolute;left:-0.5rem;top:0.5rem;width:0.25rem;height:0.25rem;border-radius:50%;background-color:rgb(var(--contrast-700));display:block}ol{margin-top:0.25rem;padding-left:1rem}ul{margin-top:0.25rem;padding-left:0}ul ul,ul ol,ol ol,ol ul{margin-left:0}li{margin-bottom:0.25rem}:host(limel-markdown:not(.no-table-styles)) table{table-layout:auto;min-width:100%;border-collapse:collapse;border-spacing:0;background:transparent;margin:0.75rem 0;border:1px solid rgb(var(--contrast-400))}:host(limel-markdown:not(.no-table-styles)) th,:host(limel-markdown:not(.no-table-styles)) td{text-align:left;vertical-align:top;transition:background-color 0.2s ease;font-size:0.875rem}:host(limel-markdown:not(.no-table-styles)) td{padding:0.5rem 0.375rem 0.75rem 0.375rem}:host(limel-markdown:not(.no-table-styles)) tr th{background-color:rgb(var(--contrast-400));padding:0.25rem 0.375rem;font-weight:normal}:host(limel-markdown:not(.no-table-styles)) tr th:only-child{text-align:center}:host(limel-markdown:not(.no-table-styles)) tbody tr:nth-child(odd) td{background-color:rgb(var(--contrast-200))}:host(limel-markdown:not(.no-table-styles)) tbody tr:hover td{background-color:rgb(var(--contrast-300))}blockquote{position:relative;font-weight:100;font-size:0.875rem;max-width:100%;line-height:1.4;margin:0;padding:0.5rem 1.25rem;border-radius:0.05rem 0.75rem;background-color:rgb(var(--contrast-300))}blockquote:before,blockquote:after{position:absolute;font-size:2.75rem;opacity:0.4}blockquote:before{content:"“";left:0;top:-0.75rem}blockquote:after{content:"”";right:0;bottom:-2rem}dl{display:grid;grid-template-columns:1fr 2fr;grid-template-rows:1fr;margin-bottom:2rem;border:1px solid rgb(var(--contrast-400));border-radius:0.375rem;background-color:rgb(var(--contrast-200))}dl dt,dl dd{padding:0.375rem 0.5rem;font-size:0.875rem;margin:0}dl dt:nth-of-type(even),dl dd:nth-of-type(even){background-color:rgb(var(--contrast-300))}dl dt:first-child{border-top-left-radius:0.375rem}dl dt:last-child{border-bottom-left-radius:0.375rem}dl dd:first-child{border-top-right-radius:0.375rem}dl dd:last-child{border-bottom-right-radius:0.375rem}hr{border-top:1px solid rgb(var(--contrast-700))}img{max-width:100%}.MsoNormal{margin:0}';const n=class{constructor(e){t(this,e);this.value=undefined;this.whitelist=undefined}async textChanged(){var t;try{const e=await r(this.value,{forceHardLineBreaks:true,whitelist:(t=this.whitelist)!==null&&t!==void 0?t:[]});this.rootElement.innerHTML=e}catch(t){console.error(t)}}async componentDidLoad(){this.textChanged()}render(){return[e("div",{id:"markdown",ref:t=>this.rootElement=t})]}static get watchers(){return{value:["textChanged"]}}};n.style=o;export{n as limel_markdown};
2
+ //# sourceMappingURL=p-ee74cfff.entry.js.map
@@ -103,12 +103,14 @@ export declare class Portal {
103
103
  private hideContainer;
104
104
  private showContainer;
105
105
  private styleContainer;
106
+ private setContainerWidth;
106
107
  private getContentWidth;
108
+ private setContainerStyles;
107
109
  private createPopper;
108
110
  private destroyPopper;
109
111
  private createPopperConfig;
110
112
  private getPlacement;
111
113
  private getFlipPlacement;
112
- private ensureContainerFitsInViewPort;
114
+ private setContainerHeight;
113
115
  }
114
116
  //# sourceMappingURL=portal.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@limetech/lime-elements",
3
- "version": "37.61.2",
3
+ "version": "37.61.4",
4
4
  "description": "Lime Elements",
5
5
  "author": "Lime Technologies",
6
6
  "license": "Apache-2.0",
@@ -56,7 +56,7 @@
56
56
  "@types/html-escaper": "^3.0.2",
57
57
  "@types/jest": "^27.4.0",
58
58
  "@types/lodash-es": "^4.17.12",
59
- "@types/react": "^18.3.7",
59
+ "@types/react": "^18.3.8",
60
60
  "@types/react-dom": "^18.3.0",
61
61
  "@types/tabulator-tables": "^4.9.4",
62
62
  "@typescript-eslint/eslint-plugin": "^8.2.0",
@@ -99,7 +99,7 @@
99
99
  "rehype-stringify": "^10.0.0",
100
100
  "remark-gfm": "^4.0.0",
101
101
  "remark-parse": "^11.0.0",
102
- "remark-rehype": "^11.1.0",
102
+ "remark-rehype": "^11.1.1",
103
103
  "replace-in-file": "^7.2.0",
104
104
  "shelljs": "0.8.5",
105
105
  "shx": "^0.3.3",