stream-chat-angular 5.13.0 → 5.14.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 (38) hide show
  1. package/assets/i18n/en.d.ts +1 -0
  2. package/assets/version.d.ts +1 -1
  3. package/esm2020/assets/i18n/en.mjs +2 -1
  4. package/esm2020/assets/version.mjs +2 -2
  5. package/esm2020/lib/custom-templates.service.mjs +8 -2
  6. package/esm2020/lib/message/message.component.mjs +9 -9
  7. package/esm2020/lib/message-blocked/message-blocked.component.mjs +22 -0
  8. package/esm2020/lib/stream-chat.module.mjs +8 -3
  9. package/esm2020/lib/types.mjs +1 -1
  10. package/esm2020/public-api.mjs +2 -1
  11. package/fesm2015/stream-chat-angular.mjs +44 -15
  12. package/fesm2015/stream-chat-angular.mjs.map +1 -1
  13. package/fesm2020/stream-chat-angular.mjs +42 -13
  14. package/fesm2020/stream-chat-angular.mjs.map +1 -1
  15. package/lib/channel.service.d.ts +2 -0
  16. package/lib/custom-templates.service.d.ts +8 -2
  17. package/lib/message/message.component.d.ts +2 -1
  18. package/lib/message-blocked/message-blocked.component.d.ts +11 -0
  19. package/lib/stream-chat.module.d.ts +8 -7
  20. package/lib/types.d.ts +4 -0
  21. package/package.json +2 -2
  22. package/public-api.d.ts +1 -0
  23. package/src/assets/i18n/en.ts +2 -0
  24. package/src/assets/styles/css/emoji-mart.css +1 -1
  25. package/src/assets/styles/css/index.css +1 -3
  26. package/src/assets/styles/css/index.layout.css +1 -3
  27. package/src/assets/styles/scss/Channel/Channel-layout.scss +2 -1
  28. package/src/assets/styles/scss/ChannelSearch/ChannelSearch-layout.scss +1 -0
  29. package/src/assets/styles/scss/Message/Message-layout.scss +9 -1
  30. package/src/assets/styles/scss/Message/Message-theme.scss +34 -5
  31. package/src/assets/styles/scss/Poll/Poll-layout.scss +1 -1
  32. package/src/assets/styles/scss/Search/Search-layout.scss +148 -0
  33. package/src/assets/styles/scss/Search/Search-theme.scss +222 -0
  34. package/src/assets/styles/scss/_icons.scss +2 -0
  35. package/src/assets/styles/scss/index.layout.scss +1 -0
  36. package/src/assets/styles/scss/index.scss +1 -0
  37. package/src/assets/styles/scss/vendor/react-image-gallery.scss +3 -1
  38. package/src/assets/version.ts +1 -1
@@ -65,8 +65,9 @@
65
65
  }
66
66
 
67
67
  .str-chat__loading-channel-message-list {
68
- @include utils.message-list-spacing;
68
+ /* stylelint-disable */
69
69
  height: 100%;
70
+ @include utils.message-list-spacing;
70
71
 
71
72
  .str-chat__loading-channel-message {
72
73
  display: flex;
@@ -7,6 +7,7 @@
7
7
  flex-direction: column;
8
8
  justify-content: center;
9
9
 
10
+ &.str-chat__channel-search--active.str-chat__channel-search--inline,
10
11
  &.str-chat__channel-search--with-results.str-chat__channel-search--inline {
11
12
  height: 100%;
12
13
  }
@@ -120,6 +120,10 @@
120
120
  grid-template-areas: 'message';
121
121
  }
122
122
 
123
+ &.str-chat__message--blocked {
124
+ grid-template-areas: 'message';
125
+ }
126
+
123
127
  &.str-chat__message--system {
124
128
  grid-template-areas: 'message';
125
129
  grid-template-columns: auto;
@@ -260,6 +264,10 @@
260
264
  @include chat-bubble-spacing;
261
265
  }
262
266
 
267
+ .str-chat__message--blocked-inner {
268
+ @include chat-bubble-spacing;
269
+ }
270
+
263
271
  .str-chat__quoted-message-bubble {
264
272
  @include chat-bubble-spacing;
265
273
  display: flex;
@@ -375,7 +383,7 @@
375
383
  }
376
384
  }
377
385
 
378
- .str-chat__message--other .str-chat__message-inner {
386
+ .str-chat__message--other .str-chat__message-inner:not(:has(.str-chat__message-options--active)) {
379
387
  margin-inline-end: var(--str-chat-message-options-size);
380
388
  }
381
389
 
@@ -118,6 +118,30 @@
118
118
  /* Box shadow applied to a deleted message */
119
119
  --str-chat__deleted-message-box-shadow: none;
120
120
 
121
+ /* The border radius used for the borders of a deleted message */
122
+ --str-chat__blocked-message-border-radius: var(--str-chat__border-radius-md);
123
+
124
+ /* The text/icon of a deleted message */
125
+ --str-chat__blocked-message-color: var(--str-chat__text-low-emphasis-color);
126
+
127
+ /* The background of a deleted message */
128
+ --str-chat__blocked-message-background-color: var(--str-chat__secondary-surface-color);
129
+
130
+ /* Top border of a deleted message */
131
+ --str-chat__blocked-message-border-block-start: none;
132
+
133
+ /* Bottom border of a deleted message */
134
+ --str-chat__blocked-message-border-block-end: none;
135
+
136
+ /* Left (right in RTL layout) border of a deleted message */
137
+ --str-chat__blocked-message-border-inline-start: none;
138
+
139
+ /* Right (left in RTL layout) border of a deleted message */
140
+ --str-chat__blocked-message-border-inline-end: none;
141
+
142
+ /* Box shadow applied to a deleted message */
143
+ --str-chat__blocked-message-box-shadow: none;
144
+
121
145
  /* The border radius used for the borders of a system message */
122
146
  --str-chat__system-message-border-radius: 0;
123
147
 
@@ -191,6 +215,11 @@
191
215
  }
192
216
  }
193
217
 
218
+ .str-chat__message-mention {
219
+ color: var(--str-chat__message-mention-color);
220
+ font: var(--str-chat__body2-medium-text);
221
+ }
222
+
194
223
  .str-chat__message {
195
224
  @include utils.component-layer-overrides('message');
196
225
 
@@ -199,11 +228,6 @@
199
228
  color: var(--str-chat__message-link-color);
200
229
  }
201
230
 
202
- .str-chat__message-mention {
203
- color: var(--str-chat__message-mention-color);
204
- font: var(--str-chat__body2-medium-text);
205
- }
206
-
207
231
  .str-chat__message-bubble {
208
232
  @include utils.component-layer-overrides('message-bubble');
209
233
  font: var(--str-chat__body2-text);
@@ -214,6 +238,11 @@
214
238
  font: var(--str-chat__body2-text);
215
239
  }
216
240
 
241
+ .str-chat__message--blocked-inner {
242
+ @include utils.component-layer-overrides('blocked-message');
243
+ font: var(--str-chat__body2-text);
244
+ }
245
+
217
246
  &.str-chat__message--me .str-chat__message-bubble {
218
247
  color: var(--str-chat__own-message-bubble-color);
219
248
  background-color: var(--str-chat__own-message-bubble-background-color);
@@ -332,8 +332,8 @@
332
332
  }
333
333
 
334
334
  .str-chat__poll-creation-dialog {
335
+ height: 100%;
335
336
  width: 100%;
336
- height: 700px;
337
337
  display: flex;
338
338
  flex-direction: column;
339
339
 
@@ -0,0 +1,148 @@
1
+ @use '../utils';
2
+
3
+ .str-chat__search {
4
+ position: relative;
5
+ display: flex;
6
+ flex-direction: column;
7
+ justify-content: center;
8
+
9
+ &.str-chat__search--active {
10
+ flex: 1;
11
+ max-height: 100%;
12
+ }
13
+
14
+ .str-chat__search-bar {
15
+ @include utils.flex-row-center;
16
+ padding: var(--str-chat__spacing-2_5) var(--str-chat__spacing-2);
17
+ gap: 0.25rem;
18
+
19
+ .str-chat__search-bar-button {
20
+ @include utils.button-reset;
21
+ padding: var(--str-chat__spacing-1);
22
+ cursor: pointer;
23
+ }
24
+
25
+ .str-chat__search-input--wrapper {
26
+ display: flex;
27
+ align-items: center;
28
+ flex: 1;
29
+ padding: var(--str-chat__spacing-1_5) var(--str-chat__spacing-2);
30
+ min-width: 0;
31
+
32
+ .str-chat__search-input--icon {
33
+ height: 20px;
34
+ width: 20px;
35
+ margin-right: 0.5rem;
36
+ }
37
+
38
+ .str-chat__search-input--clear-button {
39
+ @include utils.button-reset;
40
+ cursor: pointer;
41
+ padding: 0;
42
+
43
+ &:disabled {
44
+ cursor: default;
45
+ }
46
+
47
+ .str-chat__search-input--clear-button-icon {
48
+ height: 20px;
49
+ width: 20px;
50
+ mask-size: 20px;
51
+ -webkit-mask-size: 20px;
52
+ }
53
+ }
54
+
55
+ input {
56
+ flex: 1;
57
+ min-width: 0;
58
+ }
59
+ }
60
+ }
61
+
62
+ .str-chat__search-results {
63
+ flex: 1;
64
+ display: flex;
65
+ flex-direction: column;
66
+ min-height: 0;
67
+
68
+ .str-chat__search-results-header {
69
+ width: 100%;
70
+
71
+ button {
72
+ @include utils.button-reset();
73
+ cursor: pointer;
74
+ }
75
+
76
+ .str-chat__search-results-header__filter-source-buttons {
77
+ display: flex;
78
+ flex-wrap: wrap;
79
+ gap: 0.5rem;
80
+ padding: var(--str-chat__spacing-3) var(--str-chat__spacing-2_5);
81
+ width: 100%;
82
+
83
+ .str-chat__search-results-header__filter-source-button {
84
+ padding: 0.5rem 0.75rem;
85
+ border-radius: var(--str-chat__border-radius-circle);
86
+ background-color: var(--str-chat__tertiary-surface-color);
87
+ }
88
+
89
+ .str-chat__search-results-header__filter-source-button--active {
90
+ background-color: var(--str-chat__surface-color);
91
+ color: var(--str-chat__text-color);
92
+ font-weight: 500;
93
+ }
94
+ }
95
+ }
96
+
97
+ .str-chat__search-results-presearch,
98
+ .str-chat__search-source-results-empty {
99
+ width: 100%;
100
+ display: flex;
101
+ justify-content: center;
102
+ align-items: center;
103
+ padding: 1.25rem;
104
+ }
105
+
106
+ .str-chat__search-source-results {
107
+ flex: 1;
108
+ display: flex;
109
+ flex-direction: column;
110
+ min-height: 0;
111
+
112
+ .str-chat__search-source-result-list {
113
+ flex: 1;
114
+ display: flex;
115
+ flex-direction: column;
116
+ min-height: 0;
117
+
118
+ .str-chat__infinite-scroll-paginator__content {
119
+ display: flex;
120
+ flex-direction: column;
121
+ }
122
+
123
+ .str-chat__search-result {
124
+ display: flex;
125
+ align-items: center;
126
+ width: 100%;
127
+ column-gap: var(--str-chat__spacing-2);
128
+ padding: var(--str-chat__spacing-3) var(--str-chat__spacing-2);
129
+
130
+ .search__result-text,
131
+ .str-chat__search-result--display-name {
132
+ @include utils.ellipsis-text;
133
+ @include utils.prevent-glitch-text-overflow;
134
+ }
135
+ }
136
+
137
+ .str-chat__search-source-result-list__footer {
138
+ height: 4rem;
139
+ width: 100%;
140
+ display: flex;
141
+ justify-content: center;
142
+ align-items: center;
143
+ flex-direction: column;
144
+ }
145
+ }
146
+ }
147
+ }
148
+ }
@@ -0,0 +1,222 @@
1
+ @use '../utils';
2
+
3
+ /* Only available in React SDK. */
4
+ .str-chat {
5
+ /* The text/icon color of the component */
6
+ --str-chat__search-input-color: var(--str-chat__text-color);
7
+
8
+ /* The text/icon color of the component */
9
+ --str-chat__search-input-placeholder-color: var(--str-chat__text-low-emphasis-color);
10
+
11
+ /* The text/icon color of the component */
12
+ --str-chat__search-input-icon-color: var(--str-chat__text-low-emphasis-color);
13
+
14
+ /* Top border of the component */
15
+ --str-chat__search-input-border-block-start: none;
16
+
17
+ /* Bottom border of the component */
18
+ --str-chat__search-input-border-block-end: none;
19
+
20
+ /* Left (right in RTL layout) borhe component */
21
+ --str-chat__search-input-border-inline-start: none;
22
+
23
+ /* Right (left in RTL layout) borhe component */
24
+ --str-chat__search-input-border-inline-end: none;
25
+
26
+ /* The border radius used for the borders of the component */
27
+ --str-chat__search-input-wrapper-border-radius: var(--str-chat__border-radius-circle);
28
+
29
+ /* The background color of the component */
30
+ --str-chat__search-input-wrapper-background-color: transparent;
31
+
32
+ /* Top border of the component */
33
+ --str-chat__search-input-wrapper-border-block-start: var(--str-chat__surface-color) 1px
34
+ solid;
35
+
36
+ /* Bottom border of the component */
37
+ --str-chat__search-input-wrapper-border-block-end: var(--str-chat__surface-color) 1px
38
+ solid;
39
+
40
+ /* Left (right in RTL layout) border of the component */
41
+ --str-chat__search-input-wrapper-border-inline-start: var(--str-chat__surface-color) 1px
42
+ solid;
43
+
44
+ /* Right (left in RTL layout) border of the component */
45
+ --str-chat__search-input-wrapper-border-inline-end: var(--str-chat__surface-color) 1px
46
+ solid;
47
+
48
+ /* The border radius used for the borders of the component */
49
+ --str-chat__search-input-wrapper-active-border-radius: var(--str-chat__border-radius-circle);
50
+
51
+ /* The background color of the component */
52
+ --str-chat__search-input-wrapper-active-background-color: transparent;
53
+
54
+ /* Top border of the component */
55
+ --str-chat__search-input-wrapper-active-border-block-start: var(--str-chat__primary-color)
56
+ 1px solid;
57
+
58
+ /* Bottom border of the component */
59
+ --str-chat__search-input-wrapper-active-border-block-end: var(--str-chat__primary-color)
60
+ 1px solid;
61
+
62
+ /* Left (right in RTL layout) border of the component */
63
+ --str-chat__search-input-wrapper-active-border-inline-start: var(
64
+ --str-chat__primary-color
65
+ )
66
+ 1px solid;
67
+
68
+ /* Right (left in RTL layout) border of the component */
69
+ --str-chat__search-input-wrapper-active-border-inline-end: var(--str-chat__primary-color)
70
+ 1px solid;
71
+
72
+ /* The background applied to channel search result */
73
+ --str-chat__search-result-background-color: transparent;
74
+
75
+ /* Top border of the component */
76
+ --str-chat__search-result-border-block-start: none;
77
+
78
+ /* Bottom border of the component */
79
+ --str-chat__search-result-border-block-end: none;
80
+
81
+ /* Left (right in RTL layout) border of the component */
82
+ --str-chat__search-result-border-inline-start: none;
83
+
84
+ /* Right (left in RTL layout) border of the component */
85
+ --str-chat__search-result-border-inline-end: none;
86
+
87
+ /* Background color used for the search result hover / focused state */
88
+ --str-chat__search-result-hover-background-color: var(
89
+ --str-chat__secondary-surface-color
90
+ );
91
+
92
+ --str-chat__search-result-list-color: var(--str-chat__text-color);
93
+
94
+ --str-chat__search-result-list-background-color: var(--str-chat__secondary-background-color);
95
+
96
+ /* Top border of the component */
97
+ --str-chat__search-result-list-border-block-start: none;
98
+
99
+ /* Bottom border of the component */
100
+ --str-chat__search-result-list-border-block-end: none;
101
+
102
+ /* Left (right in RTL layout) border of the component */
103
+ --str-chat__search-result-list-border-inline-start: none;
104
+
105
+ /* Right (left in RTL layout) border of the component */
106
+ --str-chat__search-result-list-border-inline-end: none;
107
+
108
+ /* Box shadow applied to the component */
109
+ --str-chat__search-result-list-popup-box-shadow: 0 4px 4px var(--str-chat__box-shadow-color);
110
+
111
+ /* The font color used in the search results header */
112
+ --str-chat__search-results-header-color: var(--str-chat__text-low-emphasis-color);
113
+
114
+ /* The background color used in the search results header */
115
+ --str-chat__search-results-header-background-color: var(--str-chat__background-color);
116
+
117
+ /* Top border of the component */
118
+ --str-chat__search-results-header-border-block-start: none;
119
+
120
+ /* Bottom border of the component */
121
+ --str-chat__search-results-header-border-block-end: var(--str-chat__surface-color) 1px
122
+ solid;
123
+
124
+ /* Left (right in RTL layout) border of the component */
125
+ --str-chat__search-results-header-border-inline-start: none;
126
+
127
+ /* Right (left in RTL layout) border of the component */
128
+ --str-chat__search-results-header-border-inline-end: none;
129
+
130
+ /* The font color used in the empty search results indicator */
131
+ --str-chat__search-results-empty-color: var(--str-chat__text-low-emphasis-color);
132
+
133
+ /* The icon color used in the empty search results indicator */
134
+ --str-chat__search-results-empty-icon-color: var(--str-chat__disabled-color);
135
+
136
+ /* The background color used in the empty search results indicator */
137
+ --str-chat__search-results-empty-background-color: var(--str-chat__background-color);
138
+
139
+ /* Top border of the component */
140
+ --str-chat__search-results-empty-border-block-start: none;
141
+
142
+ /* Bottom border of the component */
143
+ --str-chat__search-results-empty-border-block-end: none;
144
+
145
+ /* Left (right in RTL layout) border of the component */
146
+ --str-chat__search-results-empty-border-inline-start: none;
147
+
148
+ /* Right (left in RTL layout) border of the component */
149
+ --str-chat__search-results-empty-border-inline-end: none;
150
+ }
151
+
152
+ .str-chat__search-input--wrapper {
153
+ @include utils.component-layer-overrides('search-input-wrapper');
154
+
155
+ .str-chat__search-input--icon {
156
+ background-image: var(--str-chat__magnifier-glass-icon);
157
+ background-repeat: no-repeat;
158
+ }
159
+
160
+ input {
161
+ @include utils.component-layer-overrides('search-input');
162
+ outline: none;
163
+ font: var(--str-chat__subtitle-text);
164
+ }
165
+
166
+ .str-chat__search-input--clear-button-icon {
167
+ background-color: transparent;
168
+ -webkit-mask: var(--str-chat__clear-icon) no-repeat center / contain;
169
+ mask: var(--str-chat__clear-icon) no-repeat center / contain;
170
+ }
171
+ }
172
+
173
+ .str-chat__search-input--wrapper-active {
174
+ @include utils.component-layer-overrides('search-input-wrapper-active');
175
+
176
+ .str-chat__search-input--clear-button-icon {
177
+ background-color: var(--str-chat__text-low-emphasis-color);
178
+ }
179
+ }
180
+
181
+ .str-chat__search-bar-button--exit-search {
182
+ @include utils.button-reset();
183
+ color: var(--str-chat__primary-color);
184
+ font: var(--str-chat__subtitle-text);
185
+ }
186
+
187
+ .str-chat__search-results-header {
188
+ @include utils.component-layer-overrides('search-results-header');
189
+ font: var(--str-chat__subtitle-text);
190
+ }
191
+
192
+ .str-chat__search-source-result-list {
193
+ @include utils.component-layer-overrides('search-result-list');
194
+
195
+ .str-chat__search-container-empty {
196
+ @include utils.component-layer-overrides('search-results-empty');
197
+ font: var(--str-chat__subtitle2-medium-text);
198
+
199
+ svg path {
200
+ fill: var(--str-chat__search-results-empty-icon-color);
201
+ }
202
+ }
203
+
204
+ .str-chat__search-result {
205
+ @include utils.component-layer-overrides('search-result');
206
+
207
+ &.str-chat__channel-preview-messenger--active {
208
+ background-color: var(--str-chat__channel-preview-active-background-color);
209
+ }
210
+
211
+ .str-chat__search-result--display-name {
212
+ @include utils.channel-preview-display-name-theme;
213
+ }
214
+ }
215
+
216
+
217
+
218
+ .str-chat__search-result:hover,
219
+ .str-chat__search-result--focused {
220
+ background-color: var(--str-chat__search-result-hover-background-color);
221
+ }
222
+ }
@@ -10,6 +10,8 @@
10
10
  --str-chat__poll-icon: url('data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTggMTgiIGZpbGw9ImN1cnJlbnRDb2xvciIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxwYXRoIGQ9Ik0xNiAwSDJDMC45IDAgMCAwLjkgMCAyVjE2QzAgMTcuMSAwLjkgMTggMiAxOEgxNkMxNy4xIDE4IDE4IDE3LjEgMTggMTZWMkMxOCAwLjkgMTcuMSAwIDE2IDBaTTE2IDE2SDJWMkgxNlYxNlpNNCA3SDZWMTRINFY3Wk04IDRIMTBWMTRIOFY0Wk0xMiAxMEgxNFYxNEgxMlYxMFoiLz4KPC9zdmc+');
11
11
  --str-chat__handle-icon: url('data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTYgNiIgZmlsbD0iY3VycmVuQ29sb3IiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgICA8cGF0aCBkPSJNMTYgMEgwVjJIMTZWMFpNMCA2SDE2VjRIMFY2WiIvPgo8L3N2Zz4K');
12
12
  --str-chat__circle-stop-icon: url('data:image/svg+xml;base64,PHN2ZyBmaWxs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zE4IDUuNTgxNzIgMTQuNDE4MyAyIDEwIDJaTTEzLjUzNTggNi40NjQ0NkMxMy4xNDUzIDYuMDczOTQgMTIuNTEyMSA2LjA3Mzk0IDEyLjEyMTYgNi40NjQ0NkwxMC4wMDAzIDguNTg1NzhMNy44Nzg5OCA2LjQ2NDQ2QzcuNDg4NDYgNi4wNzM5NCA2Ljg1NTI5IDYuMDczOTQgNi40NjQ3NyA2LjQ2NDQ2QzYuMDc0MjQgNi44NTQ5OSA2LjA3NDI0IDcuNDg4MTUgNi40NjQ3NyA3Ljg3ODY4TDguNTg2MDkgMTBMNi40NjQ3NyAxMi4xMjEzQzYuMDc0MjQgMTIuNTExOCA2LjA3NDI0IDEzLjE0NSA2LjQ2NDc3IDEzLjUzNTVDNi44NTUyOSAxMy45MjYxIDcuNDg4NDYgMTMuOTI2MSA3Ljg3ODk4IDEzLjUzNTVMMTAuMDAwMyAxMS40MTQyTDEyLjEyMTYgMTMuNTM1NUMxMi41MTIxIDEzLjkyNjEgMTMuMTQ1MyAxMy45MjYxIDEzLjUzNTggMTMuNTM1NUMxMy45MjY0IDEzLjE0NSAxMy45MjY0IDEyLjUxMTggMTMuNTM1OCAxMi4xMjEzTDExLjQxNDUgMTBMMTMuNTM1OCA3Ljg3ODY4QzEzLjkyNjQgNy40ODgxNSAxMy45MjY0IDYuODU0OTkgMTMuNTM1OCA2LjQ2NDQ2WiIvPgo8L3N2Zz4K');
13
15
  }
14
16
 
15
17
  @font-face {
@@ -37,6 +37,7 @@
37
37
  @use 'Notification/NotificationList-layout';
38
38
  @use 'Notification/Notification-layout';
39
39
  @use 'Poll/Poll-layout';
40
+ @use 'Search/Search-layout';
40
41
  @use 'Thread/Thread-layout';
41
42
  @use 'Tooltip/Tooltip-layout';
42
43
  @use 'TypingIndicator/TypingIndicator-layout';
@@ -38,6 +38,7 @@
38
38
  @use 'Notification/NotificationList-theme';
39
39
  @use 'Notification/Notification-theme';
40
40
  @use 'Poll/Poll-theme';
41
+ @use 'Search/Search-theme';
41
42
  @use 'Thread/Thread-theme';
42
43
  @use 'Tooltip/Tooltip-theme';
43
44
  @use 'TypingIndicator/TypingIndicator-theme';
@@ -1,3 +1,5 @@
1
+ @use "sass:color";
2
+
1
3
  $ig-small-screen: 768px !default;
2
4
  $ig-xsmall-screen: 480px !default;
3
5
  $ig-white: #fff !default;
@@ -5,7 +7,7 @@ $ig-black: #000 !default;
5
7
  $ig-blue: #337ab7 !default;
6
8
  $ig-background-black: rgba(0, 0, 0, 0.4) !default;
7
9
  $ig-transparent: rgba(0, 0, 0, 0) !default;
8
- $ig-shadow: 0 2px 2px lighten($ig-black, 10%);
10
+ $ig-shadow: 0 2px 2px color.adjust($ig-black, $lightness: 10%);
9
11
 
10
12
  @mixin vendor-prefix($name, $value) {
11
13
  @each $vendor in ('-webkit-', '-moz-', '-ms-', '-o-', '') {
@@ -1 +1 @@
1
- export const version = '5.13.0';
1
+ export const version = '5.14.0';