@limetech/lime-crm-building-blocks 1.32.2 → 1.32.3

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 (29) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/cjs/limebb-currency-picker.cjs.entry.js +1 -1
  3. package/dist/cjs/limebb-date-picker.cjs.entry.js +1 -1
  4. package/dist/cjs/limebb-feed-timeline-item.cjs.entry.js +14 -3
  5. package/dist/cjs/limebb-feed.cjs.entry.js +1 -1
  6. package/dist/cjs/limebb-limeobject-file-viewer.cjs.entry.js +1 -1
  7. package/dist/cjs/limebb-locale-picker.cjs.entry.js +1 -1
  8. package/dist/cjs/{types-5327b47f.js → types-3a79f256.js} +47 -44
  9. package/dist/collection/components/feed/feed-item/feed-timeline-item.css +3 -1
  10. package/dist/collection/components/feed/feed-item/feed-timeline-item.js +12 -1
  11. package/dist/components/feed-timeline-item.js +13 -2
  12. package/dist/components/types.js +47 -44
  13. package/dist/esm/limebb-currency-picker.entry.js +1 -1
  14. package/dist/esm/limebb-date-picker.entry.js +1 -1
  15. package/dist/esm/limebb-feed-timeline-item.entry.js +14 -3
  16. package/dist/esm/limebb-feed.entry.js +1 -1
  17. package/dist/esm/limebb-limeobject-file-viewer.entry.js +1 -1
  18. package/dist/esm/limebb-locale-picker.entry.js +1 -1
  19. package/dist/esm/{types-737832ab.js → types-f0e027dc.js} +47 -44
  20. package/dist/lime-crm-building-blocks/lime-crm-building-blocks.esm.js +1 -1
  21. package/dist/lime-crm-building-blocks/{p-49c44234.entry.js → p-102dd265.entry.js} +1 -1
  22. package/dist/lime-crm-building-blocks/{p-39d48976.js → p-11eb7b1e.js} +1 -1
  23. package/dist/lime-crm-building-blocks/{p-03d8633c.entry.js → p-31668b58.entry.js} +1 -1
  24. package/dist/lime-crm-building-blocks/{p-00fcd768.entry.js → p-575e0050.entry.js} +1 -1
  25. package/dist/lime-crm-building-blocks/{p-317858e2.entry.js → p-5e0a5876.entry.js} +1 -1
  26. package/dist/lime-crm-building-blocks/p-654da86c.entry.js +1 -0
  27. package/dist/lime-crm-building-blocks/{p-0ca85b0a.entry.js → p-7b0263f8.entry.js} +1 -1
  28. package/package.json +4 -4
  29. package/dist/lime-crm-building-blocks/p-e3fc43bf.entry.js +0 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ### [1.32.3](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.32.2...v1.32.3) (2024-03-21)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+
7
+ * **feed-item:** scroll to the top of the feed-item while collapsing ([f0fae5c](https://github.com/Lundalogik/lime-crm-building-blocks/commit/f0fae5cfff40542444e4b7e94d83877fa72c90f7))
8
+
1
9
  ### [1.32.2](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.32.1...v1.32.2) (2024-03-20)
2
10
 
3
11
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-0ceb2726.js');
6
- const types = require('./types-5327b47f.js');
6
+ const types = require('./types-3a79f256.js');
7
7
 
8
8
  const nordicMarketCurrencies = [
9
9
  { secondaryText: 'Euro', text: 'EUR', icon: 'euro' },
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-0ceb2726.js');
6
- const types = require('./types-5327b47f.js');
6
+ const types = require('./types-3a79f256.js');
7
7
 
8
8
  /**
9
9
  * Create a UTC date with the same values for year, month and day as the given
@@ -3,9 +3,9 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-0ceb2726.js');
6
- const types = require('./types-5327b47f.js');
6
+ const types = require('./types-3a79f256.js');
7
7
 
8
- const feedTimelineItemCss = "@charset \"UTF-8\";*{box-sizing:border-box}:host(limebb-feed-timeline-item){--limebb-feed-item-paddings:0.75rem;display:flex;gap:0.75rem;position:relative;isolation:isolate}:host(limebb-feed-timeline-item:hover) .timestamp{color:rgb(var(--contrast-1100))}:host(limebb-feed-timeline-item[is-bundled]:hover){--limebb-feed-item-timestamp-opacity-delay:0.5s}:host(limebb-feed-timeline-item[is-bundled]:hover) .timestamp{opacity:1}:host(limebb-feed-timeline-item[is-bundled]) .timestamp{opacity:0}.left:before{content:\"\";position:absolute;z-index:0;top:-0.25rem;bottom:-0.25rem;left:1rem;width:1px;background-color:rgb(var(--contrast-600));z-index:-1}.info{position:sticky;top:0.5rem;display:flex;flex-direction:column;align-items:center;gap:0.25rem}.right,.content{display:flex;flex-direction:column;flex-grow:1;min-width:0}.content{border-radius:1rem;gap:0.25rem;padding:var(--limebb-feed-item-paddings)}.header{display:flex;gap:0.25rem;padding-bottom:0.25rem;margin-top:-0.25rem;color:rgb(var(--contrast-900));font-size:0.875rem}:host(.has-unpromoted-actions) .header{padding-right:2rem}.header limel-markdown{--markdown-hyperlink-color:var(--mdc-theme-primary);--markdown-hyperlink-color--hovered:rgb(var(--color-teal-light))}.heading{flex-grow:1;overflow:hidden;white-space:nowrap}.heading.expanded-heading{white-space:normal}button.expand-heading{all:unset;transition:color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease-out;cursor:pointer;color:rgb(var(--color-blue-default));background-color:transparent;border-radius:1rem;padding:0 0.25rem 0.25rem 0.25rem;height:1rem;white-space:nowrap}button.expand-heading:hover{color:rgb(var(--color-blue-default));background-color:var(--lime-elevated-surface-background-color);box-shadow:var(--button-shadow-hovered)}button.expand-heading:active{box-shadow:var(--button-shadow-pressed);transform:translate3d(0, 0.08rem, 0)}button.collapse-heading{all:unset;transition:color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease-out;cursor:pointer;color:var(--mdc-theme-on-surface);background-color:var(--lime-elevated-surface-background-color);box-shadow:var(--button-shadow-normal);flex-shrink:0;display:flex;align-items:center;justify-content:center;border-radius:1.5rem;width:1rem}button.collapse-heading:hover{color:var(--mdc-theme-on-surface);background-color:var(--lime-elevated-surface-background-color);box-shadow:var(--button-shadow-hovered)}button.collapse-heading:active{box-shadow:var(--button-shadow-pressed);transform:translate3d(0, 0.08rem, 0)}button.collapse-heading:focus{outline:none}button.collapse-heading:focus-visible{outline:none;box-shadow:var(--shadow-depth-8-focused)}button.collapse-heading limel-icon{width:0.75rem}.unpromoted-actions-menu{position:absolute;top:0;right:0}.timestamp{transition:color 0.4s ease, opacity 0.2s ease;transition-delay:var(--limebb-feed-item-timestamp-opacity-delay, 0s);font-size:0.75rem;text-align:center;color:rgb(var(--contrast-800));background-color:var(--limebb-feed-background-color);padding:0.125rem 0}.icon{--icon-background-color:var(--limebb-feed-background-color);width:2rem;padding:0.125rem}:host(.has-author-picture) .icon{width:1.5rem}img{border-radius:50%;width:2rem;height:2rem;object-fit:cover;box-shadow:0 0 0 1px rgb(var(--contrast-600))}.author{font-weight:bold;text-decoration:none;white-space:nowrap}a.author{position:relative;cursor:pointer;transition:color 0.2s ease;color:var(--mdc-theme-primary)}a.author:before{transition:opacity 0.2s ease, transform 0.3s ease-out;content:\"\";position:absolute;inset:auto 0 0 0;width:calc(100% - 0.5rem);margin:auto;height:0.125rem;border-radius:1rem;background-color:currentColor;opacity:0;transform:scale(0.6)}a.author:hover{color:rgb(var(--color-teal-light))}a.author:hover:before{opacity:0.3;transform:scale(1)}limel-chip-set{--button-shadow-normal:none;margin-left:-1rem;margin-bottom:-0.5rem}limel-action-bar{--action-bar-item-height:1.75rem;transition:opacity 0.2s ease;justify-content:flex-start;opacity:0.8}.action-bar{display:grid;transition:grid-template-rows var(--limebb-feed-item-action-bar-grid-template-rows-transition-speed, 0.2s) cubic-bezier(1, 0.09, 0, 0.89) var(--limebb-feed-item-action-bar-grid-template-rows-transition-delay, 0s);grid-template-rows:var(--limebb-feed-item-action-bar-grid-template-rows, 1fr)}.action-bar-hider{overflow:hidden}limel-action-bar{transition:padding var(--limebb-feed-item-action-bar-grid-template-rows-transition-speed) cubic-bezier(1, 0.09, 0, 0.89) var(--limebb-feed-item-action-bar-grid-template-rows-transition-delay);padding-bottom:0.5rem}:host(limebb-feed-timeline-item:hover) .action-bar,:host(limebb-feed-timeline-item:focus-within) .action-bar,:host(limebb-feed-timeline-item:focus-visible) .action-bar{--limebb-feed-item-action-bar-grid-template-rows:1fr;will-change:grid-template-rows}:host(limebb-feed-timeline-item:hover) limel-action-bar,:host(limebb-feed-timeline-item:focus-within) limel-action-bar,:host(limebb-feed-timeline-item:focus-visible) limel-action-bar{will-change:opacity;opacity:1}:host(limebb-feed-timeline-item:hover){--limebb-feed-item-action-bar-grid-template-rows-transition-speed:0.46s;--limebb-feed-item-action-bar-grid-template-rows-transition-delay:0.5s}:host(limebb-feed-timeline-item.is-tall) .markdown-container{margin-bottom:0.5rem}:host(limebb-feed-timeline-item.is-tall) .body-text{min-height:10.25rem}:host(limebb-feed-timeline-item.is-tall) .body-text:after{transition:opacity 0.6s ease;content:\"\";opacity:0.26;pointer-events:none;position:absolute;bottom:-0.125rem;right:-0.125rem;left:-0.125rem;height:2.5rem;background:radial-gradient(farthest-side at 50% 100%, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0)) 0 100%, linear-gradient(to bottom, rgb(var(--limebb-feed-item-background-color), 0) 0%, rgb(var(--limebb-feed-item-background-color), 90%) 100%);background-repeat:no-repeat;background-size:100% 0.5rem, 100% 100%}:host(limebb-feed-timeline-item.is-tall.shows-less) .markdown-container{grid-template-rows:0fr}:host(limebb-feed-timeline-item.is-tall.shows-less) .body-text:after{opacity:1}:host(limebb-feed-timeline-item.is-tall.shows-more) .markdown-container{grid-template-rows:1fr}:host(limebb-feed-timeline-item.is-tall.shows-more) #show-more-button limel-icon{rotate:180deg}.markdown-container{transition:grid-template-rows min(var(--body-text-height) * 1.2ms, 500ms) cubic-bezier(1, 0.09, 0, 0.89);position:relative;display:grid}.body-text{display:block;overflow:hidden}#show-more-button{all:unset;transition:color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease-out;cursor:pointer;color:var(--mdc-theme-on-surface);background-color:var(--lime-elevated-surface-background-color);box-shadow:var(--button-shadow-normal);z-index:1;position:absolute;right:0;bottom:-0.6rem;left:0;margin:0 auto;display:flex;align-items:center;justify-content:center;border-radius:3rem;width:2rem;height:1rem}#show-more-button:hover{color:var(--mdc-theme-on-surface);background-color:var(--lime-elevated-surface-background-color);box-shadow:var(--button-shadow-hovered)}#show-more-button:active{box-shadow:var(--button-shadow-pressed);transform:translate3d(0, 0.08rem, 0)}#show-more-button:focus{outline:none}#show-more-button:focus-visible{outline:none;box-shadow:var(--shadow-depth-8-focused)}#show-more-button limel-icon{transition:rotate 0.2s ease 0.5s;color:var(--mdc-theme-primary);width:0.75rem}:host(limebb-feed-timeline-item[ui=standard]) .content{background-color:rgb(var(--limebb-feed-item-background-color))}:host(limebb-feed-timeline-item[ui=emphasized]) .content{border:1px dashed rgb(var(--contrast-800))}:host(limebb-feed-timeline-item[ui=minimal]) limel-markdown{--markdown-hyperlink-color:rgb(var(--contrast-900))}:host(limebb-feed-timeline-item[ui=minimal]) limel-markdown:hover{--markdown-hyperlink-color:rgb(var(--color-blue-default))}:host(limebb-feed-timeline-item[ui=minimal]) a.author{color:rgb(var(--contrast-900))}:host(limebb-feed-timeline-item[ui=minimal]) .header:hover a.author{color:rgb(var(--color-blue-default))}:host(limebb-feed-timeline-item[ui=minimal]) .icon{color:rgb(var(--contrast-900)) !important}:host(limebb-feed-timeline-item[ui=minimal]) .body-text{color:rgb(var(--contrast-900))}:host(limebb-feed-timeline-item[ui=minimal]) .body-text:hover{color:rgb(var(--contrast-1100))}.content{position:relative}.content:before,.content:after{content:\"\";position:absolute;top:1rem;bottom:1rem;left:-0.125rem;width:0.25rem;border-radius:0.25rem}.content:before{background-color:var(--color-code)}:host(limebb-feed-timeline-item[type=external]) .content:before,:host(limebb-feed-timeline-item[type=external]) .content:after{left:calc(-0.125rem - 0.5px)}:host(limebb-feed-timeline-item[type=system]) .content:before{opacity:0.25}:host(limebb-feed-timeline-item[type=system]) .content:after{opacity:0.5;background:repeating-linear-gradient(45deg, var(--color-code), var(--color-code) 0.5rem, transparent 0.5rem, transparent 1rem);background-size:0.25rem 100%;background-repeat:repeat-y;background-position:left;rotate:180deg}";
8
+ const feedTimelineItemCss = "@charset \"UTF-8\";*{box-sizing:border-box}:host(limebb-feed-timeline-item){--limebb-feed-item-paddings:0.75rem;display:flex;gap:0.75rem;position:relative;isolation:isolate}:host(limebb-feed-timeline-item:hover) .timestamp{color:rgb(var(--contrast-1100))}:host(limebb-feed-timeline-item[is-bundled]:hover){--limebb-feed-item-timestamp-opacity-delay:0.5s}:host(limebb-feed-timeline-item[is-bundled]:hover) .timestamp{opacity:1}:host(limebb-feed-timeline-item[is-bundled]) .timestamp{opacity:0}.left:before{content:\"\";position:absolute;z-index:0;top:-0.25rem;bottom:-0.25rem;left:1rem;width:1px;background-color:rgb(var(--contrast-600));z-index:-1}.info{position:sticky;top:0.5rem;display:flex;flex-direction:column;align-items:center;gap:0.25rem}.right,.content{display:flex;flex-direction:column;flex-grow:1;min-width:0}.content{border-radius:1rem;gap:0.25rem;padding:var(--limebb-feed-item-paddings)}.header{display:flex;gap:0.25rem;padding-bottom:0.25rem;margin-top:-0.25rem;color:rgb(var(--contrast-900));font-size:0.875rem}:host(.has-unpromoted-actions) .header{padding-right:2rem}.header limel-markdown{--markdown-hyperlink-color:var(--mdc-theme-primary);--markdown-hyperlink-color--hovered:rgb(var(--color-teal-light))}.heading{flex-grow:1;overflow:hidden;white-space:nowrap}.heading.expanded-heading{white-space:normal}button.expand-heading{all:unset;transition:color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease-out;cursor:pointer;color:rgb(var(--color-blue-default));background-color:transparent;border-radius:1rem;padding:0 0.25rem 0.25rem 0.25rem;height:1rem;white-space:nowrap}button.expand-heading:hover{color:rgb(var(--color-blue-default));background-color:var(--lime-elevated-surface-background-color);box-shadow:var(--button-shadow-hovered)}button.expand-heading:active{box-shadow:var(--button-shadow-pressed);transform:translate3d(0, 0.08rem, 0)}button.collapse-heading{all:unset;transition:color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease-out;cursor:pointer;color:var(--mdc-theme-on-surface);background-color:var(--lime-elevated-surface-background-color);box-shadow:var(--button-shadow-normal);flex-shrink:0;display:flex;align-items:center;justify-content:center;border-radius:1.5rem;width:1rem}button.collapse-heading:hover{color:var(--mdc-theme-on-surface);background-color:var(--lime-elevated-surface-background-color);box-shadow:var(--button-shadow-hovered)}button.collapse-heading:active{box-shadow:var(--button-shadow-pressed);transform:translate3d(0, 0.08rem, 0)}button.collapse-heading:focus{outline:none}button.collapse-heading:focus-visible{outline:none;box-shadow:var(--shadow-depth-8-focused)}button.collapse-heading limel-icon{width:0.75rem}.unpromoted-actions-menu{position:absolute;top:0;right:0}.timestamp{transition:color 0.4s ease, opacity 0.2s ease;transition-delay:var(--limebb-feed-item-timestamp-opacity-delay, 0s);font-size:0.75rem;text-align:center;color:rgb(var(--contrast-800));background-color:var(--limebb-feed-background-color);padding:0.125rem 0}.icon{--icon-background-color:var(--limebb-feed-background-color);width:2rem;padding:0.125rem}:host(.has-author-picture) .icon{width:1.5rem}img{border-radius:50%;width:2rem;height:2rem;object-fit:cover;box-shadow:0 0 0 1px rgb(var(--contrast-600))}.author{font-weight:bold;text-decoration:none;white-space:nowrap}a.author{position:relative;cursor:pointer;transition:color 0.2s ease;color:var(--mdc-theme-primary)}a.author:before{transition:opacity 0.2s ease, transform 0.3s ease-out;content:\"\";position:absolute;inset:auto 0 0 0;width:calc(100% - 0.5rem);margin:auto;height:0.125rem;border-radius:1rem;background-color:currentColor;opacity:0;transform:scale(0.6)}a.author:hover{color:rgb(var(--color-teal-light))}a.author:hover:before{opacity:0.3;transform:scale(1)}limel-chip-set{--button-shadow-normal:none;margin-left:-1rem;margin-bottom:-0.5rem}limel-action-bar{--action-bar-item-height:1.75rem;transition:opacity 0.2s ease;justify-content:flex-start;opacity:0.8}.action-bar{display:grid;transition:grid-template-rows var(--limebb-feed-item-action-bar-grid-template-rows-transition-speed, 0.2s) cubic-bezier(1, 0.09, 0, 0.89) var(--limebb-feed-item-action-bar-grid-template-rows-transition-delay, 0s);grid-template-rows:var(--limebb-feed-item-action-bar-grid-template-rows, 1fr)}.action-bar-hider{overflow:hidden}limel-action-bar{transition:padding var(--limebb-feed-item-action-bar-grid-template-rows-transition-speed) cubic-bezier(1, 0.09, 0, 0.89) var(--limebb-feed-item-action-bar-grid-template-rows-transition-delay);padding-bottom:0.5rem}:host(limebb-feed-timeline-item:hover) .action-bar,:host(limebb-feed-timeline-item:focus-within) .action-bar,:host(limebb-feed-timeline-item:focus-visible) .action-bar{--limebb-feed-item-action-bar-grid-template-rows:1fr;will-change:grid-template-rows}:host(limebb-feed-timeline-item:hover) limel-action-bar,:host(limebb-feed-timeline-item:focus-within) limel-action-bar,:host(limebb-feed-timeline-item:focus-visible) limel-action-bar{will-change:opacity;opacity:1}:host(limebb-feed-timeline-item:hover){--limebb-feed-item-action-bar-grid-template-rows-transition-speed:0.46s;--limebb-feed-item-action-bar-grid-template-rows-transition-delay:0.5s}:host(limebb-feed-timeline-item.is-tall) .markdown-container{margin-bottom:0.5rem}:host(limebb-feed-timeline-item.is-tall) .body-text{min-height:10.25rem}:host(limebb-feed-timeline-item.is-tall) .body-text:after{transition:opacity 0.6s ease;content:\"\";opacity:0.26;pointer-events:none;position:absolute;bottom:-0.125rem;right:-0.125rem;left:-0.125rem;height:2.5rem;background:radial-gradient(farthest-side at 50% 100%, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0)) 0 100%, linear-gradient(to bottom, rgb(var(--limebb-feed-item-background-color), 0) 0%, rgb(var(--limebb-feed-item-background-color), 90%) 100%);background-repeat:no-repeat;background-size:100% 0.5rem, 100% 100%}:host(limebb-feed-timeline-item.is-tall.shows-less) .markdown-container{grid-template-rows:0fr}:host(limebb-feed-timeline-item.is-tall.shows-less) .body-text:after{opacity:1}:host(limebb-feed-timeline-item.is-tall.shows-more) .markdown-container{grid-template-rows:1fr}:host(limebb-feed-timeline-item.is-tall.shows-more) #show-more-button limel-icon{rotate:180deg}.markdown-container{position:relative;display:grid}.markdown-container:not(.opened){transition:grid-template-rows min(var(--body-text-height) * 1.2ms, 500ms) cubic-bezier(1, 0.09, 0, 0.89)}.body-text{display:block;overflow:hidden}#show-more-button{all:unset;transition:color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease-out;cursor:pointer;color:var(--mdc-theme-on-surface);background-color:var(--lime-elevated-surface-background-color);box-shadow:var(--button-shadow-normal);z-index:1;position:absolute;right:0;bottom:-0.6rem;left:0;margin:0 auto;display:flex;align-items:center;justify-content:center;border-radius:3rem;width:2rem;height:1rem}#show-more-button:hover{color:var(--mdc-theme-on-surface);background-color:var(--lime-elevated-surface-background-color);box-shadow:var(--button-shadow-hovered)}#show-more-button:active{box-shadow:var(--button-shadow-pressed);transform:translate3d(0, 0.08rem, 0)}#show-more-button:focus{outline:none}#show-more-button:focus-visible{outline:none;box-shadow:var(--shadow-depth-8-focused)}#show-more-button limel-icon{transition:rotate 0.2s ease 0.5s;color:var(--mdc-theme-primary);width:0.75rem}:host(limebb-feed-timeline-item[ui=standard]) .content{background-color:rgb(var(--limebb-feed-item-background-color))}:host(limebb-feed-timeline-item[ui=emphasized]) .content{border:1px dashed rgb(var(--contrast-800))}:host(limebb-feed-timeline-item[ui=minimal]) limel-markdown{--markdown-hyperlink-color:rgb(var(--contrast-900))}:host(limebb-feed-timeline-item[ui=minimal]) limel-markdown:hover{--markdown-hyperlink-color:rgb(var(--color-blue-default))}:host(limebb-feed-timeline-item[ui=minimal]) a.author{color:rgb(var(--contrast-900))}:host(limebb-feed-timeline-item[ui=minimal]) .header:hover a.author{color:rgb(var(--color-blue-default))}:host(limebb-feed-timeline-item[ui=minimal]) .icon{color:rgb(var(--contrast-900)) !important}:host(limebb-feed-timeline-item[ui=minimal]) .body-text{color:rgb(var(--contrast-900))}:host(limebb-feed-timeline-item[ui=minimal]) .body-text:hover{color:rgb(var(--contrast-1100))}.content{position:relative}.content:before,.content:after{content:\"\";position:absolute;top:1rem;bottom:1rem;left:-0.125rem;width:0.25rem;border-radius:0.25rem}.content:before{background-color:var(--color-code)}:host(limebb-feed-timeline-item[type=external]) .content:before,:host(limebb-feed-timeline-item[type=external]) .content:after{left:calc(-0.125rem - 0.5px)}:host(limebb-feed-timeline-item[type=system]) .content:before{opacity:0.25}:host(limebb-feed-timeline-item[type=system]) .content:after{opacity:0.5;background:repeating-linear-gradient(45deg, var(--color-code), var(--color-code) 0.5rem, transparent 0.5rem, transparent 1rem);background-size:0.25rem 100%;background-repeat:repeat-y;background-position:left;rotate:180deg}";
9
9
 
10
10
  const FeedTimelineItem = class {
11
11
  constructor(hostRef) {
@@ -95,6 +95,14 @@ const FeedTimelineItem = class {
95
95
  };
96
96
  this.toggleShowMore = () => {
97
97
  this.showMore = !this.showMore;
98
+ // Scroll to the top of the feed item when collapsed
99
+ if (!this.showMore) {
100
+ const feedItemHeight = this.el.offsetHeight;
101
+ const viewportHeight = window.innerHeight;
102
+ if (feedItemHeight >= viewportHeight) {
103
+ this.el.scrollIntoView({ behavior: 'auto' });
104
+ }
105
+ }
98
106
  };
99
107
  this.toggleHeadingExpansion = () => {
100
108
  this.isHeadingExpanded = !this.isHeadingExpanded;
@@ -235,7 +243,10 @@ const FeedTimelineItem = class {
235
243
  return;
236
244
  }
237
245
  return [
238
- index.h("div", { class: "markdown-container" }, index.h("limel-markdown", { class: "body-text", value: this.item.value, ref: this.setBodyTextElement }), this.renderShowMoreButton()),
246
+ index.h("div", { class: "markdown-container" }, index.h("limel-markdown", { class: {
247
+ 'body-text': true,
248
+ opened: this.showMore,
249
+ }, value: this.item.value, ref: this.setBodyTextElement }), this.renderShowMoreButton()),
239
250
  ];
240
251
  }
241
252
  isTextTruncated(element) {
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-0ceb2726.js');
6
- const types = require('./types-5327b47f.js');
6
+ const types = require('./types-3a79f256.js');
7
7
 
8
8
  function getRoundingMethod(method) {
9
9
  return (number) => {
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-0ceb2726.js');
6
- const types = require('./types-5327b47f.js');
6
+ const types = require('./types-3a79f256.js');
7
7
 
8
8
  function isFunction(value) {
9
9
  return typeof value === 'function';
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-0ceb2726.js');
6
- const types = require('./types-5327b47f.js');
6
+ const types = require('./types-3a79f256.js');
7
7
 
8
8
  /** Detect free variable `global` from Node.js. */
9
9
  var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
@@ -9,8 +9,8 @@ const PlatformServiceName = {
9
9
  Route: 'route',
10
10
  };
11
11
 
12
- const SERVICE_NAME$l = 'state.limetypes';
13
- PlatformServiceName.LimeTypeRepository = SERVICE_NAME$l;
12
+ const SERVICE_NAME$m = 'state.limetypes';
13
+ PlatformServiceName.LimeTypeRepository = SERVICE_NAME$m;
14
14
 
15
15
  /******************************************************************************
16
16
  Copyright (c) Microsoft Corporation.
@@ -39,8 +39,8 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
39
39
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
40
40
  };
41
41
 
42
- const SERVICE_NAME$k = 'state.limeobjects';
43
- PlatformServiceName.LimeObjectRepository = SERVICE_NAME$k;
42
+ const SERVICE_NAME$l = 'state.limeobjects';
43
+ PlatformServiceName.LimeObjectRepository = SERVICE_NAME$l;
44
44
 
45
45
  /**
46
46
  * Events dispatched by the commandbus event middleware
@@ -138,8 +138,8 @@ function getCommandIds(value) {
138
138
  return Array.from(new Set(ids));
139
139
  }
140
140
 
141
- const SERVICE_NAME$j = 'commandBus';
142
- PlatformServiceName.CommandBus = SERVICE_NAME$j;
141
+ const SERVICE_NAME$k = 'commandBus';
142
+ PlatformServiceName.CommandBus = SERVICE_NAME$k;
143
143
 
144
144
  /**
145
145
  * Open a dialog for bulk creating limeobjects
@@ -290,26 +290,26 @@ var Operator;
290
290
  Operator["ENDS"] = "=$";
291
291
  })(Operator || (Operator = {}));
292
292
 
293
- const SERVICE_NAME$i = 'query';
294
- PlatformServiceName.Query = SERVICE_NAME$i;
293
+ const SERVICE_NAME$j = 'query';
294
+ PlatformServiceName.Query = SERVICE_NAME$j;
295
295
 
296
- const SERVICE_NAME$h = 'http';
297
- PlatformServiceName.Http = SERVICE_NAME$h;
296
+ const SERVICE_NAME$i = 'http';
297
+ PlatformServiceName.Http = SERVICE_NAME$i;
298
298
 
299
- const SERVICE_NAME$g = 'eventDispatcher';
300
- PlatformServiceName.EventDispatcher = SERVICE_NAME$g;
299
+ const SERVICE_NAME$h = 'eventDispatcher';
300
+ PlatformServiceName.EventDispatcher = SERVICE_NAME$h;
301
301
 
302
- const SERVICE_NAME$f = 'translate';
303
- PlatformServiceName.Translate = SERVICE_NAME$f;
302
+ const SERVICE_NAME$g = 'translate';
303
+ PlatformServiceName.Translate = SERVICE_NAME$g;
304
304
 
305
- const SERVICE_NAME$e = 'dialog';
306
- PlatformServiceName.Dialog = SERVICE_NAME$e;
305
+ const SERVICE_NAME$f = 'dialog';
306
+ PlatformServiceName.Dialog = SERVICE_NAME$f;
307
307
 
308
- const SERVICE_NAME$d = 'keybindingRegistry';
309
- PlatformServiceName.KeybindingRegistry = SERVICE_NAME$d;
308
+ const SERVICE_NAME$e = 'keybindingRegistry';
309
+ PlatformServiceName.KeybindingRegistry = SERVICE_NAME$e;
310
310
 
311
- const SERVICE_NAME$c = 'navigator';
312
- PlatformServiceName.Navigator = SERVICE_NAME$c;
311
+ const SERVICE_NAME$d = 'navigator';
312
+ PlatformServiceName.Navigator = SERVICE_NAME$d;
313
313
 
314
314
  /**
315
315
  * Navigates to a new location
@@ -326,11 +326,11 @@ NavigateCommand = __decorate([
326
326
  })
327
327
  ], NavigateCommand);
328
328
 
329
- const SERVICE_NAME$b = 'notifications';
330
- PlatformServiceName.Notification = SERVICE_NAME$b;
329
+ const SERVICE_NAME$c = 'notifications';
330
+ PlatformServiceName.Notification = SERVICE_NAME$c;
331
331
 
332
- const SERVICE_NAME$a = 'routeRegistry';
333
- PlatformServiceName.RouteRegistry = SERVICE_NAME$a;
332
+ const SERVICE_NAME$b = 'routeRegistry';
333
+ PlatformServiceName.RouteRegistry = SERVICE_NAME$b;
334
334
 
335
335
  /**
336
336
  * @public
@@ -386,34 +386,37 @@ var TaskEventType;
386
386
  TaskEventType["Failed"] = "task.failed";
387
387
  })(TaskEventType || (TaskEventType = {}));
388
388
 
389
- const SERVICE_NAME$9 = 'state.tasks';
390
- PlatformServiceName.TaskRepository = SERVICE_NAME$9;
389
+ const SERVICE_NAME$a = 'state.tasks';
390
+ PlatformServiceName.TaskRepository = SERVICE_NAME$a;
391
391
 
392
- const SERVICE_NAME$8 = 'state.configs';
393
- PlatformServiceName.ConfigRepository = SERVICE_NAME$8;
392
+ const SERVICE_NAME$9 = 'state.configs';
393
+ PlatformServiceName.ConfigRepository = SERVICE_NAME$9;
394
394
 
395
- const SERVICE_NAME$7 = 'state.device';
396
- PlatformServiceName.Device = SERVICE_NAME$7;
395
+ const SERVICE_NAME$8 = 'state.device';
396
+ PlatformServiceName.Device = SERVICE_NAME$8;
397
397
 
398
- const SERVICE_NAME$6 = 'state.filters';
399
- PlatformServiceName.FilterRepository = SERVICE_NAME$6;
398
+ const SERVICE_NAME$7 = 'state.filters';
399
+ PlatformServiceName.FilterRepository = SERVICE_NAME$7;
400
400
 
401
- const SERVICE_NAME$5 = 'state.user-data';
402
- PlatformServiceName.UserDataRepository = SERVICE_NAME$5;
401
+ const SERVICE_NAME$6 = 'state.user-data';
402
+ PlatformServiceName.UserDataRepository = SERVICE_NAME$6;
403
403
 
404
- const SERVICE_NAME$4 = 'state.application';
405
- PlatformServiceName.Application = SERVICE_NAME$4;
404
+ const SERVICE_NAME$5 = 'state.application';
405
+ PlatformServiceName.Application = SERVICE_NAME$5;
406
406
 
407
- const SERVICE_NAME$3 = 'userPreferences';
408
- PlatformServiceName.UserPreferencesRepository = SERVICE_NAME$3;
407
+ const SERVICE_NAME$4 = 'userPreferences';
408
+ PlatformServiceName.UserPreferencesRepository = SERVICE_NAME$4;
409
409
 
410
- const SERVICE_NAME$2 = 'datetimeformatter';
411
- PlatformServiceName.DateTimeFormatter = SERVICE_NAME$2;
410
+ const SERVICE_NAME$3 = 'datetimeformatter';
411
+ PlatformServiceName.DateTimeFormatter = SERVICE_NAME$3;
412
412
 
413
- const SERVICE_NAME$1 = 'conditionRegistry';
414
- PlatformServiceName.ConditionRegistry = SERVICE_NAME$1;
413
+ const SERVICE_NAME$2 = 'conditionRegistry';
414
+ PlatformServiceName.ConditionRegistry = SERVICE_NAME$2;
415
415
 
416
- const SERVICE_NAME = 'viewFactoryRegistry';
417
- PlatformServiceName.ViewFactoryRegistry = SERVICE_NAME;
416
+ const SERVICE_NAME$1 = 'viewFactoryRegistry';
417
+ PlatformServiceName.ViewFactoryRegistry = SERVICE_NAME$1;
418
+
419
+ const SERVICE_NAME = 'webComponentRegistry';
420
+ PlatformServiceName.WebComponentRegistry = SERVICE_NAME;
418
421
 
419
422
  exports.PlatformServiceName = PlatformServiceName;
@@ -342,10 +342,12 @@ limel-action-bar {
342
342
  }
343
343
 
344
344
  .markdown-container {
345
- transition: grid-template-rows min(var(--body-text-height) * 1.2ms, 500ms) cubic-bezier(1, 0.09, 0, 0.89);
346
345
  position: relative;
347
346
  display: grid;
348
347
  }
348
+ .markdown-container:not(.opened) {
349
+ transition: grid-template-rows min(var(--body-text-height) * 1.2ms, 500ms) cubic-bezier(1, 0.09, 0, 0.89);
350
+ }
349
351
 
350
352
  .body-text {
351
353
  display: block;
@@ -92,6 +92,14 @@ export class FeedTimelineItem {
92
92
  };
93
93
  this.toggleShowMore = () => {
94
94
  this.showMore = !this.showMore;
95
+ // Scroll to the top of the feed item when collapsed
96
+ if (!this.showMore) {
97
+ const feedItemHeight = this.el.offsetHeight;
98
+ const viewportHeight = window.innerHeight;
99
+ if (feedItemHeight >= viewportHeight) {
100
+ this.el.scrollIntoView({ behavior: 'auto' });
101
+ }
102
+ }
95
103
  };
96
104
  this.toggleHeadingExpansion = () => {
97
105
  this.isHeadingExpanded = !this.isHeadingExpanded;
@@ -232,7 +240,10 @@ export class FeedTimelineItem {
232
240
  return;
233
241
  }
234
242
  return [
235
- h("div", { class: "markdown-container" }, h("limel-markdown", { class: "body-text", value: this.item.value, ref: this.setBodyTextElement }), this.renderShowMoreButton()),
243
+ h("div", { class: "markdown-container" }, h("limel-markdown", { class: {
244
+ 'body-text': true,
245
+ opened: this.showMore,
246
+ }, value: this.item.value, ref: this.setBodyTextElement }), this.renderShowMoreButton()),
236
247
  ];
237
248
  }
238
249
  isTextTruncated(element) {
@@ -1,7 +1,7 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
2
  import { P as PlatformServiceName } from './types.js';
3
3
 
4
- const feedTimelineItemCss = "@charset \"UTF-8\";*{box-sizing:border-box}:host(limebb-feed-timeline-item){--limebb-feed-item-paddings:0.75rem;display:flex;gap:0.75rem;position:relative;isolation:isolate}:host(limebb-feed-timeline-item:hover) .timestamp{color:rgb(var(--contrast-1100))}:host(limebb-feed-timeline-item[is-bundled]:hover){--limebb-feed-item-timestamp-opacity-delay:0.5s}:host(limebb-feed-timeline-item[is-bundled]:hover) .timestamp{opacity:1}:host(limebb-feed-timeline-item[is-bundled]) .timestamp{opacity:0}.left:before{content:\"\";position:absolute;z-index:0;top:-0.25rem;bottom:-0.25rem;left:1rem;width:1px;background-color:rgb(var(--contrast-600));z-index:-1}.info{position:sticky;top:0.5rem;display:flex;flex-direction:column;align-items:center;gap:0.25rem}.right,.content{display:flex;flex-direction:column;flex-grow:1;min-width:0}.content{border-radius:1rem;gap:0.25rem;padding:var(--limebb-feed-item-paddings)}.header{display:flex;gap:0.25rem;padding-bottom:0.25rem;margin-top:-0.25rem;color:rgb(var(--contrast-900));font-size:0.875rem}:host(.has-unpromoted-actions) .header{padding-right:2rem}.header limel-markdown{--markdown-hyperlink-color:var(--mdc-theme-primary);--markdown-hyperlink-color--hovered:rgb(var(--color-teal-light))}.heading{flex-grow:1;overflow:hidden;white-space:nowrap}.heading.expanded-heading{white-space:normal}button.expand-heading{all:unset;transition:color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease-out;cursor:pointer;color:rgb(var(--color-blue-default));background-color:transparent;border-radius:1rem;padding:0 0.25rem 0.25rem 0.25rem;height:1rem;white-space:nowrap}button.expand-heading:hover{color:rgb(var(--color-blue-default));background-color:var(--lime-elevated-surface-background-color);box-shadow:var(--button-shadow-hovered)}button.expand-heading:active{box-shadow:var(--button-shadow-pressed);transform:translate3d(0, 0.08rem, 0)}button.collapse-heading{all:unset;transition:color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease-out;cursor:pointer;color:var(--mdc-theme-on-surface);background-color:var(--lime-elevated-surface-background-color);box-shadow:var(--button-shadow-normal);flex-shrink:0;display:flex;align-items:center;justify-content:center;border-radius:1.5rem;width:1rem}button.collapse-heading:hover{color:var(--mdc-theme-on-surface);background-color:var(--lime-elevated-surface-background-color);box-shadow:var(--button-shadow-hovered)}button.collapse-heading:active{box-shadow:var(--button-shadow-pressed);transform:translate3d(0, 0.08rem, 0)}button.collapse-heading:focus{outline:none}button.collapse-heading:focus-visible{outline:none;box-shadow:var(--shadow-depth-8-focused)}button.collapse-heading limel-icon{width:0.75rem}.unpromoted-actions-menu{position:absolute;top:0;right:0}.timestamp{transition:color 0.4s ease, opacity 0.2s ease;transition-delay:var(--limebb-feed-item-timestamp-opacity-delay, 0s);font-size:0.75rem;text-align:center;color:rgb(var(--contrast-800));background-color:var(--limebb-feed-background-color);padding:0.125rem 0}.icon{--icon-background-color:var(--limebb-feed-background-color);width:2rem;padding:0.125rem}:host(.has-author-picture) .icon{width:1.5rem}img{border-radius:50%;width:2rem;height:2rem;object-fit:cover;box-shadow:0 0 0 1px rgb(var(--contrast-600))}.author{font-weight:bold;text-decoration:none;white-space:nowrap}a.author{position:relative;cursor:pointer;transition:color 0.2s ease;color:var(--mdc-theme-primary)}a.author:before{transition:opacity 0.2s ease, transform 0.3s ease-out;content:\"\";position:absolute;inset:auto 0 0 0;width:calc(100% - 0.5rem);margin:auto;height:0.125rem;border-radius:1rem;background-color:currentColor;opacity:0;transform:scale(0.6)}a.author:hover{color:rgb(var(--color-teal-light))}a.author:hover:before{opacity:0.3;transform:scale(1)}limel-chip-set{--button-shadow-normal:none;margin-left:-1rem;margin-bottom:-0.5rem}limel-action-bar{--action-bar-item-height:1.75rem;transition:opacity 0.2s ease;justify-content:flex-start;opacity:0.8}.action-bar{display:grid;transition:grid-template-rows var(--limebb-feed-item-action-bar-grid-template-rows-transition-speed, 0.2s) cubic-bezier(1, 0.09, 0, 0.89) var(--limebb-feed-item-action-bar-grid-template-rows-transition-delay, 0s);grid-template-rows:var(--limebb-feed-item-action-bar-grid-template-rows, 1fr)}.action-bar-hider{overflow:hidden}limel-action-bar{transition:padding var(--limebb-feed-item-action-bar-grid-template-rows-transition-speed) cubic-bezier(1, 0.09, 0, 0.89) var(--limebb-feed-item-action-bar-grid-template-rows-transition-delay);padding-bottom:0.5rem}:host(limebb-feed-timeline-item:hover) .action-bar,:host(limebb-feed-timeline-item:focus-within) .action-bar,:host(limebb-feed-timeline-item:focus-visible) .action-bar{--limebb-feed-item-action-bar-grid-template-rows:1fr;will-change:grid-template-rows}:host(limebb-feed-timeline-item:hover) limel-action-bar,:host(limebb-feed-timeline-item:focus-within) limel-action-bar,:host(limebb-feed-timeline-item:focus-visible) limel-action-bar{will-change:opacity;opacity:1}:host(limebb-feed-timeline-item:hover){--limebb-feed-item-action-bar-grid-template-rows-transition-speed:0.46s;--limebb-feed-item-action-bar-grid-template-rows-transition-delay:0.5s}:host(limebb-feed-timeline-item.is-tall) .markdown-container{margin-bottom:0.5rem}:host(limebb-feed-timeline-item.is-tall) .body-text{min-height:10.25rem}:host(limebb-feed-timeline-item.is-tall) .body-text:after{transition:opacity 0.6s ease;content:\"\";opacity:0.26;pointer-events:none;position:absolute;bottom:-0.125rem;right:-0.125rem;left:-0.125rem;height:2.5rem;background:radial-gradient(farthest-side at 50% 100%, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0)) 0 100%, linear-gradient(to bottom, rgb(var(--limebb-feed-item-background-color), 0) 0%, rgb(var(--limebb-feed-item-background-color), 90%) 100%);background-repeat:no-repeat;background-size:100% 0.5rem, 100% 100%}:host(limebb-feed-timeline-item.is-tall.shows-less) .markdown-container{grid-template-rows:0fr}:host(limebb-feed-timeline-item.is-tall.shows-less) .body-text:after{opacity:1}:host(limebb-feed-timeline-item.is-tall.shows-more) .markdown-container{grid-template-rows:1fr}:host(limebb-feed-timeline-item.is-tall.shows-more) #show-more-button limel-icon{rotate:180deg}.markdown-container{transition:grid-template-rows min(var(--body-text-height) * 1.2ms, 500ms) cubic-bezier(1, 0.09, 0, 0.89);position:relative;display:grid}.body-text{display:block;overflow:hidden}#show-more-button{all:unset;transition:color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease-out;cursor:pointer;color:var(--mdc-theme-on-surface);background-color:var(--lime-elevated-surface-background-color);box-shadow:var(--button-shadow-normal);z-index:1;position:absolute;right:0;bottom:-0.6rem;left:0;margin:0 auto;display:flex;align-items:center;justify-content:center;border-radius:3rem;width:2rem;height:1rem}#show-more-button:hover{color:var(--mdc-theme-on-surface);background-color:var(--lime-elevated-surface-background-color);box-shadow:var(--button-shadow-hovered)}#show-more-button:active{box-shadow:var(--button-shadow-pressed);transform:translate3d(0, 0.08rem, 0)}#show-more-button:focus{outline:none}#show-more-button:focus-visible{outline:none;box-shadow:var(--shadow-depth-8-focused)}#show-more-button limel-icon{transition:rotate 0.2s ease 0.5s;color:var(--mdc-theme-primary);width:0.75rem}:host(limebb-feed-timeline-item[ui=standard]) .content{background-color:rgb(var(--limebb-feed-item-background-color))}:host(limebb-feed-timeline-item[ui=emphasized]) .content{border:1px dashed rgb(var(--contrast-800))}:host(limebb-feed-timeline-item[ui=minimal]) limel-markdown{--markdown-hyperlink-color:rgb(var(--contrast-900))}:host(limebb-feed-timeline-item[ui=minimal]) limel-markdown:hover{--markdown-hyperlink-color:rgb(var(--color-blue-default))}:host(limebb-feed-timeline-item[ui=minimal]) a.author{color:rgb(var(--contrast-900))}:host(limebb-feed-timeline-item[ui=minimal]) .header:hover a.author{color:rgb(var(--color-blue-default))}:host(limebb-feed-timeline-item[ui=minimal]) .icon{color:rgb(var(--contrast-900)) !important}:host(limebb-feed-timeline-item[ui=minimal]) .body-text{color:rgb(var(--contrast-900))}:host(limebb-feed-timeline-item[ui=minimal]) .body-text:hover{color:rgb(var(--contrast-1100))}.content{position:relative}.content:before,.content:after{content:\"\";position:absolute;top:1rem;bottom:1rem;left:-0.125rem;width:0.25rem;border-radius:0.25rem}.content:before{background-color:var(--color-code)}:host(limebb-feed-timeline-item[type=external]) .content:before,:host(limebb-feed-timeline-item[type=external]) .content:after{left:calc(-0.125rem - 0.5px)}:host(limebb-feed-timeline-item[type=system]) .content:before{opacity:0.25}:host(limebb-feed-timeline-item[type=system]) .content:after{opacity:0.5;background:repeating-linear-gradient(45deg, var(--color-code), var(--color-code) 0.5rem, transparent 0.5rem, transparent 1rem);background-size:0.25rem 100%;background-repeat:repeat-y;background-position:left;rotate:180deg}";
4
+ const feedTimelineItemCss = "@charset \"UTF-8\";*{box-sizing:border-box}:host(limebb-feed-timeline-item){--limebb-feed-item-paddings:0.75rem;display:flex;gap:0.75rem;position:relative;isolation:isolate}:host(limebb-feed-timeline-item:hover) .timestamp{color:rgb(var(--contrast-1100))}:host(limebb-feed-timeline-item[is-bundled]:hover){--limebb-feed-item-timestamp-opacity-delay:0.5s}:host(limebb-feed-timeline-item[is-bundled]:hover) .timestamp{opacity:1}:host(limebb-feed-timeline-item[is-bundled]) .timestamp{opacity:0}.left:before{content:\"\";position:absolute;z-index:0;top:-0.25rem;bottom:-0.25rem;left:1rem;width:1px;background-color:rgb(var(--contrast-600));z-index:-1}.info{position:sticky;top:0.5rem;display:flex;flex-direction:column;align-items:center;gap:0.25rem}.right,.content{display:flex;flex-direction:column;flex-grow:1;min-width:0}.content{border-radius:1rem;gap:0.25rem;padding:var(--limebb-feed-item-paddings)}.header{display:flex;gap:0.25rem;padding-bottom:0.25rem;margin-top:-0.25rem;color:rgb(var(--contrast-900));font-size:0.875rem}:host(.has-unpromoted-actions) .header{padding-right:2rem}.header limel-markdown{--markdown-hyperlink-color:var(--mdc-theme-primary);--markdown-hyperlink-color--hovered:rgb(var(--color-teal-light))}.heading{flex-grow:1;overflow:hidden;white-space:nowrap}.heading.expanded-heading{white-space:normal}button.expand-heading{all:unset;transition:color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease-out;cursor:pointer;color:rgb(var(--color-blue-default));background-color:transparent;border-radius:1rem;padding:0 0.25rem 0.25rem 0.25rem;height:1rem;white-space:nowrap}button.expand-heading:hover{color:rgb(var(--color-blue-default));background-color:var(--lime-elevated-surface-background-color);box-shadow:var(--button-shadow-hovered)}button.expand-heading:active{box-shadow:var(--button-shadow-pressed);transform:translate3d(0, 0.08rem, 0)}button.collapse-heading{all:unset;transition:color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease-out;cursor:pointer;color:var(--mdc-theme-on-surface);background-color:var(--lime-elevated-surface-background-color);box-shadow:var(--button-shadow-normal);flex-shrink:0;display:flex;align-items:center;justify-content:center;border-radius:1.5rem;width:1rem}button.collapse-heading:hover{color:var(--mdc-theme-on-surface);background-color:var(--lime-elevated-surface-background-color);box-shadow:var(--button-shadow-hovered)}button.collapse-heading:active{box-shadow:var(--button-shadow-pressed);transform:translate3d(0, 0.08rem, 0)}button.collapse-heading:focus{outline:none}button.collapse-heading:focus-visible{outline:none;box-shadow:var(--shadow-depth-8-focused)}button.collapse-heading limel-icon{width:0.75rem}.unpromoted-actions-menu{position:absolute;top:0;right:0}.timestamp{transition:color 0.4s ease, opacity 0.2s ease;transition-delay:var(--limebb-feed-item-timestamp-opacity-delay, 0s);font-size:0.75rem;text-align:center;color:rgb(var(--contrast-800));background-color:var(--limebb-feed-background-color);padding:0.125rem 0}.icon{--icon-background-color:var(--limebb-feed-background-color);width:2rem;padding:0.125rem}:host(.has-author-picture) .icon{width:1.5rem}img{border-radius:50%;width:2rem;height:2rem;object-fit:cover;box-shadow:0 0 0 1px rgb(var(--contrast-600))}.author{font-weight:bold;text-decoration:none;white-space:nowrap}a.author{position:relative;cursor:pointer;transition:color 0.2s ease;color:var(--mdc-theme-primary)}a.author:before{transition:opacity 0.2s ease, transform 0.3s ease-out;content:\"\";position:absolute;inset:auto 0 0 0;width:calc(100% - 0.5rem);margin:auto;height:0.125rem;border-radius:1rem;background-color:currentColor;opacity:0;transform:scale(0.6)}a.author:hover{color:rgb(var(--color-teal-light))}a.author:hover:before{opacity:0.3;transform:scale(1)}limel-chip-set{--button-shadow-normal:none;margin-left:-1rem;margin-bottom:-0.5rem}limel-action-bar{--action-bar-item-height:1.75rem;transition:opacity 0.2s ease;justify-content:flex-start;opacity:0.8}.action-bar{display:grid;transition:grid-template-rows var(--limebb-feed-item-action-bar-grid-template-rows-transition-speed, 0.2s) cubic-bezier(1, 0.09, 0, 0.89) var(--limebb-feed-item-action-bar-grid-template-rows-transition-delay, 0s);grid-template-rows:var(--limebb-feed-item-action-bar-grid-template-rows, 1fr)}.action-bar-hider{overflow:hidden}limel-action-bar{transition:padding var(--limebb-feed-item-action-bar-grid-template-rows-transition-speed) cubic-bezier(1, 0.09, 0, 0.89) var(--limebb-feed-item-action-bar-grid-template-rows-transition-delay);padding-bottom:0.5rem}:host(limebb-feed-timeline-item:hover) .action-bar,:host(limebb-feed-timeline-item:focus-within) .action-bar,:host(limebb-feed-timeline-item:focus-visible) .action-bar{--limebb-feed-item-action-bar-grid-template-rows:1fr;will-change:grid-template-rows}:host(limebb-feed-timeline-item:hover) limel-action-bar,:host(limebb-feed-timeline-item:focus-within) limel-action-bar,:host(limebb-feed-timeline-item:focus-visible) limel-action-bar{will-change:opacity;opacity:1}:host(limebb-feed-timeline-item:hover){--limebb-feed-item-action-bar-grid-template-rows-transition-speed:0.46s;--limebb-feed-item-action-bar-grid-template-rows-transition-delay:0.5s}:host(limebb-feed-timeline-item.is-tall) .markdown-container{margin-bottom:0.5rem}:host(limebb-feed-timeline-item.is-tall) .body-text{min-height:10.25rem}:host(limebb-feed-timeline-item.is-tall) .body-text:after{transition:opacity 0.6s ease;content:\"\";opacity:0.26;pointer-events:none;position:absolute;bottom:-0.125rem;right:-0.125rem;left:-0.125rem;height:2.5rem;background:radial-gradient(farthest-side at 50% 100%, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0)) 0 100%, linear-gradient(to bottom, rgb(var(--limebb-feed-item-background-color), 0) 0%, rgb(var(--limebb-feed-item-background-color), 90%) 100%);background-repeat:no-repeat;background-size:100% 0.5rem, 100% 100%}:host(limebb-feed-timeline-item.is-tall.shows-less) .markdown-container{grid-template-rows:0fr}:host(limebb-feed-timeline-item.is-tall.shows-less) .body-text:after{opacity:1}:host(limebb-feed-timeline-item.is-tall.shows-more) .markdown-container{grid-template-rows:1fr}:host(limebb-feed-timeline-item.is-tall.shows-more) #show-more-button limel-icon{rotate:180deg}.markdown-container{position:relative;display:grid}.markdown-container:not(.opened){transition:grid-template-rows min(var(--body-text-height) * 1.2ms, 500ms) cubic-bezier(1, 0.09, 0, 0.89)}.body-text{display:block;overflow:hidden}#show-more-button{all:unset;transition:color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease-out;cursor:pointer;color:var(--mdc-theme-on-surface);background-color:var(--lime-elevated-surface-background-color);box-shadow:var(--button-shadow-normal);z-index:1;position:absolute;right:0;bottom:-0.6rem;left:0;margin:0 auto;display:flex;align-items:center;justify-content:center;border-radius:3rem;width:2rem;height:1rem}#show-more-button:hover{color:var(--mdc-theme-on-surface);background-color:var(--lime-elevated-surface-background-color);box-shadow:var(--button-shadow-hovered)}#show-more-button:active{box-shadow:var(--button-shadow-pressed);transform:translate3d(0, 0.08rem, 0)}#show-more-button:focus{outline:none}#show-more-button:focus-visible{outline:none;box-shadow:var(--shadow-depth-8-focused)}#show-more-button limel-icon{transition:rotate 0.2s ease 0.5s;color:var(--mdc-theme-primary);width:0.75rem}:host(limebb-feed-timeline-item[ui=standard]) .content{background-color:rgb(var(--limebb-feed-item-background-color))}:host(limebb-feed-timeline-item[ui=emphasized]) .content{border:1px dashed rgb(var(--contrast-800))}:host(limebb-feed-timeline-item[ui=minimal]) limel-markdown{--markdown-hyperlink-color:rgb(var(--contrast-900))}:host(limebb-feed-timeline-item[ui=minimal]) limel-markdown:hover{--markdown-hyperlink-color:rgb(var(--color-blue-default))}:host(limebb-feed-timeline-item[ui=minimal]) a.author{color:rgb(var(--contrast-900))}:host(limebb-feed-timeline-item[ui=minimal]) .header:hover a.author{color:rgb(var(--color-blue-default))}:host(limebb-feed-timeline-item[ui=minimal]) .icon{color:rgb(var(--contrast-900)) !important}:host(limebb-feed-timeline-item[ui=minimal]) .body-text{color:rgb(var(--contrast-900))}:host(limebb-feed-timeline-item[ui=minimal]) .body-text:hover{color:rgb(var(--contrast-1100))}.content{position:relative}.content:before,.content:after{content:\"\";position:absolute;top:1rem;bottom:1rem;left:-0.125rem;width:0.25rem;border-radius:0.25rem}.content:before{background-color:var(--color-code)}:host(limebb-feed-timeline-item[type=external]) .content:before,:host(limebb-feed-timeline-item[type=external]) .content:after{left:calc(-0.125rem - 0.5px)}:host(limebb-feed-timeline-item[type=system]) .content:before{opacity:0.25}:host(limebb-feed-timeline-item[type=system]) .content:after{opacity:0.5;background:repeating-linear-gradient(45deg, var(--color-code), var(--color-code) 0.5rem, transparent 0.5rem, transparent 1rem);background-size:0.25rem 100%;background-repeat:repeat-y;background-position:left;rotate:180deg}";
5
5
 
6
6
  const FeedTimelineItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
7
7
  constructor() {
@@ -93,6 +93,14 @@ const FeedTimelineItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElem
93
93
  };
94
94
  this.toggleShowMore = () => {
95
95
  this.showMore = !this.showMore;
96
+ // Scroll to the top of the feed item when collapsed
97
+ if (!this.showMore) {
98
+ const feedItemHeight = this.el.offsetHeight;
99
+ const viewportHeight = window.innerHeight;
100
+ if (feedItemHeight >= viewportHeight) {
101
+ this.el.scrollIntoView({ behavior: 'auto' });
102
+ }
103
+ }
96
104
  };
97
105
  this.toggleHeadingExpansion = () => {
98
106
  this.isHeadingExpanded = !this.isHeadingExpanded;
@@ -233,7 +241,10 @@ const FeedTimelineItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElem
233
241
  return;
234
242
  }
235
243
  return [
236
- h("div", { class: "markdown-container" }, h("limel-markdown", { class: "body-text", value: this.item.value, ref: this.setBodyTextElement }), this.renderShowMoreButton()),
244
+ h("div", { class: "markdown-container" }, h("limel-markdown", { class: {
245
+ 'body-text': true,
246
+ opened: this.showMore,
247
+ }, value: this.item.value, ref: this.setBodyTextElement }), this.renderShowMoreButton()),
237
248
  ];
238
249
  }
239
250
  isTextTruncated(element) {
@@ -7,8 +7,8 @@ const PlatformServiceName = {
7
7
  Route: 'route',
8
8
  };
9
9
 
10
- const SERVICE_NAME$l = 'state.limetypes';
11
- PlatformServiceName.LimeTypeRepository = SERVICE_NAME$l;
10
+ const SERVICE_NAME$m = 'state.limetypes';
11
+ PlatformServiceName.LimeTypeRepository = SERVICE_NAME$m;
12
12
 
13
13
  /******************************************************************************
14
14
  Copyright (c) Microsoft Corporation.
@@ -37,8 +37,8 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
37
37
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
38
38
  };
39
39
 
40
- const SERVICE_NAME$k = 'state.limeobjects';
41
- PlatformServiceName.LimeObjectRepository = SERVICE_NAME$k;
40
+ const SERVICE_NAME$l = 'state.limeobjects';
41
+ PlatformServiceName.LimeObjectRepository = SERVICE_NAME$l;
42
42
 
43
43
  /**
44
44
  * Events dispatched by the commandbus event middleware
@@ -136,8 +136,8 @@ function getCommandIds(value) {
136
136
  return Array.from(new Set(ids));
137
137
  }
138
138
 
139
- const SERVICE_NAME$j = 'commandBus';
140
- PlatformServiceName.CommandBus = SERVICE_NAME$j;
139
+ const SERVICE_NAME$k = 'commandBus';
140
+ PlatformServiceName.CommandBus = SERVICE_NAME$k;
141
141
 
142
142
  /**
143
143
  * Open a dialog for bulk creating limeobjects
@@ -288,26 +288,26 @@ var Operator;
288
288
  Operator["ENDS"] = "=$";
289
289
  })(Operator || (Operator = {}));
290
290
 
291
- const SERVICE_NAME$i = 'query';
292
- PlatformServiceName.Query = SERVICE_NAME$i;
291
+ const SERVICE_NAME$j = 'query';
292
+ PlatformServiceName.Query = SERVICE_NAME$j;
293
293
 
294
- const SERVICE_NAME$h = 'http';
295
- PlatformServiceName.Http = SERVICE_NAME$h;
294
+ const SERVICE_NAME$i = 'http';
295
+ PlatformServiceName.Http = SERVICE_NAME$i;
296
296
 
297
- const SERVICE_NAME$g = 'eventDispatcher';
298
- PlatformServiceName.EventDispatcher = SERVICE_NAME$g;
297
+ const SERVICE_NAME$h = 'eventDispatcher';
298
+ PlatformServiceName.EventDispatcher = SERVICE_NAME$h;
299
299
 
300
- const SERVICE_NAME$f = 'translate';
301
- PlatformServiceName.Translate = SERVICE_NAME$f;
300
+ const SERVICE_NAME$g = 'translate';
301
+ PlatformServiceName.Translate = SERVICE_NAME$g;
302
302
 
303
- const SERVICE_NAME$e = 'dialog';
304
- PlatformServiceName.Dialog = SERVICE_NAME$e;
303
+ const SERVICE_NAME$f = 'dialog';
304
+ PlatformServiceName.Dialog = SERVICE_NAME$f;
305
305
 
306
- const SERVICE_NAME$d = 'keybindingRegistry';
307
- PlatformServiceName.KeybindingRegistry = SERVICE_NAME$d;
306
+ const SERVICE_NAME$e = 'keybindingRegistry';
307
+ PlatformServiceName.KeybindingRegistry = SERVICE_NAME$e;
308
308
 
309
- const SERVICE_NAME$c = 'navigator';
310
- PlatformServiceName.Navigator = SERVICE_NAME$c;
309
+ const SERVICE_NAME$d = 'navigator';
310
+ PlatformServiceName.Navigator = SERVICE_NAME$d;
311
311
 
312
312
  /**
313
313
  * Navigates to a new location
@@ -324,11 +324,11 @@ NavigateCommand = __decorate([
324
324
  })
325
325
  ], NavigateCommand);
326
326
 
327
- const SERVICE_NAME$b = 'notifications';
328
- PlatformServiceName.Notification = SERVICE_NAME$b;
327
+ const SERVICE_NAME$c = 'notifications';
328
+ PlatformServiceName.Notification = SERVICE_NAME$c;
329
329
 
330
- const SERVICE_NAME$a = 'routeRegistry';
331
- PlatformServiceName.RouteRegistry = SERVICE_NAME$a;
330
+ const SERVICE_NAME$b = 'routeRegistry';
331
+ PlatformServiceName.RouteRegistry = SERVICE_NAME$b;
332
332
 
333
333
  /**
334
334
  * @public
@@ -384,34 +384,37 @@ var TaskEventType;
384
384
  TaskEventType["Failed"] = "task.failed";
385
385
  })(TaskEventType || (TaskEventType = {}));
386
386
 
387
- const SERVICE_NAME$9 = 'state.tasks';
388
- PlatformServiceName.TaskRepository = SERVICE_NAME$9;
387
+ const SERVICE_NAME$a = 'state.tasks';
388
+ PlatformServiceName.TaskRepository = SERVICE_NAME$a;
389
389
 
390
- const SERVICE_NAME$8 = 'state.configs';
391
- PlatformServiceName.ConfigRepository = SERVICE_NAME$8;
390
+ const SERVICE_NAME$9 = 'state.configs';
391
+ PlatformServiceName.ConfigRepository = SERVICE_NAME$9;
392
392
 
393
- const SERVICE_NAME$7 = 'state.device';
394
- PlatformServiceName.Device = SERVICE_NAME$7;
393
+ const SERVICE_NAME$8 = 'state.device';
394
+ PlatformServiceName.Device = SERVICE_NAME$8;
395
395
 
396
- const SERVICE_NAME$6 = 'state.filters';
397
- PlatformServiceName.FilterRepository = SERVICE_NAME$6;
396
+ const SERVICE_NAME$7 = 'state.filters';
397
+ PlatformServiceName.FilterRepository = SERVICE_NAME$7;
398
398
 
399
- const SERVICE_NAME$5 = 'state.user-data';
400
- PlatformServiceName.UserDataRepository = SERVICE_NAME$5;
399
+ const SERVICE_NAME$6 = 'state.user-data';
400
+ PlatformServiceName.UserDataRepository = SERVICE_NAME$6;
401
401
 
402
- const SERVICE_NAME$4 = 'state.application';
403
- PlatformServiceName.Application = SERVICE_NAME$4;
402
+ const SERVICE_NAME$5 = 'state.application';
403
+ PlatformServiceName.Application = SERVICE_NAME$5;
404
404
 
405
- const SERVICE_NAME$3 = 'userPreferences';
406
- PlatformServiceName.UserPreferencesRepository = SERVICE_NAME$3;
405
+ const SERVICE_NAME$4 = 'userPreferences';
406
+ PlatformServiceName.UserPreferencesRepository = SERVICE_NAME$4;
407
407
 
408
- const SERVICE_NAME$2 = 'datetimeformatter';
409
- PlatformServiceName.DateTimeFormatter = SERVICE_NAME$2;
408
+ const SERVICE_NAME$3 = 'datetimeformatter';
409
+ PlatformServiceName.DateTimeFormatter = SERVICE_NAME$3;
410
410
 
411
- const SERVICE_NAME$1 = 'conditionRegistry';
412
- PlatformServiceName.ConditionRegistry = SERVICE_NAME$1;
411
+ const SERVICE_NAME$2 = 'conditionRegistry';
412
+ PlatformServiceName.ConditionRegistry = SERVICE_NAME$2;
413
413
 
414
- const SERVICE_NAME = 'viewFactoryRegistry';
415
- PlatformServiceName.ViewFactoryRegistry = SERVICE_NAME;
414
+ const SERVICE_NAME$1 = 'viewFactoryRegistry';
415
+ PlatformServiceName.ViewFactoryRegistry = SERVICE_NAME$1;
416
+
417
+ const SERVICE_NAME = 'webComponentRegistry';
418
+ PlatformServiceName.WebComponentRegistry = SERVICE_NAME;
416
419
 
417
420
  export { PlatformServiceName as P };
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h } from './index-9d94fec9.js';
2
- import { P as PlatformServiceName } from './types-737832ab.js';
2
+ import { P as PlatformServiceName } from './types-f0e027dc.js';
3
3
 
4
4
  const nordicMarketCurrencies = [
5
5
  { secondaryText: 'Euro', text: 'EUR', icon: 'euro' },
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h } from './index-9d94fec9.js';
2
- import { P as PlatformServiceName } from './types-737832ab.js';
2
+ import { P as PlatformServiceName } from './types-f0e027dc.js';
3
3
 
4
4
  /**
5
5
  * Create a UTC date with the same values for year, month and day as the given