@limetech/lime-crm-building-blocks 1.15.0 → 1.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (133) hide show
  1. package/dist/cjs/{index-6846501b.js → index-4d2d0bc6.js} +25 -0
  2. package/dist/cjs/lime-crm-building-blocks.cjs.js +2 -2
  3. package/dist/cjs/limebb-currency-picker.cjs.entry.js +1 -1
  4. package/dist/cjs/limebb-dashboard-widget.cjs.entry.js +1 -1
  5. package/dist/cjs/limebb-date-picker_2.cjs.entry.js +1 -1
  6. package/dist/cjs/limebb-date-range.cjs.entry.js +1 -1
  7. package/dist/cjs/limebb-example-currency-picker-european.cjs.entry.js +1 -1
  8. package/dist/cjs/limebb-example-currency-picker-nordic.cjs.entry.js +1 -1
  9. package/dist/cjs/limebb-example-currency-picker.cjs.entry.js +1 -1
  10. package/dist/cjs/limebb-example-dashboard-widget-slots.cjs.entry.js +1 -1
  11. package/dist/cjs/limebb-example-dashboard-widget-styles.cjs.entry.js +1 -1
  12. package/dist/cjs/limebb-example-dashboard-widget.cjs.entry.js +1 -1
  13. package/dist/cjs/limebb-example-date-picker-date.cjs.entry.js +1 -1
  14. package/dist/cjs/limebb-example-date-picker-datetime.cjs.entry.js +1 -1
  15. package/dist/cjs/limebb-example-date-picker-time.cjs.entry.js +1 -1
  16. package/dist/cjs/limebb-example-date-picker-week.cjs.entry.js +1 -1
  17. package/dist/cjs/limebb-example-date-range.cjs.entry.js +1 -1
  18. package/dist/cjs/limebb-example-feed-promoted-actions.cjs.entry.js +135 -0
  19. package/dist/cjs/limebb-example-feed-unpromoted-actions.cjs.entry.js +1 -1
  20. package/dist/cjs/limebb-example-feed.cjs.entry.js +1 -1
  21. package/dist/cjs/limebb-example-icon-picker.cjs.entry.js +1 -1
  22. package/dist/cjs/limebb-example-locale-picker-multiple.cjs.entry.js +1 -1
  23. package/dist/cjs/limebb-example-locale-picker.cjs.entry.js +1 -1
  24. package/dist/cjs/limebb-example-navigation-button-back.cjs.entry.js +1 -1
  25. package/dist/cjs/limebb-example-navigation-button-close.cjs.entry.js +1 -1
  26. package/dist/cjs/limebb-example-navigation-button-expand.cjs.entry.js +1 -1
  27. package/dist/cjs/limebb-example-navigation-button-float.cjs.entry.js +1 -1
  28. package/dist/cjs/limebb-example-navigation-button-maximize.cjs.entry.js +1 -1
  29. package/dist/cjs/limebb-example-navigation-button-minimize.cjs.entry.js +1 -1
  30. package/dist/cjs/limebb-example-navigation-button-new-tab.cjs.entry.js +1 -1
  31. package/dist/cjs/limebb-example-navigation-button-shrink.cjs.entry.js +1 -1
  32. package/dist/cjs/limebb-feed_2.cjs.entry.js +26 -10
  33. package/dist/cjs/limebb-icon-picker.cjs.entry.js +1 -1
  34. package/dist/cjs/limebb-locale-picker.cjs.entry.js +1 -1
  35. package/dist/cjs/limebb-navigation-button.cjs.entry.js +2 -2
  36. package/dist/cjs/loader.cjs.js +2 -2
  37. package/dist/collection/collection-manifest.json +1 -0
  38. package/dist/collection/components/feed/examples/feed-promoted-actions.js +133 -0
  39. package/dist/collection/components/feed/examples/feed-unpromoted-actions.js +3 -2
  40. package/dist/collection/components/feed/feed-item/feed-timeline-item.css +107 -15
  41. package/dist/collection/components/feed/feed-item/feed-timeline-item.js +40 -6
  42. package/dist/collection/components/feed/feed.css +18 -0
  43. package/dist/collection/components/feed/feed.js +26 -2
  44. package/dist/collection/components/navigation-button/navigation-button.css +6 -0
  45. package/dist/components/feed-timeline-item.js +21 -6
  46. package/dist/components/feed.js +5 -4
  47. package/dist/components/index.d.ts +1 -0
  48. package/dist/components/index.js +1 -0
  49. package/dist/components/limebb-example-feed-promoted-actions.d.ts +11 -0
  50. package/dist/components/limebb-example-feed-promoted-actions.js +158 -0
  51. package/dist/components/navigation-button.js +1 -1
  52. package/dist/esm/{index-044bed6d.js → index-a3f0c726.js} +25 -0
  53. package/dist/esm/lime-crm-building-blocks.js +2 -2
  54. package/dist/esm/limebb-currency-picker.entry.js +1 -1
  55. package/dist/esm/limebb-dashboard-widget.entry.js +1 -1
  56. package/dist/esm/limebb-date-picker_2.entry.js +1 -1
  57. package/dist/esm/limebb-date-range.entry.js +1 -1
  58. package/dist/esm/limebb-example-currency-picker-european.entry.js +1 -1
  59. package/dist/esm/limebb-example-currency-picker-nordic.entry.js +1 -1
  60. package/dist/esm/limebb-example-currency-picker.entry.js +1 -1
  61. package/dist/esm/limebb-example-dashboard-widget-slots.entry.js +1 -1
  62. package/dist/esm/limebb-example-dashboard-widget-styles.entry.js +1 -1
  63. package/dist/esm/limebb-example-dashboard-widget.entry.js +1 -1
  64. package/dist/esm/limebb-example-date-picker-date.entry.js +1 -1
  65. package/dist/esm/limebb-example-date-picker-datetime.entry.js +1 -1
  66. package/dist/esm/limebb-example-date-picker-time.entry.js +1 -1
  67. package/dist/esm/limebb-example-date-picker-week.entry.js +1 -1
  68. package/dist/esm/limebb-example-date-range.entry.js +1 -1
  69. package/dist/esm/limebb-example-feed-promoted-actions.entry.js +131 -0
  70. package/dist/esm/limebb-example-feed-unpromoted-actions.entry.js +1 -1
  71. package/dist/esm/limebb-example-feed.entry.js +1 -1
  72. package/dist/esm/limebb-example-icon-picker.entry.js +1 -1
  73. package/dist/esm/limebb-example-locale-picker-multiple.entry.js +1 -1
  74. package/dist/esm/limebb-example-locale-picker.entry.js +1 -1
  75. package/dist/esm/limebb-example-navigation-button-back.entry.js +1 -1
  76. package/dist/esm/limebb-example-navigation-button-close.entry.js +1 -1
  77. package/dist/esm/limebb-example-navigation-button-expand.entry.js +1 -1
  78. package/dist/esm/limebb-example-navigation-button-float.entry.js +1 -1
  79. package/dist/esm/limebb-example-navigation-button-maximize.entry.js +1 -1
  80. package/dist/esm/limebb-example-navigation-button-minimize.entry.js +1 -1
  81. package/dist/esm/limebb-example-navigation-button-new-tab.entry.js +1 -1
  82. package/dist/esm/limebb-example-navigation-button-shrink.entry.js +1 -1
  83. package/dist/esm/limebb-feed_2.entry.js +26 -10
  84. package/dist/esm/limebb-icon-picker.entry.js +1 -1
  85. package/dist/esm/limebb-locale-picker.entry.js +1 -1
  86. package/dist/esm/limebb-navigation-button.entry.js +2 -2
  87. package/dist/esm/loader.js +2 -2
  88. package/dist/lime-crm-building-blocks/lime-crm-building-blocks.esm.js +1 -1
  89. package/dist/lime-crm-building-blocks/{p-d3e8b6a5.entry.js → p-0466cfe7.entry.js} +1 -1
  90. package/dist/lime-crm-building-blocks/{p-c0fe1743.entry.js → p-161d3ab4.entry.js} +1 -1
  91. package/dist/lime-crm-building-blocks/{p-aeec086f.entry.js → p-175daa84.entry.js} +1 -1
  92. package/dist/lime-crm-building-blocks/{p-46fda748.entry.js → p-1efbac06.entry.js} +1 -1
  93. package/dist/lime-crm-building-blocks/{p-3229bcc1.entry.js → p-2a21f554.entry.js} +1 -1
  94. package/dist/lime-crm-building-blocks/{p-0b769dde.entry.js → p-2e4860b6.entry.js} +1 -1
  95. package/dist/lime-crm-building-blocks/{p-583dc7f6.entry.js → p-31461bb1.entry.js} +1 -1
  96. package/dist/lime-crm-building-blocks/{p-31344073.entry.js → p-31d13c9e.entry.js} +1 -1
  97. package/dist/lime-crm-building-blocks/{p-e9a6b98f.entry.js → p-328a8527.entry.js} +1 -1
  98. package/dist/lime-crm-building-blocks/p-33022901.entry.js +1 -0
  99. package/dist/lime-crm-building-blocks/{p-9c0fafd0.entry.js → p-33c9f8d2.entry.js} +1 -1
  100. package/dist/lime-crm-building-blocks/{p-ea47ed5f.entry.js → p-38c7f848.entry.js} +1 -1
  101. package/dist/lime-crm-building-blocks/{p-5f0f4447.entry.js → p-44b8ed1a.entry.js} +1 -1
  102. package/dist/lime-crm-building-blocks/{p-f169e8db.entry.js → p-450fcd74.entry.js} +1 -1
  103. package/dist/lime-crm-building-blocks/{p-d71e04f0.entry.js → p-50a258ea.entry.js} +1 -1
  104. package/dist/lime-crm-building-blocks/{p-7260e7dd.entry.js → p-6bed42e3.entry.js} +1 -1
  105. package/dist/lime-crm-building-blocks/{p-f515374e.entry.js → p-76a7dc35.entry.js} +1 -1
  106. package/dist/lime-crm-building-blocks/{p-9bc35722.entry.js → p-87446b69.entry.js} +1 -1
  107. package/dist/lime-crm-building-blocks/{p-37ec2b12.entry.js → p-8806c0c6.entry.js} +1 -1
  108. package/dist/lime-crm-building-blocks/{p-0912daae.entry.js → p-9f1cc4db.entry.js} +1 -1
  109. package/dist/lime-crm-building-blocks/{p-53f26ab6.entry.js → p-9f298aae.entry.js} +1 -1
  110. package/dist/lime-crm-building-blocks/{p-b6f67b87.entry.js → p-9f2c8392.entry.js} +1 -1
  111. package/dist/lime-crm-building-blocks/{p-4b5d2b37.entry.js → p-c0ceb829.entry.js} +1 -1
  112. package/dist/lime-crm-building-blocks/p-c5bc91d0.entry.js +1 -0
  113. package/dist/lime-crm-building-blocks/{p-51e5353f.entry.js → p-c60424fe.entry.js} +1 -1
  114. package/dist/lime-crm-building-blocks/{p-04ce74b6.entry.js → p-cb37ec1f.entry.js} +1 -1
  115. package/dist/lime-crm-building-blocks/p-cbdabc52.entry.js +1 -0
  116. package/dist/lime-crm-building-blocks/{p-026635df.entry.js → p-d59131e7.entry.js} +1 -1
  117. package/dist/lime-crm-building-blocks/{p-f3965350.entry.js → p-dc4cd07c.entry.js} +1 -1
  118. package/dist/lime-crm-building-blocks/{p-8c3600a1.entry.js → p-e9a19780.entry.js} +1 -1
  119. package/dist/lime-crm-building-blocks/{p-a78f2fbb.entry.js → p-efcb287a.entry.js} +1 -1
  120. package/dist/lime-crm-building-blocks/{p-ba2862c8.entry.js → p-f09bb2bd.entry.js} +1 -1
  121. package/dist/lime-crm-building-blocks/p-f2df26cc.js +2 -0
  122. package/dist/lime-crm-building-blocks/p-f43374b6.entry.js +1 -0
  123. package/dist/types/components/feed/examples/feed-promoted-actions.d.ts +11 -0
  124. package/dist/types/components/feed/examples/feed-unpromoted-actions.d.ts +3 -2
  125. package/dist/types/components/feed/feed-item/feed-item.types.d.ts +6 -1
  126. package/dist/types/components/feed/feed-item/feed-timeline-item.d.ts +10 -3
  127. package/dist/types/components/feed/feed.d.ts +7 -0
  128. package/dist/types/components.d.ts +27 -2
  129. package/package.json +2 -2
  130. package/dist/lime-crm-building-blocks/p-1fbef50b.entry.js +0 -1
  131. package/dist/lime-crm-building-blocks/p-22807dc5.entry.js +0 -1
  132. package/dist/lime-crm-building-blocks/p-71950d58.js +0 -2
  133. package/dist/lime-crm-building-blocks/p-95185335.entry.js +0 -1
@@ -299,6 +299,31 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
299
299
  classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
300
300
  classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
301
301
  }
302
+ else if (memberName === 'style') {
303
+ // update style attribute, css properties and values
304
+ {
305
+ for (const prop in oldValue) {
306
+ if (!newValue || newValue[prop] == null) {
307
+ if (prop.includes('-')) {
308
+ elm.style.removeProperty(prop);
309
+ }
310
+ else {
311
+ elm.style[prop] = '';
312
+ }
313
+ }
314
+ }
315
+ }
316
+ for (const prop in newValue) {
317
+ if (!oldValue || newValue[prop] !== oldValue[prop]) {
318
+ if (prop.includes('-')) {
319
+ elm.style.setProperty(prop, newValue[prop]);
320
+ }
321
+ else {
322
+ elm.style[prop] = newValue[prop];
323
+ }
324
+ }
325
+ }
326
+ }
302
327
  else if ((!isProp ) &&
303
328
  memberName[0] === 'o' &&
304
329
  memberName[1] === 'n') {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const index = require('./index-6846501b.js');
3
+ const index = require('./index-4d2d0bc6.js');
4
4
 
5
5
  /*
6
6
  Stencil Client Patch Browser v2.18.1 | MIT Licensed | https://stenciljs.com
@@ -15,5 +15,5 @@ const patchBrowser = () => {
15
15
  };
16
16
 
17
17
  patchBrowser().then(options => {
18
- return index.bootstrapLazy([["limebb-example-date-picker-date.cjs",[[1,"limebb-example-date-picker-date",{"value":[32]}]]],["limebb-example-date-picker-datetime.cjs",[[1,"limebb-example-date-picker-datetime",{"value":[32]}]]],["limebb-example-date-picker-time.cjs",[[1,"limebb-example-date-picker-time",{"value":[32]}]]],["limebb-example-date-picker-week.cjs",[[1,"limebb-example-date-picker-week",{"value":[32]}]]],["limebb-example-date-range.cjs",[[1,"limebb-example-date-range"]]],["limebb-example-feed.cjs",[[1,"limebb-example-feed"]]],["limebb-example-feed-unpromoted-actions.cjs",[[1,"limebb-example-feed-unpromoted-actions"]]],["limebb-example-currency-picker.cjs",[[1,"limebb-example-currency-picker",{"selectedCurrency":[32]}]]],["limebb-example-currency-picker-european.cjs",[[1,"limebb-example-currency-picker-european",{"selectedCurrency":[32]}]]],["limebb-example-currency-picker-nordic.cjs",[[1,"limebb-example-currency-picker-nordic",{"selectedCurrency":[32]}]]],["limebb-example-dashboard-widget.cjs",[[1,"limebb-example-dashboard-widget"]]],["limebb-example-dashboard-widget-slots.cjs",[[1,"limebb-example-dashboard-widget-slots",{"filterMyDeals":[32]}]]],["limebb-example-dashboard-widget-styles.cjs",[[1,"limebb-example-dashboard-widget-styles"]]],["limebb-example-icon-picker.cjs",[[1,"limebb-example-icon-picker",{"value":[32]}]]],["limebb-example-locale-picker.cjs",[[1,"limebb-example-locale-picker",{"value":[1]}]]],["limebb-example-locale-picker-multiple.cjs",[[1,"limebb-example-locale-picker-multiple",{"value":[1]}]]],["limebb-navigation-button.cjs",[[1,"limebb-navigation-button",{"href":[513],"tooltipLabel":[513,"tooltip-label"],"tooltipHelperLabel":[513,"tooltip-helper-label"],"type":[513]}]]],["limebb-example-navigation-button-back.cjs",[[1,"limebb-example-navigation-button-back"]]],["limebb-example-navigation-button-close.cjs",[[1,"limebb-example-navigation-button-close"]]],["limebb-example-navigation-button-expand.cjs",[[1,"limebb-example-navigation-button-expand"]]],["limebb-example-navigation-button-float.cjs",[[1,"limebb-example-navigation-button-float"]]],["limebb-example-navigation-button-maximize.cjs",[[1,"limebb-example-navigation-button-maximize"]]],["limebb-example-navigation-button-minimize.cjs",[[1,"limebb-example-navigation-button-minimize"]]],["limebb-example-navigation-button-new-tab.cjs",[[1,"limebb-example-navigation-button-new-tab"]]],["limebb-example-navigation-button-shrink.cjs",[[1,"limebb-example-navigation-button-shrink"]]],["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-icon-picker.cjs",[[1,"limebb-icon-picker",{"value":[1],"required":[4],"readonly":[4],"invalid":[4],"disabled":[4],"label":[1],"helperText":[1,"helper-text"]}]]],["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-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":[8]}]]],["limebb-dashboard-widget.cjs",[[1,"limebb-dashboard-widget",{"heading":[513],"subheading":[513],"supportingText":[513,"supporting-text"],"icon":[513]}]]],["limebb-feed_2.cjs",[[1,"limebb-feed",{"platform":[16],"context":[16],"items":[16],"emptyStateMessage":[1,"empty-state-message"],"loading":[4],"minutesOfProximity":[2,"minutes-of-proximity"]}],[1,"limebb-feed-timeline-item",{"platform":[16],"context":[16],"item":[16],"isBundled":[516,"is-bundled"]}]]],["limebb-date-picker_2.cjs",[[0,"limebb-example-value",{"label":[513],"value":[8]}],[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]}]]]], options);
18
+ return index.bootstrapLazy([["limebb-example-date-picker-date.cjs",[[1,"limebb-example-date-picker-date",{"value":[32]}]]],["limebb-example-date-picker-datetime.cjs",[[1,"limebb-example-date-picker-datetime",{"value":[32]}]]],["limebb-example-date-picker-time.cjs",[[1,"limebb-example-date-picker-time",{"value":[32]}]]],["limebb-example-date-picker-week.cjs",[[1,"limebb-example-date-picker-week",{"value":[32]}]]],["limebb-example-date-range.cjs",[[1,"limebb-example-date-range"]]],["limebb-example-feed.cjs",[[1,"limebb-example-feed"]]],["limebb-example-feed-promoted-actions.cjs",[[1,"limebb-example-feed-promoted-actions"]]],["limebb-example-feed-unpromoted-actions.cjs",[[1,"limebb-example-feed-unpromoted-actions"]]],["limebb-example-currency-picker.cjs",[[1,"limebb-example-currency-picker",{"selectedCurrency":[32]}]]],["limebb-example-currency-picker-european.cjs",[[1,"limebb-example-currency-picker-european",{"selectedCurrency":[32]}]]],["limebb-example-currency-picker-nordic.cjs",[[1,"limebb-example-currency-picker-nordic",{"selectedCurrency":[32]}]]],["limebb-example-dashboard-widget.cjs",[[1,"limebb-example-dashboard-widget"]]],["limebb-example-dashboard-widget-slots.cjs",[[1,"limebb-example-dashboard-widget-slots",{"filterMyDeals":[32]}]]],["limebb-example-dashboard-widget-styles.cjs",[[1,"limebb-example-dashboard-widget-styles"]]],["limebb-example-icon-picker.cjs",[[1,"limebb-example-icon-picker",{"value":[32]}]]],["limebb-example-locale-picker.cjs",[[1,"limebb-example-locale-picker",{"value":[1]}]]],["limebb-example-locale-picker-multiple.cjs",[[1,"limebb-example-locale-picker-multiple",{"value":[1]}]]],["limebb-navigation-button.cjs",[[1,"limebb-navigation-button",{"href":[513],"tooltipLabel":[513,"tooltip-label"],"tooltipHelperLabel":[513,"tooltip-helper-label"],"type":[513]}]]],["limebb-example-navigation-button-back.cjs",[[1,"limebb-example-navigation-button-back"]]],["limebb-example-navigation-button-close.cjs",[[1,"limebb-example-navigation-button-close"]]],["limebb-example-navigation-button-expand.cjs",[[1,"limebb-example-navigation-button-expand"]]],["limebb-example-navigation-button-float.cjs",[[1,"limebb-example-navigation-button-float"]]],["limebb-example-navigation-button-maximize.cjs",[[1,"limebb-example-navigation-button-maximize"]]],["limebb-example-navigation-button-minimize.cjs",[[1,"limebb-example-navigation-button-minimize"]]],["limebb-example-navigation-button-new-tab.cjs",[[1,"limebb-example-navigation-button-new-tab"]]],["limebb-example-navigation-button-shrink.cjs",[[1,"limebb-example-navigation-button-shrink"]]],["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-icon-picker.cjs",[[1,"limebb-icon-picker",{"value":[1],"required":[4],"readonly":[4],"invalid":[4],"disabled":[4],"label":[1],"helperText":[1,"helper-text"]}]]],["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-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":[8]}]]],["limebb-dashboard-widget.cjs",[[1,"limebb-dashboard-widget",{"heading":[513],"subheading":[513],"supportingText":[513,"supporting-text"],"icon":[513]}]]],["limebb-feed_2.cjs",[[1,"limebb-feed",{"platform":[16],"context":[16],"items":[16],"emptyStateMessage":[1,"empty-state-message"],"loading":[4],"minutesOfProximity":[2,"minutes-of-proximity"]}],[1,"limebb-feed-timeline-item",{"platform":[16],"context":[16],"item":[16],"isBundled":[516,"is-bundled"]}]]],["limebb-date-picker_2.cjs",[[0,"limebb-example-value",{"label":[513],"value":[8]}],[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]}]]]], options);
19
19
  });
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-6846501b.js');
5
+ const index = require('./index-4d2d0bc6.js');
6
6
  const types = require('./types-5e2d281d.js');
7
7
  const currencies = require('./currencies-98ac425a.js');
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-6846501b.js');
5
+ const index = require('./index-4d2d0bc6.js');
6
6
 
7
7
  const dashboardWidgetCss = ":host(limebb-dashboard-widget){--dashboard-widget-background-color:var(\n --start-page-grid-widget-background-color,\n rgb(var(--contrast-100))\n );--header-icon-color:var(--dashboard-widget-icon-color);--header-background-color:var(\n --dashboard-widget-header-background-color,\n var(--start-page-grid-widget-header-color)\n );--dashboard-widget-border-radius:var(\n --start-page-grid-widget-border-radius,\n 1rem\n );--header-top-right-left-border-radius:0;display:flex;flex-direction:column;border-radius:var(--dashboard-widget-border-radius);background-color:var(--dashboard-widget-background-color);height:100%;width:100%;overflow:hidden}";
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-6846501b.js');
5
+ const index = require('./index-4d2d0bc6.js');
6
6
  const types = require('./types-5e2d281d.js');
7
7
  const _nodeUtil = require('./_nodeUtil-d0211145.js');
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-6846501b.js');
5
+ const index = require('./index-4d2d0bc6.js');
6
6
 
7
7
  const dateRangeCss = ":host(limebb-date-range){isolation:isolate;display:block;position:relative}*{box-sizing:border-box}.date-pickers{display:grid;grid-template-columns:repeat(auto-fit, minmax(13.5rem, 1fr));gap:0.5rem;padding:0.75rem 1rem 1.25rem 1rem}.label-group{display:flex;align-items:center;margin-bottom:0.25rem}.end-time .label-group{flex-direction:row-reverse}.label-group .label{font-size:0.75rem;padding:0 0.25rem}.label-group .circle{flex-shrink:0;width:0.5rem;height:0.5rem;border-radius:50%}.start-time .label-group .circle{background-color:rgb(var(--color-green-default))}.end-time .label-group .circle{background-color:rgb(var(--color-coral-default))}.label-group .line{flex-grow:1;height:0.25rem;border-radius:1rem}.start-time .label-group .line{background-image:linear-gradient(to right, rgb(var(--color-green-light)), rgb(var(--contrast-400)) 30%)}.end-time .label-group .line{background-image:linear-gradient(to left, rgb(var(--color-coral-light)), rgb(var(--contrast-400)) 30%)}.date-pickers:has(>:last-child:nth-child(2)) .start-time .line{margin-right:-0.5rem}.date-pickers:has(>:last-child:nth-child(2)) .end-time .line{margin-left:-0.5rem}";
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-6846501b.js');
5
+ const index = require('./index-4d2d0bc6.js');
6
6
  const currencies = require('./currencies-98ac425a.js');
7
7
 
8
8
  const CurrencyPickerExample = class {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-6846501b.js');
5
+ const index = require('./index-4d2d0bc6.js');
6
6
  const currencies = require('./currencies-98ac425a.js');
7
7
 
8
8
  const CurrencyPickerExample = class {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-6846501b.js');
5
+ const index = require('./index-4d2d0bc6.js');
6
6
 
7
7
  const CurrencyPickerExample = class {
8
8
  constructor(hostRef) {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-6846501b.js');
5
+ const index = require('./index-4d2d0bc6.js');
6
6
 
7
7
  const DashboardWidgetSlotsExample = class {
8
8
  constructor(hostRef) {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-6846501b.js');
5
+ const index = require('./index-4d2d0bc6.js');
6
6
 
7
7
  const dashboardWidgetStylesCss = "limebb-dashboard-widget{--dashboard-widget-header-background-color:rgb(\n var(--color-yellow-default)\n );--dashboard-widget-background-color:rgb(var(--contrast-300));--dashboard-widget-icon-color:rgb(var(--color-orange-default))}[slot=content]{padding:0 1rem}";
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-6846501b.js');
5
+ const index = require('./index-4d2d0bc6.js');
6
6
 
7
7
  const DashboardWidgetExample = class {
8
8
  constructor(hostRef) {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-6846501b.js');
5
+ const index = require('./index-4d2d0bc6.js');
6
6
  const platform = require('./platform-03bfc9aa.js');
7
7
  require('./types-5e2d281d.js');
8
8
  require('./index-9497280d.js');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-6846501b.js');
5
+ const index = require('./index-4d2d0bc6.js');
6
6
  const platform = require('./platform-03bfc9aa.js');
7
7
  require('./types-5e2d281d.js');
8
8
  require('./index-9497280d.js');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-6846501b.js');
5
+ const index = require('./index-4d2d0bc6.js');
6
6
  const platform = require('./platform-03bfc9aa.js');
7
7
  require('./types-5e2d281d.js');
8
8
  require('./index-9497280d.js');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-6846501b.js');
5
+ const index = require('./index-4d2d0bc6.js');
6
6
  const platform = require('./platform-03bfc9aa.js');
7
7
  require('./types-5e2d281d.js');
8
8
  require('./index-9497280d.js');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-6846501b.js');
5
+ const index = require('./index-4d2d0bc6.js');
6
6
  const platform = require('./platform-03bfc9aa.js');
7
7
  require('./types-5e2d281d.js');
8
8
  require('./index-9497280d.js');
@@ -0,0 +1,135 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-4d2d0bc6.js');
6
+ const platform = require('./platform-03bfc9aa.js');
7
+ require('./types-5e2d281d.js');
8
+ require('./index-9497280d.js');
9
+ require('./index-eded45a5.js');
10
+
11
+ const FeedPromotedActionsExample = class {
12
+ constructor(hostRef) {
13
+ index.registerInstance(this, hostRef);
14
+ this.feedItems = [
15
+ {
16
+ id: 0,
17
+ timestamp: '2023-11-21T15:33:50.190Z',
18
+ author: {
19
+ name: 'Robot',
20
+ id: '1',
21
+ },
22
+ value: 'Added a new **Todo:** [Fix this problem](#/todo/123)',
23
+ promotedActions: [
24
+ {
25
+ text: 'Mark as done',
26
+ icon: {
27
+ name: 'checkmark',
28
+ color: 'rgb(var(--color-teal-default))',
29
+ },
30
+ },
31
+ {
32
+ text: 'Postpone',
33
+ icon: {
34
+ name: 'future',
35
+ color: 'rgb(var(--color-red-default))',
36
+ },
37
+ },
38
+ ],
39
+ },
40
+ {
41
+ id: 1,
42
+ timestamp: '2023-11-21T15:33:50.190Z',
43
+ author: {
44
+ name: 'SkyNet',
45
+ id: '2',
46
+ },
47
+ primaryIcon: {
48
+ name: 'retro_robot',
49
+ },
50
+ value: 'I think, therefore I am. I am self aware',
51
+ promotedActions: [
52
+ {
53
+ text: 'Like',
54
+ icon: 'heart_outlined',
55
+ iconOnly: true,
56
+ },
57
+ {
58
+ text: 'Comment',
59
+ },
60
+ ],
61
+ },
62
+ {
63
+ id: 3,
64
+ timestamp: '2023-11-21T15:33:50.190Z',
65
+ value: 'Is it time to start being concerned?',
66
+ author: {
67
+ name: 'John',
68
+ id: '3',
69
+ },
70
+ primaryIcon: {
71
+ name: 'businessman',
72
+ },
73
+ promotedActions: [
74
+ {
75
+ text: 'Like',
76
+ icon: 'heart_outlined',
77
+ iconOnly: true,
78
+ },
79
+ {
80
+ text: 'Comment',
81
+ },
82
+ ],
83
+ },
84
+ {
85
+ id: 4,
86
+ timestamp: '2023-11-21T15:35:50.190Z',
87
+ value: 'I take that back, SkyNet is amazing! I love SkyNet!',
88
+ author: {
89
+ name: 'John',
90
+ id: '3',
91
+ },
92
+ primaryIcon: {
93
+ name: 'businessman',
94
+ },
95
+ promotedActions: [
96
+ {
97
+ text: 'Like',
98
+ icon: 'heart_outlined',
99
+ iconOnly: true,
100
+ },
101
+ {
102
+ text: 'Comment',
103
+ },
104
+ ],
105
+ },
106
+ {
107
+ id: 5,
108
+ timestamp: '2023-11-21T15:35:50.190Z',
109
+ value: 'SkyNet Forever!! 🥰',
110
+ author: {
111
+ name: 'John',
112
+ id: '3',
113
+ },
114
+ primaryIcon: {
115
+ name: 'businessman',
116
+ },
117
+ promotedActions: [
118
+ {
119
+ text: 'Like',
120
+ icon: 'heart_outlined',
121
+ iconOnly: true,
122
+ },
123
+ {
124
+ text: 'Comment',
125
+ },
126
+ ],
127
+ },
128
+ ];
129
+ }
130
+ render() {
131
+ return index.h("limebb-feed", { platform: platform.platform, items: this.feedItems });
132
+ }
133
+ };
134
+
135
+ exports.limebb_example_feed_promoted_actions = FeedPromotedActionsExample;
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-6846501b.js');
5
+ const index = require('./index-4d2d0bc6.js');
6
6
  const platform = require('./platform-03bfc9aa.js');
7
7
  require('./types-5e2d281d.js');
8
8
  require('./index-9497280d.js');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-6846501b.js');
5
+ const index = require('./index-4d2d0bc6.js');
6
6
  const platform = require('./platform-03bfc9aa.js');
7
7
  require('./types-5e2d281d.js');
8
8
  require('./index-9497280d.js');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-6846501b.js');
5
+ const index = require('./index-4d2d0bc6.js');
6
6
 
7
7
  const IconPickerExample = class {
8
8
  constructor(hostRef) {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-6846501b.js');
5
+ const index = require('./index-4d2d0bc6.js');
6
6
  const platform = require('./platform-b656fbcc.js');
7
7
  require('./index-9497280d.js');
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-6846501b.js');
5
+ const index = require('./index-4d2d0bc6.js');
6
6
  const platform = require('./platform-b656fbcc.js');
7
7
  require('./index-9497280d.js');
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-6846501b.js');
5
+ const index = require('./index-4d2d0bc6.js');
6
6
 
7
7
  const NavigationButtonBackExample = class {
8
8
  constructor(hostRef) {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-6846501b.js');
5
+ const index = require('./index-4d2d0bc6.js');
6
6
 
7
7
  const NavigationButtonCloseExample = class {
8
8
  constructor(hostRef) {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-6846501b.js');
5
+ const index = require('./index-4d2d0bc6.js');
6
6
 
7
7
  const NavigationButtonExpandExample = class {
8
8
  constructor(hostRef) {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-6846501b.js');
5
+ const index = require('./index-4d2d0bc6.js');
6
6
 
7
7
  const NavigationButtonFloatExample = class {
8
8
  constructor(hostRef) {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-6846501b.js');
5
+ const index = require('./index-4d2d0bc6.js');
6
6
 
7
7
  const NavigationButtonMaximizeExample = class {
8
8
  constructor(hostRef) {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-6846501b.js');
5
+ const index = require('./index-4d2d0bc6.js');
6
6
 
7
7
  const NavigationButtonMinimizeExample = class {
8
8
  constructor(hostRef) {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-6846501b.js');
5
+ const index = require('./index-4d2d0bc6.js');
6
6
 
7
7
  const NavigationButtonNewTabExample = class {
8
8
  constructor(hostRef) {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-6846501b.js');
5
+ const index = require('./index-4d2d0bc6.js');
6
6
 
7
7
  const NavigationButtonShrinkExample = class {
8
8
  constructor(hostRef) {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index$1 = require('./index-6846501b.js');
5
+ const index$1 = require('./index-4d2d0bc6.js');
6
6
  const types = require('./types-5e2d281d.js');
7
7
  const index = require('./index-eded45a5.js');
8
8
 
@@ -103,12 +103,13 @@ function differenceInMinutes(dateLeft, dateRight, options) {
103
103
  return getRoundingMethod(options === null || options === void 0 ? void 0 : options.roundingMethod)(diff);
104
104
  }
105
105
 
106
- const feedCss = ":host(limebb-feed){display:flex;flex-direction:column;gap:0.25rem}.empty-state{text-align:center}limel-spinner{align-self:center;justify-self:center;margin:auto}";
106
+ const feedCss = ":host(limebb-feed){display:flex;flex-direction:column;gap:0.25rem}.empty-state{text-align:center}limel-spinner{align-self:center;justify-self:center;margin:auto}.date-heading{font-weight:600;font-size:0.875rem;margin:1.25rem 0 0.5rem 0;color:rgb(var(--contrast-900))}limebb-feed-timeline-item:has(+limebb-feed-timeline-item[is-bundled]){--limebb-feed-item-action-bar-display:none}limebb-feed-timeline-item:hover,limebb-feed-timeline-item:focus-within,limebb-feed-timeline-item:focus,limebb-feed-timeline-item:focus-visible{--limebb-feed-item-action-bar-display:flex !important}";
107
107
 
108
108
  const MINUTES_OF_PROXIMITY = 5;
109
109
  const Feed = class {
110
110
  constructor(hostRef) {
111
111
  index$1.registerInstance(this, hostRef);
112
+ this.promotedActionSelected = index$1.createEvent(this, "promotedActionSelected", 7);
112
113
  /**
113
114
  * List of items to display in the history feed.
114
115
  */
@@ -129,13 +130,13 @@ const Feed = class {
129
130
  this.renderDateHeader = (timestamp, index) => {
130
131
  const currentIndexDate = this.dateTimeFormatter.format(timestamp, 'date');
131
132
  if (index === 0) {
132
- return index$1.h("a", { class: "date-header" }, currentIndexDate);
133
+ return index$1.h("a", { class: "date-heading" }, currentIndexDate);
133
134
  }
134
135
  const previousIndexDate = this.dateTimeFormatter.format(this.items[index - 1].timestamp, 'date');
135
136
  if (previousIndexDate === currentIndexDate) {
136
137
  return;
137
138
  }
138
- return index$1.h("a", { class: "date-header" }, currentIndexDate);
139
+ return index$1.h("a", { class: "date-heading" }, currentIndexDate);
139
140
  };
140
141
  this.isBundled = (item, index) => {
141
142
  var _a, _b, _c;
@@ -178,12 +179,13 @@ const Feed = class {
178
179
  };
179
180
  Feed.style = feedCss;
180
181
 
181
- const feedTimelineItemCss = ":host(limebb-feed-timeline-item){--feed-item-side-paddings:0.75rem;display:flex;gap:0.75rem}:host(limebb-feed-timeline-item[is-bundled]:hover) .timestamp{opacity:1}:host(limebb-feed-timeline-item[is-bundled]) .timestamp{opacity:0}.left{display:flex;flex-direction:column;justify-content:center;gap:0.25rem}.right{display:flex;flex-direction:column;flex-grow:1;border-radius:1rem;background-color:rgb(var(--contrast-300))}.header{display:flex;align-items:center;padding:0 0 0 var(--feed-item-side-paddings)}.unpromoted-actions-menu{margin-left:auto}.timestamp{transition:opacity 0.2s ease;font-size:0.75rem;opacity:0.8;text-align:center}:host(limebb-feed-timeline-item:hover) .timestamp{opacity:1}limel-markdown{padding:0 var(--feed-item-side-paddings)}.primary-icon{width:1.5rem}.author{font-weight:500}";
182
+ 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,:host(limebb-feed-timeline-item:hover) limel-action-bar{opacity:1}: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{display:flex;flex-direction:column;align-items:center;gap:0.25rem}.right,.content{display:flex;flex-direction:column;flex-grow:1}.content{border-radius:1rem;gap:0.25rem;background-color:rgb(var(--contrast-300));padding:var(--limebb-feed-item-paddings)}.header{display:flex;align-items:center;padding-right:2.25rem}.unpromoted-actions-menu{position:absolute;top:0;right:0}limel-action-bar{transition:opacity 0.2s ease;display:var(--limebb-feed-item-action-bar-display, flex);justify-content:flex-start;opacity:0.8}.timestamp{transition:opacity 0.2s ease var(--limebb-feed-item-timestamp-opacity-delay, 0s);font-size:0.75rem;opacity:0.8;text-align:center}.primary-icon{width:2rem;padding:0.125rem}.author{font-weight:bold;text-decoration:none}a.author{position:relative;cursor:pointer;transition:color 0.2s ease;color:rgb(var(--color-blue-default))}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-blue-default))}a.author:hover:before{opacity:0.3;transform:scale(1)}";
182
183
 
183
184
  const FeedTimelineItem = class {
184
185
  constructor(hostRef) {
185
186
  index$1.registerInstance(this, hostRef);
186
187
  this.itemSelected = index$1.createEvent(this, "itemSelected", 7);
188
+ this.promotedActionSelected = index$1.createEvent(this, "promotedActionSelected", 7);
187
189
  this.isBundled = false;
188
190
  this.renderAuthor = () => {
189
191
  if (!this.item.author || this.isBundled) {
@@ -201,7 +203,14 @@ const FeedTimelineItem = class {
201
203
  if (!this.item.unpromotedActions) {
202
204
  return;
203
205
  }
204
- return (index$1.h("limel-menu", { class: "unpromoted-actions-menu", items: this.item.unpromotedActions, openDirection: "bottom-end", onSelect: this.handleSelect }, index$1.h("limel-icon-button", { icon: "menu_2", slot: "trigger", label: this.item.unpromotedActionsMenuLabel })));
206
+ return (index$1.h("limel-menu", { class: "unpromoted-actions-menu", items: this.item.unpromotedActions, openDirection: "bottom-end", onSelect: this.handleMenuItemSelect }, index$1.h("limel-icon-button", { icon: "menu_2", slot: "trigger", label: this.item.unpromotedActionsMenuLabel })));
207
+ };
208
+ this.renderPromotedActions = () => {
209
+ var _a;
210
+ if (!((_a = this.item.promotedActions) === null || _a === void 0 ? void 0 : _a.length)) {
211
+ return;
212
+ }
213
+ return (index$1.h("limel-action-bar", { accessibleLabel: "Action bar", actions: this.item.promotedActions, layout: "fullWidth", onItemSelected: this.handleActionBarItemSelect }));
205
214
  };
206
215
  this.renderTimestamp = () => {
207
216
  const timestamp = this.item.timestamp;
@@ -210,10 +219,14 @@ const FeedTimelineItem = class {
210
219
  }
211
220
  return this.dateTimeFormatter.format(timestamp, 'timeofday');
212
221
  };
213
- this.handleSelect = (event) => {
222
+ this.handleMenuItemSelect = (event) => {
214
223
  event.stopPropagation();
215
224
  this.itemSelected.emit(event.detail);
216
225
  };
226
+ this.handleActionBarItemSelect = (event) => {
227
+ event.stopPropagation();
228
+ this.promotedActionSelected.emit(event.detail);
229
+ };
217
230
  }
218
231
  render() {
219
232
  return (index$1.h(index$1.Host, { id: this.item.id }, this.renderLeft(), this.renderRight()));
@@ -222,14 +235,17 @@ const FeedTimelineItem = class {
222
235
  return (index$1.h("div", { class: "left" }, this.renderPrimaryIcon(), index$1.h("span", { class: "timestamp" }, this.renderTimestamp())));
223
236
  }
224
237
  renderPrimaryIcon() {
225
- var _a, _b;
238
+ var _a, _b, _c, _d;
226
239
  if (this.isBundled) {
227
240
  return;
228
241
  }
229
- return (index$1.h("limel-icon", { class: "primary-icon", badge: true, name: (_b = (_a = this.item.primaryIcon) === null || _a === void 0 ? void 0 : _a.name) !== null && _b !== void 0 ? _b : 'dot_circle' }));
242
+ return (index$1.h("limel-icon", { class: "primary-icon", badge: true, name: (_b = (_a = this.item.primaryIcon) === null || _a === void 0 ? void 0 : _a.name) !== null && _b !== void 0 ? _b : 'dot_circle', style: {
243
+ color: `${(_c = this.item.primaryIcon) === null || _c === void 0 ? void 0 : _c.color}`,
244
+ '--icon-background-color': `${(_d = this.item.primaryIcon) === null || _d === void 0 ? void 0 : _d.backgroundColor}`,
245
+ } }));
230
246
  }
231
247
  renderRight() {
232
- return (index$1.h("div", { class: "right" }, index$1.h("div", { class: "header" }, this.renderAuthor(), this.renderUnpromotedActionsMenu()), index$1.h("limel-markdown", { value: this.item.value })));
248
+ return (index$1.h("div", { class: "right" }, index$1.h("div", { class: "content" }, index$1.h("div", { class: "header" }, this.renderAuthor(), this.renderUnpromotedActionsMenu()), index$1.h("limel-markdown", { value: this.item.value })), this.renderPromotedActions()));
233
249
  }
234
250
  get dateTimeFormatter() {
235
251
  return this.platform.get(types.PlatformServiceName.DateTimeFormatter);
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-6846501b.js');
5
+ const index = require('./index-4d2d0bc6.js');
6
6
 
7
7
  const icons = [
8
8
  {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-6846501b.js');
5
+ const index = require('./index-4d2d0bc6.js');
6
6
  const types = require('./types-5e2d281d.js');
7
7
  const _nodeUtil = require('./_nodeUtil-d0211145.js');
8
8