@limetech/lime-crm-building-blocks 1.23.2 → 1.23.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md ADDED
@@ -0,0 +1,380 @@
1
+ ### [1.23.3](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.23.2...v1.23.3) (2023-12-21)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+
7
+ * **dashboard-widget:** use the new icon interface ([25db67c](https://github.com/Lundalogik/lime-crm-building-blocks/commit/25db67cf2f5d37253498e8020fa0700d9e287060))
8
+
9
+ ### [1.23.2](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.23.1...v1.23.2) (2023-12-19)
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * **icon-picker:** add placeholder ([ba83218](https://github.com/Lundalogik/lime-crm-building-blocks/commit/ba8321805bc60f97ef277bdc76379e97083a2654))
15
+
16
+ ### [1.23.1](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.23.0...v1.23.1) (2023-12-13)
17
+
18
+
19
+ ### Bug Fixes
20
+
21
+ * **feed-item:** neutralize color of hyperlinks in `system` type ([aab0bb4](https://github.com/Lundalogik/lime-crm-building-blocks/commit/aab0bb4b34d70d3525bf8717d5c8fa0025001df5))
22
+
23
+ ## [1.23.0](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.22.0...v1.23.0) (2023-12-13)
24
+
25
+
26
+ ### Features
27
+
28
+ * **feed-item:** add item `type`s ([ffa096c](https://github.com/Lundalogik/lime-crm-building-blocks/commit/ffa096ca9b9617d65a7fef34494c4cb17b56eb47))
29
+ * **feed-item:** enable color coding ([8c1aa70](https://github.com/Lundalogik/lime-crm-building-blocks/commit/8c1aa7017bea2f108446da1fab12073c0f0e31f8))
30
+
31
+ ## [1.22.0](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.21.14...v1.22.0) (2023-12-08)
32
+
33
+
34
+ ### Features
35
+
36
+ * **feed-timeline-item:** have a tooltip for the header ([8a6ffc6](https://github.com/Lundalogik/lime-crm-building-blocks/commit/8a6ffc6982fa81a27ade93ea0bd480d3d7b373eb))
37
+
38
+
39
+ ### Bug Fixes
40
+
41
+ * **feed-item:** prevent linebreak in `author` ([d928938](https://github.com/Lundalogik/lime-crm-building-blocks/commit/d928938084e6511963d69b45f9ffd63785f8d6fa))
42
+
43
+ ### [1.21.14](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.21.13...v1.21.14) (2023-12-08)
44
+
45
+
46
+ ### Bug Fixes
47
+
48
+ * **feed:** get the un-promoted actions label from the translations ([03eba80](https://github.com/Lundalogik/lime-crm-building-blocks/commit/03eba80dceca97f3ddcda87817493d78dc7b6819))
49
+
50
+ ### [1.21.13](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.21.12...v1.21.13) (2023-12-07)
51
+
52
+
53
+ ### Bug Fixes
54
+
55
+ * **feed:** use translations for "Show more" & "Show less" ([4f5ca4d](https://github.com/Lundalogik/lime-crm-building-blocks/commit/4f5ca4d43514cf1856450375d9861825395749a5))
56
+
57
+ ### [1.21.12](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.21.11...v1.21.12) (2023-12-07)
58
+
59
+
60
+ ### Bug Fixes
61
+
62
+ * **feed:** add more space below "Read more" button ([fa83dac](https://github.com/Lundalogik/lime-crm-building-blocks/commit/fa83dac48005cdad399050440d4e815094c0e469))
63
+ * **feed:** base speed of expanding & shrinking on height of the content ([9c2289e](https://github.com/Lundalogik/lime-crm-building-blocks/commit/9c2289e4d8261808e8814b23a6e908df2886bbfd))
64
+ * **feed:** layout improvements for "show more" button ([0b08db6](https://github.com/Lundalogik/lime-crm-building-blocks/commit/0b08db65e65e03227cf64e75d1bd9f58cc5cc9c5))
65
+
66
+ ### [1.21.11](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.21.10...v1.21.11) (2023-12-07)
67
+
68
+
69
+ ### Bug Fixes
70
+
71
+ * **feed:** reset feed item's states when items are added or removed ([42f1516](https://github.com/Lundalogik/lime-crm-building-blocks/commit/42f15161e9e7c5c84b5bdcd1b8ba1bc2d9975eae))
72
+
73
+ ### [1.21.10](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.21.9...v1.21.10) (2023-12-06)
74
+
75
+
76
+ ### Bug Fixes
77
+
78
+ * **feed:** animate rotation of show more button's icon ([83f527e](https://github.com/Lundalogik/lime-crm-building-blocks/commit/83f527e6d63d18ff729fe1c7495c800a8266598a))
79
+ * **feed:** animate transition between showing "more" & "less" content ([723a9b9](https://github.com/Lundalogik/lime-crm-building-blocks/commit/723a9b9eb44abf44c30ccc35f3ea1cc7c2dc2fc7))
80
+ * **feed:** improve the show-more button ([40533d5](https://github.com/Lundalogik/lime-crm-building-blocks/commit/40533d52d22da9b44b26a2cb9d36c1dc9c7dacc8))
81
+
82
+ ### [1.21.9](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.21.8...v1.21.9) (2023-12-06)
83
+
84
+
85
+ ### Bug Fixes
86
+
87
+ * **feed-timeline-item:** in bundled item render author if there is heading ([010fb04](https://github.com/Lundalogik/lime-crm-building-blocks/commit/010fb042408b0c0eef42079fb630f1260cb4bc81))
88
+
89
+ ### [1.21.8](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.21.7...v1.21.8) (2023-12-06)
90
+
91
+
92
+ ### Bug Fixes
93
+
94
+ * **feed-timeline-item:** better distinguish between header and body ([37a1ca2](https://github.com/Lundalogik/lime-crm-building-blocks/commit/37a1ca2e78d08264807c6bfc09e1cd73567e80b7))
95
+
96
+ ### [1.21.7](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.21.6...v1.21.7) (2023-12-06)
97
+
98
+
99
+ ### Bug Fixes
100
+
101
+ * **feed:** reduce space below relations chipset ([b3da12c](https://github.com/Lundalogik/lime-crm-building-blocks/commit/b3da12c47124caf1d0188b2bd023e0a2cf668f3f))
102
+ * **feed:** render tall items with a "Show more" button ([b44fb80](https://github.com/Lundalogik/lime-crm-building-blocks/commit/b44fb80c7a179aabc0d8685c08d245afde1a4f61))
103
+
104
+ ### [1.21.6](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.21.5...v1.21.6) (2023-12-04)
105
+
106
+
107
+ ### Bug Fixes
108
+
109
+ * **feed:** add a connecting line between items ([79c5e3b](https://github.com/Lundalogik/lime-crm-building-blocks/commit/79c5e3b68bdae05fc7de13b4f253a702a88f6489))
110
+ * **feed:** make feed items' timestamp & icon sticky ([04336a7](https://github.com/Lundalogik/lime-crm-building-blocks/commit/04336a72585b920e7af7db6a8418139c828b22bc))
111
+
112
+ ### [1.21.5](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.21.4...v1.21.5) (2023-12-01)
113
+
114
+
115
+ ### Bug Fixes
116
+
117
+ * **feed:** add a `max-width` to improve readability ([2a05edb](https://github.com/Lundalogik/lime-crm-building-blocks/commit/2a05edbda40ac2c73e824b1b5f9e2f10a05bd037))
118
+
119
+ ### [1.21.4](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.21.3...v1.21.4) (2023-11-30)
120
+
121
+
122
+ ### Bug Fixes
123
+
124
+ * **feed-timeline-item:** have proper conditions to render a header ([5253963](https://github.com/Lundalogik/lime-crm-building-blocks/commit/5253963d592a5c3f760014091a20c32b6b18cae3))
125
+
126
+ ### [1.21.3](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.21.2...v1.21.3) (2023-11-30)
127
+
128
+
129
+ ### Bug Fixes
130
+
131
+ * **feed-timeline-item:** don't render empty header ([37bbf03](https://github.com/Lundalogik/lime-crm-building-blocks/commit/37bbf032f193898e8fa357536847d3e0dc679eaf))
132
+
133
+ ### [1.21.2](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.21.1...v1.21.2) (2023-11-30)
134
+
135
+
136
+ ### Bug Fixes
137
+
138
+ * **feed:** hide the empty message while loading is on progress ([6f2f277](https://github.com/Lundalogik/lime-crm-building-blocks/commit/6f2f277cd1cecfc4a4c5fb09d7cb7efcd5e0e0c1))
139
+
140
+ ### [1.21.1](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.21.0...v1.21.1) (2023-11-30)
141
+
142
+
143
+ ### Bug Fixes
144
+
145
+ * **feed:** make long headings truncate ([fc07e02](https://github.com/Lundalogik/lime-crm-building-blocks/commit/fc07e02f0c282faf10e480ee6c7b51bcc1ea8095))
146
+
147
+ ## [1.21.0](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.20.0...v1.21.0) (2023-11-30)
148
+
149
+
150
+ ### Features
151
+
152
+ * **feed:** add headings with rich-text support ([5eb9f4b](https://github.com/Lundalogik/lime-crm-building-blocks/commit/5eb9f4bb952e94e54c80b18ac5c2ecf486e4ed5a))
153
+
154
+ ## [1.20.0](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.19.0...v1.20.0) (2023-11-30)
155
+
156
+
157
+ ### Features
158
+
159
+ * **feed:** export the FeedItem interface ([70e73ec](https://github.com/Lundalogik/lime-crm-building-blocks/commit/70e73ece05a06a3d15018a9063a8d99510c40702))
160
+
161
+ ## [1.19.0](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.18.0...v1.19.0) (2023-11-29)
162
+
163
+
164
+ ### Features
165
+
166
+ * **feed:** add relations to the feed item ([0228b44](https://github.com/Lundalogik/lime-crm-building-blocks/commit/0228b4404997e9a870a3d08581e63e56c052688a))
167
+
168
+ ## [1.18.0](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.17.2...v1.18.0) (2023-11-28)
169
+
170
+
171
+ ### Features
172
+
173
+ * **feed:** enable adding picture to an author ([7841683](https://github.com/Lundalogik/lime-crm-building-blocks/commit/7841683813eeae615976b24995f1511af661f914))
174
+
175
+ ### [1.17.2](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.17.1...v1.17.2) (2023-11-28)
176
+
177
+
178
+ ### Bug Fixes
179
+
180
+ * **feed:** animate visibility of action bars ([90081c8](https://github.com/Lundalogik/lime-crm-building-blocks/commit/90081c837a3365b6a3dfa9cdd7cec4927cbd2196))
181
+ * **feed:** make sure the action bar truncates ([97111b9](https://github.com/Lundalogik/lime-crm-building-blocks/commit/97111b9307c41a5a1a79e712cf6145dcb6e9a0f5))
182
+ * **feed:** render action bar items slightly smaller ([f66c288](https://github.com/Lundalogik/lime-crm-building-blocks/commit/f66c2882a52b6197e349a5ea9b372d6a38184587))
183
+
184
+ ### [1.17.1](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.17.0...v1.17.1) (2023-11-28)
185
+
186
+
187
+ ### Bug Fixes
188
+
189
+ * **feed:** don't render the markdown, if no `value` is provided ([fa77edf](https://github.com/Lundalogik/lime-crm-building-blocks/commit/fa77edfa7a7734a1738da19bddc2d68ecbdc1258))
190
+ * **feed:** let header be full-width when no un-promoted actions menu ([5d9b130](https://github.com/Lundalogik/lime-crm-building-blocks/commit/5d9b130c5f229416a2fd1c50ad18f5cba6d34be5))
191
+
192
+ ## [1.17.0](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.16.0...v1.17.0) (2023-11-28)
193
+
194
+
195
+ ### Features
196
+
197
+ * **feed:** implement load more ([8663293](https://github.com/Lundalogik/lime-crm-building-blocks/commit/8663293f4592316d16f3bedb63ffba0ea1fe4e0e))
198
+
199
+ ## [1.16.0](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.15.1...v1.16.0) (2023-11-27)
200
+
201
+
202
+ ### Features
203
+
204
+ * **feed:** use action bar to display promoted actions for feed items ([6d7ddf3](https://github.com/Lundalogik/lime-crm-building-blocks/commit/6d7ddf3ec281fda5a8b72a86ec1e6b9c218afb49))
205
+
206
+ ### [1.15.1](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.15.0...v1.15.1) (2023-11-23)
207
+
208
+
209
+ ### Bug Fixes
210
+
211
+ * **feed:** add support for `color` & `backgroundColor` for primary icon ([03c0768](https://github.com/Lundalogik/lime-crm-building-blocks/commit/03c0768c30015d85ff0fe5b596737f3044c96ab1))
212
+ * **feed:** improve ui ([550296d](https://github.com/Lundalogik/lime-crm-building-blocks/commit/550296dfd6218996063cf6b743129456a56df2a8))
213
+
214
+ ## [1.15.0](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.14.0...v1.15.0) (2023-11-23)
215
+
216
+
217
+ ### Features
218
+
219
+ * **feed:** bundle a group of feed items that have a close time-proximity together ([0027c4b](https://github.com/Lundalogik/lime-crm-building-blocks/commit/0027c4b74bfadd4c5b66bfc3bf5aee90a6db88a3))
220
+
221
+ ## [1.14.0](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.13.0...v1.14.0) (2023-11-22)
222
+
223
+
224
+ ### Features
225
+
226
+ * **feed:** add a menu for unpromoted actions in feed items ([7c5c659](https://github.com/Lundalogik/lime-crm-building-blocks/commit/7c5c6599ca9af0e4c3f80a6054b1bf545c8d6050))
227
+
228
+ ## [1.13.0](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.12.0...v1.13.0) (2023-11-22)
229
+
230
+
231
+ ### Features
232
+
233
+ * **feed:** add new component ([6121f9e](https://github.com/Lundalogik/lime-crm-building-blocks/commit/6121f9eb2535a99577839066322eae6af021dda7))
234
+
235
+ ## [1.12.0](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.11.1...v1.12.0) (2023-11-09)
236
+
237
+
238
+ ### Features
239
+
240
+ * **currency-picker:** allow making it invalid ([0afdbaa](https://github.com/Lundalogik/lime-crm-building-blocks/commit/0afdbaac21b28248ccf9abba031b867869ae9364))
241
+ * **icon-picker:** allow making it invalid ([c71166a](https://github.com/Lundalogik/lime-crm-building-blocks/commit/c71166aad7e9700d1ce4c060d69cb1e1ce020f7f))
242
+
243
+ ### [1.11.1](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.11.0...v1.11.1) (2023-10-30)
244
+
245
+
246
+ ### Bug Fixes
247
+
248
+ * **date-picker:** let the date time formatter do parsing ([0d4fdb3](https://github.com/Lundalogik/lime-crm-building-blocks/commit/0d4fdb301d58ebe5757dd30fc71d54e3c9f102e5))
249
+
250
+
251
+ ### Reverts
252
+
253
+ * **date-picker:** remove fromServerDate function ([7cde721](https://github.com/Lundalogik/lime-crm-building-blocks/commit/7cde72112b4c7e1fc77369afc360c9efc49992c3))
254
+
255
+ ## [1.11.0](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.10.1...v1.11.0) (2023-10-25)
256
+
257
+
258
+ ### Features
259
+
260
+ * **date-range:** use DateTimeFormatter ([5b11091](https://github.com/Lundalogik/lime-crm-building-blocks/commit/5b110918a32f215816725e47adf11445d7e0ac33))
261
+
262
+ ### [1.10.1](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.10.0...v1.10.1) (2023-10-23)
263
+
264
+
265
+ ### Bug Fixes
266
+
267
+ * unresolved imports in dist/collection/index.js ([13645ca](https://github.com/Lundalogik/lime-crm-building-blocks/commit/13645cad14542e64713ae9dd181ddd2126f38f4a))
268
+
269
+ ## [1.10.0](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.9.0...v1.10.0) (2023-10-18)
270
+
271
+
272
+ ### Features
273
+
274
+ * **date-picker:** allow passing DateTimeType to fromServerDate ([12636d2](https://github.com/Lundalogik/lime-crm-building-blocks/commit/12636d233856f3dedcad30b1921f00d56a072b63))
275
+ * **date-picker:** provide fromServerDate function ([e50bea4](https://github.com/Lundalogik/lime-crm-building-blocks/commit/e50bea413329e8c36b05cf3618266db61bba7aeb))
276
+
277
+ ## [1.9.0](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.8.0...v1.9.0) (2023-10-09)
278
+
279
+
280
+ ### Features
281
+
282
+ * **navigation-button:** add `type`s for `minimize` & `maximize` actions ([b91270c](https://github.com/Lundalogik/lime-crm-building-blocks/commit/b91270ce65636534c1f398c46d6cd8522891f2ea))
283
+
284
+ ## [1.8.0](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.7.1...v1.8.0) (2023-08-18)
285
+
286
+
287
+ ### Features
288
+
289
+ * **card:** add interface for limeobject card components ([2d63675](https://github.com/Lundalogik/lime-crm-building-blocks/commit/2d63675f4076c6798994ff7494351a5401c94822))
290
+
291
+ ### [1.7.1](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.7.0...v1.7.1) (2023-08-15)
292
+
293
+
294
+ ### Bug Fixes
295
+
296
+ * **locale-picker:** adjust locale-picker for custom component ([e70d331](https://github.com/Lundalogik/lime-crm-building-blocks/commit/e70d331a7e7da604432a22c0df7177ddb95d2fac))
297
+
298
+ ## [1.7.0](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.6.2...v1.7.0) (2023-06-29)
299
+
300
+
301
+ ### Features
302
+
303
+ * **locale-picker:** add locale-picker component ([3322244](https://github.com/Lundalogik/lime-crm-building-blocks/commit/332224457365f146b5bc8a955f3954a852c6de04))
304
+
305
+ ### [1.6.2](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.6.1...v1.6.2) (2023-06-22)
306
+
307
+
308
+ ### Bug Fixes
309
+
310
+ * **date-picker:** ignore time part in date-only values ([e08a2e3](https://github.com/Lundalogik/lime-crm-building-blocks/commit/e08a2e3d3108df4e3abf7c91efddee4eb307ad9d)), closes [Lundalogik/crm-feature#3318](https://github.com/Lundalogik/crm-feature/issues/3318)
311
+
312
+ ### [1.6.1](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.6.0...v1.6.1) (2023-06-19)
313
+
314
+
315
+ ### Bug Fixes
316
+
317
+ * **date-picker:** handle empty value on change ([7eb6e16](https://github.com/Lundalogik/lime-crm-building-blocks/commit/7eb6e16cb00d359ff53e10a9df8ddbd958d88403))
318
+
319
+ ## [1.6.0](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.5.0...v1.6.0) (2023-05-17)
320
+
321
+
322
+ ### Features
323
+
324
+ * **icon-picker:** create icon-picker component ([5a5fbf7](https://github.com/Lundalogik/lime-crm-building-blocks/commit/5a5fbf7184b6dc595f919f31cc4a81dca133f532))
325
+ * **package:** add support for the icons8 library ([800310f](https://github.com/Lundalogik/lime-crm-building-blocks/commit/800310ff9c55325b06d73dce4e8b4e73e13ad88b))
326
+
327
+ ## [1.5.0](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.4.0...v1.5.0) (2023-03-30)
328
+
329
+
330
+ ### Features
331
+
332
+ * **dashboard-widget:** add new component ([df9bce8](https://github.com/Lundalogik/lime-crm-building-blocks/commit/df9bce8ace4876f1f935bce3c9b47f00d52e239e))
333
+
334
+ ## [1.4.0](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.3.0...v1.4.0) (2023-02-17)
335
+
336
+
337
+ ### Features
338
+
339
+ * **date-picker:** add date-picker with support for user preferences ([62da620](https://github.com/Lundalogik/lime-crm-building-blocks/commit/62da62033697ada73c0e4bcdda2b846f490f1399)), closes [Lundalogik/crm-feature#3164](https://github.com/Lundalogik/crm-feature/issues/3164)
340
+
341
+ ## [1.3.0](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.2.0...v1.3.0) (2023-02-13)
342
+
343
+
344
+ ### Features
345
+
346
+ * **date-range:** add date-range component ([6e545e6](https://github.com/Lundalogik/lime-crm-building-blocks/commit/6e545e6b4688b2985644c27d7eb91b643387b516))
347
+
348
+ ## [1.2.0](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.1.0...v1.2.0) (2023-02-10)
349
+
350
+
351
+ ### Features
352
+
353
+ * **currency-picker:** add new component ([8f03955](https://github.com/Lundalogik/lime-crm-building-blocks/commit/8f039557d0248a0c24f7188d0061ffac235c34af))
354
+
355
+ ## [1.1.0](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.0.1...v1.1.0) (2023-01-20)
356
+
357
+
358
+ ### Features
359
+
360
+ * add support for dark mode ([30cc201](https://github.com/Lundalogik/lime-crm-building-blocks/commit/30cc2012e36e71412dd5bb6b4a18686280cfb975))
361
+
362
+
363
+ ### Bug Fixes
364
+
365
+ * **navigation-button:** support dark mode properly ([901ef20](https://github.com/Lundalogik/lime-crm-building-blocks/commit/901ef20e988f626930398b83072da6d38c963fae))
366
+
367
+ ### [1.0.1](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.0.0...v1.0.1) (2022-12-23)
368
+
369
+
370
+ ### Bug Fixes
371
+
372
+ * make all current dependencies into dev-dependencies ([429b614](https://github.com/Lundalogik/lime-crm-building-blocks/commit/429b61456315822a4250907484579f758910d6b5))
373
+
374
+ ## 1.0.0 (2022-12-22)
375
+
376
+
377
+ ### Features
378
+
379
+ * export public types ([7c0400d](https://github.com/Lundalogik/lime-crm-building-blocks/commit/7c0400d231e6cc03fd40310a27e2392355eb9d29))
380
+ * **navigation-button:** add component `limebb-navigation-button` ([e58932b](https://github.com/Lundalogik/lime-crm-building-blocks/commit/e58932b48d379670e3b2f79d786c089e2109302e))
@@ -18,29 +18,37 @@ const DashboardWidgetSlotsExample = class {
18
18
  text: 'Seasonal Brew',
19
19
  secondaryText: 'Whole beans, 225g',
20
20
  value: 2,
21
- icon: 'coffee_pot',
22
- iconColor: 'rgb(var(--color-braun-light))',
21
+ icon: {
22
+ name: 'coffee_pot',
23
+ color: 'rgb(var(--color-brown-default))',
24
+ },
23
25
  },
24
26
  {
25
27
  text: 'One cup drip kit',
26
28
  secondaryText: 'Signature Brew - Box',
27
29
  value: 3,
28
- icon: 'coffee_to_go',
29
- iconColor: 'rgb(var(--color-green-light))',
30
+ icon: {
31
+ name: 'coffee_to_go',
32
+ color: 'rgb(var(--color-green-light))',
33
+ },
30
34
  },
31
35
  {
32
36
  text: 'Chai',
33
37
  secondaryText: '340 g',
34
38
  value: 4,
35
- icon: 'tea_cup',
36
- iconColor: 'rgb(var(--color-amber-default))',
39
+ icon: {
40
+ name: 'tea_cup',
41
+ color: 'rgb(var(--color-amber-default))',
42
+ },
37
43
  },
38
44
  {
39
45
  text: 'Vanilla syrup',
40
46
  secondaryText: '37.5cl',
41
47
  value: 5,
42
- icon: 'sugar',
43
- iconColor: 'rgb(var(--color-glaucous-default))',
48
+ icon: {
49
+ name: 'sugar',
50
+ color: 'rgb(var(--color-glaucous-default))',
51
+ },
44
52
  },
45
53
  ];
46
54
  this.mineItems = [
@@ -48,15 +56,19 @@ const DashboardWidgetSlotsExample = class {
48
56
  text: 'One cup drip kit',
49
57
  secondaryText: 'Signature Brew - Box',
50
58
  value: 6,
51
- icon: 'coffee_to_go',
52
- iconColor: 'rgb(var(--color-green-light))',
59
+ icon: {
60
+ name: 'coffee_to_go',
61
+ color: 'rgb(var(--color-green-light))',
62
+ },
53
63
  },
54
64
  {
55
65
  text: 'Vanilla syrup',
56
66
  secondaryText: '37.5cl',
57
67
  value: 7,
58
- icon: 'sugar',
59
- iconColor: 'rgb(var(--color-glaucous-default))',
68
+ icon: {
69
+ name: 'sugar',
70
+ color: 'rgb(var(--color-glaucous-default))',
71
+ },
60
72
  },
61
73
  ];
62
74
  this.handleChange = (event) => {
@@ -88,9 +88,14 @@ export class DashboardComponent {
88
88
  "type": "string",
89
89
  "mutable": false,
90
90
  "complexType": {
91
- "original": "string",
92
- "resolved": "string | undefined",
93
- "references": {}
91
+ "original": "string | Icon",
92
+ "resolved": "Icon | string | undefined",
93
+ "references": {
94
+ "Icon": {
95
+ "location": "import",
96
+ "path": "@limetech/lime-elements"
97
+ }
98
+ }
94
99
  },
95
100
  "required": false,
96
101
  "optional": true,
@@ -26,29 +26,37 @@ export class DashboardWidgetSlotsExample {
26
26
  text: 'Seasonal Brew',
27
27
  secondaryText: 'Whole beans, 225g',
28
28
  value: 2,
29
- icon: 'coffee_pot',
30
- iconColor: 'rgb(var(--color-braun-light))',
29
+ icon: {
30
+ name: 'coffee_pot',
31
+ color: 'rgb(var(--color-brown-default))',
32
+ },
31
33
  },
32
34
  {
33
35
  text: 'One cup drip kit',
34
36
  secondaryText: 'Signature Brew - Box',
35
37
  value: 3,
36
- icon: 'coffee_to_go',
37
- iconColor: 'rgb(var(--color-green-light))',
38
+ icon: {
39
+ name: 'coffee_to_go',
40
+ color: 'rgb(var(--color-green-light))',
41
+ },
38
42
  },
39
43
  {
40
44
  text: 'Chai',
41
45
  secondaryText: '340 g',
42
46
  value: 4,
43
- icon: 'tea_cup',
44
- iconColor: 'rgb(var(--color-amber-default))',
47
+ icon: {
48
+ name: 'tea_cup',
49
+ color: 'rgb(var(--color-amber-default))',
50
+ },
45
51
  },
46
52
  {
47
53
  text: 'Vanilla syrup',
48
54
  secondaryText: '37.5cl',
49
55
  value: 5,
50
- icon: 'sugar',
51
- iconColor: 'rgb(var(--color-glaucous-default))',
56
+ icon: {
57
+ name: 'sugar',
58
+ color: 'rgb(var(--color-glaucous-default))',
59
+ },
52
60
  },
53
61
  ];
54
62
  this.mineItems = [
@@ -56,15 +64,19 @@ export class DashboardWidgetSlotsExample {
56
64
  text: 'One cup drip kit',
57
65
  secondaryText: 'Signature Brew - Box',
58
66
  value: 6,
59
- icon: 'coffee_to_go',
60
- iconColor: 'rgb(var(--color-green-light))',
67
+ icon: {
68
+ name: 'coffee_to_go',
69
+ color: 'rgb(var(--color-green-light))',
70
+ },
61
71
  },
62
72
  {
63
73
  text: 'Vanilla syrup',
64
74
  secondaryText: '37.5cl',
65
75
  value: 7,
66
- icon: 'sugar',
67
- iconColor: 'rgb(var(--color-glaucous-default))',
76
+ icon: {
77
+ name: 'sugar',
78
+ color: 'rgb(var(--color-glaucous-default))',
79
+ },
68
80
  },
69
81
  ];
70
82
  this.handleChange = (event) => {
@@ -17,29 +17,37 @@ const DashboardWidgetSlotsExample = /*@__PURE__*/ proxyCustomElement(class exten
17
17
  text: 'Seasonal Brew',
18
18
  secondaryText: 'Whole beans, 225g',
19
19
  value: 2,
20
- icon: 'coffee_pot',
21
- iconColor: 'rgb(var(--color-braun-light))',
20
+ icon: {
21
+ name: 'coffee_pot',
22
+ color: 'rgb(var(--color-brown-default))',
23
+ },
22
24
  },
23
25
  {
24
26
  text: 'One cup drip kit',
25
27
  secondaryText: 'Signature Brew - Box',
26
28
  value: 3,
27
- icon: 'coffee_to_go',
28
- iconColor: 'rgb(var(--color-green-light))',
29
+ icon: {
30
+ name: 'coffee_to_go',
31
+ color: 'rgb(var(--color-green-light))',
32
+ },
29
33
  },
30
34
  {
31
35
  text: 'Chai',
32
36
  secondaryText: '340 g',
33
37
  value: 4,
34
- icon: 'tea_cup',
35
- iconColor: 'rgb(var(--color-amber-default))',
38
+ icon: {
39
+ name: 'tea_cup',
40
+ color: 'rgb(var(--color-amber-default))',
41
+ },
36
42
  },
37
43
  {
38
44
  text: 'Vanilla syrup',
39
45
  secondaryText: '37.5cl',
40
46
  value: 5,
41
- icon: 'sugar',
42
- iconColor: 'rgb(var(--color-glaucous-default))',
47
+ icon: {
48
+ name: 'sugar',
49
+ color: 'rgb(var(--color-glaucous-default))',
50
+ },
43
51
  },
44
52
  ];
45
53
  this.mineItems = [
@@ -47,15 +55,19 @@ const DashboardWidgetSlotsExample = /*@__PURE__*/ proxyCustomElement(class exten
47
55
  text: 'One cup drip kit',
48
56
  secondaryText: 'Signature Brew - Box',
49
57
  value: 6,
50
- icon: 'coffee_to_go',
51
- iconColor: 'rgb(var(--color-green-light))',
58
+ icon: {
59
+ name: 'coffee_to_go',
60
+ color: 'rgb(var(--color-green-light))',
61
+ },
52
62
  },
53
63
  {
54
64
  text: 'Vanilla syrup',
55
65
  secondaryText: '37.5cl',
56
66
  value: 7,
57
- icon: 'sugar',
58
- iconColor: 'rgb(var(--color-glaucous-default))',
67
+ icon: {
68
+ name: 'sugar',
69
+ color: 'rgb(var(--color-glaucous-default))',
70
+ },
59
71
  },
60
72
  ];
61
73
  this.handleChange = (event) => {
@@ -14,29 +14,37 @@ const DashboardWidgetSlotsExample = class {
14
14
  text: 'Seasonal Brew',
15
15
  secondaryText: 'Whole beans, 225g',
16
16
  value: 2,
17
- icon: 'coffee_pot',
18
- iconColor: 'rgb(var(--color-braun-light))',
17
+ icon: {
18
+ name: 'coffee_pot',
19
+ color: 'rgb(var(--color-brown-default))',
20
+ },
19
21
  },
20
22
  {
21
23
  text: 'One cup drip kit',
22
24
  secondaryText: 'Signature Brew - Box',
23
25
  value: 3,
24
- icon: 'coffee_to_go',
25
- iconColor: 'rgb(var(--color-green-light))',
26
+ icon: {
27
+ name: 'coffee_to_go',
28
+ color: 'rgb(var(--color-green-light))',
29
+ },
26
30
  },
27
31
  {
28
32
  text: 'Chai',
29
33
  secondaryText: '340 g',
30
34
  value: 4,
31
- icon: 'tea_cup',
32
- iconColor: 'rgb(var(--color-amber-default))',
35
+ icon: {
36
+ name: 'tea_cup',
37
+ color: 'rgb(var(--color-amber-default))',
38
+ },
33
39
  },
34
40
  {
35
41
  text: 'Vanilla syrup',
36
42
  secondaryText: '37.5cl',
37
43
  value: 5,
38
- icon: 'sugar',
39
- iconColor: 'rgb(var(--color-glaucous-default))',
44
+ icon: {
45
+ name: 'sugar',
46
+ color: 'rgb(var(--color-glaucous-default))',
47
+ },
40
48
  },
41
49
  ];
42
50
  this.mineItems = [
@@ -44,15 +52,19 @@ const DashboardWidgetSlotsExample = class {
44
52
  text: 'One cup drip kit',
45
53
  secondaryText: 'Signature Brew - Box',
46
54
  value: 6,
47
- icon: 'coffee_to_go',
48
- iconColor: 'rgb(var(--color-green-light))',
55
+ icon: {
56
+ name: 'coffee_to_go',
57
+ color: 'rgb(var(--color-green-light))',
58
+ },
49
59
  },
50
60
  {
51
61
  text: 'Vanilla syrup',
52
62
  secondaryText: '37.5cl',
53
63
  value: 7,
54
- icon: 'sugar',
55
- iconColor: 'rgb(var(--color-glaucous-default))',
64
+ icon: {
65
+ name: 'sugar',
66
+ color: 'rgb(var(--color-glaucous-default))',
67
+ },
56
68
  },
57
69
  ];
58
70
  this.handleChange = (event) => {
@@ -1 +1 @@
1
- import{p as e,b as l}from"./p-2912b7e7.js";(()=>{const l=import.meta.url,a={};return""!==l&&(a.resourcesUrl=new URL(".",l).href),e(a)})().then((e=>l([["p-23d68f3e",[[1,"limebb-example-date-picker-date",{value:[32]}]]],["p-02ed3a92",[[1,"limebb-example-date-picker-datetime",{value:[32]}]]],["p-c7e749f8",[[1,"limebb-example-date-picker-time",{value:[32]}]]],["p-c4da03cb",[[1,"limebb-example-date-picker-week",{value:[32]}]]],["p-24a19099",[[1,"limebb-example-date-range"]]],["p-e37e8e1a",[[1,"limebb-example-feed"]]],["p-eb122f28",[[1,"limebb-example-feed-author"]]],["p-b0ca91ce",[[1,"limebb-example-feed-author-picture"]]],["p-202fe98d",[[1,"limebb-example-feed-item-color-coding"]]],["p-33174280",[[1,"limebb-example-feed-item-heading"]]],["p-2e5d9923",[[1,"limebb-example-feed-item-types"]]],["p-5faf8443",[[1,"limebb-example-feed-load-more",{objectIds:[32]}]]],["p-d768ffbb",[[1,"limebb-example-feed-promoted-actions"]]],["p-3372d170",[[1,"limebb-example-feed-relations"]]],["p-5e8d501a",[[1,"limebb-example-feed-tall-item"]]],["p-d814bdb3",[[1,"limebb-example-feed-unpromoted-actions"]]],["p-354078b7",[[1,"limebb-currency-picker",{label:[513],platform:[16],currencies:[16],helperText:[513,"helper-text"],required:[516],readonly:[516],invalid:[516],disabled:[516],value:[8]}]]],["p-a437678e",[[1,"limebb-example-currency-picker",{selectedCurrency:[32]}]]],["p-e0627848",[[1,"limebb-example-currency-picker-european",{selectedCurrency:[32]}]]],["p-57e53a2d",[[1,"limebb-example-currency-picker-nordic",{selectedCurrency:[32]}]]],["p-43a286a7",[[1,"limebb-example-dashboard-widget"]]],["p-0aaaaca0",[[1,"limebb-example-dashboard-widget-slots",{filterMyDeals:[32]}]]],["p-56ba707b",[[1,"limebb-example-dashboard-widget-styles"]]],["p-c9c9533b",[[1,"limebb-example-icon-picker",{value:[32]}]]],["p-11f8f221",[[1,"limebb-example-locale-picker",{value:[1]}]]],["p-d5f700c5",[[1,"limebb-example-locale-picker-multiple",{value:[1]}]]],["p-6ad70097",[[1,"limebb-navigation-button",{href:[513],tooltipLabel:[513,"tooltip-label"],tooltipHelperLabel:[513,"tooltip-helper-label"],type:[513]}]]],["p-79de4c38",[[1,"limebb-example-navigation-button-back"]]],["p-e7607495",[[1,"limebb-example-navigation-button-close"]]],["p-1ffc17ec",[[1,"limebb-example-navigation-button-expand"]]],["p-94fb580f",[[1,"limebb-example-navigation-button-float"]]],["p-7c3e338d",[[1,"limebb-example-navigation-button-maximize"]]],["p-bca75a1a",[[1,"limebb-example-navigation-button-minimize"]]],["p-6b000acf",[[1,"limebb-example-navigation-button-new-tab"]]],["p-636a38e8",[[1,"limebb-example-navigation-button-shrink"]]],["p-9e026e05",[[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]}]]],["p-81bfe796",[[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-fc9f0b6f",[[1,"limebb-icon-picker",{value:[1],required:[4],readonly:[4],invalid:[4],disabled:[4],label:[1],helperText:[1,"helper-text"]}]]],["p-32e4364a",[[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-0f8928a9",[[1,"limebb-dashboard-widget",{heading:[513],subheading:[513],supportingText:[513,"supporting-text"],icon:[513]}]]],["p-bf5994a7",[[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"]}],[1,"limebb-feed-timeline-item",{platform:[16],context:[16],item:[16],type:[513],isBundled:[516,"is-bundled"],showMore:[32],isTall:[32]}]]]],e)));
1
+ import{p as e,b as l}from"./p-2912b7e7.js";(()=>{const l=import.meta.url,a={};return""!==l&&(a.resourcesUrl=new URL(".",l).href),e(a)})().then((e=>l([["p-23d68f3e",[[1,"limebb-example-date-picker-date",{value:[32]}]]],["p-02ed3a92",[[1,"limebb-example-date-picker-datetime",{value:[32]}]]],["p-c7e749f8",[[1,"limebb-example-date-picker-time",{value:[32]}]]],["p-c4da03cb",[[1,"limebb-example-date-picker-week",{value:[32]}]]],["p-24a19099",[[1,"limebb-example-date-range"]]],["p-e37e8e1a",[[1,"limebb-example-feed"]]],["p-eb122f28",[[1,"limebb-example-feed-author"]]],["p-b0ca91ce",[[1,"limebb-example-feed-author-picture"]]],["p-202fe98d",[[1,"limebb-example-feed-item-color-coding"]]],["p-33174280",[[1,"limebb-example-feed-item-heading"]]],["p-2e5d9923",[[1,"limebb-example-feed-item-types"]]],["p-5faf8443",[[1,"limebb-example-feed-load-more",{objectIds:[32]}]]],["p-d768ffbb",[[1,"limebb-example-feed-promoted-actions"]]],["p-3372d170",[[1,"limebb-example-feed-relations"]]],["p-5e8d501a",[[1,"limebb-example-feed-tall-item"]]],["p-d814bdb3",[[1,"limebb-example-feed-unpromoted-actions"]]],["p-354078b7",[[1,"limebb-currency-picker",{label:[513],platform:[16],currencies:[16],helperText:[513,"helper-text"],required:[516],readonly:[516],invalid:[516],disabled:[516],value:[8]}]]],["p-a437678e",[[1,"limebb-example-currency-picker",{selectedCurrency:[32]}]]],["p-e0627848",[[1,"limebb-example-currency-picker-european",{selectedCurrency:[32]}]]],["p-57e53a2d",[[1,"limebb-example-currency-picker-nordic",{selectedCurrency:[32]}]]],["p-43a286a7",[[1,"limebb-example-dashboard-widget"]]],["p-de9e7d0d",[[1,"limebb-example-dashboard-widget-slots",{filterMyDeals:[32]}]]],["p-56ba707b",[[1,"limebb-example-dashboard-widget-styles"]]],["p-c9c9533b",[[1,"limebb-example-icon-picker",{value:[32]}]]],["p-11f8f221",[[1,"limebb-example-locale-picker",{value:[1]}]]],["p-d5f700c5",[[1,"limebb-example-locale-picker-multiple",{value:[1]}]]],["p-6ad70097",[[1,"limebb-navigation-button",{href:[513],tooltipLabel:[513,"tooltip-label"],tooltipHelperLabel:[513,"tooltip-helper-label"],type:[513]}]]],["p-79de4c38",[[1,"limebb-example-navigation-button-back"]]],["p-e7607495",[[1,"limebb-example-navigation-button-close"]]],["p-1ffc17ec",[[1,"limebb-example-navigation-button-expand"]]],["p-94fb580f",[[1,"limebb-example-navigation-button-float"]]],["p-7c3e338d",[[1,"limebb-example-navigation-button-maximize"]]],["p-bca75a1a",[[1,"limebb-example-navigation-button-minimize"]]],["p-6b000acf",[[1,"limebb-example-navigation-button-new-tab"]]],["p-636a38e8",[[1,"limebb-example-navigation-button-shrink"]]],["p-9e026e05",[[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]}]]],["p-81bfe796",[[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-fc9f0b6f",[[1,"limebb-icon-picker",{value:[1],required:[4],readonly:[4],invalid:[4],disabled:[4],label:[1],helperText:[1,"helper-text"]}]]],["p-32e4364a",[[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-0f8928a9",[[1,"limebb-dashboard-widget",{heading:[513],subheading:[513],supportingText:[513,"supporting-text"],icon:[513]}]]],["p-bf5994a7",[[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"]}],[1,"limebb-feed-timeline-item",{platform:[16],context:[16],item:[16],type:[513],isBundled:[516,"is-bundled"],showMore:[32],isTall:[32]}]]]],e)));
@@ -0,0 +1 @@
1
+ import{r as e,h as t}from"./p-2912b7e7.js";const o=class{constructor(t){e(this,t),this.allItems=[{text:"Signature brew",secondaryText:"Whole beans, 225g",value:1,icon:"coffee_pot"},{text:"Seasonal Brew",secondaryText:"Whole beans, 225g",value:2,icon:{name:"coffee_pot",color:"rgb(var(--color-brown-default))"}},{text:"One cup drip kit",secondaryText:"Signature Brew - Box",value:3,icon:{name:"coffee_to_go",color:"rgb(var(--color-green-light))"}},{text:"Chai",secondaryText:"340 g",value:4,icon:{name:"tea_cup",color:"rgb(var(--color-amber-default))"}},{text:"Vanilla syrup",secondaryText:"37.5cl",value:5,icon:{name:"sugar",color:"rgb(var(--color-glaucous-default))"}}],this.mineItems=[{text:"One cup drip kit",secondaryText:"Signature Brew - Box",value:6,icon:{name:"coffee_to_go",color:"rgb(var(--color-green-light))"}},{text:"Vanilla syrup",secondaryText:"37.5cl",value:7,icon:{name:"sugar",color:"rgb(var(--color-glaucous-default))"}}],this.handleChange=e=>{this.filterMyDeals="mine"===e.detail.id}}render(){return t("limebb-dashboard-widget",{icon:"cardboard_box",heading:this.filterMyDeals?"My products: 2":"All products: 5",subheading:"Last update 10:45, 14 March 2023"},t("limel-list",{slot:"content",class:"has-striped-rows has-interactive-items",items:this.filterMyDeals?this.mineItems:this.allItems}),this.renderHeaderActions())}renderHeaderActions(){return t("limel-button-group",{onChange:this.handleChange,slot:"header-actions",value:[{id:"all",title:"all",selected:!this.filterMyDeals},{id:"mine",title:"mine",selected:this.filterMyDeals}]})}};export{o as limebb_example_dashboard_widget_slots}
@@ -1,3 +1,4 @@
1
+ import { Icon } from '@limetech/lime-elements';
1
2
  /**
2
3
  * @exampleComponent limebb-example-dashboard-widget
3
4
  * @exampleComponent limebb-example-dashboard-widget-styles
@@ -19,7 +20,7 @@ export declare class DashboardComponent {
19
20
  /**
20
21
  * Icon to display
21
22
  */
22
- icon?: string;
23
+ icon?: string | Icon;
23
24
  render(): any[];
24
25
  private renderHeader;
25
26
  }
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
8
  import { LimeWebComponentContext, LimeWebComponentPlatform } from "@limetech/lime-web-components";
9
- import { ActionBarItem, DateType, Languages, ListItem, MenuItem } from "@limetech/lime-elements";
9
+ import { ActionBarItem, DateType, Icon, Languages, ListItem, MenuItem } from "@limetech/lime-elements";
10
10
  import { LanguagePickerType } from "./components/locale-picker/language-picker.types";
11
11
  import { FeedItem, FeedItemType } from "./components/feed/feed-item/feed-item.types";
12
12
  import { NavigationButtonType } from "./components/navigation-button/navigation-button.types";
@@ -57,7 +57,7 @@ export namespace Components {
57
57
  /**
58
58
  * Icon to display
59
59
  */
60
- "icon"?: string;
60
+ "icon"?: string | Icon;
61
61
  /**
62
62
  * Subheading to display
63
63
  */
@@ -774,7 +774,7 @@ declare namespace LocalJSX {
774
774
  /**
775
775
  * Icon to display
776
776
  */
777
- "icon"?: string;
777
+ "icon"?: string | Icon;
778
778
  /**
779
779
  * Subheading to display
780
780
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@limetech/lime-crm-building-blocks",
3
- "version": "1.23.2",
3
+ "version": "1.23.3",
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",
@@ -11,7 +11,8 @@
11
11
  "unpkg": "dist/lime-crm-building-blocks/lime-crm-building-blocks.esm.js",
12
12
  "files": [
13
13
  "dist/",
14
- "loader/"
14
+ "loader/",
15
+ "CHANGELOG.md"
15
16
  ],
16
17
  "scripts": {
17
18
  "build": "stencil build --docs",
@@ -40,7 +41,7 @@
40
41
  "access": "public"
41
42
  },
42
43
  "devDependencies": {
43
- "@limetech/lime-elements": "^37.1.0-next.75",
44
+ "@limetech/lime-elements": "^37.1.0-next.78",
44
45
  "@limetech/lime-web-components": "^5.21.0",
45
46
  "@lundalogik/lime-icons8": "^2.11.0",
46
47
  "@stencil/core": "<2.19.0",
@@ -1 +0,0 @@
1
- import{r as e,h as o}from"./p-2912b7e7.js";const t=class{constructor(o){e(this,o),this.allItems=[{text:"Signature brew",secondaryText:"Whole beans, 225g",value:1,icon:"coffee_pot"},{text:"Seasonal Brew",secondaryText:"Whole beans, 225g",value:2,icon:"coffee_pot",iconColor:"rgb(var(--color-braun-light))"},{text:"One cup drip kit",secondaryText:"Signature Brew - Box",value:3,icon:"coffee_to_go",iconColor:"rgb(var(--color-green-light))"},{text:"Chai",secondaryText:"340 g",value:4,icon:"tea_cup",iconColor:"rgb(var(--color-amber-default))"},{text:"Vanilla syrup",secondaryText:"37.5cl",value:5,icon:"sugar",iconColor:"rgb(var(--color-glaucous-default))"}],this.mineItems=[{text:"One cup drip kit",secondaryText:"Signature Brew - Box",value:6,icon:"coffee_to_go",iconColor:"rgb(var(--color-green-light))"},{text:"Vanilla syrup",secondaryText:"37.5cl",value:7,icon:"sugar",iconColor:"rgb(var(--color-glaucous-default))"}],this.handleChange=e=>{this.filterMyDeals="mine"===e.detail.id}}render(){return o("limebb-dashboard-widget",{icon:"cardboard_box",heading:this.filterMyDeals?"My products: 2":"All products: 5",subheading:"Last update 10:45, 14 March 2023"},o("limel-list",{slot:"content",class:"has-striped-rows has-interactive-items",items:this.filterMyDeals?this.mineItems:this.allItems}),this.renderHeaderActions())}renderHeaderActions(){return o("limel-button-group",{onChange:this.handleChange,slot:"header-actions",value:[{id:"all",title:"all",selected:!this.filterMyDeals},{id:"mine",title:"mine",selected:this.filterMyDeals}]})}};export{t as limebb_example_dashboard_widget_slots}