@limetech/lime-crm-building-blocks 1.39.0 → 1.40.1
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/limebb-browser.cjs.entry.js +1 -1
- package/dist/cjs/limebb-currency-picker.cjs.entry.js +1 -1
- package/dist/cjs/limebb-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/limebb-feed-timeline-item.cjs.entry.js +4 -16
- package/dist/cjs/limebb-feed.cjs.entry.js +2 -6
- package/dist/cjs/limebb-icon-picker.cjs.entry.js +35 -0
- package/dist/cjs/limebb-info-tile.cjs.entry.js +1 -1
- package/dist/cjs/limebb-kanban-column.cjs.entry.js +1 -1
- package/dist/cjs/limebb-limeobject-file-viewer.cjs.entry.js +1 -1
- package/dist/cjs/limebb-locale-picker.cjs.entry.js +1 -1
- package/dist/cjs/{types-be0cc46f.js → types-c7646c23.js} +49 -46
- package/dist/collection/components/feed/feed-item/feed-timeline-item.css +0 -21
- package/dist/collection/components/feed/feed-item/feed-timeline-item.js +3 -37
- package/dist/collection/components/feed/feed.js +1 -25
- package/dist/collection/util/basic-limetype-props.js +1 -0
- package/dist/components/feed-timeline-item.js +4 -16
- package/dist/components/limebb-feed.js +1 -5
- package/dist/components/limebb-icon-picker.js +35 -0
- package/dist/components/types.js +49 -46
- package/dist/esm/limebb-browser.entry.js +1 -1
- package/dist/esm/limebb-currency-picker.entry.js +1 -1
- package/dist/esm/limebb-date-picker.entry.js +1 -1
- package/dist/esm/limebb-feed-timeline-item.entry.js +5 -17
- package/dist/esm/limebb-feed.entry.js +2 -6
- package/dist/esm/limebb-icon-picker.entry.js +35 -0
- package/dist/esm/limebb-info-tile.entry.js +1 -1
- package/dist/esm/limebb-kanban-column.entry.js +1 -1
- package/dist/esm/limebb-limeobject-file-viewer.entry.js +1 -1
- package/dist/esm/limebb-locale-picker.entry.js +1 -1
- package/dist/esm/{types-893ec090.js → types-ab2df627.js} +49 -46
- package/dist/lime-crm-building-blocks/lime-crm-building-blocks.esm.js +1 -1
- package/dist/lime-crm-building-blocks/{p-e8e2c370.entry.js → p-03113a76.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-05c8174f.entry.js → p-0334f490.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-186bb066.entry.js → p-13521554.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-edc279ae.entry.js → p-2e373ea5.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-3d6f678d.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-4c667ff0.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-13fbb595.js → p-6588244c.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-80c5ab71.entry.js → p-6a49e564.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-d84f657a.entry.js → p-832f45c2.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-80741548.entry.js → p-9bf1ff4f.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-37180f51.entry.js → p-b992f9cf.entry.js} +1 -1
- package/dist/types/components/feed/feed-item/feed-item.types.d.ts +3 -66
- package/dist/types/components/feed/feed-item/feed-timeline-item.d.ts +0 -6
- package/dist/types/components/feed/feed.d.ts +0 -6
- package/dist/types/components.d.ts +0 -12
- package/dist/types/interface.d.ts +1 -0
- package/dist/types/util/basic-limetype-props.d.ts +94 -0
- package/package.json +5 -5
- package/dist/lime-crm-building-blocks/p-937e86f1.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-f00025ae.entry.js +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
### [1.40.1](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.40.0...v1.40.1) (2024-08-26)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Reverts
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
* Revert "feat(feed): make items optionally clickable" ([7ad6487](https://github.com/Lundalogik/lime-crm-building-blocks/commit/7ad648793e28d00e9cca05dc0a10c275615004e9))
|
|
8
|
+
|
|
9
|
+
## [1.40.0](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.39.0...v1.40.0) (2024-08-26)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
* **util:** create an interface for common properties of limetypes ([f811826](https://github.com/Lundalogik/lime-crm-building-blocks/commit/f811826126c6f18ac6da877ccb87c57627c5ae73))
|
|
16
|
+
|
|
1
17
|
## [1.39.0](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.38.3...v1.39.0) (2024-08-22)
|
|
2
18
|
|
|
3
19
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-5aaf6970.js');
|
|
6
|
-
const types = require('./types-
|
|
6
|
+
const types = require('./types-c7646c23.js');
|
|
7
7
|
const negate = require('./negate-14a67e26.js');
|
|
8
8
|
|
|
9
9
|
const ENTER = 'Enter';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-5aaf6970.js');
|
|
6
|
-
const types = require('./types-
|
|
6
|
+
const types = require('./types-c7646c23.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-5aaf6970.js');
|
|
6
|
-
const types = require('./types-
|
|
6
|
+
const types = require('./types-c7646c23.js');
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Create a UTC date with the same values for year, month and day as the given
|
|
@@ -3,14 +3,13 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-5aaf6970.js');
|
|
6
|
-
const types = require('./types-
|
|
6
|
+
const types = require('./types-c7646c23.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{position:relative;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;z-index:1}.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;width:2rem}.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{--body-text-min-height-set-by-code:10rem;min-height:calc(var(--body-text-min-height-set-by-code) + 0.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.is-clickable[ui=standard]) .content,: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))}:host(limebb-feed-timeline-item[ui=thread-message]) .content{border-radius:0;box-shadow:var(--button-shadow-normal);margin-bottom:0.25rem;background-color:var(--lime-elevated-surface-background-color)}:host(limebb-feed-timeline-item[ui=thread-message]) .header{padding-bottom:0.75rem;margin-bottom:0.25rem}:host(limebb-feed-timeline-item[ui=thread-message]) .header:before{content:\"\";position:absolute;top:calc(var(--limebb-feed-item-paddings) * -1 + 0.25rem);left:calc(var(--limebb-feed-item-paddings) * -1);right:calc(var(--limebb-feed-item-paddings) * -1);bottom:0;pointer-events:none;border-bottom:1px dashed rgb(var(--contrast-600))}:host(limebb-feed-timeline-item[ui=thread-message]) .thread-effects{transition:transform 0.2s ease;pointer-events:none;content:\"\";position:absolute;z-index:-1;top:0;right:0;bottom:0;left:0;box-shadow:var(--button-shadow-normal);transform:translate3d(-0.225rem, -0.125rem, 0) rotate(1.5deg);background-color:rgb(var(--contrast-300))}:host(limebb-feed-timeline-item[ui=thread-message]) .content:hover .thread-effects{transform:translate3d(-0.325rem, -0.3rem, 0) rotate(1.5deg)}:host(limebb-feed-timeline-item.is-tall[ui=thread-message]) .body-text{--body-text-min-height-set-by-code:3rem;min-height:calc(var(--body-text-min-height-set-by-code) + 0.25rem)}.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[ui=emphasized]) .content:before,:host(limebb-feed-timeline-item[ui=emphasized]) .content:after{left:calc(-0.125rem - 0.5px)}:host(limebb-feed-timeline-item[ui=minimal]) .content:before{opacity:0.25}:host(limebb-feed-timeline-item[ui=minimal]) .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}:host(limebb-feed-timeline-item[ui=thread-message]) .content:before{top:0.25rem;bottom:unset;height:1.75rem}:host(limebb-feed-timeline-item.is-clickable) .content{cursor:pointer;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:transparent}:host(limebb-feed-timeline-item.is-clickable) .content:hover{color:var(--mdc-theme-on-surface);background-color:var(--lime-elevated-surface-background-color);box-shadow:var(--button-shadow-hovered)}:host(limebb-feed-timeline-item.is-clickable) .content:active{box-shadow:var(--button-shadow-pressed);transform:translate3d(0, 0.08rem, 0)}:host(limebb-feed-timeline-item.is-clickable) .content:hover{z-index:1}";
|
|
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{position:relative;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;z-index:1}.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;width:2rem}.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{--body-text-min-height-set-by-code:10rem;min-height:calc(var(--body-text-min-height-set-by-code) + 0.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))}:host(limebb-feed-timeline-item[ui=thread-message]) .content{border-radius:0;box-shadow:var(--button-shadow-normal);margin-bottom:0.25rem;background-color:var(--lime-elevated-surface-background-color)}:host(limebb-feed-timeline-item[ui=thread-message]) .header{padding-bottom:0.75rem;margin-bottom:0.25rem}:host(limebb-feed-timeline-item[ui=thread-message]) .header:before{content:\"\";position:absolute;top:calc(var(--limebb-feed-item-paddings) * -1 + 0.25rem);left:calc(var(--limebb-feed-item-paddings) * -1);right:calc(var(--limebb-feed-item-paddings) * -1);bottom:0;pointer-events:none;border-bottom:1px dashed rgb(var(--contrast-600))}:host(limebb-feed-timeline-item[ui=thread-message]) .thread-effects{transition:transform 0.2s ease;pointer-events:none;content:\"\";position:absolute;z-index:-1;top:0;right:0;bottom:0;left:0;box-shadow:var(--button-shadow-normal);transform:translate3d(-0.225rem, -0.125rem, 0) rotate(1.5deg);background-color:rgb(var(--contrast-300))}:host(limebb-feed-timeline-item[ui=thread-message]) .content:hover .thread-effects{transform:translate3d(-0.325rem, -0.3rem, 0) rotate(1.5deg)}:host(limebb-feed-timeline-item.is-tall[ui=thread-message]) .body-text{--body-text-min-height-set-by-code:3rem;min-height:calc(var(--body-text-min-height-set-by-code) + 0.25rem)}.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[ui=emphasized]) .content:before,:host(limebb-feed-timeline-item[ui=emphasized]) .content:after{left:calc(-0.125rem - 0.5px)}:host(limebb-feed-timeline-item[ui=minimal]) .content:before{opacity:0.25}:host(limebb-feed-timeline-item[ui=minimal]) .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}:host(limebb-feed-timeline-item[ui=thread-message]) .content:before{top:0.25rem;bottom:unset;height:1.75rem}";
|
|
9
9
|
|
|
10
10
|
const FeedTimelineItem = class {
|
|
11
11
|
constructor(hostRef) {
|
|
12
12
|
index.registerInstance(this, hostRef);
|
|
13
|
-
this.interact = index.createEvent(this, "interact", 7);
|
|
14
13
|
/**
|
|
15
14
|
* Defines the visualization and features of the feed item.
|
|
16
15
|
*/
|
|
@@ -61,9 +60,6 @@ const FeedTimelineItem = class {
|
|
|
61
60
|
this.bodyTextHeight = height;
|
|
62
61
|
}
|
|
63
62
|
};
|
|
64
|
-
this.handleFeedItemClick = () => {
|
|
65
|
-
this.interact.emit(this.item);
|
|
66
|
-
};
|
|
67
63
|
this.renderHeader = () => {
|
|
68
64
|
if ((this.isBundled && !this.item.heading) ||
|
|
69
65
|
(!this.item.author && !this.item.heading)) {
|
|
@@ -180,7 +176,7 @@ const FeedTimelineItem = class {
|
|
|
180
176
|
(_a = this.bodyResizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
181
177
|
}
|
|
182
178
|
render() {
|
|
183
|
-
var _a, _b
|
|
179
|
+
var _a, _b;
|
|
184
180
|
return (index.h(index.Host, { id: this.item.id, class: {
|
|
185
181
|
'has-unpromoted-actions': !!((_a = this.item.unpromotedActions) === null || _a === void 0 ? void 0 : _a.length),
|
|
186
182
|
'has-author-picture': !!((_b = this.item.author) === null || _b === void 0 ? void 0 : _b.picture),
|
|
@@ -188,7 +184,6 @@ const FeedTimelineItem = class {
|
|
|
188
184
|
'expanded-heading': this.isHeadingExpanded,
|
|
189
185
|
'shows-more': this.showMore,
|
|
190
186
|
'is-tall': this.isTall,
|
|
191
|
-
'is-clickable': !!((_c = this.item) === null || _c === void 0 ? void 0 : _c.clickable),
|
|
192
187
|
}, style: {
|
|
193
188
|
'--body-text-height': `${this.bodyTextHeight}`,
|
|
194
189
|
'--color-code': `${this.item.color}`,
|
|
@@ -211,14 +206,7 @@ const FeedTimelineItem = class {
|
|
|
211
206
|
} }));
|
|
212
207
|
}
|
|
213
208
|
renderContent() {
|
|
214
|
-
|
|
215
|
-
if (this.item.clickable) {
|
|
216
|
-
handleClick = this.handleFeedItemClick;
|
|
217
|
-
}
|
|
218
|
-
else {
|
|
219
|
-
handleClick = undefined;
|
|
220
|
-
}
|
|
221
|
-
return (index.h("div", { class: "right" }, index.h("div", { class: "content", onClick: handleClick }, this.renderThreadEffects(), this.renderHeader(), this.renderUnpromotedActionsMenu(), this.renderValue(), this.renderRelations()), this.renderPromotedActions()));
|
|
209
|
+
return (index.h("div", { class: "right" }, index.h("div", { class: "content" }, this.renderThreadEffects(), this.renderHeader(), this.renderUnpromotedActionsMenu(), this.renderValue(), this.renderRelations()), this.renderPromotedActions()));
|
|
222
210
|
}
|
|
223
211
|
renderThreadEffects() {
|
|
224
212
|
if (!this.isThreadMessage) {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-5aaf6970.js');
|
|
6
|
-
const types = require('./types-
|
|
6
|
+
const types = require('./types-c7646c23.js');
|
|
7
7
|
|
|
8
8
|
function getRoundingMethod(method) {
|
|
9
9
|
return (number) => {
|
|
@@ -171,7 +171,6 @@ const Feed = class {
|
|
|
171
171
|
constructor(hostRef) {
|
|
172
172
|
index.registerInstance(this, hostRef);
|
|
173
173
|
this.loadMore = index.createEvent(this, "loadMore", 7);
|
|
174
|
-
this.itemClick = index.createEvent(this, "itemClick", 7);
|
|
175
174
|
/**
|
|
176
175
|
* List of items to display in the feed.
|
|
177
176
|
*/
|
|
@@ -185,9 +184,6 @@ const Feed = class {
|
|
|
185
184
|
* The total number of items available
|
|
186
185
|
*/
|
|
187
186
|
this.totalCount = 0;
|
|
188
|
-
this.handleItemClick = (event) => {
|
|
189
|
-
this.itemClick.emit(event.detail);
|
|
190
|
-
};
|
|
191
187
|
this.isBundled = (item, index) => {
|
|
192
188
|
var _a, _b, _c, _d, _e, _f;
|
|
193
189
|
if (index === 0) {
|
|
@@ -241,7 +237,7 @@ const Feed = class {
|
|
|
241
237
|
return [
|
|
242
238
|
this.renderNewItemsIndicator(item.timestamp, index$1),
|
|
243
239
|
this.renderDateHeader(item.timestamp, index$1),
|
|
244
|
-
index.h("limebb-feed-timeline-item", { platform: this.platform, context: this.context, item: item, key: item.id, ui: item === null || item === void 0 ? void 0 : item.ui, isBundled: this.isBundled(item, index$1)
|
|
240
|
+
index.h("limebb-feed-timeline-item", { platform: this.platform, context: this.context, item: item, key: item.id, ui: item === null || item === void 0 ? void 0 : item.ui, isBundled: this.isBundled(item, index$1) }),
|
|
245
241
|
];
|
|
246
242
|
});
|
|
247
243
|
}
|
|
@@ -24790,6 +24790,41 @@ const icons = [
|
|
|
24790
24790
|
tags: [
|
|
24791
24791
|
]
|
|
24792
24792
|
},
|
|
24793
|
+
{
|
|
24794
|
+
id: "cut-watermelon.svg",
|
|
24795
|
+
tags: [
|
|
24796
|
+
]
|
|
24797
|
+
},
|
|
24798
|
+
{
|
|
24799
|
+
id: "lemon.svg",
|
|
24800
|
+
tags: [
|
|
24801
|
+
]
|
|
24802
|
+
},
|
|
24803
|
+
{
|
|
24804
|
+
id: "lime.svg",
|
|
24805
|
+
tags: [
|
|
24806
|
+
]
|
|
24807
|
+
},
|
|
24808
|
+
{
|
|
24809
|
+
id: "orange.svg",
|
|
24810
|
+
tags: [
|
|
24811
|
+
]
|
|
24812
|
+
},
|
|
24813
|
+
{
|
|
24814
|
+
id: "pineapple.svg",
|
|
24815
|
+
tags: [
|
|
24816
|
+
]
|
|
24817
|
+
},
|
|
24818
|
+
{
|
|
24819
|
+
id: "slice-of-watermelon.svg",
|
|
24820
|
+
tags: [
|
|
24821
|
+
]
|
|
24822
|
+
},
|
|
24823
|
+
{
|
|
24824
|
+
id: "whole-watermelon.svg",
|
|
24825
|
+
tags: [
|
|
24826
|
+
]
|
|
24827
|
+
},
|
|
24793
24828
|
{
|
|
24794
24829
|
id: "-lime-todo_list_add.svg",
|
|
24795
24830
|
tags: [
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-5aaf6970.js');
|
|
6
|
-
const types = require('./types-
|
|
6
|
+
const types = require('./types-c7646c23.js');
|
|
7
7
|
const factory = require('./factory-93430f8d.js');
|
|
8
8
|
const _getTag = require('./_getTag-ef492822.js');
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-5aaf6970.js');
|
|
6
|
-
const types = require('./types-
|
|
6
|
+
const types = require('./types-c7646c23.js');
|
|
7
7
|
|
|
8
8
|
const kanbanColumnCss = ":host(limebb-kanban-column){--header-top-right-left-border-radius:0.5rem;scroll-snap-align:start;box-sizing:border-box;display:flex;flex-direction:column;border-radius:0.5rem;min-width:20rem;height:100%;background-color:rgb(var(--contrast-500))}:host(limebb-kanban-column.ungrouped-column){border:1px dashed rgb(var(--contrast-500));background-color:rgb(var(--contrast-200))}limel-header{flex-shrink:0}.items{flex-grow:1;display:flex;flex-direction:column;gap:0.5rem;padding:0.5rem;overflow-y:auto;-webkit-overflow-scrolling:touch}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-5aaf6970.js');
|
|
6
|
-
const types = require('./types-
|
|
6
|
+
const types = require('./types-c7646c23.js');
|
|
7
7
|
const factory = require('./factory-93430f8d.js');
|
|
8
8
|
const negate = require('./negate-14a67e26.js');
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-5aaf6970.js');
|
|
6
|
-
const types = require('./types-
|
|
6
|
+
const types = require('./types-c7646c23.js');
|
|
7
7
|
const _getTag = require('./_getTag-ef492822.js');
|
|
8
8
|
|
|
9
9
|
/** `Object#toString` result references. */
|
|
@@ -9,8 +9,8 @@ const PlatformServiceName = {
|
|
|
9
9
|
Route: 'route',
|
|
10
10
|
};
|
|
11
11
|
|
|
12
|
-
const SERVICE_NAME$
|
|
13
|
-
PlatformServiceName.LimeTypeRepository = SERVICE_NAME$
|
|
12
|
+
const SERVICE_NAME$n = 'state.limetypes';
|
|
13
|
+
PlatformServiceName.LimeTypeRepository = SERVICE_NAME$n;
|
|
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$
|
|
43
|
-
PlatformServiceName.LimeObjectRepository = SERVICE_NAME$
|
|
42
|
+
const SERVICE_NAME$m = 'state.limeobjects';
|
|
43
|
+
PlatformServiceName.LimeObjectRepository = SERVICE_NAME$m;
|
|
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$
|
|
142
|
-
PlatformServiceName.CommandBus = SERVICE_NAME$
|
|
141
|
+
const SERVICE_NAME$l = 'commandBus';
|
|
142
|
+
PlatformServiceName.CommandBus = SERVICE_NAME$l;
|
|
143
143
|
|
|
144
144
|
/**
|
|
145
145
|
* Open a dialog for bulk creating limeobjects
|
|
@@ -301,26 +301,26 @@ const AggregateOperator = {
|
|
|
301
301
|
Minimum: 'MIN',
|
|
302
302
|
};
|
|
303
303
|
|
|
304
|
-
const SERVICE_NAME$
|
|
305
|
-
PlatformServiceName.Query = SERVICE_NAME$
|
|
304
|
+
const SERVICE_NAME$k = 'query';
|
|
305
|
+
PlatformServiceName.Query = SERVICE_NAME$k;
|
|
306
306
|
|
|
307
|
-
const SERVICE_NAME$
|
|
308
|
-
PlatformServiceName.Http = SERVICE_NAME$
|
|
307
|
+
const SERVICE_NAME$j = 'http';
|
|
308
|
+
PlatformServiceName.Http = SERVICE_NAME$j;
|
|
309
309
|
|
|
310
|
-
const SERVICE_NAME$
|
|
311
|
-
PlatformServiceName.EventDispatcher = SERVICE_NAME$
|
|
310
|
+
const SERVICE_NAME$i = 'eventDispatcher';
|
|
311
|
+
PlatformServiceName.EventDispatcher = SERVICE_NAME$i;
|
|
312
312
|
|
|
313
|
-
const SERVICE_NAME$
|
|
314
|
-
PlatformServiceName.Translate = SERVICE_NAME$
|
|
313
|
+
const SERVICE_NAME$h = 'translate';
|
|
314
|
+
PlatformServiceName.Translate = SERVICE_NAME$h;
|
|
315
315
|
|
|
316
|
-
const SERVICE_NAME$
|
|
317
|
-
PlatformServiceName.Dialog = SERVICE_NAME$
|
|
316
|
+
const SERVICE_NAME$g = 'dialog';
|
|
317
|
+
PlatformServiceName.Dialog = SERVICE_NAME$g;
|
|
318
318
|
|
|
319
|
-
const SERVICE_NAME$
|
|
320
|
-
PlatformServiceName.KeybindingRegistry = SERVICE_NAME$
|
|
319
|
+
const SERVICE_NAME$f = 'keybindingRegistry';
|
|
320
|
+
PlatformServiceName.KeybindingRegistry = SERVICE_NAME$f;
|
|
321
321
|
|
|
322
|
-
const SERVICE_NAME$
|
|
323
|
-
PlatformServiceName.Navigator = SERVICE_NAME$
|
|
322
|
+
const SERVICE_NAME$e = 'navigator';
|
|
323
|
+
PlatformServiceName.Navigator = SERVICE_NAME$e;
|
|
324
324
|
|
|
325
325
|
/**
|
|
326
326
|
* Navigates to a new location
|
|
@@ -337,11 +337,11 @@ NavigateCommand = __decorate([
|
|
|
337
337
|
})
|
|
338
338
|
], NavigateCommand);
|
|
339
339
|
|
|
340
|
-
const SERVICE_NAME$
|
|
341
|
-
PlatformServiceName.Notification = SERVICE_NAME$
|
|
340
|
+
const SERVICE_NAME$d = 'notifications';
|
|
341
|
+
PlatformServiceName.Notification = SERVICE_NAME$d;
|
|
342
342
|
|
|
343
|
-
const SERVICE_NAME$
|
|
344
|
-
PlatformServiceName.RouteRegistry = SERVICE_NAME$
|
|
343
|
+
const SERVICE_NAME$c = 'routeRegistry';
|
|
344
|
+
PlatformServiceName.RouteRegistry = SERVICE_NAME$c;
|
|
345
345
|
|
|
346
346
|
/**
|
|
347
347
|
* @public
|
|
@@ -397,38 +397,41 @@ var TaskEventType;
|
|
|
397
397
|
TaskEventType["Failed"] = "task.failed";
|
|
398
398
|
})(TaskEventType || (TaskEventType = {}));
|
|
399
399
|
|
|
400
|
-
const SERVICE_NAME$
|
|
401
|
-
PlatformServiceName.TaskRepository = SERVICE_NAME$
|
|
400
|
+
const SERVICE_NAME$b = 'state.tasks';
|
|
401
|
+
PlatformServiceName.TaskRepository = SERVICE_NAME$b;
|
|
402
402
|
|
|
403
|
-
const SERVICE_NAME$
|
|
404
|
-
PlatformServiceName.ConfigRepository = SERVICE_NAME$
|
|
403
|
+
const SERVICE_NAME$a = 'state.configs';
|
|
404
|
+
PlatformServiceName.ConfigRepository = SERVICE_NAME$a;
|
|
405
405
|
|
|
406
|
-
const SERVICE_NAME$
|
|
407
|
-
PlatformServiceName.Device = SERVICE_NAME$
|
|
406
|
+
const SERVICE_NAME$9 = 'state.device';
|
|
407
|
+
PlatformServiceName.Device = SERVICE_NAME$9;
|
|
408
408
|
|
|
409
|
-
const SERVICE_NAME$
|
|
410
|
-
PlatformServiceName.FilterRepository = SERVICE_NAME$
|
|
409
|
+
const SERVICE_NAME$8 = 'state.filters';
|
|
410
|
+
PlatformServiceName.FilterRepository = SERVICE_NAME$8;
|
|
411
411
|
|
|
412
|
-
const SERVICE_NAME$
|
|
413
|
-
PlatformServiceName.UserDataRepository = SERVICE_NAME$
|
|
412
|
+
const SERVICE_NAME$7 = 'state.user-data';
|
|
413
|
+
PlatformServiceName.UserDataRepository = SERVICE_NAME$7;
|
|
414
414
|
|
|
415
|
-
const SERVICE_NAME$
|
|
416
|
-
PlatformServiceName.Application = SERVICE_NAME$
|
|
415
|
+
const SERVICE_NAME$6 = 'state.application';
|
|
416
|
+
PlatformServiceName.Application = SERVICE_NAME$6;
|
|
417
417
|
|
|
418
|
-
const SERVICE_NAME$
|
|
419
|
-
PlatformServiceName.UserPreferencesRepository = SERVICE_NAME$
|
|
418
|
+
const SERVICE_NAME$5 = 'userPreferences';
|
|
419
|
+
PlatformServiceName.UserPreferencesRepository = SERVICE_NAME$5;
|
|
420
420
|
|
|
421
|
-
const SERVICE_NAME$
|
|
422
|
-
PlatformServiceName.DateTimeFormatter = SERVICE_NAME$
|
|
421
|
+
const SERVICE_NAME$4 = 'datetimeformatter';
|
|
422
|
+
PlatformServiceName.DateTimeFormatter = SERVICE_NAME$4;
|
|
423
423
|
|
|
424
|
-
const SERVICE_NAME$
|
|
425
|
-
PlatformServiceName.ConditionRegistry = SERVICE_NAME$
|
|
424
|
+
const SERVICE_NAME$3 = 'conditionRegistry';
|
|
425
|
+
PlatformServiceName.ConditionRegistry = SERVICE_NAME$3;
|
|
426
426
|
|
|
427
|
-
const SERVICE_NAME$
|
|
428
|
-
PlatformServiceName.ViewFactoryRegistry = SERVICE_NAME$
|
|
427
|
+
const SERVICE_NAME$2 = 'viewFactoryRegistry';
|
|
428
|
+
PlatformServiceName.ViewFactoryRegistry = SERVICE_NAME$2;
|
|
429
429
|
|
|
430
|
-
const SERVICE_NAME = 'webComponentRegistry';
|
|
431
|
-
PlatformServiceName.WebComponentRegistry = SERVICE_NAME;
|
|
430
|
+
const SERVICE_NAME$1 = 'webComponentRegistry';
|
|
431
|
+
PlatformServiceName.WebComponentRegistry = SERVICE_NAME$1;
|
|
432
|
+
|
|
433
|
+
const SERVICE_NAME = 'state.notifications';
|
|
434
|
+
PlatformServiceName.NotificationRepository = SERVICE_NAME;
|
|
432
435
|
|
|
433
436
|
exports.AggregateOperator = AggregateOperator;
|
|
434
437
|
exports.PlatformServiceName = PlatformServiceName;
|
|
@@ -400,7 +400,6 @@ limel-action-bar {
|
|
|
400
400
|
width: 0.75rem;
|
|
401
401
|
}
|
|
402
402
|
|
|
403
|
-
:host(limebb-feed-timeline-item.is-clickable[ui=standard]) .content,
|
|
404
403
|
:host(limebb-feed-timeline-item[ui=standard]) .content {
|
|
405
404
|
background-color: rgb(var(--limebb-feed-item-background-color));
|
|
406
405
|
}
|
|
@@ -510,24 +509,4 @@ limel-action-bar {
|
|
|
510
509
|
top: 0.25rem;
|
|
511
510
|
bottom: unset;
|
|
512
511
|
height: 1.75rem;
|
|
513
|
-
}
|
|
514
|
-
|
|
515
|
-
:host(limebb-feed-timeline-item.is-clickable) .content {
|
|
516
|
-
cursor: pointer;
|
|
517
|
-
transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease-out;
|
|
518
|
-
cursor: pointer;
|
|
519
|
-
color: var(--mdc-theme-on-surface);
|
|
520
|
-
background-color: transparent;
|
|
521
|
-
}
|
|
522
|
-
:host(limebb-feed-timeline-item.is-clickable) .content:hover {
|
|
523
|
-
color: var(--mdc-theme-on-surface);
|
|
524
|
-
background-color: var(--lime-elevated-surface-background-color);
|
|
525
|
-
box-shadow: var(--button-shadow-hovered);
|
|
526
|
-
}
|
|
527
|
-
:host(limebb-feed-timeline-item.is-clickable) .content:active {
|
|
528
|
-
box-shadow: var(--button-shadow-pressed);
|
|
529
|
-
transform: translate3d(0, 0.08rem, 0);
|
|
530
|
-
}
|
|
531
|
-
:host(limebb-feed-timeline-item.is-clickable) .content:hover {
|
|
532
|
-
z-index: 1;
|
|
533
512
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h, Host
|
|
1
|
+
import { h, Host } from '@stencil/core';
|
|
2
2
|
import { PlatformServiceName, } from '@limetech/lime-web-components';
|
|
3
3
|
/**
|
|
4
4
|
* Feed item
|
|
@@ -57,9 +57,6 @@ export class FeedTimelineItem {
|
|
|
57
57
|
this.bodyTextHeight = height;
|
|
58
58
|
}
|
|
59
59
|
};
|
|
60
|
-
this.handleFeedItemClick = () => {
|
|
61
|
-
this.interact.emit(this.item);
|
|
62
|
-
};
|
|
63
60
|
this.renderHeader = () => {
|
|
64
61
|
if ((this.isBundled && !this.item.heading) ||
|
|
65
62
|
(!this.item.author && !this.item.heading)) {
|
|
@@ -176,7 +173,7 @@ export class FeedTimelineItem {
|
|
|
176
173
|
(_a = this.bodyResizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
177
174
|
}
|
|
178
175
|
render() {
|
|
179
|
-
var _a, _b
|
|
176
|
+
var _a, _b;
|
|
180
177
|
return (h(Host, { id: this.item.id, class: {
|
|
181
178
|
'has-unpromoted-actions': !!((_a = this.item.unpromotedActions) === null || _a === void 0 ? void 0 : _a.length),
|
|
182
179
|
'has-author-picture': !!((_b = this.item.author) === null || _b === void 0 ? void 0 : _b.picture),
|
|
@@ -184,7 +181,6 @@ export class FeedTimelineItem {
|
|
|
184
181
|
'expanded-heading': this.isHeadingExpanded,
|
|
185
182
|
'shows-more': this.showMore,
|
|
186
183
|
'is-tall': this.isTall,
|
|
187
|
-
'is-clickable': !!((_c = this.item) === null || _c === void 0 ? void 0 : _c.clickable),
|
|
188
184
|
}, style: {
|
|
189
185
|
'--body-text-height': `${this.bodyTextHeight}`,
|
|
190
186
|
'--color-code': `${this.item.color}`,
|
|
@@ -207,14 +203,7 @@ export class FeedTimelineItem {
|
|
|
207
203
|
} }));
|
|
208
204
|
}
|
|
209
205
|
renderContent() {
|
|
210
|
-
|
|
211
|
-
if (this.item.clickable) {
|
|
212
|
-
handleClick = this.handleFeedItemClick;
|
|
213
|
-
}
|
|
214
|
-
else {
|
|
215
|
-
handleClick = undefined;
|
|
216
|
-
}
|
|
217
|
-
return (h("div", { class: "right" }, h("div", { class: "content", onClick: handleClick }, this.renderThreadEffects(), this.renderHeader(), this.renderUnpromotedActionsMenu(), this.renderValue(), this.renderRelations()), this.renderPromotedActions()));
|
|
206
|
+
return (h("div", { class: "right" }, h("div", { class: "content" }, this.renderThreadEffects(), this.renderHeader(), this.renderUnpromotedActionsMenu(), this.renderValue(), this.renderRelations()), this.renderPromotedActions()));
|
|
218
207
|
}
|
|
219
208
|
renderThreadEffects() {
|
|
220
209
|
if (!this.isThreadMessage) {
|
|
@@ -449,28 +438,5 @@ export class FeedTimelineItem {
|
|
|
449
438
|
"isTall": {}
|
|
450
439
|
};
|
|
451
440
|
}
|
|
452
|
-
static get events() {
|
|
453
|
-
return [{
|
|
454
|
-
"method": "interact",
|
|
455
|
-
"name": "interact",
|
|
456
|
-
"bubbles": true,
|
|
457
|
-
"cancelable": true,
|
|
458
|
-
"composed": true,
|
|
459
|
-
"docs": {
|
|
460
|
-
"tags": [],
|
|
461
|
-
"text": "Fired when clicking on the Feed item"
|
|
462
|
-
},
|
|
463
|
-
"complexType": {
|
|
464
|
-
"original": "FeedItem",
|
|
465
|
-
"resolved": "FeedItem",
|
|
466
|
-
"references": {
|
|
467
|
-
"FeedItem": {
|
|
468
|
-
"location": "import",
|
|
469
|
-
"path": "./feed-item.types"
|
|
470
|
-
}
|
|
471
|
-
}
|
|
472
|
-
}
|
|
473
|
-
}];
|
|
474
|
-
}
|
|
475
441
|
static get elementRef() { return "el"; }
|
|
476
442
|
}
|
|
@@ -26,7 +26,6 @@ const MINUTES_OF_PROXIMITY = 5;
|
|
|
26
26
|
* @exampleComponent limebb-example-feed-item-types
|
|
27
27
|
* @exampleComponent limebb-example-feed-item-color-coding
|
|
28
28
|
* @exampleComponent limebb-example-feed-new-items
|
|
29
|
-
* @exampleComponent limebb-example-feed-item-clickable
|
|
30
29
|
* @beta
|
|
31
30
|
*/
|
|
32
31
|
export class Feed {
|
|
@@ -44,9 +43,6 @@ export class Feed {
|
|
|
44
43
|
* The total number of items available
|
|
45
44
|
*/
|
|
46
45
|
this.totalCount = 0;
|
|
47
|
-
this.handleItemClick = (event) => {
|
|
48
|
-
this.itemClick.emit(event.detail);
|
|
49
|
-
};
|
|
50
46
|
this.isBundled = (item, index) => {
|
|
51
47
|
var _a, _b, _c, _d, _e, _f;
|
|
52
48
|
if (index === 0) {
|
|
@@ -100,7 +96,7 @@ export class Feed {
|
|
|
100
96
|
return [
|
|
101
97
|
this.renderNewItemsIndicator(item.timestamp, index),
|
|
102
98
|
this.renderDateHeader(item.timestamp, index),
|
|
103
|
-
h("limebb-feed-timeline-item", { platform: this.platform, context: this.context, item: item, key: item.id, ui: item === null || item === void 0 ? void 0 : item.ui, isBundled: this.isBundled(item, index)
|
|
99
|
+
h("limebb-feed-timeline-item", { platform: this.platform, context: this.context, item: item, key: item.id, ui: item === null || item === void 0 ? void 0 : item.ui, isBundled: this.isBundled(item, index) }),
|
|
104
100
|
];
|
|
105
101
|
});
|
|
106
102
|
}
|
|
@@ -344,26 +340,6 @@ export class Feed {
|
|
|
344
340
|
"resolved": "void",
|
|
345
341
|
"references": {}
|
|
346
342
|
}
|
|
347
|
-
}, {
|
|
348
|
-
"method": "itemClick",
|
|
349
|
-
"name": "itemClick",
|
|
350
|
-
"bubbles": true,
|
|
351
|
-
"cancelable": true,
|
|
352
|
-
"composed": true,
|
|
353
|
-
"docs": {
|
|
354
|
-
"tags": [],
|
|
355
|
-
"text": "Fired when a feed item with `clickable` set to `true` is clicked"
|
|
356
|
-
},
|
|
357
|
-
"complexType": {
|
|
358
|
-
"original": "FeedItem",
|
|
359
|
-
"resolved": "FeedItem",
|
|
360
|
-
"references": {
|
|
361
|
-
"FeedItem": {
|
|
362
|
-
"location": "import",
|
|
363
|
-
"path": "./feed-item/feed-item.types"
|
|
364
|
-
}
|
|
365
|
-
}
|
|
366
|
-
}
|
|
367
343
|
}];
|
|
368
344
|
}
|
|
369
345
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|