@indice/ng-components 0.2.142-beta → 0.2.143
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/_styles.css +64 -72
- package/bundles/indice-ng-components.umd.js +324 -259
- package/bundles/indice-ng-components.umd.js.map +1 -1
- package/esm2015/lib/controls/avatar-initials/avatar-initials.component.js +4 -4
- package/esm2015/lib/controls/collapsible-panel/collapsible-panel.component.js +4 -4
- package/esm2015/lib/controls/date-picker/date-picker.component.js +4 -4
- package/esm2015/lib/controls/drop-down-menu/drop-down-menu.component.js +4 -4
- package/esm2015/lib/controls/kpi-tile/kpi-tile.component.js +4 -4
- package/esm2015/lib/controls/list-view/list-column.component.js +4 -4
- package/esm2015/lib/controls/list-view/list-details-section.component.js +4 -4
- package/esm2015/lib/controls/list-view/list-tile.component.js +4 -4
- package/esm2015/lib/controls/list-view/list-view-empty-state.component.js +4 -4
- package/esm2015/lib/controls/list-view/list-view.component.js +4 -4
- package/esm2015/lib/controls/nav-links-list/nav-links-list.component.js +40 -0
- package/esm2015/lib/controls/notifications-indicator/notifications-indicator.component.js +80 -0
- package/esm2015/lib/controls/pager/pager.component.js +4 -4
- package/esm2015/lib/controls/side-pane/side-pane.component.js +4 -4
- package/esm2015/lib/controls/skeleton-loader/skeleton-loader.component.js +4 -4
- package/esm2015/lib/controls/toaster/toaster-container.component.js +4 -4
- package/esm2015/lib/controls/toaster/toaster.component.js +4 -4
- package/esm2015/lib/controls/toggle/toggle.component.js +4 -4
- package/esm2015/lib/directives/click-outside.directive.js +4 -4
- package/esm2015/lib/directives/dynamic-component-host.directive.js +4 -4
- package/esm2015/lib/helpers/base-list.component.js +4 -4
- package/esm2015/lib/layouts/shell/shell-footer/shell-footer.component.js +4 -4
- package/esm2015/lib/layouts/shell/shell-header/shell-header.component.js +71 -77
- package/esm2015/lib/layouts/shell/shell-layout/shell-layout.component.js +12 -7
- package/esm2015/lib/layouts/views/form-layout/form-layout.component.js +8 -9
- package/esm2015/lib/layouts/views/model-view-layout/model-view-layout.component.js +4 -6
- package/esm2015/lib/layouts/views/side-view-layout/side-view-layout.component.js +4 -4
- package/esm2015/lib/layouts/views/view-layout/view-layout.component.js +4 -4
- package/esm2015/lib/ng-components.module.js +12 -12
- package/esm2015/lib/pages/auth/auth-callback/auth-callback.component.js +4 -4
- package/esm2015/lib/pages/auth/auth-renew/auth-renew.component.js +4 -4
- package/esm2015/lib/pages/auth/logged-out/logged-out.component.js +4 -4
- package/esm2015/lib/pages/http-status/error/error.component.js +4 -4
- package/esm2015/lib/pages/http-status/page-not-found/page-not-found.component.js +4 -4
- package/esm2015/lib/pages/http-status/unauthorized/unauthorized.component.js +4 -4
- package/esm2015/lib/pipes/address.pipe.js +4 -4
- package/esm2015/lib/pipes/duration-format.pipe.js +4 -4
- package/esm2015/lib/services/component-loader/component-loader.factory.js +4 -4
- package/esm2015/lib/services/modal-service/modal-backdrop-component.js +4 -4
- package/esm2015/lib/services/modal-service/modal-container-component.js +4 -4
- package/esm2015/lib/services/modal-service/modal-options.class.js +4 -4
- package/esm2015/lib/services/modal-service/modal-service.js +4 -4
- package/esm2015/lib/services/modal-service/modal.class.js +4 -4
- package/esm2015/lib/services/toaster.service.js +4 -4
- package/esm2015/lib/tokens.js +2 -1
- package/esm2015/lib/types.js +10 -7
- package/esm2015/public-api.js +2 -2
- package/fesm2015/indice-ng-components.js +308 -253
- package/fesm2015/indice-ng-components.js.map +1 -1
- package/lib/controls/nav-links-list/nav-links-list.component.d.ts +15 -0
- package/lib/controls/notifications-indicator/notifications-indicator.component.d.ts +23 -0
- package/lib/layouts/shell/shell-header/shell-header.component.d.ts +21 -27
- package/lib/layouts/shell/shell-layout/shell-layout.component.d.ts +3 -2
- package/lib/layouts/views/form-layout/form-layout.component.d.ts +2 -3
- package/lib/ng-components.module.d.ts +10 -7
- package/lib/tokens.d.ts +1 -0
- package/lib/types.d.ts +28 -10
- package/package.json +3 -3
- package/public-api.d.ts +1 -1
- package/esm2015/lib/pipes/obs-with-status.pipe.js +0 -26
- package/esm2015/lib/services/notifications.service.js +0 -37
- package/lib/pipes/obs-with-status.pipe.d.ts +0 -13
- package/lib/services/notifications.service.d.ts +0 -14
package/_styles.css
CHANGED
|
@@ -105,10 +105,6 @@
|
|
|
105
105
|
@apply block px-4 py-2 text-xs text-blue-300 shadow-sm whitespace-nowrap overflow-ellipsis overflow-hidden;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
.nav-link-notifications {
|
|
109
|
-
@apply block py-3 pl-3 pr-2 text-xs text-gray-700 hover:bg-gray-50;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
108
|
.nav-link-mobile-active {
|
|
113
109
|
@apply bg-gray-900 text-blue-300 block px-3 py-2 rounded-sm text-xs whitespace-nowrap overflow-ellipsis overflow-hidden;
|
|
114
110
|
}
|
|
@@ -134,8 +130,8 @@
|
|
|
134
130
|
@apply antialiased font-sans bg-gray-100;
|
|
135
131
|
}
|
|
136
132
|
|
|
137
|
-
|
|
138
|
-
@apply bg-gradient-to-r from-gray-900 to-gray-800 pb-24 sm:pb-
|
|
133
|
+
.shell-header-container {
|
|
134
|
+
@apply bg-gradient-to-r from-gray-900 to-gray-800 pb-24 sm:pb-28 z-50;
|
|
139
135
|
}
|
|
140
136
|
|
|
141
137
|
.shell-header-container-inner {
|
|
@@ -147,7 +143,7 @@
|
|
|
147
143
|
}
|
|
148
144
|
|
|
149
145
|
.shell-content-container {
|
|
150
|
-
@apply -
|
|
146
|
+
@apply mx-auto -mt-28;
|
|
151
147
|
}
|
|
152
148
|
|
|
153
149
|
.shell-content-container-no-header {
|
|
@@ -177,17 +173,25 @@
|
|
|
177
173
|
}
|
|
178
174
|
|
|
179
175
|
.shell-header-md-visible {
|
|
180
|
-
@apply hidden sm:
|
|
176
|
+
@apply hidden sm:block;
|
|
181
177
|
}
|
|
182
178
|
|
|
183
179
|
.shell-header-link-container {
|
|
184
180
|
@apply hidden sm:ml-6 sm:block ml-10 flex-grow justify-start flex items-center space-x-4;
|
|
185
181
|
}
|
|
186
182
|
|
|
187
|
-
.shell-header-
|
|
183
|
+
.shell-header-link-container-inner {
|
|
184
|
+
@apply flex justify-start;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.shell-header-logo-container {
|
|
188
188
|
@apply flex flex-grow-0 flex-shrink-0 items-center;
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
+
.shell-header-links-far-container {
|
|
192
|
+
@apply flex flex-grow-0 flex-shrink-0 items-center ml-2;
|
|
193
|
+
}
|
|
194
|
+
|
|
191
195
|
.shell-header-menu-rounded-button {
|
|
192
196
|
@apply bg-gray-800 p-1 text-gray-400 rounded-full hover:text-white focus:outline-none focus:ring-1 focus:ring-offset-1 focus:ring-offset-gray-800 focus:ring-white;
|
|
193
197
|
}
|
|
@@ -205,7 +209,7 @@
|
|
|
205
209
|
}
|
|
206
210
|
|
|
207
211
|
.shell-header-profile-dropdown-button {
|
|
208
|
-
@apply max-w-xs focus:outline-none rounded-full flex items-center text-sm ring-1 ring-blue-300 focus:ring-offset-1
|
|
212
|
+
@apply max-w-xs outline-none focus:outline-none rounded-full flex items-center text-sm ring-1 ring-blue-300 focus:ring-offset-1
|
|
209
213
|
focus:ring-offset-blue-800 focus:ring-blue-400 transition ease-in duration-100;
|
|
210
214
|
}
|
|
211
215
|
|
|
@@ -217,54 +221,13 @@
|
|
|
217
221
|
@apply z-50 origin-top-right absolute right-0 mt-24 w-48 rounded-sm shadow-lg py-1 bg-white ring-1 ring-black ring-opacity-5 focus:outline-none;
|
|
218
222
|
}
|
|
219
223
|
|
|
220
|
-
.shell-header-profile-dropdown-with-username {
|
|
221
|
-
@apply z-50 origin-top-right absolute right-0 mt-36 w-48 rounded-sm shadow-lg py-1 bg-white ring-1 ring-black ring-opacity-5 focus:outline-none;
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
.shell-header-notifications {
|
|
225
|
-
@apply flex gap-3 items-center;
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
.shell-header-notifications-dropdown-button {
|
|
229
|
-
@apply max-w-xs focus:outline-none rounded-full flex items-center text-sm ring-1 ring-blue-300 focus:ring-offset-1
|
|
230
|
-
focus:ring-offset-blue-800 focus:ring-blue-400 transition ease-in duration-100;
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
.shell-header-notifications-dropdown {
|
|
234
|
-
@apply z-50 origin-top-right absolute right-0 pt-3 pl-2 mt-2 w-80 rounded-sm shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none;
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
.shell-header-notifications-dropdown-with-username {
|
|
238
|
-
@apply z-50 origin-top-right absolute right-0 pt-3 pl-1.5 mt-1 w-80 rounded-sm shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none;
|
|
239
|
-
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
.shell-header-notifications-dropdown-view-all-button{
|
|
243
|
-
@apply items-center align-text-bottom font-medium w-full px-2.5 py-2.5 text-xs text-gray-600 focus:outline-none;
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
.notification-messages::-webkit-scrollbar {
|
|
247
|
-
width: 7px;
|
|
248
|
-
height: 7px;
|
|
249
|
-
background: transparent;
|
|
250
|
-
cursor: pointer;
|
|
251
|
-
/* or add it to the track */
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
.notification-messages::-webkit-scrollbar-thumb {
|
|
255
|
-
@apply bg-gray-600;
|
|
256
|
-
|
|
257
|
-
&:hover {
|
|
258
|
-
@apply bg-gray-700;
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
224
|
|
|
262
225
|
.mobile-menu-button-container {
|
|
263
|
-
@apply -mr-2
|
|
226
|
+
@apply -mr-2 grid grid-cols-1 sm:hidden;
|
|
264
227
|
}
|
|
265
228
|
|
|
266
229
|
.mobile-menu-button {
|
|
267
|
-
@apply inline-flex items-center justify-center p-2 rounded-sm text-gray-400 hover:text-white hover:bg-gray-700 focus:outline-none focus:ring-1 focus:ring-offset-1 focus:ring-offset-gray-800 focus:ring-white;
|
|
230
|
+
@apply inline-flex items-center justify-center p-2 rounded-sm outline-none text-gray-400 hover:text-white hover:bg-gray-700 focus:outline-none focus:ring-1 focus:ring-offset-1 focus:ring-offset-gray-800 focus:ring-white;
|
|
268
231
|
}
|
|
269
232
|
|
|
270
233
|
.mobile-menu-container {
|
|
@@ -272,7 +235,7 @@
|
|
|
272
235
|
}
|
|
273
236
|
|
|
274
237
|
.mobile-menu-link-container {
|
|
275
|
-
@apply px-2 py-3 space-y-1
|
|
238
|
+
@apply px-2 py-3 grid grid-cols-1 space-y-1;
|
|
276
239
|
}
|
|
277
240
|
|
|
278
241
|
.mobile-menu-user-info-container {
|
|
@@ -300,16 +263,13 @@
|
|
|
300
263
|
}
|
|
301
264
|
|
|
302
265
|
.mobile-menu-rounded-button {
|
|
303
|
-
@apply ml-auto bg-gray-800 flex-shrink-0 p-1 text-gray-400 rounded-full hover:text-white focus:outline-none focus:ring-2 focus:ring-offset-
|
|
266
|
+
@apply ml-auto bg-gray-800 flex-shrink-0 p-1 text-gray-400 rounded-full hover:text-white focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-800 focus:ring-white;
|
|
304
267
|
}
|
|
305
268
|
|
|
306
269
|
.mobile-menu-rounded-button-icon-style {
|
|
307
270
|
@apply h-6 w-6;
|
|
308
271
|
}
|
|
309
272
|
|
|
310
|
-
.mobile-menu-link-container {
|
|
311
|
-
@apply mt-3 px-2 space-y-1;
|
|
312
|
-
}
|
|
313
273
|
|
|
314
274
|
|
|
315
275
|
.shell-footer-container {
|
|
@@ -400,15 +360,15 @@
|
|
|
400
360
|
}
|
|
401
361
|
|
|
402
362
|
.view-container-fluid {
|
|
403
|
-
@apply sm:px-0;
|
|
363
|
+
@apply sm:px-0 ;
|
|
404
364
|
}
|
|
405
365
|
|
|
406
366
|
.view-layout-paddings {
|
|
407
|
-
@apply
|
|
367
|
+
@apply pt-6 pb-4 sm:py-6;
|
|
408
368
|
}
|
|
409
369
|
|
|
410
370
|
.view-layout-title-container {
|
|
411
|
-
@apply flex flex-row justify-start ;
|
|
371
|
+
@apply flex text-white flex-row justify-start ;
|
|
412
372
|
}
|
|
413
373
|
|
|
414
374
|
.view-layout-title-container-inner {
|
|
@@ -428,26 +388,19 @@
|
|
|
428
388
|
}
|
|
429
389
|
|
|
430
390
|
.meta-container {
|
|
431
|
-
@apply
|
|
391
|
+
@apply ml-1 mt-2 flex flex-row sm:flex-row sm:flex-wrap space-x-2 sm:space-x-4;
|
|
432
392
|
}
|
|
433
393
|
|
|
434
394
|
.meta-item-container {
|
|
435
|
-
@apply
|
|
395
|
+
@apply flex items-center;
|
|
436
396
|
}
|
|
437
397
|
|
|
438
398
|
.meta-icon {
|
|
439
|
-
@apply text-sm
|
|
440
|
-
}
|
|
441
|
-
|
|
442
|
-
.meta-container-sm {
|
|
443
|
-
@apply flex flex-wrap sm:flex-row space-x-2;
|
|
399
|
+
@apply text-sm mr-1;
|
|
444
400
|
}
|
|
445
401
|
|
|
446
402
|
.meta-text {
|
|
447
|
-
@apply text-
|
|
448
|
-
margin-top: 2px;
|
|
449
|
-
margin-left: 2px;
|
|
450
|
-
margin-right: 2px;
|
|
403
|
+
@apply text-xs mr-1;
|
|
451
404
|
}
|
|
452
405
|
|
|
453
406
|
.search-container {
|
|
@@ -1203,6 +1156,45 @@
|
|
|
1203
1156
|
/*# sourceMappingURL=styles.css.map*/
|
|
1204
1157
|
|
|
1205
1158
|
|
|
1159
|
+
@layer components {
|
|
1160
|
+
|
|
1161
|
+
.notifications-nav-link {
|
|
1162
|
+
@apply block py-3 pl-3 pr-2 text-xs text-gray-700 hover:bg-gray-50;
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1165
|
+
.header-notifications {
|
|
1166
|
+
@apply flex gap-3 items-center;
|
|
1167
|
+
}
|
|
1168
|
+
|
|
1169
|
+
.header-notifications-dropdown-button {
|
|
1170
|
+
@apply max-w-xs focus:outline-none rounded-full flex items-center text-sm ring-1 ring-blue-300 focus:ring-offset-1
|
|
1171
|
+
focus:ring-offset-blue-800 focus:ring-blue-400 transition ease-in duration-100;
|
|
1172
|
+
}
|
|
1173
|
+
|
|
1174
|
+
.header-notifications-dropdown {
|
|
1175
|
+
@apply z-50 origin-top-right absolute right-0 pt-3 pl-2 mt-2 w-80 rounded-sm shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none;
|
|
1176
|
+
}
|
|
1177
|
+
|
|
1178
|
+
.header-notifications-dropdown-with-username {
|
|
1179
|
+
@apply z-50 origin-top-right absolute right-0 pt-3 pl-1.5 mt-1 w-80 rounded-sm shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none;
|
|
1180
|
+
}
|
|
1181
|
+
|
|
1182
|
+
.header-notifications-dropdown-view-all-button{
|
|
1183
|
+
@apply items-center align-text-bottom font-medium w-full px-2.5 py-2.5 text-xs text-gray-600 focus:outline-none;
|
|
1184
|
+
}
|
|
1185
|
+
|
|
1186
|
+
.notification-messages::-webkit-scrollbar-thumb {
|
|
1187
|
+
@apply bg-gray-600 hover:bg-gray-700;
|
|
1188
|
+
}
|
|
1189
|
+
}
|
|
1190
|
+
|
|
1191
|
+
.notification-messages::-webkit-scrollbar {
|
|
1192
|
+
width: 7px;
|
|
1193
|
+
height: 7px;
|
|
1194
|
+
background: transparent;
|
|
1195
|
+
cursor: pointer;
|
|
1196
|
+
/* or add it to the track */
|
|
1197
|
+
}
|
|
1206
1198
|
/*
|
|
1207
1199
|
Your use of the content in the files referenced here is subject to the terms of the license at https://aka.ms/fabric-assets-license
|
|
1208
1200
|
*/
|