@limetech/lime-crm-building-blocks 1.42.0 → 1.43.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/lime-crm-building-blocks.cjs.js +1 -1
- package/dist/cjs/limebb-empty-state.cjs.entry.js +45 -0
- package/dist/cjs/limebb-notification-list.cjs.entry.js +0 -9
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/empty-state/empty-state.css +26 -0
- package/dist/collection/components/empty-state/empty-state.js +110 -0
- package/dist/collection/components/notification-list/notification-list.js +0 -26
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +1 -0
- package/dist/components/limebb-empty-state.d.ts +11 -0
- package/dist/components/limebb-empty-state.js +63 -0
- package/dist/components/limebb-notification-list.js +0 -10
- package/dist/esm/lime-crm-building-blocks.js +1 -1
- package/dist/esm/limebb-empty-state.entry.js +41 -0
- package/dist/esm/limebb-notification-list.entry.js +0 -9
- package/dist/esm/loader.js +1 -1
- package/dist/lime-crm-building-blocks/lime-crm-building-blocks.esm.js +1 -1
- package/dist/lime-crm-building-blocks/p-02e5fa8f.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-d4e6bed2.entry.js +1 -0
- package/dist/types/components/empty-state/empty-state.d.ts +28 -0
- package/dist/types/components/notification-list/notification-list.d.ts +0 -5
- package/dist/types/components.d.ts +37 -8
- package/package.json +4 -4
- package/dist/lime-crm-building-blocks/p-cf9cdfb5.entry.js +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
### [1.43.1](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.43.0...v1.43.1) (2024-09-04)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
* **notification-list:** remove `emptyStateMessage` prop ([c9bacdb](https://github.com/Lundalogik/lime-crm-building-blocks/commit/c9bacdba3cbbbbc470713fa97879350882e9b16f))
|
|
8
|
+
|
|
9
|
+
## [1.43.0](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.42.0...v1.43.0) (2024-09-04)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
* **empty-message:** add a new component ([ea35cfc](https://github.com/Lundalogik/lime-crm-building-blocks/commit/ea35cfcdf92a4840d3cd2ede4559c0efbaedb438))
|
|
16
|
+
|
|
1
17
|
## [1.42.0](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.41.3...v1.42.0) (2024-08-29)
|
|
2
18
|
|
|
3
19
|
|
|
@@ -15,5 +15,5 @@ const patchBrowser = () => {
|
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
patchBrowser().then(options => {
|
|
18
|
-
return index.bootstrapLazy([["limebb-kanban.cjs",[[1,"limebb-kanban",{"platform":[16],"context":[16],"items":[16],"paginationSize":[2,"pagination-size"],"groupBy":[513,"group-by"],"groups":[16]}]]],["limebb-date-range.cjs",[[1,"limebb-date-range",{"platform":[16],"context":[16],"startTime":[16],"endTime":[16],"startTimeLabel":[1,"start-time-label"],"endTimeLabel":[1,"end-time-label"],"language":[1],"timeFormat":[1,"time-format"],"type":[1]}]]],["limebb-feed.cjs",[[1,"limebb-feed",{"platform":[16],"context":[16],"items":[16],"emptyStateMessage":[1,"empty-state-message"],"loading":[4],"minutesOfProximity":[2,"minutes-of-proximity"],"totalCount":[2,"total-count"],"lastVisitedTimestamp":[1,"last-visited-timestamp"]}]]],["limebb-notification-list.cjs",[[1,"limebb-notification-list",{"platform":[16],"context":[16],"items":[16],"
|
|
18
|
+
return index.bootstrapLazy([["limebb-kanban.cjs",[[1,"limebb-kanban",{"platform":[16],"context":[16],"items":[16],"paginationSize":[2,"pagination-size"],"groupBy":[513,"group-by"],"groups":[16]}]]],["limebb-date-range.cjs",[[1,"limebb-date-range",{"platform":[16],"context":[16],"startTime":[16],"endTime":[16],"startTimeLabel":[1,"start-time-label"],"endTimeLabel":[1,"end-time-label"],"language":[1],"timeFormat":[1,"time-format"],"type":[1]}]]],["limebb-feed.cjs",[[1,"limebb-feed",{"platform":[16],"context":[16],"items":[16],"emptyStateMessage":[1,"empty-state-message"],"loading":[4],"minutesOfProximity":[2,"minutes-of-proximity"],"totalCount":[2,"total-count"],"lastVisitedTimestamp":[1,"last-visited-timestamp"]}]]],["limebb-notification-list.cjs",[[1,"limebb-notification-list",{"platform":[16],"context":[16],"items":[16],"loading":[4],"paginationSize":[2,"pagination-size"],"lastVisitedTimestamp":[1,"last-visited-timestamp"],"displayedItemCount":[32]}]]],["limebb-browser.cjs",[[17,"limebb-browser",{"platform":[16],"context":[16],"items":[16],"layout":[1],"filter":[32]}]]],["limebb-currency-picker.cjs",[[1,"limebb-currency-picker",{"label":[513],"platform":[16],"currencies":[16],"helperText":[513,"helper-text"],"required":[516],"readonly":[516],"invalid":[516],"disabled":[516],"value":[16]}]]],["limebb-dashboard-widget.cjs",[[1,"limebb-dashboard-widget",{"heading":[513],"subheading":[513],"supportingText":[513,"supporting-text"],"icon":[513]}]]],["limebb-empty-state.cjs",[[1,"limebb-empty-state",{"heading":[513],"value":[513],"icon":[16]}]]],["limebb-icon-picker.cjs",[[1,"limebb-icon-picker",{"value":[1],"required":[4],"readonly":[4],"invalid":[4],"disabled":[4],"label":[1],"helperText":[1,"helper-text"]}]]],["limebb-info-tile.cjs",[[1,"limebb-info-tile",{"platform":[16],"context":[16],"filterId":[1,"filter-id"],"disabled":[4],"icon":[1],"label":[1],"prefix":[1],"suffix":[1],"propertyName":[1,"property-name"],"aggregateOperator":[1,"aggregate-operator"],"filters":[32],"value":[32],"loading":[32],"error":[32]}]]],["limebb-limeobject-file-viewer.cjs",[[1,"limebb-limeobject-file-viewer",{"platform":[16],"context":[16],"property":[1],"fileTypes":[16],"limeobject":[32],"limetype":[32]}]]],["limebb-locale-picker.cjs",[[1,"limebb-locale-picker",{"platform":[16],"context":[16],"value":[1],"required":[4],"disabled":[4],"label":[1],"helperText":[1,"helper-text"],"readonly":[4],"multipleChoice":[4,"multiple-choice"],"allLanguages":[32]}]]],["limebb-navigation-button.cjs",[[17,"limebb-navigation-button",{"href":[513],"tooltipLabel":[513,"tooltip-label"],"tooltipHelperLabel":[513,"tooltip-helper-label"],"type":[513]}]]],["limebb-kanban-item.cjs",[[1,"limebb-kanban-item",{"platform":[16],"context":[16],"item":[16]}]]],["limebb-kanban-column.cjs",[[1,"limebb-kanban-column",{"platform":[16],"context":[16],"columnHeading":[1,"column-heading"],"items":[16],"loading":[4],"paginationSize":[2,"pagination-size"],"displayedItemCount":[32]}]]],["limebb-date-picker.cjs",[[1,"limebb-date-picker",{"platform":[16],"context":[16],"disabled":[516],"readonly":[516],"invalid":[516],"label":[513],"placeholder":[513],"helperText":[513,"helper-text"],"required":[516],"value":[1],"type":[513]}]]],["limebb-feed-timeline-item.cjs",[[1,"limebb-feed-timeline-item",{"platform":[16],"context":[16],"item":[16],"ui":[513],"isBundled":[516,"is-bundled"],"headingCanExpand":[32],"isHeadingExpanded":[32],"showMore":[32],"isTall":[32]}]]],["limebb-notification-item.cjs",[[1,"limebb-notification-item",{"platform":[16],"context":[16],"item":[16]}]]]], options);
|
|
19
19
|
});
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-5aaf6970.js');
|
|
6
|
+
|
|
7
|
+
const emptyStateCss = ":host(limebb-empty-state){display:flex;flex-direction:column;align-items:center;gap:0.25rem;padding:0.5rem}*{box-sizing:border-box}h2{color:rgb(var(--contrast-1100));margin:0}limel-markdown{color:rgb(var(--contrast-1000));text-align:center;line-height:1.4}limel-icon{width:2.5rem}";
|
|
8
|
+
|
|
9
|
+
const EmptyState = class {
|
|
10
|
+
constructor(hostRef) {
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
12
|
+
}
|
|
13
|
+
render() {
|
|
14
|
+
return [
|
|
15
|
+
this.renderIcon(),
|
|
16
|
+
this.renderHeading(),
|
|
17
|
+
this.renderSubheader(),
|
|
18
|
+
];
|
|
19
|
+
}
|
|
20
|
+
renderHeading() {
|
|
21
|
+
if (!this.heading) {
|
|
22
|
+
return;
|
|
23
|
+
}
|
|
24
|
+
return index.h("h2", null, this.heading);
|
|
25
|
+
}
|
|
26
|
+
renderSubheader() {
|
|
27
|
+
if (!this.value) {
|
|
28
|
+
return;
|
|
29
|
+
}
|
|
30
|
+
return index.h("limel-markdown", { value: this.value });
|
|
31
|
+
}
|
|
32
|
+
renderIcon() {
|
|
33
|
+
var _a, _b, _c;
|
|
34
|
+
if (!this.icon) {
|
|
35
|
+
return;
|
|
36
|
+
}
|
|
37
|
+
return (index.h("limel-icon", { badge: true, name: (_a = this.icon) === null || _a === void 0 ? void 0 : _a.name, style: {
|
|
38
|
+
color: `${(_b = this.icon) === null || _b === void 0 ? void 0 : _b.color}`,
|
|
39
|
+
'background-color': `${(_c = this.icon) === null || _c === void 0 ? void 0 : _c.backgroundColor}`,
|
|
40
|
+
} }));
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
EmptyState.style = emptyStateCss;
|
|
44
|
+
|
|
45
|
+
exports.limebb_empty_state = EmptyState;
|
|
@@ -36,7 +36,6 @@ const NotificationList = class {
|
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
38
|
return [
|
|
39
|
-
this.renderEmptyFeedMessage(),
|
|
40
39
|
this.renderSpinner(),
|
|
41
40
|
this.renderNotificationItems(),
|
|
42
41
|
this.renderLoadMore(),
|
|
@@ -47,14 +46,6 @@ const NotificationList = class {
|
|
|
47
46
|
return index.h("limel-spinner", { size: "small" });
|
|
48
47
|
}
|
|
49
48
|
}
|
|
50
|
-
renderEmptyFeedMessage() {
|
|
51
|
-
if (this.loading) {
|
|
52
|
-
return;
|
|
53
|
-
}
|
|
54
|
-
if (this.items.length === 0) {
|
|
55
|
-
return index.h("p", { class: "empty-state" }, this.emptyStateMessage);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
49
|
renderNotificationItems() {
|
|
59
50
|
return this.items
|
|
60
51
|
.slice(0, this.displayedItemCount)
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -14,7 +14,7 @@ const patchEsm = () => {
|
|
|
14
14
|
const defineCustomElements = (win, options) => {
|
|
15
15
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
16
16
|
return patchEsm().then(() => {
|
|
17
|
-
return index.bootstrapLazy([["limebb-kanban.cjs",[[1,"limebb-kanban",{"platform":[16],"context":[16],"items":[16],"paginationSize":[2,"pagination-size"],"groupBy":[513,"group-by"],"groups":[16]}]]],["limebb-date-range.cjs",[[1,"limebb-date-range",{"platform":[16],"context":[16],"startTime":[16],"endTime":[16],"startTimeLabel":[1,"start-time-label"],"endTimeLabel":[1,"end-time-label"],"language":[1],"timeFormat":[1,"time-format"],"type":[1]}]]],["limebb-feed.cjs",[[1,"limebb-feed",{"platform":[16],"context":[16],"items":[16],"emptyStateMessage":[1,"empty-state-message"],"loading":[4],"minutesOfProximity":[2,"minutes-of-proximity"],"totalCount":[2,"total-count"],"lastVisitedTimestamp":[1,"last-visited-timestamp"]}]]],["limebb-notification-list.cjs",[[1,"limebb-notification-list",{"platform":[16],"context":[16],"items":[16],"
|
|
17
|
+
return index.bootstrapLazy([["limebb-kanban.cjs",[[1,"limebb-kanban",{"platform":[16],"context":[16],"items":[16],"paginationSize":[2,"pagination-size"],"groupBy":[513,"group-by"],"groups":[16]}]]],["limebb-date-range.cjs",[[1,"limebb-date-range",{"platform":[16],"context":[16],"startTime":[16],"endTime":[16],"startTimeLabel":[1,"start-time-label"],"endTimeLabel":[1,"end-time-label"],"language":[1],"timeFormat":[1,"time-format"],"type":[1]}]]],["limebb-feed.cjs",[[1,"limebb-feed",{"platform":[16],"context":[16],"items":[16],"emptyStateMessage":[1,"empty-state-message"],"loading":[4],"minutesOfProximity":[2,"minutes-of-proximity"],"totalCount":[2,"total-count"],"lastVisitedTimestamp":[1,"last-visited-timestamp"]}]]],["limebb-notification-list.cjs",[[1,"limebb-notification-list",{"platform":[16],"context":[16],"items":[16],"loading":[4],"paginationSize":[2,"pagination-size"],"lastVisitedTimestamp":[1,"last-visited-timestamp"],"displayedItemCount":[32]}]]],["limebb-browser.cjs",[[17,"limebb-browser",{"platform":[16],"context":[16],"items":[16],"layout":[1],"filter":[32]}]]],["limebb-currency-picker.cjs",[[1,"limebb-currency-picker",{"label":[513],"platform":[16],"currencies":[16],"helperText":[513,"helper-text"],"required":[516],"readonly":[516],"invalid":[516],"disabled":[516],"value":[16]}]]],["limebb-dashboard-widget.cjs",[[1,"limebb-dashboard-widget",{"heading":[513],"subheading":[513],"supportingText":[513,"supporting-text"],"icon":[513]}]]],["limebb-empty-state.cjs",[[1,"limebb-empty-state",{"heading":[513],"value":[513],"icon":[16]}]]],["limebb-icon-picker.cjs",[[1,"limebb-icon-picker",{"value":[1],"required":[4],"readonly":[4],"invalid":[4],"disabled":[4],"label":[1],"helperText":[1,"helper-text"]}]]],["limebb-info-tile.cjs",[[1,"limebb-info-tile",{"platform":[16],"context":[16],"filterId":[1,"filter-id"],"disabled":[4],"icon":[1],"label":[1],"prefix":[1],"suffix":[1],"propertyName":[1,"property-name"],"aggregateOperator":[1,"aggregate-operator"],"filters":[32],"value":[32],"loading":[32],"error":[32]}]]],["limebb-limeobject-file-viewer.cjs",[[1,"limebb-limeobject-file-viewer",{"platform":[16],"context":[16],"property":[1],"fileTypes":[16],"limeobject":[32],"limetype":[32]}]]],["limebb-locale-picker.cjs",[[1,"limebb-locale-picker",{"platform":[16],"context":[16],"value":[1],"required":[4],"disabled":[4],"label":[1],"helperText":[1,"helper-text"],"readonly":[4],"multipleChoice":[4,"multiple-choice"],"allLanguages":[32]}]]],["limebb-navigation-button.cjs",[[17,"limebb-navigation-button",{"href":[513],"tooltipLabel":[513,"tooltip-label"],"tooltipHelperLabel":[513,"tooltip-helper-label"],"type":[513]}]]],["limebb-kanban-item.cjs",[[1,"limebb-kanban-item",{"platform":[16],"context":[16],"item":[16]}]]],["limebb-kanban-column.cjs",[[1,"limebb-kanban-column",{"platform":[16],"context":[16],"columnHeading":[1,"column-heading"],"items":[16],"loading":[4],"paginationSize":[2,"pagination-size"],"displayedItemCount":[32]}]]],["limebb-date-picker.cjs",[[1,"limebb-date-picker",{"platform":[16],"context":[16],"disabled":[516],"readonly":[516],"invalid":[516],"label":[513],"placeholder":[513],"helperText":[513,"helper-text"],"required":[516],"value":[1],"type":[513]}]]],["limebb-feed-timeline-item.cjs",[[1,"limebb-feed-timeline-item",{"platform":[16],"context":[16],"item":[16],"ui":[513],"isBundled":[516,"is-bundled"],"headingCanExpand":[32],"isHeadingExpanded":[32],"showMore":[32],"isTall":[32]}]]],["limebb-notification-item.cjs",[[1,"limebb-notification-item",{"platform":[16],"context":[16],"item":[16]}]]]], options);
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
"./components/dashboard-widget/dashboard-widget.js",
|
|
6
6
|
"./components/date-picker/date-picker.js",
|
|
7
7
|
"./components/date-range/date-range.js",
|
|
8
|
+
"./components/empty-state/empty-state.js",
|
|
8
9
|
"./components/feed/feed.js",
|
|
9
10
|
"./components/feed/feed-item/feed-timeline-item.js",
|
|
10
11
|
"./components/icon-picker/icon-picker.js",
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
:host(limebb-empty-state) {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
align-items: center;
|
|
5
|
+
gap: 0.25rem;
|
|
6
|
+
padding: 0.5rem;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
* {
|
|
10
|
+
box-sizing: border-box;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
h2 {
|
|
14
|
+
color: rgb(var(--contrast-1100));
|
|
15
|
+
margin: 0;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
limel-markdown {
|
|
19
|
+
color: rgb(var(--contrast-1000));
|
|
20
|
+
text-align: center;
|
|
21
|
+
line-height: 1.4;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
limel-icon {
|
|
25
|
+
width: 2.5rem;
|
|
26
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { h } from '@stencil/core';
|
|
2
|
+
/**
|
|
3
|
+
* An "empty state" in user interface design refers to the screen or space displayed, when there is no data
|
|
4
|
+
* or content available to show to the user. This state typically occurs in new accounts, after clearing data,
|
|
5
|
+
* or when no results are returned from a search.
|
|
6
|
+
*
|
|
7
|
+
* @exampleComponent limebb-example-empty-state-basic
|
|
8
|
+
* @exampleComponent limebb-example-empty-state-value-as-markdown
|
|
9
|
+
*/
|
|
10
|
+
export class EmptyState {
|
|
11
|
+
render() {
|
|
12
|
+
return [
|
|
13
|
+
this.renderIcon(),
|
|
14
|
+
this.renderHeading(),
|
|
15
|
+
this.renderSubheader(),
|
|
16
|
+
];
|
|
17
|
+
}
|
|
18
|
+
renderHeading() {
|
|
19
|
+
if (!this.heading) {
|
|
20
|
+
return;
|
|
21
|
+
}
|
|
22
|
+
return h("h2", null, this.heading);
|
|
23
|
+
}
|
|
24
|
+
renderSubheader() {
|
|
25
|
+
if (!this.value) {
|
|
26
|
+
return;
|
|
27
|
+
}
|
|
28
|
+
return h("limel-markdown", { value: this.value });
|
|
29
|
+
}
|
|
30
|
+
renderIcon() {
|
|
31
|
+
var _a, _b, _c;
|
|
32
|
+
if (!this.icon) {
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
35
|
+
return (h("limel-icon", { badge: true, name: (_a = this.icon) === null || _a === void 0 ? void 0 : _a.name, style: {
|
|
36
|
+
color: `${(_b = this.icon) === null || _b === void 0 ? void 0 : _b.color}`,
|
|
37
|
+
'background-color': `${(_c = this.icon) === null || _c === void 0 ? void 0 : _c.backgroundColor}`,
|
|
38
|
+
} }));
|
|
39
|
+
}
|
|
40
|
+
static get is() { return "limebb-empty-state"; }
|
|
41
|
+
static get encapsulation() { return "shadow"; }
|
|
42
|
+
static get originalStyleUrls() {
|
|
43
|
+
return {
|
|
44
|
+
"$": ["empty-state.scss"]
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
static get styleUrls() {
|
|
48
|
+
return {
|
|
49
|
+
"$": ["empty-state.css"]
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
static get properties() {
|
|
53
|
+
return {
|
|
54
|
+
"heading": {
|
|
55
|
+
"type": "string",
|
|
56
|
+
"mutable": false,
|
|
57
|
+
"complexType": {
|
|
58
|
+
"original": "string",
|
|
59
|
+
"resolved": "string",
|
|
60
|
+
"references": {}
|
|
61
|
+
},
|
|
62
|
+
"required": false,
|
|
63
|
+
"optional": false,
|
|
64
|
+
"docs": {
|
|
65
|
+
"tags": [],
|
|
66
|
+
"text": "Text to display in the header"
|
|
67
|
+
},
|
|
68
|
+
"attribute": "heading",
|
|
69
|
+
"reflect": true
|
|
70
|
+
},
|
|
71
|
+
"value": {
|
|
72
|
+
"type": "string",
|
|
73
|
+
"mutable": false,
|
|
74
|
+
"complexType": {
|
|
75
|
+
"original": "string",
|
|
76
|
+
"resolved": "string | undefined",
|
|
77
|
+
"references": {}
|
|
78
|
+
},
|
|
79
|
+
"required": false,
|
|
80
|
+
"optional": true,
|
|
81
|
+
"docs": {
|
|
82
|
+
"tags": [],
|
|
83
|
+
"text": "Message to further clarify the heading. It receives markdown syntax and renders it as HTML.\nThis allows for more complex formatting. For example, you can use links, lists, and other formatting options."
|
|
84
|
+
},
|
|
85
|
+
"attribute": "value",
|
|
86
|
+
"reflect": true
|
|
87
|
+
},
|
|
88
|
+
"icon": {
|
|
89
|
+
"type": "unknown",
|
|
90
|
+
"mutable": false,
|
|
91
|
+
"complexType": {
|
|
92
|
+
"original": "Icon",
|
|
93
|
+
"resolved": "Icon | undefined",
|
|
94
|
+
"references": {
|
|
95
|
+
"Icon": {
|
|
96
|
+
"location": "import",
|
|
97
|
+
"path": "@limetech/lime-elements"
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
"required": false,
|
|
102
|
+
"optional": true,
|
|
103
|
+
"docs": {
|
|
104
|
+
"tags": [],
|
|
105
|
+
"text": "Icon to display"
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
}
|
|
@@ -37,7 +37,6 @@ export class NotificationList {
|
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
39
|
return [
|
|
40
|
-
this.renderEmptyFeedMessage(),
|
|
41
40
|
this.renderSpinner(),
|
|
42
41
|
this.renderNotificationItems(),
|
|
43
42
|
this.renderLoadMore(),
|
|
@@ -48,14 +47,6 @@ export class NotificationList {
|
|
|
48
47
|
return h("limel-spinner", { size: "small" });
|
|
49
48
|
}
|
|
50
49
|
}
|
|
51
|
-
renderEmptyFeedMessage() {
|
|
52
|
-
if (this.loading) {
|
|
53
|
-
return;
|
|
54
|
-
}
|
|
55
|
-
if (this.items.length === 0) {
|
|
56
|
-
return h("p", { class: "empty-state" }, this.emptyStateMessage);
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
50
|
renderNotificationItems() {
|
|
60
51
|
return this.items
|
|
61
52
|
.slice(0, this.displayedItemCount)
|
|
@@ -196,23 +187,6 @@ export class NotificationList {
|
|
|
196
187
|
},
|
|
197
188
|
"defaultValue": "[]"
|
|
198
189
|
},
|
|
199
|
-
"emptyStateMessage": {
|
|
200
|
-
"type": "string",
|
|
201
|
-
"mutable": false,
|
|
202
|
-
"complexType": {
|
|
203
|
-
"original": "string",
|
|
204
|
-
"resolved": "string",
|
|
205
|
-
"references": {}
|
|
206
|
-
},
|
|
207
|
-
"required": false,
|
|
208
|
-
"optional": false,
|
|
209
|
-
"docs": {
|
|
210
|
-
"tags": [],
|
|
211
|
-
"text": "The message shown when there are no items to show in the feed."
|
|
212
|
-
},
|
|
213
|
-
"attribute": "empty-state-message",
|
|
214
|
-
"reflect": false
|
|
215
|
-
},
|
|
216
190
|
"loading": {
|
|
217
191
|
"type": "boolean",
|
|
218
192
|
"mutable": false,
|
|
@@ -4,6 +4,7 @@ export { CurrencyPicker as LimebbCurrencyPicker } from '../types/components/curr
|
|
|
4
4
|
export { DashboardComponent as LimebbDashboardWidget } from '../types/components/dashboard-widget/dashboard-widget';
|
|
5
5
|
export { DatePicker as LimebbDatePicker } from '../types/components/date-picker/date-picker';
|
|
6
6
|
export { DateRange as LimebbDateRange } from '../types/components/date-range/date-range';
|
|
7
|
+
export { EmptyState as LimebbEmptyState } from '../types/components/empty-state/empty-state';
|
|
7
8
|
export { Feed as LimebbFeed } from '../types/components/feed/feed';
|
|
8
9
|
export { FeedTimelineItem as LimebbFeedTimelineItem } from '../types/components/feed/feed-item/feed-timeline-item';
|
|
9
10
|
export { IconPicker as LimebbIconPicker } from '../types/components/icon-picker/icon-picker';
|
package/dist/components/index.js
CHANGED
|
@@ -4,6 +4,7 @@ export { LimebbCurrencyPicker, defineCustomElement as defineCustomElementLimebbC
|
|
|
4
4
|
export { LimebbDashboardWidget, defineCustomElement as defineCustomElementLimebbDashboardWidget } from './limebb-dashboard-widget.js';
|
|
5
5
|
export { LimebbDatePicker, defineCustomElement as defineCustomElementLimebbDatePicker } from './limebb-date-picker.js';
|
|
6
6
|
export { LimebbDateRange, defineCustomElement as defineCustomElementLimebbDateRange } from './limebb-date-range.js';
|
|
7
|
+
export { LimebbEmptyState, defineCustomElement as defineCustomElementLimebbEmptyState } from './limebb-empty-state.js';
|
|
7
8
|
export { LimebbFeed, defineCustomElement as defineCustomElementLimebbFeed } from './limebb-feed.js';
|
|
8
9
|
export { LimebbFeedTimelineItem, defineCustomElement as defineCustomElementLimebbFeedTimelineItem } from './limebb-feed-timeline-item.js';
|
|
9
10
|
export { LimebbIconPicker, defineCustomElement as defineCustomElementLimebbIconPicker } from './limebb-icon-picker.js';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface LimebbEmptyState extends Components.LimebbEmptyState, HTMLElement {}
|
|
4
|
+
export const LimebbEmptyState: {
|
|
5
|
+
prototype: LimebbEmptyState;
|
|
6
|
+
new (): LimebbEmptyState;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
+
|
|
3
|
+
const emptyStateCss = ":host(limebb-empty-state){display:flex;flex-direction:column;align-items:center;gap:0.25rem;padding:0.5rem}*{box-sizing:border-box}h2{color:rgb(var(--contrast-1100));margin:0}limel-markdown{color:rgb(var(--contrast-1000));text-align:center;line-height:1.4}limel-icon{width:2.5rem}";
|
|
4
|
+
|
|
5
|
+
const EmptyState = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
6
|
+
constructor() {
|
|
7
|
+
super();
|
|
8
|
+
this.__registerHost();
|
|
9
|
+
this.__attachShadow();
|
|
10
|
+
}
|
|
11
|
+
render() {
|
|
12
|
+
return [
|
|
13
|
+
this.renderIcon(),
|
|
14
|
+
this.renderHeading(),
|
|
15
|
+
this.renderSubheader(),
|
|
16
|
+
];
|
|
17
|
+
}
|
|
18
|
+
renderHeading() {
|
|
19
|
+
if (!this.heading) {
|
|
20
|
+
return;
|
|
21
|
+
}
|
|
22
|
+
return h("h2", null, this.heading);
|
|
23
|
+
}
|
|
24
|
+
renderSubheader() {
|
|
25
|
+
if (!this.value) {
|
|
26
|
+
return;
|
|
27
|
+
}
|
|
28
|
+
return h("limel-markdown", { value: this.value });
|
|
29
|
+
}
|
|
30
|
+
renderIcon() {
|
|
31
|
+
var _a, _b, _c;
|
|
32
|
+
if (!this.icon) {
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
35
|
+
return (h("limel-icon", { badge: true, name: (_a = this.icon) === null || _a === void 0 ? void 0 : _a.name, style: {
|
|
36
|
+
color: `${(_b = this.icon) === null || _b === void 0 ? void 0 : _b.color}`,
|
|
37
|
+
'background-color': `${(_c = this.icon) === null || _c === void 0 ? void 0 : _c.backgroundColor}`,
|
|
38
|
+
} }));
|
|
39
|
+
}
|
|
40
|
+
static get style() { return emptyStateCss; }
|
|
41
|
+
}, [1, "limebb-empty-state", {
|
|
42
|
+
"heading": [513],
|
|
43
|
+
"value": [513],
|
|
44
|
+
"icon": [16]
|
|
45
|
+
}]);
|
|
46
|
+
function defineCustomElement$1() {
|
|
47
|
+
if (typeof customElements === "undefined") {
|
|
48
|
+
return;
|
|
49
|
+
}
|
|
50
|
+
const components = ["limebb-empty-state"];
|
|
51
|
+
components.forEach(tagName => { switch (tagName) {
|
|
52
|
+
case "limebb-empty-state":
|
|
53
|
+
if (!customElements.get(tagName)) {
|
|
54
|
+
customElements.define(tagName, EmptyState);
|
|
55
|
+
}
|
|
56
|
+
break;
|
|
57
|
+
} });
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
const LimebbEmptyState = EmptyState;
|
|
61
|
+
const defineCustomElement = defineCustomElement$1;
|
|
62
|
+
|
|
63
|
+
export { LimebbEmptyState, defineCustomElement };
|
|
@@ -35,7 +35,6 @@ const NotificationList = /*@__PURE__*/ proxyCustomElement(class extends HTMLElem
|
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
37
|
return [
|
|
38
|
-
this.renderEmptyFeedMessage(),
|
|
39
38
|
this.renderSpinner(),
|
|
40
39
|
this.renderNotificationItems(),
|
|
41
40
|
this.renderLoadMore(),
|
|
@@ -46,14 +45,6 @@ const NotificationList = /*@__PURE__*/ proxyCustomElement(class extends HTMLElem
|
|
|
46
45
|
return h("limel-spinner", { size: "small" });
|
|
47
46
|
}
|
|
48
47
|
}
|
|
49
|
-
renderEmptyFeedMessage() {
|
|
50
|
-
if (this.loading) {
|
|
51
|
-
return;
|
|
52
|
-
}
|
|
53
|
-
if (this.items.length === 0) {
|
|
54
|
-
return h("p", { class: "empty-state" }, this.emptyStateMessage);
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
48
|
renderNotificationItems() {
|
|
58
49
|
return this.items
|
|
59
50
|
.slice(0, this.displayedItemCount)
|
|
@@ -118,7 +109,6 @@ const NotificationList = /*@__PURE__*/ proxyCustomElement(class extends HTMLElem
|
|
|
118
109
|
"platform": [16],
|
|
119
110
|
"context": [16],
|
|
120
111
|
"items": [16],
|
|
121
|
-
"emptyStateMessage": [1, "empty-state-message"],
|
|
122
112
|
"loading": [4],
|
|
123
113
|
"paginationSize": [2, "pagination-size"],
|
|
124
114
|
"lastVisitedTimestamp": [1, "last-visited-timestamp"],
|
|
@@ -13,5 +13,5 @@ const patchBrowser = () => {
|
|
|
13
13
|
};
|
|
14
14
|
|
|
15
15
|
patchBrowser().then(options => {
|
|
16
|
-
return bootstrapLazy([["limebb-kanban",[[1,"limebb-kanban",{"platform":[16],"context":[16],"items":[16],"paginationSize":[2,"pagination-size"],"groupBy":[513,"group-by"],"groups":[16]}]]],["limebb-date-range",[[1,"limebb-date-range",{"platform":[16],"context":[16],"startTime":[16],"endTime":[16],"startTimeLabel":[1,"start-time-label"],"endTimeLabel":[1,"end-time-label"],"language":[1],"timeFormat":[1,"time-format"],"type":[1]}]]],["limebb-feed",[[1,"limebb-feed",{"platform":[16],"context":[16],"items":[16],"emptyStateMessage":[1,"empty-state-message"],"loading":[4],"minutesOfProximity":[2,"minutes-of-proximity"],"totalCount":[2,"total-count"],"lastVisitedTimestamp":[1,"last-visited-timestamp"]}]]],["limebb-notification-list",[[1,"limebb-notification-list",{"platform":[16],"context":[16],"items":[16],"
|
|
16
|
+
return bootstrapLazy([["limebb-kanban",[[1,"limebb-kanban",{"platform":[16],"context":[16],"items":[16],"paginationSize":[2,"pagination-size"],"groupBy":[513,"group-by"],"groups":[16]}]]],["limebb-date-range",[[1,"limebb-date-range",{"platform":[16],"context":[16],"startTime":[16],"endTime":[16],"startTimeLabel":[1,"start-time-label"],"endTimeLabel":[1,"end-time-label"],"language":[1],"timeFormat":[1,"time-format"],"type":[1]}]]],["limebb-feed",[[1,"limebb-feed",{"platform":[16],"context":[16],"items":[16],"emptyStateMessage":[1,"empty-state-message"],"loading":[4],"minutesOfProximity":[2,"minutes-of-proximity"],"totalCount":[2,"total-count"],"lastVisitedTimestamp":[1,"last-visited-timestamp"]}]]],["limebb-notification-list",[[1,"limebb-notification-list",{"platform":[16],"context":[16],"items":[16],"loading":[4],"paginationSize":[2,"pagination-size"],"lastVisitedTimestamp":[1,"last-visited-timestamp"],"displayedItemCount":[32]}]]],["limebb-browser",[[17,"limebb-browser",{"platform":[16],"context":[16],"items":[16],"layout":[1],"filter":[32]}]]],["limebb-currency-picker",[[1,"limebb-currency-picker",{"label":[513],"platform":[16],"currencies":[16],"helperText":[513,"helper-text"],"required":[516],"readonly":[516],"invalid":[516],"disabled":[516],"value":[16]}]]],["limebb-dashboard-widget",[[1,"limebb-dashboard-widget",{"heading":[513],"subheading":[513],"supportingText":[513,"supporting-text"],"icon":[513]}]]],["limebb-empty-state",[[1,"limebb-empty-state",{"heading":[513],"value":[513],"icon":[16]}]]],["limebb-icon-picker",[[1,"limebb-icon-picker",{"value":[1],"required":[4],"readonly":[4],"invalid":[4],"disabled":[4],"label":[1],"helperText":[1,"helper-text"]}]]],["limebb-info-tile",[[1,"limebb-info-tile",{"platform":[16],"context":[16],"filterId":[1,"filter-id"],"disabled":[4],"icon":[1],"label":[1],"prefix":[1],"suffix":[1],"propertyName":[1,"property-name"],"aggregateOperator":[1,"aggregate-operator"],"filters":[32],"value":[32],"loading":[32],"error":[32]}]]],["limebb-limeobject-file-viewer",[[1,"limebb-limeobject-file-viewer",{"platform":[16],"context":[16],"property":[1],"fileTypes":[16],"limeobject":[32],"limetype":[32]}]]],["limebb-locale-picker",[[1,"limebb-locale-picker",{"platform":[16],"context":[16],"value":[1],"required":[4],"disabled":[4],"label":[1],"helperText":[1,"helper-text"],"readonly":[4],"multipleChoice":[4,"multiple-choice"],"allLanguages":[32]}]]],["limebb-navigation-button",[[17,"limebb-navigation-button",{"href":[513],"tooltipLabel":[513,"tooltip-label"],"tooltipHelperLabel":[513,"tooltip-helper-label"],"type":[513]}]]],["limebb-kanban-item",[[1,"limebb-kanban-item",{"platform":[16],"context":[16],"item":[16]}]]],["limebb-kanban-column",[[1,"limebb-kanban-column",{"platform":[16],"context":[16],"columnHeading":[1,"column-heading"],"items":[16],"loading":[4],"paginationSize":[2,"pagination-size"],"displayedItemCount":[32]}]]],["limebb-date-picker",[[1,"limebb-date-picker",{"platform":[16],"context":[16],"disabled":[516],"readonly":[516],"invalid":[516],"label":[513],"placeholder":[513],"helperText":[513,"helper-text"],"required":[516],"value":[1],"type":[513]}]]],["limebb-feed-timeline-item",[[1,"limebb-feed-timeline-item",{"platform":[16],"context":[16],"item":[16],"ui":[513],"isBundled":[516,"is-bundled"],"headingCanExpand":[32],"isHeadingExpanded":[32],"showMore":[32],"isTall":[32]}]]],["limebb-notification-item",[[1,"limebb-notification-item",{"platform":[16],"context":[16],"item":[16]}]]]], options);
|
|
17
17
|
});
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index-3d816bf5.js';
|
|
2
|
+
|
|
3
|
+
const emptyStateCss = ":host(limebb-empty-state){display:flex;flex-direction:column;align-items:center;gap:0.25rem;padding:0.5rem}*{box-sizing:border-box}h2{color:rgb(var(--contrast-1100));margin:0}limel-markdown{color:rgb(var(--contrast-1000));text-align:center;line-height:1.4}limel-icon{width:2.5rem}";
|
|
4
|
+
|
|
5
|
+
const EmptyState = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
return [
|
|
11
|
+
this.renderIcon(),
|
|
12
|
+
this.renderHeading(),
|
|
13
|
+
this.renderSubheader(),
|
|
14
|
+
];
|
|
15
|
+
}
|
|
16
|
+
renderHeading() {
|
|
17
|
+
if (!this.heading) {
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
return h("h2", null, this.heading);
|
|
21
|
+
}
|
|
22
|
+
renderSubheader() {
|
|
23
|
+
if (!this.value) {
|
|
24
|
+
return;
|
|
25
|
+
}
|
|
26
|
+
return h("limel-markdown", { value: this.value });
|
|
27
|
+
}
|
|
28
|
+
renderIcon() {
|
|
29
|
+
var _a, _b, _c;
|
|
30
|
+
if (!this.icon) {
|
|
31
|
+
return;
|
|
32
|
+
}
|
|
33
|
+
return (h("limel-icon", { badge: true, name: (_a = this.icon) === null || _a === void 0 ? void 0 : _a.name, style: {
|
|
34
|
+
color: `${(_b = this.icon) === null || _b === void 0 ? void 0 : _b.color}`,
|
|
35
|
+
'background-color': `${(_c = this.icon) === null || _c === void 0 ? void 0 : _c.backgroundColor}`,
|
|
36
|
+
} }));
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
EmptyState.style = emptyStateCss;
|
|
40
|
+
|
|
41
|
+
export { EmptyState as limebb_empty_state };
|
|
@@ -32,7 +32,6 @@ const NotificationList = class {
|
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
34
|
return [
|
|
35
|
-
this.renderEmptyFeedMessage(),
|
|
36
35
|
this.renderSpinner(),
|
|
37
36
|
this.renderNotificationItems(),
|
|
38
37
|
this.renderLoadMore(),
|
|
@@ -43,14 +42,6 @@ const NotificationList = class {
|
|
|
43
42
|
return h("limel-spinner", { size: "small" });
|
|
44
43
|
}
|
|
45
44
|
}
|
|
46
|
-
renderEmptyFeedMessage() {
|
|
47
|
-
if (this.loading) {
|
|
48
|
-
return;
|
|
49
|
-
}
|
|
50
|
-
if (this.items.length === 0) {
|
|
51
|
-
return h("p", { class: "empty-state" }, this.emptyStateMessage);
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
45
|
renderNotificationItems() {
|
|
55
46
|
return this.items
|
|
56
47
|
.slice(0, this.displayedItemCount)
|
package/dist/esm/loader.js
CHANGED
|
@@ -10,7 +10,7 @@ const patchEsm = () => {
|
|
|
10
10
|
const defineCustomElements = (win, options) => {
|
|
11
11
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
12
12
|
return patchEsm().then(() => {
|
|
13
|
-
return bootstrapLazy([["limebb-kanban",[[1,"limebb-kanban",{"platform":[16],"context":[16],"items":[16],"paginationSize":[2,"pagination-size"],"groupBy":[513,"group-by"],"groups":[16]}]]],["limebb-date-range",[[1,"limebb-date-range",{"platform":[16],"context":[16],"startTime":[16],"endTime":[16],"startTimeLabel":[1,"start-time-label"],"endTimeLabel":[1,"end-time-label"],"language":[1],"timeFormat":[1,"time-format"],"type":[1]}]]],["limebb-feed",[[1,"limebb-feed",{"platform":[16],"context":[16],"items":[16],"emptyStateMessage":[1,"empty-state-message"],"loading":[4],"minutesOfProximity":[2,"minutes-of-proximity"],"totalCount":[2,"total-count"],"lastVisitedTimestamp":[1,"last-visited-timestamp"]}]]],["limebb-notification-list",[[1,"limebb-notification-list",{"platform":[16],"context":[16],"items":[16],"
|
|
13
|
+
return bootstrapLazy([["limebb-kanban",[[1,"limebb-kanban",{"platform":[16],"context":[16],"items":[16],"paginationSize":[2,"pagination-size"],"groupBy":[513,"group-by"],"groups":[16]}]]],["limebb-date-range",[[1,"limebb-date-range",{"platform":[16],"context":[16],"startTime":[16],"endTime":[16],"startTimeLabel":[1,"start-time-label"],"endTimeLabel":[1,"end-time-label"],"language":[1],"timeFormat":[1,"time-format"],"type":[1]}]]],["limebb-feed",[[1,"limebb-feed",{"platform":[16],"context":[16],"items":[16],"emptyStateMessage":[1,"empty-state-message"],"loading":[4],"minutesOfProximity":[2,"minutes-of-proximity"],"totalCount":[2,"total-count"],"lastVisitedTimestamp":[1,"last-visited-timestamp"]}]]],["limebb-notification-list",[[1,"limebb-notification-list",{"platform":[16],"context":[16],"items":[16],"loading":[4],"paginationSize":[2,"pagination-size"],"lastVisitedTimestamp":[1,"last-visited-timestamp"],"displayedItemCount":[32]}]]],["limebb-browser",[[17,"limebb-browser",{"platform":[16],"context":[16],"items":[16],"layout":[1],"filter":[32]}]]],["limebb-currency-picker",[[1,"limebb-currency-picker",{"label":[513],"platform":[16],"currencies":[16],"helperText":[513,"helper-text"],"required":[516],"readonly":[516],"invalid":[516],"disabled":[516],"value":[16]}]]],["limebb-dashboard-widget",[[1,"limebb-dashboard-widget",{"heading":[513],"subheading":[513],"supportingText":[513,"supporting-text"],"icon":[513]}]]],["limebb-empty-state",[[1,"limebb-empty-state",{"heading":[513],"value":[513],"icon":[16]}]]],["limebb-icon-picker",[[1,"limebb-icon-picker",{"value":[1],"required":[4],"readonly":[4],"invalid":[4],"disabled":[4],"label":[1],"helperText":[1,"helper-text"]}]]],["limebb-info-tile",[[1,"limebb-info-tile",{"platform":[16],"context":[16],"filterId":[1,"filter-id"],"disabled":[4],"icon":[1],"label":[1],"prefix":[1],"suffix":[1],"propertyName":[1,"property-name"],"aggregateOperator":[1,"aggregate-operator"],"filters":[32],"value":[32],"loading":[32],"error":[32]}]]],["limebb-limeobject-file-viewer",[[1,"limebb-limeobject-file-viewer",{"platform":[16],"context":[16],"property":[1],"fileTypes":[16],"limeobject":[32],"limetype":[32]}]]],["limebb-locale-picker",[[1,"limebb-locale-picker",{"platform":[16],"context":[16],"value":[1],"required":[4],"disabled":[4],"label":[1],"helperText":[1,"helper-text"],"readonly":[4],"multipleChoice":[4,"multiple-choice"],"allLanguages":[32]}]]],["limebb-navigation-button",[[17,"limebb-navigation-button",{"href":[513],"tooltipLabel":[513,"tooltip-label"],"tooltipHelperLabel":[513,"tooltip-helper-label"],"type":[513]}]]],["limebb-kanban-item",[[1,"limebb-kanban-item",{"platform":[16],"context":[16],"item":[16]}]]],["limebb-kanban-column",[[1,"limebb-kanban-column",{"platform":[16],"context":[16],"columnHeading":[1,"column-heading"],"items":[16],"loading":[4],"paginationSize":[2,"pagination-size"],"displayedItemCount":[32]}]]],["limebb-date-picker",[[1,"limebb-date-picker",{"platform":[16],"context":[16],"disabled":[516],"readonly":[516],"invalid":[516],"label":[513],"placeholder":[513],"helperText":[513,"helper-text"],"required":[516],"value":[1],"type":[513]}]]],["limebb-feed-timeline-item",[[1,"limebb-feed-timeline-item",{"platform":[16],"context":[16],"item":[16],"ui":[513],"isBundled":[516,"is-bundled"],"headingCanExpand":[32],"isHeadingExpanded":[32],"showMore":[32],"isTall":[32]}]]],["limebb-notification-item",[[1,"limebb-notification-item",{"platform":[16],"context":[16],"item":[16]}]]]], options);
|
|
14
14
|
});
|
|
15
15
|
};
|
|
16
16
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as t}from"./p-8c0e3713.js";(()=>{const t=import.meta.url,i={};return""!==t&&(i.resourcesUrl=new URL(".",t).href),e(i)})().then((e=>t([["p-2ccd3c25",[[1,"limebb-kanban",{platform:[16],context:[16],items:[16],paginationSize:[2,"pagination-size"],groupBy:[513,"group-by"],groups:[16]}]]],["p-54dbbbba",[[1,"limebb-date-range",{platform:[16],context:[16],startTime:[16],endTime:[16],startTimeLabel:[1,"start-time-label"],endTimeLabel:[1,"end-time-label"],language:[1],timeFormat:[1,"time-format"],type:[1]}]]],["p-3d6f678d",[[1,"limebb-feed",{platform:[16],context:[16],items:[16],emptyStateMessage:[1,"empty-state-message"],loading:[4],minutesOfProximity:[2,"minutes-of-proximity"],totalCount:[2,"total-count"],lastVisitedTimestamp:[1,"last-visited-timestamp"]}]]],["p-
|
|
1
|
+
import{p as e,b as t}from"./p-8c0e3713.js";(()=>{const t=import.meta.url,i={};return""!==t&&(i.resourcesUrl=new URL(".",t).href),e(i)})().then((e=>t([["p-2ccd3c25",[[1,"limebb-kanban",{platform:[16],context:[16],items:[16],paginationSize:[2,"pagination-size"],groupBy:[513,"group-by"],groups:[16]}]]],["p-54dbbbba",[[1,"limebb-date-range",{platform:[16],context:[16],startTime:[16],endTime:[16],startTimeLabel:[1,"start-time-label"],endTimeLabel:[1,"end-time-label"],language:[1],timeFormat:[1,"time-format"],type:[1]}]]],["p-3d6f678d",[[1,"limebb-feed",{platform:[16],context:[16],items:[16],emptyStateMessage:[1,"empty-state-message"],loading:[4],minutesOfProximity:[2,"minutes-of-proximity"],totalCount:[2,"total-count"],lastVisitedTimestamp:[1,"last-visited-timestamp"]}]]],["p-d4e6bed2",[[1,"limebb-notification-list",{platform:[16],context:[16],items:[16],loading:[4],paginationSize:[2,"pagination-size"],lastVisitedTimestamp:[1,"last-visited-timestamp"],displayedItemCount:[32]}]]],["p-9bf1ff4f",[[17,"limebb-browser",{platform:[16],context:[16],items:[16],layout:[1],filter:[32]}]]],["p-03113a76",[[1,"limebb-currency-picker",{label:[513],platform:[16],currencies:[16],helperText:[513,"helper-text"],required:[516],readonly:[516],invalid:[516],disabled:[516],value:[16]}]]],["p-3f30c8de",[[1,"limebb-dashboard-widget",{heading:[513],subheading:[513],supportingText:[513,"supporting-text"],icon:[513]}]]],["p-02e5fa8f",[[1,"limebb-empty-state",{heading:[513],value:[513],icon:[16]}]]],["p-6a49e564",[[1,"limebb-icon-picker",{value:[1],required:[4],readonly:[4],invalid:[4],disabled:[4],label:[1],helperText:[1,"helper-text"]}]]],["p-832f45c2",[[1,"limebb-info-tile",{platform:[16],context:[16],filterId:[1,"filter-id"],disabled:[4],icon:[1],label:[1],prefix:[1],suffix:[1],propertyName:[1,"property-name"],aggregateOperator:[1,"aggregate-operator"],filters:[32],value:[32],loading:[32],error:[32]}]]],["p-b992f9cf",[[1,"limebb-limeobject-file-viewer",{platform:[16],context:[16],property:[1],fileTypes:[16],limeobject:[32],limetype:[32]}]]],["p-0334f490",[[1,"limebb-locale-picker",{platform:[16],context:[16],value:[1],required:[4],disabled:[4],label:[1],helperText:[1,"helper-text"],readonly:[4],multipleChoice:[4,"multiple-choice"],allLanguages:[32]}]]],["p-1c9d80f2",[[17,"limebb-navigation-button",{href:[513],tooltipLabel:[513,"tooltip-label"],tooltipHelperLabel:[513,"tooltip-helper-label"],type:[513]}]]],["p-9a0ff0bb",[[1,"limebb-kanban-item",{platform:[16],context:[16],item:[16]}]]],["p-13521554",[[1,"limebb-kanban-column",{platform:[16],context:[16],columnHeading:[1,"column-heading"],items:[16],loading:[4],paginationSize:[2,"pagination-size"],displayedItemCount:[32]}]]],["p-2e373ea5",[[1,"limebb-date-picker",{platform:[16],context:[16],disabled:[516],readonly:[516],invalid:[516],label:[513],placeholder:[513],helperText:[513,"helper-text"],required:[516],value:[1],type:[513]}]]],["p-4c667ff0",[[1,"limebb-feed-timeline-item",{platform:[16],context:[16],item:[16],ui:[513],isBundled:[516,"is-bundled"],headingCanExpand:[32],isHeadingExpanded:[32],showMore:[32],isTall:[32]}]]],["p-97322726",[[1,"limebb-notification-item",{platform:[16],context:[16],item:[16]}]]]],e)));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as r}from"./p-8c0e3713.js";const i=class{constructor(r){e(this,r)}render(){return[this.renderIcon(),this.renderHeading(),this.renderSubheader()]}renderHeading(){if(this.heading)return r("h2",null,this.heading)}renderSubheader(){if(this.value)return r("limel-markdown",{value:this.value})}renderIcon(){var e,i,t;if(this.icon)return r("limel-icon",{badge:!0,name:null===(e=this.icon)||void 0===e?void 0:e.name,style:{color:`${null===(i=this.icon)||void 0===i?void 0:i.color}`,"background-color":`${null===(t=this.icon)||void 0===t?void 0:t.backgroundColor}`}})}};i.style=":host(limebb-empty-state){display:flex;flex-direction:column;align-items:center;gap:0.25rem;padding:0.5rem}*{box-sizing:border-box}h2{color:rgb(var(--contrast-1100));margin:0}limel-markdown{color:rgb(var(--contrast-1000));text-align:center;line-height:1.4}limel-icon{width:2.5rem}";export{i as limebb_empty_state}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as i,h as e}from"./p-8c0e3713.js";import{P as r}from"./p-6588244c.js";const n=class{constructor(e){t(this,e),this.loadMore=i(this,"loadMore",7),this.itemClick=i(this,"itemClick",7),this.items=[],this.paginationSize=50,this.displayedItemCount=0,this.handleItemClick=t=>{this.itemClick.emit(t.detail)},this.handleLoadMore=t=>{t.stopPropagation(),this.displayedItemCount+=this.paginationSize,this.loadMore.emit()}}componentWillLoad(){this.displayedItemCount=this.paginationSize}render(){return[this.renderSpinner(),this.renderNotificationItems(),this.renderLoadMore()]}renderSpinner(){if(this.loading)return e("limel-spinner",{size:"small"})}renderNotificationItems(){return this.items.slice(0,this.displayedItemCount).map(((t,i)=>[this.renderDateHeader(t.timestamp,i),e("limebb-notification-item",{platform:this.platform,context:this.context,item:t,key:t.id,onInteract:this.handleItemClick}),this.renderNewItemsIndicator(t.timestamp,i)]))}renderNewItemsIndicator(t,i){if(!this.lastVisitedTimestamp)return;const e=this.items.length,r=new Date(this.lastVisitedTimestamp);return r<new Date(t)?1===e||0===i?this.renderIndicator():r<new Date(this.items[i-1].timestamp)?void 0:this.renderIndicator():void 0}renderIndicator(){return e("div",{class:"new-items-indicator"},e("hr",null),e("h3",null,this.translator.get("webclient.new")))}renderDateHeader(t,i){const r=this.dateTimeFormatter.format(t,"date");return 0===i||this.dateTimeFormatter.format(this.items[i-1].timestamp,"date")!==r?e("a",{class:"date-heading"},r):void 0}renderLoadMore(){if(this.items.length&&!(this.displayedItemCount>=this.items.length))return e("limel-icon-button",{class:"load-more-button",icon:"more",onClick:this.handleLoadMore,elevated:!0,label:this.translator.get("webclient.load-more")})}get dateTimeFormatter(){return this.platform.get(r.DateTimeFormatter)}get translator(){return this.platform.get(r.Translate)}};n.style=":host(limebb-notification-list){--limebb-notification-list-background-color:var(\n --feed-background-color,\n rgb(var(--contrast-100))\n );--limebb-notification-list-item-background-color:var(--contrast-300);display:flex;flex-direction:column;gap:0.5rem;max-width:45rem;background-color:var(--limebb-notification-list-background-color)}.empty-state{text-align:center}limel-spinner{align-self:center;justify-self:center;margin:auto}.date-heading{font-size:0.75rem;margin:0.5rem 0 0 0;color:rgb(var(--contrast-800))}.load-more-button{margin-top:0.5rem}.new-items-indicator{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:flex-end}.new-items-indicator hr{border:none;position:absolute;width:100%;height:1px;background-color:rgb(var(--color-red-lighter))}.new-items-indicator h3{z-index:1;padding:0 0.5rem;border-radius:1rem;margin:0.5rem 1rem;font-size:small;text-transform:lowercase;color:rgb(var(--color-red-default));background-color:var(--limebb-notification-list-background-color)}.new-items-indicator+.date-heading{margin-top:-0.5rem}";export{n as limebb_notification_list}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Icon } from '@limetech/lime-elements';
|
|
2
|
+
/**
|
|
3
|
+
* An "empty state" in user interface design refers to the screen or space displayed, when there is no data
|
|
4
|
+
* or content available to show to the user. This state typically occurs in new accounts, after clearing data,
|
|
5
|
+
* or when no results are returned from a search.
|
|
6
|
+
*
|
|
7
|
+
* @exampleComponent limebb-example-empty-state-basic
|
|
8
|
+
* @exampleComponent limebb-example-empty-state-value-as-markdown
|
|
9
|
+
*/
|
|
10
|
+
export declare class EmptyState {
|
|
11
|
+
/**
|
|
12
|
+
* Text to display in the header
|
|
13
|
+
*/
|
|
14
|
+
heading: string;
|
|
15
|
+
/**
|
|
16
|
+
* Message to further clarify the heading. It receives markdown syntax and renders it as HTML.
|
|
17
|
+
* This allows for more complex formatting. For example, you can use links, lists, and other formatting options.
|
|
18
|
+
*/
|
|
19
|
+
value?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Icon to display
|
|
22
|
+
*/
|
|
23
|
+
icon?: Icon;
|
|
24
|
+
render(): any[];
|
|
25
|
+
private renderHeading;
|
|
26
|
+
private renderSubheader;
|
|
27
|
+
private renderIcon;
|
|
28
|
+
}
|
|
@@ -25,10 +25,6 @@ export declare class NotificationList implements LimeWebComponent {
|
|
|
25
25
|
* List of items to display in the feed.
|
|
26
26
|
*/
|
|
27
27
|
items: NotificationItem[];
|
|
28
|
-
/**
|
|
29
|
-
* The message shown when there are no items to show in the feed.
|
|
30
|
-
*/
|
|
31
|
-
emptyStateMessage: string;
|
|
32
28
|
/**
|
|
33
29
|
* True if items have not finished loading.
|
|
34
30
|
*/
|
|
@@ -59,7 +55,6 @@ export declare class NotificationList implements LimeWebComponent {
|
|
|
59
55
|
componentWillLoad(): void;
|
|
60
56
|
render(): any[];
|
|
61
57
|
private renderSpinner;
|
|
62
|
-
private renderEmptyFeedMessage;
|
|
63
58
|
private renderNotificationItems;
|
|
64
59
|
private handleItemClick;
|
|
65
60
|
private renderNewItemsIndicator;
|
|
@@ -176,6 +176,20 @@ export namespace Components {
|
|
|
176
176
|
*/
|
|
177
177
|
"type": DateType;
|
|
178
178
|
}
|
|
179
|
+
interface LimebbEmptyState {
|
|
180
|
+
/**
|
|
181
|
+
* Text to display in the header
|
|
182
|
+
*/
|
|
183
|
+
"heading": string;
|
|
184
|
+
/**
|
|
185
|
+
* Icon to display
|
|
186
|
+
*/
|
|
187
|
+
"icon"?: Icon;
|
|
188
|
+
/**
|
|
189
|
+
* Message to further clarify the heading. It receives markdown syntax and renders it as HTML. This allows for more complex formatting. For example, you can use links, lists, and other formatting options.
|
|
190
|
+
*/
|
|
191
|
+
"value"?: string;
|
|
192
|
+
}
|
|
179
193
|
interface LimebbFeed {
|
|
180
194
|
/**
|
|
181
195
|
* The context this component belongs to
|
|
@@ -490,10 +504,6 @@ export namespace Components {
|
|
|
490
504
|
* @inheritdoc
|
|
491
505
|
*/
|
|
492
506
|
"context": LimeWebComponentContext;
|
|
493
|
-
/**
|
|
494
|
-
* The message shown when there are no items to show in the feed.
|
|
495
|
-
*/
|
|
496
|
-
"emptyStateMessage": string;
|
|
497
507
|
/**
|
|
498
508
|
* List of items to display in the feed.
|
|
499
509
|
*/
|
|
@@ -588,6 +598,12 @@ declare global {
|
|
|
588
598
|
prototype: HTMLLimebbDateRangeElement;
|
|
589
599
|
new (): HTMLLimebbDateRangeElement;
|
|
590
600
|
};
|
|
601
|
+
interface HTMLLimebbEmptyStateElement extends Components.LimebbEmptyState, HTMLStencilElement {
|
|
602
|
+
}
|
|
603
|
+
var HTMLLimebbEmptyStateElement: {
|
|
604
|
+
prototype: HTMLLimebbEmptyStateElement;
|
|
605
|
+
new (): HTMLLimebbEmptyStateElement;
|
|
606
|
+
};
|
|
591
607
|
interface HTMLLimebbFeedElement extends Components.LimebbFeed, HTMLStencilElement {
|
|
592
608
|
}
|
|
593
609
|
var HTMLLimebbFeedElement: {
|
|
@@ -666,6 +682,7 @@ declare global {
|
|
|
666
682
|
"limebb-dashboard-widget": HTMLLimebbDashboardWidgetElement;
|
|
667
683
|
"limebb-date-picker": HTMLLimebbDatePickerElement;
|
|
668
684
|
"limebb-date-range": HTMLLimebbDateRangeElement;
|
|
685
|
+
"limebb-empty-state": HTMLLimebbEmptyStateElement;
|
|
669
686
|
"limebb-feed": HTMLLimebbFeedElement;
|
|
670
687
|
"limebb-feed-timeline-item": HTMLLimebbFeedTimelineItemElement;
|
|
671
688
|
"limebb-icon-picker": HTMLLimebbIconPickerElement;
|
|
@@ -863,6 +880,20 @@ declare namespace LocalJSX {
|
|
|
863
880
|
*/
|
|
864
881
|
"type"?: DateType;
|
|
865
882
|
}
|
|
883
|
+
interface LimebbEmptyState {
|
|
884
|
+
/**
|
|
885
|
+
* Text to display in the header
|
|
886
|
+
*/
|
|
887
|
+
"heading"?: string;
|
|
888
|
+
/**
|
|
889
|
+
* Icon to display
|
|
890
|
+
*/
|
|
891
|
+
"icon"?: Icon;
|
|
892
|
+
/**
|
|
893
|
+
* Message to further clarify the heading. It receives markdown syntax and renders it as HTML. This allows for more complex formatting. For example, you can use links, lists, and other formatting options.
|
|
894
|
+
*/
|
|
895
|
+
"value"?: string;
|
|
896
|
+
}
|
|
866
897
|
interface LimebbFeed {
|
|
867
898
|
/**
|
|
868
899
|
* The context this component belongs to
|
|
@@ -1198,10 +1229,6 @@ declare namespace LocalJSX {
|
|
|
1198
1229
|
* @inheritdoc
|
|
1199
1230
|
*/
|
|
1200
1231
|
"context"?: LimeWebComponentContext;
|
|
1201
|
-
/**
|
|
1202
|
-
* The message shown when there are no items to show in the feed.
|
|
1203
|
-
*/
|
|
1204
|
-
"emptyStateMessage"?: string;
|
|
1205
1232
|
/**
|
|
1206
1233
|
* List of items to display in the feed.
|
|
1207
1234
|
*/
|
|
@@ -1238,6 +1265,7 @@ declare namespace LocalJSX {
|
|
|
1238
1265
|
"limebb-dashboard-widget": LimebbDashboardWidget;
|
|
1239
1266
|
"limebb-date-picker": LimebbDatePicker;
|
|
1240
1267
|
"limebb-date-range": LimebbDateRange;
|
|
1268
|
+
"limebb-empty-state": LimebbEmptyState;
|
|
1241
1269
|
"limebb-feed": LimebbFeed;
|
|
1242
1270
|
"limebb-feed-timeline-item": LimebbFeedTimelineItem;
|
|
1243
1271
|
"limebb-icon-picker": LimebbIconPicker;
|
|
@@ -1261,6 +1289,7 @@ declare module "@stencil/core" {
|
|
|
1261
1289
|
"limebb-dashboard-widget": LocalJSX.LimebbDashboardWidget & JSXBase.HTMLAttributes<HTMLLimebbDashboardWidgetElement>;
|
|
1262
1290
|
"limebb-date-picker": LocalJSX.LimebbDatePicker & JSXBase.HTMLAttributes<HTMLLimebbDatePickerElement>;
|
|
1263
1291
|
"limebb-date-range": LocalJSX.LimebbDateRange & JSXBase.HTMLAttributes<HTMLLimebbDateRangeElement>;
|
|
1292
|
+
"limebb-empty-state": LocalJSX.LimebbEmptyState & JSXBase.HTMLAttributes<HTMLLimebbEmptyStateElement>;
|
|
1264
1293
|
"limebb-feed": LocalJSX.LimebbFeed & JSXBase.HTMLAttributes<HTMLLimebbFeedElement>;
|
|
1265
1294
|
"limebb-feed-timeline-item": LocalJSX.LimebbFeedTimelineItem & JSXBase.HTMLAttributes<HTMLLimebbFeedTimelineItemElement>;
|
|
1266
1295
|
"limebb-icon-picker": LocalJSX.LimebbIconPicker & JSXBase.HTMLAttributes<HTMLLimebbIconPickerElement>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@limetech/lime-crm-building-blocks",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.43.1",
|
|
4
4
|
"description": "A home for shared components meant for use with Lime CRM",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@eslint/eslintrc": "^3.1.0",
|
|
45
45
|
"@eslint/js": "^9.9.1",
|
|
46
|
-
"@limetech/lime-elements": "^37.57.
|
|
47
|
-
"@limetech/lime-web-components": "^5.
|
|
46
|
+
"@limetech/lime-elements": "^37.57.4",
|
|
47
|
+
"@limetech/lime-web-components": "^5.33.1",
|
|
48
48
|
"@lundalogik/lime-icons8": "^2.28.0",
|
|
49
49
|
"@lundalogik/limeclient.js": "^1.65.0",
|
|
50
50
|
"@stencil/core": "<2.19.0",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"globals": "^15.9.0",
|
|
68
68
|
"jest": "^27.4.5",
|
|
69
69
|
"jest-cli": "^27.4.5",
|
|
70
|
-
"kompendium": "^0.
|
|
70
|
+
"kompendium": "^0.15.0",
|
|
71
71
|
"lodash-es": "^4.17.21",
|
|
72
72
|
"prettier": "^3.3.3",
|
|
73
73
|
"puppeteer": "^19.4.1",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as i,h as e}from"./p-8c0e3713.js";import{P as r}from"./p-6588244c.js";const n=class{constructor(e){t(this,e),this.loadMore=i(this,"loadMore",7),this.itemClick=i(this,"itemClick",7),this.items=[],this.paginationSize=50,this.displayedItemCount=0,this.handleItemClick=t=>{this.itemClick.emit(t.detail)},this.handleLoadMore=t=>{t.stopPropagation(),this.displayedItemCount+=this.paginationSize,this.loadMore.emit()}}componentWillLoad(){this.displayedItemCount=this.paginationSize}render(){return[this.renderEmptyFeedMessage(),this.renderSpinner(),this.renderNotificationItems(),this.renderLoadMore()]}renderSpinner(){if(this.loading)return e("limel-spinner",{size:"small"})}renderEmptyFeedMessage(){if(!this.loading)return 0===this.items.length?e("p",{class:"empty-state"},this.emptyStateMessage):void 0}renderNotificationItems(){return this.items.slice(0,this.displayedItemCount).map(((t,i)=>[this.renderDateHeader(t.timestamp,i),e("limebb-notification-item",{platform:this.platform,context:this.context,item:t,key:t.id,onInteract:this.handleItemClick}),this.renderNewItemsIndicator(t.timestamp,i)]))}renderNewItemsIndicator(t,i){if(!this.lastVisitedTimestamp)return;const e=this.items.length,r=new Date(this.lastVisitedTimestamp);return r<new Date(t)?1===e||0===i?this.renderIndicator():r<new Date(this.items[i-1].timestamp)?void 0:this.renderIndicator():void 0}renderIndicator(){return e("div",{class:"new-items-indicator"},e("hr",null),e("h3",null,this.translator.get("webclient.new")))}renderDateHeader(t,i){const r=this.dateTimeFormatter.format(t,"date");return 0===i||this.dateTimeFormatter.format(this.items[i-1].timestamp,"date")!==r?e("a",{class:"date-heading"},r):void 0}renderLoadMore(){if(this.items.length&&!(this.displayedItemCount>=this.items.length))return e("limel-icon-button",{class:"load-more-button",icon:"more",onClick:this.handleLoadMore,elevated:!0,label:this.translator.get("webclient.load-more")})}get dateTimeFormatter(){return this.platform.get(r.DateTimeFormatter)}get translator(){return this.platform.get(r.Translate)}};n.style=":host(limebb-notification-list){--limebb-notification-list-background-color:var(\n --feed-background-color,\n rgb(var(--contrast-100))\n );--limebb-notification-list-item-background-color:var(--contrast-300);display:flex;flex-direction:column;gap:0.5rem;max-width:45rem;background-color:var(--limebb-notification-list-background-color)}.empty-state{text-align:center}limel-spinner{align-self:center;justify-self:center;margin:auto}.date-heading{font-size:0.75rem;margin:0.5rem 0 0 0;color:rgb(var(--contrast-800))}.load-more-button{margin-top:0.5rem}.new-items-indicator{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:flex-end}.new-items-indicator hr{border:none;position:absolute;width:100%;height:1px;background-color:rgb(var(--color-red-lighter))}.new-items-indicator h3{z-index:1;padding:0 0.5rem;border-radius:1rem;margin:0.5rem 1rem;font-size:small;text-transform:lowercase;color:rgb(var(--color-red-default));background-color:var(--limebb-notification-list-background-color)}.new-items-indicator+.date-heading{margin-top:-0.5rem}";export{n as limebb_notification_list}
|